Include default command settings in stack config file

There are several locking, build, and publishing settings which could reasonably be considered part of the stack specification:

package index access settings
whether to produce tagged or untagged outputs
where to find additional local wheel archives
locking mode to use (once #2 has been implemented)
default locations for working and output artifact directories

While settings these globally or per-user doesn't necessarily make sense (although #20 would allow that to some degree), it does make sense to allow the stack specification file to include a [config] section which changes the default values used for various settings.
https://maxb2.github.io/typer-config/latest/ may be a useful dependency to consider for this purpose (as this idea would be similar to the "pyproject.toml section" approach described in https://maxb2.github.io/typer-config/latest/examples/pyproject/  )

Another good candidate for inclusion as a stack config setting:

#90


[QUESTION] How to bring in Custom Fields to View Template Contract Workspaces

How to bring in custom fields such as arb_CompanyCode to the view template EXT_ContractWorkspaces?
Can simply adding the field to the view template be sufficient, if so would you add arb_CompanyCode_iqnba or arb_ComapnyCode or CompanyCode or Company Code?
Would any changes be required to the underlying db table to make provision for arb_CompanyCode, if so would the provision be the technical name arb_CompanyCode or arb_CompanyCode_iqnba or the field name Company Code/CompanyCode? If that is the case would any changes need to happen to the types.cds file?

Resolution: Only need to add the custom field technical names to the view template.


Ingress backend service port name must be no more than 15 characters

When I want to enable Ingress, operator throws exception like below;
 {"logger":"controllers.FlinkCluster","msg":"Failed to create ingress","cluster":"test/mydeploymentname","component":"JobManager","error":"Ingress.extensions \"mydeploymentname-jobmanager\" is invalid: spec.rules[0].http.paths[0].backend.service.port.name: Invalid value: \"mydeploymentname-jobmanager\": must be no more than 15 characters"}
When I check the source code, I've found that;
https://github.com/spotify/flink-on-k8s-operator/blob/v0.4.1-beta.2/controllers/flinkcluster/flinkcluster_converter.go#L394
Kubernetes don't allow the port names more than 15 characters, so how can I solve this issue?

Hey @mangrrua do you think you can push a fix?


Add support to pinecone vectorstore for similarity_score_threshold

At the moment pinecone vectorStore does not support similarity_score_threshold search type in RetrievalQA.
It extends VectorStore. VectorStore has a function called similarity_search_with_relevance_scores. This function calls the function _similarity_search_with_relevance_scores which is expected to be implemented by child classes.
However this is not implemented in pinecone.
In this PR I implement it. After this PR is merged similarity_score_threshold search type in RetrievalQA works perfect
I have also included a test.
Who can review?
Tag maintainers/contributors who might be interested:
@dev2049

@murphp15 If this PR is not needed anymore, could you, please, let me know or close this PR?

Closing because the PR wouldn't line up with the current directory structure of the library (would need to be in /libs/langchain/langchain instead of /langchain). Feel free to reopen against the current head if it's still relevant!


A prediction_function returning an int isn't validated and passes the upload

A simple model like:
def model(df):
    return 5

passes the upload validation and causes inspector (both prediction and explanation) to break

For regression especially, we should not ask for numpy array as the output of model.
Same for binary classification.

Let us close this issue with the merge of https://github.com/Giskard-AI/giskard/pull/618 as it'll become irrelevant.

@rabah-khalek could you check that there's a unit test for it in the v2 branch?

Yes it's here: https://github.com/Giskard-AI/giskard/blob/9db3efc9918492c17333869b3dc6da852f0feb4a/python-client/tests/test_model_postprocess.py#L26


Generating strongly typed resource files not currently supported on .NET Core MSBuild

Currently in https://github.com/PowerShell/PowerShell repo I try to generate strongly typed resources and get error:
C:\Users\user\AppData\Local\Microsoft\dotnet\sdk\2.0.0-preview2-006502\Microsoft.Common.CurrentVersion.targets(2921,5): error : Generating strongly typed resource files not currently supported on .NET Core MSBuild [C:\Users\user\Documents\GitHub\iSazonov\PowerShell\src\Microsoft.PowerShell.CoreCLR.Eventing\Microsoft.PowerShell.CoreCLR.Eventing.csproj]
From related Issue https://github.com/dotnet/cli/issues/819:

dotnet-resgen  got replaced by the  Microsoft.Net.Sdk  implementation, so closing this.

Is strongly typed resources supported?

The #2272 replaces the Issue.


Improve inout type rule for constant expression inputs

Codecov Report
Base: 76.12% // Head: 73.38% // Decreases project coverage by -2.73% :warning:

Coverage data is based on head (c53ca63) compared to base (70b47bf).
Patch coverage: 21.05% of modified lines in pull request are covered.

:exclamation: Current head c53ca63 differs from pull request most recent head a90eca9. Consider uploading reports for the commit a90eca9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #557      +/-   ##
==========================================
- Coverage   76.12%   73.38%   -2.74%
==========================================
  Files          17       17
  Lines        5704     5434     -270
==========================================
- Hits         4342     3988     -354
- Misses       1362     1446      +84

Impacted Files
Coverage Δ

src/compiler.jl
75.82% <21.05%> (-0.33%)
:arrow_down:

src/compiler/interpreter.jl
26.53% <0.00%> (-65.63%)
:arrow_down:

src/compiler/orcv2.jl
0.00% <0.00%> (-61.91%)
:arrow_down:

src/compiler/utils.jl
58.57% <0.00%> (-37.32%)
:arrow_down:

src/logic.jl
75.00% <0.00%> (-5.00%)
:arrow_down:

src/api.jl
58.91% <0.00%> (-2.78%)
:arrow_down:

src/compiler/validation.jl
59.59% <0.00%> (-2.48%)
:arrow_down:

src/compiler/pmap.jl
75.27% <0.00%> (-2.27%)
:arrow_down:

src/pmap.jl
83.33% <0.00%> (-1.29%)
:arrow_down:

src/typeanalysis.jl
90.00% <0.00%> (-0.91%)
:arrow_down:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Will/mobile-segment-events

adds some basic event tracking for mobile

@camerow just re-visiting this as I think we aren't respecting the users preferences here, is that correct?
We have a setting for it analyticsPreference but it seems like we don't use it here and always track?


Add prop to close dropdown on selection for non multiple selects

I added a prop for the select component that if set to true will close the select dropdown after an option is selected. The prop is only relevant if multiple is set to false.

Thanks, it'd be great if you could also contribute the relevant update for the docs. I'll leave this as undocumented feature for now. Certainly useful.


[BUG] Randomly pods dies and going into a crashloop because filesystem are read-only

Describe the bug
Randomly pods dies and going into a crashloop because filesystem are read-only.
I check a lot and the troubleshooting from longhorn like: https://longhorn.io/kb/troubleshooting-volume-readonly-or-io-error/
but nothing helps
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Perform '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Log or Support bundle
longhorn-support-bundle_e0db176b-fece-4deb-bab4-5e7ebdb8274c_2021-12-17T12-49-50Z.zip
Example of Mongodb log:
}}}
{"t":{"$date":"2021-12-17T12:46:47.077+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}}
{"t":{"$date":"2021-12-17T12:46:47.077+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"enabled"}}}}
{"t":{"$date":"2021-12-17T12:46:47.080+00:00"},"s":"E",  "c":"STORAGE",  "id":20557,   "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"DBPathInUse: Unable to create/open the lock file: /data/db/mongod.lock (Read-only file system). Ensure the user executing mongod is the owner of the lock file and has the appropriate permissions. Also make sure that another mongod instance is not already running on the /data/db directory"}}
Environment

Longhorn version: v1.2.2
Installation method (Kubectl):
Kubernetes distro K3s and version:  Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5+k3s2", GitCommit:"724ef700bab896ff252a75e2be996d5f4ff1b842", GitTreeState:"clean", BuildDate:"2021-10-05T19:59:14Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}

Number of management node in the cluster: 1
Number of worker node in the cluster: 2

Node config

OS type and version: k3s   v1.21.5+k3s2 (724ef700)
CPU per node: 4
Memory per node: 16GB
Disk type(e.g. SSD/NVMe): SSD
Network bandwidth between the nodes: 1 GB

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): KVM
Number of Longhorn volumes in the cluster: 15

Additional context
Add any other context about the problem here.

Leaving a note here, the replica synchronization failed because of the timeout on getting the replica server's checksum.
 No response received in 8s"
2021-12-14T22:09:55.837093532Z [pvc-2993998f-2601-46f8-9bab-b30617e95102-e-0d5b7dea] time="2021-12-14T22:09:55Z" level=error msg="Setting replica tcp://<IP_ADDRESS>:10180 to ERR due to: r/w timeout"
2021-12-14T22:09:55.837122046Z time="2021-12-14T22:09:55Z" level=info msg="Set replica tcp://<IP_ADDRESS>:10180 to mode ERR"
2021-12-14T22:09:55.837126905Z time="2021-12-14T22:09:55Z" level=error msg="Ignoring error because tcp://<IP_ADDRESS>:10135 is mode RW: tcp://<IP_ADDRESS>:10180: r/w timeout"
2021-12-14T22:09:55.837131945Z time="2021-12-14T22:09:55Z" level=info msg="Monitoring stopped tcp://<IP_ADDRESS>:10180"
2021-12-14T22:09:55.837137004Z time="2021-12-14T22:09:55Z" level=error msg="Setting replica tcp://<IP_ADDRESS>:10180 to ERR due to: r/w timeout"
2021-12-14T22:09:55.837141573Z time="2021-12-14T22:09:55Z" level=info msg="Ignore set replica tcp://<IP_ADDRESS>:10180 to mode ERR due to it's ERR"
2021-12-14T22:09:55.837144760Z time="2021-12-14T22:09:55Z" level=error msg="Ignoring error because tcp://<IP_ADDRESS>:10135 is mode RW: tcp://<IP_ADDRESS>:10180: r/w timeout"

We could increase the timeout (could consider referring to the iscsi connection timeout value).
cc @derekbit

Do you have a solution for this problem? I have the exact same problem every day.


Make object label matching case insensitive

https://github.com/danecreekphotography/node-deepstackai-trigger/blob/b8e9c4bc97f5578ef87bc16b113d1e67da8d5ca8/src/TriggerManager.ts#L99
Right now if someone puts "Dog" in as the label it won't match any of the returned values from DeepStack AI. Simple fix to guard against this: convert all labels from the incoming JSON into lowercase before adding them to the trigger.
Array.map() to the rescue again!

Schema validation prevents this from ever happening. Since the schema includes an enum of every valid label, and they are all in lower case, things won't fire up if there's a capital letter in there.
This will need to get mentioned in the property description when #25 is done.


Feat/add icon

📝 Description
Add RestApiIcon
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

解一下冲突。


Removed blacklist

fixes https://github.com/Comcast/codex-gungnir/issues/51

Codecov Report

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

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   43.71%   45.27%   +1.56%
==========================================
  Files           6        6
  Lines         318      307      -11
==========================================
  Hits          139      139
+ Misses        174      165       -9
+ Partials        5        3       -2

Impacted Files
Coverage Δ

primaryHandler.go
91.07% <ø> (+4.63%)
:arrow_up:

main.go
7.14% <ø> (+0.24%)
:arrow_up:

deviceStatus.go
92.53% <ø> (+3.96%)
:arrow_up:

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 d8a6cf4...841c8e2. Read the comment docs.


[Vue] Pushing to data ref does not add table row

Describe the bug
When pushing a new object to the array for the data option, no new row is added to the table. Been spending hours trying to track down this issue.
Using Array.push will not update the table but updating the array like so data.value = [...data.value, { name: "new row"}] will however.
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/epic-fog-1zmcd1?file=%2Fsrc%2FApp.vue
Steps to reproduce

Click the "Add" button

Expected behavior
While the object has been added to the array (shown by the printed array), no new row is inserted in the table.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Ubuntu 20.10
react-table version
3.2.25
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[x] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

I also see this issue. I suspect it's related to the fact that the table options property, as observed in Vue devtools, holds data for the table as an array of reactive items, but the array itself is not reactive.

I have the same problem. I want to update data when user type in search field. Tried with [...array], tried push,... But nothing seems to be working

any clue ? nothing ?

It is surprising useVueTable does not accept a ref (or type MaybeRef) as an argument. IMO this is a baseline requirement for vue integration. It is odd (and as far as i could see undocumented) that you have to define a getter as per the example above:
const table = useVueTable({
  // why a getter?
  get data() {
    return data.value;
  },
  // ...
});

this caused us confusion when integrating with tanstack query. we would delete an item, clear the relevant cache, and the table would not update.

Looks like the Solid adapter may have similar issues: https://github.com/TanStack/table/issues/4702

I had the same issue

I ran into similar issue and found this in the documentation:

When the data option changes reference (compared via Object.is), the table will reprocess the data. Any other data processing that relies on the core data model (such as grouping, sorting, filtering, etc) will also be reprocessed.

When you push something into an array it doesn't change it's reference, therefore it doesn't trigger tanStack's reprocessing. IMHO the vue adapter should handle this if we use method reactive, but I also tried that and had no success. So the way I found to force it is making sure to change the array reference used by the table instance and triggering the re-render manually after the new value is pushed:
Here is a fork of you sample with the adjustment: https://codesandbox.io/p/sandbox/ecstatic-mountain-8zfmdx?file=%2Fsrc%2FApp.vue
const add = () => {
  defaultData.push({
    firstName: "test",
    lastName: "testin",
    age: 41,
    visits: 10,
    status: "Single",
    progress: 15,
  });
  rerender();
};

const rerender = () => {
  data.value = [...defaultData];
};

Is there a way to do this without changing the data.value reference? This causes the entire table to disappear and all the expanded state is lost... I'm so confused why it's done this way.
I literally just want to update a single row of the table...

Reactivity for data in the Vue-adapter has been introduced in v8.20.0 (#5687)
Documentation:
https://tanstack.com/table/latest/docs/framework/vue/guide/table-state#using-reactive-data


Cancel button shown even when no changes

For all of my functions, I'm seeing a Cancel button with no changes (in both prod and next). We should probably just hide the Cancel button unless there are actually changes, since it's an incorrect indicator.

Dup: https://github.com/projectkudu/AzureFunctionsPortal/issues/664


Clean up the shutdown logic in cmd/discord/popple/main.go

The worker shutdown is kind of onerous. Instead of tracking how many workers have returned, use a sync.WaitGroup instead.
However, it's not sufficient to just wait for wg.Done() since that will prevent us from quitting even if the deadline has passed, so you might consider something like:
    workersDone := make(chan struct{})
    go func() {
        wg.Wait()
        close(workersDone)
    }()

    select {
        case <- deadline:
            // emit warning blah
        case <- workersDone:
            // emit that all workers are done
    }

Taking a look...

Thanks! Please don’t hesitate to send me questions as they arise.


pull request for e2e test at 11/27/2016 20:56:05

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enum can't be indexed as a table

Problem
I can't index Enum like this:
Enum["UserInputType"]["Keyboard"]

Error
TypeError: Expected type table, got 't1 where t1 = {| AccessoryType: Enum.AccessoryType, ActionType: Enum.ActionType, ActuatorRelativeTo: Enum.ActuatorRelativeTo, ActuatorType: Enum.ActuatorType, AdPortalStatus: Enum.AdPortalStatus, AdPortalType: Enum.AdPortalType, AdShape: Enum.AdShape, AdornCullingMode: Enum.AdornCullingMode, AlignType: Enum.AlignType, AlphaMode: Enum.AlphaMode, AnalyticsEconomyAction: Enum.AnalyticsEconomyAction, AnalyticsLogLevel: Enum.AnalyticsLogLevel, AnalyticsProgressionStatus: Enum.AnalyticsProgressionStatus, AnimationPriority... TRUNCATED' instead

This is a Luau bug: https://github.com/Roblox/luau/issues/533#issuecomment-1291779353
We changed the type of Enum to
type Enum = {
     AccessoryType: Enum.AccessoryType,
     ActionType: Enum.ActionType,
     ....
} & { GetEnumItems: () -> { Enums } }

which looks like you can no longer index it via a string

Oh, is this going to be fixed? Or how can I index now an unknown property?

ok, thank you very much for your help

Will close this as there isn't much we can do, you can track the Luau issues instead


[DRS-1467] format the src/react-query

Codecov Report

Merging #36 (347e55b) into main (b901c37) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   99.69%   99.69%
=======================================
  Files          21       21
  Lines         324      324
  Branches       35       35
=======================================
  Hits          323      323
  Misses          1        1

Flag
Coverage Δ

root
99.69% <ø> (ø)

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

Impacted Files
Coverage Δ

src/react-query/ssrHelpers.ts
100.00% <ø> (ø)

src/for-redux-swr/SpreadoSetupImpl.ts
100.00% <0.00%> (ø)

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 b901c37...347e55b. Read the comment docs.


Update dmg-license.py

https://bitbucket.org/jaredhobbs/pyhacker/src/master/licenseDMG.py

I requested that pyhacker add an explicit LICENSE file to make sure it's cool we're using and redistributing their script: https://bitbucket.org/jaredhobbs/pyhacker/issues/3/license.

I'm sure he already knows, but that would be great.

it's cool we're using and redistributing their script

I was searching for this https://github.com/andreyvit/create-dmg/pull/47#issuecomment-542262196, that he wrote :)

Okey dokey. Guess it's time to pull in the new version. I'll see if I can find time later tonight.

PR for updating the dmg-license script:  #98


bug: wrong documentation in http-framework

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the bug
http-framework/src/lib/interactions/utils/util.ts L170
	// `generator.next(...)` call. As such, the following code works:
	//
	//     yield this.defer(); // null
	//     yield this.message({ content: 'Hello There' }); // APIMessage
	//     yield this.message({ content: 'General Kenobi!' }); // APIMessage

However, the correct code is
yield this.defer()
yield { content: 'Hello There' }
yield { content: 'General Kenobi' }

This is because yielding/returning this.message returns { type: 4, data, files } (http-framework/src/lib/structures/Command.ts L88)
However, in http-framework/src/lib/interactions/utils/util.ts L192 & L 187,
await patchMessage(interaction, result.value); is passed into patchMessage. patchMessage accepts { files, ...body } as parameters, but the ...body unpacks this.message({ content: 'Hello There' })'s return value into { type: 4, data: { content: 'Hello There' } }, which the API does not accept.
Steps To Reproduce
yield this.defer();
return this.message({ content: "Hello world!" })

Expected behavior
It sends "Hello world!", however it currently errors
Screenshots
No response
Additional context
No response

I have meant to port Iriss's updateMessage protected method for a while, but I didn't get to it.
Do you want to open a PR fixing this?


AIUK 2024

Creating an issue so we can keep track of all the things we need to do for our AIUK demo. Myself, @asthanameghna and @evangeline-corcoran will be the demonstrators.
The main deadlines are:

[x] 5 January: Deadline to submit your promotional images (marketing image and organisation’s logo)
[x] 26 January: Deadline to confirm demonstration team members
[x] 2 February: Deadline to submit design request form
[x] 9 February: Deadline to submit your artwork for your stand
[ ] 16 February: Deadline to submit your risk assessment (don't need to submit PLI)
[ ] 26 February: Deadline to submit payment
[ ] 1 March: Deadline to finalise your stand requirements / delivery information

Stand specification:

2m (W) x 2.5m (H) custom branded printed stretch canvas
2m x 2m floor space for demonstration, showcases and or activations
44-inch LED screen
600mm matte black poseur table
1 x matte black high stool

risk assessment here: https://thealanturininstitute.sharepoint.com/:w:/s/scivision/Ea4RW7JIG2BCtqtcBnSv4k8BWXR3YC2UJR4pS6g8I045Lg?e=v9biuM

I'm requesting an additional 6ft table, which will be branded with the scivision logo


I s this dead

I am creating an issue because...

I still care! I visit it once a month to see if there's any updates

looks like 😓

😢


[INTERNAL] remove v2 branch in pipeline file

coverage: 94.608%. remained the same
when pulling fb5647e8d519b5635a5ebe0d5e65ed3e8a33de7a on remove-v2-in-azure-file
into 4016c5f05122198c45a1455a5fb5c187ebf1832f on main.


Run user-package.sh error at macOS 10.15.1

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?
I try to use user-package.sh@master to build  this software.
OS: macOS 10.15.1

What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)
Script cannot execute and report a sed error like this:

sed: 1: "core.go": command c expects \ followed by text

What's the reason?
The mac version sed requirements saving backups with the specified extension, as below.

FILE a:
some test.

sed -i 's/s/S/' a  #  Return Error.
sed -i '.backup' 's/s/S/' a  # Backup file a as a.backup and replace correct.
sed -i '' 's/s/S/' a # Do not backup and replace correct.

sed -i'' 's/s/S/' a # Do not backup and replace correct (Execute in the GUN/Linux @ AdvancedTomato).

The macOS version sed is NOT cool ,I prefer to use gun-sed.


UIkit Docs

Hi,
The plugin looks great, thanks for that. I wanted to add the plugin to the UIkit docs, just wanted to make sure you're OK with that.

Ofcourse! That would be great!

https://github.com/uikit/uikit/commit/79c800114c5958f7bed11879d2fe2295f05a30c2
Done!


Temporary fix for sites with multi-pnns (Never merge, just create agent patch both 1.1.6 and 1.1.8)

This dirty hack has to be removed once #8280 goes in
@ticoann please review

This is just for the new agent not for the master,  right? I didn't know you were talking about this change (only in bin). I guess we don't need to patch the production agent just back port it, right?
Also we don't need to bother to have pylint change if we are only applying this to new agent.

Yes, though I created another patch in #8315
I'll change this PR and simply remove a legacy code.

That's good, Thanks Alan.

Patch was updated. I basically removed the T0 code that was legacy (still storage element?!?) and removed the option too, since one can use --add-one-site

@hufnagel I doubt it can cause any harm to T0, but just in case ...

test this please

No problem, we haven't used that option in ages.

This commit seems to have broken Jenkins by causing two tests to time out. Please investigate it and fix it. Look at #8325 for the test names.


enderio's Staff of Traveling

Apparently enderio's enderio:itermStaffTravel does not care about either entity-teleport-from/to nor the interact-item-secondary flags, thus making escaping jail extremely easy.
Is there a way to block said item inside claims?
/gpdebug tells me it's not allowed, yet I can still use the item.

This shouldn't be an issue with latest GP builds. Open a new ticket if problem exists.


Executor failure due to guest recursion

While debugging a allocation issue I was able to trigger the following panic in the executor from changes to the guest code. Using main at 84528d31c0efad566e585aa04a83d6692b32bd16
Make the following change:
diff --git a/risc0/zkvm/src/guest/alloc.rs b/risc0/zkvm/src/guest/alloc.rs
index 6015306..de1cacc 100644
--- a/risc0/zkvm/src/guest/alloc.rs
+++ b/risc0/zkvm/src/guest/alloc.rs
@@ -31,6 +31,7 @@ unsafe impl GlobalAlloc for BumpPointerAlloc {
             .size()
             / WORD_SIZE;

+        alloc::format!("alloc: {nwords}");
         syscall::sys_alloc_words(nwords) as *mut u8
     }

Then run:
cargo test exec::tests::random
Which should trigger:
[2023-05-09T23:39:26Z DEBUG risc0_zkvm::exec] [105045] pc: 0x07002d6c, insn: 0x00007317 => auipc x6, 0x07009d6c
[2023-05-09T23:39:26Z DEBUG risc0_zkvm::exec] [105046] pc: 0x07002d70, insn: 0xffc30067 => jalr x0, 0xfffffffc(x6)
2023-05-09T23:39:26.700555Z DEBUG risc0_zkvm::exec::monitor: write: 0xc000008
2023-05-09T23:39:26.700556Z DEBUG risc0_zkvm::exec::monitor: write: 0xc000009
2023-05-09T23:39:26.700556Z DEBUG risc0_zkvm::exec::monitor: write: 0xc00000a
2023-05-09T23:39:26.700557Z DEBUG risc0_zkvm::exec::monitor: write: 0xc00000b
[2023-05-09T23:39:26Z DEBUG risc0_zkvm::exec] [105047] pc: 0x07009d68, insn: 0xfc010113 => addi x2, x2, -64
2023-05-09T23:39:26.700562Z DEBUG risc0_zkvm::exec::monitor: write: 0xfffffff8
2023-05-09T23:39:26.700563Z DEBUG risc0_zkvm::exec::monitor: write: 0xfffffff9
2023-05-09T23:39:26.700563Z DEBUG risc0_zkvm::exec::monitor: write: 0xfffffffa
2023-05-09T23:39:26.700564Z DEBUG risc0_zkvm::exec::monitor: write: 0xfffffffb
[2023-05-09T23:39:26Z DEBUG risc0_zkvm::exec] [105048] pc: 0x07009d6c, insn: 0x02112e23 => sw x1, 60(x2)
thread 'exec::tests::random' panicked at 'index out of bounds: the len is 268435456 but the index is<PHONE_NUMBER>', risc0/zkvm/src/exec/monitor.rs:173:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Still happens on latest executor as of 6b4286a4bb329a71e536596e85e6d7e4f191e7f2

My latest theory is that using alloc::format itself allocates memory and so causes an infinite loop. At some point the stack or heap is exhausted and we get a variety of errors as a result. I no longer see the index out of bounds error, but I do see a illegal instruction at 0x320c:<PHONE_NUMBER>0000000000000000011100 (0011100, 000, 00000, 0000000)


feat: opportunity creation for broken-internal-links

Related Issues
https://jira.corp.adobe.com/browse/SITES-27084
Please ensure your pull request adheres to the following guidelines:

[x] make sure to link the related issues in this description
[x] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of

Sample Data
TBD: coming soon
Test cases
TBD: coming soon

Failing test will be fixed once Ekrem's PR is merged.

@nitinja https://github.com/adobe/spacecat-audit-worker/pull/497 has been merged ✅

:tada: This PR is included in version 1.40.0 :tada:
The release is available on:

v1.40.0
GitHub release

Your semantic-release bot :package::rocket:


Initial code checks using PMD

Included minimal set of rulesets: basic, imports and unused code.
Fixes for conforming with applied rules
Code formatting on changed files

can we postpone any bigger changes to console codebase I am in a middle of removing the jbpm runtime out of it and it affects "quite few" classes?
I hope to have something that runs today or tomorrow without jbpm runtime...

Wow, this is great. Now we'll finally be able to focus on relevant changes!  :+1:

-1 (use of ~~ operator in client-side HashCode implementations should remain).

@mswiderski no worries delaying this change but I was expecting we would use some sort of feature branch for myself and Neus to work on the jbpm runtime removal before merging it to master.

it will be a feature branch but believe me, merging so much changes to feature branch where you'll have several commits diverged is not easy nor fun.

@mswiderski @jhrcek @manstis @nmirasch I've revisited this PR after the latest changes on master, please have another look.

shouldn't we remove the commented code in QuickNewTaskPopup?
and I agree with @manstis about the client hashCode, but that seems to be already covered. so  +1 from me


Update macOS site config to clarify the intended use

Rename macos site config to macos-monterey-llvm-clang-mpich-reference
Add macos-monterey-gcc-openmpi-reference site config
Clarify usage of these environments in their respective README.md files

I think this is good. Is this building MPICH from scratch?

No, both setups use the MPI provider (mpich in one case, openmpi in the other case) from homebrew as detailed in the README.md files.

Right, I didn't see it because that file didn't change.


docs: add Context initial section

Description
Please include a summary of the change and specify which issue is being addressed. Additionally, provide relevant motivation and context.
Type of change
Please delete options that are not relevant.

[x] Documentation (typos, code examples, or any documentation updates)
[ ] Bug fix (a non-breaking change that resolves an issue)
[ ] New feature (a non-breaking change that adds functionality)
[ ] Breaking change (a fix or feature that would disrupt existing functionality)
[ ] This change requires a documentation update

Checklist

[x] My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors)
[x] I have conducted a self-review of my own code
[x] I have made the necessary changes to the documentation
[x] My changes do not generate any new warnings
[x] I have added tests to validate the effectiveness of my fix or the functionality of my new feature
[ x Both new and existing unit tests pass successfully on my local environment by running scripts/test-cov.sh
[x] I have ensured that static analysis tests are passing by running scripts/static-anaylysis.sh
[x] I have included code examples to illustrate the modifications

merge #1088 before


Could not install from "node_modules/eth-sig-util/ethereumjs-abi@git+https:/github.com/ethereumjs/ethereumjs-abi.git" as it does not contain a package.json file.

Yes, I'm having the same problem installing bignumber.js

same mistake

Any solution?

Me too, Please solve it


Inconsistent representation of "no parameters" across parameter types

If a request has no path parameters, "PathParameters" will end up nil: https://github.com/awslabs/aws-sam-local/blob/develop/event.go#L76
However, if a request has no headers or query string parameters, "Headers" and "QueryStringParams" will end up as empty objects: https://github.com/awslabs/aws-sam-local/blob/develop/event.go#L60-L72
I noticed this inconsistency while testing one of our documented examples. See line 5 in the "products.js" snippet:
let id = event.pathParameters.product || false;

https://docs.aws.amazon.com/lambda/latest/dg/test-sam-local.html#sam-cli-simple-app
On my Amazon Linux build, pathParameters is "{}", but on Windows 10 it's "null". Either we should change the example or represent an empty set of path parameters with an empty object.

This was corrected in the 0.3.0 release. We now match Api Gateway's behavior (for the event), which is if pathParameters is not present we default to null. Closing since this has been addressed.


Reword sentence about cleanStaleWebpackAssets

@rafpaf you need to sign CLA in order to proceed

Looks like it was CLA integration issue, nvm

Thanks!


Hyper not cleaning up idle connections in some cases in a long running application and running into the file descriptor limit

Hopefully this is the right place to open this issue in, it was spotted while using reqwest but seems to be occuring due to how hyper cleans up idle connections.
Main dependencies
[[package]]
name = "tokio"
version = "1.1.1"

[[package]]
name = "reqwest"
version = "0.11.0"

[[package]]
name = "hyper"
version = "0.14.2"

System
Linux 4.14.86-gentoo Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz

Hyper idle connection cleanup
We're using reqwest at work in an application that was designed to just run forever. We also keep the same reqwest::Client around the entire time the application is running.
While doing some loads testing, all HTTP requests started failing with the following error (don't worry about the random host name, we're not actually doing anything crazy, it's from the reproduction app):
error sending request for url (http://ypni4syq24hfujpserga:8080/): error trying to connect: dns error: Too many open files (os error 24)

It seems like the following code is responsible for cleaning up idle connections - when there are too many in the pool or when they've expired due to configured timeouts: https://github.com/hyperium/hyper/blob/4d2125c67c8087de863f74278a017c4caf37e6a9/src/client/pool.rs#L591
However, IdlePopper::pop, which does the actual cleanup, is never called if we never send a request to the same domain again, leaving the connection open forever, or at least long enough that the process hits Linux's file descriptor limit which is 1024 by default.
Sample reproduction application
Sorry for the messy approach but using HOSTALIASES was the simplest/fastest way to get this working.
This application won't hit the file descriptor limit, it will just make 500 GET requests to random domains and then sleep for 2 hours, to make it easier to observe how long the connections are left open for.
https://gist.github.com/glyphpoch/3f92005ae8b7d5ea0e3722ab10414f14
Running the app:
# Start an HTTP server
python -m http.server 12030

# Run the app
export HOSTALIASES=${PATH_TO_TEST_HOSTS}/testhosts
cargo run --release

# Observe process's file descriptors
pgrep reqtest
lsof -a -p ${PID_FROM_PGREP}

Workarounds

While not ideal, recreating the reqwest::Client often, solves the issue..
Disabling connection pooling works as well, e.g.:

let client= reqwest::Client::builder()
    .pool_max_idle_per_host(0)
    .build();

Hm, there should also be an interval task spawned for the pool, which checks for expired connections every pool_idle_timeout. Is there a case where it doesn't do that? I wonder why...

If it's supposed to be spawned by PoolInner::spawn_idle_interval - https://github.com/hyperium/hyper/blob/4d2125c67c8087de863f74278a017c4caf37e6a9/src/client/pool.rs#L402 - then it looks like that's gated behind the runtime feature which is not enabled by reqwest?

Wow, that's fragile. So yea, reqwest should probably enable that feature...

Alright, thanks. I'll close this then since it's in the wrong project, sorry about that, and I'll open a new issue for reqwest.

The client itself could perform cleanup periodically during calls if spawning isn't available potentially as a fallback.


Fix hash validation code to work with '*' selector

Fixes #77
The hash type can't be determined if '*' is used, so hash validation is skipped in that case.

Codecov Report

Merging #79 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   82.11%   82.07%   -0.05%
==========================================
  Files          31       31
  Lines        4871     4865       -6
==========================================
- Hits         4000     3993       -7
- Misses        871      872       +1

Impacted Files
Coverage Δ

stix2patterns/test/v20/test_validator.py
100.00% <ø> (ø)

stix2patterns/test/v21/test_validator.py
100.00% <ø> (ø)

stix2patterns/v20/object_validator.py
100.00% <100.00%> (ø)

stix2patterns/v21/object_validator.py
100.00% <100.00%> (ø)

stix2patterns/v21/grammars/STIXPatternParser.py
79.41% <0.00%> (-0.06%)
:arrow_down:

stix2patterns/test/v20/test_inspector.py
100.00% <0.00%> (ø)

stix2patterns/test/v21/test_inspector.py
100.00% <0.00%> (ø)

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 f819fc5...40bd8ed. Read the comment docs.


Uptake latest go

Fixes #291

Codecov Report

Merging #294 (6844918) into main (fe6a40d) will increase coverage by 0.02%.
The diff coverage is 64.71%.

@@            Coverage Diff             @@
##             main     #294      +/-   ##
==========================================
+ Coverage   60.54%   60.56%   +0.02%
==========================================
  Files          41       42       +1
  Lines        4554     4571      +17
==========================================
+ Hits         2757     2768      +11
- Misses       1352     1356       +4
- Partials      445      447       +2

Impacted Files
Coverage Δ

crypto/bbs.go
64.71% <64.71%> (ø)

@andresuribe87 the update is for The new [crypto/ecdh](https://go.dev/pkg/crypto/ecdh) package provides explicit support for Elliptic Curve Diffie-Hellman key exchanges over NIST curves and Curve25519. the code we have doesn't use ECDH

@decentralgabe I was thinking of the crypto/keys.go file as below https://github.com/TBD54566975/ssi-sdk/blob/d48966db0f15c5cb32efcc4233d2eb5368adb1ee/crypto/keys.go#L93 ?

https://go.dev/pkg/crypto/ecdh

Since we're not using ECDH (just ECDSA for now) there aren't any code changes to make. When/if we uptake ECDH we'll make use of this package.


Export read_xls(), read_xlsx(): Closes #85

I'm not sure if this is the way I want to solve this problem. I think it would be more consistent with other packages (e.g. haven) to expose xls_sheets & xlsx_sheets etc.

I have some hope this will get fixed on the Shiny side (preservation of file extension and/or name).
But even so, there are several requests to handle more general forms of input (rawConnection #192, URL #183, compressed files #115), so it seems reasonable to expose read_xls() and read_xlsx() in the long run.
I'm editing the title of this PR to better reflect the content.

Thanks! Will you also add a bullet to NEWS?

Wow, thanks for coming back to this and your feedback! I did not implement
checking for the error message via regexp, since
the error message/behavior readxl gives in these cases seems not very helpful to me:
> load_all()
Loading readxl
> read_xls("tests/testthat/blanks.xlsx")
Not an excel file
 Show Traceback

 Rerun with Debug
 Error in xls_col_names(path, sheet, nskip = skip) :
  Failed to open tests/testthat/blanks.xlsx
> read_xlsx("tests/testthat/blanks.xls")
 Show Traceback

 Rerun with Debug
 Error in read_xlsx_(path, sheet, col_names = col_names, col_types = col_types,  :
  zip file '/home/jlewando/data/github/readxl/tests/testthat/blanks.xls' cannot be opened

The line "Not an excel file" is printed from src/ole.c and not passed up as an error.
I wonder if there is a good solution to check for the filetypes up front which is not extension based...?
Regarding the reading from URLs, rawConnection, ... I took a look at it seems like the Cpp is written
to read from paths. So I think one solution would be to expand check_file to take any
of these types, and always return a path. I.e. download/write/... transform the input. Do you see a better solution?

I did not implement checking for the error message via regex

Yeah, I agree the error messages aren't great for the user, but let's drop Not an excel file and zip file '\\.+' cannot be opened in there anyway. I'll try to improve that situation when I'm in the right neighbourhood.

Regarding the reading from URLs, rawConnection...

I think the solution for this might reside outside of readxl. In any case, it's not an immediate goal. I just brought it up because it's more justification for exporting read_xlsx() and read_xls(). It will need to happen eventually anyway. Even with their current functionality, we can at least work around Shiny stripping the file extension!


Order of "types" for generic benchmark is off

When setting up a generic benchmark using the types macro argument I noticed that the order is not respected when the benchmark runs and the types in question are generic.
With an invocation like so:
#[divan::bench(types = [U256, U1024, U2048, U4096])
fn gcd<T>(bencher: Bencher<'_, '_>) {
  // SNIP
}

…I would expect the benchmark to run over the types in the order listed (U256, U1024, U2048, U4096). Instead, what I see is:
divan              fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ benches                       │               │               │               │         │
   ╰─ gcd                        │               │               │               │         │
      ├─ Uint<16>  199.8 ns      │ 3.569 µs      │ 223.7 ns      │ 228.2 ns      │ 273839  │ 2190712
      ├─ Uint<32>  274.9 ns      │ 4.593 µs      │ 322.7 ns      │ 327.9 ns      │ 320700  │ 1282800
      ├─ Uint<4>   140.3 ns      │ 1.21 µs       │ 155.9 ns      │ 157.5 ns      │ 273881  │ 4382096
      ╰─ Uint<64>  468.4 ns      │ 4.889 µs      │ 520.7 ns      │ 531 ns        │ 168361  │ 673444

What seems to be happening is that the proc macro resolves the types into Uint<const L: usize> and then orders them lexicographically (?) such that the "4" in "Uint<4>" ends up after "Uint<16>".
Is this something that is easy to fix? I think the least surprising behaviour would be to respect the order entered, e.g. types = [Vec<u8>, ZedType, AbcType] would run using first Vec<u8>, then ZedType and lastly AbcType.

This will be fixed in the next release soon. Thanks for pointing it out!


Proposal: Use 'portable' IPs to enable manual networking with the SL CPI

This code allows a user to assign an IP to a bosh job from a subnet that is associated with the public or private vlan for the VM.  This is not code I expect to have merged - this is an approach I'd like to discuss to see if something like it makes sense.
Why? Two reasons:

The spiff templates in cf-release make heavy use of static IPs. These IPs are then propagated to deployed jobs via properties to other jobs in the release. For example, three etcd workers are deployed via cf-release and their IP addresses are populated into a list called etcd-machines that all etcd clients use to build their client configurations. There's no way to use or simulate them in the CPI today.
When a SL VM needs to be recreated, the IP address can be lost so once a VM has been allocated and its address propagated, teams begin to avoid operations that recreate a VM.

Without other changes, we still can't deploy cf-release to SL with the existing templates in cf-release.
We've also found that there are bugs in spiff when dealing with multiple networks and there appear to be some odd differences in how bosh sends the network spec to an agent between the director flow and the micro-bosh flows. (In particular, manual networks have their type attribute omitted when provided to the cpi's create_vm operation.) These all contribute to issues with deploying a pristine cf-release.
Note: This code makes use of go 1.6 template features but the cpi release is still using go 1.5. You should consider upgrading.

also why are we rewriting interfaces file?
Sent from my iPhone

On Jun 20, 2016, at 6:01 AM, Matthew Sykes<EMAIL_ADDRESS>wrote:
This code allows a user to assign an IP to a bosh job from a subnet that is associated with the public or private vlan for the VM. This is not code I expect to have merged - this is an approach I'd like to discuss to see if something like it makes sense.
Why? Two reasons:
The spiff templates in cf-release make heavy use of static IPs. These IPs are then propagated to deployed jobs via properties to other jobs in the release. For example, three etcd workers are deployed via cf-release and their IP addresses are populated into a list called etcd-machines that all etcd clients use to build their client configurations. There's no way to use or simulate them in the CPI today.
When a SL VM needs to be recreated, the IP address can be lost so once a VM has been allocated and its address propagated, teams begin to avoid operations that recreate a VM.
Without other changes, we still can't deploy cf-release to SL with the existing templates in cf-release.
We've also found that there are bugs in spiff when dealing with multiple networks and there appear to be some odd differences in how bosh sends the network spec to an agent between the director flow and the micro-bosh flows. (In particular, manual networks have their type attribute omitted when provided to the cpi's create_vm operation.) These all contribute to issues with deploying a pristine cf-release.
Note: This code makes use of go 1.6 template features but the cpi release is still using go 1.5. You should consider upgrading.
You can view, comment on, or merge this pull request online at:
https://github.com/cloudfoundry/bosh-softlayer-cpi/pull/130
Commit Summary
Spike on sl network config generation from manual network
File Changes
M action/concrete_factory.go (3)
M action/concrete_factory_test.go (3)
M action/create_vm.go (28)
A softlayer/vm/fakes/fake_sl_file_service.go (77)
A softlayer/vm/fakes/fake_softlayer_client.go (81)
A softlayer/vm/fakes/fake_ssh_client.go (72)
M softlayer/vm/network.go (17)
M softlayer/vm/softlayer_creator.go (58)
M softlayer/vm/softlayer_creator_test.go (8)
A softlayer/vm/ubuntu.go (312)
A softlayer/vm/ubuntu_test.go (638)
A test_fixtures/softlayer/SoftLayer_Virtual_Guest_Service_getObject_customNetwork.json (171)
Patch Links:
https://github.com/cloudfoundry/bosh-softlayer-cpi/pull/130.patch
https://github.com/cloudfoundry/bosh-softlayer-cpi/pull/130.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@cppforlife: because you don't have support in the agent to do what's needed. You don't support aliases and I didn't see any support for custom routes.

Tracker chore 121895629 to investigate this proposal

@syekesm,
Thanks for your good explanation and insights to SL portable ip, CPI, cf deployment etc.
We will get to work on it, so could you please send me a copy of your cf deployment manifest which you want to deploy to SL? Thanks!

@jianqiu - I'm trying to deploy cf-release. The templates for the release and various infrastructures are there. You'll need to generate a manifest from that information as that's all an open source user gets.
This is the infrastructure template I was playing with. You can use it as a starting point if you wish:
meta:
  environment: ~

  stemcell: (( merge || .meta.default_stemcell ))

  default_stemcell:
    # https://s3.amazonaws.com/bosh-softlayer-cpi-stemcells/light-bosh-stemcell-3215-softlayer-esxi-ubuntu-trusty-go_agent.tgz
    name: light-bosh-stemcell-3215-softlayer-esxi-ubuntu-trusty-go_agent
    version: latest

  resource_pools: (( merge ))

networks: (( merge ))

properties:
  <<: (( merge ))
  logger_endpoint:
    port: 4443

  cc: (( merge ))

  uaa:
    clients: (( merge ))

  dea_next:
    deny_networks: (( merge || nil ))
    allow_networks: (( merge || nil ))

  ccdb:
    address: (( jobs.postgres_z1.networks.cf1.static_ips.[0] ))
    databases:
    - name: ccdb
      tag: cc
    db_scheme: postgres
    port: 5524
    roles:
    - name: ccadmin
      password: (( merge ))
      tag: admin

  uaadb:
    address: (( jobs.postgres_z1.networks.cf1.static_ips.[0] ))
    databases:
    - name: uaadb
      tag: uaa
    db_scheme: postgresql
    port: 5524
    roles:
    - name: uaaadmin
      password: (( merge ))
      tag: admin

  databases:
    db_scheme: postgres
    address: (( jobs.postgres_z1.networks.cf1.static_ips.[0] ))
    port: 5524
    roles:
      - tag: admin
        name: ccadmin
        password: (( merge ))
      - tag: admin
        name: uaaadmin
        password: (( merge ))
    databases:
      - tag: cc
        name: ccdb
        citext: true
      - tag: uaa
        name: uaadb
        citext: true
    collect_statement_statistics: null
    additional_config: (( merge || nil ))

compilation:
  workers: 3
  network: cf1-dynamic
  reuse_compilation_vms: true
  cloud_properties: (( merge || meta.resource_pools.medium.cloud_properties ))

resource_pools:
  - name: small_z1
    cloud_properties: (( merge || meta.resource_pools.small.cloud_properties ))

  - name: small_z2
    cloud_properties: (( merge || meta.resource_pools.small.cloud_properties ))

  - name: medium_z1
    cloud_properties: (( merge || meta.resource_pools.medium.cloud_properties ))

  - name: medium_z2
    cloud_properties: (( merge || meta.resource_pools.medium.cloud_properties ))

  - name: large_z1
    cloud_properties: (( merge || meta.resource_pools.large.cloud_properties  ))

  - name: large_z2
    cloud_properties: (( merge || meta.resource_pools.large.cloud_properties  ))

  - name: runner_z1
    cloud_properties: (( merge || meta.resource_pools.large.cloud_properties  ))

  - name: runner_z2
    cloud_properties: (( merge || meta.resource_pools.large.cloud_properties  ))

  - name: router_z1
    cloud_properties: (( merge || meta.resource_pools.medium.cloud_properties  ))

  - name: router_z2
    cloud_properties: (( merge || meta.resource_pools.medium.cloud_properties  ))

# This is a simple config without redundancy.
jobs:
  - name: nats_z1
    instances: 1
    networks:
    - name: cf1-dynamic
    - name: cf1
      static_ips: (( static_ips(2) ))
      default: [dns, gateway]

  - name: nfs_z1
    instances: 0
    networks:
    - name: cf1-dynamic
    - name: cf1
      static_ips: (( static_ips(3) ))
      default: [dns, gateway]

  - name: blobstore_z1
    instances: 1
    networks:
    - name: cf1-dynamic

  - name: postgres_z1
    instances: 1
    networks:
    - name: cf1-dynamic
    - name: cf1
      static_ips: (( static_ips(4) ))
      default: [dns, gateway]

  - name: router_z1
    instances: 1
    networks:
    - name: cf1-dynamic
    - name: cf1
      static_ips: (( static_ips(5) ))
      default: [dns, gateway]

  - name: loggregator_z1
    instances: 0
    networks:
    - name: cf1-dynamic

  - name: doppler_z1
    instances: 1
    networks:
    - name: cf1-dynamic

  - name: loggregator_trafficcontroller_z1
    instances: 1
    networks:
    - name: cf1-dynamic

  - name: etcd_z1
    instances: 1
    networks:
    - name: cf1-dynamic
    - name: cf1
      static_ips: (( static_ips(8, 9, 10) ))
      default: [dns, gateway]

  - name: consul_z1
    instances: 1
    networks:
    - name: cf1-dynamic
    - name: cf1
      static_ips: (( static_ips(12, 13, 14) ))
      default: [dns, gateway]

  - name: nats_z2
    instances: 0
    networks:
    - name: cf2-dynamic
    - name: cf2
      static_ips: (( static_ips(2) ))
      default: [dns, gateway]

  - name: router_z2
    instances: 0
    networks:
    - name: cf2-dynamic
    - name: cf2
      static_ips: (( static_ips(5) ))
      default: [dns, gateway]

  - name: etcd_z2
    instances: 0
    networks:
    - name: cf2-dynamic
    - name: cf2
      static_ips: (( static_ips(8, 9, 10) ))
      default: [dns, gateway]

  - name: consul_z2
    instances: 0
    networks:
    - name: cf2-dynamic
    - name: cf2
      static_ips: (( static_ips(12, 13, 14) ))
      default: [dns, gateway]

  - name: loggregator_z2
    instances: 0
    networks:
     - name: cf2-dynamic

  - name: doppler_z2
    instances: 0
    networks:
    - name: cf2-dynamic

  - name: loggregator_trafficcontroller_z2
    instances: 0
    networks:
    - name: cf2-dynamic

  - name: uaa_z2
    instances: 0

  - name: api_z2
    instances: 0

  - name: api_worker_z2
    instances: 0

  - name: hm9000_z2
    instances: 0

  - name: runner_z2
    instances: 0

This is the part of the stub that I used with the multiple networks:
---
director_uuid: 9489a253-16f8-4dd4-b2d0-d7ac38a646b7

meta:
  environment: cf-furnace

  resource_pools:
    small:
      cloud_properties:
        Bosh_ip: <IP_ADDRESS>
        Domain: softlayer.com
        VmNamePrefix: bosh-furnace
        EphemeralDiskSize: 20
        StartCpus: 2
        MaxMemory: 2048
        NetworkComponents:
        - MaxSpeed: 1000
        Datacenter:
          Name: dal09
        HourlyBillingFlag: true
        PrivateNetworkOnlyFlag: true
        PrimaryBackendNetworkComponent:
          NetworkVlan:
              Id: 1113235
    medium:
      cloud_properties:
        Bosh_ip: <IP_ADDRESS>
        Domain: softlayer.com
        VmNamePrefix: bosh-furnace
        EphemeralDiskSize: 20
        StartCpus: 4
        MaxMemory: 4096
        NetworkComponents:
        - MaxSpeed: 1000
        Datacenter:
          Name: dal09
        HourlyBillingFlag: true
        PrivateNetworkOnlyFlag: true
        PrimaryBackendNetworkComponent:
          NetworkVlan:
              Id: 1113235
    large:
      cloud_properties:
        Bosh_ip: <IP_ADDRESS>
        Domain: softlayer.com
        VmNamePrefix: bosh-furnace
        EphemeralDiskSize: 20
        StartCpus: 4
        MaxMemory: 8192
        NetworkComponents:
        - MaxSpeed: 1000
        Datacenter:
          Name: dal09
        HourlyBillingFlag: true
        # PrivateNetworkOnlyFlag: true
        PrimaryBackendNetworkComponent:
          NetworkVlan:
              Id: 1113235

networks:
- name: cf1
  type: manual
  subnets:
  - range: <IP_ADDRESS>/26
    gateway: <IP_ADDRESS>
    reserved:
    - <IP_ADDRESS>
    - <IP_ADDRESS>
    - <IP_ADDRESS>
    static:
    - <IP_ADDRESS>-<IP_ADDRESS>
    dns:
    - <IP_ADDRESS>
    - <IP_ADDRESS>
- name: cf1-dynamic
  type: dynamic
  dns:
  - <IP_ADDRESS>
  - <IP_ADDRESS>
- name: cf2
  type: manual
  subnets:
  - range: <IP_ADDRESS>/26
    gateway: <IP_ADDRESS>
    reserved:
    - <IP_ADDRESS>
    - <IP_ADDRESS>
    - <IP_ADDRESS>
    static:
    - <IP_ADDRESS>-<IP_ADDRESS>
    dns:
    - <IP_ADDRESS>
    - <IP_ADDRESS>
- name: cf2-dynamic
  type: dynamic
  dns:
  - <IP_ADDRESS>
  - <IP_ADDRESS>

properties:
  ...

@sykesm
Thanks！We will use the manifest for trial！

As expected with the merge of #127 this one will need to be rebased.

Closing based on @jianqiu #134 and also because we want this to move to develop_v3


uv venv --seed doesn't seem to be installing setuptools for pypy

Not sure whether title is "correct" here, but it presents that way.
Alembic is illustrative here, I've also had this occur with psycogreen, psycopg2cffi, flask-migrate, docopt (this is a non-exhaustive list)
With CPython (using rye to ensure same python version)
> uv venv --python<EMAIL_ADDRESS>--seed
Using Python 3.9.16 interpreter at<EMAIL_ADDRESS>Creating virtualenv at: .venv
 + setuptools==69.1.0
 + pip==24.0
 + wheel==0.42.0

> source .venv/bin/activate
> python3 --version
Python 3.9.16

> uv pip install alembic==1.0.11
Resolved 9 packages in 12ms
Installed 9 packages in 8ms
 + alembic==1.0.11
 + greenlet==3.0.3
 + mako==1.3.2
 + markupsafe==2.1.5
 + python-dateutil==2.8.2
 + python-editor==1.0.4
 + six==1.16.0
 + sqlalchemy==2.0.27
 + typing-extensions==4.9.0

With PyPy (This also occurs with system PyPy, not just rye managed)
> uv venv --python<EMAIL_ADDRESS>--seed
Using Python 3.9.16 interpreter at<EMAIL_ADDRESS>Creating virtualenv at: .venv
 + setuptools==69.1.0
 + pip==24.0
 + wheel==0.42.0

> source .venv/bin/activate
> python3 --version
Python 3.9.16 (feeb267ead3e6771d3f2f49b83e1894839f64fb7, Dec 29 2022, 14:23:21)
[PyPy 7.3.11 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]

> uv pip install alembic==1.0.11
Resolved 9 packages in 11ms
error: Failed to download distributions
  Caused by: Failed to fetch wheel: greenlet==3.0.3
  Caused by: Failed to build: greenlet==3.0.3
  Caused by: Build backend failed to determine extra requires with `build_wheel()`:
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 4, in <module>
ModuleNotFoundError: No module named 'setuptools'
---

> # Next one included since error is slightly different
> uv pip install alembic==1.0.11 --index-url <index with prebuilt pypy wheels>
error: Failed to download and build: alembic==1.0.11
  Caused by: Failed to build: alembic==1.0.11
  Caused by: Build backend failed to determine metadata through `prepare_metadata_for_build_wheel`:
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 4, in <module>
ModuleNotFoundError: No module named 'setuptools'
---

I think this is a general issues with build requirements in PyPy. See also https://github.com/tox-dev/tox-uv/issues/15.

With https://github.com/astral-sh/uv/pull/2094 merged, I was able to run your original set of steps successfully. Could you try again when the next release is out? (Or build from main if you want to try earlier.) If it still doesn't work, it might help to share a bit more about your environment. Linux? macOS? And show the output of RUST_LOG=trace uv pip install -v ....

This actually might be fixed... Let's see.

So this does seem to work for us now, we're able to install all our dependencies on PyPy and so far our tests seem to pass (haven't had time to run the full test suite though).

Okay cool -- closing for now but if you run into other PyPy issues, please file.


x/website: clicking "share" on the playground reloads the entire page

I'm fairly sure this did not happen with the old play.golang.org - it would simply update the URL in the browser bar and in the "share" textbox, but it wouldn't reload the entire page.
I don't lose any code with the reload, but it's still slightly distracting. Particularly since the code takes nearly a second for me to fully render again, so the site becomes unusable while it's doing the presumably unnecessary reload.

Switching between the built-in examples sort of has the opposite problem. The code does change without a full reload, but the URL doesn't change, so it remains on whatever URL I got from my last click of "share".

Similar: https://github.com/golang/go/issues/49742.
But that issue doesn't mention the problem described in the first comment here:

Switching between the built-in examples sort of has the opposite problem. The code does change without a full reload, but the URL doesn't change, so it remains on whatever URL I got from my last click of "share".

Yes, apparently I didn't notice that the whole page actually reloaded and assumed it was some sneaky history modification in my issue. It definitely reloads everything and removes the output.


datalad: init at 0.16.2

Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Hi @renesat
LGTM as I maintained a derivation for datalad for some time without finding time to polish it.
(https://github.com/dguibert/nixpkgs/blob/pu/pkgs/development/python-modules/datalad/default.nix)
Your derivation is up to date and works as expected. Thx

Result of nixpkgs-review pr 171302 run on x86_64-linux 1

1 package built:

datalad

@SuperSandro2000 Maybe you can check this package ?

Fix shell-completion (git requirements) and update version

LGTM, just change the commit message: 0.16.2 -> 0.16.5


Remove instructions on extra_applications

Elixir auto-detects the applications in your dependencies and you no longer need to explicitly specify :extra_applications in mix.exs as a result.
https://hexdocs.pm/mix/Mix.Tasks.Compile.App.html

Coverage increased (+0.5%) to 76.19% when pulling 1b7b5152ea9890f6a1976c62116026544a45ba72 on sparkertime:master into 0dde130fb747c1e531fd1b68b44b3b070b4f58a7 on Nebo15:master.

Thank you, this is a good improvement for the docs. That code left from times where we supported multiple encoders :).


Crash on Server (java.lang.ClassNotFoundException: gregfluxologyCommonProxy) [Cleanroom]

Hello, upon loading this mod on the server. The server crashes with the following report:
crash-2024-10-11_08.23.25-server.txt
We are using Cleanroom which could be part of the issue. But it works in this environment in single-player. Any ideas?
debug.log

hmmm
it worked fine for me
will check this later


TreeView.reveal not collapse the TreeItem

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.64.0-insider (Universal) Commit: 16856037e075275f53b25b7e2dec2303e8e25728
OS Version: macOS 11.3

Steps to Reproduce:

using _tree.reveal(node, { select: true, focus: true }) with node has set node.collapsibleState == Expanded
using _tree.reveal(node, { select: true, focus: true }) with node has set node.collapsibleState == Collapsed

The treeItem is expanded at first but never collapsed.
My TreeNode has a unique id set.
here my listener i user to select and focus a node, the node has the correct  collapsibleState but collapse is not working
let revealQueue = Promise.resolve();

this._treeProvider.onDidChangeSelection(node => {
            if (node) {
                console.log(`Select node ${node.name} ${node.collapsibleState}`);
                revealQueue = revealQueue.then(() => this._tree.reveal(node, { select: true, focus: true }));
            } else {
                this._tree.selection.map(async node => {
                    revealQueue = revealQueue.then(() => this._tree.reveal(node, { select: false }));
                });
            }
        });

The console output looks like. Starting with BoolAssertTest == Expanded and finally == Collapsed.
The child nodes has  collapsibleState == NONE
Select node BoolAssertTest 12
Select node IsTrue 0
Select node IsFalse 0
...

Select node Interrupt_IsFailure 0
Select node BoolAssertTest 1

if it need you can inspect my extension https://marketplace.visualstudio.com/items?itemName=mikeschulze.gdunit3

Once the tree is has been rendered you cannot update the collapsibleState as this could interfere with the collapse/expand state that the user has set.

Sorry the API of tree.reveal() is the supposed method to control select and expand state. It acceptes a flag for expandt (true|false) to for my understanding this is the related method to control the expand state via a program.
Why this shold not allowed?


Upgrade Linux Containerd to 1.7.4

We have Containerd shim leak issue in recent months(MS support case<PHONE_NUMBER>001083), seems it is fixed in Containerd 1.7.4, this issue has big impact in our use case. Do you have plan to upgrade Containerd？
https://github.com/containerd/containerd/releases/tag/v1.7.4
https://github.com/containerd/containerd/pull/9003

@zhiweiv, AKS tried to pick up Windows containerd 1.7 but is blocked by some issues in containerd 1.7. Could you file an issue in https://github.com/containerd/containerd to ask to backport this fix to containerd v1.6?

Actually the issue is on Linux node, not Windows this time.

Any update?

@zhiweiv, @AbelHu, for Ubuntu 22.04 and 20.04, latest images already use containerd1.7.5: https://github.com/Azure/AgentBaker/blob/343912a3938835dc5293249718f1a8785cdde334/parts/linux/cloud-init/artifacts/manifest.json#L10C18-L10C26, so that should have the fix

Confirmed AKSUbuntu-2204gen2containerd-202310.04.0 brings containerd://1.7.5-1, thanks very much.


feat: adding keyboard support

Status
READY
Description

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

@eliasreis54 merging this so I can progress with some additional stuff that needs the keyboard feature. But feel free to comment any stuff that I can handle in a follow up!


test pass test

background
test is failed.
todo list

[x] fix rubocop
[x] pass test
[x] update ruby version

not suppport rails 4.x
rails 4.x has severe security issues, so it's not better to use.

https://guides.rubyonrails.org/maintenance_policy.html#severe-security-issues

@fnando test is failed, so  I fixed it :)

Thanks! I fixed rubocop issues upstream because there a few conflicts.


refactor: file creation

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behaviour?
You can also link to an open issue here.
What is the new behaviour?
...
Does this PR introduce a breaking change?
What changes might users need to make in their application due to this PR?
Other information:
Please check if the PR fulfills these requirements:

[ ] Tests for the changes have been added
[ ] Docs have been added / updated
[ ] Relevant Changeset has been added

coverage: 100.0%. remained the same when pulling 286618b9f39ac633f8b0df1d2207f9e09b7b736f on refactor-file-creation into 7dafc2a44c60d275f390d19e11fd9fe4c96e7a8c on master.


Bumping up direct dependency

Bumping up direct dependency so that indirect dependency of "gogo/protobuf" gets upgraded to 1.3.2 or more.

release v0.40.0


call service error：Worker (pid:30345) was sent SIGKILL! Perhaps out of memory?

after run python server_application.py, the server cannot work properly.

use curl to call demo service，but always return error:
curl http://<IP_ADDRESS>:8000/service_run -X POST --header "Content-Type: application/json;charset=UTF-8" -d '{"service_id":"demo_service", "params":{"input":"Your input text here"}}'
curl: (52) Empty reply from server
Also another problem:
the project cannot be closed properly after started, hang at shutting down
[2024-05-30 17:12:26 +0800] [30341] [INFO] Shutting down: Master
Please help to check what's the problem.
Thanks.

In higher versions of macOS, Apple has introduced a stricter security mechanism to prevent unsafe behavior when calling Objective-C objects after forking, which has caused conflicts with gunicorn. You can resolve this by:

Setting the environment variable: export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
If you are using PyCharm, you can refer to the following image:

We will set flask as default web server on mac platform in our next version,  and user can switch between flask and gunicorn with extra param in start_web_server


Dependency Diagram & Swagger Changes

Made some changes to swagger, more to come.
Adding dependency diagram as agreed across agencies

Nice diagram @LachlanMcK though the text is too hard to read.


use HasChange/HasChanges and IsNewResource to reduce ATC HTTP calls

A more extensive use of d.HasChange, d.HasChanges, and d.HasChangesExcept to only make necessary HTTP calls when creating/updating pipelines and teams.
Also, use d.IsNewResource to explicitly detect when a resource is new.
IMO the explicit nature of d.IsNewResource() vs d.Id() == "" makes the intent of the if more explicit.
Also, I think the more liberal use of d.HasChange/d.HasChanges/d.HasChangesExcept makes the intended control flow of the create/update more explicit, too.
Also includes changes from #47 w.r.t. ForceNew on the pipeline resource schema.
WDYT?

I will clean this up now that other PRs are being merged :)

This is not important for a new release... it's just performance improvements.


Does the weight file support exporting onnx?

Without modifying the model source code.

You can consider using torch.onnx.export for conversion.

@longzw1997 @BIGBALLON
I am trying to export to onnx and having troubles with the **kw in the forward function.
input = (image[None], {"caption":[caption]})
torch.onnx.export(model, input, "gdinot-1.8m-odvg.onnx", input_names=["samples", "kw"], output_names=["pred_logits", "pred_boxes"])

It keep is not passing the dict into **kw. I have also tried passing the caption using the targets argument but it also generated another error.
Please advice.

Without modifying the model source code.

可以参考你的torch.onnx.export如何设置吗，我遇到了这个问题RuntimeError: _Map_base::at。

result = self.forward(*input, **kwargs)
TypeError: forward() takes from 2 to 3 positional arguments but 9 were given
出现这个错误


Added "Duplicate connection" action

Changes
Resolves https://github.com/codefori/vscode-ibmi/issues/1925
This PR adds the Duplicate... action on the connections browser items:

When run, it will prompt the user for the new connection name. If a new, non existing name is provided, the login settings will be duplicated as well as the connection parameters, except the following fields:

homeDirectory
currentLibrary
libraryList
objectFilters
ifsShortcuts
customVariables
commandProfiles
connectionProfiles

But maybe this should be optional to keep them when duplicating? 🤔
@chrjorgensen your Danish translations will be much appreciated 😉
How to test this PR

Run the action on a connection
Check it doesn't allow to use an existing name for the new connection
Check if the settings have been duplicated (except filters, profiles, etc)
Check if the new connection works

Checklist

[x] have tested my change

I agree with your points @chrjorgensen. I think I initially chose Duplicate... because Copy makes me think of copy/paste; but that would not be consistent with the rest, so....Copy... it is!
Point 2 answers my initial question, so let's do this.
And the password will be copied as well!

@chrjorgensen done as asked 😄  Let me know what you think!

@chrjorgensen : but of course 😉
The second dialog shows "from xxx to yyy" now and the prompts are now connected to create a workflow.

@sebjulliand Works like a charm! ❤
Sorry for my mistake: I remembered the multistep sample with step count and back arrow and thought it was available in standard API - but it is not. This is fine, Esc will go back in this multistep dialog.
You don't copy the cached server settings - I guess that's a deliberate choice of yours...
I translated the texts into Danish - and added quotes around the connection name parameter, since the name can contain spaces and should be quoted.
Looking good to me - approved! 🎉
Merge when you feel for it. 👍

Thank you @chrjorgensen ! Indeed not copying the cache is deliberate. It doesn't hurt starting from fresh just once for a new connection, just to be on the safe side. And it didn't feel right to copy a cache anyway. Thanks for the translation and the reviews! Let's merge 🥳


Calculation report

Hello
There is any report for calculation of BOM or calculation of whole stock amounts if price information is available on purchasing order?
Second question is
Is the program can be work based on periodicity princible? Can I close all records the end of year and transfer them to new year and start with them?
Thanks in advance

Hello @neco1982

There is any report for calculation of BOM or calculation of whole stock amounts if price information is available on purchasing order?

I believe @SchrodingersGat added the ability to track the purchase price of stock items in #1117 (related to #1075)
So yes, in theory this should work 😃

Second question is
Is the program can be work based on periodicity princible? Can I close all records the end of year and transfer them to new year and start with them?

Unfortunately I don't think there is such feature implemented, you'll have to close your orders manually and re-open them.
Maybe a "duplicate" function should be added to orders to ease this process, also could be nice for repeating orders.

There is any report for calculation of BOM or calculation of whole stock amounts if price information is available on purchasing order?

Do you mean a report of the purchase price of "stock on hand", or a report of the "expected cost" of a Bill of Materials?

Is the program can be work based on periodicity princible? Can I close all records the end of year and transfer them to new year and start with them?

Can you explain (or link to) the periodicity principle?
What "records" are you looking to close and re-open?

There is any report for calculation of BOM or calculation of whole stock amounts if price information is available on purchasing order?

Do you mean a report of the purchase price of "stock on hand", or a report of the "expected cost" of a Bill of Materials?

Is the program can be work based on periodicity princible? Can I close all records the end of year and transfer them to new year and start with them?

Can you explain (or link to) the periodicity principle?
What "records" are you looking to close and re-open?

3 Oca 2021 Paz, saat 14:32 tarihinde Oliver<EMAIL_ADDRESS>şunu
yazdı:

There is any report for calculation of BOM or calculation of whole stock
amounts if price information is available on purchasing order?
Do you mean a report of the purchase price of "stock on hand", or a report
of the "expected cost" of a Bill of Materials?

Yes what i am looking

Is the program can be work based on periodicity princible? Can I close all
records the end of year and transfer them to new year and start with them?

Can you explain (or link to) the periodicity principle?
What "records" are you looking to close and re-open?

It is something like accountuancy program. records are closed the end of
year and closing records becames opening record in new year.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/inventree/InvenTree/issues/1187#issuecomment-753603253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHRLQ3RSBJGG7VNOXJEW5VDSYBIVDANCNFSM4VMPQUVA
.

3 Oca 2021 Paz, saat 14:32 tarihinde Oliver<EMAIL_ADDRESS>şunu
yazdı:

There is any report for calculation of BOM or calculation of whole stock
amounts if price information is available on purchasing order?
Do you mean a report of the purchase price of "stock on hand", or a report
of the "expected cost" of a Bill of Materials?

Yes what i am looking

Is the program can be work based on periodicity princible? Can I close all
records the end of year and transfer them to new year and start with them?

Can you explain (or link to) the periodicity principle?
What "records" are you looking to close and re-open?

It is something like accountuancy program. records are closed the end of
year and closing records becames opening record in new year.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/inventree/InvenTree/issues/1187#issuecomment-753603253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHRLQ3RSBJGG7VNOXJEW5VDSYBIVDANCNFSM4VMPQUVA
.

Closing due to inactivity


Add support for unlogged tables

Closes: #777.

@austindrenski with https://github.com/aspnet/EntityFrameworkCore/issues/14374 done you can probably simplify our table migrations generator.

@roji, he opened #815 for that.

Thanks, am just catching up on issues...


[BUG/ISSUE] flickering in the new settings menu

Video: 2022-10-29 19-04-50.zip

This seems to appear randomly (I did different actions in the picture and in the video) and it is not so common
PS: I actually clicked remove scoop in the video, but OBSStudio didn't show it
By the way, the new menu is quite beautiful!

I believe 1.5.1 fixed this

that must have been then the update to qt 6.4

I am facing this problem again on 1.5.2. Is this QT's fault?

yes. it is an intermittent issue caused by the renderer.
I also faced this issue in other qt apps.


Feat/upload dataset b2

This PR prepares the dataset B2 for upload into the baby_names table in postgres.

Duplicate with https://github.com/statistikZH/statbotData/pull/131


Update my mods

This is the first time I add/update a netkan file, but I followed the wiki to do this.
So hope this is correct

For CargoTransportationSolutions.netkan
Less is more: Keep the depends and suggests but drop the info that netkan scrapes from KerbalStuff (name, abstract, author, ksp_version, resources). The reason we don't want extra information hardcoded is that if you change things on the KerbalStuff page they won't be reflected in CKAN (of extra importance is not hardcoding ksp_version since it'll version-lock your mod until the netkan itself is updated rather than when you upload a new version on kerbalstuff and update the information there. The filter in the install stanza is my personal mistake, I use a template for adding mods and I forgot to remove this line.
For LTechUnofficial.netkan largely the same as CargoTransportationSolutions with the additional note that I see you want to add a $vref but I don't see a .version file in the .zip.
For Olympic1ARPIcons.netkan I'm rushing this IRL because I'm heading out: I see that in the github page you mention "(Install at least one of these mods to see the icons)". Does that mean your mod breaks without access to at least one of those?
I get the sense that for all 3 mods you used the GitHub section of the wiki guide while the KerbalStuff section is more appropriate for CargoTransport and LTech.

Thx for the feedback, I'll fix it.
As for the icons: my mod doesn't break if the recommended mods aren't installed but otherwise the icons are useless. I'll probably add a :NEEDS[MOD] check so they only apply if the respective mod is installed. (I'll need to discuss this with TriggerAu)

spec_version needs to be v1.4 for each.
spec_version is the version of the CKAN spec required to use the commands in the metadata. In these cases find requires v1.4 to work.

I fixed the spec_version and removed the ARP Icons file as it gave some trouble

I would happily merge this as is, but it looks like you deleted Olympic1ARPIcons.netkan so it would only change CargoTransportationSolutions.netkan and LTechUnofficial.netkan`.
As for adding the spec_version for different commands I like the suggestion. In order to find the right place to add it, I'm curious how you found out about it? The find command isn't anywhere in the wiki entry.

I'm planning to change ARP Icons, so I'll wait to add the current version to CKAN to after the update.
As for the find command, someone said that if your identifier is not the same as the name of the mod folder, you should use the find command to search for your custom foldername instead of the file command. So I used that command without knowing that you then also have to use "spec_version" : "v1.4"
I only find out recently that you still could use the file command to install foldernames that aren't the same as the identifier.

Oki thanks for the background and thanks for the contributions, merging with my thanks.


Changed all occurances of role.economic-committee to role.economic-vice-president

#110

Would not be better to display student council checkout in the navbar and titles?


feat: added waf association

Hi @dchocoboo, the check format job failed. The rest looks great to me.


Change some config

Change word of palo to doris in conf file.
Set backend data path to ${DORIS_HOME}/doris-data by default, in order to start quickly.

If is necessary to change binary name from palo_be to doris_be, palo_fe to doris_fe ?

If is necessary to change binary name from palo_be to doris_be, palo_fe to doris_fe ?

Maybe in another PR.


Should not render on mobile

Ledger should only render on desktop.
https://github.com/EOSIO/ual-ledger/blob/bf810dbb3f39225025a907a7c79146d22a03f3e5/src/Ledger.ts#L41

Issue resolved in #17


README incorrectly describes video as "Learning Blockchain Application Development".

README.md incorrectly describes video Learning Blockchain Application Development instead of Learning Rust.  However, the source code archive does belong to Learning Rust.

We have updated the README, thank you for notifying us.
You can post us the review of the course as well.

README is updated. Thanks for posting the query.


End of API beta phase

I just asked to expend the validity of my API key and got this response:

Thanks for contacting Casambi support.

Your Casambi API-key is/was already set to be valid until the current end of the Beta fase, which is 31st of May 2023.

Any idea what happens after the end of the beta?

There Casambi API-key will likely become a paid service after the beta phase. For this we don't have any details yet, but customers with an existing beta API-key will likely be informed regarding the matter closer to the end of the beta phase.

No idea, I have only been hearing that they are moving to a payed plan, I hope they still have a free starter plan for small deployments. I for instance it not interested in paying a plan to pay for having a phone connected to a cloud api.
If that's the case I will probably move to casambi-bt, the library didn't work last time I checked it out. But it looks like it started going again (more project activity).
So I hope they keep it free of charge for personal use 🙂

It has also been discussed in this project: https://github.com/awahlig/homebridge-casambi/issues/9 , but they have been quite about the different tiers (if any that is).

I hope they will stick to: https://casambi.com/wp-content/uploads/2020/04/casambi-cloud-API-online.pdf
Small scale use is free.
Data access fee for wider
production deployments.

Thanks for the slide deck, hope they keep to what they are saying, a pay wall would definitely be a deal breaker for me 🙂

They told me that at plan end of Beta, I'll have to ask again for a key. Most probably, it won't be ready in May anyway. So... And indeed, should be free for small deployment. Let's hope.

Same here, asked for key and got:
Dear Nico,

Thank you for contacting Casambi support.

I'm sorry to say that our API service is in the BETA phase, which means we have granted limited access to new features that we are currently developing and testing. We will not be onboarding new test-phase users for the time being, unfortunately.

Apologies for any inconvenience.

Got an update:
•	The current end of the beta phase is 31st of May 2023, when the beta will either be extended (along with likely more users), or then we'll release the full version of the API-key - which will likely be a paid service.
So no Casambi for me.... I only have 2 Casambi devices built-in to a Winsol solar screen, so maybe I will see the replace the Casambi driver with a Zigbee or other driver....

I don't think that many home users will pay for a cloud api.
I suggest to checkout: https://github.com/lkempf/casambi-bt
They are working on local Bluetooth control, if they get going the casambi devices don't have to go to ewaste.

Closing issue, what I have seen is that the api keys is only for companies


Prepare for 5.3.0

https://github.com/wagtail/sphinx_wagtail_theme/issues/198

Thanks @vsalvino - sorry about that.
I figured the names against changes makes more sense (similar to Wagtail) instead of the PRs.


correct dataset size

I miscalculated the length of the power spectrum chain (used when I sample from the proposal).

Hey I need this to be in my main so I merge it ^^


cache pip for faster travis

Codecov Report

Merging #482 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #482      +/-   ##
==========================================
- Coverage   89.41%   89.39%   -0.03%
==========================================
  Files          31       31
  Lines        3525     3525
==========================================
- Hits         3152     3151       -1
- Misses        373      374       +1

Impacted Files
Coverage Δ

scvi/inference/autotune.py
75.57% <0%> (-0.22%)
:arrow_down:

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 5b43e29...b45f073. Read the comment docs.

Ok so pip install requirements is down to 140 secs from ~500 secs. I'm going to go ahead and merge this in.

Hi Adam, some questions:
(1) Does it detect changes or do you need to clear the cache manually ?
(2) Do you recommend we stick to testing also the notebook all the time and include all dependencies at install time ? (numba, umap, scanpy etc..) ?
This will determine which issues to close

If this is a reasonable approach, we might want to keep testing the notebooks all the time. Notifying @PierreBoyeau .

it detects changes to the cache
I think we should tests notebooks all the time and figure out the bottlenecks in the notebooks - for example we might have some large datasets in our test data
we need to figure out how to unpin every version in requirements.txt

solves #434

solves #466


Update fantastical extension

Description
Fixes keywords for finding the Quickly Add Fantastical Event command in Raycast.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

No worries at all @xilopaint - thanks for the fixes 🙂


Dune 2: Intermission map mouse is too slow compared to real hardware or DOSBox

Describe the bug
The mouse moves too slowly compared to normal operation on real hardware (or DOSBox) in Dune 2's intermission screen.
To Reproduce
Steps to reproduce the behavior:

Play Dune 2.
Complete a mission.
Try to select a new mission area on the intermission screen.
See that the mouse cursor moves too slowly

Expected behavior
The mouse cursor should move at the same speed as when playing on real hardware.

Is it the speed that is off? Or the range of movement?

Not reproduced anymore on latest master.


Various RC test fixes

PR Summary
These test changes increase wait timeouts so that tests can complete on some platforms, and skip some remoting tests that cannot run on some platforms.
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@PoshChan Please restart Windows

@PaulHigin, successfully started retry of PowerShell-CI-Windows


Complete CPU interfacing with FPGA

Essentially test i2c bus between CPU and FPGA. Verify that settings and be send, and samples be read.

F@#$ this noise


Make reserved space on directories only when required

This is to improve the compatibility of multi-tier management for configurations that don't need the functionality.
For when the reserved space is required by a later configuration change, the swap-restore task will make sure reserved space will be carved out if necessary.

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

@gpang  | @calvinjia PTAL.

alluxio-bot, merge this please.


Fixed bug with form selects

Form selects were missing the this keyword in-front of the options variable fixed issue #281

Thanks!


record webcast for New OpenScale multi-notebook + GUI setup

@scottdangelo I'm closing these recording issues, we are tracking in other repo.


feat: Add a way to symlink from shared folder structure

Overview
In nebari, the data will live in the shared folder, we need to symlink to the user cache so that the pathing all still works.

As of 6/13/2024, still waiting for response from Quansight team about using Nebari.


Fix screen names with underscore

Logic that finds the screen name by removing everything up to the first _ character from the form name broke when the screen name contains an underscore.

formName.split('_').slice(1).join('_');

I'm having trouble following the slice/join. Will that work for an infinite number of underscores?
Here's an attempt using substring for the drawer.js instances and a suggestion from StackOverflow for the BlockPanel. This works for me, but I'm not sure I'm clear on whether all three instances are used.

@SusanRatiLane Here is what I see in the Chrome console when I test:
> x = '12345_Screen2_with___many____underscores'
< "12345_Screen2_with___many____underscores"
> x.split('_', 2)
< ["12345", "Screen2"]
> x.split('_').slice(1).join('_')
< "Screen2_with___many____underscores"

Another approach would be to do:
> x.substr(x.indexOf('_')+1)
< "Screen2_with___many____underscores"

Personally, I'd rather that we use a character not allowed in an identifier, such as /, but that's bound to break things in too many places.

@SusanRatiLane Argh, I should have looked at the commit first as you already implemented the second solution. 👍