Cannot Skip Fn Field

I have a boxed Fn in a struct and I naturally would like to skip it (since there's no way to deserialize/serialize a function).
What I have:
type InvokerFn = Box<dyn Fn(&str) -> InvocationResult>;

#[derive(Serialize, Deserialize)]
struct Code<'a> {
    name: &'a str,
    description: String,
    #[serde(skip)]
    invoker: InvokerFn,
}

It fails saying:
the trait bound `dyn for<'r> std::ops::Fn(&'r str) -> std::result::Result<std::string::String, code::CodeError<'r>>: std::default::Default` is not satisfied

the trait `std::default::Default` is not implemented for `dyn for<'r> std::ops::Fn(&'r str) -> std::result::Result<std::string::String, code::CodeError<'r>>`

note: required because of the requirements on the impl of `std::default::Default` for `std::boxed::Box<dyn for<'r> std::ops::Fn(&'r str) -> std::result::Result<std::string::String, code::CodeError<'r>>>`
note: required by `std::default::Default::default`rustc(E0277)
code.rs(39, 5): the trait `std::default::Default` is not implemented for `dyn for<'r> std::ops::Fn(&'r str) -> std::result::Result<std::string::String, code::CodeError<'r>>`

How do I skip a boxed Fn field?

Environment

Rust 1.43.1
serde 1.0.111

What value should go in invoker when (not) deserializing it?

@dtolnay
Now that I think about it with a clear mind (it was midnight where I was when I had written that code and opened this issue), it's natural for serde to fail, or rather this is how Rust works. This Fn is not wrapped with an Option at all. What was I thinking?
Sorry for bothering. I think the issue better be closed.


[Win10] - Folders do not mount successfully when drive K: already exists.

My desktop has had a K drive for almost as long as I can remember... which, as I discovered, the keybase client apparently does not like. My kbfs logs are full of lines like the following:
[ERRO kbfs mounter.go:57] 01f Failed to mount dokan filesystem (i=8): Dokan failed: code=-5 "Mount error"
[ERRO kbfs mounter.go:57] 02a Failed to mount dokan filesystem (i=16): Dokan failed: code=-5 "Mount error"
[ERRO kbfs mounter.go:57] 02b Failed to mount dokan filesystem (i=32): Dokan failed: code=-5 "Mount error"
[ERRO kbfs mounter.go:57] 02c Failed to mount dokan filesystem (i=64): Dokan failed: code=-5 "Mount error"
[ERRO kbfs mounter.go:57] 02d Failed to mount dokan filesystem (i=128): Dokan failed: code=-5 "Mount error"

Upon investigation, I found that the "mountdir" setting in config.json doesn't appear to do anything... changing it from "K:" to an unused letter didn't force keybase to use it. Changing my K drive to a different letter seems to be a suitable workaround, albeit an inconvenient one.
Please let me know if more information would be helpful.

You can change the kbfs drive letter by running keybase kbfsmount set X: on the keybase shell and then restarting.
https://github.com/keybase/client/issues/4317#issuecomment-260665549

Thank you for linking to that other ticket... I did search before creating a new one, but didn't find anything.


bump protobuf to 29.2

Risk Level: low
Testing: CI

This depends on #37755 landing first, or getting folded into this PR.

Feel free to fold it if you like.
/wait


Add support for pnpm

Hi - thanks for this helpful package.
I've created a PR for supporting pnpm in addition to yarn:
https://pnpm.js.org
Hope this is helpful.
Let me know if need to update/change anything.
Thanks

Coverage remained the same at 100.0% when pulling cd1c76414b36b3180cb45fe47825302f2fc33305 on admmasters:add-pnpm-support into 54b6456eb5054ec32de9d81717b143d2ca8f8f6d on kimmobrunfeldt:master.

Thanks @gustavohenke

Hello! First of all thanks for this!
Any idea when it's going to be released @gustavohenke ?

Release as v5.3.0!


incorrect number of public lb ip in UI

ISSUE TYPE

Bug Report

COMPONENT NAME

UI

CLOUDSTACK VERSION

4.11.1

CONFIGURATION

KVM, advanced networking
OS / ENVIRONMENT

CentOS 7.4
SUMMARY

In UI, in VPC view, number of "public lb ip" per tier is displayed incorrectly. Instead number of forwarding rules is displayed screen

Close to finalizing this. Discovered an unrelated change with this investigation in GenericDaoBase#searchAndCount


Cannot call http get throw exception in android 23 x86

Steps to Reproduce
I am invoke follower function.in iOS is work fun.But in android 23 x86 monitor throw an exception.
get() async {
    var httpClient = new HttpClient();
    var request = await httpClient.getUrl(new Uri.http('<IP_ADDRESS>:5000', '/ysf'));
    var response = await request.close();
    var responseBody = await response.transform(UTF8.decoder).join();
    Map data = JSON.decode(responseBody);
    debugPrint(data.toString());
  }

Logs
SocketException: OS Error: Connection refused, errno = 111, address = <IP_ADDRESS>, port = 36323

With last version I have the same:
05-16 12:08:32.861 2073-2584/? D/SntpClient: request time failed: java.net.SocketTimeoutException: Receive timed out
05-16 12:08:33.350 6830-7373/? I/flutter: Error SocketException: OS Error: Connection refused, errno = 111, address = jsonplaceholder.typicode.com, port = 44982

And it's not for localhost URL, just a regular one that is working when used under the browser.

Why do you expect that to work?
What app is listening on :5000?
https://stackoverflow.com/questions/49855754/unable-to-make-calls-to-localhost-using-flutter-random-port-being-assigned-to-h might be related.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


feat: persist code block modes in URL

Changes
Persists both the filter and regexp mode state of the code block in the URL alongside the already persisted query.
Resolves #1752.
Signed-off-by: Philipp Rudloff<EMAIL_ADDRESS>Notes:

Noticed a bug (https://github.com/Kong/kongponents/issues/1868) while working on this

Quick note on this one I tried this using the PR preview in the XDS tab but it didn't seem to work, then I tried the YAML tab and it seemed to work. Are you seeing the same or just me?

Yep, I had a typo in the event listeners in the views. I also updated the test to assert against the URL to catch this kind of mistake.

@johncowen It wasn’t exactly straightforward to change the logic as we discussed (i.e. to omit false boolean parameters and true ones as only their keys). See also https://github.com/kumahq/kuma-gui/pull/1811#discussion_r1406015157.

Kinda related but not, should the buttons have visually different on/off states?

Kinda related but not, should the buttons have visually different on/off states?

See PR description:

Noticed a bug (KCodeBlock: filter/regexp mode buttons not showing pressed state in dark theme, disabled buttons not looking disabled Kong/kongponents#1868) while working on this

Oh gotcha, thanks! 1 sec lemme approve this, I think there is some work to be done here, but this is good for me as is.


issue with Rspec

Hi,
I am a newbee in rails. I have mailboxer gem in my project. I am now trying to add rspec for testing. But  when I run the rspec all the initializing files and routes.rb are executed twice and produces error. I found that, when I remove the file engine.rb in lib/mailboxer folder, the  rspec is executing properly and the files are executed exactly once. I am using rails 4.2.1. Can someone figure out where I went wrong. Thanks in advance

How did you install the gem in your project? Typical installation is to include gem 'mailboxer' in Gemfile and then bundle install.  You wouldn't have a lib/mailboxer/engine.rb in your project if you did that.

@jcoyne I am working in an existing project. The lib/mailboxer/engine.rb was already there. So I don't know about the details, how the gem was installed. There is gem 'mailboxer' in gemfile

I'd expect the presence of that file would cause trouble,

@jcoyne , if I delete lib/mailboxer file will it affect any functions of the mailboxer gem.

I can't say one way or another. I wouldn't have expected that to be there in the first place, so I don't know what purpose it serves in your application. If I was you I'd consult the original author of the code.


[Chore] Update auto import file exclude patterns for TypeScript in .vscode settings

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR updates TypeScript preferences in .vscode/settings.json to exclude a specific file path from auto imports.
Detailed summary

Updated typescript.preferences.autoImportFileExcludePatterns to ./packages/thirdweb/src/exports

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#3390  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


issue-339: add interpreter jars into classpath

Not sure if this is the right solution.  I tested it on my local machine and it fixes the issue with registerTempTable.

This PR probably fix problem with spark 1.2. But i'm not sure it's not bringing any problem for spark 1.1. So until we get better solution, i think it's better to provide user apply this code selectively.
For example
f [[ -z "${SPARK_1_2_WORKAROUND}" ]]; then
  addJarInDir "${ZEPPELIN_HOME}/interpreter/spark"
  addJarInDir "${ZEPPELIN_HOME}/interpreter/sh"
  addJarInDir "${ZEPPELIN_HOME}/interpreter/md"
fi

furthermore, SPARK_1_2_WORKAROUND can be automatically configured with following code
ls ${ZEPPELIN_HOME}/interpreter/spark/spark-core_2.10* | grep 'spark[-]core_2[.]10[-]1[.]2' > /dev/null 2> /dev/null
if [[ $? -eq 0 ]]; then
   export SPARK_1_2_WORKAROUND
fi

if we want to apply this fix always automatically for spark 1.2

@Leemoonsoo, thanks for the comments.  I updated this PR with your suggestions.
Could you show me what was the problem of spark 1.1?  Also, in SparkInterpreter.open() (https://github.com/NFLabs/zeppelin/blob/master/spark/src/main/java/com/nflabs/zeppelin/spark/SparkInterpreter.java#L370), it looks like it adds jars from ${ZEPPELIN_HOME}/interpreter/spark to spark context, so why it works in spark 1.1 but not in spark 1.2?
Thanks in advance for your help.

Why it works in spark 1.1 but not in spark 1.2, i think it is oriented from org.apache.spark.sql.catalyst.ScalaReflection.scala, how they creates JavaMirror for reflection.
Spark 1.2's JavaMirror uses Application classloader and Zeppelin loads all jars for Spark 1.2 in thread context classloader. So spark can not find classes he need.
Because of Zeppelin ship's scala compiler for REPL, any jar need to be loaded into 1) scala compiler, 2) scala compiler runtime, 3) spark cluster. I think sc.addJar() is doing 3).

In my case Zeppelin with Spark 1.2. throws error without this branch.
What if we merge this branch?

This branch provides possible workaround for Spark1.2 which is completely broken in master branch.
The workaround adds all interpreter's dependency jars in application classloader, which is originally intended to be loaded with separate classloaders.
While it's providing workaround for broken feature, not affecting to existing feature (conditionally applied) +1 for merging.

Thanks for resolving this issue.

@Leemoonsoo I don't think This PR covers spark-1.3 which will be released by March.

#364 resolves classloading problem and it also resolves issue of Spark-1.2
While #364 is already merged this PR won't need anymore. so i'm closing it.
Thanks @hunglin for providing really quick and nice fixes! And thanks people reviewing this branch.


seaborn 0.9 compatibility

Adds compatibility with new seaborn color palettes introduced in 0.9.
Since the colors are explicitly unpacked into individual variables, anyone running 0.9 gets a ValueError with the existing code.

just hit this bug as well, and the fix looks right to me.  if the project doesn't intend to support seaborn==0.9, i think it should at least peg to an appropriate version in the requirements file.

Dear authors, can you post a working packages version numbers for those in requirement.txt? Thanks,


Laravel 11 Compatibility

See: https://github.com/christophrumpel/missing-livewire-assertions/pull/31

@christophrumpel  - please merge #31

Back from vacation and merged now 👍


Query Filter Widget

Mock up
Toggling checkboxes would adjust the definition query on a single layer. Here are the details
I'm not yet sure if this should be done within the existing Filter widget framework or if it should be a custom component (see #47).
@nathankota Do you have any other requirements that you can remember to add to this issue?

The following are from my notes, but we'll want to confirm w/WFRC. I am not able to @mention Matthew and Bert.
Filter sections open by default:
Funding Program
Year
(or just Funding Program?)
Filter sections closed by default:
Status
Type
This layout would allow check boxes to be distributed vertically, if desired.

I don't think that we will be able to make this work with the current filter widget. I'm planning on implementing this as a configurable, generic "QueryFilter" widget so that it could be used in other maps as well. I don't feel like it's very specific to the TIP Projects map.

@msilski Does this look like a reasonable configuration for the QueryFilter widget? Would it allow you enough flexibility?
https://gist.github.com/stdavis/1caaaed863b6be79ca7ecf6a8c200f98

@stdavis That looks good to me. Just to clarify - for a checkbox, is the "other" = true line used in place of "values" to group all other values?

Just to clarify - for a checkbox, is the "other" = true line used in place of "values" to group all other values?

Yes, that's my thought.
Let me know if you can think of any other issues. I'm going to start coding it today. Thanks for the review!

WFRC Feedback:

Force scrollbar on macOS

Specify title in query pane (e.g. replace Query Filter with TIP Project Filter)

Enable vertical folding of query sections. Funding Program open by default, all the rest closed.

Horizontal wrapping of text not ideal.

Can one item per line be specified?
Can the values be put in columns or a matrix to distribute them more evenly?


all: replace grub with systemd-boot

Now that we use UEFI based partition, we can replace the grub with
systemd-boot.
This option have several advantages,

minimize installed package and dependencies
allow automatically mount partition based on GUID [1]
allow future customization (e.g. secure boot)

The installed fstab is required to allow the next kernel update
installed in esp.
The pacman hooks 00-systemd-boot is to update the systemd-boot
automatically when package systemd upgraded.
[1] https://systemd.io/DISCOVERABLE_PARTITIONS/

Some command output from created image,
.... <REDACTED> ...

>>> local:  16: gcloud [compute images describe arch-v20220701]
archiveSizeBytes: '457931584'
creationTimestamp: '2022-07-01T09:36:04.433-07:00'
description: Arch linux image with ops-agent. See https://github.com/shuLhan/compute-archlinux-image-builder
diskSizeGb: '10'
family: arch
guestOsFeatures:
- type: GVNIC
- type: UEFI_COMPATIBLE
- type: VIRTIO_SCSI_MULTIQUEUE
id: '8419035200747642012'
kind: compute#image
labelFingerprint: 42WmSpB8rSM=
name: arch-v20220701
rawDisk:
  containerType: TAR
  source: ''
selfLink: https://www.googleapis.com/compute/v1/projects/arch-builder/global/images/arch-v20220701
sourceType: RAW
status: READY
storageLocations:
- asia

 23:37:17 ~/src/compute-archlinux-image-builder
(ins) 1 $ awwan local gcloud-image-test.aww 6 15
--- BaseDir: /home/ms
>>> loading "/home/ms/src/compute-archlinux-image-builder/awwan.env" ...
--- require 4: gcloud config configurations activate personal
Activated [personal].

>>> local:   6: gcloud [compute instances create arch-test --zone=asia-southeast1-b --image=arch-v20220701 --metadata=block-project-ssh-keys=TRUE --machine-type=f1-micro]
Created [https://www.googleapis.com/compute/v1/projects/arch-builder/zones/asia-southeast1-b/instances/arch-test].
NAME: arch-test
ZONE: asia-southeast1-b
MACHINE_TYPE: f1-micro
PREEMPTIBLE:
INTERNAL_IP: <IP_ADDRESS>
EXTERNAL_IP: <IP_ADDRESS>
STATUS: **RUNNING**

.... <REDACTED> ...

 23:38:50 ~/src/compute-archlinux-image-builder
(ins) 1 $ awwan local gcloud-image-test.aww 18
--- BaseDir: /home/ms
>>> loading "/home/ms/src/compute-archlinux-image-builder/awwan.env" ...
--- require 4: gcloud config configurations activate personal
Activated [personal].

>>> local:  18: gcloud [compute ssh --zone=asia-southeast1-b --command=lsblk -o NAME,UUID,MOUNTPOINTS; cat /etc/fstab; timedatectl show-timesync; localectl arch-test]
Updating instance ssh metadata...
....Updated [https://www.googleapis.com/compute/v1/projects/arch-builder/zones/asia-southeast1-b/instances/arch-test].
done.
Waiting for SSH key to propagate.
Warning: Permanently added 'compute.5613774665665387532' (ED25519) to the list of known hosts.
NAME   UUID                                 MOUNTPOINTS
sda
|-sda1 0859-29E8                            /boot
|                                           /efi
`-sda2 8e476450-ad0f-4271-9632-4ca19eff205f /
## The root and efi partition is automatically mounted by systemd.
## This bind only to make the next kernel update installed to efi.
/efi /boot none defaults,bind 0 0
SystemNTPServers=metadata.google.internal
FallbackNTPServers=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
ServerName=metadata.google.internal
ServerAddress=<IP_ADDRESS>
RootDistanceMaxUSec=5s
PollIntervalMinUSec=32s
PollIntervalMaxUSec=34min 8s
PollIntervalUSec=32s
NTPMessage={ Leap=0, Version=4, Mode=4, Stratum=2, Precision=-20, RootDelay=0, RootDispersion=76us, Reference=474F4F47, OriginateTimestamp=Fri 2022-07-01 16:38:39 UTC, ReceiveTimestamp=Fri 2022-07-01 16:38:39 UTC, TransmitTimestamp=Fri 202
2-07-01 16:38:39 UTC, DestinationTimestamp=Fri 2022-07-01 16:38:39 UTC, Ignored=no, PacketCount=1, Jitter=0 }
Frequency=0
   System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

What about settling for 85b8f0073af7ae233c80483dbe275088d5940f63?
That is intended to get rid of growpartfs, and it ends up enabling systemd in initramfs as well for unrelated reasons. So you should get the same functionalities as this one if you need them.
That keeps GRUB for now though.

@lcastelli Thanks for review.

What about settling for https://github.com/GoogleCloudPlatform/compute-archlinux-image-builder/commit/85b8f0073af7ae233c80483dbe275088d5940f63?

Deal ;)


How can I generate the pretrained model file "bert_clinic_ft_IMLM_BCAD" by myself?

Hello, I'm interested in your work and try to compare with other OOD methods. I find that there are two independent parts of IMLM and BCAD but the best performance can be achieved with both strategies. So I'm wondering how to arrange IMLM and BCAD strategies at the same time. Besides, in the code of IMLM and BCAD parts, the pretrained models are LanguageModelingModel and ClassificationModel while BertForSequenceClassification is used for OOD task, so how can I solve the problem of model parameter mismatch?

Hi, thank you for your question!
You need to run IMLM and BCAD in sequential order. Check the Fine-tuning BERT with BCAD and IMLM  section in README, and you can find for BCAD:The load_path can be the output of IMLM fine-tuning. If no load_path is specified, then pre-trained bert model is used.
Regarding the type mismatch, I think shared parameters will be loaded from the checkpoint. The unseen parameter in the new model will be randomly initialized, and exclusive parameters in the checkpoint will be discarded (e.g., LM head after IMLM). No exception will be raised.
Let me know if you have any further questions.


Docs page for validation errors

Adds a new page as a target for validation errors
See https://github.com/pydantic/pydantic/issues/4681
Change Summary

Related issue number

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @dmontagu

please review

@tpdorsey not sure if you wanted to add more to this before merging, but feel free to merge if you like now


"Clear All Output" is greyed out and doesn't clear execution count unless output is available

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Create a new cell in an *.ipynb.
run an import statement, the execution count increments.
expected that this execution statement could be cleared with the "Clear All Outputs" button it cannot.

add a print statement to the cell and run.
The "Clear All Outputs" is now available and can be used to clear the execution count as well as outputs.

"Clear All Outputs" should be available to clear execution counts even if none of the cells have printed outputs.
VS Code Version
1.86.2
Jupyter Extension Version
2024.1.1
Jupyter logs
No response
Coding Language and Runtime Version
Python v 3.10.10
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
None

Same effect for me with
VS Code Version
1.89.1
Jupyter Extension Version
2024.4.0
Coding Language and Runtime Version
Python v 3.12.2

Seeing the same on
VS Code V1.93.0

There is a new issue here from v1.93.1, with both Jupyter v2024.8 and v2024.7. See further testing below.
From v1.93.1, Clear All Outputs, even if available, does not affect execution count of cells with no output. Execution count is displayed as null (flushed in the GUI) but does not actually reset in the notebook source. So this is a further regression and #16052 is not a duplicate of this issue, it's a different problem. @amunger @SmallhillCZ
Note that this issue (#15266) does still apply - if no cells have output, Clear All Outputs is greyed. However, if any cell has output, Clear All Outputs is available and at < 1.93.1 would clear execution count from all cells, even those with no output.
Comparison (expected behaviour before 1.93.1 as described by OP):
VS Code 1.92.2
Jupyter Extension 2024.7
Python 3.9.13

Run a cell with no output - can't clear anything.

Run a cell with output - can clear everything.

After Clear All Outputs, execution count goes back to null on both cells.

New behaviour as follows:
VS Code 1.93.1
Jupyter Extension 2024.7
Python 3.9.13
Apparent behaviour in the GUI is the same (execution count appears to be null), but the first cell does not have its execution count cleared in the source:
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "print(1)"
   ]
  }
 ],

Update to Jupyter v2024.8.1 gives the same behaviour with v1.93.1.

Source Control: Just in case this was not immediately obvious to someone, "execution_count": 1 is problematic for source control. We want to nullify/clear all outputs before committing to reduce merge conflicts. So I have to manually nullify those before committing directly in the json file. I noticed that commits from users of the original Jupyter IDE seems to always have nullified execution_count as expected.

We are also running into this in v1.94.2. And as @bernard-123lb says, the merge conflict aspect is particularly problematic.

@ejfdickinson I've re-opened the issue https://github.com/microsoft/vscode-jupyter/issues/16052
& will be fixing that.

TEMPORARY SOLUTION/WORK AROUND
Please use the command Notebook: Clear Cell Outputs
I understand this doesn't fix the problem with the icon not being enabled, hence temporar work around


Rename fh-schmalkalden.txt to fh-sm.txt

mail adresses for students belong to this domain

confirmed, this is correct, please merge


Fix macro calls

@FelipeMarcos my fix didn't fix anything, and it was missing the actual fix as you said.
WDYT if we merge this one instead to keep this in masted instead of in a branch? It's pretty crucial for us

Let's do it 🙌


Windows 8.1 app crash

Hello,
I tried your great starter project and I tried to run on Windows universal app, but the app is crashing as soon as I click on a settings submenu or the reorganize categories menu.
I don't know why the app is crashing because only an ugly message is displayed redirecting to another VS debugger window.
Thanks in advance for your help.

I looked into this just now and it appears to be an issue with Visual Studio's DOM debugger. This StackOverflow article seems to confirm what I am seeing.
There are two workarounds:

Close the DOM Explorer tab that is open in Visual Studio
Detach the Visual Studio debugger completely using Debug > Detach All


Meshing API

create a meshing API on the client side based on the pure Scheme backend of query and utility functions

Two versions of this completed by @hpohekar


bucket cleanup

Does this cleanup the bucket after the results are returned?  If not Feature request!

I think it is better to delete temporary files using the life cycle of s3.
https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html


Migrate Microsoft.Bot.Builder.Dialogs.Adaptive.Tests to xUnit

Fixes # 4093
Description
This PR migrates all Microsoft.Bot.Builder.Dialogs.Adaptive tests from MSTest to xUnit.
Specific Changes

Replaced MSTest packages with xUnit in the .csproj.
Changed [TestClass] to [CollectionDefinition].
Changed [TestMethod] to [Fact].
Changed Assert.AreEqual to Assert.Equal.
Changed Assert.IsNotNull to Assert.NotNull.
Changed Assert.IsNull to Assert.Null.
Added [assembly: TestFramework("Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.Tests.Startup", "Microsoft.Bot.Builder.Dialogs.Adaptive.Tests")] to the Startup class to replace [AssemblyInitialize].
Implemented ResourceExplorerFixture class to share the ResourceExplorer among tests.
Implemented ConfigurationFixture class to share the Configuration among tests.
Improved tests Assertions.

Testing
In the following image there are the passing tests.

Promoted


Converters should have priority over MTZFormOption

Whenever dealing with availableOptions on a form row, converters are ignored and MTZFormOption is used instead to acquire a value for the form field. Since setting a converter is optional, we can still prioritise it over the default behaviour if it's not nil.

no longer applicable.


Merge the late additions to ghc-8.10 into ghc-9.0

Last merge request to synchronise ghc-9.0 and ghc-8.10, ghc-9.0 is now the main branch.

@harpocrates I'm having weird binary serialisation/deserialisation errors in CI. Do you have any idea about a recent commit that could have introduced it?

@harpocrates I'm having weird binary serialisation/deserialisation errors in CI. Do you have any idea about a recent commit that could have introduced it?

There we go, it’s green!

yep', sounds like it. :)


Refresh access_token cache

The access_token cache can become stale and needs to be refreshed. The error handling refactoring should be able to cover this.

Fixed w/ #7


Update demo video and docs screenshots before merging the new UI

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Reminder task to be done before https://github.com/mui/mui-toolpad/issues/900

While I can do this task, IMO it would be best if someone else took it as per our previous discussions about generating screenshots for each case individually. I think it's important that someone else besides me experiences same, maybe could come up with an alternative solution to screenshot capturing than the one I have proposed.

I don't think the solution you proposed is bad. It's just unfinished.

I don't think the merging of new UI must necessarily be blocked by screenshots in the docs

I also think that it might make more sense to update screenshots AFTER the new UI is merged, so that the docs match how our UI looks, what's the reason to update screenshots before UI update?

No issues, we can merge it later as well.

@gerdadesign please use this video to update the existing one. Let me know if you suggest any changes. I have taken the light them for Toolpad and the app.
https://user-images.githubusercontent.com/92228082/197453558-5e9566d4-8c07-4fb8-8f6a-764a99cb1787.mov
@bytasv Can we import existing apps (to cloud) using DOM export? This will help in updating screenshots faster.

@prakhargupta1 we don't really have an import feature 🤔 I'll probably have to recreate those apps then so that anyone could pick it up in the future

@bytasv We have a hidden option TOOLPAD_ENABLE_CREATE_BY_DOM that allows you to create an app by importing an existing dom. Currently we use this for integration testing only (and PR previews). We'll need to add validation before we can make this user-facing.

@Janpot can this be used on master app?

@prakhargupta1 There are a lot of instances in this video where the mouse is going in one direction and then changes direction to the button that its intending to click. Any way you can do a cleaner recording? That will make the editing a lot smoother.

New video:
https://user-images.githubusercontent.com/92228082/198187732-bd3b32fc-8de0-4ff8-9cc4-fc3b13dba116.mov
Here I have also shown Toolpad and app theme at the end.

Here's the new version.  Let me know what you think!
Some parts at the end seem a little bit muddy — this is due to the mouse moving while states are loading. It's more difficult to cut out the extra half a second while waiting for something, ex. the data grid, to load. I don't think it's dire, though—would just make it incrementally smoother!
https://user-images.githubusercontent.com/106991024/198747090-79aeff47-ec7a-481d-9a1b-125af111a41b.mp4

@prakhargupta1 @bharatkashyap  What do you think about having two different fallback images — one for light mode, one for dark mode? Since the video has both and contrasts with each respective background.


unit tests failure - WorkingCopyBackupTracker (native)

Build: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=214407&view=logs&j=55ac390b-ffb1-50ea-3650-525dd9a3fd80&s=a56e7651-4213-56af-9488-c25fe636c10c&t=a0dd9636-50d2-5f8a-f17f-6bcaa254d802&l=10511
Changes: https://github.com/Microsoft/vscode/compare/5860847...d1c1c8c

Flaky CI, I think we had discussed to increase the timeout when running in CI, I can see to do that.


Add mk.nixnet.social (English instance) to list

The variables of host and lang are good.
To display your instance better, could you make an additional commit for a variable of name ?

@4ioskd like in https://github.com/Amolith/misskey-hub/commit/5656bee4f66f45177a5197b00f483dcdf7e78f6f?

🙏


[Feature] Loop detection in the same switch via LLDP ofpt_packet_in

Fixes #34
This is a new feature for loop detection in the same switch, initially it'll just log that a loop has been detected, but it's structured in a way to perform any other action configurable that operators might wish as we further refine this feature for the use cases in production.
Added

Added loop detection feature via LLDP ofpt_packet_in
Added settings for loop detection

Local exec
Using this mininet topology with s1 looped interfaces eth1-eth2:
mininet> net
s1 lo:  s1-eth1:s1-eth2 s1-eth2:s1-eth1 s1-eth3:s2-eth1
s2 lo:  s2-eth1:s1-eth3
mininet>

kytos $> 2022-01-07 19:12:07,341 - INFO [kytos.napps.kytos/of_core] (ThreadPoolExecutor-0_11) Connection ('<IP_ADDRESS>', 58282), Switch 00:00:00:00:00:00:00:01: OPENFLOW HANDSHAKE COMPLETE
2022-01-07 19:12:07,482 - INFO [kytos.napps.kytos/flow_manager] (Thread-17) Send FlowMod from request dpid: 00:00:00:00:00:00:00:01, command: add, force: False, flows_dict: {'flows': [{'
priority': 1000, 'table_id': 0, 'match': {'dl_type': 35020, 'dl_vlan': 3799}, 'actions': [{'action_type': 'output', 'port':<PHONE_NUMBER>}]}]}
2022-01-07 19:12:07,520 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_18) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
2022-01-07 19:12:07,532 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_40) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
2022-01-07 19:12:08,520 - INFO [kytos.core.atcp_server] (MainThread) New connection from <IP_ADDRESS>:58284
2022-01-07 19:12:09,031 - INFO [kytos.napps.kytos/of_core] (ThreadPoolExecutor-0_44) Connection ('<IP_ADDRESS>', 58284), Switch 00:00:00:00:00:00:00:02: OPENFLOW HANDSHAKE COMPLETE
2022-01-07 19:12:09,049 - INFO [kytos.napps.kytos/flow_manager] (Thread-19) Send FlowMod from request dpid: 00:00:00:00:00:00:00:02, command: add, force: False, flows_dict: {'flows': [{'
priority': 1000, 'table_id': 0, 'match': {'dl_type': 35020, 'dl_vlan': 3799}, 'actions': [{'action_type': 'output', 'port':<PHONE_NUMBER>}]}]}
2022-01-07 19:12:09,074 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_58) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
2022-01-07 19:12:09,077 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_63) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7

The loop is right away detected as soon as the first LLDP packet in looped packet arrives:

2022-01-07 19:12:10,089 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_11) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interface_a: s1-eth1, number: 1, interface_
b: s1-eth2, number: 2
2022-01-07 19:12:10,105 - INFO [kytos.napps.kytos/flow_manager] (Thread-20) Send FlowMod from request dpid: 00:00:00:00:00:00:00:01, command: add, force: False, flows_dict: {'flows': [{'
table_id': 0, 'match': {'dl_src': 'ee:ee:ee:ee:ee:02'}, 'priority': 50000, 'actions': [{'action_type': 'output', 'port':<PHONE_NUMBER>}]}]}
2022-01-07 19:12:10,119 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_42) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
2022-01-07 19:12:10,123 - INFO [kytos.napps.kytos/flow_manager] (Thread-21) Send FlowMod from request dpid: 00:00:00:00:00:00:00:02, command: add, force: False, flows_dict: {'flows': [{'
table_id': 0, 'match': {'dl_src': 'ee:ee:ee:ee:ee:01'}, 'priority': 50000, 'actions': [{'action_type': 'output', 'port':<PHONE_NUMBER>}]}]}
2022-01-07 19:12:10,134 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_43) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
2022-01-07 19:12:10,136 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_23) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
2022-01-07 19:12:10,139 - INFO [kytos.napps.kytos/flow_manager] (ThreadPoolExecutor-0_23) Flow saved in kytos.flow.persistence.a3c06a5b196c4f768b434a495ab63fd7
kytos $>

After that, it logs every minute by default, this is configurable:

kytos $> 2022-01-07 19:13:10,871 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_218) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interface_a: s1-eth1, number: 1,
interface_b: s1-eth2, number: 2
kytos $>

kytos $> 2022-01-07 19:14:11,680 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_67) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interface_a: s1-eth1, number: 1, i
nterface_b: s1-eth2, number: 2
kytos $>

@italovalcy @ajoaoff, if you could review this PR again, I've pushed extra commits to address the open threads, which also tuned into this lightweight blueprint https://github.com/kytos-ng/kytos/pull/181, in summary these were the major changes:

LLDP_IGNORED_LOOPS is mapped to ignored_loops and now uses this metadata storage switches.<dpid>.metadata.ignored_loops, so it can be dynamically set via the metadata API.
Interface metadata interfaces.<interface_id>.metadata.looped is reserved to store the state of the loop in an interface, just so clients can also read this state and show in the front-end.
A list of actions is supported log and disable, only log is set by default based on feedback given in the blueprint.
I've updated the settings LLDP_IGNORED_LOOPS to use a list pair instead of tuples to avoid unnecessary conversion in certain parts and to facilitate serialization later on.
In the future, as we have more progress on settings and storage support by kytos core https://github.com/kytos-ng/kytos/issues/153, this might get used here as well

I've also tested locally and explored a bit on mininet:

Trying out the default log action, and forcing a loop and then ignoring it:

kytos $> 2022-03-02 11:37:41,389 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_5) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]

kytos $> 2022-03-02 11:38:08,765 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop stopped on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]

Trying out both log and disable actions:

kytos $> 2022-03-02 12:38:22,095 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_10) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]
2022-03-02 12:38:22,198 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop detection disabled interface 00:00:00:00:00:00:00:01:1, looped interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]
kytos $>

kytos $> 2022-03-02 12:38:43,381 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop stopped on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]
2022-03-02 12:38:43,443 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop detection enabled interface 00:00:00:00:00:00:00:01:1, looped interfaces: ['s1-eth1', 's1-eth2'],port_numbers: [1, 2]
kytos $>

@italovalcy @ajoaoff, if you could review this PR again, I've pushed extra commits to address the open threads, which also tuned into this lightweight blueprint kytos-ng/kytos#181, in summary these were the major changes:

LLDP_IGNORED_LOOPS is mapped to ignored_loops and now uses this metadata storage switches.<dpid>.metadata.ignored_loops, so it can be dynamically set via the metadata API.
Interface metadata interfaces.<interface_id>.metadata.looped is reserved to store the state of the loop in an interface, just so clients can also read this state and show in the front-end.
Periodic routine to detect if a loops have stopped.
A list of actions is supported log and disable, only log is set by default based on feedback given in the blueprint.
Subscribed to kytos/topology events to load and update the metadata related value accordingly in the runtime.
I've updated the settings LLDP_IGNORED_LOOPS to use a list pair instead of tuples to avoid unnecessary conversion in certain parts and to facilitate serialization later on.
In the future, as we have more progress on settings and storage support by kytos core [Requirement] Evolve NApps and settings to allow setting via environment variables (also API/storage) kytos#153, this might get used here as well

I've also tested locally and explored a bit on mininet:

Trying out the default log action, and forcing a loop and then ignoring it:

kytos $> 2022-03-02 11:37:41,389 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_5) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]

kytos $> 2022-03-02 11:38:08,765 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop stopped on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]

Trying out both log and disable actions:

kytos $> 2022-03-02 12:38:22,095 - WARNING [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_10) LLDP loop detected on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]
2022-03-02 12:38:22,198 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop detection disabled interface 00:00:00:00:00:00:00:01:1, looped interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]
kytos $>

kytos $> 2022-03-02 12:38:43,381 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop stopped on switch: 00:00:00:00:00:00:00:01, interfaces: ['s1-eth1', 's1-eth2'], port_numbers: [1, 2]
2022-03-02 12:38:43,443 - INFO [kytos.napps.kytos/of_lldp] (ThreadPoolExecutor-0_1) LLDP loop detection enabled interface 00:00:00:00:00:00:00:01:1, looped interfaces: ['s1-eth1', 's1-eth2'],port_numbers: [1, 2]
kytos $>

Also, I've re-injected a looped LLDP packet via tcpreplay and it worked in practice as expected in theory.

@viniarck , as we discussed, I made a few comments regarding this PR on issue #48! It is great seeing this feature in of-lldp! Congratulations!!


set concurrent number of runners in gitlab-runner config

¯_(ツ)_/¯

Hey @immenz , really cool that you pointed me onto the ini_file Ansible module (http://docs.ansible.com/ansible/latest/modules/ini_file_module.html) - this is really great 👍


Mock-api scripts fail for yarn installation but not npm installation

Do you want to request a feature or report a bug?
bug
Bug Report
The mock-api scripts have an issue the start-api and stop-api scripts work when npm install is used but not when yarn reinstall is used). Further investigation and communication is needed to decide what path we want to take here.

What is the expected behavior?
After running yarn reinstall or yarn install a developer should be able to run yarn start-api successfully.
Which version of Angular and Material, and which browser and OS does this issue affect?
Only tested this on macOS Mojave v10.14 though the command line in VSCode v1.30.1

need to update documentation to not reference yarn

Not valid anymore since we are repurposing the repo.


Add copyright to LICENSE

@brimworks No objection to this, but what purpose does this serve?

This is a requirement by the lawyers for Creative Commons license: https://creativecommons.org/use-remix/attribution/

Gotcha, okay!


Currently doesn't seem to work at all?

Even with the default source?
Tried Edge and Firefox.  nothing.  dead. nada...?

Thanks for the issue, the server seems to have crashed (blame me). It is up again now!


old russian / church slavonic glyphs?

Is it possible to add support for the Old Russian / Church Slavonic glyphs, at least for the 'yat' (U+0462, U+0463), 'fita' (U+0472, U+0473), and 'izhitsa' (U+0474,U+0475) ?

Which language traineddata  are you using currently?

Try with 'rus' from tessdata_fast and see if that is better.

Try the 'pluschar' training using 'rus' from tessdata_best as the continue_from model. Add at least 15 occurrences of the Old Russian / Church Slavonic glyphs that you want to add so that they get picked us in the unicharset.

Also try with script/Cyrillic (or other appropriate script use for Russian).

Please share about 150 lines of training text which has the added glyphs for testing.

@Shreeshrii While I'm trying to make sense of that plus-training procedure (your point 2):
your pt. 1 doesn't work (more OCR errors with 'rus' from *_fast),
I don't understand your pt. 3 - 'rus' is Cyrillic anyway, and 'yat' etc. are Cyrillic., too.
Regarding the pt. 4: do you mean the training text, like for inclusion in the 'rus' training dataset? But wouldn't you want the graphics with real typeset glyphs for that, too?

Please review the following files:
https://github.com/tesseract-ocr/langdata/tree/master/rus
https://github.com/tesseract-ocr/langdata/blob/master/rus/desired_characters
https://github.com/tesseract-ocr/langdata/blob/master/Cyrillic.unicharset
Adding these glyphs will require changes in lagdata repo for rus,  eg. adding these glyphs to desired_characters file.

Does anybody knows about any progress related to the subject - Old Russian support for tesseract ?

@maxirmx, maybe you can contribute by reviewing the files named above?

@stweil, thank you.
https://github.com/tesseract-ocr/langdata/tree/master/rus  is 'modern Russian'.
I have asked  about  older Russian  that included  three letters were made obsolete in 1917/1918.  They were mentioned in the start of this thread:  'yat' (U+0462, U+0463), 'fita' (U+0472, U+0473), and 'izhitsa' (U+0474,U+0475).
I would imagine additional complications as well such as different paragraph sign and different fonts used at that time.
It is somewhat clear what to do, but I do not want to repeat other's work that might be done already.

Okay, "Ѣ" and maybe the other older glyphs are also missing in https://github.com/tesseract-ocr/langdata_lstm/blob/master/script/Cyrillic/Cyrillic.unicharset.
So you will need ground truth data to train a new model based on rus.traineddata or Cyrillic.traineddata, but with the additional glyphs. As soon as you have line images with text transcriptions, this process is supported pretty well with tesstrain.

See also issue https://github.com/tesseract-ocr/langdata_lstm/issues/3 which looks like a duplicate. Maybe you can join efforts.

@stweil are there any requirements for the training words/text (except beforementioned 150 lines)? For example, how many times each new character should be met in training set? Should there be at least 1 capital and non-capital letter? or something like that?
Arbitrary text(s) in old russian can be obtained, for example, from ru.wikisource.org. For example, https://ru.wikisource.org/wiki/Божественная_комедия_(Данте;_Мин)/ДО.

I still fail to comprehend the process well enough.
But I guess I understand why glyph can't be 'added' to an existing dataset -- because of how the deep learning works, right?
But retraining the complete set is rather beyond my resources, in terms of computing power and time.
Here's a thought/question:
would it be useful to train a separate (small) set consisting of those missing glyphs and glyphs that look like those missing ones? I.e. consisting of 'YAT's and 'HARD SIGN's.
Then one could use it in a set of languages:
rus+yat
Would this work at all?


RoBERTa RACE preprocessing doesn't handle newlines

Hi!
I'm trying out some of the roBERTa code, thanks for releasing it! When trying to fine-tune on RACE, I got the following error after trying to run train.py after preprocessing the data as instructed:
| [input] dictionary: 50265 types
| loaded 4887 examples from: RACE_preprocessed_bpe/input0/valid
| loaded 4892 examples from: RACE_preprocessed_bpe/input1/valid
| loaded 4891 examples from: RACE_preprocessed_bpe/input2/valid
| loaded 4891 examples from: RACE_preprocessed_bpe/input3/valid
| loaded 4896 examples from: RACE_preprocessed_bpe/input4/valid
Traceback (most recent call last):
  File "train.py", line 325, in <module>
    cli_main()
  File "train.py", line 321, in cli_main
    main(args)
  File "train.py", line 46, in main
    task.load_dataset(valid_sub_split, combine=False, epoch=0)
  File "/home/nfliu/git/fairseq/fairseq/tasks/sentence_ranking.py", line 119, in load_dataset
    src_token = ConcatSentencesDataset(input_option, input0)
  File "/home/nfliu/git/fairseq/fairseq/data/concat_sentences_dataset.py", line 17, in __init__
    'datasets must have the same length'
AssertionError: datasets must have the same length

Digging deeper, it seems like some of the answers in the RACE dataset have newlines (\n). These aren't removed in preprocess_RACE.py, so the resultant files have different lengths:
     4887 dev.input0
     4892 dev.input1
     4891 dev.input2
     4891 dev.input3
     4896 dev.input4
     4887 dev.label

(they should all be 4887)
An example question with a newline:
[". What is the article mainly about? The main cause of the Titanic's sinking.",
'. What is the article mainly about? The 100\nthanniversary of the Titanic.',
". What is the article mainly about? The moon's great influence on the Earth's tides.",
". What is the article mainly about? The moon's role in the sinking of the Titanic."]

Seems like the fix would be to replace the newlines with another character? Happy to submit a PR, just let me know which character you replaced newlines with in your experiments (perhaps a space would work)? Alternatively, could also escape the newline and write out the literal \n character to the preprocessed data...let me know which is better.

Sorry, known problem, fix incoming.

Fixed here: https://github.com/pytorch/fairseq/commit/d00366405b774671d2a4ca59a8dcf2ed0bb59119

There's a few other changes in there, e.g., adding --truncate-sequence and the --dropout options to the training command, and also cleaning up extra redundant spaces in preprocessing. This should get slightly better results than reported in the paper.

thanks for the quick turnaround, looks great!


Create snippets for Cloud Datastore page

The Datastore docs page has a whole new set of snippets for the "getting started" guide and for the concepts snippets.
Can we implement all the necessary snippets (~50) in the docs github?
Whoever plans on owning this can ping me via email and I can give you all the necessary instructions / access to the staging docs.

If I'm understanding correctly, it seems like the Datastore Getting Started guide snippets won't use the gcloud-java API, but rather the Datastore API.  For that reason should this be an issue in the docs github you linked instead of this repo?
Perhaps related, perhaps unrelated: gcloud-java has a couple snippets in its readme.

I think it may make sense to have both libraries listed on Datastore's docs page.

A few follow up questions:

Are these snippets already written, and you just need them compiled into a program(s) that can easily be downloaded and run by users?  Are the generated api client snippets the main priority, or is it an equal priority to also get some executable code that uses gcloud-java-datastore?

If we're also writing these snippets using gcloud-java, we probably want to make sure the java-docs-samples repo is the right place for the gcloud-java snippets.  Currently, that repo seems to mostly use generated api client libraries.

1). The snippets are already written for some of the libraries. Importantly, they each have specific requirements so that the docs can talk about them in a library-agnostic way.
2). I believe this is the right place. We've put gcloud-node snippets in the node-docs-samples repo.

@lesv Should these snippets go in java-docs-samples under a new folders?  There'll be one set of snippets that uses the api client directly (proposed location: java-docs-samples/datastore/api-client) and one set of snippets that uses gcloud-java (proposed location: java-docs-samples/datastore/gcloud-java).
Should that be the directory hierarcy for samples for other services as well?  For example, I see that Bigquery and Storage have folders in java-docs-samples already.  If/when gcloud-java code snippets are added, should they go under bigquery/gcloud-java and storage/gcloud-java?

We have Java Veneer samples in getting-started-java, gcloud-java/examples, and java-docs-samples.
Typically snippets go in java-docs-samples -- creating a Datastore folder at the top level is probably the best way to go.

Closing this issue since this PR in java-docs-samples has been merged.


Change model adapter during runtime for tests. Waterline or Sails issue?

Hi,
howto to change the default adapter for model operations during runtime.
Example:
Testsuite should run some model test against memoryDb and some others against diskDb.
In lift-up there are multiple configurations like:
    // override adapter and database settings from production
    adapters: {
      'default': 'testMemoryDb',

      testMemoryDb: {
        module   : 'sails-memory'
      },

      testDiskDb: {
        module   : 'sails-disk',
        filePath : '.tmp/sails.test.dat'
      }

If I change the value of 'default' before running tests, models are using memory or disk. But I want to change it during runtime based on tests, like:
describe('Waterline Foo model test:', function () {

  before(function () {
    Foo.adapter = 'testDiskDb'
  })

  describe('Foo model test', function () {
    it ('should create a Foo record', function () {
      Foo.create({
        nickname: "My Name"
      }).done(function () {})
    })
  })

})

I tried some different assignments like:
```Foo.adapter = sails.adapters['sails-disk']````
and some others but without having success.
Thanks for some help
Tom

@particlebanana Would you mind sharing your database.js file?  I'm adapting that for OrientDb


Make steps option in CheckoutConfig optional

Enabling express and guest checkout in config will require setting one flag. TS will warn about steps not set as it is marked as required option.
Let's change that to be optional to allow to change those flag individually.

QA: No tslint error when removing steps from default checkout config.


[Maint] go back to ubuntu 22.04 runner

CI is failing: https://github.com/napari/napari-workshop-template/actions/runs/11293776726/job/31412703767
This is due to ubuntu-latest runner switching from 22.04 to 24.04
Work around for: https://github.com/tlambert03/setup-qt-libs/issues/65

Should be fixed upstream: https://github.com/tlambert03/setup-qt-libs/releases/tag/v1.8


[MRG] boto3/botocore is imported only for openneuro fetcher

Fixes #254

@bthirion

OK, great. Merging.


Make configurable Style/MultilineMemoization cop

Currently, Style/MultilineMemoization cop is not configurable.
This change makes configurable this cop.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

Thanks for your review. I've fixed the message.


Apply RDS API updates to CRD

Issue: aws-controllers-k8s/community#1311
Description of changes: This updates the API fields available to the RDS API.  This also adds support for creating Aurora Serverless v2 clusters.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/ok-to-test

/ok-to-test

@RedbackThomson I've adjusted the patch so the renames for EnablePerformanceInsights in DBCluster mirror the work in DBInstance.
That said, I saw aws-controllers-k8s/runtime#92 and wanted to check if the renaming was still necessary. There is the open question if we want to make the boolean names be declarative, but from a technical perspective, do we need to rename thes values still?

/lgtm


Add changelogs for 7.55.0 and 7.55.1

What does this PR do?

Update the chaneglog on main

Changelog updates for 7.55.0 release (#27504)
Changelog update 7.55.1 (#27588)

Motivation

RM duties
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


[TwigComponent] Allow passing array in attribute defaults system

Currently, we can set defaults attributes with a string:

        {% apply markdown_to_html %}
            {% block content %}{% endblock %}
        {% endapply %}

        <twig:CodeBlock :filename="filename" />

It would be interesting to be able to also do this with an array. It's a bit of a continuation of https://github.com/symfony/ux/issues/1586:

        {% apply markdown_to_html %}
            {% block content %}{% endblock %}
        {% endapply %}

        <twig:CodeBlock :filename="filename" />

What do you think ?

I do like this idea but, and I can't think of an example, it's not guaranteed that every attribute uses a space as a separator.
https://github.com/twigphp/Twig/pull/3970#issuecomment-1906492444

I'm not sure i like this, because you could expect a form of serialization for some attributes (data-* ?), this make no sense for all that do not accept spaces (id, for, ..) etc.
You can do the following here in the meanwhile

And i'm pretty sure this will bring frustrations with people asking how to add/remove "one" of the classes.

Or you can leverage html_classes for syntaxic sugar

which will allow you more things like

I think I'm leaning towards @smnandre's suggestions.

Thank you friends for your suggestions!


Feature Request: Support configuration of NamespaceSelector

Auto registration creates a MutatingWebhookConfiguration with no Namespace filters.
The mutation applies to all Namespaces.
We would like to configure this selector to exclude some Namespaces which should never be modified.
For example we could configure the webhook to exclude the namespaces: nsm-system kube-system and spire.
Example of current webhook config:
kind: MutatingWebhookConfiguration
metadata:
  name: nsm-admission-webhook-k8s-5dfd78487d-26n5b
webhooks:
- admissionReviewVersions:
  - v1
  clientConfig:
    caBundle: <redacted>
    service:
      name: admission-webhook-svc
      namespace: nsm-system
      path: /mutate
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: nsm-admission-webhook-k8s-5dfd78487d-26n5b.networkservicemesh.io
  namespaceSelector: {}
  objectSelector: {}
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - ""
    apiVersions:
    - v1
    operations:
    - CREATE
    - UPDATE
    resources:
    - pods
    scope: '*'
  - apiGroups:
    - apps
    apiVersions:
    - v1
    operations:
    - CREATE
    - UPDATE
    resources:
    - deployments
    - statefulsets
    - daemonsets
    - replicasets
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10

Example of desired webhook config:
kind: MutatingWebhookConfiguration
metadata:
  name: nsm-admission-webhook-k8s-5dfd78487d-26n5b
webhooks:
- admissionReviewVersions:
  - v1
  clientConfig:
    caBundle: <redacted>
    service:
      name: admission-webhook-svc
      namespace: nsm-system
      path: /mutate
      port: 443
  failurePolicy: Fail
  matchPolicy: Equivalent
  name: nsm-admission-webhook-k8s-5dfd78487d-26n5b.networkservicemesh.io
  namespaceSelector:
    matchExpressions:
    - key: kubernetes.io/metadata.name
      operator: NotIn
      values:
      - nsm-system
      - kube-system
      - spire
  objectSelector: {}
  reinvocationPolicy: Never
  rules:
  - apiGroups:
    - ""
    apiVersions:
    - v1
    operations:
    - CREATE
    - UPDATE
    resources:
    - pods
    scope: '*'
  - apiGroups:
    - apps
    apiVersions:
    - v1
    operations:
    - CREATE
    - UPDATE
    resources:
    - deployments
    - statefulsets
    - daemonsets
    - replicasets
    scope: '*'
  sideEffects: None
  timeoutSeconds: 10

It would also be helpful to be able to optionally set the FailurePolicy in the Webhook.

If this change is likely to be accepted, I'd be happy to submit a PR.

@trastle As a general rule, this sounds like goodness.  Do keep in mind as you are doing it that nsm-system and spire are both conventional names for the namespaces in our examples for those components, not intrinsic :)

What would probably make the most sense is to specify a label that should be tested for in the namespaceSelector, to find namespaces that opted into needing the NSM webhook. It's more in line with usual Kubernetes practices than testing by name, and defaulting to opt-in is generally safer.

Webhook configuration can now be edited: https://github.com/networkservicemesh/deployments-k8s/blob/main/apps/admission-webhook-k8s/mutating-webhook-config.yaml
For details on how to use the custom certificates or "old-style" webhook, see the readme file in this task description
Follow up task involves creating an example of using webhook options

Seems like done.


Add botswana holidays to list

This pull request adds Botswana public holidays to the package

Pull Request Test Coverage Report for Build 964219458

49 of 49 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 98.708%

Totals

Change from base Build 838887759:
-0.002%

Covered Lines:
4846

Relevant Lines:
4846

💛  - Coveralls

Hey there @pietervdw115 that's a great work! 👍
Thank you so much, cheers!
dr-p


Randomize Civ for X amount of bots

Extend the .civ command so you can roll civilizations for bots in a convenient, non-spammy way.

.civ bots <amount> returns a list of civilizations for you to set the bots to

Added with v1.3.0


add node prov to sidebar

add node prov to sidebar release to production

moved config to flow repo, closing


Regression: No line wrapping in slice title

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.20.3
Expected results
Long slice titles are wrapped to make them fit into the slice.
This it the way it used to be in 0.15.4:

Actual results
The slice title is not wrapped and — depending on the Visialization Type — either overlap the slice boundaries or are hidden within a horizontal scroll range.

Steps to reproduce
Create a slice with a long title and try to fit it into a narrow area on a dashboard.

Please also notice, that the legend in the Distribution Bar Chart is also entirely gone, unless the slice is given at least one more step in width than the minimal one.

@graceguo-supercat I think this is a regression caused by https://github.com/apache/incubator-superset/pull/3467


Tests fail due to decommission of Rinkeby

Currently several tests of attestation.jar fails when trying to to verify against the smart contracts.
The failure is the following error, which happens in SmartContract.java:
org.web3j.protocol.exceptions.ClientConnectionException: Invalid response received: 410; {
  "id":null,
  "error": {
    "code":-32601,
    "message":"Network decommissioned, please use Goerli or Sepolia instead",
    "data": {
      "see":"https://blog.infura.io/post/deprecation-timeline-for-rinkeby-ropsten-and-kovan-testnets"
    }
  }
}

The failure can be reproduced by running UseTicketTest.testSmartContractDecode()

I made a new branch starting work to fix this. The issue is the URL in SmartContract.java:getWeb3j() I think maybe all that is needed is changing this URL and pushing the smart contract to the correct test network should do it


Right clicking a full Respawn Anchor in the overworld (CRASH)

No, it won't let me do labels, even here. -

huh, ok (to the not letting you add labels)

latest.log

nether or overworld?

the heck what? the crash is "at com.tfc.smallerunits.utils.FakeServerWorld.getGameTime".
does the respawn anchor even acknowledge time?

No, and Overworld? I mean the thing said it in the title Luigi...

welp, that's odd


Hi i'm trying to upload images with JSON parameters.

I need to upload images with parameter to web service, but the encoding type has to JSON . How can send the image with JSON Parameters?
         func UpdateMulipartApi(){
         let parameter: Parameters = ["action":"edit_profile", "user_id":"11"]

        Alamofire.upload(multipartFormData: {
            (multipartFormData) in

          multipartFormData.append(UIImageJPEGRepresentation(self.imgprofile.image!, 0.3)!, withName: "filename", fileName: "swift_file.jpeg", mimeType: "image/jpg")
              multipartFormData.append(UIImageJPEGRepresentation(self.Imgbackground.image!, 0.3)!, withName: "cover_image", fileName: "swift_file.jpeg", mimeType: "image/jpg")

            for (key, value ) in parameter {
                multipartFormData.append(((value) as AnyObject).data(using: String.Encoding.utf8.rawValue)!, withName: key)

            }

        }, to: "http://server.com/apis/object.php") //url changed

        {  (result) in
            switch result {
            case .success(let upload, , ):

                upload.uploadProgress(closure: { (progress) in
                    UILabel().text = "\((progress.fractionCompleted * 100)) %"
                })

                upload.responseJSON { response in

                    guard ((response.result.value) != nil) else{
                        print(response.result.error!.localizedDescription)
                        return
                    }
                    var json = JSON(response.result.value!)
                    print(json)
                    guard (json["result"]["msg"] .intValue) == 201  else {

                        return
                    }

                    self.showalertview(messagestring: "Profile Updated Successfully")

                }
            case .failure(let encodingError):
                print (encodingError.localizedDescription)
                animationView?.pause()
                animationView?.removeFromSuperview()
            }

        }

    }

Hi @Arun30sep,
You need to encode the JSON as a body part to the multipart form data. I'd suggest you open a question on Stack Overflow and tag alamofire to get help with this. We use our GitHub project for bug reports and feature requests.
Best of luck! 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Fix for 2230. Document BackingField Attribute.

Fixes #2230

Please use "Squash and merge" option in UI to merge pull request to master.


Does dexmaker work for Art?

Or does it only work for Dalvik?  I am particularly interested in using it to proxy public methods in concrete classes.

Based on our testing it does work with Art.  When loading the .dex file, Art will automagically perform a compilation step before loading it.

Also, is it even possible to do bytecode manipulation on classes that are part of the Android runtime on the device?

I'm not entirely sure how the new Android Runtime works, but previously, almost all of the basic java classes (full list here:  https://android.googlesource.com/platform/frameworks/base.git/+/master/preloaded-classes) are preloaded by the zygote process.  New processes are forked from Zygote, and thus receive a copy of a system ClassLoader (http://developer.android.com/reference/java/lang/ClassLoader.html#getSystemClassLoader()) that already has these classes loaded.  Therefore, it isn't possible to modify these classes on the fly.
However, DexMaker allows subclassing the base system classes by generating a new dex file at runtime.  The dynamically generated subclass can then be used to in the same way the base class would.

@dshirley re: dynamic bytecode manipulation. what about user defined classes?

Proxying user defined classes by subclassing should work in the same way as it does for base system classes.


Building flutter tool... - not responding and not stopping after update hotfix 5

After updating flutter_macos_v1.9.1+hotfix.5-stable i get following bug:
Building flutter tool...
after updating flutter build tool not responding, and if you open yaml file also android studio will not answer.

Do you know what version you were on before the upgrade
Can we get a --verbose output of the command you were trying to run?  That may give us a hint as to where it's stuck.

Hi @iapicca, sorry for late answer:
My-MacBook-Pro:~ soporboy$ flutter upgrade
Upgrading Flutter from /Users/soporboy/Library/Flutter...
Updating c382b8e99..68587a091
 25 files changed, 574 insertions(+), 331 deletions(-)
Building flutter tool...

Upgrading engine...

Flutter 1.9.1+hotfix.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 68587a0916 (6 weeks ago) • 2019-09-13 19:46:58 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15 19A602, locale en-UZ)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Android Studio (version 3.5)
[!] IntelliJ IDEA Ultimate Edition (version 2019.2.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

I have not problem with installation of flutter, I upgraded 1.9.1+hotfix.6 but problem still exists. I can't open pubspec.yaml inside Android Studio, because if I will open pubspec.yaml inside Android Studio it not responding then I can't work android studio because it not respond. To avoid that problem i must kill android studio and restart again and don't open pubspec.yaml inside Android Studio. Need work just in console of MacOS Catalina. I tried change PUB_HOSTED_URL to another https://pub.flutter-io.cn/ but not helped

@jmagman I used flutter version v1.9.1+hotfix.4 version before I installed flutter version v1.9.1+hotfix.5 version. After appeared that problem I delete flutter sdk and I downloaded v1.9.1+hotfix.5 full-archive and upgrade it to v1.9.1+hotfix.6. But Android Studio still stuck when I opening pubspec.yaml file.
File pubspec.yaml :
name: fanta
description: Fanta mobile application.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 1.0.5+9

environment:
  sdk: ">=2.2.0 <3.0.0"

dependencies:
  feather_icons_flutter: ^4.7.4
  shared_preferences: ^0.5.3+5
  firebase_messaging: ^5.1.4
  web_socket_channel: ^1.1.0
  http: ^0.12.0+2
  dio: ^3.0.3
  photo_view: ^0.6.0
  uuid: ^2.0.2
  flutter_range_slider: ^1.4.0
  timeago: ^2.0.21
  geocoder: ^0.2.1
  transparent_image: ^1.0.0
  image_picker: ^0.6.1+8
  outline_material_icons: ^0.1.1
  intl: ^0.15.8
  geolocator: ^5.1.4+2
  url_launcher: ^5.2.3
  timezone: ^0.5.5
  units: ^0.0.7
  device_info: ^0.4.0+4
  flutter_image_compress: ^0.6.3
  android_intent: ^0.3.4+3
  flutter_svg: ^0.14.2
  google_maps_flutter: ^0.5.21+8
  location: ^2.3.5
  sms_autofill: ^1.1.0
  flutter_local_notifications: ^0.8.4
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  assets:
      - content/images/
  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.io/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.io/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.io/custom-fonts/#from-packages

File pubspec.lock:
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  android_intent:
    dependency: "direct main"
    description:
      name: android_intent
      url: "https://pub.dev/"
    source: hosted
    version: "0.3.4+4"
  async:
    dependency: transitive
    description:
      name: async
      url: "https://pub.dev/"
    source: hosted
    version: "2.3.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      url: "https://pub.dev/"
    source: hosted
    version: "1.0.5"
  charcode:
    dependency: transitive
    description:
      name: charcode
      url: "https://pub.dev/"
    source: hosted
    version: "1.1.2"
  collection:
    dependency: transitive
    description:
      name: collection
      url: "https://pub.dev/"
    source: hosted
    version: "1.14.11"
  convert:
    dependency: transitive
    description:
      name: convert
      url: "https://pub.dev/"
    source: hosted
    version: "2.1.1"
  crypto:
    dependency: transitive
    description:
      name: crypto
      url: "https://pub.dev/"
    source: hosted
    version: "2.1.3"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      url: "https://pub.dev/"
    source: hosted
    version: "0.1.2"
  device_info:
    dependency: "direct main"
    description:
      name: device_info
      url: "https://pub.dev/"
    source: hosted
    version: "0.4.1+1"
  dio:
    dependency: "direct main"
    description:
      name: dio
      url: "https://pub.dev/"
    source: hosted
    version: "3.0.3"
  feather_icons_flutter:
    dependency: "direct main"
    description:
      name: feather_icons_flutter
      url: "https://pub.dev/"
    source: hosted
    version: "4.7.4"
  firebase_messaging:
    dependency: "direct main"
    description:
      name: firebase_messaging
      url: "https://pub.dev/"
    source: hosted
    version: "5.1.6"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_image_compress:
    dependency: "direct main"
    description:
      name: flutter_image_compress
      url: "https://pub.dev/"
    source: hosted
    version: "0.6.3"
  flutter_local_notifications:
    dependency: "direct main"
    description:
      name: flutter_local_notifications
      url: "https://pub.dev/"
    source: hosted
    version: "0.8.4"
  flutter_localizations:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_range_slider:
    dependency: "direct main"
    description:
      name: flutter_range_slider
      url: "https://pub.dev/"
    source: hosted
    version: "1.4.0"
  flutter_svg:
    dependency: "direct main"
    description:
      name: flutter_svg
      url: "https://pub.dev/"
    source: hosted
    version: "0.14.3"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  geocoder:
    dependency: "direct main"
    description:
      name: geocoder
      url: "https://pub.dev/"
    source: hosted
    version: "0.2.1"
  geolocator:
    dependency: "direct main"
    description:
      name: geolocator
      url: "https://pub.dev/"
    source: hosted
    version: "5.1.4+2"
  google_api_availability:
    dependency: transitive
    description:
      name: google_api_availability
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.1"
  google_maps_flutter:
    dependency: "direct main"
    description:
      name: google_maps_flutter
      url: "https://pub.dev/"
    source: hosted
    version: "0.5.21+8"
  http:
    dependency: "direct main"
    description:
      name: http
      url: "https://pub.dev/"
    source: hosted
    version: "0.12.0+2"
  http_parser:
    dependency: transitive
    description:
      name: http_parser
      url: "https://pub.dev/"
    source: hosted
    version: "3.1.3"
  image_picker:
    dependency: "direct main"
    description:
      name: image_picker
      url: "https://pub.dev/"
    source: hosted
    version: "0.6.1+8"
  intl:
    dependency: "direct main"
    description:
      name: intl
      url: "https://pub.dev/"
    source: hosted
    version: "0.15.8"
  location:
    dependency: "direct main"
    description:
      name: location
      url: "https://pub.dev/"
    source: hosted
    version: "2.3.5"
  location_permissions:
    dependency: transitive
    description:
      name: location_permissions
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.3"
  matcher:
    dependency: transitive
    description:
      name: matcher
      url: "https://pub.dev/"
    source: hosted
    version: "0.12.5"
  meta:
    dependency: transitive
    description:
      name: meta
      url: "https://pub.dev/"
    source: hosted
    version: "1.1.7"
  outline_material_icons:
    dependency: "direct main"
    description:
      name: outline_material_icons
      url: "https://pub.dev/"
    source: hosted
    version: "0.1.1"
  path:
    dependency: transitive
    description:
      name: path
      url: "https://pub.dev/"
    source: hosted
    version: "1.6.4"
  path_drawing:
    dependency: transitive
    description:
      name: path_drawing
      url: "https://pub.dev/"
    source: hosted
    version: "0.4.1"
  path_parsing:
    dependency: transitive
    description:
      name: path_parsing
      url: "https://pub.dev/"
    source: hosted
    version: "0.1.4"
  pedantic:
    dependency: transitive
    description:
      name: pedantic
      url: "https://pub.dev/"
    source: hosted
    version: "1.8.0+1"
  petitparser:
    dependency: transitive
    description:
      name: petitparser
      url: "https://pub.dev/"
    source: hosted
    version: "2.4.0"
  photo_view:
    dependency: "direct main"
    description:
      name: photo_view
      url: "https://pub.dev/"
    source: hosted
    version: "0.6.0"
  pin_input_text_field:
    dependency: transitive
    description:
      name: pin_input_text_field
      url: "https://pub.dev/"
    source: hosted
    version: "2.1.0"
  platform:
    dependency: transitive
    description:
      name: platform
      url: "https://pub.dev/"
    source: hosted
    version: "2.2.1"
  quiver:
    dependency: transitive
    description:
      name: quiver
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.5"
  shared_preferences:
    dependency: "direct main"
    description:
      name: shared_preferences
      url: "https://pub.dev/"
    source: hosted
    version: "0.5.4+1"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  sms_autofill:
    dependency: "direct main"
    description:
      name: sms_autofill
      url: "https://pub.dev/"
    source: hosted
    version: "1.1.1"
  source_span:
    dependency: transitive
    description:
      name: source_span
      url: "https://pub.dev/"
    source: hosted
    version: "1.5.5"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      url: "https://pub.dev/"
    source: hosted
    version: "1.9.3"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.0"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      url: "https://pub.dev/"
    source: hosted
    version: "1.0.5"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      url: "https://pub.dev/"
    source: hosted
    version: "1.1.0"
  test_api:
    dependency: transitive
    description:
      name: test_api
      url: "https://pub.dev/"
    source: hosted
    version: "0.2.5"
  timeago:
    dependency: "direct main"
    description:
      name: timeago
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.21"
  timezone:
    dependency: "direct main"
    description:
      name: timezone
      url: "https://pub.dev/"
    source: hosted
    version: "0.5.5"
  transparent_image:
    dependency: "direct main"
    description:
      name: transparent_image
      url: "https://pub.dev/"
    source: hosted
    version: "1.0.0"
  typed_data:
    dependency: transitive
    description:
      name: typed_data
      url: "https://pub.dev/"
    source: hosted
    version: "1.1.6"
  units:
    dependency: "direct main"
    description:
      name: units
      url: "https://pub.dev/"
    source: hosted
    version: "0.0.7"
  url_launcher:
    dependency: "direct main"
    description:
      name: url_launcher
      url: "https://pub.dev/"
    source: hosted
    version: "5.2.5"
  url_launcher_platform_interface:
    dependency: transitive
    description:
      name: url_launcher_platform_interface
      url: "https://pub.dev/"
    source: hosted
    version: "1.0.1"
  uuid:
    dependency: "direct main"
    description:
      name: uuid
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.2"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      url: "https://pub.dev/"
    source: hosted
    version: "2.0.8"
  web_socket_channel:
    dependency: "direct main"
    description:
      name: web_socket_channel
      url: "https://pub.dev/"
    source: hosted
    version: "1.1.0"
  xml:
    dependency: transitive
    description:
      name: xml
      url: "https://pub.dev/"
    source: hosted
    version: "3.5.0"
sdks:
  dart: ">2.4.0 <3.0.0"
  flutter: ">=1.9.1+hotfix.4 <2.0.0"

If anyone has the problem, I would advise to try flutter channel, it will build some things that might be stuck when you are upgrading!
Cheers


[X] I have searched the FAQ and the documentation for solutions.
[X] I have searched the issue tracker for similar issues (the closed issues too).
[X] I have searched the Discourse for any errors and solutions.
[X] I can reproduce my issue on the latest commit of Doom Emacs.
[X] I have read How to Debug Issues and found no solution.

What did you expect to happen?
When I open a file in a Git repo with emacsclient, open Magit, press cc to commit, it opens an editor window. Once I am done writing the commit message, I press C-c C-c (SPC h k maps it to with-editor-finish) to finish the editing and create the commit.
It should create the commit and drop me back to the Magit status page.
What actually happened?
It creates the commit successfully, but it also ends the entire client session and kills all the buffers I opened in that session. The window still remains open, it just drops me to the "Doom Emacs" landing page. I then need to reopen all the files manually.
This used to work correctly at one point. I can't say when exactly this got broken since I don't upgrade very often.
Committing still works fine if you open the full emacs. This just happens when using emacsclient.
Describe your attempts to resolve the issue
I tried to read through the source, but to little gain. My lisp is not very fluent.
Steps to reproduce

Open a file in a Git repo with emacsclient.

System Information
https://pastebin.com/Duj2nsXM

Do you have any sort of stack trace from emacs that you can provide? Client or server.

Same thing happens here. But I find it only happends the first time on each emacs --daemon.

Ok. It's caused by this (add-hook 'server-done-hook #'+workspaces-delete-associated-workspace-h) at https://github.com/hlissner/doom-emacs/blob/2731685095d1e6101b3215aa689426e1834ce00f/modules/ui/workspaces/config.el#L185
The call stack is
with-editor-finish https://github.com/magit/with-editor/blob/5519b6a67ecd66865b4fdd5447425eee900c54f4/with-editor.el#L333
with-editor-return https://github.com/magit/with-editor/blob/5519b6a67ecd66865b4fdd5447425eee900c54f4/with-editor.el#L342
server-done https://github.com/magit/with-editor/blob/5519b6a67ecd66865b4fdd5447425eee900c54f4/with-editor.el#L396
server-buffer-done https://github.com/magit/with-editor/blob/5519b6a67ecd66865b4fdd5447425eee900c54f4/with-editor.el#L396
run-hooks https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/server.el?h=2540701f300144fba8a3871f1f0c046c0ff41c5a#n1525
one thing might relate to this is the server-clients returns two proc, the emacsclient I started and the emacsclient with-editor started.
https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/server.el?h=2540701f300144fba8a3871f1f0c046c0ff41c5a#n1495
might be related to
https://github.com/magit/magit/issues/2197 and https://github.com/magit/magit/commit/5c0291021ba73b94c971e400dd58b4c0964e9a88
my solution here is a temp hack, which just skip the +workspaces-delete-associated-workspace-h when current buffer is named "COMMIT_EDITMSG", which is definitely not the right way to fix this.
(defadvice! ++workspaces-delete-associated-workspace-h (orig-fn &optional frame)
  :around #'+workspaces-delete-associated-workspace-h
  (when (not (string= (buffer-name (current-buffer)) "COMMIT_EDITMSG"))
    (orig-fn frame)))

Ah, so that's what was going on. Was unsure of what to put into a ticket.

@yqrashawn Thanks for the thorough investigation! That's made things much easier for me.
Could you try this advice instead and see if it solves the issue?
(defadvice! ++workspaces-delete-associated-workspace-h (orig-fn &optional frame)
  :around #'+workspaces-delete-associated-workspace-h
  (unless (bound-and-true-p with-editor-mode)
    (apply orig-fn frame)))

As of 3aeb0c0 this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!


feat/error handler

feat: add initial error handler
add some CheckFailure handling support
fix: implement remaining UserInputErrors
fix: title regex
fix: add concurrency errors and cooldown error support
fix: don't log CommandNotFound errors unless in a dev mode
fix: handle bot missing permissions

There is a fundamental issue with the botmissingpermissions error handling. In almost all send message cases, the bot will make a second case which will 100% fail.
The bot should check its cache or request the channel perms to see if it has send message perms. If it does, should also check for embed image permissions, and send a standard message of content if that fails.
if that is not a valid permission, the bot should see if it has add_reaction permissions and maybe add a :x: if it can.

There is a fundamental issue with the botmissingpermissions error handling. In almost all send message cases, the bot will make a second case which will 100% fail.
The bot should check its cache or request the channel perms to see if it has send message perms. If it does, should also check for embed image permissions, and send a standard message of content if that fails.
if that is not a valid permission, the bot should see if it has add_reaction permissions and maybe add a :x: if it can.

This is implemented in 7f19996


use realtime stock price information to trade stocks

User Story
As a user, I want to use realtime stock price information to trade stocks
Detailed Description
In this story, we will connect the buy and sell capability and live data feed (issues #13  and #14) together, so that transactions use accurate market prices. As a result, those issues are prerequisites.
Prerequisites

#13
#14

Subtasks (Please also link task PRs here)

[x] Backend (PR #58 merged)
[ ] frontend changes

https://github.com/bluebill1049/react-flip-numbers is a really cool animation component to show price changes


Services: first build: abs added

First build.  Deps are done.

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_8aq_i7k818/clone/recipe/meta.yaml:14: avoid_noarch: noarch: python packages should be avoided
ERROR: /tmp/abs_8aq_i7k818/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_8aq_i7k818/clone/recipe/meta.yaml:47: missing_dev_url: The recipe is missing a dev_url
WARNING: /tmp/abs_8aq_i7k818/clone/recipe/meta.yaml:47: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_8aq_i7k818/clone/recipe/meta.yaml:47: missing_doc_source_url: The recipe is missing a doc_source_url
ERROR: /tmp/abs_8aq_i7k818/clone/recipe/meta.yaml:47: missing_doc_url: The recipe is missing a doc_url
Errors were found


Get-ComplianceSearchAction -identity returns null reference

Background
Using EXO Unattended workflow to connect to Connect-IPPSSession, and followed the official articles to create a service principal associated with the Azure App, which was subsequently added to eDiscovery manager.
Using such an approach, the identity that creates the search/exports will be named FFO, and when running Get-ComplianceSearchAction -Identity , the existing actionnames that were not created by FFO will return a null exception. This problem can hit users who are transiting their security and compliance shell to the rest module. since their old mode of access would be of a different identity.
Running Get-ComplianceSearchAction, with no switches returns all results. But the filtering can work by passing the whole set of results and using where. e.g Get-ComplianceSearchAction | where {$_.searchname -eq ''}
This could be potentially due to the service principal only having the permission to eDiscovery Manager, since this role only allows access to search/actions created by itself.
However, elevating the service principal to eDiscovery Administrator doesn't help. It seem that service principal isn't working well with eDiscovery Administrator, because when running the command to remove the service principal, e..g Remove-RoleGroup - Member "", there was an error saying user does not exist when it does.
Microsoft should look into making the service principal work with eDiscovery Administrator

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

ID: 5742b678-0ea4-720a-e598-1a943b94bca5
Version Independent ID: b74df581-0143-996a-b3b4-663f31d2eb71
Content: Get-ComplianceSearchAction (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/Get-ComplianceSearchAction.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@couradeus, you should open a support ticket about this.

@couradeus Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. You can contact Microsoft support via the need help section on the admin center. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Initial java openliberty stack

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

N/A

Contributing a new stack:

Describe how application dependencies are managed:

This stack is Maven-based and this aspect functions largely like the java-microprofile predecessor.
The app pom.xml references the stack's pom.xml as its parent POM.    When launched, e.g. via appsody run, the container mounts the host .m2 repo to leverage the already-downloaded dependencies in the user's host environment.

Explain how Appsody file watcher is utilized:

We are currently only watching pom.xml, since lauching mvn liberty:dev launches a "watcher" with the liberty maven plugin (i.e. it launches in "dev mode").    (And this special case should probably be removed and folded into the others soon, using newer liberty-maven-plugin versions).

Describe other Appsody environment variables defined by the stack image:

No special env vars.  It would help though to describe the way that maven profiles are used to differentiate between the "local dev" and "build/deploy" modes, as well as in the host-only (non-Docker) "mode" (which may not be required by Appsody but can still be useful).

Describe any limitations and known issues:

See the README.md for more info (or this link in the meantime until the PR is merged) especially the section on Windows 10 issues.
Related Issues:
Fixes #584, fixes #364

Does this PR replace #552 ?

Does this PR replace #552 ?

Yes (closed that now).

@neeraj-laad, we are ready for a 0.1 release.  Can you or someone on the team merge?

I don't know who exactly has write access.  Tagging @kylegc @sympatheticmoose in case they can take a look and merge too.  Thank you.

Thx @Kamran64 for the review.. hopefully my comments are clear enough, but since I rebased let me just note since the last PR, I just added the one new commit https://github.com/appsody/stacks/pull/573/commits/881396e698331be3d6ed1af9e3e3a3760db3e1d6.

Fixes #584, fixes #364

When comparing the time taken to execute run/build commands on the this java-openliberty stack vs the java-microprofile stack
Open Liberty

First appsody run - 43s
Recompile run on change - 13s
First build - 4m 4s

Microprofile

First appsody run - 1m 33s
Recompile run on change - 26s
First build - 5m 15s

@scottkurz I can access all endpoints except for javametrics-dash. Are you seeing this behaviour also?

Do we need javametrics still?  Codewind is moving away from that and will use standard metrics endpoints going forward?


Started with error handling implementation and constraint enforcement.

Also, mention the clearance period of residues after invitation acceptance


How to understand the multimask_output

Hello,
How should I interpret the code snippet? If multimask_output is True, it selects the content starting from the second element onward. If False, it chooses only the first element. Can you provide insights or explanations for this conditional slicing operation?
if multimask_output:
mask_slice = slice(1, None)
else:
mask_slice = slice(0, 1)
masks = masks[:, mask_slice, :, :]
thank you

Thanks for your interest. The first mask is for the single mask output. The subsequent masks are for disambiguating. Please refer to https://github.com/facebookresearch/segment-anything/blob/6fdee8f2727f4506cfbbe553e23b895e27956588/segment_anything/modeling/mask_decoder.py#L50


Roadmap?

Hi,
I love this project and want to help where ever I can. So I was wondering if there was a some kind of roadmap/feature request list of everything you guys want/need for this project?

Hey @bastiaanv! That's a great point, we do have a public roadmap available here:
https://react.email/docs/roadmap


Master value not getting updated in Consul KV

Hi
I have manually deleted the entries from Consul KV mysql/master/ using below command.
consul kv delete -recurse mysql/master/
Now, i have added new cluster in Orchestrator, but not getting any value in Consul KV.
consul kv get -recurse mysql/master/

Try running orchestrator-client -c submit-masters-to-kv-stores


Query current  UTxO

This small PR introduces GetCurrentUtxo input and CurrentUtxo output which allow clients to retrieve the current UTxO set for:

Committed UTxO while head is collecting
Confirmed UTxO when head is open

Agreed. It started as ConfirmedSnapshot then ConfirmedUtxo then CurrentUtxo because you can query also the committed UTxO. Utxo sounds good.


Extendable strategies interface (part of omniauth authenticator solution)

Summary of changes:

Moved code that creates user session into separate method, making it possible to use it in sinatra extensions
Moved logout code into separate method, using it in session creation method to trigger single sign out upon identity change
Added login_links accessor, using it to gather and display login links for oauth providers
Using bundler with bin/rubycas-server Debatable
Activated sessions to track service and renew parameters through omniauth sequence, resetting them on login page visit. I remember meeting one use case that would redirect user to previously saved service which could seem illogical, however I've dismissed it at the time since it required direct url visiting, which is outside of regular user scenarios. Can't remember the case now. Needs review.
Some minor changes, like path filters based on params hash, avoiding "no authenticators" error when there are only strategies etc.

Implemented generic omniauth (1.0+) strategy: https://github.com/Slotos/rubycas-strategy-omniauth. Tested it with facebook and twitter, but it should work with krb5 and cas omniauth strategies as well. Omniauth 1.0 version of LDAP authenticator should work too, given there is one.
Remote-to-local mapping expects SQL database and two tables: user table and token table. Extending functionality for other storage and schema options would be a good idea, once such need arises.
What I wish to do but may not have time to do it:

Move all authenticators into strategies. Display login form only when at least one strategy have registered itself in login/pass authenticators list.

Another example of behaviour implemented with this interface would be https://github.com/Slotos/rubycas-strategy-impostor.
No whitespace diff link

Was this ever merged, otherwise can it still be? (Sorry to necro the thread.)

I think everybody switched to casino.
Sent from my iPhone

On 5 sep. 2015, at 17:45, Ahmad Amireh<EMAIL_ADDRESS>wrote:
Was this ever merged, otherwise can it still be? (Sorry to necro the thread.)
—
Reply to this email directly or view it on GitHub.

Thank you so much!


Ready tag issues

What do you mean by issues tagged with ready ?

Issues that have the label ready are things that need to be worked on