cheat: 4.3.1 -> 4.3.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cheat/versions.
meta.description for cheat is: "Create and view interactive cheatsheets on the command-line"
meta.homepage for cheat is: "https://github.com/cheat/cheat"
meta.changelog for cheat is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.3.2 with grep in /nix/store/s7mdxh3lgw1i3gjjdvx4gf7drklljwxw-cheat-4.3.2
found 4.3.2 in filename of file in /nix/store/s7mdxh3lgw1i3gjjdvx4gf7drklljwxw-cheat-4.3.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cheat

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s7mdxh3lgw1i3gjjdvx4gf7drklljwxw-cheat-4.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cheat https://github.com/r-ryantm/nixpkgs/archive/e44b7ba8eba13e035e94cf3f0bfd4e9ca1f7e3ac.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s7mdxh3lgw1i3gjjdvx4gf7drklljwxw-cheat-4.3.2
ls -la /nix/store/s7mdxh3lgw1i3gjjdvx4gf7drklljwxw-cheat-4.3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cheat

Maintainer pings
cc @Mic92 for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cheat/cheat/releases.
meta.description for cheat is: "Create and view interactive cheatsheets on the command-line"
meta.homepage for cheat is: "https://github.com/cheat/cheat"
meta.changelog for cheat is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.3.3 with grep in /nix/store/9xw2bjiznk45ip9nklc5dl8kfvghramk-cheat-4.3.3
found 4.3.3 in filename of file in /nix/store/9xw2bjiznk45ip9nklc5dl8kfvghramk-cheat-4.3.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cheat

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9xw2bjiznk45ip9nklc5dl8kfvghramk-cheat-4.3.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cheat https://github.com/r-ryantm/nixpkgs/archive/48a9e1aecd9386f479fea6630edcfbb5354938a2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9xw2bjiznk45ip9nklc5dl8kfvghramk-cheat-4.3.3
ls -la /nix/store/9xw2bjiznk45ip9nklc5dl8kfvghramk-cheat-4.3.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cheat

Maintainer pings
cc @Mic92 for testing.

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

1 package built:

cheat


@ (at) operator not accepting calculated timestamp.

What did you do?
I was trying to retrieve specific metrics at yesterdays midnight (23:59:59) by using something like this:
some_custom_metric @ <timestamp>

while
(time() - (hour(vector(time())) * 60 * 60 + minute(vector(time())) * 60) - 60)
and
0+(time() - (hour(vector(time())) * 60 * 60 + minute(vector(time())) * 60) - 60)

returns an OK timestamp, but while trying to use it like
some_custom_metric @ (time() - (hour(vector(time())) * 60 * 60 + minute(vector(time())) * 60) - 60)
or
some_custom_metric @ 0+(time() - (hour(vector(time())) * 60 * 60 + minute(vector(time())) * 60) - 60)

I'm receiving these kinds of errors
Error executing query: 1:10: parse error: unexpected "(" in @, expected timestamp
or
Error executing query: 1:1: parse error: @ modifier must be preceded by an instant vector selector or range vector selector or a subquery

What did you expect to see?
Metric at a specific time.
What did you see instead? Under which circumstances?
Errors:
Error executing query: 1:10: parse error: unexpected "(" in @, expected timestamp
or
Error executing query: 1:1: parse error: @ modifier must be preceded by an instant vector selector or range vector selector or a subquery

System information
Prometheus in K8s via Helm (2.43.0)
Prometheus version
Version	2.43.0
Revision	edfc3bcd025dd6fe296c167a14a216cab1e552ee
Branch	HEAD
BuildUser	root@8a0ee342e522
BuildDate	20230321-12:56:07
GoVersion	go1.19.7

Prometheus configuration file
-

Alertmanager version
-

Alertmanager configuration file
-

Logs
-

There have been thoughts around this for a long time, see this exploratory document, some parts of which are already implemented, some are being worked on, and some are somewhat out in the distance, among them arithmetic on durations and on the argument of the @ modifier.

Is it possible to currently work on this issue, or is it still somewhat in the distance? If possible I can have a look into it.

I would say we shouldn't look at arithmetic for the @ modifier in isolation, but for all durations.
The challenge here is that we need in a way a new concept of "static" arithmetic, i.e. evaluations that do not touch the TSDB. Otherwise, it would be possible to create expressions that require multiple subsequent TSDB lookups (which is something that we might want to support in the future, but not in this first step).
So for example, it should be possible to write
rate(foo_total[1m + 2m] offset (1d + 1h)) but not rate(foo_total[interval_set_in_recording_rule])
This might be "not as easy as it looks", but if you would like to give it a spin, it would certainly be very welcome.

I would say we shouldn't look at arithmetic for the @ modifier in isolation, but for all durations.

So to achieve this we need to replace all the Duration component with DurationArithmetic component right? And also I think It will be better and easy to start with this one after #13412 gets merged.

This might be "not as easy as it looks", but if you would like to give it a spin, it would certainly be very welcome.

Yeah, it looks complex but I'll try to look into it in my free time. I need to deep dive into the promql engine for this.

It will touch the parser, for sure, but it might also require quite deep changes in the PromQL engine

Yeah I think it will touch both parser as well as the engine and needs a deep understanding of promql engine I guess.

Hello from the bug scrub!
This is still a valid issue. We changed the title to clarify that this is more than just about the @ argument.


Added more Tortoise.init() tests

Added more Tortoise.init() tests
Update 1:

Fixed resource leak in init_tests.py

Update 2:

Restored bad merge for fk_relation and m2m_relation in Tortoise.init()
More typing annotations
Tortoise.init() directly supports generate_config parameters
Break up generate_config to use generate_db_url again
Fix Model.get_or_create to return actual instance, not awaitable
get_backward_fk_filters was never called
Changed generate_config to take a dict of app: [model modules]
Changed generate_config to call DB config "default" by default.

Pull Request Test Coverage Report for Build 78

89 of 102 (87.25%)  changed or added relevant lines in 10 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+2.2%) to 91.08%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tortoise/contrib/test/init.py
27
29
93.1%

tortoise/backends/asyncpg/client.py
0
11
0.0%

Files with Coverage Reduction
New Missed Lines
%

tortoise/models.py
1
89.1%

Totals

Change from base Build 60:
2.2%

Covered Lines:
1786

Relevant Lines:
1911

💛  - Coveralls

@Zeliboba5 Please review this. It changed the Tortoise.init() a bit, so please comment liberally.

Thank you! Great PR 👍


Incorrect full-width char rendering

Windows Terminal version
1.19.10821.0
Windows build number
10.0.19045.0
Other Software
<EMAIL_ADDRESS>which uses:
<EMAIL_ADDRESS>Font is attached:
Sarasa Term SC Light Nerd Font Complete.zip
Steps to reproduce
Fire up an application with Terminal.GUI which renders full-width characters using a monospaced font.
I calculate what's the actual length the terminal should render, which shouldn't be the problem:
SonicLair.Cli/Tools/StringExtension.cs
namespace SonicLair.Cli.Tools
{
    public static class StringExtension
    {
        public static int StandardizedStringLength(this string input)
        {
            // each CJK rune is 2 letter width when using a monospaced font
            int length = 0;
            foreach (var c in input)
            {
                length += Rune.IsWideChar(c) ? 2 : 1;
            }
            return length;
        }
        public static string RunePadRight(this string stringToPad, int totalWidth, char paddingChar = ' ')
        {
            int standardizedStringLength = stringToPad.StandardizedStringLength();
            if (standardizedStringLength >= totalWidth)
            {
                return stringToPad;
            }
            return stringToPad.PadRight(totalWidth - (standardizedStringLength - stringToPad.Length), paddingChar);
        }
        public static string RunePadLeft(this string stringToPad, int totalWidth, char paddingChar = ' ')
        {
            int standardizedStringLength = stringToPad.StandardizedStringLength();
            if (standardizedStringLength >= totalWidth)
            {
                return stringToPad;
            }
            return stringToPad.PadLeft(totalWidth - (standardizedStringLength - stringToPad.Length), paddingChar);
        }
    }
}

Expected Behavior
This is a screenshot at 1.19.10302.0:

This is a screenshot using Windows's terminal:

Actual Behavior
This is a screenshot at 1.19.10821.0:

It can be inferred that wt renders three instead of two single-char-width when rendering full-width characters.
Also, the first line is missing. I'm not quite sure whether this is related...
P.S. AtlasEngine is enabled for both versions

This is a screenshot using Windows's terminal:

That's the old "conhost", also known as "Console Window Host" or similar names. Windows Terminal is only the application with tabs.
However, that screenshot is excellent because it reveals what is going on. If you zoom in you can see how after each wide character you have a weird glyph:

I believe you're accidentally writing "garbage" / invalid characters into your output. So far we just happened to ignore them but it seems that now we don't. I think this may be caused by #16825 which was an intentional change.
Could you check with a debugger what characters you're actually writing to the console / terminal? It'd be nice if you could post them here or send us a screenshot!

See also https://github.com/gui-cs/Terminal.Gui/issues/2928

That's the old "conhost", also known as "Console Window Host" or similar names. Windows Terminal is only the application with tabs.

Thanks for the clarify!
I created a demo project using Terminal.GUI and set one label to some CJK chars:
dotnet new --install Terminal.Gui.templates
dotnet new tui -n myproj
cd myproj

myproj/MyView.Designer.cs:
...
this.label1.Text = "こんにちは";
...

dotnet run

Here's the screenshot:

As I dig into issues with that library I found this and this. It seems this is an ongoing issue on their side.
Directly running their demo produces the same result:

Could you check with a debugger what characters you're actually writing to the console / terminal?

I'm not quite familiar with that library's underlying mechanics, so I will open an issue in their repo and close this for now. If there's further issue addressed with wt I will reopen it and add new comments.
Thank you for your time and effort in helping me locate the real issue!

See also gui-cs/Terminal.Gui#2928

Yes I'm looking into it


Docs: refactor and integrate into ROCm docs portal

This PR aligns Omniperf's documentation with other ROCm components for publication on rocm.docs.amd.com.
Move docs/ to root.
Update Sphinx build config.
Structure docs for Diataxis.
Convert to rST.

Closed in favor of https://github.com/ROCm/omnitrace/pull/353


Turn off unneeded lint rules

Refs https://github.com/bountonw/translate/pull/292.

@bountonw We can target this change more specifically, but I'm not sure that we really care about either of these lint rules:

no-emphasis-as-heading bans all lines composed entirely of emphasized text (*whatever sentence*, or **whatever sentence**). But, obviously, there could be legitimate cases where that is wanted, so it doesn't seem like a global ban makes sense.
first-line-heading requires that the first line in any markdown file is a heading/h1. We don't want this. We already avoid this in all the other files because we use a yaml header. So this rule can be off always, in my opinion.

What do you think?

@bountonw We can target this change more specifically, but I'm not sure that we really care about either of these lint rules:

no-emphasis-as-heading bans all lines composed entirely of emphasized text (*whatever sentence*, or **whatever sentence**). But, obviously, there could be legitimate cases where that is wanted, so it doesn't seem like a global ban makes sense.
first-line-heading requires that the first line in any markdown file is a heading/h1. We don't want this. We already avoid this in all the other files because we use a yaml header. So this rule can be off always, in my opinion.

What do you think?

Ok. Sounds good


Table Improvement

[ ] Revisions to tables as needed once we have a working version
[ ] Initial version of table 3, capturing core information at a summary level

@MrAE @alexbaden

What is table 3?

@willgray i also don't have clarity on what is in table 3, so it doesn't feel like a top priority.  can you provide a DoD for table 3?  in the meantime:
both tables (and all future tables)

[ ] captions go above the table, not below.

table 1

[ ] add clarity, kristina
[ ] add # time steps to #data/#ch
[ ] i don't love the 2 rows, maybe just use GV & Depth, and we can explain in the captions?

table 2

[ ] references are not correct, they are image tokens or something.  let's use references to connect it with table 1.
[ ] can we easily get an approx # of RAMON objects?
[ ] add CLARITY

I tagged myself with the issues I am working. @MrAE let me know if you need # timesteps again.
As far as the RAMON objects goes, we only have RAMON counts for two entries in Table 2 -- xbrain and kasthuri. The rest of the datasets are not RAMONified and it's super difficult to count the number of object IDs without having RAMON data. We might be able to RAMONify as a revision task, but I think that will be a month or so of work.

ok, for # objects, for those we have RAMON, let's put in the exact number.
for those not, let's put in O(10), O(100), etc., which is our guess.
we can refine at revision, but it even kind of makes our point about
RAMON...
On Sun, Jun 12, 2016 at 10:54 PM, Alex Baden<EMAIL_ADDRESS>wrote:

I tagged myself with the issues I am working. @MrAE
https://github.com/MrAE let me know if you need # timesteps again.
As far as the RAMON objects goes, we only have RAMON counts for two
entries in Table 2 -- xbrain and kasthuri. The rest of the datasets are not
RAMONified and it's super difficult to count the number of object IDs
without having RAMON data. We might be able to RAMONify as a revision task,
but I think that will be a month or so of work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/50#issuecomment-225459737,
or mute the thread
https://github.com/notifications/unsubscribe/AACjcgbjGIhhxiwXPyHkuHreFFv1zm8nks5qLHICgaJpZM4IyWzQ
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

Ok. I'm not sure how to do this. You, Will, and I might need to huddle.

i think @willgray should be able to count RAMON objects and give you an
estimate of objects that aren't RAMONified (a top of his head guess, taking
no more than a few minutes), and then we are done with tables 1 & 2!
On Sun, Jun 12, 2016 at 11:12 PM, Alex Baden<EMAIL_ADDRESS>wrote:

Ok. I'm not sure how to do this. You, Will, and I might need to huddle.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/50#issuecomment-225460738,
or mute the thread
https://github.com/notifications/unsubscribe/AACjcg6drYtNyAwx2gU0QeqroFig79vuks5qLHZOgaJpZM4IyWzQ
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

i'll work on this counting, probably tomorrow.  @alexbaden @MrAE - work on the rest of this?

I finished my table 1 tasks. The following still needs to be done:

[ ] reference for kristina15 and the clarity data
[ ] species for kristina15 and clarity

Any ideas?

Clarity is mouse.

Seems to be a duplicate of #51 at this point, which I find very confusing. So, I'm going to close this one. @willgray open a new issue for Table 3, if and when that happens?


Update gradle and spotbugs

Update gradle wrapper
Update spotbugs and gradle plugin
Fix deprecations about gradle

enableFeaturePreview('STABLE_PUBLISHING') is not required since gradle 5.
Migrate new API from deprecated API of jacoco plugin

Deprecated list since Gradle 5.2 is here.
https://docs.gradle.org/current/javadoc/deprecated-list.html

@wreulicke It seems like the upgrading started breaking AppVeyor CI jobs. Since AppVeyor Github integration also broken at that time, we didn't notice those failure.. I will revert it first for safe releasing new version of Digdag.

oh, sorry.


Windows 10 reports directory modification times unreliably

When doing Files.walkFileTree() on Windows 10 the last modified timestamp of directories reported via the BasicFileAttributes parameter passed to FileVisitor.preVisitDirectory() is different than the actual modification time observed via Files.getLastModifiedTime() or File.lastModified().
This makes DirectorySnapshotterAsDirectoryWalkerTest fail.
Since this only seems to happen with directories, and we don't use directory modification dates for snapshotting (or anything else AFAIK), this probably has no actual effect on the production code.

cc: @gradle/build-cache

Here's a reproducer for the problem:
https://gist.github.com/lptr/67fce5574913dc5a34ac8bd1a57cf6de


Providers are not found in local network setup

Configuration: running iroh-one on 2 machines on the same local network, with no p2p bootstrap peers. Discovery happens just fine over mDNS.

The CID bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm is getting provided. Check that the CID is in store with curl http://machine1:9050/ipfs/bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
Then from machine2, wait for both peer counts to reflect the mDNS discovery, and try to fetch the same CID locally: curl http://localhost:9050/ipfs/bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
I see that log in machine2:
  2022-11-22T18:56:33.182383Z  INFO iroh_p2p::node: bitswap find providers bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
    at iroh-p2p/src/node.rs:465
    in iroh_p2p::node::handle_node_event with event: Bitswap(FindProviders { key: Cid(bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm), response: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7fd1fc0155a0, tail_position: 0 }, semaphore: Semaphore { semaphore: Semaphore { permits: 10 }, bound: 10 }, rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } }, limit: 10 })
    in iroh_p2p::node::handle_swarm_event with event: Behaviour(Bitswap(FindProviders { key: Cid(bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm), response: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7fd1fc0155a0, tail_position: 0 }, semaphore: Semaphore { semaphore: Semaphore { permits: 10 }, bound: 10 }, rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } }, limit: 10 }))

But nothing relevant on machine1, and the request times out.
@dignifiedquire in p2p/src/node.rs the BitswapEvent::FindProviders triggers a RpcMessage::ProviderRequest with a ProviderKey::Dht only, could that be why mDNS providers discovery is not working?

@dignifiedquire in p2p/src/node.rs the BitswapEvent::FindProviders triggers a RpcMessage::ProviderRequest with a ProviderKey::Dht only, could that be why mDNS providers discovery is not working?

No that is not the reason, this part of finding providers is only used as a fallback by bitswap to find providers if it can not find them via bitswap.


Various improvements

Additional variants for Dream Edition, etc.
Added wakeup functionality
Added ability to honk horn

Also happy to help maintain as you build it out if it gets any traction; I'm excited to build this out.

Nice! At this rate we’ll be feature complete by morning, hah. Are you just guessing at these API paths, or did you manage to leak something sensible out of one of the apps?

Nice! At this rate we’ll be feature complete by morning, hah. Are you just guessing at these API paths, or did you manage to leak something sensible out of one of the apps?

lol, completely guessing. the paths don't seem to have any semantic meaning, because of course they don't 🙄
Sure would be great if they'd do something sane like /user/1/vehicles/1/wake_up but nooooooooo

I tried packet sniffing my iPhone to grab traffic, but I haven't succeeded; need to find an Android device on which it's less painful
Same here. The Android app is indeed Flutter, so it’s not going to be easy there either. I think on both platforms the majority of Lucid’s traffic does not respect proxy settings, so capturing with mitmproxy or the like doesn’t work. I think what little I managed to capture came from the iOS widget doing its own thing rather than the app itself.

I think what little I managed to capture came from the iOS widget doing its own thing rather than the app itself.

Ooh, you sneaky devil. Wish I'd thought of that


Languages links & PR Template

@Twiggecode
Hey mate,
If you are comfortable enough with the PR Template version so far, I think there might be an option to set it as a built-in text in any PR of this project. i.e once someone is committing a PR, the template will automatically be part of the commit box, ready with the checks and edits to fill.
I believe it will help to keep track of the changes and set standards for new contributors.
Frankly, I'm not quite sure how the admin can technically set it. I can find out, if it's something you find useful.

When I get the chance, I will work on merging the pull request template so that it becomes a mandatory part of submitting a pull request. I'm happy with how the pull request template looks currently.

Ok 👍


feat: add --chunk-size parameter to simgenotype

Allows for writing PGEN files while using less memory. Resolves #267

@aryarm not sure how to add you as a reviewer but would you be able to check my work?

looks good to me! Thanks for taking this on, @mlamkin7 🙌


rpc: use alloy uncle_from_header

Describe the feature
At the moment, in reth we have uncle_block_from_header implemented here
https://github.com/paradigmxyz/reth/blob/ba78e439385469925c6fc9df36444f1ef5a6a1bc/crates/rpc/rpc-types-compat/src/block.rs#L184-L196
After the merge of https://github.com/alloy-rs/alloy/pull/1554 and the next alloy release, we can replace this by the alloy counterpart.
Additional context
No response

I can do this task

we've completed this


accessing local website prompt: certificate(net::ERR_CERT_COMMON_NAME_INVALID).  and page display: HTTP ERROR 502

HI:
I am running hudsucker/examples/openssl.rs and setting the internet proxy to <IP_ADDRESS>:3000 to test the performance under local Windows 10 https://<IP_ADDRESS>:8766 When on the website, the page prompts:
Your connection isn't private
Attackers might be trying to steal your information from <IP_ADDRESS> (for example,  passwords, messages, or credit cards).
Edge's devtool/Security prompt:
This page is not secure (broken HTTPS).  Certificate - missing，This site is missing a valid, trusted certificate(net::ERR_CERT_COMMON_NAME_INVALID).
After clicking the Advanced button on the page and selecting 'Continue to <IP_ADDRESS> (unsafe)', the page will display:
This page isn’t working right now<IP_ADDRESS> can't currently handle this request.
HTTP ERROR 502
By the way, I haven't run openssl.rs and haven't set up an internet proxy to access it https://<IP_ADDRESS>:8766 Although the page will also prompt 'Your connection is not private...', But after clicking 'Continue to <IP_ADDRESS> (unsafe)', the website can be accessed normally.
I usually have no problem accessing HTTPS websites on the internet after running openssl.rs. Why does accessing local websites report HTTP ERROR 502? How can I solve this problem?

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file password: changeme In the installer menu, select "gcc."

What file is this? Is it related to my problem? I would like to know the details.

I'm not sure where that file came from or what it is. In regards to your original question, is <IP_ADDRESS>:8766 being served over HTTPS?

yes，That's right.
---Original---
From: @.>
Date: Tue, Aug 27, 2024 10:35 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [omjadas/hudsucker] accessing local website prompt:certificate(net::ERR_CERT_COMMON_NAME_INVALID).  and page display: HTTP ERROR502 (Issue #125)
I'm not sure where that file came from or what it is. In regards to your original question, is <IP_ADDRESS>:8766 being served over HTTPS?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

In that case you will need to customise the client being used so that it trusts the certificate that <IP_ADDRESS>:8766 uses. Assuming the cert is already trusted by your system you could do something like this:
let https = hyper_rustls::HttpsConnectorBuilder::new()
    .with_native_roots()
    .unwrap()
    .https_or_http()
    .enable_http1()
    .enable_http2()
    .build();

let client = hyper_util::client::legacy::Client::builder(TokioExecutor::new()).build(https);

let proxy = hudsucker::Proxy::builder()
    .with_addr(std::net::SocketAddr::from(([127, 0, 0, 1], 3000)))
    .with_client(client)
    .with_ca(ca)
    .build();

I tried your method and it still has the same problem.
Maybe you can help me try this HTTPS website.
If you can open and decompress the attachment, after running bid.exe, you can access it https://localhost:7070
bid.zip

I'm not going to run a random exe. You will have to ensure that the cert used by your local site is trusted by your system.

You can try this website using Hudsucker proxy: https://<IP_ADDRESS>:7070/login?type=individual

The certificate being used for that site is expired.

When you visit the site without using the proxy, does your browser let you visit the site, or do you get a net::ERR_CERT_AUTHORITY_INVALID error?

Is there any way to ignore issues such as net:: ERR_CERT_SUTHORITY-INVALID when using Hudsucker proxy?  I must visit this website to complete some testing work.

As I have previously said, my suggested solution would be to ensure that your system trusts the certificate used by the site and then use a custom hyper client with the native roots. If you really can't do that then with rustls you can specify custom certs using with_root_certificates, or with native_tls you could use danger_accept_invalid_certs.


Make API sections headered

This makes them link-able so that I can paste links to specific parts on Twitter 😀
(On my branch it does: https://github.com/justinwoo/yolk/tree/patch-1#yolkcustomcomponent)

Good idea. Any chance you can change them to h5 or h6 so that this will fit on one line?

Looks like it worked with #####:

@justinwoo thanks! :family:

:+1: :beers:


renaming routers classes

to get a better understanding of what our router does we will need to rename classes and method

I can rename all i want the router is overly complicated and need a proper refactoring.
It work but it's ugly


"Close All Tabs" does not work when tree-view is focused

Description
"Close All Tabs" does not work when the tree-view is focused.
Steps to Reproduce

Open a few tabs.
Focus the tree-view pane.
Go to "File > Close All Tabs".

Expected behavior:
The tabs should close.
Actual behavior:
The tabs don't close.
Reproduces how often:
100%
Versions
Atom    : 1.27.2
Electron: 1.7.15
Chrome  : 58.0.3029.110
Node    : 7.9.0

System Version: OS X 10.11.6 (15G20015)
Kernel Version: Darwin 15.6.0

This is intentional: Close All Tabs will only close the tabs in the pane/dock that you have focused.  Certain dock items, like the Tree View, are marked as unclosable.

Ah, I see. Thanks for the quick response. 👍


[fix] fixed usage in rubocop point

Coverage decreased (-6.06%) to 61.011% when pulling 6eaa43da2ed077833d79ac9c3bce9155c1cb93fb on tetsu-26:rubo4 into 61ccb87841af9a4698d735f8d266462a0cffc7c4 on shirasagi:master.


17178 - Alteration - Feature flag - Change Business Types

Issue #: /bcgov/entity#17178
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

Built locally:


Support Pod Toleration

Purpose

Fixes https://github.com/ballerinax/kubernetes/issues/335.

Goals

Allow setting pod tolerations to pods.

Codecov Report

Merging #339 into master will increase coverage by 0.21%.
The diff coverage is 83.67%.

@@             Coverage Diff              @@
##             master     #339      +/-   ##
============================================
+ Coverage      78.8%   79.02%   +0.21%
- Complexity      700      722      +22
============================================
  Files            65       66       +1
  Lines          3048     3118      +70
  Branches        291      296       +5
============================================
+ Hits           2402     2464      +62
- Misses          510      516       +6
- Partials        136      138       +2

Impacted Files
Coverage Δ
Complexity Δ

.../ballerinax/kubernetes/models/DeploymentModel.java
85.36% <100%> (+0.36%)
57 <2> (+2)
:arrow_up:

...etes/processors/DeploymentAnnotationProcessor.java
76.68% <79.03%> (+2.26%)
35 <6> (+7)
:arrow_up:

...llerinax/kubernetes/models/PodTolerationModel.java
88.88% <88.88%> (ø)
10 <10> (?)

...lerinax/kubernetes/handlers/DeploymentHandler.java
87.73% <93.33%> (+0.42%)
30 <3> (+3)
:arrow_up:

Continue to review full report at Codecov.

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


Taxon List View from the global search: the keyword search query is needed to be changed to the user readable format.

See the example below:

Fixed and available in alpha.

tested and confirmed.


feat: context menu commands

implements context menu commands
fix #214

USE_SLASH_COMMANDS permission should be changed to USE_APPLICATION_COMMANDS

USE_SLASH_COMMANDS permission should be changed to USE_APPLICATION_COMMANDS

Deprecated USE_SLASH_COMMANDS and added USE_APPLICATION_COMMANDS


Misnamed Dropdown Headers in Profile Editor

Clicking the H1 through H3 buttons puts the header in the dropdown to "Paragraph tag", and similarly to "Title tag" for the P button.

Fixed in 1.6.1.


Mention pass nodes in documentation

https://github.com/aegis72/aegisflow_utility_nodes pass nodes can be used to get around the UE group node input issue

By the way, these are also a workaround to allow bypassing nodes receiving UE links.
https://github.com/chrisgoringe/cg-use-everywhere?tab=readme-ov-file#cautions

The node creator also made this workflow system based on UE? nodes:
https://www.youtube.com/@MajorStudioArt/videos

I also tried pipe / bus nodes from other suites ( rgthree / WAS / Impact Pack  )
They all allow grouping UE? nodes.
But they all save these same 2 issues:
https://github.com/chrisgoringe/cg-use-everywhere/issues/166
https://github.com/chrisgoringe/cg-use-everywhere/issues/167

rgthree

WAS

Impact Pack ( two node  pipe )


sstfilewriter: replace deprecated api

https://github.com/facebook/rocksdb/blob/5.6.fb/include/rocksdb/sst_file_writer.h#L71
https://github.com/facebook/rocksdb/blob/5.6.fb/include/rocksdb/sst_file_writer.h#L85
These two APIs are deprecated.
@zhangjinpeng1987 @follitude PTAL
Signed-off-by: Cholerae Hu<EMAIL_ADDRESS>

Already done in https://github.com/pingcap/rust-rocksdb/pull/108, close this.


Rancher operator fails to deploy on CIS hardened RKE cluster

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create an RKE cluster following the Rancher HA install documentation and the CIS 1.6 hardening guidelines
Install Rancher Helm chart on the cluster
Check status of the deployment in the rancher-operator-system

Result:
Rancher-Operator in the rancher-operator-system namespace fails to successfully deploy due to missing access to  pod security policy

Error creating: pods "rancher-operator-79b8c96444-" is forbidden: PodSecurityPolicy: unable to admit pod: []

Environment information

Rancher version: 2.5.7
Installation option (single install/HA): HA
RKE Version: 1.2.8
Kubernetes Version: v1.19.10-rancher1-1

gz#17244

Regression? https://github.com/rancher/rancher/issues/29696

On 2.5.4, rancher-operator fails to deploy on the local cluster in a HA setup with BYO valid certs.
Other related issues -

https://github.com/rancher/rancher/issues/32823
https://github.com/rancher/rancher/issues/32825

Closing this issue as deploying rancher on 2.5.8 HA install with the updated docs worked fine - https://github.com/rancher/rancher/issues/32823#issuecomment-852729565


RAM overflow

It looks like running the application on pythonanywhere for several hours leads to an RAM overflow.
Both workers had to be restarted.

In the new data format the timestamp rounded to an hourly base is used as the index of the pandas dataframe.
The TokenData.csv file had 2 entries with the same date and hour which results in a full outer join when merging new data. This leads to an exponential increase of the data size and the RAM overload

First 3 lines are now deleted from csv-file and looking if this was really the reason.

First update looks good => issue will be closed and new version uploaded to server


Unpin clang in CI

as discussed offline - i think it would be better to just install the necessary version - see here for one way we do it in Envoy ...
https://github.com/envoyproxy/envoy/blob/fcfae60533f05b579b61768ec1a010b25071471f/.github/workflows/codeql-daily.yml#L45-L56


Improve watch_pending_transaction

Motivation
Closes #389
Now when receiving pending transaction, it is placed in unconfirmed map firstly, and then we start to check for it in new blocks and try to perform a sing eth_getTransactionReceipt request with it. That way, if tx is actually pending, we will remove it from unconfirmed once it is getting included into some of the future blocks, and if it is not pending, we will successfuly fetch receipt for it instead of waiting indefinitely.
This also updates TxWatcher to return transaction receipt, to implement this we now start polling for receipt once tx gets enough confirmations
Solution
PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

I'm not clear on the benefit of this change over adding a get_transaction_receipt before returning a PendingTransactionBuilder in Provider::send_transaction_inner and Provider::send_raw_transaction ?

That would not prevent user from constructing a PendingTransactonBuilder for a existing tx which will hang forever.

That would not prevent user from constructing a PendingTransactonBuilder for an existing tx which will hang forever.

Do we want users to be doing that? Feels like we don't, right? I agree it's more complicated than the question implies tho, as the transaction isn't registered with the heartbeat until the register() call hits watch_pending_transaction() (which also seems like something we should fix, btw).
Maybe the right place to do it is in watch_pending_transaction i.e. immediately after the heartbeat learns of the tx?

yeah the issue is this step here:
https://github.com/alloy-rs/alloy/blob/7629f79e3ffb6abd0be901a06deed2ab9f695e4e/crates/provider/src/heart.rs#L182-L185
if the heartbeat has the tx's block already processed before it receives the watcher it will hang here before the receipt is fetched
so we should try fetching the tx's receipt at least once in the heartbeat

if the heartbeat has the tx's block already processed before it receives the watcher it will hang here before the receipt is fetched

reminds me we also probably have some memory leaks here wrt pendings that never get confirmed. are we comfortable leaving those in memory forever or do we want to enforce some maximum timeout?

a timeout makes sense, the caller can then still decide whether to reregister the watcher, but should probably be combined with (pending) receipt fetching

reminds me we also probably have some memory leaks here wrt pendings that never get confirmed. are we comfortable leaving those in memory forever or do we want to enforce some maximum timeout or something like an LRU?

We already have timeouts I beleive, or you mean something else?
https://github.com/alloy-rs/alloy/blob/7629f79e3ffb6abd0be901a06deed2ab9f695e4e/crates/provider/src/heart.rs#L404

we have user-configurable timeouts, but we don't have a "max system timeout to prevent unbounded memory growth". Consider a user that watches a tx every second and sets no timeout, but only 95% confirm. Currently I think we. grow memory by 5 txns every 100 seconds, and never reap that memory. So after a few hours memory usage will be quite large

with current impl heartbeat itself already polls for receipt by querying receipt-fetching task:
https://github.com/alloy-rs/alloy/blob/786a6a416ec6048206a060b4dc563363c2adae03/crates/provider/src/heart.rs#L430
https://github.com/alloy-rs/alloy/blob/786a6a416ec6048206a060b4dc563363c2adae03/crates/provider/src/heart.rs#L469
should I extract this logic? feels like we probably still want to have TxWatcher until the point we refactor the impl next time

closing this pending a design session, as #558 patches sufficiently


Standalone NUI editor

Making an issue for this now that NUI is merged in and available, even if not totally complete yet. We had touched on the idea in the past that with most the GUI definitions in JSON you could actually work on GUI in a standalone editor without having to run the whole game.
Unsure if this would be a completely separate tool or another custom facade still having engine access. First one would probably benefit from NUI as a separate lib one day while the second one may not fully benefit from engine separation.
http://forum.terasology.org/threads/nui.869/

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1612349-standalone-nui-editor?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Would the editor work better as a standalone JavaFX application (i.e. WorldViewer) or a built-in editor (i.e. Behavior Tree Editor)?
At the moment I'm heavily leaning towards the former since the editor is supposed to be a micro-IDE of sorts, and requiring the user to run an instance of Terasology just to use the editor may be a significant turnoff. However, @flo has also mentioned the latter being a potential option as it would make displaying custom UI elements possible - if the editor is developed as a standalone application, some compromises may need to be made (e.g. the editor will attempt to draw a custom element's native parent as a placeholder).
Pinging @msteiger and @immortius regarding this.

These are different things, imho. NUI works on top of a rendering engine. By default, this is LWJGL, but it also works with plain Swing. An implementation is at https://github.com/MovingBlocks/FacadeAWT - it uses simple top-down view for the in-game scenes. WorldViewer is a plain Swing/AWT application, too.
I suggest this: create a frontend (called facade) like FacadeAWT that uses engine as a basis. It could look like the behavior tree editor and maybe have some kind of internal text editor.
Maybe this is inspiring: YouTube: Demonstration of live internationalization

Hey @rzats if you can think of some new follow-up issues to this that we should aim to complete feel free to submit some. Ideally with some of them being bite-sized if possible :D
Closing as completed by GSOC 2016 and made part of Alpha 4 :-)


drop 'plugins' from the export list

Work for this issue will begin begin on branch work-liquid-labs/cloudsite/48.


SQLC Generated Go Code Throws Scan Error for Non-Existent user_id

Version
1.20.0
What happened?
I am using SQLC to generate Go code for my SQL queries. I have defined the following SQL statement:
-- name: GetUserDepositCountBetween :one
SELECT user_id, COUNT(*) AS deposit_count FROM transaction WHERE user_id = ? and type = 'deposit' and created_at >= sqlc.arg(start) AND created_at < sqlc.arg(end);

When executing the generated Go code, I encounter an error if the user_id is not found in the database. The error message is:
"error":"sql: Scan error on column index 0, name \"user_id\": converting NULL to int64 is unsupported"

This makes it difficult for me to distinguish between a timeout error and a "record not found" error.
Relevant log output
error message: "error":"sql: Scan error on column index 0, name \"user_id\": converting NULL to int64 is unsupported"

Database schema
No response
SQL queries
-- name: GetUserDepositCountBetween :one
SELECT user_id, COUNT(*) AS deposit_count FROM transaction WHERE user_id = ? and type = 'deposit' and created_at >= sqlc.arg(start) AND created_at < sqlc.arg(end);

Configuration
No response
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
MySQL
What type of code are you generating?
Go

We're going to need a bit more information to reproduce this. Can you please share the definition for the transaction table and your sqlc configuration file?

@kyleconroy Certainly, here are the details you requested:
definition(simplified):
CREATE TABLE IF NOT EXISTS `transaction`
(
    `id`          BIGINT      NOT NULL AUTO_INCREMENT COMMENT 'id',
    `type`        VARCHAR(50) NOT NULL DEFAULT 'deposit' COMMENT '交易类型',
    `user_id`     BIGINT      NOT NULL DEFAULT 0 COMMENT '用户ID',
    `created_at`  DATETIME    NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    PRIMARY KEY (`id`),
    KEY `type_idx` (`type`),
    KEY `user_id_idx` (`user_id`),
    KEY `created_at_idx` (`created_at`)
)
ENGINE = InnoDB
CHARSET = utf8mb4 COMMENT ='交易流水表';

sqlc configuration file:
version: 1
packages:
  - path: "."
    name: "mysql"
    engine: "mysql"
    schema: "sql/schema/"
    queries: "sql"
    emit_json_tags: true
    emit_prepared_queries: false
    emit_interface: false
    emit_exact_table_names: false
    emit_empty_slices: true
    overrides:
      - db_type: "decimal"
        go_type: "github.com/shopspring/decimal.Decimal"

generated code:
const getUserDepositCountBetween = `-- name: GetUserDepositCountBetween :one
SELECT user_id, COUNT(*) AS deposit_count FROM transaction WHERE user_id = ? and type = 'deposit' and created_at >= ? AND created_at < ?
`

type GetUserDepositCountBetweenParams struct {
	UserID int64     `json:"user_id"`
	Start  time.Time `json:"start"`
	End    time.Time `json:"end"`
}

type GetUserDepositCountBetweenRow struct {
	UserID       int64 `json:"user_id"`
	DepositCount int64 `json:"deposit_count"`
}

func (q *Queries) GetUserDepositCountBetween(ctx context.Context, arg GetUserDepositCountBetweenParams) (GetUserDepositCountBetweenRow, error) {
	row := q.db.QueryRowContext(ctx, getUserDepositCountBetween, arg.UserID, arg.Start, arg.End)
	var i GetUserDepositCountBetweenRow
	err := row.Scan(&i.UserID, &i.DepositCount)
	return i, err
}

It seems that in some cases user_id is null, are you sure your query and table definitions are correct?
Can you confirm that user_id is not null when executed directly from mysql client?

@orisano @kyleconroy
I think the code generated by sqlc should be like this, it should handle the ErrNoRows:
func (q *Queries) GetUserDepositCountBetween(ctx context.Context, arg GetUserDepositCountBetweenParams) (GetUserDepositCountBetweenRow, error) {
	row := q.db.QueryRowContext(ctx, getUserDepositCountBetween, arg.UserID, arg.Start, arg.End)
	var i GetUserDepositCountBetweenRow

//=========should handle ErrNoRows
	if row.Err() == sql.ErrNoRows {
		return i, sql.ErrNoRows
	}
//===========================
	err := row.Scan(&i.UserID, &i.DepositCount)
	return i, err
}

Fixing that won't solve the problem.
https://github.com/golang/go/blob/3466e57354974cd2d17ce902df02e0ac58b8ded5/src/database/sql/sql.go#L3448
In the Scan method, if it is err, it is not processed.
sql: Scan error on column index 0, name \"user_id\": converting NULL to int64 is unsupported
The error message above is that the user_id, which would not be null, is null, causing the Scan to fail.
sql.NullInt64 is not being used because according to the schema and query it is not null.

As @orisano said, either your table definition or query is incorrect, as user_id can not be null, yet you're attempting to scan a NULL value into that parameter.


Can't retrieve data from ORG after update Salesforce CLI Integration to v. 52.9.1

Summary
After auto update by Visual Studio Salesforce CLI Integration to v. 52.9.1 I couldn't retrieve data from as hole chunks. So when I click retrieve data on package.xml or through 'Org Browser' it give different errors like:

Timeout of retrieving data.
Metadata API request failed: INVALID_LOCATOR: Retrieve result has been deleted.
Error: INVALID_CROSS_REFERENCE_KEY

Steps To Reproduce:

Click retrieve data on package.xml
Click to any download cloud through 'Org Browser'

Expected result
Data should be retrieved from org and override current content of the project.
Actual result

Timeout of retrieving data.
Metadata API request failed: INVALID_LOCATOR: Retrieve result has been deleted.
Error: INVALID_CROSS_REFERENCE_KEY

System Information
Can't provide here. Because I downgrade Salesforce CLI to v.52.7.0 and this version work's fine.
Additional info
IDE: Visual Studio
Env: Sandbox
For older version time to time I have : Metadata API request failed: connect ETIMEDOUT

Hi @Jenuaz are you seeing this issue when using the CLI directly? Or is it only happening when using VSCode?

When using it through VS.
On Mon, Aug 16, 2021, 19:49 Willie Ruemmele @.***>
wrote:

Hi @Jenuaz https://github.com/Jenuaz are you seeing this issue when
using the CLI directly? Or is it only happening when using VSCode?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/cli/issues/1129#issuecomment-899659960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHAUPJ7BXEDTSMSTW5VJF3T5E6PZANCNFSM5CDHGP3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Update link to Community Toolkit Contributing.md

What changes to the docs does this PR provide?
This PR updates the link to the Windows Community Toolkit's contributing docs. The link at time of writing leads to a 404,
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Correctly picked the right branch to base the change off (dev for new features, main for typos/improvements)
[x] For new pages, used the provided template
[x] For new features, added an entry in the Table of Contents
[x] Ran against a spell and grammar checker
[x] Contains NO breaking changes

Other information

Thanks! Still keep finding these old links from the old repo name...


Refactor auto-completion, classpath util & related code

Rewrite some code
Rewrite some more code related to the code mentioned above.
Add support for arrays when completing descriptor (e.g [Ljava/lang/String;)
Add unit tests for auto-completion (incomplete)
Add JUnit Jupiter Params component to test dependencies
Add Hamcrest to test dependencies
Partially fix auto-completion doesn't suggest any of the bootstrap classes - see #134.

Currently this causes mvn test to fail:
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running me.coley.recaf.AssemblerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.127 s - in me.coley.recaf.AssemblerTest
[INFO] Running me.coley.recaf.AutoCompleteTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 s - in me.coley.recaf.AutoCompleteTest
[INFO] Running me.coley.recaf.FormatFactoryTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 s - in me.coley.recaf.FormatFactoryTest
[INFO] Running me.coley.recaf.GraphTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in me.coley.recaf.GraphTest
[INFO] Running me.coley.recaf.HierarchyTest
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.069 s <<< FAILURE! - in me.coley.recaf.HierarchyTest
[ERROR] testHierarchyBuilder  Time elapsed: 0.014 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <8> but was: <7>
        at me.coley.recaf.HierarchyTest.testHierarchyBuilder(HierarchyTest.java:93)

[ERROR] testIsLibrary  Time elapsed: 0.006 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at me.coley.recaf.HierarchyTest.testIsLibrary(HierarchyTest.java:110)

[INFO] Running me.coley.recaf.InputTest
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[INFO:6/16/19 12:25 PM] Rename test/Jedi -> test/GoodGuy
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.122 s <<< FAILURE! - in me.coley.recaf.InputTest
[ERROR] testClassRename  Time elapsed: 0.035 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <9> but was: <8>
        at me.coley.recaf.InputTest.testClassRename(InputTest.java:94)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   HierarchyTest.testHierarchyBuilder:93 expected: <8> but was: <7>
[ERROR]   HierarchyTest.testIsLibrary:110 expected: <true> but was: <false>
[ERROR]   InputTest.testClassRename:94 expected: <9> but was: <8>
[INFO]
[ERROR] Tests run: 28, Failures: 3, Errors: 0, Skipped: 1

Looks like each case is because the hierarchy is missing a single element. Did the change to class loading cause this?

Okay this is weird...

Need more investigation.

Did the change to class loading cause this?

It shouldn't because Classpath.getSystemClass(name) is directly implemented as Class.forName(className, false, Classpath.scl), so it should just be a shortcut...
This is super weird.

Done.
Note to myself: Never close a classloader without knowing EXACTLY what I'm doing...

🤣 Classloading sure is a mystical beast.


'arv-validation-messages' is not a known element

Hello! I've just tried incorporating this library into my project. I've followed the steps in the readme, but I'm getting this error:
    ERROR in src/app/external/pages/get-started/get-started.component.html:24:13 - error NG8001: 'arv-validation-messages' is not a known element:
    1. If 'arv-validation-messages' is an Angular component, then verify that it is part of this module.
    2. If 'arv-validation-messages' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.

    24             <arv-validation-messages for="phoneNumber"></arv-validation-messages>
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      src/app/external/pages/get-started/get-started.component.ts:13:16
        13   templateUrl: './get-started.component.html',
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Error occurs in the template of component GetStartedComponent.

I started learning Angular just a few days ago, so I'm really lost when it comes to this error. Many thanks in advance! I'm really looking forward to getting this library working.

Hi @MauDagos. It's important to import the ReactiveValidationModule in the module where you declare your GetStartedComponent. You're most likely missing that import. If that doesn't solve your problem you'll have to share more code. 😀

Oh! Ok, I was importing it in the wrong module. Thank you!


Rubygems vs. Github

When I updated the gem via rubygems, I got deprecation warnings regarding the 'urgent: true' syntax. Using the new syntax on the README documentation, I got undefined method errors for the block syntax. When I specified github as the source in my gemfile, it worked.  Might be worth versioning up the gem so the rubygems version has the latest commits from the past few months, in line with the README documentation. Or, placing a note in the readme that indicates using the github repo to bundle. Thanks so much!

I'm going to release master really soon. It is almost ready. Sorry for the delay, there was a lot of thing to be reworked. And there is no any notes in readme just because I'm thinking about release for tha lst two month lol

Released btw :)


chore (general): added mintlify to docs devDependencies and manage node_modules with nix

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fdc50b3) 86.85% compared to head (a388e58) 86.85%.

:exclamation: Current head a388e58 differs from pull request most recent head 14dc931. Consider uploading reports for the commit 14dc931 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2487   +/-   ##
=======================================
  Coverage   86.85%   86.85%
=======================================
  Files          85       85
  Lines        9296     9296
  Branches      481      481
=======================================
  Hits         8074     8074
  Misses       1222     1222

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Folder should open in new tab if you hold down the Control key while opening it

hi,
good request ! i will add the suggestion of an option to open in new tab or in new windows, or use the setting existing in settings tab.

middle mouse button would be nice too.

We don't have plans to implement this change as it would get in the way of selecting items.


Cut new tag and publish to npmjs

plzzzzzz!
I'd really like that fix to go in so I can stably use this with hubot/rocketchat ;)
Thanks a lot for this awesome plugin. As we use it more, we may have more pr's to make it better!

I'm working on it ... give me a few minutes :wink:

hehe, thx a lot!

Done!


Call constructor on derived class fails

The following code fails with [sol3] An error occurred and has been passed to an error handler: sol: runtime error: [string "..."]:9: attempt to call a table value (global 'B') :
#include <sol/sol.hpp>
#include <iostream>

class A
{
public:
	void hello() { std::cout << "This is class A" << std::endl; }
	virtual void vhello() { std::cout << "A::vhello" << std::endl; }
public:
	int a = 1;
};

class B : public A
{
public:
	virtual void vhello() override { std::cout << "B::vhello" << std::endl; }
public:
	int b = 2;
};

int main()
{
	sol::state lua;
	lua.open_libraries(sol::lib::base, sol::lib::package, sol::lib::coroutine, sol::lib::string, sol::lib::os, sol::lib::math, sol::lib::table, sol::lib::io, sol::lib::debug);

	sol::usertype<A> uta = lua.new_usertype<A>("A", sol::base_classes, sol::base_list<>());
	uta.set(sol::call_constructor, sol::constructors<A()>());
	uta.set("a", &A::a);
	uta.set("hello", &A::hello);
	uta.set("vhello", &A::vhello);

	sol::usertype<B> utb = lua.new_usertype<B>("B", sol::base_classes, sol::base_list<A>());
	utb.set(sol::call_constructor, sol::constructors<B()>());
	utb.set("b", &B::b);
	utb.set("vhello", &B::vhello);

	lua.safe_script(R"(

	local aa = A()
	aa:hello()

	-- works
	--local bb = B.new()
	-- fails
	local bb = B()
	bb:hello()

	)");

	return 0;
}

If I replace B() with B.new() the code works.

I think I might goof up the metatable in the inheritance case. I'll try to get a fix out for this!

This is fixed in latest. Damn it took me a while to sing back ground to this one!

Thanks a lot for the effort you put into maintaining this library and for being so responsive to reported issues.


Future of the Engine notice

Hi everybody!
By everybody I mean people that is still using the engine. I know that things have been very slow during the last couple of months relating to the development of this silly project i made in order to make people interested in making their own dnb fanmods with the (probably official, who knows) engine of the original mod. Sadly, my lack of interest, the upcoming dave & bambi update, school, and some other projects i'm also working on, have made development of this engine impossible and it's currently on an abandoned state. Unless someone else is interested on mantaining this project, adding modding support and the missing features I was planning on adding to this engine, I would call this project finished and archived for good.
If someone wants to mantain the engine, contact me on Discord (Erizur#7498) for more details, if you're up to the task, i'll most likely give you repo access to do all the stuff this engine needs.
If that's not the case, I recommend all the people that are currently using this engine to move to other engines, here are some:

Psych Engine
OS Engine (Although this one is archived)
Codename Engine (Still on a beta state but overall solid enough)

Don't think this is the last time I'll work on something related to fnf engines, I'm a contributor on a new engine created by one of my friends that is being created for the ease of modding specific parts of the game. Check it out!
That's everything, thanks for all the support this engine has gotten. Goodbye!

gonna close due to there now being a maintainer


ci: java8 build with java11 compilation

Java 8 build: compiling the code in JDK 11 and running tests in JDK 8.
Release build: compiling the code in JDK 11.

ci / units (8) (pull_request) Successful

@mpeddada1 @meltsufin It worked. Building the modules in JDK 11 and running tests in Java 8.

ci / units (8) (pull_request) Successful in 2m

That's wonderful news!

@meltsufin Added a check to confirm it's using JDK 8 for running the Java 8 test.
https://github.com/googleapis/gax-java/pull/1671/commits/cd24fe5abcb45f5979109ff63396ef484d32c901


HWKALERTS-34 Add a Cassandra implementation

Initial branch with support for Cassandra persistence.
The "rest" profile has been extended also in hawkular-alerts-engine and hawkular-alerts-rest-tests projects to provide a server with Cassandra embedded as similar way it works in Kettle.
There is space for improvement, but we can have this start point here.
Please, help me to review & test it and check how it goes.
Thanks,

I've reviewed and I've found a couple of minor things, I'll update the PR.

I have only briefly looked at the changes. I noticed that service classes are implemented as EJBs. If I remember correctly, the container will start a transaction for methods like CassAlertsServiceImpl.addAlerts since no transaction attribute is specified. Cassandra does not support transactions (in the ACID sense), so enlisting business methods in transactions does not make a whole lot of sense unless of course there are some transactional resources involved. To be honest, I see little if any benefit of using EJB with Cassandra backend. You can get the dependency injection by just using CDI managed beans.

Other than the few questions I asked everything looks good to me, nice job, a lot of work. I think we are close to a merge, just please respond to my comments and respond to jsanda's comments.

I think is interesting to merge the PR as a preliminar start point.
There are small aspect where we can work in following small commits.


Line |  214 |  Throw "An error occurred creating the service principal.  … | An error occurred creating the service principal. Error:Values of identifierUris property must use a verified domain      | of the organization or its subdomain: 'http://admin-jumpstart-spn-2309'

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
(https://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_azd)
Describe the issue or the bug
azd up fails to deploy the environment.
To Reproduce
I followed the steps in the https://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_azd#deploy-hcibox-infrastructure-with-azure-developer-cli section, then the error.
Expected behavior
azd up command deploys the environment.
Environment summary
latest versions of the tools installed
Have you looked at the Troubleshooting and Logs section?

Screenshots

Additional context

@LucaOtto can i plz ask to update the issue title to something more manageable and shorter?

Closing this issue because deployment to Australia East worked.


Ability to disable config file watcher

Is your feature request related to a problem? Please describe.
One should be able to disable auto restart on config file change through the BotKube configuration flags.
Describe the solution you'd like
We can add a flag like - settings.configWatcher=true/false to enable/disable this feature.

Looks cool to overcome bugs 👍 and get us unblocked for 0.9.0


Separate the SecretStore Provider into two interfaces

Currently the Provider interface has functionality for New(...), and GetSecret(...). This ends up being a bit confused as the controller gets a Provider from the internal schema, but then calls New() on the Provider to get.. another Provider
Provider's New(...) then has to be careful not to mutate itself, but to return a New instantiation of its own type, if a Provider failed to do so, the mutation may have undefined side-effects on future ExternalSecrets using the same provider during the runtime of the controller.
Proposal
type Provider interface {
 	// New returns a SecretsClient for the given store definition
	New(...) (SecretsClient, error)
}

type SecretsClient interface {
	// GetSecret returns a single secret from the provider
	GetSecret(...) ([]byte, error)

	// GetSecretMap returns multiple k/v pairs from the provider
	GetSecretMap(...) (map[string][]byte, error)
}

Besides the increased clarity for the controller using this interface, this also simplifies the use-case for the same cloud provider having multiple SecretsClient discussed in https://github.com/external-secrets/external-secrets/issues/27#issuecomment-785588054. AWS SecretsManager and AWS Parameter Store could share the same Provider interface, and based on the Service type field - return different SecretsClient.

This was implemented in #55
/close


Tensorflow 2.0 is much slower than pytorch for large matrix assignment

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tensorflow 2.0 beta
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: CUDA 10.0/cuDNN 7
GPU model and memory: GeForce RTX 2080 Ti

Describe the current behavior
In one of my research, I need to assign values to large sparse matrices. Since tensorflow does not support value assignment/update to large matrices , I have to use a lot of tf.stack()/tf.concat() functions.
I compared the same function implemented in tensorflow 2.0 and pytorch 1.1.0, and the execution time for tensorflow was much slower than pytorch. The execution times are listed below:
pytorch: 0.0036 secs
tf 2.0    : 0.1734 secs
Describe the expected behavior
Is there a way to optimize the tensorflow codes to have comparable performance?
Code to reproduce the issue
## Tensorflow 2.0
import tensorflow as tf
import time
import numpy as np

def skew(x):
    x = tf.reshape(x, [-1, 1])
    z1 = tf.stack([tf.zeros(1), -x[2], x[1]], 1)
    z2 = tf.stack([x[2], tf.zeros(1), -x[0]], 1)
    z3 = tf.stack([-x[1], x[0], tf.zeros(1)], 1)
    X = tf.concat([z1, z2, z3], 0)
    return X

def propagate(Rot, v, p, g):
    v_skew_rot = tf.matmul(skew(v), Rot)
    p_skew_rot = tf.matmul(skew(p), Rot)

    F0 = tf.zeros([3, 3])
    F1 = tf.concat([F0, skew(g), F0], 0)
    F2 = tf.concat([F0, F0, tf.eye(3)], 0)
    F3 = tf.zeros([9, 3])
    F4 = tf.concat([-Rot, -v_skew_rot, -p_skew_rot], 0)
    F5 = tf.concat([F0, -Rot, F0], 0)
    F6 = tf.zeros([9, 6])
    F7 = tf.concat([F1, F2, F3, F4, F5, F6], 1)
    F = tf.concat([F7, tf.zeros([12, 21])], 0)

    G0 = tf.zeros([3, 12])
    G1 = tf.concat([Rot, v_skew_rot, p_skew_rot, tf.zeros([12, 3])], 0)
    G2 = tf.concat([F0, Rot, F0, tf.zeros([12, 3])], 0)
    G3 = tf.concat([G0, G0, G0, tf.eye(12)], 0)
    G = tf.concat([G1, G2, G3], 1)
    return F, G

if __name__ == '__main__':
    Rot = tf.eye(3)
    v = np.array([0.5, 0, 0], dtype=np.float32)
    p = np.array([1.5, 0, 0], dtype=np.float32)
    g = np.array([0, 0, -9.80655], dtype=np.float32)
    start = time.time()
    P = propagate(Rot, v, p, g)
    print("Propagate function takes {} secs".format(time.time() - start))

## pytorch 1.1.0
import torch
import time
import numpy as np

def skew(x):
    X = torch.Tensor([[0, -x[2], x[1]],
                      [x[2], 0, -x[0]],
                      [-x[1], x[0], 0]])
    return X

def propagate(Rot_prev, v_prev, p_prev, g):
    F = torch.zeros(21, 21)
    G = torch.zeros(21, 18)
    v_skew_rot = skew(v_prev).mm(Rot_prev)
    p_skew_rot = skew(p_prev).mm(Rot_prev)

    F[:3, 9:12] = -Rot_prev
    F[3:6, :3] = skew(g)
    F[6:9, 3:6] = torch.eye(3)
    F[3:6, 12:15] = -Rot_prev
    F[3:6, 9:12] = -v_skew_rot
    F[6:9, 9:12] = -p_skew_rot

    G[:3, :3] = Rot_prev
    G[3:6, 3:6] = Rot_prev
    G[3:6, :3] = v_skew_rot
    G[6:9, :3] = p_skew_rot
    G[9:12, 6:9] = torch.eye(3)
    G[12:15, 9:12] = torch.eye(3)
    G[15:18, 12:15] = torch.eye(3)
    G[18:21, 15:18] = torch.eye(3)
    return F, G

if __name__ == '__main__':
    Rot = torch.eye(3)
    v = np.array([0.5, 0, 0], dtype=np.float32)
    p = np.array([1.5, 0, 0], dtype=np.float32)
    g = np.array([0, 0, -9.80655], dtype=np.float32)
    start = time.time()
    P = propagate(Rot, v, p, g)
    print("Propagate function takes {} secs".format(time.time() - start))

I have tried on colab with TF version 2.0 beta1 , and nightly version 2.0.0.dev20190818 was able to reproduce the issue.Please, find the gist here.Thanks!

You can use tf.tensor_scatter_nd_add etc to update slices without concats, which are dog slow.

You can use tf.tensor_scatter_nd_add etc to update slices without concats, which are dog slow.

@alextp thanks for your suggestion, but I think this may not be a proper solution for this issue. In this particular case, I need to assign several small matrices (e.g. 3x3) to a large matrix (e.g. 21x21). Something similar to this:
F[:3, 9:12] = -Rot_prev     F[3:6, :3] = skew(g)     F[6:9, 3:6] = torch.eye(3)     F[3:6, 12:15] = -Rot_prev     F[3:6, 9:12] = -v_skew_rot     F[6:9, 9:12] = -p_skew_rot
If I use tf.tensor_scatter_nd_add etc functions, I need to create 9 indices and separate 9 values from each small matrix? This is not very convenient nor efficient.
Please direct if I didn't understand or use this function properly.

I think scatter_nd_add can let you get one index for a whole submatrix (hence the nd part)

I think scatter_nd_add can let you get one index for a whole submatrix (hence the nd part)

@alextp From api guide, I only saw two ways to use this function: either add individual elements to a tensor by index, or insert entire slices of a higher rank tensor all at once.
Could you give an example how to use this function to implement this? Thanks!
F = tf.zeros([21, 21])
a = tf.ones([3, 3])
F[:3, 9:12] = a

Indeed this type of slicing on multiple dimensions at once doesn't work well with the tensor_scatter_nd_* family of functions.
I will leave it open and unassigned to see if someone wants to contribute a similar solution to those but for the slicing operations.

The tf.data API helps to build flexible and efficient input pipelines.

If this issue is still open, I would like to look into it. May I?

@guuava  Still open, I think, so go for it. I don't expect the solution to be trivial though and encourage you to write up a lightweight RFC proposal

Sure. I will draw up a proposal by the end of the week and share with you here

bump

@yzhang93 pytorch is faster than tensorflow also they don't have extremely breaking changes as tensorflow do. tensorflow provides tf_upgrade but it doesn't even work

https://colab.research.google.com/drive/18QFNQY1OtFBWI5Y2GYBbl6dsjdXZkb5K#scrollTo=kW1zIf11Jjup
I have re-tested the code above using the latest of TensorFlow 2.4.1 and PyTorch 1.8.0+cu101
This is the result:
For TensorFlow 2.4.1
Average Time: 0.004553 secs --> (Minimum Time: 0.004054 secs --- Maximum Time: 0.010114 secs)
For PyTorch 1.8.0+cu101
Average Time: 0.000164 secs --> (Minimum Time: 0.000146 secs --- Maximum Time: 0.001017 secs)
Different Time consuming (TF / PyTorch):
Average Case: Absolute Time: 0.004389 secs ---> Relative in Time: 27.7869x
Minimum Case: Absolute Time: 0.003908 secs ---> Relative in Time: 27.6938x
Maximum Case: Absolute Time: 0.009097 secs ---> Relative in Time: 9.9484x

@yzhang93
Could you please update TensorFlow to the latest stable version v.2.7 and let us know if you are facing the same error. Thanks!


It doesn't work when we delete！

help!
”### ### ###“
like this formatter，It doesn't work when we delete from the fourth character！
i read your code，found The error occurred in class(SHSPhoneLogic)
Can you fix this problem?
Because our project USES your framework, please

try it out 2.32

try it out 2.32

Thank you for your update！
But there seems to be a slight problem
formatter ”### #### ####“
input text ”158 6819 1992“
Input should not be allowed in this case, but now you can input before the last char

I was thinking about that, but it always was this way - I mean you can type in the center of the full input.
Not sure if blocking an input in this case a good idea. do you think it's a problem?

I was thinking about that, but it always was this way - I mean you can type in the center of the full input.
Not sure if blocking an input in this case a good idea. do you think it's a problem?

I agree！That's the right way to do it！
God bless you！thank you！


reverse USB tethering

Hey, great project!
I have a specific use case - I would need to reverse tether iOS so the device gets its network connection from USB, the main goal is to proxy that connection through socks5 or anything else while maintaining WDA control.
I'm now planning to try to use iOS -> Lightning cable -> USB -> RJ-45 connection which is reported to be working but dunno how I will be able to connect to WDA then, but that would be the least of the problems as my main goal would be to have a way to catch the traffic and route it via remote socks5 server.
In your opinion, how impossible this idea is?
Could there be a better way how to achieve socks5 on ios device without using VPN traffic apps like shadowrocket?

Thanks!
I am not quite familiar with socks5 but I think that iOS does not have native support for it and I would assume there is no way to do it without some 3rd party apps like you mentioned. Whats the big idea? You just need to catch the device internet traffic? What about basic HTTP proxy instead of socks5?
In general WDA can work without internet. For example in the context of this project in particular I just forward the WDA port over USB to the host and access it through the host network, it should work even if the the device has no internet connection at all.
Considering accessing WDA over the network when using reverse tethering, if the WDA port is forwarded like I mentioned above, then it should work as well I believe. If no port forwarding is used, I am not really sure but I would assume WDA will be available on the IP address assigned by the reverse tethering but I haven't used anything like this in a while and I don't want to mislead you :D


Context menus always use dark theme, regardless of overall theme setting

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.23.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20220223.14
Platform
Windows
OS Version
Windows 11
Bug Description
Context menus seem to be always using the dark theme, regardless of overall theme setting
Steps to Reproduce

Choose "Light", "High Contrast - White", or "High Contrast - Black" theme
Open any context menu, e.g. by right clicking a resource

Actual Experience
Example with "High Contrast - White" theme active:

Expected Experience
Expected theme to be followed
Additional Context
No response

@bwateratmsft The context menu theme comes from the system. Was the system using a dark theme?


Proposal: Add a non Indeterminate mode to Progress Ring.

Proposal: Add a determinate mode to the ProgressRing control
There is an open spec here and PR here for this proposal.
Summary
The ProgressBar control has both a determinate mode with a min/max/accurate value - as well as an animated indeterminate mode. The ProgressRing currently only has an indeterminate mode, and there is no determinate mode for this control.
Rationale
Ring indicators for Progress are used in many different systems. Xbox makes use of this type of display throughout the apps and Shell UI.  Windows 8 and Windows Phone also used these types of controls. The ProgressBar control has an IsIndeterminate property and can be used to indicate either indeterminate and determinate progress. Why not the ProgressRing as well? It will help app developers who want to indicate determinate progress with a Ring.
Scope

Capability
Priority

Value and IsIndeterminate properties (aligns with ProgressBar)
Must

Aligned for use in other Microsoft products and reflects new designs
Should

Add DisplayValue (value is shown as text inside the Ring)
Could

RingThickness (the width and height would not alter the thickness as it gets bigger or smaller)
Could

StartingAngle (so you can choose where the ring starts to fill from)
Could

Important Notes

Open Questions

There seem to be three styles of progress bar/ring designs in use by Microsoft at present.  Perhaps one of these should become cannonical, and all three meet to match each other?

Progress controls (both ProgressRing and ProgressBar) will be evaluated for style updates to align across Microsoft.

Xbox - Fabric - Fluent/Win10

Should a non indeterminate mode for Progress Ring support segmented storage/progress?

Showing segmented storage is a charting control, not a progress control, and not within the use case for the ProgressRing control.

Possible scenario: showing different sections of a program being installed (the core program, assets, etc)

Example visualization from @mdtauk :

Note, the Community Toolkit already has a RadialProgressBar that can do most of what is described above.

@mrlacey  I am aware of that control, but come WinUI 3.0 this whole project takes on a broader scope and bigger scale of changes will be possible.  Should this not just be the default control, with both indeterminate and radial progress all together, as it is with the ProgressBar?
Perhaps even add Multiple Value properties to both bars to enable scenarios like:

It is a question of should ProgressRing and ProgressBar have feature parity, but just be different forms.

@mdtauk I was trying to fill out this proposal by highlighting more of what's currently possible/available.
When you get into controls supporting multiple values you get into the realm of graphing/charting. This makes it more about than parity between two controls and adding potentially complex new functionality.
 This could mean the only difference between them is a rotational transform. At that point, could they be one control with a property to indicate shape? (line or circle)
It would be good to have this conversation informed with the rational behind the original creation of the two different controls. I assume that ProgressBar was designed for flexibility and ProgressBar was created as a separate control to make a common, simple scenario easy to implement. The need to balance theses differing needs and requirements must not be overlooked when considering any changes here.

@mrlacey  I agree that there is a fine line between charting and progress, so keeping it to a single value probably makes the most sense.
It would be good for the design process and rationale to be more open, especially when UWP joins WPF and WinForms as open source presentation platforms.
And I am also in favour of taking a look at the disparate expressions of Fluent design which currently exists, and try to unify them in an open discursive and collaborative process.
Why have a Fabric Spinner, an Xbox Spinner, and the Windows dotted ProgressRing - all looking different, but doing the same thing?
Why do the different Progress Bar Indeterminate states have different animations?
But if there is a reason to combine Indeterminate states into the Progress Bar, but not the Progress Ring - I would be interested in hearing it.

Thank you @mdtauk for the thoughtful proposal and @mrlacey for your helpful comments! I am focusing on F# support for the next few days but really appreciate all your contributions! Should it be a "non-indeterminate" mode, or a "determinate" mode?

Thank you @mdtauk for the thoughtful proposal and @mrlacey for your helpful comments! I am focusing on F# support for the next few days but really appreciate all your contributions! Should it be a "non-indeterminate" mode, or a "determinate" mode?

@kathyang  At the moment the ProgressBar has an InDeterminate property which is set to False by default, and switches to a looping animation when set to True
Ideally I would think it should match the ProgressBar exactly.
So a default mode with a value that moves from 0 to the max value.  This would be translated to an angle from 0 to 360 degrees.
Then when the IsIndeterminate value is set to True, then the control's animation will play.
By the nature of the control, there may need to be properties for the Starting Angle and Ring Thickness.

@mdtauk I definitely agree with you that an InDeterminate property should match the behavior in ProgressBar.
I've created a new issue #880 to discuss progress in general - for ProgressRing, ProgressBar, and any other progress scenarios. I'd love to hear everyone's thoughts on progress controls there!

Thank you everyone for your help with this, I've started the spec here and the PR is here. I'd love to keep getting your thoughtful contributions and feedback on the spec!

🦙 Can this be closed now that WinUI 2.5 has shipped? https://docs.microsoft.com/windows/apps/winui/winui2/release-notes/winui-2.5

Sure, closed! 😁


Theme Generator myCustomTheme

Link to the Page
https://www.skeleton.dev/docs/generator
Describe the Issue (screenshots encouraged!)
I have followed the guide but get an error message when using myCustomTheme.
there are not enough tutorials on the internet for this.
tailwind.config.js
import { myCustomTheme } from './src/styles/CustomTheme'

plugins: [
	skeleton({
		themes: {
			custom: [
				myCustomTheme
			]
		}
	})
]

While I would love to help you, we'd need some more information, like "whats the error message"?

@Bimbimz we cover themes in detail in our documentation here:
https://www.skeleton.dev/docs/themes
But otherwise what Sarenor said - we need more information about what's happening to help you.

this is the error message
[plugin:vite:css] [postcss] Cannot find module './src/styles/CustomTheme'

file name is CustomTheme.tsx
i changed it to CustomTheme.ts and it works.
is it possible to create a file with the CustomTheme.jsx extension? and what does it contain?

@Bimbimz that's correct, per our documentation we typically recommend .ts files. To make sure we're on the same page:

.js - Javascript file extension
.ts - Typescript file extension
.jsx - JSX file extension (typically used for React components)
.tsx - the Typescript enabled variation of JSX files

There would be no immediate benefit of using JSX for theme files. They're just a JS object that's fed to the Skeleton Tailwind plugin so we can read the settings within.
You linked to the Skeleton v2 documentation which currently only supports Svelte and Sveltekit as mentioned the Get Started docs:

So let me ask - are you trying to use Skeleton v2 within a React project? If so that's possible, but not officially supported by us. However, we're currently working on developing Skeleton v3, which will have full support for React and Next.js. If you're curious about that, you can learn more her:
https://github.com/skeletonlabs/skeleton/discussions/2681
Just note that Skeleton v3 is in an early pre-release state right now and not ready for production use.

i want to use the latest version.
i have v2 by running this by default:
npm i -D @skeletonlabs/skeleton @skeletonlabs/tw-plugin
does v3 support Svelte?
i use react a lot, and these days trying svelte.

Ok, the last release for Skeleton v2 is:

@skeletonlabs/skeleton: v2.10.2
@skeletonlabs/tw-plugin: v0.40

You can run npm list to verify your installed versions.
For Skeleton v3 - one of the primary goals is to support Svelte 5, which introduces some new component APIs and features we wish to support. So support will be Svelte 5, React, and eventually Vue and other frameworks as well.

Also I think the original issue raised has been resolved, so I'll go ahead and close out this issue. If you have further questions feel free to reach out here (I'll see new posts). Thanks!


Sonar should enforce maximum mining requirements

Submitted gradients should only be accepted if there are at least 10 gradients from another miner in between submissions

Shouldn't this be reopened? Don't have access to the repo but I'm pretty sure this is part of hydrogen :)

This should be in Sonar, right? I recreated it in Sonar after realizing this was the client-side library :)

oh you're right. Seems like I fell into the same trap haha


How to get current location without history.listen?

How to get current location without history.listen?

This is impossible by design with 1.x and 2.x, as we want the history API to be stateless.

You should remove the getCurrentLocation references from the docs.

The docs refer to the 3.x prerelease, not to 1.x or 2.x.

:+1:


Added more hooks to _alter_field and streamlined function signatures.

Note: As annoying as the latter is, the streamlining is kinda required
to have the model everywhere as opposed to just the table name.

buildbot, test on oracle.

Ok, final (untested) cleanups -- will fix breakage after lunch.

buildbot, test on oracle.

buildbot, test on oracle.

buildbot, test on oracle.

buildbot, test on oracle.


RC Spot Check: Virtual Workshop 1.1

@amanda-phet, @kathy-phet, @mattpen, @KatieWoe the Virtual Workshop is ready for an RC spot check. Please document issues in https://github.com/phetsims/website-meteor/issues and link to this issue.
Assigning @kathy-phet for prioritization.

General RC Test

What to Test
See issues to verify

Issues to Verify
Please see https://github.com/phetsims/website-meteor/issues/250 for this section.
These issues should have the "status:ready-for-qa" label. Check these issues off and comment if they are fixed.
Otherwise, post a comment in the issue saying that it wasn't fixed and link back to this issue. If the label is
"status:ready-for-review" or "status:fixed-pending-deploy" then assign back to the developer when done, even if fixed.

Link(s)

Virtual Workshop

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Win 10 Chrome (Time = )
Win 10 Firefox (Time = )
Mac 11 Safari (Time = )
Mac 11 Chrome (Time = )
iPadOS (Time = )
ChromeOS (Time = )

QA is done. Some tests not checked off and closed if not fixed or clarification needed

1.1 has been published, thanks! closing.


Add support for multiple Haze nodes attached to a HazeState

This PR adds in support for multiple Modifier.haze nodes attached to a HazeState. This means that there can be N haze nodes, and M hazeChild nodes attached to a state.
This has a number of use cases which I'll document, but the main one is the overlapping area use case:
https://github.com/user-attachments/assets/e7c71898-4988-47f1-b094-c43e6bce7422

[x] Benchmark performance
[x] Write docs

Fixes #425, #443

Thanks!


No longer create compilation nodes for directories

This initially came out as just a refactor, but along the way I noticed a bug that this ended up fixing.
Traverse was creating nodes for not just files, but also directories (anything not starting with _). This meant that the following structure:
images
 |- logo.png

would create a node for images and another for images/logo.png
Both of those nodes would match pass_through rules, and this would essentially result in:
cp -r images _site/images
cp -r images/logo.png _site/images/logo.png

which is redundant
The new code skips directories alltogether. They're not relevant for the compiler, we only care about the path files are in, and that is still encoded in the file name we use. This simplifies the code a bit. Traverse doesn't have to create nodes for directories (which looked weird at that layer), and any other part of the code can skip doing File.dir?(file) checks (except for one place which is currently suffering from a separate bug I believe?)

except for one place which is currently suffering from a separate bug I believe?

Is this separate bug documented?

except for one place which is currently suffering from a separate bug I believe?

Is this separate bug documented?

I'm discussing it with gabriel to understand if it's actually bug

@frm the bug is now fixed. more stuff got removed now 🔥


Corrected incorrect cardinality direction.

Summary

my mistake🙇♀.

ref: https://github.com/liam-hq/liam/pull/262#discussion_r1886206480

Related Issue

Changes

Before

After

Testing

Other Information

@kumanoayumi Should the lines be crossed?


Display only BuildCacheKey.getHashCode()

Instead of using toString().

This is a quick solution to make sure we always display cache keys the same way. We'll refactor how caching works soon and start using getDisplayName() universally.


Feature request: Add ability to choose between MKII toasty and MK3 toasty

Mortal Kombat 2 and Mortal Kombat 3 both featured the toasty easter egg. The games used different images/sounds.
This library currently uses the MK3 toasty image with the MK2 sound effect. I think it would be neat to have a configuration that allows you to choose the MK2 set of image/sound or the MK3 image/sound (or maybe configure them separately so you can do any combination you want).
I would be happy to implement this feature.

Good idea. Be my guest 👍


regression: Scaladex frozen (won't extract)

after some recent commits by @MasseGuillaume
[scaladex] [warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[scaladex] [warn] 	::          UNRESOLVED DEPENDENCIES         ::
[scaladex] [warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[scaladex] [warn] 	:: com.dwijnand#sbt-compat;1.1.0: not found
[scaladex] [warn] 	::::::::::::::::::::::::::::::::::::::::::::::

not sure if we need to add a resolver to our Artifactory, or what. it isn't clear to me where sbt-compat is even coming from, here (git grep sbt-compat in the scaladex repo shows nothing)

worked around it for now by freezing Scaladex at an older commit (e42200ee546bf92d756e34eefc1deff9c777d3c9)

@SethTisue https://github.com/scalacenter/scaladex/commit/56035c71fba13366fb78fda5b21076fe9ab0ec4b#diff-a84f91f20f040218bccd09fed4761fb3 ?

@MasseGuillaume maybe? I really don't know. maybe something to do with https://github.com/sbt/sbt/issues/3393? sbt-compat is all the way at version 1.2.4 these days
@jrudolph @dwijnand?

Even if sbt-compat isn't an sbt plugin it's cross-built to sbt versions so I published it to the sbt's sbt-plugin-releases ivy repo, and there are variants for version 1.1.0 for both sbt 0.13 and sbt 1:

https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-compat/scala_2.12/sbt_1.0/1.1.0/jars/
https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-compat/scala_2.10/sbt_0.13/1.1.0/jars/

Here's the changelog from the commit Seth froze to to the latest master commit: https://github.com/scalacenter/scaladex/compare/8f943f196179a8f5b73f1efee958ee462d5b3938...60da649ef05e3724b52d71556b76874691bf0174
It's unclear to me why every other plugin (and transitive dependency) is resolving but not sbt-compat via sbt-dependency-graph.
One possible workaround is to PR scaladex to not include sbt-dependency-graph, which I think is reasonable as it's not a plugin the build requires, it's a user utility that should be installed user-wide ("globally").

Scaladex isn't currently under active development, so I'm content to leave it frozen


Is there an existing issue for this?

[X] I have searched the existing issues

Description
Currently, the state of checkboxes in changePermissionModal sometimes does not correspond to the real file/directory permissions.
I observe this in different cases, but I was not able to find exact pattern.
Steps To Reproduce
However, the following steps leads to a stable reproduce:
create some directory A
change it's permissions to something non-default
create another directory B
try to change directory B permissions
And here is what I get:

Logs
No response
Hue version
Open source release 4.11

Issue found and described by @idzikovsky for PR https://github.com/cloudera/hue/issues/3356


Support graceful termination in kube-proxy replacement

Currently, we remove a backend IP from a LB service map immediately after the cilium-agent's k8s watcher has received an event that a corresponding Endpoint was removed. This can prematurely terminate existing connections even if a service pod was deployed with terminationGracePeriodSeconds, which should guarantee that the pod won't get killed for the given amount of seconds after it has received SIGTERM.
The problem becomes even more obvious, when cilium-agent receives the Endpoint rm event before kubelet, which is responsible for executing CNI DEL.
To nicely handle the termination, we should postpone the removal of a backend IP from the lb_backends_v{4,6} maps either for terminationGracePeriodSeconds (if set) or for a configurable per protocol timeout.

This PR which is showing up in k8s 1.20 might be of interest to help solve this issue kubernetes/kubernetes#92968

Thanks. Note to ourselves: when implementing the feature, we need to consider the endpoint-related changes in k8s v1.20 https://github.com/cilium/cilium/issues/14239.

Tracking the fix for this issue in https://github.com/cilium/cilium/issues/14844.


Unit test fix

Sorry, was trying to integrate this request in my fork.

This is what you want: https://robots.thoughtbot.com/keeping-a-github-fork-updated :-)


Container won't restart --replication + LDAP_TLS_ENFORCE: true

Hello,
We have deployed 2 openldap containers with host replication and LDAP_TLS_ENFORCE enabled.  Each container are on their own RHEL7 linux server with docker engine installed and no clusters. We have mounted 2 docker volumes for /var/lib/ldap and  /etc/ldap/slapd.d.  We have created our custom image based on "extend-osixia-openldap" .  In attachment you will find:

a Dockerfile,
a startup script
a startup file
2 log files. 1.txt is first container start, 2.txt is a restart

Here's the scenario to replicate the issue:
On first start :

create 2 new volumes
start container, populate docker volumes
Everything is up running, no issues. (see 1.txt)
stop the container

When I restart the openldap container,

use existing docker volumes

Container won"t start (see 2.txt)
5c65a030 conn=1005 op=1 modifications:
5c65a030 	replace: userPassword
5c65a030 		one value, length 38
5c65a030 base_candidates: base: "cn=admin,dc=externe,dc=loto-quebec,dc=ti" (0x00000002)
5c65a030 send_ldap_result: err=0 matched="" text=""
5c65a030 mdb_modify: cn=admin,dc=externe,dc=loto-quebec,dc=ti
5c65a030 send_ldap_result: err=50 matched="" text=""
ldap_modify: Insufficient access (50)
modifying entry "cn=admin,dc=externe,dc=loto-quebec,dc=ti"
5c65a030 connection_get(14)
5c65a030 connection_get(14)
=> ldap_bv2dn(cn=admin,dc=externe,dc=loto-quebec,dc=ti,0)
<= ldap_bv2dn(cn=admin,dc=externe,dc=loto-quebec,dc=ti)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=admin,dc=externe,dc=loto-quebec,dc=ti)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=admin,dc=externe,dc=loto-quebec,dc=ti)=0
5c65a030 send_ldap_result: err=13 matched="" text="confidentiality required"
ldap_bind: Confidentiality required (13)
additional info: confidentiality required
5c65a030 connection_get(14)
*** /container/run/startup/slapd failed with status 13
BTW: No restarting issues if LDAP_TLS_ENFORCE: false
Robert
tls-enforce-issues-on-restart.zip

this case is for osixia/openldap


Ember change set object not being modified with mut helper

I'm trying to use the mut helper to change the property of a changeset when a dropdown option is selected. The mut helper works fine if I use with a raw Ember model object. It doesnt seem to set some values when I use it with a changeset object.
This repository reproduces the issue.
There a two drop downs, one with a changeset and one without.

Might be a duplicate of https://github.com/DockYard/ember-changeset/issues/153

This bug was added in 1.2.2
1.2.1 is working fine

Thanks for reporting! Will investigate.

Any update on this? I'm having the same issue.

I've found a minimal repro of what I believe is the same issue https://ember-twiddle.com/343eb036473f83a8332cb83d6a878497?openFiles=twiddle.json%2C

changeset-set is the canonical way to set a nested property in templates.  changeset.set will work in .js as well!


Added custom jvp for np.linalg.det

For faster gradient computation for determinants, added closed-form expressing for Jacobian-vector product. Still needs a test.

I think the tests are failing due to an import issue (probably just needs a from jax import custom_transforms. Can you take a look?

@dpfau unfortunately we can't merge until the Travis CI tests pass, but it seems they're failing due to custom_transforms not being imported, or something. Can you take a look at that?

@mattjj Sure, I still need to add tests anyway, so it's not ready to merge quite yet.

I see you've added @jit to slogdet since I started this fork. Does the order of @jit and @custom_transforms matter?

Should be ready to merge now, if all tests pass.

What the hell...tests are passing just fine locally.

Merge away!


🐛(backend) store contract context date in isoformat

Purpose
Datetime objects are not json serializable. Currently, we store course start and end dates in contract context but as we are not serializing them to string an error is raised when we want to persist contract context.
Proposal

[x] Fix error raised on contract context persistance

According to @lunika suggestion, I totally revamp the way I address the related issue.


Ruby version fix

version 3.0 is not supported

/jira open bug

@ElDuderinos hey, can you please merge this? I don't have the right permissions