Make tests run

The tests currently don't start on master when running tox, erroring with:
DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Collecting nose==1.3.7
  Using cached nose-1.3.7-py2-none-any.whl
Collecting webassets==dev
  Could not find a version that satisfies the requirement webassets==dev (from versions: 0.4, 0.5, 0.6, 0.7, 0.7.1, 0.8, 0.9, 0.10, 0.10.1, 0.11, 0.11.1, 0.12.0)
No matching distribution found for webassets==dev

I've removed the deprecated pip flags and made the webassets dev version install from the Github master via a tarball, assuming that's what it was doing before through the now missing dev version on PyPI.
There are still failures in the test suite after this though:
======================================================================
FAIL: tests.test_django.TestLoader.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/adamj/Documents/Projects/django-assets/.tox/django19-py35/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/adamj/Documents/Projects/django-assets/tests/test_django.py", line 192, in test
    assert len(bundles) == 1
AssertionError

======================================================================
FAIL: tests.test_django.TestLoader.test_cached_loader
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/adamj/Documents/Projects/django-assets/.tox/django19-py35/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/adamj/Documents/Projects/django-assets/tests/test_django.py", line 202, in test_cached_loader
    assert len(bundles) == 1
AssertionError

----------------------------------------------------------------------
Ran 19 tests in 0.578s

webassets==dev isn't missing so much as pip no longer supports finding the dev version by following the link to the github page.
Thanks for the patch!


Update cordova-support-google-services

Can you guys please create a release?
The last commit was in dec 2018, but the last release was in may 2018... and we also have the cordova-support-google-services update commited in july 2018

Can you guys please create a release?
The last commit was in dec 2018, but the last release was in may 2018... and we also have the cordova-support-google-services updated committed in july 2018

without this it is not possible to implement lasted version of plugin "Firebase Analytics"

Please make a release with an updated cordova-support-google-services version!
This has become a blocking issue and needs to be solved ASAP!

@purplecabbage can someone from PhoneGap definitively weigh in here?

@purplecabbage @jpike88 Any news on this?
Should we tag someone else like macdonst who made the last releases?


fix(quantic): logic added to disable refine toggle when there is nothing to show in the filters tab

The issue:
The refine toggle button was always enabled giving the user the ability to pen the filters modal even if that modal doesn’t contain anything.
The solution:
The refine toggle button is now disabled in the following cases:

when there is no results.
when the sort is hidden and there is no facet rendered.

https://user-images.githubusercontent.com/86681870/186729222-57de1805-372a-45cf-8392-00d9bc2789f3.mov
To achieve I added the following logic:

To  know if there is results or not, the Quantic Refine Toggle component now subscribes to the search status headless controller.
To know of the sort is hidden or not, the Quantic Refine Toggle component relies on the property  hideSort passed it.
To know if no facet is rendered , I implanted a logic that will make all the facets communicate with the Quantic Refine Toggle component through events, in these events each facets tells the the Quantic Refine Toggle component if fits rendered or not.

I was also thinking if we should completely hide the button instead of disabling it when it's not needed, what do you think from a UX point of view?


add klayout_allow_missing_cell to klayout driver to allow to missing cells in stream files

Adds capability for libraries to specify cells which are not present in the provided GDS/OAS files

Usually you would not want this, but sometimes the IP may not have the GDS and it will be instantiated by the foundry


GPU not detected by yarn or spark

Hi,
I created a cluster with the gpu init-action using this command:
    --region=us-central1 \
    --enable-component-gateway \
    --zone=us-central1-a \
    --master-machine-type n1-standard-2 \
    --worker-machine-type n1-standard-2 \
    --image-version=2.0-debian10 \
    --initialization-actions "gs://${INIT_PATH}/install_gpu_driver.sh" \
    --metadata gpu-driver-provider=NVIDIA \
    --worker-accelerator type=nvidia-tesla-p4 \
    --metadata install-gpu-agent=true \
    --scopes https://www.googleapis.com/auth/monitoring.write

No error when running nvidia-smi in the worker nodes, the GPUs are detected. But yarn and spark don't seem to be picking it up.

when I check in the yarn resource manager, it is not detecting the gpu resources, only <memory:52896, vCores:16>.
I copied the matrix computation example mentioned in docs to a file sparkJob.scala, and ran this command:

cat sparkJob.scala | spark-shell --conf spark.executor.resource.gpu.amount=1 --conf spark.task.resource.gpu.amount=0.5 --conf spark.executor.resource.gpu.discoveryScript=/usr/lib/spark/scripts/gpu/getGpusResources.sh

But I still didn't see any GPU related metrics getting published via the gpu agent in cloud monitoring.
Am I missing any config in any of these steps?

@mengdong can you please assist? I was working with @Arun-Krishna earlier on this, and grabbed this screenshot of the Yarn Resource Manager.

Hi @bradmiro we have a getting started guide here.
https://nvidia.github.io/spark-rapids/docs/get-started/getting-started-gcp.html
I think the issue is that you didn't specify meta tag:
    --metadata gpu-driver-provider="NVIDIA" \
    --metadata rapids-runtime=SPARK \

I suggest we remove OS installed GPU driver and use NVIDIA provided driver as default going forward, and set both SPARK and Dask as default when deploy the init script. If @bradmiro and @medb agree, I can clean up those.
Thanks!

Hi @mengdong,
I added the meta tag --metadata gpu-driver-provider=NVIDIA in my create command, but not the rapids tag as I didn't include the rapids init-action. Is it not possible to use spark with GPU without rapids?
Also, shouldn't the GPU still get shown in the yarn resource manager?

Hi @Arun-Krishna, without rapids, your SparkSQL won't be able to leverage GPU.
In this case, I suggest we move https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/rapids/rapids.sh#L209-L217 to gpu init script.
The reason you don't see GPU in yarn is because of https://github.com/GoogleCloudDataproc/initialization-actions/blob/master/rapids/rapids.sh#L209-L217

Yes, GPU is getting detected in yarn after adding this restart step. Thanks!


Breaking change: TreeList editor raises an exception when the default is set to server mode

attached solution fails with "not supported exception" , the previous version worked properly
steps
1- try with a non-xpand solution with treelisteditor and default server mode option set to on -> OK
2 - Add xpand win treeeditor module -> exception
Solution4.zip

eXpand.lab release 19.1.602.5 includes commit that relate to this task:

TreeList editor raises an exception when the default is set to server mode #520

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


A Weather forcast, for live temp. according to places

Developer Checklist

[ ] Followed guidelines mentioned in the readme file.
[ ] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[ ] Starred ⭐ the Repo (Optional)

Summary
add a summary here
Screenshot

Live Project Link
https://github.com/msabhii/Skycast__API

Hi @msabhii
Please follow the guidelines in the readme file.
Thank you.


Update for the cudf/rapids v22.02.0 release

Signed-off-by: Tim Liu<EMAIL_ADDRESS>

should this pr target to v2202 or 2204?


fix: Replace sh with bash in entrypoint

Description
When running docker in a Windows environment, given that the user is using VSCode as the IDE and installed Desktop Git and Desktop Docker, executing ./docker-run.sh fails with the following error message.
/usr/bin/env sh Permission denied
Definition of Done

[x] Apply fix
[ ] Add problem and solution to troubleshooting doc.

The Fix
Use bash, which is globally available, instead of /usr/bin/env sh, which has issues with execution.
Additionals
If this above doesn't work, here are a few additional steps to attempt.

Within VSCode, ensure the end of the line sequence is set to LF not CRLF

Add the path to C:\Program/ Files\Git\bin\ to the PATH environment variable.
Verify that Docker is running.

Would anyone with a Windows computer be able to test this? 🙏
@Angelsaur perhaps you could try?


Alt Field

Hi,
I'm not finding a simple solution, so i'm asking :)
There is a way to populate an alternate field like jquery-UI does ?
http://jqueryui.com/datepicker/#alt-field
In a different format to ?
Thanks

I like pdimilla's approach best, it is simple and works great.


Alternative design for DB schema, RssFeed, and RssItem

Current design is thus:

RssItem contains all the details about a single article: title, author, date, GUID, etc.;
RssFeed contains all the details of a single feed: title, authors, and a list of std::shared_ptrs to RssItems that are part of this feed;
RssItem contains an std::weak_ptr to its RssFeed. This is required for e.g. filter expressions: when an expression is matched against an item, it might require access to feed's attributes like feedtitle. It's a weak pointer to avoid cyclic dependency;
peppered over that nice structure is a lot of getters, setters, and notification methods, whose structure and interactions I don't understand well enough to explain. Understanding that is certainly a prerequisite to designing anything new :)

This design works okay, but over the years we accumulated a few bug reports that indicate deficiencies of our current approach:

https://github.com/akrennmair/newsbeuter/issues/175: feed/item can't be notified that its attributes changed. (We do have some notifications, but they're very limited)
https://github.com/akrennmair/newsbeuter/issues/193: if two feeds contain items with same GUIDs, these two feeds will "steal" items from each other such that only one feed contains those items at any point in time. That's caused by the fact that entries in rss_item table store feed's URL, so there is no way to assign a single item to multiple feeds. It's not exactly clear how that should work from user's perspective, either: https://github.com/akrennmair/newsbeuter/issues/249
https://github.com/akrennmair/newsbeuter/issues/223: insane things happen when RssItem gets replaced while being viewed
https://github.com/akrennmair/newsbeuter/issues/342: we have to employ tricks to avoid over-sharing items between dialogs, but then we have problems because e.g. changes don't immediately propagate from one corner of the program to another
https://github.com/akrennmair/newsbeuter/issues/488: seems similar to https://github.com/akrennmair/newsbeuter/issues/193, but we never ascertained that
https://github.com/akrennmair/newsbeuter/issues/491: query feeds contain copies of items from other feeds, and don't "remember" which feeds are those. It makes it impossible to reload just the feeds that contributed to the query feed
https://github.com/newsboat/newsboat/issues/17: we have to go to either RssFeed or the Cache to get an RssItem we're interested in, and this isn't exactly trivial, leading to such "impossible" bugs
https://github.com/newsboat/newsboat/issues/64, https://github.com/akrennmair/newsbeuter/issues/458 and many such others: I'm pretty sure high RAM usage is caused by a live leak. Complicated architecture we're using now doesn't help in pinpointing the cause of that bug
https://github.com/newsboat/newsboat/issues/101: the Cache-RssFeed-RssItem trio doesn't know anything about feed tags. Tags are added by Controller. This further complicates the code
https://github.com/newsboat/newsboat/issues/111: if user is not looking at a particular feed, Newsboat removes its items' descriptions from memory. This useful optimization breaks query feeds, making content attribute of all items empty.
https://github.com/newsboat/newsboat/issues/218: ignore-article can't use content in their filter expressions because that attribute is empty
https://github.com/newsboat/newsboat/issues/229: since all entries are kept in memory, it takes a bit of RAM and time to load them. As I point out in that issue, we can't avoid loading them all, but perhaps we can cut down on the amount of data that's loaded?
https://github.com/newsboat/newsboat/issues/345: we need to mark each article with the result of ignore-article, to avoid re-evaluating ignore-article rules on each startup
https://github.com/newsboat/newsboat/issues/450: since Newsboat keeps current state in memory, and only syncs stuff from memory to DB (i.e. it can't be notified that DB changed), it's impossible for multiple instances to work with the same database simultaneously
https://github.com/newsboat/newsboat/issues/685: might be unrelated, but it seem to be caused by us mishandling pointers to items or feeds. Existing API mixes a lot of stuff together.
https://github.com/newsboat/newsboat/issues/766: database doesn't remember if an item is ignored by a killfile, so Newsboat has to re-calculate that on each startup

These are the ones that are still open. I didn't re-read closed ones because I assume they're fixed somehow already. This selection covers the situation well enough IMHO.
No specific proposals from me for now, just this problem statement.

How about using an ORM as one of the steps, rather than raw SQL? That way RssItem/RssFeed are just wrappers around the database access, and fields are only loaded when queried/needed.
I have also faint memories of an IRC discussion about converting filters to SQL queries (#581), now that we have our own filter parser (or will hopefully have soon?) it might be easier to write a SQL query builder, at least on the fields that can be retrieved from the DB.

How about using an ORM as one of the steps, rather than raw SQL?

I never actually used an ORM, I only understand it as a concept and might misunderstand the benefits. What does it buy us here? I understand how a query builder can make it a bit more type-safe, but an ORM seem like an overkill when we only have two classes that need to be mapped to the database.

That way RssItem/RssFeed are just wrappers around the database access, and fields are only loaded when queried/needed.

Oh, I was thinking of this as well! Looks like it'll simplify the design, but won't actually fix anything, and will negatively affect performance:

design is simpler because the database becomes a single source of truth — nothing is stored in RAM anymore
we still lack ways to notify other parts of the program that something changed in the DB. Sure, it's now possible to re-read from DB just by calling a getter, but e.g. articlelist won't call getters until the list is redrawn
performance tanks because we run SQL instead of returning a value that we already have in memory. OTOH, less RAM is consumed now

We might use that as a stepping stone for some other design, but I don't see much benefit in it by itself. Am I missing something?


Short solution needed: "Format date" (clickhouse)

Please help us write most modern and shortest code solution for this issue:
Format date (technology: clickhouse)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to format date/time


V8 EcmascriptEngine Pimpl

As of #145 we now have a cleaner EcmascriptEngine interface which is satisfied via a Duktape implementation Pimpl by default. The task here is to provide another EcmascriptEngine implementation via V8 (https://v8.dev/docs) with a new Pimpl.
Quick details:

Let's move the existing EcmascriptEngine.cpp to EcmascriptEngine_Duktape.cpp
Let's add a new EcmascriptEngine_V8.cpp
Let's add a preprocessor definition to allow the user to toggle which engine they want to build with

e.g. -DBLUEPRINT_USE_V8=1

Let's not include the v8 source with the project, as we do with Duktape.

With Duktape, it's cool because the source is really quite small and provides an easy default
With v8 things are slightly more complicated, so we'll ask that users bring their own V8 directory somewhere else and configure their project with the correct header includes -Ipath/to/your/v8

Adding a bit more detail here as I think v8 integration will become a big priority after beta.
Generally I think the details of integration here fall into two bits. The first is just getting things to compile, and the second is fleshing out the full EcmascriptEngine interface.
To the first point, I envision something like
// EcmascriptEngine_V8.cpp
#include <libplatform/libplatform.h>
#include <v8.h>

struct EcmascriptEngine::Pimpl
{
    Pimpl()
    {
        // This kinda stuff, probably need to hold some of it as member vars
        std::unique_ptr<v8::Platform> platform = v8::platform::NewDefaultPlatform();
        v8::V8::InitializePlatform(platform.get());
        v8::V8::Initialize();
    }
};

Then, for the user to compile successfully, they'll need to -DREACTJUCE_USE_V8=1 which we'll use inside of blueprint.cpp to decide whether we #include EcmascriptEngine_Duktape.cpp or #include EcmascriptEngine_V8.cpp, they'll need to add an include path for their v8 headers: -Ipath/to/v8/include, and link against V8 -lv8_monolith. It's my intention for the v8 source directory to be something that blueprint pays no mind to, the user can put it wherever and do whatever they want with it, just make sure they specify the correct include/link flags in their CMake config or whatever.
Now, step two then is much like what we've already done with Duktape, but it will be a solid chunk of work so I would suggest we split this up into multiple phases as well, where perhaps we only implement evaluate and evaluateInline initially, and for all other EcmascriptEngine methods we'll implement a no-op or a return juce::var(juce::String("not implemented")); for now. That way we're biting this off in small chunks. Aiming at evaluate and evaluateInline first is a good spot to start, in my opinion, because it invites the question of getting from a v8::Local<v8::Value> to a juce::var, which is a translation layer we need to figure out for this to be successful. If we can prove out evaluate, evaluateInline, and v8::Value -> juce::var, I think the rest will fall into place much more easily.

Adding a bit more detail here as I think v8 integration will become a big priority after beta.
Generally I think the details of integration here fall into two bits. The first is just getting things to compile, and the second is fleshing out the full EcmascriptEngine interface.
To the first point, I envision something like
// EcmascriptEngine_V8.cpp
#include <libplatform/libplatform.h>
#include <v8.h>

struct EcmascriptEngine::Pimpl
{
    Pimpl()
    {
        // This kinda stuff, probably need to hold some of it as member vars
        std::unique_ptr<v8::Platform> platform = v8::platform::NewDefaultPlatform();
        v8::V8::InitializePlatform(platform.get());
        v8::V8::Initialize();
    }
};

Then, for the user to compile successfully, they'll need to -DREACTJUCE_USE_V8=1 which we'll use inside of blueprint.cpp to decide whether we #include EcmascriptEngine_Duktape.cpp or #include EcmascriptEngine_V8.cpp, they'll need to add an include path for their v8 headers: -Ipath/to/v8/include, and link against V8 -lv8_monolith. It's my intention for the v8 source directory to be something that blueprint pays no mind to, the user can put it wherever and do whatever they want with it, just make sure they specify the correct include/link flags in their CMake config or whatever.
Now, step two then is much like what we've already done with Duktape, but it will be a solid chunk of work so I would suggest we split this up into multiple phases as well, where perhaps we only implement evaluate and evaluateInline initially, and for all other EcmascriptEngine methods we'll implement a no-op or a return juce::var(juce::String("not implemented")); for now. That way we're biting this off in small chunks. Aiming at evaluate and evaluateInline first is a good spot to start, in my opinion, because it invites the question of getting from a v8::Local<v8::Value> to a juce::var, which is a translation layer we need to figure out for this to be successful. If we can prove out evaluate, evaluateInline, and v8::Value -> juce::var, I think the rest will fall into place much more easily.

Yep perfect. Given juce modules are just interface libraries under cmake this can be super simple.
Users should need to literally just target_include_directories(/path/to/v8/include) and target_link_libraries(v8_monolith) on their targets using the react-juce submodule.

Yep perfect. Given juce modules are just interface libraries under cmake this can be super simple.
Users should need to literally just target_include_directories(/path/to/v8/include) and target_link_libraries(v8_monolith) on their targets using the react-juce submodule.

From a previous discussion between myself an Nick. Examples here have been identified as a good starting point to follow when implementing EcmascriptEngine::evaluate and EcmascriptEngine::evaluateInline:
https://github.com/v8/v8/blob/master/samples/process.cc#L233
https://github.com/v8/v8/blob/master/samples/process.cc#L653
Documentation on embedding V8 into C++ app here:
https://v8.dev/docs/embed

From a previous discussion between myself an Nick. Examples here have been identified as a good starting point to follow when implementing EcmascriptEngine::evaluate and EcmascriptEngine::evaluateInline:
https://github.com/v8/v8/blob/master/samples/process.cc#L233
https://github.com/v8/v8/blob/master/samples/process.cc#L653
Documentation on embedding V8 into C++ app here:
https://v8.dev/docs/embed


use deterministic order of packages

Currently the backup file packages.json contains all packages in "random" order. So even if no package has changed the backup file likely has changes due to shuffling around the entries.
In order to avoid unnecessary changes and make the diff of the backup file more readable this patch orders the list of packages alphabetically.

A very similar patch was recently merged into Atom for the config.cson file: atom/atom#9948

@jerone Are you still maintaining this package or would you appreciate help with reviewing / merging the pending PRs?

Hi @dirk-thomas. I'm happy to add you as maintainer if you and @groupsky are OK with that?

I started using Atom recently and have looked into other packages I am working with before. Recently I was added as a maintainer to the  linter-xmllint package,
Since I also use this package and think it is very useful to share configurations I am happy to contribute. The pending PRs look promising and I am happy to help getting them reviews, merged and released. Over time I can also go through the list of issues.

I just added you as a collaborator.
We (@groupsky and me) defined some sort of roadmap, but pending PR's and bug reports have off course priority.
I'll try to stick around and help when required.

Thank you. I will look into pending tickets after the holidays. Maybe we can somehow talk briefly about the roadmap to share some thought then too?

Closes #83

@dirk-thomas I created a private chat group on Gitter if you interested in joining: https://gitter.im/Hackafe/atom-sync-settings/contributors


A lot of errors

VIM version: 7.4.52 (using SPF13 distribution)
PHP 7.0.23
I installed this with Vundle: Plugin 'lvht/phpcd.vim', ran BundleInstall then opened a php file. I immediately got this error:
Error detected while processing function rpc#start:
line    4:
E117: Unknown function: job_start
E15: Invalid expression: job_start(a:000, {'out_cb': function('s:OnCall'), 'err_cb': function('s:OnError2')})
Press ENTER or type command to continue

I thought this might have had something to do with PCNTL missing, but I verified that it's installed with this:
➜  ~ php --info | ag pcntl
pcntl
pcntl support => enabled
➜  ~

When I try to Ctrl+] then I get a ton of errors. This is in a project with composer.

please upgrade to vim 8.0

But the requirements say that 7.4+ is fine?

Msgpack 0.5.7+(for NeoVim) Extension or JSON(for Vim 7.4+) Extension

make sure your vim has +job and +channel support

Thanks to NoeVims's MsgPack-RPC and Vim's Channel.

phpcd need msgpack-rpc or channel

@FatBoyXPC if you really want to make phpcd.vim work, i would like to make my best to offer help.

I just did :echo has('channel') and it returned 1

and job ?

I updated my reply

I installed msgpack in neovim and I seem to have this issue:
PHP Fatal error:  main(): Failed opening required '/home/james/.vim/bundle/phpcd.vim/php/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/james/.vim/bundle/phpcd.vim/php/main.php on line 14

If you install phpcd manually, you need run composer install in the phpcd.vim root directory.

So cd /home/james/.vim/bundle/phpcd.vim and run composer update

Okay, this is definitely working better than anything else at the moment!

enjoy :)

I can't seem to get this to work with php 5.6 - I get this error:
PHP Fatal error:  Undefined class constant 'STOP_TRAVERSAL' in /home/james/.vim/bundle/phpcd.vim/php/ClassNameExVisitor.php on
 line 47
PHP Stack trace:
PHP   1. {main}() /home/james/.vim/bundle/phpcd.vim/php/main.php:0
PHP   2. Lvht\MsgpackRpc\ForkServer->loop() /home/james/.vim/bundle/phpcd.vim/php/main.php:41
PHP   3. Lvht\MsgpackRpc\ForkServer->onMessage() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/ForkServer.php:
32
PHP   4. Lvht\MsgpackRpc\ForkServer->onRequest() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.
php:44
PHP   5. Lvht\MsgpackRpc\ForkServer->doRequest() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.
php:65
PHP   6. call_user_func_array:{/home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.php:88}() /home/ja
mes/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.php:88
PHP   7. PHPCD\PHPCD->nsuse() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.php:88
PHP   8. PHPCD\Parser::getClassNameEx() /home/james/.vim/bundle/phpcd.vim/php/PHPCD.php:338
PHP   9. PHPCD\Parser::visit() /home/james/.vim/bundle/phpcd.vim/php/Parser.php:35
PHP  10. PhpParser\NodeTraverser->traverse() /home/james/.vim/bundle/phpcd.vim/php/Parser.php:50
PHP  11. PhpParser\NodeTraverser->traverseArray() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php
:64
PHP  12. PhpParser\NodeTraverser->traverseNode() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:
135
PHP  13. PhpParser\NodeTraverser->traverseArray() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php
:84
PHP  14. PHPCD\ClassNameExVisitor->enterNode() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php:12
6
Fatal error: Undefined class constant 'STOP_TRAVERSAL' in /home/james/.vim/bundle/phpcd.vim/php/ClassNameExVisitor.php on line
 47
Call Stack:
    0.0002     238840   1. {main}() /home/james/.vim/bundle/phpcd.vim/php/main.php:0
    0.0133    2078272   2. Lvht\MsgpackRpc\ForkServer->loop() /home/james/.vim/bundle/phpcd.vim/php/main.php:41
    4.0932    2087984   3. Lvht\MsgpackRpc\ForkServer->onMessage() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/s
rc/ForkServer.php:32
    4.0933    2088696   4. Lvht\MsgpackRpc\ForkServer->onRequest() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/s
rc/AbstractServer.php:44
    4.0933    2089224   5. Lvht\MsgpackRpc\ForkServer->doRequest() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/s
rc/AbstractServer.php:65
    4.0933    2089272   6. call_user_func_array:{/home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.
php:88}() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.php:88
    4.0934    2089640   7. PHPCD\PHPCD->nsuse() /home/james/.vim/bundle/phpcd.vim/vendor/lvht/msgpack-rpc/src/AbstractServer.p
hp:88
    4.0937    2099864   8. PHPCD\Parser::getClassNameEx() /home/james/.vim/bundle/phpcd.vim/php/PHPCD.php:338
    4.0940    2119776   9. PHPCD\Parser::visit() /home/james/.vim/bundle/phpcd.vim/php/Parser.php:35
    4.1088    6970344  10. PhpParser\NodeTraverser->traverse() /home/james/.vim/bundle/phpcd.vim/php/Parser.php:50
    4.1088    6971672  11. PhpParser\NodeTraverser->traverseArray() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser
/NodeTraverser.php:64
    4.1088    6973992  12. PhpParser\NodeTraverser->traverseNode() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser/
NodeTraverser.php:135
    4.1088    6975104  13. PhpParser\NodeTraverser->traverseArray() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser
/NodeTraverser.php:84
    4.1089    6979512  14. PHPCD\ClassNameExVisitor->enterNode() /home/james/dev/dm20/vendor/nikic/php-parser/lib/PhpParser/No
deTraverser.php:126

That's in one project. In another project I get this:
Error detected while processing function phpcd#CompletePHP[54]..phpcd#GetCurrentNameSpace[1]..rpc#request:
line    6:
E906: not an open channel

Everything is fine in PHP 7.2, but the first error I showed is in a php 5.6 project that I can't use php 7 with, unless you can give me a way to specify a php bin to use.

@FatBoyXPC It seems you has not run the composer update. The const STOP_TRAVERSAL is defined by php-parser.

I had actually already removed the vendor directory and ran a composer install before posting here. I also went ahead and ran composer update after your comment, and nikic's php-parser did update. However, same issue in vim.

@FatBoyXPC please see

phpcd.vim/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php

The STOP_TRAVERSAL should be defined there.

Okay, this is really interesting. The file you told me to look at is right.
So I opened up ~/.vim/bundle/phpcd.vim/php/ClassNameExVisitor.php and went to line 47. That shows return NodeTraverser::STOP_TRAVERSAL; . I used this other plugin, phpactor, and I use go to definition on STOP_TRAVERSAL on that line. I got an error that this constant wasn't defined. Of course this threw me for a loop, so I went to go to definition on NodeTraverser and that ended up opening my/local/project/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php rather than ~/.vim/bundle/phpcd.vim/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php.


Add den status command

Adds a new status command showing the current projects that are running and Den's Traefik instance is connected to.

I love the idea, but I'm unsure how good or bad of a decision it is to add python3 as a requirement to Den.

Given that deb is using docker, why not simply use docker to run the python command? Or rewrite it to use jq and still use docker to run the command.

@LeeSaferite The idea was to use tools already available on the Mac without adding external dependencies, as well as not having to download another docker container to parse JSON.
I'll give some alternatives a try (jq docker, python docker, manually parsing via bash).
@navarr Python should already be available on MacOS. I have Xcode tools installed so Python3 is also available (though the syntax only changes a little bit between 2 and 3). But as Lee pointed out, I'll research alternatives.

@navarr Python should already be available on MacOS. I have Xcode tools installed so Python3 is also available (though the syntax only changes a little bit between 2 and 3). But as Lee pointed out, I'll research alternatives.

It is, and while Mac is the primary target at SO, Den supports Linux and Windows as well.

I'll have a fix for this later this evening. I think i just need to step up my Golang template fu and I can completely remove the Python scripts.

@navarr Removed python as dependency, also changed the output to add more information about the project (Traefik domain).

Here's a screenshot of the new output.

@navarr Submitted a fix. I use simple 3-letter environment names, so my "prefix" is always shorter than the den core container names (traefik, mailhog, etc.).
The issue was in longer names (e.g. znd-magento2) that prefix was longer than those core container names, causing the out of bounds error. I added a quick length check so only container names that are longer than the prefix are checked (which should be all the environment-specific containers).
There is still room for improvement (e.g. what if I specify the container name in a custom warden-env.yml file), but that adds to the complexity of this, and BASH is a limiting language (in some ways).

Great idea, but 2 things I would improve:

it's not showing not "running" enviroments
there no mentions of this new command in https://github.com/swiftotter/den/blob/main/commands/usage.help#L23-L33

@ihor-sviziev Thanks for the comment!
I've gone ahead and resolved  improvement 2.  I do think improvement 1 might be fairly difficult.  One reason I like this command is because I'll commonly want to know which environments I have running so I can shut them down, so it remains useful to me with or without improvement 1.

@ihor-sviziev Yeah, I was thinking about that. Initially I was going to say during the den env up and den env init a file would be created in the home directory keeping a tab of available environments and those that are running; however, that didn't feel clean to me (though may be the only way to do it).

@bap14 Honestly I'm not a fan of that either.  Far too many ways that it can get out-of-sync.


Update config via mqtt

$implementation/version: 2.0.0
I think MAX_JSON_CONFIG_ARDUINOJSON_BUFFER_SIZE in Limits.h is calculated wrong.
When I'am trying to update config via publishing new config to $implementation/config/set I get error:

Invalid or too big JSON

Here is the config which I publish to $implementation/config/set:
{
  "name": "Well sensor",
  "wifi": {
    "ssid": "myssid",
    "password": "sueprsec"
  },
  "mqtt": {
    "host": "<IP_ADDRESS>",
    "port": 1883,
    "auth": true,
    "username": "user",
    "password": "supersec"
  },
  "ota": {
    "enabled": true
  },
  "settings": {
    "test0": 1800,
    "interval": 10,
    "test1": "value1"
  }
}

Changing line:
const uint16_t MAX_JSON_CONFIG_ARDUINOJSON_BUFFER_SIZE = JSON_OBJECT_SIZE(6) + JSON_OBJECT_SIZE(2) + JSON_OBJECT_SIZE(6) + JSON_OBJECT_SIZE(1) + JSON_OBJECT_SIZE(10);  // Max 5 elements at root, 2 elements in nested, etc... the last 10 means 10 custom settings max
to:
const uint16_t MAX_JSON_CONFIG_ARDUINOJSON_BUFFER_SIZE = JSON_OBJECT_SIZE(6) + JSON_OBJECT_SIZE(2) + JSON_OBJECT_SIZE(6) + JSON_OBJECT_SIZE(1) + JSON_OBJECT_SIZE(10+14);  // Max 5 elements at root, 2 elements in nested, etc... the last 10 means 10 custom settings max
solves the problem.

I just find (!!) that I can update config incrementally. This way I can update only settings section.

Didn't know I could update the configuration this way. Thank you!

Weird, the above JSON should fit within the buffer... I'll check!

This should be fixed now.


LR Schedule Hyperparameters

Hello, I'm trying to replicate your LR scheduling as described within the paper and have a couple of questions:

Is your scheduler the one with or without restarts, i.e. is it torch.optim.lr_scheduler.CosineAnnealingWarmRestarts?
When you specify warmup iterations, is that the period (T_0) of the cosine function or is that something different altogether?

Thank you!

The LR schedule didn't have restarts, the multiplier becomes (almost) 1.0 after warmup, and monotonically decreases 0.0 drawing a cosine curve over 32 epochs.
A linear warmup was done over the first 2,000 iterations and is not dependent of the period of the cosine function.


Improve errors in zeit's build console

Currently I'm facing an issue where I receive the following error on build:

{"error":{"code":"\"output\" field exceeds document size limit"}}
--
12:26:02 PM | Error: patchBuild: 400 Bad Request
12:26:02 PM | at retry.factor (/var/task/sandbox-worker.js:23338:21)
12:26:02 PM | at runMicrotasks (<anonymous>)
12:26:02 PM | at processTicksAndRejections (internal/process/task_queues.js:93:5)
12:26:02 PM | at async patchBuild (/var/task/sandbox-worker.js:23323:10)
12:26:02 PM | at async patchBuildToUploading (/var/task/sandbox-worker.js:20439:26)
12:26:02 PM | at async mainSub (/var/task/sandbox-worker.js:20057:32)
12:26:02 PM | at async main (/var/task/sandbox-worker.js:19975:5) {
12:26:02 PM | statusCodeFromFetch: 400,
12:26:02 PM | statusTextFromFetch: 'Bad Request'
12:26:02 PM | }

I'm not sure where to look for more information regarding this error, it would be better to link to some kind of documentation page. Not sure if it excists, I couldn't find anything regarding this problem. I'm also not able to see what the "size" is of the message..
My situation:
I'm trying to build a hybrid project, I have around 8-10K pages which are generated with SSG and a few SSR pages.

I lowered the amount of pages being generated to ~3k and this seems to work. I'm guessing I'm hitting the 10k limit per deploy.. are there any future plans to override this?

Hi @erhankaradeniz
You're right, that error message is confusing.

We are working on increasing the limit and we will make the error message a little more clear, thanks!

I have the same problem, 1700 pages.

We improved the error message description. Also, the message will show up at the top so it will be the first thing you see when visiting the deployment inspector. Clicking "Learn More" links to the docs.


DSM shown as off, temperatur 0 degrees

I can install the plugin and set it up, but in HomeKit, the disk station always shows as off, despite being on, and the temperature readings are always zero degrees.
I can see no log entries for the plugin/device to help troubleshoot.

But bow you start mixing things ... what has The synology adapter and "homekit" to do with each other? You need to provide more information. So please check the adapter states first and show maybe screenshots of them ... and then tell what you talks about Homekit?

Truly sorry, I mixed this up with a different issue, a Homebridge plugin😵💫


v10.18.0 of lazyload doesn't exist on CDNJS

As you can see, it doesn't exist on the CDN page here:
https://cdnjs.com/libraries/vanilla-lazyload
The CDN link you reference in the read me leads to a 404 not found:
https://cdnjs.cloudflare.com/ajax/libs/vanilla-lazyload/10.18.0/lazyload.min.js
Thanks for this great script.

Hey @bridgeport,
thanks for reporting this issue.
I've reported the issue to the CDNJS GitHub repo.
It seems that they're having some problems at this moment.
I'll change the version reported in my readme.md for now.
Thanks

You can temporarily download any version of LazyLoad from the JSDELIVR CDN:

With github as origin
<EMAIL_ADDRESS>With npm as origin
<EMAIL_ADDRESS>
The two ways are almost equal, but sometimes I can't publish on npm right away so they are available on the github url first.
/cc @bridgeport

cdnjs still doesn't respond and doesn't answer via GitHub nor Twitter.
I'm opening another issue to myself to remember switching cdnjs to jsdelivr in the docs.

@bridgeport fixed doc in README.md file. Thanks!

@verlok I know you switched to jsdelivr in the docs a while ago, but thought it worth mentioning that cdnjs.com has been stuck on v12.0.3 for a long while now:
https://cdnjs.com/libraries/vanilla-lazyload

Thank you.
That’s why I switched.
Cdnjs has become unresponsive and they have no support.

--
—
Andrea Verlicchi
www.andreaverlicchi.eu


test-branch/execute-job/wrong-commit-sha-on-pr/aa3d1f71-2cc4-40e4-bd79-a3d9d60685b5

PR for testing 25e22ea6bb280213e14ff294496505cfafea9c71

/canonical/self-hosted-runners/run-workflows 931ad21dd9ace68aaa0a7d341e94de96ad93fa6b


Staging - Deployment Failing

Cc: @bradystroud
The staging deployment failed several times. We tried redeploying and rolling back the code changes, but this didn't fix it.
This is important as we can't test anything on staging until it's fixed.
https://dev.azure.com/ssw/SSW.Rules/_release?_a=releases&view=mine&definitionId=1

Figure: Release failed
After some investigations with @chrisschultzssw , we noticed the deployment machine was running out of memory during the deployment.

### Tasks
- [x] Restart machine
- [x] Try deployment again

All done - restarting the server fixed the problem


adding route and file for currently selected region

I see https://t17-apps.availity.com in the mocks...needs to use context


Add OCM is part of CNCF sandbox project description.

Signed-off-by: Mike Ng<EMAIL_ADDRESS>

/lgtm


Events API Reference swagger and manifest [WIP - DO NOT MERGE]

@francoisledroff now that the API only contains specific endpoints, what should the proper swagger title be, and should we be adding different/more tags in order to separate the endpoints into groups that would be useful to the end-user?

Yes I believe it would be easier to read through the doc with a bit more ordering and a few tags.
here is How I would advise to list them:
A first section/tag grouping the endpoints that are about Creating updating Custom event providers and associated metadata

POST /events/{consumerOrgId}/{projectId}/{workspaceId}/providers Creates an Adobe I/O Events Provider

PUT /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId} Update an Adobe I/O Events Provider

PATCH /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId} PATCH an Adobe I/O Events Provider using json-patch

DELETE /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId} Delete Adobe I/O Events Provider by Id

POST /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId}/eventmetadata Creates an Adobe I/O Events Provider Event Metadata

PUT /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId}/eventmetadata/{eventCode} Update an Adobe I/O Events Provider Event Metadata

PATCH /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId}/eventmetadata/{eventCode} PATCH an Adobe I/O Events Provider Event Metadata

DELETE /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId}/eventmetadata Delete All the Event Metadata associated with the given Adobe I/O Events Provider providerId

DELETE /events/{consumerOrgId}/{projectId}/{workspaceId}/providers/{providerId}/eventmetadata/{eventCode} Delete the Event Metadata associated with the given Adobe I/O Events Provider providerId and eventCode

A second section grouping the endpoints that are about reading Providers and associated metadata

GET /events/{consumerOrgId}/providers Get All Adobe I/O Events Providers entitled to the provided consumerOrgId
GET /events/providers/{id} Get Adobe I/O Events Provider by Id
GET /events/providers/{providerId}/eventmetadata/{eventCode} Get the Event Metadata associated with a given Adobe I/O Events Provider providerId and eventCode
GET /events/providers/{providerId}/eventmetadata List the Event Metadata associated with a given Adobe I/O Events Provider providerId
GET /events/providers/{providerId}/eventmetadata/{eventCode}/sample_event Get a sample event HAL json model of the provided Adobe I/O Events Provider id and event code
HEAD /events/providers/{providerId}/eventmetadata/{eventCode}/sample_event Check if a sample event is available for the provided Adobe I/O Events Provider id and event code

a 3rd section around registrations:

POST /events/organizations/{consumerOrgId}/integrations/{integrationId}/registrations Creates a Client Application's Webhook / Journal registration
GET /events/organizations/{consumerOrgId}/integrations/{integrationId}/registrations Get all registration details
GET /events/organizations/{consumerOrgId}/integrations/{integrationId}/registrations/{registrationId} Get a specific registration details
DELETE /events/organizations/{consumerOrgId}/integrations/{integrationId}/registrations/{registrationId} Delete a specific registration details

a 4th about tracing:

GET /events/organizations/{consumerOrgId}/integrations/{integrationId}/tracing/{registrationId} Get a specific WebHook tracing details

and finally about journaling:

GET /events/organizations/{consumerOrgId}/integrations/{integrationId}/{registrationId}/validate Validate and get all Events from journal
GET /events/organizations/{consumerOrgId}/integrations/{integrationId}/{registrationId} Get all Events from journal

@francoisledroff - Is the title for the API (I/O Management API) still appropriate, or should this be specific to Events API? Custom Events API?

Hey Wendy, is there an associated swagger docs UI somewhere ? that would ease its review.

@francoisledroff to view the swagger more easily, you can copy the raw yaml from here:
https://raw.githubusercontent.com/AdobeDocs/adobeio-events/cf8d1a4edddf24f6fc4b88eeaae41b08cdd12d5d/events-api-reference.yaml
and paste it into editor.swagger.io.
You will see that the endpoints are in the order you suggested. The 'tags' element at the top of the yaml sets the order in which they will render, and then applying a tag to each of the 'paths' is what groups them together. So I didn't change the 'paths', I just applied the appropriate 'tags'.

editor.swagger.io.

thanks ! it's looking good !


ROCm 3.9.0 on Ubuntu 20.04 : Radeon 7 is not detected

After installing ROCm 3.9.0 on Ubuntu 20.04:

rocminfo only shows my Intel CPU.
clinfo shows Number of devices 0 for platform AMD Accelerated Parallel Processing corresponding to my AMD Radeon 7 M265.

Any idea what is going wrong?
Note that sudo lshw -c video shows that my Radeon GPU is currently using amdgpu driver. I guess it should shows ROCm instead? Should I simply uninstall amdgpu to hand over ROCm?
$ sudo lshw -c video
  *-display
       description: VGA compatible controller
       product: Skylake GT2 [HD Graphics 520]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:135 memory:e0000000-e0ffffff memory:c0000000-cfffffff ioport:4000(size=64) memory:c0000-dffff
  *-display
       description: VGA compatible controller
       product: Opal XT [Radeon R7 M265/M365X/M465]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 81
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:136 memory:d0000000-dfffffff memory:e1200000-e123ffff ioport:3000(size=256) memory:e1240000-e125ffff

$ rocminfo
ROCk module is loaded
Able to open /dev/kfd read-write
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
  Uuid:                    CPU-XX
  Marketing Name:          Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   3100
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            4
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    16276124(0xf85a9c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    16276124(0xf85a9c) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
    N/A
*** Done ***

$ clinfo
Number of platforms                               2
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (3204.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback
  Platform Extensions function suffix             AMD

  Platform Name                                   Intel(R) OpenCL HD Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 2.1
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory_preview cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_intel_media_block_io cl_khr_3d_image_writes cl_intel_va_api_media_sharing
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             INTEL

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

  Platform Name                                   Intel(R) OpenCL HD Graphics
Number of devices                                 1
  Device Name                                     Intel(R) Gen9 HD Graphics NEO
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.1 NEO
  Driver Version                                  1.0.0
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               24
  Max clock frequency                             1050MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None, None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple              32
  Max sub-groups per work group                   32
  Sub-group sizes (Intel)                         8, 16, 32
  Preferred / native vector sizes
    char                                                16 / 16
    short                                                8 / 8
    int                                                  4 / 4
    long                                                 1 / 1
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                1 / 1
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size<PHONE_NUMBER>4 (12.42GiB)
  Error Correction support                        No
  Max memory allocation<PHONE_NUMBER> (4GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars<PHONE_NUMBER> (4GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        524288 (512KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            268434944 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                             16384x16384 pixels
    Max planar YUV image size                     16384x16352 pixels
    Max 3D image size                             16384x16384x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
    Max number of read/write image args           128
  Max number of pipe args                         16
  Max active pipe reservations                    1
  Max pipe packet size                            1024
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size<PHONE_NUMBER> (4GiB)
  Max size of kernel argument                     1024
  Queue properties (on host)
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Queue properties (on device)
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                131072 (128KiB)
    Max size                                      67108864 (64MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      83ns
  Execution capabilities
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Sub-group independent forward progress        Yes
    IL version                                    SPIR-V_1.2
    SPIR versions                                 1.2
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                block_motion_estimate_intel;block_advanced_motion_estimate_check_intel;block_advanced_motion_estimate_bidirectional_check_intel;
  Motion Estimation accelerator version (Intel)   2
    Device-side AVC Motion Estimation version     1
      Supports texture sampler use                Yes
      Supports preemption                         No
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory_preview cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_intel_media_block_io cl_khr_3d_image_writes cl_intel_va_api_media_sharing

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

Hi @Lamarche-Perrin
Thanks for reaching out.
To make ROCm functional, there should not be any other driver like amdgpu-pro.
Mix and match things can not work and so suggest you to uninstall amdgpu-pro completely and install ROCm on a clean environment.
Hope this helps.
Thank you.

Hi @ROCmSupport, thanks for your help!
Just to clarify:

I did not install amdgpu-pro on my system. So it is not there, except if it comes with any fresh install of Ubuntu 20.04?
Hence, I guess amdgpu, that is currently used for my GPU, is the in-tree kernel driver.

Should I really try to remove this kernel driver? It seems risky to me.

Thanks @Lamarche-Perrin, now I think I got the problem well.
From the logs, looks like you are trying it on Opal XT card(Radeon R7) which is not supported for ROCm.
Please check https://github.com/RadeonOpenCompute/ROCm#Hardware-and-Software-Support for supported platforms.

Got it, you are right.
Thanks for your help!


MLClassifierBase - > ProblemTransformationBase

Current version of MLClassifierBase is modeled for Problem Transfomation approaches while there's no need for require_dense in ensembles or algorithm adaptation approaches. Split MLCB into MLCB and PTB.

Fixed in 259dc6c


fix: refactored output flag to accomodate tui

fix: refactored output flag to accomodate tui
Description
Refactored the output command to be implemented by individual commands to accomodate use of selection tui.
BREAKING CHANGE: renamed the output flag to format in all CLI commands

[x] This change requires a documentation update
[x] I have made corresponding changes to the documentation

Related Issue(s)
This PR addresses issue #688
/claim #688

Nice work!
Before final approval please add BREAKING CHANGE: renamed the output flag to format in all CLI commands into your commit message (above the signoff) and add the breaking change to the description of the PR.

Done

@idagelic hello Ivan sorry for tagging you but I have been waiting for Ur review

Same with PersistentPreRun -> PreRun - please check and let me know. If thats the case, I believe PreRun would work fine and not interrupt the PersistentPreRun from root.

Agreed with @idagelic on this. Moving the format stuff to PreRun should be enough to solve this and better than checking the parent command and running it's function manually.

@Tpuljak @idagelic i ran into merge conflicts which provided hard to resolve so i am opening a new pull request and applying the requested changes there #1009 i will be turning this into a draft sorry for the shuffling and delay

@Tpuljak @idagelic i ran into merge conflicts which provided hard to resolve so i am opening a new pull request and applying the requested changes there #1009 i will be turning this into a draft sorry for the shuffling and delay

No problem, closing this one then


Missing data in ClusterScanReport .spec.reportJSON

The following fields in the ClusterScanReport located at .spec.reportJSON.results[].checks[] are missing data
audit_config
actual_value
expected_result

This data is needed to produce the self-assessment documentation.

This data is read from the Kube-bench reports itself - so it seems the KB report does not print out this data. We might need to check the KB cli to see if there is a flag to output it.

confirmed required data is in the report json and I am able to generate the needed docs.
tested with:rancher-cis-benchmark:1.0.300


Fixes 3019: No need for pr check to run in venv ephemeral

Summary
The pr check does not need to run in ephemeral env, the main thing is not to run the introspection test as that works in stage_proxy and prod only
Testing steps
Pr test run passes.

/retest

/retest

https://issues.redhat.com/browse/HMS-3019


Modernize

[x] Update all dependencies (there is probably a set of greenkeeper PRs for this)
[x] Update package.json license information
[x] Ensure package.json contains the noflo keyword
[x] Switch from nodeunit to grunt-mocha-test
[x] Ensure grunt-mocha-phantomjs has failWithOutput set to true
[x] Set Travis to use Node.js 4.2
[x] Set up Travis autodeploy to NPM
[x] Remove IRC notification from Travis config if set
[ ] Ensure components have descriptions, icons, and that their ports have datatypes (description on ports are an extra bonus)
[ ] Ensure components that can have errors have an appropriate error port and send to it
[ ] Update components to the new Process API
[ ] Port tests to fbp-spec, or at least make them load components/graphs using ComponentLoader
[ ] Annotate platform-specific components with # @runtime noflo-nodejs or # @runtime noflo-browser
[ ] Make sure components send only valid substreams with brackets. IP object metadata can be used for metadata purposes if needed
[ ] Remove all uses of deprecated NoFlo apis, like LoggingComponent or AsyncComponent
[x] Add grunt-noflo-lint or noflo-lint to build config
[ ] If components are stateful, make sure all state is cleared at shutdown()

Refs noflo/noflo#410

Already handled


disableEveryone

say needs to include disableEveryone in msg send
check if index.js needs one at the start of msg handler

fixed :)
all commands & index.js protected from this bug. fewwww, dont wanna pull the big mistake lol
closed


Feature request: Customize skin colors

The inclusion of skins are great, but I want to customize the skins with my own colors without needing to jump through hoops.

I've just started to use Text but I believe that you just need to create a new file in  _sass/skins (you can copy another skin content). Suppose you call it _myskin.css. In this file you can edit all the colors that you want. Then you simply need to set text_skin: myskin in _config.yml. As I said, I am not 100% if this is the best way to do it, but it worked for me.


Change routing and action handling for pages

closes #70, closes #66, connects #69

@smpallen99 This should be good to close #66  and #70. This may address the original reason for #69 (the error) through overriding the default_page, though I haven't tested that. We can address that in a separate PR.


SQL limit and skip from API

complete by https://github.com/nance-eth/nance-ts/commit/4b61d1a5acce25c05f9848194cfc746781a8f5b6
thanks @twodam !!!


Add research description to bonnyci.org site

Closes Issue #44
Signed-off-by: Augustina Ragwitz<EMAIL_ADDRESS>

Build failed.

http://logs.bonnyci.com/check_github/BonnyCI/bonnyci.org/45/1489529133.83/bonnyci-run-check : FAILURE in 2m 15s

Build failed.

http://logs.bonnyci.com/check_github/BonnyCI/bonnyci.org/45/1489529354.86/bonnyci-run-check : FAILURE in 2m 15s

Merge Failed.
This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.

whoh that's a weird thing


shape.html: fix external documentation link

There is zero explanation of SVG Path element's d parameter on the w3schools page. Moz docs go into great detail about the d.

I got a notification that tests failed but it also says no tests were run, and I can't imagine an href change could possibly break a test

https://github.com/holtzy/D3-graph-gallery/actions/runs/6856939009/workflow oh your test runner config is broken on master


arch: arm: aarch32:cortex_m: timing.c: cortex M7 may need DWT unlock

arch: arm: aarch32:cortex_m: timing.c: cortex M7 may need DWT unlock
On Cortex M7, we need to check the optional presence of
Lock Access Register (LAR) which is indicated in
Lock Status Register (LSR).
When present, a special access token must be written to unlock DWT
registers.
Fixes #30322

This patch is inspired from Arduino code (Copyright STMicroelectronics) with BSD-3-Clause license, compatible with Apache License.
https://github.com/stm32duino/Arduino_Core_STM32/blob/5f95b95cd5c8f7673886ca0d243684421f4595b8/libraries/SrcWrapper/src/stm32/dwt.c#L54


Brewery colorblind-friendly support

Linking to issue on Brewery repo so we can remember: https://github.com/DieReicheErethons/Brewery/issues/493

breweryng fork has the PR with colourblind friendly labels integrated, btw: https://github.com/BlueMoonVineyard/BreweryNG/commit/eb7ffac87a7bd4652f266deb727126676d15e9b0

PR Merged: https://github.com/DieReicheErethons/Brewery/pull/497, awaiting next release


Removed options for graphic libraries

💅 After this is merged, remove -DCPP_STARTER_USE_IMGUI=ON from your cmake command!

I didn't learn my lesson and I'll blindly approve a PR of yours again :)


[ws-migration] change the ws request from payload->id to id

we moving id from the payload.id go out

[x] comic
[ ] cdn
[ ] like
[ ] user

because some value in payload maybe a array

will open if need


Add digilent hs2 support

This set of patches adds support for the Digilent HS2 adapter.
I had some problems with "usb bulk write failed" errors. To solve them, all writes from mpsse_jtag_scan_chain_send() are now buffered first. They are only sent if

the buffer doesn't have space for another command or
mpsse_jtag_scan_chain_receive() is called.

This already makes the errors occur less frequently. To totally get rid of them I had to increase the FTDI latency setting. To compensate the loss of speed, a SEND_IMMEDIATE command is appended to the buffer before commands are sent over USB. This improves the transfer speed considerably. In fact, on my machine the connection over xvc is as fast as if the adapter was connected directly.

Please fix the failing CI.


💡 Add Matomo analytics

Area
Wrapper
Is there new design needed?
No
What?
The implementation will involve integrating a web analytics tool Matomo into the app to track key metrics.
Why?
Understanding how users interact with the website is crucial for identifying where they encounter difficulties, and how they navigate through the site.
How?

Implement Tracking Code: Add the provided tracking code to all pages of the website, ensuring it's correctly configured to capture user interactions.
Set Up Goals and Events: Define specific goals (e.g., sign-ups) and events (e.g., button clicks, video plays) that align with objectives.
Test and Verify: Conduct tests to ensure data is being accurately captured and reported in the analytics dashboard.

(Optional) User Story with acceptance criteria
No response

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Please see if we can remove our own traffic from the analytics.

@jdyczka could you add the following so we can track the page views

This PR adds matomo to one page, lets test it out and see how it looks

Matomo deployed to Preview and Mainnet, lets see how it looks and then go from there


Should update the API version cause Kubernetes v1.16 has deprecated some API version.

Refer to https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/, DaemonSet, Deployment(in the extensions/v1beta1 and apps/v1beta2 API groups) has been
migrated to use the apps/v1 API, available since v1.9.
I met this issue when create intel-fpga-webhook-deployment, please see my code update below:

This has been taken care of. The PR is under review.


Control on menu

I have two users on my website, 'user' and 'admin', I want to show some items to  user and some items to admin, and i want to add dynamically items to menu from a component

this solution worked for me Thanks :)

hi @Ezeon  solution worked but goes to infinite loop

@SalahudinMalik
The solution works by defining the full menu in 'MENU_ITEMS' and then using the function getMenu() to filter the menu items. I'm not sure how this could cause a loop. I'm using this code successfully in one of my projects.
If you could post your code, I'll be happy to take a look.

This is good, however, my use case is different. I have multiple companies with different user roles. So for Company A I want to display Menu A, B, C  while Company B will have Menu D, E, F. Company A has User X and User Y where User X has access to Menu B and User Y has access to Menu A and Menu C. Company B has User M and User N where User M has access to Menu D and E and User N has access to Menu F. My thought is based on the login, I can fetch Jason using Http and then load this json file into menu items. Any direction would be most appreciated.


tedge unset mqtt port not functioning

Describe the bug
tedge unset mqtt port not functioning
To Reproduce
Preconditions

thin-edge is installed on DUT
DUT is connected to c8y
The MQTT bind port has an custom IP address

Steps to reproduce

Use the tedge command to set the default bind address sudo tedge config unset mqtt.port
Disconnect from cloud tedge disconnect c8y
Connect to cloud tedge connect c8y
Check the bind address setting tedge config list

Observe that nothing has been changed, custom IP address is still set

Expected behavior
Unsetting the IP address of the MQTT bind address to be able to set to default

Screenshots

Environment (please complete the following information):

OS [incl. version]
Hardware [incl. revision]
System-Architecture: Linux raspberrypi 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
thin-edge.io version 0.7.4

Additional context

@gligorisaev Are you talking about address or port?

sudo tedge config unset mqtt.port
This is the port number, e.g. 1883 (default), 8883.

But on the other hand, you are saying about mqtt.bind_address

Observe that nothing has been changed, custom IP address is still set

Ups, used wrong copy/paste sequence, closing this issue


Setting feature

Made a set setting, applied to search by series, search by ingredients, and random functions.

Potential working for beta: Save settings for multiple sessions with configuration


[Bug] Potential hazard in epilogue when kUseVarSeqLen=true

Hello,
I'd like to report a potential hazard that occurs in the epilogue when kUseVarSeqLen=true. Under this condition, it utilizes write_tiled() instead of write_tma() to write O to the gmem. This implies that all threads are responsible for issuing a copy from smem to gmem. However, it appears that these threads are not synchronized prior to the copy operation.
To consistently reproduce this bug, insert the following code before the  cute::copy(rmem_tiled_copy_O, taccOrO, taccOsO)at https://github.com/Dao-AILab/flash-attention/blob/main/hopper/epilogue_fwd_sm90_tma.hpp#L200. This makes the last warp copy from rmem to smem much slower than the others. Due to the lack of synchronization, the data are copied to gmem before the smem data is fully prepared.
if (cutlass::canonical_warp_idx_sync() == kNWarps - 1) {
    __nanosleep(1*1000);
}

Thanks, I think you're right. We might have fixed it in this branch (decode) which we're working on merging to main
https://github.com/Dao-AILab/flash-attention/blob/decode/hopper/epilogue_fwd_sm90_tma.hpp

That’s great, it looks good to me.


How can I separate the config from nuxt.config.js

I want to separate the nuxt-i18n configuration to /plugins/i18n.js. How can i make it?

This question is available on Nuxt.js community (#c55)

Hi @MoeCasts
You can put all your config in a separate module and import it into nuxt.config.js, it that what you meant? There's an example here: https://github.com/paulgv/nuxt-i18n-example


Floating

sometimes when you are near a node you do a weird move and you float and gather at the same time. its not visible from the users end but the other players can see it.

This is just lag. Since GBR doesn't handle movement on its own there's nothing to be done on GBR's side, though. You might be able to mitigate it by increasing your delay between actions slightly.


fix: internally use forward delineated paths cross-platform

Closes https://github.com/neovim/nvim-lspconfig/issues/1168
Closes https://github.com/neovim/nvim-lspconfig/issues/1170
Closes https://github.com/neovim/nvim-lspconfig/issues/1266
Closes https://github.com/neovim/nvim-lspconfig/issues/1543
Closes https://github.com/neovim/nvim-lspconfig/issues/1588
Closes https://github.com/neovim/nvim-lspconfig/issues/1590
I have not yet tested this.

tsserver is still broken when opening from netrw, both on master and on this branch, while opening the file directly works fine on either branches 🤔

I know the issue, dirname is still failing with the path separators fixed. I'll fix it tomorrow.
lua print(require('lspconfig.util').path.dirname('C:/Users/michael/Repositories/nvim-lspconfig/typescript-project/main.ts'))
vs.
lua print(require('lspconfig.util').path.dirname('C:\Users\michael\Repositories\nvim-lspconfig\typescript-project\main.ts'))

I know the issue, dirname is still failing with the path separators fixed because what is returned from netrw is inconsistent.
lua print(require('lspconfig.util').path.dirname('C:\Users\michael\Repositories\nvim-lspconfig\typescript-project\main.ts'))

I guess you mean with double backslash, because it's throwing an error otherwise
print(require('lspconfig.util').path.dirname('C:\\Users\\michael\\Repositories\\nvim-lspconfig\\typescript-project\\main.ts'))

I believe this should now work.

I believe this should now work.

Tested with tsserver and it attaches correctly now.

Tested and it fixes #1266 #1588 #1590

@sm1999 To clarify, does that imply it does not fix #1168, #1170, and #1543?

@mjlbach No

Thanks! I went ahead and merged as I am pretty confident in the fix, but please feel free to report any bugs you all run into.


tests(settings): adding tests for FindHome() and SetHome()

Current coverage is 26.18% (diff: 100%)

Merging #232 into master will increase coverage by 0.05%

@@             master       #232   diff @@
==========================================
  Files            56         56
  Lines          3861       3861
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1009       1011     +2
+ Misses         2719       2717     -2
  Partials        133        133

Powered by Codecov. Last update a330059...13256db

This branch got out of hand with some rebasing. Closing in favor of https://github.com/deis/workflow-cli/pull/245


Redis - make the dependencies optional

I thinks that the https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security-oauth2/pom.xml#L148 redis depedencies should be marked as optional, otherwise the Spring Boot autoconfiguration will catch that and try to initiate the default connection:
redis: {
status: "DOWN",
error: "org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool"
},

Fixed in #562


Missing commands

Any idea what the command codes might be to list and download photos?
Anyhow, great work!!

I can't remember off the top of my head, but my CLI tool uses the API to do it:
https://github.com/AdamLaurie/sjcam

Nice, super useful documentation! I'll give it a try. Thanks!


Cloud resource management patterns document

This repository will serve as a useful set of patterns for managing cloud provider resources in kubernetes.  These patterns should be brainstormed and documented in a shared document that serves to capture design elements as well as best practices for developers implementing controllers for new cloud resources.

Related to #289
Related to #290

What work remains on this? I know we got a great start on https://github.com/crossplaneio/crossplane/blob/master/design/design-doc-reconciler-patterns.md, but what other patterns and practices need to be updated or included into that document?

TBH I am not exactly sure. Some pieces seem to be outdated (Conditions), while others may be still relevant. As for the completion, this document (in my understanding) is more of the information/guide-line/best-practices type. I am not sure what is needed (and if it is needed) to become a Pattern type design document.

I'm optimistically going to call this fixed by https://github.com/crossplaneio/crossplane/pull/840.


Make a convenient way to time functions' execution speeds

What / Why
Funcs are time and time_ms, to match with the ruby agent's options.
To be used like:
I.time("some.metric", () => { do_something_here });

Builds on #6 and #8

This is looking great. I'll do a full review as soon as I'm back at a real computer :)

Spoke at length with @spacetc62 about the utility of this work, and a different approach. Closing this in lieu of a bright, bolder, promises-based future.


[Bug] Volume module uses way too much horizontal space when placed on the left side

I mentioned this in the discord server but wanted to make an official bug report here for better tracking. This behavior only happens when placing the module on the left, not the center or right.

screenshots would be nice

let me try to replicate

indeed a bug

I know lol. Like I said I already mentioned it in Discord and spoke with Jas about it directly.

will try to close this on free time unless Jas does it first


updated RSSlink to RSSLink

updated RSSlink to RSSLink to remove the depcrecation warning in hugo:
WARNING: .Page's RSSlink is deprecated and will be removed in a future release. Use RSSLink instead.

@anishpateluk Thanks.


SVG attributes linted incorrectly

There was an issue created asking for native attribute support on svg elements https://github.com/yannickcr/eslint-plugin-react/issues/490
This was based on React v15.0 Release Candidate, but that change has since been reverted in React v15.0 Release Candidate 2. And it never made it to the final release.
Soooo right now svg attribute linting is kinda broken 😢

Ho! Seems we missed that 😞

I'm on 7.17.0 and seeing this issue too. Assuming this is the same issue as #490


Decimal format not working with localization for French language

The decimal separator used for Euro currency is comma, while in other currency we have dot as a decimal separator. So when any model property is of Currency data type, it fires data annotation validation states that "The property must be a number".
As while changing the culture to French the display format of decimal and currency datatype property becomes '0,00'.
How can we set the default decimal format as 0.00 globally? And also how can we restrict not to change the culture for currency?

If I'm not wrong this is a duplicate for issue #203

No its different issue I think. In the issue #203, they are not getting the localization working for currency. in my case I am getting the appropriate Euro currency when I change the culture to French.
Due to Euro decimal format(using comma as decimal separator), the validation is fired as invalid number.

Using 0.00.ToString("C") should display 0,00 € in french culture.
Can you please print out 0.00.ToString("C", CultureInfo.InvariantCulture) and check if you get the desired result.

But we need to use decimal format (0.00) for Editor as well as for display dynamically.

Do you get the expected result when you execute the above code? if yes, the main issue you 're facing is the editor shows you an error when you enter (0.00) format, Am I right?

Yes, main issue is with Editor for a number data type

I tried to change the DataFormatString in DisplayFormatAttribute, it works with date, but whenever you change the numbers format it shows comman instead of period even if the period symbol was set in the format.
I end up with setting NumberFormat.NumberDecimalSeparator of the current culture to period symbol, it works as expected.

Sure, I will try this to resolve the issue.

Exactly @ryanbrandenburg, the solution that you mentioned above is the easiest one after the fix of #203, but before that it needs a workaround to make this happen

@dpjain I'm going to assume that in this instance silence means success. Feel free to re-open if you still have trouble.

@ryanbrandenburg
I am still facing the issue after declaring the NumberFormat= { CurrencyDecimalSeparator = "."} in Startup.cs.

@dpjain can you please upload your sample in a repo and share the link with us

Sorry I was not able to provide you the sample.
But the issue is resolved now.
Thanks

No problem, while the problem solved 😄


v0.2.0 changelog

High level summary of changes since v0.1.0.

@mikesbrown : I'm looking at the changes in master since v0.1.0, and selecting highlights.

To answer my own question:

Do you have a candidate Git hash for v0.2.0?

Notes look good from v0.1.0 to baecc6a.


Current found device(s): (0)

I face the problem with findilg the depth sensor
there's log:
[11/12 21:24:57.267797][info][12619][Context.cpp:68] Context created with config: /home/hertz/pyorbbecsdk/config/OrbbecSDKConfig_v1.0.xml
[11/12 21:24:57.267847][info][12619][Context.cpp:73] Work directory=/home/hertz/pyorbbecsdk, SDK version=v1.10.16-20241021-5113dad
[11/12 21:24:57.267888][info][12619][LinuxPal.cpp:32] createObPal: create LinuxPal!
[11/12 21:24:57.270439][info][12619][LinuxPal.cpp:166] Create PollingDeviceWatcher!
[11/12 21:24:57.270491][info][12619][DeviceManager.cpp:15] Current found device(s): (0)
[11/12 21:24:57.270525][info][12619][Pipeline.cpp:15] Try to create pipeline with default device.
[11/12 21:24:57.270548][warning][12619][ObException.cpp:5] No device found, fail to create pipeline!
[11/12 21:24:57.271199][info][12619][Context.cpp:84] Context destroyed
Traceback (most recent call last):
File "examples/depth_color_sync_align_viewer.py", line 122, in
main(sys.argv[1:])
File "examples/depth_color_sync_align_viewer.py", line 29, in main
pipeline = Pipeline()
RuntimeError: Caught an unknown exception!
I use nvidia jetson nano with ubuntu 18.01.XX, and Astra Pro
someone help me, i dont wanna use c++, i need python only

That's
after lsusb command
camera is Device 011


Logs User Claims Recursively

So I tried wiring this up and got this MASSIVE structure dumped into the logs, as it destructured User, then Claims, then each Claim refs back to the User, then ... whee!

Hi @jmather,
Have you added the destructuring policy as described here?
https://github.com/olsh/serilog-sinks-sentry#capturing-httpcontext-aspnet-core
.Destructure.With<HttpContextDestructingPolicy>()

Closing this out due to inactivity, please feel free reopen the issue.


charset=utf-8 added to Content-Type even if set manually in HTTP Response node

What are the steps to reproduce?
Node-red appends charset=utf-8 to the Content-Type header in the HTTP Response node by default. If a custom header is set, it still adds charset=utf-8 no matter what the Content-Type that is set.
What happens?
charset=utf-8 is appended to the content-type
What do you expect to happen?
I expect that the exact header I manually set to be returned with the response and not messed with. This affects endpoints being used with services that are very picky with the Content-Type (eg. Twilio)
Please tell us about your environment:

[ ] Node-RED version: 1.2.2

Express, the framework we're built on top of, automatically appends the charset field and doesn't provide any way to stop it from doing that. This was in response to a vulnerability disclosure around JSON hijacking.
See https://github.com/expressjs/express/issues/3490 and the items linked to from there.
So I'm not immediately sure what we can/should do about this.

Express, the framework we're built on top of, automatically appends the charset field and doesn't provide any way to stop it from doing that. This was in response to a vulnerability disclosure around JSON hijacking.
See https://github.com/expressjs/express/issues/3490 and the items linked to from there.
So I'm not immediately sure what we can/should do about this.


Can you also add fastscroller, edit song metadata, delete song , share song and set as ringtone feature?

Fast Scroller Link -https://github.com/danoz73/RecyclerViewFastScroller

When making new issues for feature requests, make sure to check that it hasn't been requested before, and try to split up requests like this. Having an issue with multiple feature requests makes it hard to keep track of its status and often leads to it getting lost and forgotten.
Editing a song's metadata has been one of the most requested features for Jockey (#75). I haven't looked into implementation details too much as of right now, so I can't give a very confident status on when that'll be added. It definitely won't be in the next release (2.0), but hopefully can make it in 2.1 or so.
Deleting songs has been suggested before (#14), but was closed in part because the issue contained multiple feature requests. I've gone ahead and made a new issue for song deletions (#99).
Setting a song as the device's ringtone has also come up before in #14. I've created another issue for it (#100), but this is relatively low priority in my opinion, since I don't think many people change their ringtone that often.
Sharing songs has also come up before (#37). This issue also contained several feature requests and has been closed. Implementing this can get a bit tricky since it seems to promote piracy. I'm open to suggestions for how this could be implemented, so feel free to open another issue for this with your opinions.
Fast Scrolling is something that I've also been interested in adding. It was around in some of the earlier builds of Jockey before I transitioned from ListView to RecyclerView, and has mostly just been a matter of finding a good library to do this with. I've moved this into a separate issue (#101) and copied your discussion over.


Update connectors-google-data-security-privacy-policy.md

@ecfan , we need to remove HTTP from the list

@divyaswarnkar : Thanks for your contribution! The author(s) have been notified to review your proposed change.


net/http/fs.go: dirList write hardcode about how to show the satic file list.

What version of Go are you using (go version)?

$ go version
go version go1.20.2 windows/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=D:\workspace\go\bin
set GOCACHE=C:\Users\snowdream\AppData\Local\go-build
set GOENV=C:\Users\snowdream\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=D:\workspace\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\workspace\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.com.cn,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.20.2
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\workspace\go\src\snowdream.tech\snowdream-server\go.mod
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\SNOWDR~1\AppData\Local\Temp\go-build2673060699=/tmp/go-build -gno-record-gcc-switches

What did you do?

I Try to build a static file web server with gin framework.
https://gin-gonic.com/docs/examples/serving-static-files/
func main() {
	router := gin.Default()
	router.StaticFS("/more_static", http.Dir("my_file_system"))

	// Listen and serve on <IP_ADDRESS>:8080
	router.Run(":8080")
}

I find that:
At last, net/http/fs.go: dirList  function is used to show the satic file list with hardcode.
https://github.com/golang/go/blob/master/src/net/http/fs.go#L153
w.Header().Set("Content-Type", "text/html; charset=utf-8")
	fmt.Fprintf(w, "
\n")
	for i, n := 0, dirs.len(); i < n; i++ {
		name := dirs.name(i)
		if dirs.isDir(i) {
			name += "/"
		}
		// name may contain '?' or '#', which must be escaped to remain
		// part of the URL path, and not indicate the start of a query
		// string or fragment.
		url := url.URL{Path: name}
		fmt.Fprintf(w, "%s\n", url.String(), htmlReplacer.Replace(name))
	}
	fmt.Fprintf(w, "
\n")

What did you expect to see?
I want to customize the page, as i will.
eg. Like Nginx with autoindex on.

What did you see instead?

Duplicate of #29945


How to add a subscribe button and email input filed in the Index page?

[x] This is a question about using the theme.
[x] This is a feature request.
[ ] I believe this to be a bug with the theme.

[ ] I have updated all gems with bundle update.
[ ] I have tested locally with bundle exec jekyll build.

Environment informations

Minimal Mistakes version:
Jekyll version:
GitHub Pages hosted: yes/no
Operating system:

Expected behavior

Steps to reproduce the behavior

If you want the email addresses to come to you or an email address you have control over I'd recommend https://formspree.io/ - its fast and easy to setup and is free to use.
Simply add the following code to your page:
<form<EMAIL_ADDRESS>      method="POST">
    <input type="text" placeholder="Name" name="name">
    <input type="email" placeholder="Email" name="_replyto" required>
    <input type="submit" value="Send">
</form>


Implement v1 and v2 SQL schema in Rust

This ticket tracks "porting" the existing sqlite_schema.cljc code and definitions to Rust.  In particular, handling the SQLite user version and schema upgrade paths to ensure the underlying SQL store is coherent.
This may require defining types for the part table, symbolic schema, ident<->entid maps, but we'll see as we go.
/cc @rnewman @joewalker

Done enough, I think.


Live Serve doesn't work

Type: Feature Request
for example i write console.log("hello");
but it doesn't work in page google;
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 6.3.9600
Modes:
Sandboxed: No

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!