[WIP] Adding platform as an env var in the user-agent

This PR exposes an environment variable, FORSETI_PLATFORM, in order to set the platofrm on which Forseti is running.  The default is gce.  This will be set to gke inside the Forseti Server's pod definition.

[x] I signed Google's Contributor License Agreement
[x] My code conforms to Google's python style.
[x] My PR at a minimum doesn't decrease unit-test coverage (if applicable).
[ ] My PR has been functionally tested.
[x] All of the tests pass

@googlebot

@kevensen Any other changes for this PR? If not, can you remove [WIP] so that we know it's ready for final review?

@gkowalski-google I am still doing functional testing.  It may not make it in to 2.24.

@gkowalski-google Thanks for the recommendation.


add generic params to DictionaryLiteral<Key,Value>

Currently there seems to be a limitations on typealias where they need their generics parameters declared.
Related:
https://github.com/apple/swift/pull/16577

@swift-ci please smoke test

Thanks!

Would you mind starting the compatibility test in this PR apple/swift#16577 if you decide to merge this?


Should I have an IdentityProperties table?

I'm migrating a project from .NET Core 2.1 to 3.1 so I performed a database migration (cf: issue 2845). However now when I execute this line
return await _identityServerInteractionService.GetAuthorizationContextAsync(returnUrl);

I get the following error:

SqlException: Invalid object name 'IdentityProperties'.
Microsoft.Data.SqlClient.SqlCommand+<>c.b__164_0(Task result)

I don't have any IdentityProperties table in my database. Is this normal? This table doesn't appear anywhere in the migration scripts
I don't understand why I get this error and what exactly is this IdentityProperties object.
Thanks for your answer
Note: Nuget package IdentityServer4 version 3.1.3

Ok never mind I figured out this table has been renamed to IdentityResourceProperties on the master branch and that this branch has the tag 4.0.0-preview.3.
So I just have to use the migration scripts for version 3.1.3


Bump build number

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I don't think this helped. this library needs to be added to the global pinnings so that the migrator can do its work.

to be honest, i have no idea what the default is....


Error thrown on startup

Sometimes when the bot launches, this error is thrown:
Ignoring exception in on_member_update Traceback (most recent call last):   File "C:\Users\conne\Dev\discord-hvz-live\venv\lib\site-packages\discord\client.py", line 352, in _run_event     await coro(*args, **kwargs)   File "C:\Users\conne\Dev\discord-hvz-live\discord_hvz.py", line 106, in inner     my_guild_id = self.guild.id AttributeError: 'NoneType' object has no attribute 'id'
This is probably because another event is firing before the on_ready event, and the check_event decorator needs information that is set during on_ready to work. This bug causes no issues besides the annoying log I believe.

A pycord update fixed this.


fix(deploy, package): propagate non-zero exit codes

Because the err returned by cmd.Wait() wasn't checked sam package and sam deploy would always return exit code 0 even if the aws cli cmd had a non-zero
exit code.
This commit checks the error and calls log.Fatal(). While this prints the
original exit code to stderr (at least on macOS) this does not propagate the
original error code but exits with 1. This is because there seems to be no easy
os independent way of getting the exit code. Anyway this should do it for all
sane use cases.
Closes #178

Thanks for making those changes @Fahrradflucht. Merging this now.


WFLY-4774 Update build tools and change to generating host.xml from s…

…ubsystem templates

Linux with security manager Build 1583 is now running using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c

Windows Build 1756 is now running using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c

Linux Build 6682 is now running using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c

Linux with security manager Build 1583 outcome was SUCCESS using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c
Summary: Tests passed: 833, ignored: 322 Build time: 0:05:41

Windows Build 1756 outcome was SUCCESS using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c
Summary: Tests passed: 2878, ignored: 377 Build time: 0:46:49

Linux Build 6682 outcome was FAILURE using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c
Summary: Tests failed: 2 (1 new), passed: 2875, ignored: 377, muted: 1 Build time: 0:48:03
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.timerservice.mgmt.NonPersistentIntervalTimerManagementTestCase.testResourceExistence: <no details avaliable>

org.jboss.as.test.clustering.cluster.web.authentication.FormAuthenticationWebFailoverTestCase(SYNC-tcp).test: <no details avaliable>

retest this please

Windows Build 1783 is now running using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c

Linux Build 6709 is now running using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c

Linux with security manager Build 1610 is now running using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c

Linux with security manager Build 1610 outcome was SUCCESS using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c
Summary: Tests passed: 833, ignored: 322 Build time: 0:05:41

Windows Build 1783 outcome was SUCCESS using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c
Summary: Tests passed: 2878, ignored: 377 Build time: 0:46:38

Linux Build 6709 outcome was SUCCESS using a merge of 85581a1bbc7cedb4a1aee6e61c289d86cbfac34c
Summary: Tests passed: 2877, ignored: 377, muted: 1 Build time: 0:48:21


Add datahub.nfdi4plants.org

... in addition to the possibly user-confusing git.* subdomain.

This is currently not possible, see this issue.
A couple of possible workarounds are mentioned there. These need to be tested.


Do not inject sniffer to XML documents

Regardless from content type

https://github.com/bedrin/jdbc-sniffer/pull/69


Travis not launch after switch from private to public

To answer @rbardenet's issue in the comments of https://github.com/guilgautier/DPPy/commit/d074667fad0e246c81e410f78350d037ac2a580d.
It turns out that Travis manages differently public and private repos see

So I turned on Travis for the now Public DPPy and builds' number started from scratch.
In the end your test seems to pass, but I got an issue #6 with import matplotlib.pyplot

Interesting difference, good job for seeing it!


County Level Predictors

List of predictors from ACS at county level:
-Median Income
-Labor force participation
-Education levels
-Housing
Small Areas estimates from BLS
-Occupation/Industry employment
-Business activity

@onmorales23, could you take first stab at putting together a data set with these variables?
Ideally, there will be a script (get_county_data.R) that uses packages to interact with ACS and BLS APIs, pulls the data and produces a data set that looks like

County ID (FIPS)
Median income
...
Employment

32605
<...>
...
<...>

For right now, let's say the data should come from the year of college graduation (so if the scorecard data are for earnings in 2020 for graduates one year out, then values for 2019). If that's a problem, we can figure out the best period.
Post questions here or come talk to me, particularly if you are unsure what variables to pull.

@onmorales23, from our discussion today, can you move this work to a new branch? Maybe dev_county_predictors or something like that?


Wrong exit code when there are only UnneededDisable offenses

Discovered something while looking at #2198.
The Travis build on master passes even though we have an offense detected by the Lint/UnneededDisable cop. My fault so I will fix it.

Ops, should have read https://github.com/bbatsov/rubocop/pull/2198 first. :-)


what about the version of keras?and tensorflow?

what about the version of keras?and tensorflow?

For me
Keras version: 2.1.5
Tensorflow version: 1.4.0

thanks !


Error in 'lookup' command: Could not construct lookup 'errorcodes.csv, eventCode, OUTPUT, Description'

How can i make this query work on this python library?
Am i missing some auth headers when i send my query?

Nevermind, just need to declare app name when connecting to splunk client:
client.connect(**self._config, app='app_name')

Refer to app keyword, https://github.com/splunk/splunk-sdk-python/blob/b36d6ebd988c9884a4eeb875e2c8fb50f1068d73/splunklib/client.py#L303


[Feature] Show detailed web browsing time

Showing detailed web browsing time can help user better manager their time, Is there any way to implement it?

也许未来会以插件的形式提供

Tai <IP_ADDRESS> 已发布 → 请更新版本，等待后续反馈。


[Feature] Add top developers rank list

Signed-off-by: Frankzhaopku<EMAIL_ADDRESS>Add top developers rank list to report, total activity, participant repo count, open issue count, issue comment count, open pull count, pull review comment count, merged pull count included.
close #205

/sql-run

/sql-run

/sql-verified

Top developers analysis result will be generated in about 1 minute.

/approve
thanks for the feature


work on exposing DrawingNode.Shape to deck.gl

Signed-off-by: Lev Nachmanson<EMAIL_ADDRESS>

@Pessimistress , if we switch to rendering ICurve precizely instead of using https://github.com/microsoft/msagljs/blob/b3f3a8a61c7d6421fa471100131a118f098477c7/modules/renderer/src/layers/edge-layer.ts#L69
deck.gl will run faster and look better.


luci-app-usteer: Allow editing of settings if usteer is not running

Apparently, an invalid parameter stop usteer from starting.  This PR allows the editing of parameters while usteer is stopped. In that case the status tab is not shown.

Very important PR

Good. Thanks @Ramon00 !

thx @systemcrash


need UI autogenerator

Hi
We are looking for schema generator for angular-formly.
Can you suggest any?
are these GUI editors  targeting " angular-formly"? or it is totally separate?
easyFormGenerator
formly-builder
Thanks
Ram

Here are the GUI builders I'm aware of. Built by others: http://docs.angular-formly.com/docs/gui-form-builders

so,can I use the schema generated by these tools in "angular-formly"?

That's what they promise. If you have problems with them, contact their respective maintainers.

Kent,
I have following questions:

Is there any working example of angular-formly getting and setting data from database ?

In Fields definition, for a control like drop-down if we need to have the data be populated
from database?
how to accomplish this?
{
"key": "default-select-6347",
"templateOptions": {
"label": "Select",
"placeholder": "placeholder",
"options": [
{
"name": "value one",
"value": "value one"
},
{
"name": "value two",
"value": "value two"
}
]
},

How to make the options values as database driven as we don't want to hard coded
as part of fields definition?

What are the advantages and dis-advantages of using anular-formly ?
Are there any limitations in terms of complexity , flexibility and learning?
Are there enterprise applications being built on top of this anular-formly ?

Thanks
Ram

These are great questions for the chat: http://chat.angular-formly.com


Fixed jmxtrans URL

Original link (http://code.google.com/p/jmxtrans) says nothing but:
"This project has moved to Github: https://github.com/lookfirst/jmxtrans"
Going to this link says:
"The repository has moved to our new organization at: https://github.com/jmxtrans/jmxtrans"
That is the actual repo. Updated the tools.rst with the proper current location of the repo.

Thanks!


[add] erlang benchmark

Hi @WillSewell, I fixed the Erlang code of the benchmark and how to call it on the Dockerfile.

Hey @filipevarjao. Thank you for tweaking this! I am able to run the benchmark now using the Docker image, which is great.
There is still a significant difference with the other benchmark. In the other benchmarks, the "store" is limited to 200000 messages, once the limit is hit, the benchmark starts overwriting messages, starting again at index 0. The motivation for overwriting old messages is this is what causes garbage to be created (i.e. work for the GC).
You can find the index by performing MsgCount % WindowSize. For example:
https://github.com/WillSewell/gc-latency-experiment/blob/eb7dcfd338a327d3235f97f3253f30585bd061f1/go/main.go#L30
In order to index into the Store at arbitrary locations, I think you will need to change the type from a list, to something like an array.

I think the code now handles all that you mentioned before.

This looks great! Thank you @filipevarjao! I appreciate it's been quite some time since you first contributed this benchmark.


Update Code - Proof_Of_ContributionSnapshot3.md

Changed where I put the request for weights because I previously put it in the wrong location.

Thanks.


Template project ESLint fails to run

Describe the bug
npm run lint or npx eslint src fails to run on a freshly created SvelteKit project, complaining that Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/zizheng/Projects/my-app/.eslintrc.js from<EMAIL_ADDRESS>not supported. ... (see logs section for details).
Reproduction
The following steps can be reproduced

both on macOS 12.4 and Windows 11
both with the demo project and the skeleton project
both with and without TypeScript

$ npm create svelte my-app
...
✔ Which Svelte app template? › Skeleton project
✔ Add type checking with TypeScript? › No
✔ Add ESLint for code linting? … Yes
✔ Add Prettier for code formatting? … No
✔ Add Playwright for browser testing? … No
...
$ cd my-app
$ npm install
$ npm run lint

Logs
$ npm --version
8.13.1

$ npm create svelte my-app

create-svelte version 2.0.0-next.143

Welcome to SvelteKit!

This is beta software; expect bugs and missing features.

Problems? Open an issue on https://github.com/sveltejs/kit/issues if none exists already.

✔ Which Svelte app template? › Skeleton project
✔ Add type checking with TypeScript? › No
✔ Add ESLint for code linting? … Yes
✔ Add Prettier for code formatting? … No
✔ Add Playwright for browser testing? … No

Your project is ready!
✔ ESLint
  https://github.com/sveltejs/eslint-plugin-svelte3

Install community-maintained integrations:
  https://github.com/svelte-add/svelte-adders

Next steps:
  1: cd my-app
  2: npm install (or pnpm install, etc)
  3: git init && git add -A && git commit -m "Initial commit" (optional)
  4: npm run dev -- --open

To close the dev server, hit Ctrl-C

Stuck? Visit us at https://svelte.dev/chat

$ cd my-app

$ npm install

><EMAIL_ADDRESS>prepare
> svelte-kit sync

added 183 packages, and audited 184 packages in 13s

21 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

$ npm run lint

><EMAIL_ADDRESS>lint
> eslint .

Oops! Something went wrong! :(

ESLint: 8.18.0

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/zizheng/Projects/my-app/.eslintrc.js from<EMAIL_ADDRESS>not supported.
Instead change the require of .eslintrc.js in<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
    at module.exports [as default] (/Users/zizheng/Projects/my-app/node_modules/import-fresh/index.js:32:59)
    at loadJSConfigFile (/Users/zizheng/Projects/my-app/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2559:47)
    at loadConfigFile (/Users/zizheng/Projects/my-app/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2643:20)
    at ConfigArrayFactory.loadInDirectory (/Users/zizheng/Projects/my-app/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2840:34)
    at CascadingConfigArrayFactory._loadConfigInAncestors (/Users/zizheng/Projects/my-app/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3833:46)
    at CascadingConfigArrayFactory.getConfigArrayForFile (/Users/zizheng/Projects/my-app/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3754:18)
    at FileEnumerator._iterateFilesRecursive (/Users/zizheng/Projects/my-app/node_modules/eslint/lib/cli-engine/file-enumerator.js:446:49)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator.iterateFiles (/Users/zizheng/Projects/my-app/node_modules/eslint/lib/cli-engine/file-enumerator.js:297:49)
    at iterateFiles.next (<anonymous>)
    at CLIEngine.executeOnFiles (/Users/zizheng/Projects/my-app/node_modules/eslint/lib/cli-engine/cli-engine.js:786:48)
    at ESLint.lintFiles (/Users/zizheng/Projects/my-app/node_modules/eslint/lib/eslint/eslint.js:550:23)
    at Object.execute (/Users/zizheng/Projects/my-app/node_modules/eslint/lib/cli.js:301:36)
    at main (/Users/zizheng/Projects/my-app/node_modules/eslint/bin/eslint.js:138:52)
    at Object.<anonymous> (/Users/zizheng/Projects/my-app/node_modules/eslint/bin/eslint.js:142:2)

System Info
System:
    OS: macOS 12.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 9.94 GB / 32.00 GB
    Shell: 3.5.0 - /usr/local/bin/fish
  Binaries:
    Node: 18.4.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.13.1 - /usr/local/bin/npm
  Browsers:
    Firefox: 102.0
    Safari: 15.5
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.52
    @sveltejs/kit: next => 1.0.0-next.355
    svelte: ^3.44.0 => 3.48.0

Severity
annoyance
Additional Information
No response

Should be fixed by https://github.com/sveltejs/kit/pull/5293, just waiting on the next release of create-svelte
For now you can rename your eslintrc file to a .cjs extension and change the export default inside to module.exports =


Struggling to get Matchstick running as part of our CI build - any examples of using match stick to run tests on GitHub actions?

As the title says - keep on hitting various issues about spawning either docker or matchstick?
e.g. like this
$ graph test
Fetching latest version tag
Downloading release from https://github.com/LimeChain/matchstick/releases/download/0.5.4/binary-linux-20
binary-linux-20 has been installed!
Error: spawnSync /__w/..../node_modules/binary-install-raw/bin/0.5.4/binary-linux-20 ENOENT
    at Object.spawnSync (node:internal/child_process:108[6](https://github.com/knownorigin/..../actions/runs/4004327562/jobs/6873317079#step:10:7):20)
    at spawnSync (node:child_process:6[9](https://github.com/knownorigin/...../actions/runs/4004327562/jobs/6873317079#step:10:10)3:24)
    at Binary.run (/__w/.../node_modules/binary-install-raw/index.js:[11](https://github.com/...../actions/runs/4004327562/jobs/6873317079#step:10:12)1:20)
    at runBinary (/__w/..../node_modules/@graphprotocol/graph-cli/src/commands/test.js:164:50)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawnSync /__w/..../node_modules/binary-install-raw/bin/0.5.4/binary-linux-20',
  path: '/__w/..../node_modules/binary-install-raw/bin/0.5.4/binary-linux-20',
  spawnargs: []
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I have tried using the dockerised version which also fails
Any ideas? 🙏🏻

I think they have it working in this repo https://github.com/yearn/yearn-vaults-v2-subgraph. Not sure how you execute the tests, but I think it does not work if you use the graph test command and you have to run the tests as yarn/npm run script

@dimitrovmaksim that worked pretty much first time - thanks.
Would be great to get that referenced on the docs somewhere 🙏🏻


save vector data(gpkg)

I import and open a gpkg file by GeoPackageManager  ,then I create FeatureRow by FeatureDao and insert it. when i open this gpkg again ,Did not see the results of the previous editor. later I user GeopackageManager exportGeopackage interface export it to a new file and open this file ,I found the results of my previous editor.Does it have to be exported?How can I save the edit content in the same file?
Version of osmdroid the issue relates to:5.6.5

Hmm I'm not exactly sure how that works. Our stuff is basically an adapter for NGA's geopackage libraries that was built for google maps. I'd suggest asking in their issue tracker for how it's supposed to work. It's possible that it needs to be reimported, however i'm not really clear what the "import" function actually does.

Thank you. I solved the problem by updating the osmdroid-master code, compiling, and using the compiled dependency pack. I see, when you open the GeoPackage is copied to a user/ package name /osmdrod/ folder, edit time is also edit the inside of the gpkg, export operation is equivalent to, save.

cool, what were the updates?


[FLINK-25537] [JUnit5 Migration] Module: flink-core with,Package: api

Because flink-core is huge ， so split into multi pr to review.
Changes:

Migrate mudule flink-core's api package to junit5.

@Jiabao-Sun PTAL

I have compared https://github.com/apache/flink/actions/runs/8395180921/job/22994258945 (flink master) and https://github.com/GOODBOY008/flink/actions/runs/8517183618/job/23327527159 (my repo). The unit test count is same.

@flinkbot run azure


Which repo is the one being published on npm?

For example, package @ledgerhq/hw-app-btc published here:
https://www.npmjs.com/package/@ledgerhq/hw-app-btc
In the npm registry, the Repository and Homepage both point to the old repo: github.com/LedgerHQ/ledgerjs
However, I see that it's being frequently updated (last publish 2 days).
So what is being publised on npm? The old repo or the new mono-repo?
In case the new repo is being published, could you please fix the links in npm so that it's a bit more clear?

Hey @landabaso 👋 ,

So what is being publised on npm? The old repo or the new mono-repo?

Always the mono-repo, old repositories are deprecated.

In case the new repo is being published, could you please fix the links in npm so that it's a bit more clear?

Thanks for pointing the issue out, I will make a PR to update the package.json files 👍.


[Move adapter] Fixed framework modules being accidentally marked for publishing

This fixes a bug reported in #1067. What was happening was that we have a Geniteam module in framework and a module with the same name as part of examples.
When publishing a user-defined module (such as the example ones) we used to filter the result based on the name of the module and after computing transitive closure of all modules that could contain the framework ones. As a result a framework module could be included into the publishing set and rejected during publishing as its initial address defined in the manifest file is not 0x0.
The solution is to filter on module IDs rather than just on the names.

Thanks Adam!

Good catch!

Also a good reminder that we should move Geniteam.move out of the framework


Test action

Fix active sync manager error on secondary master.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11190/
Test PASSed.


Move docker image build/push/run logic to Makefile

This PR move all logic related to docker image to one please - Makefile. Instead of calling script from Makefile
The reason is to keep it in one place, close to each other. It makes it easier to read and maintain.

Test name
Status

api-tests
passed


Autodetection of the incoming data format

Closed: a Content-type header is required. The filename is not part of the incoming content stream so in order to guess the right format we should enter in the file content and try several parsers...absolutely bad.


Match paper with code

Could you help me find where the code corresponds to the picture(Dual mode CSR and CSC representation)?

@coolerzxw

https://github.com/thu-pacman/GeminiGraph/blob/170e7d36794fdcaca077f23bd0cd76e8ccab9e74/core/graph.hpp#L120-L130
The variables shown in the above region are related with edge representation in Gemini. You may lookup these variables to get into the details.

Thanks!


Actually populate HandoffPort with a value other than 0

Otherwise handoff only works sometimes. Ref RIAK-2728

👍 LGTM!


AMD checks transformations

transformAMDChecks flag can't properly transform this case

Seems amdclean ignores ternary operators for transformAMDChecks.


feat: Add user heartbeating to kill idle connections

POC to periodically ping the client and reset a user heartbeat. If the hearbeat is stale; consider this connection idle. This would theoretically deal with users who do not gracefully send a Disconnect message

looking good @bhavaniMiro! quick heads up, I rebased the latest updates which support a very basic user registry onto this branch.
that said - do we need to do anything on the client to support this change?

heads up (@muratozkan and @bhavaniMiro) - i just wrapped up a small refactor of the actor architecture for the board server code. basically, I moved the spaces to be actors themselves, in which new connecting users will get the address of the space the are directly connecting to, as opposed to getting the address of the wrapping board server itself. This might actually make things more performant as message no longer need to route through the single instance of the board server, and ideally easier to reason about.
these changes created a conflict with this open branch - which I rebased and resolved.

I was wondering about that :)  It feels like spaces should be deployable on any board servers; rather than users rely on specific instances of board servers.

in which new connecting users will get the address of the space the are directly connecting to.

Quick question, a user can open multiple spaces right (two tabs), should a user have a collection of space addr 's or would that just be considered an optimisation? Still reading through the (now refactored) user code but it looks like one user instance per space now; when it could be 1:many

to do anything on the client to support this change?

I don't think so - the change was effectively a liveness check. For every connect WS message; kick off a periodic heartbeat and prevent stale websocket connections from lingering around (stale --> If a user cannot send a disconnect message)

great questions. user presence is very subtle across browsers and devices. the more I am working on features related to this, the more this heartbeat becomes critical to sync state. let's get the merged and explore how failed heartbeats can inform who is actually on a board.


Undo deletion of a custom Block does not add custom Block to toolbox

Expected Behavior
Custom block is added to toolbox when undo deletion of a custom block.
Actual Behavior
Custom block is NOT added to the toolbox when clicking undo on canvas.
Steps to Reproduce
Add custom block to canvas.
Delete custom block from canvas.
Click undo on canvas.

Operating System and Browser
Mac OS 10.14.4
Google Chrome Version 76.0.3809.100 (Official Build) (64-bit)

/cc @picklesrus @paulkaplan @kchadha @cwillisf

Another demo of the issue, from https://github.com/LLK/scratch-blocks/issues/2032 :
https://user-images.githubusercontent.com/15828392/72241704-7d779b80-3622-11ea-9791-50c8bfd35a96.gif


archivenow --ia "http://www.hotcactus.nyc/" returns incorrect URL

archivenow --ia "http://www.hotcactus.nyc/" returns the following for me:
https://web.archive.org/web/20210723204229/https://www.google.com/maps/embed?pb=!1m0!3m2!1sen!2sus!4v1492711765912!6m8!1m7!1sUl8AEIci9YYO2dP_SwO1oQ!2m2!1d40.71478671950204!2d-73.99018606424495!3f303.3614672677981!4f-5.896130905148539!5f0.7820865974627469

Which is an embed on the site, but not the top level site itself — I'd expect it to return something like:
https://web.archive.org/web/20210723204228/http://www.hotcactus.nyc/

instead.

Can't reproduce this issue, the Location header seems to return the correct URL and ArchiveNow works properly.


B #5258: Onegate ruby client do not terminate a VM (nor other similar operations)

To solve the bug #5258: Onegate ruby client do not terminate a VM (nor other similar operations)

Hello @rcampuz,
Thank you for your contribution! Your PR is correct, but could you please change the commit message to follow the structure:
B #5258: <message>

And also please, you need to sign. Check this for more details.


Inconsistent response codes for "resource created" responses

We have some inconsistency with the response codes returned for "resource created" responses. Some are returning 201 Created whereas others are returning 200 OK.
From my recent experience:

POST /posts/ returns 201
POST /webhooks/ returns 201
POST /subscribers/ returns 200
POST /invites/ returns 200

The response code is determined by the presence of a Location header, with the Location header being added on an ad-hoc basis which could be simplified as it's mostly duplication. Simplifying the logic of adding the header so that the default behaviour is applied for all non-special POST requests would also have effect of automating a 201 for any future resources.
After a little investigation it's been determined that the Location header is not used by Ghost-Admin, it was added for the original Backbone implementation of the admin area. If it's not used anywhere else we could probably remove all of the logic around the Location header and simply return 201 for all successful POST requests.

The only endpoint that I think would need a special case is /authentication/. There are quite a few POST routes there, and they don't all result in creation. e.g. POST /authentication/revoke/ but I assume they are POST requests to conform to oauth standards.

Hey, I'm planning on fixing this issue and wish to get assigned to it.

@hbogaeus adding your name here is enough 😄 Thanks for taking a look! If you run into any issues or need any help please check out the #contributing channel on our Slack team

@kevinansfield Excellent, thanks!

Hey @kevinansfield how should PUT requests be handled? Most (all?) of them result in creation (or the updating of a resource) and should thus respond with a 201?

@hbogaeus 200

After a little investigation it's been determined that the Location header is not used by Ghost-Admin, it was added for the original Backbone implementation of the admin area. If it's not used anywhere else we could probably remove all of the logic around the Location header and simply return 201 for all successful POST requests.

From https://tools.ietf.org/html/rfc7231#section-6.3.2

The primary resource created by the request is identified
by either a Location header field in the response or, if no Location
field is received, by the effective request URI.

That means to me, if we don't return the Location header, the request url identifies the created resource. So e.g. if you create a post, you trigger. POST /posts. This route does not identify the created resource.
I would like to keep the Location header for now and only concentrate on the correct status codes. Or let me know, if i am misunderstanding the RFC spec 👍

We will ensure resource creation is consistent in API v2, but not for v0.1.
We can also get rid of the location header in v2. If we want to add something similar in the future, we can do of course.

After a little investigation it's been determined that the Location header is not used by Ghost-Admin, it was added for the original Backbone implementation of the admin area. If it's not used anywhere else we could probably remove all of the logic around the Location header and simply return 201 for all successful POST requests.

I would advocate strongly for not returning a post URL in the location header in v2. If we keep it, the location should be for the Content API resource URI, rather than the front-end location.

Closing this issue. API version V2 does not return the location header and it returns consistent status codes for adding + destroying resources.


Truncate floating-point numbers in alternative state visualization

Is your feature request related to a problem? Please describe.
DumpMachine prints floating-point numbers in amplitudes with 4 digits of precision, but the same numbers show up with a lot more precision in the alternative state visualization. This looks odd, and I don't think we need that kind of precision.

Describe the solution you'd like
It probably makes sense to truncate/round floating-point numbers to the same precision as we do in DumpMachine, to make the display consistent.

One can change the line
https://github.com/microsoft/qsharp/blob/2963b42634ca29d8d5dcee58a4f23a95fb5c5a87/compiler/qsc_eval/src/state.rs#L486

@DmitryVasilevsky @tcNickolas I would like to work on this issue.

@tcNickolas , how do I see the lengthy floating point numbers in alternate state visualisation? So far I have tried running below 2 cells in jupyter notebook.
%%qsharp

open Microsoft.Quantum.Diagnostics;

operation BellState() : Unit {
    use q = Qubit[2];
    H(q[0]);
    CNOT(q[0], q[1]);
    DumpMachine();
    ResetAll(q)
}

BellState()

qsharp.eval("BellState()")

Output
STATE:
|00⟩: 0.7071+0.0000𝑖
|11⟩: 0.7071+0.0000𝑖

PS: Running Operation BellState in a .qs file using @Entrypoint gives the same output as qsharp.eval("BellState()")

I saw it in the playground, for example, if you add DumpMachine to Superposition sample (and change H to Ry).

@tcNickolas, @DmitryVasilevsky  I could get this working now. Thanks for the help.

I have a question about the intended behavior for decimal values with less than 4 decimal places. Do we need the new behavior to be with padding or without padding?

PS: I just created a superposition of 2 qubits using H gate on both qubits; dump machine says 0.5000 and not 0.5, so i think we should be good with padding. Thoughts?

Either way can work, I think. The goal of the alternative state visualization is to offer formulas that are easier to read and interpret than just floating-point numbers, so from this point of view 0.5 is better than 0.5000. But we can also aim for consistency with DumpMachine output.
Does this scenario actually occur? The visualization should recognize the value and print it as 1/2 rather than a floating-point number (and the same for a lot of other fractions).

Does this scenario actually occur? The visualization should recognize the value and print it as 1/2 rather than a floating-point number (and the same for a lot of other fractions).

Nope, it doesn't. We print fractions in this case. Actually, unit tests caught this case of trailing zeros, so thats why I thought I could ask you. Having 4 digits of precision is short change: write!(latex, "{:.4}", number.value).expect("Expected to write decimal value."); , with side effect of trailing zeros. From my brief search it seems, we would either need to use some extension or a different package dependency to remove trailing zeros, or use multiple by 10^4, round the number and then divide by 10^4, which I find a bit ugly.

I'm fine with keeping trailing zeros, I don't have strong feelings about one scenario vs the other. Can you clarify what test case has trailing zeros that are not recognized as a fraction? (You can also open a draft PR to run CI build so that everybody can see the failing tests.)


What happened to LD42 & LD39?

For some reason they don't list among previous themes

https://ldjam.com/events/ludum-dare/49/theme/idea
refreshing the page can cause the events displayed to change. It appears to be randomly picking events but I don't think it's intentional

The issue is probably in this line. The sort function is incorrectly used.
https://github.com/ludumdare/ludumdare/blob/7bcda4cf2a166696e1507f2dcc583390d8e33eae/src/com/content-event/event-idea.js#L58
The correct usage would be this.
.sort((a,b) => (new Date(b.meta['event-start']) - new Date(a.meta['event-start'])))


Block domain arcanex.io

Domain: arcanex.io
Requested by @jennmbell

GC6QHS7NP4RAF57PDHQWUN6VGGSCELPAJ6GWYS3SR6L6LL3RRIVJBARX this account created a wallet that keeps sending me small amounts of XLM to promote their scam project that many other people have also reported. Please investigate the activity of this issuer and wallets connected to them. I want to stop them sending me these airdrops but I can't find how to do it. Please stop them trying to scam people

@jennmbell
I know that there are other people who don't like receiving air drops that clutter up their list of payments. The nice thing about drops of XLM is that they are automatically added to your account of XLM (native token of Stellar). Unlike the other know scam air drops that you have to do something to remove them from your pending list.
I have done some research into the arcanex.io project and do have some questions but it does not fit the boxes of obvious scams.
-Counterfeits
-Falsified emails and primary contacts
-Falsified claims of association to a company, asset, organization, etc.
-Falsified and/or undocumented or audited claims of anchoring or backing with other assets
We will keep watching their project.
And as always, NEVER invest more money than you can afford to totally lose without hurting your, or your family's, financial future. Losing a house, education, and health options are terrible consequences for being fleeced.
Looking towards the future with you,
Rob
PS This document I put together a while ago can be helpful in evaluate Stellar Token Projects.
"Things to Consider When Evaluating Token Projects"
https://docs.google.com/document/d/1Vbo1GsQWSsTCeVw0nMLX6X7tPCufXMNRTmeUvQh7tmo/edit?usp=sharing

Hello @jennmbell,
This is being combined with the similar reporting. Please help with more information supporting the claim that this project is a scam.
https://github.com/stellar-expert/public-directory/issues/518

Hello!
I’m sorry I am replying to this late. I really appreciate your reply, it was very detailed and shows you a really are looking into projects to secure the DLT and I appreciate that. I don’t have direct evidence they’re a scam, but I asked other people about it and they said it was and to ignore it.
Thanks again for the efforts you take to keep XLM a space space for transacting.
Kind regards,
Jennifer
Sent from Proton Mail for iOS
On Fri, Apr 21, 2023 at 19:37, CryptoHobbyist @.***(mailto:On Fri, Apr 21, 2023 at 19:37, CryptoHobbyist < wrote:

@.***(https://github.com/jennmbell)
I know that there are other people who don't like receiving air drops that clutter up their list of payments. The nice thing about drops of XLM is that they are automatically added to your account of XLM (native token of Stellar). Unlike the other know scam air drops that you have to do something to remove them from your pending list.
I have done some research into the arcanex.io project and do have some questions but it does not fit the boxes of obvious scams.
-Counterfeits
-Falsified emails and primary contacts
-Falsified claims of association to a company, asset, organization, etc.
-Falsified and/or undocumented or audited claims of anchoring or backing with other assets
We will keep watching their project.
And as always, NEVER invest more money than you can afford to totally lose without hurting your, or your family's, financial future. Losing a house, education, and health options are terrible consequences for being fleeced.
Looking towards the future with you,
Rob
PS This document I put together a while ago can be helpful in evaluate Stellar Token Projects.
"Things to Consider When Evaluating Token Projects"
https://docs.google.com/document/d/1Vbo1GsQWSsTCeVw0nMLX6X7tPCufXMNRTmeUvQh7tmo/edit?usp=sharing
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hello Again @jennmbell,
We are still reviewing them and things have not gotten any better/clearer. I personally think your friend is giving you good advice.
Rob

Hello Again @jennmbell,
The ArcanEX project has been flagged. When it is not an obvious counterfeit there is much more review needed. I am sorry you have become one of their victims. These are the primary reasons for the determination of being a SCAM.
ArcanEX has:
increased the supply by over 17,000x
there is no buy market (liquidity totally sucked out)
Report multiple times with evidence of asking for private keys and then customers wallets are drained other than the clawbacks that ArcanEX explains is part of their system.
-The claims of a stable coin is unfounded and the value has basically zeroed.
-Communications have stopped.
Rob


upsun integration:activities is missing in the exported md file for the doc

seems that upsun integration:activities is missing in the CLI command reference
What is missing on the CLI side for this command to be exported ?

The command is here
https://docs.upsun.com/administration/cli/reference.html#integrationactivitylist
So it's something to do with how the aliases are exported

Oh because the alias in question is a hidden one -
https://github.com/platformsh/legacy-cli/blob/e009a87025ddbbf7c54bef3a476085e2569a6117/src/Command/Integration/Activity/IntegrationActivityListCommand.php#L42

That's the PR if you want ^


Remove outdated remark in docs/modules/models/chat/index.mdx

Remove outdated remark in docs/modules/models/chat/index.mdx
According to the docs there is more than ChatOpenAi model only --> ChatAnthropic etc...
What was removed:

Note: Currently, the only chat-based model we support is ChatOpenAI (with gpt-4 and gpt-3.5-turbo), but anticipate adding more in the future.

Thank you!


BardAPI not work on webserver: checked by Google Captcha

Thank you for your insteresting API,
Before, I'm running BardAPI on my webserver.
Today, I see that BardAPI has not worked anymore, the response from BardAPI was Captcha html page.
Can you help me to solve this issue?

Have you checked if it's still not possible to make a call even after completing the Captcha? Captcha is designed to be difficult to bypass for non-human entities, which is its purpose.

I had to solve manually the captcha for each request working.
If i run the BardAPI on IDE of Python, it works fine without captcha.


Use iovec as internal format for strings / bytes?

Proposal
Use iovec internally in Acton for str and bytes (perhaps others?).
Motivation
The Linux kernel uses iovec internally everywhere. By adopting iovec internally in Acton, we avoid having to copy chunks of memory in order to align them on a contiguous chunk for Acton.
Alternatives
Our current formats for str and bytes is one contiguous chunk of memory. By continuing to use this, we are forced to copy memory on the boundary from iovec to contiguous. Copying is obviously bad.

" Copying is obviously bad." Agreed. But many str/bytes/bytearray methods also run faster/are easier to define if the str content is contiguous. Not sure which alternative is better.


System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request

I got this error when I tried to run a released app
Command used to publish dotnet publish --configuration Release
Result:
Hosting environment: Production
Content root path: /path-to-my-app/publish
Now listening on: http://localhost:5000
Now listening on: https://localhost:5001
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
      An unhandled exception has occurred while executing the request.
System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
Your application is running in Production mode, so make sure it has been published, or that you have built your SPA manually. Alternatively you may wish to switch to the Development environment.

   at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__1(HttpContext context, Func`1 next)
   at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[3]
      An exception was thrown attempting to execute the error handler.
System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
Your application is running in Production mode, so make sure it has been published, or that you have built your SPA manually. Alternatively you may wish to switch to the Development environment.

   at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__1(HttpContext context, Func`1 next)
   at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HLFDGHBE8F9H", Request id "0HLFDGHBE8F9H:00000001": An unhandled exception was thrown by the application.
System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
Your application is running in Production mode, so make sure it has been published, or that you have built your SPA manually. Alternatively you may wish to switch to the Development environment.

   at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__1(HttpContext context, Func`1 next)
   at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

dotnet version 2.1.302
OS Ubuntu 18.04 LTS

Ok, it was about coping the ClientApp file please close this issue.

@AhmedMKamal Hi, how did you solve this? I have the same issue after publishing the app on to the server.

@DwiYI  @abdu292 check outputPath at angular.json and spa.Options.SourcePath at Startup class.
Example:
// angular.json
...
"outputPath": "dist"

// Startup.cs
...
spa.Options.SourcePath = "ClientApp"

my problem was that when i run the build command the Angular app moved to ClientApp/dist/dist instead of ClientApp/dist

i have solved the issue. I am using kestrel to serve content from asp .net core.
my issue is write wrong path (working directory) in kestrel service.
[Service]
WorkingDirectory=/var/www/helloapp
ExecStart=/usr/bin/dotnet /var/www/helloapp/helloapp.dll

Thanks a lot @AhmedMKamal  & @DwiYI

@DwiYI
I am also using systemd to host my ASP.NET Core + Angular app on Linux and have this issue.
Can you please confirm whether your index.html lives in the specified working directory? I'm quite unsure as to what's causing this issue as everything is configured as it should and the application does work just fine in production, but my logs are riddled with this error.

@ColinM9991
my index.html is inside dist folder. and make sure spa.Options.SourcePath = "ClientApp"
this is my folder structure (inside /var/www/helloapp)
-ClientApp/dist/index.html
-ClientApp/dist/main.js
-wwwroot/favicon.ico
-helloapp.dll
-appsettings.json
-etc

@DwiYI
Thank you for confirming your structure.
The source path in the Startup.cs and angular.json files is correct for me, the application builds and runs successfully but my logs are plagued with this error regardless, I'm wondering if it's a Linux issue as I host on Ubuntu 18.04 with nginx as a reverse proxy as described here https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-2.2#configure-a-reverse-proxy-server

Solved it by adding :
new WebHostBuilder()                 .UseContentRoot(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location))

I simply modified my launcSettings.json ASPNETCORE_ENVIRONMENT to be a custom environment name, and this caused the app to blow up with this error.  No idea how to resolve it.

My issue was with setting a custom ASPNETCORE_ENVIRONMENT variable in launchSettings.json.  This was on a new project, and I had forgotten to modify the following line in the Startup.cs Configure() method.
From
if (env.IsDevelopment())

To
if (Environment.IsEnvironment("MyCustomEnv"))

Because this if block wasn't being executed, the spa.UseAngularCliServer method was not being called while debugging.

I'm getting this error randomly. It works most of the time.

Solved it by adding :
new WebHostBuilder() .UseContentRoot(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location))

Where did you add this?

WorkingDirectory

@DwiYI Where did you add this?

@liberalmeida WebHostBuilder is usually found in Program.cs - the entrypoint.

I have already deployed our web service. Most of the time it works fine, but randomly I will get this error.

I have already deployed our web service. Most of the time it works fine, but randomly I will get this error.

Moved to Blazor. I can't express the joy & how productive I really am. I'm unsure if I'll ever look back to Angular/React/Vue.
(Just thought to share this with my old friends, probably time for me to unsubscribe from this thread)
Thanks!

Moved to Blazor. I can't express the joy & how productive I really am. I'm unsure if I'll ever look back to Angular/React/Vue.
(Just thought to share this with my old friends, probably time for me to unsubscribe from this thread)
Thanks!

Angular 11, .NET 5.0, trying to host on the dev machine IIS. All the settings are correct according to the suggestions above, but I am still getting the error :-(

Angular 11, .NET 5.0, trying to host on the dev machine IIS. All the settings are correct according to the suggestions above, but I am still getting the error :-(

In my case this was because of a trailing slash in the Angular Api root.
Instead of
http://localhost:81

i had
http://localhost:81/

Remove the slash and you will be fine.
I have answered this here

In my case this was because of a trailing slash in the Angular Api root.
Instead of
http://localhost:81

i had
http://localhost:81/

Remove the slash and you will be fine.
I have answered this here

I'm getting this error randomly. It works most of the time.

did you ever fix this? or find the root cause of it happening randomly for you?

I'm getting this error randomly. It works most of the time.

@eltiare did you ever fix this? or find the root cause of it happening randomly for you?

I'm getting this error randomly too...

I've had this as a transitory error, not with Angular but with React, and my first guess is that it happens if I try to load the site during the seconds it takes for client app to build. In my case, that can take 10-20seconds.


[FEATURE] Perpetuate Skip_users behaviour from ldap2 Backend

In my company, I use as auth backend:

Internal users
OIDC Users (based on ldap with Dex)
Ldap User

With this congifuration, I'm able to handle:

Production connection without tierce party (thanks to internal users)
Web-User facing with an SSO OIDC
Human admin actions with direct LDAP credentials

As you understand, I've same LDAP behind opensearch and Dex, so, same users with same permission.
After deep research (code reading), I've found on ldap and ldap2 backend. I ignore totally difference between them except one with the skip_users directive.
As you can see in code :

Link to Ldap Backend
Link to Ldap Backend2

thanks to the difference and ldap2, I can manage to use /^(?!uid=).+$/ regexp to exclude user not authenticated from ldap.
What solution would you like?
I wish simply, this behaviour will continue. And maybe injected into ldap backend with a simple configuration like skip_user_only_on_dn with falseas default value (retro-compatible).
What alternatives have you considered?
I've found this open issue which might could related:

#295
#488
#1570

Do you have any additional context?
config:
  dynamic:
    authc:
      basic_internal_auth_domain:
        description: "Authenticate via HTTP Basic against internal users database"
        http_enabled: true
        transport_enabled: true
        order: 3
        http_authenticator:
          type: basic
          challenge: true
        authentication_backend:
          type: intern
      openid_auth_domain:
        http_enabled: true
        transport_enabled: true
        order: 1
        http_authenticator:
          type: openid
          challenge: false
          config:
            openid_connect_url: https://xxx
            subject_key: name # which in my case correspond of the uid field from ldap
            roles_key: groups
        authentication_backend:
          type: noop
      ldap:
        description: "Authenticate via LDAP or Active Directory"
        http_enabled: true
        transport_enabled: true
        order: 2
        http_authenticator:
          type: basic
          challenge: false
        authentication_backend:
          type: ldap2
          config:
            enable_ssl: true
            hosts:
            - xxx
            bind_dn: null
            password: null
            userbase: "ou=People,dc=company,dc=org"
            usersearch: "(&(uid={0})(objectClass=person))"
            username_attribute: uid
    authz:
      roles_from_myldap:
        description: "Authorize via LDAP or Active Directory"
        http_enabled: true
        transport_enabled: true
        authorization_backend:
          type: ldap2
          config:
            enable_ssl: true
            enable_start_tls: false
            enable_ssl_client_auth: false
            verify_hostnames: true
            hosts:
             - xxx
            bind_dn: "uid=auth,ou=Auth,dc=company,dc=com"
            password: "xxx"
            skip_users:
              - '/^(?!uid=).+$/'

[Triage] @BugMaster510945 Thank you for filing an issue. We would gladly accept a PR for this issue.
See related issue of differences in LDAP backends here: https://github.com/opensearch-project/security/issues/2216

I think it would make sense to add a new config setting onto the authc entry for the LDAP authentication backend to refer to the respective authorization backend it needs to lookup roles.
i.e.
ldap:
  description: "Authenticate via LDAP or Active Directory"
  http_enabled: true
  transport_enabled: true
  order: 2
  http_authenticator:
    type: basic
    challenge: false
  authentication_backend:
    type: ldap2
    config:
      enable_ssl: true
      hosts:
      - xxx
      bind_dn: null
      password: null
      userbase: "ou=People,dc=company,dc=org"
      usersearch: "(&(uid={0})(objectClass=person))"
      username_attribute: uid
      authorization_backend: roles_from_myldap

Instead of looping through the authorizers in the BackendRegistry after successful authentication, the logic could instead look to see if there is a specific authorization_backend defined in the settings of the authenticator and opt to use that specific authorization backend instead of trying all.


Updated Certificate

Hello,
I have just gotten word that the certificate that is used for the REST api is being updated, will this also impact applications utilizing this library?
If so, will this library be updated to support the new certificate?

Hi @coderiekelt,
Good question :) The CA bundle shipped with this library (https://github.com/messagebird/php-rest-api/blob/master/src/MessageBird/ca-bundle.crt) contains the CA Root certificates, which will keep working in combination with our new SSL certificate once we start using it. So no updates/changes are required.


Use closed_at and merged_at when filtering issues/prs

Fixes #503 in my tests with our private repo.

Hi! Glad you took the time to make a PR!
In order to explain what it does, can we add a test of some kind that proves/explains how merged_at and closed_at are the field we wish to use?

Maybe all it takes is a bit of documentation in the code, as docstrings (YARD) for this method?

@olleolleolle would that work?

@olleolleolle let me know if there is anything else that you want me to do here. Thanks :smile:

@olleolleolle merged PR with master, Travis is green again :-)

since apologies for the noise, I clicked on the wrong button

@olleolleolle Any chance of getting this merged?  We've bumped into the same issue on https://github.com/voxpupuli/puppet-rabbitmq. @wyardley Could you link to your branch that demonstrates this issue?

@olleolleolle Thanks!


Load a temporary RTC param file

To operate a real robot, the driver uses a RTC param file.
Now the driver prepares the file from a specific local path, bit it cannot do when released as a ROS package.
To solve this problem, this PR enables the driver to make a temporary file and use it as RTC param.

Mergeing.


Add request/response content preview to RequestLog

A user wants to see the first N bytes of HTTP request/response content via RequestLog, where N is configurable.

Yes, we have strong wish of logging request body for debugging or investigation.

This issue can be closed. Solved at #1574

Thanks again, @hyeonjames :+1:


I receive an error on long strings

Prerequisites

[x] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I can't initialize long strings. I try to initialize a string like that
$a = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...........................................................................................................aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

It should be noted that

$a = "aaa" works as expected
The exact pattern of making it generate an error is not straightforward. It is related to the number of characters but it can accept more characters if they are from a different type. There is no "magic number" which limits the number of characters. It is, however, consistent. Trying many times with the same string gives the same result (accepted/error)

Expected behavior
An initialized string with the name a

Actual behavior
ParentContainsErrorRecordException: An error occurred while creating the pipeline.

### Error details

```console
Type           : System.Management.Automation.RuntimeException
ErrorRecord    :
    Exception             :
        Type    : System.Management.Automation.ParentContainsErrorRecordException
        Message : An error occurred while creating the pipeline.
        HResult : -2146233087
    CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    FullyQualifiedErrorId : RuntimeException
TargetSite     :
    Name          : Invoke
    DeclaringType : System.Management.Automation.Runspaces.PipelineBase, System.Management.Automation,
Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    MemberType    : Method
    Module        : System.Management.Automation.dll
StackTrace     :
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at System.Management.Automation.Runspaces.Pipeline.Invoke()
   at Microsoft.PowerShell.Executor.ExecuteCommandHelper(Pipeline tempPipeline, Exception& exceptionThrown,
ExecutionOptions options)
Message        : An error occurred while creating the pipeline.
InnerException :
    Type       : System.Runtime.InteropServices.SEHException
    ErrorCode  : -2147467259
    TargetSite :
        Name          : AmsiScanBuffer
        DeclaringType : System.Management.Automation.AmsiUtils+AmsiNativeMethods, System.Management.Automation,
Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    StackTrace :
   at System.Management.Automation.AmsiUtils.AmsiNativeMethods.AmsiScanBuffer(IntPtr amsiContext, IntPtr buffer,
UInt32 length, String contentName, IntPtr amsiSession, AMSI_RESULT& result)
   at System.Management.Automation.AmsiUtils.WinScanContent(String content, String sourceMetadata, Boolean warmUp)
   at System.Management.Automation.CompiledScriptBlockData.PerformSecurityChecks()
   at System.Management.Automation.CompiledScriptBlockData.ReallyCompile(Boolean optimize)
   at System.Management.Automation.CompiledScriptBlockData.CompileUnoptimized()
   at System.Management.Automation.CompiledScriptBlockData.Compile(Boolean optimized)
   at System.Management.Automation.DlrScriptCommandProcessor.Init()
   at System.Management.Automation.DlrScriptCommandProcessor..ctor(ScriptBlock scriptBlock, ExecutionContext context,
Boolean useNewScope, CommandOrigin origin, SessionStateInternal sessionState, Object dollarUnderbar)
   at System.Management.Automation.Runspaces.Command.CreateCommandProcessor(ExecutionContext executionContext, Boolean
addToHistory, CommandOrigin origin)
   at System.Management.Automation.Runspaces.LocalPipeline.CreatePipelineProcessor()
    Message    : External component has thrown an exception.
    Source     : System.Management.Automation
    HResult    : -2147467259
Source         : System.Management.Automation
HResult        : -2146233087

Environment data
Name                           Value
----                           -----
PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

@tom-programming - How did you resolve this issue, even I am also getting same error.
Name                           Value

PSVersion                      5.1.19041.1682
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1682
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

@tom-programming  How did you fix this issue? Even I am also facing same error for long string.


Add files via upload

Developing a smartwatch with ESP32 + 1.54" MIPI display + LittlevGL. This is the first step.

Hi,
Will it be a complete Smartwatch project or "just" some examples?

Gabor
Will be a complete smartwatch, at least the time will tick with digital clock format 12:30 ->12:31, etc. Bonus features are heart rate measurement, vibrator switching, and BLE and Wifi connection with smart phone. CMOS camera is also available. But a preliminary test from github  to stream it via http is very slow and unstable. I think the bottleneck is the http-wifi connection. If I can update the cmos framebuffer to the LCD it would be much faster.
Not sure if all features could be finished by myself. At the end it will be hardware and software opensource so I hope somebody more expertise will fork it and improve.
Just finished the LCD part for Arduino in this minute. Will port them for LittlevGL tomorrow. Please hold it 1-2 days to do a real Pull.
Let me know your thought.
John

Happy to hear that it will be a complete project!
I suggest storing this project in your personal account because:

It will be easier for you to update the project
Here (in LittelvGL organization) there are  "only" examples and not full projects
It will bring reputation to you! :)

If already there is something to show in the project I can add links to it various places:

https://littelvgl.com
https://blog.littlevgl.com/2018-12-26/references
The main README here

How does it sounds to you?

It sounds good. I believe https://littlevgl.com is a better place. Have just finished the first demo for Arduino, but I find it mandatory to structure the program into a particular way to make it work. They are :
(1) Need to put all GUI related functions into a .cpp file and then pin that task to a core for esp32, in my case it is GuiTask.cpp. Conventional Arduino program structure is like
setup()
...
loop()

Program structure like this doesn't work although it compiles OK and download OK too. I believe it is due to the particular RTOS related features for esp32 arduino core.
(2) Another issues you may not like it is that, I have made a new folder lv_drivers in the same root as lvgl.h in order to let the Arduino IDE know such drivers exist for CTP and new LCD driver.
Something like this screen shot:

Don't know other location that allow folder discovery for Arduino!
(3) Complete esp32_littlevgl_hello demo and the drivers area available from my dropbox. If you are interested (and have time) please download and take a look.
esp32_littlevgl_hello
lv_drivers
lv_conf

For the directory structure:

Would it work if - similarly to lvgl - you create new libraries from lv_examples and lv_drivers?

It works if I make all drivers outside littlevgl folder in arduino libraries. Folder structure now looks like this:

\Arduino libraries
		\littlevlg
			library.properties
			lv_conf.h
			\src
		\lv_drivers
			library.properties
			\src
			   display.c
			   display.h
			   indev.c
			   indev.h
			\examples

I believe it is the preferred folder structure because the lv_drivers becomes a stand-alone project folder and at the same time compatible with littlevgl. Good to avoid messing up when there is any update.
From time to time I see some people asking for instruction guide to integrate Arduino with Littlevgl, specially for ESP32. Maybe a blog to summarize what I found is good?

Awesome, the structure looks much better.

Maybe a blog to summarize what I found is good?

Absolutely yes! I'd be very very welcome :)
If you moved the files to your repository (as discussed above) please close this PR.

Thanks a lot. You work so hard, early in the morning. Will let you know once I have finished the new blog. It will be like chapter 2 of the first iPod nano6 hacking blog.

You work so hard, early in the morning.

A lot of emails were accumulated on the weekend :)

Will let you know once I have finished the new blog. It will be like chapter 2 of the first iPod nano6 hacking blog.

Great! :)


Calculated FitnessPlot metric

The FitnessPlot metric should not be read from a file FitnessPlat.dat, instead it is calculated as a mean value from the metrics FitnessArrangement.dat and FitnessVolume.dat.
The impl. should be generic enough to enable other "calculated" metrices in the future.

Impl. in 0.3


Enhancement: add notify-send flags/summary

Notify-send has a lot of flags and a title/summary section, that is not used. Maybe add them?

That was planned. If you want, you can submit a pull request! 😀


[ISSUE #5276] Use OS pick-up port

Make sure set the target branch to develop
What is the purpose of the change
Fix https://github.com/apache/rocketmq/issues/5276
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #5280 (e035eac) into develop (d631670) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #5280   +/-   ##
==========================================
  Coverage      43.19%   43.19%
- Complexity      7808     7810    +2
==========================================
  Files            998      998
  Lines          69453    69453
  Branches        9170     9170
==========================================
+ Hits           29998    30000    +2
  Misses         35683    35683
+ Partials        3772     3770    -2

Impacted Files
Coverage Δ

...tools/command/namesrv/WipeWritePermSubCommand.java
69.23% <0.00%> (-3.85%)
:arrow_down:

...ketmq/proxy/grpc/v2/channel/GrpcClientChannel.java
56.04% <0.00%> (-3.30%)
:arrow_down:

...a/org/apache/rocketmq/filter/util/BloomFilter.java
60.43% <0.00%> (-2.20%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
82.21% <0.00%> (-1.45%)
:arrow_down:

...apache/rocketmq/store/ha/GroupTransferService.java
92.30% <0.00%> (-1.29%)
:arrow_down:

...ava/org/apache/rocketmq/store/index/IndexFile.java
73.68% <0.00%> (-0.88%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
69.21% <0.00%> (-0.79%)
:arrow_down:

...apache/rocketmq/store/timer/TimerMessageStore.java
54.18% <0.00%> (+0.09%)
:arrow_up:

...q/controller/impl/manager/ReplicasInfoManager.java
62.59% <0.00%> (+0.38%)
:arrow_up:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
62.38% <0.00%> (+0.45%)
:arrow_up:

... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Apple.BootCampDrivers version 5.0.5033

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111860&drop=dogfoodAlpha

[Policy] Needs-Author-Feedback

Close with reason: Stale pull request;


Scheduled Email

Is it possible to send an email based on a condition (field is true/false) and send it weekly?

The best strategy for this is the following:

create a table where each to represents an email to be sent, say "WeeklyUpdateEmail". This should have the fields for all the contents in the email
create a show view on WeeklyUpdateEmail for the email
create a trigger on insert into the WeeklyUpdateEmail with action send_email
create a weekly trigger, of blocks or run_js_code, which inserts rows into WeeklyUpdateEmail. if there is some flag or condition, then you can put it inside an if block

maybe in 4 you want to retrieve all the rows from a different table, then loop over them with a for block, with an if inside the for and then insert statement inside the if

in that example, is it possible that if a field (bool) is TRUE for a user,  he will be included in the email? more like a mailing list.

sure, say you have a Bool field subscribed on the user table. in step 4 above, use something like this:

but instead of testing table, use WeeklyUpdateEmail

like this to create email row

instead of subdUser, you probably want to use subdUser.email then you have the address directly in that field

Thank you very for the examples.


Improve description of benchmark and outputs for benchmark

Each benchmark should clearly state what the benchmark provides, what it requires.

The sequence tolerance benchmark measures the recapitulation of a reference distribution over a sequence space given the conformation of a prototypical sequence. This benchmark models, for example, the tolerated sequences of protein-protein interface or protein domain.
This benchmark includes

"one sentence description of experimental data"
Configuration details for the backrub ensemble protocol described in Smith & Kortemme (2010), Smith & Kortemme (2011).
Analysis scripts that compare a predicted multiple sequence alignment to a reference multiple sequence alignment using 4 recapitulation metrics each based on the position weight matrix estimated for the ensemble.

The full output of a successful run can be found in the
RosettaCommons repositories and http://kortemmelab.ucsf.edu/data/.

Thanks! I have updated the text.


'speed' variable maybe wrong in the documentation

Hi, all!
I made a simply CLI for study purposes and I notice something that maybe it's wrong in the documentation.
Documentation
st.on('downloadspeedprogress', speed => {
  console.log('Download: ' + (speed / 1000).toFixed(2) + ' kB/s')
})

dividing the speed by 1000 always outputs a number like 0.01 kB/s
What I did
st.on('downloadspeedprogress', speed => {
  console.log('Download: ' + (speed * 100).toFixed(2) + ' kB/s')
})

so, after some tries I noticed that if I multiply the speed by 100, it outputs the right result, like 999.99 kB/s
Is this an error or I'm doing something wrong? maybe I didn't understand something there...

Yes, it's actually 125, not 100. The speed is in megabits/s. Multiply by 125 to get the KB/s.


refactor(updating inverse hyperlink color per orion): color updates t…

Updating inverse hyperlink text color per Orion.

Codecov Report

Merging #312 (375479f) into dev (042764f) will increase coverage by 0.76%.
The diff coverage is 93.52%.

@@            Coverage Diff             @@
##              dev     #312      +/-   ##
==========================================
+ Coverage   89.79%   90.56%   +0.76%
==========================================
  Files        1519      153    -1366
  Lines        6770     3623    -3147
  Branches     1024     1205     +181
==========================================
- Hits         6079     3281    -2798
+ Misses        546      186     -360
- Partials      145      156      +11

Impacted Files
Coverage Δ

...es/react-magma-dom/src/components/Banner/index.tsx
100.00% <ø> (ø)

...eact-magma-dom/src/components/Card/CardHeading.tsx
100.00% <ø> (ø)

...act-magma-dom/src/components/Combobox/Combobox.tsx
92.85% <ø> (ø)

...om/src/components/DatePicker/HelperInformation.tsx
100.00% <ø> (ø)

...s/react-magma-dom/src/components/Heading/index.tsx
100.00% <ø> (ø)

...ct-magma-dom/src/components/Input/InputMessage.tsx
94.11% <ø> (-5.89%)
:arrow_down:

...react-magma-dom/src/components/Paragraph/index.tsx
100.00% <ø> (ø)

...es/react-magma-dom/src/components/Search/index.tsx
94.44% <ø> (ø)

...eact-magma-dom/src/components/Select/ItemsList.tsx
100.00% <ø> (ø)

...agma-dom/src/components/Select/SelectContainer.tsx
91.66% <ø> (ø)

... and 1429 more

Continue to review full report at Codecov.

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


[AIRFLOW-5224] Specify Encoding for BQ ingestion

https://github.com/apache/airflow/pull/6297

solved https://github.com/apache/airflow/pull/6297


Merge pull request #1 from ctripcorp/master

20170116_update

Coverage decreased (-0.05%) to 46.942% when pulling b456e5b7d42467f04cf337a18156312dac0ebeab on Amous-th:master into 4949eb5584905f0d77dad00669d9b7fc645999ce on ctripcorp:master.

Coverage decreased (-0.05%) to 46.942% when pulling b456e5b7d42467f04cf337a18156312dac0ebeab on Amous-th:master into 4949eb5584905f0d77dad00669d9b7fc645999ce on ctripcorp:master.


Revert "Show submitted referrals"

Reverts ministryofjustice/hmpps-temporary-accommodation-ui#663
The e2e test for booking a referral is failing. Reverting to make sure we're not blocked to release to other regions.

 A referrer can view their own application that they've submitted

For in case it's a useful reference I think the failure output is this one?
  1) Apply for and book a Temporary Accommodation bedspace
       Creating an application:
     AssertionError: Timed out retrying after 4000ms: Expected to find content: '30 Aug 23' within the element: <td.govuk-table__cell> but never did.
      at Context.eval (https://temporary-accommodation-dev.hmpps.service.justice.gov.uk/__cypress/****s?p=e2e/****s/apply-and-place.feature:44014:34)


$form->belongsToMany list in selection modal is losing its events after page change.

Describe the bug
When the list in the select modal of $form->belongsToMany has paging, after the page is changed, the checkbox events of the list are gone.
To Reproduce
Create a $form->belongsToMany() with more than 10 selectable records. Open the select modal, change page, select a record and hit submit. The selected record is not added to the belongsToMany list.
Expected behavior
It should add the selected record.
System

Open-admin version 1.0.27
PHP version 8.2
Laravel Version 10
OS: Linux / Win / Mac
Browser chrome

Solution
After some debugging, I found some remarked code in open-admin/resources/assets/open-admin/js/open-admin-selectable.js:
                /*
                // now handeled through admin.ajax.currentTarget
                if (event.target.classList.contains('page-link')){
                    load(event.target.getAttribute("href"));
                    event.preventDefault();
                    event.stopPropagation();
                    return false;
                }
                */

When I unremark it, the selection of records keep working after page change.

@bytebrain thanks for the support!


Record missing

Describe the bug
I recorder a full screen at 28fps and 90% by 1 hour and half, at captura folder only appear a file with 103mb (file size not increasing) without thumbnail I didn't open yet because captura show a warnings when I tried to close with message "Some recording has not finish to writing to disk", I have a SSD and had passed around of 5 hours, I do not see any writing process related with capture at task manager.
It was very important record, did I lost? is there any cache file?
Desktop (please complete the following information):

OS: windows 10
RAM: 8gb
CPU: amd a12-9720
Graphic Card: intrgrated to cpu
Captura Version: v8.0.0

Same here... would be nice to have some response

I'm extremely sorry to say that the recording cannot be recovered.
I'm looking for the exact reason this issue is happening. While I'm not sure, but it seems to be due to synchronization issues between audio and video which causes problems sending data to FFmpeg or other encoders.
This is the highest priority task for me and I'd try my best to ensure that this won't happen in the next release.


Add "Append to Daily Note" command

Closes https://github.com/marcjulianschwarz/obsidian-raycast/issues/31
TODO:

[x] Use your fancier vaults logic? (vaultPluginCheck, useObsidianVaults)

Done in baea1f9568a209933c30f416e5ebf8440526e359

[x] Update README

Done in 1b28afbcef7220176ccaede52066e6e02c3abaf0

I've been putting TODOs in my daily note, so I would use this with a template of - [ ]  and a heading preference of TODO to append a task to my TODO heading.
I have this mapped to a td alias, so it's very quick to append:

Launch raycast
Type td + space/tab
Type the todo
Enter
Done!

Here's a little demo of how it's working for me:
https://user-images.githubusercontent.com/180798/198576008-88650b42-3546-4241-9caa-6f9b347dc954.mov

@marcjulianschwarz I reimplemented this as a "view" command in 932e1c9dcd0dfe16c736d34691dc582924850798, allowing it to reuse more code including the useObsidianVaults hook. Seems to work well, let me know what you think!

Looks good to me!
However I am getting an error that my vault doesn't exist. I tested a few different vaults and found out that it doesn't work with vaults made up of more than one word. For example a vault with the name Test would work where a vault with the name Test ABC would not.

I have tried to uri encode the vault name but this didn't work as well. The normal daily note command works fine. Maybe this is an issue on the advanced-uri plugins side?

Ah, I think the issue is URLsearchparams instead of using encodeURIComponent for the vault name. I'll try to fix this soon 👍🏻

@marcjulianschwarz I think we're good now! I appreciate the testing, vaults (and heading names) with spaces seem to work fine now 👍

Thanks for your work!
Will work on some of the items in the "Progress" column of the roadmap and release this command together with those fixes.

Do you have a Raycast account? If so, can you please tell me your name so I can add you as a contributor?

@marcjulianschwarz I do! iancanderson on there as well. Thanks!

Hi @iancanderson I was finally able to release the version with your contribution.


[DEVOPS-157] naturalise cardano-keygen:  number generated key files from 0, instead of 1

This caught people off-guard numerous times.
Seems like humans are better trained to deal with natural numbers.

cc @domenkozar

@gromakovsky, there's still a problem with OpenSSL:
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:1 char:101
+ ... eb.com/download/Win64OpenSSL-1_0_2L.exe', "$($env:USERPROFILE)\Win64O ...
+                                                  ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Command executed with exception: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."

@deepfire  its fixed on master: https://github.com/input-output-hk/cardano-sl/pull/1865

..problem is, I need the fix in cardano-sl-1.0..

@deepfire  https://github.com/input-output-hk/cardano-sl/pull/1872 and also on cardano-sl-1.0

@dcoutts, CI has passed, ready for your re-approval.

I hope we have fixed all the code that relys on current numbering before this comes into effect.

@domenkozar, as to DevOps -- I'm not aware of any code, except a single place in iohk-ops, that relies on it.
For the developer side, I think we have their approval.

Right, I am not aware of any code on our side which relies on it.

@domenkozar, done.

@deepfire needs to run pkgs/generate.sh

@domenkozar, I used to think this is better to done in the base branch + a rebase -- otherwise we're getting a conflict.
Rebased.

@deepfire doesn't seem like you've pushed?

@domenkozar, indeed, thank you!

@dcoutts it appears that in the latest cardano-sl-1.0 we still need a PR to rerun pkgs/generate.sh -- to make stack2nix happy. How should we coordinate it?  I can do it in this branch -- but then we'd have to move quickly, before someone else does that and suffers conflicts..

@domenkozar, a run of pkgs/generate.sh fails like this:
pdating deps from ./..
stack2nix: FAILED: stack list-dependencies
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Core/Class.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/ghcversion.h
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Core/Constants.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/ghcversion.h
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Crypto/AsBinary.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/ghcversion.h
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Binary/Class.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/MachDeps.h
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Binary/Class.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/ghcautoconf.h
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Binary/Class.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/ghcversion.h
Warning: addDependentFile path (Template Haskell) listed in /home/deepfire/cardano-sl/core/.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS>/build/Pos/Binary/Crypto.dump-hi does not exist: /nix/store/shv5yba4ns4ax38gvrd36rfynm9yms4i-ghc-8.0.2/lib/ghc-8.0.2/include/ghcversion.h
Didn't see ekg-core-<IP_ADDRESS> in your package indices.
Updating and trying again.
Updating package index Hackage (mirrored at https://s3.amazonaws.com/hackage.fpcomplete.com/) ...
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Downloading timestamp
Downloading snapshot
Updating index
Exception /home/deepfire/.stack/indices/Hackage/hackage-security-lock: createDirectory: already exists (File exists) when using mirror https://s3.amazonaws.com/hackage.fpcomplete.com/
Selected mirror http://hackage.fpcomplete.com/
Downloading timestamp
Downloading snapshot
Updating index
Exception /home/deepfire/.stack/indices/Hackage/hackage-security-lock: createDirectory: already exists (File exists) when using mirror http://hackage.fpcomplete.com/
Selected mirror http://objects-us-west-1.dream.io/hackage-mirror/
Downloading timestamp
Downloading snapshot
Updating index
/home/deepfire/.stack/indices/Hackage/hackage-security-lock: createDirectory: already exists (File exists)

CallStack (from HasCallStack):
  error, called at src/Stack2nix.hs:167:15 in stack2nix-<IP_ADDRESS>-Chf2P9JnCB4H9SzIPAPiJD:Stack2nix

@deepfire the travis job was still able to gist the diff: https://gist.github.com/b13035e745d7bf4d725171a6339d8091

Nuking ~/.stack helped, as usual.. : -)

@domenkozar, CI has happened.


Update How_to_set_up_reverse_dns.md

updated link for video

Hello @iritch42,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


CRITICAL auto-redirect to home page from dashboard

when you click dashboard whilst on homepage it only displays dash board for a few seconds and reverts back to home page.

I noticed this happens only if the user has already submitted an application. In this situation, the Application tab in the sidebar is disabled, and the Dashboard link leads to it. So to fix this problem, we need the Dashboard button to lead to the first non-disabled tab in the sidebar - it would be Status in this case. Alternatively, we can always have the Application tab available, but display a different page if the application has already been submitted. This goes in line with what we discussed earlier - it should be a "contact support if you need to resubmit your application" page if the application has gone through and failed.


Subscribe to the releases page

Not an issue but a question about github, is it somehow possible to subscribe to the releases page to get an email notification when a new version has been released?
This is the page I'm referring to
https://github.com/mixMugz/msfs_tbm930_project/releases

Or use flightsim.to

Thanks but where do you find the screen you're showing in that screenshot? The UI almost looks a bit like Discord to me. I'm using Chrome to go to your Github page.
No big deal though, noticed how you just released a new version 🙂

Ah, thanks!
Just found out why I didn't see that option. I was using my mobile and I had to use the option in Chrome saying the web page is made for computers. Doing that revealed the option you're showing.

I use this tool to keep all my Github packages up to date: https://github.com/NicolasConstant/msfs-community-downloader
Beats the Github Watch IMHO.

Thanks for the tip!


Upgrade to Gradle 2.1

What I meant to say... in October, was that given the use of plugins I do in Gradle it's probably not going to work without some massaging of the build file.

Hey, I have noticed you updated your branch to 2.5.
Now I start to think I'm wrong and that Gradle is so awesome we could do this.
Can you submit and updated PR?

Hi @detro ! I have updated the pull request to upgrade to Gradle 2.5


Resolving dependencies bug

Hi
I have a package with next pyproject.toml:
[tool.poetry]
name = "dphelper"
version = "0.0.94.dev0"
description = ""
authors = ["Alex Tonkonozhenko <...>"]

[tool.poetry.dependencies]
python = "*"
psycopg2 = "^2.7"
xxxxxxxxxx = "^0.0"
s3transfer = "^0.1"
pyhocon = "^0.3"
boto3 = "^1.7"
pybars3 = "^0.9"
yyyyyyyyy = "^0.7"
troposphere = "^2.2"
retrying = "^1.3"
mock = "^2.0"
functools32 = {version = "^3.2", python = "~2.7"}
futures = {version = "^3.1", python = "~2.7"}

[tool.poetry.dev-dependencies]
regex = "^2018.2"
simplejson = "^3.15"
pyspark = "^2.3"
requests_mock = "^1.5"
Werkzeug = "^0.14"
findspark = "^1.2"
slacker = "^0.9"
tqdm = "^4.23"
pandas = "^0.22"
elasticsearch = "^5.5"
ipython = "^5.7"
requests = "^2.18"
ipywidgets = "^7.2"

[[tool.poetry.source]]
name = "...."
url = "https://....../pypi/packages"

When I'm trying to add it to another poetry project I get next error:
(.venv) ➜  hello poetry add ......
Using version ^0.0.93 for ......

Updating dependencies
Resolving dependencies... (0.4s)

Package operations: 1 install, 0 updates, 0 removals

Writing lock file

  - Installing pyyaml (3.12.win32-py3.5)

[VenvCommandError]
Command ['pip', 'install', '--no-deps', '-r', '/var/folders/rs/xqvskktn065cs4_s00s919lm0000gn/T/pyyaml-3.12.win32-py3.5llvpkpreqs.txt'] errored with the following output:
Collecting pyyaml==3.12.win32-py3.5 (from -r /var/folders/rs/xqvskktn065cs4_s00s919lm0000gn/T/pyyaml-3.12.win32-py3.5llvpkpreqs.txt (line 1))
  Could not find a version that satisfies the requirement pyyaml==3.12.win32-py3.5 (from -r /var/folders/rs/xqvskktn065cs4_s00s919lm0000gn/T/pyyaml-3.12.win32-py3.5llvpkpreqs.txt (line 1)) (from
versions: 3.10, 3.11, 3.12)
No matching distribution found for pyyaml==3.12.win32-py3.5 (from -r /var/folders/rs/xqvskktn065cs4_s00s919lm0000gn/T/pyyaml-3.12.win32-py3.5llvpkpreqs.txt (line 1))
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Which version of poetry do you have?
If not already installed, try the latest pre-release (0.11.0a4) and see if that works. Once installed, you might want to remove the lock file, since the erroneous version is now locked.

seeing a similar issue using poetry 0.11.0 on mac os
` ~/P/poetry-demo  poetry add pendulum
Creating virtualenv poetry-demo-py2.7 in /Users/jalstad/Library/Caches/pypoetry/virtualenvs
Using version ^2.0 for pendulum
Updating dependencies
Resolving dependencies... (2.6s)
Package operations: 12 installs, 0 updates, 0 removals
[TypeError]
write() argument 1 must be unicode, not str
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--]  ()...`

I have also seen this.
I think we need from __future__ import unicode_literals in that file for Python 2.

I just published a new bugfix release. It should fix this issue.
Sorry about that.

The issue looks fixed. Thanks!


[DO NOT MERGE] test: see how pr preview looks

This was just a test to see how another deploy preview looked, and not an actual fix of anything. Closing since test has been seen. :)


onRefresh stops after first refresh

hello onRefresh callback does not work after the first refresh, kindly look into this, please on a chat screen

noreproduce code and details,the issue closed for now.


UML-2338 - Build and push app image to ECR

Purpose
Build an artifact to deploy later
Fixes UML-2338
Approach

Add version tagging
Add docker build
Add image scanning
Add AWS configuration
Push images to ECR using version tags as image tags

Learning

https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_id

Checklist

[x] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] I have added welsh translation tags and updated translation files
[ ] I have run an accessibility tool on any pages I have made changes to and fixed any issues found
[ ] The product team have tested these changes

Images pushed successfully


Check for the doublect item

Hello Youri, good job so far, but there is a suggestion I would like to mention

Please make sure that there is no double item pushed to the locale storage by adding a function that go throw the local storage and check if the item you are trying to add already exists or not

This issue will be fixed in the next release of the app.


@foreach()   runs multiple queries

Hi again.
I found another bug in BladeExtensions.
@foreach(App\Office::all() as $office)
@endforeach

runs 2 queries
select * from `offices`
select * from `offices`

If I disable Radic\BladeExtensions\BladeExtensionsServiceProvider
it runs just one unique query.
Can you explain this behaviour? Thanks

Ah yeah, i've already encountered this myself and will include this soon in a fix.
The problem is quite simple:
@foreach(App\Office::all() as $office)

is replaced by
app('blade.helpers')->get('loop')->newLoop(App\Office::all());
foreach(App\Office::all() as $office):
    $loop = app('blade.helpers')->get('loop')->loop();

You have 2 options:
1: use @set('offices', App\Office::all()) then @foreach($offices as $office)
2: Add a overide. edit the blade_extensions.php config file:
return array(
    'overrides' => [
        'foreach'   => [
            'pattern'     => '/(?<!\\w)(\\s*)@foreach(?:\\s*)\\((.*)(?:\\sas)(.*)\\)/',
            'replacement' => <<<'EOT'
$1<?php
app('blade.helpers')->get('loop')->newLoop($_loop_data = $2);
foreach($_loop_data as $3):
    $loop = app('blade.helpers')->get('loop')->loop();
?>
EOT
        ]
    ]
);

Option 2 will probably give errors if you have a child foreach eg:
@foreach($data as $d)
     @foreach($d['names'] as $name)

So until i properly fix this in a new release, you'd probably want to use option 1.

Variant with @set('office',App\Office:all()) produce same output..
as far as i remember..
Thanks for your attention..

6.1.0 tagged. fixes this


Contact Us Page issues

On Contact Us page<EMAIL_ADDRESS>is not a link.
The links for the GitHub page and Slack DO NOT open in new window which makes the user navigate away from Spicygreenbook.com website.

Fixed