Asset Transactions do not include all burn actions

I think this is an API issue.
What I want to do is get the time of each burn and mint for an asset. The asset history gives you a tx_hash and an action that provides this information, but no date.
The asset transactions endpoint gives you a block_time and tx_hash, but no action.
I pulled in all values from the asset transactions endpoint and all transactions from the asset history endpoint. When I try to match each tx_hash in the asset history to the asset transactions, I find that all mint actions are in the transaction history, but only about 10% of the burn actions are the in the transaction history.
I am doing this in Python. I can provide a short script that can show what I am saying. I can also provide some reference assets and how many mismatched transactions there are.

Hi,
the script and example assets would be helpful so we can investigate further.

@theeldermillenial do you have more information about this issue please?

Please reopen if you are still experiencing problems.

@vladimirvolek Sorry for the delay. I will provide additional info in the next week. However, I do not have the ability to reopen. Should I just ping you?

@vladimirvolek Sorry for the delay. I will provide additional info in the next week. However, I do not have the ability to reopen. Should I just ping you?

Ping.


Change Git endpoint for pollock package

The pollock package has recently been transferred from a GitHub organisation to my user. While I have updated this in bower.json, I see no way of making the change to the Git endpoint on the registry.
Can someone please change the Git endpoint for me?

Old
New

https://github.com/NotNinja/pollock.git
https://github.com/neocotic/pollock.git

If you still want to unregister / modify this package you can send PR against this repository that modifies db/packages.json file. Please include proof that you are owner of this package. Please also mind that even if we remove/modify entry in bower registry, bower clients can have cache saved which needs to be cleaned with bower cache clean for each user.


Added Security Center, Unittest, builds and refactored

Added security center so it will work in the same way for the new continuous export to the event hub.
Refactored into more flow orientated structure, compared to the previous technical structure.
Replaced the dependent HOME environmental variable with the FunctionAppDirectory from the function context. (HOME environmental existed on the hosted build server so tests would fail otherwise)
Added some simple translation unit-test to be sure I didn't knock anything over
Added YAML build pipeline
Fixed some bugs and unused code

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ErickSegaar sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks very much for the contribution, @ErickSegaar. As it's changing/adding quite a number of files, it'll take a bit to review it all. Any recommendations on the best way to proceed through it all?

@sebastus My thoughts on the matter are the following:

Refactored into event hub processing eg (activity, diagnostic, metrics). Shouldn't be changed much, naming is consistent with original except added the type
Changed the way the categories.json worked. There was code depending on a HOME variable, that gave some trouble with debugging and testing local and using the build server. Didn't like having specific code just for testing in the solution so changed it in SplunkEventMessages Ctor
Added SecurityCenterLogs based upon the Diagnostic logs (didn't change your deployment template (using a terraform option instead of the azure template, should add additional security hub in the infra)
Fixed the Metrics to use the metrics classes instead of the Diagnostic classes (   var azMonMsg = new AzMonDiagnosticLog(expandoRecord); ==>              var azMonMsg = new Metric(expandoRecord);)
Added the Yaml build
I am running the total solution now with 2.7 mil events a minute works like a charm, haven't done anything with the Windows and Linux VM so didn't test that.
Sorry for the big dump, had a lot of trouble with the HOME variable in the end and basically squashed my commits, could have better only squashed the changes for the variable. Wrote a little Down the rabbit hole blog on it to :).

Erick - would you contact me offline<EMAIL_ADDRESS>


Elastic training: Restart actors

Todo:

docs (ENV variables)
docs (behavior)

Failing test is a timeout in test_colocation.py::TestColocation::test_no_tune_spread for latest ray master - this might actually be a regression from some recent PR. Could you take a look sometime @amogkam?
The relevant tests in this PR seem to be passing fine.

OK will take a look

The test on the cluster was successful:
(base) ray@ip-172-31-24-108:/release_tests$ python benchmark_cpu_gpu.py 4 1000 4
2020-12-30 06:30:42,694 INFO worker.py:657 -- Connecting to existing Ray cluster at address: <IP_ADDRESS>:6379
2020-12-30 06:30:42,910 WARNING worker.py:1034 -- The actor or task with ID ffffffffffffffff0ab974dd03000000 cannot be scheduled right now. It requires {actor_cpus: 4.000000}, {CPU: 4.000000} for placement, however the cluster currently cannot provide the requested resources
. The required resources may be added as autoscaling takes place or placement groups are scheduled. Otherwise, consider reducing the resource requirements of the task.
2020-12-30 06:30:42,910 WARNING worker.py:1034 -- The actor or task with ID ffffffffffffffffcee45dd103000000 cannot be scheduled right now. It requires {actor_cpus: 4.000000}, {CPU: 4.000000} for placement, however the cluster currently cannot provide the requested resources
. The required resources may be added as autoscaling takes place or placement groups are scheduled. Otherwise, consider reducing the resource requirements of the task.
2020-12-30 06:30:42,913 INFO main.py:721 -- [RayXGBoost] Created 4 new actors (4 total actors). Waiting until actors are ready for training.
2020-12-30 06:30:42,920 WARNING worker.py:1034 -- The actor or task with ID ffffffffffffffffbd328aee03000000 cannot be scheduled right now. It requires {actor_cpus: 4.000000}, {CPU: 4.000000} for placement, however the cluster currently cannot provide the requested resources
. The required resources may be added as autoscaling takes place or placement groups are scheduled. Otherwise, consider reducing the resource requirements of the task.
2020-12-30 06:30:42,921 WARNING worker.py:1034 -- The actor or task with ID ffffffffffffffff0703d58c03000000 cannot be scheduled right now. It requires {CPU: 4.000000}, {actor_cpus: 4.000000} for placement, however the cluster currently cannot provide the requested resources
. The required resources may be added as autoscaling takes place or placement groups are scheduled. Otherwise, consider reducing the resource requirements of the task.
2020-12-30 06:30:54,974 INFO main.py:758 -- [RayXGBoost] Starting XGBoost training.
(pid=9436, ip=<IP_ADDRESS>) [06:30:54] task [xgboost.ray]:140427761209424 got new rank 0
(pid=9129, ip=<IP_ADDRESS>) [06:30:54] task [xgboost.ray]:140607102729744 got new rank 1
(pid=9244, ip=<IP_ADDRESS>) [06:30:54] task [xgboost.ray]:139690855271952 got new rank 2
(pid=9113, ip=<IP_ADDRESS>) [06:30:54] task [xgboost.ray]:140379158221008 got new rank 3
2020-12-30 06:31:07,268 INFO elastic.py:172 -- Actor status: 3 alive, 1 dead (4 total)
2020-12-30 06:31:12,274 WARNING main.py:1050 -- A Ray actor died during training. Trying to continue training on the remaining actors. This will use 3 existing actors and start 0 new actors. Sleeping for 10 seconds for cleanup.
2020-12-30 06:31:22,292 INFO main.py:721 -- [RayXGBoost] Created 0 new actors (3 total actors). Waiting until actors are ready for training.
2020-12-30 06:31:22,398 INFO main.py:758 -- [RayXGBoost] Starting XGBoost training.
(pid=9244, ip=<IP_ADDRESS>) [06:31:22] task [xgboost.ray]:139690855271952 got new rank 2
(pid=9436, ip=<IP_ADDRESS>) [06:31:22] task [xgboost.ray]:140427761209424 got new rank 0
(pid=9129, ip=<IP_ADDRESS>) [06:31:22] task [xgboost.ray]:140607102729744 got new rank 1
2020-12-30 06:31:22,642 INFO elastic.py:91 -- Re-scheduled 1 actors for training. Once data loading finished, they will be integrated into training again.
2020-12-30 06:31:29,291 WARNING worker.py:1034 -- The actor or task with ID fffffffffffffffff9c9d3f303000000 cannot be scheduled right now. It requires {CPU: 4.000000}, {actor_cpus: 4.000000} for placement, but this node only has remaining {node:<IP_ADDRESS>: 1.000000}, {me
mory: 10.498047 GiB}, {object_store_memory: 3.076172 GiB}. In total there are 0 pending tasks and 1 pending actors on this node. This is likely due to all cluster resources being claimed by actors. To resolve the issue, consider creating fewer actors or increase the resource
s available to this Ray cluster. You can ignore this message if this Ray cluster is expected to auto-scale.
2020-12-30 06:31:52,416 INFO main.py:825 -- Training in progress (30 seconds since last restart).
2020-12-30 06:32:22,416 INFO main.py:825 -- Training in progress (60 seconds since last restart).
2020-12-30 06:32:52,417 INFO main.py:825 -- Training in progress (90 seconds since last restart).
2020-12-30 06:33:22,417 INFO main.py:825 -- Training in progress (120 seconds since last restart).
2020-12-30 06:34:22,418 INFO main.py:825 -- Training in progress (180 seconds since last restart).
2020-12-30 06:34:52,418 INFO main.py:825 -- Training in progress (210 seconds since last restart).
(pid=9113, ip=<IP_ADDRESS>) [06:30:54] task [xgboost.ray]:140379158221008 got new rank 3
(pid=9113, ip=<IP_ADDRESS>) 2020-12-30 06:31:07,197    ERROR worker.py:383 -- SystemExit was raised from the worker
(pid=9113, ip=<IP_ADDRESS>) Traceback (most recent call last):
(pid=9113, ip=<IP_ADDRESS>)   File "python/ray/_raylet.pyx", line 550, in ray._raylet.task_execution_handler
(pid=9113, ip=<IP_ADDRESS>)   File "python/ray/_raylet.pyx", line 417, in ray._raylet.execute_task
(pid=9113, ip=<IP_ADDRESS>)   File "python/ray/_raylet.pyx", line 456, in ray._raylet.execute_task
(pid=9113, ip=<IP_ADDRESS>)   File "python/ray/_raylet.pyx", line 459, in ray._raylet.execute_task
(pid=9113, ip=<IP_ADDRESS>)   File "python/ray/_raylet.pyx", line 463, in ray._raylet.execute_task
(pid=9113, ip=<IP_ADDRESS>)   File "python/ray/_raylet.pyx", line 415, in ray._raylet.execute_task.function_executor
(pid=9113, ip=<IP_ADDRESS>)   File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/function_manager.py", line 556, in actor_method_executor
(pid=9113, ip=<IP_ADDRESS>)     return method(__ray_actor, *args, **kwargs)
(pid=9113, ip=<IP_ADDRESS>)   File "/home/ray/anaconda3/lib/python3.7/site-packages/xgboost_ray/main.py", line 462, in train
(pid=9113, ip=<IP_ADDRESS>)     raise RayXGBoostTrainingStopped("Training was interrupted.")
(pid=9113, ip=<IP_ADDRESS>)   File "/home/ray/anaconda3/lib/python3.7/site-packages/ray/worker.py", line 380, in sigterm_handler
(pid=9113, ip=<IP_ADDRESS>)     sys.exit(1)
(pid=9113, ip=<IP_ADDRESS>) SystemExit: 1
2020-12-30 06:35:11,945 INFO elastic.py:172 -- Actor status: 4 alive, 0 dead (4 total)
2020-12-30 06:35:12,213 INFO main.py:1043 -- A new actor became available. Re-starting training from latest checkpoint with new actor. This will use 4 existing actors and start 0 new actors. Sleeping for 10 seconds for cleanup.
2020-12-30 06:35:16,922 ERROR worker.py:980 -- Possible unhandled error from worker: ray::RayXGBoostActor.train() (pid=9129, ip=<IP_ADDRESS>)
  File "python/ray/_raylet.pyx", line 463, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 415, in ray._raylet.execute_task.function_executor
  File "/home/ray/anaconda3/lib/python3.7/site-packages/xgboost_ray/main.py", line 461, in train
    if self._stop_event.is_set():
xgboost_ray.main.RayXGBoostTrainingStopped: Training was interrupted.
2020-12-30 06:35:16,923 ERROR worker.py:980 -- Possible unhandled error from worker: ray::RayXGBoostActor.train() (pid=9436, ip=<IP_ADDRESS>)
  File "python/ray/_raylet.pyx", line 463, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 415, in ray._raylet.execute_task.function_executor
  File "/home/ray/anaconda3/lib/python3.7/site-packages/xgboost_ray/main.py", line 461, in train
    if self._stop_event.is_set():
xgboost_ray.main.RayXGBoostTrainingStopped: Training was interrupted.
2020-12-30 06:35:17,923 ERROR worker.py:980 -- Possible unhandled error from worker: ray::RayXGBoostActor.train() (pid=9244, ip=<IP_ADDRESS>)
  File "python/ray/_raylet.pyx", line 463, in ray._raylet.execute_task
  File "python/ray/_raylet.pyx", line 415, in ray._raylet.execute_task.function_executor
  File "/home/ray/anaconda3/lib/python3.7/site-packages/xgboost_ray/main.py", line 461, in train
    if self._stop_event.is_set():
xgboost_ray.main.RayXGBoostTrainingStopped: Training was interrupted.
2020-12-30 06:35:22,227 INFO main.py:721 -- [RayXGBoost] Created 0 new actors (4 total actors). Waiting until actors are ready for training.
2020-12-30 06:35:22,338 INFO main.py:758 -- [RayXGBoost] Starting XGBoost training.
(pid=9278, ip=<IP_ADDRESS>) [06:35:22] task [xgboost.ray]:140179232235216 got new rank 3
(pid=9244, ip=<IP_ADDRESS>) [06:35:22] task [xgboost.ray]:139690855271952 got new rank 2
(pid=9436, ip=<IP_ADDRESS>) [06:35:22] task [xgboost.ray]:140427761209424 got new rank 0
(pid=9129, ip=<IP_ADDRESS>) [06:35:22] task [xgboost.ray]:140607102729744 got new rank 1
2020-12-30 06:35:52,846 INFO main.py:825 -- Training in progress (30 seconds since last restart).
2020-12-30 06:36:22,847 INFO main.py:825 -- Training in progress (60 seconds since last restart).
2020-12-30 06:36:52,847 INFO main.py:825 -- Training in progress (90 seconds since last restart).
2020-12-30 06:37:22,848 INFO main.py:825 -- Training in progress (120 seconds since last restart).
[...]

I have just a few questions I'd like to address before we can merge.

I just finished another cluster test with this version, and it seems to be running fine.

Added a PR for the available resource per node here: https://github.com/ray-project/ray/pull/13134

Removed the available resource check. Tested again on cluster, all working. The TestColocation test suite is flaky, I'll raise a separate issue for that.
Should be ready to merge after a final look.
Note that I merged an unrelated benchmarking branch in this PR to allow for more flexible testing.

Removed the available resource check. Tested again on cluster, all working. The TestColocation test suite is flaky, I'll raise a separate issue for that.
Should be ready to merge after a final look.
Note that I merged an unrelated benchmarking branch in this PR to allow for more flexible testing.


126 fix up score implementation with serialization

Codecov Report
Attention: Patch coverage is 86.90814% with 600 lines in your changes are missing coverage. Please review.

Project coverage is 90.89%.  Consider uploading reports for the commit 33a61fa to get more accurate results

Files
Patch %
Lines

src/types/record/bed12.rs
75.50%
121 Missing :warning:

src/types/record/gtf.rs
65.89%
74 Missing :warning:

src/types/record/meta_interval.rs
33.33%
72 Missing :warning:

src/types/record/bed6.rs
74.08%
71 Missing :warning:

src/types/record/bed4.rs
67.44%
70 Missing :warning:

src/types/container/find.rs
93.79%
65 Missing :warning:

src/types/record/bed3.rs
78.06%
43 Missing :warning:

src/types/container/set_intersect.rs
0.00%
38 Missing :warning:

src/types/enums/score.rs
85.71%
12 Missing :warning:

src/traits/interval/coordinates.rs
86.30%
10 Missing :warning:

... and 6 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
- Coverage   96.65%   90.89%   -5.77%
==========================================
  Files          30       33       +3
  Lines        6225     7501    +1276
==========================================
+ Hits         6017     6818     +801
- Misses        208      683     +475

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

made by accident - ignoring


Issue with bubble chart

Hello thanks for the plugin!
There is an issue with dragging the bubble chart items in<EMAIL_ADDRESS>however it works in<EMAIL_ADDRESS>Thanks again

Hey there,
sorry about that, should be fixed in v1.0.1
Best
Christoph

Closing this as fixed, please re-open if the issue persists.


Improvement: Add some shortcuts

Mac
Windows/Linux
Atom command

Close active tab
cmd-w
ctrl-f4
core:close

Open Settings
cmd-,
ctrl-alt-s
settings-view:open

These shortcuts may already be the default ones on Mac (cmd-w, cmd-,), but definitely not on Windows/Linux

Hi @gquintana,
I just added the two shortcuts for Windows and Linux as on the Mac they are already the default shortcuts.
Thanks for pointing this out.
Regards,
Guy

Great!


Cache did not return a callback when connected to network but no internet - Retrofit2 + RxJava with OkHttp

Cache data only works when the device network such as Mobile Data or Wi-Fi is off, if either of the two is on but no internet service / no data connection the response/result callback is not being trigger. Both of the said scenario throws an error Unable to resolve host www.xyz.com No address associated with hostname yet the result callback only works when a device is Mobile Data/Wi-Fi is completely off. I need to use the cache as well for the said second case where after throwing an error on resolving host due to the fact that internet service is not available yet or too slow to respond.

Baja

Executable test case? We have lots of tests that you can use as a starting point.

https://github.com/square/okhttp/issues/6626#issuecomment-817245755
سلام من از ایران هستم نمیخواهم github.com🤦♂                No No🖕
در تاریخ یکشنبه ۱۱ آوریل ۲۰۲۱، ۰۹:۰۴ Jesse Wilson @.***>
نوشت:

Executable test case? We have lots of tests that you can use as a starting
point.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/square/okhttp/issues/6626#issuecomment-817245755, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATLJTYMTGR3U4V6UIDKINH3TIEREBANCNFSM42XCQVKA
.

Executable test case? We have lots of tests that you can use as a starting point.

interface EndpointServices {

    companion object {

        private fun interceptor(): Interceptor {
            return Interceptor { chain ->
                val request: Request = chain.request()
                val originalResponse: Response = chain.proceed(request)
                val cacheControlStatus: String? = originalResponse.header("Cache-Control")
                if (cacheControlStatus == null || cacheControlStatus.contains("no-store") || cacheControlStatus.contains(
                        "no-cache") ||
                    cacheControlStatus.contains("must-revalidate") || cacheControlStatus.contains("max-stale=0")
                ) {

                    Log.wtf("INTERCEPT", "ORIGINAL CACHE-CONTROL: $cacheControlStatus")

                    Log.wtf("INTERCEPT",
                        "OVERWRITE CACHE-CONTROL: ${request.cacheControl} | CACHEABLE? ${
                            CacheStrategy.isCacheable(originalResponse,
                                request)
                        }")

                } else {
                    Log.wtf("INTERCEPT",
                        "REGULAR REQUEST : CACHE-CONTROL: $cacheControlStatus | CACHEABLE? ${
                            CacheStrategy.isCacheable(originalResponse,
                                request)
                        }")
                }

                originalResponse.newBuilder()
                    .build()

            }
        }

        private fun onlineOfflineHandling(): Interceptor {
            return Interceptor { chain ->
                try {
                    Log.wtf("INTERCEPT", "FETCH ONLINE")
                    val cacheControl = CacheControl.Builder()
                        .maxAge(5, TimeUnit.SECONDS)
                        .build()

                    chain.proceed(chain.request().newBuilder()
                        .removeHeader("Pragma")
                        .removeHeader("Cache-Control")
                        .header("Cache-Control", "public, $cacheControl")
                        .build())
                } catch (e: Exception) {
                    Log.wtf("INTERCEPT", "FALLBACK TO CACHE ${e.message}")

                    val cacheControl: CacheControl = CacheControl.Builder()
                        .maxStale(1, TimeUnit.DAYS)
                        .onlyIfCached() // Use Cache if available
                        .build()

                    val offlineRequest: Request = chain.request().newBuilder()
                        .cacheControl(cacheControl)
                        .build()
                    chain.proceed(offlineRequest)
                }
            }
        }

        fun create(baseUrl: String, context: Context): EndpointServices {

            // Inexact 150 MB of maximum cache size for a total of 4000 assets where about 1MB/30 assets
            // The remaining available space will be use for other cacheable requests
            val cacheSize: Long = 150 * 1024 * 1024

            val cache = Cache(context.cacheDir, cacheSize)

            Log.wtf("CACHE DIRECTORY", cache.directory.absolutePath)

            for (cacheUrl in cache.urls())
                Log.wtf("CACHE URLS", cacheUrl)

            Log.wtf("CACHE OCCUPIED/TOTAL SIZE", "${cache.size()} ${cache.maxSize()}")

            val interceptor = HttpLoggingInterceptor()
            interceptor.level = HttpLoggingInterceptor.Level.BODY

            val httpClient = OkHttpClient.Builder()
                .cache(cache)
                .addInterceptor(interceptor)
                .callTimeout(10, TimeUnit.SECONDS)
                .connectTimeout(10, TimeUnit.SECONDS)
                .addNetworkInterceptor(interceptor())
                .addInterceptor(onlineOfflineHandling())
                .build()

            val retrofit = Retrofit.Builder()
                .addCallAdapterFactory(
                    RxJava2CallAdapterFactory.create()
                )
                .addConverterFactory(
                    MoshiConverterFactory.create()
                )
                .client(httpClient)
                .baseUrl(baseUrl)
                .build()

            return retrofit.create(EndpointServices::class.java)

        }

    }

    @GET("search")
    fun getVideoItems(
        @Query("key") key: String,
        @Query("part") part: String,
        @Query("maxResults") maxResults: String,
        @Query("order") order: String,
        @Query("type") type: String,
        @Query("channelId") channelId: String,
    ):
            Single<VideoItemModel>

}

Activity or Fragment class
disposable= EndpointServices.create(url, requireContext()).getVideoItems(
            AppURLs.videoKey,
            "id,snippet",
            "20",
            "date",
            "video",
            channelId
        )
            .subscribeOn(Schedulers.io())
            .observeOn(AndroidSchedulers.mainThread())
            .subscribe(
                { result ->

                    adapter.submitList(result.videoData)

                    swipeRefreshLayout.isRefreshing = false

                    logTxt.text = null

                },
                { error ->
                    Log.wtf("WTF", "${error.message}")
                    swipeRefreshLayout.isRefreshing = false
                    if (adapter.currentList.isEmpty() || (error is HttpException && error.code() == HttpURLConnection.HTTP_GATEWAY_TIMEOUT)){
                        adapter.submitList(mutableListOf())
                        logTxt.text = getString(R.string.swipeToRefresh)
                    }
                }
            )

I tried with YouTube API, cache is used when completely offline otherwise will throw the same error but no callbacks on both result and error inside subscribe.

Let's continue on stackoverflow, it's really awkward to split the conversation.  And this issue tracker is for reproducible bug reports.
https://stackoverflow.com/questions/67002032/retrofit2-and-okhttp3-use-cache-only-when-error-occur-such-as-network-errors-or

If you do want to reopen a reproducible bug report, have a read of a site like http://sscce.org to understand what would help us reproduce, fix and ensure the bug doesn't happen again.  Also it's unclear if the problem is due to a server response or specific to your app and is just a usage question.
Above is not what we would consider a reproducible bug report as it requires us to spend a lot of time setting up a test and making assumptions also.

If you do want to reopen a reproducible bug report, have a read of a site like http://sscce.org to understand what would help us reproduce, fix and ensure the bug doesn't happen again. Also it's unclear if the problem is due to a server response or specific to your app and is just a usage question.
Above is not what we would consider a reproducible bug report as it requires us to spend a lot of time setting up a test and making assumptions also.

Why would it be a server response issue? The said scenarios had no internet connection at all.

Can someone at least explain what could be the reason that no callbacks is being made when connected to a network but having no internet service? While completely turning off all network connectivity will still give you a callback?

Is this the same discussion as in stackoverflow? Can we continue it there, it's really awkward to have two forums for the same report.

For context Jesse and myself are both reasonably active on stackoverflow, so having to respond to everything twice isn't a great experience for us, and we'd like to keep the issue tracker for reproducible issues.

Is this the same discussion as in stackoverflow? Can we continue it there, it's really awkward to have two forums for the same report.

Not really since all I need now is the callback in a case where a device is connected to a network that do not serve with internet or data, I also received zero answers every time I asked about Square libraries like with Retrofit2 even though the are suggesting to use it instead of reporting thus it took days before solving it.

This is not a support forum, stackoverflow is. I'll take a another look there in next hour or so, but I want to discourage general usage questions here in github unless they are in the form of a reproducible bug report. Is there a second question on stackoverflow I'm missing?

This is not a support forum, stackoverflow is. I'll take a another look there in next hour or so, but I want to discourage general usage questions here in github unless they are in the form of a reproducible bug report. Is there a second question on stackoverflow I'm missing?

Thanks, I will put the progress update on the same question.

Thank you, I really honestly appreciate you switching the conversation back to stackoverflow.  Other projects might work differently, but given a small handful of core maintainers, we can't scale our free time to support all users of OkHttp via the bug tracker. And we spend a large majority of our efforts trying to make the core library easier to use, have good documentation and debugging tools.  Using stackoverflow for that helps us answer valid questions like yours once in a public forum.

Thank you, I really honestly appreciate you switching the conversation back to stackoverflow. Other projects might work differently, but given a small handful of core maintainers, we can't scale our free time to support all users of OkHttp via the bug tracker. And we spend a large majority of our efforts trying to make the core library easier to use, have good documentation and debugging tools. Using stackoverflow for that helps us answer valid questions like yours once in a public forum.

Yes really appreciate the hard work behind the scene on all of these wonderful library. Thanks once again for looking on us

@swankjesse @swankjesse the SO question now updated. Thank you


🚨 REWRITE WARNING 🚨

The current codebase is bad. Awful, even.
So I'm rewriting most of it using Pyramid, and a more sane parsing setup. This parsing setup will be usable in other projects, since it'll be mostly independent from the rest of the code. This issue will track anything new or fancy that will come with the rewrite.
What will change:

Any self-hosted installs will explode as all the settings format change.
There will be a new ratelimit system based around queueing. Also, everything will be a lot faster. More to follow.

What won't change:

V3 data responses. I'll try to keep them consistent.

😢

sounds good!
I was hoping to reuse your code and translate it to something that can turn into either a Windows executable or even ideally run in a browser. But I was having a really hard time isolating the necessary components.
Maybe it'll be easier to do with the rewritten code :)

Any ETA on the rewrite? I'm working on a project that'll probably end up downloading a whole bunch of stuff with this so I'm wondering if it's worth waiting for.

The API from the user standpoint shouldn’t change too much even if we do rewrite it.
Not sure if the rewrite will happen or not, so I’d just go forward and use it as it is now.

There's zero plan on changing the output of the API; programs working with it now will still work.

Thanks


[WIP]adding list_stacks

Adding list_stacks() which returns EC2 boto Stack Object
i.e. this will be used in stack removal cleanup job

Lint report for commit bf7661390307b2b8be976d97e16af9725d1a0b46:
wrapanapi/ec2.py:

:bangbang: Line 263:5: E303 too many blank lines (2)

Please, rectify these issues :smirk: .
No commit flaws detected.
CFME QE Bot


TestNet not syncing

TestNet not syncing:
I installed navcoin-core 4.x on a VPS and on my local development PC and can't get the navcoind daemon to sync with the testnet.
I ran with the following command
navcoind -testnet

I get this response from navcoin-cli:
# navcoin-cli -testnet getpeerinfo
[
  {
    "id": 13,
    "addr": "<IP_ADDRESS>:44444",
    "services": "0000000000000000",
    "relaytxes": false,
    "lastsend":<PHONE_NUMBER>,
    "lastrecv": 0,
    "bytessent": 125,
    "bytesrecv": 0,
    "conntime":<PHONE_NUMBER>,
    "timeoffset": 0,
    "version": 0,
    "subver": "",
    "inbound": false,
    "startingheight": -1,
    "banscore": 0,
    "synced_headers": -1,
    "synced_blocks": -1,
    "inflight": [
    ],
    "whitelisted": false,
    "bytessent_per_msg": {
      "version": 125
    },
    "bytesrecv_per_msg": {
    }
  }
]

And sometimes there are no peers at all.
So question is, do you have a testnet NODE that I can add as a peer to sync from? thank

please use branch v4.1.0 to connect to the testnet. i can send you some test coins if you give me your address.


Update _mut_iter_equal_skeleton method

This code is tested based on list_tests.py::CommonTest::test_remove,
except for lines 352~358 that seem related to str test.

line 352 is not related to string. try to print its type like print(type(self.type2test)) that's list type. e.g. list.
list('abcdefghcij') is ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'c', 'i', 'j']

By watching CI, it is causing dead-lock. it didn't finish during 4 hours.

Now, two list method index, remove works normally by fixing _mut_iter_equal_skeleton method.

Nice catch! The changed codes seem totally fine to me. Please check unexpected success in test_list, test_deque tests.

@qingshi163 could you review this PR?

As I remember, the guard or borrower is to optimize the compare by check if the class is not the heap type, so we can reuse the compare function in each loop. Also to use rich_compare_bool we cannot reuse the PyTypeRef for the compared object but this will be no more the issue if we can fetch the PyType atomicly in the future.
Yes, the correctness is more important than performance, but if you can solve the problem without drawback the performance could be amazing. if not please advise the issue or the failing point of the current implement, so we could see why this is not going to work.
@youknowone
Thanks


CLI host: Improve host error message when AzureWebJobsStorage connection string is not set

Repro steps

Create a new Function app and Function using the CLI. Use a trigger other than HTTP
Don't set a value for the AzureWebJobsStorage connection string.
Run the Function host (via func host start)

Expected behavior
Error message saying that the environment variable AzureWebJobStorage doesn't exist and is needed for triggers other than HTTP.
Actual behavior
ImageResize: Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.ImageResize'. Microsoft.Azure.WebJobs.Host: Value cannot be null.
Parameter name: hostAccount.

@soninaren Can you take a look at this? I suspect that its a core SDK issue and not a script issue. If so can you file an issue against the SDK and then investigate? We probably just need a better error message.

With the code in the current dev branch the actual error is
Object reference not set to an instance of an object
It is caused because account is accessed here which is actually null.
https://github.com/Azure/azure-webjobs-sdk/blob/dev/src/Microsoft.Azure.WebJobs.Host/Storage/IStorageAccountExtensions.cs#L14
The cause of the original error was because of ArgumentNullException here.
https://github.com/Azure/azure-webjobs-sdk/blob/dev/src/Microsoft.Azure.WebJobs.Host/Blobs/Triggers/BlobTriggerBinding.cs#L70
There is a bug tracking this issue as well. Closing this one and using the core Sdk bug for tracking
https://github.com/Azure/azure-webjobs-sdk/issues/927


Automatically enable sshd

What was your initial motivation to not automatically enable openssh? Since it's so simple I'm sure you would have if you thought it was a good idea.
Basically these two changes make it so that whoever is root on the machine now is able to login to the machine when it's booted into nixos, no console needed.
I think this properly deals with a security risk because the default setting for root login is set to "without-password" leaving you with only key authentication.

The reason it wasn't done was simply that nixos-in-place was originally built to brutally put NixOS "in place" and reboot; it was intended to make no assumptions about what you want for services, security, etc. I'm not saying this is ideal; it's just the original goal.
I'm mostly ok with this change, but I'm reminded of a snag with DigitalOcean. Since you can change the authorized_keys from the web console, DigitalOcean expects to be able to edit /root/.ssh and changes will only be reflected there. So, for DigitalOcean runs, I believe we should symbolically link .ssh and do no copying.


Performance Optimisation | Code splitting

Current
There are different routes in the app. However, React, by default, creates 1 script file which contains code for all routes. This causes performance issue since the size of the bundle is large.
Expectation
Each Route mentioned within App.tsx should be bundled separately. Use code-splitting / Dynamic imports to achieve this.
Stats

Share before / after loading metrics (Lighthouse or something else)
Share screenshot of dist folder after npm run build is executed.

Reference:
https://dev.to/franklin030601/code-splitting-in-react-js-4o2g

If this issue is not assigned to anyone yet, I can take this up.
Here is how I plan to proceed:

I plan to use lazy and Suspense from React
import all the components dynamically using lazy
wrap the Routes inside a Suspense, which would fallback to a Spinner component.
create a Spinner component using tailwind.css and use that as a fallback. It would be centered across the screen.

I confirm that I have no active issues assigned to me currently.

Sounds good. Except that we already have a spinner component. You might want to check that out.
Assigning it to you. Please record the before and after metrics to ensure the performance is really optimised.


[Storage] Fix browser code snippets in README and comments

The code snippets for browsers in the README have never been tested.  This change updates them to a working version.  A reference back to the JavaScript Bundle section is also added.

Thanks! I filled in a description.


Experimental Antora framework for Vulkan Documentation Project demo

Scripts to modify asciidoctor markup as needed into Antora-compliant form, and Antora navigation files not found in the asciidoctor source.
See https://github.com/KhronosGroup/Vulkan-Site for the Antora playbook used to generate the Vulkan Documentation Project site, and https://registry.khronos.org/vulkan/site/spec/latest/index.html for the most recently published version of this demo.

@spencer-lunarg if the CONTRIBUTING comments are OK with you, can we go ahead and get this merged?


Dark mode support

Adds dark mode support for Android, iOS, and UWP. Also makes other minor changes to support modern features like dark mode.

There is a limitation where listview don't update properly when the system theme changes. In practice that only seems to affect the directions page. There is a Xamarin.Forms bug logged and it looks like they'll be addressing it soon, so I suggest moving forward with this PR and waiting for the Forms bug to be fixed.
https://github.com/xamarin/Xamarin.Forms/issues/11750


Does CondaPkg suppot to install local whl file and the package from Git?

Hi, thank you for the nice package. It helps me a lot! But when I used the package, I faced two difficulties.
Firstly, when I want to install a local .whl file in Python, I can do the following commands in the terminal
cd C:/path/to/the/file
pip install name_of_the_file.whl

Secondly, if I want to install some package from Github, I can run the command
pip install https://github.com/.../master.zip

Does CondaPkg support these two ways to install a package? Thank you!

Not right now, but it would be hard to add. I'll put it on my to-do list.

Actually something like the following should currently work:
CondaPkg.add("name", version="@ url_or_path")

Thanks!


KAttachmentField does not remove files

When submitting the form newly added files are correctly pushed using the KUploader using drop zone queue but removed files are not erased from the storage.
We should probably keep track of the initial file list and manually remove those missing on submit.

KAttachmentField has been removed in newer version of the KDK.


The program reported an error when RLP encoding the gasprice field

LOG_VERBOSE: boatplatform_internal.c:1063, BoatPort_keyCreate(): wallet private key[native] set...
LOG_CRITICAL: boatplatform_internal.c:973, sBoatPort_keyCreate_external_injection_pkcs(): begin mbedtls_ecp_read_key
LOG_CRITICAL: boatplatform_internal.c:978, sBoatPort_keyCreate_external_injection_pkcs(): mbedtls_ecp_read_key result = 0
LOG_VERBOSE: web3intf.c:494, web3_getBalance(): REQUEST: {"jsonrpc":"2.0","method":"platon_getBalance","params":["lat159js9hw63x2y8m65mhgprm3eu9f4c7xmv3lym4","latest"],"id":3113399735}
LOG_VERBOSE: curlport.c:302, CurlPortRequestSync(): Post: {"jsonrpc":"2.0","method":"platon_getBalance","params":["lat159js9hw63x2y8m65mhgprm3eu9f4c7xmv3lym4","latest"],"id":3113399735}
LOG_VERBOSE: curlport.c:303, CurlPortRequestSync(): Result Code: 200
LOG_VERBOSE: curlport.c:304, CurlPortRequestSync(): Response: {"jsonrpc":"2.0","id":3113399735,"result":"0x0"}

LOG_VERBOSE: web3intf.c:515, web3_getBalance(): RESPONSE: {"jsonrpc":"2.0","id":3113399735,"result":"0x0"}

LOG_VERBOSE: web3intf.c:112, web3_parse_json_result(): result = 0x0
LOG_VERBOSE: web3intf.c:117, web3_parse_json_result(): Expand result_out memory...
LOG_NORMAL: boatutility.c:639, BoatFieldVariable_malloc_size_expand(): Excuting BoatFieldVariable_malloc_size_expand:[1024].
LOG_VERBOSE: web3intf.c:399, web3_gasPrice(): REQUEST: {"jsonrpc":"2.0","method":"platon_gasPrice","params":[],"id":3113399736}
LOG_VERBOSE: curlport.c:302, CurlPortRequestSync(): Post: {"jsonrpc":"2.0","method":"platon_gasPrice","params":[],"id":3113399736}
LOG_VERBOSE: curlport.c:303, CurlPortRequestSync(): Result Code: 200
LOG_VERBOSE: curlport.c:304, CurlPortRequestSync(): Response: {"jsonrpc":"2.0","id":3113399736,"result":"0x4a817c800"}

LOG_VERBOSE: web3intf.c:420, web3_gasPrice(): RESPONSE: {"jsonrpc":"2.0","id":3113399736,"result":"0x4a817c800"}

LOG_VERBOSE: web3intf.c:112, web3_parse_json_result(): result = 0x4a817c800
LOG_VERBOSE: api_platon.c:263, BoatPlatONTxSetGasPrice(): Use gasPrice from network: {"jsonrpc":"2.0","id":3113399736,"result":"0x4a817c800"}
 wei.
LOG_VERBOSE: web3intf.c:309, web3_getTransactionCount(): REQUEST: {"jsonrpc":"2.0","method":"platon_getTransactionCount","params":["lat159js9hw63x2y8m65mhgprm3eu9f4c7xmv3lym4","latest"],"id":3113399737}
LOG_VERBOSE: curlport.c:302, CurlPortRequestSync(): Post: {"jsonrpc":"2.0","method":"platon_getTransactionCount","params":["lat159js9hw63x2y8m65mhgprm3eu9f4c7xmv3lym4","latest"],"id":3113399737}
LOG_VERBOSE: curlport.c:303, CurlPortRequestSync(): Result Code: 200
LOG_VERBOSE: curlport.c:304, CurlPortRequestSync(): Response: {"jsonrpc":"2.0","id":3113399737,"result":"0x0"}

LOG_VERBOSE: web3intf.c:330, web3_getTransactionCount(): RESPONSE: {"jsonrpc":"2.0","id":3113399737,"result":"0x0"}

LOG_VERBOSE: web3intf.c:112, web3_parse_json_result(): result = 0x0
LOG_CRITICAL: boatplaton.c:119, PlatONSendRawtx(): Append gasprice to Tx RLP object failed.
LOG_CRITICAL: boatplaton.c:496, PlatONSendRawtx(): Exception: -10500002
LOG_CRITICAL: api_platon.c:301, BoatPlatONSendRawtxWithReceipt(): PlatONSendRawtx failed.
LOG_CRITICAL: api_platon.c:441, BoatPlatONTransfer(): transaction send failed.

The cause of the problem because the types of the return value is not BOAT_RESULT RlpEncoderAppendObjectToList. The relevant code was incorrectly modified when modifying issue #536. Repair the RlpEncoderAppendObjectToList return values for BSINT32, and fix the other affected code.


Invalid resource ID error when deleting firewall rule

One of the IDs returned by az sql server firewall-rule list -g [myResourceGroup] -s [myServer] returns an 'Invalid resource ID' error when used with az sql server firewall-rule delete --ids [idForResource]
The ID returned does have a different format to the other IDs.  It has hypens instead of colons in the date: /subscriptions/[mySubscription]/resourceGroups/[myResourceGroup]/providers/Microsoft.Sql/servers/[myServer]/firewallRules/ClientIPAddress_2020-8-13_12-49-41
To Reproduce
Create some firewall rules on an Azure SQL Server
Run az sql server firewall-rule list -g [myResourceGroup] -s [myServer] to get a list of firewall rules
If IDs for any of them include hypens in the rule ID, try and delete using az sql server firewall-rule delete --ids [idForResource]
Expected behavior
The IDs return by az sql server firewall-rule list should be usable by az sql server firewall-rule delete
Environment summary
Installed via MSI: azure-cli-2.10.1.msi
azure-cli                         2.10.1

command-modules-nspkg              2.0.3
core                              2.10.1
nspkg                              3.0.4
telemetry                          1.0.4

Extensions:
application-insights               0.1.1

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'

Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.

Windows:  Version	10.0.17763 Build 17763
Shell: gitbash

sql

This issue is fixed. Please upgrade to latest version of az cli 2.39.0
az sql server firewall-rule delete --ids /subscriptions//resourceGroups/issue13587/providers/Microsoft.Sql/servers/issue13587server/firewallRules/ClientIPAddress_2020-8-13_12-49-41


Add ULYSS App to showcase

We have just launched our app ULYSS. It is an app to find your travel inspiration and its completely in react-native (which we felt in love with). We wrote an article about it here: https://medium.com/@Ulyss/todays-travel-world-has-infinite-possibilities-b48c962213c2

Thanks for sending this pull request. According to the guidelines in that file, "infoLink" must be one of:
1/ An English-language news article discussing the app, built either by a funded startup or for a public company
2/ An English-language technical post on a funded startup or public company blog discussing React Native
I am going to close this, but if you have one of those two things, feel free to reopen with a new link.

Hello @hramos,
thank you for your feedback. I totally understand your point. We actually are a german start up founded this year. We just released the app to the app store which was quite a big milestone for us as also our technology is pretty new :) The article we put into the infoLink was supposed to show that we are an start up. Please let me know in what direction we should change the copy so we will adjust it accordingly. But we think it actually meets exactly criteria 1.
In case you need the link again: https://medium.com/@Ulyss/todays-travel-world-has-infinite-possibilities-b48c962213c2

Currently this PR fails to meet the guidelines in #1. We generally look for a news article on a well known newspaper. You can look at previous examples in the showcase.


Add some best effort support

Add minimal Micro-XRCE-DDS best effort support

Done in https://github.com/micro-ROS/rmw-microxrcedds/pull/57


Add langterm for "99+" on the count badge since not all languages use the + sign

I was looking through portfolio which will use the count badge, and I noticed it had a langterm for "99+". I've added a similar langterm here, calling it just plus instead of "99+" since the badge can have an arbitrary amount of digits.

I've got the input-time-range flake here as well. The visual diffs should pass once it's skipped with Stacey's PR.


Add options to resolveSnapshotPath

My team wants to save our snapshots in different files, depending on some variables that are defined by a table (describe.each). Specifically we want to run the same test for various versions of clients. Storing all of these snapshots in the same file has some very annoying downsides, because the diff tools will confuse the addition and deletion of versions and display generally unhelpful outputs for human review.
Today the snapshot path depends only on the test file and the extension (.snap) and given that it runs in a different thread (using some RPC protocol) we can't pass down variables using AsyncLocalStorage or other mechanisms with global state.
This PR adds the easily customizable Test.Context object to the snapshot resolver, allowing users to conveniently specify a different path per context.
I'm not sure this works due to the nature of the RPC: can it send other parameters than strings? Does it fall apart if the object isn't JSON serialisable? I'm not sure. But I wanted to create this PR already, to make the proposal and gather some opinions.

I'm not sure this works due to the nature of the RPC: can it send other parameters than strings? Does it fall apart if the object isn't JSON serialisable? I'm not sure. But I wanted to create this PR already, to make the proposal and gather some opinions.

These are the rules for serialisation: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
If it fails to clone, it will throw an error.

I am not against the idea, but we will need to change how we resolve snapshot paths. If we change resolveSnapshotPath from function to a string (path to a module), then we can import it inside test thread, and pass whatever we want. This will be a breaking change:
- resolveSnapshotPath?: (path: string, extension: string) => string
+ resolveSnapshotPath: string

The module should return default as a function that we used previously.

My team wants to save our snapshots in different files

We have the exact same problem. We'd like to use vitest but are now stuck using jest with https://github.com/igor-dv/jest-specific-snapshot

I'm using workspace and browser mode and here is my 2 cents:

to work with workspace, the approach also need projectRoot. For string approach, that means some templating ({projectRoot}/... or <projectRoot>/...)
page.screenshot() creates images with counter (a.spec.tsx/test-something-{1..n}.png). resolveSnapshotPath() does not have a way to do the same. Need that counter or additional templating.


ImageBufAlgo: Initial implementation of st_warp transform function

Description
Add a new ImageBufAlgo::st_warp function, intended to closely match the behavior of Nuke's STMap node.
The function takes a source ImageBuf to warp, and a secondary ImageBuf containing channels to treat as normalized image space (i.e. st) coordinates. For each pixel in the st buffer, the coordinates are used to look up a source pixel position, which is then sampled using a filter to produce a new output pixel.
The transform is currently only defined over the geometry of the st buffer (again, matching the behavior of the Nuke node), with the expectation that any desired scaling should be done to the st buffer prior to warping.
One notable difference between the Nuke node and this implementation is the filtering behavior: for better or worse, Nuke's filtering API does some extra level of interpolation/smoothing on top of the raw filter results (possibly just an extra linear filtering pass).
This set of changes has been developed off of dev-2.3 and then rebased onto master for the PR, so it is known to be portable between those branches.
Tests
I have not added any new tests at this point. I didn't see any examples of testing the spatial IBA functions in imagebufalgo_test.cpp, so I'm not sure what the policy is there, or how best to ensure strict correctness.
Checklist:

[x] I have read the contribution guidelines.
[x] If this is more extensive than a small change to existing code, I
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
[x] I have updated the documentation, if applicable.
[x] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

I would recommend (if you think you can tackle it) adding oiiotool --st_warp, and then it becomes much easier to have robust tests for this by adding something appropriate to testsuite/oiiotool-xform/run.py.

I've added oiiotool --st_warp, and also added a new test to testsuite/oiiotool-xform/run.py.
However, I wanted to run something strange by you.
Initially, I generated my test reference from the existing reference resize.tif in the OIIO repo:
oiiotool -i testsuite/oiiotool-xform/ref/resize.tif --pattern fill:topleft=0,0,0:topright=1,0,0:bottomleft=0,1,0:bottomright=1,1,0 256x256 3 --powc 1.2 --st_warp -o testsuite/oiiotool-xform/ref/st_warped.tif
However, using that as my reference image was causing consistent test failures due to differences above the minimum difference threshold when compared with the output that used the resize.tif generated by the testsuite:
Comparing "st_warped.tif" and "ref/st_warped.tif"
256 x 256, 4 channel
  Mean error = 0.000463329
  RMS error = 0.00135965
  Peak SNR = 57.3314
  Max error  = 0.0078432 @ (13, 41, R)  values are 0.752941, 0.423529, 0.423529, 0 vs 0.745098, 0.423529, 0.423529, 0
  0 pixels (0%) over 0.008
  190 pixels (0.29%) over 0.004
FAILURE

I checked out the raw diff in Nuke, and the pixel differences are all 0-2 8-bit code values apart.
I then went back and regenerated my reference image from the resize.tif generated by the testsuite:
oiiotool -i build/platform-linux/gcc-6.3.1/boost\=\=1.70.0/python-2.7/\!nuke/testsuite/oiiotool-xform/resize.tif --pattern fill:topleft=0,0,0:topright=1,0,0:bottomleft=0,1,0:bottomright=1,1,0 256x256 3 --powc 1.2 --st_warp -o src/testsuite/oiiotool-xform/ref/st_warped.tif
Using this new reference image does not cause the same test failure, and this is the reference image I have added to the PR.
I wanted to mention this because I don't know how to explain it; the reference testsuite/oiiotool-xform/ref/resize.tif and the resize.tif generated by the testsuite on my end compare identical in Nuke and using idiff -warn 1e-08, so I'm not sure how they could be producing different results after the st_warp.
I also tested what would happen if I generated my reference image directly from the original grid.tif found in the oiio-images repo:
oiiotool -i ../oiio-images/grid.tif --resize 256x256 --pattern fill:topleft=0,0,0:topright=1,0,0:bottomleft=0,1,0:bottomright=1,1,0 256x256 3 --powc 1.2 --st_warp -o testsuite/oiiotool-xform/ref/st_warped.tif
This also causes test failures when compared with the resize.tif generated by the testsuite, with even greater pixel differences. However, if I change my test case to also start from grid.tif and do the resize on the fly before warping, it works.
Let me know if you have any insights or concerns.

I would encourage you to also add docs for the new oiiotool command in oiiotool.rst (though I can give that a stab after this merges, if you just don't have the time for it).

Whoops, I missed this one. I'll take a look at this tomorrow.

OK, I've added an --st_warp section to oiiotool.rst (and hopefully fixed the issue that broke the CI jobs).

LGTM!

@nrusch, do you want this backported to 2.3?

Yes please, that would be great. Thanks!


WalletConnect V2 Browser Errors

Description
When trying to connect with Keplr mobile through WalletConnect, cryptic errors are often thrown, leading to failed connections.
Steps to reproduce
Error: No matching key. history:<PHONE_NUMBER>591554.

Start this repo package/exampledev server.
Click on connect wallet
Click on Keplr Mobile wallet
Scan QR with Keplr wallet
Disconnect but keep Keplr Mobile Wallet open
Refresh website
Try to connect to Keplr Mobile again

Error: Chain {chain_id} is not connected yet, please check the session approval namespaces.
This error is coming from the WalletConnect Sign client.

Start this repo's package/exampledev server.
Click on connect wallet
Click on Keplr Mobile wallet
Scan QR with Keplr wallet

Possible solutions

[ ] Update WalletConnect client's version in packages/walletconnect
[ ] Allow catching errors so users can try reconnecting. Currently, errors get thrown globally.

@JoseRFelix

Error: No matching key. history:<PHONE_NUMBER>591554.

Fixed. (Remember also upgrade @cosmos-kit/core.)
Btw, there are Errors from walletconnect emitter that we cannot catch from CosmosKit side. Except that, we'll always catch errors so that users can try reconnecting when it's WalletStatus.Error.

Error: Chain {chain_id} is not connected yet, please check the session approval namespaces.

This error is from CosmosKit and it means you're requesting chain address that not approved in session. If you're building session manually by calling walletClient.connect(chainIds: string | string[]), make sure the target chainId is included in connect argument


enable Highlights for rust binding

enable Highlights so it can be used in Lapce and tree-sitter supported editors in Rust

Thanks!
Sorry for the delay -- life has been bonkers. As I've noted on another issue/pr, I'm going to see if I can transfer ownership of this repo to the tree-sitter org and increase number of co-maintainers.


[SUPPORT] Duplicate rows found in Hudi non partitioned table.

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
We have Postgres data coming from debezium connector via Kafka. We are running Hudi in upsert mode on this dataset, we have seen that there are around 12 records which has two versions of data for the same id instead of updating the latest values and cleaning the old record.
We are yet not clear how this is the case since this data is from older commits.
To Reproduce
Steps to reproduce the behavior:

Start Postgres Debezium Kafka connector and publish data to Kafka
Run Hudi in upsert mode
We are not sure whether there are any crashes happened during those commits.
Use below configurations.5.

hoodie.compaction.payload.class=org.apache.hudi.common.model.debezium.PostgresDebeziumAvroPayload
hoodie.table.type=MERGE_ON_READ
hoodie.table.metadata.partitions=
hoodie.table.precombine.field=_event_lsn
hoodie.table.partition.fields=
hoodie.archivelog.folder=archived
hoodie.timeline.layout.version=1
hoodie.table.checksum=4134192528
hoodie.datasource.write.drop.partition.columns=false
hoodie.table.recordkey.fields=id
hoodie.partition.metafile.use.base.format=false
hoodie.populate.meta.fields=true
hoodie.table.keygenerator.class=org.apache.hudi.keygen.NonpartitionedAvroKeyGenerator
hoodie.table.base.file.format=PARQUET
hoodie.table.version=5
Expected behavior
We expect only version of the record to be available in the latest queried data.
Environment Description

Hudi version : 0.12.1

Spark version : 3.2.1

Hive version : 2.3.5

Hadoop version : 2.7.7

Storage (HDFS/S3/GCS..) : GCS

Running on Docker? (yes/no) : yes.

Additional context
hoodie.datasource.write.recordkey.field=id
hoodie.datasource.write.partitionpath.field=
hoodie.datasource.write.keygenerator.class=org.apache.hudi.keygen.NonpartitionedAvroKeyGenerator
hoodie.cleaner.policy=KEEP_LATEST_COMMITS
hoodie.clean.automatic=true
hoodie.clean.async=true
hoodie.cleaner.commits.retained=5
hoodie.keep.min.commits=10
#compaction config
hoodie.datasource.compaction.async.enable=true
hoodie.parquet.small.file.limit=104857600
hoodie.compaction.target.io=50
Stacktrace
Id              updated          _hoodie_commit_time. _event_lsn
Aa5udG<PHONE_NUMBER><PHONE_NUMBER>5316627<PHONE_NUMBER>216
Aa5udG<PHONE_NUMBER><PHONE_NUMBER>5102633<PHONE_NUMBER>232
Aa61Gb<PHONE_NUMBER><PHONE_NUMBER>5802500<PHONE_NUMBER>632
Aa61Gb<PHONE_NUMBER><PHONE_NUMBER>5102633<PHONE_NUMBER>008
Aa7hZx<PHONE_NUMBER><PHONE_NUMBER>5802500<PHONE_NUMBER>768
Aa7hZx<PHONE_NUMBER><PHONE_NUMBER>5102633<PHONE_NUMBER>944
Aa81Sq<PHONE_NUMBER><PHONE_NUMBER>5802500<PHONE_NUMBER>680
Aa81Sq<PHONE_NUMBER><PHONE_NUMBER>5825061<PHONE_NUMBER>408
AbB9sW<PHONE_NUMBER><PHONE_NUMBER>4051271<PHONE_NUMBER>664
AbB9sW<PHONE_NUMBER><PHONE_NUMBER>1740419<PHONE_NUMBER>480
OiYzUz<PHONE_NUMBER><PHONE_NUMBER>5716390<PHONE_NUMBER>024
OiYzUz<PHONE_NUMBER><PHONE_NUMBER>5716390<PHONE_NUMBER>024
XxNzFk<PHONE_NUMBER><PHONE_NUMBER>2337760<PHONE_NUMBER>520
XxNzFk<PHONE_NUMBER><PHONE_NUMBER>1024733<PHONE_NUMBER>520
YxNzFk<PHONE_NUMBER><PHONE_NUMBER>2337760<PHONE_NUMBER>096
YxNzFk<PHONE_NUMBER><PHONE_NUMBER>1024733<PHONE_NUMBER>840
YbB9sW<PHONE_NUMBER><PHONE_NUMBER>4051271<PHONE_NUMBER>976
YbB9sW<PHONE_NUMBER><PHONE_NUMBER>1740419<PHONE_NUMBER>960
ZxNzFk<PHONE_NUMBER><PHONE_NUMBER>2337760<PHONE_NUMBER>544
ZxNzFk<PHONE_NUMBER><PHONE_NUMBER>1024733<PHONE_NUMBER>272
ZanXvJ<PHONE_NUMBER><PHONE_NUMBER>3657677<PHONE_NUMBER>408
ZanXvJ<PHONE_NUMBER><PHONE_NUMBER>2439193<PHONE_NUMBER>744
ZbB9sW<PHONE_NUMBER><PHONE_NUMBER>4051271<PHONE_NUMBER>496
ZbB9sW<PHONE_NUMBER><PHONE_NUMBER>1740419<PHONE_NUMBER>128

Are these records belong to the same file group?

Are these records belong to the same file group?

yes, these are all in the same file group.

can you provide us complete list of write configs. if you are setting operation type to "bulk_insert", you could find duplicates.
wrt non partitioned, the key gen class is "org.apache.hudi.keygen.NonpartitionedKeyGenerator"

@BalaMahesh genetle reminder to share the complete list of write configs.

Closing due to inactivity but the issue is fixed in https://github.com/apache/hudi/pull/7944
This is due to non-partitioned table having null partition value.

Reopening to validate the fix.

The linked patch contains unit tests. also, tried reproducing locally w/ some failures as well. could not reproduce.
closing the issue as not valid anymore.


Provide TLS Certificate to kubelet service status request

This change enhances the security of the kubelet service request in the
control plane manager by providing a TLS certificate when making the
request.

Provide a CertStorageReader to the Manager
Re-use PrepareCredentials function from certificates package to create
the proper certificates
Change TLSConfig providing Certificates and setting InsecureSkipVerify
to false

see https://issues.redhat.com/browse/ECOPROJECT-1421

/retest

/retest

/lgtm
/hold
giving chance for others to review

I'n not confident that this works tbh. The certificate you use here is self signed, and it's intended to be used by SNR's peer health check, so for connections between SNR pods only. It's not a cert created by the API server. So I'm not sure if kubelet will actually accept the cert.
Since there isn't a test case which uses the modified code, test results are useless.
Did you verify that this is works in a manual test?
/hold

I also expect InsecureSkipVerify: false, to fail, because we don't have a cluster CA cert to verify kubelet's server cert

Since there isn't a test case which uses the modified code, test results are useless.

I didn't consider this, I expected e2e test to cover this case. I'll figure out a new test then

This PR needs rework, since the solution proposed does not work

Closing the PR while rethinking the solution


Default config for max opened files

I got this error using the image:
MeiliSearch ApiException: Http Status: 500 - Message: Too many open files (os error 24) - Error code: internal - Error type: internal_error - Error link: https://docs.meilisearch.com/errors#internal

@alallema  hi, is this problem resolved ? i still face with this error with meilisearch version 0.28.1

Hi @hungdhm-0574,
Depending on your dataset size it could cf doc. But if you encounter this error in another situation than the one described I recommend you to open an issue on meilisearch repository directly.


Task 1 didn't create any extension when Upgrading Customized C/AL Application to Microsoft Base Application version 20

In the Task 1 section, we didn't be asked to create an extension. However, at Task 13, the document asked to publish the extension created from Task 1. It should be talking Task 3? I am not sure.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 54fd2f80-bc84-9513-e36a-80bc01271483
Version Independent ID: 54fd2f80-bc84-9513-e36a-80bc01271483
Content: Upgrading Customized C/AL Application to Microsoft Base Application for version 20 - Business Central
Content Source: dev-itpro/upgrade/upgrade-to-microsoft-base-app-v20.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

We've fixed the article, and the update will be published soon. Thanks for the feedback!


Uncaught TypeError: Cannot read property '__attachedInstances' of undefined

https://cdn-origin.vaadin.com/vaadin-overlay/3.2.0-alpha1/demo/
Chrome/Windows

fixed in 47674b9247905b57f80229a89b1fe05a785f29ee


⚠ Cioos National CKAN Sitemap has degraded performance

In 3d6ffe7, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 27114 ms

Resolved: Cioos National CKAN Sitemap performance has improved in 760181b after 3 minutes.


Upgrade to cypress 12

Fixes
https://issues.redhat.com/browse/HAC-3334
Description
Upgrade cypress to latest version and update the test runner image

/retest

/retest

/retest

/retest

/retest

/retest

/lgtm


Added ability to hide sensative logs

I know this isn't ready to be merged, but the main idea is there.
Below is an example of posting some splash code, along with some variables to be executed (I pretty printed the JSON for readability):
[-] Log opened.
[-] Splash version: 3.2
[-] Qt 5.9.1, PyQt 5.9, WebKit 602.1, sip 4.19.3, Twisted 16.1.1, Lua 5.2
[-] Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
[-] Open files limit: 1048576
[-] Can't bump open files limit
[-] Xvfb is started: ['Xvfb', ':437071335', '-screen', '0', '1024x768x24', '-nolisten', 'tcp']
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[-] proxy profiles support is enabled, proxy profiles path: /etc/splash/proxy-profiles
[-] verbosity=1
[-] slots=50
[-] argument_cache_max_entries=500
[-] Web UI: enabled, Lua: enabled (sandbox: enabled)
[-] Server listening on <IP_ADDRESS>:8050
[-] Site starting on 8050
[-] Starting factory <twisted.web.server.Site object at 0x7fd12b120a20>
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
process 1: D-Bus library appears to be incorrectly set up; failed to read machine uuid: UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text
See the manual page for dbus-uuidgen to correct this issue.
In the main
[events] {
    "rendertime": 0.043580055236816406,
    "method": "POST",
    "user-agent": "PostmanRuntime/7.3.0",
    "load": [
        0.12,
        0.05,
        0.01
    ],
    "status_code": 200,
    "fds": 16,
    "timestamp":<PHONE_NUMBER>,
    "path": "/execute",
    "active": 0,
    "qsize": 0,
    "args": {
        "posted_json": {
            "password": "Sup3rSaf3",
            "email"<EMAIL_ADDRESS>        },
        "lua_source": "function main(splash)\n\tprint('In the main')\nend",
        "uid":<PHONE_NUMBER>30744
    },
    "maxrss": 90304,
    "_id":<PHONE_NUMBER>30744
}
[11/Oct/2018:22:50:01 +0000] "POST /execute HTTP/1.1" 200 - "-" "PostmanRuntime/7.3.0"

As you can clearly see it logs posted_json which contains our sensitive info (email, password, proxy configs, etc.) as well as lua_source which can also contain sensitive information.
As a solution I've added a command line arg that will disable the logging of these features.
Below is an example of the same code being posted to the endpoint with my changes in place
Log opened.
Splash version: 3.2
Qt 5.9.1, PyQt 5.9, WebKit 602.1, sip 4.19.3, Twisted 16.1.1, Lua 5.2
Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
Open files limit: 1048576
Can't bump open files limit
Xvfb is started: ['Xvfb', ':1593578320', '-screen', '0', '1024x768x24', '-nolisten', 'tcp']
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
proxy profiles support is enabled, proxy profiles path: /etc/splash/proxy-profiles
verbosity=1
slots=50
argument_cache_max_entries=500
Web UI: enabled, Lua: enabled (sandbox: enabled)
Server listening on <IP_ADDRESS>:8050
Site starting on 8050
Starting factory <twisted.web.server.Site object at 0x7fb258b12a20>
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
process 1: D-Bus library appears to be incorrectly set up; failed to read machine uuid: UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text
See the manual page for dbus-uuidgen to correct this issue.
In the main
[events] {
    "args": {
        "uid":<PHONE_NUMBER>47704
    },
    "timestamp":<PHONE_NUMBER>,
    "client_ip": "<IP_ADDRESS>",
    "fds": 16,
    "_id":<PHONE_NUMBER>47704,
    "status_code": 200,
    "rendertime": 0.03467202186584473,
    "path": "/execute",
    "method": "POST",
    "load": [
        0.08,
        0.07,
        0.01
    ],
    "active": 0,
    "user-agent": "PostmanRuntime/7.3.0",
    "qsize": 0,
    "maxrss": 90444
}
[11/Oct/2018:22:54:02 +0000] "POST /execute HTTP/1.1" 200 - "-" "PostmanRuntime/7.3.0"

As you can see, there's no lua_source or posted_json
Please feel free to comment on this PR and we can work together to get the feature wrapped into splash!
Thanks
Jack

Hi! I think it makes sense to have a way to prevent args from being put to logs. It is not only about security: if you're doing large crawls, and use lua scripts or cookies heavily, args may take a lot of disk space, and cause quite a lot of IO.


Method names of Table

Is your feature request related to a problem?
Some method names of Table don't clarify whether they work on rows or on columns. Also, summary neither fits the from/to pattern nor does it start with a verb.
Desired solution

Rename group_by to group_rows_by
Rename split to split_rows
Rename summary to summarize_statistics
Also update the names of test files and the contained tests accordingly.

Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

Can be done after #332 is merged.

:tada: This issue has been resolved in version 0.15.0 :tada:
The release is available on:

v0.15.0
GitHub release

Your semantic-release bot :package::rocket:


Add tracking for the PATCH HTTP method

Simple change to switch the output for a PATCH request from "Unknown" to match the rest of the HTTP method outputs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks Doug!


Remove extra padding/margin for sidebar-toggler

On small devices, there's an extra padding/margin to the left of .sidebar-toggler we need it removed.

I would like to work on this.

Thank you for contributing @hauchongtang but this issue is meant for first timers only and as it says in the contribution guide, issues with the label first-timers-only are for beginners. If you wanna contribute please checkout other issues that don't have the first-timers-only label. Thank you!

Can I work on this issue?

sure!


Using node name as tag for CI

We'll be using node name as a tag while pushing/pulling quay images
for CI, which would be replaced by node_name.

/rerun minishift

/rerun minishift


Autoplay Dots stuck in the active opacity setting on Chrome after you click it

Hi, I don't know what the exact problem is, but on chrome the dots will stay stuck on active opacity after you click on it. Here's fiddle that reproduces the problem. Click on any dot and when it autoplays, you can see that it's stuck. This doesn't seem to occur on Safari.
http://jsfiddle.net/N6wfG/111/

Saw this problem today with 1.5.7

thats the focus css class

Was just about to update with that same answer. Perhaps focus should have a different style than the active slide in the default theme.

noted for 2.0, @kyleatfine  :+1:


Feature Request: Download a Portion of Video with youtube-dl

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a site-specific feature
[X] I've verified that I'm running yt-dlp version 2023.10.13 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Example URLs
Suggested Behavior:

Add an option to specify the start time and end time when downloading a video. For example:

youtube-dl --start-time 01:30 --end-time 02:00 https://www.youtube.com/watch?v=VIDEO_ID

Provide a description that is worded well enough to be understood
Feature Request: Download a Portion of Video with youtube-dl
Description:
I would like to request a new feature for youtube-dl that allows users to download a specific portion of a video by specifying a start time and an end time. This feature would be particularly useful for users who want to download only a certain segment of a longer video.
Proposed Implementation:
One way to implement this feature could be by introducing additional command-line arguments, such as --start-time and --end-time, to youtube-dl. Users would provide the start and end times in the format "HH:MM:SS," and youtube-dl would download the video from the specified start time to the end time.
Suggested Behavior:

Add an option to specify the start time and end time when downloading a video. For example:

youtube-dl --start-time 01:30 --end-time 02:00 https://www.youtube.com/watch?v=VIDEO_ID

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
galib@galib:/mnt/c/Users/mahfu/$ yt-dlp -vU
[debug] Command-line config: ['-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b634ba742] (pip)
[debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35 (OpenSSL 3.0.11 19 Sep 2023, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.19.0, brotli-None, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.41.2, websockets-12.0
[debug] Proxy map: {}
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>galib@galib:/mnt/c/Users/mahfu/$ yt-dlp -U
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>

is --download-sections sufficient for your usecase?

Yes you want --download-sections "*01:30-02:00" (read about in --help).
Alternatively you are using the wrong tracker when trying to request youtube-dl features on the yt-dlp issue tracker.

thanks it works and its implemented better than i imagined i really like the regex thingy, thats gonna be really useful for me


Introduce Bot Filtering

Coverage remained the same at 100.0% when pulling de9e104fafcbde968202dcc98dc48c3521c0de6a on rashid/bot_filtering into c1ca00d7a73581fd5fbafff692e343490d8448b3 on master.

@rashidsp can you resolve conflicts?

Looks good.


lein dev fails with the newest template version (1.0.4)

After creating a new project using the newest version of the template (1.0.4), the lein dev fails on invalid shadow-cljs config:
invalid config
-- Spec failed --------------------

  {:cache-root ...,
   :builds {:npm ..., :app ..., :devtools {:http-root "resources/public", :http-port 8280, :build-id :devtools}},
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   :lein ...,
   :nrepl ...,
   :browser-test ...,
   :karma-test ...,
   :user-config ...}

should contain key: :target

|     key |                                          spec |
|---------+-----------------------------------------------|
| :target | (fn [%] (or (simple-keyword? %) (symbol? %))) |

The problem seems to be with incorrectly generated shadow-cljs.edn file which looks like has an extra } at the end of :modules:
:modules         {:app {:init-fn striker.core/init
                                        :preloads [devtools.preload]}}}

After removing it, it seems to work fine. To reproduce the issue you can run:
lein new re-frame project +test
yarn install
lein dev

Thanks

Fixed in 1.0.5.
Thanks for the bug report and apologies that this slipped through testing for 1.0.4!

Thank you for a quick fix!


cherry-pick RCCL2 into r1.14-rocm branch

@sunway513 need your help validating this PR

Yes, working on validating this PR to the release branch, stay tuned.

The CI build went trough correctly, and it works okay for my manual build. LGTM.


Menu cannot dynamically load Queues

Does the current code support dynamic loading of lists?

As the docs stated, createBullBoard returns an object with list modification, you can add, remove, replace dynamically as you want.
const { addQueue, removeQueue, setQueues, replaceQueues } = createBullBoard({
  queues: [new BullAdapter(someQueue), new BullAdapter(someOtherQueue), new BullMQAdapter(queueMQ)],
  serverAdapter: serverAdapter,
});


[Feature][JsonSplit-api] api module controller design

continuation of #4417

processDefinition save/update interface
processDefinition switch interface
processDefinition delete interface
processDefinition copy interface
processDefinition export interface
processDefinition list-paging interface
processDefinition move interface
processDefinition queryProcessDefinitionAllByProjectId interface
processDefinition select-by-id interface
processDefinition view-tree interface
schedule create interface
schedule list-paging interface
schedule update interface
taskDefinition save interface
taskDefinition update interface
taskDefinition switch interface
taskDefinition query interface
taskDefinition delete interface
WorkFlowLineage interface
analysis interface
executors interface
processInstance interface
project interface

There should use taskCode instead of taskId and remove name in locations field, and connects field will be deleted, because connects can obtained from relations

The projectCode will be instead of projectName in the method of ProjectService.checkProjectAndAuth


iOS Crash on 5.4 - Podfile

@gonniegijsen commented on Fri Jun 07 2019
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 5.4.0
Cross-platform modules: 5.4.1
Android Runtime: 5.4.0
iOS Runtime: 5.4.1
Plugin(s): None

Describe the bug

The application is crashing on a real device on iOS (iPhone 7; iOS: 12.2) after including this podfile:
platform :ios, '10.0'
pod 'EstimoteProximitySDK'

Crash I am getting:
Unzipping LiveSync folder. This could take a while...
Unzipped 51 entries in 65.775990ms.
tns_modules folder not livesynced. Using tns_modules from the already deployed bundle...
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1   0x104c8385c NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2   0x104cc2448 -[TNSRuntime executeModule:referredBy:]
3   0x1046705bc
4   0x1ac6a68e0 <redacted>
JavaScript stack trace:
1   stringWithString@file:///app/vendor.js:36015:49
2   @file:///app/vendor.js:36015:49
3   ../node_modules/tns-core-modules/utils/utils.js@file:///app/vendor.js:36064:3
4   __webpack_require__@file:///app/runtime.js:751:34
5   fn@file:///app/runtime.js:121:39
6   ../node_modules/tns-core-modules/file-system/file-system-access.js@file:///app/vendor.js:5348:34
7   __webpack_require__@file:///app/runtime.js:751:34
8   fn@file:///app/runtime.js:121:39
9   ../node_modules/tns-core-modules/file-system/file-system.js@file:///app/vendor.js:5686:47
10  __webpack_require__@file:///app/runtime.js:751:34
11  fn@file:///app/runtime.js:121:39
12  ../node_modules/tns-core-modules/utils/debug.js@file:///app/vendor.js:35496:40
13  __webpack_require__@file:///app/runtime.js:751:34
14  fn@file:///app/runtime.js:121:39
15  @file:///app/vendor.js:13156:34
16  ../node_modules/tns-core-modules/ui/builder/builder.js@file:///app/vendor.js:13767:34
17  __webpack_require__@file:///app/runtime.js:751:34
18  fn@file:///app/runt<\M-b\M^@\M-&>
JavaScript error:
file:///app/vendor.js:36015:49: JS ERROR Error: *** -[NSPlaceholderString initWithString:]: nil argument
*** JavaScript call stack:
(
)
*** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: *** -[NSPlaceholderString initWithString:]: nil argument
at
1   stringWithString@file:///app/vendor.js:36015:49
2   @file:///app/vendor.js:36015:49
3   ../node_modules/tns-core-modules/utils/utils.js@file:///app/vendor.js:36064:3
4   __webpack_require__@file:///app/runtime.js:751:34
5   fn@file:///app/runtime.js:121:39
6   ../node_modules/tns-core-modules/file-system/file-system-access.js@file:///app/vendor.js:5348:34
7   __webpack_require__@file:///app/runtime.js:751:34
8   fn@file:///app/runtime.js:121:39
9   ../node_modules/tns-core-modules/file-system/file-system.js@file:///app/vendor.js:5686:47
10  __webpack_require__@file:///app/runtime.js:751:34
11  fn@file:///app/runtime.js:121:39
12  ../node_modules/tns-core-modules/utils/debug.js@file:///app/vendor.js:35496:40
13  __webpack_require__@file:///app/runtime.js:751:34
14  fn@file:///app/runtime.js:121:39
15  @file:///app/vendor.js:13156:34
16  ../node<\M-b\M^@\M-&>
Successfully synced application org.nativescript.testestimote on device

This crash happens when the app is launching and wasn't doing so on Nativescript 5.3.1
To Reproduce
Create a new project with typescript or angular.
Add Podfile
platform :ios, '10.0'
pod 'EstimoteProximitySDK'

Enable ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES
Run the app on a real device
tns run ios

Expected behavior
No crash
Sample project

Additional context

This issue was not happening before 5.4.0
It doesn't crash on the simulator with the same specs; Only on real device

@tsonevn commented on Fri Jun 07 2019
Hi @gonniegijsen,
Can you send us the project, that you are using for testing and demonstrates, how you are calling the native API from the JavaScript?

@gonniegijsen commented on Fri Jun 07 2019
I can reproduce it with by creating a new project, adding the pod file and not writing any code :/

@gonniegijsen commented on Fri Jun 07 2019
test-ios-crash.zip

@tsonevn commented on Fri Jun 07 2019
Hi @gonniegijsen,
We were able to recreate the issue on our side and I will mark it as a bug. We will research it further, why this problem appears only on a device.

Hi @gonniegijsen,
We discovered the reason for the crash with Estimote Proximity SDK. It has appeared in the latest version of {N} due to two different unrelated factors:

The tns-core-modules have stopped using the ios.getter function
Until now it has hidden an issue with metadata generation connected with the way we call clang to parse all native frameworks and libraries.

We will further research alternatives and provide a fix for iOS runtime's metadata generator but in the meantime as a workaround you may need to either downgrade your tns-core-modules dependency to 5.3.x (if that's possible) or manually prepare a custom NPM package from the tag 5.4.1 tag with this commit reverted.

@mbektchiev - Are you planning on reverting the ios.getter change; or will the metadata issue be fixed in like 5.4.2ish -- because I would venture a guess this probably will effect other plugins...

We plan to fix the metadata issue in a patch release (probably in 5.4.2 like you say). The ios.getter function was meant for a transition period and we don't want to revive its usage. If you are curious to know, this awkward behavior is caused by the definition of SWIFT_CLASS_EXTRA macro in the EstimoteProximitySDK-Swift.h header. All headers included in the umbrella-<arch>.h after this header start seeing this macro as defined, this leads to many changes in the metadata. The crash is caused by the fact that UIKit declares its internal macro UIKIT_DEFINE_AS_PROPERTIES as 0 like this:
#if (!defined(SWIFT_CLASS_EXTRA) || (defined(SWIFT_SDK_OVERLAY_UIKIT_EPOCH) && SWIFT_SDK_OVERLAY_UIKIT_EPOCH >= 1))
    #define UIKIT_DEFINE_AS_PROPERTIES 1
#else
    #define UIKIT_DEFINE_AS_PROPERTIES 0
#endif

Leading to declaring many properties as methods instead -- e.g. in UIDevice:
NS_CLASS_AVAILABLE_IOS(2_0) @interface UIDevice : NSObject
#if UIKIT_DEFINE_AS_PROPERTIES
@property(class, nonatomic, readonly) UIDevice *currentDevice;
#else
+ (UIDevice *)currentDevice;
#endif


cppcheck: change to C++ style pointer casting

[Http2ClientSession.cc:341]: (style) C-style pointer casting

[approve ci clang-analyzer]


Support overflowing anchors

Hi @hakimio ,
Regarding the two issues I created on this https://github.com/hakimio/ngx-ui-tour/issues/152 and https://github.com/hakimio/ngx-ui-tour/issues/153, I've added support for anchors overflowing their scrollContainer.
I tried to follow your style of code.
Regarding the scroll issue, my fix shouldn't change the previous behaviour unless the anchor is indeed overflowing its scrollContainer, and the user configured at least one of preferredScrollTargetX and preferredScrollTargetY.
According to you this is a rare and specific case so it shouldn't change break anything for the vast majority.

Just removed the options I originally, and everything related to horizontal overflow as I don't need it

Hi @hakimio, sorry about those links, good that you spotted those!
Also reverted the changes on step-config.component.ts

Thank you for your contribution 🙂

Thank you for your patience and reactiveness!


@@unique throws non meaningful error: "Query createOne*** is required to return data"

Bug description
Running the seed produces the following error Query createOneUserSettings is required to return data, but found no record(s).
Atleast from my perspective I don't see why we should get any error at all.
Quoting the prisma documentation:

A @@unique block is required if it represents the only unique constraint on a model without an @id / @@id
This suggests, that the given schema is valid to have entries added.

The same error is thrown, when we use the prisma.userSettings.upsert function.
Repository with branch to reproduce:
https://github.com/Haschikeks/prisma-zero-id/tree/unique-create-error
Edit:
For my use case, it is no problem to just add a
id  String    @id @default(uuid())

column to have a workaround.
How to reproduce

Use the provided repository with the branch: unique-create-error
Push or migrate the DB
Run prisma db seed
prisma exits with Query createOneUserSettings is required to return data, but found no record(s).

Expected behavior
The entry is correctly inserted in to the database.
Prisma information
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

model User {
  id           String         @id @default(uuid())
  UserSettings UserSettings[]
}

model Company {
  id           String         @id @default(uuid())
  UserSettings UserSettings[]
}

model UserSettings {
  userId    String
  startDate DateTime @db.Date()
  companyId String

  User    User    @relation(fields: [userId], references: [id])
  Company Company @relation(fields: [companyId], references: [id])

  @@unique([userId, startDate])
}

const company = await prisma.company.create({ data: { id: "a" } });
  const user = await prisma.user.create({ data: { id: "b" } });
  const userSettings: Prisma.UserSettingsUncheckedCreateInput = {
    userId: user.id,
    companyId: company.id,
    startDate: new Date(2023, 0, 1, 12),
  };

  const data = await prisma.userSettings.create({
    data: userSettings,
  });

Environment & setup

OS: macOS
Database: MySQL
Node.js version: v16.19.0

Prisma Version
prisma                  : 4.8.1
@prisma/client          : 4.8.1
Current platform        : darwin
Query Engine (Node-API) : libquery-engine d6e67a83f971b175a593ccc12e15c4a757f93ffe (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli d6e67a83f971b175a593ccc12e15c4a757f93ffe (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core d6e67a83f971b175a593ccc12e15c4a757f93ffe (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt d6e67a83f971b175a593ccc12e15c4a757f93ffe (at node_modules/@prisma/engines/prisma-fmt-darwin)
Format Wasm             : @prisma/prisma-fmt-wasm 4.8.0-61.d6e67a83f971b175a593ccc12e15c4a757f93ffe
Default Engines Hash    : d6e67a83f971b175a593ccc12e15c4a757f93ffe
Studio                  : 0.479.0

The error is triggered by the SELECT that follows on the INSERT actually. I think for some reason it can not read back what it just created. (As the database schema often has dynamic parts that are filled in, like auto generated values or times etc, we always read the value back right now - blunt hammer that could be smarter :/) Can you maybe try to run both of these commands with the params it logs?
If the second one does not return anything we have the explanation for the error message.

Thanks. Updated guess is that this is influenced by the DateTime/Date column. I think we have enough information to reproduce (and probably a bunch more issues that are related and that we will be able to connect to this).

No Problem. Thank you for looking into.
Something that confused me was the parameter for the startDate column. It's always shown as "2023-01-01 11:00:00 UTC".

Hi @janpio is there any update on this issue?
I'm able to reproduce this when date field is a primary key in MySQL.
Basic Schema:
`model transaction {
date                 DateTime                @db.Date
oid           String                         @db.VarChar(20)
aid                  String                  @unique(map: "aid") @default("") @db.VarChar(50)
@@id([date, oid, aid])
}`
When i perform prisma.transaction.create:
INSERT INTO appointment.transaction (date,doctor_oid,aid`) VALUES (?,?,?)
Params: ["2023-04-07 18:30:00 UTC","161419272566611","a2cd6ec7-5938-47c5-b2de-265e31e2a68b"]`
The above query works as expected and creates a new entry. However when prisma queries the database to fetch the newly created record using the following query:
SELECT appointment.transaction.date, appointment.transaction.doctor_oid, appointment.transaction.aidFROMappointment.transaction WHERE (appointment.transaction.date= ? ANDappointment.transaction.doctor_oid= ? ANDappointment.transaction.aid` = ?) LIMIT ? OFFSET ?
Params: ["2023-04-07 18:30:00 UTC","161419272566611","a2cd6ec7-5938-47c5-b2de-265e31e2a68b",1,0]`
MySQL Does not return any records since no records match can be found to the date value of 2023-04-07 18:30:00 UTC.
However if i pass a string 2023-04-07, or if i pass the iso string of the datetime, it seems to work properly.
Kindly correct me if i'm doing something wrong.

Thanks for this information, the original schema of @Haschikeks also had the date as a primary key - so that is a very good lead.

Hi, I can still reproduce this issue on Prisma 5.19.1.
As commented above, the issue is triggered by having a Date field as part of the primary key.
Let's consider the following Prisma model on MySQL InnoDB:
model UserSettings {
  userId    String
  startDate DateTime @db.Date()
  companyId String

  User    User    @relation(fields: [userId], references: [id])
  Company Company @relation(fields: [companyId], references: [id])

  @@unique([userId, startDate])
}

When there's no explicit @id, the smallest unique index is promoted to primary key.
In this case, this is the compound unique index @@unique([userId, startDate]) , which happens to comprise the field startDate, which has types DateTime @db.Date().
Currently, the workaround is to remove Date-like fields from primary keys.


Add endpoint for uploading new dog via URL

Could make it easy for chat bot devs to create commands for people to add dogs.

Is this being worked upon? @AdenFlorian


Feature/data feature extraction pipeline

Added TF (N-gram) & TF-IDF data extraction pipeline!

Still need future development for word-embeddings feature extraction


ObjectType field values needs to be described

Added more description of what the ObjectType fields can be.
Some typing fixes are done.

Test PASSed.

Test FAILed.

verify

Test PASSed.


DOCS-25: max_connections in postgresql.conf, not pg_hba.conf

Thanks to Preston Howell, who reported this error.

Don't know why I didn't think to report this here! Oops

This issue is included in Pull #11, so closing as a duplicate.


[VS Code] An error occurred while sending the request.

Error:
An error occurred while sending the request.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.335

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.24.1

platformName
MacOS

platformVersion
17.6.0

@rangaraireddy Thanks so much for reporting this! Can you check to see whether you have Auto Proxy Discovery enabled in your System Preferences -> Network settings (underneath Advanced, then Proxies)? This appears to be a common cause for this error, and turning it off may resolve it for you. We're tracking this issue via #447, so I'm going to close this as a duplicate, but let me know if this unblocks you or not. Thanks!


can critical css task be added to 'gulp' task & watch?

I would probably only do this on a build/deploy, unless you want to do perf tests on local regularly?

You are probably right on that but it would have been nice to see it as part of the dev workflow. Just incase it produces errors and alike.
I'm still investigating how to get decent perf testing in.

Yes true, I've found it a little flaky recently and it has actually caused small errors, so might be wise to keep it in as a dev task for now and monitor the results, then when confident just have it as a deploy task. :octocat:

Maybe not do it on watch though, could affect build speed?

I did that in a previous test. I had it building on dev but it was simply appending the inline css over and over on each watch.

Can't make this work accurately


Ruler: add canExecute method

According to our F2F conversation, canExecute will not address the root problem you are trying to solve i.e., transactional capability support.

yes, it does solve it. The problem was that the design didn't look so good but there wasn't a better one


Cache discovery information.

Currently when discovery is used (rather than a full OIDC provider record including JWKs being provided in config) Quasar uses discovery to get the keys every time it needs to verify a token / return providers.
Instead this information should be cached after discovery.

@beckyconning Would you mind filing this over at slamdata/quasar-advanced?

I went ahead and moved this over to slamdata/quasar-advanced#143


CanResize="False" not working on Linux

Describe the bug
Some windows shouldn't be resized - this works fine on Windows, but has no effect on Linux (testing on Ubuntu).
To Reproduce
Create a window for cross-platforms application with CanResize="False".
You'll see that the window can indeed be resized on Linux.
Expected behavior
No response
Avalonia version
11.2.0
OS
Linux
Additional context
No response

I'm currently calling the following method at the end of some of my window constructors (just the ones I don't want resizable) to work-around the bug of Avalonia windows being always resizable in Linux:
	public static void PreventResizing(Window window)
	{
		// prevent resizing of window - Avalonia Linux target allows resizing even if "CanResize" is false

		if (Environment.OSVersion.Platform == PlatformID.Unix)
		{
			window.MaxHeight = window.Height;
			window.MaxWidth = window.Width;
			window.MinHeight = window.Height;
			window.MinWidth = window.Width;
		}
		else
			window.CanResize = false;
	}

Why doesn't the Avalonia property "CanResize" take care of this? Why doesn't "CanResize" work on Linux?


Supporting deepseek coder

Thanks for the great work!
The recent deepseek coder claims to support large and cross context. I am trying to evaluate them over cceval but unfortunately failed.
After some investigation, the model fails at this line because the output of deepseek coder further includes a feature called token_type_ids.
https://github.com/amazon-science/cceval/blob/0c490706f780a7b3d41e888e30602f4652edc85d/eval.py#L145
I tried to add the token_type_ids as an additional key in the feature to make it runnable but it produces results leading to worst performance.

I am curious if there is a good idea to better support such models?

I am able to fix this issue using the latest transformers library:
pip install transformers --upgrade


Add ApacheHTTP TI Rule

This change adds a new "(Preview) TI map IP entity to Apache HTTP" rule, modeled after the existing TI rule for IIS logs.
Proposed Changes

New TI Rule for ApacheHTTPServer
Updated ApacheHTTPServer function to include the Computer value in its output

This would be prohibitive performance wise, and would not work for many customers. The reason is that the Apache parser will work on 14 days of data each time, rather than just an hour. To make it work, the query cant use the parser, but rather parse out the relevant fields after filtering for time.


Fixes failing local unit tests

On some personal computers (namely on MacBooks) the following unit tests:

org.http4s.client.jetty.JettyClientSpec
org.http4s.client.okhttp.OkHttpClientSpec

may fail with the following errors correspondingly:
[error]  java.net.UnknownHostException: john-doe-macbookpro (SocketAddressResolver.java:170)
[error] org.eclipse.jetty.util.SocketAddressResolver$Async.lambda$resolve$1(SocketAddressResolver.java:170)
[error] org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
[error] org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)

and
[error]  java.net.UnknownHostException: john-doe-macbookpro (Dns.kt:49)
[error] okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
[error] okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:160)

It looks like the root cause is in this line:
      val address = new InetSocketAddress(
        InetAddress.getLocalHost(),
        server.getConnectors.head.asInstanceOf[ServerConnector].getLocalPort)

The problem is that on some machines InetAddress.getLocalHost return a result with a weird host name like john-doe-macbookpro (the same as hostname util does). Such host names cannot be further resolved which leads to the test failures.
This PR suggests to replace the InetAddress.getLocalHost method call with InetAddress.getLoopbackAddress. It should work fine for unit tests executed on local machines, although it hasn't been tried on any CI/CD yet.
If for some reason getLoopbackAddress won't work as expected in all possible scenarios, it can be changed to any of the following alternatives:

InetAddress.getLocalHost.getHostAddress
InetAddress.getLocalHost.getCanonicalHostName
InetAddress.getByAddress(InetAddress.getLocalHost.getAddress)

All these alternatives enforce using IP address part of the InetAddress.getLocalHost result.

Changed to InetAddress.getLocalHost.getCanonicalHostName, but some tests sporadically fails here although pass on my laptop without errors...


Unsupported architecture for Zephyr Tools

I get this error on my arm workstation
Linux fedora 6.3.8-450.asahi.fc38.aarch64 #1 SMP PREEMPT_DYNAMIC Tue Jun 20 23:55:43 UTC 2023 aarch64 GNU/Linux
How can I solve this? I can build zephyr just fine using the cli tools.

The tools don't support aarch64 Linux (only aarch64 Mac at the moment).  This also isn't the correct repository. Feel free to open a ticket here: https://github.com/circuitdojo/zephyr-tools