View Category Postings

Dependent on #27
Users should be able view a postings under each active category

category posting list view accessible at /#/category/[:page_number]
categories listed on the category list view should navigate to their category posting list views
the category name and number of total postings are displayed
postings in the category are listed in the order returned by the api

each posting item should display the posting title, owner name, and last modified date
interacting with each posting item should navigate to the associated posting details view

controls for navigating pages are displayed

first (double left arrow), previous (left arrow), next (right arrow), last (double right arrow)
the current page number
on the first page, the first and previous controls are disabled
on the last page, the next and last controls are disabled

Note: If any easily implemented and stable solution for continuous scrolling is found, it may be explored

why do we want to show the number of total postings?
why show last modified date?

neither is strictly necessary but thought they would be useful to users. Also brings up the issue of ordering, as in the long run, I don't think last modified is the best solution (but it's by far the simplest).

ah I see but that should be ordered by rating.


Rule: Mandatory braces for single-line for loop bodies

I'd like to have the option to enforce braces around for loops with a single statement for the body. This is similar to #365, which added this for if statements.
Non-compliant example:
for (i in 0..10)
    println(i)

Compliant example:
for (i in 0..10) {
    println(i)
}

Compliant example 2:
for (i in 0..10) println(i)

Good idea 💡
The basic logic could be reused from the MandatoryBracesIfStatemeunts rule.
Do you have resources to help us out @daphil19 ?
Source of the rule


Cloudstack-8885 added blocked connection listener for rabbitmqeventbus

When rabbitmq connections are blocked(for example when rabbitmq is
server is out of space), all the cloudstack threads which does any
action and publishes to rabbitmq(for example login, launch vm etc.) are
all blocked.
Added a blocked connection listener to handle this and unblock the
parent thread.
also updated rabbitmq amqp client to 3.5.4 from 3.4.2
Testing:
I didnt find a way to write tests for this change as of now.
manually tested that login and other cloudstack apis work when the configured rabbitmq server goes out of space and publish actions are blocked.

LGTM

Hi @wido can you please add what you tested so the person to do the other review can focus on something else? Thanks!

@remibergsma, my LGTM was based on the code. I was not able to fully test it. I checked the diff and it was very small

@remibergsma that one is tough to test as @karuturi mentions. so I am with @wido here +1 on code review. Small enough.
We need to think further on how to handle commits like this.

@runseb In a prefect world, one would still run the tests against it to verify they still all pass. Maybe we can execute the basic VM life cycle test (smoke/test_vm_life_cycle.py) and merge if that passes?
nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=false smoke/test_vm_life_cycle.py

Ping @borisroman @DaanHoogland @wilderrodrigues Can you guys review this please? Seems like a good fix.

one small remark on the comment but code LGTM

Ping @remibergsma @borisroman
I don;t have a way to test it now, but looked at the code - just like @DaanHoogland @wido and @runseb did. I trust the manual tests  @karuturi performed. So, LGTM :+1:
Cheers,
Wilder


Mario/ffi without tests

There's a test suite at https://github.com/blamario/plutarch-with-ghc-8.10.7/blob/master/test/Spec.hs

You probably want to rebase and target staging

Yep! That's it. FWIW I think Any is what you want to use rather than Void, since otherwise it's unsound. You can define your own Any if the one from base doesn't work probably. If that doesn't work either, it's possible that you can use (), but it depends on how pattern matches on it are compiled. Otherwise going from Plutarch to PlutusTx in this opaque way is unsound unfortunately.

Plutus's Any is defined in plutus-ledger which is not currently a Plutarch dependency, can I add it?

It won't compile

data Any = forall a. Any a probably

Nevermind, this won't work. Hmm.

What happens if you use https://hackage.haskell.org/package/base-<IP_ADDRESS>/docs/GHC-Exts.html#t:Any with plutus-tx?

It compiles.

But that seems pretty dangerous, as this also compiles:
test :: CompiledCode Any -> CompiledCode a
test = coerce

It won't compile with GHC 9.2

In any case it's isomorphic to Void and isn't like the Any from base

That's a bug in Plutus! I'll file an issue upstream

So what's unsound about CompiledCode Void?

The Plutus bug is the wrong role of the CompiledCode parameter I suppose? Perhaps I just leave out the opaqueExport until they fix it.

So what's unsound about CompiledCode Void?

Given compile $$(\case{}) and CompiledCode Void, you can get CompiledCode Void -> CompiledCode a again AFAICT.

Well yeah, but that's just the same Plutus bug. I mean what makes CompiledCode Void any worse than CompiledCode Any?

It's slightly different, in that fixing the roles doesn't fix that. Using Void is worse than using Any from base, because you can't cause the unsoundness with Any from base.

Can you rebase this and retarget to staging?


reset cluster context errors in redisClusterAsyncFormattedCommandToNode

Analogue to redisClusterAsyncFormattedCommand, where the acc and acc->cc
errors are reset before sending the request.
Reason: The redisClusterAsyncCallback callback checks acc->err and omits the
reply if it is set.

Good, I guess. Is a test case too much to ask? ;-)

@zuiderkwast that's actually not as easy as it sounds ;) - afaics I'll need to create a new test script in tests/scripts/ which uses simulated-redis.pl in order to simulate an intermediate Redis disconnect (I need to get a NULL reply from hiredis to make redisClusterAsyncCallback set the acc->err flag)?
I'll look into that next week.

that's actually not as easy as it sounds ;)

Oh, well, maybe we can accept this PR without a test then. @bjosv WDYT?
A test is of course very welcome, but perhaps not blocking. (I spent some time with these Perl scripts for testing ASK redirects. I hope you like the way these scripts work, and Perl. :-D)

OK, fine with me then. I haven't followed the code around enough to see if this is right, but if you're confident @bjosv, feel free to merge!

Thanks for merging! Test is in #68.


Unable to unlock a wallet due to 401s - no additional debug information is provided

Background
Whenever I try to unlock my wallet the message on lndcli succeeds but lnd aborts with the following error message:
2022-08-11 09:06:25.993 [INF] LNWL: Opened wallet
2022-08-11 09:06:26.207 [INF] CHRE: Primary chain is set to: bitcoin
2022-08-11 09:06:26.543 [ERR] LTND: unable to create partial chain control: status code: 401, response: ""
2022-08-11 09:06:26.543 [ERR] LTND: Shutting down because error in main method: error creating wallet config: unable to create partial chain control: status code: 401, response: ""
2022-08-11 09:06:26.545 [INF] LTND: Shutdown complete

Your environment

version of lnd

lnd version 0.15.0-beta commit=v0.15.0-beta

which operating system (uname -a on *Nix)

Darwin Xyzs-MBP.home 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64

version of btcd, bitcoind, or other backend

$ bitcoind --version
Bitcoin Core version v23.0.0

any other relevant environment details

My bitcoin.conf file located in ~/.bitcoin/bitcoin.conf:
server=1
daemon=1
rpcuser=user
rpcpassword=pass
listen=1
txindex=1
blockfilterindex=1
disablewallet=0
dbcache=3000
bind=<IP_ADDRESS>
zmqpubrawblock=tcp://<IP_ADDRESS>:28332
zmqpubrawtx=tcp://<IP_ADDRESS>:28333

And my lnd.conf located in `` and looks like this:
[Application Options]

[Bitcoin]

bitcoin.active=true
bitcoin.mainnet=true
bitcoin.node=bitcoind

[Bitcoind]

bitcoind.dir=~/.bitcoin
bitcoind.rpchost=localhost
bitcoind.rpcuser=user
bitcoind.rpcpass=pass
bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:28332
bitcoind.zmqpubrawtx=tcp://<IP_ADDRESS>:28333

Steps to reproduce
# in one terminal window
$ bitcoind

# in another terminal window
$ lnd
2022-08-11 09:25:11.270 [INF] LTND: Version: 0.15.0-beta commit=v0.15.0-beta, build=production, logging=default, debuglevel=info
2022-08-11 09:25:11.270 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2022-08-11 09:25:11.271 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10009
2022-08-11 09:25:11.272 [INF] RPCS: gRPC proxy started at <IP_ADDRESS>:8080
2022-08-11 09:25:11.272 [INF] LTND: Opening the main database, this might take a few minutes...
2022-08-11 09:25:11.272 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2022-08-11 09:25:11.272 [INF] LTND: Creating local graph and channel state DB instances
2022-08-11 09:25:11.330 [INF] CHDB: Checking for schema update: latest_version=27, db_version=27
2022-08-11 09:25:11.330 [INF] LTND: Database(s) now open (time_to_open=58.35798ms)!
2022-08-11 09:25:11.330 [INF] LTND: We're not running within systemd or the service type is not 'notify'
2022-08-11 09:25:11.330 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.

# in another terminal window
$ lndcli unlock
Input wallet password:

lnd successfully unlocked!

Expected behaviour

I expect the unlock command to fail
I expect the 401 to specify where does auth fail

Actual behaviour
specified on background section

@guggero it wasn't that:
$ cat ~/Library/Application\ Support/Lnd/lnd.conf

[Application Options]

[Bitcoin]

bitcoin.active=true
bitcoin.mainnet=true
bitcoin.node=bitcoind

[Bitcoind]

bitcoind.dir=~/.bitcoin
bitcoind.rpchost=localhost
bitcoind.rpcuser=user
bitcoind.rpcpass=pass
bitcoind.zmqpubrawblock=tcp://<IP_ADDRESS>:28332
bitcoind.zmqpubrawtx=tcp://<IP_ADDRESS>:28333

$ lnd --debuglevel=debug --configfile=~/Library/Application\ Support/Lnd/lnd.conf
2022-08-11 09:47:43.563 [INF] LTND: Version: 0.15.0-beta commit=v0.15.0-beta, build=production, logging=default, debuglevel=debug
2022-08-11 09:47:43.564 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2022-08-11 09:47:43.564 [DBG] NTFR: ChainNotifier RPC server successfully register with root gRPC server
2022-08-11 09:47:43.564 [DBG] PRPC: Peers RPC server successfully register with root gRPC server
2022-08-11 09:47:43.564 [DBG] ARPC: Autopilot RPC server successfully register with root gRPC server
2022-08-11 09:47:43.564 [DBG] RRPC: Router RPC server successfully register with root gRPC server
2022-08-11 09:47:43.564 [DBG] IRPC: Invoices RPC server successfully registered with root gRPC server
2022-08-11 09:47:43.564 [DBG] NRPC: Neutrino RPC server successfully register with root gRPC server
2022-08-11 09:47:43.564 [DBG] VRPC: Versioner RPC server successfully registered with root gRPC server
2022-08-11 09:47:43.564 [DBG] SGNR: Signer RPC server successfully register with root gRPC server
2022-08-11 09:47:43.564 [DBG] WLKT: WalletKit RPC server successfully registered with root gRPC server
2022-08-11 09:47:43.565 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10009
2022-08-11 09:47:43.565 [DBG] NTFR: ChainNotifier REST server successfully registered with root REST server
2022-08-11 09:47:43.565 [DBG] PRPC: Peers REST server successfully registered with root REST server
2022-08-11 09:47:43.565 [DBG] ARPC: Autopilot REST server successfully registered with root REST server
2022-08-11 09:47:43.565 [DBG] RRPC: Router REST server successfully registered with root REST server
2022-08-11 09:47:43.565 [DBG] IRPC: Invoices REST server successfully registered with root REST server
2022-08-11 09:47:43.565 [DBG] NRPC: Neutrino REST server successfully registered with root REST server
2022-08-11 09:47:43.566 [DBG] VRPC: Versioner REST server successfully registered with root REST server
2022-08-11 09:47:43.566 [DBG] SGNR: Signer REST server successfully registered with root REST server
2022-08-11 09:47:43.567 [DBG] WLKT: WalletKit REST server successfully registered with root REST server
2022-08-11 09:47:43.567 [INF] RPCS: gRPC proxy started at <IP_ADDRESS>:8080
2022-08-11 09:47:43.567 [INF] LTND: Opening the main database, this might take a few minutes...
2022-08-11 09:47:43.567 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2022-08-11 09:47:43.567 [INF] LTND: Creating local graph and channel state DB instances
2022-08-11 09:47:43.680 [DBG] CHDB: Populating in-memory channel graph, this might take a while...
2022-08-11 09:47:43.680 [DBG] CHDB: Finished populating in-memory channel graph (took 278.313µs, num_node_features=0, num_nodes=0, num_channels=0)
2022-08-11 09:47:43.680 [INF] CHDB: Checking for schema update: latest_version=27, db_version=27
2022-08-11 09:47:43.680 [INF] LTND: Database(s) now open (time_to_open=113.326238ms)!
2022-08-11 09:47:43.681 [INF] LTND: We're not running within systemd or the service type is not 'notify'
2022-08-11 09:47:43.681 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.

2022-08-11 09:47:53.106 [INF] LNWL: Opened wallet
2022-08-11 09:47:53.345 [INF] CHRE: Primary chain is set to: bitcoin
2022-08-11 09:47:53.663 [ERR] LTND: unable to create partial chain control: status code: 401, response: ""
2022-08-11 09:47:53.664 [ERR] LTND: Shutting down because error in main method: error creating wallet config: unable to create partial chain control: status code: 401, response: ""
2022-08-11 09:47:53.664 [INF] LTND: Shutdown complete

Could you try to remove bitcoin.dir? It could be that there could be interference of different credential configurations (like an old cookie file). bitcoin.dir is usually only necessary if you want to do automatic configuration, but if you specify all connection parameters, you don't need it.

@bitromortac same issue happens

Probably your bitcoind is not listening for rpc connections. If you run netstat -tulpn you should see lines like:
tcp        0      0 <IP_ADDRESS>:28332         <IP_ADDRESS>:*               LISTEN      /bitcoind
tcp        0      0 <IP_ADDRESS>:8332          <IP_ADDRESS>:*               LISTEN      /bitcoind
tcp        0      0 <IP_ADDRESS>:28333         <IP_ADDRESS>:*               LISTEN      /bitcoind

Try to add rpcport=8332 to your bitcoin.conf.

@bitromortac I can confirm that works so I'll close this issue. Thanks a lot 😄
I hope this issue serves as a good rubber duck for future developers

Rather grep for 8332 in netstat output, as the executable name is not always shown.

I'll try to supply a conf path and see if this works

Yes that would have been my next suggestion :slightly_smiling_face: (use -conf to point to your config file).


Revert "Cherry-pick PR #38653 into release-3.9 (#38687)"

This reverts commit 9ec5fc5f35d9262be46d7b7f21ad5d6b8cc16ad5.

@typescript-bot pack this


end to end testing

I would like to write an end to end test that would sign in to google once on every release of my codebase. Is there a way for to get google test accounts? any recommendation to test that integration with google sign in works?

It's nice to see interest from Google staff on this topic! We've wanted to have better end-to-end testing, and have been stonewalled when attempting to devise automated means to fetch a refresh token for application testing. In particular, the Google authentication page will eventually start requiring a captcha check and/or second-factor authentication (e.g. phone number, even if disabled). Best I can figure, this isn't a supported use-case - I imagine the authentication page is specifically built to resist automated login attempts, meaning that our attempts to automate logins for automated testing will eventually fail. Are there any workarounds for this, or any supported workflows for working with test applications?

Yeah, sadly I don't have any insight into the particulars of the Google sign-on page itself, and how they manage all of the captcha stuff ☹  All I can really speak for here are the underlying auth APIs and the node library on top of it.


Tutorial for Grafana setup?

Can't seem to figure out how to get it properly setup with Grafana no matter what I do.

I plan to provide a single powershell script to install the whole stack.

Please have a look into the new all-in-one installation method to see if it fits your needs: https://github.com/utkuozdemir/nvidia_gpu_exporter/blob/master/INSTALL.md#all-in-one-windows-installation

Doesn't seem to work for me. I rand the PS1 in admin, got a failed to start service error, so I removed the service with NSSM, followed the create a service instructions again, got the service again, ran the PS1 again, no errors, redid the grafana import and selected prometheus, was blank info in grafana.

Can you please verify if you have metrics in prometheus at all? Just type few letters of nvidia_smi to the prometheus query field on localhost:9090, and it should auto-complete. Would look like this:

Doesn't show up for me.

Let's see if the exporter is working properly. Can you hit http://localhost:9835/metrics and share the output here?

HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 0
go_gc_duration_seconds{quantile="0.25"} 0
go_gc_duration_seconds{quantile="0.5"} 0
go_gc_duration_seconds{quantile="0.75"} 0
go_gc_duration_seconds{quantile="1"} 0.0005046
go_gc_duration_seconds_sum 0.0005076
go_gc_duration_seconds_count 17
HELP go_goroutines Number of goroutines that currently exist.
TYPE go_goroutines gauge
go_goroutines 8
HELP go_info Information about the Go environment.
TYPE go_info gauge
go_info{version="go1.16.5"} 1
HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 6.978784e+06
HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 5.8075816e+07
HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.452263e+06
HELP go_memstats_frees_total Total number of frees.
TYPE go_memstats_frees_total counter
go_memstats_frees_total 164230
HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 7.352912505227636e-07
HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 3.46804e+06
HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 6.978784e+06
HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 7.544832e+06
HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 8.085504e+06
HELP go_memstats_heap_objects Number of allocated objects.
TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 12067
HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 5.57056e+06
HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 1.5630336e+07
HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.6263011708653896e+09
HELP go_memstats_lookups_total Total number of pointer lookups.
TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 0
HELP go_memstats_mallocs_total Total number of mallocs.
TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 176297
HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 37376
HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 49152
HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 208216
HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 212992
HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 1.1609808e+07
HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 2.451273e+06
HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 1.14688e+06
HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 1.14688e+06
HELP go_memstats_sys_bytes Number of bytes obtained from system.
TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 2.4410936e+07
HELP go_threads Number of OS threads created.
TYPE go_threads gauge
go_threads 20
HELP nvidia_gpu_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which nvidia_gpu_exporter was built.
TYPE nvidia_gpu_exporter_build_info gauge
nvidia_gpu_exporter_build_info{branch="HEAD",goversion="go1.16.5",revision="c30b2db58ebfb10f1a98e9da159095b824230b47",version="0.2.0"} 1
HELP nvidia_smi_failed_scrapes_total Number of failed scrapes
TYPE nvidia_smi_failed_scrapes_total counter
nvidia_smi_failed_scrapes_total 115
HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0.640625
HELP process_max_fds Maximum number of open file descriptors.
TYPE process_max_fds gauge
process_max_fds 1.6777216e+07
HELP process_open_fds Number of open file descriptors.
TYPE process_open_fds gauge
process_open_fds 176
HELP process_resident_memory_bytes Resident memory size in bytes.
TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 2.304e+07
HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
TYPE process_start_time_seconds gauge
process_start_time_seconds 1.626299574e+09
HELP process_virtual_memory_bytes Virtual memory size in bytes.
TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 2.9569024e+07
HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.
TYPE promhttp_metric_handler_requests_in_flight gauge
promhttp_metric_handler_requests_in_flight 1
HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.
TYPE promhttp_metric_handler_requests_total counter
promhttp_metric_handler_requests_total{code="200"} 114
promhttp_metric_handler_requests_total{code="500"} 0
promhttp_metric_handler_requests_total{code="503"} 0

I see, the problem is with the exporter, the nvidia_smi_ metrics are not collected and exported for some reason. Can you please run in a cmd or powershell prompt this command:
nvidia-smi --query-gpu="uuid,name,driver_model.current,driver_model.pending,vbios_version,fan.speed,memory.used" --format=csv

And share its output?

Ignore the usage%, mining eth when I don't game Lol:

Ok, it is working properly as expected 🤔
Just wondering, don't you have the nvidia-smi.exe binary located in C:\Windows\system32\nvidia-smi.exe?
In the default configuration, the exporter expects nvidia-smi binary to be accessible from anywhere (it should be in PATH).
In a regular installation of drivers, it is located under system32. But in your screenshot I see that you had to go into NVSMI dir to run it.
Can you check that? Also, are you using some custom drivers?
If you can verify that it is NOT in the PATH, then you'll need to add that c:\program files\nvidia corporation\nvsmi to your PATH. Then you can restart the nvidia_smi_exporter service (Restart-Service -Name nvidia_smi_exporter in PS) and try again.

I'm using NVIDIA's Standard drivers due to being on Windows 10 Ameliorated. So I guess it never installed it to that location?

Ok, that can explain the issue. Please try the PATH thing - it should work.

Okay so now, Prometheus now shows some info:

It's all working now. Appreciate it!:

Beautiful 😍 Enjoy!


[baremetal] MPS: Make record encryption/decryption standalone and add unit tests

This is the side-port of https://github.com/ARMmbed/mbedtls/pull/1633 to the baremetal branch.
Most of the side-port is pretty obvious, except:

there were some non-trivial conflicts due to refactorings in ssl_derive_keys() (I guess related to addind PSA-based MS derivation in development)
I removed one commit that was about adapting a PSA code path

@k-stachowiak Since you're a reviewer on the base PR, do you think you could review this side-port as well? It would probably be more efficient than finding another reviewer who isn't familiar with the PR.

@mpg I will gladly do so, but because of non-trivial differences between this and the main PR, I will need some time, which, due to the upcoming holiday, I won't finish before this week.

@k-stachowiak It's your choice how to review this, of course, but I'd recommend you do the rebase yourself and compare the results - there aren't too many conflicts.

@hanno-arm That sure is a good way to check if a PR is generally OK, however, I have witnessed git automatically messing code in a non-obvious way during a rebase (e.g. duplicating pieces of code, which was not detectable during tests), so I still prefer to look at the code, specifically for rebase screw-ups.

@sbutcher-arm Please consider for merging.

Moving to https://github.com/ARMmbed/mbedtls-restricted/pull/562


Fix CI

tempdir is now broken, use tempfile crate instead. Spotted CI failure in https://github.com/http-rs/tide/pull/588/checks?check_run_id=765236618. Thanks!

Okay, it seems Cargo is sharing broken results? https://crates.io/crates/remove_dir_all 0.5.2 is published and hasn't been changed in over a year. Unsure what's going on.

Okay, quite convinced this is an issue with crates.io, GitHub Actions, or the interaction between them. I can't reproduce this locally with either Windows or Linux; so just going to pray this passes.
Regardless still a good idea to deprecate this crate in favor of one that's still maintained.


Add support for optional body fields in add ssh key request #67

@Zlender Thanks for the contribution!


In a new run, adding student to existing class will overwrite data from addressbook instead of appending to it

data from prev run is saved until a new student is added


Set meaningful names for databases used in tests

It's really helpful for debugging and development when I can look into the test database. For our services, a new database is created for each test. Without a meaningful name, I can't determine which database relates to which test run. The goal of this PR is to add meaning to the database name for local development.

Codecov Report

Merging #172 (350f482) into master (e617653) will increase coverage by 0.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #172      +/-   ##
==========================================
+ Coverage   80.07%   80.40%   +0.32%
==========================================
  Files          28       28
  Lines         788      796       +8
==========================================
+ Hits          631      640       +9
- Misses         94       95       +1
+ Partials       63       61       -2

Impacted Files
Coverage Δ

database/mysql.go
66.41% <100.00%> (+2.92%)
:arrow_up:

Continue to review full report at Codecov.

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


Perform alias and image deletion after image creation

This PR switches the order of image deletion and creation for lxc publish command when --reuse flag is used. After this change the order will look like:

Create image
Delete image if necessary
Add/remove aliases

Fixes: #11657

jenkins: test this please

Thanks!


[SPARK-37512][PYTHON] Support TimedeltaIndex creation (from Series/Index) and TimedeltaIndex.astype

What changes were proposed in this pull request?
Support TimedeltaIndex creation given a timedelta Series/Index.
astype is also supported naturally in this PR.
Why are the changes needed?
Follow panda's behavior.
Does this PR introduce any user-facing change?
Yes.
TimedeltaIndex creation (from Series/Index)
>>> idx = ps.TimedeltaIndex([timedelta(1), timedelta(microseconds=2)])
>>> s = ps.Series([timedelta(1), timedelta(microseconds=2)], index=[10, 20])

## FROM ##
>>> ps.TimedeltaIndex(idx)
Traceback (most recent call last):
...
NotImplementedError: Create a TimedeltaIndex from Index/Series is not supported

>>> ps.TimedeltaIndex(s)
Traceback (most recent call last):
...
NotImplementedError: Create a TimedeltaIndex from Index/Series is not supported

## TO ##
>>> ps.TimedeltaIndex(idx)
TimedeltaIndex(['1 days 00:00:00', '0 days 00:00:00.000002'], dtype='timedelta64[ns]', freq=None)

>>> ps.TimedeltaIndex(s)
TimedeltaIndex(['1 days 00:00:00', '0 days 00:00:00.000002'], dtype='timedelta64[ns]', freq=None)

TimedeltaIndex.astype
>>> psidx = ps.TimedeltaIndex([timedelta(1)])
>>> psidx.astype(str)
Index(['INTERVAL '1 00:00:00' DAY TO SECOND'], dtype='object')
>>> psidx.astype(int)
Int64Index([86400], dtype='int64')
>>> psidx.astype('category')
CategoricalIndex(['1 days'], categories=[1 days 00:00:00], ordered=False, dtype='category')

How was this patch tested?
Unit tests.

Test build #145841 has started for PR 34776 at commit ab9a2d6.

Test build #145841 has finished for PR 34776 at commit ab9a2d6.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145841/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50316/

Test build #145847 has started for PR 34776 at commit acb7c55.

Test build #145847 has finished for PR 34776 at commit acb7c55.

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50316/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50322/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145847/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50316/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50322/

The test failure is irrelevant to the PR
======================================================================
ERROR [2.161s]: test_reuse_worker_of_parallelize_range (pyspark.tests.test_worker.WorkerReuseTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/__w/spark/spark/python/pyspark/tests/test_worker.py", line 195, in test_reuse_worker_of_parallelize_range
    self.assertTrue(pid in previous_pids)
AssertionError: False is not true

FYI @ueshin @HyukjinKwon @itholic

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50322/

Test build #145850 has started for PR 34776 at commit 231953f.

Test build #145850 has finished for PR 34776 at commit 231953f.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50325/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145850/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50325/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50325/

Merged to master.


Get request error when running example command

Hi @jimmyangel,
When I was running the example command node sampleterrain.js -f ./sampledata/test1.json > sampled.json, I got the following error:
Sample terrain error RequestErrorEvent {
  statusCode: 401,
  response: IncomingMessage {
    _readableState: ReadableState {
      objectMode: false,
      highWaterMark: 16384,
      buffer: BufferList { head: [Object], tail: [Object], length: 1 },
      length: 62,
      pipes: null,
      pipesCount: 0,
      flowing: null,
      ended: true,
      endEmitted: false,
      reading: false,
      sync: true,
      needReadable: false,
      emittedReadable: false,
      readableListening: false,
      resumeScheduled: false,
      emitClose: true,
      autoDestroy: false,
      destroyed: false,
      defaultEncoding: 'utf8',
      awaitDrainWriters: null,
      multiAwaitDrain: false,
      readingMore: true,
      decoder: null,
      encoding: null,
      [Symbol(kPaused)]: null
    },
......
}

How can I fix it? Thanks a lot
Oliver

Ah! Cesium now requires an access token in order to get the terrain data. You need to sign up in Cesium Ion and get a token.
I will go ahead and make the change so that you can supply your own token when you run the program. I should be able to do it within the next day or so.

Ah! Cesium now requires an access token in order to get the terrain data. You need to sign up in Cesium Ion and get a token.
I will go ahead and make the change so that you can supply your own token when you run the program. I should be able to do it within the next day or so.

Ok, I added support for Cesium Ion token

Ok, I added support for Cesium Ion token


Pull request for libavahi-compat-libdnssd-dev

For travis-ci/travis-ci#4335.
Ran tests and found no setuid bits.
See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72054260

Sorry, but this test will have to be re-run. Will open a new one later.


Upgrade to new jszip

jszip v3 has async functions that return promises instead of blocking the thread.
I've adapted the code and all the tests to run with the new version.
Of course there would be some missing parts: documentation is not updated (now xlsx.read and xlsx.write return promises)
It won't work in older browsers as I'm heavily using async await, probably babel could be used. For my purposes, which is using the library in Node 8, it is enough, but maybe you are interested in the changes.
cheers

This pr is related to a couple of issues #600 #1017 #869 #408

@furstenheim to be clear, promises are "deferred".  When the actual work is being done, it will still block the main thread (pure JS is still single-threaded, not too dissimilar to Python).  Promises don't magically make things run off the main thread -- they merely shift the timing.  Platform APIs have to provide the functionality in a way that doesn't block the main thread, like the zlib bindings in nodejs.  The situation is similar to how NumPy circumvents the Python global interpreter lock.
To see this, try running the following command in your node shell:
setTimeout(() => console.log("done"), 1000); while(1);

setTimeout and most promise APIs don't preempt the execution.
If you want to process off the main thread in nodejs, check the server demo for a few strategies.  You can use child_process.fork with a simple JS script or use exec to call the xlsx bin script or use the tiny-worker Web Worker "shim"
Note: If you want to process off the main thread in web browser, the standard technique is to use a Web Worker.

@SheetJSDev it does make things "magical" because by deferring heavy calculation/work you are not blocking higher priority events which results in smoother experience at least for browser users.


Consider including Inspec resources?

In addition to the current scripting mechanism by which Docker bench operates, it would be cool to consider the inclusion of InSpec (http://inspec.io/) resources that can also be used to validate Engine configurations per the CIS Benchmark.

Hi @anweiss, I'll have a look at InSpec. Thanks for bringing this to my attention.

As an FYI, we're also looking to incorporate the use of Inspec in our compliance guidance repo here -> https://github.com/docker/ddc-opencontrol/issues/20 ... so some solid overlap potential

The thing is that Docker bench then goes from a basic, portable POSIX, script to a tool that requires a new set of tools, knowledge about InSpec and might exclude a number of users.
Also see https://github.com/docker/docker-bench-security/pull/147

Agreed. So rather than replace the existing POSIX, Inspec could be a complement.

Separate project perhaps, a clean InSpec implementation of the CIS benchmark?
But as seen in #147 this might conflict with https://github.com/diogomonica/actuary @diogomonica

Working on this here -> https://github.com/docker/compliance/tree/inspec/inspec/cis-docker-benchmark

Going to reference https://github.com/dev-sec/cis-docker-benchmark.


Telegram: Animated sticker conversion assumes linux

Describe the bug
Running on any platform where /dev/stdout is not available causes lottie to fail. This will happen on Windows, probably MacOS, and locked-down Linuxes (e.g. Android, as I learned today).
To Reproduce
Steps to reproduce the behavior:

Install Matterbridge on Android
Configure it to convert Tgs to PNG
Run
Send an animated sticker across the bridge

Expected behavior
Converted sticker arrives on the other end
Screenshots/debug logs
"Exit code: 1"
Environment (please complete the following information):

OS: Android (apparently uses SELinux/AppArmor/whatever to deny any access to /dev)
Matterbridge version: doesn't matter

!assign: self

thanks for your fix.  your version works on my device without problems


Add Description

Add a description of your project. That would give an overview to others about your project.
https://github.com/Nirbhayparmar/gradientiser-BgGenerator/community

Looks good @Nirbhayparmar 👍

Thank you for suggesting this to me.


Connection gets lost all the time.

Hi
Something happened 3-4 days ago, it started to lose connection couple of times each minute. I have tried different version, all the way back to <IP_ADDRESS>. Don't even think it has anything todo with the Goodwe code since it actually worked great for many weeks and then some HA updates come, not sure which one, either Core or Supervisor and since then I think this has started to happen.


Update Italian States

I updated the list of Italian provinces (states) by removing an old province that no longer exists and adding the missing ones with a new ID greater than those already present
unfortunately I don't have a list of all the cities of these added states but at least we are getting closer to a more complete database
I also added the "type" field in the base config to help users. Since I myself initially didn't understand they could be added

@ades4827 thank you for your contribution. appreciated.


Can't create new wallet from admin panel

Creating a new wallet from admin panel
When creating a new wallet from the admin panel (wallet manager) notification of wallet created successfully appears but the actual wallet is not created nor saved. When trying to do the same action using the wallet manager actor the following error is shown:
JS-NG> gedis_server = j.servers.threebot.default
JS-NG> gedis_server.gedis_http.client.actors.admin_wallet.create_wallet("test_Wallet_1")
{'success': False, 'result': None, 'error': 'Traceback (most recent call last):\n  File "/root/.cache/pypoetry/virtualenvs/js-sdk-8MwJjzMr-py3.6/src/js-ng/jumpscale/servers/gedis/server.py", line 221, in _execute\n    response[\x1b[31m\'result\'\x1b[m] = method(*args, **kwargs)\n    \x1b[36m│                    │       │       └ {}\x1b[m\n    \x1b[36m│                    │       └ [\'test_Wallet_1\']\x1b[m\n    \x1b[36m│                    └ <bound method Wallet.create_wallet of <wallet.Wallet object at 0x7f05e193b5c0>>\x1b[m\n    \x1b[36m└ {}\x1b[m\n  File "/root/.cache/pypoetry/virtualenvs/js-sdk-8MwJjzMr-py3.6/src/js-ng/jumpscale/servers/gedis/baseactor.py", line 20, in wrapper\n    result = func(*bound.args, **bound.kwargs)\n    \x1b[36m         │     │             └ <BoundArguments (self=<wallet.Wallet object at 0x7f05e193b5c0>, name=\'test_Wallet_1\')>\x1b[m\n    \x1b[36m         │     └ <BoundArguments (self=<wallet.Wallet object at 0x7f05e193b5c0>, name=\'test_Wallet_1\')>\x1b[m\n    \x1b[36m         └ <function Wallet.create_wallet at 0x7f05e19558c8>\x1b[m\n  File "/root/js-ng/js-sdk/jumpscale/packages/admin/actors/wallet.py", line 9, in create_wallet\n    \x1b[33;1mimport\x1b[m pdb\nAttributeError: module \'jumpscale.clients.explorer\' has no attribute \'get_default\'\n', 'error_type': <GedisErrorTypes.ACTOR_ERROR: 3>, 'is_async': False, 'task_id': None}

Although the error appears to be related to jumpscale.clients.explorer.get_default(), when trying in the shell j.clients.explorer.get_default() the default instance is returned

The new namespace loader caused this issue, which it's use is temporarily reverted to use the old one. The issue will not be reproducible/fixed until the new namespace loader is used again.
blocked on : https://github.com/threefoldtech/js-ng/issues/362

I restored the old loader, things should be working fine now already?

It works fine now


Copy & paste creating extra curly braces in results grid

System information:

Operating system: Windows 7
DBeaver version 6.3.3
Additional extensions: None

Connection specification:

Database name and version: PostgreSQL 10.9
Driver name: PostgreSQL JDBC Driver

Describe the problem you're observing:
Copy & Paste does not work correctly in Results Grid for data types TEXT, VARCHAR, and JSONB (possibly others?).
For TEXT and VARCHAR, I am storing options in a text field like this: {Option 1,Option 2}. When I copy the value from one row to another in the Results Grid after querying for these rows, the pasted value looks like this: {{Option 1, Option 2}} (it adds extra curly braces)
Similar issue with JSONB. If my object looks like this {{name:"one",color:"blue"},{name:"two",color:"red"}} and copy/paste it, the result looks like {{{name:"one",color:"blue"},{name:"two",color:"red"}}} (it adds extra curly braces) and in the Value pane the result is way different because of the way it is parsing it.

there is no update on issue for a long time, ticket closed.
if issue is still actual for you - feel free to reopen the ticket with additional info


Modularise scripts

Following the discussion and for reasons mentioned in #1431, this PR aims to refactor the webpack abstractions found in the start script out into their own utility modules.
I've aimed to maintain the general narrative of the script by keeping the running of methods in the script and using callback to eliminate interweaving.

@gaearon Thinking that the dev server config could just be moved to config/ instead.

This currently breaks CI after ejecting: https://travis-ci.org/facebookincubator/create-react-app/jobs/194654920
I think you might need to add more files to the copying script in scripts/eject.js.

I've introduced a convention of adding // @remove-file-on-eject to the top of files that are not to be copied over at ejection. This removes the need for a whitelist of files and allows me to put the utils folder inside of scripts where it can be used in an ejected app.

This looks pretty good. I'm sorry we missed it.
Can you please rebase this with latest changes?

@gaearon no worries. Now rebased.

Is this functionally equivalent? If so, this looks great -- I feel like this is something we need to have rebased and just merged immediately to prevent merge issues one after another.
My only concern is if this works with our recently-added support of linking react-scripts; but that's something I'd be willing to test after getting this in. Only reason I asked is because of the new method of getting files to eject.
@gaearon, if this is rebased again can we merge immediately?

I'm fine with merging now but let's make sure we don't lose any recent changes accidentally.
That is, the reviewer needs to actually read through those functions and make sure the contents match.

I'll review this.

Should be good, @gaearon -- I believe I captured all the missing changes in 38bc01c077fb6ac9cce45bb6ef2c201664f53c35.

Looks good aside from one nit.

Before:
Copying files into /Users/joe/Desktop/test2
  Adding config/env.js to the project
  Adding config/paths.js to the project
  Adding config/polyfills.js to the project
  Adding config/webpack.config.dev.js to the project
  Adding config/webpack.config.prod.js to the project
  Adding config/jest/cssTransform.js to the project
  Adding config/jest/fileTransform.js to the project
  Adding scripts/build.js to the project
  Adding scripts/start.js to the project
  Adding scripts/test.js to the project

After:
Copying files into /Users/joe/Desktop/test1
  Adding /config/env.js to the project
  Adding /config/paths.js to the project
  Adding /config/polyfills.js to the project
  Adding /config/webpack.config.dev.js to the project
  Adding /config/webpack.config.prod.js to the project
  Adding /config/webpackDevServer.config.js to the project
  Adding /config/jest/babelTransform.js to the project
  Adding /config/jest/cssTransform.js to the project
  Adding /config/jest/fileTransform.js to the project
  Adding /scripts/build.js to the project
  Adding /scripts/start.js to the project
  Adding /scripts/test.js to the project
  Adding /scripts/utils/addWebpackMiddleware.js to the project
  Adding /scripts/utils/createWebpackCompiler.js to the project

Looks like we accidentally included /config/jest/babelTransform.js. Removed in 61e99ee2342b117e287f5a4d6ae917ebcefeea36.

Thanks so much for this, @djgrant! Your efforts will help many people who maintain forks of create-react-app. 😄
I hope I didn't upset you by making a few changes, we really wanted to get this in so we stopped breaking it every few days.
Merging once CI is green.

AppVeyor CI green on my repo.

Smashing, great to see this in master! Thanks @Timer and @gaearon for ironing it out!


add save previous answer functionality to app

fixes #4

don't change the format and add ans infront of previous ans ok

is this how it is meant to be ??

this is the current result

it is storing the result ,we can't use it have to type manually , need to have an issue for it ,although overall nice work done man


feat!: Update browsers list

The main idea is to use rules of how to choose browsers instead of a list of browsers.

Please adjust pr title to conventional commit format

Please adjust pr title to conventional commit format

Done


License

We should edit this license file.
The Computer Language Benchmark Game is originally under BSD-3-Clause.
The Green Software Lab this repo originally forked from is under MIT, but I'm pretty sure we do not have a single file remaining from it.
We usually use Apache-2.0.

Technically, gen-input.sh and .gitignore still have fragments from the original repository.


Dying in a prifddinas POH creates a deathpile

A check needs adding to not create a deathpile if the player dies in a POH.

Fixed in https://github.com/runelite/plugin-hub/pull/3533


Fix buffers returned from parser's callbacks

Commits say the whole story.

@mat-hek Can U take a look at https://github.com/membraneframework/membrane_h264_ffmpeg_plugin/pull/52/commits/a0a8410eae22ed5bbb9163648c604fc2f57beadf ? It's a port of https://github.com/membraneframework/membrane_h264_ffmpeg_plugin/pull/55


linux_docs failing on infra closing the framework tree.

https://ci.chromium.org/p/flutter/builders/prod/Linux docs

CL: https://flutter-review.googlesource.com/c/recipes/+/8360 was submitted yesterday, and https://devops-console-oss.corp.google.com/flutter/recipes/+/master:recipe_modules/adhoc_validation/api.py;l=63 needs corresponding change to the correct dir.
Working on a fix.

Fix: https://flutter-review.googlesource.com/c/recipes/+/8480

Fix submitted, and the issue should be fixed. Please reopen if it persists.

The latest build still has the problem.

The latest build still has the problem.
https://ci.chromium.org/p/flutter/builders/prod/Linux docs/970

The recipe may take some time to get propagated. Let's see if the latest one succeeds.
@godofredoc how long does it take for a submitted recipe to get propagated?

Uh, the doc_path is not using the injected value, but re-assigned. https://devops-console-oss.corp.google.com/flutter/recipes/+/master:recipe_modules/firebase/api.py;l=35
Working on a follow-up fix.

https://flutter-review.googlesource.com/c/recipes/+/8481

Tree is open. Closing.


Bump ZIO version

Blocked by https://github.com/zio/zio/issues/8079

The latest ZIO snapshot works fine; need to wait till it's released


Random test fail on appveyor with PySide

silx.gui.hdf5.test.test_hdf5.TestHdf5TreeModel.testDropExternalFile failed once on appveyor with PySide with the following error:
======================================================================
FAIL: testDropExternalFile (silx.gui.hdf5.test.test_hdf5.TestHdf5TreeModel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\hdf5\test\test_hdf5.py", line 217, in testDropExternalFile
    self.assertIsInstance(model.nodeFromIndex(index), hdf5.Hdf5Item.Hdf5Item)
AssertionError: <silx.gui.hdf5.Hdf5LoadingItem.Hdf5LoadingItem object at 0x0000000018CCFE48> is not an instance of <class 'silx.gui.hdf5.Hdf5Item.Hdf5Item'>

[...]

FAILED (failures=1, skipped=47)
Command exited with code 1

See https://ci.appveyor.com/project/ESRF/silx/build/<IP_ADDRESS>16/job/e6fylipnsb396swt
To check if it happens again...

It can be a timing issue.
For other widget, now i created a hasPendingOperations, it is a very convenient pattern to manage the synchronization. I dont remember if i already fix this widget in this way. I can check that..


Issue 15825 - dmd's -transition=checkimports reports a false positive for tuple __dollar

ArrayScopeSymbol.search repeatedly creates __dollar symbol for tuple length propery.

Auto-merge toggled on


PubRec should not be the first packet in QoS 2

An unit test
test.only('check stream', function (t) {
  var broker = aedes()
  var s = connect(setup(broker))

  console.log('check')
  s.outStream.on('data', function (packet) {
    console.log('stream',packet)
    if (packet.cmd === 'pubrec') {
      s.inStream.write({
        cmd: 'pubrel',
        messageId: packet.messageId
      })
    }
  })

  s.inStream.write({
    cmd: 'subscribe',
    messageId: 24,
    subscriptions: [{
      topic: 'hello',
      qos: 2
    }]
  })
  s.inStream.write({
    cmd: 'publish',
    topic: 'hello',
    payload: 'world',
    qos: 2,
    messageId: 42
  })
  setTimeout(() => { t.end() }, 200)
})

The sequence of received stream will be:
pubrec -> suback -> publish -> pubcomp
It seems it violates the spec stated in http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718048, pubrec should be after publish and before pubcomp
Why we trigger the publish after receiving pubrel in https://github.com/mcollina/aedes/blob/master/lib/handlers/pubrel.js#L38 ?

Make the publish (https://github.com/mcollina/aedes/blob/master/test/qos2.js#L11) and receive (https://github.com/mcollina/aedes/blob/master/test/qos2.js#L48) functions be more verbose as follows (added console.log):
function publish (t, s, packet, done) {
  var msgId = packet.messageId

  s.inStream.write(packet)

  s.outStream.once('data', function (packet) {
    console.log('data | pub 1', packet.cmd)
    t.deepEqual(packet, {
      cmd: 'pubrec',
      messageId: msgId,
      length: 2,
      dup: false,
      retain: false,
      qos: 0
    }, 'pubrec must match')

    s.inStream.write({
      cmd: 'pubrel',
      messageId: msgId
    })

    s.outStream.once('data', function (packet) {
      console.log('data | pub 2', packet.cmd)
      t.deepEqual(packet, {
        cmd: 'pubcomp',
        messageId: msgId,
        length: 2,
        dup: false,
        retain: false,
        qos: 0
      }, 'pubcomp must match')

      if (done) {
        done()
      }
    })
  })
}

function receive (t, subscriber, expected, done) {
  subscriber.outStream.once('data', function (packet) {
    console.log('data | receive 1', packet.cmd)
    t.notEqual(packet.messageId, expected.messageId, 'messageId must differ')

    var msgId = packet.messageId
    delete packet.messageId
    delete expected.messageId
    t.deepEqual(packet, expected, 'packet must match')

    subscriber.inStream.write({
      cmd: 'pubrec',
      messageId: msgId
    })

    subscriber.outStream.once('data', function (packet) {
      console.log('data | receive 2', packet.cmd)
      subscriber.inStream.write({
        cmd: 'pubcomp',
        messageId: msgId
      })
      t.deepEqual(packet, {
        cmd: 'pubrel',
        messageId: msgId,
        length: 2,
        qos: 1,
        retain: false,
        dup: false
      }, 'pubrel must match')

      done()
    })
  })
}

In unit test 'publish after disconnection' https://github.com/mcollina/aedes/blob/master/test/qos2.js#L377, we will get the following sequence:
data | pub 1 pubrec
data | receive 1 publish
data | pub 2 pubcomp
data | receive 2 pubrel
data | pub 1 pubrec
data | pub 2 pubcomp

Apparently it's in wrong order. May I know what the order sequence should be expected in the unit test in your first thought? @mcollina

A long amount of time has passed, and I do not remember. This is the same type of transactional behavior that MQTT does not really specify, and it’s up for the broker to implement.

From the MQTT 3.11 spec, the transactional behaviour in QoS 2 is defined.

publish
pubrec
pubrel
pubcomp

Likely the test tries to demonstrate the publisher still send pubrec after the subscriber disconnects. In this case, pubrel shouldn't be sent and pubcomp won't be there.
The whole unit test is needed to rewrite. @mcollina could I?

It's hard for me to follow up on these long issues at this point. Feel free to send a PR that address your concerns, motivate it with reference to the spec, and I'll review when I have more time.


Merge refs/heads/temp-branch-6404308577 into alpha

Merge refs/heads/temp-branch-6404308577 into alpha

This PR has not been merged into alpha. Please fix the issues and re-open the PR.


Allow multiple CPAP devices to be tracked

Is your feature request related to a problem? Please describe.
We have multiple CPAP users in our house but this integration is only able to track the 1st machine that was added
Describe the solution you'd like
I would like to be able to monitor multiple CPAP machines
Describe alternatives you've considered
My only work around I've found that remotely works is that if I disable the currently working device and reboot home assistant it will then pick up the second device. This is not really a feasible solution obviously.
Additional context

Thanks for filing the issue. I will need some help here as I don't have multiple devices. Do you have one login with multiple devices, or multiple logins(2 people)?

Thanks for filing the issue. I will need some help here as I don't have multiple devices. Do you have one login with multiple devices, or multiple logins(2 people)? Are you in US or EU?

Each device requires a separate login.

Are you sure this doesn't already work? I think you can add the integration again for the second user. If this doesn't work, I will need more information. Do you see errors in the logs?

Not sure if this error is from me trying to add the device without deleting first or if it's related to adding the second user.
Logger: homeassistant.components.sensor
Source: custom_components/resmed_myair/sensor.py:67
Integration: Sensor (documentation, issues)
First occurred: 10:53:31 AM (2 occurrences)
Last logged: 10:53:31 AM

Error adding entities for domain sensor with platform resmed_myair
Error while setting up resmed_myair platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 613, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 748, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 505, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 538, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 511, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 363, in state
    value = self.native_value
  File "/config/custom_components/resmed_myair/sensor.py", line 67, in native_value
    value = datetime.strptime(value, "%Y-%m-%d")
TypeError: strptime() argument 1 must be str, not int

When I look at the sensor in developer tools all of them are a 0 for the second machine except for sensor.cpap_last_sleep_date_recorded2 which does not show up at all.

Ok great I should be able to address this in the next few days. Thanks for the info.

No worries, take your time. Let me know if you need anything more from me and thanks for looking into this.

Sorry I didn't mean to close this, just meant to refer to it.
But I have found an issue that might have caused this. Please update your installation and let me know if it works

Initial tests are looking good. I'll let you know if anything breaks overnight after the machines communicate with ResMed's servers again.

Nice! I'm going to close this but feel free to reopen if you have any issues with two CPAPs, or please file a new issue if you encounter different problems.


Snapshot Test Import not working with babel-preset

I'm trying a simple snapshot test. The component I'm testing uses another component from a module. The test fails when trying to import this unmocked module with:
Failure
Using Jest CLI v14.1.0, jasmine2, babel-jest, jest-react-native preset
 FAIL  js/app/SetupView/__tests__/SetupView-test.js (0s)
 Runtime Error
  - SyntaxError: Unexpected reserved word
        at transformAndBuildScript (../../../../../usr/local/lib/node_modules/jest-cli/node_modules/jest-runtime/build/transform.js:306:10)
        at Object.<anonymous> (js/app/SetupView/index.js:12:17)
        at Object.<anonymous> (js/app/SetupView/__tests__/SetupView-test.js:11:12)
1 test suite failed, 0 tests passed (0 total in 1 test suite, run time 2.419s)

Test
'use strict';
import 'react-native';
import React from 'react';

import SetupView from '../index';

import renderer from 'react-test-renderer';

describe('SetupView', ()=> {
  it('renders correctly', ()=>{
    const tree = renderer.create(
      <SetupView/>
    ).toJSON();
    expect(tree).toMatchSnapshot();
  })
});

SetupView Component
'use strict';

import React from 'react';
import {
  View,
  Text,
  TouchableHighlight,
  Image,
  Animated,
} from 'react-native';

import DataContainer from 'react.datacontainer'; //<---fails here
import DashboardSettings from './DashboardSettings';
.
.
.

package.json
"jest": {
    "globals": {
      "__DEV__": true
    },
    "collectCoverage": false,
    "verbose": true,
    "preset": "jest-react-native",
    "modulePathIgnorePatterns": [
      "node_modules/react-native/node_modules/yeoman-generator",
      "node_modules/react-native/node_modules/fbjs"
    ],
    "unmockedModulePathPatterns": [
      "react.datacontainer",
      "react.data",
      "react.base.theme",
      "react.layout"
    ]
  }

FYI, I have a .babelrc file in my root directory pointing to the react-native preset and the test runs but fails if I comment line 12 out since DataContainer is undefined.

Can you try jest --no-cache? If you changed your babelrc before the last invocation, we might not update the cache properly.
If that does not work please create a repo on github that I can npm install and npm test to troubleshoot.
Tip: you don't need unmockedModulePathPatterns when using the react-native-preset because automocking will be disabled anyway.

That didn't work for me. It seems like the issue is with importing the node_module react.datacontainer.
Unfortunately, I can't create a repo at this time. But if it helps further here's what 'react.datacontainer' module looks like. https://github.com/ForceDotComLabs/react.force.datacontainer

You can enable preprocessing for this module via this config option: http://facebook.github.io/jest/docs/tutorial-react-native.html#preprocessorignorepatterns-customization
If you'd like, you can also create an issue on this project's github page to ask them to precompile their dependencies and publish build files on npm.


Upgrade SPIRV-Tools prebuild to 2022-04-14

For Linux and Windows, Mac CI uses latest installed from brew
Also added comment about how/where to get the download link for next upgrade.
Resolves: #866

Confirmed that we get the new validation error (#865) not just on Mac but on Linux and Windows with this now also. So that is high priority to fix. Could potentially just merge this still so we get the same failure on all platforms @eddyb ?


IntelliJ plugin?

Is an IntelliJ plugin in the works? Something like https://plugins.jetbrains.com/plugin/7495--ignore, but using your API.

What does this mean?

Sorry for being way to vague. I am wondering if an IntelliJ plugin is in the works. Something like https://plugins.jetbrains.com/plugin/7495--ignore, but using your API.

I have no idea what the intellj plugin uses as it's source of data.  You might be better asking that question over there: https://github.com/hsz/idea-gitignore/issues
It seems like @hsz is the maintainer of that.

I'm in the process of creating a more inclusive list of templates at https://github.com/dvcs/gitignore, but you'll need to talk to @hsz who maintains the intellij plugin if you want that project to update its source.


Add an Action to PR that publishes a preview site.

Official support for preview in PR: https://github.com/marketplace/actions/deploy-github-pages-site

This is still in Alpha stage, not yet GA to public.


Error

Undiscord Version
v5.2.0
Browser
111.0.5563.66 (Official Build) (64-bit) (cohort: 111_Win_Cotrol)
Extension
Violent Monkey
Reproduction steps
Just started to delete all my messages
Actual results
Got this error after deleting 25 messages
[End condition A].	{"running":true,"delCount":0,"failCount":0,"grandTotal":84483,"offset":0,"iterations":1,"_seachResponse":{"total_results":84483,"messages":[],"analytics_id":"869e4e5dfadc87197c4eda4790006df9"},"_messagesToDelete":[],"_skippedMessages":[]
Expected results
Should delete everything
Bug affects

[X] DMs
[ ] DMs (group)
[ ] Channels
[ ] Channel (NSFW)

Additional information & file uploads

I'm having the exact same issue, I'd guess discord changed their API in the last few hours, breaking tools like undiscord :/

Can confirm having the same problem. Still was able to delete messages yesterday but now it doesn't work anymore, same error.

Same
On Fri, Mar 24, 2023, 14:15 NovemberC @.***> wrote:

Can confirm having the same problem. Still was able to delete messages
yesterday but now it doesn't work anymore, same error.
—
Reply to this email directly, view it on GitHub
https://github.com/victornpb/undiscord/issues/470#issuecomment-1483149928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIQ7T75SNPSO2P5AG7UADOTW5XJDLANCNFSM6AAAAAAWGX2D6Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

Same for me. I tried multiple workarounds but nothing works, glad it's not only me having issues.

Occurs with channels also. I found workaround which was setting delete delay to 3000ms and then it would delete more than 25 messages at the time. Sure it is slow but at least you don't have to manually delete them.

Occurs with channels also. I found workaround which was setting delete delay to 3000ms and then it would delete more than 25 messages at the time. Sure it is slow but at least you don't have to manually delete them.

Although not perfect, it allows more to delete but the problem still occurs.

duplicate of #471


Skipping stage 1 and utilizing an existing point cloud

Thanks for your kind responses
I am trying to use an existing point cloud, and utilize only your stage 2 codes to turn it into a mesh and close holes.
However, looking at your codes, it seems like rather than a  point cloud, mesh components(vertices, faces, vertices colors) are required.
Is there any way to load a point cloud in the middle of the codes before stage2 (completion stage)???

You are correct, stage 2 requires a mesh already. We continuously triangulate the mesh from each new image in stage 1.


Control groups (radio buttons, checkboxes)

Does happy.js support control groups?  It doesn't seem to work for me.
Here is a screenshot, it shows the error repeatedly for each checkbox, I expected just one error to show.

I found this:
https://github.com/StanAngeloff/Happy.js/blob/86bd64e2eab12f22e3cd0007c1a40e7eadfb00c4/happy.js

I was wondering if there is a way around this yet as I've come across the same problem?


Nag on monday

Coverage remained the same at 30.521% when pulling e50c6de1bbcc22303da9099ce3f0124157f98081 on calixteman:nag_monday into e101f0584b99db41eea26e1d622c38bd19795a51 on mozilla:master.


local setups [GAL-418]

Changes:

Changed _internal to _local
Added new local files for different environments like connecting to dev backend DB locally

Neat! How does a _local .yaml file differ from its _deploy counterpart? E.g. what would the differences be between _local/app-prod-backend.yaml and _deploy/app-prod-backend.yaml?
And on that note, would _local/app-prod-backend.yaml set my ENV variable to production, or would it stay local?

Neat! How does a _local .yaml file differ from its _deploy counterpart? E.g. what would the differences be between _local/app-prod-backend.yaml and _deploy/app-prod-backend.yaml?
And on that note, would _local/app-prod-backend.yaml set my ENV variable to production, or would it stay local?

The _local files just have the necessary variables to run the server locally connected to data that is either local, prod, or dev. Your env variable will still be local, these files only handle where data is coming from.


Bad uses clause insert...

Example:
I have class TServerRoot in unit   ss.core.server.root.pas. I find it in RFindUnit, click Add and to uses secion is added:
uses
ss.core.server.root.TServerRoot;
but should be only:
uses
ss.core.server.root;

I made a mistake and sent changes to the master branch, I'm gonna close these last issues, because those bugs wont be in production, I'm preparing an interesting thing :D


Player Stats

Hi, when player stats are fetched I think that something is not working properly, for example, the top 3, 5, 6, 12 and maybe more, always are 0.
Someone noticed about this?
Thanks

It's normal, epic games API return 0, also playtime is 0. I know that playtime is disabled after season 2. But for top 3,5,6,12 i don't know why are disabled.

@Krokit even in game leaderboards it returns top 10 and top 25 for solo,5 , 12 duo and 3,6 squads


Adding Mass Calculations

Hi, I wanted to add some Mass calculations so when you slice the object the existing body and body2 will have a mass value based on percentage of the slice.
Here is what I came up with;
func calculate_mesh_volume(mesh: ArrayMesh) -> float:
var volume = 0.0
for surface in range(mesh.get_surface_count()):
var arrays = mesh.surface_get_arrays(surface)
var vertices = arrays[Mesh.ARRAY_VERTEX]
for i in range(0, vertices.size(), 3):
var v1 = vertices[i]
var v2 = vertices[i + 1]
var v3 = vertices[i + 2]
volume += abs(v1.dot(v2.cross(v3))) / 6.0
return volume
Add these to the # Slice Rigidbody section:
var volume1 = calculate_mesh_volume(meshes[0])
var volume2 = calculate_mesh_volume(meshes[1])
var total_volume = volume1 + volume2
var mass1 = body.mass * (volume1 / total_volume)
var mass2 = body.mass * (volume2 / total_volume)
Need to set these variables at the right time, I calculate body.mass after the body.center_of_mass and the same for body2:
body.mass = mass1
body2.mass = mass2
Maybe you want to add this in, if not thats cool just thought I'd share.

What's the point of this? I thought the mass is automatically calculated based on the size.

When I was printing the RigidBody3D mass after slicing the mesh it wasn't updating for me, (e.g. a small chunk of an object would still weigh 1000kg and my player unable to move it) so this was my way of implementing that on the player script.

I just added it. Thanks!
b44711e

No worries, awesome addon btw having fun with it so far :)


DS-3489: Search API query filter operator and facet prefix

This PR builds on the work done in https://github.com/DSpace/DSpace/pull/2041 and add the following functionality required by the Search UI mockups:

Support for a base-query language as described in https://wiki.duraspace.org/display/DSPACE/Search+Mockup#SearchMockup-Theequals,contains,not,ID,etcdropdownhasbeenremoved The API supports this using the query operator:

/api/discover/search/objects?f.subject=-Fedora,query

Support for filtering facets on a given prefix. This is required to support auto-complete functionality on filter values as described here https://wiki.duraspace.org/display/DSPACE/Search+Mockup#SearchMockup-Filterinputshaveautocomplete

/api/discover/facets/author?prefix=sa

@tdonohue I've written extra JavaDocs for public methods that have been added in this PR. If you find some time, could you have a look and see if they're okay or if anything slipped by, please?

As this has approval and is depended on by https://github.com/DSpace/dspace-angular/pull/280, I'm going to merge as-is.  If, as @terrywbrady notes above, there's a HAL Browser issue here, we may want to investigate (separately) whether it's caused by our code or whether it's a bug to report back to the HAL Browser team.


need to update the seahorse version for writing Smart Contracts in Seahorse

It has been updated and deployed! Only issue is that local module imports are not yet implemented in playground. Everything else should work as expected.

Hey, @acheroncrypto  thanks for updating the seahorse version in Solpg .I hope you will update the new version of Seahorse 0.2.3

Unfortunately 0.2.3 doesn't work with WASM as of right now, need custom implementation to make it work. And as I mentioned in the previous post, this only effects local imports.
Let me know if you run into any problems!


Can't extract tarball or zip if it contains an asar archive

On Electron 0.30.2 (OSX 10.10.3) there seems to be an issue when extracting archives that contain .asar archives (created with asar 0.7.2). This happens when trying to extract tarballs with node-tar or tar-fs, or zip files with yauzl. If I was to run the exact some code outside of electron with iojs 2.3.1, then it works like a charm.
Here's a trace that winston sends out whenever it happens using yauzl. This will happen with both the original atom.asar archive, and my own app.asar. Also tried with just the electron releases to make sure it wasn't an issue with my own archives.
https://gist.github.com/dustinblackman/e1163128c3d6fd883af6
If curios on the code, the WIP of it is found here. https://github.com/dustinblackman/Championify/blob/dev/lib/zipz.coffee
EDIT:
Example code that'll get the same error but with tar-fs.
zlib = require 'zlib'
tar = require 'tar-fs'
fs = require 'fs'

fs.createReadStream('./my-electron-app.tar.gz')
  .pipe(zlib.Gunzip())
  .pipe(tar.extract('./extract'))

+1

+1

For a workaround (in case of tars) see #1658!


handle upgrade in debian/preinst script

...otherwise, upgrade fails.

Ah, good catch. This'll go out soon!


Typescript Migration

Description
Converted all the stuff to typescript.
Motivation and Context
_____________________________
|  TYPESCRIPT === EASIER    |
|  COLLABORATION            |
_____________________________
      (\__/) ||
      (•ㅅ•) ||
      / 　 づ

How Has This Been Tested?
All the tests still pass :)
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Refracture

Checklist:

[x] My code follows the code style of this projectRef.
[x] My change requires a change to the documentation.
[x] I wrote tests for added functionality.


add note about meaning of ||

This probably isn't needed if we merge https://github.com/Co-Epi/CEN/pull/35/files


Do Wii U's Mii.py still supporting on Nintendo network?

Bcs it used to working (first pic) but after the Nintendo network down it will only display an error now (second pic)
I'm pretty curious is it still working or it's no longer supporting?

since the network got shut down

From what we've seen over at Pretendo the Mii images endpoint is the only one which was actively taken down. Every other endpoint still functions as normal, so I wouldn't necessarily call it "shut down" right now to be honest

That raises the question whether I want to keep the 3DS / Wii U implementations in this repository. Maybe I will remove them from the main branch at some point

This feels a bit nuclear imo? A number of servers are still online (the friends server and Pokemon Bank), so there's still use for it. On top of that, projects like https://github.com/MCMi460/3DS-RPC use this client for interacting with 3DS servers, including ours, so there's still people actively using the Wii U/3DS support in the client. Removing it entirely seems like a net-negative to me?

Hmm you are right. I don't think it's possible to request miis anymore since the network got shut down.
That raises the question whether I want to keep the 3DS / Wii U implementations in this repository. Maybe I will remove them from the main branch at some point.

I see


[Migration] Claims sent to applications are filtered by scope

In IS 5.11.0, if there are attributes configured at the service provider, these attributes will be sent to the application regardless of the scope set in the authorization request. But in 5.12.0, the claims configured in the service provider will be filtered by the scope and only the filtered claims will be sent to the application.
A config is available in 5.12.0 to disable this filtering: enable_scope_based_claim_filtering.
This config is set to true by default but if a user need to disable claim filtering based on scope, this config can be set to false.

Added to docs with https://github.com/wso2/docs-is/pull/2991, https://github.com/wso2/docs-is/pull/2997


Call to ECRDeploy fails

I'm newer to CDK.  I've had some recent success with it in Python but I've reached a point where I could use some help.
I'm using CDK v2 and I don't like the fact that when I create a Docker image with DockerImageAsset, the image is placed inside of a CDK assets repository.  So, I'm using the [cdk_ecr_deployment](https://github.com/cdklabs/cdk-ecr-deployment/blob/main/API.md) package from cdklabs to copy the image over from the CDK asset repository to the repository I previously created in CDK.
For what it's worth, I'm using Python with CDK:
my_ecr_asset = ecr_assets.DockerImageAsset(
    scope=scope,
    id='MyEcrAsset',
    directory='/my/path/to/Dockerfile'
    file='my-docker-file-name'
)

ecrdeploy.ECRDeployment(
    self,
    'DeployThisImage',
    src=ecrdeploy.DockerImageName(my_ecr_asset.image_uri),
    dest=ecrdeploy.DockerImageName(f"{self.account}.dkr.ecr.{self.region}.amazonaws.com/my-custom-repo")
)

As-is, the code block above fails with an "Invalid PhysicalResourceId" error.
If I comment out the call to ECRDeployment and re-run the code after the failure, it works.
I ran cdk deploy --all --no-fallback and looked in the CloudWatch logs and I see the following:
2023/07/25 13:59:06 sending status failed: copy image failed: writing blob: Post "https://123456789012.dkr.ecr.us-east-2.amazonaws.com/v2/my-custom-repo/blobs/uploads/": EOF
Now, if I delete everything (cdk destroy -f --all) and rerun my deployment with the ECRDeployment call commented out, my code works.  I can then uncomment the ECRDeployment call after the successfull run, execute a 2nd deployment and it works.
Works:

Start with clean slate
Comment out ECRDeployment line
cdk deploy --all
Stack deploys w/o error
From this state, uncomment ECRDeployment line and cdk deploy --all

I've even tried adding different tags to the end of the repo line but nothing works.
Thoughts?

OK, I solved my own problem.  What happened was that I had assumed CDK could resolve all dependencies.  Apparently, that's not alwas the case.  CDK was unable to determine that the ECR repository I was created had to be created before I tried to push an image to it.  The following line solved the problem:
db_image.node.add_dependency(my_cdk_repository)


Please refernce

Done! It's on the README file. Sorry that I forgot about it, I didn't mean not to credit you! :)


SNOW-654658: SnowparkFetchDataException when using to_pandas after v0.9.0 upgrade

Please answer these questions before submitting your issue. Thanks!

What version of Python are you using?

Python 3.8.13 (default, Mar 28 2022, 06:59:08) [MSC v.1916 64 bit (AMD64)]

What operating system and processor architecture are you using?

Windows-10-10.0.19042-SP0

What are the component versions in the environment (pip freeze)?

A pandas DataFrame should be returned. Instead got the following error:
SnowparkFetchDataException: (1406): Failed to fetch a Pandas Dataframe. The error is: to_pandas() did not return a Pandas DataFrame. If you use session.sql(...).to_pandas(), the input query can only be a SELECT statement. Or you can use session.sql(...).collect() to get a list of Row objects for a non-SELECT statement, then convert it to a Pandas DataFrame.

This wasn't an issue prior to upgrading to 0.9.0.
Now I need to do a workaround using .collect(), which is surprisingly seamless, but still odd how it breaks the behavior.

Can you set logging to DEBUG and collect the logs?

If necessary I can add this,

Could you please upgrade your pyarrow version to 8.0.0? Snowpark 0.9.0 now requires connector 2.7.11 which requires pyarrow 8.0.0. Your pyarrow version is 4.0.1 (I'm not sure why it's not upgraded along with snowpark, but you can try and see whether it solves this issue). Thanks!

Thanks, Upgrading pyarrow fixed it! That said, I'm on connector 2.7.12. Still works though.


Using USB stick

Hi,
With the Raspbian desktop system I can access and use an usb stick as a storage device.
It is present in /media/pi/label.
But when I use the picam-streamer image I can not see the usb stick.
Is there a way to use an usb stick with picam-streamer?
Do I have to make an adjustment or must I mount the usb stick?
Thanks so far,
ErHaMep

Log in to your Raspberry Pi via ssh and mount the USB drive. Please see this guide. https://cialu.net/automount-external-usb-drive-raspberry-pi/

Thanks.
I will try it.
ErHaMep


WebSocket library

Hi @frankie567, interesting project!
Out of curiosity, why did you choose wsproto over websockets?

Thanks for the answer, that makes sense.
I'll probably use httpx-ws very soon :smiley:

@aaugustin Do you have a list of pros and cons about wsproto and websockets regarding the sans-io implementation?
Asking here because it may give some insights... :man_shrugging:

In terms of API, websockets does more for you:

It handles ping / pong for you — while wsproto asks you to do it
It handles the closing handshake for you — same comment
It tells you when you should close the TCP connection — the WebSocket spec requires the server to close the connection first, which causes a surprising amount of pain when you implement the closing handshake on the client side — and that drove some aspects of the design of websockets' Sans-I/O API.

In terms of performance, you should see a big difference in favor of websockets when dealing with large frames (like, 1MB) because this code in wsproto, even though it's reasonably optimized Python, is nowhere near as fast as that code in websockets. This is actually a big performance bottleneck of all pure Python implementations.
I believe that websockets a bit more battle-tested as it predates wsproto by a few years — some super-edge-case bugs were ironed out over the years.
You're welcome to have Opinions about websockets' regex-based HTTP implementation. Well, it's fast, I cannot remember having to fix embarrassing bugs, and OSS-Fuzz didn't find anything after running billions of test cases. So I guess it's a viable way implement the required subset of HTTP for a WebSocket handshake?
The documentation of websockets' Sans-I/O layer tells you the basics but isn't at the same level as the documentation of the rest of the library — because so few people will integrate the Sans-I/O layer that I can support them individually. It's probably more useful to check this PR: https://github.com/aaugustin/websockets/pull/1245/files (or the actual code in the library once I merge it).
There may be other aspects in which wsproto is superior to websockets. I know where I put my efforts in websockets; I don't know where the wsproto crew invested!
Beyond that, WebSocket is a relatively small protocol so you will likely find pretty much the same code. At some point, websockets had higher performance; then everyone adopted the same ideas and I'm not sure there's a

Thanks @aaugustin :pray:


Email from new window not sent when observe.before or observe.after for send_message is defined

Hey guys, hey @KartikTalwar friend :)
So, continuing to work on my Chrome extension, I felt upon that issue. When you use a compose window in a new window (either by clicking on a mail adress sent to you in a previous mail, or by ctrl+clic on "New Message") and then try to send the mail, a very strange behavior shows up...
IF and only IF you have defined something like
gmail.observe.before('send_message', function(url, body, data, xhr) {
    // Even if you don't add anything here the bug still occurs !
});

Same goes with after. Then, when you click on "send" button, the "sending..." label shows up and never disappears, and after something like 10 seconds an arror appears in the console :
MT_VIEW_DATA not set
I absolutely don't get what that means, if anyone can help me that would be great. As usual, when I will figure it out, I will send a pull request with the correction.
Thanks,
JB

hey @JerryBels I'm pretty occupied until next Monday but if I get time between then I can take a look at it, otherwise will be looking into this next week

No rush buddy, don't worry, take your time :)

We have the same issue. We try to observe multiple events but when sending an email from a new window it results in not responding interface or even worse. Gmail gives a message: "Ooops... the system encountered a problem. (#009) - Retrying in ... Look like this issue is a bit bigger then just the observer 'send_message'.

@aesedepece I don't know if it's the same bug, but it's possible :)
@KartikTalwar hello my friend, did you have time to look into it ? I tried but drown fast enough ^^

To solve this I have implemented this(It will stop from crashing but not solve the issue):
if (window.opener && window.opener !== window) {
//fix for when in popup
} else {
//add scripts or whatever you are doing
}

So the issue is not solved yet. @KartikTalwar anything new from your side ?

@nwaarbroek I am facing same issue. Did you find any solution to this?

We stripped down gmail.js to the basic needs we had. We could not point out
an exact location in the source where this issue occure so we decided to
strip down gmail.js and only keep the functionality we needed. We had a
working solution, but in the end we decided it's not stable enough to go in
production.
Met vriendelijke groet / with kind regards,
Niek Waarbroek
+31 6 16 790 968
On Thu, Jun 2, 2016 at 7:59 AM, aakankshabhujbal<EMAIL_ADDRESS>wrote:

@nwaarbroek https://github.com/nwaarbroek I am facing same issue. Did
you find any solution to this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KartikTalwar/gmail.js/issues/238#issuecomment-223202667,
or mute the thread
https://github.com/notifications/unsubscribe/AFYFQ_-4qgBp3_UeOwjrsn78FWbgL2R6ks5qHnFdgaJpZM4HlN71
.

Hi. I removed gmail.observe.before('send_message', form my code. But still I am getting same issue. Email sending still hangs. What is cause of this? @KartikTalwar Did you looked into this issue?

@aakankshabhujbal I would say it's probably the case, yes. I guess the observers are broken on any popup window. It looks like @KartikTalwar don't have time for us these days, which is understandable - everyone has a real life to look after, right ? :) I'm sure he will eventually solve this when he has the time for it.

@JerryBels I was debugging it from 2 days, just came to know that if I remove observe.on("open_email" from my code, email sent successfully. I think we need to dig into observers more. Are you still working on this issue?

@aakankshabhujbal I will but only in 2 or 3 weeks. I hope the Grand Master of that repos will show up and solve it before though ^^

This is probably fixed by #284

Fixed indeed, was waiting for tonight to be able to test :) Thanks @garris , you're a champion !

Great to hear!  Cheers.


#43: code clean (closes #43)

test plan: I simply verified es-lint wasn't throwing any errors and run npm test


Local regression tests and GitHub CI workflow

It could be useful to have some testing workflow for the Riemann solvers. I was thinking about writing some Pytest-based regression tests for the Python and f2py-compiled  Fortran solvers. The idea would be to compare, for a set of problems, the output of each solver (waves, speeds, normal and transverse fluctuations) with some reference values stored in dictionaries, instead of focusing on the Riemann solution itself. Would something like this make sense?

We did have something that would effectively call a Riemann solver in a mode that would be an actual Riemann problem.  Something like that would be useful although I am not sure how hard it would be to hook up generally to the Fortran Riemann solvers that use things like modules.  A Fortran test harness maybe appropriate even in that case.


Connect repository with requires.io

Requires.io monitors project dependencies. Let's monitor Oscar's dependencies with it and include their badge in the README.rst
Example

This was already done, see https://requires.io/github/django-oscar/django-oscar/requirements/?branch=master
I've added pyup.io as possible replacement


Replace pvfactors with solarfactors

[x] Closes #1796
[x] I am familiar with the contributing guidelines
~[ ] Tests added~
~[ ] Updates entries in docs/sphinx/source/reference for API changes.~
[x] Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
~[ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.~
[x] Pull request is nearly complete and ready for detailed review.
[x] Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.
[x] TODO: update pvfactors_timeseries docstring

I've got a first release of solarfactors up on PyPI, with the important feature of not requiring pvlib<0.10.  Other than pip installing a different name, it should be a transparent replacement for pvfactors as far as pvlib is concerned.  So hopefully just by changing the dependency name, the tests and docs build should pass without any other changes being needed.
If so, I think we could proceed with making a v0.10.1 release with this update.

@pvlib/pvlib-core this is ready for review.  I suggest we merge this and release v0.10.1.


很多问题，由于我不是专门使用kotlin开发，我无法解决

Issue / Feature - @

This type is final, so it cannot be inherited from
Type mismatch: inferred type is Long but String was expected
Type mismatch: inferred type is LocatorText? /* = Locator.Text? */ but Locator.Text was expected
'writeToParcel' overrides nothing
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public final val href: String defined in com.folioreader.model.locators.ReadLocator
Unresolved reference: created
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public final val title: String? defined in com.folioreader.model.locators.ReadLocator
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public final val locations: Locator.Locations defined in com.folioreader.model.locators.ReadLocator
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public final val text: Locator.Text defined in com.folioreader.model.locators.ReadLocator。。。。。

For example, how many Gradle versions, Android SDK versions or Kotlin versions do you use?


Clarification Needed: Difference between Logical Topology and Physical Topology in the Execution Script

Please provide a detailed description of your question or the information you seek.
Hello,

I came across the following description in the documentation:

"In the execution script above, note the two flags --network-backend and --logical-topology. Note that in the analytical backend, we only used the --network backend. This is because, in the analytical backend, the logical topology and physical topology was the same, while ns3 allows us to separate logical and physical topology."

While I understand the general idea, I am still unclear about the precise difference between logical topology and physical topology and how they are handled differently in the analytical backend versus the NS3 backend.
Could you please clarify the following:

What exactly is meant by logical topology and physical topology in the context of ASTRA-sim and the NS3 simulator?
Why is it that the analytical backend cannot separate logical and physical topology?
Can you provide specific examples or diagrams that illustrate the differences in a practical scenario?

Thank you so much for your help! Looking forward to a detailed clarification to better understand this topic.

Hi, here’s my understanding:

Logical topology is an abstraction of how gpus communicate among them. It helps us to decide the source (src) and destination (dest) GPUs (e.g., which GPUs need to talk to each other).

Physical topology refers to actual connectivities between the gpus. It determines the actual path the data will take (e.g., through which switches or connections the data will flow).

Lets consider a topology of gpus where all are connected with a switch (physical topology), the logical topology could be a ring topology of GPUs, mesh topology, or something else depending on the communication pattern.
Correct me if i'm wrong


#270: added support for ROWID column type in Oracle

Closes #270

I am not sure if it is worth to handle ROWID. It's a pseudo column showing the physical address of a table row and it has no relevance from business/application point of view and only used in very low-level performance tuning in OLTP use cases. It has absolutely no use in Exasol. Better to skip it.
More info: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/sqlrf/ROWID-Pseudocolumn.html#GUID-F6E0FBD2-983C-495D-9856-5E113A17FAF1

The implementation for ROWID was in the Oracle dialect for a long time. I just switched it on. I think it won't hurt anyone.

Unit test case is missing. Please add.


Adding Calendar support for ICS

Hey, I really love SMS Backup +, but was disappointed when I noticed the call log backup didnt seem to work on ICS, so I thought I'd give back :-). I've tested on a Galaxy Nexus, but unfortunately I dont have a phone w/ an earlier OS to test backward compatibility and the emulator doesn't let you add google accounts and doesn't have Calendar installed. I'll try to find a phone to test with soon but if one of you can that would be very helpful.
I'm very open to changes, so please let me know what you think.
Thanks!
Mike

I just saw QuintinRobinson's pull request that does something very similar to mine...oops. Feel free to merge or throw at will.

I've tested SMS Backup+ 1.4.3 with a Samsung Nexus S running stock ICS 4.0.3 and can confirm that "Calendar sync" under "Call log settings" is greyed out and does not work.

@wainwda can you try installing https://github.com/jberkel/sms-backup-plus/sms-backup-plus-smike.apk/qr_code ?

I tested the apk you sent on a Nexus S running 4.0.3 and I'm pleased to say
it worked exactly as it should.  Call Logs appear in the calendar of my
choice.
I also tested it on a SGS2 running 2.3.3 and that also worked fine too.
Nice work chaps.
On 30 December 2011 18:38, Jan Berkel <
<EMAIL_ADDRESS>
wrote:

@wainwda can you try installing
https://github.com/jberkel/sms-backup-plus/sms-backup-plus-smike.apk/qr_code?

Reply to this email directly or view it on GitHub:
https://github.com/jberkel/sms-backup-plus/pull/206#issuecomment-3315824

@smike @wainwda thanks, i rebased your commits and pushed to master. will release as 1.4.5 later.


bundle install extremely slow (to resolve dependencies)

On this small (artificial) project (only having a Gemfile and a specfile) bundle spends 33 minutes to resolve dependencies...
The demonstrating project can be seen on https://github.com/softace/slow_bundle_install_demo
I find it kind of odd that it should take so long time.

It happened to me on following scenario:
gem 'rails'
gem 'activerecord-sqlserver-adapter'

gem 'spree', '~> 2.4.0'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '2-4-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-4-stable'

When I commented spree gems, dependencies were resolved fast.

@andretf this issue has been closed for years, please open a new issue

Remove Gemfile.lock  and then run  bundle install  solved my endless waiting.

Understood that this has been closed for years, but this is the top issue that shows up on a google search and hopefully my information can save someone the hours I spent.
My dependency versions weren't necessarily incorrect, but it seems I had over time, i.e. many bundle updates (it seems anyway), gotten to a state where it had difficulty resolving candidate versions for activesupport.  For example:
Creating possibility state for activesupport (< 5.0, >= 3.0) (108 remaining)
    Attempting to activate activesupport (<IP_ADDRESS>)
    Found existing spec (activesupport (<IP_ADDRESS>))
    Unsatisfied by existing spec (activesupport (<IP_ADDRESS>))
    Unwinding for conflict: activesupport (< 5.0, >= 3.0)

I tried locking the version of activesupport to no avail.  Here is a gist of the debug output I stopped during processing.
The solution for me was the following (just a lock file delete didn't help me):

delete Gemfile.lock
empty rvm application gemset
empty rvm global gemset
gem install bundler
bundle

I am no longer in this state so it would be difficult for me to provide more information at this time to warrant opening an issue.

@rosskevin my man, 💯 thanks!

@indirect Just ask out of curiosity, why resolving dependencies is NP-complete? Because of the backtracking? Any reference to similar NP-complete problems, or any extra information would be helpful! Thanks


java websocket library does not support "JKS" for WSS

Describe the bug
I am using java web socket library in android for connection on wss server. I m using Android api 5.1 and 8.0 for web socket client implementation. My issue is when i am trying the SSLClient example, Keystore doesn't support JKS.
The error is...
java.security.KeyStoreException: java.security.NoSuchAlgorithmException: KeyStore JKS implementation not found
Environment(please complete the following information):

Java version: 1.7
Operating System and version: android 5.1 and 8.0

Hello @testmayank013,
check out https://github.com/TooTallNate/Java-WebSocket/wiki/FAQ:-Secure-WebSockets#wss-on-android for android ssl usage.
Best regards,
marci4