[QA] Remove the data row from data table

Previously we used resourceType in step implementation to get the itemId. We used two methods getResourceId for a folder and getFileId for a file. Now, we use only getResourceId to get an ID for both file and folder. resourceType is no more in use so we can remove that from the data table given in the step.
Files to be refactored:

[x] apiSharingNg/shareInvitations.feature https://github.com/owncloud/ocis/pull/8369
[x] apiSharingNg/sharedByMe.feature https://github.com/owncloud/ocis/pull/8369
[x] apiSharingNg/deletePermissions.feature https://github.com/owncloud/ocis/pull/8370

When user "Alice" sends the following share invitation using the Graph API:
      | resourceType    | <resource-type>    |
      | resource        | <path>             |
      | space           | Personal           |
      | sharee          | Brian              |
      | shareType       | user               |
      | permissionsRole | <permissions-role> |

Given user "Alice" has sent the following share invitation:
      | resourceType    | file         |
      | resource        | textfile.txt |
      | space           | Personal     |
      | sharee          | Brian        |
      | shareType       | user         |
      | permissionsRole | Viewer       |

and refactor an example table where needed.

[x] apiSharingNg/linkShare.feature
Also, make the necessary changes in step implementation for this step. https://github.com/owncloud/ocis/pull/8370

When user "Alice" creates the following link share using the Graph API:
      | resourceType    | folder            |
      | resource        | folder            |
      | space           | Personal          |
      | permissionsRole | <permissionsRole> |
      | password        | %public%          |

Closing this PR as the issue is solved by https://github.com/owncloud/ocis/pull/8369 and https://github.com/owncloud/ocis/pull/8370


Add coproduct decoders

As discussed in #439, this PR adds Encoder and Decoder instances for Shapeless's coproducts (both labelled and unlabelled). It also renames the Record codecs (to LabelledHList) for consistency with the new instances.
This PR also reverts yesterday's related #440, which allowed inconsistencies between fail-fast and error-accumulating decoders:
scala> import io.circe.Decoder, io.circe.jawn.{ decode, decodeAccumulating }
import io.circe.Decoder
import io.circe.jawn.{decode, decodeAccumulating}

scala> val d = Decoder[Int].map[Either[Int, String]](Left(_)).or(
     |   Decoder[String].map[Either[Int, String]](Right(_))
     | )
d: io.circe.Decoder[Either[Int,String]] = io.circe.Decoder$$anon$19@20425b88

scala> println(decode("null")(d))
Left(DecodingFailure(String, List()))

scala> println(decodeAccumulating("null")(d).leftMap(_.head))
Invalid(DecodingFailure(Int, List()))

In the context of this PR, this also means if you try to decode a coproduct with error accumulating, you'll only see a single failure (not one for each constructor).

Current coverage is 81.54% (diff: 97.05%)

Merging #441 into master will increase coverage by 0.37%

@@             master       #441   diff @@
==========================================
  Files            78         80     +2
  Lines          2103       2130    +27
  Methods        2008       2040    +32
  Messages          0          0
  Branches         95         90     -5
==========================================
+ Hits           1707       1737    +30
+ Misses          396        393     -3
  Partials          0          0

Powered by Codecov. Last update c94277f...3fd7ba7


automate updates from new powershell-shim releases

Describe the Enhancement:

Automate updates to the distro directory when the https://github.com/chef/chef-powershell-shim package is updated.
Describe the Need:

Currently we have to manually run update_chef_exec_dll task in windows to pull in the updates from the new release.

This issue will be rendered obsolete by moving powershell_exec and the dlls into their own gem.

Yep let's just make sure to get an expeditor subscription setup for the new gem name so releases trigger a gemfile.lock update


chore: add galoy-backend-middleware-routes and oathkeeper smoketests

to match the oathkeeper config in:
https://github.com/GaloyMoney/galoy/blob/ff881ea91873bcb8d480534cb5c2873976252791/dev/ory/oathkeeper_rules.yaml from https://github.com/GaloyMoney/galoy/pull/2254
No change in functionality is expected apart from tightening the rules on the galoy-backend to POST requests only.
Apart from reordering of the rules the change is that the galoy-backend at "<(http|https)>://<[a-zA-Z0-9-.:]+>/graphql<.*>"
allows:
"methods": [ "POST" ]
while the
galoy-backend-middleware-routes at http://api:4002/
"url": "<(http|https)>://<[a-zA-Z0-9-.:]+>/<(kratos|browser|healthz|metrics)(.*)>",
allows:
"methods": ["GET", "POST", "OPTIONS"]
Compare:
https://github.com/GaloyMoney/charts/blob/181759a3d3dac24e4fb1fbe86bdf6433cbca9ec8/charts/galoy/values.yaml#L632-L855
vs
https://github.com/GaloyMoney/galoy/blob/ff881ea91873bcb8d480534cb5c2873976252791/dev/ory/oathkeeper_rules.yaml#L1-L161

There is a make commadn to run the someketests locallly:
~/charts/dev$ make run-galoy-oathkeeper-smoketest

Expected output:
kubectl -n galoy-dev-smoketest exec smoketest -- bash -c "cd /charts/ci/tasks && \
    CHART=galoy ./dev-smoketest-settings.sh && \
    ./galoy-oathkeeper-smoketest.sh && \
    rm -rf smoketest-settings response.json"
Attempt 1 to curl the decline-direct-access-validatetoken route
Attempt 1 to curl the graphql route
Attempt 1 to curl the galoy-backend auth
Attempt 1 to curl the galoy-backend-middleware-routes
Attempt 1 to curl the admin-backend route


index directive don't working per-site or documentation on it is unclear

This issue created from here: https://caddy.community/t/caddy-serves-index-html-instead-of-admin-html-or-spa-dont-work-on-non-root-urls/2445/8
1. What version of Caddy are you using (caddy -version)?
0.10.6
2. What are you trying to do?
I'm trying to serve different index files at different sites configuring caddy for two SPA apps in one root dir.
3. What is your entire Caddyfile?
Here "domain" is a placeholder, not a real domain.
My example from forum:
https://admin.dev.domain.net {
  root /var/www/front/dev/dist
  index admin.html

  rewrite / admin.html
}

https://dev.domain.net {
  root /var/www/front/dev/dist
  index index.html

  rewrite {
    to {path} {path}/ /
  }
}

4. How did you run Caddy (give the full command and describe the execution environment)?
root@dev ~/ $ cat /etc/init/caddy.conf

description "Caddy Server startup script"

start on runlevel [2345]
stop on runlevel [016]

respawn
respawn limit 10 5

script
        cd /etc/caddy
        exec /usr/local/bin/caddy
end script

5. Please paste any relevant HTTP request(s) here.
Files:
root@dev ~/ $ cat /var/www/front/dev/dist/admin.html
admin ok
root@dev ~/ $ cat /var/www/front/dev/dist/index.html
index ok

Requests:
felian@felian-VirtualBox:~/$ curl -i dev.domain.net
HTTP/1.1 301 Moved Permanently
Connection: close
Location: https://dev.domain.net/
Server: Caddy
Date: Wed, 02 Aug 2017 06:34:21 GMT
Content-Length: 59
Content-Type: text/html; charset=utf-8

Moved Permanently.

felian@felian-VirtualBox:~/$ curl -i admin.dev.domain.net
HTTP/1.1 301 Moved Permanently
Connection: close
Location: https://admin.dev.domain.net/
Server: Caddy
Date: Wed, 02 Aug 2017 06:34:25 GMT
Content-Length: 65
Content-Type: text/html; charset=utf-8

Moved Permanently.

felian@felian-VirtualBox:~/$ curl -L dev.domain.net
index ok
felian@felian-VirtualBox:~/$ curl -L dev.domain.net/g
index ok
felian@felian-VirtualBox:~/$ curl -L admin.dev.domain.net
admin ok
felian@felian-VirtualBox:~/$ curl -L admin.dev.domain.net/g
404 Not Found

We want the last request to result with admin.html, not 404.
Also tried this config with
rewrite {
    to {path} {path}/ /
  }

instead of rewrite / admin.html in dev.admin.domain.net block. It leads last 4 curl requests to return index ok:
felian@felian-VirtualBox:~/$ curl -L dev.domain.net
index ok
felian@felian-VirtualBox:~/$ curl -L dev.domain.net/g
index ok
felian@felian-VirtualBox:~/$ curl -L admin.dev.domain.net
index ok
felian@felian-VirtualBox:~/$ curl -L admin.dev.domain.net/g
index ok
felian@felian-VirtualBox:~/$ curl -L admin.dev.domain.net/admin/
index ok

Listing of /var/www/front/dev/dist (root in config) directory :
root@dev ~/ $ ls /var/www/front/dev/dist/
admin.html           b.app.a2f0e111.js    b.game1.a4f18f87.js  b.game2.cb680127.js  sitemap.html
b.game3.2896ea39.js     b.core.87f10c2d.js   b.game4.d85919a0.js  favicon.ico         static
b.admin.266f034f.js  b.game5.6c582e87.js  b.game6.b0b57c63.js   index.html

6. What did you expect to see?
We need: admin.dev.domain.net returns admin.html for / path and admin.html for other paths.
7. What did you see instead (give full error messages and/or log)?
1 Code:
index admin.html
rewrite {
  to {path} {path}/ /
}

Results to: admin.dev.domain.net returns always index.html instead of admin.html from this block (seen in logs).
2 Code:
index admin.html
rewrite / admin.html

Results to: admin.dev.domain.net returns admin.html for / path and 404 for other paths.
3 Code:
index admin.html
rewrite {
  to {path} {path}/ /admin.html
}

Results to: admin.dev.domain.net returns index.html for / path and admin.html for other paths.
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
It is unclear. More information you can get from out topic in the forum: https://caddy.community/t/caddy-serves-index-html-instead-of-admin-html-or-spa-dont-work-on-non-root-urls/2445/8

Hello @mtfelian,
thank you for your time! Yes, index directive does not work per-site and the documentation is unclear!
We have two options :

"Improve the documentation"
"Implement per-site index usage as a feature request" (perfect challenge for Go newbies )

It is a feature request. I think per-site index is a good thing.


Added information about SPI setup on install

Added some additional documentation for raspian about setting up SPI either during install or after install by using sudo raspi-config. This is required to be able to run the examples and any other commends to the hardware

Many thanks for this and the other PR


Added a label group for Pie charts to prevent occlusion by slices.

This solves the label occlusion issue (gionkunz/chartist-js#357) , as you recommended, I created a label group before the series group and then added the labels to this group instead of the series one.
Thanks for such a nice library!

Enjoying the library but this issue really is a sticking point, would love for this PR to be pulled in.

@anthonyjimenez thanks for the PR. Sorry I didn't had much time to work on chartist lately. I'll pull the PR in and will release 0.9.2 asap.
Cheers

Really love the library, Thank You!!!  but looking forward to 0.9.2 with the fix.

0.9.2 will be published this weekend


Upgrade React to stable (15.0.1)

Current issue:
$ npm i --save react@15 react-dom@15

npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings'
peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^15.0.0-rc

My bad, ^15.0.0-rc matches 15.0.1 too.


DllNotFoundException in UnityEditor on Mac

The following exception is thrown in UnityEditor on Mac.
DllNotFoundException: grpc_csharp_ext
Grpc.Core.Internal.NativeLogRedirector.Redirect (Grpc.Core.Internal.NativeMethods native) (at Assets/Scripts/gRPC/Core/Internal/NativeLogRedirector.cs:63)
Grpc.Core.Internal.NativeExtension..ctor () (at Assets/Scripts/gRPC/Core/Internal/NativeExtension.cs:59)
Grpc.Core.Internal.NativeExtension.Get () (at Assets/Scripts/gRPC/Core/Internal/NativeExtension.cs:77)
Grpc.Core.Internal.NativeMethods.Get () (at Assets/Scripts/gRPC/Core/Internal/NativeMethods.cs:269)
Grpc.Core.GrpcEnvironment.GrpcNativeInit () (at Assets/Scripts/gRPC/Core/GrpcEnvironment.cs:314)
Grpc.Core.GrpcEnvironment..ctor () (at Assets/Scripts/gRPC/Core/GrpcEnvironment.cs:250)
Grpc.Core.GrpcEnvironment.AddRef () (at Assets/Scripts/gRPC/Core/GrpcEnvironment.cs:117)
Grpc.Core.Channel..ctor (System.String target, Grpc.Core.ChannelCredentials credentials, IEnumerable`1 options) (at Assets/Scripts/gRPC/Core/Channel.cs:87)
Grpc.Core.Channel..ctor (System.String host, Int32 port, Grpc.Core.ChannelCredentials credentials, IEnumerable`1 options) (at Assets/Scripts/gRPC/Core/Channel.cs:124)
Grpc.Core.Channel..ctor (System.String host, Int32 port, Grpc.Core.ChannelCredentials credentials) (at Assets/Scripts/gRPC/Core/Channel.cs:112)
test.Start () (at Assets/test.cs:12)

I think UnityEditor cannot load src/MagicOnion.Client.Unity/Assets/Scripts/gRPC/Native/Mac/grpc_csharp_ext.bundle_.
It worked after renaming the file.
Environment

Unity 5.6.3p3
macOS Sierra 10.12.6

Yes, I can not remmember that why it was necessary.
Thanks!


Can't using command brew install gromgit/fuse/XYZ-mac to install the xyz-mac

I use the command brew uninstall XYZ it said:
Error: No available formula with the name "xyz".

after that I run the command brew install gromgit/fuse/XYZ-mac which given me:
==> Tapping gromgit/fuse
Cloning into '/opt/homebrew/Library/Taps/gromgit/homebrew-fuse'...
remote: Enumerating objects: 1658, done.
remote: Counting objects: 100% (496/496), done.
remote: Compressing objects: 100% (209/209), done.
remote: Total 1658 (delta 390), reused 318 (delta 285), pack-reused 1162
Receiving objects: 100% (1658/1658), 210.56 KiB | 197.00 KiB/s, done.
Resolving deltas: 100% (1092/1092), done.
Tapped 1 command and 32 formulae (52 files, 350.2KB).
Warning: No available formula or cask with the name "gromgit/fuse/xyz-mac". Did you mean gromgit/fuse/tup-mac, gromgit/fuse/goofys-mac, gromgit/fuse/s3ql-mac, gromgit/fuse/wdfs-mac, gromgit/fuse/btfs-mac, gromgit/fuse/s3fs-mac, gromgit/fuse/xmount-mac, gromgit/fuse/sshfs-mac, gromgit/fuse/gitfs-mac, gromgit/fuse/ifuse-mac, gromgit/fuse/cryfs-mac, gromgit/fuse/avfs-mac, gromgit/fuse/mp3fs-mac, gromgit/fuse/afuse-mac or gromgit/fuse/encfs-mac?
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.

Did I miss something?

Yes. xyz is a placeholder name for the formula that used to be hosted by Homebrew, e.g. if the old Homebrew formula was sshfs, the one I'm hosting is called sshfs-mac.
There's no FUSE formula called xyz that I know of.

Oh, sorry it's my fault, I didn't understand xyz properly. Now I install ext4fuse-mac which is very well. Thank you very much.


TypeError running limitMaster.py

Hi,
When trying to execute a Test Event I receive the following error:
cannot concatenate 'str' and 'int' objects: TypeError
Traceback (most recent call last):
File "/var/task/limitMaster.py", line 10, in lambda_handler
print "do stuff here with AWS account "+id+"
"
TypeError: cannot concatenate 'str' and 'int' objects
Any help would be appreciated.
Cheers,
S

The whole code is a bit of a mess. If you can, change line 17 in limitMaster.py file to:
print "do stuff here with AWS account " + str(id) + "\n"
Replace the old limitMaster.py in the ZIP archive and upload it to MasterLambda function.

Thank you, that's fixed the error.
On 5 July 2016 at 00:14, Luka Furlan<EMAIL_ADDRESS>wrote:

The whole code is a bit of a mess. If you can, change line 17 in
limitMaster.py file to:
print "do stuff here with AWS account " + str(id) + "\n"
Replace the old limitMaster.py in the ZIP archive and upload it to
MasterLambda function.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-limit-monitor/issues/1#issuecomment-230300034,
or mute the thread
https://github.com/notifications/unsubscribe/AIBYyWMmzIZz8JOJkDCVtxqP9VRjOOVpks5qSRU3gaJpZM4JD9Xv
.

Fixed in latest update


Add restart to the launch config for nodejs projects

Fixes https://github.com/microsoft/vscode-azurefunctions/issues/781
Fixes https://github.com/microsoft/vscode-azurestaticwebapps/issues/573
Tracking for Python: https://github.com/microsoft/vscode-python/issues/15431
We discussed offline if we should retroactively ask users to alter their launch configurations for them, but we decided it was probably going to annoy most current users rather than help them.  It's pretty easy for a user to add the restart property to their own launch.json.

@nturinski ping to check if there is any progress for this PR

Using the latest func CLI tools (3.0.3331) and VS Code (1.58.0) I can confirm that this still doesn't work on MacOS.  I need to investigate why this isn't working

On Mac I'm only able to get "restart" to work when I run func start with the following arguments:
func start --javascript --language-worker -- "--inspect=9229"

Confirmed that the workaround works on Windows as well though the command is func start --javascript --language-worker="--inspect=9229"
With this PR, we should change the func host start task to include those parameters so that "restart" will work on both Windows and Mac.
I'll have to do some more investigation, but we should probably omit the port number to the inspect flag.  The port number can be whatever the user defines it to be, and I believe that there is logic in the extension to retrieve the port number dynamically.
I've confirmed that it works without it on Windows and this workaround didn't include it.

Closing due to lack of activity.


protocol: add FSPathUpdated notification and SimpleFS subscription

Issue: KBFS-3120

@jzila @songgao could one of you please point me in the right direction for the saga failure in this PR?

@strib you need to add a refreshSubscription parameter here: https://github.com/keybase/client/blob/f37ccf692d539832d5cc79771bdcf23829222f6a/shared/actions/fs/index.js#L97

(as discussed in Keybase chat, I pushed a fix to the CI error)

Also, would it be hard to support notification on SimpleFSStat too?

As discussed on kbchat, this isn't needed. So feel free to ignore it!


Implement TLS and enable it when a cert is available

Enhancement Proposal
Tracking issue: https://github.com/canonical/cos-lite-bundle/issues/75.

PR: https://github.com/canonical/loki-k8s-operator/pull/284

Done


ScreenToGif crash at the start

Hello! I've used screentogif in the past without any problem.
Now when i launch it it crashes without starting (appears only the screentogif icon in the bottom right on application bar and then disappears).
I tried to uninstall it and install the msi version. I tried the portable version, i tried also to start both with administration permissions but nothing, it continue to crash after started (no errors or messages) it only closes and disappear

Try opening the app again, it will crash. Now open the Event Viewer and navigate to Windows Logs > Application.
Search for error logs, there should be two of them, one should contain a detailed stack trace of the crash.

Closing this as it is inactive.


pre-commit support

In the PyPI package description there is a reference to a pre-commit mirror repository for running clang-tidy. I see its reference was removed in https://github.com/ssciwr/clang-tidy-wheel/commit/34e3b2520d640d4975f0012236fc6846ea53908b and that repo either does not exist yet or is not publicly available.
Is pre-commit compatibility still on the roadmap? If so, any help is needed to make that work?

Using this wheel in a pre-commit setup is not my use case.
The reference was there as a copy & paste artefact from clang-format-wheel.
If you want to setup a repo to make clang-tidy wheel usable as a pre-commit hook, that would be great @miki725 :+1:
Neither I, nor @dokempf currently plan to.


Bean named 'dataSourceProxy' is expected to be of type 'io.seata.rm.datasource.DataSourceProxy' but was actually of type 'com.alibaba.druid.pool.DruidDataSource$$EnhancerBySpringCGLIB$$d38bdd7b'

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Bean named 'dataSourceProxy' is expected to be of type 'io.seata.rm.datasource.DataSourceProxy' but was actually of type 'com.alibaba.druid.pool.DruidDataSource$$EnhancerBySpringCGLIB$$d38bdd7b'
Ⅱ. Describe what happened
seata1.4.2  when i start the project
@Configuration
@EnableConfigurationProperties({MybatisPlusProperties.class})
public class DataSourceConfiguration {
@Bean
@ConfigurationProperties(prefix = "spring.datasource")
public DataSource dataSource() {
return new DruidDataSource();
}
@Bean
public DataSourceProxy dataSourceProxy(DataSource dataSource) {
return new DataSourceProxy(dataSource);
}
@Bean
public SqlSessionFactory sqlSessionFactoryBean(DataSourceProxy dataSourceProxy,
MybatisPlusProperties mybatisProperties) {
MybatisSqlSessionFactoryBean bean = new MybatisSqlSessionFactoryBean();
bean.setDataSource(dataSourceProxy);
ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver();
try {
  Resource[] mapperLocaltions = resolver
      .getResources(mybatisProperties.getMapperLocations()[0]);
  bean.setMapperLocations(mapperLocaltions);

  if (StringUtils.isNotBlank(mybatisProperties.getConfigLocation())) {
    Resource[] resources = resolver.getResources(mybatisProperties.getConfigLocation());
    bean.setConfigLocation(resources[0]);
  }
  return bean.getObject();
} catch (Exception e) {
  e.printStackTrace();
}
return null;

}
}

使用druid，而不要用druid-spring-boot-starter

@bean
public DataSourceProxy dataSourceProxy(DataSource dataSource) {
    return new DataSourceProxy(dataSource);
}

返回类型改成DataSource就可以了。

哦，根本原因不是类型不匹配啊。

Register DataSourceProxy bean by yourself is discouraged since 1.3. If you are using seata starter, you don't need to care about DataSourceProxy(starter would process it automatically), just register and use Datasource bean in your old way.

Register DataSourceProxy bean by yourself is discouraged since 1.3. If you are using seata starter, you don't need to care about DataSourceProxy(starter would process it automatically), just register and use Datasource bean in your old way.

thankyou ,project start success,

@bean
public DataSourceProxy dataSourceProxy(DataSource dataSource) {
    return new DataSourceProxy(dataSource);
}

返回类型改成DataSource就可以了。

我把这个去掉启动成功了


Visual Feedback for I2C Component When No I2C Device Connected

Need To Be Solved
When adding the I2C component to the ESP device without any device connected, there is no visual feedback provided to indicate the absence of a connected device. This lack of feedback leads to confusion as the device appears connected but is not functioning.
Solution Suggestion
Implement visual feedback to indicate when the I2C component is added without a connected device. This could include displaying an error message or indicator on the device's interface, clearly indicating that no device is connected.
Additional resources
The message that appears on ESPHome Logs is:

In that case, you could go to devices page, and see if there is data from that sensor, if the sensor doesn't send data you could check then using a SerialPort logger.


Adaptation: Remove Warning while Installing

Do what's required to remove the following warning that appears while installing the package:
DEPRECATION: voidsafe is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559

Useful resources:

https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
https://xebia.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/
https://pip.pypa.io/en/stable/reference/requirements-file-format/


Enhancements and Refactoring for Improved Developer Experience

I refactored the code, improved the readme, eliminated the deprecated request dependency, introduced axios due to its larger community, incorporated JSDoc comments, eliminated unnecessary recursion, utilized modern and efficient language features like Promise.all, excluded node_modules as it's not necessary for npm, deleted preview.png, provided a custom domain option for TempMail (#7 was unnecessary), and introduced eslint, prettier, husky, lint-staged, and npm-scripts to enhance the developer experience.

Hey! I got your email. I don't check this repository too often for PRs, but I will in the future.
I'll review this today and merge it in if all is well. I'll also probably set up a test suite, and add other services so that the library works with more than one temp mail service.
Thank you for your contribution, I appreciate it!

Certainly, I've readded the preview.png file as per your request. Thank you for your quick response and assistance!

Could you kindly review the changes I've made?

i'll make a release after testing thoroughly :)
if you would like to be made a contributor here, since I don't manage this repo much, let me know!

I'd be happy to be a contributor.


project - infrastructure - "Select View: Group by Account" (ui problem)

ISSUE TYPE

Bug Report

COMPONENT NAME

UI

CLOUDSTACK VERSION

4.11

CONFIGURATION

advanced networking
OS / ENVIRONMENT

CentOS7
SUMMARY

If you are a "admin" user (Role Type: admin) select a created project goto infrastructur -> virtual routers -> select view -> group by account then you get an "account and project id can't be specified together"
STEPS TO REPRODUCE

create a dummy / example project and select it

select "Infrastructure"

go to "Virtual Router"

you will see some router like the picture below

"select view" -> "group by account"

you get after some time (bubble of the ring) the following error or message "Account and projectId can't be specified together"

after the window popup you can click on close and see the account view and the message will not go away...

EXPECTED RESULTS

Normally there should not come this error or message i think. it should be only group the objects!

@pbankonier @svenvogel I think this feature could be (a) removed as it does not work, or (b) display list of routers/account this way -> routers belong to networks of project -> find accounts that belong with the project, group accounts by project and group networks to the project -> then group of routers ... (this is complicated), or (c) Alternatively, when project is selected don't pass project id (fixes the issue).

@svenvogel @pbankonier @rhtyd @bwsw I'm moving this to 4.15 as there is no clear consent on how it should work in the ticket. please amend/escalate/push back

@svenvogel this is not supported in Primate; instead in Primate we list all kinds of routers now including project ones. Since this is related to old UI where any new enhancements can be avoided, I'll close this but request if there's a use-case you're welcome to contribute changes to Primate instead. Thanks.


Configuration LWRP refactor

The LWRP for managing the client vs server config could be improved by refactoring a few things.

Rename the source template to openpvn.conf.erb since it's not server specific.
Create a service resource that can be restarted/reloaded when the template is updated (optionally, default to true); see also #43 for approaching this in the cookbook's recipes.
Separate resource attribute that is the name attribute, rather than using new_resource#name directly.
ChefSpec coverage, including matchers, to test behavior.
Other things as I dig into the code/templates :smile_cat:

Unassigning as I don't know that I'll have cycles for this any time soon.

Closing due to inactivity.
If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs


Authentication: Implement MVP

We're building more than a website here, we're building a web application. We need to be able to authenticate users, manage their session and state and so on.
This is a rather big issue, so let's start with the basics: allow people to login and logout again.
This will require work both here and in our backend.

Currently, authentication works and users account data is stored in Redux.
Things that remain to be done:

Synchronize state with local storage so authentication is preserved across page reloads and browser sessions
Implement JSON Web Token (JWT) authentication so we can make authenticated API requests

Still haven't made up my mind about implementing Passport and external providers. (so you can login with you Github account for example)


jsonschema: removed fields

The following fields have been removed in order to use DataCite's schema according to what was decided https://github.com/inveniosoftware/invenio-rdm-records/issues/18.

contributors:

ids

I don't have access to the linked document. Even through my institution login, I am getting Internal server error

Closing this since issues on problematic fields will be treated in their own issue/rfc/pr


K8SSAND-1333 ⁃ Revise the Tasks > Connect > "Traefik ingress ..." docs for K8ssandra Operator

What happened?
For K8ssandra v1.4.x, we have a Tasks > Connect landing page, https://docs-v1.k8ssandra.io/tasks/connect/ ,  and a set of linked subtopics:

See the quickstarts for expedited installation and configuration steps, including port-forward and introductory Ingress details.
Explore the Stargate APIs for access to Cassandra resources. Stargate is installed with K8ssandra and provides CQL, REST, GraphQL, and document-based API endpoints.
Learn about the Traefik ingress deployment details for K3d, Kind, and Minikube environments, plus Traefik ingress deployment details for the monitoring and repair features provided with K8ssandra.
Configure Traefik ingress

Problem: we have not yet revised those topics for K8ssandra Operator.
Revise the Connect topics and subtopics, as needed, so the info applies to K8ssandra Operator.  If Traefik ingress is not relevant (?) let's replace them with connect info users need in single- and multi-cluster/region environments.

K8ssandra Operator version:

v1.0.x
Anything else we need to know?:
Branch for edits should be based on docs-v2 in the k8ssandra/k8ssandra GH repo. See the topics that start here and subtopics:
https://github.com/k8ssandra/k8ssandra/tree/docs-v2/docs/content/en/tasks/connect
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1333
┆priority: Medium

Closing as Duplicate of https://github.com/k8ssandra/k8ssandra/issues/1335.


Update latex language grammar and configuration

This PR does 3 things

Update the LaTeX language configuration to add big delimiters with |, \|, [lr][vV]ert, \langle...\rangle to bracket pairs. Related to

jlelong/vscode-latex-basics#11
jlelong/vscode-latex-basics#13

Use the new markdown language configuration for  the combined markdown-latex language

Update the grammar files

jlelong/vscode-latex-basics#15

@aeschli I guess this PR is for you. I hope I did it right.

Thank you for the pull request! I've just updated the cgmanifest.json file.

I thought I had updated it but I probably lost it somewhere. Thanks for taking care of this!

For updating the syntax files: I usually run the script that updates them once per release. You are always welcome to make PRs to update them too, but if you don't feel like it then I'll update them eventually too!

Yes. However, the build script only updates the grammar files but not the language configuration files. Hence, this PR. Basically, I will only make a PR when those language configuration files need to be updated.


[BUG] JSON Parsing for CF Environment

Is there an existing issue for this?

[X] I have searched the existing issues

Are you using the latest docker image for BTPSA?

[X] I'm using the latest docker image for BTPSA.

Which area is mainly impacted
Cloud Foundry setups
Current Behavior
After the following command the program expects a json with available environments:
btp --format json list accounts/environment-instances --subaccount

The keys for this JSON can have different format (I suppose for different cloud versions). You already process this difference in helperEnvCF.py (line 38):
            org = labels.get("Org Name:")
            if org is None:
                org = labels.get("Org Name")

But not in btp_cli.py (line 380):
                            thisOrgId = labels["Org ID:"]
                            thisOrg = labels["Org Name:"]

Which causes an error:
####################################################################################################
# ERROR
####################################################################################################
  File "/home/user/libs/python/btp_cli.py", line 380, in create_environments
    thisOrgId = labels["Org ID:"]

NoneType: None

Expected Behavior
No error is expected :)
Steps To Reproduce
No response
Logs and configuration files available?
No response
Anything else?
No response

Can you please share the parameters.json and your usecase.json file, so that we can try to reproduce this issue?

Fixed with https://github.com/SAP-samples/btp-setup-automator/pull/124


Moving patch fixes from placeholder branch to rel/2.0.1

Issues addressed (along with the approved PRs) :
#587 --> https://github.com/aspnet/Scaffolding/pull/597
#588 --> https://github.com/aspnet/Scaffolding/pull/596
#601 --> https://github.com/aspnet/Scaffolding/pull/605
cc @Eilon @mlorbetske

Adding @natemcmaster and @JunTaoLuo to review and to make sure the patch infrastructure sees this branch.

We should be ok on infrastructure. Universe is already set to build rel/2.0.1 of this repo.

AppVeyor is failing to build
[C:\projects\scaffolding\src\Microsoft.VisualStudio.Web.CodeGeneration.Design\Microsoft.VisualStudio.Web.CodeGeneration.Design.csproj]
C:\Users\appveyor\.dotnet\x64\sdk\2.0.0\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(141,5): error : Could not find a part of the path 'C:\projects\scaffolding\tools\Microsoft.VisualStudio.Web.CodeGeneration.Design-x86\bin\Release\net461\win7-x86'.

Known issue?


"Use a free Appetize.io account" is missleading - since it's not free (anymore?)

Hi guys,
I just wanted to point out the message while you wait for your loading Android or iOS App in the expo snack.
It says this:

Device preview is at capacity
Queue position: 23
Don't want to wait?
Use a free Appetize.io account

But when I create an Appetize account it says that I have to pay.
So either it's not free anymore or I got something wrong?

We've changed this to:


Update Version of OpenSearch Benchmarks in K-NN OSB

Description
With the release of new version of OSB: 0.2.0, we should upgrade OSB to keep receiving new features of OSB.
They have enabled the support for new python version in this release.
Release tag: https://github.com/opensearch-project/opensearch-benchmark/releases/tag/0.2.0
Tasks:

Upgrade the version to generate new requirments.txt file: https://github.com/opensearch-project/k-NN/blob/main/benchmarks/osb/requirements.txt#L59
Update readme to run benchmarks with new version of python
Re-run benchmarks to fix any other runtime issue.

No we can resolve this.


How can i include another scss to bem compiled ??

Hi guys,
How can i include another scss files to be compiled in doc.css in _site folder?

If you want another file added to the docs.scss file, and thus the compiled docs CSS, see our docs.scss file itself: https://github.com/primer/primer/blob/master/docs/docs.scss. Specifically this section:
//
// Import Primer itself
//

@import "../scss/primer";
@import "bower_components/octicons/octicons/octicons.css";
@import "bower_components/primer-user-content/components/markdown";
@import "css/anchor";
@import "css/syntax";
// Add your new file to the `css/` directory, then import it here
@import "css/new-file";


docs(whats-new): added service registry setting command

Adds information about new service registry setting command into WHATS_NEW.md
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation change
[ ] Other (please specify)

lgtm :+1:


Not interactive

Make it more interactive. Add options to to select service and let the user input the query.

options added

[ ] Done


torch.nn.TransformerEncoder hits error with thunder.jit

Tracking my attempt to make torch.nn.Transformer work with thunder.jit. Currently after applying a series of workarounds, we can get torch.nn.TransformerEncoderLayer to work with thunder.jit. However, we hit a new error with torch.nn.TransformerEncoder:
transformer: thunder.core.interpreter.InterpreterError: Encountered exception AssertionError: attribute size of TensorProxy object out of sync: <function prop_lookaside_wrap.<locals>.fn.<locals>.fn_ at 0x7fe1c457a440> vs. <function prop_lookaside_wrap.<locals>.fn.<locals>.fn_ at 0x7fe1c457b0a0> while tracing Transformer(
which mostly just stacks n copies of TransformerEncoderLayers into one module.
Workarounds:

comment out is_nested check in https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/activation.py#L1236-L1238
rewrite unflatten as reshape in https://github.com/pytorch/pytorch/blob/main/torch/nn/functional.py#L4909 (Ex. https://github.com/Lightning-AI/lightning-thunder/issues/288)
comment out is_nested check in https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/transformer.py#L42

Minimal repro:
import torch
import thunder
from thunder.examine import examine

src = torch.randn(10, 32, 512, device='cuda')
encoder_layer = torch.nn.TransformerEncoderLayer(d_model=512, nhead=8).to('cuda')
encoder = torch.nn.TransformerEncoder(encoder_layer, num_layers=6).to('cuda')

# works after applying workarounds
jfunc = thunder.jit(encoder_layer)
jfunc(src)
print('encoder layer working')

# fails even after applying workarounds
jfunc = thunder.jit(encoder)
jfunc(src)

https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/transformer.py#L921 using copy.deep_copy which is called here https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/transformer.py#L276 looks suspicious; how would this work with thunder.jit?

triage review — @t-vi can add more details about this issue

Narrowed down issue to much more minimal issue here: https://github.com/Lightning-AI/lightning-thunder/issues/349. In this particular case, the two size() checks happen first in https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/transformer.py#L45 as the forward of TransformerEncoder calls _get_seq_len as part of the is_causal check here https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/transformer.py#L411. The second call is from https://github.com/pytorch/pytorch/blob/main/torch/nn/functional.py#L4903 which is from the forward of TransformerEncoder calling the stack of TransformerEncoderLayer in https://github.com/pytorch/pytorch/blob/main/torch/nn/modules/transformer.py#L415.

Found possible fix https://github.com/Lightning-AI/lightning-thunder/pull/352. @mruberry @t-vi could you take a look and comment on whether the fix is acceptable or give any suggestions?

Fixed with #352, closing


Return values query

Hello all,
I have several problems with return of queries.
Here, what I would like to do :

//If the email hasn't a good format
if(email_not_good_format())
   //I do something
else if(email_already_exists_in_mysql(email))
  //I do something

function email_already_exists_in_mysql(email){
connection.query('SELECT COUNT(*) AS nb FROM user WHERE emailUser = ' + connection.escape(email), function(err, rows, fields) {
        if (err) throw err;
        if(rows[0].nb == 0)
            return false;
        else
            return true;
    });
}

I saw on different posts callback function but it doesn't work for what I want to do.
Thanks for your help!
Regards

Hello I am new to Nodejs and i was working with some similar example which was stated above (working with mysql too). I couldnt return the values in the callback functions.
How can I use the callback to get a particular value out of that function to another place ??
Here is my code:
connection.query('CREATE TABLE sampletest'+
'(id INT(11) AUTO_INCREMENT, '+
'Testname VARCHAR(255), '+
'Attributename VARCHAR(255), '+
'PRIMARY KEY (id));', function(err, rows){
if (err) {
console.log("ERROR: "+ err.message);
throw err;
}
console.log('dsmtest table has been created');
return true;
});
can you elaborate with any example. That would help me a lot.
Thanks in advance.


Implement discriminator feature

Add support for discriminator properties in json to serialize/deserialize polymorphic types.
This enables usage of this library in combination with libraries from other languages like KnownTypes in .Net.

Hello, thanks for your PR.
I haven't heard of this concept before, but I have read your implementation. Is is a requirement for your backend to have the $type property in classes that may be extended?
Why do you want to define a list of classes that add the $type? Wouldn't be easier to just activate it for all classes or for none?
In any case, we would need to add some tests to that showcase your implementation. Would you mind adding some?

Thanks for your prompt feedback! :smiley:

I haven't heard of this concept before, but I have read your implementation. Is is a requirement for your backend to have the $type property in classes that may be extended?

The reason I use the $type property, is to easily identify which class the object is.
Of course you could just check which properties the object has and instantiate the correct type accordingly, but this would mean, that you have to change this 'creation code' every time you change the models.
With this solution, the deserializer takes care of the problem and instantiates the right type according to the $type property.

Why do you want to define a list of classes that add the $type? Wouldn't be easier to just activate it for all classes or for none?

The reason for the class list is, that we need the class reference in the deserialization process to instantiate the class.
I couldn't find a way to create this class reference from the class name like in C# where you could use reflection to do it.
That's why I added the class list to defined the class references of the types which are subclasses.
Even if we would activate it for all classes, the problem would still be, that the type defined in the class which should be deserialized, would be the base class and the only way to know which subclass to use is the string in the $type property.
Do you know a way to create instances of classes by classname in typescript? :thinking:
If yes, we could remove the class list entirely.

In any case, we would need to add some tests to that showcase your implementation. Would you mind adding some?

I've added tests now :wink:

Great, thanks a lot for your update! I understand now what you tried to achieve.
I was thinking if it would be possible to add classes automatically by manipulating the @JsonObject decorator function. But I think it's not possible to get the class reference inside the decorator function.
Otherwise your code seems fine. To be honest, it would maybe make sense to define the animal property as union type of Cat|Dog here instead of Animal. I assume one would normally like to use the child class and not the parent class properties, so it would be more useful to the developer. It is not wrong of course to write Animal as type.

Unfortunately, I cannot directly push into this pull request. But I pushed it to a seperate branch. Can you look at it and tell me your thoughts?
https://github.com/appvision-gmbh/json2typescript/commits/pullrequests/Catter38/master
I have basically done three things:

Added ReadMe (look for discriminator), direct link: https://github.com/appvision-gmbh/json2typescript/blob/pullrequests/Catter38/master/README.md
I implemented what we have discussed, but I simplified the "declaration" of discriminator classes. You have to call the method registerClasses(Cat, Dog). It will automatically use the key defined in the @JsonObject() decorator. This means, you can easily register and unregister your classes on the fly without having to the deal with the id/key. In your case, it will still work if you use @JsonObject("Cat") for the Cat class.
Adjusted and added some tests.

I like the idea of the registerClasses method. It's a way cleaner way to do it.
The ReadMe also looks complete and very detailed.
I've merged your branch, so you can complete the pullrequest!

Cool, thanks for your input. 👍

Hey @Catter38, I hope you are fine. I tried to implement the discriminator feature in one of our projects and I noticed some problems. Probably this is just a documentation issue (README) and not a coding issue.
The README says you can use jsonConvert.deserialize(animals) and then it will automatically deserialize to Cats and Dogs. I think that is wrong: The second parameter is always required, for example Animal. Also, the auto-deserialization seems only to work on child properties, not on the main (JSON) object.
I haven't tested it yet, but deserialization should work fine for nested properties. I checked the tests added in this PR and the discriminator feature was used for child properties (for example animalOwner.animal).
Should we make it possible to add the discriminator feature on the main level as well? Otherwise the docs are not completely correct.

Hi @andreas-aeschlimann, I'm using the library in one of our projects, and it is working fine. After inspection, I noticed, that I'm using an abstraction class to interface with json2typescript, and there I found the reason, why it's working for me. I use a dictionary in which the class references and names are stored and on deserialization, it reads the $type property of the root object and chooses the correct class reference.
Would be great, if we could move this part into the library itself, since it looks more like a hack right now, and of course the library should be able to deserialize the root object correctly.
But while testing, I also noticed another issue. If I try to deserialize an array of type Animal (as nested property) which contains Cat and Dog objects, all items will be deserialized as Animal and not as Cat or Dog.
Regarding the README, if we fix the deserialization of the root property, i think the README should be correct again, since it should auto detect the type by it's discriminator property.
If you want, I can take a look and try to fix the issues.

@Catter38 as you can see, I haven't released v1.5.0 yet, so it would be nice if we could add this before the final release.
I wasn't aware of this issue until yesterday. If you have time to do it, it would be amazing!

@andreas-aeschlimann
I've fixed the feature in my fork.
Would be great if you could take a look at it and check if you're ok with it.  :smiley:

Thank you @Catter38, I will hopefully be able to try it out in the next following days.


Please update to Play SMS 1.4.2

Please update to Play SMS 1.4.2

https://github.com/playsms/docker-playsms/commit/9d9445e936029eab36ebc6ab9cc5e8da7afc5968 updates to playSMS 1.4.2


Add support for zellij

https://zellij.dev/news/floating-panes-tmux-mode/
zellij is an alternative for tmux.

 zellij ls
mellifluous-drum [Created 0s ago] (EXITED - attach to resurrect)
remarkable-crab [Created 0s ago] (EXITED - attach to resurrect)
nautical-diplodocus [Created 0s ago]
verdant-salamander [Created 0s ago] (EXITED - attach to resurrect)
erudite-rustacean [Created 0s ago] (EXITED - attach to resurrect)
adamant-salamander [Created 0s ago] (EXITED - attach to resurrect)
chatty-tomato [Created 0s ago]
zellij -s chatty-tomato ac new-tab -n aaa

Background: https://github.com/zellij-org/zellij/discussions/2960


Can't compile

Tried "javac Main.java"
got about 28 errors.

you must use Maven to build this project (https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html)


Install a sandbox of the Google Classroom Connector

Jira Description
Story
As a business analyst I want to be able to see the data model used by the Google Classroom Connector: [https://www.landingzone.org/google-connector]
As the product owner for project Fizz, I want to be sure that I can recommend to community members that they use this product to get data and I want to understand the limitations of this utility for Ed-Fi community members.
Acceptance Criteria

Google Classroom Connector up and running on an Ed-Fi system (and not aon a developer laptop)
Any gotcha's documented in TechDocs

Jira Metadata
Key: LMS-3
Epic: n/a
Created: 2020-08-12T17:14:26.000-0500
Reporter: Eric Jansson

Jira Comment
Classroom Connector worked fine with our FIZZ-4 G-Suite environment with Classroom data.  Suggest viewing the webinar on the connector website as it is a full walkthrough of set up.
Jira Metadata
Created: 2020-08-20T16:07:43.063-0500
Commenter: Brad Banister


Fix/spline and charge

PR Checklist

[x] This comment contains a description of changes (with reason)
[x] Referenced issue is linked
[ ] If you've fixed a bug or added code that should be tested, add tests!
[x] Documentation in docs is updated

Description of changes

cleaned indices_to_one_hot (fixed issue https://github.com/wilhelm-lab/spectrum_fundamentals/issues/50)
sorted predicted irt values to work with spline

Technical details

Additional context

we need a unit test for the indices_to_one_hot function. The file is actually not covered in its entirety. See coverage report.


Lookup Rollup Summary Schedule Items not clearing

I have a dlrs in scheduled calculation mode (incremental). It is working, but the lookup summary schedule items are not clearing down. I may have accidentally started a full schedule calculate before I understood that I should not use incremental and full calculations at the same time. What should I do to keep the schedule items from backing up?

Yes it should be deleting the records once the records are processed correctly. Do you have anything in the Lookup Rollup Summary Logs and/or Apex Jobs (under Setup)? You may also want to try the latest release this was less aggressive on updating records for rollups that had the same value as on the database and thus if you have validation rules or such like that prevent historic record changes, this enhancement avoided hitting that.

@MellifluousBee let us know if you still need help on this and we can re-open. Thanks!


Add crypto transactions --coin --blockchain

Add a command to view live action blockchain transactions.

Please look at https://www.blockchain.com/api


failed to reconcile securityGroup associations due to failed to get ENIs attached, new iam policy "ec2:DescribeNetworkInterfaces" needs to be added for v1.1.2

Testing v1.1.2, looks like we need to add a new iam policy for ec2:DescribeNetworkInterfaces
https://github.com/kubernetes-sigs/aws-alb-ingress-controller/blob/v1.1.2/docs/examples/iam-policy.json#L266
Otherwise I am getting 403:
E0404 19:22:20.909752       1 controller.go:217] kubebuilder/controller "msg"="Reconciler error" "error"="failed to reconcile securityGroup associations due to failed to get ENIs attached to sg-072dbb6c84f6e32a8 due to UnauthorizedOperation: You are not authorized to perform this operation.\n\tstatus code: 403, request id: 605ff5cb-d7a5-4d4f-a5f9-7ffd2311c9ae"  "controller"="alb-ingress-controller" "request"={"Namespace":"team-test","Name":"envoy-admin"}

Maybe worth mentioning this as Action Required in the release notes? @M00nF1sh

Hi, thanks for reporting this issue 😄
This  should be in action required section and just added it in release notes 😄


CLA Assistant is "fishing" bot due to NO way to resign it from repo

URL to the linked Repository or Organization
https://github.com/solvespace/solvespace
Steps to reproduce the problem

https://github.com/cla-assistant/cla-assistant/issues/561

What is the expected result?

https://github.com/solvespace/solvespace/issues/1098

What happens instead?

https://github.com/cla-assistant/cla-assistant/issues/691

Any other information? (attach screenshot if possible)
I reported CLA Assistant to GitHub Support Team as "fishing app/bot" due to NOT solving critical bug where GitHub repo owners has no way to resign CLA Assistant Checker from managed repos.

Used browser and browser version?
Any other tested browsers/devices(OK/FAIL):

As noted in https://github.com/solvespace/solvespace/issues/1098#issuecomment-1009065835 and https://github.com/solvespace/solvespace/issues/1098#issuecomment-1008696674 they were able to remove CLA-assistant, which was set up by a former team member through revoking the third-party OAuth Access and removing the webhook.
https://github.com/cla-assistant/cla-assistant/issues/691 seems to be not related in this specific case, as this more about that already posted status/comments aren't removed after disabling CLA-Assistant.


Not removing empty lines

Hey hey 👋, first of all thanks for sharing this lib, looking awesome.
I got a question, imagine the following flow:
I got a random js file as follows:
import lib from "lib";

lib.something();

Then I add changes to it (will represent the changes with a + at the beginning of the line)
import lib from "lib";

+
+
+ const a = b => console.log(b);
+
+
+
lib.something();

Then I run npm run precommit, my file changes to (considering my settings of prettier):
import lib from "lib";

const a = (b) => console.log(b);

lib.something();

It did apply formatting (added the parens to the arrow function) but didn't remove all the empty lines. I wonder if we can ever work around this, I imagine you are running prettier on a given 'fragment of code' so it would never remove those empty lines, prettier would only remove them when applying formatting to the whole file. Any ideas? I don't want people to start introducing random amount of new empty lines on commits.
Thanks!!

Thanks for the quick reply!, not sure how rangeStart works, the only docs I found are here https://prettier.io/docs/en/api.html#prettierformatwithcursorsource-options but says nothing about rangeStart. I gave it a try in the client with --range-start and --range-end, it does not work as I would expect (it keeps the empty lines), but not sure I'm using the rangeStart options properly (it does format the line of code though).
On the other hand if I make a selection in the editor (VSCode), including the empty lines above and below the line of code, it formats the code and removes the empty lines (as I would expect). Wondering what is the difference between what the editor uses and the prettier client as I'm testing it out.

Yeah I don't know off the top of my head how the editor integration is configured. The docs for rangeStart and rangeEnd are with the other options just FYI: https://prettier.io/docs/en/options.html#range
I will try and look into this later on this week, but it sounds like maybe you have shown it is just how prettier handles this particular case?

well I'm a bit uncertain on what the difference between rangeStart through the client vs the editor format selection, certainly they do different things, would be great to mimic what the editor does, will take a look at the VSCode and see if there is any info available.

mmm now that I think about it what the plugin does when you select text is most likely to create a buffer (with it) and apply prettier as if that was the entire file, that is why is behaving like prettier does when formatting the whole file (but only on your selection). Will dig around in prettier repo and check whether rangeStart / rangeEnd is supposed to work this way or not.
I think is not an issue for your repo, if you agree feel free to close it!
Thanks!!

@rafaelchiti I added the capability to use range formatting within the prettier playground so I can now reproduce your example there:
https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBLAtgBwgJxgAgBtUAjfAMxwnXwB0RiT6BuWqNjqSKAZwIEN8AXnxkhAPnzceEQnAB0hCAHMAFCQCUrdjs6N5M9HBgALVFDVaQAGhARMMVNB7JQ-HFQDuABXcIXKPwAbhCoACY2ICQ4-GAA1sYAypix5srIMDgArnC25jxweN4xyuj8yOT8hAW2AFY8AB4AQjHxSfxGADLmcBVVNSApOAU4yFH8JACeSlCRmDjmMADq4abIABwADLbzEAVLMZhj83AjQb22OHAAjlmoV8X8peVIldW5IAXoqBnZHzxpOQARSyEHgfXethgExWYTWSAATFCYqhiBYAMLUMpjKDQC4gLIFAAqEwCbwGMQscES0LwyARSJAlOUcAAolAIkgAGybAC+vKAA
It looks like the whitespace is ignored by prettier.
This is not something we easily change in precise-commits, as this is just how prettier handles this particular scenario. Please feel free to open an issue on the prettier repo with the reproduction if you feel it is worth discussing. I will close this for now, thanks!


TestSupportBinder problem with custom MessageConverter.

Hi,
Updating from Springboot 2.1.x to 2.2.6 found a problem when using MessageCollector to test.
I was using KryoMessageConverter and found it was no more in the defaultConverters, so I created a new CustomConverter, but my tests still fails.
After some debugging I have found that, while my CustomConverter is called to "serialize" the output message, It is not called to deserialize the message captured by MessageCollector.
When I send the message to the Kafka channel, the InboundMessageConvertingInterceptor added by TestSupportBinder, builds its CompositeMessageConverterFactory with no parameters, that is only with the default MessageConverters, and so, when tries to "deserialize" the message in the tests it fails to do so and raise an Exception because the payload is null.
Update:
I have been modifying locally TestSupportBinder, InboundMessageConvertingInterceptor and CompositeMessageConverterFactory to receive a List parameter with the custom MessageConverter defined by user and it works .

@jlojosnegros TestSupportBinder is no longer the main test binder to test in Spring Cloud Stream. There is a new binder that is based on Spring Integration that you can use. See this section from the ref docs. Please use this new binder for unit testing. I am actually moving this issue to core Spring Cloud Stream as this is more relevant there.


Serialize big entities

Not quite sure yet how to go about it but I suppose

checking the serialized string length of the entity
and if it's too big (more than 20.000 characters-ish?) then use a more complex split-up serialization logic

I've run into something like this limit before (with drgtk, but not with hoard).
My solution for it was something like an attribute exclusion list (some of the larger attributes didn't need to be persisted, like tile grids that could be rehydrated by loading the map file instead).
And also by separating entity class names by file.
I didn't end up with a perfect implementation of that idea, as it was just an experiment in debugging from a saved game state during a gamejam. But that might be something to consider if it fits.


No more categories in the Marketplace

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Spotify version: <IP_ADDRESS>3.g923721d9
- Spicetify version: 2.36.2

📝 Description
There are no more categories in the Marketplace
📸 Screenshots

Update marketplace


Better isolate involvement of OpenVR regarding FirstPersonHeldItemMountPointComponent

This in a way is a follow-up to #2611 which has far more todo items. But an issue that has come up lately is that if the game is run in an unusual context (environment-based unit tests in Jenkins, the server facade, etc) initialization of natives can be problematic and in some cases nonsensical such as supporting VR while running a headless testing client.
Specifically FirstPersonHeldItemMountPointComponent has references to VRControllerState_t which comes from inside the engine/libs/jopenvr.jar (moving that to a jar hosted by Artifactory is another todo) - however it is not necessarily present on the classpath in some cases. It works fine when running the game normally via PC facade.
Goal for this issue is to better isolate that somehow so the game can initialize everything in a headless context.
Our normal approach is to pick headless style subsystems instead of headed ones, see for instance Terasology.populateSubsystems - in this case OpenVRInput is only initialized if not headless. However, the FirstPersonHeldItemMountPointComponent usage is escaping that as it is linked to some of the general controller setup as well.
It might be possible to reverse how some of the callback stuff works so it is the OpenVR side that initiates its listener stuff without having to pass in OpenVR specific classes. Then unless that stuff is actively loaded and enabled (this happens regardless of whether VR is enabled in-game, which is another issue) the call never happens and VRControllerState_t is not needed on the classpath
Maybe of interest to @dave2s or perhaps @indianajohn if still around :-)
When fixed this should ease @Inei1's troubles when trying to bundle the server facade with the Omega zip while also allowing us to have fully functional environment-based unit tests for the first time in ages.
Resulting error (from starting server facade or running unit tests like the ones in the ModuleTestingEnvironment in Jenkins):
ERROR o.t.e.metadata.ComponentLibrary - Class not found, FirstPersonHeldItemMountPointComponent
java.lang.NoClassDefFoundError: jopenvr/VRControllerState_t
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.privateGetMethodRecursive(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at org.terasology.utilities.ReflectionUtil.findMethod(ReflectionUtil.java:109)
        at org.terasology.utilities.ReflectionUtil.findGetter(ReflectionUtil.java:81)
        at org.terasology.reflection.metadata.FieldMetadata.determineType(FieldMetadata.java:70)
        at org.terasology.reflection.metadata.FieldMetadata.<init>(FieldMetadata.java:57)
        at org.terasology.entitySystem.metadata.ReplicatedFieldMetadata.<init>(ReplicatedFieldMetadata.java:39)
        at org.terasology.entitySystem.metadata.ComponentFieldMetadata.<init>(ComponentFieldMetadata.java:42)
        at org.terasology.entitySystem.metadata.ComponentMetadata.createField(ComponentMetadata.java:84)
        at org.terasology.entitySystem.metadata.ComponentMetadata.createField(ComponentMetadata.java:40)
        at org.terasology.reflection.metadata.ClassMetadata.addFields(ClassMetadata.java:106)
        at org.terasology.reflection.metadata.ClassMetadata.<init>(ClassMetadata.java:85)
        at org.terasology.entitySystem.metadata.ComponentMetadata.<init>(ComponentMetadata.java:58)
        at org.terasology.entitySystem.metadata.ComponentLibrary.createMetadata(ComponentLibrary.java:59)
        at org.terasology.reflection.metadata.AbstractClassLibrary.register(AbstractClassLibrary.java:91)
        at org.terasology.entitySystem.metadata.ComponentLibrary.register(ComponentLibrary.java:114)
        at org.terasology.engine.bootstrap.EnvironmentSwitchHandler.registerComponents(EnvironmentSwitchHandler.java:196)
        at org.terasology.engine.bootstrap.EnvironmentSwitchHandler.handleSwitchToGameEnvironment(EnvironmentSwitchHandler.java:98)
        at org.terasology.engine.TerasologyEngine.initialize(TerasologyEngine.java:207)
        at org.terasology.engine.TerasologyEngine.run(TerasologyEngine.java:378)
        at org.terasology.web.EngineRunner.runEngine(EngineRunner.java:63)
        at org.terasology.web.ServerMain.main(ServerMain.java:118)
Caused by: java.lang.ClassNotFoundException: jopenvr.VRControllerState_t
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 25 common frames omitted

Edit: Some code was commented out to work around this for the time being, see #3897 and https://github.com/Terasology/CoreRendering/pull/8

Note: as of https://github.com/MovingBlocks/Terasology/issues/3877 a tiny bit of stuff related to this got checked out to break the dependency in a less ideal but also lower effort method.

VR support was removed in #5112 so I'm closing this issue.
If VR support is re-introduced this issue is now linked to the PR that removed it, so it can be reopened or directly considered during the re-introduction


Hide Rook/NooBaa CRDs in operator catalog (DO-NOT-MERGE)

This commit removes the Rook and NooBaa CRDs from the owned CRD list in
the CSV. The manifest files for the Rook and NooBaa CRDs are still
present in the catalog directory. Also, the operator deployments for the
rook-ceph and noobaa-operator are still present.
The generated catalog bundle, bundles all the CRD manifests from the
catlog directory, even if they are not present in the CSV. When the OLM
deploys the ocs-operator CSV from this catalog, it creates all the
included CRDs in the cluster, and starts all the operators.
The end result of this, is that only the OCS operator CRDs are available
in the Console, with the other CRDs being hidden. Rook and NooBaa CRDs
not being available from the Console is a good thing for OCS, as we do
not want users to be manually creating their own CephClusters or other
Rook/NooBaa resources.
Users can create a StorageCluster resource from the UI, which leads to
the ocs-opertor creating a CephCluster resource, and the rook-ceph
operator creating the actual ceph cluster. All of this still works, as
the CRDs required are present in the cluster.

/hold
This PR is just a demonstration. We do not yet know if not including CRDs in the owned list has any side-effects.

Deploying OCS with this change leads to the following.

/cc @jarrpa @davidvossel
As requested I have this PR up. You can direct people here, who you'd like to check this out.

Based on conversation with OLM Team, this does not the ideal/suggested way. The recommended way is to use Required CRDs in CSV Spec to create a dependency between operators.
Hiding the CRDs in CSV but bundling it in the registry doesn't sound right to me.

The reason why having a 'required' dependency to the dependency between operators, is that it only creates a dependency on the CRDs. We cannot target a specific version of the operator. An operator could change, without the CRDs managed by it changing.
As a product, OCS needs to provide operators which are well tested and verified against each other.

@davidvossel @rthallisey

The OLM team has been pretty vocal about listing all owned CRDs within the CSV. This apparently is used to prevent someone from attempting to install two operators that own the same CRDS.
For OCS, I'm guessing the ownership entries would prevent something like rook-ceph being installed independently of the OCS operator (which also deploys rook-ceph).
That said, I agree that it would be useful to hide APIs from the UX that users should not be interfacing with directly. This sounds like a OLM feature request.

If the OLM team says doing this isn't correct, then we don't do it. I pushed this PR out to hear opinions, and now that we have it, I'm closing this.
/close


Add arm64 linux build

Added arm64 build

Wouldn't the regular chdb builder script just work with the arm64 runner?

Last request I promise! The build script is currently located inpackages/build_linux_arm64.sh but the ideal location for this file should be to remain alongside the other chdb scripts in the chdb folder. What do you think @auxten ?

Last request I promise! The build script is currently located inpackages/build_linux_arm64.sh but the ideal location for this file should be to remain alongside the other chdb scripts in the chdb folder. What do you think @auxten ?

I think we can move it to the chdb directory. I previously placed [build_mac_arm64.sh](https://github.com/chdb-io/chdb/blob/main/packages/build_mac_arm64.sh) in the packages folder, but it doesn't seem like a good idea. We can move them all to the chdb directory. Don't forget to update the script paths in the Makefile as well. @nmreadelf


Small DB and Login Server tweaks

fixed pc exit duplicate logic
implemented custom error messages for login server
implemented db migrations and moved table creation to external sql file

DB changes and error messages manually merged.


[WIP] refactor: use base queries to inherit

I made a separate kind for each braces so we can easily combine them when inheriting. Let me know what you think.

okay, I think I'm done.

Thanks a lot for the work!


Quickbooks Online App does not show up

On this page it mentions installing the Quickbooks app to create reporting - but I don't see anything like that come up when I search.
Does this still exist?
https://docs.microsoft.com/en-us/power-bi/service-connect-to-quickbooks-online

Hi @larrycsonka , I don't know whether this is still relevant, but I see that Quickbooks Online is now available again : https://app.powerbi.com/groups/me/getapps/services/pbi-contentpacks.pbiapps-quickbooksonline
Template apps have undergone a lot of  changes recently. The documentation is not entirely up to date, but I will be working on this soon.
Sorry for such a late reply.


Cannot Run rsync from Scheduled Task

New-Credential -Username
$taskTrigger1 = New-ScheduledTaskTrigger -Once -At 2:50PM

$taskAction = New-ScheduledTaskAction `
   -Execute "powershell.exe" `
   -Argument "-ExecutionPolicy ByPass -File `"<path>\schtask_rsync\backup.ps1`""

$taskName = "Backup Stuff"
$description = "Rsync Backup Stuff"

Register-ScheduledTask `
   -TaskName $taskName `
   -Action $taskAction `
   -Trigger $taskTrigger1 `
   -Description $description

$taskPrinciple = New-ScheduledTaskPrincipal -UserId "Domain\someadmin" -RunLevel Highest
$taskSettings = New-ScheduledTaskSettingsSet -Compatibility Win8
Set-ScheduledTask -TaskName $taskName -Principal $taskPrinciple -Settings $taskSettings
Set-ScheduledTask -TaskName $taskName -User $taskPrinciple.UserID -Password '******'

^The code that I use to create the scheduled task ^
...
# Pull the creds for a user account that has WSL installed on it.
$cred = Get-StoredCredential -Target "some-non-admin-credz"

$psi = New-Object System.Diagnostics.ProcessStartInfo -Property @{
 RedirectStandardError = $true
 RedirectStandardOutput = $true
 UseShellExecute = $False
 UserName = $cred.GetNetworkCredential().Username
 Domain = $cred.GetNetworkCredential().Domain
 Password = $cred.Password
 WorkingDirectory = "C:\windows\"
 FileName = "wsl"
 Arguments = "-d Ubuntu-18.04 -e rsync -av --delete /mnt/c/stuff/ /mnt/o/stuff_bk/"
 WindowStyle = "Hidden"
}

$p = New-Object System.Diagnostics.Process
$p.StartInfo = $psi
$p.WaitForExit()
$p.ExitCode

...

backup.ps1 - The powershell code that I use to backup my files with rsync...this is called by the scheduled task.
Windows PowerShell transcript start
Start time:<PHONE_NUMBER>3623
Username: domain\someuser
RunAs User: domain\someuser
Configuration Name:
Machine: MEBOX (Microsoft Windows NT 10.0.17763.0)
Host Application: c:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -ExecutionPolicy ByPass -File C:\Users\someuser\OneDrive - SomeCompany\Projects\bak_schtask_rsync\backup.ps1
Process ID: 35180
PSVersion: 5.1.17763.1490
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.1490
BuildVersion: 10.0.17763.1490
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: <IP_ADDRESS>
**********************
Transcript started, output file is C:\temp\rsync_bk.txt

Attempting stop...
Internet services successfully stopped

Status for IIS Admin Service ( IISADMIN ) : Stopped
Status for Windows Process Activation Service ( WAS ) : Stopped
Status for World Wide Web Publishing Service ( W3SVC ) : Stopped
Starting Rsync 03/21/2021 10:37:39
ERRORS:

OUTPUT:

-1073741502
Ending Rsync 03/21/2021 10:38:38

Attempting start...
Internet services successfully started

Status for IIS Admin Service ( IISADMIN ) : Running
Status for Windows Process Activation Service ( WAS ) : Running
Status for World Wide Web Publishing Service ( W3SVC ) : Running
**********************
Windows PowerShell transcript end
End time:<PHONE_NUMBER>3847
**********************

^The output of the Powershell Audit^
Additional information about what has already been tired: link
The return code from WSL is -1073741502 and I don't know why...but it also adds the following dialog box contents to my logs:
EventData -> Caption: wsl.exe - Application Error
EventData -> Message: The application was unable to start correctly (0xc0000142).  Click OK to close the application.

Environment
Microsoft Windows [Version 10.0.17763.1518]
Release:        16.04
Steps to reproduce
(see above)
WSL logs: See attached.
Expected behavior
The rsync command runs as a scheduled task and copies any and all changes from /mnt/c/stuff to /mnt/h/stuff

Actual behavior
The scheduled task completes fine.  But rsync is never called from WSL instead it returns a negative error code and I get messages in my System Event Log see below:
The return code from WSL is -1073741502 and I don't know why...but it also adds the following dialog box contents to my logs:
EventData -> Caption: wsl.exe - Application Error
EventData -> Message: The application was unable to start correctly (0xc0000142).  Click OK to close the application.

wsl.zip

Possibly variation #1917 and #4652 ➡ #223

@leeand00 your Windows 10 build version is much older than what is currently available and there are lots of WSL improvements since that build. Are you able to upgrade your build to a more modern build like Windows 10 version 19H2?
I'll close this issue out for our bookkeeping as there isn't any actionable items for the WSL team here, but please reopen this issue if you do upgrade and hit the same problem! Thank you!

Yes, I just upgraded to 20H2 a bit after I posted this, I will have to give it another try with it upgraded.

Yeah it's still doing the same thing after the 20H2 upgrade; do I need to upgrade to WSL2 as well?

Please try using WSL 2 as I anticipate this would solve your issue! :)

Is there a way to do this without losing my existing WSL stuff?

Also can I still use Hyper-V?

Yes! You can just run wsl --set-version <distroName> 2 so for me using Ubuntu it's wsl --set-version Ubuntu 2. You can move back and forth any time. And yes you can still user Hyper-V with this setup.
Full info here:
https://docs.microsoft.com/en-us/windows/wsl/install-win10#set-your-distribution-version-to-wsl-1-or-wsl-2


Execute user defined code

[x] #291
[ ] #292
[ ] #297
[ ] #298

[ ] #299
[ ] #300
[ ] #301

We're using WASM instead of zinc.


There is no css style included in the package

Hi Guys,
I followed the tutorial to use the code from here https://github.com/offirgolan/ember-burger-menu#usage and then replaced

with
<button {{action burger.state.actions.toggle}}>button</button>
since I don't have icon-menu class and without replacing it into button I can' see anything.
could someone please advise me what css classes and styles I need to add to be able to see the menu something like the one from here https://offirgolan.github.io/ember-burger-menu/
Because what I see now has absolutely no style at all and copying all the styles from think link https://github.com/offirgolan/ember-burger-menu/blob/master/tests/dummy/app/styles/app.scss totally mess up the whole application.
I really like the package, you guys did a great job but I am really straggling using it.

@zardaloop I'm sorry you're facing so many issues. This library only comes with barebone CSS just to get you up and running. All styles beyond that is up to you. Im sorry for the confusion as well from the readme, I've updated it to just include plain buttons with no icon classes as this library doesnt come with those either.
You are welcome to grab the main styles for the demo here. You might have to alter it a bit to fit your template / needs.

@offirgolan  perfect that did the job. I added some more styles from the css but it works fine now :) thanks.  of course I also installed ember-font-awesome as well to make it more like what you have in your demo page :) Thanks.

@zardaloop thats great to hear! Glad everything is working fine for you now 😄


Occasional Internal Consistency Error

Every once in a while, I get a crash on an "internal consistency" error.
My app is fetching some HTML pages in a background process and pulling out some interesting stuff. A few times, I've had the app (in the simulator) crash on the following:
2019-07-13 21:30:37.026686-0400 dreamwidth[65452:90258127] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '*** -[NSHashTable NSHashTable {
[10] <HTMLNodeIterator: 0x60000eae1680>
}
] count underflow'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010af6a6fb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x00000001098abac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010af6a555 +[NSException raise:format:] + 197
	3   Foundation                          0x000000010827f9d7 hashProbe + 407
	4   Foundation                          0x000000010827fe5c -[NSConcreteHashTable removeItem:] + 49
	5   myapp                               0x0000000106d01e3d -[HTMLDocument detachNodeIterator:] + 93
	6   myapp                               0x0000000106d115b7 -[HTMLNodeIterator dealloc] + 87

I suspect that it's something to do with timing: it doesn't happen all the time, but when it does, it crashes my app. I suspect that the HTML document is being deallocated when this happens.
I've tried to avoid iterating on, say, .childNodes to avoid creating node iterators, but the crash still happens every so often.

@bcholmes Hey there, thanks for the bug report.
It looks like the iterator is removed twice, once by being deallocated and once by the detach call.
I'll try to reproduce and fix it accordingly. And it would be really helpful, if you could narrow down the steps for me, like what is exactly happening in the app right before the crash.

I've had my first instance of this error in a few days, and I think I've gleaned a bit more info.
Here's a bit more from that stack trace:
(
	0   CoreFoundation                      0x000000010c69d6fb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010afd6ac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010c69d555 +[NSException raise:format:] + 197
	3   Foundation                          0x0000000109a939d7 hashProbe + 407
	4   Foundation                          0x0000000109a93e5c -[NSConcreteHashTable removeItem:] + 49
	5   myapp                               0x0000000108ba99cd -[HTMLDocument detachNodeIterator:] + 93
	6   dreamwidth                          0x0000000108bb9147 -[HTMLNodeIterator dealloc] + 87
	7   libobjc.A.dylib                     0x000000010afe972c _ZN11objc_object17sidetable_releaseEb + 202
	8   myapp                               0x0000000108bb5deb -[HTMLNode firstElementMatchingSelector:] + 667
	9   myapp                               0x0000000108bb5a5b -[HTMLNode querySelector:] + 107

(I'm not really sure that all stack traces have had that same callchain).
If appears that the failure is happening during some query selectors. Now, in the current version of the code, I'm parsing the HTML document, I do a tiny bit of querying, and then I start copying some interesting data to a Core Data object, which I manipulate in a NSManagedObjectContext performBlock block. Most of my query selector calls are happening in that block.
So my first guess is that the crash happens because of some race condition: the thread that parses the document and the thread that grabs data from the DOM to copy into Core Data are tripping each other up.
I'm going to try testing for a bit with a code restructure where I handle all document parsing and query selecting in the context of the Core Data perform block.

So it's been a bit over a week, and I haven't seen a crash since I reorganized the code. I'm inclined to think that it's was a threading issue, and it could be avoided by keeping my documents in a single thread.

I'm almost 100% sure it's a threading issue. I still can't reproduce this consistently, in order to pinpoint the exact location and combination of conditions that lead to this bug.

@bcholmes The last commit should fix the issue, however I can't be 100% sure, since I could not reproduce this consistently. I would really appreciate it, if you could test this with your previous code, that crashed and report back 😉
If the crash still happens, please reopen this.

Cool. I'll let you know if I see anything.


Remove tip since Xamarin.Essentials is no longer in preview

Was fixed here: https://github.com/MicrosoftDocs/xamarin-docs/pull/1236


NO-JIRA: Move secrets-store-csi-driver-operator to rhel9

/cc @openshift/storage

/hold for coordination with ART
/label px-approved
/label docs-approved
/label qe-approved

Actually I think there is no need for the hold, the ART bot should not try to update these files while the build is disabled (I think)
/unhold


npm package regression in 0.10.3 - "You must install wasm-pack before you can run it"

There is a regression in 0.10.3. It's a problem in both windows in linux. This issue from 0.10.0 back: https://github.com/rustwasm/wasm-pack/issues/1038
Note at the end of that thread, there is another user experiencing the same regression:

This problem has resurfaced in 0.10.3 but downgrading to 0.10.1 works. Windows 11 10.0.22000 Build 22000

For me it's happening in linux. WIth 0.10.1 there is no problem, but I get this error with 0.10.3:

You must install wasm-pack before you can run it

Note: I do not have wasm-pack installed for my entire system or user account. I have wasm-pack only as a dependency in the current package.

I am facing this too

have you tried to update your rust toolchain? rustup update?

Please try out v0.12.0 from one of the following ways:

https://github.com/rustwasm/wasm-pack/releases/tag/v0.12.0
https://crates.io/crates/wasm-pack/0.12.0
https://www.npmjs.com/package/wasm-pack/v/0.12.0


fix: add from address in request

Proposed Changes
This update addresses an issue in aea-ledger-ethereum where the "from" parameter was missing in requests for gas estimation. By default, the zero address is assumed as the sender, but on chains like Mode, this default address lacks sufficient funds compared to other chains, causing gas estimation to fail.
Fixes
Include the "from" parameter in the transaction when making an RPC call for eth_estimateGas

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

Project coverage is 90.05%. Comparing base (bc0e6c5) to head (c6e5749).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #766   +/-   ##
=======================================
  Coverage   90.05%   90.05%
=======================================
  Files         331      331
  Lines       29651    29651
=======================================
  Hits        26701    26701
  Misses       2950     2950

Flag
Coverage Δ

unittests
90.05% <ø> (ø)

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

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


Add "--os" parameter to the package-server task

Adding the --os parameter could give the user more control about how they want to create the package of the server and also reduce the size of the resulting archive.
For more information, see: http://www-01.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_setup_package_server.html?cp=SSEQTP_8.5.5%2F1-3-11-0-3-2-1-6

Fixed in #42.


Import fails when file contains computed property syntax

Describe the bug
The react build fails when an inconsequential line containing the computed property syntax is added to a file. Example:
const randomThingy = { ['soda']: 'wizard' };

If this line is present in a file, then exports will not work for that file in the build. However, they work when running the development server.
Did you try recovering your dependencies?
npm version: 6.14.8
Which terms did you search for in User Guide?
"react build"
"fail"
"computed property"
"import"
...
Environment
Environment Info:
  System:
    OS: Linux 4.4 Ubuntu 18.04.5 LTS (Bionic Beaver)
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
  Binaries:
    Node: 12.18.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.14.8 - /usr/local/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    react: ^17.0.1 => 17.0.1
    react-dom: ^17.0.1 => 17.0.1
    react-scripts: 4.0.0 => 4.0.0
  npmGlobalPackages:
    create-react-app: 3.3.0

Steps to reproduce

Create a new app
Add the files with the code
Run the dev server and see that it appears to work
Try the build and see that it fails
Comment out the problematic line
See that it still works in the dev server
Run the build and see that it no longer fails

Expected behavior
I expect the build to not fail when the problematic syntax is used.
Actual behavior
The build fails.
Reproducible demo
I have created a minimal working example repository here. The repo's README explains the import structure and it is very simple.
Repo's README copied here
CRA Shared Module Import Issue
Description
When importing okayExport from src/common/okayExport.js into src/App.js, everything is fine. When importing sketchyExport from src/common/sketchyExport.js into src/App.js, the react build fails with the message: "Attempted import error: 'sketchyExport' is not exported from './common/sketchyExport.js'." If the line declaring randomThingy in src/common/sketchyExport.js is removed, then the build succeeds with no errors.
The issue is that the build somehow breaks when the "computed property" syntax is used in exporting file (i.e. the {['foo']: bar} syntax).
When running the development server, the app does not crash and behaves as expected. It is only during the build process that it fails.

For now, I have been using a workaround. My code used to look like
((exports) => {
    const objectOne = {
        first: 'stringOne',
        second: 'stringTwo',
    };

-   const objectTwo = {
-       [objectOne.first]: 'stringThree',
-       [objectOne.second]: 'stringFour',
-   };

    exports.objectOne = objectOne;
    exports.objectTwo = objectTwo;
})(typeof exports === 'undefined' ? {} : exports);

But this uses the computed property syntax, so I have changed it to look like
((exports) => {
    const objectOne = {
        first: 'stringOne',
        second: 'stringTwo',
    };

+   const objectTwo = {};
+   objectTwo[objectOne.first] = 'stringThree';
+   objectTwo[objectOne.second] = 'stringFour';

    exports.objectOne = objectOne;
    exports.objectTwo = objectTwo;
})(typeof exports === 'undefined' ? {} : exports);

In other words, I replaced the object constant that had the problematic syntax with just a bunch of property assignments to an empty object literal. This works for now, but the issue at hand is not resolved.

Think this was stale from lack of triage rather than actual stale-ness.


independent-routines is missing

The problem
here's the URL
Suggestions
Maybe some quirk in Documentable.

Mmm, what do you mean by "missing"? The url works fine.

It didn't when I checked. No idea.

This one is missing There are some links in language, some in type. It's now in language, probably should be in /type: see #3059

I can't find the missing link mentioned on Oct 16 in the source. Closing ticket, items like this will be caught by whatever solves https://github.com/Raku/doc-website/issues/72


projector pdf page scrolling

resolves #1850

The scroll works, but what about the zoom that was mentioned in #1850? Should we open a new issue?


AzureCLI@2 ignores environment variable AZURE_CORE_ONLY_SHOW_ERRORS

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureCLI@2
Environment

Server - Azure Pipelines or TFS on-premises?

Azure Pipelines

Agent - Hosted or Private:

Hosted

Issue Description
Although the environment variable AZURE_CORE_ONLY_SHOW_ERRORS is set to true, the CLI task prints the following "advertisement text" to Std Error:
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

which leads to a task failure if task input failOnStandardError is set to true.
Expected behaviour
Honor the environment variable AZURE_CORE_ONLY_SHOW_ERRORS and do not display informational text.
Reproduction
Just create a simple pipeline from this yaml:
name: debugging

trigger: none

stages:
- stage: debugging
  displayName: 'Run debugging'
  pool:
    vmImage: ubuntu-20.04
  jobs:
    - job: Run_Debugging
      steps:
        - task: AzureCLI@2
          displayName: 'Test ONLY_SHOW_ERRORS'
          inputs:
            azureSubscription: 'your-service-connection'
            scriptType: bash
            failOnStandardError: true
            scriptLocation: inlineScript
            inlineScript: |
              export AZURE_CORE_ONLY_SHOW_ERRORS=true
              az --version
              az account show

This will produce the following output.
Task logs
2022-09-05T13:04:56.4026319Z ##[section]Starting: Test ONLY_SHOW_ERRORS
2022-09-05T13:04:56.4035629Z ==============================================================================
2022-09-05T13:04:56.4035965Z Task         : Azure CLI
2022-09-05T13:04:56.4036454Z Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
2022-09-05T13:04:56.4036940Z Version      : 2.198.0
2022-09-05T13:04:56.4037157Z Author       : Microsoft Corporation
2022-09-05T13:04:56.4037491Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-cli
2022-09-05T13:04:56.4037877Z ==============================================================================
2022-09-05T13:04:56.7010924Z [command]/usr/bin/az --version
2022-09-05T13:04:57.6484129Z WARNING: You have 1 updates available.
2022-09-05T13:04:57.6485671Z azure-cli                         2.39.0
2022-09-05T13:04:57.6485836Z
2022-09-05T13:04:57.6486260Z core                              2.39.0
2022-09-05T13:04:57.6486542Z telemetry                          1.0.6 *
2022-09-05T13:04:57.6486693Z
2022-09-05T13:04:57.6486915Z Extensions:
2022-09-05T13:04:57.6487362Z azure-devops                      0.25.0
2022-09-05T13:04:57.6487503Z
2022-09-05T13:04:57.6487752Z Dependencies:
2022-09-05T13:04:57.6488029Z msal                            1.18.0b1
2022-09-05T13:04:57.6488471Z azure-mgmt-resource             21.1.0b1
2022-09-05T13:04:57.6488623Z
2022-09-05T13:04:57.6489040Z Python location '/opt/az/bin/python3'
2022-09-05T13:04:57.6489553Z Extensions directory '/opt/az/azcliextensions'
2022-09-05T13:04:57.6489749Z
2022-09-05T13:04:57.6490142Z Python (Linux) 3.10.5 (main, Jul 29 2022, 03:26:59) [GCC 9.4.0]
2022-09-05T13:04:57.6490375Z
2022-09-05T13:04:57.6490688Z Legal docs and information: aka.ms/AzureCliLegal
2022-09-05T13:04:57.6490868Z
2022-09-05T13:04:57.6490954Z
2022-09-05T13:04:57.6494802Z
2022-09-05T13:04:57.6495199Z Setting AZURE_CONFIG_DIR env variable to: /home/vsts/work/_temp/.azclitask
2022-09-05T13:04:57.6496466Z Please let us know how we are doing: https://aka.ms/azureclihats
2022-09-05T13:04:57.6498678Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2022-09-05T13:04:57.6500956Z Setting active cloud to: AzureCloud
2022-09-05T13:04:57.6526013Z [command]/usr/bin/az cloud set -n AzureCloud
2022-09-05T13:04:59.1729891Z [command]/usr/bin/az login --service-principal -u *** --password=*** --tenant 0eca7f40-############# --allow-no-subscriptions
2022-09-05T13:04:59.7655229Z [
2022-09-05T13:04:59.7657191Z   {
2022-09-05T13:04:59.7685112Z     "cloudName": "AzureCloud",
2022-09-05T13:04:59.7686878Z     "homeTenantId": "0eca7f40-#############",
2022-09-05T13:04:59.7687910Z     "id": "61e2f793-#############",
2022-09-05T13:04:59.7688636Z     "isDefault": true,
2022-09-05T13:04:59.7689270Z     "managedByTenants": [],
2022-09-05T13:04:59.7690185Z     "name": "Infrastructure",
2022-09-05T13:04:59.7690916Z     "state": "Enabled",
2022-09-05T13:04:59.7691801Z     "tenantId": "0eca7f40-#############",
2022-09-05T13:04:59.7692398Z     "user": {
2022-09-05T13:04:59.7693524Z       "name": "***",
2022-09-05T13:04:59.7694011Z       "type": "servicePrincipal"
2022-09-05T13:04:59.7694507Z     }
2022-09-05T13:04:59.7694887Z   },
2022-09-05T13:04:59.7695271Z   {
2022-09-05T13:04:59.7695706Z     "cloudName": "AzureCloud",
2022-09-05T13:04:59.7696499Z     "homeTenantId": "0eca7f40-#############",
2022-09-05T13:04:59.7697222Z     "id": "6420ba7a-#############",
2022-09-05T13:04:59.7698090Z     "isDefault": false,
2022-09-05T13:04:59.7698521Z     "managedByTenants": [],
2022-09-05T13:04:59.7698956Z     "name": "Subscription #############",
2022-09-05T13:04:59.7723984Z     "state": "Enabled",
2022-09-05T13:04:59.7725078Z     "tenantId": "0eca7f40-#############",
2022-09-05T13:04:59.7725837Z     "user": {
2022-09-05T13:04:59.7727352Z       "name": "***",
2022-09-05T13:04:59.7727697Z       "type": "servicePrincipal"
2022-09-05T13:04:59.7727988Z     }
2022-09-05T13:04:59.7728246Z   }
2022-09-05T13:04:59.7728488Z ]
2022-09-05T13:04:59.7740271Z [command]/usr/bin/az account set --subscription 6420ba7a-#############
2022-09-05T13:05:00.3726770Z [command]/usr/bin/bash /home/vsts/work/_temp/azureclitaskscript1662383096693.sh
2022-09-05T13:05:00.3771251Z
2022-09-05T13:05:00.3772236Z Please let us know how we are doing: https://aka.ms/azureclihats
2022-09-05T13:05:00.3773647Z and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2022-09-05T13:05:00.3904695Z azure-cli                         2.39.0
2022-09-05T13:05:00.3905386Z
2022-09-05T13:05:00.3905837Z core                              2.39.0
2022-09-05T13:05:00.3906317Z telemetry                          1.0.6 *
2022-09-05T13:05:00.3906632Z
2022-09-05T13:05:00.3907108Z Extensions:
2022-09-05T13:05:00.3907766Z azure-devops                      0.25.0
2022-09-05T13:05:00.3908143Z
2022-09-05T13:05:00.3908560Z Dependencies:
2022-09-05T13:05:00.3908999Z msal                            1.18.0b1
2022-09-05T13:05:00.3909642Z azure-mgmt-resource             21.1.0b1
2022-09-05T13:05:00.3909978Z
2022-09-05T13:05:00.3910587Z Python location '/opt/az/bin/python3'
2022-09-05T13:05:00.3911306Z Extensions directory '/opt/az/azcliextensions'
2022-09-05T13:05:00.3911665Z
2022-09-05T13:05:00.3912283Z Python (Linux) 3.10.5 (main, Jul 29 2022, 03:26:59) [GCC 9.4.0]
2022-09-05T13:05:00.3912694Z
2022-09-05T13:05:00.3913171Z Legal docs and information: aka.ms/AzureCliLegal
2022-09-05T13:05:00.3913535Z
2022-09-05T13:05:00.3913790Z
2022-09-05T13:05:00.5993331Z {
2022-09-05T13:05:00.5994351Z   "environmentName": "AzureCloud",
2022-09-05T13:05:00.5995722Z   "homeTenantId": "0eca7f40-#############",
2022-09-05T13:05:00.5996626Z   "id": "6420ba7a-#############",
2022-09-05T13:05:00.5997242Z   "isDefault": true,
2022-09-05T13:05:00.5997997Z   "managedByTenants": [],
2022-09-05T13:05:00.5998581Z   "name": "Subscription #############",
2022-09-05T13:05:00.5999146Z   "state": "Enabled",
2022-09-05T13:05:00.6000065Z   "tenantId": "0eca7f40-#############",
2022-09-05T13:05:00.6004385Z   "user": {
2022-09-05T13:05:00.6009812Z     "name": "***",
2022-09-05T13:05:00.6029917Z     "type": "servicePrincipal"
2022-09-05T13:05:00.6035674Z   }
2022-09-05T13:05:00.6051347Z }
2022-09-05T13:05:00.6279733Z ##[error]
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
2022-09-05T13:05:00.6292970Z ##[error]Script has output to stderr. Failing as failOnStdErr is set to true.
2022-09-05T13:05:00.6303678Z [command]/usr/bin/az account clear
2022-09-05T13:05:00.8392438Z ##[section]Finishing: Test ONLY_SHOW_ERRORS

The same problem occurs, when I run the following pipeline:
name: debugging

trigger: none

stages:
- stage: debugging
  displayName: 'Run debugging'
  variables:
    AZURE_CORE_ONLY_SHOW_ERRORS: true
  pool:
    vmImage: ubuntu-20.04
  jobs:
    - job: Run_Debugging
      steps:
        - task: AzureCLI@2
          displayName: 'Test ONLY_SHOW_ERRORS'
          inputs:
            azureSubscription: 'your-service-connection'
            scriptType: bash
            failOnStandardError: true
            scriptLocation: inlineScript
            inlineScript: |
              env | sort
              az --version

So even when the variable AZURE_CORE_ONLY_SHOW_ERRORS is set before the az login, it is ignored. I am not sure if this is a problem of the AzureCLI pipeline task or of the Azure CLI itself.

This seems to be a bug in the command az --version, see https://github.com/Azure/azure-cli/issues/23787.
Once, that is confirmed, I will close this issue here.


"ipRefererBlocked" when using key restriction on Google API Credential Setting

Mbarwick83\Shorty\Exceptions\InvalidApiResponseException with message 'Google Url Shortener returned the following error: [{"domain":"usageLimits","reason":"ipRefererBlocked","message":"The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.","extendedHelp":"https:\/\/console.developers.google.com\/apis\/credentials?project=177302761668"}]'
I'm using Laravel 5.4
It works fine when the key restriction menu is set to "none", but the error message showed up if the key restriction setting (Http referrers: *.example.com/*) was used.

How are you initiating the method/class? You shouldn't need to specify key restriction.


Add Cypress smoke test

The test and helpers are partially based on code in https://github.com/concord-consortium/wildfire-model/pull/17.
It could be cleaned up a bit more, but I didn't want to spend too much time on that. It works now and I think brings some value.

Looks good to me


Various fixes for CMakeLists.txt and app_web_ui.c

Changed from 'app_webserver.c' to 'app_web_ui.c'

Thanks for catching the errors and submitting the PR!