Interview CV attachment

When creating an interview allow to attach a CV

create a model field for cv url
add a field editor for this field when creating and editing an interview
add a download link in interview


Auto PA Looks in wrong location for log files on windows 11 (Onedrive issue)

The applet looks in home/documents/, while windows 11 with onedrive stores them in /home/OneDrive/documents.
You can remove onedrive, but the folders remain, and it require hacky registry edits and such to make it work.
I would be nice if we could point the applet at our nina log folder, for cases of non-standard logging locations, or issues like this.

I#M having the same issue, whats the regestry hack you'r talking about? As of now AutoPa is unusable for me


Toggle rotateLayout automatically to support vertical outputs

Automatically toggle "Rotate layout" if desktop/output width is less than its height. This makes layout engines to split along the major output axis first. For example, vertical outputs will first split vertically when using btree engine.
The change honors the "Rotate layout" setting in the UI by toggling its value instead of overriding it.
A new UI setting "Auto rotate layout" has been added and enabled by default.

Functionality change is in file src/driver/index.ts commit cc7af38.


How to run this repository to get captions for a given image.

I needed to get captions for a given image possibly to a text file using this repository. And I could not run the project with the instructions provided. (I tried running this in Google Colab.)
In Colab what I did was, cloning the repo and then following the  Usage Documentation
First tried the inference instruction in that, but since this path was not there amlt/train-sca-vg_densecap-081023/gpt2-large/checkpoint-9000 it failed. I do not see amlt in the repo folder.

Then I tried the usage part but it complained that some files are missing in /mnt/onemodel/data_raw/VisualGenome/annotations/ directory.

Is there an order that I should execute commands or am I doing something wrong here?
I would grately appreciate if someone could advice me on how to achieve the required functionality. Here is the Colab gist
Additionally I was able to run the Gradio demo and get a public link by setting the share=True in scripts/app/sca_app.py.  But when uploaded an image in anything mode it returns me an error (following image) as well with nothing on Colab console.

Hi @eranga-akva ,
USAGE doc is for training and evaluation on the benchmark.
If you only want to run inference on your images and get the predicted texts into a given file, you would have to write some code.
Or you can try the demo.
See https://github.com/xk-huang/segment-caption-anything/issues/6

Hi @xk-huang  thanks for the reply. Also could I know what are the system requirements (like memory) to run the demo project? Seems it is the processing slowness that gives me the error above that I have mentioned when running the demo in Gradio.

16GB memory is enough for fp16 inference.
Since there is no optimization for the LM, the speed is quite slow.
Using A100, it takes seconds to inference one region and about half a minute to run "anything mode".
It would be easy to boost the inference speed with vLLM.
(I think low-bit quantization would help but I have no idea how it impacts the caption ability.)

Okay thanks.


Integrating with react-data-table-component

Has anyone been able to get this library to work with https://github.com/jbetancur/react-data-table-component?
Trying to see how to make them talk to each other, but haven't found any examples or anything that would point me in the right direction. Appreciate any help!

Have you found any solution for this?

No, don't think it's possible. I ended up using https://github.com/tannerlinsley/react-table


conditional compilation

Suggestion
Is it possible to support conditional compilation instructions similar to those in C language?
🔍 Search Terms
conditional compilation
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

📃 Motivating Example
Before:
import * as os from 'os';

const osType = os.type();

if (osType.includes('Windows')) {
  // win code
} else if (osType.includes('linux')) {
  // linux code
} else {
  // ...
}

Result:
"use strict";
exports.__esModule = true;
var os = require("os");
var osType = os.type();
if (osType.includes('Windows')) {
    // some code
}
else if (osType.includes('linux')) {
    // other code
}
else {
    // ...
}

After support, it looks like:
#if OS_TYPE === windows
// win code
#elif OS_TYPE === linux
// linux code
#else
// ...

compile:
tsc --xxx OS_TYPE=windows

Restul:
"use strict";
exports.__esModule = true;
// win code

💻 Use Cases

Please fill out the issue template for feature requests.

A C-style preprocessor has indeed been suggested in at least one of the prior 40,000 issues 😅. See #449

#4671 and #449 using C-style, #3538 using constants in the config. Search terms conditional compilation in:title.


Still waiting for thread Thread-2 to complete. Workload status: true

when i use ycsb to test cassandra,i meet the problems:still waiting for thread Thread-2 to complete. Workload status: true.
Stop requested for workload. Now Joining!
Still waiting for thread Thread-2 to complete. Workload status: true
[OVERALL], RunTime(ms), 62296.0
[OVERALL], Throughput(ops/sec), 2291.639912674971
[TOTAL_GCS_PS_Scavenge], Count, 6.0
[TOTAL_GC_TIME_PS_Scavenge], Time(ms), 279.0
[TOTAL_GC_TIME_%PS_Scavenge], Time(%), 0.44786182098369076
[TOTAL_GCS_PS_MarkSweep], Count, 0.0
[TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0.0
[TOTAL_GC_TIME%PS_MarkSweep], Time(%), 0.0
[TOTAL_GCs], Count, 6.0
[TOTAL_GC_TIME], Time(ms), 279.0
[TOTAL_GC_TIME%], Time(%), 0.44786182098369076
[READ], Operations, 71597.0
[READ], AverageLatency(us),<PHONE_NUMBER>958141
[READ], MinLatency(us), 278.0
[READ], MaxLatency(us), 170239.0
[READ], 95thPercentileLatency(us), 610.0
[READ], 99thPercentileLatency(us), 1012.0
[READ], Return=OK, 71597
[CLEANUP], Operations, 1.0
[CLEANUP], AverageLatency(us), 2294784.0
[CLEANUP], MinLatency(us), 2293760.0
[CLEANUP], MaxLatency(us), 2295807.0
[CLEANUP], 95thPercentileLatency(us), 2295807.0
[CLEANUP], 99thPercentileLatency(us), 2295807.0
[UPDATE], Operations, 71163.0
[UPDATE], AverageLatency(us),<PHONE_NUMBER>0358895
[UPDATE], MinLatency(us), 247.0
[UPDATE], MaxLatency(us), 52479.0
[UPDATE], 95thPercentileLatency(us), 527.0
[UPDATE], 99thPercentileLatency(us), 822.0
[UPDATE], Return=OK, 71163
who can help me solve the problem?

Hitting the same issue when running YCSB on Google bigtable.
Setup
Bigtable 20 nodes
4 Loader VMs on GCE: n1-standard-8 (8 vCPU 30 GB RAM)
Each loader VM is running 2 YCSB instances (total 8)
Dataset = 1B records = ~1.25TB
I was running with 100 threads per YCSB instance,  went down to 80 -> 60 -> 40 -> 30 and it still happens on workloadb + workloadc + workloadd
Since I'm running multiple YCSB, each instance is working on it's on range.
Commands used
Loader-1
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=0 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 1bigtable_1TB_workloadb &
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=125000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 2bigtable_1TB_workloadb &
Loader-2
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=250000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 1bigtable_1TB_workloadb &
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=375000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 2bigtable_1TB_workloadb &
Loader-3
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=500000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 1bigtable_1TB_workloadb &
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=625000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 2bigtable_1TB_workloadb &
Loader-4
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=750000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 1bigtable_1TB_workloadb &
nohup sudo ~/YCSB/bin/ycsb run googlebigtable -p columnfamily=cf -p google.bigtable.project.id=skilled-adapter-452 -p google.bigtable.instance.id=tomer-instance -p google.bigtable.auth.json.keyfile=/home/whoami/YCSB/Scylla-2917fb63f00d.json -p recordcount=1000000000 -p operationcount=125000000 -p insertstart=875000000 -p insertcount=125000000 -p maxexecutiontime=1800 -s -P workloads/workloadb -threads 30 > 2bigtable_1TB_workloadb &

what version of YCSB?

This one: https://github.com/robertpang/YCSB/tree/i458/cassandra

Can you reproduce the problem with YCSB's current master or a released version?

Next time I'll be using YCSB on Cloud Bigtable, I'll use one of the 2 you suggest and see if it reproduce.
In the one I used, it reproduced ALL the time.

Thanks @tomer-sandler!
How about you @2victoria? Could you get me a YCSB version #?

@busbey I downloaded the latest ycsb-0.12.0 and tried to run the load on Google Cloud Bigtable.
I can't run it at all due to https://github.com/brianfrankcooper/YCSB/issues/1048. I'm hitting the
java.lang.IllegalStateException: Neither Jetty ALPN nor OpenSSL via netty-tcnative were properly configured.
Note that with this: https://github.com/robertpang/YCSB/tree/i458/cassandra version I did not have that problem.
Also, YCSB docs need to be updated as there are 2 new mandatory -p that must be supplied in order to run (which were not needed in robertpang fork I've been using):
-p google.bigtable.cluster.name=[cluster_name]
-p google.bigtable.zone.name=[cluster_zone]

could you try again now with the 0.14.0 release @tomer-sandler ?

closing as stale. if someone can reproduce using the 0.14.0 release or newer, please reopen.

@busbey I can reproduce this with postgrenosql on 0.17.0.

@busbey i can re-produce with mysql/mariadb -- please see issue #1622


Restore filtering + from release candidate k8s versions

Issue #, if available:
Description of changes:
Add the filtering of + values in minor version release candidates. This failed and required reverting last time due to additional println which made their way into the yaml files. This shouldn't be the case here, but we can watch for this as a previously known issue.
https://github.com/aws/eks-distro-build-tooling/pull/1095
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Plesk Docker manager support?

Was wondering if you are familiar with plesk. In order to make it a bit more modern, they have docker manager built in, so people can run something like a node.js blog like  ghost.org there or anything people make a docker image for. I have only used docker manager there on plesk, it is quite limited and requires someone to make the docker image.
I do not know how to use docker properly from the command line in a vps, so I have to resort to something like the docker manager in plesk. Unfortunately, I do not know how to make a docker image tho, so im not sure how to make an image of miniboard that can work in plesk.
If you are not familiar with plesk/docker manager in plesk, any chance you could include the commands to install your board? That would be for people who do not know how to use docker at all... you know, people like me :) If I could get a working board up, I could help you with miniboard. I would not likely be able to do anything profound, but I could help you sort out some of the easier stuff.

I would not recommends using Docker with Plesk because Plesk has very minimal support for Docker. You would most likely have to configure a lot manually from the command line.
This project currently only uses Docker for development purposes and Docker hosting is not planned.


Remove shop soft delete

How do I disable softdeletes when extending shop model?
thanks

ah nmv, use forceDelete();


Sync state of notebook when changed from outside of euporie

Hey! I am hoping to use euporie as a in terminal solution for running and displaying notebooks, but editing it from within neovim using jupytext.vim. Right now the problem is that editing from neovim doesn't show the changes in euporie. Autoreading would be nice but manually reloading with a keybinding works too since I can send keypresses from neovim to the terminal that euporie is running in

F5

Ah it does, I tried looking at the command palette but didn't find that. The hint text for it is "Reset the current tab" which is not really what i would expect for this function

Good point, I'll update the description


python312Packages.google-ai-generativelanguage: 0.6.0 -> 0.6.1

Changelog: https://github.com/googleapis/google-cloud-python/blob/google-ai-generativelanguage-v0.6.1/packages/google-ai-generativelanguage/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

21 packages built:

home-assistant-component-tests.google_generative_ai_conversation
python311Packages.google-ai-generativelanguage
python311Packages.google-ai-generativelanguage.dist
python311Packages.google-generativeai
python311Packages.google-generativeai.dist
python311Packages.llama-index-embeddings-gemini
python311Packages.llama-index-embeddings-gemini.dist
python311Packages.llama-index-embeddings-google
python311Packages.llama-index-embeddings-google.dist
python311Packages.llama-index-vector-stores-google
python311Packages.llama-index-vector-stores-google.dist
python312Packages.google-ai-generativelanguage
python312Packages.google-ai-generativelanguage.dist
python312Packages.google-generativeai
python312Packages.google-generativeai.dist
python312Packages.llama-index-embeddings-gemini
python312Packages.llama-index-embeddings-gemini.dist
python312Packages.llama-index-embeddings-google
python312Packages.llama-index-embeddings-google.dist
python312Packages.llama-index-vector-stores-google
python312Packages.llama-index-vector-stores-google.dist


docs: use default template for metal_virtual_circuit

This removes the custom templates for the metal_virtual_circuit resource and data source so that it we can generate those docs from code and better ensure that docs stay up-to-date as we add, change, and remove functionality.
This required:

Deleting the custom templates for the metal_virtual_circuit resource and data source
Renaming examples directories and files that were created by tfplugindocs migrate to align with the conventional paths.

NOTE: in particular, example files go in directories called, e.g., equinix_metal_virtual_circuit, even though the equinix_ prefix is omitted for all other files

Moving the resource import script out of the template and into the examples directory

FYI @equinix/governor-digin-fabric @equinix/governor-ne-network-edge-engineering  this PR doesn't require your review, but it is an example of how to switch from using a custom template for documentation to using the default templates.  The default templates have support for one TF example file (although that file could contain multiple example usages) and the default resource template can pull in an example import script as well.  The bullet list in the issue description lays out the steps for conversion; in particular there's a note in there about a mismatch between the file paths that were used by tfplugindocs migrate when I created the templates from existing docs and the conventional file paths for examples that are used by make docs (which is eventually equivalent to tfplugindocs generate).

@RaptorGandalf when you have a moment, please review this PR.  This updates the virtual circuit resource and data source docs to cover the new attributes that were added for IPv6 support.  Until recently the provider docs were all/mostly hand-written; as the docs begin to leverage more generation features, it will be easier to update them alongside the code.  The files under docs are the important changes here; the rest the changes were needed to generate the docs instead of hand-writing them, and those changes won't appear in future PRs for virtual circuit docs.


Refactor Types (and use latest barretenberg)

Description
We no longer have stdlib/types/types.hpp in barretenberg. Instead, we intend to declare typedefs locally as and when necessary. This PR updates bb submodule to incorporate latest changes and then ensures that we use local typedefs instead of global ones. This would allow us to run different parts of circuits infrastructure with different composers.
Note that we point to aztec3-temporary branch on barretenberg (based off the latest master). This is because we still need large number of generators while using Ultraplonk in aztec3.
Resolves: https://github.com/AztecProtocol/aztec3-circuits/issues/191
Checklist:

[ ] I have reviewed my diff in github, line by line.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to the issue(s) that it resolves.
[ ] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[ ] The branch has been merged or rebased against the head of its merge target.
[ ] I'm happy for the PR to be merged at the reviewer's next convenience.

Looks like the memory of the WASM needs to be bumped

Looks like the memory of the WASM needs to be bumped

Yeah I guess that it because I am restarting to use ultraplonk?

Probably, we see this when switching provers, I guess they have a bunch of static data or something?


add command delete_repos

This command can help me delete the useless or wrong repos, even help me recycle the quota of private repo, hope it can help somebody else.
Never learned and written in ruby before, please correct me if there exist any problem.

I'm not sure the test is correct or not, just try to make it pass the CI build, hope somebody can help me audit it, many thanks.

Oops, I found #105 here, I swear that I didn't copy or refer to that PR ... or it won't spent me 2 hours ... :sob:

Anybody here? @afeld Would you please help me audit this PR? Thank you!

@PeterDaveHello I removed your comment in the other thread, but I will take a look at this.

Thanks @johndbritton :smile:

Thanks for the submission @PeterDaveHello, I took a look and it seems pretty straightforward. @mkcode can you take a closer look and provide some feedback if needed?

Thanks @johndbritton

@PeterDaveHello - I added to this PR in #126. Can you please take a look at #126 and create a new PR targeting the delete-repos-cleanup branch? Thanks!

@mkcode ok I will.


add support for dependsOn

In a common ECS + load balancer situation, the load balancer listener must be created before the service, otherwise an error like the one below occurs:
Invalid request provided: CreateService error: The target group with targetGroupArn <ARN> does not have an associated load balancer.
See also https://stackoverflow.com/questions/53971873/the-target-group-does-not-have-an-associated-load-balancer

@eddmann ping?

Thanks for the PR, this falls outside the scope of what could be achieved with the  recent cloudFormationResource addition. As such this addition looks great :)


Allow globs to apply to '..' and '.'

Fixes #847

TODO

[x] Use cargo fmt
[ ] Add necessary tests
[x] Add changelog entry
[x] Update default config/theme in README (if applicable)
[x] Update man page at lsd/doc/lsd.md (if applicable)

I manually tested this and it acts about as I would expect it to - . on the ignore-globs only hides ., .. only hides, .. and having both on the list hides both.
Let me know if I should add any unit tests for this. I looked at the existing tests in the file I edited and there didn't seem to be any testing anything to do with ignore_globs so I figured it might not be necessary.


s3 beam cleanup

The previous code had the following problems:

Passed sensitive credentials to beam via pipelineOptions
Created some credentials across multipe daemons and other credentials in the StorageFactory
Instead this moves all the logic to a single daemon

This change is


Aggregate error

Hi got error
MongoDb version 3.6.1

CRITICAL - Uncaught PHP Exception Doctrine\MongoDB\Exception\ResultException: "The 'cursor' option is required, except for aggregate with the explain argument" at /var/www/html/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php

I had exactly the same problem;
empty string|array or new stdClass both works well

FWIW, I looked at providing a fix to the issue, but it could be seen as a BC break since suddenly we no longer return an array result, but rather an iterator with the result of the aggregation pipeline. Thus,  if you're using MongoDB 3.6 you'll have to make the appropriate changes yourself.
If you are using Doctrine MongoDB ODM 1.2, it brings its own aggregation that always provides the cursor option and returns an iterator with the results. If you are using this library stand-alone without MongoDB ODM, please consider switching to mongodb/mongodb, as this library is in bug-fixing mode only and only gets a limited amount of development time.

Hi @alcaeus, we are moving to MongoDB 4.0.8 and we are using the following packages and also have this cursor error message.

alcaeus/mongo-php-adapter v1.1.6
doctrine/mongodb v1.6.3
doctrine/mongodb-odm v1.2.8
mongodb/mongodb 1.4.2

Since all the packages are up to date, what's your recommendation? Should we add cursor: "" to our aggregates?

As indicated in my comment above, the aggregation builder in ODM always provides the cursor option: https://github.com/doctrine/mongodb-odm/blob/1.2.8/lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php#L73
If you are not using the ODM aggregation builder, you'll have to manually specify this option to avoid the error in question. This library is no longer maintained as it is replaced by the mongodb/mongodb library.

Should we add cursor: "" to our aggregates?

@olvlvl: If you're manually executing an aggregate command, the cursor option should be an empty document (unless you mean to specify a batch size). In PHP, this would be 'cursor' => (object) [] at a minimum. See the linked manual docs for more details.


Can't access related model on before_destroy

Inside the before_destroy method of a model I can't seem to access a related record.
I've made this Gist to demonstrate the issue, upon running it I get:
ruby test-mongo.rb
test-mongo.rb:24:in `print_parent_name': undefined method `name' for nil:NilClass (NoMethodError)
    from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:395:in `_run_destroy_callbacks'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/persistence.rb:31:in `destroy'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/relations/cascading/destroy.rb:14:in `block in cascade'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/relations/cascading/destroy.rb:14:in `each'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/relations/cascading/destroy.rb:14:in `cascade'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/relations/cascading.rb:31:in `block in cascade!'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/relations/cascading.rb:28:in `each'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/relations/cascading.rb:28:in `cascade!'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/persistence/deletion.rb:25:in `prepare'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/persistence/operations/remove.rb:26:in `persist'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/persistence.rb:56:in `remove'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/persistence.rb:31:in `block in destroy'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:390:in `_run_destroy_callbacks'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
	from /Users/rafa/.rvm/gems/ruby-1.9.2-p290/gems/mongoid-2.2.0/lib/mongoid/persistence.rb:31:in `destroy'
	from test-mongo.rb:35:in `<main>'

Using mongoid 2.2.4 on a rails project, ran into 2 different scenarios where :dependent => :destroy didn't work.
class Archetype
   include Mongoid::Document
   include Mongoid::Timestamps
   include Mongoid::Versioning
   include Mongoid::Paranoia
   extend ImprovedManyToMany
   cache
   ...
end

class Section < Archetype
  has_many :pods, :as => :parent, :dependent => :destroy
  ...
end

class Pod < Archetype
   belongs_to :parent, :polymorphic => true
   has_one :search_field, :dependent => :destroy
end

Using the rails console, first grabbed a 'section' object, mapped out the (child) 'pod' id's beneath it.  Destroyed the section object but the pods all still existed in the database.  Then mapped out each of those pod's search_field objects (has_one relationship), and then proceeded to manually delete each 'pod' object.  Each of the associated search_objects still existed in the database and had to manually deleted.
Not sure if this is happening due to the polymorphism, but makes me think that this bug might not be fixed for all scenario's?  Workaround is to do something like this on your class:
class Section < Archetype
   has_many :pods, :as => :parent, :dependent => :destroy
   before_destroy {pods.destroy_all} # to ensure the associated pods actually get destroyed when destroying a section
end

Would appreciate it if someone looked into this, as I examined the code in the repo for cascading destroy (https://github.com/mongoid/mongoid/blob/master/lib/mongoid/relations/cascading/destroy.rb), and can see that it's only been touched once, in response to this issue, and was included in version 2.2.1 and higher, so that means that the version I'm running on (2.2.4) has this patch, but didn't work as expected in these scenarios.  Thanks!

@fullbridge-batkins can you reproduce the problem in the current version of Mongoid? (2.3.4)


Feat: Pinterest web scraper

Describe the feature
I'd add a web-scraper for the pinterest website, which would return the numpy images scraped for a particular query from the pinterest website.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC 23 contributor
[X] I want to work on this issue

@nikhil25803 please assign me this

Note

Create a separate module for this, as per the folder and project structure
Do not use the `selenium web driver as it is incompatible with all devices and cloud platforms.
Before making any changes, please check whether the module you want to add exists. If yes, then you can just add your functionality as a method only make a separate module and class for it.

All the best 👨💻


MAID-2590: fix netsim tests

Makes multiple changes that fix tests::netsim::tcp_bootstrap_over_poor_connection.

Thanks for the pull request, and welcome! The MaidSafe team is excited to review your changes, and you should hear from @canndrew (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTOR.md for more information.


use intrinsics for fabs

Pull Request Test Coverage Report for Build 4163
Details

0 of 0   changed or added relevant lines in 0 files are covered.
23 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.4%) to 80.403%

Files with Coverage Reduction
New Missed Lines
%

bytes/xxhash.mbt
8
55.0%

bytes/bytes.mbt
15
9.09%

Totals

Change from base Build 4159:
-0.4%

Covered Lines:
4468

Relevant Lines:
5557

💛  - Coveralls


Sample Python Notebook Application Error

Describe the bug
There is an error in 00-getting-started.ipynb
To Reproduce
The line: kernel.add_text_completion_service("dv", OpenAITextCompletion("text-davinci-003", api_key, org_id))
Should be: kernel.config.add_text_completion_service("dv", OpenAITextCompletion("text-davinci-003", api_key, org_id))
Merge KernelConfig with Kernel (https://github.com/microsoft/semantic-kernel/pull/731) is culprit.  The notebooks were not tested apparently.  Since this is an introduction to the Semantic Kernel I would recommend that the code published actually works if at all possible.

The pip package wasn’t updated yet, so when the notebook tries to install from requirements.txt, the change to kernel config reflected. To get around this until the pip package has been updated, uncomment !python -m pip install ../../../python in the first cell of the notebook, and comment out !python -m pip install -r requirements.txt

New pip packages released:
https://pypi.org/project/semantic-kernel/0.2.7.dev0/
Closing as the pip packages now match the documentation. Thanks again for raising this!


V0p1p10b

Codecov Report

Merging #37 (720e9be) into master (8b1345e) will increase coverage by 33.28%.
The diff coverage is 95.83%.

@@             Coverage Diff             @@
##           master      #37       +/-   ##
===========================================
+ Coverage   55.55%   88.83%   +33.28%
===========================================
  Files           3        3
  Lines         153      224       +71
===========================================
+ Hits           85      199      +114
+ Misses         68       25       -43

Impacted Files
Coverage Δ

src/files.jl
87.09% <94.91%> (+37.09%)
:arrow_up:

src/thredds_servers.jl
100.00% <100.00%> (ø)

src/OceanRobots.jl
75.00% <0.00%> (+75.00%)
: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 8b1345e...720e9be. Read the comment docs.


Add opnictl tool

Add opnictl code to the opni repo

I only reviewed the opnictl files, and they look good! I assume the go vendering files are fine.
one question I have is, will we have a file such as values.yaml basically contains any values of parameters used in other yaml files? For example, parameters such as %ES_USER, %ES_PASSWORD.
@galal-hussein

no this is strictly is used within the opnictl tool, and will be utilized as flags that can be passed to the tool

I only reviewed the opnictl files, and they look good! I assume the go vendering files are fine.
one question I have is, will we have a file such as values.yaml basically contains any values of parameters used in other yaml files? For example, parameters such as %ES_USER, %ES_PASSWORD.
@galal-hussein

no this is strictly is used within the opnictl tool, and will be utilized as flags that can be passed to the tool

OK. I think in the future we should also make those hard-coded urls of nats and Elasticsearch (NATS_URL and ES_ENDPOINT) as variables, are you going to make these as flags with default values as well?


include the  the current olaris in the nuv installer

Nuv uses, since the day 0, the installation folder as the first place where to look for tasks, so you can have the tasks already included and you do not have to -update the first time.
The task is to modify the installer to include the current olaris repo in the nuvolaris build.
So when building the installer you have also to clone olaris.
The biggest challenge here is probably that the windows installer uses a list of files that is always chaning so we need to generate the install file for windows instead of modifying it manually.

this issue can be implemented better in a different way


Fix trigger_test_sqlserver test case failure

use SET NOCOUNT ON so that the number of rows affected by INSERT statement is returned instead of the number of rows affected by the sql trigger
Refer https://techcommunity.microsoft.com/t5/SQL-Server/UPDATE-with-OUTPUT-clause-8211-Triggers-8211-and-SQLMoreResults/ba-p/383457

Closing this PR for now. Will re-open when we come to rails v5.1


Update glibcLocales more often?

Background
With every new Unicode release, the glibc locales have to be updated upstream to include the new character information (e.g. for Unicode 15: https://sourceware.org/git/?p=glibc.git;a=commit;h=7fe6734d28feb18acb3c50b13a5f5a52f66d39cf). Some ncurses programs rely on this information to display characters properly (see e.g. https://github.com/weechat/weechat/issues/79).
It would be nice to be able to use the new locale data version as soon as it's available, but currently glibcLocales and glibc share the same source so this is tied to updating glibc, which may take a while (the current PR is still a draft, and updates to a version that still does not include the mentioned commit).
Questions
Would it make sense to detach the source of glibcLocales from glibc, allowing us to update it more often? Could problems arise from it being out of sync with glibc?
I'm a bit confused by the glibc derivation: ~why do we use master instead of sticking to the latest release~ (found the answer to this one)? Why do we ship the diff from latest release to master in nixpkgs? Is there really no simple way to fetch a given revision from git without running into bootstrapping issues?
cc @vcunat @trofi @Ma27

It's already happened that the format of the locale archive changed incompatibly between glibc versions.  But I expect that to be rare.  Still, I'm personally not motivated by using brand-new unicode characters...

It's already happened that the format of the locale archive changed incompatibly between glibc versions.  But I expect that to be rare.

… and detectable, so the update can be quickly delayed as currently unusable.

It would be nice to be able to use the new locale data version as soon as it's available, but currently glibcLocales and glibc share the same source so this is tied to updating glibc, which may take a while (the https://github.com/NixOS/nixpkgs/pull/188492 is still a draft, and updates to a version that still does not include the mentioned commit).

I suggest asking upstream to backport unicode changes at least to 2.36 release branch (and possibly to 2.35 release branch). Then it would be natural for distributions to update to it sooner.
I would say using out-of-sync localedata/ primarily causes surprise to users when locale behaviour changes (for better or worse). Currently upstream ties these potentially breaking changes to next major release and that is somewhat expected for users. Shipping these changes earlier might cause hard to track down surprises.
On top of that localedata/ is not enough touse separately. locale/ would like to have to go in sync and that sometimes relies on other glibc internals.Sounds a bit fragile to use it safely.
We should upgrade glibc more frequently :)

Asked upstream


Description on Docker Hub is boring

IMHO, the description on https://hub.docker.com/r/gitea/gitea/ is really boring. It should have at least a link to the website and a short description about what Gitea is. Also a link to docs, maybe even an example docker compose file to quickly set it up (I have one which I'd be happy to share) would be great.
What do you think?

@kolaente Shouldn't the image be gitea/gitea:latest?

If I am not mistaken, latest is on master that is not stable. We could provide a "stable" tag or maybe switch latest to last "stable" version. Gitea at the start of the fork, receive a lot of change and was to be consider a work in progress as we break things maybe now we could start to provide stable instance. It reflect the branch on git master -> latest is unstable and a branch for each version that receive backport when needed.

I think master is generally stable, but not guaranteed. So I wont nessecary use master (aka latest) in production.

So, can we update it then to the description provided by @thehowl ?
@maintainers

@kolaente Since nobody have further idea, I think yes.

Ping (again)

So, can we update it then to the description provided by @thehowl ? @maintainers

@kolaente @thehowl done.

Great, thanks!


[Windows 64-bit] Updating to Chromium 83/84?

Please respond if you would like to update ungoogled-chromium to the new stable Chromium version.
Notes for the developer
Once you claim it, it is advisable that you create a Draft Pull Request for increased visibility:

Finally, make sure to reference this issue in your PR.
Feel free to ask questions and discuss issues here along the way. Thanks!
Notes for others
Feel free to raise issues or questions throughout the process. However, please refrain from asking ETAs unless no visible progress has been made here or on the developer's PR for a while (e.g. 2 weeks).

Please don't use the issue template for anything except its original purpose.
See https://github.com/ungoogled-software/ungoogled-chromium-windows for all Windows-specific issues and PRs.

Ah, my bad


Malformed ObjectType when polling CISCO-BGP4-MIB::cbgpPeer2Table

Hi!
I have problems polling the SNMP table CISCO-BGP4-MIB::cbgpPeer2Table. The ObjectType instance seems to be malformed when the object identifier contains ipv6 data (i.e. InetAddressType is 'ipv6' and InetAddress contains a ipv6 address). That leads to some kind of Exception in prettyPrint() (see below).
The error occurs on the latest pysnmp 4.3.9, but not on 4.3.5 (with pyasn1==0.2.3). I think it was introduced in pysnmp 4.3.6, but i'm not sure.
I attached an example script performing a simple bulkwalk on CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt. A minimal public.snmp_rec file for "snmpsim" and the corresponding MIB file are also attached. bgp-example.bulkwalk.zip
Prerequisites
env435:
$ pip install pyasn1==0.2.3 pysnmp==4.3.5 pysnmp-mibs
$ pip freeze
ply==3.10
pyasn1==0.2.3
pycryptodome==3.4.6
pysmi==0.1.3
pysnmp==4.3.5
pysnmp-mibs==0.1.6

env439:
$ pip install pysnmp pysnmp-mibs
$ pip freeze
ply==3.10
pyasn1==0.3.2
pycryptodome==3.4.6
pysmi==0.1.3
pysnmp==4.3.9
pysnmp-mibs==0.1.6

Running the example script
When I use pysnmp 4.3.5 and pyasn1 0.2.3 the script works as expected:
(env435) $ python bgp-example-bulkwalk.py
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80101 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80102 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80103 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80104 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80105 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80106 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80107 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80108 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80109 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a8010a = administrative shutdown
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv6'.0x2a014860000100010000000000000064 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv6'.0x2a014860000100010000000000000065 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv6'.0x2a014860000100010000000000000066 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv6'.0x2a014860000100010000000000000067 = hold time expired

But when i use the latest pysnmp 4.3.9 with the latest pyasn1 0.3.2 it throws an exception:
(env439) $ python bgp-example-bulkwalk.py
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80101 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80102 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80103 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80104 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80105 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80106 = hold time expired
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80107 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80108 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a80109 = peer unconfigured
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.'ipv4'.0xc0a8010a = administrative shutdown
Traceback (most recent call last):
  File "bgp-example-bulkwalk.py", line 31, in <module>
    print(' = '.join([x.prettyPrint() for x in varBind]))
  File "bgp-example-bulkwalk.py", line 31, in <listcomp>
    print(' = '.join([x.prettyPrint() for x in varBind]))
  File "/Users/kaihil/pysnmp-test/env439/lib/python3.5/site-packages/pysnmp/smi/rfc1902.py", line 532, in prettyPrint
    '.'.join([x.isSuperTypeOf(s) and '"%s"' % x.prettyPrint() or x.prettyPrint() for x in self.__indices])
  File "/Users/kaihil/pysnmp-test/env439/lib/python3.5/site-packages/pysnmp/smi/rfc1902.py", line 532, in <listcomp>
    '.'.join([x.isSuperTypeOf(s) and '"%s"' % x.prettyPrint() or x.prettyPrint() for x in self.__indices])
AttributeError: 'tuple' object has no attribute 'isSuperTypeOf'

Thank you for your report! Just a quick note that I'm on it and hopefully fix it in the upcoming 4.3.10

I believe this crash has been fixed in this pre-release branch.
The root cause, though, is that either the
CISCO-BGP4-MIB::cbgpPeer2LastErrorTxt.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.100

OID is malformed (in .snmprec) and can't be broken down onto individual SNMP table indices or it's another bug in pysnmp (I will look into that to make sure).
If you enable pysnmp debugging and grep for error resolving table indices you will see the exact error.

Alright, it turned out to be pysnmp problem. Please try this branch, your script works for me with it.

Hey, i gave it a short try and it seem to work, thanks!

pysnmp 4.3.10 has been released on PyPI


Fix for time_date sensor

Description:
This is a fix to date option of time_date sensor.
Related issue (if applicable): fixes #10477
Example entry for configuration.yaml (if applicable): N/A
Checklist:
If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Thanks!

is this a fix for the time date picker or is this picker still not available?

The datetime_input should be "available". What bug are you experiencing?

Not necessarily a bug, but the current method of entering a time is nearly impossible. A 0 gets added automatically at times, the field jumps from the hour to minute when you don’t want it to, and all of this is worse using the iOS app. I don’t know if there’s a better way to select a time that’s less frustrating, but it’s currently very difficult.
Also, the calendar doesn’t display correctly with the iOS app. Only one week appears in the monthly popup and it’s difficult to scroll and pick the correct date.
Maybe this is an iOS app bug??

Don't discuss unrelated topics in a PR


Use beautifulsoup4 instead of bs4

bs4 is only a dummy package for beautifulsoup4.

Good catch.
Refer to: https://pypi.org/project/bs4/

Codecov Report

Merging #7 (e3e5711) into main (7740e14) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   92.87%   92.87%
=======================================
  Files          21       21
  Lines         505      505
=======================================
  Hits          469      469
  Misses         36       36

Flag
Coverage Δ

unittests
92.87% <ø> (ø)

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

Continue to review full report at Codecov.

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


Emails to be sent upon a request being made

When creating a new request, trigger the email that asks the user to go and review their new request.

@markmacgillivray I expect it would be helpful if you could do a version of this that gives the info needed for functions. Then Chealsye can clean up & hone.

I started a draft a week ago, but it was lower on my list of needed copy so it's not done. It would be helpful @markmacgillivray if you could provide a brief paragraph of that gives info needed for functions. Or if you have screenshots/links of the process that works too!
Originally I interpreted this issue as needing copy for the email that would be sent to the author. Do you need this and the one Mark noted for the user to review their request, @markmacgillivray?

Moving to later milestone for easier overview

There is now an example.txt email, and also an author_request.txt email, which is an example of how an author request email could be written, and it would get sent to the author email address when the status of a request changes from moderate to progress.

https://github.com/OAButton/oab_static/blob/develop/emails/author_request.txt

This was a user email, but I think since we're sending them directly to the page this is fine.


tmux: only enable secureSocket on Linux by default

Description
Darwin does not have the /run/user/ directory which is provided by pam_systemd on Linux.
Please backport it to release-20.03

Fixes #1270 https://github.com/NixOS/nixpkgs/issues/91185
Checklist

[X] Change is backwards compatible.

[X] Code formatted with ./format.

[X] Code tested through nix-shell --pure tests -A run.all.

[ ] Test cases updated/added. See example.

[X] Commit messages are formatted like
{component}: {description}

{long description}

See CONTRIBUTING for more information and recent commit messages for examples.

If this PR adds a new module

[ ] Added myself as module maintainer. See example.

[ ] Added myself and the module files to .github/CODEOWNERS.

Thanks! Rebased to master in 8ab113989126d738691ad70394ad5d0a57dab462.


L2a -> L2b Step Function: CTI Correction

This is a break-up from issue #20 which currently includes the step function and the calibration generation.
We need a CTI correction step function for L2a -> L2b.
As of right now it is a requirement to work, but @nasavbailey and @mygouf are trying to make it a "should". Should it become a "should" it will be ok to be a no-op code.

Closing with PR #180


[Storybook] stack.map is not a function

Привет!
На странице компонента https://preview.gravity-ui.com/uikit/?path=/story/components-feedback-progress--default возникает ошибка с собержанием:
stack.map is not a function
TypeError: stack.map is not a function
    at Progress_Progress_Progress.renderStack (https://preview.gravity-ui.com/uikit/components-Progress-__stories__-Progress-stories.fc143352.iframe.bundle.js:1:4537)
    at Progress_Progress_Progress.renderContent (https://preview.gravity-ui.com/uikit/components-Progress-__stories__-Progress-stories.fc143352.iframe.bundle.js:1:3714)
    at Progress_Progress_Progress.render (https://preview.gravity-ui.com/uikit/components-Progress-__stories__-Progress-stories.fc143352.iframe.bundle.js:1:3007)
    at kj (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:545450)
    at ij (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:545248)
    at Wk (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:588321)
    at Vk (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:576564)
    at Uk (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:576495)
    at Jk (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:576364)
    at Ok (https://preview.gravity-ui.com/uikit/8505.88aef0be.iframe.bundle.js:528:573220)

@thevladbog What is your OS and browser?

@thevladbog What is your OS and browser?

@amje Ya.Browser <IP_ADDRESS>0 (64-bit), Windows 11 23H2
The problem is floating. I've found it several times over the last couple of days.

https://preview.gravity-ui.com/dynamic-forms/?path=/story/array-table--table
Found another error if add more than 10 items in Array in spec
Cannot read properties of undefined (reading 'toLocaleLowerCase')
TypeError: Cannot read properties of undefined (reading 'toLocaleLowerCase')
    at https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:280991
    at https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:281100
    at Array.filter (<anonymous>)
    at getFilteredFlattenOptions (https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:280847)
    at Select (https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:290068)
    at Xh (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:934340)
    at Zi (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:944321)
    at Wk (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:992883)
    at Vk (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:980029)
    at Uk (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:979960)

https://preview.gravity-ui.com/dynamic-forms/?path=/story/array-table--table Found another error if add more than 10 items in Array in spec
Cannot read properties of undefined (reading 'toLocaleLowerCase')
TypeError: Cannot read properties of undefined (reading 'toLocaleLowerCase')
    at https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:280991
    at https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:281100
    at Array.filter (<anonymous>)
    at getFilteredFlattenOptions (https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:280847)
    at Select (https://preview.gravity-ui.com/dynamic-forms/782.2def0ba5.iframe.bundle.js:2:290068)
    at Xh (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:934340)
    at Zi (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:944321)
    at Wk (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:992883)
    at Vk (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:980029)
    at Uk (https://preview.gravity-ui.com/dynamic-forms/621.60823ae4.iframe.bundle.js:401:979960)

@thevladbog Better to open an issue to the dynamic-forms repo


Generated .ovpn file is not working in OpenWrt OpenVPN

Thanks for this awesome script.
I am trying to use my .ovpn file on OpenWrt OpenVPN and it doesn't work.
Can you please guide me how to make it work?
Cheers
Abhishek

This would be an issue for the OpenWrt tracker.
Probably has something to do with tls-crypt option (just my guess).


link unpkg.com don't work

Hello,
links for
https://unpkg.com/swiper/css/swiper.min.css
https://unpkg.com/swiper/js/swiper.min.js
please install redirections !
thanks

thanks for docs but why not have set up redirects ?


MAINT: Error out gracefully with an unsupported scheduler

mypy is failing.

Yeah, runtime checks conflicts with mypy.
I don't know what's the best practice here. If there is type annotated code already should there be no unit test for isinstance checks? Or should mypy just be silenced there? mypy here will also complain about the code being unreachable as the variable scheduler is already type annoated as Scheduler so there shouldn't be a case where scheduler is not an instance of something that follows the Scheduler protocol according to the type information. But this requires the user to write their code in a type checking enabled IDE (I was doing this is in a vanilla jupyter notebook and hence tripping up on this)

Yeah, runtime checks conflicts with mypy.
I don't know what's the best practice here. If there is type annotated code already should there be no unit test for isinstance checks? Or should mypy just be silenced there?

I do not know either, we have selectively ignored mypy in other places as well, so maybe go with that?


Vim 8

Hello are you going to support vorax on vim 8, and use some new features of vim 8?

Hello,
Yes, that's the plan. Asynchronous IO in Vim 8 sounds interesting...

Great, asynchronous IO for sqlplus seems interesting for me as well, thx for answer


Way to configure the default model

So you can default to something other than 3.5 turbo.
Related:

#17
#20

Since I'm adding a llm models command this could be llm models set-default gpt4.

I'm going to let people set a default template too.
If a default template is set but you want to run a prompt with no template, llm -t none - where none is a reserved word that cannot be used for a template.

Maybe just llm models default gpt4 and llm templates default x.

I'm going to let people set a default template too.

Actually no, on further thought I don't think that's a good idea.

Documentation: https://github.com/simonw/llm/blob/e1d2a71fd6692bf50831343b21a1b4587b8c59fb/docs/usage.md#setting-a-custom-model


Bugfix operationbased with interface not generated interface model as sealed interface

Fix for #4421

There is an unwanted side effect on responseBased codegen. Need to revise the solution.

I revised the solution. Ready for review.

@BoD looking at this, I believe we're missing a few sealed interfaces for responseBased fragment implementations. Any reason we do not pass true for FragmentBuilder?

@martinbonnin No, I can't think of a reason, this was probably an oversight. The generated code looks good with true here!

Alright, merging this and I'll make a follow up PR for FragmentBuilder


Problems removing params from a decorator

Based on the official tutorial, we have written a set of decorators for removing endpoints, params, properties, components that have "x-internal: true". This has worked well for a time, but as our schemas became more complex, we started noticing issues around parameter removal. I have now managed to produce a minimal example demonstrating the issues.
Full repository: https://github.com/bojanz/openapi-cli-bug
Let's take the following decorator:
   "remove-parameters": () => {
      return {
        Parameter: {
          leave(parameter, ctx) {
            if (parameter["x-internal"]) {
              ctx.parent.splice(ctx.key, 1);
            }
          },
        },
      };
    },

And the following parameters:
    parameters:
        - $ref: '#/components/parameters/Vendor'
        - in: query
          name: filter[owner_id]
          description: Allows filtering by `owner_id`.
          schema:
            type: string
        - in: query
          name: filter[external_id]
          description: Allows filtering by `external_id`.
          schema:
            type: string
          x-internal: true
        - in: query
          name: filter[deleted]
          description: Allows filtering by `deleted`.
          schema:
            type: boolean
          x-internal: true

With the referenced Vendor resolving to an x-interal one:
    Vendor:
      in: header
      name: X-Vendor
      description: The vendor.
      schema:
        type: string
      x-internal: true

Problems:

The referenced Vendor parameter is only removed from the first endpoint. It is ignored for all subsequent endpoints (decorator never called). This problem goes away if we nest the Parameter decorator under PathItem (but requires us to duplicate it for operation-level parameters). Alternatively, the problem goes away if we dereference the parameter and stop using $ref.

filter[external_id] gets removed but filter[deleted] doesn't (decorator not called). This might be a result of the splice call in the decorator?

Bonus observation:
It feels odd that parameter references are auto-resolved, but property references need to be resolved manually. Why isn't it automatic there as well? Performance optimization?

Looking at the new built-in remove-x-internal decorator I was able to rewrite the decorator to work properly:
"remove-parameters": () => {
      function removeParameters(node, ctx) {
        if (!node.parameters) {
          return;
        }

        let didDelete = false;
        for (let i = 0; i < node.parameters.length; i++) {
          if (!node.parameters[i]) {
            continue;
          }
          parameter = node.parameters[i]
          if (parameter["$ref"]) {
            resolved = ctx.resolve({
              $ref: parameter["$ref"],
            });
            parameter = resolved.node;
          }
          if (parameter["x-internal"]) {
            node.parameters.splice(i, 1);
            didDelete = true;
            i--;
          }
        }
      }

      return {
        Operation: {
          leave(operation, ctx) {
            removeParameters(operation, ctx);
          },
        },
        PathItem: {
          leave(pathItem, ctx) {
            removeParameters(pathItem, ctx);
          },
        },
      };
    },

I think that, plus the existence of the built-in decorator mean that this issue can now be closed. Before we do that though, I'd like to know, is there a way to simplify the new code? I am not sure if there's a shorter way of accessing the resolved parameters.

Came up with the slightly simpler:
    "remove-parameters": () => {
      function removeParameters(parameters, ctx) {
        return parameters.filter(function (parameter) {
          if (parameter["$ref"]) {
            resolved = ctx.resolve({
              $ref: parameter["$ref"],
            });
            parameter = resolved.node;
          }

          return !parameter["x-internal"];
        })
      }

      return {
        Operation: {
          leave(operation, ctx) {
            if (operation.parameters) {
              operation.parameters = removeParameters(operation.parameters, ctx);
            }
          },
        },
        PathItem: {
          leave(pathItem, ctx) {
            if (pathItem.parameters) {
              pathItem.parameters = removeParameters(pathItem.parameters, ctx);
            }
          },
        },
      };
    },

Oh, I think we have an issue in our built-in decorator. We forgot about $ref-ed components... 🙈
We'll fix built-in decorator soon. Your code seems valid.


Crash on clicking with tinkers construct tools.

If i right-click the controller of turbines or reactors with tools of tinkers construct mod in hand the game crashes instantly.

You seem to not be using the latest version as this has been fixed long time ago.

I'm getting this issue in 0.4.3.A. Right-clicking the controller with an empty hand does not crash, but with a Tinker's Construct tool does. This is my crash report: http://pastebin.com/nchr7Aqg

Also happens for me:
http://hastebin.com/qigelolepa.coffee


tests: migrate to vitest, add nuxt e2e

To keep consistency within the VueUse ecosystem, I thought it was worth migrating the tests to Vitest.
Also to avoid downstream issues with Nuxt, I added an e2e test for it. The test is basic at the moment but would be expanded upon in the future.
This also improves the vite e2e test to use a random port instead of 3000 and potentially failing.
There shouldn't be any changes effecting logic and snapshots should be the same

Awesome, thanks!


Update native dependencies section to specify RID correctly

cc @rnagpal

Open Publishing Build Service: The pull request content has been published and here are some changed files links of this time:

Docset 1 - core-docs
https://review.docs.microsoft.com/en-us/dotnet/articles/core/tutorials/libraries?branch=pr-en-us-1144

Status: Succeeded.
Open Publishing Report.

Open Publishing Build Service: The pull request content has been published and here are some changed files links of this time:

Docset 1 - core-docs
https://review.docs.microsoft.com/en-us/dotnet/articles/core/tutorials/libraries?branch=pr-en-us-1144

Status: Succeeded.
Open Publishing Report.

Merging today if there's no objections, @rnagpal @mairaw.

Looks good to me. Thanks @cartermp

Awesome, thanks!  I'll merge this once my final commit to address the last of @mairaw's feedback is green on CI.

Open Publishing Build Service: The pull request content has been published and here are some changed files links of this time:

Docset 1 - core-docs
https://review.docs.microsoft.com/en-us/dotnet/articles/core/tutorials/libraries?branch=pr-en-us-1144

Status: Succeeded.
Open Publishing Report.


BUG: Strange behavior in Treenode prune / shear / bifurcate

When I run the following commands
In [1]: from skbio import TreeNode

In [2]: tree = TreeNode.read([u'(((a,b,f,g),c),d);'])

In [3]: new_tree = tree.shear(['a','b','c','f'])

In [4]: new_tree.bifurcate()

In [5]: new_tree.prune()

In [6]: [n.name for n in new_tree.tips()]

I get this error
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-24-21abf6988dfb> in <module>()
----> 1 [n.name for n in new_tree.tips()]

<ipython-input-24-21abf6988dfb> in <listcomp>(.0)
----> 1 [n.name for n in new_tree.tips()]

/Users/mortonjt/Documents/UCSD/research/scikit-bio/skbio/tree/_tree.py in tips(self, include_self)
   1315
   1316         """
-> 1317         for n in self.postorder(include_self=False):
   1318             if n.is_tip():
   1319                 yield n

/Users/mortonjt/Documents/UCSD/research/scikit-bio/skbio/tree/_tree.py in postorder(self, include_self)
   1151                     break
   1152                 curr = curr.parent
-> 1153                 curr_children = curr.children
   1154                 curr_children_len = len(curr_children)
   1155                 child_index_stack.pop()

AttributeError: 'NoneType' object has no attribute 'children'

Note that this only occurs with scikit-bio==0.5.0.  Any idea what is going on?

@wasade would you be able to look into this?

I'll get a fix in tomorrow. I think I know what's up
On Aug 21, 2016 4:01 PM, "Jai Ram Rideout"<EMAIL_ADDRESS>wrote:

@wasade https://github.com/wasade would you be able to look into this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore/scikit-bio/issues/1416#issuecomment-241287836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAc8sndNgdVJIfF7WuX7v04-_mRXP0XNks5qiNjXgaJpZM4JpN8u
.

For added notes on the bug, it can be recreated just by the shear call (i.e., no need for bifurcate or prune). The source of the problem is a violation of the tree structure as a the child of a parent does not point back to the same parent:
What we expect:
In [25]: id(tree.children[0].parent)
Out[25]:<PHONE_NUMBER>

In [26]: id(tree)
Out[26]:<PHONE_NUMBER>

What we observe:
In [27]: id(new_tree.children[0].parent)
Out[27]:<PHONE_NUMBER>

In [28]: id(new_tree)
Out[28]:<PHONE_NUMBER>

This bug was introduced in #1398. The specific line in the relevant commit is here where a call to self.children.extend was performed instead of a call to self.extend. The difference being that self.children.extend is a list.extend, without knowledge of TreeNode whereas TreeNode.extend performs an update if necessary to the parent pointer.

@jairideout @mortonjt ready for review

Fixed by #1417

Thanks for the fix @wasade!


ucontext-cp example core dump - double free or corruption (!prev)

CentOS Linux release 8.4.2105
gcc version 8.4.1
Master branch
https://github.com/axboe/liburing/blob/ddf26640e73064f31e561c57063189d8850632d8/examples/ucontext-cp.c#L181

@ammarfaizi2 Which debugging software were you using?

GDB


"Irregular" sizes breaks the creation of storage accounts

Creating a storage account that's not whole sizes breaks the creation of drives. Example:
shdw-drive create-storage-account -kp walletfile -s 7.96gb -n somename
This is beta software running on Solana's Mainnet. Use at your own discretion.
✔ This storage account will require an estimated 1.99 SHDW to setup. Would you like to continue? … yes
✖ Error processing transaction. See below for details:
Error: Invalid character

while using an increment of .5 or 1 works fine:
shdw-drive create-storage-account -kp walletfile -s 8gb -n somename
This is beta software running on Solana's Mainnet. Use at your own discretion.
✔ This storage account will require an estimated 2 SHDW to setup. Would you like to continue? … yes
✔ Successfully created your new storage account of 8gb located at the following address on Solana: 8fdFb93XdP62eMNTfCJk2qzn2sEdtMd4Gj9yor1wNaTY

@robbestad Can you please confirm what version of the CLI you're using here?

0.3.4.

if you can't replicate this and the other, then I can happily just use the cloud server. I won't be using my desktop for this in the future anyway.

I'm actually able to replicate this with using 7.96gb as the size parameter. We'll dig in to see about resolving. Thank you for reporting!

Submitted a pull request to the SDK that will resolve this once merged: https://github.com/GenesysGo/shadow-drive


Uninterruptible semaphore waits breaks cancellation.

In NuttX, thread or tasks may be canceled using pthread_cancle() or task_delete()  These can also be cancel via signals if default signal actions are enabled.
When threads or tasks are canceled asynchronously, resources may be stranded.  For example, if memory is allocated, it will not be deallocated when the task/thread is canceled in the FLAT build.  These kind on leaks can be handled with pthread_cleanup() or on_exit(), but others cannot.
The generic solution for NuttX is through the use of cancellation points.  Cancellation points are a mechanism that assures that all resources used internal by OS interface calls are cleaned-up automatically at designated cancellation points.  An interface is normally a cancellation point if it has any possibility of blocking.
In NuttX, when threads are blocked waiting of a semaphore when they are canceled, nxsem_wait() will return -ECANCELED and the correct behavior to let the error ripple back to the cancellation point where the thread/task will be canceled after all resources have been cleaned up.
Many internal OS functions use nxsem_wait_uninterruptible() for waiting.  nxsem_wait_uninterruptible() is defined in include/nuttx/semaphore.h.  nxsem_wait_uninterruptible wraps a call to nxsem_wait() in a loop like:
static inline int nxsem_wait_uninterruptible(FAR sem_t *sem)
{
  int ret;

  do
    {
      /* Take the semaphore (perhaps waiting) */

      ret = nxsem_wait(sem);
    }
  while (ret == -EINTR || ret == -ECANCELED);

  return ret;
}

The correct behavior is to continue waiting on -EINTR only.  If the task/thread is awakened by a signal just continue waiting.  The behavior for -ECANCELED is not correct.  It should not loop.  Looping like this will prevent the cancellation from working.  Instead of returning through the cancellation point, the code will be stuck in the above loop (in defferred cancellation mode) and cannot be cancelled.
The correct behavior is to return when -ECANCELED is encountered, not to continue looping:
-  while (ret == -EINTR || ret == -ECANCELED);
+  while (ret == -EINTR);

The only complexity to this suggested change is that the callers of nxsem_wait_uninterruptible() must also check the return value for any errors and make sure that that error is returned to the caller.  The error must propogate all the way back up to the cancellation point.
These are other related inline functions in include/nuttx/semaphore.h that behave in this same way.  This issue applies to them as well.
Corollary:  If cancellation points are enabled, the default cancellation mode should be deferred mode.

There is a more complete discussion of how ECANCELED is required to support cancellation here:  https://cwiki.apache.org/confluence/display/NUTTX/Cancellation+Points

There are three interfaces affected by this issue:  nxsem_wait_uninterruptible(), nxsem_timedwait_uninterruptible(), and nxsem_tickwait_uninteruptible.  PR #645 handles the latter two cases.
The full solution will require similar modificatinos to nxsem_wait_uninterruptible(). That, however, is a much larger effort because nxsem_wait_uninterruptible is used much more frequently, and also because the return value is usually ignored. Those cases must all be changed to that they handle the -ECANCELED error return value.
Even though there are many files, the change would still be rather easy if it were not for the fact that all of the modified files would also need to go throught nxstyle. Most of the files requiring modificatin are under arch/ and those historically have more coding standard issues.

The final change for to nxsem_wait_uninterruptible() looks like it would require modifying 218 files, 132 of those are under arch/ and would most like require significant time to pass nxstyle cleanly.

#646 handles the return values from nxsem_wait_uninterruptible()  under graphics/, mm/, net/, sched/, wireless/bluetooth.  Still do do:  fs/, drivers,/, and arch/

I refer to those use cases as mutual exclusion sempahores, and signaling semaphores.  I think both should work the same:  For both the semaphore wait should be terminated and correct error should be returned.
If the API requires returning EINTR if a signal is received, we should return the error.  This is required in most POSIX interfaces and don't see how you could avoid that.  However, the mutual exclusion semaphores are the just there for the correctness in the design.  There is seldom any real competitor for the exclusion semaphore and, in general, they never block and, hence, would never generate the error.
And even if taking the mutual exclusion semaphore does cause the thread to block, it should block form only a very brief moment of time and the likelihood of a signal received or of the task being canceled is very small.
But if there is even a small possibility of that event happening, it WILL happen in an embedded system.
But if during the that brief moment while the thread is blocked, a signal is received, I think that it is correct to return EINTR.  This is not so critical only because such an event it is rare.  But the specification requires it so we should do it.
But ECANCELED error is ABSOLUTELY critical to return under any circumstance.  That cancellation notification is received only once and it if is ignored, then the thread will not cancel it will continue to run.  It really must return immediately with ECANCELED for the cancellation to work quickly and reliably, where ever ECANCELED is detected.  Ignoring it is a hard bug in any case.
The signaling semaphores are a different story.  The may block for a very long time, for example, waiting for the receipt of data that will never come.  For example, a read from a serial port will hang indefinitely if nothing is received on the serial port.  So if a signal is received or if the thread is canceled, then it is essential to terminate the semaphore wait and return the error condition.  But we have no difference of opinion on that.
There is really no difference in the actions that must be taken if a signal is received of if the task is canceled.  Both mutual exclusion semaphores and signaling semaphores should wake up and return the error condition.  The only real differences is that mutual exclusion semaphores either do not block or, if they do, the do not block as long.

Currently, the only way for an OS interface function to know if a signal was received is to be awakened with an EINTR error.  That is why is is critical to always return the EINTR error and conform with the POSIX requirements.
However, if a signal is received while the OS interface is NOT waiting, then there is no way to know if the signal was received.  I think that is a limitation in the current design.  There probably should be some global indication, perhaps in the TCB, that a signal has been received.
There is already a TCB_FLAG_CANCEL_PENDING in the TCB that will tell us that the if the task has been canceled.  That flag is tested in the leave_cancellation_point() function so I don't think that there is any corresponding issue for thread cancellation.  We just need to make sure that all waits are aborted if ECANCELED is received and let the error indication ripple all they back to the leave_cancellation_point() function.  Then the function will exit cleanly, safely, and quickly.

Returning EINTR really only applies to read() and write() (and open()) functions as covered by #669 .  In other places, EINTR can be ignored.
But, on the other hand, ECANCELED can never be ignore under any condition.

Most of the content of this Issue has been preserved as an Addendum to the "Cancellation Points" Wiki Page:  https://cwiki.apache.org/confluence/display/NUTTX/Cancellation+Points

And even if taking the mutual exclusion semaphore does cause the thread to block, it should block form only a very brief moment of time and the likelihood of a signal received or of the task being canceled is very small.

There is an exception to this.  A driver that reads data could have a sequence like this:

Get exclusive access to the driver by taking a semaphore
Wait on a semaphore for data (might be a long time)
Release the mutual exclusion semaphore.

Now suppose there are two applications, Task A and Task B, that open the driver and try to read from it.  The first, Task A, will get the mutual exclusion semaphore at (1) and then will hang waiting for data at (2).  But the second, Task B, will hang at (1) for very long time.  It is effectively queued and cannot event begin its wait on the signaling semphore until Task B receives its data and releases the mutual exclusion semaphore.  This normal behavior and exactly, how this is supposed to work.
But now suppose that Task B receives a signal interrupt or a cancellation event while waiting on the mutual exclusion semaphore.  It MUST terminate the wait and return -EINTR or -ECANCEL immediately.   Task A may never receive data and if that action is not taken, the signal interrup or cancellation event is lost and the functionality has failed.


Updated script to obtain version information from tag in git

Any comments on this @davidbeckingsale?

The issue I see is that we create the tag on GitHub, so the new tag won't exist when you want to run this script to create the release tarball (since you will be running it while creating the new release on GitHub)

The issue I see is that we create the tag on GitHub, so the new tag won't exist when you want to run this script to create the release tarball (since you will be running it while creating the new release on GitHub)

Good point.  Hmm.

FWIW, I don't think there is a way to create a release tarball as part of the release creation/version tagging process on GitHub. Please let me know if you come up with something like that. To me, it would make more sense if GitHub included all submodules when it creates release "assets".

As per the notes above, this solution will not work.


IE8 ，the search input not works！

You should provide more information to describe what happened, what is logged in the console.


Add back metadata

Removed in https://github.com/Azure-Samples/iot-reliable-edge-relay/commit/e3be7213a0fcb3d981ec70bcff643623a32955c4.

@ChenCheng368 @WilliamBerryiii Can you merge this to add the sample back to the samples browser?

I went ahead and removed our broken links to this sample's URL on learn.microsoft.com/samples, so I'll close this PR.

@gewarren - sorry for missing this PR ... we've been wildly busy and I forgot to link this repos PRs and Issues to our internal team tracker. Thanks much for trying to close the loop on things!

@WilliamBerryiii Ah okay, I'll reopen then in case you didn't mean to remove this sample from the sample browser.


Trade duration incorrect after editing

I have entered a trade. But did not adjust the date of 31.12. when closing the trade. I changed the entry to the correct date afterwards, but the trade duration was not corrected.

The trade was closed on the day of opening.

Thanks, I seem to be seeing the same as you and after I restarted the program the DIT returned to the correct 0 days. I must be missing a refresh calculation after the edit is processed.

Added code to detect EDIT transaction and reload the correct dates. New TradeTracker.exe posted to the Preview-2 post under the "Assets" section. https://github.com/PaulSquires/TradeTracker/releases/tag/4.0.0-preview2
I will leave this issue open pending confirmation from you that this bug is fixed.

Added code to detect EDIT transaction and reload the correct dates. New TradeTracker.exe posted to the Preview-2 post under the "Assets" section. https://github.com/PaulSquires/TradeTracker/releases/tag/4.0.0-preview2
I will leave this issue open pending confirmation from you that this bug is fixed.

Happy New Year.
Thank you. The correct date is now displayed.
It is not a bug, but can you please correct the fact that when you are in the closed trades tab and edit an entry, you automatically jump to the active trades tab when saving.

... can you please correct the fact that when you are in the closed trades tab and edit an entry, you automatically jump to the active trades tab when saving.

Happy New Year to you also! Yes, I will take a look at that today. Should be do-able.

... can you please correct the fact that when you are in the closed trades tab and edit an entry, you automatically jump to the active trades tab when saving.

Happy New Year to you also! Yes, I will take a look at that today. Should be do-able.

Actually, this was very easy to fix and is now corrected. Once I fix the "Missing Description" bug that you also reported then I will post a new EXE for you to try. Thanks for all of your help. It is VERY helpful having another person's perspective on using the program.

I know that. It is difficult to write a program that is suitable for all possible use cases. Especially if you only use it for a limited number of cases. In my case it is difficult for me to understand how the legs should be handled, because I use simple puts and calls. I am looking forward to your documentation. Also regarding the colors of the dots.
I have very little idea about C++ so I can't provide a code help, but I would be happy to continue testing your beautiful tool and you fix the bugs. Win-win situation.  :laughing:


combine all volume-1

combine all of volume-1 into one volume-1.md.
explicit named anchors to be used for references to existing file breakdown.
follow pattern used in PIXm.

PDQm_103: PDQm has a small volume 1 content. Thus breaking each H2 out into independent html files makes it harder to address. We may choose to do similar to PIXm and have just one volume 1 content with deep links.

agree to move PDQm to one volume-1 html.
Noted that this is more friendly also for searching-on-page when one knows that something they are interested in is in volume 1.


Update autorest version to prerelease

Generated by autorest.java - preview build 20241011.2Triggered from branch: eng_preview-pipeline

API change check
API changes are not detected in this pull request.


epic: Add the fmt_duration() method

The fmt_duration() method would be useful to have for transforming numerical values (and time duration values) to well-formatted and customizable duration strings.

For me is the missing fmt_duration() almost showstopper as it literary breaks rendering any GT with duration column:

TypeError: '<' not supported between instances of 'datetime.timedelta' and 'int' error

The only workaround is to keep the duration columns as strings what is not very practical.
Looking forward to v0.11.0

Hey @vlcinsky, thanks for flagging this error. Can you say a bit more about what triggers this error, or provide an example? I'm trying to reproduce. I noticed a different error when using a timedelta in polars, but wasn't able to reproduce the error message you received.
Here's what I tried
import polars as pl
import pandas as pd
from datetime import timedelta
from great_tables import GT

# polars ---
# error: casting from Duration(Microseconds) to String not supported
GT(pl.DataFrame({"some_duration": [timedelta(1)]}))

# pandas ---
# works okay
GT(pd.DataFrame({"some_duration": [timedelta(1)]}))


In Xiaomi Purifier 3C  Entity environment missing

In Xiaomi Purifier 3C (zhimi.airpurifier.mb4) Entity Environment is missing from some release updates

Are there any environmental sensors in the latest version ?

No, I wrote just after latest update

Please provide entity state attrs:

🔨 Developer tools > ℹ State > 🔍 Filter Entity

Before was
air_quality.purifier_name_environment
Now
sensor.purifier_name_air_purifier_pm2_5_density
Same value, so it's fine...
Anyway state attrs below
It is recognized as Climate entity
hvac_modes:

auto
'off'
min_temp: 16
max_temp: 31
target_temp_step: 1
preset_modes:
Sleep
Favorite
'off'
current_temperature: null
preset_mode: null
model: zhimi.airpurifier.mb4
lan_ip: <IP_ADDRESS>
mac_address: 54:48:E6:C3:53:F3
firmware_version: 2.0.8
hardware_version: esp32
entity_class: MiotClimateEntity
miot_type: urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-mb4:2
air_purifier.on: true
air_purifier.fault: 'null'
air_purifier.mode: 0
custom_service.moto_speed_rpm: 388
custom_service.miio_lib_version: 'Jerry Yang . Ver: 1.7.0. Date: Jun 18 2020. Time: 20:26:19.'
custom_service.favorite_speed: 2000
custom_service.aqi_updata_heartbeat: 0
physical_controls_locked: false
screen.brightness: 3
alarm: false
filter.filter_life_level: 79
filter.filter_used_time: 731
environment.pm2_5_density: 3
state_updater: lan
sub_entities:
environment-3.pm2_5_density-4
filter-4.filter_life_level-1
filter-4.filter_used_time-3
physical_controls_locked-8.physical_controls_locked-1
friendly_name: Purificatore Aria Francy Air Purifier
supported_features: 16

The AirQuality platform has been marked as deprecated. The air_quality entity is removed and replaced with sensor entities.


⚠ Bofrost.be has degraded performance

In d2b3257, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1252 ms

Resolved: Bofrost.be performance has improved in 6524cdc.


Install fail

▶ npm install -g gitwalk
npm WARN deprecated<EMAIL_ADDRESS>'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
/usr/local/bin/gitwalk -> /usr/local/lib/node_modules/gitwalk/out/bin/gitwalk.js

><EMAIL_ADDRESS>install /usr/local/lib/node_modules/gitwalk/node_modules/nodegit
> node lifecycleScripts/install

/usr/local/lib/node_modules/gitwalk/node_modules/promisify-node/utils/args.js:9
  var args = func.toString().match(/function\s.*?\(([^)]*)\)/)[1];
                                                              ^

TypeError: Cannot read property '1' of null
    at module.exports (/usr/local/lib/node_modules/gitwalk/node_modules/promisify-node/utils/args.js:9:63)
    at /usr/local/lib/node_modules/gitwalk/node_modules/promisify-node/index.js:79:29
    at Array.filter (<anonymous>)
    at processExports (/usr/local/lib/node_modules/gitwalk/node_modules/promisify-node/index.js:60:6)
    at module.exports (/usr/local/lib/node_modules/gitwalk/node_modules/promisify-node/index.js:112:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/gitwalk/node_modules/nodegit/generate/scripts/generateNativeCode.js:3:13)
    at Module._compile (internal/modules/cjs/loader.js:1133:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
    at Module.load (internal/modules/cjs/loader.js:977:32)
    at Function.Module._load (internal/modules/cjs/loader.js:877:14)

+1

seeing this same issue sadly.

+1

i looked around and this project seems to have the best approach to handling what i want (i.e. downloading/managing dozens/hundreds of repositories). i kinda wish it there was a git extension that had the same JSON interface or something.
@richburdon @carsonoid @aberberich there are two forks with more recent commits.
both @athombv and @InsiderIn have forks with commit, but i'm running into install issues there as well. i don't have a ton of recent experience with npm and i think there's some issue with bad state on my end.
hopefully @pazdera can help us figure it out.

here are the projects that i checked out:
TODO standardize a format for listing repos to clone for a language like clojure/julia/etc or use the following (preferred at top) {#standardize-a-format-for-listing-repos-to-clone-for-a-language-like-clojurejuliaetc-or-use-the-following-preferred-at-top}

pazdera/gitwalk (popular,
allows groups defined via JSON, best so far)
mixu/gr (another promising bulk
management tool)

similar to my old gitar scripts
auto-discover local git repos, attach tags and manage as lists

asottile/all-repos
(interesting)
naddeoa/git-bulk (also
probably helpful)
fabiospampinato/autogit
(most popular, but aimed towards personal/org repo management)
scivision/pygit-bulk and
GitMC
Bulk backup/clone of Git Repos From A
List
RepoSweeper (for
deleting/managing Github repos)


the tutorials show using query, but query args are single-quoted by mistake

Folks, in the CLI tutorial pages (such as https://docs.microsoft.com/en-us/cli/azure/azure-cli-vm-tutorial?tutorial-step=4&view=azure-cli-latest), it shows use of the --query arg for a command like az show, but the query argument is mistakenly show as being single-quoted:
--query 'networkProfile.networkInterfaces[].id'
That just treats the arg as a string, and returns that string itself as the result, not the evaluated value of that named element.
Instead, the arg should be double-quoted (or not quoted at all, as long as there is no space in the name of the arg).
This is true as well on the next step (5) of the tutorial. Indeed, it would seem that someone on the doc team should endeavor to find any cases in any of the CLI docs where the --query arg is followed by a single quote, to assess if it should be a double-quote instead.

@carehart The query is in fact treated as a string, because it's passed through to the CLI and not meant to be evaluated in-shell. Double-quote behavior for arguments which include shell-interpreted behavior such as [] case misbehavior in some versions of bash and bash-dervied shells, such as zsh. If you are working on PowerShell, please keep in mind that site examples are written for bash.


base64 image not working on android targetSDK23

Hye,
I notice that sharing using base64 image not working on android when the targetSDK is 23.. for 22 it's working.. could be related to overlay permission ?
is there any ways or work around to make sure it's working for 23 because after I published app to play store I cannot change it back to 22
thanks!

You need to request permissions :
const allowedStorage = await PermissionsAndroid.request(
    PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE
  );

@MrHazimAli did #244 solved?
Can we close this issue?


Feature.ltm ifiles

536 feature.ltm_ifiles - adds support for ifiles

Would it be possible for you to point me to the files you have made changes too, this commit history is quite long and I am not sure where to start..

Yeah, sorry about that. I tried to squash but keeps giving me errors. I think someone mentioned squashing on merge. The files I added/updated:
conftest.py
f5/bigip/tm/sys/file.py
f5/bigip/tm/sys/test/test_file.py
f5/bigip/tm/ltm/ifile.py
f5/bigip/tm/ltm/test/test_ifile.py
test/functional/tm/ltm/test_ifile.py
test/functional/tm/sys/test_file.py
From: Wojciech Wypior<EMAIL_ADDRESS>Reply-To: F5Networks/f5-common-python<EMAIL_ADDRESS>Date: Wednesday, August 17, 2016 at 4:02 AM
To: F5Networks/f5-common-python<EMAIL_ADDRESS>Cc: Jason Rahm<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [F5Networks/f5-common-python] Feature.ltm ifiles (#617)
Would it be possible for you to point me to the files you have made changes too, this commit history is quite long and I am not sure where to start..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/F5Networks/f5-common-python/pull/617#issuecomment-240355100, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA0SS4ad2Wtd5RnraCiKJa7MXgg8KqlSks5qgs5DgaJpZM4Jhhqw.


FIX: Propagate Slack channel Override

This PR fixes a bug that prevents routing slack messages to the configured target channels.
Related to: https://github.com/kyverno/policy-reporter/issues/458
Testing done:
Config file:
slack:
  channels:
    - channel: kyverno-reports1
      customFields:
        cluster: TestCluster
      filter:
        namespaces:
          include:
          - team1-a
          - team1-b
        policies:
          include:
          - test-policy
        priorities:
          include: warning
      name: team1
      skipExistingOnStartup: false
      sources:
      - kyverno
      webhook: https://slack.webhook
    - channel: kyverno-reports2
      customFields:
        cluster: TestCluster
      filter:
        namespaces:
          include:
            - team2-a
        policies:
          include:
          - test-policy
        priorities:
          include: warning
      name: team2
      skipExistingOnStartup: false
      sources:
      - kyverno
      webhook: https://same-slack-webhook-as-team1

Output
{"L":"INFO","T":"2024-07-09 16:12:34","C":"config/resolver.go:87","M":"API BasicAuth enabled"}
{"L":"INFO","T":"2024-07-09 16:12:34","C":"config/target_factory.go:351","M":"team1 configured"}
{"L":"INFO","T":"2024-07-09 16:12:34","C":"config/target_factory.go:351","M":"team2 configured"}
{"L":"INFO","T":"2024-07-09 16:12:34","C":"cmd/run.go:152","M":"start client","worker":5}
{"L":"INFO","T":"2024-07-09 16:12:35","C":"kubernetes/policy_report_client.go:63","M":"informer sync completed"}
{"L":"INFO","T":"2024-07-09 16:12:35","C":"http/utils.go:51","M":"team1: PUSH OK"}
{"L":"INFO","T":"2024-07-09 16:12:35","C":"http/utils.go:51","M":"team2: PUSH OK"}
{"L":"INFO","T":"2024-07-09 16:12:35","C":"http/utils.go:51","M":"team2: PUSH OK"}

Slack messages are routed properly

thanks, will try to release a fixed version end of the week

you are welcome thanks for the quick merge.


Consider new storage engine over RocksDB

Description
RocksDB is an LSM tree DB which is good for write heavy workloads. Besu's storage paradigm leans heavily towards reads over writes for total IOPS.

There are likely several database solutions that would better suit our needs with better read performance tradeoffs vs Rocks. Another option to explore is a mixed database. We could combine RocksDB for write heavy tasks with another DB format, maybe B+ tree, for read heavy tasks. We may find, for example, that LSM works best for the state and account tries but B+ works best for flat database, code storage, blockchain, etc.
Acceptance Criteria

Order of magnitude better read performance over RocksDB to justify the switching cost
Minimized write performance degradation to justify the switching cost

To Do

[ ] Determine landscape of solutions that fit our functional requirements
[ ] Adapt storage plug-in for most relevant solutions
[ ] Benchmark Besu storage configurations and brief results
[ ] Determine way forward for adoption or pass on effort

Any storage solution should support arbitrary point-in-time based queries in order to support bonsai


eval_perf fix

Description

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Refactor
[ ] New or updated tests
[ ] Dependency Update

Notes to Reviewers

Checklist

[ ] I have performed a self-review of my code.
[ ] I have commented my code where necessary.
[ ] I have updated the documentation if needed.
[ ] My changes do not introduce new warnings.
[ ] I have added tests that prove my changes are effective or that my feature works.
[ ] New and existing tests pass with my changes.

Related Issues

Was planning on looking into this! This is great! Thanks!


[WIP] Added .nmvrc code

Some bugs in the implementation. Prompt does not print. #57

I think you have to (rebase)[http://gitready.com/intermediate/2009/01/31/intro-to-rebase.html]. Let me know you need some help!

@desyncr I ran this command(git pull --rebase https://github.com/frmendes/geometry.git master). Is that the proper command?

@desyncr I was overthinking this. The code now works!. It only prints the version when an .nvmrc file or yarn file is found. Thanks @desyncr

Thank you @castellanprime for your amazing work!

Btw we should implement similar behaviour to other project-based plugins, such as ruby, rustup and virtual_env. Only display these prompts when we're sitting in a project (Gemfile, Cargo.toml, etc.)

I'll review this later, but regarding this comment:

we should implement similar behaviour to other project-based plugins

I agree and I think we should encourage this more. I'm not a big fan of abstracting more on top of the plugin layer just yet (say, by providing utility functions to render language plugins if a given file is present). Maybe in the future, but for now definitely set some guidelines or similar.

@castellanprime Looking really great!

@desyncr @frmendes Thanks for letting me on. If you have any other suggestions on how to improve this, feel free to let me know. So can I take another issue and tackle it?

There're plenty of open issues feel free to join any of those :) If you got suggestions or ideas how to improve the project in anyway please open an issue or join us at gitter.

Looking and working great from my side. @frmendes Any feedback?

Looking good, merging. Thanks 😄


Fix a problem that the scanning stops immediately

The PR fix the problem：
Repetition steps: (test on android 11)

start scanning
turn off bluetooth
turn on bluetooth
start scanning again

expected result:
The scan starts normally.
actual results：
the scanning stops immediately.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix name of some syscalls in docs

I think you're right, but the docs comes from liburing manpage. https://github.com/axboe/liburing/blob/master/man/io_uring_enter.2#L1155
I would like docs to be simply consistent with manpage, would you like to fix liburing manpage as well?

Oh the plot thickens, makes sense, yes I will do that. Already confused about futex2 since that is almost a thing with futex_{wait,wake,waitv but there is no futex2(2) man page (nor for those calls) so I will try to figure that out and get back to you

updated to drop the futex2 changes, liburing now reflects the same changes

Thank you!


Add user rohitkrai03 to the admin list

Add me<EMAIL_ADDRESS>to the admin list

Can one of the admins verify this patch?