Receipt not found for transaction

I keep getting receipt not found for transaction on a node initated with:
geth --verbosity 6 --nodiscover --port 30303 --unlock "0x259af16d44f6897f98205af3b9d3382dbb0712d9" --rpc --rpcport 8101 --rpccorsdomain '*'  --rpcapi="db,eth,net,web3,personal" --mine console 2>> ~/gen.log
After I deploy:
gen.log: (right after deploying 2 contracts)
I0705 11:30:40.406084 eth/downloader/downloader.go:1942] Quality of service: rtt 20s, conf 1.000, ttl 1m0s
I0705 11:30:40.580404 core/tx_pool.go:303] (t)<PHONE_NUMBER>313664 => [NEW_CONTRACT] (0x54d620) 49406d0ed84921e72c983d10113390437f8eceeb1ce7066b7440d4dd3387e83e
I0705 11:30:40.580517 eth/api.go:1191] Tx(0x49406d0ed84921e72c983d10113390437f8eceeb1ce7066b7440d4dd3387e83e) created: 0xefbd415fc7cfafacd516d465705831fe7aa91b97
I0705 11:30:40.580766 core/state/state_object.go:168] 259af16d44f6897f98205af3b9d3382dbb0712d9: #2<PHONE_NUMBER>9641396900000000000 (-<PHONE_NUMBER>00000000)
I0705 11:30:40.580854 core/state/statedb.go:289] (+) efbd415fc7cfafacd516d465705831fe7aa91b97
I0705 11:30:40.580884 core/state/state_object.go:168] 259af16d44f6897f98205af3b9d3382dbb0712d9: #3<PHONE_NUMBER>9641396900000000000 (- 0)
I0705 11:30:40.580913 core/state/state_object.go:160] efbd415fc7cfafacd516d465705831fe7aa91b97: #0 0 (+ 0)
I0705 11:30:40.580948 core/vm/vm.go:157] running byte VM c55cb748
I0705 11:30:40.581088 core/vm/vm.go:160] byte VM c55cb748 done. time: 117.96µs instrc: 41
I0705 11:30:40.581131 core/state/state_object.go:160] 259af16d44f6897f98205af3b9d3382dbb0712d9: #3<PHONE_NUMBER>9941133800000000000 (+<PHONE_NUMBER>00000000)
I0705 11:30:40.581164 eth/handler.go:776] broadcast tx to 0 peers
I0705 11:30:40.581164 core/state/state_object.go:160] 259af16d44f6897f98205af3b9d3382dbb0712d9: #3<PHONE_NUMBER>9941133800000000000 (+ 0)
I0705 11:30:40.581213 core/state/state_object.go:160]<PHONE_NUMBER>000000000000000000000000000000: #0<PHONE_NUMBER>0000000 (+<PHONE_NUMBER>0000000)
I0705 11:30:40.581322 core/state_processor.go:108] receipt{med=e8e29d4bd59c8c90a68f43830fb135f89ec0965020e033aa36d0c17d983a5466 cgas=588662 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
I0705 11:30:40.581147 core/tx_pool.go:303] (t)<PHONE_NUMBER>313664 => [NEW_CONTRACT] (0x54d620) 5e4a6a8c0af12c5366c1617233881c40b344efcd80c5385dbe891aac88d29416
I0705 11:30:40.581437 eth/api.go:1191] Tx(0x5e4a6a8c0af12c5366c1617233881c40b344efcd80c5385dbe891aac88d29416) created: 0xbf029f061b34b22d8a5b7b67cfc19086401a27bb
I0705 11:30:40.581570 core/state/state_object.go:168] 259af16d44f6897f98205af3b9d3382dbb0712d9: #3<PHONE_NUMBER>9626974600000000000 (-<PHONE_NUMBER>00000000)
I0705 11:30:40.581631 core/state/statedb.go:289] (+) bf029f061b34b22d8a5b7b67cfc19086401a27bb
I0705 11:30:40.581653 core/state/state_object.go:168] 259af16d44f6897f98205af3b9d3382dbb0712d9: #4<PHONE_NUMBER>9626974600000000000 (- 0)
I0705 11:30:40.581678 core/state/state_object.go:160] bf029f061b34b22d8a5b7b67cfc19086401a27bb: #0 0 (+ 0)
I0705 11:30:40.581693 eth/handler.go:776] broadcast tx to 0 peers
I0705 11:30:40.581718 core/vm/vm.go:157] running byte VM 2cb7b5c2
I0705 11:30:40.582029 core/vm/vm.go:160] byte VM 2cb7b5c2 done. time: 282.615µs instrc: 148
I0705 11:30:40.582081 core/state/state_object.go:160] 259af16d44f6897f98205af3b9d3382dbb0712d9: #4<PHONE_NUMBER>9911112200000000000 (+<PHONE_NUMBER>00000000)
I0705 11:30:40.582143 core/state/state_object.go:160] 259af16d44f6897f98205af3b9d3382dbb0712d9: #4<PHONE_NUMBER>9911112200000000000 (+ 0)
I0705 11:30:40.582177 core/state/state_object.go:160]<PHONE_NUMBER>000000000000000000000000000000: #0<PHONE_NUMBER>0000000 (+<PHONE_NUMBER>0000000)
I0705 11:30:40.582367 core/state_processor.go:108] receipt{med=22450a486e0682f5a6a2658ac0e4b14ba86fb973ea7f331c8f40619ebda9f320 cgas=888878 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
I0705 11:30:41.085822 eth/api.go:1094] receipt not found for transaction 0x49406d0ed84921e72c983d10113390437f8eceeb1ce7066b7440d4dd3387e83e
I0705 11:30:41.086068 eth/api.go:1094] receipt not found for transaction 0x5e4a6a8c0af12c5366c1617233881c40b344efcd80c5385dbe891aac88d29416
I0705 11:30:41.587961 eth/api.go:1094] receipt not found for transaction 0x49406d0ed84921e72c983d10113390437f8eceeb1ce7066b7440d4dd3387e83e
I0705 11:30:41.588005 eth/api.go:1094] receipt not found for transaction 0x5e4a6a8c0af12c5366c1617233881c40b344efcd80c5385dbe891aac88d29416
I0705 11:30:42.090563 eth/api.go:1094] receipt not found for transaction 0x49406d0ed84921e72c983d10113390437f8eceeb1ce7066b7440d4dd3387e83e
I0705 11:30:42.090566 eth/api.go:1094] receipt not found for transaction 0x5e4a6a8c0af12c5366c1617233881c40b344efcd80c5385dbe891aac88d29416

genesis.json:
{
    "nonce": "0x0000000000000042",
    "timestamp": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "extraData": "0x0",
    "gasLimit": "0x8000000",
    "difficulty": "0x400",
    "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "coinbase": "0x3333333333333333333333333333333333333333",
    "alloc": {
        "259af16d44f6897f98205af3b9d3382dbb0712d9": {
            "balance": "31337000000000000000000000000"
        }
     }
}

Geth version: 1.4.9-stable
I'm using truffle/pudding to deploy.
It does seem to mention something about a receipt in the log, but I have no idea what is going wrong here.
(Note: I've seen this issue: http://ethereum.stackexchange.com/questions/2693/truffle-deploy-to-geth-failing-generating-receipt-not-found-repeatedly-from-g where the solution seemed to be enabling mining, which is already enabled here)

I'm getting the same issue.  Verbose RPC log:
   > {
   >   "jsonrpc": "2.0",
   >   "method": "eth_getTransactionReceipt",
   >   "params": [
   >     "0x7f7c785e63e8cc8d81cce37adf8b80bf5f7402fe45c638a11be178c02a5ec461"
   >   ],
   >   "id": 2
   > }
 <   {
 <     "jsonrpc": "2.0",
 <     "id": 2,
 <     "result": null
 <   }
   > {
   >   "jsonrpc": "2.0",
   >   "method": "eth_getTransactionReceipt",
   >   "params": [
   >     "0x7f7c785e63e8cc8d81cce37adf8b80bf5f7402fe45c638a11be178c02a5ec461"
   >   ],
   >   "id": 3
   > }
 <   {
 <     "jsonrpc": "2.0",
 <     "id": 3,
 <     "result": null
 <   }
   > {
   >   "jsonrpc": "2.0",
   >   "method": "eth_getTransactionReceipt",
   >   "params": [
   >     "0x7f7c785e63e8cc8d81cce37adf8b80bf5f7402fe45c638a11be178c02a5ec461"
   >   ],
   >   "id": 4
   > }
 <   {
 <     "jsonrpc": "2.0",
 <     "id": 4,
 <     "result": null
 <   }

... this continues ad infinitum with id increasing each time.

FWIW, I removed the --nodiscover geth flag and now deploy works.

@harlantwood That's weird and unexpected behaviour.
I eventually got it to work by following this: http://tech.lab.carl.pro/kb/ethereum/testnet_setup
And I suspect because I made a new user for that, it was something in the homefolder, like .ethash that was not right.

Hmm. This appears to be a geth configuration issue and not necessarily a Truffle issue. I'm going to close this to keep the issues list clean. If you're still running into it please reopen and comment. Thanks!


Disable compaction bundle read if storeCompactionMinBufferSize is 0

basicTestNoBundleReadBuffer() tests null case.

Codecov Report

Merging #948 into master will increase coverage by 0.01%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##             master     #948      +/-   ##
============================================
+ Coverage     67.38%   67.39%   +0.01%
- Complexity     4361     4363       +2
============================================
  Files           365      365
  Lines         28564    28564
  Branches       3631     3633       +2
============================================
+ Hits          19249    19252       +3
+ Misses         8306     8305       -1
+ Partials       1009     1007       -2

Impacted Files
Coverage Δ
Complexity Δ

...java/com.github.ambry.store/CompactionManager.java
89.93% <33.33%> (+1.34%)
19 <0> (ø)
:arrow_down:

...b.ambry.network/BlockingChannelConnectionPool.java
63.15% <0%> (-3.08%)
7% <0%> (-1%)

.../com.github.ambry.router/GetBlobInfoOperation.java
80.6% <0%> (-1.22%)
33% <0%> (-1%)

...in/java/com.github.ambry.store/BlobStoreStats.java
71.05% <0%> (+0.47%)
82% <0%> (ø)
:arrow_down:

...github.ambry.rest/AsyncRequestResponseHandler.java
88.59% <0%> (+0.97%)
23% <0%> (ø)
:arrow_down:

...ava/com.github.ambry.store/BlobStoreCompactor.java
94.23% <0%> (+1.02%)
130% <0%> (+3%)
: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 c5b9953...adc4404. Read the comment docs.


Fix: don't create private route tables when it is not needed

Description

Fix for aws_route_table.private creation.
Motivation and Context

If you are using only elasticache_subnets without providing private_subnets the "private route tables" will be created anyway.
Breaking Changes

With this change, these "private route tables" will be removed.
How Has This Been Tested?

@Andor, take a look at this issue that I opened a little while ago. https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/726. I think something more macro could be done. Because in some cases I don't have NAT Gateway and the module ends up creating N route tables unnecessarily. See if part of the solution I proposed in local.nat_gateway_count couldn't make more sense.


FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.keras/datasets/cifar-100-python/train'

When I import and load cifar 100 dataset,
every few thousands of times I do that,
that everything is OK
I get a few error like this one

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.keras/datasets/cifar-100-python/train'

My script works about 99% of the time until it does not.
Does it make any sense?

@thebeancounter Could you please let us know if you still need help on this ? if it is resolved then please feel free to move this issue to close status ? Thanks!


Weather App using HTML,CSS, JS , APIs and UI/UX

Is your feature request related to a problem? Please describe.
Here the issue I have to deal with is to make a weather app using front end technologies.
Describe the solution you'd like
Everyone would be dealing with the traditional way of framing the app. I would try to add on and work more on the appealing site.
Describe alternatives you've considered
Will use HTML, CSS and JS for the basic coding of the app. Apart from that APIs will play a huge role in this. Will try to give site a more appealing site by applying experience in UI/UX designing as well.
Additional context
Please assign this task to me under SSOC'2023 @TusharKesarwani

Please assign this task to me under SSOC'2023 @TusharKesarwani

Hello sir ,i m nikhil
Please assign this task to me under SSOC'2023 @TusharKesarwani

May i start working on it @TusharKesarwani

@Courage003 project already exists


Add support for Dep - new Golang dep mgmt tool

Dep is a new Golang dependency management tool.

See PR #372


Update deprecated apiVersion into Helm charts

This PR update the following deprecated apiVersion into Helm charts:

storage.k8s.io/v1beta1 -> storage.k8s.io/v1
admissionregistration.k8s.io/v1beta1 -> admissionregistration.k8s.io/v1
apiextensions.k8s.io/v1beta1 -> apiextensions.k8s.io/v1

Hi @anthonyhaussman thanks so much for your PR! Can I ask that you run make manifests from the root directory? After that I will merge! Looks good

@YiannisGkoufas I have executed the make manifests. It should be okay now :slightly_smiling_face:


NAS write permission denied for ElementumService on NVIDIA Shield

Since ElementumService is installed as a system app (and not a user app), it is impossible to grant NAS write permission via the normal Settings UI.
A solution is required for non-rooted devices (e.g. installing the app as a user app instead).
Any help?

It's not a system app. I think some devices mistake it as such because it cannot be launched directly. Can't you just find it among the real system apps?
FYI I've made it so debug builds appear in the launcher for development purposes.

Great. That might work as a workaround for my device. I’ll try to build the project and install the debug build.
Thanks!

Great. That might work as a workaround for my device. I’ll try to build the project and install the debug build.
Thanks!

I can confirm it works. The only issue which remains is that the debug build won’t autolaunch, and has to be opened using the launcher.

Please confirm that you are using debug builds for both the app and addon from the same build. Autolaunch should work.

My bad, autolaunch got broken when updating AGP to 7.2.0.

I opened an issue on this matter but saw this afterwards. How does the workaround work? Apologies but am not knowlegeable in installing builds. Thank you.

If you install the debug build version of ElementumService you can grant NAS access to the application via settings. It works great.

I opened an issue on this matter but saw this afterwards. How does the workaround work? Apologies but am not knowlegeable in installing builds. Thank you.

If you install the debug build version of ElementumService you can grant NAS access to the application via settings. It works great.

I opened an issue on this matter but saw this afterwards. How does the workaround work? Apologies but am not knowlegeable in installing builds. Thank you.

If you install the debug build version of ElementumService you can grant NAS access to the application via settings. It works great.

Where can i find the debug build version?  Sorry am not an expert on Android system. Thanks.

I opened an issue on this matter but saw this afterwards. How does the workaround work? Apologies but am not knowlegeable in installing builds. Thank you.

If you install the debug build version of ElementumService you can grant NAS access to the application via settings. It works great.

Thanks!

I'll add the launcher in the debug version to the release version later today. Even though the app doesn't need a launcher there's no problem in having one.

I'll add the launcher in the debug version to the release version later today. Even though the app doesn't need a launcher there's no problem in having one.

Done, check the releases page.

Works perfectly,  much appreciated!


Add as_blender_areaLight shader

What's the purpose of this shader?

It’s for area lights in blender. Esteban and I had a pretty in depth conversation in the Blender channel about it yesterday

Oh, I put in your suggestions.


Sim: Support for  building with gRPC/Protobuf & Dependency cleanup

Adds build  support for gRPC Protobufs:

Updates CMake to pull gRPC as a dependency (gRPC includes Protobuf) using FetchContent
Builds all dependencies with c++ 17 as abseil (gRPC depdencency) has an incompatibility , while keeping bento sim code at c++20.
Links simulator and test executable with grpc++and libprotobuf.
Adds custom CMake command to automatically discover Protobuf definitions and compile with protoc
Links with simulator and test executable with compiled gRPC/Protobuf bindings.

Dependency cleanup:

In PR, #1  the googletest dependency was embedded in the bento source code.
Replace embedding source code with FetchContent to pull googletest instead to keep the codebase clean.

CI updates:

Adds check-protos job to quickly check that the Proto definitions in protos are usable by protoc, to allow the CI to fail fast if Protos are bad.

LGTM :+1: merge when ready and CI passes


Move computation setup to QEDbase.jl

The computation setup interface implemented in QEDprocesses.jl seems to be more general and should therefore be moved to QEDbase.jl.

This is no longer relevant, because we decided against the setup concept, but use the PhaseSpacePoints instead.


Fastly caching on GET endpoints

I'm pretty sure @blisteringherb already started on this work. Just creating an issue now so others can chime in and follow along on progress if need be.

We're occasionally seeing slow response times (anywhere from > 5000ms to 40000ms) from the Phoenix API when hitting it from the mobile app and from Runscope tests. Improving the response times here will greatly improve the UX of the app and, particularly when the calls either throw a 503 or have response times > 30000ms, avoid timeout errors on the app.
There could be more, but these were the ones we thought could be most helpful to cache:

GET www.dosomething.org/api/v1/campaigns.json?term_ids=1300,1301,1302,1303&mobile_app=true&mobile_app_date={yyyy-mm-dd}
GET www.dosomething.org/api/v1/campaigns.json?term_ids=1300&mobile_app=true&mobile_app_date={yyyy-mm-dd}
GET www.dosomething.org/api/v1/campaigns.json?term_ids=1301&mobile_app=true&mobile_app_date={yyyy-mm-dd}
GET www.dosomething.org/api/v1/campaigns.json?term_ids=1302&mobile_app=true&mobile_app_date={yyyy-mm-dd}
GET www.dosomething.org/api/v1/campaigns.json?term_ids=1303&mobile_app=true&mobile_app_date={yyyy-mm-dd}
GET www.dosomething.org/api/v1/taxonomy_term/1300.json
GET www.dosomething.org/api/v1/taxonomy_term/1301.json
GET www.dosomething.org/api/v1/taxonomy_term/1302.json
GET www.dosomething.org/api/v1/taxonomy_term/1303.json

Up for discussion?

GET /reportback-items - There was some Drupal caching work done here with #5726. Could it also make sense to put this behind Fastly?

cc: @marahml @sheyd

Hey @blisteringherb thanks again for your help on this! Once this is done, we'll be able to submit to the app store. Hoping to do this in the next couple of days. For context, due to the lengthy review process - if we don't submit the app this week, it may end up pushing the launch to 2016.
Let me or @jonuy know where we can help in providing more info!

@marahml Hi! @blisteringherb told me in our #api room that he's made caching improvements in Fastly for the endpoints listed.
I'm gonna see what improvements in response time Runscope reports with its daily email tomorrow. But so far so good it seems!

I've added a `Surrogate-control: maxage=86400" header to these endpoints:
GET www.dosomething.org/api/v1/taxonomy_term/1300.json
GET www.dosomething.org/api/v1/taxonomy_term/1301.json
GET www.dosomething.org/api/v1/taxonomy_term/1302.json
GET www.dosomething.org/api/v1/taxonomy_term/1303.json

Fastly documentation indicates that the Surrogate control header will instruct Fastly to cache those endpoints. It overrides the Cache-control header.

@blisteringherb @jonuy are we :ok: to close this issue out?

I think we should be good on this.


Non-virtual Destructors

gcc-flags += -Wnon-virtual-dtor
$ make Capu
[  0%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/os/Linux/DynamicLibrary.cpp.o
[ 25%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/LogLevel.cpp.o
[ 25%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/Logger.cpp.o
In file included from /home/timo/ramses-all/external/capu/Capu/src/util/Logger.cpp:1:0:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/Logger.h:93:11: warning: ‘class capu::Logger’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class Logger
           ^
In file included from /home/timo/ramses-all/external/capu/Capu/src/util/Logger.cpp:2:0:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/ILogAppender.h:27:11: warning: ‘class capu::ILogAppender’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class ILogAppender
           ^
In file included from /home/timo/ramses-all/external/capu/Capu/src/util/Logger.cpp:5:0:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/ConsoleLogAppender.h:30:11: warning: ‘class capu::ConsoleLogAppender’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class ConsoleLogAppender: public ILogAppender
           ^
[ 25%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/BinaryOutputStream.cpp.o
[ 25%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/BinaryInputStream.cpp.o
[ 50%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/AsynchronousLogger.cpp.o
In file included from /home/timo/ramses-all/external/capu/Capu/include/capu/util/AsynchronousLogger.h:20:0,
                 from /home/timo/ramses-all/external/capu/Capu/src/util/AsynchronousLogger.cpp:17:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/Logger.h:93:11: warning: ‘class capu::Logger’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class Logger
           ^
In file included from /home/timo/ramses-all/external/capu/Capu/include/capu/util/AsynchronousLogger.h:23:0,
                 from /home/timo/ramses-all/external/capu/Capu/src/util/AsynchronousLogger.cpp:17:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/ILogAppender.h:27:11: warning: ‘class capu::ILogAppender’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class ILogAppender
           ^
[ 50%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/SocketInputStream.cpp.o
[ 50%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/StringOutputStream.cpp.o
[ 50%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/LogContext.cpp.o
[ 50%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/TcpSocketInputStream.cpp.o
[ 75%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/ConsoleLogAppender.cpp.o
In file included from /home/timo/ramses-all/external/capu/Capu/include/capu/util/ConsoleLogAppender.h:20:0,
                 from /home/timo/ramses-all/external/capu/Capu/src/util/ConsoleLogAppender.cpp:1:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/ILogAppender.h:27:11: warning: ‘class capu::ILogAppender’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class ILogAppender
           ^
In file included from /home/timo/ramses-all/external/capu/Capu/src/util/ConsoleLogAppender.cpp:1:0:
/home/timo/ramses-all/external/capu/Capu/include/capu/util/ConsoleLogAppender.h:30:11: warning: ‘class capu::ConsoleLogAppender’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
     class ConsoleLogAppender: public ILogAppender
           ^
[ 75%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/BinaryFileInputStream.cpp.o
[ 75%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/ThreadPool.cpp.o
[ 75%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/BinaryFileOutputStream.cpp.o
[100%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/util/LogMessage.cpp.o
[100%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/os/Generic/Math.cpp.o
[100%] Building CXX object external/capu/Capu/CMakeFiles/Capu.dir/src/os/Posix/Console.cpp.o
Linking CXX static library libCapu.a
[100%] Built target Capu

Is fixed with CAPU release 0.19.0


fix: several issues in data-tools addon #825

affects: @haulmont/jmix-addon-data-tools, @haulmont/jmix-front-generator, @haulmont/jmix-react-core,
@haulmont/jmix-react-web

@karandashovrz pls resolve conflicts & merge


Modify the registry address and namespace of the  ADDONS

@hongxiaolu could you resolve the rebase conflict?

@alena1108 ok


Testing ECS Service in Module 2 results in timeout

This will probably be my error but when hitting the DNS name for the NLB created earlier in module 2 it justs timeout. I guess this may be due to SG but unable to diagnose.

Have you checked if your ECS task/Fargate Container is running? You, can check the event section of the ecs cluster service. I had an error, that ECS task was not able to assume IAM Role and therefore not running. If the task is not running the NLB DNS will not work.

Thanks for your help but have since removed all the resources as was costing money and no real benefit from it. Shame, as it seemed like a really good tutorial but can't keep it running whilst trying to diagnose issues.

I'm having the same problem. Time out on connection after spinning up at end of Module 2.  confirmed that ECS task is running.


Flash size exceeded.

Hello,
Really nice project. I was hoping to get rid of uiflow, but my core2 says:
rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:5088 ho 0 tail 12 room 4 load:0x40078000,len:14024 ho 0 tail 12 room 4 load:0x40080400,len:3760 entry 0x40080638 E (64) flash_parts: partition 2 invalid - offset 0x10000 size 0x400000 exceeds flash chip size 0x400000 E (64) boot: Failed to verify partition table E (69) boot: load partition table error!
Maybe you have some ideas? I used your compiled bin.
Regards
Daniel

You need to add --flash_size 16MB to the esptool line when flashing the device

closing because of no activity. Nevertheless, check out the latest firmware. It works better.


Rotated table missing line separator

When resize is set to false and the table rotate, how do I get a line between each row ?
I am trying this
        table.render do |renderer|
          renderer.border.separator = :each_row
        end

        puts table.render(:unicode)

but not working :(

Doc might be incorrect
this works
table.render do |renderer|
renderer.border :separator => :each_row
end

Thanks for using the library. This looks like a bug to me. There are already open issues related to separating records, it may be worth reviewing them. I'm currently too busy to get this sorted. I'm planning to work on tty-table in near future. I'm always happy to review any PRs and merge.

closing as I don t use Ruby anymore. Maybe someone else will figure this out


Issue with CreateSpeechRecognizerWithFileInput

Hi,
I'm getting the following error when execute the CreateSpeechRecognizerWithFileInput method:
"Exception with an error code: 0x8\n[CALL STACK]\n\n    > CreateModuleObject\n\n    - CreateModuleObject\n\n    - CreateModuleObject\n\n    - CreateModuleObject\n\n    - CreateModuleObject\n\n    - SpeechFactory_CreateSpeechRecognizer_With_FileInput\n\n    - CSharp_MicrosoftfCognitiveServicesfSpeechfInternal_TranslationLanguageResource_speechResources_get___\n\n    - CSharp_MicrosoftfCognitiveServicesfSpeechfInternal_ICognitiveServicesSpeechFactory_CreateSpeechRecognizerWithFileInput__SWIG_0___\n\n    - 00007FFD37537840 (SymFromAddr() error: The specified module could not be found.)\n\n\n\n"
this is my code:
var factory = SpeechFactory.FromSubscription(subscriptionKey, region);
//var factory = SpeechFactory.FromSubscription(uri, subscriptionKey);
try
{
using (var recognizer = factory.CreateSpeechRecognizerWithFileInput(@"whatstheweatherlike (2).wav"))
{
// Starts recognition. It returns when the first utterance is recognized.
var result = await recognizer.RecognizeAsync().ConfigureAwait(false);
    // Checks result.
    if (result.RecognitionStatus != RecognitionStatus.Recognized)
    {
        Console.WriteLine($"There was an error. Status:{result.RecognitionStatus.ToString()}, Reason:{result.RecognitionFailureReason}");
    }
    else
    {
        Console.WriteLine($"We recognized: {result.RecognizedText}");
    }
}

}
Regards!!

Detalles del documento
⚠ No edite esta sección. Se requiere para docs.microsoft.com ➟ vinculación de problemas de GitHub.

ID: 862500ac-276e-ebad-c555-97ab0f5c5cd5
Version Independent ID: 9a4351c7-4d98-f2b7-9fb1-8ae1c00f23b6
Content: Quickstart: Recognize speech using the Cognitive Services Speech C# SDK for Windows - Microsoft Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/quickstart-csharp-windows.md
Service: cognitive-services
GitHub Login: @wolfma61
Microsoft Alias: wolfma

@jagaar Thanks for the feedback! We are currently investigating and will update you shortly.

@jagaar Hi, sorry for all inconveniences, but this is not a doc-relative issue, so for more help, can you please post the issue in MSDN forum? Thanks a lot!

@jagaar We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


chore(issue_template): remove config

there is already an organization's one

oh, now there are no contact links at all

great job, github

i thought it would work in another way

i thought it would work in another way

Can you revert PR then?

I will


stacktrace when incomplete test schema - dbt test not called

Stacktrace error provided when dbt run command initiated for specific model due to incomplete schema.yml test
model_name:
  unique:
     -

field was left empty but dbt test was not called

This should raise a compiler error with a helpful message indicating the test name

We're making dbt use a json schema to validate schema.yml files. Closing this, as we'll fix this error, and most other types of malformed schema.yml issues


add the new registry service to the insecure list

@adambkaplan this is the change you'll need to be able to push/pull from the internal registry, if indeed service-ca.crt is no longer being automatically mounted into build pods.

@nalind we've tentatively lined up @adambkaplan to demo in your place in case you run into issues, but fyi you'll need this change if you intend to run a build on the cluster that either pulls or pushes to the internal registry.
(you can pull/push to docker.io of course, but then you need to supply a push/pull secret).
Also your build cannot reference images via imagestream(for reasons i can explain elsewhere), so your build object needs to use DockerImage references like:
  output:
    to:
      kind: DockerImage
      name: image-registry.openshift-image-registry.svc:5000/bparees/nodejs-ex

and:
  strategy:
    sourceStrategy:
      from:
        kind: DockerImage
        name: docker.io/centos/nodejs-8-centos7:latest

(the reason this change is needed is because the service-ca.crt is no longer being made available inside build pods, so the logic i added here: https://github.com/openshift/builder/blob/master/cmd/main.go#L46-L53 is no longer effective)

@bparees I'm skipping TLS setup for the moment - oc adm registry got the registry running after hack/start-local.sh brought it up, the node's dockerd had been configured to not check certificates on the registry, and I created a build-system-configs configmap that marked the internal registry the same way for builds.
After that, building, pushing, and deploying the nodejs-ex and simple-openshift-sinatra-sti samples succeeded for me (per https://gist.github.com/nalind/c2b906126ef833aeb030837856d7ea5c).
Will definitely call out that doing it right (with TLS properly configured) is something we're still working on.

@bparees I'm skipping TLS setup for the moment - oc adm registry got the registry running after hack/start-local.sh brought it up,

unfortunately the demos are supposed to be done using the official openshift installer:
https://github.com/openshift/installer
https://github.com/openshift/installer/blob/master/docs/dev/libvirt-howto.md
(at which point you'll run into the registry issues I emailed about, as well as the insecure issue i'm "fixing" with this PR)

the node's dockerd had been configured to not check certificates on the registry, and I created a build-system-configs configmap that marked the internal registry the same way for builds.

I don't understand this part...  if you did install the registry using oc adm registry, then your registry should be "docker-registry.default.svc" in which case the builder image already treats that registry as insecure.  (unless you're accessing the registry by ip address? In which case i guess you added the registry's ip address in your registries.conf that you put in your configmap?)

/refresh

Yes, it's listing the registry by IP address.  The installer hasn't been giving me good results with libvirt.

@nalind which days are you working between now and wednesday?

@bparees I'm OOTO for all of them.

@bparees I'm OOTO for all of them.

ok, let's just plan to have @adambkaplan demo in your place, he should be able to do it on a real cluster and, if this PR merges, with less "hacking" to get the trust in place.

(unless you really want to, i don't want to take the opportunity away from you and i know you've already put the effort into getting a demo together)

I'll take you and @adambkaplan up on that, much appreciated!

/refresh

/test all


Build failed

error: method requestPermission in class PermissionsModule cannot be applied to given types;
mPermissionsModule.requestPermission(permission, new PromiseImpl(resolve, reject));

Same for me, after upgrading to RN 0.40.0
iOS builds fine, but Android build fails with this.
/Users/jcursi/Sites/joncursi/redbirdNative/node_modules/react-native-permissions/android/src/main/java/com/joshblour/reactnativepermissions/ReactNativePermissionsModule.java:96: error: method requestPermission in class PermissionsModule cannot be applied to given types;
    mPermissionsModule.requestPermission(permission, resolve, reject);
                      ^
  required: String,Promise
  found: String,Callback,Callback
  reason: actual and formal argument lists differ in length
1 error
:react-native-permissions:compileReleaseJavaWithJavac FAILED

In iOS build failed too. Waiting to aproveed the pull request of danieldkim

I believe these two issues are different. I am currently using a forked version of this library that includes new headers for (RN) 0.40.0 as provided in that PR and the build still fails on android with the above error.

Also failing for me, @joncursi is the fork you're using https://github.com/joncursi/react-native-permissions by any chance?

@joncursi I'm using your fork (https://github.com/joncursi/react-native-permissions) at the moment for the RN 0.40 headers fix, just starting to look into this Android build failure, have you come across any clues?

Not yet. My fork only solves the (RN) 0.40.0 compatibility issues.

OK for anyone who needs a combined version of the RN 0.40.0 fix from @joncursi and a fix for
"method requestPermission in class PermissionsModule cannot be applied to given types;
mPermissionsModule.requestPermission(permission, new PromiseImpl(resolve, reject))"
on Android, i've put up https://github.com/joincatapult/react-native-permissions which is now working for me.
Relevant commit is; https://github.com/joincatapult/react-native-permissions/commit/e1e25675f1618ccebe16e939781aa77848fa7979

Thank you @TalkingQuickly ! Your commit is confirmed working on my end. I switched over from my fork to yours.

Awesome @joncursi

merged pr #61 which should address this


Suggestion: Release updates at smaller intervals

The time period between release of 5.0 and 5.0.1 was long, for a 0.0.1 update. Moreover there were too many bug fixes (I got tired while reading the list!!!)
I think it would be better if updates are released at smaller intervals with fewer bug fixes.

I agree that more-frequent updates would be better! This one took two months, and I would rather see just one month for an update like this.
However, it’s worth remembering that this is a free app, made entirely by volunteers, and in the last two months there’s been a global health crisis that we’re all dealing with — and, to make matters worse, the leader of the project (me) got laid off and spent about six weeks looking for a job.
Under those circumstances, I’m quite proud that we fixed so many bugs and it only took two months!


custom config: set vt words via wormhole should not be preemptive

Version: latest
Platform: all
Subsystem: custom config

Set voice trigger words via wormhole should not be preemptive, this makes the lifetime hang up if the something in stack is active.

It looks like a bug of custom-config, I will handle it.

It gets fixed at #127, thanks @FeelyChau :)


Change "Self::BlockNumber>" to "BlockNumberFor"

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Content request
Change the below
#[pallet::config]
pub trait frame_system::Config {
	type MyRandomness: Randomness<Self::Hash, Self::BlockNumber>;
}

to
#[pallet::config]
pub trait frame_system::Config {
	type MyRandomness: Randomness<Self::Hash, BlockNumberFor <Self> >;
}

Are you willing to help with this request?
Yes!

https://docs.substrate.io/reference/how-to-guides/pallet-design/incorporate-randomness/


Add segment test

This brings through the (passing) segment test form the more-tests branch.
With this merged, all the current tests on the more-tests branch will be in master.

Ahh, rebase fail - this is already in!


caffe2_detectron_ops_gpu.dll" or  its dependecies.

I made a program using a model created and trained using mmdetection as a pinstaller.
There have been many trials and errors, but they have succeeded in running the program.
I tried to put this program on usb and try it on another PC, but the following error came out.
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\hp\Desktop\dist\histolAI(file name)\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependecies.
[14228] Failed to execute script 'histolAI' due to unhandled exception!
I found and copied "caffe2_detectron_ops_gpu.dll" but failed to execute, and "caffe2_detectron_ops_gpu.dll" already existed in the above PATH.
Still, may I know why this error occurred?
And I hope you can tell me what 'its dependencies' are in that error.

Firstly, Windows is in experimental support, it is suggested to run your code under Linux or macOS
Then, I did not get your point, Did you mean that you want to copy your code to another PC and re-run your code? It is suggested to re-install an environment.

Firstly, Windows is in experimental support, it is suggested to run your code under Linux or macOS Then, I did not get your point, Did you mean that you want to copy your code to another PC and re-run your code? It is suggested to re-install an environment.

I knew it was in the middle of an experiment in Windows, but the demo file was running, so I just proceeded.
To explain the process, I made and trained my model based on mmdetection on Linux. Then, I created a program using the model I learned from Linux using the pyinstaller in Windows (the demo file and the trained model test were successful in Windows). After that, the completed program was moved to usb and tried to run it on another pc. But the above error came out and I asked a question.
There was "cafe2_detectron_ops_gpu.dll" in the path shown in the error, and one of the dependent items seemed to have a problem, so I asked how to manually copy the dependent item.

I find the same problem. I change Pytorch version. Now Pytorch 1.7.0,cuda10.2 can run it.

do you make success in running software(.exe)

Yes wantaoliu @.> 于2022年1月5日周三 22:33写道：
…
Firstly, Windows is in experimental support, it is suggested to run your code under Linux or macOS Then, I did not get your point, Did you mean that you want to copy your code to another PC and re-run your code? It is suggested to re-install an environment. I knew it was in the middle of an experiment in Windows, but the demo file was running, so I just proceeded. To explain the process, I made and trained my model based on mmdetection on Linux. Then, I created a program using the model I learned from Linux using the pyinstaller in Windows (the demo file and the trained model test were successful in Windows). After that, the completed program was moved to usb and tried to run it on another pc. But the above error came out and I asked a question. There was "cafe2_detectron_ops_gpu.dll" in the path shown in the error, and one of the dependent items seemed to have a problem, so I asked how to manually copy the dependent item. I find the same problem. I change Pytorch version. Now Pytorch 1.7.0,cuda10.2 can run it. do you make success in running software(.exe) — Reply to this email directly, view it on GitHub <#6208 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOHYZ3QEC7ISTOSAUZQE4DUURJDHANCNFSM5FDWH4IQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.>

could you share your enviromment,for example  information about  requirments.txt,Thanks!


Identity provider not support OAuth2 access_token

What version of UAA are you running?
75.0.0
How are you deploying the UAA?
docker
What did you do?
I add OAuth type of Identity provider, like this
{
    "type":"oauth2.0",
    "config":{
        "emailDomain":[

        ],
        "additionalConfiguration":null,
        "providerDescription":null,
        "externalGroupsWhitelist":[

        ],
        "attributeMappings":{
            "external_groups":[

            ]
        },
        "addShadowUserOnLogin":true,
        "storeCustomAttributes":true,
        "authUrl":"http://me:7100/auth/oauth/authorize",
        "tokenUrl":"http://me:7100/auth/oauth/token",
        "tokenKeyUrl":"http://me:7100/auth/oauth/token_key",
        "tokenKey": "",
        "linkText":"use sys login",
        "showLinkText":true,
        "clientAuthInBody":false,
        "skipSslValidation":true,
        "relyingPartyId":"eProject-UAA",
        "scopes":[

        ],
        "issuer":null,
        "responseType":"id_token token",
        "userPropagationParameter":null,
        "checkTokenUrl":"http://me:7100/auth/oauth/check_token"
    },
    "id":"72cf6fae-d8a1-4f51-8339-cb89014bf0a0",
    "originKey":"sys",
    "name":"sys",
    "version":12,
    "created":1615186504960,
    "last_modified":1615256713726,
    "active":true,
    "identityZoneId":"uaa"
}

and my OAuth server use OAuth2 with JWT but not OIDC, so the token endpoint only return these fields, no id_token field

access_token
token_type
expires_in
refresh_token
scope

some error like this
There was an error when authenticating against the external identity provider: 400 : [{"error":"invalid_grant","error_description":"Invalid authorization code: "}]

So i change Identity provider responseType form id_token token to code, still error.
So i found this
https://github.com/cloudfoundry/uaa/blob/1cc0557f10be15940d6fb9c10e7469b2412a8bca/server/src/main/java/org/cloudfoundry/identity/uaa/provider/oauth/ExternalOAuthAuthenticationManager.java#L441-L452
If not use id_token responseType is token
https://github.com/cloudfoundry/uaa/blob/1cc0557f10be15940d6fb9c10e7469b2412a8bca/server/src/main/java/org/cloudfoundry/identity/uaa/provider/oauth/ExternalOAuthAuthenticationManager.java#L446
OK，in OAuth2 authorization code flow response_type is token, this is correct
https://github.com/cloudfoundry/uaa/blob/1cc0557f10be15940d6fb9c10e7469b2412a8bca/server/src/main/java/org/cloudfoundry/identity/uaa/provider/oauth/ExternalOAuthAuthenticationManager.java#L567-L571
But the result field should not be token but access_token
https://github.com/cloudfoundry/uaa/blob/1cc0557f10be15940d6fb9c10e7469b2412a8bca/server/src/main/java/org/cloudfoundry/identity/uaa/provider/oauth/ExternalOAuthAuthenticationManager.java#L607

Hi,
this is currently not in focus, we have added Github als oauth provider , but this was contributed, so if you have needs for it, suggest you open a PR.
Or describe the Oauth2 provider you use. Most of them support in meanwhile OpenID connect and id_tokens

Hi, close this except you have a concrete oauth2 provider in mind , which is that big , like github so that it makes sense to check an integration,
pls. reopen in this case


add solution for sherlock and permutation

Hey there!, Thanks for submitting a PR to this repo :smiley:
Please complete the following checklist for your PR to be approved. Mark the items by adding an x.
Example:  - [ ] Mark me as completed
To mark: - [x] Mark me as completed

[x] My Pull Request adheres to the Contribution guidelines.
[x] I have added problem.md and solution files in the appropriate folder
[x] In problem.md I have provided a correct link to the problem.
(In case you are not adding a problem, you can freely mark this as complete)
[x] My solution passes all the testcases within the given constraints.
[x] I have properly indented and documented my solution using comments.

If any of the above is unmarked, please make the necessary changes and then mark them so that you're PR can be approved and merged.
(Only completed checklist PRs will be reviewed)

@Vishruth-S  i already used the thread that u recommended me, am i doing the correct way ?


[HB-5620]: Amazon Publisher Services Rewarded Support

Added support for rewarded placements.

This seems fine, but I can't find Amazon's documentation for onVideoCompleted

It's found in their DTBAdVideoListener class from which their interstitial listener extends from it. 😃

This seems fine, but I can't find Amazon's documentation for onVideoCompleted

It's found in their DTBAdVideoListener class from which their interstitial listener extends from it. 😃

Thanks. It's weird that it isn't in their integration docs.

This seems fine, but I can't find Amazon's documentation for onVideoCompleted

It's found in their DTBAdVideoListener class from which their interstitial listener extends from it. 😃

Thanks. It's weird that it isn't in their integration docs.

Right? 😄

don't forget that one of y'all working on amazon gotta do the version bump at some point to publish a new version ^_^

don't forget that one of y'all working on amazon gotta do the version bump at some point to publish a new version ^_^

I'll create the cert ticket and publish when QA approves

Oh, let me know if I you want me to take a peek at it, @CB-RyanMcCormick 😃


Add error logging and retries for actions

All unsupervised actions errors in the last few months were due to bad responses from scoresaber/beatsaver. Normally these fix themselves if the request is repeated, so a 3-attempt retry system should be useful for the action system. Error logging would be useful as well.

Done.


Tags are reappearing after removal

Version: 7.2.219
Tags are sometimes reappearing after clicking the 'x' for removal, I haven't found the pattern yet.
Sidenote: New tags dropdown is less intuitive (before there was a checkboxlist and I just had to click, now I have to type)

I can see where you are coming from.
We'll see if we can add full mouse control back to the tag selection.
And of course we'll investigate the former issue.
Thanks for reporting!

I agree with gabrelpeter that the new tags dropdown is less intuitive. I did find a slight workaround for the time being:

Select inside the tag area. 2. Enter a space character. 3. Delete the space character. 4. Scroll to the desired tag.
It works but is not intuitive or user-friendly.
Thanks for looking into these issues.

When you have the tag area selected, you can also press the down key to open the popup menu. It will then show all tags.
I took a quick look, and from what I can tell it should help a lot if we add a down-arrow button to the box that lists the tags that opens the list of previous tags (just like the project selection thing). I'll also look into making the list stay open, in case one would one to select multiple tags with the mouse.
Do you think that would work for you?

If you were able to make the list stay open after selecting a down-arrow button that would work perfect for me. That's essentially how it was in the previous release I was running with the only difference being that in the previous release the tags list was always open/visible.
Thanks for the quick response!

Thanks @waterfowladdict and @amulware, I was just about to report that the new version doesn't even allow adding tags :)

Update: The behaviour as described above was implemented here: 9a92ad16a4aab89fedb45a6a5890eea6b35d9712
We are currently still fighting some stability issues, but once we have those sorted out this change should make it into both the beta and stable relatively quickly.
Thanks for your patience!


"Circular reference detected" warning on grunt-webpack watch

See description of issue at: https://github.com/webpack/grunt-webpack/issues/32

https://github.com/webpack/grunt-webpack/issues/32#issuecomment-122661389


NullReferenceException on AdapterContext.GetDevice

Hello.
I have a question about iOS crash on AdapterContext.GetDevice.
Here is the stacktrace.
Application.Main (System.String[] args)
System.NullReferenceException: Object reference not set to an instance of an object
AdapterContext.GetDevice (CoreBluetooth.CBPeripheral peripheral)
Adapter.GetKnownDevice (System.Guid deviceId)
BleDeviceService+d__28.MoveNext ()
AsyncMethodBuilderCore+<>c.b__6_0 (System.Object state)
NSAsyncSynchronizationContextDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName)
Application.Main (System.String[] args)
I have checked your source code, and i can see following source code on Plugin.BluetoothLE\Platforms\Apple\AdapterContext.cs file.
public IDevice GetDevice(CBPeripheral peripheral) => this.peripherals.GetOrAdd(
peripheral.Identifier.ToString(),
x => new Device(this, peripheral)
);
I wonder that the code is trying to get Identifier of peripheral and if the peripheral is null, then the code would crash. So I think there should be an null handling.
Not sure if this is the reason, but please help me.
Thanks, Falma.

Please use the full issue template in the future.
I should put a safety null check before this level, however, this is happening due to something else downstream or you wouldn’t be getting null.  Secondly, you should error trapping on this.
Please provide a full test case that I can evaluate and I can proceed from there

Ok, I will use issue template in the future.
Once the app is connected to bluetooth device, the app saves its Guid.
On next launch, it loads the saved Guid and connect to that bluetooth device.
I think if that device already disappeared, the NullReferenceException will come up.
Please let me know if you have more questions.


Add repair support in K8ssandraTask

What is missing?
K8ssandraTask CRD doesn't allow to start repair jobs.
Why do we need it?
In my company, we want to be able to start full / major compaction and full repair for an entire Cassandra cluster.
Ideally, those abilities should be exposed by a Kubernetes based API.
The K8ssandraTask CRD seems to be a good fit this use-case.
It allows to trigger a full / major compaction by creating a K8ssandraTask with job.command set to compact.
However, it seems that the reaper command is not supported : https://github.com/k8ssandra/cass-operator/blob/master/apis/control/v1alpha1/cassandratask_types.go#L72
The reaper command would invoke the mgmt API endpoint POST /api/v1/ops/node/repair.
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: K8OP-281

Hi @adejanovski @burmanm,
I would like to work on this enhancement.
First, could you confirm that it makes sense to add repair support in K8ssandraTask CRD ?
What do you think of this implementation proposal?

Add repair command in CassandraCommand enum
Add repair parameters in CasandraTask CRD
Invoke POST /api/v1/ops/node/repair to start repairs
Invoke GET /api/v0/ops/executor/job?job_id=${id} to track the progress of the repair job (exactly like for compaction)

Hi @c3-clement,
Reaper is what handles repairs in K8ssandra. We don't want to create yet another repair orchestrator in the form of CassandraTasks.
If we want to be able to run repairs for all keyspaces, then there are probably some changes we need to do in Reaper to accommodate this. It's been asked quite a few times.
I think running nodetool garbagecollect would be a better idea than running a major compaction btw. Have you considered it?

We don't actually need to run repair for all keyspaces, but we need to run a full repair for a specific keyspace and a specific table across all Cassandra nodes.

What makes you think that's not what Reaper is doing? It's doing full repairs but splits the work in discrete chunks (subranges).
Once the execution is finished, it's the same thing as running nodetool repair --full -pr everywhere

We don't actually need to run repair for all keyspaces, but we need to run a full repair for a specific keyspace and a specific table across all Cassandra nodes.

What makes you think that's not what Reaper is doing? It's doing full repairs but splits the work in discrete chunks (subranges). Once the execution is finished, it's the same thing as running nodetool repair --full -pr everywhere

So according to Reaper API reference, to start a full repair programmatically, I need to invoke POST /repair_run with incrementalRepair set to false?
Then, I need to start the repair with PUT /repair_run/{id}/state/start and I can monitor repair progress with GET /repair_run/{id}
There is no way to abstract this process with one of the K8ssandra Custom Resources?

you can do that for sure, there's indeed no Kubernetes native way to do this at the moment.
You should probably create repair schedules btw instead of creating the repair runs yourself, or even turn on the autoscheduler so that each new keyspace will get a schedule created automatically.
Lastly you can do all this from the UI if that's useful and watch the network calls to get your payloads right.
I've been thinking myself of making it possible to create schedules and repairs through the Kubernetes API, I think that would be a nice addition to Reaper.

Hi @adejanovski , I really appreciated your feedback, thanks again!
I've updated the issue title and description since K8ssandraTask is not responsible for repairs.
To unblock the team who needs repair and compaction API, I'll implement an internal CRD to abstract repair and compaction.


Devicelab linux 2 causes test flakiness due to device not found

Both flakes in https://github.com/flutter/flutter/issues/125957 happened on linux2
One flake in https://github.com/flutter/flutter/issues/125955 happened on linux2
From recent runs, this test bed seems stable. Creating this bug to track in case the flake still happens.

Another flaky bug caused by linux 2: https://github.com/flutter/flutter/issues/127469

Flake still repros on this test bed: https://github.com/flutter/flutter/issues/129262

@kentnguyen99 Could you help check the state of this testbed? High chance the device is unhealthy, or the cable is loose, etc.

@keyonghan Will check on this and get back to you soon.

I am going to remove this from the ticket queue as it is not a P0 or P1.

Oh sorry I see. This is a devicelab issue.

@keyonghan I ran "adb devices" command and showed device attached to machine Linux-2.
flutter@flutter-devicelab-linux-2:~$ adb devices
List of devices attached
ZY223CXXGL	device

@kentnguyen99 can you please replace the usb cable from the host to the phone on this testbed. We would like to determine if that is causing some dropped connections to the phone.

@yusuf-goog Swapping different USB cable is done on linux-2 is done.

obsolete issue, closing


Use enumMember instead of struct

Fixes https://github.com/idris-community/idris2-lsp/issues/47

Probably needs changes to https://github.com/idris-community/idris2-lsp/wiki/Editor-specific-configuration

I will update the wiki.


ArgumentError in downsmapling

Hi, Kyle,
I am trying the demo for scatter correction "d31_scatter_correction.py".
But the code run into an error in line 178 when down-sampling the data.
The error information is listed below:
Exception has occurred: ArgumentError
argument 2: <class 'TypeError'>: array must have data type int32
  File "d31_scatter_correction.py.py", line 178, in <module>
    g_dn = leapct_LR.down_sample_projections([1,downSampleFactor,downSampleFactor],g)
ctypes.ArgumentError: argument 2: <class 'TypeError'>: array must have data type int32

Any suggestions?
Thanks.

The script runs fine for me.  Did you make any changes to it?  What version of LEAP are you running?

v1.19, I think the error may be related to my environment since you can run.

No. It might be related to other packages in the environment. Never-mind, I use torch interpolate instead. Thanks.

OK, just make sure you update the LEAP CT parameters accordingly.


256 color support using vscode's integrated terminal

I'm developing an app using tview (which uses tcell for all of its color term support)
When I debug in vscode, it seems the integrated terminal is restricted to 16 colors. If I run the same compiled binary in an external term (ie, alacritty), I get full 256 color support.
Any suggestions on how to get this working in vscode?
Sorry it's not a tcell bug specifically. I've googled for the past week or so, and vscode support has not produced any answers. Was hoping it's a common problem you are familiar with
Thanks

Which OS are you using?
If using Linux or macOS you can try setting $TERM in the environment to xterm-256color.  Having said that, I can't say for sure that VScode's integrated terminal actually supports 256 color.  If it doesn't you may be out of luck.  (Legacy xterm only supports 16 colors.)
If you're on Windows, it's likely that you're stuck.  The Windows console API is kind of limited, and it would not surprise me to learn that on Windows they use a very least common denominator for support.  (Historically the Windows console API only supported 16 colors.)

I'm using linux. But your reply gave me some ideas for more googling, and eventually found a solution...
It seems you have to use this is vscode settings, otherwise it will truncate everything to 16 colors..
"terminal.integrated.minimumContrastRatio": 1
Appreciate the help, thankyou


Bug: When 'sdk' is invoked from a non-login shell, it gives 'command not found' error

Bug report

When bash -c 'sdk version' is run it gives 'command not found error'
To reproduce

bash -c 'sdk version'
System info

@Mehdzor @marc0der nevertheless it would be very helpful to know why this is not working and if a recommended workaround is available.
I checked the documentation, but couldn't find anything on this.

Hi @Philzen, the reason is that sdk is actually a shell function, not a binary executable. The declaration of that function lives in sdkman-main.sh. Hope this helps.


Added copyright note in ci-build.yaml and codeql.yaml

Signed-off-by: SHANKAR<EMAIL_ADDRESS>

I have added the required  permissions.
Thanks

Even after allowing the workflow to pass, why it is again failing at scorecard check?


Fixed wrong blocking example in case for consumer messages

The example was blocking and wrong, I corrected it with a correct iteration :-)

Also, please, put this repo to be elegible for the Hacktoberfest xD
Your PR was submitted to a repository that is not participating in Hacktoberfest. Maintainers of the repository can add the "hacktoberfest" topic to their repository if they wish to participate.

Since the master branch is now full async, I guess this makes sense.
You commit doesn't compile though.

@Keruspe fixed! :-)

Can you keep imports sorted please?

@Keruspe what do you mean? I ran "cargo fmt" for the file and it seems fixed now, by the way, in the CI I see a loop error that I think is not related with my changes...

Nvm, just some pre-coffee morning nonsense.
Will give CI a look


Tests

If you want to run tests automatically on each push / pull request with as little effort as possible, you can use TravisCI. It can be set up to report test coverage to the Coveralls site.
I use both with a simple IRC bot in Golang.
Configuration is very simple:

https://github.com/lidel/meowkov/blob/master/.travis.yml

Results:

https://travis-ci.org/lidel/meowkov
https://coveralls.io/github/lidel/meowkov?branch=master

Thanks! I'll get this rigged up once there are some tests to run.

Basic Travis integration is done! Now to get some sharness tests in!

Basic coverage: https://github.com/ipfs/ipget/pull/35
Still needed: test against local node and fallback ephemeral node separately

Woohoo!


Add scale and rotate props that allow statically setting the values.

Solves issue #7 and #11

@keske any thoughts on when you'll be able to do a release to include this code?

@keske it would be really great to get this functionality into the repo. Can't use their fork because PropTypes hasn't been updated.

@keske let me know if you are going to be able to get this merged in. If not I can update our HS2Solutions repo. I have been using this project for a long time, but haven't had a need to update it so I haven't bothered yet. Though now I see there are conflicts here so maybe I should update it anyway to resolve those conflicts.


color="primary" does not work

Bug, feature request, or proposal:
Bug
What is the current behavior?
primary accent warn colors don't work. Shows up as grey.
Which versions of Angular, Material, OS, browsers are affected?
"@angular/common": "~2.1.0",
"@angular/compiler": "~2.1.0",
"@angular/core": "~2.1.0",
"@angular/forms": "~2.1.0",
"@angular/http": "~2.1.0",
"@angular/material": "^2.0.0-alpha.9-3",
I am using electron too
I have my code here:
<button md-raised-button color="primary">PRIMARY</button>
<button md-raised-button color="accent">ACCENT</button>
<button md-raised-button color="warn">WARN</button>

but it shows up as:

I am including core.css, overlay.css and material.indigo-pink.min.css in index.html:

    <link<EMAIL_ADDRESS>rel="stylesheet">
    <link<EMAIL_ADDRESS>rel="stylesheet">
    <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">

Note
material.indigo-pink.min.css is definately loaded because some parts of my app turned pink, as shown in the screen shot.

@dolanmiu you've confused this project with Material Design Lite, which is something else completely.
Follow our theming guide for how to bring the colors into your app.

Quoted straight from the spec:

Using a pre-built theme

Angular Material comes prepackaged with several pre-built theme css files. These theme files also include all of the styles for core (styles common to all components), so you only have to include a single css file for Angular Material in your app.

You can include a theme file directly into your application from @angular/material/core/theming/prebuilt

If you're using Angular CLI, this is as simple as including one line in your style.css file:

@import<EMAIL_ADDRESS>
This is exactly what I have done (but using <link> instead). But it isn't working?
Please help

You are including the css file from Material Design Lite, not Angular Material. The correct file is in the @angular/material npm package.


Is there any available network API or plans to develop one?

Hello!
We are users of on-premises Deviceplane instance, we love it 😊.
We are used to CLI, but want to automate some things, integrated with our project modules. For that purpose is there any available network API (like REST)? We would like to have the exact same functionality of CLI exposed to our business logic using a network interface.
Thank you!

Hey! Really glad to hear you're enjoying it.
The Deviceplane API is definitely there, just not documented well at the moment. It's REST based and fairly intuitive.
I recommend checking out the client code for the CLI (https://github.com/deviceplane/deviceplane/blob/master/pkg/client/client.go). It's not ideal, but inferring the API from that code should be possible.
Lmk if you run into any specific questions!

Thank you! I'll take a look.


Fix variable type in demo data

Explicitly specify that zip code is a categorical value in mock customer dataset

Codecov Report

Merging #37 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #37      +/-   ##
=========================================
+ Coverage    88.1%   88.1%   +<.01%
=========================================
  Files          71      71
  Lines        6791    6792       +1
=========================================
+ Hits         5983    5984       +1
  Misses        808     808

Impacted Files
Coverage Δ

featuretools/demo/mock_customer.py
16.66% <100%> (+2.38%)
: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 8162e74...1ad616a. Read the comment docs.


Add support to CDATA value

What is Done

Added support for CDATA
This has been done being more backward compatible as possible.
The only code will break will be the access to AEXMLElement.value that has changed type from string to AEXMLElementValue.
It is a simple struct that wraps a plain string and will output a different escape sequence.

I reworked to be 100% backward compatible
We can close this. New pull request is coming


Display images

In the home page in read and write section the images are not being displayed properly.

Assign me this issue, I can solve it.

In the home page in read and write section the images are not being displayed properly.

Assign me this issue, I can solve it.

It was a temporary issue since I was updating some file locations. Please create a different issue or work on existing ones.


importBulkRelationships or bulkImportRelationships?

It seems bulkImportRelationships is inside of an "experiements" folder whereas importBulkRelationships is not which leads me to use importBulkRelationships
But, it seems the types are wrong for importBulkRelationships as the below code is valid typescript but if I debug it at runtime, it seems writeStream is a pending promise
const writeStream = this.client.importBulkRelationships((err, value) => {
writeStream.write(...)

I see the problem. Let me see about getting a fix.

I just released what should be a fix in v1.1.1. Can you give it a try and let me know?


OPTIMIZER_MAX_TIME ignored

Reported by @mgoycool and @juan-pablo-vielma. When setting the OPTIMIZER_MAX_TIME through MosekSolver(OPTIMIZER_MAX_TIME=1.0), the parameter seems to be ignored.
Some debugging steps:
getnadouparam(m.task, "MSK_DPAR_OPTIMIZER_MAX_TIME")

returns the correct value.
If the parameter is set with:
putdouparam(m.task, MSK_DPAR_OPTIMIZER_MAX_TIME, 1.0)

instead of (via this line),
putnadouparam(m.task, "MSK_DPAR_OPTIMIZER_MAX_TIME", 1.0)

then everything works fine. So something nontrivial seems to be wrong in putnadouparam.
@juan-pablo-vielma

An interesting detail for the conic interior point solver: if the time limit is reached in pre-solve it is respected, but if it is reached in the main iteration it is ignored.

The set/getnadouparam: I can't reproduce it with the current master and MOSEK 7.1. Both putnadouparam and putdouparam appear to set the parameter.
Time limit not respected: That must be a solver issue. I'll pass it on to the interior-point guy.

This appears to work now. Closing.


Fix src file links in README.adoc

Fixes #25

Hello @rafaelelter, @martinlippert @dsyer @Buzzardo
Currently, the docs of https://spring.io/guides/gs/reactive-rest-service/ are broken. Could you please help with merging the PR ?


build: set GOARCH appropriately

What type of PR is this?
/kind bug
What this PR does / why we need it:
The Makefile sets GOARCH?=amd64, which needs to be overridden for this image to build properly on other architectures.
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

/retest

/assign @tsmetana

/assign @dobsonj

/assign @jsafrane

/lgtm
/approve


Long wait times between updates in the deployment stream can cause idle connection timeouts?

When deploying with the -s flag, if there are no updates for a while, you'll see something like this:
Status: Stack update submitted
Status: Waiting for stack update to complete
error: unexpected EOF

My guess is this is limited to ELB, because we don't send any heartbeats in the /deploys endpoint. I'll dig a little deeper and try to get a simple repro.

Increasing the idle connection timeout on the load balancer to 3600 (1 hour) fixed the issue. I think this should probably be our recommendation, and remove the heartbeats from emp run. If no data is sent within an hour, then closing the connection is a reasonable thing to do (and it will cause the docker container to SIGKILL).


set does not accept passing a block the easy way

In capistrano 2 a block could be passed to set. Capistrano 3 always expects two parameters and passing a block like this is no longer possible.
Does not work in capistrano 3 (but it should work!):
set :rvm_ruby_version do
  within release_path do
    capture(:rvm, "current")
  end
end

Works in capistrano 3 (but looks like an ugly hack):
set :rvm_ruby_version, proc{
  within release_path do
    capture(:rvm, "current")
  end
}

Why has this support been removed? Anything against adding it again?

Old thread, but I got very confused this afternoon when trying to pass a delayed-execution block to the set functions.  I agree with @gucki that this doesn't match Ruby conventions / violates the principle of least surprise.
I don't think it needs to be a breaking change, though.  It should be possible to support both methods simultaneously.  Proposed patch: https://github.com/capistrano/capistrano/pull/1478

Thansk! :+1:


Dropdown positioning

On small devices, I see the following code for dropdowns:
          if (controller.small()) {
            css.left = Math.max((parentOffset.width - dropdownWidth) / 2, 8) + 'px';
            css.position = 'absolute';
            css.width = '95%';
            css['max-width'] = 'none';
          }

Why is the left value being calculated based on the dropdown's offset, and not on the offset of the toggle element? This will almost always mean the dropdown won't show properly aligned with the element that toggled it.
If, instead, we do this:
          if (controller.small()) {
            parentOffset = $position.offset(element);
            css.left = Math.max((parentOffset.width - dropdownWidth) / 2, 8) + 'px';
            css.position = 'absolute';
            css.width = '95%';
            css['max-width'] = 'none';
          }

It seems to work.
Thanks,
Silvio

Care to submit a pull request?
On Fri, 9 Jan 2015 8:20 pm silviogutierrez<EMAIL_ADDRESS>wrote:

On small devices, I see the following code for dropdowns:
      if (controller.small()) {
        css.left = Math.max((parentOffset.width - dropdownWidth) / 2, 8) + 'px';
        css.position = 'absolute';
        css.width = '95%';
        css['max-width'] = 'none';
      }

Why is the left value being calculated based on the dropdown's offset, and
not on the offset of the toggle element? This will almost always mean the
dropdown won't show properly aligned with the element that toggled it.
If, instead, we do this:
      if (controller.small()) {
        parentOffset = $position.offset(element);
        css.left = Math.max((parentOffset.width - dropdownWidth) / 2, 8) + 'px';
        css.position = 'absolute';
        css.width = '95%';
        css['max-width'] = 'none';
      }

It seems to work.
Thanks,
Silvio
—
Reply to this email directly or view it on GitHub
https://github.com/pineconellc/angular-foundation/issues/177.

Sure, I'd be happy to look into it. But what should the behavior of a dropdown be on small devices?
On giving it some thought, I imagine the dropdown itself would have no horizontal offset, taking up most of the device's width. But the small carat/arrow would shift to point to the right location. Does this make sense?

That sounds reasonable to me. Have a look at how vannila foundation behaves
at http://foundation.zurb.com/docs/components/dropdown_buttons.html
On Fri Jan 09 2015 at 23:40:26 silviogutierrez<EMAIL_ADDRESS>wrote:

Sure, I'd be happy to look into it. But what should the behavior of a
dropdown be on small devices?
On giving it some thought, I imagine the dropdown itself would have no
horizontal offset, taking up most of the device's width. But the small
carat/arrow would shift to point to the right location. Does this make
sense?
—
Reply to this email directly or view it on GitHub
https://github.com/pineconellc/angular-foundation/issues/177#issuecomment-69403619
.

Same goes for Angular Foundation because we use their CSS and markup. And because the "nub" is pseudoselector based (:before, :after), there is no way to reposition it using JS. That is, we can't set the nub's left value using  JavaScript.
Our options are to use a different markup (like JoyRide, which has an actual DOM nub), or leave things are they are with the overflow. Can't really think of any other way to move the nub around.
PS. It is technically possible to modify pseuselectors using JS, but it requires some pretty nasty hacks.

If you can change the template markup to get this working properly that would be great. I'm experiencing this issue myself but I've not really had time to dig very deep.

Looks like the dropdown directive is ignoring the native Foundation options. As you can specify align there but it's not being used. Always keeps having a right direction. Problematic when you are using a card layout.

The 'align' option support is discussed in https://github.com/pineconellc/angular-foundation/issues/51


Per client error function instead of per module.

This patch sets an "error" function as a member of the redis connection, so it allows to deal with errors per-connection.

Thanks!


fix: better support for nested addons/engines

Resolves #62

Thanks!

Published to npm as<EMAIL_ADDRESS>

Thanks for the super fast turn around.


"Update Database" leads to error message from Amazon

Using the update button once resulted in the following error message on all subpages:

We are sorry!
A technical error occurred while we were trying to process your request. We are already working on it and will be back for you as soon as possible. Please check back later.
We apologize for this inconvenience and thank you for your understanding. (translated)

Previously the background scan was running with default settings. I turned it off and wanted to test the manual update.
After the message I feared for my account and therefore left the scan switched off. Fortunately, I was able to access the site again the next day.

The message you got there is from Amazon.
That happends when to many requests are send to Amazon and is only for about 30 - 60 Minutes. After that you can access the Page normally again.
I got a lot of these messages while testing and programming and are still not banned from the program, so there is no fear for your account so far.
We will look into the Update Database Section.


[Algorithm]Insertion Sort [C]

https://www.geeksforgeeks.org/insertion-sort/

I'd like to work on this!

i like to work on this

Hi! please let me work on it.

Hello Sir ! I would like to work on this issue. Please assign me to this.

hello sir could you assign it to me
thank you

Hello sir, Can you assign me this issue
This can be my first contribution on github


Remove @internal PHPDoc

The '@internal' PHPDoc tag make for some annoyances in some IDEs.
PHPStorm:

The @internal tag has now been removed from the proxy classes and methods, tagged with version 1.2.0


Update docs to reflect current shortcut keys for features which have …

Update docs to reflect current shortcut keys for features which have been moved into the options menu.
This covers the discrepancy noted in Issue #669.

Thanks a lot, really appreciated. You're taking the worst kind of work from our shoulders. :smiley:


how to "start it separately and connect to it via RemoteAllocator"

"This is set up on Linux to avoid leaking resources. If you want Chrome to be a long-running process, start it separately and connect to it via RemoteAllocator."
if I use "RemoteAllocator",it should be a remote connecting,and separately
Now the remote side is on WindowsServerEditon,and my programme  runs on another Windows10
after run the go programme,I went to check the "http://remoteIp:9222/",there is only a "blank page" still
How can I play with long-running process..
i just want to keep listening a website event. anyone can help, i am struggling on it

Check https://github.com/chromedp/chromedp/issues/438 and https://github.com/chromedp/chromedp/issues/509

Check #438 and #509

thank you Sir. my problem is that I couldn't keep listening web request events(like from ajax clicking,etc)
chromedp,seems to shutdown the connectng,after having executed a task
closing is good at many work,but my case is stay and listen events for a long time

@zsq2010 Based on the questions you asked (https://github.com/chromedp/chromedp/issues/767, https://github.com/chromedp/chromedp/issues/769 and this one), it seems that you plan to do something wrong. Please don't do evil.
If you just want to capture the network traffic, maybe you could give Fiddler a try.

nice suggestion! and a very good folk.
I just link my own server which is equal to play with a dock:)
thank you


Add tree restore

This PR depends on this semaphore PR.
The merge should be done after semaphore PR is merged.
Adds functions to attempt and restore a tree, if it fails it builds a new one

Codecov Report

Merging #540 (ffb6acd) into main (9d9dcc7) will decrease coverage by 0.12%.
The diff coverage is 80.62%.

:exclamation: Current head ffb6acd differs from pull request most recent head b5ce8b0. Consider uploading reports for the commit b5ce8b0 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #540      +/-   ##
==========================================
- Coverage   55.43%   55.31%   -0.12%
==========================================
  Files          47       47
  Lines        9841    10079     +238
==========================================
+ Hits         5455     5575     +120
- Misses       4386     4504     +118

Flag
Coverage Δ

test
55.31% <80.62%> (-0.12%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/lib.rs
47.41% <0.00%> (+0.30%)
:arrow_up:

src/identity_tree.rs
85.67% <65.95%> (-3.38%)
:arrow_down:

src/app.rs
75.55% <79.41%> (+2.34%)
:arrow_up:

src/database/mod.rs
91.94% <100.00%> (+0.18%)
:arrow_up:

tests/dynamic_batch_sizes.rs
99.50% <100.00%> (+<0.01%)
:arrow_up:

tests/insert_identity_and_proofs.rs
100.00% <100.00%> (ø)

tests/malformed_payload.rs
100.00% <100.00%> (ø)

tests/multi_prover.rs
100.00% <100.00%> (ø)

tests/unavailable_prover.rs
100.00% <100.00%> (ø)

tests/validate_proofs.rs
100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


[DRAFT] [#738] Frequent mosquitto restarts cause test failures as systemd interferes

Proposed changes
Avoid that mosquitto is restarted too often while testing by checking how log it is already running.
If it is not running for more than a specific time, delay test execution.
With this we also start introduce helper functions that make it easier
to connect and disconnect.

Move all tedge connect and disconnect calls to a new base class TedgeEnvironment
Make all tests that need to connect and disconnect derive from TedgeEnvironment

Update new output filenames: tedge_connect_c8y, tedge_disconnect_c8y, tedge_connect_c8y_test

Move Cumulocity class to separate file (unrelated refactoring)

Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue
https://github.com/thin-edge/thin-edge.io/issues/738
Checklist

[x] I have read the CONTRIBUTING doc
[ ] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

In 7d29e37 you remove most of the content in file 181 tests/PySys/environments/environment_c8y.py , how is this a merge issue (it is not a merge commit afaik)?

@TheNeikos About the nitpicks:
The focus of 637c338 are multiple fixes, not only to call the costructor of the base class :)
Since the commits are squashed anyway (in this repo), when we do a merge, I would avoid additional squashing.
Generally, I like to move and change files in different commits. That makes it easier to track changes.
The merge issue here occurred earlier while fixing/merging a cherry-picks from another branch. Maybe "merge" wasn't the right terminology.
I'm not going to rewrite the history as we are going to squash anyway.

@abelikt I understand it can cause some overhead to your workflow, but making the commit messages clearer themselves does help even when they might be squashed later: During review it helps to see if the individual changes themselves align with the intended goal, and thus as a reviewer one can more easily follow the changeset.
I also would like to point towards the discussion about our git workflow, which is in the process of being defined. If you have any arguments or opinions you'd like to express on that topic, I believe those would be valuable to add!


nadeko just stoped working and has a issue

nadeko has been working fine for months then this past friday it stop and iv reset it, updated it, redid the .json and still no luck. this is what it says

1.3b doesn't look updated to me. I recommend updating to the latest.

yea just found out its a .exe file now just downloaded new install

have a issue with installer tho

Install Redis, check the left bottom corner in NadekoBot Updater, also restart your PC after installing all prerequisites.


Time frame with end date + duration

Implement a way for the user to select a time window, excluding interactions that happened before and after the limits.
Beware: past interactions may still have a social influence in the present. The interpretation of the network is slightly different if the "start" slider is not set to zero.
Implement the possibility for the user to choose a "segment width", then drag-and-drop the segment (choosing end time and interval duration, rather than start time and end time.

superseded by #72  (and  #71)


Unpack url sources even when subdir is not specified

It seems that url sources in stack's lock files are always tarballs. If we don't unpack them before running cabal2nix then we get an error as it's unable to unpack them itself. So, let's unpack them first.
This should fix #5

Thanks a lot for this PR!
I pushed a commit that adds an example of a github extra-dep that doesn't use subdirs.  I'll wait until CI passes and then merge this in.

Tests are failing, but I think it is just a lock file that needs to be updated.


Fix gemspec comment

The comment that applied to the inclusion of the webmock gem had become
decoupled.  I've re-attached them and changed the wording of the comment
so that it's hopefully clearer that they belong together.

I didn't think it was @injms!


Move canvas to optionalDependencies

Move canvas to optionalDependencies, which enables npm to continue installing pdfjs-dist even if the installation of canvas fails. Close #15652.

+1 above

@Snuffleupagus when will be release?

This will be included in the next release which, provided that nothing unforeseen happens[1], is planned for the end of the month.

[1] Please keep in mind that the releases, in addition to many things in this project, are handled by unpaid contributors.

Fixed in release 3.1.81.

It's seem that, running yarn install --ignore-optional will still install canvas, and got failed.

@iahu same with npm i --omit=optional pdfjs-dist, canvas is being installed anyway and then npm i fails on node-gyp step.


fix(static): use correct format for last modified

🔗 Linked issue
#1016
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Changed Last-Modified format to be correct (UTC) and not ISO as currecntly. Resolves #1016
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Can you please rebase your PR and fix lint issues? (i don't have push access to your fork)


Issue287 - created description of lists in examples/url_collections

In accordance with #287 I made a file with the descriptions of the lists in examples/url_collections

thanks for this, Niels!


Simulate spike running a section.

This adds a test that consists of the following:

Two sections.
One current clamp at he beginning of the first section.
A synapse connecting the ends of the sections.

We record the voltage at a few locations along the two sections and assert (and optionally plot) that the values haven't changed a lot.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.35%. Comparing base (0e69948) to head (858a920).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1261   +/-   ##
=======================================
  Coverage   86.35%   86.35%
=======================================
  Files         175      175
  Lines       13214    13214
=======================================
  Hits        11411    11411
  Misses       1803     1803

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How to integrate Payload to NestJS project

How to integrate Payload to NestJS project
I try but not working
/Volumes/Work/project/cms/src/main.ts:36
  await payload.initAsync({
                ^
TypeError: Cannot read properties of undefined (reading 'initAsync')
    at bootstrap (/Volumes/Work/project/cms/src/main.ts:36:17)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import * as cookieParser from 'cookie-parser';
import * as passport from 'passport';
import payload from 'payload';
import * as session from 'express-session';
import {ExpressAdapter} from '@nestjs/platform-express';
import * as express from 'express';

async function bootstrap() {

  const expressApp = express();
  const adapter = new ExpressAdapter(expressApp);

  const app = await NestFactory.create(AppModule, adapter);
  app.use(cookieParser());

  // Authentication & Session
  app.use(
    session({
      secret: process.env.AUTH_SESSION_SECRET || 'secret', // to sign session id
      resave: false,
      saveUninitialized: false,
      rolling: true, // keep session alive
      cookie: {
        maxAge: process.env.AUTH_SESSION_EXPIRES_IN_SECONDS
          ? parseInt(process.env.AUTH_SESSION_EXPIRES_IN_SECONDS) * 1000
          : 3600 * 1000,
        httpOnly: true, // so that cookie can't be accessed via client-side script
      },
    }),
  );
  app.use(passport.initialize());
  app.use(passport.session());

  // await payload.initAsync({
	// 	secret: process.env.PAYLOAD_SECRET,
	// 	mongoURL: process.env.MONGODB_URI,
	// 	express: expressApp,
	// 	onInit: async () => {
	// 		payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
	// 	},
	// });

  await app.listen(3000);
}

bootstrap();

This is a problem with your implementation and not Payload, so I'll bump this over to a Discussion for now. But it looks to be an issue with how you're importing Payload. Outside of that, I'm not sure there's much I can see wrong here. Do you have Payload installed?