"Market a jet backpack" times out when kernel=CPU

Description of the bug:
The jet backpack example loads by default with a runtime type = CPU. If you add an API credential and run the notebook on that runtime, the line response = model.generate_content([analyzePrompt, img]) consistently times out.
Changing the runtime to T4 allows this line to complete successfully.
But then further down, copyResponse = model.generate_content([websiteCopyPrompt, img]) fails with a timeout.
Changing the runtime to TPUv2 allows both to complete.
It's not documented in the notebook that a specific class of runtime is required.
Actual vs expected behavior:
expected: notebook runs and matches included output
actual: timeout error
Any other information you'd like to share?
No response

@SpencerGreene, Market a Jet Backpack tutorial makes an API call to Gemini API and doesn't run the Model on Colab runtime. So, the notebook should work without any issues on CPU runtimes.
I was able to run the whole notebook in single go on CPU  runtime. Timeout issues looks like intermittent errors and should work now.
Requesting you to share a replicable colab gist so that we can replicate the issue on our end. Thank you!

That makes complete sense - and when I run it now it works fine.
I must have gotten unlucky on an intermittent - it happened to time out on CPU and it happened to complete on TPU, just by coincidence, so I overfit from small sample. My bad - feel free to close.


"Dobrețu", "Curtișoara", "Horezu" are listed in the drop-down menu

Description:
When user writes "Dobrețu", "Curtișoara" and "Horezu" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Dobrețu"
Expected results
The location appears in the drop-down menu as "Sat Dobrețu, OLT (Dobrețu)"

Step 2
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Curtișoara"
Expected results
The location appears in the drop-down menu as "Sat Curtișoara, OLT (Dobrețu)"

Step 4
Press "x" button.
Expected results
The location was deleted from the search bar.


Arlecchino’s Attacks Massively Slow down when going above 60 fps

Crazy right? You’d expect the opposite. Anytime the fps is set to above 60 fps, Arle’s first 3 normal attacks become very sluggish, and button/mouse mashing no longer works to get them to execute quickly like they should. It’s unfortunately ruined her playability for me, so I had no choice but to stop using the tool and go back to 60 fps🥲

lol its not the tool its your PC or game settings. Try setting "SFX" setting in game to low. This controls the visual effects from using character skills and whatnot. Medium and up is poorly coded and causes extreme fps loss even on a high end GPU. Putting to low looks slightly worse but eliminates such issues

@elbadcode Setting SFX to low didn’t do anything for me. Also I have the same settings at 60 in game as I do for 120fps with the tool. Have you tested this out for yourself?

I spent like 20 minutes playing with her in the test mode because her animations are so satisfying. No issues whatsoever at 200 fps. I can even send a clip if you want

@elbadcode I’d mostly like to get some advice on what you think the core issue might be? Lowering the settings to lowest possible doesn’t do anything either, it’s very strange. I hope it’s not my mouse or something (g pro superlight 4k polling). I’m also running a 3080 just for reference. But sure if you could send a clip of you hitting enemies that’d be great

https://github.com/34736384/genshin-fps-unlock/assets/10409982/3c96a0a2-e0de-41b4-8763-0a7fcfb510c6
Looks completely normal to me. On a 4070 so slightly better but not a big difference. Could definitely be related to your mouse. what CPU do you have?

Thanks for sending, I have a Ryzen 7 5800X. I tested a different mouse and I'm still having the same problem though. Here's a demo of what I'm dealing with just so you have a better idea
https://github.com/34736384/genshin-fps-unlock/assets/57196808/62ac70f3-d516-42cf-8f52-a4e2744d4ecd
https://github.com/34736384/genshin-fps-unlock/assets/57196808/2911f162-91e0-4102-a792-c22438f57be5
I see there's a graphic driver update that was available since the 16th but I'm not too optimistic about that. If it's still happening I'll try reinstalling the game, don't know what else to do 😂

@elbadcode yeah I just checked on my gaming laptop and the same thing is happening

Its pretty hard to see what you mean honestly. I'm guessing its more like an input latency issue or frame pacing rather than an actual slowdown. Comparing the videos side by side shows no real differences in nvidia ICAT but I didn't sync them perfectly. I'm also on 240 hz so I'm aware that there can be issues that are felt but not necessarily seen in a video. First thing to consider is DWM vysnc adding input lag. If you're not on windows 11, please upgrade to latest windows 11 and use these settings. The bottom one in particular fixes issues with non-exclusive fullscreen apps. at high refresh rate

Also consider your fps unlocker settings. I use the borderless option. For nvidia settings I recommend using ultra low latency mode and high power performance with vsync disabled globally. Most other settings should be left alone.
If the issue is truly only with arlecchino and not present on other characters you can try deleting your nvidia shader cache for genshin. To do this you can either use nvidia inspector and set it off specifically for genshin or you can disable it globally. In either case make sure to restart your PC. You may also consider reinstalling the game.
Additionally you can try using RTSS with a keybind to enable a 60 fps cap ingame on the fly. The injector only interacts with the game at launch so if there is a problem its with the game itself and would need to be examined using this method for comparison. There was a similar but far more drastic issue with kokomi a year ago where her normal attacks caused extreme stutters and slowdown above 60 fps. I had to use the keybind to avoid the issue for a full patch but luckily due to 120 fps IOS users having the issue it was fixed.
As for my setup it is worth noting I'm using my own fork of this launcher that automates injection of reshade and 3dmigoto for shader modification. Those mods were not active in the video I sent and there shouldn't be any major differences in the launcher from what I can recall, but you can download the binary from my profile if you'd like to try. Reshade and 3dmigoto are not necessary to use it but can be found by perusing my profile if you wish to use them. I personally play with minimal mods at 240 fps for domains/abyss but otherwise I use RTGI and other heavy shader mods alongside lossless scaling frame generation for visually smooth but higher latency 120-150 fps gameplay

Thanks so much for making an effor to help me look into this - you really didn't have to so I appreciate it! I disabled v-sync, adjusted the windows setting you mentioned, enabled ultra low latency, and set image settings to performance (was quality). I also started using RTSS to limit the fps to 200, and I've noticed a significant decrease in input lag as well as better frame times.
Regarding Arlec, I was referring to the speed of her first 3 attacks in her combo. After testing this a bunch, I realize that you actually have to time your attack (add a small delay between your first and second clicks) when on >60 frames to reach the same attack speed you get mashing on 60 frames.
In the first combo of the vid with the unlocker (it also happens in one of the later combos too), Arlec stalls after the first hit for a bit, then goes onto the second and the third. But in the vid where I was playing on 60 frames, that stalling after the first hit is not there, and she instantly follows up with a second hit. For optimal play, the stalling after the first hit is detrimental since the player wants to get to the third hit as soon as possible so that they can dash cancel out of it. Even if not dash cancelling, you will get your elemental skill back faster the faster you normal attack - so you want to fit as many of these in as possible. She reaches this third hit at a later time if the combo isn't executed quickly as it should be, causing a dps loss.
I think the stalling happens because with the unlocker, the game is able to register your input on an earlier frame than it is at 60fps. Example: say Arlec's N1 happens frame 2, and her N2 happens frame 6. This means game will not consider any mouse inputs for the N2 until frame 6. Let's say you're on 60fps mashing; because of the lower frames, the game isn't receiving your mouse input for the N2 until frame 6, but with the unlocker (higher frames), it receives it at frame 4. This means that even though you sent the game input at frame 4, it isn't allowing you to act until frame 6, so your input gets deleted and doesn't happen until you click your mouse again during or after frame 6. But unfortunatley, you click at frame 9 instead since it takes time to click a mouse. And BOOM, now you're attacking slower.
In other words genshin lacks a buffer system for inputs. If you act before you're allowed to, your action gets dismissed, and you need to perform it at an "allowed" time for it to be considered. Some other games like smash bros will save your "too early" input, then fire it off as soon as an input is allowed, making for seamless attacking. The big downside to this is that you can't cancel your buffered input - this is probably why hoyo decided not to include a buffer system. But thanks again for helping me experiment and figure this out!

@elbadcode Thanks so much for making an effor to help me look into this - you really didn't have to so I appreciate it! I disabled v-sync, adjusted the windows setting you mentioned, enabled ultra low latency, and set image settings to performance (was quality). I also started using RTSS to limit the fps to 200, and I've noticed a significant decrease in input lag as well as better frame times.
Regarding Arlec, I was referring to the speed of her first 3 attacks in her combo. After testing this a bunch, I realize that you actually have to time your attack (add a small delay between your first and second clicks) when on >60 frames to reach the same attack speed you get mashing on 60 frames.
In the first combo of the vid with the unlocker (it also happens in one of the later combos too), Arlec stalls after the first hit for a bit, then goes onto the second and the third. But in the vid where I was playing on 60 frames, that stalling after the first hit is not there, and she instantly follows up with a second hit. For optimal play, the stalling after the first hit is detrimental since the player wants to get to the third hit as soon as possible so that they can dash cancel out of it. Even if not dash cancelling, you will get your elemental skill back faster the faster you normal attack - so you want to fit as many of these in as possible. She reaches this third hit at a later time if the combo isn't executed quickly as it should be, causing a dps loss.
I think the stalling happens because with the unlocker, the game is able to register your input on an earlier frame than it is at 60fps. Example: say Arlec's N1 happens frame 2, and her N2 happens frame 6. This means game will not consider any mouse inputs for the N2 until frame 6. Let's say you're on 60fps mashing; because of the lower frames, the game isn't receiving your mouse input for the N2 until frame 6, but with the unlocker (higher frames), it receives it at frame 4. This means that even though you sent the game input at frame 4, it isn't allowing you to act until frame 6, so your input gets deleted and doesn't happen until you click your mouse again during or after frame 6. But unfortunatley, you click at frame 9 instead since it takes time to click a mouse. And BOOM, now you're attacking slower.
In other words genshin lacks a buffer system for inputs. If you act before you're allowed to, your action gets dismissed, and you need to perform it at an "allowed" time for it to be considered. Some other games like smash bros will save your "too early" input, then fire it off as soon as an input is allowed, making for seamless attacking. The big downside to this is that you can't cancel your buffered input - this is probably why hoyo decided not to include a buffer system. But thanks again for helping me experiment and figure this out!

Yeah smash is probably the most egregious case of input buffering. This game seems to have a small amount but they may have written frame dependent code for some stuff. I did practice and learn kokomi n2 cancels and diluc/beidou plunge combos on 240 fps but that was no problem after having learned supergliding in apex so I couldn't say for sure if my window was smaller.
Another thing to consider is that this is an online game with similar simulation netcode to an fps or a fighting game with rollback and fps could have an effect on networking. If the send/receive rates are faster than 60 fps, I'd assume they are bc of 120 fps iOS, then as a rule increasing framerate increases bandwidth usage which can increase ping and latency. This isn't always a stable and consistent change so it could throw off game feel


Adding License to repository in order to submit to PyPI

This pull request consists of a bunch files that are being added in order to build and submit package to PyPI.

Okay, I will try to build these packages without the mentioned files and get back to you on how it turns out!

Looks good - thanks!


[FancyZones] does not respecting windows/taskbar size when wake up after sleep/hibernate

Environment
Windows build number: Version 2004 build 19041.329
PowerToys version: 0.19.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

Put one (or more) window in one fancy zone
Put the notebook in the sleep/hibernate mode (I'm just close the notebook screen)
Wake up the notebook (open the notebook screen)
Log in in the Windows and see the problem

Expected behavior
FancyZones respecting the windows/taskbar size as did before
Actual behavior
FancyZones respecting the windows/taskbar size.
Screenshots
Please, pay attention to "write message field" in the telegram app
Before sleep mode

After sleep mode

I'm seeing the same behaviour, also with version 0.19.1.
If I bring up the FancyZone editor and dismiss it (without making changes), the borders are fixed and the windows no longer hide behind the taskbar.

@fabriciofx @theunrepentantgeek
this will be fixed in 0.19.2, in the mean time just turn FZ on/off or reapply the zoneset.
Closing as duplicate of https://github.com/microsoft/PowerToys/issues/4694
Thanks.

Great news - thanks!


Need to use half units when drawing lines

When drawing horizontal lines, the line is drawn across the top of the logical grid box; vertical lines are drawn along the left side. This means that it's almost impossible to have good looking bifurcating lines. It also means that marked lines moving from left to right are longer than lines moving from right to left (as evidenced by the "2" and the "s" in the logo). The same is true for downward-oriented lines (versus their upward counterparts).

Bitbucket: https://bitbucket.org/dhobsd/asciitosvg/issue/4
Originally reported by: Devon O'Dell
Originally created at: 2012-03-13T16:57:16.079

Issue's been resolved but due to reference point of markers, this wasn't entirely visually obvious to me.

Original comment by: Devon O'Dell


Actually retry instead of blocking indefinitely.

Fixes #1632

Jesus

I fixed a couple other places that have similar code as well.  LGTM.

I'm actually surprised the linter doesn't catch  this, unless I'm mistaken a single statement select is completely useless and likely a bug.

That's a good point.  Maybe go vet would've caught it.


Add sessions

feat(sessions): add actions
feat(sessions): add types

Useful for #41  but will be closed soon


updated xbox360-controller-driver (0.14)

Closes #17769.

Merged as a6c3f89747257033932990e044f95da8b9e31a96.


#17 - Multi-component key support

Fixes #17
In some object types, the object name comprises multiple fields (e. g. WDCC).
Thus, the name needs to be split up to the components in order to create a proper select-clause

Now, I can export WDCC properly.
However, changes might affect other object types as well. Have you got a repo with object types which are unsupported by the core in order to validate serialization?

non-core serialization: nope, I dont use the plugins very much


Cargo Build: Cannot Transmute Between Types of Different Sizes

Hey there. I'm very interested in your project but ran into the following error trying to build:
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
   --> /Users/astrovicis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/socket2-0.3.12/src/sockaddr.rs:176:9
    |
176 |         mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: source type: `SocketAddrV4` (48 bits)
    = note: target type: `sockaddr_in` (128 bits)

   Compiling mio v0.6.21
For more information about this error, try `rustc --explain E0512`.
error: could not compile `socket2` (lib) due to previous error

Any idea how to get around this?

Hi @Astrovicis ,
Thanks for your interest in the project. I haven't really touched it for years and my guess is that something breaks with the dependencies and the current rust version. I'm not in front of my laptop, I will have a look at it later.
I'm curious though, what makes you interested in this project?

Hello! Any updates?

Hi @eufelipemateus ,
I currently have no time to make a full rewrite of this crate. It hasn't been updated since 4 years now and pretty much everything is outdated. I have other priorities at the moment and will eventually get back on this one, but I can't tell when exactly :).


can't fuzzy match a single completion candidate

Steps to reproduce

run barebone vim with vim -Nu NONE
:set completeopt+=fuzzy
add line xyz
on the next line type x and press CTRL-N

I would expect it to complete xyz. It doesn't happen.

Expected behaviour
xyz should be completed as withoug fuzzy
Version of Vim
9.1.465
Environment
debian 12
Logs and stack traces
No response

@glepnir fyi

Issues description are not as detailed as we discussed in the commit section.

first does fuzzy should works like menuone when only have one match.
not work when use normal completion <C-N>/<C-p>  reproduce step in #14910

for question 2 a littile trouble because of searchit function based on regex. may need some change..

Wait, not sure I understand. We added fuzzy to 'completeopt' option. That is about how vim handles the completion menu and list of already existing candidates. So my understand for fuzzy was, when enabled, the reduction of the list of candidates happens by fuzzy matching, but how the list of candidates is created is depends on what kind of completion mode was used (e.g. those of i_CTRL-X mappings). One may use fuzzy-completion there as well (using a custom omni-completion), but you may as well simply use regex based search of atoms inside the current buffer of make use of the dictionary.
So given that, I would expect that completeopt+=fuzzy doesn't make a difference for
x<C-N> since the list of candidates is build using default keyword local completion (even when there is only 1 candidate).

yes . normal completion is based on keyword regex. but I tried to modify get_next_default_completion. If I force some conditions to be skipped, it seems feasible to get fuzzy scores for ptr and compl_orig_text. not sure do we want also fuzzy on this mode

I made a small change to the doc 2a2c4fffd7e04f74b316209404767f128684a9e1 on how this should work. I hope we can make it work then as documented.

It is actually a bit worse. It can't complete at all if menu is not in completeopt:

emm okay .. i am working on it.

Is this patch against the master branch here? git apply fails...

It is actually a bit worse. It can't complete at all if menu is not in completeopt:

my local modified for this problem.

applied patch manually:

same thing with set completeopt=fuzzy it doesn't complete
after several presses of C-n and C-p I've got segmentation fault

oh sry .. wrong diff should be this
diff --git a/src/insexpand.c b/src/insexpand.c
index 74be94cf4..247d4daf3 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -4143,8 +4143,8 @@ find_next_completion_match(
     {
        if (compl_shows_dir_forward() && compl_shown_match->cp_next != NULL)
        {
-           compl_shown_match = !compl_fuzzy_match ? compl_shown_match->cp_next
-                                               : find_comp_when_fuzzy();
+           compl_shown_match = compl_fuzzy_match && compl_match_array != NULL
+                       ? find_comp_when_fuzzy() : compl_shown_match->cp_next;
            found_end = (compl_first_match != NULL
                    && (is_first_match(compl_shown_match->cp_next)
                        || is_first_match(compl_shown_match)));
@@ -4153,8 +4153,8 @@ find_next_completion_match(
                && compl_shown_match->cp_prev != NULL)
        {
            found_end = is_first_match(compl_shown_match);
-           compl_shown_match = !compl_fuzzy_match ? compl_shown_match->cp_prev
-                                                  : find_comp_when_fuzzy();
+           compl_shown_match = compl_fuzzy_match && compl_match_array != NULL
+               ? find_comp_when_fuzzy() : compl_shown_match->cp_prev;
            found_end |= is_first_match(compl_shown_match);
        }
        else

The patch is reverted.

I can't reproduce it with the latest vim though.

Oh right, it seems to be the separate issue.


Pin ao==0.3

PR to upgrade ao to 0.3. Clean up a couple ao version checks in the code that are no longer needed. We also need to provide more explicit guidance to users on how to run our FSDP2 recipes using stable ao + pytorch nightlies
Tested
tune run --nnodes 1 --nproc_per_node 2 lora_finetune_fsdp2 --config llama2/7B_qlora
...
1|14|Loss: 1.9024205207824707:   0%|▎                                                                                | 14/6470 [01:02<7:35:25,  4.23s/it]

Codecov Report
Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 26.44%. Comparing base (52e3283) to head (7bd0c51).

Files
Patch %
Lines

torchtune/utils/quantization.py
50.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (52e3283) and HEAD (7bd0c51). Click for more details.
HEAD has 3 uploads less than BASE
| Flag | BASE (52e3283) | HEAD (7bd0c51) |
|------|------|------|
||4|1|

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1125       +/-   ##
===========================================
- Coverage   66.69%   26.44%   -40.25%
===========================================
  Files         184      184
  Lines        8578     8557       -21
===========================================
- Hits         5721     2263     -3458
- Misses       2857     6294     +3437

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

nice! congrats for moving the pin. I was worried about everything moving fast. all good then :D


⚠ Secret Website 3 has degraded performance

In 044e58c, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 21677 ms

Resolved: Secret Website 3 performance has improved in f60e60a.


pytubefix.exceptions.VideoUnavailable: ←[91mE0MrUUs7PfA is unavailable←[0m

:exclamation:  DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE :exclamation:
lack of information will lead to closure of the issue

Describe the bug
This error is back. I have update today to the latest version of pytubefix
File "C:\Python310\lib\site-packages\pytubefix_main_.py", line 600, in streams
self.check_availability()
File "C:\Python310\lib\site-packages\pytubefix_main_.py", line 334, in check_availability
raise exceptions.VideoUnavailable(video_id=self.video_id)
pytubefix.exceptions.VideoUnavailable: ←[91mE0MrUUs7PfA is unavailable←[0m

code that was used that resulted in the bug
from pytubefix import Search, YouTube, Stream

def get_youtube_stream(self, id: str, title: str):
KThread(
name=self.get_youtube_stream.name,
target=self.get_stream, args=(id, title)
).start()

def get_stream(self, id: str, title: str):
try:
stream: Stream = self.get_url(id)
except Exception:
print("error", "".join(traceback.format_exc().rstrip("\n")))
else:
if stream is not None:
self.send_disp_event(
Inst.VLCMgr, {EType.Network: [stream.url, title]}
)

def get_url(self, video_id: str) -> str:
video_url = f"[https://www.youtube.com/watch?v={video_id}](https://www.youtube.com/watch?v=%7Bvideo_id%7D)"
yt = YouTube(video_url)
return yt.streams.get_highest_resolution()

Expected behavior
This error came up before. Youguys gave out a temp fix that i manually added to pytubefix in cipher.py module
Current method
def get_throttling_function_name(js: str, js_url: str) -> str:
"""Extract the name of the function that computes the throttling parameter.
:param str js:
    The contents of the base.js asset file.
:param str js_url:
    Full base.js url
:rtype: str
:returns:
    The name of the function used to compute the throttling parameter.
"""
function_patterns = [
    # https://github.com/ytdl-org/youtube-dl/issues/29326#issuecomment-865985377
    # https://github.com/yt-dlp/yt-dlp/commit/48416bc4a8f1d5ff07d5977659cb8ece7640dcd8
    # var Bpa = [iha];
    # ...
    # a.C && (b = a.get("n")) && (b = Bpa[0](b), a.set("n", b),
    # Bpa.length || iha("")) }};
    # In the above case, `iha` is the relevant function name
    # r'a\.[a-zA-Z]\s*&&\s*\([a-z]\s*=\s*a\.get\("n"\)\)\s*&&\s*'
    # r'\([a-z]\s*=\s*([a-zA-Z0-9$]+)(\[\d+\])?\([a-z]\)',

    # New pattern added on July 9, 2024
    # https://github.com/yt-dlp/yt-dlp/pull/10390/files
    # In this example we can find the name of the function at index "0" of "IRa"
    # a.D && (b = String.fromCharCode(110), c = a.get(b)) && (c = IRa[0](c), a.set(b,c), IRa.length || Ima(""))
    # r'(?:\.get\(\"n\"\)\)&&\(b=|b=String\.fromCharCode\(\d+\),c=a\.get\(b\)\)&&\(c=)([a-zA-Z0-9$]+)(?:\[('r'\d+)\])?\([a-zA-Z0-9]\)'

    # New pattern added on July 23, 2024
    # https://github.com/yt-dlp/yt-dlp/pull/10542
    # a.D && (b = "nn"[+a.D], c = a.get(b)) && (c = rDa[0](c), a.set(b,c), rDa.length || rma(""))
    # r'(?:\.get\("n"\)\)&&\(b=|(?:b=String\.fromCharCode\(110\)|([a-zA-Z0-9$.]+)&&\(b="nn"\[\+\1\]),c=a\.get\(b\)\)&&\(c=)(?P<nfunc>[a-zA-Z0-9$]+)(?:\[(?P<idx>\d+)\])?\([a-zA-Z0-9]\)'

    # New pattern used in player "20dfca59" on July 29, 2024
    # a.D && (PL(a), b = a.j.n || null) && (b = oDa[0](b), a.set("n", b), oDa.length || rma(""))
    # Regex logic changed based on old players, n_func can easily be found after ".length ||",
    # in this case n_func is "rma"
    # Before this regex, we got the function inside the idx 0 of "oDa"
    r'[abc]=(?P<func>[a-zA-Z0-9$]+)\[(?P<idx>\d+)\]\([abc]\),a\.set\([a-zA-Z0-9$\",]+\),'
    r'[a-zA-Z0-9$]+\.length\|\|(?P<n_func>[a-zA-Z0-9$]+)\(\"\"\)'

Update code that fixes the above error
r'a.[a-zA-Z]\s*&&\s*([a-z]\s*=\sa.get("n"))\s&&.?||\s([a-z]+)',
r'([a-z]\s*=\s*([a-zA-Z0-9$]+)([\d+])?([a-z])',
r'([a-z]\s*=\s*([a-zA-Z0-9$]+)([\d+])([a-z])',

Screenshots

Desktop (please complete the following information):
Windows 10 Pro - 22H2
Python 3.10.7 final
Pytubefix - 6.16.3

Additional context
Add any other context about the problem here.

The updated code i gave didnt fix it either.

The Video ID appears to have ANSI color codes embedded in it. What is the actual Video ID? Are you trying to "copy and paste" something. If yes, you have done so incorrectly (copied the colors with the value).
As described, it appears your problem is with your application or usage of your application and not with PyTubeFix. Provide more details to be sure.

it is not trying to use the colors, they are from pytubefix and do not influence the program's behavior, it appears like this because it must be in a cloud environment

What is probably causing the problem is the environment in which it is running.

Deducing the actual Video ID from the error string: https://www.youtube.com/watch?v=rku5jwNvlN0
I am able to download that video using PyTubeFix:
16:47:26 downloading captions: 10.86 KB [a.en] Shame on the UN
16:47:26 downloading audio: 6.73 MB 128kbps Shame on the UN
16:47:48 downloading video: 83.74 MB 720p Shame on the UN
Note: I often see the error message "Error: rku5jwNvlN0 is unavailable". Wait 5 seconds and try again usually fixes the problem. Sometimes additional retires are required. In my test, that is exactly what happened. The first download attempt returned the error and the second attempt succeeded.
The error is pytubefix.exceptions.VideoUnavailable.
That most likely means the error is in the application design and not with PyTubeFix. However, I have not deep dived into the source code to see exactly how that exception is generated.

The code i use does not run from a cloud environment.
I'm coding a windows application using pyside6.
When i do get this error type - pytubefix.exceptions.VideoUnavailable: ←[91mE0MrUUs7PfA is unavailable←[0m,
if i try the same video again it then works fine the 2nd time around.

YouTube appears to be blocking some requests made by the ANDROID_TESTSUITE client.
Try another client, for example IOS, WEB_EMBED , MWEB or WEB_CREATOR, and tell us the result:
yt = YouTube(video_url, 'WEB_CREATOR')

Note:
The IOS client does not have any progressive stream, that is, the audio and video files are separate.
WEB-based clients require signature cipher decryption, so they may take a little longer to generate the streams.

I am getting same error pytubefix.exceptions.VideoUnavailable: ←[91mE0MrUUs7PfA is unavailable, in cloud and local and being authenticated.

Any way to fix this issue? Thanks in advance

Tryed this way and worked:
    yt = YouTube(
        url,
        'MWEB', //Added
        use_oauth=True,
        allow_oauth_cache=True,
    )

Seeing the same thing in my application I have written. I am adding my feedback here as the issue seems a lot more prevalent when I am on a public guest wifi (Starbucks). Turning on my VPN to my home IP does not help, but having shitty Starbucks wifi does seem to influence how often I see this error. When I am coding at home on gig fiber, it's less frequently.

'WEB_CREATOR'

Changing it to WEB_CREATOR e.g. self.video = YouTube(self.url, 'WEB_CREATOR') worked for me.

hello, in which module it must be done? I mean the 'WEB_CREATOR' ?

hello, in which module it must be done? I mean the 'WEB_CREATOR' ?

this is how I use it
class YoutubeVideo:
    def __init__(self, url: str):
        self.url = url
        self.video = None
        self.audio_path = None

    def download_video(self):
        self.video = YouTube(self.url, 'WEB_CREATOR')
...

I've tried all the combinations but I still get this error...
"Error downloading video: get_throttling_function_name: could not find match for multiple"

same here, attempted to download with multiple clients, but no luck. Currently looking at hijacking a request like this (I'm only ever trying to download my own video - this link is in YouTube Studio).
https://www.youtube.com/download_my_video?v=<video_ID>&t=<long_key>

yeah I'm using pytubefix==7.1.3 and have tried:

the client on WEB_CREATOR which fails with a generic bad request.
the client on TV_EMBED, WEB, and a few others,  which all fail with Details: get_throttling_function_name: could not find match for multiple

After several hours spent on this bug, I can't still figure it out !
In my case, when I use pytubefix on my personal laptop with all the default parameter, there is no problem. But, when I push my code to github-actions, the Youtube class fails on reading the video and returns None in the GitHub runner. Most of the time it's about VideoUnavailable exception ! I'm trying to download an audio from a YouTube link.
I've tried all the client on the docs : ["WEB", ..., "MEDIA_CONNECT"], the clients that seems to successfully find the video in my case were ANDROID_MUSIC and WEB_MUSIC but they fails on downloading the audio.
Has anyone tried to make a download from github-actions ?
Thanks..

I think I had an issue with my pip install because a fresh install and using ANDROID_VR seemed to fix the issue for some videos.

yeah I'm using pytubefix==7.1.3 and have tried:

the client on WEB_CREATOR which fails with a generic bad request.
the client on TV_EMBED, WEB, and a few others,  which all fail with Details: get_throttling_function_name: could not find match for multiple

The error get_throttling_function_name: could not find match for multiple, is from old versions of pytubefix, in the most recent versions it has been updated. Make sure you are using the latest stable version and that you are importing pytubefix correctly.

After several hours spent on this bug, I can't still figure it out ! In my case, when I use pytubefix on my personal laptop with all the default parameter, there is no problem. But, when I push my code to github-actions, the Youtube class fails on reading the video and returns None in the GitHub runner. Most of the time it's about VideoUnavailable exception ! I'm trying to download an audio from a YouTube link.
I've tried all the client on the docs : ["WEB", ..., "MEDIA_CONNECT"], the clients that seems to successfully find the video in my case were ANDROID_MUSIC and WEB_MUSIC but they fails on downloading the audio.
Has anyone tried to make a download from github-actions ?
Thanks..

YouTube may require PoToken for all cloud clients

The error get_throttling_function_name: could not find match for multiple, is from old versions of pytubefix, in the most recent versions it has been updated. Make sure you are using the latest stable version and that you are importing pytubefix correctly.

yeah I updated and that fixed that error. Have found the MWEB client works best with Authorization - couldn't get WEB_CREATOR to work.

WEB_CREATOR client also doesn't work anymore for me, had success with yt_video = YouTube(url, client="WEB_EMBED")

yt_video = YouTube(url, client="WEB_EMBED") for me doesn't show an error, but doesn't work

WEB_EMBED works for me, but for certain videos it consistently fails. ANDROID_MUSIC seems to work for most videos for me, but not always on the first try - I needed to add some retry mechanism.

This issue has now been fixed, no need to change the client, just update to the latest version of pytubefix which implements the ANDROID_VR client as default.
The WEB_CREATOR client is undergoing changes that require login, embed clients fail for videos that cannot be embedded and music clients fail for videos that are not labeled as music.

Well, there is no exact client value that will work - I tested them all. Here is what I did - just wrote a loop to try to download audio or video with any of the clients:
CLIENTS = {
    1: "WEB",
    2: "WEB_EMBED",
    3: "WEB_MUSIC",
    4: "WEB_CREATOR",
    5: "WEB_SAFARI",
    6: "ANDROID",
    7: "ANDROID_MUSIC",
    8: "ANDROID_CREATOR",
    9: "ANDROID_VR",
    10: "ANDROID_PRODUCER",
    11: "ANDROID_TESTSUITE",
    12: "IOS",
    13: "IOS_MUSIC",
    14: "IOS_CREATOR",
    15: "MWEB",
    16: "TV_EMBED",
    17: "MEDIA_CONNECT",
}

def download(url: str, settings: dict, filetype: str):
    """Download filetype (video or audio) with one of the clients from the CLIENTS list."""
    for _, client in CLIENTS.items():
        try:
            # Try to reach filetype and create YouTube object
            print(colored(f'Trying to reach {filetype} with "{client}" client', "yellow"))
            yt = (
                YouTube(url=url, client=client, on_progress_callback=on_progress)
                .streams.filter(**settings["params"])
                .order_by(settings["order_by"])
                .desc()
                .first()
            )

            # Download filetype (video or audio)
            print(colored(f'Downloading "{shorten_name(yt.title)}" ' f'{settings["intro_message"]}'))
            yt.download(filename=f"{filetype}.mp4", skip_existing=False, timeout=10, max_retries=5)
            print(colored(f'\n{settings["out_message"]}', "blue"))

            # Return from function if success
            return
        except Exception as e:
            print(colored(f'Error occured while downloading via "{client}" client: {e}\n', "red"))

    raise Exception("Failed to download asset with all available clients")

And here is an output (as an example):
$ youtube -s https://www.youtube.com/watch?v=_cX6lSVL1fM --hq

Trying to reach video with "WEB" client
Downloading "HP OmniBook Intel Core Ultra 256V Review and Benchmark" .mp4 video file in highest available resolution...
Error occured while downloading via "WEB" client: HTTP Error 403: Forbidden

Trying to reach video with "WEB_EMBED" client
Downloading "HP OmniBook Intel Core Ultra 256V Review and Benchmark" .mp4 video file in highest available resolution...
 ↳ |████████████████████████████████████████████████████████████████████████████████████████| 100.0%
.mp4 video file was successfully downloaded!

Trying to reach audio with "WEB" client
Downloading "HP OmniBook Intel Core Ultra 256V Review and Benchmark" audio file in highest available bitrate...
Error occured while downloading via "WEB" client: HTTP Error 403: Forbidden

Trying to reach audio with "WEB_EMBED" client
Downloading "HP OmniBook Intel Core Ultra 256V Review and Benchmark" audio file in highest available bitrate...
 ↳ |████████████████████████████████████████████████████████████████████████████████████████| 100.0%
Audio track successfully downloaded...

Audio and video files were merged...
Video was saved as "2024-10-02 - [consumer tech warehouse] - HP OmniBook Intel Core***.mp4"!

and another example:
$ youtube -s https://www.youtube.com/watch?v=uR5r9Dr0Z4I --hq

Trying to reach video with "WEB" client
Downloading "ЛИПСИЦ ЛЕКЦИЯ В АКАДЕМИИ НАУК ЛИТВЫ О БУДУЩЕМ МИРОВОЙ ЭКОНОМИКИ***" .mp4 video file in highest available resolution...
Error occured while downloading via "WEB" client: HTTP Error 403: Forbidden

Trying to reach video with "WEB_EMBED" client
Error occured while downloading via "WEB_EMBED" client: uR5r9Dr0Z4I is streaming live and cannot be loaded

Trying to reach video with "WEB_MUSIC" client
Error occured while downloading via "WEB_MUSIC" client: uR5r9Dr0Z4I is unavailable

Trying to reach video with "WEB_CREATOR" client
Error occured while downloading via "WEB_CREATOR" client: uR5r9Dr0Z4I requires login to view, reason: Please sign in

Trying to reach video with "WEB_SAFARI" client
Downloading "ЛИПСИЦ ЛЕКЦИЯ В АКАДЕМИИ НАУК ЛИТВЫ О БУДУЩЕМ МИРОВОЙ ЭКОНОМИКИ***" .mp4 video file in highest available resolution...
Error occured while downloading via "WEB_SAFARI" client: HTTP Error 403: Forbidden

Trying to reach video with "ANDROID" client
Downloading "ЛИПСИЦ ЛЕКЦИЯ В АКАДЕМИИ НАУК ЛИТВЫ О БУДУЩЕМ МИРОВОЙ ЭКОНОМИКИ***" .mp4 video file in highest available resolution...
Error occured while downloading via "ANDROID" client: HTTP Error 403: Forbidden             | 36.5%

Trying to reach video with "ANDROID_MUSIC" client
Error occured while downloading via "ANDROID_MUSIC" client: uR5r9Dr0Z4I is unavailable

Trying to reach video with "ANDROID_CREATOR" client
Error occured while downloading via "ANDROID_CREATOR" client: uR5r9Dr0Z4I requires login to view, reason: Please sign in

Trying to reach video with "ANDROID_VR" client
Error occured while downloading via "ANDROID_VR" client: uR5r9Dr0Z4I is streaming live and cannot be loaded

Trying to reach video with "ANDROID_PRODUCER" client
Error occured while downloading via "ANDROID_PRODUCER" client: HTTP Error 403: Forbidden

Trying to reach video with "ANDROID_TESTSUITE" client
Error occured while downloading via "ANDROID_TESTSUITE" client: uR5r9Dr0Z4I is unavailable

Trying to reach video with "IOS" client
Downloading "ЛИПСИЦ ЛЕКЦИЯ В АКАДЕМИИ НАУК ЛИТВЫ О БУДУЩЕМ МИРОВОЙ ЭКОНОМИКИ***" .mp4 video file in highest available resolution...
 ↳ |███████████████████████████████████████████████████████████████████████████████████████████| 100.0%
.mp4 video file was successfully downloaded!
...

uninstall and install pytubefix-8.3.2 solve the issue!

pip uninstall pytubefix -> pip install pytubefix


Unit tests fail while using #[cfg(feature = "ink-experimental-engine")]

Questions
Unit test error when add #[cfg(feature = "ink-experimental-engine")] macro to the test
https://github.com/tofudfy/ink/blob/446606fa835268b2843b224aecce69610990071c/examples/erc20_homework/lib.rs#L197
Describe the bug
With line 197 #[cfg(feature = "ink-experimental-engine")]

Expected behavior
Comment out line 197 #[cfg(feature = "ink-experimental-engine")]

Additional context
Rust Version: cargo 1.57.0 (b2e52d7ca 2021-10-21)
Cargo contract version: cargo-contract 0.16.0-unknown-x86_64-macos
ink version: 3.0.0-rc7 (More details in Cargo.toml)

See details in https://github.com/tofudfy/ink/blob/master/examples/erc20_homework/ERC20 Contract Tutorial.md#unit-tests


Slow FPS

Hi, I have a problem with an application running on raspberry 3b+ after launch i have 1 fps on the display.

Hi Ivan:
It seems to me that solving the issues about the FPS in Kivy could quite tricky. But performing tests for single parts of your project can help to isolate the problem and identify the culprit.
I normally will test the application in a development computer where I address the issues related to the structure of the app. In my case I implement async (using trio like this) as this allows my application dedicate processes that don't block Kivy's refresh and also monitor those with variables that tell me how long does every routine takes to complete.
Also, on for the deployment computer, I test a simple Kivy app from Kivy's examples. So far, in my case, I have noticed that the issues are related to the graphic drivers. Unfortunately I don't have a RPi3+ to test.


Use WASD to move to the red portals in order to go through heavens portals to get to Hell
Code
Check off the items that are true.

[x ] The game was made using the Sprig editor.
[x ] The game is placed in the in the /games directory.
[x ] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x ] The game runs without errors.
[ x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[ x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

I am closing this PR for now as it looks like it needs a bit of work to be landable.  Please re-open this PR when you've differentiated it a bit.


[Query Builder] where('my_col', '!=', null) rewrite doesn't work

This query MyModel::where('my_col', '=', null);
will be rewritten as select * from "my_model" where "my_col" is null
thanks to the check in where method.
However MyModel::where('my_col', '!=', null); will throw new InvalidArgumentException('Illegal operator and value combination.')

If I got this right, the fix would be to replace inside invalidOperatorAndValue method current return with:
return $isOperator && is_null($value) && !in_array($operator, ['=', '!=', '<>']);

Is there any reason in particular for you to be using where instead of  MyModel::whereNotNull('my_col')?

It would also require a change to the "check in where method" to make it check the operator is "=" and when the operator is "!=" or "<>" add the whereNotNull instead of whereNull.

@jairovsky nope, I just expected it to work because of symmetry with '=', null. It would be more consistent.
And from reading the code inside if (is_null($value)), I'm pretty sure '!=', null was intended to work. The only reason it doesn't - invalidOperatorAndValue check isn't passed earlier in the method.
@davesouthey it's already handled by the 3rd argument of whereNull.  whereNotNull is just return $this->whereNull($column, $boolean, true);

@GrahamCampbell some rationale would be nice. Looks like a bug to me.


Need to get supported locations list for a blob storage account before sending a request to create it.

When I create a blob storage account I don't know which locations are supported until I send a request and get the following exception:
com.microsoft.azure.CloudException: 400 is not a valid polling status code: The account type is not supported in the specified location.

So, a customer have to walk through all the possible location before a supported one is found.
This is how Portal behaves:

It would be great to have something similar.

In the updated Azure Portal, the dropdown list of locations on the Create Storage Account page now only displays those locations which are supported.

Close the issue based on response above. Please reopen if there is still questions.


Typo in forced alignment README

Run:
python build_dataset.py --wav path/to/your/segments/ --tg path/to/final/textgrids/ --dataset path/to/your/dataset/

According to this line, the argument should be wavs instead of wav. The correct command should be python build_dataset.py --wavs path/to/your/segments/ --tg path/to/final/textgrids/ --dataset path/to/your/dataset/.

Thanks for catching this, the typo has been fixed.


deployment with kustomize: fix deprecated bases, patchesStrategicMerge, vars

When deploying a plugin or an operator, some warning messages below apper:

# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your
Kustomization automatically.

is this with 1.27 kubectl? It's always good to describe the environment how to reproduce

Yes, it is after 1.27...!
Actually all e2e tests just show the warnings already.
https://github.com/intel/intel-device-plugins-for-kubernetes/actions/runs/5378970240/jobs/9759514263#step:6:115

I peeked at this. bases->resources and patchesStrategicMerge->patches seems doable. vars->replacements isn't looking good.


Panic on instagram failure

Wrong ID in short code etc. Should be handled more grafefully.
ERROR 2017/02/17 15:10:23 Retry #1 for https://api.instagram.com/oembed/?url=https://instagram.com/p/BN1pgzujlyP-/&hidecaption=0 and sleeping for 2s
panic: reflect: Zero(nil) [recovered]
	panic: reflect: Zero(nil)

goroutine 356 [running]:
panic(0x636960, 0xc422ff9460)
	/usr/local/Cellar/go/1.7.4/libexec/src/runtime/panic.go:500 +0x1a1
text/template.errRecover(0xc423e71830)
	/usr/local/Cellar/go/1.7.4/libexec/src/text/template/exec.go:146 +0x18e
panic(0x636960, 0xc422ff9460)
	/usr/local/Cellar/go/1.7.4/libexec/src/runtime/panic.go:458 +0x243
reflect.Zero(0x0, 0x0, 0x656440, 0xc42208f1e8, 0x94)
	/usr/local/Cellar/go/1.7.4/libexec/src/reflect/value.go:2104 +0x13d
text/template.(*state).validateType(0xc423e717b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/Cellar/go/1.7.4/libexec/src/text/template/exec.go:681 +0x5c1
text/template.(*state).evalArg(0xc423e717b0, 0x6914c0, 0xc4236c7200, 0x16, 0x0, 0x0, 0xa38d80, 0xc42020e5a0, 0x0, 0x0, ...)
	/usr/local/Cellar/go/1.7.4/libexec/src/text/template/exec.go:727 +0x72b
text/template.(*state).evalChainNode(0xc423e717b0, 0x6914c0, 0xc4236c7200, 0x16, 0xc4211d8580, 0xc4201fd7b0, 0x1, 0x1, 0x0, 0x0, ...)

Should we show an error in the HTML output?

Should we show an error in the HTML output?

I guess the HTML output could be an empty string, but the most important part is that it should not take down the dev server, so:

Log it as an ERROR with a useful error message (including page filename)
Empty output (not sure about that, but I guess it is better than coming up with a pleasing error label)


ponyc: 0.28.1 -> 0.30.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ponyc/versions.
meta.description for ponyc is: '"Pony is an Object-oriented, actor-model, capabilities-secure, high performance programming language"'.
meta.homepage for ponyc is: '"https://www.ponylang.org"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.30.0 with grep in /nix/store/xkjnz4z6w8n38bb4y3bkz4njxmv6bhln-ponyc-0.30.0
directory tree listing: https://gist.github.com/2778d0bf506261584f0f4c2f3aa46499
du listing: https://gist.github.com/9e81df785069382018a09deccd8233f0

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

6 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pony-stable
ponyc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xkjnz4z6w8n38bb4y3bkz4njxmv6bhln-ponyc-0.30.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A ponyc https://github.com/r-ryantm/nixpkgs/archive/f177ac6763167832766e525ec394bc0e300c8a96.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/xkjnz4z6w8n38bb4y3bkz4njxmv6bhln-ponyc-0.30.0
ls -la /nix/store/xkjnz4z6w8n38bb4y3bkz4njxmv6bhln-ponyc-0.30.0/bin

cc @doublec @kamilchm @patternspandemic for testing.

@GrahamcOfBorg build ponyc


Unable to open font file

I'm trying to compose figlet in android (Termux with Ubuntu installed) and it composed without any error.But when I run figlet it shows
figlet: standard: Unable to open font file

Screenshot below

I have seen this message when the font name has a space in the name, I used quotes to get around that, for example.
figlet -f 'DOS Rebel.flf' foo
2 cents, JB

My Post of 2018 is still getting replied.cool.btw problem solved now :xD

My Post of 2018 is still getting replied.cool.btw problem solved now :xD

try cp the standard.elf file to /usr/share/figlet (this is the default path of the figlet styles)
I don't know how can you get the .elf file, sorry.

My Post of 2018 is still getting replied.cool.btw problem solved now :xD

try cp the standard.elf file to /usr/share/figlet (this is the default path of the figlet styles) I don't know how can you get the .elf file, sorry.

Sorry I was wrong on the .elf file the real extension is some like .flc or .flf.
And for extra information, If don´t exist /usr/share/figlet , you can see the path with this command :
figlet -I 2 (make sure that you put the i on capital letters)
I have to say that
I solved this problem because I have a friend with an Apple computer and in this computers you can have access to all .flf or .flc files

larry3d font not found ;(
Using termux btw


method to activate a bind setting

Hi! can you make it activate by just slide mouse into the direction and release the button?
like am holding R > slide to left > release R > activated key
i think click to active is a little bit slow for me
if you can help THX!

Just go to config and enable "Release to select"


Questions about Enum Types

ListType Enum:

would it be useful to include ListType 'list' here. It would allow to store predefined lists that users can "subscribe" to. This could also be realized from applicationside, but I would argue that it can make sense to store them in the database

BiologicalStatusCode Enum:

Why is this string type enum and not an integer?
StorageType Enum:
Same as for BiologicalStatusCode, but also the POST /germplasm example uses a value outside of the enum definition: 20 Field collection instead of 14 Field collection

Somewhat related to #581, ListTypes should be examined and updated, including having a 'List' type
BiologicalStatusCode and StorageType are both pulled direction from the MCPD specification. MCPD does not specify data types, but it does indicate that the values for these field should only be very specific coded values. They are identifiers that happen to be numeric, but they are not numbers.
MCPD Documentation
'14' is not a valid StorageType, that should be fixed in the example


For Ping(node) method, setting request time out equal to ping timeout

Issue: If a node is down due to some maintenance work. Then sometimes the ES queries take more than 20s to complete. Instead of timing out after 2s (PingTimeout) and retrying on the other client node in the cluster.
Fix: Change the request time out for ping requests to ping timeout.

Thank you @vaibhav1192 mind signing the CLA so we can pull this in asap :+1:

I have signed the CLA for
Username: vaibhav1192
EmailId<EMAIL_ADDRESS>Somehow it is still showing not signed. @Mpdreamz Do I need to recreate the PR?

Ignore the above comment. Looks like Policy reevaluation happened on closing and re-opening of the PR.

Thanks @vaibhav1192! will backport this today


Add arquivo ucs

Added UCS file for learning product request
Universidade de Caxias do Sul - University of Caxias Do Sul
HomePage: https://www.ucs.br/site
https://www.ucs.br/site/english/
Computer Science page: https://www.ucs.br/ciencias-da-computacao
email domain: https://auth.ucs.br/

@JoaoBufonUCS I am sorry, the domain ucs.br is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Enhancements to run with docker

Codecov Report

Merging #1239 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1239   +/-   ##
=======================================
  Coverage   96.73%   96.73%
=======================================
  Files          49       49
  Lines        2300     2300
=======================================
  Hits         2225     2225
  Misses         75       75

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 6702ad1...e3b0b3b. Read the comment docs.

I don't fully understand all the changes, especially re/ volumes. Could you add some explanation?

The --restart=always  will cause docker to keep track of a container's life-cycle and restart it when it goes down, such as in case of machine reboots and container deaths.
And when a container restarts, we need data to be persisted outside the container.
The --volume "$HOME/bigchaindb_docker:/data" ensures this for rethinkdb.
The  --volume=/tmp/mongodb_docker/db:/data/db and the --volume=/tmp/mongodb_docker/configdb:/data/configdb ensures this for mongodb.
However, mongo is a little bit tricky. We need some extra work as described below.
The mongo daemon inside the container runs as user mongodb, and the daemon writes all its configs and files as user mongodb and group mongodb, with a uid and gid of 999. It creates this user and group here.
Now, for the host to persist these files, the host instances needs to have a user and a group with uid 999 and gid 999 respectively. Otherwise, the host discards the files.
Hence the big Note: section in the doc.


if_bidirectional;bidirectional scanning

To achieve bidirectional scanning, should if_bidirectional be set to True?
要想实现双向扫描 是否要把if_bidirectional设为True？

the same issue

Is if_bidirectional related to if_bimamba?


Added TrustDbBackupHistory switch

Now allows users to say they trust the input from Get-DbaBackupHistory or Backup-DbaDatabase and shortcut the header scans for better speed
Fixes #
Changes proposed in this pull request:

Get-DbaBackupHistory now returns a few extra properties, but these are hidden to general users
Backup-DbaDatabase now returns a few extra properties which are hidden

How to test this code:

[ ] Get-DbaDatabaseHistory -SqlServer SomeServer -Database x,y,z | Restore-DbaBackupHistory -SqlServer SomeServer -TrustDbBackupHistory -.........
Should restore everything without touching Read-DbaBackupHeader
Checks that files exist at a basic level, but other than that it's up to the user to have not moved anything
[ ] Backup-DbaDatabase -SqlInstance localhost\sqlexpress2016 -db x,y,x | Restore-DbaBackupHistory -SqlServer SomeServer -TrustDbBackupHistory -.........
Again Shouldn't touch Read-DbaBackupHeader

Run  with Measure-Command shows a decent reduction in time to begin restore writing to disk.
Last batch of Tests for usual functionality passed on my end, there shouldn't be any changes there
Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  Windows 7
[ ]  SQL Server 2000

Has been tested on maximum requirements:

[ ]  SQL Server vNext
[ ]  Windows 10
[ ]  Azure Database

Tests for tester:

[ ] Working/useful help content, including link to command on dbatools web site
[ ] All examples work as advertised
[ ] Does not contain template content
[ ] Does not contain excessive/unnecessary amounts of comments
[ ] Works remotely
[ ] Works locally
[ ] Works on lower versions or throws error specifying version not supported
[ ] Works with named instances
[ ] Works with clustered instances
[ ] Handles offline/read only databases
[ ] Supports multiple servers (at the command line or piped from Get-SqlRegisteredServerName)
[ ] No un-handled errors which stop the command working with multiple servers

oh damn, i didnt realize this touched so many files. it's no problem, but please ask for ASAP code review so that i can get them in. I may need some @ConstantineK magic up in here to resolve that conflict.

Sorry, didn't think I saw any conflict when I put it in :(
Am happy to redo this file and repush if that makes life easier for all concerned?

HEY!!! I resolved a conflict 👍 Just had to paste this changes. Now I know how to fix. haha

Yay. That's my way of fixing as well!
No idea why that claimed a conflict, was just some extra lines here and
there
On Wed, Mar 1, 2017 at 9:10 AM, Chrissy LeMaire<EMAIL_ADDRESS>wrote:

Merged #838 https://github.com/sqlcollaborative/dbatools/pull/838.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/pull/838#event-981494308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFWoZuHl-zfRQIFQaE7hsDxLlU0W6Uidks5rhTYagaJpZM4MMdRq
.

Glad you are here, can you make sure that the command you submitted is indeed the one in there?

Actually just triple checked and it is, thanks!


Model Compiler Quantization Instructions Missing

Neural Net Model Compiler Quantization instructions and example missing.

PR #40 adds instructions


MSDKUI-1692: RP & Guidance - Maneuver list distances alignment is off

Increased distance textview width.
Signed-off-by: Tadeusz Staszak<EMAIL_ADDRESS>

Codecov Report

Merging #57 into master will increase coverage by 3.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #57      +/-   ##
============================================
+ Coverage     70.86%   73.89%   +3.03%
+ Complexity     1568      975     -593
============================================
  Files           129       69      -60
  Lines          5457     3785    -1672
  Branches        819      399     -420
============================================
- Hits           3867     2797    -1070
+ Misses          980      761     -219
+ Partials        610      227     -383

Impacted Files
Coverage Δ
Complexity Δ

...e/msdkuiapp/routing/RoutingInstructionsFragment.kt

...java/com/here/msdkuiapp/common/PermissionsUtils.kt

.../com/here/msdkuiapp/routing/OptionPanelFragment.kt

...ere/msdkuiapp/routing/RouteManeuverListFragment.kt

.../here/msdkuiapp/routing/SubOptionPanelPresenter.kt

...m/here/msdkuiapp/routing/SubOptionPanelFragment.kt

...msdkuiapp/guidance/GuidanceNextManeuverFragment.kt

...om/here/msdkuiapp/position/LocationServiceUtils.kt

...ain/java/com/here/msdkuiapp/about/AboutActivity.kt

.../msdkuiapp/routing/RoutingIdlingResourceWrapper.kt

... and 51 more

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 d683415...50b6ced. Read the comment docs.


create portal for a projected component

What are you trying to do?
I have a component which receives multiple projected components as components:
@ContentChildren(ChildComponent) children:QueryList<ChildComponent>;
I'd like to be able to select a specific component from this list and display this one only, based on some of its @Input properties. I'd also like to be able to subscribe to this component's @Outputs.
So my child component looks like:
@Component({
  selector: 'app-child',
  template: `<p>child works! {{param}}</p>`,
  styleUrls: ['./child.component.scss']
})
export class ChildComponent implements OnInit {

  @Input() param!:string;
  @Output() clicked:EventEmitter<any>=new EventEmitter();

  constructor(public view: ViewContainerRef) { }

  ngOnInit(): void {
  }

}

and my parent component:
`
@Component({
selector: 'app-parent',
templateUrl: './parent.component.html',
styleUrls: ['./parent.component.scss']
})
export class ParentComponent implements OnInit{
@ContentChildren(ChildComponent) children!:QueryList;
selectedchild!:ComponentPortal;
constructor(private cdr: ChangeDetectorRef) { }
ngAfterContentInit(): void {
const child:ChildComponent = this.children?.toArray()[0]; //just for the sample ;)
child.param="param 1";
child.clicked.subscribe(c=> {
  console.log('clicked');

  this.cdr.detectChanges();
});

this.selectedchild = new ComponentPortal(ChildComponent, this.child.view);
//this.cdr.detectChanges();

}
}`
and in my parent component template:

The projected content is loaded into the portal outlet, however it does not display the updated param that was passed in from the parent component.
When using simle content projection (ng-content) for displaying all projected components - I'm able to see updated values and respond to Outputs properly from parent component.
Is there another way to bring AN EXISTING component (the projected component) into view using Portal?
Pls advise...
Thanks!
MK
What troubleshooting steps have you tried?
displaying projected content without portal
Reproduction
Steps to reproduce:
1.
2.
Environment

Angular: 12.2.0
CDK/Material:12.2.13
Browser(s): Chrome 96
Operating System (e.g. Windows, macOS, Ubuntu): Win

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


Add support for more colmap camera models in ns-process-data

This PR adds support for more COLMAP camera models.
It addresses this issue: #1438
I was also thinking... perhaps I am missing something, however, isn't the FISHEYE distortion implementation wrong?
The code here: https://github.com/google/nerfies/blob/main/nerfies/camera.py doesn't match the COLMAP's implementation (https://github.com/colmap/colmap/blob/dev/src/base/camera_models.h). The implementation was taken from here: https://github.com/google/nerfies/blob/main/nerfies/camera.py, however, did the original code consider FISHEYE models?

The multinerf code was used as reference. They extend the nerfies code to work with fisheye.https://github.com/google-research/multinerf/blob/main/internal/camera_utils.py
Perhaps it is also incorrect?

I was wrong. The math in multinerf is correct.

This is related: #1276

This appears to break processing when depth data isn't included. There is a PR to fix here - https://github.com/nerfstudio-project/nerfstudio/pull/1528

I don’t think so. It was definitely broken by PR #1531 (I mentioned it in the PR comments). In this PR I believe I fixed it for the ns-process-data images, but the same bug was also in other places apparently.

I was wrong. The math in multinerf is correct.

@jkulhanek Would you mind quickly elaborating? I followed down the same rabithole and do not see how the implementations are equivalent. Thanks in advance!

The undistort solves the original distortion in normal space. Then try substituting https://github.com/google-research/multinerf/blob/5d4c82831a9b94a87efada2eee6a993d530c4226/internal/camera_utils.py#L585 to the original equations. It should lead to the radial equations if I remember correctly.

Consider undistort as a “black box” that solves the original problem. Then work backwards from the substitution

Thanks, appreciate it!


[Feature Request] Add a notification for when a hotspot transitions to/from "Relayed" status

A few routers/ISPs allow me to open ports for specific local IP addresses but don't allow me to set static local IP addresses for devices. Occasionally (due to a power outage or otherwise) a local IP will change, and that port forward setting will need to be updated to the new local IP. It's easy to fix but I usually don't know when it happens, so it would be awesome to get a notification when a hotspot goes from not-relayed to relayed.
Independently, I think this might be a nice feature for anyone who's setting up a port forward as a confirmation that their hotspot is no longer relayed.

Neat! @cokes518 let me know if there's anything I can do to help


[jvm-packages] Create demo and test for xgboost4j early stopping.

Close https://github.com/dmlc/xgboost/issues/6893

@hcho3 Do you know whether the jvm examples are tested on CI?

Codecov Report

Merging #7252 (8f41df5) into master (475fd1a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7252   +/-   ##
=======================================
  Coverage   82.76%   82.76%
=======================================
  Files          13       13
  Lines        4061     4061
=======================================
  Hits         3361     3361
  Misses        700      700

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 475fd1a...8f41df5. Read the comment docs.


Crash when placing Cobblestone in the Crafting Station

http://paste.ee/p/UeFmY
Apologies for the invalid log, but that's what I got :V

It may be due to a recipe matching the crafting input, but returning null for the crafting result. Would you be so kind to test by removing mods until there's (hopefully only) one remaining that causes the crash?

Closing for now because lack of response.


Flip book moving up and down

When flipping forward , starting from the third page, the flip book jumps up and down

+1


namespaced tag and attribute names?

When dealing with svgs, you occasionally need to use namespaced attributes. (Maybe tags too.)
Example: defining symbols and referring to those with the <use tag, including xlink:href="id"
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol
Of course, this has to be synced with how mithril handles this (if it does?).

I found this: https://github.com/lhorie/mithril.js/issues/620
But I'm currently not able to test, and unsure what this would render server side. But we should be able to support this once I have time to check out if there's any changed needed.

Supporting namespaced tags will be harder, could you give me an example of one? Haxe parsing wouldn't allow (namespace:tag) so I'd have to build in support for something like ('namespace:tag') or find a better way.

Namespaced tags are definitely not high priority - the idea comes up because of ithril's cross-platform rendering possibilities, wich makes it a candidate for a more general xml building tool...

I've now mimicked the behaviour of mithril for the server side rendering (in ithril 1.0.8). What this means is the namespace declaration on svg is no longer required or needed (xmlns="http://www.w3.org/2000/svg"), it will be set automatically and the namespaced xlink:href must be set as simply href. Something like this should now correctly render on server and client:
(svg)
  (a (href="http://example.com/link/"))
    (text (x="10", y="25") > 'Link')

Wow, that's great! Thx!


added bookreader.cpp and olivertwist.txt

What the program do ?
Program prompts user to enter in a file to read from, and will read from the file if specified file is in the same directory as the .cpp file. Program attempts to find the most frequent word in the file, removing all punctuation and capitalization.
Also added olivertwist.txt for testing, just in case you don't want to go to google to find a book in .txt format :)
In what programming language it is written?
C++

This pull request exeeds the max additions limit. Please fix it and reopen

I'm missing where the max additions limit is, it doesn't appear to be in the readme. Where is it listed?

it is 5000, sorry just added this limit several hours ago we forget to add in readme we will update it asap, however we will appreciate if you give link of data instead directly adding this for now i am merging this but maximum time a automated process will reject this if it exceeds the limit

Got it. Thanks much, I'll edit my other pull requests and resubmit.


Data is not properly saved in file

Reproduce the bug:

"Clear" --> "Clear all data"
Add a publication.
In "Publication type (check all that apply)" (P_TypeMethod)
Save to file ...

In fact, all checkboxes are not saved ...
Maybe introduced in 867aa4e8?

Fixed. 38c8237bf49412a484da4647282541d1adf36d77

Generally it works now, but not if the checklist is shown after a filter:

Here the second checkbox group P_Data_TypeBehavioral is not saved.


Raise upper bound of time to at least time-1.10.

Time 1.10 is out but I cannot use because my project also depends on splitmix and splitmix has an upper-bound on time.

I dropped time dependency all together. https://hackage.haskell.org/package/splitmix-<IP_ADDRESS>


SR won't find show during daily search if apostrophe is missing

While doing a manual search for America's Test Kitchen, I found an NZB but the show is spelled Americas Test Kitchen. SR has the show entered with the apostrophe, so when it does the daily search, it will never pull the NZB due to the spelling. Could SR be somehow be configured to check for both spellings? If it doesn't find one with the correct spelling, drop any special characters and try again? Or better yet, allow editing of the show name to include both possibilities?
Branch: master
Commit: a7602639bd525f27475f1eeb2fc504111a14b51c
Version: v2018.04.08-1
Database Version: 44.0
Python Version:
2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
OS:
Windows-8.1-6.3.9600

Also the same on torrents Marvel's Cloak and Dagger not found but it exists without the the apostrophe


Desktop Settings showing empty

v1.9.1, Windows 10 x64, en-us, the desktop settings button, while it shows, it shows only the icon (gear) and centered.

Theres a fix in master for problems related to the desktop settings button.  I believe that it would fix this issue


Newsletter - Draft - July 2nd

Last newsletter went out and the refinement continues!
Special thanks to @plantether @kitblake @lapin7 for engaging in that process.
Here is the google doc for the next newsletter draft to be published on June 15th.
https://docs.google.com/document/d/1LTzJi1Avp4fzt6tnShnFZcvzyQlcC0Mo1PP8XOv-9Bo/edit#heading=h.hboh59kon9r6
Lets keep this community curation up and continue to set the example for what open source collaboration can result in!
Bounties for helping are at https://docs.google.com/spreadsheets/d/1n7xKBt_uwe343G1WxCpqKrySTmjH8PL4GKTlWCv_9Hg/edit#gid=145662857

@plantether this video may help with you content creation. https://www.youtube.com/watch?v=MtQnyCeJlXw there was also an article a while back that I can't seem to find relating to how rchian would have stopped the hack before it happened. this may be applicable to your article on scalability with existing blockchains and how rchain solves that.


Bump current iOS version

This commit bumps the current iOS version from 15.1.1 to 15.2.

Apple Release: https://developer.apple.com/news/releases/?id=12132021d

@Ein-Tim Good morning! Many thanks!

@dsarkar Good morning to you too! Thanks for merging the PR!


adding codecov badge

Is this ready to merge @hannahbrucemacdonald or will it cause conflicts with #618?


[stable/graylog] Remove privileged initContainer mode; update Graylog version

What this PR does / why we need it:
Removed unnecessary privileged mode for init container. Updated Graylog to the latest 3.1 version. Changed init container image from busybox to alpine as alpine supports http(s)_proxy variables (install behind proxy server). Removed kubectl in preStop hook as we already have root password in environment variable and can execute curl without kubectl support.
My goal is to completely remove need for kubectl as Graylog knows how to setup master node without it.
https://docs.graylog.org/en/3.1/pages/installation/docker.html#kubernetes-automatic-master-selection
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@strainovic the suggestion in Graylog document is not run well in all situations. The document will forces to use master node on pod-0 while using kubectl in pod will allow config to choose a new master node if pod-0 is not available. More over labelling pod with graylog-role is more convenient to see current master node from command line without logging into graylog user interface.
the other changing is acceptable

/ok-to-test

@KongZ
That's true. Eether way, I hope Graylog will implement voting algorithm to elect master node. Statefulset is a little bit triky. If some kubernetes node goes down from anyreason, pod replica will not move to another node until you remove NotReady node from the cluster. In that case, we can porencialy have Graylog instances without working master node.

/lgtm


vector-hashtables,hspec_2_7_10: fix dependency versions

Description of changes
The issue shows up when I run nix build/nix develop in https://github.com/agda/agda repository. The issue is that agda now uses vector-hashtables dependency which is marked broken, because it links to hspec version 2.8 (but it wants >=2.6 <2.8). This change fixes vector-hashtables and hspec_2_7_10 by pointing to specific hspec versions.

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Thanks!


deploy fully equipped raspberry

[ ] Waterlevel

[ ] Air sensor

[ ] Light sensor

[ ] Moisture sensor

[ ] Light

[ ] Waterpump


Fix invalid url issue

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
In the original code, concatenating directusUrl with the path to the asset using the ${directusUrl}assets/${fileId}. In the updated code, format the URL by using ${directusUrl}/assets/${fileId}, ensuring that there is a forward slash (/) between directusUrl and assets, which will fix the invalid URL issue.
The original code simply returned the directus.url from the config.public object. I am applying a regular expression to remove a trailing slash (/) from the URL. This change ensures that the URL does not end with a slash, which can help prevent issues related to URL formatting and consistency.
The problem these changes solve is an "invalid URL issue on files." By making these adjustments, ensuring that the URLs used for assets are correctly formatted, can prevent errors or unexpected behavior when working with these URLs.
Please make any other changes needed regarding this issue.

@rashidpathiyil Is there a reason why you dont use Nuxt's built-in URL utils? using unjs/ufo

@Intevel Of course we can use unjs/ufo

Will you implement this changes? Or should I do it?

@Intevel I will do it

@Intevel please take a look at the changes I made.


small change to MediaPicker button

Since I opened my other PR most of the other small modifications were negated by merge issues. The only thing unchanged was a fix fo the switch camera button in landscape mode, everything else is just refactoring to standardize some layout file names.

Signed-off-by: Dillon Kanada<EMAIL_ADDRESS>

(and thanks)


New csproj compatibility

Autopublish has to be disabled when using the new csproj format...
https://github.com/muso31/Helixbase/commit/410a00816c6d876cca27be39123ed4c49c65fde5
https://github.com/muso31/Helixbase/blob/master/src/Feature/Hero/website/Helixbase.Feature.Hero.csproj#L1
Also, the website project cannot be updated to use the new format....
https://github.com/muso31/Helixbase/blob/master/src/Website/website/Helixbase.Website.csproj
It would be great if these could be updated!

Hi Neil,
I unfortunately don't have the capacity at the moment to work on HPP (since I'm no longer in the Sitecore space, I don't even use it at work).
I'll happily accept a PR, though, if someone wants to out in the effort (the tests will need a refactor to run against multiple "fixture" solutions)


Simplify forward pass in LoRALinear layers

Hi there 👋
This PR contains simplification of the logic in forward methods.
Now there is no need for so many if statements.
Essentially we need to do the forward pass with the pretrained weights anyway and add to the result output from LoRA weights if the conditions are met. Thus only one if statement is needed.
In addition in this PR I also removed transposing function from each merge/forward method and created a class method instead.

Did you also sanity-check that the loss is decreasing by kicking off a lora training? I can run it if you need help.

Now I have an access to a server with a GPU so I can run it.
Just want to clarify: sanity-check includes just verifying that the loss is decreasing or I need to run training for at least X iterations?


feat: show symbol on approval

Description

Show symbol on approval transactions
⚠  Blocked by lib PR https://github.com/shapeshift/lib/pull/944
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

most closely related to loose ends from https://github.com/shapeshift/lib/issues/658 (already closed)
Risk

transaction history renders correctly
Testing

approval tx's should now show the symbol
Screenshots (if applicable)
before

after

Current dependencies on/for this PR:

develop

PR #2352

PR #2257   👈

This comment was auto-generated by Graphite.


healthcheck: quit checking when max attempts are reached

This is something I found while investigating #5667. When the shutdown cannot complete, the healthcheck will be polling the check forever even after the max attempts are reached. This PR fixes it, also adds shutdown logs for assisting debug.

Re the "process not exiting" flake, this isn't what's actually causing it, right? Since we'd hit Stop and then shutdown the monitor anyway? Def a great change to stop the checks once they've already failed though!

Yeah it doesn't fix that:( Normally we wouldn't have this problem. It only occurs when the shutdown is blocked then the healthcheck would keep running in the background.

g2g, just needs a rebase (and another one maybe, depending on merge ordering)


Change primary button

For Mixed Reality through SteamVR, the primary input button for the hand controller is the same button that triggers the SteamVR UI, so you can't really interact with the webxr scene.
Is there a way to change the primaryButtonIndex for an input source (or any other workaround)?

Right now, SteamVR should be picked up as openvr IIRC: https://github.com/immersive-web/webxr-polyfill/blob/master/src/devices/WebVRDevice.js#L34-L40
Although that will work for the Vive, not sure about Microsoft MR devices (is that what you're using?)
What's the gamepad.id for the device? Is it similar to the Spatial Controller in [https://github.com/stewdio/THREE.VRController/blob/master/VRController.js#L1116]?

Yes i'm using MR hand controllers. The id is "Spatial Controller (Spatial Interaction Source) 045E-065B" on edge and "Spatial Controller (Spatial Interaction Source)" on Firefox using SteamVR.

Hmm, then maybe adding spatial controller to the map here (with a value of 1) will work? https://github.com/immersive-web/webxr-polyfill/blob/master/src/devices/WebVRDevice.js#L34-L40
Could you try that? I don't have a MR device to test, but I think that would work -- can make the fix if it works for you!

It works! (PR #40 )
Thanks.

Fixed via #40


纸张横向时，打印出现空白页

version
0.9.76
Link to minimal reproduction
No response
Steps to reproduce
调整纸张方向为横向，然后点击打印
What is expected?
正常打印
What is actually happening?
打印预览时每一页后面都跟了一张空白页
System Info
OS: Windows 11 10.0.22631
 Browsers:
   Edge: Chromium (123.0.2420.97), ChromiumDev (123.0.2420.10)

Any additional comments?
No response

无法复现，确认一下是否有页边距设置


Support text view scrolling after maximum height

This can be used to support chat window text which allows to scroll once it reaches maximum height.

Thanks for your support, but the GrowingTextView was already working as it. Also, can you explain the reason why did you remove UITextViewTextDidEndEditing observation?


Fix keyframe filtering

Small fix pr that solves a problem with exporting animations from unity to gltf.
In particular, it changes how the AnimationData.Track class will handle identical consecutive samples.
The change is also explained in a comment in the code, so i am pasting that in here, since its more than enough explanation.
// As a memory optimization we want to be able to skip identical samples.
// But, we cannot always skip samples when they are identical to the previous one - otherwise cases like this break:
// - First assume an object is invisible at first (by having a scale of (0,0,0))
// - At some point in time, it is instantaneously set "visible" by updating its scale from (0,0,0) to (1,1,1)
// If we simply skip identical samples on insert, instead of a instantaneous
// visibility/scale changes we get a linearly interpolated scale change because only two samples will be recorded:
// - one (0,0,0) at the start of time
// - (1,1,1) at the time of the visibility change
// What we want to get is
// - one sample with (0,0,0) at the start,
// - one with the same value right before the instantaneous change,
// - and then at the time of the change, we need a sample with (1,1,1)
// With this setup, now the linear interpolation only has an effect in the very short duration between the last two samples and we get the animation we want.

// How do we achieve both?
// Always sample & record and then on adding the next sample(s) we check
// if the *last two* samples were identical to the current sample.
// If that is the case we can remove/overwrite the middle sample with the new value.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi and thanks! @pfcDorn can you take a look please?

Merged in latest release, not sure why GitHub didn't pick that up – please let me know if that resolves your issue!


[MENFORCER-365] - A naive way to ignore test scope

Following this checklist to help us incorporate your
contribution quickly and easily:

[x] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without
pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [MENFORCER-XXX] - Fixes bug in ApproximateQuantiles,
where you replace MENFORCER-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the
commit message.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[ ] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

[ ] In any other case, please file an Apache Individual Contributor License Agreement.

Help is required as the new IT is failing and I'm not sure how to properly debug such ITs.

@KroArtem for the integration-tests the maven-invoker-plugin
What you probably want are these extra options: -Dinvoker.mavenExecutable=mvnDebug -Dinvoker.test=dependency-convergence-ignore-test-scope

I'm going to close this PR as there are conflicts, most likely related to the upgrade of maven-dependency-tree. With the new conflict resolver the filtering of test-scoped dependencies will me more reliable.

ok, thanks for cleaning up


fix(kit): set any @maskito major in per deps

Closes https://github.com/taiga-family/taiga-ui/issues/7340

https://github.com/taiga-family/taiga-ui/issues/7340#issuecomment-2090033998


Open Evernote action spawns new window

Following a recent update to Evernote itself, the ‘Evernote’ action (invoked without a search string) now causes a new Evernote window to open every time it is invoked. If you use it to launch Evernote when it is not running, the application launches and immediately spawns a second window.

@sentience Hi, I can reproduce your issue.
Re/ New window is opened: What is your expectation here? What should happen?
Re/ Two windows are opened if Evernote has not been running: That's annoying, I totally agree.

@sentience A fix for this issue has been pushed in version 0.2.1.


Merge changes from development upstream branch

Hello!

Type: -
Link to issue: -

In raising this pull request, I confirm the following:

[x] I have read and understood the Contributing Guidelines
[x] I have checked that another pull request for this purpose does not exist
[ ] I wrote some tests for this PR

Small description of change:
Thanks

@sergeysviridenko This branch cannot be rebased due to conflicts


feat: find up package.json when project is located at subfolder

then the ENOENT error from this demo can be fixed.

Good catch! I will check this in two days! The demo is temporarily fixed by https://github.com/vitejs/vite-plugin-react-pages/commit/656df26086d9190fe0c1c9c62dc57123907b13ce


Remove explicit unpack on all container creates

This only performs an unpack if there is an error when creating the
container (and only if it's a "not found' error) since it should already
be unpacked.

/ok-to-test

This is updated.

/lgtm
Thanks!


Is the 'x' sent by the client  to servers in plaintext or ciphertest?

In /tf-encrypted/tf_encrypted/serving.py, tfe defines a 'run(self, sess, x)' function which gets image from 'x_test' and sends x to servers. But the print result seems that 'x' is in plaintext.
I have a question: In the homomorphic encryption computing mode, shouldn't the data be encrypted on the client and then sent to the server? Why is the input of the client in plaintext here?

TL;DR the inputs/outputs to this function are encrypted/decrypted for you. The QueueClient & QueueServer are working at a high-level of abstraction, and the details of how the input & output to the serving queue are kept secure is determined by the current protocol (& config) being used.

I think you're referring to this function:
https://github.com/tf-encrypted/tf-encrypted/blob/8b7cfb32c426e9a6f56769a1b47626bd1be03a66/tf_encrypted/serving/queues.py#L140-L145
This calls QueueClient.send_input, which is probably the source of confusion:
https://github.com/tf-encrypted/tf-encrypted/blob/8b7cfb32c426e9a6f56769a1b47626bd1be03a66/tf_encrypted/serving/queues.py#L112-L125
The name send_input is a bit misleading here, especially given that it's checking the input to be a raw numpy array.  However, there is work being done behind the scenes to make this numpy array secret before it's sent away from the QueueClient. This extra work is defined here, when we call tfe.define_private_placeholder:
https://github.com/tf-encrypted/tf-encrypted/blob/8b7cfb32c426e9a6f56769a1b47626bd1be03a66/tf_encrypted/serving/queues.py#L87-L93
Under the hood, this is creating a tf.Placeholder that is then secret shared according to the currently active protocol, producing a reference to some future private value. This secret sharing happens wherever the QueueClient is being used, so the result of send_input is actually a set of multiple shares making up the private value. The QueueServer is then a wrapper around a protocol-specific Queue, and for Pond this is essentially managing one FIFOQueue for each compute server's physical device. The shares in this queue can then be used in further protocol computation before being dequeued and returned to the client, where the shares will be reconstructed into the plaintext computation result (which is what the client sees at the end of it all).

TL;DR the inputs/outputs to this function are encrypted/decrypted for you. The QueueClient & QueueServer are working at a high-level of abstraction, and the details of how the input & output to the serving queue are kept secure is determined by the current protocol (& config) being used.
I think you're referring to this function:
https://github.com/tf-encrypted/tf-encrypted/blob/8b7cfb32c426e9a6f56769a1b47626bd1be03a66/tf_encrypted/serving/queues.py#L140-L145
This calls QueueClient.send_input, which is probably the source of confusion:
https://github.com/tf-encrypted/tf-encrypted/blob/8b7cfb32c426e9a6f56769a1b47626bd1be03a66/tf_encrypted/serving/queues.py#L112-L125
The name send_input is a bit misleading here, especially given that it's checking the input to be a raw numpy array. However, there is work being done behind the scenes to make this numpy array secret before it's sent away from the QueueClient. This extra work is defined here, when we call tfe.define_private_placeholder:
https://github.com/tf-encrypted/tf-encrypted/blob/8b7cfb32c426e9a6f56769a1b47626bd1be03a66/tf_encrypted/serving/queues.py#L87-L93
Under the hood, this is creating a tf.Placeholder that is then secret shared according to the currently active protocol, producing a reference to some future private value. This secret sharing happens wherever the QueueClient is being used, so the result of send_input is actually a set of multiple shares making up the private value. The QueueServer is then a wrapper around a protocol-specific Queue, and for Pond this is essentially managing one FIFOQueue for each compute server's physical device. The shares in this queue can then be used in further protocol computation before being dequeued and returned to the client, where the shares will be reconstructed into the plaintext computation result (which is what the client sees at the end of it all).
Thank you for such a detailed answer, the send_input function is indeed a bit misleading, and I studied it until late lol.
In general, can I understand this way, the QueueClient can see the calculated ciphertext result and the decrypted output, but the QueueServer cannot output the ciphertext in the whole process? I once tried to only output a ‘PondPrivateTensor’ on the QueueServer side.

@jvmncs Thank you for such a detailed answer, the send_input function is indeed a bit misleading, and I studied it until late LOL.
In general, can I understand this way, the QueueClient can see the calculated ciphertext result and the decrypted output, but the QueueServer cannot output the ciphertext in the whole process? I once tried to only output a ‘PondPrivateTensor’ on the QueueServer side.

Closing this. Please open a new issue if there is further question.


Fix an error with missing composite key to sqlite3 ORM generator

@eetze merged！thanks

@eetze merged！thanks


Node 9 Support

The current release of gulp-sass require node-sass version 4.2.0, which isn't able to run on version 9 of node. It would be great if we could update this project to use node-sass 4.6.0 or higher which has support node 9 support.
https://github.com/sass/node-sass/releases/tag/v4.6.0
The rolling release for the Arch Linux nodejs package has just reached version 9.2.0, so I currently need to use nvm to select an earlier version of node whenever I need to use gulp. Luckily it is not a huge deal, but I'd love one less thing to do every day! Thanks a bunch!

It's ^4.2.0 not 4.2.0. Please search before opening issues.

Even though @xzyfer doesn't approve, this helped me. Thanks.


Fix typo

Fixes a typo with a double word. - Also adds another forgotten advisory we should add. Forgot the git add…

@danimo @jospoortvliet THX