"rebar3 hex user whoami" crash

Erlang 23.1.4 on Arch Linux
Commands run from top of Kyorai/cuttlefish repo clone:
rm -rf ~/.cache/rebar3/plugins/
git clean -fxd
DIAGNOSTIC=1 rebar3 hex user whoami 2>&1 | tee ~/issues/tsloughter/rebar3_hex/crash-diagnostic-report.txt
DIAGNOSTIC=1 rebar3 report "hex user whoami" 2>&1 | tee -a ~/issues/tsloughter/rebar3_hex/crash-diagnostic-report.txt

crash-diagnostic-report.txt

Aha, clearing out various caches has resolved the issue. No idea why:
(23.1.4)lbakken@shostakovich ~/development/Kyorai/cuttlefish (master %=)
$ rm -rf ~/.cache/rebar3/hex/
(23.1.4)lbakken@shostakovich ~/development/Kyorai/cuttlefish (master %=)
$ rm -rf ~/.cache/rebar3/plugins/
(23.1.4)lbakken@shostakovich ~/development/Kyorai/cuttlefish (master %=)
$ rm -rf ~/.cache/rebar3/lib/
(23.1.4)lbakken@shostakovich ~/development/Kyorai/cuttlefish (master %=)
$ rebar3 hex user whoami
===> Fetching rebar3_hex v6.10.2
===> Fetching hex_core v0.7.1
===> Fetching verl v1.0.2
===> Analyzing applications...
===> Compiling hex_core
===> Compiling rebar3_hex
===> Compiling verl
hexpm : rabbitmq<EMAIL_ADDRESS>

@lukebakken It looks like you were running 6.10.0 in the first instance in which you experienced a crash, but you cleared out a caches and went to 6.10.2 which fixes a backward compat issue with the latest rebar3. I suspect perhaps that was the issue. Are you on the latest rebar3 by chance?

Yes, I upgraded rebar3 first (via rebar3 local upgrade), before clearing the caches.

👍 I'm glad this is resolved for you then! 😀

I would assume that if a newer version of rebar3_hex exists that version would be downloaded without me having to clear caches first :man_shrugging:

@lukebakken I believe it's only explicit upgrades. Maybe an option can be added in rebar3 for global plugins to allow for this.


Add documentation for Security rule CA5385 (UseRSAWithSufficientKeySize) in FxCopAnalyzers

Rule implementation: https://github.com/dotnet/roslyn-analyzers/blob/master/src/Microsoft.NetCore.Analyzers/Core/Security/UseRSAWithSufficientKeySize.cs#L16

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

ID: f1295961-36c4-75a0-f50a-c5d86159746c
Version Independent ID: 3d4bba1e-0d05-f577-3b78-65dd6ab10635
Content: Security Warnings - Visual Studio
Content Source: docs/code-quality/security-warnings.md
Product: visual-studio-windows
Technology: vs-ide-code-analysis
GitHub Login: @gewarren
Microsoft Alias: gewarren

Bootsrapped: https://github.com/paulomorgado/MicrosoftDocs-visualstudio-docs/tree/paulomorgado/ca5385

Added in MicrosoftDocs/visualstudio-docs-pr#6609


Maintenance start/end time input incorrectly uses system timezone

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description

I set the Chinese time, but after exiting, the time displayed was 1 hour later than the set time, but the actual execution time was correct.
👟 Reproduction steps
Select the time zone as Shanghai and set up planned maintenance
👀 Expected behavior
Time display leading to status page errors
😓 Actual Behavior
Status page error time display
🐻 Uptime-Kuma Version
1.23.6
💻 Operating System and Arch
Ubuntu 22.04.3 LTS
🌐 Browser
edge
🐋 Docker Version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Could you try restarting your instance as noted in https://github.com/louislam/uptime-kuma/issues/3626

I'm able to reproduce this issue. IT IS RELATED TO YOUR BROWSER/SYSTEM TIMEZONE.
Let's say we have a planned maintenance on 2023-11-30 10:00-11:00 (UTC+8), aka 2023-11-30 11:00-12:00 (UTC+9)
How to reproduce:

Change your system timezone to Asia/Tokyo (UTC+9)
Go to https://demo.uptime.kuma.pet/ and create a demo instance
Create a New Monitor, whatever target is ok
Go to Schedule Maintenance and create a maintenance as the screenshot

Now you can see from the list, the maintenance is shown as 2023-11-30 09:00 - 2023-11-30 10:00 UTC+08:00 Asia/Shanghai, which is an hour earlier than expected.

Hi @chakflying / @CommanderStorm,
I'd be interested to work on this bug. May you please assign it to me?

I don't think this issue is complicated enough to require assignment, and we don't assign issues here in general. If you have a solution you can open a pull request following the guidelines.


Google Test support

Sorry for a commit flood, I don't have a linux box to test the build. I'd better create another pool request.


docs: fix custom-node example for safari

🚀 What's changed?

By adding the filter CSS property to the edge's svg element instead of the path, the example works for safari as well.

🐛 Fixes

Closes #970

Noice, was literally to lazy to fix this 🤣
I'll check it out and merge it if good :)


Unable to see intellisense on C/C++ file.

VSCode Version: latest
OS Version: OS X

Steps to Reproduce:

Create a .cpp or .c file
type printf() or cout <<
Expected to see intellisense but none.

@sumonto VS Code has no builtin functionality for C/C++ intellisense. What extension did you install for C/C++ support?
If you have a C/C++ extension installed but it does not show intellisense please file a bug against that extension.

I am using C/C++ Complete from Microsoft on OS X
Date: Wed, 18 May 2016 13:17:49 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Microsoft/vscode] Unable to see intellisense on C/C++ file. (#6499)
@sumonto VS Code has no builtin functionality for C/C++ intellisense. What extension did you install for C/C++ support?
If you have a C/C++ extension installed but it does not show intellisense please file a bug against that extension.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub


Updated Danish translation

Thank you very much! Will be updating some files soon.
Now I created a tool to sync strings with main file.
We should probably have new strings soon.

Oh, that's nice!

New file is on, with your old translation too.


Make the menu button more discoverable

The menu button is the item in the top left with the three dots:

It is where you can find:

Share / rights / invite
Edit
Data view
Delete
more...

So it's quite the important menu!
However, it is far too subtle right now. If a person asks me "How do I edit this thing", then the UI is failing.

We've made two changes:

Show the context menu in every item in the sidebar (on hover)
Use a different navigation bar, moved to bottom
Show resource context menu on the right side
Hide other buttons (info & user) from navbar


Program crashes on start if filetree is not cached

Fixed as of 7484fb61b9f4c004736d45c88f472d8cbcda6f6b; caching system overhauled, does not block on startup.


Update _index.md

Added link to the 2-minutes video, because one video is worth a 1000 words.
I also want to include the image that we have in the "What's next" section (https://neurodesk.github.io/docs/neurodesktop/whats-next/), but I don't know how to embed images in docsy. Can you explain me how to do it?

Just to clarify why I did it -- the "What's next" section is not the obvious section for a quick overview, and it will take time until people get to it (maybe only after installing NeuroDesk), so the video and screenshot fit to the "Overview" section in my view.


Use the Component revision

This PR contains a fix for Components where the default branch is other than main and is specified in the the Component Spec as part of the source git reference
The repository https://github.com/Apicurio/apicurio-registry uses master instead of main but the reference in the component is ignored when a build is created and the build fails. This PR adds a check to setthe revision into the pipeline run if it is set in the component.
Example (note the revision: master)
apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
  name: service-registry
spec:
  componentName: service-registry
  application: service-registry
  containerImage: quay.io/jduimovich0/service-registry
  source:
    git:
      url: https://github.com/Apicurio/apicurio-registry
      revision: master
      devfileUrl: https://raw.githubusercontent.com/jduimovich/appstudio-e2e-demos/main/demos/service-registry/devfiles/devfile.yaml
  build:
    containerImage: quay.io/jduimovich0/service-registry:1

The application definition for the above component.  It will fail to build as the default will checkout main, instead of master.
apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
  name: service-registry
spec:
  description: "service-registry built in App Studio"
  displayName: service-registry

To test, rebuild both application-service and build-service as the code is shared in both and create a Component using the above as an example build.

a hacbs / jvm build service need for sure, given our long term goal of building service registry end to end from appstudio invoking jvm build service via creation of a component
thanks @jduimovich
@sbose78 @Michkov @stuartwdouglas (for when they return from PTO)

I added a test case for the revision param use case as well and fixing the formatting (extra spaces)

thanks @jduimovich
the kcp submodule you added appears to be causing problems with the image build:
{"command":"PWD=/go/src/github.com/redhat-appstudio/application-service  git submodule update --init --recursive","component":"clonerefs","error":"exit status 1","file":"k8s.io/test-infra/prow/pod-utils/clone/clone.go:83","func":"k8s.io/test-infra/prow/pod-utils/clone.Run.func2","level":"info","msg":"Ran command","output":"No submodule mapping found in .gitmodules for path 'kcp'\n","severity":"info","time":"2022-07-07T03:30:28Z"}
maybe try to take that on in a separate PR (unless the resolution here is obvious to you) ?

@gabemontero  --- yes, adding kcp was an accident, when the make test  failed it prints the instruction to build kcp. I thought I had checked the commits and had removed it pre-pr

/lgtm
/assign @johnmcollier
I think we are good to go - just need the approve label from @johnmcollier

/approve


Tea reports an error when it's user error

> tea -X python asdf
/opt/tea/python.org/v3.11.0/bin/python: can't open file '/Users/u0076374/Dropbox/Work/jctl/asdf': [Errno 2] No such file or directory

panic: split tea. we’re sorry and we’ll fix it… but you have to report the bug!
...

This error has nothing to do with tea, so it shouldn't own the error.

yeah I deliberately made most errors ask you to report the bug so we could figure out which ones are and aren't our fault. So indeed, this one should be changed.

If I specify the package then it doesn't throw an error, but if I use -X or nothing, it does.
> tea +stedolan.github.io/jq jq
jq - commandline JSON processor [version 1.6]
...
For a listing of options, use jq --help.

> tea -X jq
jq - commandline JSON processor [version 1.6]

Usage:	/opt/tea/stedolan.github.io/jq/v1.6.0/bin/jq [options] <jq filter> [file...]
...
For a listing of options, use /opt/tea/stedolan.github.io/jq/v1.6.0/bin/jq --help.

panic: split tea. we’re sorry and we’ll fix it… but you have to report the bug!

    https://github.com/teaxyz/cli/issues/new?title=panic%3Acmd+failed%3A+2%3A+%2Fopt%2Ftea%2Fstedolan.github.io%2Fjq%2Fv1.6.0%2Fbin%2Fjq

----------------------------------------------------->> attachment begin
Error: cmd failed: 2: /opt/tea/stedolan.github.io/jq/v1.6.0/bin/jq
    at run (file:///opt/tea.xyz/src/v0.16.0/src/utils/index.ts:194:34)
    at async X (file:///opt/tea.xyz/src/v0.16.0/src/app.X.ts:36:5)
    at async file:///opt/tea.xyz/src/v0.16.0/src/app.ts:34:9
<<------------------------------------------------------- attachment end

> tea jq
jq - commandline JSON processor [version 1.6]
...
For a listing of options, use /opt/tea/stedolan.github.io/jq/v1.6.0/bin/jq --help.

panic: split tea. we’re sorry and we’ll fix it… but you have to report the bug!

    https://github.com/teaxyz/cli/issues/new?title=panic%3Acmd+failed%3A+2%3A+%2Fopt%2Ftea%2Fstedolan.github.io%2Fjq%2Fv1.6.0%2Fbin%2Fjq

----------------------------------------------------->> attachment begin
Error: cmd failed: 2: /opt/tea/stedolan.github.io/jq/v1.6.0/bin/jq
    at run (file:///opt/tea.xyz/src/v0.16.0/src/utils/index.ts:194:34)
    at async X (file:///opt/tea.xyz/src/v0.16.0/src/app.X.ts:36:5)
    at async file:///opt/tea.xyz/src/v0.16.0/src/app.ts:34:9
<<------------------------------------------------------- attachment end


Better alloc

Closed in favor of https://github.com/spacemeshos/svm/pull/417 and https://github.com/spacemeshos/svm/pull/418.


car-pool: Tunable straggler detection

This came up during an internal reactor call as a possible idea to explore once we have a query language for use as part of car-pool.
Currently, stragglers may result from false positives in the bloom filters, since we terminate graph traversal once a CID is matched by the requestor's bloom filter. However, there may be opportunity for detecting these false positives by taking advantage of the structure of the DAG. For example, imagine this DAG:
A0
|
A1
|
...
|
An-1
|
An
|
B

You can imagine a situation where a client requests A, and has B, expecting to receive CIDs A0, A1, ..., An. If An-1 is a straggler, however, the provider can detect this possibility by recognizing that An is not in the bloom filter.
Intuitively, this seems possible to me because the CIDs themselves are uniformly distributed, but the probability of having a given block is correlated with the probability of having the blocks underneath it, i.e. if it's known that some block is missing, then it's likely that any blocks referencing that block are also missing.

That a great idea @QuinnWilton! Let's add this after the first version is out :)


add docker support

haven't got fake mail sever auth to work yet. But site should work if you do

install docker
start a docker terminal
note the IP at the top of the terminal (lets call it docker IP)
run 'docker-compose build'
run 'docker-compose up'
in browser got to ':3000' for lale
in browser got to ':3001' for fake mail server

I have updated the README to reflect use of docker. Feel free to try it out.
Things still not figured out

rspec in windows

windows version of docker does not support attached run command making it difficult to run rspec and look at the logs

effects on travis CI

Thing to note

Tests are not really working on master. Dont think anything should break since things are only added when using docker.


FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /app/build/left

internal compiler error: Segmentation fault signal terminated program cc1
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /app/build/left
MacOS Monterray
M1 Max 2016
Can someone point me in the right direction?
Or is my Mac not supported?
I cloned from https://github.com/KinesisCorporation/Adv360-Pro-ZMK v2.0.
Then ran make all.
`[68/344] Building C object CMakeFiles/app.dir/src/rgb_underglow.c.obj
In file included from /app/zmk/app/src/rgb_underglow.c:35:
/app/zmk/app/include/zmk/split/bluetooth/central.h:11:35: warning: 'struct backlight_state' declared inside parameter list will not be visible outside of this definition or declaration
11 | int zmk_split_bt_update_bl(struct backlight_state *periph);
|                                   ^~~~~~~~~~~~~~~
[69/344] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
FAILED: zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
ccache /opt/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF52840_XXAA -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/app/zephyr/kernel/include -I/app/zephyr/arch/arm/include -I/app/zephyr/include -I/app/build/left/zephyr/include/generated -I/app/zephyr/soc/arm/nordic_nrf/nrf52 -I/app/zephyr/soc/arm/nordic_nrf/common/. -I/app/zephyr/subsys/bluetooth -I/app/zephyr/subsys/usb -I/app/zephyr/subsys/settings/include -I/app/modules/hal/cmsis/CMSIS/Core/Include -I/app/modules/hal/nordic/nrfx -I/app/modules/hal/nordic/nrfx/drivers/include -I/app/modules/hal/nordic/nrfx/mdk -I/app/zephyr/modules/hal_nordic/nrfx/. -I/app/modules/crypto/tinycrypt/lib/include -I/app/zmk/app/drivers/sensor/battery/. -isystem /app/zephyr/lib/libc/minimal/include -isystem /opt/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include -isystem /opt/zephyr-sdk-0.13.2/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include-fixed -Os -imacros /app/build/left/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -imacros /app/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/app/zmk/app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/app/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/app=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -Wfatal-errors -MD -MT zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj -MF zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj.d -o zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj -c /app/zephyr/lib/os/crc7_sw.c
arm-zephyr-eabi-gcc:
internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
[75/344] Building C object CMakeFiles/app.dir/src/split/bluetooth/central.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /app/build/left
make: *** [firmware/$(TIMESTAMP)-left.uf2] Error 1
`

M1 Macs encountered issues with the zmk docker image. This has now been fixed by the ZMK team https://github.com/zmkfirmware/zmk-docker/issues/126
Please test again after fetching latest docker image and let me know if the problem is fixed and i can close out this issue

Works fine now.  Thank you so much.


Create a Logo for the Application

Currently, we need a Logo for our Application which would be used on our Web Application Interface.
This Issue is open for all, and will not be assigned to anyone. People interested to work on it, can mention about their work and make a PR.
Tools to be used:

Figma
Adobe XD
Adobe Photoshop

Logo Designs must be added in an appropriate form on a design/Logo-Design/ Directory. The basic criteria we are looking for are:

The logo should be optimized to a 500x500 Pixel Size.
Transparent Background must be used.
Design Philosophy must be documented in the PR.

PRs would be reviewed on a rolling basis. All PRs would be reviewed by Mentors before they are finally acknowledged and merged.

@HarshCasper I would like to work on this issue

I have assigned you the Issue @Neel2904
You have 7 Days to work on this 🤗💥

@HarshCasper I would like to work on this issue

Hello @amandp13
I have assigned you this Issue. Both of your PRs would be reviewed on our part before we merge it.

I can design a logo for this

@HarshCasper I had designed a logo that matches with UI which I am designing. Can you just look at it once.

Do post it here @ashishsahu1

@ashishsahu1 Make a PR. Final Logo would be decided on votes cast


can I change line's color if I use tabs?

if I use :set list lcs=tab:|\ , can I change line's color?
if not, how about supporting tabs so I can change line's color? XD

you can change the color by hi SpecialKey ...

Oh great, I got it! Thanks a lot!


Readme guidelines vs code for preparing corpus

The readme file says to concatenate documents with a single space or dummy words, yet I see there is a code branch in glove.c for processing newlines. After trying both dummy words and newlines I've got almost the same results.
Also, for dummy words, shouldn't we use as many as the window size?

The code uses the following scanf string to separate tokens:
sprintf(format,"%%%ds",MAX_STRING_LENGTH);

If you run your corpus through a tokenizer as space separated strings, each without whitespace, I think you should be fine. But yes, I'm not clear on the exact semantics of that "%%%ds" formatting string (despite looking it up before writing that documentation). If you look into this more and have a better way of phrasing the semantics of that formatting string, please submit a pull request on the documentation :). And yes, dummy words would have to take the window size into account. Can you open a separate issue if you want to discuss that?


Encourage people to get a BCI printout.

https://bci.utah.gov/wp-content/uploads/sites/15/2018/01/ROA-12-5-2017.pdf
$15
15-20 mins

Added a banner to the eligibility tool


Does entgo support multiple database?

Hi Guys, i want to ask. :)
I'm wondering if ent.go supports multiple data store, For example for the Read or Query operation I want to retrieve it from the read-only database (different host)?
Thanks :)

Hi @abdarafi
This might be what you are looking for, https://github.com/ent/ent/issues/46#issuecomment-1020003833

Hi @abdarafi
This might be what you are looking for, #46 (comment)

Yeah, thanks for your help! @cjraa


Writing json to Azure Table Storage throws type error

https://github.com/yokawasa/azure-functions-python-samples/blob/ce9ef7a04afa429e1655e2a75a2ec1acf52e9909/eventhub-trigger-table-out-bindings/function/run.py#L46
When I use json.dump(somejson, f), it throws
TypeError: a bytes-like object is required, not 'str'.
And if I use json.dumps(somejson, f), it throws
Microsoft.Azure.WebJobs.Host: Object reference not set to an instance of an object.
It should be
with open(os.environ['someTable'], 'w') as f:
    json.dump(somejson, f);

@hmqgg thank you for the feedback.
as you suggested, I modified the mode from binary to text in opening output table:
https://github.com/yokawasa/azure-functions-python-samples/commit/c189c9c4b5d5bddb173338f1200d8a0d94eb3076
Thanks alot


Add changelog entry for Persistent Storage

... and add a title plus beta warning to the docs page

Coverage increased (+0.01%) to 73.045% when pulling 59255707ce5049c9b783c024eb932e475d8fdab5 on me/changelog-persistent-storage into 6ac8272e8dbab3468fb8ab46799316207c8c464a on master.


Interface casting issues when an unknown type is returned

I ran into an interesting scenario with the following code to try obtain a Gio.File from the Gio.ListModel returned by Gtk.FileChooser.GetFiles()
Gtk.FileChooserDialog file_chooser = ... // open some files with a file chooser

Gio.ListModel files = file_chooser.GetFiles ();
for (uint i = 0, n = files.GetNItems (); i < n; ++i) {
	// The runtime type is just a GObject.Object instance
	// The gtype is 'GLocalFile' which is a private type that inherits from GObject and implements the 'GFile' interface
	GObject.Object? obj = files.GetObject (i);
        var file = obj as Gio.File; // fails
}

The GObject returned is of type GLocalFile which isn't public, so there isn't a C# type to create an instance of. The ObjectWrapper then just creates an instance of the parent class, GObject.Object in this case.
This presents a problem with trying to cast to a Gio.File interface, since the C# object doesn't have a runtime type that implements that interface
Perhaps some sort of cast function that checks the gtype is needed?
My manual workaround was to do var file = new Gio.FileHelper (files.GetObject (i).Handle, ownedRef: true), although that doesn't do any safe type checking

For classes which implement interfaces inside list models this should work already correctly. For private classes which implement interfaces not.
Your suggestion using a method to cast the list items we could return an IEnumarable<T> which either casts a class to a more concrete class/interface or wraps the instance into an interface wrapper and checks the type of the gobject class is not known to us.
perhaps an additional method To get a casted single item would be helpful, too.

Yeah, getting an IEnumerable<T> that does casting if necessary sounds like a good way to go. Even for cases that don't hit this interface casting issue, it would be a more C#-style API than having to use the GetNItems() to iterate over the list

#588 will help with integrating native types with some dotnet interfaces.
To return the correct type from a given pointer the type detection will be improved as part of #1118.


Fix error when personId is negative or personType is something else than ElementType

Fixes #6

Just out of curiosity: which person id and type does Untis return? So far, the only negative id I've seen is -1, which is used as an "empty" id, which doesn't seem to make sense in this case. Are you maybe using an anonymous login?


use @use instead of @import

https://github.com/jd-solanki/anu/blob/6a918dd2b3cd2574278d79348c266454210ec1b9/packages/preset-theme-default/src/scss/index.scss#L1
The @import isn't resolving properly for me. It seems to be trying to find a local file inside preset-theme-default instead of looking for @unocss/reset package.
@use fixes this issue for me.

Closed via #105


Fix #2965 - Additional Properties set to False

Describe your changes :

This PR fixes https://github.com/open-metadata/OpenMetadata/issues/2965
We have done a review on all the JSON Schemas and added the missing additionalProperties: false to those entities and definitions that had it missing.
Java & python tests + sample ingestion run properly.
Thanks!

Type of change :

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have performed a self-review of my own.
[ ] I have tagged my reviewers below.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

I wonder if there is a way to configure all json schema objects under a path to have additionalProps set to false

That would make things easier 😅


setup click handler in initializer

closes https://github.com/intercom/ember-href-to/issues/31
/cc @rwjblue

/cc @paddyobrien

Notes from @rwjblue: We should be able to avoid looking up the router by making it an application instance initializer - we'd have access to the application.
We might also be able to do the same with a class based helper

I've modified the initializer to be an application instance initializer. I'll try remove the need for the container lookup in the helper in a subsequent PR

I've updated the helper to be class based and zapped the container lookup. Another :beer: for @rwjblue

@paddyobrien thanks for the great feedback. updated

:+1:

Awesome work y'all! Thank you!


Global 'View' and Workspace 'Add': Calibration Injection Data

As an ECMPS user, I want to view Calibration Injection Data in the Global-View and add new Calibration Injection Data in the Workspace so that I can look at real-time data or add test information as needed
Acceptance Criteria: (Global-view)
Given a user has selected Calibration Injection from the Test Type Group dropdown and a data record is available
When the data is displayed
Then the user can see data displayed as a separate table (see list below for columns and order)
Online Offline Indicator
Upscale Gas Level Code
Zero Injection Date
Zero Injection Hour
Zero Injection Minute
Upscale Injection Date
Upscale Injection Hour
Upscale Injection Minute
Zero Measured Value
Upscale Measured Value
Zero APS Indicator
Upscale APS Indicator
Zero Calibration Error
Upscale Calibration Error
Zero Reference Value
Upscale Reference Value
Given a user is viewing Calibration Injection Data
When the data is displayed in a table
Then the default sort order is alphanumeric descending by the contents in the 1st column
And the user will have the option to sort the columns in ascending or descending alphanumeric order

[x] The fields and their order specified

Pagination?

[ ] Yes
[x] No

Filter by keyword?

[ ] Yes
[x] No

Columns are sortable?

[x] Yes
[ ] No

Nested rows, expandable?

[ ] Yes
[x] No

Acceptance Criteria: (Workspace - Add)
Given the user has selected Calibration Injection from the Test Type Group dropdown
When the user clicks on 'Add' for Calibration Injection Data
Then the system displays a modal
and the user can add new data for:
Online Offline Indicator (radio button)
Upscale Gas Level Code (Dropdown)
Zero Injection Date (Text & Datepicker)
Zero Injection Hour (Dropdown 1-23)
Zero Injection Minute (Dropdown 1-59)
Upscale Injection Date (Text & Datepicker)
Upscale Injection Hour (Dropdown 1-23)
Upscale Injection Minute (Dropdown 1-59)
Zero Measured Value (Text)
Upscale Measured Value (Text)
Zero APS Indicator (radio button)
Upscale APS Indicator (radio button)
Zero Calibration Error (Text)
Upscale Calibration Error (Text)
Zero Reference Value (Text)
Upscale Reference Value (Text)
Given the user has added Calibration Injection Data
When the user chooses to save and close
Then the data is saved
And the modal closes
And the user is returned to the Landing screen
And the Calibration Injection Data record is reflected on the UI
Given the user has added a new Calibration Injection Data
When the user chooses to Cancel
Then the user is returned to the Landing screen for Calibration Injection data
And no updates are saved
Label on the UI: Calibration Injection
Reference Invision URL:
https://projects.invisionapp.com/freehand/document/areRdzxWH?zoomToItems=Y2w2ZG45YWJsMDBkcTNiN3BocGZ4b2licg%3D%3D
Testing
Test Case: TC1071
Tester:

Calibration Injection Data - View Official Table

Calibration Injection Data - View Official Modal

Test Passed


npm version command

This is the handy command to work with, but it seems conventional-changelog can't produce meaningful output if you run npm version first.

The problem is you want to keep your changelog changes in the last commit of the release (along with the version change in package.json). If you do npm version first your changelog of the current release is in the next release. This is probably not what you want although there are workarounds.
see https://github.com/ajoslin/conventional-changelog#recommended-workflow-when-not-regenerating-the-changelog and the last section of https://github.com/vojtajina/grunt-bump#usage-examples

"scripts": {
"version": "conventional-changelog -i CHANGELOG.md --overwrite && git add CHANGELOG.md"
}
This way the changelog would be generated with the new version in package.json and commited in the same commit.
However I forgot to set preset and now I can't seem to regenerate the CHANGELOG.md

Found it! -r 0

I'm using https://gist.github.com/stevemao/280ef22ee861323993a0


Make the metadata more readable

When using the Box debug mode, the built PHAR content + serialised configuration metadata is dumped. However the current dumped configuration is hard to read and exploit.

Closed by #366


Unable to Access my Sendgrid Account, as no text message received for two factor  authentication

Hi,
On 28th October, 2020 I made account in SendGrid in the name of Mayank (email id : mayank@omniwi.com).  I have send mailer through this account.
Today i am unable to login through this account as it required two factor authentication. But I am not receiving text message on my mobile.
Either i have put wrong mobile no by mistake or sms is not coming,  My correct mobile no is 91<PHONE_NUMBER>.
Please send me authentication on my email id and close the two factor authentication option.
Please help me in this regards on priority.
Mayank khare
Mob: +91<PHONE_NUMBER>

Hello @mayank304
We're sorry you're having this issue. You can access support contact options by going to https://support.sendgrid.com and clicking "Trouble Logging in?". From there, you can tell us a little more about your problem without having to log in, and one of our fantastic support people will get back to you. Hope this helps!
Twilio SendGrid Docs Team

Hello @mayank304
We're sorry you're having this issue. You can access support contact options by going to https://support.sendgrid.com and clicking "Trouble Logging in?". From there, you can tell us a little more about your problem without having to log in, and one of our fantastic support people will get back to you. Hope this helps!
Twilio SendGrid Docs Team

Hi I tried but could not get success.
Please help me, i have to download report on priority.

Do you have a support ticket number? I can ask support to look into it.

Hi ,
I can not get the option to raise a ticket with out login.
Whatever detail required, tell me i will give.
Please help me in this matter.
Regards
Mayank khare
From: "Wade Christensen"<EMAIL_ADDRESS>To: "sendgrid/docs"<EMAIL_ADDRESS>Cc: "mayank304"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 01:15:53
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Do you have a support ticket number? I can ask support to look into it.
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/sendgrid/docs/issues/6322#issuecomment-721338827 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ARTZ6KR6ZIXDAQJIXILCXI3SOBMXDANCNFSM4TI57U7Q | unsubscribe ] .

Hi,
I am unable to raise ticket.
Please find below detail and raise the ticket from my end.
On 28th October, 2020 I made account in SendGrid in the name of Mayank (email id : [<EMAIL_ADDRESS>|<EMAIL_ADDRESS>] ). I have send mailer through this account.
Today i am unable to login through this account as it required two factor authentication. But I am not receiving text message on my mobile.
Either i have put wrong mobile no by mistake or sms is not coming, My correct mobile no is 91<PHONE_NUMBER> .
Please send me authentication on my email id and close the two factor authentication option.
Please help me in this regards on priority.
Regards
Mayank khare
From: "Wade Christensen"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "mayank304"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 01:15:53
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Do you have a support ticket number? I can ask support to look into it.
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/sendgrid/docs/issues/6322#issuecomment-721338827 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ARTZ6KR6ZIXDAQJIXILCXI3SOBMXDANCNFSM4TI57U7Q | unsubscribe ] .

Hello @mayank304
You can create a support ticket without logging in. You need to go to https://support.sendgrid.com and click "Trouble Logging in?". That link will allow you to create a ticket without logging in. It's below the blue box with the search bar.

I hope this is helpful. If it's still unclear, please reply to this thread.
Best,
Twilio SendGrid Docs Team

Hi ,
I tried but could not get the option to raise the ticket.
Its humble request to sort out the issue on priority.
Regards
Mayank khare
From: "Wade Christensen"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "mayank304"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 22:27:07
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Hello [ https://github.com/mayank304 | @mayank304 ]
You can create a support ticket without logging in. You need to go to [ https://support.sendgrid.com/ | https://support.sendgrid.com ] and click "Trouble Logging in?". That link will allow you to create a ticket without logging in. It's below the blue box with the search bar.
[ https://user-images.githubusercontent.com/3976196/98141508-8d938c80-1e7b-11eb-8697-5af5e9ba07c9.png ]
I hope this is helpful. If it's still unclear, please reply to this thread.
Best,
Twilio SendGrid Docs Team
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/sendgrid/docs/issues/6322#issuecomment-721851302 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ARTZ6KUYKJOGQRFGXWXJLYDSOGBWHANCNFSM4TI57U7Q | unsubscribe ] .

Hi,
My problem still exist, i am unable to login due to 2FA, as i am not receiving the test message.
Regards
Mayank khare
From: "Mayank Khare"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "sendgrid"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 21:11:32
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Hi,
I am unable to raise ticket.
Please find below detail and raise the ticket from my end.
On 28th October, 2020 I made account in SendGrid in the name of Mayank (email id : [<EMAIL_ADDRESS>|<EMAIL_ADDRESS>] ). I have send mailer through this account.
Today i am unable to login through this account as it required two factor authentication. But I am not receiving text message on my mobile.
Either i have put wrong mobile no by mistake or sms is not coming, My correct mobile no is 91<PHONE_NUMBER> .
Please send me authentication on my email id and close the two factor authentication option.
Please help me in this regards on priority.
Regards
Mayank khare
From: "Wade Christensen"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "mayank304"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 01:15:53
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Do you have a support ticket number? I can ask support to look into it.
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/sendgrid/docs/issues/6322#issuecomment-721338827 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ARTZ6KR6ZIXDAQJIXILCXI3SOBMXDANCNFSM4TI57U7Q | unsubscribe ] .

Hi sir,
My problem still not resolved.
Regards
Mayank khare
From: "Mayank Khare"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "sendgrid"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 23:05:32
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Hi ,
I tried but could not get the option to raise the ticket.
Its humble request to sort out the issue on priority.
Regards
Mayank khare
From: "Wade Christensen"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "mayank304"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 22:27:07
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Hello [ https://github.com/mayank304 | @mayank304 ]
You can create a support ticket without logging in. You need to go to [ https://support.sendgrid.com/ | https://support.sendgrid.com ] and click "Trouble Logging in?". That link will allow you to create a ticket without logging in. It's below the blue box with the search bar.
[ https://user-images.githubusercontent.com/3976196/98141508-8d938c80-1e7b-11eb-8697-5af5e9ba07c9.png ]
I hope this is helpful. If it's still unclear, please reply to this thread.
Best,
Twilio SendGrid Docs Team
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/sendgrid/docs/issues/6322#issuecomment-721851302 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ARTZ6KUYKJOGQRFGXWXJLYDSOGBWHANCNFSM4TI57U7Q | unsubscribe ] .

Hi,
Please resolve the issue.
Regards
Mayank khare
From: "Mayank Khare"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "sendgrid"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 21:11:32
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Hi,
I am unable to raise ticket.
Please find below detail and raise the ticket from my end.
On 28th October, 2020 I made account in SendGrid in the name of Mayank (email id : [<EMAIL_ADDRESS>|<EMAIL_ADDRESS>] ). I have send mailer through this account.
Today i am unable to login through this account as it required two factor authentication. But I am not receiving text message on my mobile.
Either i have put wrong mobile no by mistake or sms is not coming, My correct mobile no is 91<PHONE_NUMBER> .
Please send me authentication on my email id and close the two factor authentication option.
Please help me in this regards on priority.
Regards
Mayank khare
From: "Wade Christensen"<EMAIL_ADDRESS>To: "sendgrid"<EMAIL_ADDRESS>Cc: "mayank304"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Wednesday, 4 November, 2020 01:15:53
Subject: Re: [sendgrid/docs] Unable to Access my Sendgrid Account, as no text message received for two factor authentication (#6322)
Do you have a support ticket number? I can ask support to look into it.
—
You are receiving this because you were mentioned.
Reply to this email directly, [ https://github.com/sendgrid/docs/issues/6322#issuecomment-721338827 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/ARTZ6KR6ZIXDAQJIXILCXI3SOBMXDANCNFSM4TI57U7Q | unsubscribe ] .

Support has indicated that they have an open ticket for you and will reach out again in case you have not received it.


To fhir slicing

This PR adds support for two different types of "slicing" in SHR to the toFHIR exporter.

Slicing where two fields on an Entry map to the same list field in a FHIR element. This is represented by the BloodPressureEntry Entry and the SystolicPressure/DiastolicPressure fields.

Slicing where one list field on an Entry maps to a list field in a FHIR element, but the types that are included in the list on the SHR side are constrained. This is represented by the BarAEntry Entry and the FooA and FooB type restrictions on the Baz.foo list.

Not sure why travis is still showing as "Pending" here. Looks like Travis failed because of dependencies; once https://github.com/standardhealth/shr-fhir-export/pull/103 gets merged in this should pass; otherwise I can point this branch at to_fhir_slicing until it gets merged in.

Closing this PR as I believe most (or all) has already been incorporated into master (perhaps via a different PR?).


[Styling] Introduce pre-commit hooks

Currently it is not possible to "fix" PEP8 compliance without changing
large chunks of python code. This commit blindly runs yapf without
additional changes so that future commits can focus on improving the
actual content of the python files. Reproducible by running
pip install pre-commit
pre-commit install
pre-commit run -a

@illuhad This commit may be too large to be commited by an outside contributor. It also introduces a level of indirection to git blame for the python files. Please feel free to close this if it is too much of a change.
Basic PEP8 compliance should be targeted nonetheless, but I am not sure how to tackle this without a commit as large as this one.

Most of the changes seem to be changing the indentation from 2->4. I cannot find a technical reason in the PEP for this. What is the rationale behind this? hipSYCL uses 2 space indentation everywhere, so it might be convenient for the project to also stick to this in the python files.

I think the official guideline (randomly?) decided on this, and the second most used guideline by google agreed. The subjectiveness of this decision is apparent in e.g. TensorFlow, which uses 2 space indentation in Python, effectively breaking the own guidelines :sweat_smile:
I think the 4 spaces make sense since most (all?) formatters, linters and editors will default to 4 space indentation for Python. My initial plan was to use more expressive linters such as flake8 with wemake. It was not really possible to use these linters, since the actually relevant warnings got lost in all the indentation warnings.
The 4 space indentation is hardcoded into flake8, so a 2 space indentation would require disabling the related warnings E111 with no way to explicitly enforce 2 space indentation.
A workaround would be to disable the flake8 indentation warnings and use a different linter to enforce a 2 space indentation. This additional complexity seems kind of unnecessary to me.

Closing this and will send a new PR to get pre-commit hooks to run in a less invasive way.

One approach might perhaps be two split the PR in two: One for all the indentation changes, and one for the rest. This might make it easier to see what is actually changed.

@illuhad Yes it is probably better to do these things more incrementally. I sent another pr that fixes more trivial issues first. Then we can expand on that and introduce formatting etc more gentle/gradually.


Adopt new cell context key pattern

Fixes #10595

Codecov Report

Merging #11100 (0a025c8) into main (70dc27d) will decrease coverage by 0%.
The diff coverage is 97%.

@@          Coverage Diff           @@
##            main   #11100   +/-   ##
======================================
- Coverage     63%      63%   -1%
======================================
  Files        482      482
  Lines      33865    33867    +2
  Branches    5526     5523    -3
======================================
- Hits       21411    21405    -6
- Misses     10403    10406    +3
- Partials    2051     2056    +5

Impacted Files
Coverage Δ

...active-window/debugger/jupyter/debuggingManager.ts
63% <ø> (-1%)
:arrow_down:

src/notebooks/debugger/debuggingManager.ts
58% <97%> (+4%)
:arrow_up:

src/platform/common/contextKey.ts
100% <100%> (ø)

src/kernels/execution/notebookUpdater.ts
88% <0%> (-8%)
:arrow_down:

src/notebooks/outputs/tracebackFormatter.ts
93% <0%> (-7%)
:arrow_down:

src/kernels/jupyter/remoteKernelFinder.ts
88% <0%> (-4%)
:arrow_down:

src/platform/common/cancellation.ts
64% <0%> (-4%)
:arrow_down:

src/kernels/kernelFinder.base.ts
82% <0%> (-3%)
:arrow_down:

src/kernels/jupyter/jupyterKernelService.node.ts
74% <0%> (-2%)
:arrow_down:

.../notebooks/controllers/vscodeNotebookController.ts
80% <0%> (-2%)
:arrow_down:

... and 4 more


(graphcache) - Enforce atomic optimistic updates

Fix #1079
Summary

NOTE: This changes an earlier (but rare) case's behaviour!
We expect that this changes how a "toggling mutation" may look in the UI. Specifically it will never be able now to actually toggle if we trigger it repeatedly in optimistic updates. That's probably a good thing however as between a bad network connection and going offline/online we can't tell whether all toggling mutations will be delivered and applied in-order and atomically. So it's invalid to prioritise this case over the following fix.

This fixes the behaviour of repeated optimistic updates. Instead of being atomic, previously an optimistic update would be applied on top of its previous data. This wasn't intentional and my memory told me that we clear the layer beforehand, but that line of code was now missing (probably because it's been pruned and was an uncovered case by our tests)
Set of changes

Clear a layer for an optimistic update if a layer already exists
Add a test case to test for atomic optimistic update regressions

Tested in: https://github.com/FormidableLabs/urql/issues/1079#issuecomment-713599604


Setting $text to empty string does nothing?

I'm curious why setting $text to "" is ignored (https://github.com/intercellular/cell/blob/develop/cell.js#L139)
This means you can't clear the contents of a cell, no?  This breaks things, like your "Super simple synchronized input" example.  Type a bunch of stuff in the text field, hit Ctrl+A, backspace.  The old text still remains because setting $text to "" was ignored.

I think updates to a $text in a node do not update the actual text in the DOM for some reason, you have to update this.$components at a higher level.
With this PR text nodes can be described as just a string: https://github.com/intercellular/cell/pull/21
This means potentially text nodes could be removed entirely. But regardless it caught me off guard that they seem to be immutable.

Here's a demo with plain strings in $components. It also uses a flux-esque approach that I'm tinkering with.

@guscost: @gliechtenstein commented on #13 that there is already a way to add plain text nodes to $components:
  $components: [{
    $type: "img",
    src: "http://localhost/img.jpg"
  }, {
    $type: "text",
    $text: "Plain Text"
  }]

Using plain strings in the $components array might be cleaner, and I agree that it would be nice if the semantics of $text weren't so different from those of $components, but at least it's possible to get the correct behavior today.

Have you tried updating the $text of a node in the $update function? Either I'm missing something or that's a pitfall, since it wasn't updating when I tried to do it.

I have just fixed this with the latest commit here https://github.com/intercellular/cell/commit/3ed08cfda7e24b5672ff667ad926147d1da24059
Please pull from the develop branch and retry, and let me know if that fixes it. I can confirm it's working on mine.

@guscost as for your last comment about $text update inside $update() not triggering a render, that's not supposed to happen.
Could you share a full example? That would help me understand the situation better.

Just tried the synchronization demo with the dev code and it works.  Nice.


Telepathy doesn't work with silk

sad ;_;

Please explain more. How does it not work. Do you mean with Silk Spawners?

yes, it doesn't work with silk spawners

Fixed :D


Spades failed

Hi,
I try to run Fast-Plast as follows: perl /opt/Fast-Plast/fast-plast.pl -1 forward -2 reverse
--name I30375 --bowtie_index Gentianales --coverage_analysis --clean light
but apparently SPADES is not working proberly. I attached the error files.
Could you please have a look?
Thanks,
I30375_results_out.log
I30375_Fast-Plast_Progress.log
I30375_results_error.log

Hi,
There is a stack trace issue with SPAdes. I see you used bbnorm to correct your reads. If you check out the output here:
=== Stack Trace ===
[0x5f9c52]
[0x58ada1]
[0x55d191]
[0x408c19]
[0x40123c]
[0x87b11b]
[0x407c01]
Verification of expression 'cov_.size() > 10' failed in function 'void coverage_model::KMerCoverageModel::Fit()'. In file '/spades/assembler/src/common/modules/coverage_model/kmer_coverage_model.cpp' on line 187. Message 'Invalid kmer coverage histogram, make sure that the coverage is indeed uniform'.
Verification of expression 'cov_.size() > 10' failed in function 'void coverage_model::KMerCoverageModel::Fit()'. In file '/spades/assembler/src/common/modules/coverage_model/kmer_coverage_model.cpp' on line 187. Message 'Invalid kmer coverage histogram, make sure that the coverage is indeed uniform'.
spades-core: /spades/assembler/src/common/modules/coverage_model/kmer_coverage_model.cpp:187: void coverage_model::KMerCoverageModel::Fit(): Assertion `cov_.size() > 10' failed.
You can see that the histogram of coverage is not uniform and throwing off spades. What type of data did you use here?
Best,
Michael


[toc] Add Unit Tests

As title. It's good to have some unit testing for better confidence during each release.

Coupled with https://github.com/vnphanquang/svelte-put/issues/69

merged to #222


Support for Arduino Nano Every

Would it be possible to add support for the Arduino Nano Every?

I’ve no time to analyse feasibility right now but PR are welcomed ! Also you can check this repo : https://github.com/noopkat/avrgirl-arduino
Maybe you’ll find a way… good luck !

I’ve no time to analyse feasibility right now but PR are welcomed ! Also you can check this repo : https://github.com/noopkat/avrgirl-arduino
Maybe you’ll find a way… good luck !


Extreeme CPU usage

Extreeme CPU usage after half an hour work with all extensions disabled. 46% of my cpu: Processor	Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 Mhz, 4 Core(s), 8 Logical Processor(s)

Please use this guide to provide more information: https://github.com/Microsoft/vscode/wiki/Performance-Issues. Thanks.

no actionable information provided


Menu Realignment

Added javascript to reposition the dropdown on both scroll and closing of the announcement. I tried a straight CSS solution, but I couldn't find anything that worked with just CSS in both the announcement open and announcement closed since the top menu is sticky its position is dependent on scroll + presence of announcement.
Also made one CSS change to where the li disc is on another header element.

The mobile version of this isn't scrolling. Can you look and see why? I'm attaching images of the current mobile state and the one from the live TLED site.

This branch was superseded by changes I made to the menu.


Fixed differential evolution bug

Running the algorithm gave me an error about incompatible arrays shape.
The reason is that using numpy.arange accumulates rounding error, returning an array of size samples + 1, insted of size samples.
In [1]: import numpy as np
In [2]: samples = 1815
In [3]: segsize = 1.0 / samples
In [4]: np.arange(0., 1., segsize).shape
Out[4]: (1816,)
In [5]: np.linspace(0., 1., samples, endpoint=False).shape
Out[5]: (1815,)

Looks good to me, if the TravisCI passes.

Is it worth putting a test in for this?

Is it worth putting a test in for this?

Yes I can reproduce this by specifying a popsize in the differential evolution docstring example:
from scipy.optimize import differential_evolution
import numpy as np
def ackley(x):
    arg1 = -0.2 * np.sqrt(0.5 * (x[0] ** 2 + x[1] ** 2))
    arg2 = 0.5 * (np.cos(2. * np.pi * x[0]) + np.cos(2. * np.pi * x[1]))
    return -20. * np.exp(arg1) - np.exp(arg2) + 20. + np.e
bounds = [(-5, 5), (-5, 5)]
result = differential_evolution(ackley, bounds, popsize=1815)

rdrange += np.atleast_2d(np.arange(0., 1., segsize)).T
ValueError: operands could not be broadcast together with shapes (3630,2) (3631,1) (3630,2)

https://github.com/plafl/scipy/pull/1

@plafl, it's good you caught the bug.  For future work it's probably better that you create a feature branch to work on, e.g. plafl:fixing_diffev_bug rather than submitting the PR from the master branch.  It makes collaboration a lot easier.  Also, there are guidelines for writing meaningful commit messages, e.g. your message could've been:
BUG: optimize.differential_evolution, bug in lhs initialisation.
The guidelines for the workflow are at http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html

OK, looks like the test has been merged into this PR.


Add Unicode Decode and Encode workflows

Please ensure your pull request adheres to the following guidelines:

[x] Follow the same folder structure as other workflows (see https://github.com/caido/workflows/tree/main/convert)
[x] Has a proper author name and workflow description

Thanks for contributing!

@hahwul Looks good! Thanks for the submission


Add FrameReceiver controllers, move FP controllers to odin_data.py

Addressing https://github.com/DiamondLightSource/odin-fastcs/issues/11 (see also https://github.com/odin-detector/odin-data/issues/346), using the generic OdinDataAdapter as the basis for DAQController and DAQAdapterController which are inherited by FrameProcessor(/Receiver)Controller and FrameProcessor(/Receiver)AdapterController.
edit: WIP, can break down further and add a FrameReceiverDecoderController

This looks like the right sort of thing. I think I am OK with having fp and fr in one file as they are all very small classes.
Could you change DAQ -> OdinData in the class names and move FrameProcessorAdapterController above FrameProcessorController so that they are in hierarchical order?

Have done that, had to overload init as the forward reference needed for _subcontroller_cls needed to be moved into function scope

Added the decoder sub controller, can add in a few tests if needed.

had to overload init as the forward reference needed for _subcontroller_cls needed to be moved into function scope

Ah I didn't think about that. In that case it is not worth it. The AdapterControllers can go after.

Do we know where this "name" parameter is coming from? That doesn't appear in the API so I am not sure why odin-fastcs is creating that.
ERROR:root:Update loop failed for api/0.1/fr/1/status/decoder/name:
name not found in response:
{'response': 'OdinDatatAdapter GET error: Invalid path: 1/status/decoder/name'}

Do we know where this decoder name parameter is coming from? That doesn't appear in the API, so I am not sure why odin-fastcs is creating that.
ERROR:root:Update loop failed for api/0.1/fr/1/status/decoder/name:
name not found in response:
{'response': 'OdinDatatAdapter GET error: Invalid path: 1/status/decoder/name'}

Will look into it, I know that config/hdf/file/name had to be changed to "prefix" because of some interaction between fastcs and odin that makes "name" an invalid name for a parameter

Okay yeah, changing the key to "dummy_name" as a quick test in DummyUDPFrameDecoder makes the signal work properly. I suppose we could either remove the parameter from odin, rename it, or add some logic in odin-fastcs to do special handling of attributes called "name"

Ah so name is visible when requesting metadata, but not otherwise. That is why it creates the parameter but then can't read it from the server.
I suggest we rename to type or class, but there is no way to enforce that across all decoders. I think the odin server should error on start up, rather than on requesting the parameter.

It wold be good to add

unit tests that create the controllers, pass in some dummy OdinParameters and make sure _process_parameters does the right thing, like test_fp_process_parameters and test_fp_create_plugin_sub_controllers.

an introspection test that takes a dumped server response, parses it and makes sure the parameters are as expected. See dump_server_response.py and test_introspection.py.

Could you squash this into one commit and force push, and mark as ready for review if you are happy with it?

Thanks @jsouter !

This didn't break things. main is broken because the CI happened to pick up the latest pydantic (2.9.0) on merge.
See https://github.com/pydantic/pydantic/issues/10345 and https://github.com/epics-containers/pvi/pull/137.


small fix for metrics-collector simulator.

ref: https://github.com/open-cluster-management/backlog/issues/18241
Signed-off-by: morvencao<EMAIL_ADDRESS>

/lgtm


Automatically deploy demo API

The current demo API in the official website is down
We should deploy demo API automatically when updating master branch
We need to find a service provider such as Heroku or equivalent but something free

When deploying master branch on heroku app with no Procfile:
-----> Python app detected

-----> Installing python-3.6.9

-----> Installing pip

-----> Installing SQLite3

-----> Installing requirements with pip

       Collecting Flask==1.1.1 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94kB)

       Collecting flask_cors==3.0.8 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 2))

         Downloading https://files.pythonhosted.org/packages/78/38/e68b11daa5d613e3a91e4bf3da76c94ac9ee0d9cd515af9c1ab80d36f709/Flask_Cors-3.0.8-py2.py3-none-any.whl

       Collecting joblib==0.13.2 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 3))

         Downloading https://files.pythonhosted.org/packages/cd/c1/50a758e8247561e58cb87305b1e90b171b8c767b15b12a1734001f41d356/joblib-0.13.2-py2.py3-none-any.whl (278kB)

       Collecting pandas==0.25.0 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/1d/9a/7eb9952f4b4d73fbd75ad1d5d6112f407e695957444cb695cbb3cdab918a/pandas-0.25.0-cp36-cp36m-manylinux1_x86_64.whl (10.5MB)

       Collecting prettytable==0.7.2 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 5))

         Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2

       Collecting transformers==2.1.1 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/fd/f9/51824e40f0a23a49eab4fcaa45c1c797cbf9761adedd0b558dab7c958b34/transformers-2.1.1-py3-none-any.whl (311kB)

       Collecting scikit_learn==0.21.2 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/85/04/49633f490f726da6e454fddc8e938bbb5bfed2001681118d3814c219b723/scikit_learn-0.21.2-cp36-cp36m-manylinux1_x86_64.whl (6.7MB)

       Collecting tika==1.19 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 8))

         Downloading https://files.pythonhosted.org/packages/10/75/b566e446ffcf292f10c8d84c15a3d91615fe3d7ca8072a17c949d4e84b66/tika-1.19.tar.gz

       Collecting torch>=1.2.0 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 9))

         Downloading https://files.pythonhosted.org/packages/88/95/90e8c4c31cfc67248bf944ba42029295b77159982f532c5689bcfe4e9108/torch-1.3.1-cp36-cp36m-manylinux1_x86_64.whl (734.6MB)

       Collecting markdown==3.1.1 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 10))

         Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB)

       Collecting tqdm==4.32.2 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 11))

         Downloading https://files.pythonhosted.org/packages/9f/3d/7a6b68b631d2ab54975f3a4863f3c4e9b26445353264ef01f465dc9b0208/tqdm-4.32.2-py2.py3-none-any.whl (50kB)

       Collecting wget==3.2 (from -r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 12))

         Downloading https://files.pythonhosted.org/packages/47/6a/62e288da7bcda82b935ff0c6cfe542970f04e29c756b0e147251b2fb251f/wget-3.2.zip

       Collecting Werkzeug>=0.15 (from Flask==1.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)

       Collecting click>=5.1 (from Flask==1.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)

       Collecting itsdangerous>=0.24 (from Flask==1.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl

       Collecting Jinja2>=2.10.1 (from Flask==1.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)

       Collecting Six (from flask_cors==3.0.8->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 2))

         Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl

       Collecting numpy>=1.13.3 (from pandas==0.25.0->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/d2/ab/43e678759326f728de861edbef34b8e2ad1b1490505f20e0d1f0716c3bf4/numpy-1.17.4-cp36-cp36m-manylinux1_x86_64.whl (20.0MB)

       Collecting pytz>=2017.2 (from pandas==0.25.0->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl (509kB)

       Collecting python-dateutil>=2.6.1 (from pandas==0.25.0->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl (227kB)

       Collecting sacremoses (from transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/1f/8e/ed5364a06a9ba720fddd9820155cc57300d28f5f43a6fd7b7e817177e642/sacremoses-0.0.35.tar.gz (859kB)

       Collecting regex (from transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/e3/8e/cbf2295643d7265e7883326fb4654e643bfc93b3a8a8274d8010a39d8804/regex-2019.11.1-cp36-cp36m-manylinux1_x86_64.whl (643kB)

       Collecting sentencepiece (from transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/14/3d/efb655a670b98f62ec32d66954e1109f403db4d937c50d779a75b9763a29/sentencepiece-0.1.83-cp36-cp36m-manylinux1_x86_64.whl (1.0MB)

       Collecting requests (from transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)

       Collecting boto3 (from transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/8e/a9/1ceaeda8aa5d3effc9098ae301820e27bf54c4000ec6f8ec79f9b265c50e/boto3-1.10.19-py2.py3-none-any.whl (128kB)

       Collecting scipy>=0.17.0 (from scikit_learn==0.21.2->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/80/72/a26272b99220804038d8ac4aabe8383cfd969ec548695b0df258058ee919/scipy-1.3.2-cp36-cp36m-manylinux1_x86_64.whl (25.2MB)

       Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->Flask==1.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl

       Collecting idna<2.9,>=2.5 (from requests->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)

       Collecting certifi>=2017.4.17 (from requests->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/18/b0/8146a4f8dd402f60744fa380bc73ca47303cccf8b9190fd16a827281eac2/certifi-2019.9.11-py2.py3-none-any.whl (154kB)

       Collecting chardet<3.1.0,>=3.0.2 (from requests->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)

       Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB)

       Collecting jmespath<1.0.0,>=0.7.1 (from boto3->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl

       Collecting botocore<1.14.0,>=1.13.19 (from boto3->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/18/e5/0f29669244ffacc15c4cec9e10d75c26e7d300e1786e79514e62373e648c/botocore-1.13.19-py2.py3-none-any.whl (5.4MB)

       Collecting s3transfer<0.3.0,>=0.2.0 (from boto3->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB)

       Collecting docutils<0.16,>=0.10 (from botocore<1.14.0,>=1.13.19->boto3->transformers==2.1.1->-r /tmp/build_bcc6a26026f442757fc10adbdf25eb7f/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl (547kB)

       Installing collected packages: Werkzeug, click, itsdangerous, MarkupSafe, Jinja2, Flask, Six, flask-cors, joblib, numpy, pytz, python-dateutil, pandas, prettytable, tqdm, sacremoses, regex, sentencepiece, idna, certifi, chardet, urllib3, requests, jmespath, docutils, botocore, s3transfer, boto3, transformers, scipy, scikit-learn, tika, torch, markdown, wget

         Running setup.py install for prettytable: started

           Running setup.py install for prettytable: finished with status 'done'

         Running setup.py install for sacremoses: started

           Running setup.py install for sacremoses: finished with status 'done'

         Running setup.py install for tika: started

           Running setup.py install for tika: finished with status 'done'

         Running setup.py install for wget: started

           Running setup.py install for wget: finished with status 'done'

       Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Six-1.13.0 Werkzeug-0.16.0 boto3-1.10.19 botocore-1.13.19 certifi-2019.9.11 chardet-3.0.4 click-7.0 docutils-0.15.2 flask-cors-3.0.8 idna-2.8 itsdangerous-1.1.0 jmespath-0.9.4 joblib-0.13.2 markdown-3.1.1 numpy-1.17.4 pandas-0.25.0 prettytable-0.7.2 python-dateutil-2.8.1 pytz-2019.3 regex-2019.11.1 requests-2.22.0 s3transfer-0.2.1 sacremoses-0.0.35 scikit-learn-0.21.2 scipy-1.3.2 sentencepiece-0.1.83 tika-1.19 torch-1.3.1 tqdm-4.32.2 transformers-2.1.1 urllib3-1.25.7 wget-3.2

-----> Discovering process types

       Procfile declares types -> (none)

-----> Compressing...

 !     Compiled slug size: 826.7M is too large (max is 500M).

 !     See: http://devcenter.heroku.com/articles/slug-size

 !     Push failed

Error: https://devcenter.heroku.com/articles/slug-compiler#slug-size


Change to component architecture

Everything sits in index.js currently. For more customization, there can be a component that takes props like company names in order to generate the feed. Use cases are for people to select blogs to read via multiselect and clicking the company name on any post should link to a feed of posts from only that compnay.

Also need to add a legend of companies somewhere maybe


ModelChoiceField label_from_instance is ignored

#607 was closed but when using v3.1.5 on Django 1.9.6 label_from_instance is never called and only the __str__ representation is shown.
Correction: this is only an issue during the autocomplete listings. Once the field is saved and the form reloaded, the correct label is used.

Well we can't call the label_from_instance method from the view at this point because the view doesn't have neither the form nor the form field object.
We could call it on form rendering though, if it's not already the case.
Thoughts ?

Any suggestion you would like to suggest ? ;)

Should we let the user pass a widget class to the autocomplete view so that it reuses the label_for_instance method ?

I don't really know enough about how your code works to suggest solutions other than to have some way of being able to choose how the autocomplete result is displayed based on the model instance - whether that is a widget class or some other method.

Doesn't run for me:

[te] 18/10 2016 00:23:49 jpic@lue /tmp/test  (master)
$ python manage.py runserver
Unhandled exception in thread started by <function wrapper at 0x7fbadfeca230>
Traceback (most recent call last):
  File "/tmp/test/te/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/tmp/test/te/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 113, in inner_run
    autoreload.raise_last_exception()
  File "/tmp/test/te/lib/python2.7/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception
    six.reraise(*_exception)
  File "/tmp/test/te/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/tmp/test/te/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/tmp/test/te/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/tmp/test/te/lib/python2.7/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named datetimewidget
^C

Even after removing pyodb and pyodb azure from requirements and installing them.
Could you try to reproduce the issue in a minimal project please ? The best is to fork test_project and reproduce it in a new app there
Thanks


flutter autofill not working for ios - flutter version : 3.22.0 or later

Steps to reproduce

Use flutter autofill group to the text field
It will prompt the saved password while focusing on the text field, but when you tap on the saved password, stored in the keychain by using the keyboard, then it does not auto-filling  in the email id and password text field

**Note: This issue is not available in flutter version 3.19.6, but occurs in 3.22.0 or later versions
Expected results
Keychain stored credentials should auto-fill
Actual results
Keychain stored credentials are not auto-fill
Code sample
Code sample
AutofillGroup(
      child: Column(
        mainAxisSize: MainAxisSize.min,
        children: [
          Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Row(
                children: const [
                  Text(
                    AppStrings.username,
                    style: TextStyle(
                      fontSize: 15.0,
                      fontWeight: FontWeight.w400,
                      color: app_theme.grayTwo,
                    ),
                  ),
                ],
              ),
              SizedBox(height: MediaQuery.of(context).size.height * 0.008),
              Container(
                height: MediaQuery.of(context).size.height * 0.05,
                alignment: Alignment.centerLeft,
                decoration: BoxDecoration(
                  color: app_theme.grayOne,
                  borderRadius: BorderRadius.circular(5.0),
                ),
                child: TextFormField(
                  key: const Key("Login_Email_Text"),
                  controller: loginController.emailTextCon,
                  keyboardType: TextInputType.emailAddress,
                  autofillHints: const [
                    AutofillHints.email,
                    AutofillHints.username,
                  ],
                  decoration: const InputDecoration(
                      hintText: AppStrings.enterUsername,
                      contentPadding: EdgeInsets.only(left: 7, right: 7),
                      border: OutlineInputBorder(borderSide: BorderSide.none),
                      hintStyle: TextStyle(
                          fontSize: 15.0, fontWeight: FontWeight.w400)),
                  onSaved: (value) =>
                      loginController.emailTextCon.text = value!.trim(),
                ),
              ),
            ],
          ),
          SizedBox(height: MediaQuery.of(context).size.height / 45),
          Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Row(
                children: const [
                  Text(
                    AppStrings.password,
                    style: TextStyle(
                      fontSize: 15.0,
                      fontWeight: FontWeight.w400,
                      color: app_theme.grayTwo,
                    ),
                  ),
                ],
              ),
              SizedBox(height: MediaQuery.of(context).size.height * 0.008),
              Obx(
                () => Container(
                  height: MediaQuery.of(context).size.height * 0.05,
                  alignment: Alignment.centerLeft,
                  decoration: BoxDecoration(
                    color: app_theme.grayOne,
                    borderRadius: BorderRadius.circular(5.0),
                  ),
                  child: TextFormField(
                    key: const Key("Login_Pass_Text"),
                    controller: loginController.passTextCon,
                    obscureText: !loginController.passwordVisible.value,
                    keyboardType: TextInputType.visiblePassword,
                    autofillHints: const [AutofillHints.password],
                    decoration: const InputDecoration(
                      hintText: AppStrings.enterPassword,
                      contentPadding: EdgeInsets.only(left: 7, right: 5),
                      border: OutlineInputBorder(borderSide: BorderSide.none),
                      hintStyle: TextStyle(
                          fontSize: 15.0, fontWeight: FontWeight.w400),
                    ),
                    onSaved: (value) =>
                        loginController.passTextCon.text = value!.trim(),
                  ),
                ),
              ),
            ],
          ),
          const SizedBox(height: 20),
          Align(
            alignment: Alignment.centerLeft,
            child: InkWell(
              child: Row(
                mainAxisSize: MainAxisSize.min,
                children: [
                  const SizedBox(width: 2),
                  Obx(
                    () => SizedBox(
                      width: 16,
                      height: 16,
                      child: Checkbox(
                        key: const Key("Show_Password_chekBox"),
                        checkColor: Colors.white,
                        activeColor: Colors.black,
                        value: loginController.passwordVisible.value,
                        onChanged: (bool? value) {
                          loginController.passwordVisible.value =
                              value ?? false;
                        },
                      ),
                    ),
                  ),
                  const SizedBox(width: 7),
                  Container(
                    key: const Key("Show_Password_Text"),
                    alignment: Alignment.centerRight,
                    child: const Text(
                      "Show Password",
                      style: TextStyle(
                        fontSize: 13.0,
                        fontWeight: FontWeight.w400,
                        color: app_theme.blackOne,
                      ),
                    ),
                  )
                ],
              ),
              onTap: () {
                LogHandler.logInfo(
                    runtimeType, 'Show Password', 'Tapped on Show Password...');
                loginController.passwordVisible.value == true
                    ? loginController.passwordVisible.value = false
                    : loginController.passwordVisible.value = true;
              },
            ),
          ),
        ],
      ),
    );

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/3e1073fb-0cbb-4108-b617-c931e51b00b3
https://github.com/user-attachments/assets/ff0eedd1-ff51-4661-abf6-841195db6af0

Logs
Logs
No exception received

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.0, on macOS 14.4.1 23E224 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.92.2)
[✓] Connected device (6 available)
    ! Error: Browsing on the local area network for iPhone 1. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for iPhone 3. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for iPhone xr. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

@E2-venkat
I believe you are hitting https://github.com/flutter/flutter/issues/148475 which has been fixed and is available in stable 3.24.x version. I see that you are on 3.22. Please upgrade to latest stable and re-run your scenario to confirm it works.
I will close this as duplicate and already fixed. If you disagree, write in comments and I'll reopen it.


keyword vs code or reason

The use of code and reason seems more prevalent in error messages for describing the type of error. Any particular reason for choosing keyword over those?

@joshrtay with prior knowledge about how JSON schema works, you can easily identify the cause for the failure when you know which keyword failed.
I didn't want to use codes because of their cryptic nature, where I'd have to document each code and what it indicates. Keywords in JSON schema already provide the semantics and are well documented.
And I didn't want to use reason or a string description, because predefined (hard-coded) strings rarely satisfy all messaging needs in a program, thus most of the time requiring additional customization.


Firebolt not adding to the Thassilonian Specialist cantrip sets by default.

Exactly as it says on the tin. At least, doesn't work for Gluttony.

Fixed in 1.5.2