Cannot autocomplete kubectl bash aliases

The default kubectl complete function __start_kubectl does not work with bash aliases:
# ~/.aliases
alias k="kubectl"
complete -o default -F __start_kubectl k

Actual output:
~$ k [TAB]
k kubectl

~$ k k [TAB]
k kubectl

Expected output:
~$ k [TAB]
annotate        convert         expose          rolling-update
api-versions    cordon          get             rollout
apply           cp              label           run
attach          create          logs            scale
auth            delete          options         set
autoscale       describe        patch           taint
certificate     drain           plugin          top
cluster-info    edit            port-forward    uncordon
completion      exec            proxy           version
config          explain         replace

I can confirm the same behavior on my end

I don't know if this is the best/right solution, but I made k autocomplete by doing source <(kubectl completion bash | sed 's/kubectl/k/g').

https://github.com/cykerway/complete-alias is kind of amazing.  With this, there is no need to modify the original completion functions, and it works with lazily-loaded completions.

Same issue on my end in OS X.

/remove-lifecycle stale

Can someone help to update the vendor to pick up the fix in cobra?

/assign

With Zsh, completion works with aliases as well, but with Bash not. Probably the best workaround is to use complete-alias. Install it by sourcing the main file in your ~/.bashrc. Then, for every alias for which you want to enable completion, add the following to your ~/.bashrc file:
complete -F _complete_alias my-alias

@weibeld complete-alias doesn't work on Mac. I've spent the last hour trying to make it work, no dice. The author ignored a patch to make it work. I gave it props in a stack exchange discussion, it does work on Linux. But it's not a generalized solution.

@briantopping complete-alias works on Mac, but not with Bash 3.2, which is the default on Mac. You can install Bash 5.0 (see for example here) and it will work. It also depends on bash-completion 2.0+ (current version is 2.8).
So, if you don't use outdated tools, like the default Bash on Mac, complete-alias is a general solution too, the only dependencies are Bash 4.1+ and bash-completion 2.0+. I didn't yet try the Cobra solution, but it looks good too.

So, if you don't use outdated tools, like the default Bash on Mac

Yah, I'm a total putz at this stuff. Playskool "My First Mac" obviously wasn't enough training for something so monumental as getting aliases working. I stand corrected.

@weibeld it doesn't work on mac. I followed your instructions here as well as your very elaborated posts on itnext.io but as @briantopping said, no dice.

@nir-logzio what is your version of Bash and bash-completion?

@weibeld
bash: 5.0.2(1)-release
completion: stable 2.8 (bottled)

@weibeld
bash: 5.0.2(1)-release
completion: stable 2.8 (bottled)

So what doesn't work? It's just that the completion of the aliases doesn't work, or is there an error message?

The completion of aliases doesn't work. It starts by adding the original command to the completion instead of its options.

Did you try with different aliases and commands? Maybe you can create a screencast and share it on asciinema.

@weibeld The original description from Nov 2017 describes it perfectly. No need to bother with a screencast

@nir-logzio You did complete -F _complete_alias k (if k is your alias for kubectl) and the output is still like in the original post?

@nir-logzio: Give a try to the solution @amalucelli provided above. That's what I am using. Upgrading bash is an option, but one I personally prefer to avoid for every new developer.

@briantopping yes I've considered this option but as it is quite a hack I'm currently planning on trying zsh and perhaps gaining a few more advantages at the same time

"Perfect is the enemy of the good..." :D

@nir-logzio if you do complete -F __start_kubectl k, then obviously it doesn't work, because complete-alias is not used at all. You have to do complete -F _complete_alias k for every alias for which you want to enable completion.
@briantopping with this solution you can only have aliases for the base command, e.g. k for kubectl. But with complete-alias, you can have aliases like alias kg='kubectl get' and completion will propose options and arguments for kubectl get (not the sub-commands of kubectl).

@weibeld: That doesn't matter much if complete-alias doesn't work. Thanks tho.

@briantopping it just doesn't work on Bash 3.2 (which is more than 11 years old), but on every Bash version of 4.1 or greater, it should work perfectly, no matter if it's on Linux or Mac.

/unsubscribe

I don't know if this is the best/right solution, but I made k autocomplete by doing source <(kubectl completion bash | sed 's/kubectl/k/g').

I added this into ~/.basg_profile

I followed official guide and the issue is gone.
https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion
What I was missing is
echo 'complete -F __start_kubectl k' >>~/.bashrc

The official instructions are not working for me with bash 4.3 and 4.4. After adding the commands below, completing with kubectl works fine, but k doesn't. If I type 'k', 'space' and then press tab is expands to 'k kubectl' and then if I press tab again it starts completing kubectl commands. Do the official approach only work with bash 5.x?
This does not work, k  completes to k kubectl:
source <(kubectl completion bash)
alias k=kubectl
complete -F __start_kubectl k

Using complete_alias does work:
source <(kubectl completion bash)
alias k=kubectl
complete -F _complete_alias k

And this workaround of duplication the completions does also work:
source <(kubectl completion bash)
source <(kubectl completion bash | sed 's/kubectl/k/g')

Did you try this?
echo 'complete -F __start_kubectl k' >>~/.bashrc

It should work with any Bash version 4.1+... @whereisaaron do you use macOS or Linux, and which version of bash-completion do you have installed?

@whereisaaron Does this return anything for you?
declare -F | grep __start_kubectl

I came up with this to autocomplete common aliases kgp kl kex ...

I followed the official instructions for macOS and couldn't get it to work either without complete-alias. Bash version is 5.1.16(1)-release. The output of declare -f __start_kubectl is the following :
$ declare -f __start_kubectl
__start_kubectl ()
{
    local cur prev words cword split;
    COMPREPLY=();
    if declare -F _init_completion > /dev/null 2>&1; then
        _init_completion -n "=:" || return;
    else
        __kubectl_init_completion -n "=:" || return;
    fi;
    __kubectl_debug;
    __kubectl_debug "========= starting completion logic ==========";
    __kubectl_debug "cur is ${cur}, words[*] is ${words[*]}, #words[@] is ${#words[@]}, cword is $cword";
    words=("${words[@]:0:$cword+1}");
    __kubectl_debug "Truncated words[*]: ${words[*]},";
    local out directive;
    __kubectl_get_completion_results;
    __kubectl_process_completion_results
}

Happy to provide more info if needed.

@jbeaudetupgrade  if you run
complete | grep kubectl

You should see the standard kubectl entry (complete -o default -F __start_kubectl kubectl).
Do you see a line for your alias as well? You should. If not, then please re-execute the instructions you mentioned.
Hope this helps.

@marckhouzam Yes I do see the entry on my k alias but somehow it's still not working :
$ complete | grep kubectl
complete -o default -F __start_kubectl kubectl
complete -o default -F __start_kubectl k

@jbeaudetupgrade  does the completion work when you don't use the alias but the full kubectl?

@marckhouzam yes it works properly with kubectl.

This is what still works for me on Linux. Based on the bash_completion source code this is tailor-made to expand the k alias as if I had entered kubectl. So it may be the 'right' way?
source <(kubectl completion bash)
alias k=kubectl
complete -F _complete_alias k

This is what the OG kubectl instructions said, but it has never worked:
# This didn't work
#complete -F __start_kubectl k

@weibeld bash 4.3, 4.4 and now 5.0.17 and I'm using Linux not a Mac.


Properly handle/report all kafka exceptions

closed with https://github.com/jacklund/kafka_ex/commit/8fcd2c8b56a3652735a6867ec18b06380d0727e9


Duration Issue with the generated audio

Whenever I do inference with VITS model it produces relatively fast speaking audio as compared to GT.
Using these parameters in inference -

length_scale=1.1
noise_scale=0.667
noise_scale_w=0.8

Is there something I am missing?
Model Configs -
"model": {     "inter_channels": 192,     "hidden_channels": 192,     "filter_channels": 768,     "n_heads": 2,     "n_layers": 6,     "kernel_size": 3,     "p_dropout": 0.1,     "resblock": "1",     "resblock_kernel_sizes": [3,7,11],     "resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],     "upsample_rates": [8,8,2,2],     "upsample_initial_channel": 512,     "upsample_kernel_sizes": [16,16,4,4],     "n_layers_q": 3,     "use_spectral_norm": false,     "gin_channels": 375,     "lin_channels" : 192   }

The same problem. Why?

You can change length_scale to alter the relative speed of the audio. Also, you can play around with noise_scale and noise_scale_w for audio quality. Increasing noise_scale will make the speech incomprehensible


Add defaultElevation and defaultPadding config to Card

Closes BEN-114

@federico-ercoles have a look also at the diffs on chromatic. I'm not sure they all make sense.

@federico-ercoles have a look also at the diffs on chromatic. I'm not sure they all make sense.

I'm a bit confused by the diffs on the texts, I'm not finding any difference in the CSS classes applied.


Add warning to stay away

Current dependencies on/for this PR:

main

PR #1   👈

This comment was auto-generated by Graphite.


os-type linux???

This example code in step 5 under https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-python?tabs=azure-cli%2Cbash%2Cbrowser#create-supporting-azure-resources-for-your-function doesn't address the elephant in the room. os-type linux? Really? Not windows or azure or something? This feels like a copy/paste error but since it's not explained I don't know what to do.
According to https://docs.microsoft.com/en-us/cli/azure/functionapp?view=azure-cli-latest#az_functionapp_create windows is an option so that's what I'm going to try. Wish me luck ;)
az functionapp create --consumption-plan-location westeurope --runtime python --runtime-version 3.8 --functions-version 3 --name <APP_NAME> --os-type linux

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

ID: 8b1ff97a-0ca7-c91b-5b45-370212407a51
Version Independent ID: b60719ca-3e64-8a00-75bb-dda1d8119b21
Content: Create a Python function from the command line - Azure Functions
Content Source: articles/azure-functions/create-first-function-cli-python.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@tomcam While windows is supported for local development of Python Azure Functions, on Azure only Linux is supported. This is covered in the Python Developer Reference but I believe this would be addressed for this doc as part of the other issue you filed - MicrosoftDocs/azure-docs#80453
We will now proceed to close this thread in favor of the other issue linked above. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


OpenPAI 0.18.0 Endgame Plan

release plan https://github.com/microsoft/pai/issues/4225
release manager @hzy46
test period: TBD
New Feature
Feature | Feature Owner | Test Owner(s) | Doc ready for test (Y/N)

[ ] installation script change |  @ydye  |
[ ] rest-server api | |
[ ] storage refactor | @abuccts |
[ ] postgres job history | @hzy46  |
[ ] new marketplace | @debuggy |
[ ] openpai sdk | @yiyione @mydmdm |
[ ] apt cache in runtime  | @hzy46 |
[ ] gpu metrics in Grafana | @Binyang2014  |
[ ] hivedscheduler metric | @yqwang-ms  |
[ ] concat ssh command | @hzy46 |
[ ] correct appLaunchedTime | @abuccts |

Prioritized Regression Test

[ ] Basic Auth
[ ] AAD

Full Test (as usual)
to be updated
Issues

Hi, when will you create release branch?

Hi, when will you create release branch?

It has been created: https://github.com/microsoft/pai/tree/pai-0.18.y


Underscores are being stripped out incorrectly in table cells

I've got a table which I created like so:
    table = Table(show_header=False, padding=0, show_edge=False, box=0)
    table.add_column("outcome", style=theme, width=6, justify="center")
    table.add_column("location", style="test-location")
    table.add_column("description", style="none")

    table.add_row(outcome, location, f"{description} {reason}")

If the description contains two underscores, such as in many Python function names, the underscores are removed.
For example, in the following screenshot, the top line is the description string. The bottom line is the description as displayed in the table.

This doesn't happen if the description contains a single _. I was guessing it was trying to render it as Markdown or something, but I get the same issue when setting markup=False when initialising the Console. 😄

If you pass in a string to the table class, it will render it as console markup -- which is similar in some ways to markdown. I think the way you constructed the styles has disabled the italics.
If you want to stop Table from rendering console markup, you can use Text instances rather than plain strings.
The markup=False in the  Console constructor will disable markup when you call console.print with a string. But on reflection, I think your instinct should be correct. It should disable it everywhere. I'll do that in the next release.

I think the way you constructed the styles has disabled the italics.

Yeah, that's correct. I changed to using push_styles and it now renders like:

If you want to stop Table from rendering console markup, you can use Text instances rather than plain strings.

Thanks! That works.

The markup=False in the Console constructor will disable markup when you call console.print with a string. But on reflection, I think your instinct should be correct. It should disable it everywhere. I'll do that in the next release.

Cool, thanks. 😄
Kudos on this project by the way. I've started shifting some things over and am really enjoying using the API.

Kudos on this project by the way. I've started shifting some things over and am really enjoying using the API.

Cheers. It's been at the back of my mind for years, every time I tried to do anything fancy in the console. Finally got round to it.


Option to add/hide action buttons in event popup window

Currently there's no option to add, remove or override the popup action menu of an event. Would be a nice addition.

If you want to hide them: You can use editable & deletable to hide them
If you want a customized action, you better off use customViewer to make your own popup content & actions

How can I trigger to show the edit modal from the customViewer?


1.1.1 Write Data Extraction Loop

Develop a loop that iterates through the relevant endpoints of the Boardroom Governance API to extract data. The loop should handle API requests, process responses, and store the extracted data in a structured format. This automated data extraction loop is crucial for ensuring efficient and continuous data retrieval from the API.

Currently exploring Airbyte and its low-code custom connectors. This integration will allow us to support different types of API pagination techniques seamlessly and reduce dev time on implementing different API data extraction scenarios

Still working on this
Decided the end product should be able to extract from any API
Need to consider different auth and pagination
Decided to switch to the Airbyte Apache Doris ELT data integration destination connection
There local connectors feature allows you to define a YAML file for the endpoints and handles everything under the hood
These will be the entry points for the pipeline
Will replace the Pathway HTTP connector
Pathway is still core for other features related to transforming, loading, and generating embeddings
Need to run some tests after plugging in data extraction loop

Finished implementing a custom connector using PyAirbyte, declarative HttpRequester and Pathway custom Python connectors.
Tested with proposals and discourseTopicPosts
Integrated into the pipeline


Highlight doesn't respect LineChart shape

The highlight component doesn't respect the shape you pass to LineChart. For the default shape this works fine but if you change it you'll notice a mismatch:

import { curveCardinal } from "d3-shape";

const data = [
  {
    timestamp:<PHONE_NUMBER>000,
    value: 33575.25,
  },
  {
    timestamp:<PHONE_NUMBER>000,
    value: 33545.25,
  },
  {
    timestamp:<PHONE_NUMBER>000,
    value: 33510.25,
  },
  {
    timestamp:<PHONE_NUMBER>000,
    value: 33215.25,
  },
];

<LineChart.Provider data={data}>
  <LineChart shape={curveCardinal}>
    <LineChart.Path color="red">
      <LineChart.Highlight color="green" from={1} to={2} />
    </LineChart.Path>
  </LineChart>
</LineChart.Provider>

Actually looking at it again, I think technically it does respect it, but points outside of the highlight range can cause the shape to be different. It seems like the path needs to extend the entire length but be invisible outside of the range provided.

There needs to be an example on how to use the shape prop in the docs. Thank you for sharing this!

Hi all. This has been fixed in version 2.4.1


Tetromino stuck mid-air

As Django7789 reported via Discord, a tetromino can be locked mid-air by rotating and hard-dropping (in that order) within the same simulation frame (tick).

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


quiz-app

Related Issue

#167

Closes: #[167]
Describe the changes you've made
Made quiz app of HTML CSS JS
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@Vishal-raj-1 plss review it

@Ayush7614 squash your commits into one

@Ayush7614 You don't need to close this PR. You can squash and push your changes in this PR only, Take care from next time.


How to logout?

Let me know the steps to logout of this app?

If you want this to be implemented, you should report it to the original app https://github.com/jonan/ForkHub. This app is just a copy.
This issue is probably the same as https://github.com/jonan/ForkHub/issues/119

Thanks dude. Busy installing your app right now.


help with multiple db setup

can't seem to get a multiple db setup to work and I can't find any examples of doing this...
here is what I've got so far,
database.yml
test_security:
adapter: postgresql
username: psg_user_1
password:
database: db_1
pool: 5
timeout: 5000
test:
encoding: unicode
adapter: postgresql
username: psg_user_2
database: db_2
password:
branch_test:
encoding: unicode
adapter: postgresql
username: psg_user_1=2
database: db_3
password:
and in spec_helper:
config.before(:suite) do
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.clean_with :truncation
DatabaseCleaner[:active_record,{:connection => :branch_test}].strategy = :transaction
DatabaseCleaner[:active_record,{:connection => :branch_test}].clean_with :truncation
DatabaseCleaner[:active_record, {:connection => :test_security}].strategy = :transaction
DatabaseCleaner[:active_record, {:connection => :test_security}].clean_with :truncation
end
config.before(:each) do
  DatabaseCleaner.start
end

config.after(:each) do
  DatabaseCleaner.clean
end

however, when I run specs I keep getting...
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.-
/Users/andy/.rvm/gems/ree-1.8.7-2011.03@sdbpg/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract_adapter.rb:175:in decrement_open_transactions' /Users/andy/.rvm/gems/ree-1.8.7-2011.03@sdbpg/gems/database_cleaner-0.6.6/lib/database_cleaner/active_record/transaction.rb:20:in clean'
/Users/andy/.rvm/gems/ree-1.8.7-2011.03@sdbpg/gems/database_cleaner-0.6.6/lib/database_cleaner/base.rb:77:in clean' /Users/andy/.rvm/gems/ree-1.8.7-2011.03@sdbpg/gems/database_cleaner-0.6.6/lib/database_cleaner/configuration.rb:56:in clean'
/Users/andy/.rvm/gems/ree-1.8.7-2011.03@sdbpg/gems/database_cleaner-0.6.6/lib/database_cleaner/configuration.rb:56:in each' /Users/andy/.rvm/gems/ree-1.8.7-2011.03@sdbpg/gems/database_cleaner-0.6.6/lib/database_cleaner/configuration.rb:56:in clean'
/Users/andy/gits/sdbpg/spec/spec_helper.rb:42:

where line 42 corresponds to the "DatabaseCleaner.clean" line
when I comment out the other connection then it appears to not clear data
any help is much appreciated

Any progress on this one?  We would really like to use this gem, but this is a blocker...

Sorry, I haven't looked into this.  Based off of @alexkalish's stacktrace it would appear no connection was found under that name.  Could you reproduce this probelm in a clean project (rails or non-rails) and push it to github?  If you do that I would be able to better troubleshoot it.


Use dynamic event handlers on elements to prevent nonce-based CSP errors (unsafe-inline disallowed)

This is a fix for issue #373 which causes significant issues for sites requiring strict CSP settings, allowing use of a nonce in the calling script tag, which which means the attached event handlers become trusted.
I have made a start as a proof of concept and on the fields/use cases that address our needs at DemandLogic. If @vedmack approves this approach, it could be refactored to match throughout.

Hi @stringfellow
Thanks for the PR, can you post some basic jsfiddle / etc` with your PR to see how it behaves? I will try to go over it in the upcoming days

Thanks @vedmack ! Here's an example - there is a console error but the example is functional. I can't quite track down in the call stack where the console error originates from... if you have any ideas/hints from anything that might be obvious to you that isn't to me, I'd be very happy to take another look at it :)

Scratch that @vedmack! Found it, I missed one of the element setup calls (see ede114e above). New fiddle here

@vedmack we've been using this in our production code with strict CSP and all seems to be working nicely :)

on it now 👍 sorry for the delay

@stringfellow , although it was years ago, I remember when that when I tried to use .on("click" instead of .attr("onclick", it did not work, cause the datatables were triggered first, which was resulting in a column being sorted instead of "filtered by yadcf", so I wonder why now it does work properly, any ideas?


Error when importing world downtime activities

Cannot import previously exported World Downtime Activities.
Error in console:

foundry.js:4503 Foundry VTT | Rendering GMConfig
gmConfig.js:71 Uncaught (in promise) TypeError: Cannot read property 'id' of undefined
at gmConfig.js:71
(anonymous) @ gmConfig.js:71
load (async)
(anonymous) @ foundry.js:4040
readTextFromFile @ foundry.js:4039
importWorldActivities @ gmConfig.js:66
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

I thought it may have something to do with missing complications tables but they are all there and named the same.
Foundry 0.7.9
DnD5e 1.2.4

I took a look and found the issue. This was caused by some code that didn't get updated, specifically the import code was trying to access properties of the old downtime structure and not the new. This issue is fixed with commit 3aceda54 and should be released here in the near future. Thanks for the report.

Is there a repository of world downtime activities already done?

@ctbritt due to copyright issues I can not distribute any of the XGE or PHB downtime activities. If you can think of downtime activities that are NOT related to those, then I can definitely look at including some sample downtime activities here in the repo.

Importing is still throwing an error but different now:

Uncaught (in promise) ReferenceError: newDowntimes is not defined
at gmConfig.js:69
(anonymous) @ gmConfig.js:69
load (async)
(anonymous) @ foundry.js:4040
readTextFromFile @ foundry.js:4039
importWorldActivities @ gmConfig.js:67
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

Any ideas?

Well, that's just fun now isn't it... I'll take a look.

Can you post the file you are trying to import @Pyroman2xxx ?

Try using this version.
downtime-ethck.zip
Go to your Foundry User Data/modules/downtime-ethck and replace everything in there with this.

Try using this version.
downtime-ethck.zip
Go to your Foundry User Data/modules/downtime-ethck and replace everything in there with this (only really need gmConfig.js though)

Tried this and it also does not work. There are no errors in the console with this version. It acts like it does nothing at all when I click the import button and select the file to import. The console shows no related messages.
Here is the file I am trying to import.
downtime-ethck-world-activities.zip

Try this one. When I imported your activities on this build, they loaded up and worked immediately!
downtime-ethck.zip

Try this one. When I imported your activities on this build, they loaded up and worked immediately!
downtime-ethck.zip

This one worked like a charm. :)


Activity Off Work missing in CustomAPI

Describe the bug
when switching Teams to Offline, the status of PresenceLight changes to: Availability: Offline / Activity: Off Work
Activity Off and Offline is available, but Off Work is missing.
Expected behavior
Activity Off Work should be available and work the same way as Off and Offline.
Application Type: AppPackage
Application Version: 5.5.17
Install Location: C:\Program Files\WindowsApps\37828IsaacLevin.197278F15330A_<IP_ADDRESS>_x64__zfcjmmeb3zeaa\PresenceLight
Install Date: 07.11.2022 13:42
Runtime Version: 6.0.5+70ae3df4a6f3c92fb6b315afc405edd10ff38579

@tom1104
Can you try the latest nightly?

Fixed in Store version


On open second time modal - dropdown list duplicates

Hi all, i run into problem, on second time when i open my modal popup, select2 dropdown gets duplicated..
1st, 3rd, 4th ..etc.. works normally... Don't blame for Russian flag.. :D

Tried using 4.0.7 / 4.0.12 / 4.0.13 / 4.1.0rc
Using with transition, keepalive, router-view, tried without its, directly anyway got this problem... ;(
Browser: Brave Version 1.36.105  Chromium: 99.0.4844.45 (Official Build) unknown (64-bit) / Opera
OS: Linux Manjaro XFCE
"jquery": "^3.6.0",
"vue": "^3.0.0",

temporary fix
.select2:nth-child(even) {
display: none;
}

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.

If it's appears more of a usage question, than you know the answer.  Sorry <3 Thanks!

Neither of those inferences is logically valid.

i know i just try to understand, why i cant find that problem "or question or whatever this kind of entity is" at www...

This has been classified as a usage question instead of a bug because it appears to be caused by the specific usage that you describe. Please take this usage question to one of the recommended forums if you're looking to get your specific configuration working. Thanks!

You didn't follow the required issue template for bugs and feature requests, so that's also a huge sign that this is actually a usage question.


Write verification script to verify vulnerability data in DB matches data in the GitHub API

This will need to be re-inserted as a JobRunner job to cover the new credential requirements.


Fix Travis

/cc @anthonyfok

Thanks bep!  It is strange how this failure occurs only on Travis and not elsewhere, and the snap builds are fine too.  Will investigate soon.
(though may take me a while, especially the weekends are coming up when I am more busy.)


fix: nicer pom and namespace fixes

:tada: This PR is included in version 0.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Allow to get all custom field data in Descriptor

Is your feature request related to a problem? Please describe.
In a current scenario, updating any Signum Asset with Mutable Description
i want to only get all custom fields of  SRC44 content/description
I am limited to only get one custom field per execution
 descriptorData.getCustomField("X-CUSTOMFIELD")
 /// https://signum-network.github.io/signumjs/classes/standards_src44.descriptordata.html#getcustomfield

Describe the solution you'd like
A method for getting all custom fields from the SRC44 content/description in one execution
Example:
const customFields= descriptorData.getCustomFields();
/// customFields is equal to {x-twitter: ipr010, x-reddit: ipr0310}

By the time on SignumSwap, i'll be using Merge method

you can use DescriptorData.raw


Rename Python distribution from birdnetlib to birdnet

This name would be less surprising and is still available on PyPI:
https://pypi.org/search/?q=birdnet

That's because birdnetlib is a project on it's own.
https://github.com/joeweiss/birdnetlib
It's not directly related to BirdNET-Analyzer.
I think this issue can be closed.

Yes, birdnetlib is an independent project. However, we'll work with Joe (the developer) in the future to make birdnetlib the official Python package.

Great to hear!
One thing I've always missed in the original project is having a Python binding. It's only possible to get an output in form of files from BirdNet-Analyzer. However, obtaining something simple, like a dictionary of labels, is not, without rewriting the code.


add read_at_least function?

read_at_least is similar to read_exact but read at least min bytes.  reads from reader into buf until it has read at least min bytes. It returns the number of bytes copied success , when n >= min.

Currently the functions here match the standard library's Read trait, but this doesn't exist on the Read trait?

yes, it's a helper function. this function is convenient in some situation.

My question would basically be why it's justified to go into tokio-io when it was decided to not place it into the standard library. IIRC there was a lot of discussion about this on https://github.com/rust-lang/rfcs/pull/980

thanks @alexcrichton, it spent me some time reading the whole discussion which inspired me a lot.

It seems like the take away is "do nothing". As such, I will close this issue. Please let me know if this is not correct.


Incorrect Example

Description
Elvis Presley also had a father that was an actor which means that this example doesn't make sense. His father is Venon Presley who for example played the role of himself in Elvis on Tour.
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Choose One
Internal issue ID
b2a21441-1627-4a00-b10c-484307fc44de
Paper URL
https://arxiv.org/html/2303.08774v6
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

Please contact the authors directly on questions regarding document content.
This repository only tracks issues with the experimental HTML format.


JSON support

Following the Structured Outputs feature, the idea would be to use JSON as a way to retrieve the reply from the models. This is not necessary at this stage, but this would certainly be beneficial for #5 - but would likely require #8 to be done first

Some first elements:
Using JSON for the model's reply could indeed be beneficial in several ways. Let's explore this idea and how it could potentially help in your bot's context.
Here's how we could modify the process to use JSON responses:
import json

async def gpt_request(prompt, image_content=None, mode=None):
    try:
        # Prepare messages for GPT API request
        messages = [{"role": "user", "content": prompt}]
        if mode and mode in CHAT_MODES:
            messages.insert(0, {"role": "system", "content": CHAT_MODES[mode]})
        if image_content:
            messages = [
                {"role": "user", "content": [
                    {"type": "text", "text": prompt},
                    {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{image_content}"}}
                ]}
            ]

        # Request JSON response
        messages.append({"role": "system", "content": "Please provide your response in JSON format with keys: 'main_response', 'summary', 'keywords'."})

        response = openai.chat.completions.create(
            model=OPENAI_MODEL,
            messages=messages,
            max_tokens=int(OPENAI_TOKENS),
            response_format={"type": "json_object"}
        )

        # Parse the JSON response
        json_response = json.loads(response.choices[0].message.content)
        return json_response

    except Exception as e:
        logger.error(f"Error in GPT request: {str(e)}")
        return {"error": "Error occurred while processing GPT request."}

async def process_message(update: Update, context: ContextTypes.DEFAULT_TYPE, model_request, model_name, image_content = None):
    # ... (previous code remains the same)

    # Request response from the specified AI model
    logger.info(f"Requesting response from {model_name}")
    json_response = await model_request(user_message, image_content, mode)
    logger.info(f"Received response from {model_name}.")

    if "error" in json_response:
        await context.bot.send_message(chat_id=chat_id, text=f"Error: {json_response['error']}")
        return

    # Prepare the full response with the model name and structured content
    full_response = f"*{model_name} says:*\n\n"
    full_response += f"Main Response:\n{json_response['main_response']}\n\n"
    full_response += f"Summary:\n{json_response['summary']}\n\n"
    full_response += f"Keywords: {', '.join(json_response['keywords'])}"

    # ... (rest of the function remains the same)

Benefits of using JSON responses:

Structured Data: JSON provides a clear structure for the AI's response, making it easier to parse and handle different parts of the response separately.

Easier Splitting: With structured data, you can more intelligently split long messages. For example, you could send the main response, summary, and keywords as separate messages if needed.

Enhanced Features: You can easily add new fields to the JSON response to include additional information, such as confidence scores, sources, or follow-up questions.

Error Handling: JSON responses make it easier to include and detect error states, improving the robustness of your bot.

Consistency: Enforcing a JSON structure ensures that responses from different models (GPT and Claude) have a consistent format, simplifying your processing logic.

Metadata: You can include metadata about the response, such as token usage or processing time, without cluttering the main response text.

Implementation considerations:

Model Support: Ensure that both GPT and Claude models support returning responses in JSON format. You may need to adjust the prompt or use model-specific parameters to achieve this.

Error Handling: Implement robust JSON parsing with try/except blocks to handle cases where the model might fail to produce valid JSON.

User Experience: Consider how to present the structured information to the user in a readable format, especially for users who expect a more conversational interface.

Flexibility: Design your JSON structure to be flexible enough to accommodate different types of responses and potential future extensions.

Here's how you might update the compare_command to leverage this JSON structure:
async def compare_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
    # ... (initial setup code remains the same)

    # Process the message with Claude
    claude_response = await process_message(update, context, claude_request, "Claude", image_content)

    await asyncio.sleep(2)

    # Process the message with GPT
    gpt_response = await process_message(update, context, gpt_request, "GPT", image_content)

    # Compare keywords
    claude_keywords = set(claude_response.get('keywords', []))
    gpt_keywords = set(gpt_response.get('keywords', []))
    common_keywords = claude_keywords.intersection(gpt_keywords)

    # Send comparison summary
    summary = f"Comparison Summary:\n\n"
    summary += f"Common Keywords: {', '.join(common_keywords)}\n\n"
    summary += f"Claude Unique Keywords: {', '.join(claude_keywords - gpt_keywords)}\n\n"
    summary += f"GPT Unique Keywords: {', '.join(gpt_keywords - claude_keywords)}\n\n"
    summary += "Check the individual responses for detailed answers."

    await context.bot.send_message(chat_id=update.effective_chat.id, text=summary)
    logger.info("Comparison command completed")

This implementation allows for more sophisticated comparison and analysis of the responses from different models. You can easily extend this to compare other aspects of the responses as well.
While implementing JSON responses requires some changes to your existing code, it could provide significant benefits in terms of structure, flexibility, and potential for future enhancements.


Crate dependency build failed due to dns resolution

Crate name
headless_chrome
Build failure link
https://docs.rs/crate/headless_chrome/1.0.1/builds/713766
Additional details
Hi im a maintainer of headless_chrome and headless_chrome uses a build dependency auto_generate_cdp it hits an API request to https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/15f524c8f5ce5b317ddcdf5e6f875d6eb8bdac88/json/js_protocol.json and the build fails due to DNS resolution of the domain name.
refer to https://github.com/rust-lang/crates.io/issues/6002 & https://github.com/atroche/rust-headless-chrome/issues/355

Docs are built in a sandbox with no network access https://docs.rs/about/builds#hitting-resource-limits. Preferably the json file for the protocol would be bundled in the crate files so that it can build without having internet. Alternatively you might be able to detect when running on docs.rs and not download the file, and use #[cfg(not(doc))] to not attempt compiling code that depends on it, if your API is able to be described without it.

Docs are built in a sandbox with no network access https://docs.rs/about/builds#hitting-resource-limits. Preferably the json file for the protocol would be bundled in the crate files so that it can build without having internet. Alternatively you might be able to detect when running on docs.rs and not download the file, and use #[cfg(not(doc))] to not attempt compiling code that depends on it, if your API is able to be described without it.

Thanks for replying, Ok that makes sense i will see my options thanks


error compiling version 20.1

--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gitu-0.20.1/src/syntax_highlight.rs:105:24
|
105 |         "html" => Some(tree_sitter_html::language()),
|                   ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tree_sitter::Language, found a different tree_sitter::Language
|                   |
|                   arguments to this enum variant are incorrect
error[E0277]: can't compare tree_sitter::Language with tree_sitter::Language
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gitu-0.20.1/src/syntax_highlight.rs:181:24
|
181 |         } else if lang == &tree_sitter_html::language() {
|                        ^^ no implementation for tree_sitter::Language == tree_sitter::Language
|

this errors results from
cargo install gitu
command

cloning this repo and
cargo build --release is fine
but cargo install --path . errors

@mahmoud-eltahawy this is due to cargo not resolving to the exact version as listed in the Cargo.lock file without the --locked flag.
It's explained at the bottom of this article: https://doc.rust-lang.org/cargo/reference/resolver.html.
I noticed it does mention it's possible to temporarily update dependencies in Cargo.toml before publishing with a = requirement instead. Might be a good thing :thinking:!
tldr: cargo install --locked gitu

i was too lazy to learn about what does that --locked flag do
now i know 😄😄

This unfortunately happens when Cargo upgrades are managed elsewhere, eg when using topgrade.

I pinned all the tree-sitter dependencies in master: d57c57d (these have been the most problematic).
Now cargo install --path . works again on master.


Enumeration support

Description
At the current release, PBD does not supports enums and thus will not watch any enums available in the target. Since the enum structure is a little different from the base types (DWARF structure), I have not focused on implementing this yet, but it should occur in the next releases.

Added in commit 1c2d53ebbec89a985c98a9cff01891a183335334.


Store whole image data in one place

At the minute, each scan of our local image manifests involves a large number of memcache requests (one for tags, then one for each tag). It'd be nice to be able to just fetch one thing; when we've managed to assemble a whole set of data, we can regenerate it.

The reason for doing it this way was so that it matches the flow of getting information from a remote repository.
E.g. we have to make an individual HTTP call to get the manifest for each tag.
I think it would complicate the code if we had a different scheme for memcache. So I would only consider this if there was a clear benefit for doing so (i.e. performance).

So I would only consider this if there was a clear benefit for doing so (i.e. performance).

The idea is that you do one request to memcached instead of hundreds, of which any single request failing will invalidate the whole operation.

(But it is just an idea. I agree that unless it's demonstrably a problem in practice, which I only suspect at this time, we shouldn't hurry to look into this)


query block

i found query would blocking, when one slot or node crash ,
because you refresh slots map synchronous
how about let refresh asynchronous and let query return fail immediately?

i  try to make refresh be a event , and deal it in a event process,  and cast the result to monitor. do you have some advice for me？

Or do you agree with me?

i found query would blocking, when one slot or node crash ,
because you refresh slots map synchronous
how about let refresh asynchronous and let query return fail immediately?

hello, that's exactly what I'm doing in our use case, also I found the retry https://github.com/adrienmo/eredis_cluster/blob/master/src/eredis_cluster.erl#L178 may be too many, I set it to 2.

i try to make refresh be a event , cast the event to a new  event process to deal the refresh map, and send the result to monitor's state. how about this idea?

thank you for your reply. i try to make refresh be a event , cast the event to a new event process to deal the refresh map, and send the result to monitor's state. how about this idea?

almost the same with my modification, just to be clear, I'm not the maintainer of this repo, I just modified it a bit and is still testing


Update README.md

Addresses issues in Issue #14

Can this please be accepted?

Can this please be accepted?


Matselect -  Cannot read property 'nativeElement' of undefined

Bug, feature request, or proposal:
Bug
What is the expected behavior?
No error when changing mat-select value
What is the current behavior?
The following error throws when updating mat-select option:
MatSelect.webpackJsonp.../../../material/esm5/select.es5.js.MatSelect._onFadeInDone (select.es5.js:744)
    at Object.eval [as handleEvent] (MatSelect.html:1)
    at handleEvent (core.js:13254)
    at callWithDebugContext (core.js:14739)
    at Object.debugHandleEvent [as handleEvent] (core.js:14326)
    at dispatchEvent (core.js:9703)
    at core.js:10317
    at animations.js:348
    at Array.forEach (<anonymous>)
    at animations.js:346

What are the steps to reproduce?
<mat-form-field>
  <mat-select placeholder="packs..." [(ngModel)]="sPack">
    <mat-option *ngFor="let pack of packs">{{ pack.name }}</mat-option>
  </mat-select>
</mat-form-field>

What is the use-case or motivation for changing an existing behavior?
Bugfix
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular - 5.0.0-rc.3
Material - beta.12
OS - Windows
TS - 2.4.2
browsers - all
Is there anything else we should know?
none

Should be fixed in master by https://github.com/angular/material2/pull/7729.

Is this in a new version that I can pull down? I'm having this issue right now as well.

5.0.0-rc.0 includes the fix @KthProg.

Thank you kind sir.

The new rc for 5 contains the fix:
"@angular/material": "^5.0.0-rc0",
"@angular/cdk": "^5.0.0-rc0",

https://github.com/angular/material2/pull/7729

I updated the material and cdk to 5.0.0-rc0 version but the problem it's still reproducible in my case

Having the same issue here with 5.0.0-rc.3

"@angular/animations": "^5.2.5",         "@angular/cdk": "^5.2.1",         "@angular/common": "^5.2.5",         "@angular/compiler": "^5.2.5",         "@angular/core": "^5.2.5",         "@angular/forms": "^5.2.5",         "@angular/http": "^5.2.5",         "@angular/material": "^5.2.1",         "@angular/platform-browser": "^5.2.5",         "@angular/platform-browser-dynamic": "^5.2.5",         "@angular/router": "^5.2.5"
The issue it's still reproducible for me :(

me too
"@angular/animations": "^5.2.9",
"@angular/cdk": "^5.2.4",
"@angular/common": "^5.2.0",
"@angular/compiler": "^5.2.0",
"@angular/core": "^5.2.0",
"@angular/forms": "^5.2.0",
"@angular/http": "^5.2.0",
"@angular/material": "^5.2.4",
"@angular/platform-browser": "^5.2.0",
"@angular/platform-browser-dynamic": "^5.2.0",
"@angular/router": "^5.2.9",
"@types/materialize-css": "^1.0.1",
"angular2-materialize": "^15.1.10",
"core-js": "^2.5.4",
"jquery": "^3.3.1",
"materialize-css": "^0.100.2",
"mdi": "^2.1.19",
"ng2-material-import": "^1.1.10",
"rxjs": "^5.5.8",
"zone": "^0.3.4",
"zone.js": "^0.8.21"


Allow chaining of ReactPot render functions

This a suggestion for changing the potWithReact class to allow chaining of .render functions like so:
proxy()
  .render(m => ...)
  .renderPending(_ > 500, _ => "Loading...")
  .renderFailed(ex => "Error loading")

Actually there are cases (like PendingStale) where the output will have more than one node, so using head is not valid. One option would be to wrap the result into a dummy component, but due to React requirements that would have to have a top level tag (like div), which may not be what users want in the results.
You could generate dummy keys for the nodes, to prevent React from complaining about missing keys.


1.0.9 fails setup.py when installing over pip (NUMPY_SETUP attribute)

The newest built could not be installed correctly over pip.
The new numpy header injection method seems problematic.(?)
AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__'
Detailed log on travis at the installation step can be found here.

@SteveDiamond , @shariat --- any idea what's going on here?

Wkk take a look

CPython implementation detail: Users should not touch builtins; it is strictly an implementation detail. Users wanting to override values in the builtins namespace should import the builtin (no ‘s’) module and modify its attributes appropriately.

see https://docs.python.org/2/reference/executionmodel.html


fix: verify container id

The container id is passed from the shim, the agent is able to verify it and unable to modify it.
Signed-off-by: Xing, Haokun<EMAIL_ADDRESS>

Need to rebase on the refactor issue #64.

Fix third problem in issue #60

image tag detection is unstable


makefile upload target missing or deprecated?

Hi!
Previously i used the make upload command to upload program via uart and bootloader
and generally worked well.
Newer versions no longer include the upload target.
Is it just left out or has it become obsolete?
if so, what is the new way to upload via uart?

Hey!
Yes, that feature was deprecated because it was never really reliable.
The standard way to upload executables via UART is to use the bootloader console in a terminal program. Right now, there is no default option to upload executables directly from the shell. However, the underlying script is still available sw/image_gen/uart_upload.sh but I have not tested that with never versions.
Recently, I stumbled across this: https://github.com/islandcontroller/neorv32load I have not tried that myself but it looks handy!

@balux33
If you have no further questions this can be closed, right?


Tutorial 'npm install foam-framework' out of sync

I'm trying to follow the tutorial at http://foam-framework.github.io/foam/tutorial/todo/0-intro/ and did both git clone and npm install foam-framework and started with the npm by making a symlink but then when I tried to load the first model at http://localhost:8000/foam/index.html?model_=foam.browser.u2.BrowserController&model=com.todo.model.Todo&classpath=../js/ I've got this message:
Unable to load model: foam.browser.u2.BrowserController

Doing a diff between the npm package and the git cloned foam I noticed that then npm package uses model_ for property types but the git clone uses type like the tutorial, so I switched to the git clone and now I've got the expected output of the first Todo model.

By the way where the http://foam-framework.github.io/foam/ repository is located if it's public ?

Hi Domingo,
Thanks for letting me know. I'll look into it and fix it.

By the way where the http://foam-framework.github.io/foam/ repository is
located if it's public ?

What do you mean?
This is the foam2 repository: https://github.com/foam-framework/foam2
And this is the foam3 repository: https://github.com/kgrgreer/foam3
foam2 is stable and foam3 isn't
Thanks,
Kevin
On Mon, 14 Jun 2021 at 05:21, Domingo Alvarez Duarte <
@.***> wrote:

By the way where the http://foam-framework.github.io/foam/ repository is
located if it's public ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860535856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PM5EMTGMXAFWT27FPB3TSXC2TANCNFSM46U2YDCA
.

I'm asking for the content for http://foam-framework.github.io/foam/ it doesn't seem to come straight from the doc folder.

Also when trying the gmail demo I'm getting this:
http://foam-framework.github.io/foam/apps/gmail/main.html

https://accounts.google.com/signin/oauth/error?authError=Cg5kZWxldGVkX2NsaWVudBIdVGhlIE9BdXRoIGNsaWVudCB3YXMgZGVsZXRlZC4gkQM%3D&client_id=945476427475-oaso9hq95r8lnbp2rruo888rl3hmfuf8.apps.googleusercontent.com

Authorization Error
Error 401: deleted_client
The OAuth client was deleted.

Also when trying http://foam-framework.github.io/foam/pcalc/AppCalc.html I'm getting a blank screen and on devtools console:
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
AppCalc.js:11707 Uncaught TypeError: document.registerElement is not a function
    at AppCalc.js:11707
    at AppCalc.js:11709

It comes from the foam(1) gh-pages site:
https://github.com/foam-framework/foam/tree/gh-pages
On Mon, 14 Jun 2021 at 12:49, Domingo Alvarez Duarte <
@.***> wrote:

I'm asking for the content for http://foam-framework.github.io/foam/ it
doesn't seem to come straight from the doc folder.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860834027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PM3QZACDTEMQ7DZDV3TTSYXK7ANCNFSM46U2YDCA
.

That version relies on an old version of polymer that no longer works.
This is the native FOAM version that is included in ChromeOS:
http://foam-framework.github.io/foam/foam/apps/acalc/Calc.html
On Mon, 14 Jun 2021 at 13:02, Domingo Alvarez Duarte <
@.***> wrote:

Also when trying http://foam-framework.github.io/foam/pcalc/AppCalc.html
I'm getting a blank screen and on devtools console:
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
AppCalc.js:11707 Uncaught TypeError: document.registerElement is not a function
at AppCalc.js:11707
at AppCalc.js:11709
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860842415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PM3ET6Z3LKTZVFGYV2TTSYY2HANCNFSM46U2YDCA
.

Could you add this to the README so other people will have it easy to find it ?

Google cracked down on GMail API access and removed the authorization.
(Even apparently for some of their own apps.)
On Mon, 14 Jun 2021 at 12:59, Domingo Alvarez Duarte <
@.***> wrote:

Also when trying the gmail demo I'm getting this:
http://foam-framework.github.io/foam/apps/gmail/main.html
https://accounts.google.com/signin/oauth/error?authError=Cg5kZWxldGVkX2NsaWVudBIdVGhlIE9BdXRoIGNsaWVudCB3YXMgZGVsZXRlZC4gkQM%3D&client_id=945476427475-oaso9hq95r8lnbp2rruo888rl3hmfuf8.apps.googleusercontent.com
Authorization Error
Error 401: deleted_client
The OAuth client was deleted.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860840560,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PM3K5CUQFPAOSAU6TQDTSYYPHANCNFSM46U2YDCA
.

That version relies on an old version of polymer that no longer works. This is the native FOAM version that is included in ChromeOS: http://foam-framework.github.io/foam/foam/apps/acalc/Calc.html
…
On Mon, 14 Jun 2021 at 13:02, Domingo Alvarez Duarte < @.***> wrote: Also when trying http://foam-framework.github.io/foam/pcalc/AppCalc.html I'm getting a blank screen and on devtools console: Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'. AppCalc.js:11707 Uncaught TypeError: document.registerElement is not a function at AppCalc.js:11707 at AppCalc.js:11709 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5129 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY5PM3ET6Z3LKTZVFGYV2TTSYY2HANCNFSM46U2YDCA .

Also can that be fixed on the http://foam-framework.github.io/foam/ page because it do not give a good impression for people evaluating FOAM it appears to be abandoneware.

It is still working for me. What browser are you using? Maybe it only works
in Chrome. No, it works in Safari for me also.
On Mon, 14 Jun 2021 at 13:09, Domingo Alvarez Duarte <
@.***> wrote:

Could you add this to the README so other people will have it easy to find
it ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860847189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PMZ2FBICIMCAWIJGLNDTSYZVNANCNFSM46U2YDCA
.

I'm using:
Chromium
Version 91.0.4472.77 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)

Oh, I see, the link from the main page is broken. This link works:
http://foam-framework.github.io/foam/foam/apps/pcalc/Calc.html
Thanks, I'll fix.
On Mon, 14 Jun 2021 at 13:13, Kevin Greer @.***> wrote:

It is still working for me. What browser are you using? Maybe it only
works in Chrome. No, it works in Safari for me also.
On Mon, 14 Jun 2021 at 13:09, Domingo Alvarez Duarte <
@.***> wrote:

Could you add this to the README so other people will have it easy to
find it ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860847189,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PMZ2FBICIMCAWIJGLNDTSYZVNANCNFSM46U2YDCA
.

Yes that link also works for me. This is what I mean by it seems that FOAM is abandoneware.

Getting about 50 to 150 commits a week and over 30k in total:
https://github.com/kgrgreer/foam3/graphs/contributors
My priority for this year is to improve documentation and build tooling to
make FOAM accessible outside of a few select companies. At Google, external
useability of FOAM was explicitly a non-goal.
On Mon, 14 Jun 2021 at 13:18, Domingo Alvarez Duarte <
@.***> wrote:

Yes that link also works for me. This is what I mean by it seems that FOAM
is abandoneware.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860853187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PM55G76G6UU6BBGROWLTSY2VJANCNFSM46U2YDCA
.

At Google, external useability of FOAM was explicitly a non-goal.

Can that also be part of the README so no new user will bore to try FOAM ?

But I'm no longer at Google, and I think the rewards of using FOAM
definitely more than compensates for any difficulties.
On Mon, 14 Jun 2021 at 13:43, Domingo Alvarez Duarte <
@.***> wrote:

At Google, external useability of FOAM was explicitly a non-goal.
Can that also be part of the README so no new user will bore to try FOAM ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/issues/5129#issuecomment-860869953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PM5RAUT3WHJFUHRYVOTTSY5V7ANCNFSM46U2YDCA
.

Related to your suggestions:
We've merged some fixes for one tutorial, and are working on the other:
https://github.com/kgrgreer/foam3/pull/491
I've updated foamdev.com to point to the new foam3 repository docs, instead of the old foam1 gh-pages.
I've also updated the cheat sheets to FOAM3 syntax.
I will continue to move over documentation from the older, out of date foam1 repository, to the new foam3 repository as I correct and update the docs.
At Google, the management mandate was to focus on functionality, not documentation or tooling, and that we would address those issues once we had proven out the concept and features. But now, FOAM is ten years old, and it's long past due that we shift our focus from new features to creating more support material and external tooling for the features that we already have, which is what we have been doing, but we have a huge backlog of functionality to catch up on.
Thanks

Thank you !
I hope more people will be able to know FOAM and do not go away due to a not so great first impression (that you seem to be fixing).

The issues is not active for https://github.com/kgrgreer/foam3 I'm trying it and it has the same problem reported here  https://github.com/foam-framework/foam2/issues/5128
Downloading jetty-infinispan-9.4.30.v20200611.jar
wget -O lib/jetty-infinispan-9.4.30.v20200611.jar.sha1 https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-infinispan/9.4.30.v20200611/jetty-infinispan-9.4.30.v20200611.jar.sha1
--2021-06-16 14:00:20--  https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-infinispan/9.4.30.v20200611/jetty-infinispan-9.4.30.v20200611.jar.sha1
Resolving repo.maven.apache.org (repo.maven.apache.org)... <IP_ADDRESS>
Connecting to repo.maven.apache.org (repo.maven.apache.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-06-16 14:00:21 ERROR 404: Not Found.

build-aux/java.mk:117: recipe for target 'lib/jetty-infinispan-9.4.30.v20200611.jar' failed
make: *** [lib/jetty-infinispan-9.4.30.v20200611.jar] Error 8


Add support to Erlang 19

We are needing that seresye runs correctly in Erlang 19

Here is the PR: https://github.com/afiniate/seresye/pull/26

It's been already merged


attic init force remote path

Hello,
is it possible to force a remote path for a repository:
for example: attic init user@hostname:repository.attic:/home/user/my-repo.attic

attic init user@hostname:/full/path/to/repo.attic

Is it that what you mean?

Oh sorry,
now i recognize my wrong syntax.
Thanks, everything works!


Issue with public {{excerpt}} when post is set 'members' or 'paid-members'

Issue Summary
{{excerpt}} helper is publicly not available when the post is set 'members' or 'paid-members'
To Reproduce
Use this code in post.hbs file:
{{#if access}}
{{content}}
{{else}}
{{excerpt}}
{{/if}}

Set post as 'members' or 'paid-members'.
If the post's {(custom_excerpt}} property is set - works fine.
Technical details:

Ghost Version: 3.0
Node Version: 10.16.3
Browser/OS: all
Database: sqlite3

Hey! The excerpt helper requires all of the html to generate the excerpt - as it is dynamic in size! This is currently expected behaviour - but we are thinking about how we can generate the excerpt at the API level so that we can send just that down.

can generate the excerpt at the API level so that we can send just that down.

@allouis just double checked on this one as I remember seeing this field in responses when working on content gating :grimacing: We do have excerpt field generated on the API level even when memebers/paid-members are enabled, so the fix here should be rather straight forward and similar to this one for {{reading_time}}

it is dynamic in size

This bit would need a little more discussion, but I think the default behavior could limit the {{excerpt}} output to whatever is available under post.excerpt if post.html is missing :thinking:

@matthanley Unsure if this should have been closed or not :thinking:

I've allowed this to close because we're tracking similar functionality internally that needs shaping. Right now we have no way of generating a public excerpt from gated content because we can't assume that any of it should be public.


"workbench.action.toggleSplitEditorInGroupLayout" would influence all split-ed-in-group editors in all groups

Issue Type: Bug
The same as the Toggle Layout button in right top corner of the editor.
Reproduce:

open two or more editors in different groups
run command workbench.action.splitEditorInGroup on all of them (or click through right-click context)
run command workbench.action.toggleSplitEditorInGroupLayout on one of them (or click the Toggle Layout button)
layouts of all split-ed-in-group editors would be toggled simultaneously

VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.80GB (0.78GB free)

Process Argv
--crash-reporter-id aef19635-1b79-4f09-9c0d-1ff29d49308d

Screen Reader
no

VM
50%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
vscoreces:30384385
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
vscop804:30404766
vscop940:30404999
vsrem710cf:30416617
py55gd98cf:30419166
vscexrecpromp3t1:30407762

This ends up changing a setting in settings and cannot be changed on a per-editor basis.

Got it. (a little pity...
It would be great to support per-editor split-in-group layout, so as to make better use of the grid view, just like:

(the code example is casually picked from the commits, the lines of which are fairly short already)


Unable to run a simple workflow following quick start for docker/docker-compose on Ubuntu

What happened:
hello-world workflow doesn't work with server started using instructions from quick-start for docker/docker-compose.
When I try to start the workflow, I get an error popup with the following message:
An error occured:

System.Net.Http.HttpRequestException: net_http_message_not_success_statuscode, 500, Internal Server Error at
System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at
Synapse.Apis.Management.Http.SynapseHttpManagementApiClient.CreateWorkflowInstanceAsync(V1CreateWorkflowInstanceCommand command, CancellationToken cancellationToken) at Synapse.Dashboard.WorkflowToolbar.OnStartWorkflowAsync()

What I see in the server logs:
[06/07/2022 10:06:02] fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HMI8DK7HDO0J", Request id "0HMI8DK7HDO0J:00000005": An unhandled exception was thrown by the application.
      System.InvalidOperationException: The exception handler configured on ExceptionHandlerOptions produced a 404 status response. This InvalidOperationException containing the original exception was thrown since this is often due to a misconfigured ExceptionHandlingPath. If the exception handler is expected to return 404 status responses then set AllowStatusCode404Response to true.
       ---> System.ArgumentNullException: Value cannot be null. (Parameter 'source')
         at System.Reactive.Linq.Observable.Select[TSource,TResult](IObservable`1 source, Func`2 selector) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable.StandardSequenceOperators.cs:line 959
         at Neuroglia.AsyncObservableExtensions.SubscribeAsync[T](IObservable`1 source, Func`2 onNextAsync, Func`2 onErrorAsync, Func`1 onCompletedAsync)
         at Synapse.Application.Services.WorkflowProcessManager.StartProcessAsync(V1WorkflowInstance workflowInstance, CancellationToken cancellationToken) in /src/src/core/Synapse.Application/Services/WorkflowProcessManager.cs:line 74
         at Synapse.Application.Commands.WorkflowInstances.V1StartWorkflowInstanceCommandHandler.HandleAsync(V1StartWorkflowInstanceCommand command, CancellationToken cancellationToken) in /src/src/core/Synapse.Application/Commands/WorkflowInstances/v1/V1StartWorkflowInstanceCommand.cs:line 92
         at Neuroglia.Mediation.FluentValidationMiddleware`2.HandleAsync(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
         at Neuroglia.Mediation.DomainExceptionHandlingMiddleware`2.HandleAsync(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
         at Neuroglia.Mediation.RequestPipeline`2.HandleAsync(IRequest`1 request, IServiceProvider serviceProvider, CancellationToken cancellationToken)
         at Neuroglia.Mediation.Mediator.ExecuteAsync[TResult](IRequest`1 request, CancellationToken cancellationToken)
         at Synapse.IMediatorExtensions.ExecuteAndUnwrapAsync[TResult,T](IMediator mediator, ICommand`2 request, CancellationToken cancellationToken) in /src/src/core/Synapse.Application/Extensions/IMediatorExtensions.cs:line 57
         at Synapse.Application.Commands.WorkflowInstances.V1CreateWorkflowInstanceCommandHandler.HandleAsync(V1CreateWorkflowInstanceCommand command, CancellationToken cancellationToken) in /src/src/core/Synapse.Application/Commands/WorkflowInstances/v1/V1CreateWorkflowInstanceCommand.cs:line 185
         at Neuroglia.Mediation.FluentValidationMiddleware`2.HandleAsync(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
         at Neuroglia.Mediation.DomainExceptionHandlingMiddleware`2.HandleAsync(TRequest request, RequestHandlerDelegate`1 next, CancellationToken cancellationToken)
         at Neuroglia.Mediation.RequestPipeline`2.HandleAsync(IRequest`1 request, IServiceProvider serviceProvider, CancellationToken cancellationToken)
         at Neuroglia.Mediation.Mediator.ExecuteAsync[TResult](IRequest`1 request, CancellationToken cancellationToken)
         at Synapse.Apis.Management.Http.Controllers.V1WorkflowInstancesController.Create(V1CreateWorkflowInstanceCommand command, CancellationToken cancellationToken) in /src/src/apis/management/Synapse.Apis.Management.Http/Controllers/V1WorkflowInstancesController.cs:line 51
         at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
         at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
         at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
         at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.OData.Routing.ODataRouteDebugMiddleware.Invoke(HttpContext context)
         at Neuroglia.Eventing.CloudEventMiddleware.InvokeAsync(HttpContext context, CloudEventFormatter formatter, ISubject`1 stream)
         at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
         --- End of inner exception stack trace ---
         at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
         at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1
[06/07/2022 10:06:02] info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 POST http://localhost:42286/api/v1/workflow-instances application/json;+charset=utf-8 89 - 500 0 - 41.2481ms

When I check docker containers, I see a newly created container with a synapse-worker image that is stuck in Created status.
What you expected to happen:
No error popup, workflow is executed instead of stuck in pending
How to reproduce it:

Start server using either docker or docker-compose
go to http://localhost:42286/workflows/new and add hello-world workflow
go to http://localhost:42286/workflows/helloworld:1.0 and click on "Start workflow" button
in the popup, ensure payload is empty ({}) and click on Start
observe error popup, check the status of docker containers to found out that workflow container isn't running (stuck in created status)

Anything else we need to know?:
I've also tried to run Synapse on macOS and Windows with no success either. There was no error popup, but overall it's the same: the workflow is stuck in pending and a worker container isn't running.
Environment:

Ubuntu 18.04
Docker version 20.10.7, build 20.10.7-0ubuntu5~18.04.3
Synapse docker image version is latest / 0.1.5

@Nuqlear latest release should fix your issue. Don't hesitate to reopen if that's not the case!


Timestamp not included in memcached-Nonce-Store

When using memcached as store for nonces only the salt is included so that the nonce might not be unique any more if an implementation (e.g. openid4java standard implementation) uses the timestamp followed by a counter.
return $this->connection->add(
'openid_nonce_' . sha1($server_url) . '_' . sha1($salt),
1, // any value here
$this->compress,
$Auth_OpenID_SKEW);
could be modified to:
return $this->connection->add(
'openid_nonce_' . sha1($server_url) . '_' . sha1($timestamp.$salt),
1, // any value here
$this->compress,
$Auth_OpenID_SKEW);
to fix that in Auth/OpenID/MemcachedStore.php

This repo is being archived. Closing issue.


Upload of snapshot builds seems to be failing

See e.g. output from this Travis job:
https://travis-ci.com/github/uber/NullAway/jobs/355553299#L1737-L1743 (you might need to scroll and expand the relevant section)
Not sure what is going on and whether something has changed with the release credentials, etc.

@lazaroclapp any chance you can take a look at this?


implement cadnano import/export in Dart code

Currently, the cadnano import/export functionality is the only "true web app" functionality, which is farmed out to a serve that executes the Python code maintained on a separate repository.
But I'd like to implement it directly in Dart, both so it doesn't require that server to be up and running, and also because that code, though implemented in the Python library, is also a third repo that needs to be kept in sync when new functionality is added. For instance, at the time of this issue, helix groups have broken that code, even though they are implemented in both the Python library and Dart code.
There are unit tests in the Python library; let's make sure to imitate them in the Dart unit tests as well. (in their own file)

Closed in https://github.com/UC-Davis-molecular-computing/scadnano/commit/240c1adb91f6e725b88058360012450e4ee3a565


[SPARK-5913] [MLLIB] Python API for ChiSqSelector

https://issues.apache.org/jira/browse/SPARK-5913

Merged build triggered.

Merged build started.

Test build #31973 has started for   PR 5939 at commit cdaac99.

Test build #31973 has finished for   PR 5939 at commit cdaac99.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ChiSqSelectorModel(JavaVectorTransformer):
class ChiSqSelector(object):

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31973/
Test PASSed.

@mengxr , @jkbradley

I'll take a look now

I don't see any issues except for documentation.  Could you please make the Python docs match the Scala ones?  (We've been lazy about keeping them in synch, but I want to push for Python doc parity.)  Thanks!
As a follow up PR, we can finally add a Python code example to the programming guide!

Oh, also, can you please update the PR description with more details?  Feel free to copy from the JIRA.

@jkbradley , I think the Python docs for ChiSqSelector and ChiSqSelectorModel have reached parity with Scala ones. Please correct me is I misunderstand.
Yes, I will add a Python code example to the programming guide in a follow up PR. We also need to check other API  and add corresponding Python code examples.

@yanboliang Sorry, I just assumed the Scala doc had more content.  I'll make that a to-do for later.  In this case, LGTM!
For the API check, we're gradually putting together a list of the many items under this umbrella: [https://issues.apache.org/jira/browse/SPARK-7443]
Merging into master and branch-1.4

Hm, the merge script complains that this is not mergeable currently.  I'll re-run the tests

Test build #788 has started for   PR 5939 at commit cdaac99.

Test build #788 has finished for   PR 5939 at commit cdaac99.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ChiSqSelectorModel(JavaVectorTransformer):
class ChiSqSelector(object):

Weird, I'll investigate

It worked this time.  Thanks!


Remaining State Changes

As a user
I want to change the state of the request
so that I can move the request along the appropriate states of the request

Assumptions & Scope

AC is written for generic actions - state changes will follow Excel sheet: https://teams.microsoft.com/l/file/4BB4D87F-1238-4B26-AD9E-E6AD49914542?tenantId=6fdb5200-3d0d-4a8a-b036-d3685e359adc&fileType=xlsx&objectUrl=https%3A%2F%2Fbcgov.sharepoint.com%2Fteams%2F03521%2FShared Documents%2FGeneral%2FUser Research%2FIAO and Ministry State<EMAIL_ADDRESS>State Updates will follow the same behaviour as in previous user stories for specific state changes
State Update options will be specific to user groups
Some state updates will include mandatory file uploads - dependency on file upload #697

What is IN scope?

All remaining state changes not previously completed
Confirming state change options in previously completed state changes follow the personas and options outlined in the Excel sheet

What is NOT in scope?

File Upload is not in scope - covered in user story #697

Acceptance Criteria
Scenario 1: View Current State

GIVEN I am a user
WHEN I am on the request details page
THEN the left navigation bar will display the current state

Scenario 2: State dropdown menu options

GIVEN I am on the request details page
WHEN I click on the dropdown menu for the request state
THEN I will see the options that are appropriate to the current state and my user group

Scenario 3: Select new state from dropdown menu

GIVEN I am on the state dropdown menu
WHEN I select a new state
THEN a modal will open asking to confirm the state change
AND the modal will ask to Save Change or Cancel

Scenario 4: Cancel state change

GIVEN I have selected a new state
WHEN I click Cancel on the modal
THEN the modal will close
AND the request will remain in the same state
AND the request will display in the appropriate queues in the same state

Scenario 5: Save state change

GIVEN I have selected a new state
WHEN I click Save Change on the modal
THEN the modal will close
AND the request will display in the new state
AND the request will in the appropriate queues in the new state

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@arielleandrews, @m-prodan, as the spreadsheet includes all the state updates, suggest we add a status column and mark the ones already complete as 'Complete.'
And then close tickets #688 and #689. Let's keep #521 open and we can figure out if we need a date entry or not.

QA complete. All scenarios passed. Tested the following in Chrome, with spot checks in Edge:

CFR to Ministry Sign off
Fee estimate to CFR
Fee estimate to Closed
On hold to Closed
Dedupe to Harms
Dedupe to Records Review
Dedupe to Closed
Harms to Closed
Harms to CFR
Harms to Record Review
Records Review to Response
Response to On hold
Response to Records Review
Response to Closed


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2301

Questions ?
Please refer to the Backport tool documentation


fix hide HeaderMenu on mobile before route starts

What kind of PR is this?:

/kind fix

Codecov Report

Merging #153 (526e38b) into main (3141d79) will increase coverage by 0.70%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   74.29%   75.00%   +0.70%
==========================================
  Files          18       18
  Lines         214      220       +6
  Branches       51       51
==========================================
+ Hits          159      165       +6
  Misses         50       50
  Partials        5        5

Impacted Files
Coverage Δ

src/layouts/components/Header.tsx
80.00% <100.00%> (+4.13%)
: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 3141d79...526e38b. Read the comment docs.


#NEXUS should be first statement

The generated tree nexus files look like this:

#NEXUS
...

Some phylogenetics programs fail when #NEXUS is not the very first line.

I'm not sure if this is a bug in python-nexus or here.

Looks like a python-nexus problem. File template starts with a newline:
https://github.com/dlce-eva/python-nexus/blob/44cd8eeece1522b2839fbf4d586913ccdef7fbfc/src/nexus/writer.py#L8-L12

@SimonGreenhill Do you have an example for such a program - preferably one that I could install :) ?

yep, bayestraits should fail with it.

hm. Just added a newline at the top of one of the example trees distributed with BayesTraits and it still worked. What error are you seeing?

oh! awesome, I'm glad they fixed that! maybe this is an ancient bug that I've internalised. Still would be good to fix :)

fixed in python-nexus 2.3


Pasting data in program breaks redo chain

Ways to emulate this:

Copy anything into your clipboard.
Create a new file.
Paste consecutively three times
Save
Reopen file
Hold undo
Weird behaviors will happen. The best behavior I've seen is that the redo chain just stops allowing you to undo, even when there is supposed to be more stuff. (ie, doing the steps above should leave one copy paste in your program). The worst behavior I've seen is where the views all freeze. I think you can still exit with CTRL_Q + y/n, but the visible screen looks like it froze. Another behavior is where the screen looks frozen, but once u click the text buffer, changes get updated as if the screen refreshed.

I'm able to repro it.
running we --clearHistory will make the issue not happen (though that also removes the history -- this is not a suggestion, just a point of data).
I tried going back dozens of git commits and the issue persist.

As a stop-gap (not a real solution) I made "saveUndo" a preference setting and default it to False.
So a new user won't see this issue, but they also wont have save/restore undo.


Add-Migration generates nullable columns for non-nullable properties inside owned types

Migration tool Add-Migration generates code for adding a nullable column for non-nullable properties inside owned types
Steps to reproduce
1.- C# 8 nullable checks are on
2.- Add a non-nullable property to an Owned type
3.- Run Add-Migration
4.- nullable: true code is generated
class MyEntity {
  [Key]
  public int Id { get; set; }

  //This property is correctly generated (non nullable)
  public bool MyProp { get; set; }

  public MyOwnedType OwnedType { get; set; } = new MyOwnedType();
}

[Owned]
class MyOwnedType {
  //This property is generated as a nullable column (wrong)
  public bool OwnedProp { get; set; }
}

Generated code:

          migrationBuilder.AddColumn<bool>(
                name: "MyProp",
                table: "MyEntity",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<bool>(
                name: "OwnedType_OwnedProp",
                table: "MyEntity",
                nullable: true);

Further technical details
EF Core version: 3.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer 3.0.0
Target framework: netcoreapp3
Operating system: Windows 10
Visual Studio 2019 16.3.7

Duplicate of #16943


[pdpix] wait() and wait_any() System Calls Should Return an Error

Description
We should review the implementation of wait(), wait_any() and all their existing flavors, and make them return a Result<..>.
These functions use the supplied QToken as a parameter to get_handle() in order to retrieve the associated ScheduleHandle. We are currently assuming that the supplied value is valid and we simply unwrap() the result.  Unfortunately, it is not guaranteed to never fail because the QToken may not be valid.

This bug was fixed in commit bb2811ddfdc6b86f415cb1ea5d226e6eb9dab7e3.


[FTL-2702] Dependency on node-fetch and undici extracted into a separate package

Instead of explicitly using node-fetch or undici or native fetch everywhere, and instead of changing global variables, here we have three packages:

platform-fetch, which does not have any dependencies;
platform-fetch-native, which only has a peer dependency on platform-fetch;
platform-fetch-node, which also has that peer dependency, plus dependencies on node-fetch and undici.

If fetch is needed somewhere, it can be used like that:
import { getFetch } from '@affinidi/platform-fetch'
const fetch = getFetch()

Prior to application startup, it should be configured to use a specific fetch implementation:
import { useNativeFetch } from '@affinidi/platform-fetch-native'
useNativeFetch()

or
import { useNodeFetch } from '@affinidi/platform-fetch-node'
useNodeFetch()

Application intended to be run in browsers will never have non-dev dependencies on platform-fetch-node, will never require or import platform-fetch-node, and therefore there will be no direct or indirect references to node-fetch or undici, so that webpack will never try to load these.
All our platform-specific SDK packages already invoke useNodeFetch or useNativeFetch and already have the relevant dependencies, so that client applications can just import wallet-browser-sdk as they always did; they won't have node-fetch or undici in their node_modules, and webpack will never try to load these.

Why is this PR so big and appears to include so many unrelated changes?

@stephanie-affinidi

Why is this PR so big and appears to include so many unrelated changes?

I didn't intend for it to become that big, I'll try to split it into two now.

Extracted refactoring of migration service to #199


add note about arrow::open_dataset

Hi, thank you for creating this wonderful book!
I have two concerns about the "From a parquet file" section, which can be read as a comparison with the arrow package, and propose the following corrections.

Use as_data_frame = FALSE in arrow::read_parquet(). If this is not used, Acero is not used and just an R DataFrame calculation is performed.
Mention to arrow::open_dataset(). I think there is a risk of misleading people into thinking that the lazy scan functionality does not exist in the arrow package.

Thanks @eitsupi for this suggestion!

Thanks for merging and re rendering!


Should has_many and list_of consider [] as nil if the field is not optional?

Jury is still out. There is a good case for saying "yes", but for now we have gone with two new options:
empty_values
default
These combine to allow someone to choose any value as empty - so they can apply [] to all list_of's or has_many.
This has the tradeoff of potentially being verbose (though you can help with macros).


Update supporting repo docs

README and CONTRIBUTING need to get updated to reflect the changes we've made recently.  Also, we should use this issue to discuss any other changes and additions we'd like to see from these documents.
We should also work out an issue and PR template

Things @danlrobertson and I have discussed so far:

Remove release_notes.rst in favor of using Milestones for PRs
Update README.md

"DefaultEngine: backed by python standard urllib"  changed to requests
Remove mention of TimedWaitEngine

Update CONTRIBUTING.md

Change mention of nose2 as testing suite to py.test


Improve reliability of test pipeline

We should improve our CI to reduce the number of false-positive failures. Mostly, the e2e tests are flaky and fail randomly, but sometimes the (unit) tests are also failing. See previous attempts of this test run for more details

2 failures are due to the flaky test TestExecuteInteractivelyTestSuite/TestSendsSignalAfterTimeout
6 failures are due to the e2e tests - but not due to flaky test cases but due to a "socket hang up" error