WT command open a different version terminal

Windows Terminal version
1.12.10393.0
Windows build number
10.0.19044.1469
Other Software
No response
Steps to reproduce

Click start menu open the terminal ,it will open 'Windows Terminal Version: 1.12.10393.0 '.
But when i use run window input 'wt',it will open 'Terminal (Unpackaged)Version: 1.12.220208003-release1.12'.

Expected Behavior
No response
Actual Behavior
I use thirdparty software everything to search settings.json,and I get two result:

So I have to copy one of them to another folder. It realy make me confuse.

This could also be due to a permission issue on the WindowsApps directory. Can you follow the remediation steps in #9452?

@zadjii-msft I just get them from Windows Store (Lastest version download from Github releases).
Here is the echo %path% and where wt output .

@DHowett Here ie the output .

Well yep that'll do it. Something messed with the permissions on the WindowsApps folder, which it should ABSOLUTELY NEVER DO. The output should have looked something like:
\Program Files\WindowsApps NT SERVICE\TrustedInstaller:(F)
                           NT SERVICE\TrustedInstaller:(OI)(CI)(IO)(F)
                           S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(RX)
                           S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(OI)(CI)(IO)(GR,GE)
                           NT AUTHORITY\SYSTEM:(F)
                           NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                           BUILTIN\Administrators:(CI)(RX)
                           NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(RX)
                           NT AUTHORITY\NETWORK SERVICE:(OI)(CI)(RX)
                           NT AUTHORITY\RESTRICTED:(OI)(CI)(RX)
                           BUILTIN\Users:(Rc,S,RD,REA,X,RA)

but those extra permissions are what's breaking the alias here. Did you do something to change the permissions on WindowsApps?

I am so regret did that . Maybe I should try to  re-install OS . :(
Anyway thank you for your support . I will never realizing what happened with my terminal without your help .

@0resan you may be able to restore the permissions using cacls like this
Admin Command Prompt
takeown "C:\Program Files\WindowsApps"
cacls "C:\Program Files\WindowsApps" /S:"D:PAI(A;;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;OICIIO;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;;0x1200a9;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)(A;OICIIO;GXGR;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;CI;0x1200a9;;;BA)(A;OICI;0x1200a9;;;LS)(A;OICI;0x1200a9;;;NS)(A;OICI;0x1200a9;;;RC)(XA;;0x1200a9;;;BU;(Exists WIN://SYSAPPID))"

This will replace all of the ACLs on WindowsApps with the "default" ones that I just pulled from a working system.
I cannot guarantee that it solves your problem... but it might :)

@DHowett  Yeah，it worked.  Thank you for this command ！


0 byte body treated as null in Feign clients

Note
This is a cross post from: https://stackoverflow.com/questions/50490439/0-byte-body-treated-as-null-in-feign-clients I will delete either if you request me to. I just wasn't getting exposure in the way I hoped on my original post so thought I'd try here too. @ryanjbaxter
Question
I have a protobuf message which contains a collection of other types:
message Container {
    repeated MyObject myObjects = 1;
}

If I happen to have no objects the proto3 serializer represents this as a 0 byte array.
In feign if I fetch this object I get back null rather than an instance of my Container with an empty collection inside.
If I turn on logging I see:

HTTP/1.1 200 OK (393ms)
content-type: application/x-protobuf
server: Jetty(9.2.z-SNAPSHOT)
transfer-encoding: chunked
END HTTP (0-byte body)
If I take Feign out of the equation and demonstrate deserialising an empty byte array with proto3 I get:

final MyProto.Container test = MyProto.Container.parseFrom(new byte[]{});
System.out.println("Size is: " + test.getMyObjectsList().size());

Which gives me:

Size is: 0

If there some way I can stop Feign interpreting empty byte arrays as null response objects. I am using the ProtobufHttpMessageConverter in my application context. To me it feels like it could be a bug since it stops sending of proto messages working without putting explicit null checks in, but perhaps this is actually intended behaviour and I misunderstand.

We'll only address one, so pick one

@spencergibb I will remove from stackoverflow. For clarity what is preferred from your perspective?

We prefer stack overflow for questions, GitHub for bugs and enhancements

@spencergibb ok thanks for clarifying. I'm actually not sure whether this is a bug or not. My feeling is that it is, but perhaps the spring cloud team would advise this is actually intended behaviour.

@davidgoate can you provide a sample that reproduces this issue?


graylog: init at 4.0.8, 4.3.9, 5.0.2

Description of changes
Add Graylog Releases 4.0 and 4.3 in current version. https://www.graylog.org/releases/
4.0 is needed for for the Upgrade Path to upgrade from 3.3 to 4.3 and thus cannot be skipped

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Removed redundant contents of the files

And another new version. Can we merge this finally, @SuperSandro2000?

check again

@pSub

@SuperSandro2000 Will this be merged before 23.05 or do I need to modify the part with the state version and the changelog again?


Add a simple-ish script for finding unbagged b numbers

Currently we have 232827 out-of-date bags!


data: project addition by Sasi Vardhan A

Add a new project to the list
I want to add a new project to the list
My Project is UserLocation. The UserLocation web app is useful in many real-world cases to locate the nearest available surrounding people. It's useful to locate Hospitals in case of emergency and also all the nearest places that can be located. This WebApp is built using JavaSpring Boot and Gradle.
Can you assign this to me.
I'm in gssoc'23.
Code of Conduct

[x] I agree to follow this project's Code of Conduct

Completed. Thanks for your contributions 🎉 ❤


⚠ Empornium has degraded performance

In c0b3940, Empornium ($EMP) experienced degraded performance:

HTTP code: 502
Response time: 1949 ms

Resolved: Empornium performance has improved in 19ec015 after 59 minutes.


allow to specify an encryption key for fylr configuration

currently, whenever a new version of the helm chart is deployed, the fylr encryption key gets recreated and causes problems with stored smtp passwords or s3 secret keys; to avoid this, the key can be defined in the chart to be consistent across deployments

@KlausThornProgrammfabrik Könntest Du das bitte freigeben?


Update Readme with instructions about git submodules

Signed-off-by: Bruno Dilly<EMAIL_ADDRESS>

yeah, makes sense.
in this case I'll properly list all of them
thanks

done
merged
thanks


Add meaningful information to resolve the issue

Description
https://openroad.readthedocs.io/en/latest/user/MessagesFinal.html
It is great to trace currently the source code of ERROR/WARN.
Based on current flow, it is good to add possible way to fix the ERROR by changing which variables or which stage of the flow need to be checked to resolve that particular issue. It is useful those who have less experience with source code files.
While running riscv32i, by changing some default variables got below error with ORFS flow.
[ERROR DPL-0044] Cell dmem.dmem0 with height 42000 is taller than any row.
Error: detail_place.tcl, 10 DPL-0044

Here what are the variables I need to tweak to resolve the error.

Placement density
Cell Padding
Re-Floorplan
Nothing helps to fix the issue, then user can file a github issue to resolve the issue.

Suggested Solution
Update https://openroad.readthedocs.io/en/latest/user/MessagesFinal.html Information with meaningful info.
Additional Context
No response

What setting did you tweak?  This is clearly a memory and should be placed by the macro placer or a user and should never be handled by dpl.

Maybe we should include a warning or better error message?

@maliberty
Just commented lines https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/flow/designs/asap7/riscv32i/config.mk#L5-L7 to skip RTLMP and use MPL for macro placement.
Then planning to use manual macro placement for lab exercise.

Maybe we should include a warning or better error message?

What do you have in mind?

Stale


Remove unneeded feature flags

With Interlay and Kintsugi for the most part feature equal, we should remove any unnecessary feature flags.

Done


Fixed issue 8 at common repository

Added a function to copy files to subdirectories of the build target dir.

I forked Priyam's previous PR and make some modifications followed by Vlad's and Albert's suggestion(https://github.com/SeattleTestbed/common/pull/22).

Fixed the error in config_initialize.txt and config_build.txt.
Improved readability and delete a unrelated comment in build_component.py.
For test_addsubdir.py, adding a function to call build_component.py directly and limit lines to a maximum of 79 characters.

This is my test result:
Xuefengs-MacBook-Pro:desktop Xuefeng$ git clone https://github.com/XuefengHuang/common
Cloning into 'common'...
remote: Counting objects: 239, done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 239 (delta 121), reused 213 (delta 107)
Receiving objects: 100% (239/239), 61.81 KiB | 0 bytes/s, done.
Resolving deltas: 100% (121/121), done.
Checking connectivity... done.
Xuefengs-MacBook-Pro:desktop Xuefeng$ cd common/scripts
Xuefengs-MacBook-Pro:scripts Xuefeng$ python initialize.py
Checking out repo from https://github.com/SeattleTestbed/common ...
Done!
Checking out repo from https://github.com/SeattleTestbed/utf ...
Done!
Checking out repo from https://github.com/SeattleTestbed/repy_v2 ...
Done!
Checking out repo from https://github.com/SeattleTestbed/seattlelib_v2 ...
Done!
Xuefengs-MacBook-Pro:scripts Xuefeng$ cd ..
Xuefengs-MacBook-Pro:common Xuefeng$ cp build_component.py ./DEPENDENCIES/common/
Xuefengs-MacBook-Pro:common Xuefeng$ cd tests
Xuefengs-MacBook-Pro:tests Xuefeng$ python test_addsubdir.py
Building into /Users/huangxuefeng/Desktop/common/RUNNABLE
Done building!
======================= test result =========================
subdir_all                                            [Pass]
subdir_utf                                            [Pass]
test1                                                 [Pass]
test2                                                 [Pass]
test3                                                 [Pass]
subdir_utf/tests                                      [Pass]
subdir_seattlelib_v2/v2/                              [Pass]
subdir_repy_v2/v2/                                    [Pass]
========================== end ==============================
Xuefengs-MacBook-Pro:tests Xuefeng$

Is there a reason why this unit test was not written for Seattle's Unit Test Framework?
I think the custom output is fine, but verify with @aaaaalbert.

I think this PR is mergeable once the inline comments above are addressed; let me know when you do so I can perform a final test of the subdirectory functionality.

The "subdir" functionality is available now in 1184e07f3a78b37880a863f72acbcee2c5bf1c30.
@vladimir-v-diaz, I addressed most of your comments in the version I pushed, save for mentioning "subdir" in the docstring. I do point to the build documentation however.
As for the discussion about writing proper unit tests, let's move that to #29.


add withRecursive to QueryBuilder typing

Let me know if there's anything else that needs to be added, I didn't see anything for it's counterpart withWrapped.

Coverage remained the same at 97.078% when pulling 64d896d486aaa791f0f57032aa971cb4daaaad1d on lecstor:master into 71cc1e0c9eefd3b9a40e2a1c5d1ea93b3cec50ab on Vincit:master.

Thank you!


We should probably update to ghc-8.0.1 sometime

But perhaps after the current --no-pie issue is properly resolved

Thanks for keeping things up to date. I haven't done GHC hacking in quite some time.

Current head now works with 8.0.1, via the ubuntu 16.10 versions from hvr's PPA


template specialization with no parameters in callback

It would be great to have a specialization of the Signal template when ParameterType is void.  Work-arounds such as using a dummy integer would force legacy slots to change their interfaces.  I'm okay with limiting the slot parameter count to one.  But I would also like to propose supporting a slot with no parameters.

Hey @glencornell, thanks for the suggestion! That sounds like a reasonable idea but I don't have time to work on it right now. If you're interested, feel free to submit a PR!


How to perform Full-text Search?

You see, I tried to execute select().textSearch(), which is provided by JS API, but it sems to not ported to the PythonAPI
Executing the same request as a raw SQL query to Postgres would've solved the problem, but I didn't find it either.
Could you give some guidance, on how such a functionality could be performed through your API?
Sorry if the questions are too basic, I just started to use it.

Let's port this over! Here's the JS source if anyone wants to take up the issue. Else I'll get to it when a slot frees up

Hey we just ported a utility text_search command over, going to close for now - feel free to give it a try -
the usage looks something like: client.from_("listing").select("*").text_search("description", f"'{query}'", {"type": "websearch", "config": "english"}).execute()
Going to close this issue for now but feel free to let me know if there are still issues
Thanks!


RotateRight actually rotates left

Function RotateRight calls RotateLeft which I think is typo, since RotateLeft also calls RotateLeft
https://github.com/Entomy/Numbersome/blob/70740267c61036b2e90f6a935b7d13c5683bb847/Numbersome/RotateRight.cs#L13

You are correct. This is a copypasta error.

Fixed and uploaded a new package. Thank you for letting me know!


GOV.UK homepage search box not fully clickable without javascript

See attached gif. When javascript is not available, the search area is smaller than the white area. If a user clicks on the right hand side, they can't action the box.

After having a poke in the dev console, this should be addressable (naively, not thoroughly tested) using:
label {
- float: left;
+ position: absolute;
}

input {
- width: 50%;
+ width: 86%;
+ width: calc(100% - 37px);
}

The same issue exists for the header search box, FYI

calc() isn’t supported in IE8 unfortunately.

Could we simplify the input and use a placeholder coupled with a hidden label?
Guessing this was done because IE8 does not support placeholders, so could we show the hidden label on browsers that do not support placeholders, this would simplify a lot of the code here and make the search input a lot dumber.
How it'd look for legacy browsers that don't have placeholder support:

Thanks @36degrees ! 🎉  https://github.com/alphagov/frontend/pull/1007


Error updating library

Device information
App version: <IP_ADDRESS> (standard, bb37f43, 134, 2021-11-30T11:22:39.107261)
Android version: 11 (SDK 30)
Android build ID: RMX2155_11_C.13
Device brand: realme
Device manufacturer: realme
Device name: RMX2155L1
Device model: RMX2155
Steps to reproduce
updating the library (manual or automatic)
Expected behavior
update the library
Actual behavior
infinite loading
Other details
Device product name: RMX2155EEA--------- beginning of system
12-18 23:15:17.701 14095 14095 E OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
12-18 23:15:56.815 15040 15040 E OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
--------- beginning of main
12-18 23:16:01.891 15040 15040 E libEGL  : Invalid file path for libcolorx-loader.so
12-18 23:16:01.892 15040 15040 E libEGL  : Invalid file path for libcolorx-loader.so
you can update one manga if you go to the manga and update

logged out and relogin worked


Disabling a key also disables key chords

What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
kitty 0.33.0
Did you try the latest code to see if this problem got fixed?
Not tried, and I'll explain why below
yazi --debug output

Yazi
    yazi 0.2.4 (b10f2de 2024-03-09)

Environment
    OS: macos-aarch64 (unix)
    Debug: false

Emulator
    Emulator.via_env: ("xterm-kitty", "")
    Emulator.via_csi: Ok(Kitty)
    Emulator.detect: Kitty

Adaptor
    Adaptor.matches: Kitty

tmux
    TMUX: false

Zellij
    ZELLIJ_SESSION_NAME: None

Desktop
    XDG_SESSION_TYPE: None
    WAYLAND_DISPLAY: None
    DISPLAY: None

Ueberzug
    Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Describe the bug
Sorry about the headline, I couldn't think of anything better.
I want to unbind d as trash command and bind it to dd (sorry, blame my muscle memory 😆 )
My approach is like so
# Unbind d
[[manager.prepend_keymap]]
on = [ "d" ]
run = ["dsagflasgd"]
desc = "Unbind default trash mapping"

# Use trash-cli to trash file
[[manager.prepend_keymap]]
on = [ "d", "d" ]
run = ['''
    shell --confirm 'trash-put "$@"'
''']
desc = "Move the files to the trash"

However, it does not work. I guess by mapping d to "noop" yazi ignores all following keystrokes and mappings?
Expected Behavior
Hitting dd triggers the configured run command
To Reproduce
see above toml snippet
Configuration
see above toml snippet
Anything else?
No response

Hi, this is the expected behavior. prepend_keymap is used to prepend items to the keymap, so the items appearing earlier have higher priority (matched first). Therefore, you can simply:
[[manager.prepend_keymap]]
on = [ "d", "d" ]
run = ['''
    shell --confirm 'trash-put "$@"'
''']
desc = "Move the files to the trash"

without the need to unbind d, as it has been covered by d => d and will never match. Let me know if it works for you!

Hi, thank you again for your kind reply. I read the docs about precedence, but apparently, I did something wrong. Oddly, that works 😆


Unit tests

Functionality is added to the project, but having no tests to confirm if change is a breaking change or not is hindering potential contributors will to make contribute.
This is not a trivial task with an existing code base, but at least having a test project would help. Adding some more trivial tests (such as a test for ConversionHelper) could be a start.
Thoughts @paolosalvatori ?

Sorry for the delayed answer! Feel free to send me an email with more details.

done


[mgmt] add missing tsp-location

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


Publish Xamarin-Sidebar as Nuget package

Hi,
Are you considering this? Is there anything i can do to help?

Agree, this would be quite useful.

This is up on Nuget: https://www.nuget.org/packages/SidebarNavigation/

Nice!


Improve Mapping::find_match to return error when multiple replacements are possible.

The following code should return an error when multiple replacements can be done.
https://github.com/FuelLabs/sway/blob/71e9ea903e291f02c72c75c69cd078440bc9e4a0/sway-core/src/decl_engine/mapping.rs#L112-L119

Started some light work on this, how can I quickly test if I'm in the right direction?


endless heredocs don't consume rest of document

Closes #23
This works on paper but not 100% as I'm not as familiar with the heredoc parsing here.
Also, this change could go either way, as it's debatable which is preferable. I think this way is better as when adding a new heredoc to the middle of a document, you don't have to deal with everything else in the document being turned into a string until you add the heredoc end. But if you're changing the heredoc name, you may end up with the contents inside parsed as Crystal.

The implementation looks good.
I don't have a strong opinion about whether this change is an improvement. But I'm leaning towards not making this change, just because it's a little surprising.
My experience with Ruby syntax highlighting in the past has always been that a missing heredoc terminator causes the rest of the document to be highlighted as heredoc contents. tree-sitter-ruby also works this way.

That's valid. My thought process with this is just to limit the scope of errors as much as possible. I can leave this as a draft PR if we ever decide to come back to it.


Completion fails to render on line with multi-byte characters

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
It seems that accepting completion fails to render properly when there are multi-byte characters on the same line.
https://github.com/user-attachments/assets/969e2080-8128-4224-8840-540fe40cea6b
The error is caused by the following lines of code:

https://github.com/Saghen/blink.cmp/blob/main/lua/blink/cmp/accept/text-edits.lua#L6

https://github.com/neovim/neovim/blob/v0.10.2/runtime/lua/vim/lsp/util.lua#L483

This issue is reproducible with Neovim version 0.10.2.
After updating to Neovim version v0.11.0-dev-1205+g07db909eb5, the error no longer occurs.
However, it still exhibits incorrect behavior.
https://github.com/user-attachments/assets/107e1012-9749-4268-a3f5-1dfd89b31b28
it duplicates some characters.
Relevant configuration
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
    local lazyrepo = "https://github.com/folke/lazy.nvim.git"
    vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
end
vim.opt.rtp:prepend(lazypath)

vim.g.mapleader = " "
vim.g.maplocalleader = "\\"

require("lazy").setup({
    {
        "saghen/blink.cmp",
        version = "v0.*",
        opts = {
            keymap = {
                ["<CR>"] = { "accept", "fallback" },
                ["<Tab>"] = { "select_next", "fallback" },
                ["<Down>"] = { "select_next", "fallback" },
                ["<S-Tab>"] = { "select_prev", "fallback" },
                ["<Up>"] = { "select_prev", "fallback" },
            },
            trigger = { signature_help = { enabled = true } },
            windows = { autocomplete = { selection = "manual" } },
        },
    },
})

neovim version
0.10.2, 0.11.x
blink.cmp version: branch, tag, or commit
main

Somehow I can't reproduce this problem on two of my devices. Is your content in UTF-8 or other encodings like SJIS?

This reproduction was created using only the above config as init.lua and blank buffer.
So the encoding should be the default, utf8?

When I tried to use main instead of v0.5.1, the problem did not seem to occur.
So I'm going to close this and wait for the next release. Thanks for your support! 😉


[BUG] Ingress related tests fails in post upgrade checks on k3s v1.26 after upgrade from v1.25.

Rancher Server Setup

Rancher version: v2.7.5-rc1
Installation option (Docker install/Helm Chart): Docker
Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.25
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Amazon EC2

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin

Describe the bug

Ingress related tests fails in post upgrade checks on k3s v1.26 after upgrade from v1.25.
To Reproduce

Provision 3 etcd, 2 cp, 3 worker nodes K3s v1.25 cluster - custom cluster
Run pre upgrade checks
Upgrade to 1.26 K3s version
Verify all nodes have k8s version upgraded to 1.26
Run post upgrade checks on the downstream clusters.

Result
Ingress related tests fails in post upgrade checks.
traefik pod shows error similar to following.
2023-05-17T13:53:48.961454111Z time="2023-05-17T13:53:48Z" level=error msg="Cannot create service: endpoints not found" namespace=mystep2-ns1 serviceName=ingress-7e16fcb620599d283b7a2399e2880336 servicePort="&ServiceBackendPort{Name:,Number:80,}" providerName=kubernetes ingress=mystep2-testingress2
Expected Result
All the post upgrade checks should pass.
Additional context
This was observed while testing K8s v1.26 support.

@vivek-shilimkar Looks like you're creating ingress from old UI, is that the right assumption? Not that it matters but just to keep things simpler, I created ingress using new UI and could still reproduce the issue but I no longer see the error in the traefik pods.
What I am seeing is that http://ing.default.xx.xx.xx.xx.sslip.io/name.html continues to work from the host itself, but it fails from outside - unable to connect to port 80 curl: (7) Failed to connect to [ing.default.xx.xx.xx.xx.slip.io](http://ing.default.xx.xx.xx.xx.slip.io/) port 80: Couldn't connect to server. Restarting traefik service pods svclb-traefik fixes the issue.
@rancher-max also tried this on standalone k3s cluster and reproduced the issue, so going open a new issue under k3s-io/ instead.

Looks like this will be addressed by new k3s versions to be introduced as part of https://github.com/rancher/rancher/issues/41615, adding release-note label to ensure we document a known issue with previously released versions.

Since K3s team released May patch, moving this issue to test

New k3s versions are released, but yet to be available via KDM so can be tested after https://github.com/rancher/kontainer-driver-metadata/pull/1137 is merged.

Moving to blocked unti this PR is merged - https://github.com/rancher/kontainer-driver-metadata/pull/1137

since PR is merged https://github.com/rancher/kontainer-driver-metadata/pull/1137 moving the issue to test

Tested the issue on newly released k3s v1.26.5+k3s1.
Test steps

Provision 3 etcd, 2 cp, 3 worker nodes K3s v1.25 cluster - custom cluster
Run pre upgrade checks
Upgrade to 1.26 K3s version
Verify all nodes have k8s version upgraded to 1.26
Run post upgrade checks on the downstream clusters.

Post upgrade checks are passing. Hence, closing this issue.

@vivek-shilimkar Could you describe the issue from a customer perspective? This one requires a release note and I'm not sure how to express the problem in a way that makes it pertinent to a customer attempting to upgrade.


WIP - Key management API

Resolves #665
Since some folks will be unavailable, I'm submitting this early for review.
Still pending a few tests and a couple of known items that need to be addressed, but I just wanted to get some general feedback.

API details
## **Function keys collection resource:** *admin/functions/{functionname}/keys*
### **GET**
*Retrieves the function keys*
Request:
GET /admin/functions/{functionname}/keys

Response:
{
  "keys": [
    {
      "name": "keyname",
      "value": "keyvalue",
      "links": [
        {
          "rel": "self",
          "href": "https://baseuri/admin/functions/{functionname}/keys/{keyname}"
        }
      ]
    }
  ],
  "links": [
    {
      "rel": "self",
      "href": "http://baseuri/admin/functions/{functionname}/keys"
    }
  ]
}

Function key resource: admin/functions/{functionname}/keys/{keyname}
PUT
Creates or updates the key at the specified resource
Request:
PUT /admin/functions/{functionname}/keys/{keyname}

{
  "name": "keyname",
  "value" : "keyvalue"
}

Response:
HTTP Status: 200
{
  "name" : "keyname",
  "value" : "keyvalue",
  "links": [
    {
      "rel": "self",
      "href": "https://baseuri/admin/functions/{functionname}/keys/{keyname}"
    }
  ]
}

POST
Creates or updates the key at the specified resource with an auto generated key
Request:
POST /admin/functions/{functionname}/keys/{keyname}

Response:
HTTP Status: 200
{
  "name" : "keyname",
  "value" : "keyvalue",
  "links": [
    {
      "rel": "self",
      "href": "https://baseuri/admin/functions/{functionname}/keys/{keyname}"
    }
  ]
}

DELETE
Deletes the key identified by the URI
Request:
DELETE /admin/functions/{functionname}/keys/{keyname}

Response:
HTTP Status: 204
Host keys collection resource: admin/host/keys
The host keys collection resource exposes the same APIs as the function keys collection resource.
Note: The master  key is not returned on a GET request
Host key resource: admin/host/keys/{keyname}
The host key resource exposes the same APIs as the function keys collection resource.
Note: The master  key is exposed under the reserved name _master and DELETE is not supported
</details

A few comments/questions, but overall looks clean :)


Update/uninstall leaves VS2013 extension behind

If you uninstall code contracts, either manually or by installing a new version, the VS2013 extension stays installed or stays at the old version. The whole folder C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\CodeContracts isn't removed.

I can confirm this.Happens on every update in VS2013.4

This causes Visual Studio to indicate that there's an update to the Code Contracts for .NET extension even though the latest version is installed.
For example:
Current Version: 1.7.11106.10
New Version: 1.7.11202.10
In this case, there's a directory for both versions in that folder:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\CodeContracts\1.7.11106.10
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\CodeContracts\1.7.11202.10
For reference, see the following:
http://stackoverflow.com/questions/27914824/code-contracts-version-does-not-updated
Thank you.

This still happens with  1.9.10714.2

Same here. This confuses VS a great deal, misreporting the version number unless you remove the folder(s) and touch the extensions.configurationchanged file.
It may be related, I've noticed the install/repair/uninstall process takes a suspicious amount of time, the progress bar getting stuck at about 80% as if it was wrestling against a file in use or something similar.

It may be related, I've noticed the install/repair/uninstall process takes a suspicious amount of time, the progress bar getting stuck at about 80% as if it was wrestling against a file in use or something similar.

This is calls to devenv /setup. Unfortunately not avoidable when you manually install extensions (e.g. use MSI instead of just having the user open a VSIX).

Yes, devenv /setup is very slow.
However the installer calls devenv /setup while the old extension is still there. The installer should first remove the old version, then call devenv /setup.

@tom-englert Yes that is correct. My comment was only meant to clarify that the "hang" isn't the problem here; failing to remove the extension files is.

@sharwell

This is calls to devenv /setup. Unfortunately not avoidable when you manually install extensions (e.g. use MSI instead of just having the user open a VSIX).
I did not look into details how the extension is installed, but packing the VSIX into the MSI and just call the VsixInstaller.exe as a custom action could simplify the installation, fix issues with left-behind versions and speed up the installation.

@tom-englert Eventually the best possible experience would be an installation that only required VSIX and NuGet. As long as the MSI is used, we'll be fine as long as it properly detects installed versions and knows how to remove itself (both of which should now be in place).

@sharwell it was just an idea - however never change a running system :smile:

Reopen. This issue is still here. asking for the update in VS after uninstall it still asks. after the vs extensions codecontract folder is removed it STILL asks for update.

I too have the problem with the wrong version number and it looks like the problem ist that for VS 2015 the current installer contains a wrong extension.manifest file (V14extension.manifest in the msi package) with the version 1.8.10107.10.
The manifest files for V10, V11, V12 are correct.

@joemey same problem too

@joemey same problem with VS2015 Update 2.

Is this fixed in the strong sense "new versions tidy up after old versions" or only in the weak sense "new versions don't leave any mess of their own"?
I followed http://stackoverflow.com/a/27914825/284795 to cleanup Code Contracts on my computer

I had to manually edit the manifest file to update the version listed in VS2015


Split transactions aren't handled properly

When I choose a template transaction that has multiple postings, hledger-iadd will offer only the first two for completion -- unlike hleder add.

I don't really understand what you mean by "template transaction". Could you please describe the difference in behaviour between hledger add and hledger-iadd in more detail?

Just use the journal
2016/11/24 This is a test
    Foobar                               EUR 1000.00
    Foo                                  EUR -800.00
    Bar                                  EUR -200.00

and try to add another "This is a test" transaction to it with hledger-iadd, then you'll see what I mean.

I see what you mean now. hledger-iadd does suggest all three accounts, just in the wrong order. It also always suggests the balancing amount. Try entering a different amount for the "Bar" account.
This behaviour was partly intended but I think the current hledger add-way is indeed better. I'll see what I can do about implementing that.

I've changed the account suggestion to be more like hledger add. Does this fix your issues with it?

Does hledger-iadd-1.1.2 contain those fixes? I don't seem to see any difference in behavior when I tried that version.

No, this is currently only available in git. I'd like to test these changes a little more before making a release containing them.

I just released hledger-iadd-1.1.3 containing these fixes


Update CodeQL Action to v2

The version 1 of the CodeQL action is discontinued, so the workflow fails. Updated the use action to v2.

#sign-off


Bugged layout in Brave browser

Expected Behavior
normal layout/design
Current Behavior
layout is broken in brave browser

Possible Solution

Steps to Reproduce (for bugs)
use brave browser to view chartjs charts
Context
unreadable charts
Environment
Brave browser 0.62.51 Chromium: 73.0.3683.103 (MacOS)

@sweebee Please provide a codepen or jsfiddle that reproduces your issue.

Brave blocks "3rd-party device recognition" by default, that jsfiddle for example uses:
https://jsfiddle.net/2avdLxbk/1/
You need to allow that for charts to work properly.

So it a "feature" of brave. Then nothing seems wrong.


WRITE_EXTERNAL_STORAGE required?

The plugin currently requires WRITE_EXTERNAL_STORAGE permissions.
Why/where is this needed? From a security perspective I would like to avoid requiring this permission, especially as I'm only using the plugin to play audio which shouldn't need write access somewhere.

I think it need buffer some steam on the storage path sometimes. You can double check the source code to confirm.


Just placing an AudioStreamPlayer2D in a scene logs an error ingame

Godot 3.0.5 and master f1970e15b9450bff321f854d5ff1dbfc4bf80148
Windows 10 64 bits
Repro steps:

Create a new scene and place an AudioStreamPlayer2D in it. Leave the stream empty. By default, options show it should not play anyways:

Play the scene: notice an error is printed in the console:

ERROR: set_stream: Condition ' !p_stream.is_valid() ' is true.
   At: scene/2d/audio_stream_player_2d.cpp:244

This only happens with AudioStreamPlayer2D and AudioStreamPlayer3D.
I am also getting this as part of #20183.

This was fixed in master by #19646. Needs to be cherry-picked to the stable branch.

Closing as duplicate of #16846 then.


wg-akash-website 002-2023-03-07.md created

pre meeting file created for wg-akash-website working session #2

ping. what do you want to do with this?


Properly support code coverage reporting in the cov target

The cov target is the default for compiling test batteries, but historically it has not actually reported code coverage information. Provide a mechanism to have this reported.

It seems this will also involve introducing a new .PHONY target to generate code coverage reporting. I will name this target report, so users run make report to generate and read the code coverage report. This will also involve a new public symbol $COV and its flags $COVFLAGS, which should be included in a documentation update.

It seems that the best workflow for reporting code coverage requires a small hack. Instead of mangling target filenames to have their *.prof{raw,data} artefacts side-by-side, Slick will roll with a default.prof{raw,data} in the repository root for whichever test battery is being dealt with. This means that we do not need to do the insane acrobatics likely necessary to properly transform and synchronise the LLVM_PROFILE_FILE variable. However, the user will have to specify FILE=src/their_battery.c.tes to inform the report generator of which module was analysed.
In other news, code coverage generation is mostly present. I can’t wait to awk the output and display it on a webpage.

Work on GNU code coverage has not been implemented, nor is it known how feasible it will be on host platforms outside of Linux. Also yet to be investigated is the feasibility of code coverage when cross-compiling, for all such embedded platforms (trialing Windows with WINE would be a good start).


DuplicateObject

Hi,
I'm trying to create a new database connection in 'QFieldCloud admin' after deleting a previous connection. I'm now unable to enter a new 'Username' postgres because it already exists in the db. How can I remove the duplicate role 'postgres' in order to create a new connection or will it require entering the container in order to remove the role.

It is hard to say what happened, if you provide steps to reproduce and the full error stack will greatly help.
Note that GeoDB will soon be removed from QFieldCloud and it is not recomended to be used.
I am closing this issue as it is related to a module that will be not be exposed for usage from next version onwards.


feat: add miscellaneous policies in CEL expressions - Part 4

Related Issue(s)
Partially addresses https://github.com/kyverno/policies/issues/891
This PR includes the conversion of policies in the following folders:

psp-migration
tekton
velero

Description
Policies converted in this PR:
psp-migration

[x] check-supplemental-groups
[x] restrict-adding-capabilities
[x] restrict-runtimeClassName

tekton

[x] block-tekton-task-runs
[x] require-tekton-bundle

velero

[x] block-velero-restore
[x] validate-cron-schedule

Checklist

[] I have read the policy contribution guidelines.
[] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
[] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

@Chandan-DK - Can you please resolve the conflicts?

Conflict here now.


Change Animation Timer Bug

Changing the animation a lot causes multiple timers to be created which
eventually freezes redraw

Thanks!!


aoc2024-L-G

Repository URL
https://github.com/lGroesswang/aoc2024.git
Crate name
No response
Toolchain version
No response

Hey @lGroesswang, the workflow failed because you have a .git at the end of the repo url.
You can close this issue and recreate one with the correct link:  https://github.com/lGroesswang/aoc2024


🇺🇸  Translate ijai.vacuum.v3 fan speed to English

ijai.vacuum.v3 reports its fan speed list in ZH.
For English translation we would like to have it in English :)
Before:

After:

To enable it add the next lines to configuration.yaml:
xiaomi_miot:
  language: en

Thanks! I think it would be better to use sweep.suction_state instead of _globals.

Thanks! I think it would be better to use sweep.suction_state instead of _globals.

Agree. Done

Does it work for you? I still have fan speed in Chinese. :)


The JsColor License is too restrictive

Hi,
I noticed that JsColor, one of litegui's dependencies has quite a restrictive license that would not allow us to continue using litegui.
Would you be open to a pull request that replaces jsColor with a similar library but with a more flexible license (for instance, Spectrum)?
Thanks.

totally, and I always wanted to replace jscolor, right now is the only dependency that litegui has, and it is not that good. I just wanted a couple of its functionalities, so if you managed to make it work without breaking the callback of addColor, I am totally fine.


Document packages and release process

@montanalow Could you take a look and let me know if I'm missing some details. This should serve as both reference for us and onboarding documentation for new contributors.


Fix validator to make to work on JDK9

Fixes project to make it work on JDK9 with JEP 223
see http://openjdk.java.net/jeps/223 for more about new versioning.
The change to gmaven plugin is to make build work on windows.
policy change is needed to make tck testsuite pass on java 9.
Without this change WildFly testsuite fails spectacularly as pretty much every EE deployment gets validator enabled and it fails on its init.

I guess this addresses and fixes https://hibernate.atlassian.net/browse/HV-1048, right? Could you add the issue key to the message?

sure I didn't know jira already existed, let me change commit msg

@hferentschik updated commit message to reflect jira.
Btw, do you think we could have an release with this fix we can include WildFly 10?

@ctomc, do you have any idea why the policy file change is needed? Do you have a stacktrace of the error without the change, i.e. which code path is triggering the policy violation?

Btw, do you think we could have an release with this fix we can include WildFly 10?

10 Final? Unlikely. AFAIK there is code freeze for this release. Will be a subsequent maintenance release of Wildfly 10. I would think we try to get an update in, once we have a HV 5.3 final.

as said in the description of PR: "policy change is needed to make tck testsuite pass on java 9."
in any case example of exception:
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.jdk.internal")
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:468)
        at java.security.AccessController.checkPermission(AccessController.java:894)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:541)
        at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1497)
        at java.lang.Class.checkPackageAccess(Class.java:2405)
        at java.lang.Class.checkMemberAccess(Class.java:2384)
        at java.lang.Class.getMethod(Class.java:1816)
        at org.hibernate.validator.internal.util.privilegedactions.GetMethod.run(GetMethod.java:33)
        at org.hibernate.validator.internal.util.privilegedactions.GetMethod.run(GetMethod.java:17)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.hibernate.validator.internal.metadata.core.ConstraintHelper.run(ConstraintHelper.java:548)
        at org.hibernate.validator.internal.metadata.core.ConstraintHelper.isMultiValueConstraint(ConstraintHelper.java:347)

pretty much for all tests.

for release it would be useful anyway, if noting else to get it into EAP7, so another 5.2.x release would be great to have, It would also help us test wildfly/EAP on top of JDK9 even if we manually include it for testing branches.

as said in the description of PR: "policy change is needed to make tck testsuite pass on java 9."

Got that, I am more after the reason why this permission is needed now. It's a usage of the reflection API (Class#getMethod()), so it's not quite clear to me why this violates the "accessClassInPackage.jdk.internal" check (which it doesn't on 1.8). For now, we can merge that part as is but we'll need to understand what it exactly is about to see whether a) we need to change something on our side or b) update the required permissions in the docs.

JDK9 is moving to be more strict about using jdk internal apis on many levels  and looks like this is one of them.
looking at http://openjdk.java.net/jeps/220 this looks about right:

Enable the selective de-privileging of JDK classes that today are granted all security permissions but do not actually require those permissions.

But where does the code try to access something in the jdk.internal package? As @gunnarmorling I would like to understand the why here.

Thinking about it, we probably have two (it not three separate) issues here. The gmaven upgrade we could have maybe sneaked in here, but at least the security manager changes need probably a dedicated issue and discussion. Potentially we also need to teach out to the JDK guys. BTW, what is the exact error with gmaven and Windows?

Going to close this one, as I created #458, superseding it. Let's continue the discussion over there.
Regarding the SM change, I agree we need to analyze it, but I don't think this should stop us from merging this change. It just lets run the TCK on JDK 9, we can analyze separately whether that's the right approach or some actual coding change is needed. But being able to pass the TCK as part of the build helps with analyzing other potential issues.

@hferentschik error on windows before upgrading plugin is:

[ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.4:execute (configure-properties) on project hibernate-validator-tck-runner: startup failed, script1453366734662.groovy: 2: unexpected char: '' @ line 2, column 191.

@ctomc - cheers


Turn validate JSON button into an indicator

The Validate JSON button looks like an indicator telling me that my JSON is valid, but in fact it's just a green button. It's be nice if it changed colour (and icon) based on JSON validity and updated automatically as the JSON changed (you're already handling that event to show line by line validation).

Good idea


PR improvement: Use strict warnings on Linux Bazel RBE opt tests

There are apparently no required presubmit tests that use -Werror, which has been the source of a few reverts. This fixes that.

Closed in favor of https://github.com/grpc/grpc/pull/30985


[SPARK-35505][PYTHON] Remove APIs which have been deprecated in Koalas

What changes were proposed in this pull request?
Removes APIs which have been deprecated in Koalas.
Why are the changes needed?
There are some APIs that have been deprecated in Koalas. We shouldn't have those in pandas APIs on Spark.
Does this PR introduce any user-facing change?
Yes, the APIs deprecated in Koalas will be no longer available.
How was this patch tested?
Modified some tests which use the deprecated APIs, and the other existing tests should pass.

Test build #138896 has started for PR 32656 at commit 4f29780.

Test build #138896 has finished for PR 32656 at commit 4f29780.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43419/

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

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43419/

cc @HyukjinKwon @itholic @xinrong-databricks

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

Thanks! merging to master.


Check for "Full Album" string in youtube parser

I think that the string "Full Album" can be removed from the string


Greenkeeper/@types/node 12.7.2

Coverage remained the same at 100.0% when pulling 27bf8c929791fcbf77723ee2249c2fc9cf0e308f on<EMAIL_ADDRESS>into b2f49811d9b8e79f182ff33c0ff2aa212cd48633 on master.


Build out docs

Fully build out the docs, including more in-depth explanations of the different components and some how-to guides.

Codecov Report

Merging #53 (15c3923) into main (7ba9b49) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Docs are looking goooood! :)

I think the install documentation needs to be updated. I don't think this file exists mtenn/devtools/conda-envs/mtenn.yaml. I would update with how to install on conda-forge, then I would explain how to install the development version.
Once you do that give me a ping on slack and I will give it a review :)

@hmacdope and/or @mikemhenry I think these are done and ready for a review!


Left offset to show menu

Hi,
There is any way to show little part of left menu?
Like mine:
<----

I need show 20px of menu and after swipe --->> it show all.
Thanks.

@prsolucoes you can't. In the next release, I will extend the offset to 100% of the screen, allowing for more control.


Replace want digest sha1 and with sha

JIRA Ticket: https://jira.duraspace.org/projects/FCREPO/issues/FCREPO-2651
What does this Pull Request do?
Changes the algorithm accepted and returned in Want-Digest from sha-1 to sha
What's new?
A simple find and replace and a tonne of tests updated.
How should this be tested?
> curl -i -G -H"Want-Digest: sha-1" http://localhost:8080/rest/louis -ufedoraAdmin:fedoraAdmin
HTTP/1.1 400 Bad Request
Date: Thu, 02 Nov 2017 05:12:55 GMT
ETag: "810323d9c6f1ffce9984556f3da0f68f798f4ecf"
Last-Modified: Thu, 02 Nov 2017 05:07:27 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 68
Server: Jetty(9.3.1.v20150714)

Unsupported digest algorithm provided in 'Want-Digest' header: sha-1

> curl -i -I -H"Want-Digest: sha" http://localhost:8080/rest/louis -ufedoraAdmin:fedoraAdmin
HTTP/1.1 200 OK
Date: Thu, 02 Nov 2017 05:13:46 GMT
ETag: "810323d9c6f1ffce9984556f3da0f68f798f4ecf"
Last-Modified: Thu, 02 Nov 2017 05:07:27 GMT
Content-Type: image/jpeg
Accept-Ranges: bytes
Content-Disposition: attachment; filename=""; creation-date="Thu, 02 Nov 2017 05:07:27 GMT"; modification-date="Thu, 02 Nov 2017 05:07:27 GMT"; size=751
Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#NonRDFSource>;rel="type"
Link: <http://localhost:8080/rest/louis/fcr:metadata>; rel="describedby"
Allow: DELETE,HEAD,GET,PUT,OPTIONS
Digest: sha=8e2d52a73c3f1a750d7e566534a6542d3fbb75ac
Content-Length: 751
Server: Jetty(9.3.1.v20150714)

> curl -i -XPOST -H"Slug: LargeLouis" -H"Digest: sha1=4deb37262cf584ecb9ca838c433e22042ab3dac8" -H"Content-type: image/jpeg"<EMAIL_ADDRESS>http://localhost:8080/rest -ufedoraAdmin:fedoraAdmin
HTTP/1.1 100 Continue

HTTP/1.1 400 Bad Request
Date: Thu, 02 Nov 2017 05:21:32 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 75
Server: Jetty(9.3.1.v20150714)

Unsupported Digest Algorithm: sha1=4deb37262cf584ecb9ca838c433e22042ab3dac8

> curl -i -XPOST -H"Slug: LargeLouis" -H"Digest: sha=4deb37262cf584ecb9ca838c433e22042ab3dac8" -H"Content-type: image/jpeg"<EMAIL_ADDRESS>http://localhost:8080/rest -ufedoraAdmin:fedoraAdmin
HTTP/1.1 100 Continue

HTTP/1.1 201 Created
Date: Thu, 02 Nov 2017 05:22:13 GMT
ETag: "c3cb2594ea3a0c7ffec272e3561722d6aa93c130"
Last-Modified: Thu, 02 Nov 2017 05:22:13 GMT
Link: <http://localhost:8080/rest/LargeLouis/fcr:metadata>; rel="describedby"; anchor="http://localhost:8080/rest/LargeLouis"
Location: http://localhost:8080/rest/LargeLouis
Content-Type: text/plain
Content-Length: 37
Server: Jetty(9.3.1.v20150714)

http://localhost:8080/rest/LargeLouis

Additional Notes:

Does this change require documentation to be updated? yes

https://wiki.duraspace.org/display/FEDORA4x/Fixity+Checking
https://wiki.duraspace.org/display/FEDORA4x/RESTful+HTTP+API+-+Containers#RESTfulHTTPAPI-Containers-post-example4
https://wiki.duraspace.org/display/FEDORA4x/RESTful+HTTP+API+-+Containers#RESTfulHTTPAPI-Containers-post-example4b

Does this change add any new dependencies? no
Does this change require any other modifications to be made to the repository (ie. Regeneration activity, etc.)? no
Could this change impact execution of existing code? possibly if someone is relying on SHA-1

Interested parties
@fcrepo4/committers

One other note, the example for how to test didn't work for me initially, but when I switched to using --data-binary instead of -d it worked as expected.  We may have calculated the checksums in a different ways.

@bbpennel : I would suggest that we keep the logic clean and add this minor breaking change to the list of breaking changes in 5.0. It is a small adjustment for anyone using sha-1.

@bbpennel I can't remember how I calculated the checksum but it is definitely possible that I did it with a binary option, which could account for the difference.

Thanks @awoods @bbpennel, sorry for the delay on wrapping this up.


Fix docs.

Thank you @tobyS! I left a few comments, because i would like to improve the code quality completely, and therefore i would like to close this MR. I will work on a better Typing now.

Lovely, that'd be even better. :+1:


update postgres INSERT to use single quotes

Ran across this error when doing the bpf-oneliners exercise
postgres=#insert into info values (1, "Chair");
postgres=# ERROR:  column "Chair" does not exist
LINE 1: insert into info values (1, "Chair");

+1

Thank you!


Misc DHCP6 changes

DHCP6 config file override, advanced and basic settings override each other so put them in single if/else statement. Currently code for all three setting types runs no matter which one is actually used.
A mix of literal tabs, spaces and \t is used in dhcp6c config file code. Convert evertyhing to use \t. A bit of housekeeping to keep things nice and tidy.
Supress errors when opening custom DHCP6 config file and check if content was successfully retrieved. Currently PHP throws error in case file does not exist.
Remove old dhcp6c and rtsold config scripts when bringing down interface. Currently only dhcp6c config file gets removed, but script files are left on file system.

Thanks for you feedback Renato. I have made the adjustments and also applied same fix to DHCP config file override function.


App crashes after leaving it open for a long time.

 circuit-breaker App crashes after leaving it open for a long time.


nixos-install --flake misbehaves with nix 2.3 in PATH

Describe the bug
A clear and concise description of what the bug is.
Steps To Reproduce
Steps to reproduce the behavior:

Boot a 21.11 installer
Attempt to install a flake-based system using e.g. nixos-install --flake .#system

Expected behavior
Either the flake is built and installed, or the command errors out.
Actual behaviour
Building the flake fails, and /etc/nixos/configuration.nix in the target system is used instead.
nixos-install --flake .#test
error: unrecognised flag '--experimental-features'
Try 'nix --help' for more information.
building the configuration in /mnt/etc/nixos/configuration.nix..

Additional context
As a workaround, the nixos-install command can be run in nix-shell -p nixUnstable.
Notify maintainers
Not sure who maintains this?
Metadata

system: "x86_64-linux"
host os: Linux 5.14.21, NixOS, 21.11 (Porcupine)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.16
channels(root): "nixos-21.03pre246062.420f89ceb26"
channels(linus): ""
nixpkgs: /var/lib/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

cc @grahamc @samueldr with whom I discovered this

I think this was fixed when the default nix version was updated.


signin form and forgot password shouldn't show up when you are on two factor code page

Steps
1.have two osf accounts one of which has two factor enabled
2. log in to the one with two factor account but stop at the two factor verification
you will see

3. then use the right top bar to log into another account, you will see

then if you enter the two factor code. You will log in as the first account.

Suggest Solution
Disabled the right top log in and forget password form when on two factor page.

I'm thinking this should be put on hold, pending @icereval 's CAS integration, which will involve changing the UI for sign-in/2fa.

Agreed -

This issue has been fixed in production. Now the navbar is not included on the page with the two-factor form:


Wrote documentation on structure of donkey code

I made notes as I was walking through the code to understand it. Hope this is useful for others.

Great. Thank you @adrianco


Log Snapshots

research about how log snapshots are implemented in other libraries
suggest a plan
implement
write tests to verify

Understanding some of the implementations;
Files, for example, will write the current LogEntry to the Snapshot file and truncate the LogEntry;
Creating a new Snapshot file again will contain the contents of the first snapshot and the new LogEntry, so the file will get bigger and bigger;
Will there be a better way? Thanks for sharing;

Here is my idea so far,
We want to keep a snapshot that is quick to read and verify and update while keeping it's size somewhat reasonable. Snapshot size will grow with log entries but the growth rate can be reasonably controlled in order for a node to be able keep its hardware requirements to be reasonable.
My idea is as below:

Define a cooldown period where a log entry is assumed to be finalized.
Finalized log entries are written to the snapshot, and the log entry is removed from the log file.

Questions I have:
Should the snapshot be synchronised across different nodes or not?

Questions I have:
Should the snapshot be synchronised across different nodes or not?

My idea is that each node will have its own snapshot;
If the data of a node is wrong at this time, it will first clear the self-generated data (including the snapshot + LogEntry), after that it will send a request to the Leader, and then the Leader will send the data (Snapshot + LogEntry) to that node.

My idea is as below:

Define a cooldown period where a log entry is assumed to be finalized.
Finalized log entries are written to the snapshot, and the log entry is removed from the log file.

Yes, I have thought about doing a snapshot at regular intervals as well.
Another idea is to take a snapshot when the LogEntry reaches a certain value;
For example: every thousand entries reached.

We want to keep a snapshot that is quick to read and verify and update while keeping it's size somewhat reasonable. Snapshot size will grow with log entries but the growth rate can be reasonably controlled in order for a node to be able keep its hardware requirements to be reasonable.

My current idea is to have two ways of storing it, not sure if that's feasible.

using file storage, snapshot files store all data at the current point in time (all data from the start of the program run)

using an embedded database for storage (I don't know if this is feasible, I haven't seen any implementation)

My idea is as below:

Define a cooldown period where a log entry is assumed to be finalized.
Finalized log entries are written to the snapshot, and the log entry is removed from the log file.

Yes, I have thought about doing a snapshot at regular intervals as well.
Another idea is to take a snapshot when the LogEntry reaches a certain value;
For example: every thousand entries reached.

I like this idea a lot, one method could be to have some checkpoints based on finalized log entries, so in case a node falls behind it becomes possible for it to just request a neighbouring node for finalized data from that checkpoint from which it fell behind.
Taking ideas from public blockchains I would like to implement this for the snapshots:
https://dl.acm.org/doi/10.1145/3651890.3672219
I would store the snapshot as a key value pair in something like a local rocksDB instance.
Where key is a monotonically increasing checkpoint id (could use a UTC timestamp) & value is actual contents of the logEntry that have been 'finalized'. The rateless invertible bloom filter would be built on the coded symbols encoding the difference between a local and remote copy of the node. Allowing for set reconciliation
Between a local node and the remote node.
Essentially flow would be:

Open a network connection with current leader
Check set difference by requesting a stream of coded symbols
Local node calculated difference and updates is own set
Close connection.

I would store the snapshot as a key value pair in something like a local rocksDB instance.

Sounds good, using a database would allow for incremental synchronization.
I've been planning to go ahead and implement file snapshots lately, but I've been busy lately.


Renamed MockSession to FakeSession

Renamed MockSession to FakeSession, fixing issue #47

Closing the PR without merging as it didn't have the most recent changes.


Add support for default value for property with type union & description being dropped

fix https://github.com/microsoft/typespec/issues/2894 Cannot use union variant as default value
fix https://github.com/microsoft/typespec/issues/2895 Description lost on union of primitive types

All changed packages have been documented!

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/236/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/236/


Certification // BrickPi3 + Raspberry Pi 3 + ev3dev-jessie-2017-02-11 + Java 8 + ev3dev-lang-java v0.4.0

Configuration:
#####################################
# Dexter Industries BrickPi3 config #
#####################################

# uncomment both if you are using BrickPi3
dtoverlay=brickpi3

####################################
# Dexter Industries BrickPi config #
####################################

# uncomment both if you are using BrickPi or BrickPi+
#dtoverlay=brickpi
#init_uart_clock=32000000

# uncomment only if you are using BrickPi+
#dtparam=brickpi_battery=okay

# If you are using Raspberry Pi 3 you *MUST* uncomment one of the following two
# options depending on if you plan to use Bluetooth or not. By default the
# Bluetooth uses the same UART as BrickPi, so the BrickPi will not work with
# Raspberry Pi 3 if you do not make a change here. Be aware that using Bluetooth
# on the "miniuart" operates at reduced throughput.

# uncomment to disable Bluetooth on RPi 3
dtoverlay=pi3-disable-bt

# uncomment both of these to enable bluetooth on the "miniuart"
#dtoverlay=pi3-miniuart-bt
#core_freq=250

# uncomment only if you are using BrickPi (not BrickPi+)
# and want to use Input Port 5 for I2C/NXT sensor, some sensors
# work at higher baudrates so you may want to tweak the value
#dtparam=i2c_baudrate=9600

# uncomment to disable BrickPi LEDs on boot.
#dtparam=brickpi_led1_trigger=none,brickpi_led2_trigger=none

# uncomment if you have a Model B Rev 1 board that uses gpio 21 instead of
# gpio 27
#dtparam=brickpi_led1_gpio=21

# uncomment if you have Adafruit 2.8" resitive touchscreen stacked on top
#dtoverlay=pitft28-resistive,rotate=90

# uncomment if you have Adafruit 2.8" capacitive touchscreen stacked on top
#dtoverlay=pitft28-capacitive,rotate=90

# uncomment if you have a mindsensors.com RTC sensor connected to input port 5
#dtoverlay=i2c-rtc,ds1307

dmesg:
[    2.738100] brickpi3 spi0.1: Mfg: Dexter Industries
[    2.742736] brickpi3 spi0.1: Board: BrickPi3
[    2.743918] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 83) (baudrate 100000)
[    2.751150] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    2.764311] brickpi3 spi0.1: HW: 3.2.1
[    2.767739] brickpi3 spi0.1: FW: 1.0.1
[    2.770848] brickpi3: probe of spi0.1 failed with error -22

This version is pretty experimental at the moment.
robot@ev3dev:/sys/class$ cd power_supply/
robot@ev3dev:/sys/class/power_supply$ ls

This board requires a new EV3Dev version.

http://www.ev3dev.org/docs/tutorials/setting-up-wifi-using-the-command-line/

The new version of BrickPi, has better ev3 sensor support than previous version.
It is very similar to the EV3 Brick support on EV3Dev.
I have to review some mode about GyroSensor.
@DexterInd Congrats, the product is pretty nice.
Juan Antonio


[Bug] : <zoro.to extension does not have subtitle>

Device information

Tachiyomi version: <IP_ADDRESS>
Android version: 10

Source information

Name: Kaith
Extension version: zoro.to

Steps to reproduce

First Step
Second Step

Expected behavior
to make the selection of video quality in the extension settings so that the viewers can easily watch the anime because they set automatically the video resolution
Actual behavior
to have subtitles on zoro.to extension,

Yes please 🙏 fix it


fix: 订正slider组件属性文件

Checklist

[ ] npm test passes
[ ] benchmarks are included
[ ] commit message follows commit guidelines
[ ] documents are updated

Description of change

感谢贡献。

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.705%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
10564

Relevant Lines:
11809

💛  - Coveralls


Possibly Incorrect Generated Type for disconnect in 0.27.1

Describe the Bug
I recently updated the typegraphql-prisma dependency from 0.25.1 to 0.27.1 and the prisma dependency from 4.16.2 to 5.4.2. After running the generation, I noticed several type errors in the application regarding the use of disconnect in relation queries. The way I had been using disconnect was to set the property to true when I needed to set a foreign key value on a table to null.  I checked the generated types after updating to 0.27.1 and the type of the disconnect property is a where input type. Before the update, the type was a scalar boolean input type. Is the type of the disconnect property on relations correct in the new release of typegraphql-prisma? The prisma documentation shows that setting the disconnect property to true is valid. If this is correct, how would I disconnect a related record if I don't have the foreign key id at the time of the query? Basically, I just need to be able to set the foreign key value to null.
To Reproduce
Below is a minimal example to show what I'm referring to.
schema.prisma (which is the same in both versions)
model QuestionTemplate {
  QuestionTemplateId                  Int                              @id @default(autoincrement())
  IndicatorTypeId                     Int?
  IndicatorType                       IndicatorType?                   @relation(fields: [IndicatorTypeId], references: [IndicatorTypeId], onDelete: NoAction, onUpdate: NoAction, map: "fk_QuestionTemplate_IndicatorType_IndicatorTypeId")

model IndicatorType {
  IndicatorTypeId                  Int                       @id @default(autoincrement())
  QuestionTemplate                 QuestionTemplate[]
}

Generated Update Input Type for 0.25.1
export declare class QuestionTemplateUpdateInput {
    IndicatorType?: IndicatorTypeUpdateOneWithoutQuestionTemplateNestedInput | undefined;
}

export declare class IndicatorTypeUpdateOneWithoutQuestionTemplateNestedInput {
    create?: IndicatorTypeCreateWithoutQuestionTemplateInput | undefined;
    connectOrCreate?: IndicatorTypeCreateOrConnectWithoutQuestionTemplateInput | undefined;
    upsert?: IndicatorTypeUpsertWithoutQuestionTemplateInput | undefined;
    disconnect?: boolean | undefined;
    delete?: boolean | undefined;
    connect?: IndicatorTypeWhereUniqueInput | undefined;
    update?: IndicatorTypeUpdateWithoutQuestionTemplateInput | undefined;
}

Generated Update Input Type for 0.27.1
export declare class QuestionTemplateUpdateInput {
    IndicatorType?: IndicatorTypeUpdateOneWithoutQuestionTemplateNestedInput | undefined;
}

export declare class IndicatorTypeUpdateOneWithoutQuestionTemplateNestedInput {
    create?: IndicatorTypeCreateWithoutQuestionTemplateInput | undefined;
    connectOrCreate?: IndicatorTypeCreateOrConnectWithoutQuestionTemplateInput | undefined;
    upsert?: IndicatorTypeUpsertWithoutQuestionTemplateInput | undefined;
    disconnect?: IndicatorTypeWhereInput | undefined;
    delete?: IndicatorTypeWhereInput | undefined;
    connect?: IndicatorTypeWhereUniqueInput | undefined;
    update?: IndicatorTypeUpdateToOneWithWhereWithoutQuestionTemplateInput | undefined;
}

Expected Behavior
I expect the generated types to be the same or at least match what Prisma is showing.
Logs
No applicable logs
Environment (please complete the following information):

OS: MacOS 14.1.1 (23B81)
Node 18.16.0
typegraphql-prisma 0.27.1
Prisma version 5.4.2
TypeScript version 5.1.6

Additional Context
No additional context that I can think of as relevant

Thank you for the quick response. So this is a limitation of GraphQL? Do you know of a good workaround? Or is there any work that could be done to resolve this issue? I would be open to contributing, but not sure where I would start with this.
Also, just for reference. I found this document that seemed relevant -> https://github.com/graphql/graphql-wg/blob/21e8ecd30934843cbb175758eaa3d80325cd0929/rfcs/InputUnion.md

There is also the oneOf directive on inputs which is still not part of the official spec but supported by most tooling afaik. Maybe that could work here? I am not sure if that is an option since it would mean an object with two fields instead of a single field passed directly as argument.

@geisterfurz007
The @oneOf does not make an input union.
In this case, we can't have disconnect field of type Boolean | SomePrismaType.
We would need to split them into disconnectBoolean: Boolean and disconnectComplex: SomePrismaType and then in resolver merge them into disconnect Prisma Client query object.

For further information, I upgraded to 0.27.0 and this issue does not exist in that version.

For further information, I upgraded to 0.27.0 and this issue does not exist in that version.

double-checking, you don't have this problem with 0.27.0?
we do have this problem with:
"typegraphql-prisma": "0.27.0",
"prisma": "4.16.2"

@shawnjones253, I confirmed we have the same problem in 0.27.0. There was an issue in my build process that was pulling an older version, so we were getting a false positive. We ended up just reverting 0.25.1.


[Dependency Scanning] Detect and ignore (and warn about) tautological imports

This matches the current behavior in ImportResolution. The change refactors an existing utility function to do this check from UnboundImport to a common utility used now also in the scanner.
https://github.com/apple/swift/blob/658989767730c6946304a5f2a42ed46c6be41ac4/lib/Sema/ImportResolution.cpp#L313

@swift-ci smoke test

@swift-ci smoke test


Use latest tag instead of git branch

Description of changes:
Re-use existing latest tag on repo instead of git branch. This helps out with the branch name/latest tag resolving properly in all environments.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test hook-tooling-presubmit

/lgtm
/approve


createPartitions missing method in admin client

This method is mentioned in the documentation for the admin client, however is not implemented or documented further.

That is very true. Looking at the protocol for createPartitions, it looks quite simple to implement, if you want to take a crack at it: https://kafka.apache.org/protocol#The_Messages_CreatePartitions


ERR_INVALID_RESPONSE

I am on mac OS X El Captain, I installed snappygrav and all the dependencies through composer. :pdf and pdfcomplete links don't work, I got an ERR_INVALID_RESPONSE page.

Please check the path to the wkhtmltopdf-i386 program in snappygrav.yaml files and, if different from the true path, change it accordingly.

Is it supposed to be an absolute path?

No, it's not necessary. If you are using is not a problem. It is important to refer to wkhtmltopdf program. For example: wk_path: 'vendor/h4cc/wkhtmltopdf-i386/bin/wkhtmltopdf-i386'
I do not know OS X. Check this page for the OS required version from wkhtmltopdf

I installed it on Ubuntu 16.04 and I got the same problem. I use the RTFM skeleton https://github.com/getgrav/grav-skeleton-rtfm-site

Try to comment the lines 140, 144 to 152 of the file snappygrav.php.
You can attach a screenshot coming out?

First attempt:
I installed Wkhtmltopdf with composer:
composer require h4cc/wkhtmltopdf-i386
It didn't work.
Second attempt:
I installed Wkhtmltopdf with apt:
sudo apt install wkhtmltopdf
and I changed Wkhtmltopdf Path to /usr/bin/wkhtmltopdf in the snappygrav plugin options.

I commented out the lines 140, 144 to 152 of the file snappygrav.php and I get this error when I try to generate the pdf:

Have you run the composer require knplabs/knp-snappy command ?
Check that there is the vendor/knplabs/knp-snappy/src/Knp/Snappy folder.

Ok, I executed the commands from the grav root folder:
composer require knplabs/knp-snappy
The folder vendor/knplabs/knp-snappy/src/Knp/Snappy is there now.
I removed
wkhtmltopdf installed by apt because apparently it doesn't work in an headless environment (I am running Ubuntu 16.04 Server)
http://unix.stackexchange.com/questions/192642/wkhtmltopdf-qxcbconnection-could-not-connect-to-display
And I installed it with composer from the grav root folder:
composer require h4cc/wkhtmltopdf-i386
Now when I generate a pdf apparently nothing is happening. If I uncomment the lines 140, 144 to 152 I got the initial error again.

I also changed the plugin settings updating the path of wkhtmltopdf

The binary wkhtmltopdf-i386 is presented in the specified folder.

Try adding in snappygrav.php file after line 30 this:
if (!class_exists('Knp\Snappy\Pdf')) {
    $this->grav['debugger']->addMessage( "Knp\Snappy\Pdf doesn't exist! Run 'composer require knplabs/knp-snappy'" );
    return;
} else {
    $this->grav['debugger']->addMessage( "Knp\Snappy\Pdf OK" );
}

$wk_path = ROOT_DIR . $this->config->get('plugins.snappygrav.wk_path');
if (!file_exists($wk_path)) {
    $this->grav['debugger']->addMessage( "wkhtmltopdf doesn't exist! Run 'composer require h4cc/wkhtmltopdf-i386'" );
    return;
} else {
    $this->grav['debugger']->addMessage( "wkhtmltopdf OK" );
}

Then make sure that Admin, Configuration, System, Display errors & Debugger are both Yes:
this allows you to see Messages in debug environment...

I added the snippet you suggested but I was getting again the initial error.
I changed the wkhtmltopdf from a relative path to an absolute path. Now I don't get any error but apparently, nothing happens when I generate the pdf, it redirects to my initial HTML page.

wkhtmltopdf path:

Debug output:

Output when I try to run wkhtmltopdf by commandline:

From the plugin folder where you are (~/www/html/user/plugins/snappygrav) - when 'binary' is not on the path and not in the current dir - you have to write the whole path, probably: /home/YOUR_USERNAME/www/html/vendor/h4cc/wkhtmltopdf-i386/bin/wkhtmltopdf-i386
otherwise - much better - you have to go in bin folder and run ./wkhtmltopdf-i386

Please check again my latest screenshot, that's exactly what I did, I am using the absolute path
/home/grav/www/html/vendor/h4cc/wkhtmltopdf-i386/bin/wkhtmltopdf-i386
My username is grav, I have installed and configured Ubuntu 16.04 server following the official Grav guide: https://learn.getgrav.org/webservers-hosting/vps/digitalocean

You're right, try going directly in the program folder and run ./wkhtmltopdf-i386

Ok, I had the wrong binary installed, I went on and installed the 64bit version :
composer require h4cc/wkhtmltopdf-amd64
And I updated the path on the plugin settings with an absolute path:
/www/html/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64
but it didn't work, debugging the code made it clear that the path must be relative to the grav root.
Finally I set the path to:
vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64
and I got the pdf generated.
Unrelated question:
The generated pdf got the images cut horizontally, any way to workaround this issue?
Browser view:

Pdf generated:

Well!
At about the pictures you have to do within the .md file
The content of the pages is treated by snappygrav.html.twig

Thank you!


[windows] Remove unused code

Summary
delete dead code

Test Plan

What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility

OS
Implemented

iOS
✅❌

Android
✅❌

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


NestedScrollCoordinator: The method '>' was called on null

I get his Exception occasionally when opening the app:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (19651): The following NoSuchMethodError was thrown building Builder(dirty):
I/flutter (19651): The method '>' was called on null.
I/flutter (19651): Receiver: null
I/flutter (19651): Tried calling: >()
I/flutter (19651):
I/flutter (19651): When the exception was thrown, this was the stack:
I/flutter (19651): #0      _NestedScrollCoordinator.get:hasScrolledBody (package:flutter/src/widgets/nested_scroll_view.dart:493)
I/flutter (19651): #1      _NestedScrollViewState.build.<anonymous closure> (package:flutter/src/widgets/nested_scroll_view.dart:339)
I/flutter (19651): #2      Builder.build (package:flutter/src/widgets/basic.dart:5736)
I/flutter (19651): #3      StatelessElement.build (package:flutter/src/widgets/framework.dart:3774)
I/flutter (19651): #4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3721)
I/flutter (19651): #5      Element.rebuild (package:flutter/src/widgets/framework.dart:3547)
I/flutter (19651): #6      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2286)
I/flutter (19651): #7      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:676)
I/flutter (19651): #8      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219)
I/flutter (19651): #9      _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990)
I/flutter (19651): #10     _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930)
I/flutter (19651): #11     _RenderingFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751)
I/flutter (19651): #13     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382)
I/flutter (19651): #14     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416)
I/flutter (19651): #15     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171)
I/flutter (19651): (elided one frame from package dart:async)
I/flutter (19651): ════════════════════════════════════════════════════════════════════════════════════════════════════

I can't seem to figure out a pattern when it happens, all I have is this Exception that doesn't really tells me much, so I decided to post it here in hope that someone might know what this could cause.

[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.3 18D109, locale de-DE)
    • Flutter version 1.0.0 at /Users/jonas/flutter
    • Framework revision 5391447fae (3 months ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/jonas/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/jonas/Library/Android/sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] Android Studio
    • Android Studio at /Applications/Android/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    ✗ Android Studio not found at /Applications/Android/Contents
    • Try updating or re-installing Android Studio.

[!] IntelliJ IDEA Community Edition (version 2018.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 2 categories.

Got this error too, but only running in release its wierd

@unmaskedd I'm currently using CustomScrollView with SliverAppBar and SliverList instead of NestedScrollView to avoid this error

Hi, suddenly I got this error also, but I tracked down something that's seems unrelated, in my build widget, I add     if (MediaQuery.of(context).size.width > 600) maxwidth = 200;
And it will crash maybe 4 out of 5, if I disable that line it works 5/5, are you somehow using MediaQuery too ?

Ok, temporarily patch the file works
  bool get hasScrolledBody {
    for (_NestedScrollPosition position in _innerPositions) {
      if (position.minScrollExtent==null) return true; // patch here

      if (position.pixels > position.minScrollExtent)
        return true;
    }
    return false;
  }

@x4080 Thank you so much that fixed it for me, this cost me more hours of trouble than I care to admit (also nightmares).
The following may be relevant:

This error was occuring for me sporadically every 5-10 launches.

It only occured when using the back button to leave the app and then starting it up again. It never occured when the app was left open in the background and reopened. It also never occured on clean launches when it was not already in the background.

Flutter (Channel stable, v1.2.1, on Microsoft Windows [Version 10.0.17763.437], locale en-AT), although it also happend with a previous release

My Widget Hierarchy: MaterialApp -> MaterialPageRoute -> Scaffold -> NestedScrollView

@cppanda , I think its because in release mode somehow, the value is not initialized properly (not like in debug mode) - and I think its random because if it is too fast to reach that point,  the value is not initialized properly
Dont know why :)

I got the same error. NestedScrollView contains SingleChildScrollView and gives the same error. i tried the above solutiom and i am not sure where to include the method. can you help me?

@dnfield Is this problem solved ?

On master, yes

@dnfield  Allright !

Unfortunately the fix for this had to be reverted as it broke something else.

Oh well

So, how can I do right now?

You should consider wrapping the ListView widget with Extended one.

Does the issue persist? I can't reproduce it with dev v1.18.0 running in release mode on Android 9

with that code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  var _tabs = ['tab1', 'tab2'];

  @override
  Widget build(BuildContext context) {

    print(MediaQuery.of(context).size.width);

    return Scaffold(
      body: DefaultTabController(
        length: _tabs.length,
        child: NestedScrollView(
          headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
            return <Widget>[
              SliverOverlapAbsorber(
                handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
                sliver: SliverAppBar(
                  title: const Text('Books'),
                  pinned: true,
                  expandedHeight: 150.0,
                  forceElevated: innerBoxIsScrolled,
                  bottom: TabBar(
                    tabs: _tabs.map((String name) => Tab(text: name)).toList(),
                  ),
                ),
              ),
            ];
          },
          body: TabBarView(
            children: _tabs.map((String name) {
              return SafeArea(
                top: false,
                bottom: false,
                child: Container(
                  color: Colors.white,
                  child: Builder(
                    builder: (BuildContext context) {
                      return CustomScrollView(
                        key: PageStorageKey<String>(name),
                        slivers: <Widget>[
                          SliverOverlapInjector(
                            handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
                          ),
                          SliverPadding(
                            padding: const EdgeInsets.all(8.0),
                            sliver: SliverFixedExtentList(
                              itemExtent: 48.0,
                              delegate: SliverChildBuilderDelegate(
                                    (BuildContext context, int index) {
                                  return ListTile(
                                    title: Text('Item $index'),
                                  );
                                },
                                childCount: 30,
                              ),
                            ),
                          ),
                        ],
                      );
                    },
                  ),
                ),
              );
            }).toList(),
          ),
        ),
      ),
    );
  }
}

this should be fix with https://github.com/flutter/flutter/commit/57d714ebb8


How to get modern CSS features to work?

My understanding is that CRA v2 supports postcss features out of the box (such as custom media queries and other). postcss-preset-env says that it is bundled with CRA v2.
However, when I write a CSS rule like that
a {
  color: pink;

  &:hover {
    color: rebeccapurple;
  }
}

the output in the browser is

Same for Custom Media Queries
@custom-media --viewport-medium (width <= 50rem);

Doesn't work.
The examples above were run on a fresh CRA v2 project.

According to postcss-preset-env I should be able to write an example as described above.
What am I missing?

Yes you're right, CRA 2 supports postcss-preset-env by default, but configured to only use stage 3 features. That is why you can't use nesting in your CSS.
If you want to use features under the stage 3, you'll need to fork CRA or use react-app-rewired to customize without ejecting.

You can't do nesting In CSS instead you could use In next block Hover Link for Styling the Link.

@yann-jacquet Is that the one I should be using react-app-rewire-postcss?
I'm struggling to get it to work on a fresh CRA v2 project, could you point out which steps should I take?
Thank you!

@yann-jacquet I figured it out. I should have spent a few more minutes with it.
I forgot to add yarn add -D react-app-rewired to my project and change the npm script as described here
closing since I got everything working. Thanks.

For posterity, we only support these features: https://preset-env.cssdb.org/features#stage-3


Add information about using foreign key properties to control relationships

The Relationship section is missing information about controlling a relationship by a foreign key property when using convention based model configuration:
If a non-nullable foreign key property exists, the relation requires a principal entity, and the deletion behaviour is set to Cascade.
If no or a nullable foreign key property exists, the relation requires no principal entity, and the deletion behaviour is set to Restrict.

Backlog to check.


Fraction class generation not working over 9

Hello
First Thank you for your great work on avalanche!
I've a problem when using it with $av-widths equal at 12. All classes are generated exception of 10/12, 11/12, 12/12. I think it is because of the Ascii code generated by \310 => .°, \311
Do you have any idea or already know the problem?
Thank you in advance

@nicaille Hi. Thanks for your interest in Avalanche!
How are you compiling your Sass? That class name doesn't look properly formed. Issue #18 fixed a previous bug where double-figure fraction class names weren't being properly generated so please also make sure you're using v1.1.0 of Avalanche.

Hi, thanks for answering!
About the compiling, I use "Prepros" with auto prefix option and the "expand mode" selected.
I'm already using the V1.1.0 ;-(
Could you please give a try with the following configuration and let me know if class 10/12, 11/12 & 12/12 are working on your side?
$av-widths: (  2,  3,  4,  12 ) !default;
TY
++

@nicaille Could you upload your Sass files and compiled CSS files so I can take a look? I downloaded Prepros and tried it using your configuration and it was compiling ok for me. Thanks.

Hello
Files are attached THANK YOU VERY MUCH
++
From: Tom Hare<EMAIL_ADDRESS>Sent: mardi 3 mai 2016 16:02
To: colourgarden/avalanche
Cc: nicaille; Mention
Subject: Re: [colourgarden/avalanche] Fraction class generation not working over 9 (#20)
@nicaille https://github.com/nicaille  Could you upload your Sass files and compiled CSS files so I can take a look? I downloaded Prepros and tried it using your configuration and it was compiling ok for me. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/colourgarden/avalanche/issues/20#issuecomment-216537093 https://github.com/notifications/beacon/AHDae7PP-wYnR5zuPL9iD3k2Rik2m_T2ks5p91VigaJpZM4IRvPu.gif

Here are files if easier than by email:
css.zip

Looking at your avalanche.css file, there are classes for 10/12 and 11/12 on lines 115-121 (these are escaped with back-slashes). I did a quick HTML test page using your stylesheet and the grid was functioning correctly. Are any of the grid classes working for you when in a HTML page in a browser?

It is working now ! But can’t explain…
TY!!
From: Tom Hare<EMAIL_ADDRESS>Sent: mardi 3 mai 2016 16:47
To: colourgarden/avalanche
Cc: nicaille; Mention
Subject: Re: [colourgarden/avalanche] Fraction class generation not working over 9 (#20)
Looking at your avalanche.css file, there are classes for 10/12 and 11/12 on lines 115-121 (these are escaped with back-slashes). I did a quick HTML test page using your stylesheet and the grid was functioning correctly. Are any of the grid classes working for you when in a HTML page in a browser?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/colourgarden/avalanche/issues/20#issuecomment-216552097 https://github.com/notifications/beacon/AHDae0bVODPFyMGsfEg-n_bColGot6LSks5p91_egaJpZM4IRvPu.gif


Generative frameworks to implement

We've been longer in talks implementing p5.js and others so this would serve as a discussion on which frameworks we want to implement?
Best if they run in the browser.
No inherently needs to be visual, could be for audio generation as well

#2164
https://p5js.org/ (a really popular one)
https://github.com/sepandhaghighi/samila
https://levelup.gitconnected.com/generative-art-3-fundamental-concepts-to-get-you-started-44205dae167b
https://www.fxhash.xyz/articles/guide-mint-generative-token
???

Ref

https://medium.com/processing-foundation/open-call-p5-js-editor-lead-fellowship-1c050efa4cb5

done


Make RegionNameMapper static

Description
Make class RegionNameMapper static to save some memory allocations.
Several trailing spaces and non-normalized carriage returns have been fixed, so I advise you to review this PR by hiding the whitespaces.
Type of change
Please delete options that are not relevant.

[] Bug fix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] This change requires a documentation update

The class is only instantiated once during the lifetime of a client. Is there a substantial benefit to making it static? Are you seeing this type use up memory in your case and if so, are you also seeing multiple client instances (which really that would be the problem)?

I think I was looking at the wrong type. I checked again with dotnet-dump and indeed this type seems to be allocated only once.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

What is CLA..


Manual review requested for TRTLS

I'm submitting a ...
[ ] bug report
[ x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
CoingeckoId extension added for Turtles Token (TRTLS)
Please approve following PR #6085

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

The PR is not allowing merge right now due to conflicts, can you please squash it into a single commit? I think then it should work

I tried but I got error on automerge: failed to normalize: failed to parse JSON: json: unknown field "coingeckoId"
#6113 can you check this pr?
@keone

merged


Integral symbol

Currently unable to write integral symbol with Drasil.

Yes, I need it for an equation in a table:

There are no bounds in this specific instance, but I've needed bounds for derivations elsewhere in the document.

Implemented. See my comment on summations regarding bounds.


Add get dependencies link to pubsec.yaml editor on add/change of a dependency

I keep adding dependencies and forgetting to click on get dependencies. I think this should fire automatically, or notify the user to download in the pubsec.yaml like it's done in the dart editor when they have been changed and haven't been downloaded.

This may be redundant, so maybe another fresh notification to the links at top could be used...
Steps to Reproduce

add a dependency
don't click on get dependencies
goto dart editor, and notice the download dependencies notification at the top of the editor

Flutter Doctor
/Users/branflake2267/git/flutter/bin/flutter --no-color doctor
[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-US, channel master)
    • Flutter at /Users/branflake2267/git/flutter
    • Framework revision<PHONE_NUMBER> (21 hours ago), 2017-07-07 16:00:45 -0700
    • Engine revision 8ad1576f27
    • Tools Dart version 1.25.0-dev.4.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
    • Android SDK at /Users/branflake2267/Library/Android/sdk
    • Platform android-26, build-tools 26.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[-] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3.3, Build version 8E3004b
    ✗ libimobiledevice and ideviceinstaller are not installed or require updating. To update, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.1
    • CocoaPods version 1.2.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.1.5)
    • Flutter plugin version 15.1
    • Dart plugin version 171.4694.29

[✓] IntelliJ IDEA Ultimate Edition (version 2017.1.4)
    • Flutter plugin version 14.0
    • Dart plugin version 171.4694.29

[✓] Connected devices
    • iPhone 7 • 458BC4FE-8205-4369-8718-193B9FC88C8B • ios • iOS 10.3 (simulator)

Process finished with exit code 0

Are the dependencies needed for analysis and jump-to-definition and so on in the IDE?

Nothing special, I'm adding the google_signin and firebase_auth dependencies. To say the least this is trivial. Android Studio gradle does things automatically so it feels laborious having to click on get packages or update packages.

This issue was moved to flutter/flutter-intellij#2231