Allow to configure all options via env vars

Describe the feature you'd like to request
It would be really nice to be able to specify all options via environmental variables. For example, I would like to be able to configure --cache-dir or --concurrency in CI (which I maintain) without adding more configuration to turbo.json or package.json (which are maintained by developers). This will also allow developers to have some unique configurations but still share package.json with the same commands. Also, setting env vars is much easier than constructing cli options and can greatly simplify scripting.
Describe the solution you'd like
I think thank npm approach is very convenient and because options in turbo are "flat" they can simply be translated to env vars with TURBO_ prefix. For example:
--filter -> TURBO_FILTER
--no-cache-> TURBO_NO_CACHE
--continue -> TURBO_CONTINUE
This also aligns with existing variables (TURBO_FORCE, TURBO_TOKEN etc) which do exactly what this request is about.
Describe alternatives you've considered
We can add multiple commands to package.json like this:
  "scripts": {
    "build-local": "turbo run build --concurrency=2 --continue",
    "build-ci": "turbo run build --concurrency=100% --cache-dir=/mnt/cache",
    ...
  },

But this causes duplicated options if we want to share them, clutters package.json and makes scripting more difficult if we want to compute some options on the fly and can't hardcode them.

Yep, I’ve wished I had this for the --concurrency option for a while now.

Yeah, that would be nice :)

Related https://github.com/vercel/turborepo/issues/1324


Update manifest prod

Codecov Report

Merging #109 (18199d7) into master (76806c2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #109   +/-   ##
=======================================
  Coverage   96.31%   96.31%
=======================================
  Files           2        2
  Lines         326      326
=======================================
  Hits          314      314
  Misses         12       12

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 76806c2...18199d7. Read the comment docs.


Use weight constants:: in the weight template

The weight template currently outputs something like (x as Weight) which is semantically not very clear.
Changing this to (x * constants::WEIGHT_PER_NANOS) with the correct units would be much better.
One possible approach:

Write a function that correctly formats the weight, eg. 38_000_000 becomes 38_000 * WEIGHT_PER_NANOS
PS: Better call this function directly from the template

WEIGHT_PER_NANOS is probably the only one that we can use, as it would otherwise use float point multiplication.

@ggwpez   hi , I am attempting this issue.

Ok great @hzy1919 !
I added some possible was of implementation. Should be rather easy.

@ggwpez  Thanks for your help!  I commit a PR #11233 .

Will be drastically changed after https://github.com/paritytech/substrate/pull/10918 anyway. We can think of a better format in there.


12% fee for refunds should be added to page

"Microsoft is not currently charging early termination fees for reservation refunds. We might charge the fees for refunds made in the future. We currently don't have a date for enabling the fee."
Microsoft charges a 12% fee for early terminations and takes that from the prorate refund

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

ID: 3f0af130-6b0a-0a7e-5fd9-e67810f66b45
Version Independent ID: 445b1c77-472a-e0f7-45fc-168f4a2454f3
Content: Self-service exchanges and refunds for Azure Reservations
Content Source: articles/cost-management-billing/reservations/exchange-and-refund-azure-reservations.md
Service: cost-management-billing
Sub-service: reservations
GitHub Login: @yashesvi
Microsoft Alias: banders

@ashkickindevelopment  Thank you for taking time to share your feedback, assigned this issue to our document author @bandersmsft to further review your feedback and enhance the document accordingly.

@ashkickindevelopment As the article states, Microsoft isn't currently early termination fees for reservations. Thanks for your feedback.
#please-close

I have had customers that have faced a 12% fee Sent from Mail for Windows 10 From: Bill AndersonSent: Tuesday, June 22, 2021 3:20 PMTo: MicrosoftDocs/azure-docsCc: Ashley Kennedy; MentionSubject: Re: [MicrosoftDocs/azure-docs] 12% fee for refunds should be added to page<EMAIL_ADDRESS>As the article states, Microsoft isn't currently early termination fees for reservations. Thanks for your feedback.#please-close—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


Description text not wrapping?

Is there a way to get the description to wrap? Mine is extending beyond the screen.

Nevermind. If you use:  \n. it works

You can also update the description text style


use -fwrite-if-simplified-core to avoid unused bytecode generation

We can't do anything with the target's bytecode during its compilation session, so the simpler flag is sufficient.

oh. is this enough? In cabal-based build, without -fbyte-code-and-object-code,  I remember the build did not work, but that is likely to be a ghc --make issue. I will try it on the big repo and let you know about the result. Thanks!

In make mode, the bytecode generated after compilation is stored in the HUG, while it's discarded in oneshot mode.
Although you'd expect make mode to fall back to interface-loaded bytecode, but I assume that's avoided because you can just get it directly with -fbyte-code-and-object-code. However, even then it generates bytecode unnecessarily for all the modules that aren't used by TH downstream!

yeah, I tried briefly to benchmark a contrived test project but didn't notice a difference either. I'm pretty certain I verified that the flag isn't force-enabled by GHC, but I'll double check. Otherwise it appears that compiling to bytecode is just so cheap compared to typechecking and compiling to STG that it doesn't matter. I guess we should see that on a speedscope graph...


Open in CodeEdit | #559

Description
This adds the option for "Open in CodeEdit" in finder.
Related Issue

#559
Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] I documented my code
[x] Review requested

Screenshots
Contextmenu:

Settings:

(Extra) Info.

I use austincondiff.CodeEdit.shared as suite name for the shared UserDefaults, since austincondiff.CodeEdit did not work.

Great work! It should probably read ‘Finder Context Menu: ✅ Show “Open With CodeEdit” option’ though.

The target name is now OpenWithCodeEdit .
The folder has still the old name.
If I rename that the extension will never be build/run on my device.

If someone tested this PR with the old identifier, reboot your machine otherwise it will never show in your contextmenu.
This PR is ready.


Add retry configuration for all HTTP requests

Resolves #19.

I'm considering adding a simple retry mechanism to the CLI tool, though, which might interest you. I'll ping you for review once I've settled for a design.

Yes, that would solve #19 as well, thanks :)

@borchero, would you like to implement this similarly to https://github.com/mamba-org/quetz-client/pull/21?

@janjagusch yes! Will open a separate PR for that.


Wallet should connect to https://testnet.gny.io

Before a valid SSL certificate for testnet.gny.io needs to be issued

Changed the env variable in the netlify.com dashboard to testnet.gny.io


能否支持pnpm.overrides一起检测

Clear and concise description of the problem
"pnpm": {
    "overrides": {
      "vite": "^4.4.1",
      "@vitejs/plugin-vue": "^4.2.3"
    }
  },

每次这种都需要手动修改
Suggested solution
建议支持下
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Also resolutions. PR welcome :)

If anyone want to support it, should also consider the special syntax, like:
{
    "pnpm": {
        "axios@1": "1.4.0",
        "axios@<1": "0.27.2",
    }
}


Unable to upload to IPFS API: passing multiple files to ipfs.files.add sometimes fails

Background
I was playing with ipfs.files.api  over js-ipfs-api and go-ipfs (PR #479) and noticed an odd edge case. Sometimes, for specific payloads, go-ipfs returns an error in the middle of payload:
{"Name":"T-RexFaceEmoji.jpg_original","Hash":"QmR1G8Jq4rNiYwCKyNWEZhNS7i8EWrCpz2xDjKsB9ofi82","Size":"23723"}
{"Name":"FlyingSaucerEmoji.jpg_original","Hash":"QmVWxHcLVHYpFJP6R1ZLBZcpAZsxyFMfU7BU84D2LAMSed","Size":"13071"}
{"Message":"http: invalid Read on closed Body","Code":0,"Type":"error"}

Then, upon receiving this response, js-ipfs-api does not throw an error, but silently ignores the last line and returns a partial result list with only two first items.
How to reproduce
I was able to reproduce it with brand new (dockerized) node and latest Companion from #479, so I assume the bug is real, but would be great if someone else was able to reproduce and comment if they got the same result:

Download three files from:
https://ipfs.io/ipfs/QmUGmyGCJEntjyxgcBmptkZ34k7PsgnCzXPoqwiWBDTK6L and save them on your disk
Start local instance of go-ipfs v0.4.15.
(I was able to reproduce the problem with ephemeral dockerized instance run via docker run --rm -it  -p 8080:8080 -p 4001:4001 -p <IP_ADDRESS>:5001:5001 ipfs/go-ipfs:v0.4.15)
Try to upload the three files from step 1 (all at once, select them with Ctrl) via IPFS Companion's Quick Upload screen, you should get the error below:

How to fix
Not sure yet, but there are two bugs at play:

go-ipfs returned http: invalid Read on closed Body for some reason

Upstream bug: https://github.com/ipfs/go-ipfs/issues/5168

Temporary workaround (requires custom build of go-ipfs): https://github.com/ipfs/go-ipfs/commit/aad8f813ee9042b8e2e994178923495ab108627e

ipfs-api ignored the error and returned a partial response (2 instead of 4 hashes)  as a valid result

Upstream bug: https://github.com/ipfs/js-ipfs-api/issues/797

For now, Companion checks if result list has a proper count and displays an error if things are fishy, but it should be addressed upstream.
I am parking it for now and will  pick up in spare time.
Until then, if anyone has any quick ideas, feel free to update this issue with any new findings.

Upload via browser action fixed in https://github.com/ipfs-shipyard/ipfs-companion/pull/509  using workaround from https://github.com/ipfs/go-ipfs/issues/5168#issuecomment-401417420
Upstream bugs can be tracked at: https://github.com/ipfs/go-ipfs/issues/5168 and https://github.com/ipfs/js-ipfs-api/issues/797

Good news!
https://github.com/ipfs/go-ipfs/issues/5168#issuecomment-417112652 provides another workaround: send /api/v0/add with Expect: 100-continue
And guess what: Chrome does allow setting Expect via onBeforeSendHeaders WebExtension API:

This means we have a workaround that works for both Firefox AND Chrome.
I am bit worried it is a bug not a feature, but its safe to use it for now and fix uploads for Chrome users.  Will PR shortly.


Google tracker code in org admin edit page has no effect when root organisation has none

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.0.2
Behaviour:
The org admin edit page has an input field for a google analytics tracker code.
Unfortunately that field has no effect when the configuration option x.google_analytics.tracker_root is not set to an organisation's abbreviation, and that root organisation does not have a tracker code.
See logic here
So why is the option even presented in the form? Better not disable it when not possible, and show information why?
(or simply hide it, that seems configurable)

Address when we work on #3090


RemoveNamespace component

Problem to use "RemoveNamespace" if a field has a attribute and is empty e.g. "".
Error code given by the Windows application log is:
Reason: Token StartAttribute in state Element Content would result in an invalid XML document.
testfileexample.txt

Can not reproduce error. Works fine with attached test file and empty attribute values.


[INFRA] set up github action to detect latin phrases

This relates to the issue #635 .
fixes #635
TODO

[x] import and adapt script
[x] test script locally
[x] credit the turing-way
[x] test the github action

Adapting the code from the Turing way was actually easier than anticipated.
script
The way this is set up, this should look through the files in the src folder ignoring the files with extensions listed in get_all_files and look for lines that contain the expressions listed in read_and_check_files.
Comments lines are skipped.
Files added to the src folder in a PR are also checked
github action
It will trigger the script :

on a push to master
on a PR to the master branch and will only check files that were modified in src

for reviewers
My python is far from fluent so a cross check would be good. :pray:
Any suggestions on how to smartly test a github action? Should I merge into this onto my own master to give this a go.
This seems to be set up directly even in this PR. Never mind.

FYI: you get plenty of errors when running the script locally but the github action passes because on a PR it will only look for files modified in src which is not the case in this PR.

Infrastructure, so merging.


Fix line number alignment

Tested on Arch Linux x64 (kernel 3.18.2-2), GNOME 3.14.3.
Fixes issue #30.

Versions:

atom: 0.174.0
apm: 0.120.0
npm: 1.4.4
node: 0.10.35
python: 3.4.2
git: 2.2.2

Issues has been fixed. Thanks!


[draft]disable workload group for pr performance test

Proposed changes
Issue Number: close #xxx

run compile

run performance


Crash entering the street where jacks bar/ boutique would be

Version
3.0.1 (412b94e)
Seed
R730-2B1W-ZJLF19N51YB00N92EJM0WC305HEU0ZZZ5XZ
Scenario
RE 3 (Jill)
Player Character
Jill (RE3R)
What happened?
Entered from the clock tower main hall, had just fought the grave digger in the previous room.  Luckily I had a save and went through a different door, but it circled back to that same street, this time coming out of jack's bar, and same result, crashed on entrance.

I was able to reload on RE3 and clear the street there and reboot in biorand and finish the rando. Just seemed to be nemesis causing the problem.

Do you have a save game that will reproduce this nemesis crash?

savedata.zip
Here you go. The newest save is in the clocktower main hall. Head in the door by the corpse and it'll go to the alley. You'll see nemesis start to attack and it'll crash right there. There's a 2nd save in the same alley after I've cleared in in regular RE3 if that helps any. The 3rd save is nothing important (didn't wanna delete the wrong save so just zipped the whole thing up).


Update README to point to HighchartsProvider instead of withHighcharts

This removes mentions of withHighcharts in the READMEs. Also adds "DEPRECATED" to react-jsx-highstock-datepickers.
I think the react-jsx-highstock-datepickers should also be deprecated in npm registry with:
npm deprecate react-jsx-highstock-datepickers "<message>"

https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions

Codecov Report

Merging #304 into master will increase coverage by 4.54%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
+ Coverage   88.17%   92.72%   +4.54%
==========================================
  Files          82       68      -14
  Lines        1049      852     -197
  Branches      206      176      -30
==========================================
- Hits          925      790     -135
+ Misses        108       54      -54
+ Partials       16        8       -8

Impacted Files
Coverage Δ

packages/react-jsx-highstock/test/test-utils.js

...nents/HighchartsStockChart/HighchartsStockChart.js

...ghstock/src/components/Navigator/NavigatorXAxis.js

...hstock/src/components/Navigator/NavigatorSeries.js

packages/react-jsx-highstock/src/index.js

...ct-jsx-highstock/src/components/Navigator/index.js

...ghstock/src/components/Navigator/NavigatorYAxis.js

...sx-highstock/src/components/Scrollbar/Scrollbar.js

...src/components/RangeSelector/RangeSelectorInput.js

...rc/components/RangeSelector/RangeSelectorButton.js

... and 4 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 a605442...7cca36c. Read the comment docs.

Yep, this aligns with the docusauras work I've been working on - with the editable examples like those in React Leaflet

That's nice! I have been checking if docusaurus v2 stabilises but so far it has seen quite a lot of breaking changes.


Songs keep being deleted from default playlist

Im not sure why but the playlist.txt file I have set up keeps deleting songs from it without my knowledge. I use to have over 500 default songs in there but its deleted it down to like 50 songs now. Is there something causing this issue that Im just not aware of?

The bot seems to delete all youtube-videos that it can't play, as seen here in this info-output from the bot:
[Info] Removing unplayable song from autoplaylist: https://www.youtube.com/watch?v=XXXXXXX
This can be caused either by a youtube-dl error, check that the most recent version is installed, or by youtube banning the video in your region.


Design changes lost upon refresh

i loose the changes made to my designs as soon as i refresh. Sometimes my browser shows connection lost and when i refresh i do not see the recent changes i made to my design

Hey, we store the drawings in the local storage so this shouldn't happen. To confirm this is happening on excalidraw.com ?

Yes the +
On Tue, Mar 14, 2023 at 9:43 AM Aakansha Doshi @.***>
wrote:

Hey, we store the drawings in the local storage so this shouldn't happen.
To confirm this is happening on excalidraw.com ?
—
Reply to this email directly, view it on GitHub
https://github.com/excalidraw/excalidraw/issues/6348#issuecomment-1467648435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6OSCTZLFMR5QQLSVC256DTW4AVSJANCNFSM6AAAAAAVY3NYTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes the +
…
On Tue, Mar 14, 2023 at 9:43 AM Aakansha Doshi @.> wrote: Hey, we store the drawings in the local storage so this shouldn't happen. To confirm this is happening on excalidraw.com ? — Reply to this email directly, view it on GitHub <#6348 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6OSCTZLFMR5QQLSVC256DTW4AVSJANCNFSM6AAAAAAVY3NYTU . You are receiving this because you authored the thread.Message ID: @.>

Do you mean Excalidraw+ or excalidraw.com ?
Also can you please record a video and share as well ?

closing this as we need more information. In case the issue still persists, please reopen the issue


return null for conditional component after setting value and need to trigger twice in order to work

https://github.com/47ng/next-usequerystate/assets/5265946/6ba49c68-9bda-4bbc-bbc9-112c7659077e
Here's the full code:
"use client";
import { parseAsString, parseAsStringEnum, useQueryState } from "next-usequerystate";

const Component1 = () => {
  const [param] = useQueryState("param", parseAsString);

  return param ? param : "null";
};

const Component2 = () => {
  const [param] = useQueryState("param", parseAsString);
  return param ? param : "null";
};

enum TargetComponent {
  Comp1 = "comp1",
  Comp2 = "comp2",
}

export default function Home() {
  const [_param, setParam] = useQueryState("param", parseAsString);
  const [component, seComponent] = useQueryState("component", parseAsStringEnum(Object.values(TargetComponent)));
  return (

        {component === TargetComponent.Comp1 ? <Component1 /> : null}
        {component === TargetComponent.Comp2 ? <Component2 /> : null}

        <button
          onClick={() => {
            setParam("Component1");
            seComponent(TargetComponent.Comp1);
          }}
          className="border p-2"
        >
          Component 1
        </button>
        <button
          onClick={() => {
            console.log("aaa");
            setParam("Component2");
            seComponent(TargetComponent.Comp2);
          }}
          className="border p-2"
        >
          Component 2
        </button>

  );
}

In this scenario, in the first click of the button, the param value is null unless you need to re-click again the button, that is the time that param got a value.

Thanks, this is definitely a bug. Looks like it's due to the combination of a few things:

The deferred URL update queue
The synchronous state sync across hooks
The fact that we don't trigger re-render when history updates are coming from within the library

In your case, this means that:

When clicking the button, the Home hooks have their state updated instantly, and the updated params queued for a deferred update (setTimeout(0))
At the next tick, React re-renders the Home component with the correct values for both keys, and renders the corresponding child Component.
When rendering this child Component, it reads its state from the URL, but which hasn't been updated yet (it will happen at the end of the current event loop tick)
The URL is updated, and we see the history.replaceState call, but since it comes from within the library, there isn't a need to sync from an external navigation
The child Component is not re-rendered, leaving it in the initial "null" state, or lagging behind when clicking the other button

As to how to fix this: the root of the issue seems to be that the child Component mounted immediately after a state update doesn't read its initial state correctly. Fixing this issue at the source seems like a better option than forcing re-renders for every history update (internal or external).
See PR #360 for a potential fix, I'll push a beta for you to try later today.

Thanks. It's now working on my end.


docs: add Virtual Photography Kit to showcase

Motivation
Adding Virtual Photography Kit, which uses Docusaurus v2
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
No source
Related PRs
No

Thanks @AntonPalmqvist!


keras.layers.Conv3DTranspose error when reused

Version 1.10
file: tensorflow/python/keras/layers/ convolution.py
line: 1000
problem:
input_spec is modified every time the module is called;
input_spec uses dynamic shape causes error in shape checker when the layer is reused

solution: delete line 1000, input_spec should only be modified in constructor or build function

@kor01 Thank you for your suggestion. Would you be interested in submitting a PR?
/cc @fchollet

@kor01 Thank you for your suggestion. Would you be interested in submitting a PR?
/cc @fchollet

OK, I'll submit a PR.

Great. Thank you! Please post here once you do.

@kor01 Hi, any update on the PR ?

@harshini-gadige This issue seems to be fixed. Can you update the status?
Version: r1.10 :
https://github.com/tensorflow/tensorflow/blob/4dcfddc5d12018a5a0fdca652b9221ed95e9eb23/tensorflow/python/keras/layers/convolutional.py#L997
Version master:
https://github.com/tensorflow/tensorflow/blob/7bcbcc1392516a2b2d7a7abae2ccce7091c8dae3/tensorflow/python/keras/layers/convolutional.py#L1070

@harshini-gadige This issue seems to be fixed. Can you update the status?
Version: r1.10 :
tensorflow/tensorflow/python/keras/layers/convolutional.py
Line 997 in 4dcfddc
self.input_spec = InputSpec(ndim=5, axes={c_axis: inputs_shape[c_axis]})
Version master:
tensorflow/tensorflow/python/keras/layers/convolutional.py
Line 1070 in 7bcbcc1
def call(self, inputs):

Sure. Closing the issue.


Not see the user name before the first reply

Hi great folks.
Is there any easy way to hide the user name in the thread before the first reply?

The blade files are just for example and sometimes to use as a starter. Feel free to add any logic you need to hide/show information.

Thanks @cmgmyr. I have a bit of difficulty with the logic. do you have any recommendation please?

You could probably change this line to something like this.
@if($thread->messages->count() > 1)

{{ $message->user->name }}

@endif

But I'd probably create a new variable in the controller and pass it to the views so you only need to make that calculation once.
// Controller
$shouldShowUserNames = $thread->messages->count() > 1;

// View
@if($shouldShowUserNames)

{{ $message->user->name }}

@endif


feat: 🎸 Add support for 7.x chain

Description

New module electionprovidermultiphase has been added to ModuleIdEnum
Following new events have been added to EventIdEnum:
MultiSigAddedAdmin, MultiSigRemovedAdmin, MultiSigRemovedPayingDid,
MultiSigSignersAuthorized, MultiSigSignersRemoved, MultiSigSignersRequiredChanged,
ProposalApprovalVote, TickerLinkedToAsset, Chilled, EraPaid, ForceEra, Kicked,
PayoutStarted, SlashReported, StakersElected, ValidatorPrefsSet, ElectionFailed,
ElectionFinalized, PhaseTransitioned, Rewarded, Slashed.
Following new extrinsics have been added to CallIdEnum:
add_admin, add_multisig_signers, add_multisig_signers_via_admin, approve,
approve_join_identity, change_sigs_required_via_admin, create_proposal, join_identity,
reject, remove_admin_via_admin, remove_multisig_signers_via_admin,
remove_multisig_signers, remove_payer, remove_payer_via_payer, chill_other,
force_apply_min_commission, kick, set_min_commission, set_staking_configs,
register_unique_ticker, pre_approve_asset, exempt_asset_affirmation,
remove_asset_affirmation_exemption, remove_asset_pre_approval, link_ticker_to_asset_id,
governance_fallback, set_emergency_election_result, set_minimum_untrusted_score,
submit, sumbit_unsigned.
New handlers have been added to track the following events:
TickerLinkedToAsset, MultiSigAdminAdded, MultiSigRemovedAdmin,
MultiSigSignersAuthorized, MultiSigSignersRemoved, ProposalApprovalVote
venue is now optional in the Instruction entity.
ID of the Asset entity is the new Asset ID generated from chain 7.0.0 chain.
For older chains, legacy ticker format is used to generate the ID.
All referencing entities will now be tracking this ID for any given Asset.
To keep the old reference of ticker, new ticker attributes have been added to some
entities where assetId was referenced as string
ticker attribute of Asset entity is now optional.
A new attribute raisingTicker of type string has been added to Sto entity.
This will track ticker value for the raising Asset associated with an Sto.
New attributes raisingAssetId and offeringAssetId of type string have
been added to the Investment entity to track the asset ID for the
respective type of assets (raising and offering).
ticker: String attritube of the ClaimScope entity has been replaced
by asset: Asset to have a mapping to asset entity.
AssetPendingOwnershipTransfer entity has been removed
A new MultiSigAdmin entity has been added to track admins for a multisig.
This also results in a new derived attribute admins to be added tot MultiSig entity.
New Approved status has been added to MultiSigProposalStatusEnum
Both creator and creatorAccount fields in MultiSigProposal are now optional.

Breaking Changes

JIRA Link
DA-1256, DA-1283
Checklist

[ ] Updated the Readme.md (if required) ?

/fast-forward


Can't initialize I2C/SPI bus

Microcontroller stm32f401ccu6

Connecting by I2c SDA-PB7, SCL-PB6
IMU MPU-9250
#include "mpu9250.h"

/* Mpu9250 object, I2C bus,  0x68 address */
bfs::Mpu9250 imu(&Wire, bfs::Mpu9250::I2C_ADDR_PRIM);

void wakeup() {
  Serial.println("Motion");
}

void setup() {
  /* Serial to display data */
  Serial.begin(115200);
  while(!Serial) {}
  /* Start the I2C bus */
  Wire.begin();
  Wire.setClock(400000);
  /* Initialize and configure IMU */
  if (!imu.Begin()) {
    Serial.println("Error initializing communication with IMU");
    while(1) {}
  }
  /*
  * Enable wake on motion with a threshold of 40 mg and an accel data rate of
  * 15.63 Hz
  */
  imu.EnableWom(40, bfs::Mpu9250::WOM_RATE_15_63HZ);
  /* Attach the interrupt to pin 9 */
  pinMode(9, INPUT);
  attachInterrupt(9, wakeup, RISING);
}

void loop() {}

I get the following in the port monitor:
PS C:\Users\Admin> arduino-cli monitor -p COM6 -c baudrate=115200
Monitor port settings:
baudrate=115200
Connected to COM6! Press CTRL-C to exit.
Error initializing communication with IMU

I check the presence of the module on the bus I2C using the code:
#include <Wire.h>

//UART1 TX - PA9, RX - PA10
#define SerialOne Serial1

void setup(){
    Wire.begin();

    SerialOne.begin(115200);
    while (!SerialOne);
    SerialOne.println("\nI2C Scanner");
}

void loop(){
    byte error, address;
    int nDevices;

    SerialOne.println("Scanning...");

    nDevices = 0;
    for(address = 8; address < 127; address++ ){
        Wire.beginTransmission(address);
        SerialOne.print(address,HEX);
        SerialOne.println("+");
        error = Wire.endTransmission();

        if (error == 0){
            SerialOne.print("I2C device found at address 0x");
            if (address<16)
                SerialOne.print("0");
            SerialOne.print(address,HEX);
            SerialOne.println(" !");

            nDevices++;
        }
        else if (error==4) {
            SerialOne.print("Unknow error at address 0x");
            if (address<16)
                SerialOne.print("0");
            SerialOne.println(address,HEX);
        }
    }
    if (nDevices == 0)
        SerialOne.println("No I2C devices found\n");
    else
        SerialOne.println("done\n");

    delay(1000);
}

I receive an address
I2C device found at address 0x68 !

Have you tried running an I2C scanner program on the microcontroller to verify that it can see the MPU-9250 on the I2C bus and check the I2C address?

Have you tried running an I2C scanner program

Answered above

Why in the example, the bus config I2C is done like this
imu.Config(&Wire, bfs::Mpu9250::I2C_ADDR_PRIM);
And in the library in the class mpu9250.h like this
Mpu9250(TwoWire *i2c, const I2cAddr addr
...&Wire...TwoWire

TwoWire is the object type that Arduino defines for I2C. Somewhere in the core software for the board, there is some declaration like:
TwoWire Wire(...);
TwoWire Wire1(...);
For the library, we're just grabbing a pointer to the I2C bus in use, especially since many boards have multiple I2C buses.
I would also check the I2C address using the scanner to verify whether you should be using I2C_ADDR_PRIM or I2C_ADDR_SEC.

Я бы также проверил адрес I2C с помощью сканера, чтобы убедиться, что вы должны использовать I2C_ADDR_PRIM или I2C_ADDR_SEC.

I am using this core for adruino IDE.
It has a wire.h library, and I had to remove the folder from the ARDUINO folder so that there is no conflict, using two libraries.
Later, I returned the folder with the wire.h library to the ARDUINO folder, and prescribed the use of the library
#include <Wire.h>
and
#include "Wire.h>"
But the result is the same.
It seems to me that the STM32 compiler does not understand instructions?
static_cast

If commented section while in code
  if (!imu.Begin()) {
    Serial.println("Error initializing communication with IMU");
    //while (1) {}
  }
  /* Set the sample rate divider */
  if (!imu.ConfigSrd(19)) {
    Serial.println("Error configured SRD");
    //while (1) {}
  }

I see a partial execution of the library code
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.58
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.39
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.39
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.63
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.63
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.63
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.58
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.58
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.73

Unit, apparently Serial.print(imu.new_imu_data());
And the numbers changing at the end, this is apparently Serial.print(imu.die_temp_c());
If disconnect MPU-9250 from SDA/SCL.
Then the output stops and lines appear.
Error initializing communication with IMU
Error configured SRD

I don't understand what is happening and why the library cannot configure i2C.

The only library that we managed to launch for STM32 and arduino IDE.
I2C did not even specify contacts, the library itself determined them.

Accel: -0.01, 0.09, 1.01 g
Gyro: -4.57, 4.51, 1.65 dps
Mag: 0.00, 0.00, 0.00 uT
Time: 118769 ms

Accel: -0.02, 0.12, 1.01 g
Gyro: -4.70, 2.99, 2.01 dps
Mag: 0.00, 0.00, 0.00 uT
Time: 120776 ms

Accel: -0.02, 0.14, 1.01 g
Gyro: -4.45, 3.54, 2.01 dps
Mag: 0.00, 0.00, 0.00 uT
Time: 122785 ms

Accel: -0.04, 0.17, 1.00 g
Gyro: -4.76, 2.99, 2.01 dps
Mag: 0.00, 0.00, 0.00 uT
Time: 124796 ms

Questions only to your library - apparently it is not optimized for stm32f401ccu6.

I connected the I2C bus analyzer and began to see what was happening.
When I uploaded the sketch  to the stm32f401ccu6 board, I connect it to port com 6.
Nothing happens until you hit reset on board.
Packet signals appear on the I2C bus.

The first three messages begin with writing the address of the sensor 0x69 to the mpu9250 sensor and receiving two responses 0x6B and 0x01

These are the registers of the mpu9250 sensor
PWR_MGMNT_1_ = 0x6B;
CLKSEL_PLL_ = 0x01;

Then 7 parcels follow.

Write [0x69] + ACK
0x6B + ACK

PWR_MGMNT_1_ = 0x6B;
Read [0x69] + ACK
0x01 + NAK

INT_RAW_RDY_EN_ = 0x01;
Write [0x69] + ACK
0x6A + ACK
0x20 + ACK

USER_CTRL_ = 0x6A;
I2C_MST_EN_ = 0x20;
This is also followed by parcels, as I understand it, setting up the mpu9250 registers for work.
But everywhere the reading Write [0x69] from the sensor ends with NAK
The package ends with such parcels.

Well, in the port monitor there is a traditional inscription that the sensor has not been initialized.

Each line is a separate pressing of the RESET button on the BlackPill board and, accordingly, sending those packets that I described above.
Strange ... the library SparkFun is written generally for SAMD boards, even when compiling it, a warning appears that the library may not work ... but it works and works fine.
WARNING: The SparkFun_MPU-9250-DMP_Arduino_Library-master library must run on SAMD architectures and may not be compatible with your stm32 board.
The library invensense-imu does not issue any warnings, it compiles perfectly, communicates with the mpu9250 sensor via I2C and does not work ... a paradox!

I continue experiments, since the author of the library does not want to figure it out.
I tried to connect the MPU9260 module to the ESP32 via I2C.
The situation is the same as with stm32f401ccu6.
As I already wrote, the MPU9260 module works fine with the SparkFun library, and even gives out a quaternion - therefore, the library in some way can "get through" to the magnetometer, because, without a magnetometer signal, the quaternion cannot be calculated ... I could be wrong.
After 3 days of torment with I2C, which for MPU9260 is generally an "experimental" interface, it was decided to connect via SPI.
Connecting to stm32 did this:
PA7 - SDA(MOSI)
PA6 - AD0(MISO)
PA5 - SCL(SCK)
PA4 - NCS(CS)
BY RESISTOR 10 kOm TO GND - FSYNC

SPI starter from command 0x6B, 0x01 - WriteRegister(PWR_MGMNT_1_, CLKSEL_PLL_)...Further, there are also parcels on the SPI bus, but there is no normal operation.

bool Mpu9250::Begin() {
  imu_.Begin();
  /* 1 MHz for config */
  spi_clock_ = SPI_CFG_CLOCK_;
  /* Select clock source to gyro */
  if (!WriteRegister(PWR_MGMNT_1_, CLKSEL_PLL_)) {
    return false;
  }
  /* Enable I2C master mode */
  if (!WriteRegister(USER_CTRL_, I2C_MST_EN_)) {
    return false;
  }
  /* Set the I2C bus speed to 400 kHz */
  if (!WriteRegister(I2C_MST_CTRL_, I2C_MST_CLK_)) {
    return false;
  }
  /* Set AK8963 to power down */
  WriteAk8963Register(AK8963_CNTL1_, AK8963_PWR_DOWN_);
  /* Reset the MPU9250 */
  WriteRegister(PWR_MGMNT_1_, H_RESET_);
  /* Wait for MPU-9250 to come back up */
  delay(1);
  /* Reset the AK8963 */
  WriteAk8963Register(AK8963_CNTL2_, AK8963_RESET_);
  /* Select clock source to gyro */
  if (!WriteRegister(PWR_MGMNT_1_, CLKSEL_PLL_)) {
    return false;
  }
  /* Check the WHO AM I byte */
  if (!ReadRegisters(WHOAMI_, sizeof(who_am_i_), &who_am_i_)) {
    return false;
  }
  if ((who_am_i_ != WHOAMI_MPU9250_) && (who_am_i_ != WHOAMI_MPU9255_)) {
    return false;
  }
  /* Enable I2C master mode */
  if (!WriteRegister(USER_CTRL_, I2C_MST_EN_)) {
    return false;
  }
  /* Set the I2C bus speed to 400 kHz */
  if (!WriteRegister(I2C_MST_CTRL_, I2C_MST_CLK_)) {
    return false;
  }
  /* Check the AK8963 WHOAMI */
  if (!ReadAk8963Registers(AK8963_WHOAMI_, sizeof(who_am_i_), &who_am_i_)) {
    return false;
  }
  if (who_am_i_ != WHOAMI_AK8963_) {
    return false;
  }
  /* Get the magnetometer calibration */
  /* Set AK8963 to power down */
  if (!WriteAk8963Register(AK8963_CNTL1_, AK8963_PWR_DOWN_)) {
    return false;
  }
  delay(100);  // long wait between AK8963 mode changes
  /* Set AK8963 to FUSE ROM access */
  if (!WriteAk8963Register(AK8963_CNTL1_, AK8963_FUSE_ROM_)) {
    return false;
  }
  delay(100);  // long wait between AK8963 mode changes
  /* Read the AK8963 ASA registers and compute magnetometer scale factors */
  if (!ReadAk8963Registers(AK8963_ASA_, sizeof(asa_buff_), asa_buff_)) {
    return false;
  }
  mag_scale_[0] = ((static_cast<float>(asa_buff_[0]) - 128.0f)
    / 256.0f + 1.0f) * 4912.0f / 32760.0f;
  mag_scale_[1] = ((static_cast<float>(asa_buff_[1]) - 128.0f)
    / 256.0f + 1.0f) * 4912.0f / 32760.0f;
  mag_scale_[2] = ((static_cast<float>(asa_buff_[2]) - 128.0f)
    / 256.0f + 1.0f) * 4912.0f / 32760.0f;
  /* Set AK8963 to power down */
  if (!WriteAk8963Register(AK8963_CNTL1_, AK8963_PWR_DOWN_)) {
    return false;
  }
  /* Set AK8963 to 16 bit resolution, 100 Hz update rate */
  if (!WriteAk8963Register(AK8963_CNTL1_, AK8963_CNT_MEAS2_)) {
    return false;
  }
  delay(100);  // long wait between AK8963 mode changes
  /* Select clock source to gyro */
  if (!WriteRegister(PWR_MGMNT_1_, CLKSEL_PLL_)) {
    return false;
  }
  /* Set the accel range to 16G by default */
  if (!ConfigAccelRange(ACCEL_RANGE_16G)) {
    return false;
  }
  /* Set the gyro range to 2000DPS by default*/
  if (!ConfigGyroRange(GYRO_RANGE_2000DPS)) {
    return false;
  }
  /* Set the DLPF to 184HZ by default */
  if (!ConfigDlpfBandwidth(DLPF_BANDWIDTH_184HZ)) {
    return false;
  }
  /* Set the SRD to 0 by default */
  if (!ConfigSrd(0)) {
    return false;
  }
  return true;
}

Played around with SPI modes in file invensense_imu.cpp

spi_->beginTransaction(SPISettings(spi_clock, MSBFIRST, SPI_MODE3));
//spi_->beginTransaction(SPISettings(spi_clock, MSBFIRST, SPI_MODE2));
//spi_->beginTransaction(SPISettings(spi_clock, MSBFIRST, SPI_MODE1));
//spi_->beginTransaction(SPISettings(spi_clock, MSBFIRST, SPI_MODE0));

Changed CPOL and CPHA into logic analizer also

Commented out code while(1) {} in section SETUP the lines again
  if (!imu.Begin()) {
    Serial.println("Error initializing communication with IMU");
    //while(1) {}
  }
  /* Set the sample rate divider */
  if (!imu.ConfigSrd(19)) {
    Serial.println("Error configured SRD");
    //while(1) {}
  }

In order for the MPU9250 module to start outputting data and get zeros again, except for the temperature sensor.
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.01
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    31.91
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.01
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    31.91
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    31.86
1       0       0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    32.10

For the sake of interest, to make sure that the temperature data is fake, I cooled the MPU9250 chip with a freezer, and the temperature dropped to minus 28 degrees Celsius and then returned to room temperature.

Now the thought does not leave me - why does the MPU9250 module transmit data on the temperature of its chip in the I2C bus and via SPI, but does not give out data on the accelerometer, gyroscope and magnetometer?
It's all about the library and the @flybrianfly can't help.
Or just write that the library was created only for the Tinsy microcontroller and will not work anywhere else...
Although where does the microcontroller Tinsy?
The library does not work on ESP32 either.
It seems to me that the case is in incorrect registers and calls in writeRegister and readRegisters into library.
Can I somehow use this library for the sensor GY-LSM6DS3?

Hi, rudeness will not be tolerated. I was traveling over the weekend to visit family and, always, my order of priority is to satisfy family and work obligations before working on open-source projects. Currently, we have a lot of work projects that are due soon - I've already triaged this issue and it's not something that can be easily fixed, since we don't even know what's wrong yet, so it will have to wait until I have a chance to dive deeper into the potential issue. This will likely be later this fall. I welcome a PR if you are able to solve the issue before then.
We use Teensy boards for development because they are well supported and follow the Arduino core guidelines; so I know that if I use a TwoWire method, it is working as intended. We've been working with these IMUs since they were released and the libraries have been working well for years now. Most issues with the library are due to:

Poor core implementations by board manufacturers. For example, ESP32 works, but required a modification to one of the TwoWire methods because the ESP32 core didn't implement endTransmission(false) correctly.
Trying to use the library with an unsupported IMU - this library only works with the MPU-6500 and MPU-9250. Others may be added in the future, but these are the InvenSense IMUs that are currently supported.
Counterfeit IMUs and clones.

In addition to the Teensy boards, this library has bee used on the STM32L4 boards, ESP32, and AVR. I'm sure there are others that I haven't personally tested, but in general it should work well across Arduino boards.

Still doesn't work on the ESP32 😒.
Arduino ESP32 Core: v2.0.13
ESP32 by Espressif Core: v2.0.11

@enoch-prince, can you give more information on the exact processor you're trying to use, the sensor, and the communication method? It should work if it's wired correctly and using a support chip that isn't counterfeit.


[FormRecognizer] not all items are extracted for some receipt

http://2.bp.blogspot.com/_LqCB_lgYPw0/TOpQyM_1PFI/AAAAAAAAACw/Qpx0wZ25GC4/s1600/tesco1receipt.jpg
May be a service limitation? the image has more items after CAKE COVERING
        1) ODLUMS TWINPK  $3.99
        2) TROPICANA  $2.27
        3) CHOPPED TOMS  $0.79
        4) CEREALS  $2.35
        5) CHOPPED TOMS  $0.79
        6) RICE SNAPS  $1.9
        7) MARMITE  $3.69
        8) ORG RICE DREAM  $2.49
        9) BAKING POWDER  $1.29
        10) CLOVER  $2.29
        11) SOFT CHEESE  $2.59
        12) SARDINES  $0.47
        13) SARDINE BRINE  $0.55
        14) DELI TWIN PK  $2.99
        15) PETITS POIS  $2.19
        16) G/I SPINH450G  $1.59
        17) AVONMORE BUTTER  $1.58
        18) G/I SPINH450G  $1.59
        19) STORK MARG  $0.95
        20) TOMATOES OTV  $2.79
        21) HAZE_NUTS 30OG  $4.69
        22) MV IRISH MROOM  $0.99
        23) CR MEFRAICHE  $1.59
        24) SOFT CHEESE  $2.59
        25) RED ONIONS 1KG  $0.79
        26) RED POTS  $2.67
        27) BANANAS LOOSE  $1.07
        28) GRAPES  $2
        29) BABY SPINACH  $1.99
        30) HORROR LOLLIES *  $0.98
        31) RED CHILLIES  $0.63
        32) CORIANDER 30G  $1.19
        33) PEPPERS MIXED  $1.99
        34) JAFFA CAKES  $1.59
        35) FISH FINGERS  $3.48
        36) SMOKED CHEESE  $1.99
        37) CAKE COVERING  $1.35

Likely a limitation on the document from the service.

@jeremymeng, Did you mean to add the Service Attention label here instead of Service?
@willmtemple,  Have we heard back from the service team as to what the next steps here should be?

Right, this is not a place to track service issues. We should follow up with service team instead and close this.

Thanks! Assigning to @willmtemple to log an issue with the service team and close this

@witemple-msft Is this still applicable?

Closing. It's ultimately up to the AI model on the service to decide what fields are extracted. We have some tests to catch model regressions, but when it happens there's nothing actionable on our end other than to notify the appropriate service engineers of the regression.


FIX vulnerability CVE-2021-43608

Doctrine DBAL 3.x before 3.1.4 allows SQL Injection: https://www.cve.org/CVERecord?id=CVE-2021-43608
Summary
Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed unescaped user input to the DBAL QueryBuilder or any other API that ultimately uses the AbstractPlatform::modifyLimitQuery API.
Type of change

[ x] minor Bug fix (non-breaking change which fixes an issue)

Checklist

[+] Existing tests have been adapted and/or new tests have been added
[-] Add a CHANGELOG.md entry
[-] Update the README.md
[+] Code style has been fixed via composer fix-style

bumping 3.0.0 to a more specific starting versions should not affect the stability
true, its a -dev only plugin, but all teh code scanners still cry :smile:

According to https://github.com/barryvdh/laravel-ide-helper/pull/1513 the 3.1 is actually the minimum, so it couldn't really hurt to just skip to 3.1.4 either..


Fix VuePlugin

As said in Issue #125 on this comment

I kind of didn't get how would one render a Vue component? ;-)

Hm.. sorry? I don't understand your question... do you mean why does it work using just _p ?

I mean, you have removed the View instance. What does it export then? just an object? Can you give an example on how would you use the plugin?

When using Vue components all you need to give to Vue to render the component is a plain javascript object with, at least, a render method or template property.
So, in this case with this two files:
// index.ts
import * as Vue from 'vue/dist/vue.js'
import * as App from './components/App.vue'

new Vue({
    el: '#app',
    render: h => h(App)
})

<template>

{{ msg }}

        <input type="text" v-model="msg" />

</template>

This will work because index.ts creates a new Vue instance, which will use the h method inside render method, here the h method is createElement from Vue, which can take just a plain javascript object.

@nchanged Just made a Github repo with a project that will work once this PR is merged: https://github.com/Sirikon/fuse-box-vue-example

Right, I see, so you wouldn't want to export the entire view? Instead just a template?

@nchanged Check the


Update TeamCity Kotlin DSL to 2018.1 for Gradle_check

I fixed the CIConfigIntegrationTests.kt file too.


Does anyone knows how to compute FLOPs or MACs in a quaternion networks?

I have seen your implementation to see MACs in a neural network, and it is amazing. However, if I used it in a quaternion network I got:
Warning: module QuaternionConv is treated as a zero-op.
Warning: module QuaternionTransposeConv is treated as a zero-op.
Do you know how I could do?

You will need to write the couting rules for customized modules. Can you share the implementation of quaternion net so I can provide an example?

@Lyken17  I meet the same problem. I do not know how to write the couting rules for my own model.
Can you take the submodule  "TextEnc" in https://github.com/LEEYOONHYUNG/BVAE-TTS/blob/master/modules/module.py for example.
Or any other modules that are similar to this one to show what I should do.


Dev/use buildx bake presquash

Changes Made
Please provide a description of all changes made in this PR and why the changes
are needed.
Associated Issues
Please provide a list of all open issues that this PR will close or contribute
toward closing.

Fixes # (issue)

Testing
Please provide a clear and concise description of the testing performed.

Roughly working.  squashed and turned into #3


Fix poller period

Telemetry poller expects :period instead of :poll_rate.
Change description
What problem does this solve?
Issue number: (if applicable)
Example usage
Additional details and screenshots
Checklist

[x] I have added unit tests to cover my changes.
[ ] I have added documentation to cover my changes.
[x] My changes have passed unit tests and have been tested E2E in an example project.

Hmm, I'm not sure why the checks are failing(it failed at Set up Elixir step).

Pull Request Test Coverage Report for Build 1f020568aba3ce61322b97acf2fa68deee026358-PR-37

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 76.094%

Totals

Change from base Build 44b3b7e3670898ed4d613f27aa85c7e24d06c33b:
-0.2%

Covered Lines:
487

Relevant Lines:
640

💛  - Coveralls

Good find and thanks for the fix!


Auto-saving in pipeline settings to not happen after every typed character

Describe the problem this improvement solves
When auto-saving after every character, then auto-formatting would lead to "strange" behavior. For example:

The pipeline parameters are {} (so go to the pipeline's settings)

Go into the dictionary like so: {|} (where | represents the cursor)

Press <Enter>

Expect to see:
{
}

but actually see: {}|

(Thanks @fruttasecca.)
Describe the solution you'd like
Editing the pipeline parameters should behave as expected (for example editing the step parameters works fine).

To clarify, PipelineSettings doesn't have auto-saving yet. PipelineSettings was not properly persisting user's input in general. This issue is addressed in #781.


⚠ Bofrost.de has degraded performance

In 7c6be07, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1665 ms

Resolved: Bofrost.de performance has improved in 6e0a5cc.


Unable to start when fish is the default shell

Unsupported use of '&&'. In fish, please use 'COMMAND; and COMMAND'.

Thanks a lot for raising this. I am not familiar with fish. Could you suggest a fix? Here are some of the shell commands that the preferences runs:
# Create plist file in temp dir
echo {plist_xml} > {file_path} && chown {user} {file_path}

# Move plist to system dir
mv {temp_plist_path} {final_plist_path} && chown {user} {final_plist_path}

# Start postgresql daemon
launchctl load -F {plist_file} && sleep 1

# Stop postgresql daemon
launchctl remove {plist_file} && sleep 1

You're welcome.
I think the easiest way to do fix it is to force using bash like this:
bash -c 'echo {plist_xml} > {file_path} && chown {user} {file_path}'

Other possible solutions I can think of:

allow editing the command lines
being able to choose what shell to use
auto detect default shell

I've released v2.4.2 containing a fix. Can you check if it now works?
Download the latest release at: https://github.com/mckenfra/postgresql-mac-preferences/releases

Thanks a lot, it didn't fix it for me though, I still get this:

Maybe it's easier if you install fish (https://fishshell.com/) just to test it out, set it as default shell with chsh -s /usr/local/bin/fish and then go back to bash with chsh -s /bin/bash
By the way, I made this set of server status icons for you, not sure if they fit well but if you think so, feel free to use them to replace the low resolution gear icon you're using: server-status-images.zip

Ok thanks, I will try to install fish. As you say, it will make it easier to develop a fix and check that it works.
Your icons are absolutely fantastic, thank you so much! I'll put them in the app and see how they look. I'm worried they might almost be TOO cool... ;)

I tried your new icons in the app. Looks good, but I think they may be a little dark. See screenshot below - what do you think? Could you maybe send me one icon with the shadow removed, and maybe another one with the shadow removed and also a lighter colour for the metal?

Here you go, I also included the photoshop file, change it as you please :)
server-status-images2.zip

I just uploaded a new build of v2.4.2, which contains the fish fix and the new server status icons. Let me know if it now works correctly for you.
Download the latest release at: https://github.com/mckenfra/postgresql-mac-preferences/releases

It works!! thanks for fixing it :) The only thing I noticed is that there is no starting/stopping image anymore, which kinda breaks the "animation"... I was expecting to see the yellow led for the starting and stopping states.

You mean this:

It works fine for me... maybe could you try re-downloading from the releases section. Then first try quitting System Preferences completely before installing. Finally, you could try removing the PostgreSQL preferences first (right-click on the icon, select Remove) and then install again.
Let me know if you still don't see the starting/stopping image.

Ah perfect, just had to quit and open system preferences again, looks good :)

Great, glad it works. Thanks again for raising the fish issue, and for the cool icons :)


Last Bullet List Item Not Displayed on iOS Devices

On iOS devices, the last line of the bullet list is not showing up when the message is sent using blocks.
This issue doesn't occur on desktop or Android devices where it displays as expected.
(See screenshots and code provided below.)
Reproducible in:
pip freeze | grep slack
python --version
sw_vers && uname -v # or `ver`

The Slack SDK version
slack_sdk==3.27.1
Python runtime version
Python 3.11.7
OS info
Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64
Steps to reproduce:
import os
from slack_sdk import WebClient

channel = os.environ["SLACK_CHANNEL"]
slack_token = os.environ["SLACK_BOT_TOKEN"]

client = WebClient(token=slack_token)

blocks = [
    {'type': 'section', 'text': {'type': 'mrkdwn', 'text': 'Bullet list:'}},
    {'type': 'section', 'text': {'type': 'mrkdwn', 'text': '•<EMAIL_ADDRESS><EMAIL_ADDRESS>]

client.chat_postMessage(
    channel=channel, blocks=blocks
)

Expected result:

Actual result:

Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @shuvaevv, thanks for sharing this, and we apologize for the inconvenience the iOS app has caused you.
Indeed, it does seem to be a bug on the iOS client app side, and it certainly needs to be resolved in its future releases. However, I am unable to tell when the fix will be delivered to you.
Therefore, as a workaround for this issue, I would suggest utilising rich text blocks instead. Representing the list of items using the rich text blocks should work more reliably with any of the client apps.
blocks = [
    {
        "type": "rich_text",
        "elements": [
            {
                "type": "rich_text_section",
                "elements": [{"type": "text", "text": "Bullet list:"}],
            },
            {
                "type": "rich_text_list",
                "style": "bullet",
                "elements": [
                    {
                        "type": "rich_text_section",
                        "elements": [
                            {
                                "type": "text",
                                "text"<EMAIL_ADDRESS>                                "style": {"code": True},
                            }
                        ],
                    },
                    {
                        "type": "rich_text_section",
                        "elements": [
                            {
                                "type": "text",
                                "text"<EMAIL_ADDRESS>                                "style": {"code": True},
                            }
                        ],
                    },
                ],
            },
        ],
    },
]

I do realize this may require code changes on your side, but I hope you find this is helpful for the time being.


AsciiDoc: Some regexes are too greedy

Fixes #3480.
We had a few regexes of the form /^(some prefix)(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m. This is incorrect as the greedy [\s\S]* will overrun all occurrences of the captured prefix until the last occurrence is found. I replaced it with /^(some prefix)$[\s\S]*?^\1$/m.

My only nit would be to break up the large test file for readability but that's not a blocker.

I see what you mean, but that was intentional. Regexes that are too greedy might come up again, and long test snippets are more likely to include examples that trigger these bugs.


Add files via upload

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility file/lib/domains/com/lacordaire.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@TheInvisibility I renamed the file for you. Please tell us what is a street address of this school: there are several schools with this name in the world.

@TheInvisibility I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Add quantum computing group

Add quantum computing group.
Bonus: Move Ethereum to Misc category since Ethereum is not a programming language.

Thanks :)


Have an issue when try run parse-server with npm start

i have an issue when try build parse-server
nodejs version: v10.24.1
mongodb: version v4.4.13

please help me resolved it

I'm closing this as it does not seem to be a Parse Server Example issue.

For help with Parse Platform we recommend our community forum
For coding questions we recommend Stack Overflow using the parse-platform tag
For network and server questions we recommend ServerFault using the parse-server tag


Coloured Ball Detect and Pincers (Bobbie)

BallDetector Class

Uses OpenCV to detect coloured balls in an image
The main difficulty with this is trying to prevent false detections of other objects that have a similar HSV value, the __find_most_likely_ball function is my best go at trying to solve this without jumping to an ML-based solution. It basically finds the area and "roundness" of the shape (using cv2.matchShapes) and chooses the most likely ball from this data. It also completely rejects found contours that don't meet minimum criteria for a ball object.
Colour filtering is quite slow. With all three colours being tracked the FPS is around 15, which goes up to 20-22 FPS with just one colour being tracked. cv2.erode and cv2.dilate are the culprits I think but are quite necessary for good detections - I tried with all types of kernels but the default one is fastest. Gaussian blurring is also quite slow and this was changed to a simple cv2.blur (cannot remove blurring completely, unfortunately)
This latency problem could be solved in the future by using dlib's object tracker - however, my fear with this is that if a false detection is registered, dlib will continue to track that indefinitely even when other more likely balls are in frame. There are certainly ways to solve this (e.g. running the normal ball detect once every 5 frames) but I was happy enough with this solution for Further challenges so can be explored in future.
Ball detection is made into a class instead of a function because there is a very good chance in future we'll want some persistent filtering or tracking, so best for it to have the API like this from the start (also makes it similar to FaceDetector, and I think line_detect should be changed to a LineDetector class too - keeps Further challenges consistent)

PincerController Class

Simple opening and closing of Bobbie's pincer servos
No support for servo calibration yet, this needs to be added once a branch with that on is merged into master

Other

Wheel separation in drive controller updated to be more accurate when performing robot.drive.rotate
Refactored line detect code a bit to make use of other functions that have been introduced in other PRs and in this one (e.g. DotDict)
Added example code for ball detection
Added camera rotation angle support
Using imutils where useful since that will be an SDK dependency soon
bobbie.json - though I don't expect this to be used that much in the Further challenges

Would love some more write-up of what the thinking is with stuff here. I find that there are way too many comments in the code which would be better off in the description of this PR.
It would also help readability if anything that isn't specifically a code change for this PR was moved to a separate branch. Not a big issue on smaller PRs, but it makes navigating larger ones like this just that bit harder.

Currently failing to build the docs due to:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 304, in build_main
    app.build(args.force_all, filenames)
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 341, in build
    self.builder.build_update()
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 347, in build_update
    len(to_build))
  File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 360, in build
    updated_docnames = set(self.read())
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 261, in pending_warnings
    memhandler.flushTo(logger)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 224, in flushTo
    logger.handle(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 1529, in handle
    self.callHandlers(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 1591, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 901, in handle
    rv = self.filter(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 762, in filter
    result = f.filter(record)
  File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 412, in filter
    raise SphinxWarning(message)
sphinx.errors.SphinxWarning: autodoc: failed to import class 'Pitop' from module 'pitop'; the following exception was raised:
No module named 'pitop.camera.camera_calibration'

Warning, treated as error:
autodoc: failed to import class 'Pitop' from module 'pitop'; the following exception was raised:
No module named 'pitop.camera.camera_calibration'

If we are going to put the camera calibration stuff into another PR, then we should have an Issue to track that

Before we merge this in, we should figure out what the line following code would look like, with the new dependencies that this PR brings #184

No support for servo calibration yet, this needs to be added once a branch with that on is merged into master

So 'servo calibration' needs to be added as an Issue and link to this PR.

No support for servo calibration yet, this needs to be added once a branch with that on is merged into master
Servo calibration needs to be added as an Issue and link to this PR.

Before I feel like I can approve this PR, I would like to better understand how the code is expected to change in the future around this code. Are we going to switch to dlib? I think that this relates to #184 as well, as it would improve the code there. How likely is it that the code here is going to break/change?

I've thought about dlib object tracker a lot for ball detection and I don't think it's the right approach. It's too easy for the algorithm to get false detections and continue to track them - since dlib object tracker is essentially a black box we'd have to build workarounds like running our detection once every 5 frames or having a lower limit on dlib's confidence at which we run our detection again - all of which won't be that robust in a world where colour and "roundness" is our only detection criteria. dlib's object tracker works well for things that are very unique, such as a face or human body - I'm sure it can work here too, but I don't think it would be optimum.
I think a better approach is a Kalman filter- it's simpler, faster and can be tuned better for noisy measurement rejection on the fly (rather than being in a "detect" state or a "dlib track" state, we'd just be updating our predictions based on new data and rejecting or using them). I've already started looking into this approach and it will work much better in other ways too, such as being able to track the ball off-frame for a short period of time (dead-reckoning) so the robot doesn't just lose the object if it turns incorrectly for a brief moment - this will be super useful for line tracking too.
I don't think any filtering will introduce breaking changes as it should just be optimization internally, as long as we are happy with:

Return parameters
Public function names
The class name
Then I think it's fine


SpaceFlight

Your checklist for this pull request
Author name
Author:Isaak

About your game
My game is about flying in space and dodging meteorites

Press A and D to move, I to pause, K to start, L to restart

Code
Check off the items that are true.

[X] The game was made using the Sprig editor.
[X] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[X] The game runs without errors.
[X] The name of the file/game contains only alphanumeric characters, -s, or _s.
[X] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

Sorry if you didn't understand! You just need to change the name:)

Let's get this merged! Just change the file name:)

Closing due to inactivity. Please re-open if you'd like to continue forward landing this game!


Add formatting options to the Text Filter visual

Enhancements:

Added format option "Placeholder" for customizing the placeholder text.
Added format option "Text Size" for changing the search input font size.
Added format option "Height" for changing the height of the search input box.
Added format option "Outline" for changing the border color of the search input box.

Close and to recreate for review

closing as outdated


Error loading mods: PyPostProcessing

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[X] Crash
[ ] Progression
[ ] Balance
[x] Pypostprocessing failure
[ ] Other

What is the problem?
pypostprocessing/prototypes/next-upgrades.lua:31: attempt to index field '?' (a nil value)
stack traceback:
pypostprocessing/prototypes/next-upgrades.lua:31: in function 'check_for_valid_minable_properties'
pypostprocessing/prototypes/next-upgrades.lua:52: in function 'can_be_upgraded'
pypostprocessing/prototypes/next-upgrades.lua:59: in main chunk
[C]: in function 'require'
pypostprocessing/data-updates.lua:1: in main chunk
Steps to reproduce
Open game with my mods
Additional context
my mods:
belt-balancer-2
Bottleneck_0.12.0
brake-squeal-modded
circuit_visualizer
CircuitHUD-V2
compaktcircuit_2.0.8
creative-mod_2.0.2
DiscoScience_2.0.0
easyvoid
EditorExtensions_2.3.0
ElectricTrainFix_1.1.6
even-distribution_2.0.2
fcpu_0.4.33
FilterChests_1.2.0
flib_0.15.0
FNEI_0.4.5
ghost-counter_2.0.1
helmod_2.0.1
Honk
informatron_0.4.0
kry_stdlib_1.5.5
loaders-modernized_0.5.4
MicroFurnaceWipMod_1.0.15
Milestones_1.4.2
mining-patch-planner
ore-eraser-2_0.2.0
pump_2.0.1
pyalienlife_3.0.25
pyalienlifegraphics_3.0.4
pyalienlifegraphics2_3.0.0
pyalienlifegraphics3_3.0.1
pyalternativeenergy_3.1.12
pyalternativeenergygraphics_3.0.4
pycoalprocessing_3.0.23
pycoalprocessinggraphics_3.0.1
pyfusionenergy_3.0.8
pyfusionenergygraphics_3.0.1
pyhightech_3.0.8
pyhightechgraphics_3.0.1
pyindustry_3.0.8
pypetroleumhandling_3.0.8
pypetroleumhandlinggraphics_3.0.2
pypostprocessing_3.0.17
pyrawores_3.0.6
pyraworesgraphics_3.0.1
RailLogisticsDispatcher_2.0.15
RateCalculator_3.3.1
reverse-factory_9.0.14
show-max-underground-distance_0.1.0
side-inserters_2.5.2
some-luaconsole
sonaxaton-infinite-resources_0.4.9
Sort-All-Inventories_1.0.0
Soundpack-alerts-and-sirens-updated-v1-1_1.0.8
speaker-signals-2
squeak-through-2_0.1.0
StorageTank2_2_0_1.1.0
switch-button_0.2.2
UltimateBeltsSpaceAge
Updated_Construction_Drones_2.0.3
VehicleSnap_2.0.0
virtual-signals2_1.3.0
Waterfill_v17_2.0.2
WideChests
Log file
factorio-current.log

I fixed it with disabling compaktcircuit_2.0.8 and reverse-factory_9.0.14;
Not compatible with it

I recently opened issue #739 regarding this bug related to compaktcircuit. This bug has been fixed in the Pypostprocessing repository. You can manually change the line of code from https://github.com/pyanodon/pypostprocessing/commit/9f649189750d1b1d7a3b2a8d661f0131804ce9bb#diff-06eb56abc8fa2cfe3d6d58f2fcd4fff041404e8784df35a6e07867263dc53715R31 in the archive with the mod, or wait until the mod is updated in Factorio Mod Portal


persistent filters

Hi! I was wondering, as I couldn't find any information, on whether there currently is a way to store the filters persistently?
For example, i'm on page 7 and have applied a search filter and a custom sort order, I would like to have that stored somewhere persistent so when I come back to the page, those filters still apply.
If such functionality already exists, my apologies.

@mervy-sim That functionality is not included in Vuetable, but I think you should be able to implement it using localStorage.

I'll do that then! Want me to create a pm for it once done?

@mervy-sim Please do, I'll consider it.


Added check engine_traction

The car could drive even if it had no traction wheels.

Wow, totally missed this, I got to test it :)
I never got around to looking at fixing this, this problem also related to cars always being 4WD :)

@BastiaanOlij I have a very large PR, which I will show soon. It fixes almost all errors in vehicle. (#28733)


Implement PowerPC architecture support.

Implemented and tested on Gentoo ppc 32-bit (kernel 4.17.6, gcc 7.3.0). ppc64 not yet tested. Reference issue #89

Amazing, thank you! I wish I had a CI setup for all these non-Linux-x86_64 platforms, but I'm happy to take this for now. I'm pleased to know PPC wasn't weird in any way that made this complicated.


Add initial support for series naming and folder structure

Add initial support for series naming and folder structure. The majority of the work is done by @eithe.
All testing and proposals for improvements are welcome!

This fixes #26 and #23.

This works good, but it is inconsistent - files are created with a period instead of space.
Folders are created with spaces.
It should be either one, and in my opinion it should not be with spaces anywhere.

Hi @ralin3,
Agree about the consistency, and spaced should be omitted.
This still needs some testing and a few finishing touches. Will defensively look at your example :+1:

Been using this with the filenaming-option for about a month now, no issues with "regular" shows.
Only issues are with shows that use date as episodename, ie. barnas supershow.
If that can be fixed, this is more than good enough for merging.
For suggestions for naming:
https://support.plex.tv/hc/en-us/articles/200381053-Naming-Date-based-TV-Shows

Looks like this works well now! :+1:
Feel free to send another PR with improvements


"Channel" missing in streams.json

The JSON's channel portion is entirely blank, causing any attempt to list channels invalid

Are you using https://iptv-org.github.io/api/channels.json ?

No, I'm using https://iptv-org.github.io/api/streams.json

Working on my end. Try different browser or tool

Your screenshot is also lacking the channel value

Oh, I see. From your first screenshot, I though you were not able to get any response at all.
@freearhey any idea why the channel info isn't populating?

Upon further inspection, I noticed that not all the results has an empty channel value but some do. Those with no channel information are returned first. The information is based on what's the iptv repo the has for those channels.
If the tvg-id is left blank (""), it will return "" when using the API.
Example: https://github.com/iptv-org/iptv/blob/ff68858512e18b2ff65fde11826d36ad62a5cab7/streams/am_ucom.m3u#L40


FileNotFoundError for profiler.results

Description
What steps will reproduce the problem?

Apologies in advance for the inadequecy of my response, but you guys asked me to submit this, so I'm doing so.
I have no idea what happened. I hit F9 and a box popped up....no error message in console.  (fwiw i hit F9 to execute a 2-line function i wrote, with a range(3) for loop.

What is the expected output? What do you see instead?
Please provide any additional information below
File "/usr/lib/python3.6/site-packages/spyder_profiler/widgets/profilergui.py", line 260, in
self.finished(ec, es))
File "/usr/lib/python3.6/site-packages/spyder_profiler/widgets/profilergui.py", line 325, in finished
self.show_data(justanalyzed=True)
File "/usr/lib/python3.6/site-packages/spyder_profiler/widgets/profilergui.py", line 346, in show_data
self.datatree.load_data(self.DATAPATH)
File "/usr/lib/python3.6/site-packages/spyder_profiler/widgets/profilergui.py", line 429, in load_data
stats_indi = [pstats.Stats(profdatafile),]
File "/usr/lib/python3.6/pstats.py", line 72, in init
self.init(arg)
File "/usr/lib/python3.6/pstats.py", line 86, in init
self.load_stats(arg)
File "/usr/lib/python3.6/pstats.py", line 99, in load_stats
with open(arg, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/bch/.config/spyder-py3/profiler.results'
Version and main components

Spyder Version: 3.2.0
Python Version: 3.6.2
Qt Versions: 5.9.1, PyQt5 5.9 on Linux

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
numpy >=1.7      :  1.13.1 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
rope >=0.9.4     :  0.10.5 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
psutil >=0.3     :  5.2.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
cython >=0.21    :  0.26 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
IPython >=4.0    :  5.3.0 (OK)
pylint >=0.25    :  1.7.2 (OK)

What happens if you run
spyder --reset

and try again?

I have the same problem. A reset didn´t help so far.

This is a duplicate of issue #5587 and it was already fixed. The fix will be part of our 3.2.5 version.


What is the CLI for? Proposal: deprecate and remove fn build and fn test.

At the moment the CLI does two distinct things:

builds images
calls the API in order to deploy functions

As far as "calls the API" goes, that's fine.  Makes sense that we provide a tool for doing that.  But the justification for "Builds images" is significantly weaker.  We couldn't possibly make a better image building tool than docker itself, and we're spending a lot of time and effort trying to.
Proposal:

fn init always generates a Dockerfile
fn build becomes a synonym for docker build (we don't need to actually remove it I guess)
fn test removed
func.yaml is purely a deployment descriptor. The following keys which relate to building images on the host are deprecated and removed:

build, build_image, cmd, content_type, entrypoint, expects, format, headers, run_image, runtime, tests

Work needed:

init-images: #369
reduction in number of hard-coded runtimes: #380
supported init-images should produce dockerfiles and runtime: docker in the boilerplate
remove all LangHelper code from CLI
deprecate build-related keys from func.yaml
remove all build code from CLI

I agree with the goal of extracting all language specific logic from the CLI and relying on the generation of an appropriate Dockerfile.  See #369 for comments on init.
+1 on removal of fn test.  I don't think this is being used.
Won't func.yaml runtime: always be docker and therefore unnecessary?

‘runtime’ is only used for build I think  (to generate the Dockerfile) so yes, becomes irrelevant

I think we can also remove --entrypoint and --cmd from fn init as well.

Tagging in @mantree @JadeRedworth @riconnon and @rdallman for their thoughts too.

This sounds like a great idea. Less is more, and what little there is should be tightly focused.
:+1:

I agree that fn build and fn test commands are quite useless.
However, if we gonna drop fn test we need to provide something else. FDK-Java started with their own integration with JUnit to let developers test their functions.
I did the same for FDK-python: https://github.com/fnproject/fdk-python/pull/47
So, we need to do the following:

Get rid of fn test, it's useless for something more complex than hello-world.
Write a boilerplate for each FDK that would represent a test suite, here's an example of an extended boilerplate:

import fdk
import ujson

from fdk import fixtures

def handler(ctx, data=None, loop=None):
    name = "World"
    if data and len(data) > 0:
        body = ujson.loads(data)
        name = body.get("name")
    return {"message": "Hello {0}".format(name)}

class TestFuncWithData(fixtures.FunctionTestCase):
    content = ujson.dumps({"name": "John"})

    def setUp(self):
        super(TestFuncWithData, self).setUp(
            self.content, handler, fn_format="json")

    def tearDown(self):
        super(TestFuncWithData, self).tearDown()

    def test_response_with_data(self):
        def assert_data(data):
            return {"message": "Hello John"} == data

        self.assertResponseConsistent(
            assert_data,
            message="content must be equal to '{0}'"
            .format({"message": "Hello John"})
        )

    def test_in_time(self):
        self.assertInTime(1)

class TestFuncWithoutData(fixtures.FunctionTestCase):
    content = ""

    def setUp(self):
        super(TestFuncWithoutData, self).setUp(
            self.content, handler, fn_format="cloudevent")

    def tearDown(self):
        super(TestFuncWithoutData, self).tearDown()

    def test_response_without_data(self):

        def assert_data(data):
            return {"message": "Hello World"} == data

        self.assertResponseConsistent(
            assert_data,
            message="content must be equal to '{0}'"
            .format({"message": "Hello World"})
        )

    def test_in_time(self):
        self.assertInTime(1)

if __name__ == "__main__":
    fdk.handle(handler)

as you can see i've added few test suites that actually can be executed with native pytest tool. We MUST to do the same for every officially supported FDK.

Provide a way to run these tests inside of a container (similar to fn test but with help of native tools instead of what we have now).

NB:  format is currently controlled by LangHelper - they all use json except Java/Kotlin which uses http.
NB2: The following CLI flags would be removed:  cmd, entrypoint, format

I agree - maybe I've conflated too many things into one issue here?  The main win for me here would be if every function had a Dockerfile and was runtime: docker.  Well, then we wouldn't need the runtime specified at all, and the CLI wouldn't need to have any runtime-specific code.  And, at that point fn build would be the same as docker build wouldn't it?  I'm very open to having fn test remain - or at least to stopping talking about it on this issue...

yeah, it would be nice if func.yaml was just configuration for a function/trigger rather than some weird unclear mix of local build fields and remote configuration fields. generating the Dockerfile in init gives you that instead of pushing to build step, and init only runs once too. fwiw there was a push once upon a time to mask all the docker stuff from users that don't want to deal with it and that's how we got to where we are, now we've come full circle :) I like the idea of the dockerfile in init pretty well, there's some wrench to be thrown about other oci compatible runtimes but maybe punt that whole convo

I got the latest CLI build with the new init --init-image support and was disappointed that the output didn't include a Dockerfile. 😞  @mjg123 I'm +1 for your original proposal and so far other than some question of the usefulness of fn test I think all other commentator are too.  So let's move ahead on this and split out the fn test issue for separate discussion.


UofT-DSI | SQL - Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Hello Vitali's your assignment is incomplete you did not provide answer of last question.

Hello Vitali's your assignment is incomplete you did not provide answer of last question.

hey @SidraBushra  i've updated PR. Hope it's not too late


Field and Field Boundary Elements and Definitons per WG17

Attached list of terms and definitions WG17 has identified to be important in the context of transferring fields and field boundaries between systems. There are three files, one with the key elements and terms for Field, one for Field Boundary, and one for terms that came up in discussion we defined for clarity but were not included as elements of a field or field boundary. The goal would be to try and harmonize these with the terms and definitions within the ADAPT Standard.
Field Terms and Definitions.xlsx
General WG17 Terms and Definitions.xlsx
Field Boundary Terms and Definitions.xlsx

I do not thing there would be objection to changing the grower definition to be entity instead of individual. Regarding multiple entities performing different aspects of the grower functions, would it make sense to add a context item or list of active functions?
on point 2, the additional properties were identified as things the field boundary definitions group thought would be useful/relevant when exchanging field boundaries. So I would vote to include as many as make sense today but also expect there to be subsequent working groups that continue to refine the field boundary topic as we continue to ship away at the issues that make sharing field boundaries difficult today. For example we are about to start one up looking specifically at the GNSS technical aspects of defining a boundary.

Following discussion in the 11 October 2023 meeting, we are evaluating what in the attached spreadsheets is missing and should be added to the ADAPT Standard.  We've resolve the grower issue with item #123.
I have the following suggestions:

Regarding areas, "arable area" appears to be the primary objective area that can be readily defined and is likely the intent of what is today Field.Area.   I recommend we change it to Field.ArableArea using the provided definition, and leave any other areas to be reported as Context Items where desired.  Discussion on 11 October was that consumers are unlikely to reuse a calculated area, and that billable and reported area are not objective measurements.
Can we define a US-Specific Context item for Soil Type (something from SSURGO?).   That could be the first of several geopolitical-specific types.
US Legal Description as defined assumes PLSS.   Can we make it more generic as a text representation.  If so, does it need to be US-specific.
The best definition I can find for Slope is on page 41 here:  https://www.nrcs.usda.gov/sites/default/files/2022-09/SSM-ch2.pdf.   It still leaves some particulars to interpretation.   We need to discuss whether to include.

Arable Area definition per 18 October 2023 meeting:  "Total area of a field that is cultivated, excluding areas such as waterways"

Further agreement in 8 October 2023 meeting to include all area types as defined in the "General" spreadsheet subject to the correction to Arable Area above.   These will be scoped for use in Context Items.
We are deferring Slope and SoilType pending more formal definition and determination of need.   Legal Description will be included as a free text Data Type Representation.

Hi @knelson-farmbeltnorth can I help somehow to get some of the missing things in? In particular the creation method, boundary type and dates would be good I think, as these are popping up in other areas like in FIBOA and it'd be good to align. The more that's already published in ADAPT standard the more can be carried across.

Hi @andyjenkinson.   Absolutely!  Take a look at what we have in https://adaptstandard.org/docs/field-boundary/ and log a new issue here for any questions or suggestions.
Coincidentally, @crakerb-ship-it and I were planning to discuss #145 at our biweekly ADAPT Standard meeting (this Wed at 3PM GMT).   If you can make it, we can put you in touch with the right people to get the meeting invite.

Sorry i could not make it. I'm not sure if a separate issue is needed, rather just to make more progress on completing this one? @crakerb-ship-it's spreadsheets already include many properties that aren't yet in the standard. I think for those that are vocabularies you'll need to refer to the pagers on the WG17 outputs confluence pages for the values?
The ones in particular interest on the Field Boundary type are:

Creation Method
Boundary Type
Both are vocabulary terms (presumably the standard can express enums?)

Closing this ticket as it relates to what was released in 1.0.  Additional Field Boundary enhancements may be forthcoming at a later time from #145 and other work from the AgGateway Field Boundary working group.


typo: Double word "in"

Sign-in seems to be the term used in the rest of the doc so "log in" was replaced too

@nschonni : Thanks for your contribution! The author, @MarkusVi, has been notified to review your proposed change.

Thanks for catching this.
#sign-off

@ktoliver : Thanks for your contribution! The author, @MarkusVi, has been notified to review your proposed change.


Support for non-enum function arguments?

Thanks for making this crate, it seems very useful :)
But I'm wondering why does it have the restriction that function arguments must be enums?
It would be much more useful it it also allowed function arguments of normal primitive types, like string, int, float..
E.g. if GPT should invoke an external function for certain calculations or type checking generated code..
Would it be possible to allow primitive types?

It doesn't require that arguments are enums. It requires that functions are described as enums. Your functions can take value types. Look in the readme at the calculator example (under clap integration) where you have functions like "Add" that takes two f64 arguments. These could be whatever value type. Let me know if I misunderstood your question.


add pre/post deploy hook

In dokku there are a simple plugin to run some pre/post deploy hook. It will be good to have this kind of feature on deis.
We can stop some service in pre hook and run some task in post deploy hook or notify some service
see the dokku plugin : https://github.com/mlomnicki/dokku-deploy-hooks

see also: https://devcenter.heroku.com/articles/release-phase

Or even something as simple as Heroku's new "release" process type.

@pmac see deis/slugubuilder#86. :)

@bacongobbler works for me. thanks!


Add swixproj for Editors and Project system

This change includes the setup authoring changes to include the editors and Project System(Project system binaries and the common files like Design time targets and the rules)
Tagging @dotnet/project-system for review.

Also tagging @shyamnamboodiripad @jmarolf @otawfik-ms for review.

LGTM modulo comments - but @otawfik-ms and @jmarolf should probably take a look too.


Http post failed

It says this each 5 seconds in the output. What do i do

i have HTTP requests enabled tho

yes

Can you explain more about your issues?
Did you enable the nodejs server before using the plugin?

Can you explain more about your issues? Did you enable the nodejs server before using the plugin?

ugh i really can't, I've got my pc screwed up alot in the time that has passed
don't remember enabling the nodejs server tho


[BUG] Firefox dev broken (again)

What happened?
Both firefox targets, firefox-mv2, firefox-mv3 are not working with plasmo dev.
"dev": "plasmo dev --target=firefox-mv3"

It seems like this was fixed once in https://github.com/PlasmoHQ/plasmo/issues/258, but its back 😮
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Firefox
Relevant log output
🔴 ERROR  | Cannot set properties of undefined (setting 'scripts')
🟡 12     | TypeError: Cannot set properties of undefined (setting 'scripts')
    at Q (C:\Users\landi\code\work\biz-buddy\node_modules\.pnpm\@plasmohq+parcel-transformer-manifest@0.17.6\node_modules\@plasmohq\parcel-transformer-manifest\dist\index.js:1:3250)

(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

@kysley is there a CSUI or BGSW in your project?

@louisgv Neither, this was the default template when you pnpm create plasmo. I'll try .79 once you release

@kysley should be up, pls test :)

@louisgv Looks like it works 😎 thanks for the fix!


Added listener for Fused Location Provider.

I added a listener for the Fused Location Provider for Android. This allows users to easily collect higher-fidelity reference data for algorithm development, since the default Android GPS location provider does not fuse information from the IMU or alti-barometer onboard the device. The implementation is backwards-compatible with any applications reading the log data, such as the MATLAB GNSS Analysis app, because the Fused Location messages follow the same format as the existing GPS location update messages. I tested this by collecting data and plotting it with the MATLAB application.

@googlebot I signed it!

Mitchell, thanks for contributing to this project. The follow-up PR adding IMU seems to have a lot of overlap with this PR, so let's merge this one before I review the next.

Mitchell, thanks for contributing to this project. The follow-up PR adding IMU seems to have a lot of overlap with this PR, so let's merge this one before I review the next.

Thanks for your review Alexander! I responded to your comments and added another commit.

A couple more nits, otherwise LGTM!

Done! New commit added.

Thanks Mitchel for your appreciated contribution to this open sourced project.


Add imageurl

Description
Add image URL to farmer's model
Checklist
Remove any items which are not applicable.

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works AND the tests pass

 Upload Farmer image


[crash] load http hls url is crash

log:
[video_player_win] native: path = <>
lost connection device.

version:
video_player: ^2.7.0
video_player_win: ^2.3.4

using code:
VideoPlayerController.networkUrl('https.xx.xx.m3u8');

format:
HLS H.265

duplicate to #5
this package doesn't support HLS (m3u8)

duplicate to #8 this package doesn't support HLS (m3u8)
You can try another package 'media_kit' instead.

Thanks , 'media_kit' seeking in HLS stream loads all intermediate .ts segments,

@ANC1024GO,
Now can play .m3u8 url with new version 3.0.0.
Please give it a try ~


Create Project Contact Us Page

working on it.

more work to be done on responsiveness.

https://enkay256.github.io/team63-contactUs-page/


Data grid rendering page not found

Hi when visiting the page for the data grid rendering section it gives an 404 error

@ReangeloJ Thanks for raising it, it was recently broken.


Endpoint lockdown

Closes #5
Closes #7
Closes #10
Closes #11
Closes #12
Closes #13
Co-authored-by: Aaron Walter<EMAIL_ADDRESS>

Wow, Trying to make the master fail without any noticing, so disappointing. Should have copy and pasted better.
Sincerely,
Deter Polan

Abort!