csgo-vulkan-fix no works for me

I usually start CSGO using Gamescope so I can adjust the resolution, but I have several errors with the keyboard and mouse (if I press keys and move at the same time the mouse moves randomly), I used to run it with x11 using SDL_VIDEODRIVER=x11. but I needed to specify the primary monitor using xrandr --output XWAYLAND1 --primary, but in some update this was broken and now shows
X Failed request error: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 140 (RANDR)
  Minor opcode of failed request: 7 (RRSetScreenSize)
  Serial number of failed request: 36
  Current serial number in the output stream: 37

I have added this to my Hyprland configuration:
exec-once=hyprctl plugin load ~/.config/hypr/plugins/csgo-vulkan-fix.so

plugin {
    csgo-vulkan-fix {
        res_w = 1920
        res_h = 1080
    }
}

and I have tried to start CSGO both using:
SDL_VIDEODRIVER=x11 gamemoderun %command% -window -w 1920 -h 1080 -vulkan -novid -nojoy +fps_max 160 +fps_max_menu 160 -high +mat_disable_fancy_blending 1 +cl_forcepreload 1 -limitvsconst -forcenovsync +r_dynamic 0
As using :
LD_PRELOAD="/usr/lib/libSDL2-2.0.so" gamemoderun %command% -window -w 1920 -h 1080 -vulkan -novid -nojoy +fps_max 160 +fps_max_menu 160 -high +mat_disable_fancy_blending 1 +cl_forcepreload 1 -limitvsconst -forcenovsync +r_dynamic 0
I don't know what to do anymore, it is very uncomfortable to play with gamescope problems. 😢

Ok, I have managed to get the resolution to appear in the game, but it does not apply, it may be because the monitor that is detecting as primary is 1440x900(16:10), but I'm not sure.
I have started using :
LD_PRELOAD="/usr/lib/libSDL2-2.0.so" gamemoderun mangohud %command% -window -w 1920 -h 1080 -vulkan -novid -nojoy +fps_max 160 +fps_max_menu 160 -high +mat_disable_fancy_blending 1 +cl_forcepreload 1 -limitvsconst -forcenovsync +r_dynamic 0
And by default the resolution is like this:

But if I change the aspect ratio to 16:9, I can select 1920x1080, but when I apply it does not apply it.

LD_PRELOAD="" MANGOHUD_CONFIG="fps=1,frame_timing=1,cpu_stats=0,gpu_stats=0,font_size=18,background_alpha=0.1" mangohud %command% -novid -nojoy -high -tickrate 102.4 -fullscreen -window -w 1680 -h 1050 -vulkan +cl_forcepreload 1 +r_dynamic 0 -threads 8 -novid -nojoy -high -console
(adjust w and h)
fullscreen manually
should work

It does not seem to work, when using :
LD_PRELOAD="" MANGOHUD_CONFIG="fps=1,frame_timing=1,cpu_stats=0,gpu_stats=0,font_size=18,background_alpha=0.1" mangohud %command% -novid -nojoy -high -tickrate 102.4 -fullscreen -window -w 1680 -h 1050 -vulkan +cl_forcepreload 1 +r_dynamic 0 -threads 8 -novid -nojoy -high -console
gives the following error:

and for some reason if I use LD_PRELOAD="/usr/lib/libSDL2-2.0.so" as I did before to force it to work in wayland it just won't start.
The good thing is that I managed to get it to work in x11 by setting the 1080p monitor as the main monitor.
for some reason if my HDMI-A-1 monitor is somewhere other than 0,0 it gives error when modifying anything with xrandr
and therefore gave the error:
X Failed request error: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 140 (RANDR)
  Minor opcode of failed request: 7 (RRSetScreenSize)
  Serial number of failed request: 36
  Current serial number in the output stream: 37

but I solved it by executing these 3 commands at startup:
wlr-randr --output HDMI-A-1 --pos 0,0
xrandr --output DP-1 --primary
wlr-randr --output HDMI-A-1 --pos 3286,300

Why are you launching it with SDL_VIDEODRIVER=wayland? Just run csgo in xwayland.

Currently I can run it with SDL_VIDEODRIVER=x11 , but I thought the purpose of this plugin was to fix the resolution when running with SDL_VIDEODRIVER=wayland, wasn't it?

nope, it fixes the mouse input with non-native resolutions in vulkan

ha xD then it's my fault, I didn't interpret it correctly.


add require note and document custom rake task ex.

Just added a few extra tips to the documentation. The gem was working fine without a require statement until I converted my project to a gem. Took me a few minutes to realize I needed a require statement.
Also, added a (probably unnecessary) example about creating a custom worker with resque-dynamic-queues from a rake script.
Thanks!

Thanks


MOD: Data visualization

[ ]  Add a "you are here" vertical red line to data viz, showing where the client is on the income axis
[x]  Add thousandths separator to x- and y-axis numbers

Should we change the type of graph to a "stacked area graph" ?
see: http://www.datavizcatalogue.com/methods/stacked_area_graph.html

Obsoleted from the current plan


[RFC] Inject content scripts into pages on install event

How do you envision this feature/change to look/work like?
This would just inject all the content scripts on the extension install event.
For pages with content scripts in the "MAIN" world, the script could just be injected via the scripting api and I think for the "ISOLATED" scripts, the tab would have to be refreshed?
It would also be nice to just have this as an option in the content script config, so it wouldn't cause problems with pages that potentially have some kind of data on them that would be lost by refreshing.
What is the purpose of this change/feature? Why?
On my uninstall feedback form, I keep getting "this does not work" responses for my extension, which I've just realised is likely due to my users needing to refresh the tab for the extension to do something.
I've manually now added a script to refresh all tabs that match the cs inject criteria, however this could be really helpful to just have built into plasmo.
(OPTIONAL) Example implementations
export const config: PlasmoCSConfig = {
  matches: ['*://*.plasmo.com/*'],
  run_at: 'document_start',
  refresh_on_install: true,
};

export const config: PlasmoCSConfig = {
  matches: ['*://*.plasmo.com/*'],
  run_at: 'document_start',
  world: 'MAIN',
  inject_on_install: true,
};

This is how it could look, but I'm not 100% sure about what the option should be called and how it should be labelled.
(OPTIONAL) Contribution

[X] I would like to contribute to this RFC via a PR

Verify canary release

[X] I verified that the issue exists in plasmo canary release

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Is this feature available now?

Maybe related or unrelated, but just for anyone else stumbling on this. If you need your extension to change something when the user performs an action in the popup, you can wake up the service worker by sending it a message with the @plasmohq/messaging package.
I needed the service worker to pick up on a change in the local storage, but it was inactive. Simply sending the service worker a dummy message wakes it up and makes it ready to look for changes in local storage or whatever you might have a listener on.
Also if you want to make the service worker inactive on purpose, then Chrome has a page for that
chrome://serviceworker-internals/?devtools

+1


When there are multiple scenario outline in a feature, filter validation is failing

When there are multiple scenario outlines in a feature file, and at run time cucumberOptions is using a tag which is only from one of the scenario outline, filter validator is failing.
Test case is provided in https://github.com/intuit/karate/pull/374.

@pthomas3, I see you modified the test case with feature provided in CucumberOptions. The issue will not surface with feature provided in CucumberOptions.
In CucumberOptions, it has to be using only tags. This is when the validation failure is trigged.

@mayzhang2000 I don't agree that the feature should not be provided, anyway I removed it - and the behavior is still the same.

overwatch also added that as a workaround for this issue.
In my opinion that is the right thing to do.


Wait for experiments library to complete loading

If opted out of all experiments -> treat as disabling experiments
Explicitly check for experiment setting to be false
Wait for experiment service promise on activate
Check cached flight value even if manually opted-in

See https://github.com/microsoft/vscode-jupyter/pull/5005 (note that there was a typo at this._optOutFrom.includes('All') in the original PR)

Codecov Report

Merging #15628 (a5a62d6) into main (a1911a5) will decrease coverage by 0%.
The diff coverage is 62%.

@@          Coverage Diff           @@
##            main   #15628   +/-   ##
======================================
- Coverage     64%      64%   -1%
======================================
  Files        557      557
  Lines      26813    26817    +4
  Branches    3901     3902    +1
======================================
  Hits       17369    17369
- Misses      8710     8714    +4
  Partials     734      734

Impacted Files
Coverage Δ

src/client/common/types.ts
100% <ø> (ø)

src/client/common/experiments/service.ts
83% <62%> (-5%)
:arrow_down:


Fix flaky test io.kestra.plugin.kubernetes.PodCreateTest

Issue description
Fix flaky test io.kestra.plugin.kubernetes.PodCreateTest

I don't manage to reproduce any flakyness even with @RepeatedTest :thinking:

I had a failing only one time but then no more. I believe the flakyness comes from the {{outputs:{extract... syntax that is interpreted by logs and maybe sometimes the logger watcher shuts down before interpreting it. I'll add a waitForLogs interval and increase it to 2 seconds by default

closed by https://github.com/kestra-io/plugin-kubernetes/commit/e4bc948b7caa24a1e62cc0fd243b6c87364022d5


Actually, the name of the plugin's already been changed

It's no longer "Azure DevOps Services" but "Visual Studio Team Services"

@sjzzh2004 I will look into this and make sure that the names in our documentation match the official names of the plugins.


code coverage shows wrong

when travis shows total coverage 74%, codecov.io shows only 66.63%.

@pwzgorilla can you ping me a link to Codecov expressing this? I'm sure I can find an explanation to this.  This is causing the change in coverage. More here: http://docs.codecov.io/docs/fixing-reports#section-go
You can disable this in the following manner:
bash <(curl -s https://codecov.io/bash) -X fix

Thanks!

@stevepeak seems no use. https://travis-ci.org/Dataman-Cloud/swan https://codecov.io/gh/Dataman-Cloud/swan

@stevepeak very appreciate, but actually i  have done this in another PR(https://github.com/Dataman-Cloud/swan/pull/13), and still no effect, travis shows 70%+, but codecov shows 60%+.
Very appreciate!


Enhancements to package.py

This PR depends on changes from an associated PR over in the main u-c repo. This is, likewise, a byproduct of my work on #293.

Add the architecture identifier to the generated package files, so that x64 and x86 builds can be distinguished:

Installer
Zip file

Old names
ungoogled-chromium_123.0.4567.89-1.2_installer.exe
ungoogled-chromium_123.0.4567.89-1.2_windows.zip

New names
ungoogled-chromium_123.0.4567.89-1.2_installer_x64.exe
ungoogled-chromium_123.0.4567.89-1.2_windows_x64.zip

The build architecture is obtained by examining the out/Default/args.gn file (not sure if there's a better way).

Look for the build/util/LASTCHANGE.committime file in the source tree, which contains the official timestamp for the Chromium release. If this file is present, then read the (Unix epoch format) timestamp therein, and pass it as a new parameter to filescfg.create_archive() so that the archive file can be created reproducibly.
(If there is no timestamp, then member file timestamps go into the archive as-is, same as now.)

Instead of deleting e.g. mini_installer.exe so that it doesn't get packed into the .zip file, use the new excluded_files parameter to filescfg.filescfg_generator(). This allows the packaging script to run idempotently---you can run it multiple times, and it won't bug out due to missing files after the first run.
(I was running this script repeatedly in development, and having to rebuild/restore the missing files each time was quite tedious)

Maybe follow the same name scheme as already used in this repository for releases?

Ah, indeed. I've updated the .format() lines, and the PR text above, to place the architecture ID at the end of the filenames.

You might also need to remove these lines.
https://github.com/ungoogled-software/ungoogled-chromium-windows/blob/4d0cfaa9917b566fa589ff540f276150d0639cdf/.github/actions/stage/index.js#L45-L52

You might also need to remove these lines.

Ah, so that's the bit that was adding the architecture tags before posting the files to a release. Guess that won't be needed anymore.
I've added that edit here (also fixing the file's lack of a final newline), though I'm unable to test it myself.

The necessary backend changes are now merged in the main repo. Ready and willing to answer any questions.

  File "F:\ungoogled-chromium-windows\build.py", line 323, in <module>
    main()
  File "F:\ungoogled-chromium-windows\build.py", line 201, in main
    downloads.retrieve_downloads(download_info_win, downloads_cache, True, args.disable_ssl_verification)
  File "F:\ungoogled-chromium-windows\ungoogled-chromium\utils\downloads.py", line 290, in retrieve_downloads
    if components and not download_name in components:
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'bool' is not iterable```

Is this a Windows-specific issue, or does Python 3.12 change the operator precedence?

My apologies, I forgot to update build.py with the new arguments from the other PR. (I'm not using this script, as my cross build does not run on Windows.) I've added those in, as well as an extra arg that was missing from the calls to downloads.unpack_downloads() (namely skip_unused, which I've set to False for now).
I've rebased and updated this PR. Could you try it again?

Seems to work fine for the upcoming .100 release. Do you want to merge?

Thanks everyone! Next up is getting the cross build ready for a PR, now that the necessary script updates are in.


Add CIPD zap to mac-arm64

This is the same binary as the mac-amd64 one, but should work thanks to Rosetta.
Note that the binary is not available in CIPD yet: we'll need to wait for https://fuchsia-review.googlesource.com/c/infra/3pp/+/794888 to be merged, and for the CIPD updater to run (which may happen up to 4 hours later).

The mac-arm64 version is now in CIPD (https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/zap/mac-arm64/+/ABHTOz1w1HhcQSd7TegJP8AQ7yWu1m7O_MmSiQSOGFAC), so this should be good to go.


[Team 2] In-game UI and sounds feature ticket.

Description
During this sprint, our primary objective will be enhancing the in-game user interface (UI) and incorporating new audio elements to enhance the game's overall appeal. The upgraded in-game UI will encompass additions like a pause screen, dynamic background animations, and informative buttons and tiles that provide real-time information about the game's status. The second aspect of this feature will focus on adding new audio elements, including ambient background sounds, button click sounds, and interactive audio cues.
SubFeature
This feature can be broken into the following subfeatures:
Map improvements - 1 member
This feature includes improving the existing map structure, reducing the number of lanes, making sure the mobs and towers fit the lanes and adding new map specific background animations.
Pause menu and text style- 1 member
This feature will include implementing a pause screen and finalising the text style for the entire game.
Sounds - 1 member
This feature will implement new sounds for user-game interactions and map specific ambient sounds.
UI Elements - 2 members
This feature will create a new slider that reflects the current state of the game, new interactive buttons that allow users to skip to the next wave, warning indicators for incoming mobs and mob bosses and a tile to reflect the number of remaining mobs for the current level.
Dependencies

UI Elements team will need to collaborate with mobs team to implement the next wave button and current mobs button.
Map improvement team will need to collaborate with team implementing the drag and drop feature to tile highlighting for the map.

Milestones

[ ] Design and planning of Map improvements (Sep. 18)
[ ] Design and planning of Pause menu (Sep. 18)
[ ] Finalising sounds for the game (Sep. 18)
[ ] Design and planning of UI Elements (Sep 18)

[ ] Write code and JUnit tests for Map improvement feature (Sep. 24)
[ ] Write code and JUnit tests for Pause menu feature (Sep. 24)
[ ] Write code and JUnit tests for added new UI elements (Sep. 24)

[ ] Testing, Debugging, Integration - Map improvements (Sep. 27)
[ ] Testing, Debugging, Integration - Pause menu feature (Sep. 27)
[ ] Testing, Debugging, Integration - Sounds (Sep. 27)
[ ] Testing, Debugging, Integration - added UI Elements (Sep, 27)

[ ] Documentation written - Map improvements (Sep. 30)
[ ] Documentation written - Pause menu sub feature (Sep. 30)
[ ] Documentation written - added sounds (Sep. 30)
[ ] Documentation written - new UI Elements (Sep. 30)

Completion Deadline: October 1st
Extras (optional)

[ ] Extra components that you may implement if you get time.
[ ] ...

Documentation

Main description of feature
User documentation
...

Members

Ahmad (@The-AhmadAA) (Ahmad Abu-Aysha)
Alasdair (@AlasdairS4698737) (Alasdair Sinclair)
Mohamad (@Mohamad11Dab) (Mohamad Dabboussi)
Praneet (@praneetdhoolia) (Praneet)
Shivam (@shiv-0831) (Shivam Garg)

fixed a typo

Added optional task - some possibility of new planets being added to the game, so may require some new maps/backgrounds

Sound documentation may need to be rolled into other features as applicable - see #175


Fixed CONTRIBUTING.md typo

https://github.com/FlowiseAI/Flowise/blob/main/CONTRIBUTING.md#-env-variables

@HenryHengZJ  The github action failed to run. It looks like the milvus sdk updated the code. We should lock the version or update the code

Is someone already working on it? I can submit a new pr

can you pull from latest main and try again?

can you pull from latest main and try again?

synchronized. action needs to be approved


Add new optional prop isItemAutoHighlightMatch

I added a new optional prop isItemAutoHighlightMatch that allows injecting a function to determine whether an item should be autohighlighted. The default prop implementation checks whether the value of the proposed item starts with the search value  ignoring case, so there is no change in the default behaviour.
This would fix #266, #239, #310 and #239 without braking backwards compatibility or making a more involved design in the future less feasible. If this is ok, I'd gladly add some documentation, but I wanted to ask for some comments first. I think this feature is essential for advanced usage of react-autocomplete with own matching implementations.

Please let me know how I can helped to get this merged or find a better solution.

Really confused why the maintainers don't want to add this. My autocomplete results have other fields that match on them, and the top one should always get highlighted :(

having a slightly different issue which also results in items not autohighlighting because of the highlighting function in the lib. this PR would help since this exposes the highlighting logic and i can just reimplement it for my own datamodel


Add support for Azure SQL Managed Instance Module

As Azure Managed Instance module support is not currently available in this terratest, i would like to make contribution to add this Enhancement.

Hi, sounds good, looking forward for a PR 👍

Released in https://github.com/gruntwork-io/terratest/releases/tag/v0.43.7


not able to execute query or run notebook for registered servers

steps:
Add a registered server to a CMS server with Windows Authentication
The error pops up, choose enable option and proceed.

right click on the registered server and choose new query or new notebook.
for new query, the error will pop up again, for new notebook, the error won't pop up but the execution will fail.
workaround:

for new query, just enable the option when prompted
for new notebook, user has to change the connection and reconnect.

I see 2 issues here:

the connection information is not persisted for registered server. @cheenamalhotra  could you please take a look?
notebook is catching connection error and hiding it. @chlafreniere is this something concerning?

It seems the $treeItem.payload is not updated with saved connection profile after handleOnConnect completes reconnection...
How does getTreeItem() populate advanced options?

This is currently expected behavior from the notebooks side, but we can certainly look into improving this in the future.


[Watch] Added visual design

Added “Latest Entry” label;
Enhanced typography sizes;
Added color to buttons;

Codecov Report

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

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage    74.6%   74.93%   +0.33%
==========================================
  Files          33       33
  Lines        1504     1504
==========================================
+ Hits         1122     1127       +5
+ Misses        382      377       -5

Impacted Files
Coverage Δ

MyWeight/Services/MassService.swift
53.6% <0%> (+4%)
:arrow_up:

Continue to review full report at Codecov.

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


Merge Tool Shed slides into Tool Management

xref. https://github.com/galaxyproject/admin-training/issues/106
I've removed the diagram of public galaxy and private galaxy, as also mentioned by @cat-bro

@hexylena Since I'm not planning to do more changes here myself, would it make sense to merge it so @cat-bro can work from there on master in a single slide deck?

That works for me! Figured she'd join this pr but that works just as well.
man. 7. des. 2020, 18:37 skrev Nicola Soranzo<EMAIL_ADDRESS>
@hexylena https://github.com/hexylena Since I'm not planning to do more
changes here myself, would it make sense to merge it so @cat-bro
https://github.com/cat-bro can work from there on master in a single
slide deck?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/galaxyproject/training-material/pull/2178#issuecomment-740068563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADP7OYKIFZSZAF4OLW5MRDSTUHDHANCNFSM4UMBJV7A
.


Npgsql: Stop running tests on .NET framework version 5.x

About
While adding .NET 8.x, we discovered that the testing on .NET 5.x is broken:

The tests are flawed: They signal "green" status on CI, but actually no tests are compiled and executed.

This patch just removes .NET 5.x from the test matrix.
References

https://github.com/crate/cratedb-examples/pull/169#discussion_r1413085186 ff.

Can you please double check if there is something mentioned in the docs about .NET version support?

Can you please double check if there is something mentioned in the docs about .NET version support?

Are you referring to documentation about CrateDB? This issue here is about the vanilla Npgsql driver. Our canonical page about drivers ^1 does not refer to runtime versions at all.

thx for checking, but sorry, I rushed to approve: we mention versions here: https://github.com/crate/cratedb-examples/blob/main/by-language/csharp-npgsql/README.rst and we need to adjust

I've amended the patch by adjusting corresponding version information in the README.


cookie_store not working over redirections

I'm trying to run a login process through request which involves a lot of redirections.
My client is of course setup with cookie_store(true).
Having looked at the debug logs, it feels like cookies are set when receiving a Set-Cookie header, but that they are not used until the next call to reqwest, that is, the request subsequent to the response that was both a Set-Cookie and a redirect does not have these cookies set.
Can you confirm this behaviour and help me out at properly passing these cookies in that kind of scenario ?

I have got the same issue, then I tried to dive into code and spot the following:
                    match action {
                        redirect::Action::Follow => {
                            self.url = loc;

                            remove_sensitive_headers(&mut self.headers, &self.url, &self.urls);
                            debug!("redirecting to {:?} '{}'", self.method, self.url);
                            let uri = expect_uri(&self.url);
                            let body = match self.body {
                                Some(Some(ref body)) => ::hyper::Body::from(body.clone()),
                                _ => ::hyper::Body::empty(),
                            };
                            let mut req = ::hyper::Request::builder()
                                .method(self.method.clone())
                                .uri(uri.clone())
                                .body(body)
                                .expect("valid request parts");

                            *req.headers_mut() = self.headers.clone();
                            // Add a print message to header to see what's going on..
                            println!("Redirected request: {:?}", req);
                            // End...
                            self.in_flight = self.client.hyper.request(req);
                            continue;
}

in the async_impl/client.rs (Sorry for the tupid println!, but I don't know how to debug yet =.= )
According to the print message, I find that the redirected request doesn't contains Cookie header.

That doesn't seem very hard to fix, we should have access to cookie_store from there :)

Excellent work digging through, @WindSoilder!
It appears the fix here involves these steps:

Checking the cookie_store in the redirect::Action::Follow case.
Adding a test to tests/redirect.rs.

If anyone wish to take a stab an open a PR, I can help direct the effort!


fix: should try casting dynamic slot name into constant

fix #4668.
Introduced a new helper:
function __VLS_tryAsConstant<const T>(t: T): T;

which is used to infer the type of an arbitrary expression like as const, but not throwing errors when this can't be done. For example, ("1" + "2") as const will be an error, but __VLS_tryAsConstant("1" + "2") will just be of type string.

Nice work

Thanks!


Server summary

Moved summarizer to server side.

@devoncarew @lukechurch

lgtm! Let's definitely not merge this until the corresponding PR on the backend is merged and the change pushed to the live server.

Sorry, I didn't see this. Lets deal with getting this deployed and tested at after we've landed the export.

@Georgehe4 This code is in the server now, are you good to bring this back alive?

I'll start bringing this in on a new PR soon.


How to disable using of /cache pvc in the vmselect operator api ?

It used to be a  way to do that by setting cacheMountPath: "" , but that workaround was removed in the commit https://github.com/VictoriaMetrics/operator/commit/e00fe2151b71be569010840dc01947cb2747f4c1#diff-b32857448a43b22bdf1f1c14d83d7526819040c9b84d703b1a8564463707b939R344
What's the other way to stop mount pvc and  disable vmselect cache ?

It used to be a way to do that by setting cacheMountPath: "" , but that workaround was removed in the commit e00fe21#diff-b32857448a43b22bdf1f1c14d83d7526819040c9b84d703b1a8564463707b939R344 What's the other way to stop mount pvc and disable vmselect cache ?

Actually, it's not possible to disable cache completely for vmselect. Even with empty value, vmselect still uses tmp folder for data processing. When vmselect receives big number of blocks from vmstorage, it saves it into disk folder and processes it later.
Those change was added to correctly apply security policy.
Can you elaborate more why you want to disable those cache?

Our k8s boot disk is already big enough to fit /tmp/searchResults and no need to pay extra for pvc.
So would be good to have such an option again to disable using pvc in favor of boot disk.


Move mwc-ripple over to new sass config

Is your feature request related to a problem? Please describe.
Conform ripple to new SASS theming structure
Describe the solution you'd like
Redo ripple's styles to support SASS theming
Describe alternatives you've considered
none: this is now de wey
Additional context
see internal styling guide

fixed by #1532


[BUG] Watchdog not killing idle connections

LocalAI version:
localai/localai:latest-aio-gpu-nvidia-cuda-12
Environment, CPU architecture, OS, and Version:
Linux machinelearning 6.8.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Mon May 20 15:51:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
LocalAI leaves open python and backend processes that are no longer used, often duplicated.
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      2862      C   /opt/conda/bin/python                        3646MiB |
|    0   N/A  N/A      2922      C   /usr/bin/python                              2108MiB |
|    0   N/A  N/A   2445522      C   python                                       3256MiB |
|    0   N/A  N/A   2447407      C   python                                       3256MiB |
|    0   N/A  N/A   2448084      C   python                                       3256MiB |
|    0   N/A  N/A   2449253      C   .../backend-assets/grpc/llama-cpp-avx2        904MiB |
|    0   N/A  N/A   2451168      C   python                                       3218MiB |
|    0   N/A  N/A   2451598      C   .../backend-assets/grpc/llama-cpp-avx2        254MiB |
|    0   N/A  N/A   2451625      C   ...data/backend-assets/grpc/llama-ggml        266MiB |
|    0   N/A  N/A   2451647      C   ...kend-assets/grpc/llama-cpp-fallback        254MiB |
+-----------------------------------------------------------------------------------------+

Here, only the two first process are not LocalAI related.
Meaning 8 Processes are running just for LocalAI
A restart of the LocalAI docker removes them immediately.
To Reproduce
Leave LocalAI running for a while and issue commands.
Expected behavior
Processes to be killed properly by the watchdog
Logs

5:58PM INF Success ip=<IP_ADDRESS> latency="29.921µs" method=GET status=200 url=/readyz
5:59PM DBG [WatchDog] Watchdog checks for busy connections
5:59PM DBG [WatchDog] Watchdog checks for idle connections
5:59PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
5:59PM DBG [WatchDog] Watchdog checks for busy connections
5:59PM DBG [WatchDog] Watchdog checks for idle connections
5:59PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
5:59PM INF Success ip=<IP_ADDRESS> latency="35.641µs" method=GET status=200 url=/readyz
6:00PM DBG [WatchDog] Watchdog checks for busy connections
6:00PM DBG [WatchDog] Watchdog checks for idle connections
6:00PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:00PM DBG [WatchDog] Watchdog checks for busy connections
6:00PM DBG [WatchDog] Watchdog checks for idle connections
6:00PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:00PM INF Success ip=<IP_ADDRESS> latency="30.91µs" method=GET status=200 url=/readyz
6:01PM DBG [WatchDog] Watchdog checks for busy connections
6:01PM DBG [WatchDog] Watchdog checks for idle connections
6:01PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:01PM DBG [WatchDog] Watchdog checks for busy connections
6:01PM DBG [WatchDog] Watchdog checks for idle connections
6:01PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:01PM INF Success ip=<IP_ADDRESS> latency="31.711µs" method=GET status=200 url=/readyz
6:02PM DBG [WatchDog] Watchdog checks for busy connections
6:02PM DBG [WatchDog] Watchdog checks for idle connections
6:02PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:02PM DBG [WatchDog] Watchdog checks for busy connections
6:02PM DBG [WatchDog] Watchdog checks for idle connections
6:02PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:02PM INF Success ip=<IP_ADDRESS> latency="30.87µs" method=GET status=200 url=/readyz
6:03PM DBG [WatchDog] Watchdog checks for busy connections
6:03PM DBG [WatchDog] Watchdog checks for idle connections
6:03PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:03PM DBG [WatchDog] Watchdog checks for busy connections
6:03PM DBG [WatchDog] Watchdog checks for idle connections
6:03PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:03PM INF Success ip=<IP_ADDRESS> latency="32.571µs" method=GET status=200 url=/readyz
6:04PM DBG [WatchDog] Watchdog checks for busy connections
6:04PM DBG [WatchDog] Watchdog checks for idle connections
6:04PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:04PM DBG [WatchDog] Watchdog checks for busy connections
6:04PM DBG [WatchDog] Watchdog checks for idle connections
6:04PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:04PM INF Success ip=<IP_ADDRESS> latency="30.941µs" method=GET status=200 url=/readyz
6:05PM DBG [WatchDog] Watchdog checks for busy connections
6:05PM DBG [WatchDog] Watchdog checks for idle connections
6:05PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:05PM DBG [WatchDog] Watchdog checks for busy connections
6:05PM DBG [WatchDog] Watchdog checks for idle connections
6:05PM DBG [WatchDog] <IP_ADDRESS>:44591: idle connection
6:05PM INF Success ip=<IP_ADDRESS> latency="31.911µs" method=GET status=200 url=/readyz

Additional context
This is my .env:

## Enable/Disable single backend (useful if only one GPU is available)
SINGLE_ACTIVE_BACKEND=true
### Watchdog settings
###
# Enables watchdog to kill backends that are inactive for too much time
LOCALAI_WATCHDOG_IDLE=true
#
# Time in duration format (e.g. 1h30m) after which a backend is considered idle
LOCALAI_WATCHDOG_IDLE_TIMEOUT=30m

# Enables watchdog to kill backends that are busy for too much time
LOCALAI_WATCHDOG_BUSY=true
#
# Time in duration format (e.g. 1h30m) after which a backend is considered busy
#
LOCALAI_WATCHDOG_BUSY_TIMEOUT=30m

Possibly related to and fixed by #2720

Seems to work!


Removes the deprecated packages Log4j configuration attribute

Description
This PR removes the packages attribute from the standard configuration file and configures the build script of jmeter-core to use the PluginProcessor contained in log4j-core.
See Log4j Plugins for more details.
Fixes #5937.
Motivation and Context
The Log4j Core packages configuration attribute is deprecated because:

It triggers the scanning of packages and slows down the startup process.
It was replaced in version 2.0 by a faster mechanism that relies on a Log4jPlugins.dat metadata file.

How Has This Been Tested?
After the changes bin/jmeter does not print any Log4j warnings on the console.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

Thank you for looking into this.


Add: Project files

Added content for the sample home page

Refactor: Removed dark theme preference by default

Set the output directory for the web build to "out"

Added axios library for making api requests. It polyfills unsupported browsers

Added kafkajs library to enable connections to a kafka cluster

Added client and server only packages to enable identification of server and client components

Added by-node-env to manage the build and start scripts for development and production

Modified start and build scripts to be handled by "by-node-env" package

Added content for the sample home page

Setup the layout file for the resume producer component

Added the create Form component that will take input from the user and create a message in kafka.

Added the create form to the page component.

Added the loading component for when the form is still rendering

Added the ViewForm component to view the messages posted to the kafa topics

Added the producer logic in the getResumeData file

Added logic to connect to the kafka broker node

Added logic POST logic to submit the form data to the kafka producer.

Added CORS configurations and OPTIONS route to communicate methods, origins and headers allowed

Added instructions on how to build and run the project

I had some trouble with the repo when updating changes so I lost my commit log. I, therefore, dumped everything in one commit. yeah, I know. But it still works. Read the readme for a guide on setting it up


[24.05] python312Packages.pycrdt: 0.8.24 -> 0.8.31

0.8.24 was yanked
Diff: https://github.com/jupyter-server/pycrdt/compare/v0.8.23...v0.8.31
Changelog: https://github.com/jupyter-server/pycrdt/releases/tag/v0.8.31 (cherry picked from commit cc7426501dbba35d473c3375b945674c4ae794ff)
fix https://github.com/NixOS/nixpkgs/issues/325323 for release-24.05
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Regarding to cherry-picks check, I'm waiting for this PR. https://github.com/NixOS/nixpkgs/pull/325200

The cherry-pick test can fail, that is fine.

Result of nixpkgs-review pr 325382 at b8e2496c run on x86_64-linux 1

8 packages built successfully:

python311Packages.jupyter-collaboration
python311Packages.jupyter-ydoc
python311Packages.pycrdt
python311Packages.pycrdt-websocket
python312Packages.jupyter-collaboration
python312Packages.jupyter-ydoc
python312Packages.pycrdt
python312Packages.pycrdt-websocket


bulkDelete delete channels with the messages ?

It seems like when there are no messages in the channel, bulkDelete simply delete the channel
The logs of the bot :
C:\Users\clément\IdeaProjects\ClemCacahuete>node clemcacahuete_bot.js
Created webhook with token: sxD-jxQM-xNsKkfvY6X0NnBMxpYbmM_R7YX66cYoqAxSlqbRLoz1bS7UKqQsIWhmLJjD and ID:<PHONE_NUMBER>22938880
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): DiscordAPIError: Unknown Channel
(node:12992) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): DiscordAPIError: Unknown Channel
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): DiscordAPIError: Unknown Channel
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): DiscordAPIError: Unknown Channel
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): DiscordAPIError: Unknown Channel
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): DiscordAPIError: Unknown Channel
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): DiscordAPIError: Unknown Channel
(node:12992) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): DiscordAPIError: Unknown Channel
[...] //i have a second test on a second channel, it's the same thing until the 25th

}else if (message.content === prefixgeneral+"Delete Cacahuète" || prefixgeneral+"Delete Cacahuète") {
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.bulkDelete(100)
            message.channel.send("nettoyage qualité :peanuts: !!!")
            message.channel.delete(5000)
            message.channel.bulkDelete(1)
        }

Further details:

last version:
last versoin:
windows 10:
It's not an big issue, but it can be problematic for the users of the bot

[x] I found this issue while running code on a user account
[ ] I have also tested the issue on latest master, commit hash:

im not even sure if a webhook can use bulkDelete 🤔

the bulkDelete haven't any relation with the webhook 😄

sure it have 🤔

i didn't use the webhook to bulkDelete

ps : thanks to the one who said me to delete the webhook :D I forgot that it was write in the issue

Why even bulkDelete if you're deleting the channel anyway

the problem is that : if you clean the channel, how do do if the clean delete the channel...

He is asking why do you bulkDelete the messages when you intend to delete the channel anyway? It's useless. The messages are gone the moment you delete the channel, there is no point in having them be bulkDeleted beforehand.

i understand, but what i am saying is that if you want to keep the channel and juste bulkDelete the messages...

Regardless of the inanity of what you're doing, the issue you're having is not a problem with the library.  Please ask questions such as this in relevant discord servers.

Why do you call message.channel.delete(5000) then?

You can bulkDelete messages just fine, however you are deleting the channel before the bulkDeleting is even done, thus throwing that error.

ooops, i forgot to delete message.channel.delete, my bad, i'll close the issue 😢


ThreadPool 2.0

This is a first draft for 2.0 where I tried to in-cooperate my thoughts on several of the open issues.
I would like to get some feed back over the next week. Eg. "no opinion" or "overloaded" or "looks good" or anything else.
Maybe some of the functionality should reside outside of this crate, like the detection of pinning.
Cheers,
Stefan
ping: @frewsxcv

We're using this in rustup; no particular view on 2.0; 1.x is pretty nice.

Hey @dns2utf8, I appreciate you putting in the effort to write this proposal! Although I'm very limited on time nowadays and don't have the bandwidth to review this right now. Maybe someone else in the Rust community could help out with this?

Thank you all for the feedback :)
I will focus my first effort on cleaning up the API in the 2.0 branch.
@frewsxcv that is okay, I will find someone.
Hope you can enjoy the summer weather sometimes :crab:
And if you are at CCCamp we could meet there.
Cheers,
Stefan

Disclaimer: this is my first time to actually participate in open source community so some ideas might look naive and totally wrong.
It seems to me that the feature "Access to the pool handle from within the task" is not very much needed (I didn't find the corresponding issue tho). What would be the use case of it?
As for NUMA optimizations, will that involve pin threads to a particular core and box the passed-in function onto the memory adjacent to the particular core? If all threads are busy, how does the scheduler decide which function to send to which core? I am just curious about the implementation and would like to contribute to that part if possible, since coding it sounds very fascinating :)


Creates a secondary nav component

@jgiardino @srambach I've created a secondary nav component and removes the pfnav extension of boostrap, let's talk about it during the meeting today
You can preview it here:
http://blog.andresgalante.com/patternfly-atomic/?p=viewall-components-secondary-navigation
And this is how it interacts with bs tabs:
http://blog.andresgalante.com/patternfly-atomic/?p=templates-basic-template

@matthewcarleton @srambach This is the secondary nav we've talked about yesterday, can you review it when you have time please?

Don't merge this yet, I forgot to add docs :) sorry. I'll update soon

@matthewcarleton I've updated the docs and fixed the grammar mistake


Fix token migration

What was wrong?
Token address migration was only casting varchar instead of converting to bytea

Coverage remained the same at 88.411% when pulling e88f517f9f88027a58cb763d36bcdc2b0981aec0 on fix-token-migration into 5a9b69f043b1379c7a2543d053426007a7461ed4 on master.

Apparently SQL uses 1 based indexes

Good old Pascal


Why doesn't Error impl Fail?

Hi, I'm trying to integrate the failure crate a bit more tightly into a web framework, so that handlers can return Result<_, failure::Error> directly.
This web framework has a trait ResponseError: failure::Fail, and it requires web handlers to return Result<_, E> where E: ResponseError.
I was trying to impl ResponseError for failure::Error, but quickly realized I can't because failure::Error doesn't impl failure::Fail. Given that Error seems to support all of the same behavior that Fail requires, why doesn't it implement that trait?

https://github.com/withoutboats/failure/issues/99#issuecomment-348674144

It would be incoherent because of the reflexive impl of From for T and the impl of From For Error where F: Fail.

Meta: Would it make sense to add an FAQ to the Failure docs?

Ah, okay. Would this be possible with specialization?
I think a good place for a note would be in the documentation for Error, both library and in the guide.

https://github.com/withoutboats/failure/issues/99#issuecomment-348674144

This link is now: https://github.com/rust-lang-nursery/failure/issues/99


use Clang.jl to wrap tracy automatically

This uses Clang.jl to parse the header files and provide a Julia interface. That avoids having to manually ccall and specifying the signatures etc.
Some thoughts:

Ideally, the headers should be present in the JLL. As it is right now, I just download the source for the 0.9.1 version.
I moved the cffi.jl stuff into the generated library. I also renamed the DeclaredSrcLoc in there to be consistent with the naming, but I kept a type alias in Tracy.jl

For now, I think I'm going to avoid the extra dependency/indirection (even if it is build-time only) and leave this as-is.
The surface area of our CFFI is extremely small, and I like the fact that it is hand-wrapped, since I think that encourages careful thought about the overhead of the ccalls (including the nice caching improvement that you made recently :+1:)


Only Update Start In field when updating the scheduled task via command promt/powershell

Is it possible to only update the Start In (Optional) field when updating the task via command prompt.
Is there like a flag for /tr to specify the executable file and then the location of the executable file
In this sample syntax schtasks /change /tn  /tr     /ru  /rp
Can we do like /tr -e  -l

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Field option doesn't work with depth 1

katana version:
latest
Current Behavior:
Field option doesn't work with -d 1
echo https://www.mandiant.com/report-incident | katana -f email -d 1 -silent

Expected Behavior:
Field option to work with -d 1 based on requested page response.
echo https://www.mandiant.com/report-incident | katana -f email -d 1 -silent

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Steps To Reproduce:
echo https://www.mandiant.com/report-incident | katana -f email

I am unable to reproduce this issue. It may have been resolved at some point.
$ go run . -f email -d 1 -u https://www.mandiant.com/report-incident

   __        __
  / /_____ _/ /____ ____  ___ _
 /  '_/ _  / __/ _  / _ \/ _  /
/_/\_\\_,_/\__/\_,_/_//_/\_,_/

                projectdiscovery.io

[INF] Current katana version v1.1.0 (latest)
[INF] Started standard crawling for => https://www.mandiant.com/report-incident
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Closing this; works as expected.


templates: EtcdOperator shouldn't run as nobody

fix https://github.com/kubernetes-incubator/bootkube/issues/581

lgtm.

@hongchaodeng Does etcd operator need to run as root?

@aaronlevy
Yes.
ref: https://github.com/coreos/etcd-operator/issues/806
Is it a problem? We can try prioritize if there is any issues

Ideally nothing is running as the root user. We're trying to convert all existing objects to not require this either. What host-level privileges does etcd-operator need?

@aaronlevy
No host-level priv is needed. It needs some container level priv to create some dirs, like:
mkdir /etc/etcd-operator: permission denied

So we should probably pick a user to give to etcd-operator (nobody shouldn't own files). But giving operator root sounds unnecessary.

@aaronlevy
I'm not sure but who else can create dir in /etc ?
And why is it a problem? It never escapes the container.

/etc on the host or in the container fs?

container fs

We also have it run as nobody in Tectonic: https://github.com/coreos/tectonic-installer/blob/master/modules/tectonic/resources/manifests/etcd/tectonic-etcd-operator.yaml#L32-L34. If this is actually broken and there is no way around it, please advise before code freeze.
The image/app should probably be fixed so that it can run as nobody. We have been doing that for all the other images (i.e. adding setcap on our ingress controller, and various chown/chmod).

@Quentin-M

We also have it run as nobody in Tectonic ...

Why do you want to set specific user? Any concern to use default user which is root?

Note that even if etcd operator image is set to something else, the etcd pod & backup sidecar is still running as root. There needs broader investigation on everything if there is real concern.


ExecuteInTransaction strategy: verifySucceeded only called on commit failure

Using the execution strategy ExecuteInTransaction or ExecuteInTransactionAsync the verifySucceeded callback is only invoked if the exception is raised during the transaction commit (given the check over s.CommitFailed).
In my case, the actual error (SQL Number 2627, Violation of PRIMARY KEY constraint) is raised before commit (during The SaveAsync call), and is caused by the fact that multiple concurrent actors can try to write for the first time an optional dependant entity whose id is the same as the parent entity (available in a local cache), so one of these actors could not be aware at a given time that such optional entity has been already created.
In such a case I think that verifySucceeded should be called anyway (eventually with additional information about the fact that the error occurred while committing the transaction or before that), or this behavior should be configurable, because it was unexpected that callback was not called despite the exact SQL error number was specified at configuration time.

 It is not intended to be used for normal connection resiliency. See https://docs.microsoft.com/en-us/ef/core/miscellaneous/connection-resiliency#transaction-commit-failure-and-the-idempotency-issue for more information.

As far as I can tell, from an IExecutionStrategy point of view the verifySucceeded is just

A delegate that tests whether the operation succeeded even though an exception was thrown.
it is not tied to the commit failure scenario itself, since the execution strategy is not always associated with a transaction.
Considering that it's ExecuteInTransaction/ExecuteInTransactionAsync that is defining such a logic, I think that providing an override where 'verifySucceeded' provides the s.CommitFailed as a parameter would be more correct, and would not break anything.

@AndriySvyryd Thoughts?

@BladeWise The primary use case for providing verifySucceeded is to handle commit failures. In fact you are the first one to try to use it for something else AFAIK. You are free to copy the implementation of ExecuteInTransaction and add any logic that's useful for your scenario.
We already provide a lot of overloads and adding more would make choosing the correct one even harder so we would only do that if the use case is popular enough.

@AndriySvyryd That's exactly what I am doing right now, and it's not a issue. Yet, I suppose that the different behavior between ExecuteInTransaction and Execute could be mentioned directly in the documentation, because unless you check the actual implementation there is no way to determine it (unless I missed that).
Thanks both for your time.

@BladeWise Well the XML docs are different for ExecuteInTransaction:

A delegate that tests whether the operation succeeded even though an exception was thrown when the transaction was being committed.


how to train pic to match face id and use mtcnn which features to detect

this can see five points in face eyes nose and lip  can you tell me  according to What characteristics to match

because i use my images to use your model to run your code
but i have two quesions

why use 1 pic if i use 10spics or more pics  can up Correct identification?
2.i try to use now opencv face 68 features points to change your 5 features points to up Recognition rate, am i?

Yes. Using multiple images will make it more stable and improve accuracy
The number of facial features have nothing to do with the id matching. It's only used to find faces in images. If you find that opencv is better suitable for your images you can use it, just make sure to use the same alignment and normalisation that is used in my code.

can you tell me 5 face landmark  68 landmark Individual advantages  which performance good or tell me each advantages  thanks :)

Excuse me, how can I change the five-point feature to 68 points?
Can tell me a little bit about where to change

As I said the number of landmarks don't matter for the id matching. What matters is if you manage to find the faces at all. If you find all the faces with mtcnn there's no need to change and if you don't you could always try openCV to see if it improves. If you for some reason want more than the 5 landmarks you get from mtcnn you could of course change to openCV as long as you're not missing detections.
https://github.com/habrman/FaceRecognition/blob/3b729f73a35ad68b9067d498fa29b74bc15cd486/detect_and_align.py#L13
That's the line that detects faces and landmarks. You could change that to you own function that uses openCV instead but you need to make sure that the output of your function has the same format as the output of detect_face.


Gemfiles: drop unused platform rbx

This PR removes the unused platform group rbx (Rubinius) from the existing Gemfile files.

Hmm, I see that I perhaps need to regenerate the lockfiles, too, somehow.

This has now been merged into #172, so this PR can be closed!


Add a channel to return serve error

Add a channel to return serve error

some misc fix

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: douglas-reid
If they are not already assigned, you can assign the PR to them by writing /assign @douglas-reid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @ZackButcher

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
6055c39c4ec72eb2d6c57e4d0d400d7269e95eb2
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: zackbutcher
If they are not already assigned, you can assign the PR to them by writing /assign @zackbutcher in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
2dba381d3df149b034d900dbc053adbb38e52dad
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
f4c94df8f2a0d2f8b87298a53a532676b6c2455d
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
f4c94df8f2a0d2f8b87298a53a532676b6c2455d
link
/test istio-unit-tests

prow/istio-pilot-multicluster-e2e.sh
f4c94df8f2a0d2f8b87298a53a532676b6c2455d
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
f4c94df8f2a0d2f8b87298a53a532676b6c2455d
link
/test istio-unit-tests

prow/e2e-mixer-no_auth.sh
f4c94df8f2a0d2f8b87298a53a532676b6c2455d
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-mixer-no_auth


amended checksum for $MUImspChecksum64

I have downloaded the file, generated the checksum, repackaged and tested the outcome, it "works" (it fixes issue #33, but please note this doesn't fix issue 31 and issue 32).

A new version of the package was pushed today that fixes the checksum. This PR isn't needed.

Thanks for the tips, I merge it and push a new version.


Replace evidence named tuples with nested dictionaries

Evidence = Dict(sequence_identifier => (index: Int, orientation: Bool) for kmer in dataset)

done, this worked


Add 'Open With' option to the right-click context menu

I would like the right-click context menu to have an 'Open With' option, so I can open files with a non-default application (for example, I would like to open a .cs file in Notepad++, rather than the default app which is VS).
Describe the solution you'd like
Add an 'Open With' option to the context menu, where i can use a selector and choose the desired app.

I agree with this. We can now open file just with double click (or enter), but that opens only default editor for that file type.
It would be much better experience if we could get the same "Open With" dialog that already exists in VS.
For example, I don't want .editorconfig file to be open in .editorconfig "editor". I want to open it as plan text file.
Example from Solution Explorer/Folder View:


Add option to anonymize logging

This is something I want. Can this be added?

please don't do this by modifying the value of session.address.
this might break current code, anf this definitely breaks debug tools.
you can achieve the same result by changing the line that writes to the log.


txt Error

Hi @chris-prener. I'm receiving an r(199) error when I run my master/analysis do-files. I was trying to include the txt command along with the local macro but it's saying that the txt command is unrecognized. I'm running the master do-file so it is in a markDoc session. Any thoughts on why this might be happening?

Hi @jesnstevens,
I suspect you are missing double quotes around the static narrative text:
summarize mpg

txt "The mean of the variable `mpg` is " %10.3f r(mean)"."

@chris-prener

@chris-prener, I've checked the quotes this is what I have in my file.
txt "**1.** The independent t-test suggests the the average score on the " ///   "social science portion of the standard test from this data is " ///   "statistically significant because P is " %10.3f r(p)' ". This is " ///
"smaller than .05 suggesting a rejection of the null hypothesis."`

Try to remove the back-tick and apostrophe from `r(p) in line 3. See if that helps...


Implement a "lxc image show" command

To match what we're doing with profiles and configs where show can be piped into edit.

Done


Fix HTTP saver Content-Length computation

When using the http saver, the Content-Length header wasn't computed correctly.
(NB: The bug was that we set CURLOPT_POSTFIELDSIZE to 0 when preparing the request and used CURLOPT_INFILESIZE to set it again when we got the first chunk of data to submit. Since it depends on the request method what size libcurl looks at, the wrong size got picked for POST requests and the right one for, say, PUT requests. We're now setting both sizes when receiving chunks.)

@dominiklohmann I re-requested a review because I added a bunch of integration tests for the http connector.


Socketselect

Cross PR w/ Nick.
Added socketselect.c and .py test case.
Polished suite: Different tests are more noticeable. Failed tests appear in the end as a list to help debugging.

PR changes are submitted. This CI will fail as we haven't merged the Glibc accept syscall fix into develop.

This check succeeded on it's fourth run.
This is the output for failed test cases:
Running test: socketselect.c
Lind Output:
Waiting on select()...
Hello message sent

  select() timed out.  End program.
------------------------------------------------------------------
Regular Output:
Waiting on select()...
Hello message sent
  Listening socket is readable
  New incoming connection - 6
Waiting on select()...
  Descriptor 6 is readable
  17 bytes received
Hello from client
  Connection closed
Waiting on select()...
  select() timed out.  End program.


Hyperspace cargo feature increase

To be merged after 12th of March at 11:00 CET.
https://board.en.ogame.gameforge.com/index.php/Thread/806968-12-3-Hyperspace-cargo-feature-increase/

Codecov Report

Merging #25 into develop will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           develop      #25   +/-   ##
========================================
  Coverage    43.06%   43.06%
========================================
  Files           94       94
  Lines         6186     6186
========================================
  Hits          2664     2664
  Misses        3471     3471
  Partials        51       51

Impacted Files
Coverage Δ

baseShip.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add of a new attribute toggling EPEL repo installation

Description
Add of a new attribute node['erlang']['install_epel_repository'] that enables toggling EPEL repository installation.
Thus, by setting this attribute to false (default being true), it is now possible to install Erlang in offline mode, by retrieving RPMs from some internal yum repository for example.
Issues Resolved
None.
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Hi @tas50 ,
first of all: sorry about the messiness, that's my first pull request ^^
I tried to merge my changes into one commit (5d88433) with DCO Signed-off-by as you asked. I had then to sync my fork with the upstream (commit f0cca41).
Unfortunely, I see that the DCO check is failed, although I commited with the "Signed-off-by" tag with git commit -s.
Do you know what's going wrong?
Thanks for your help

it looks like you merged upstream into your branch instead of just rebasing there. Git's a pile of fun in situations like this.

I just did the git rebase HEAD~2 as you advised and pushed it. Looks better for the CI :)
Is it ok for you?
I still have a warning on the pull request: "This branch is out-of-date with the base branch" with a button "Update branch". Should I do it?

@dosyfier something funky happened in Git land there, but I just cherry picked over the single commit you made. Sorry this turned into such a DCO ordeal...lawyers. I'll get this shipped.

No problem, I'm just sorry I messed it up at first. Next time, I'll be more careful with the DCO before creating any pull request for Chef.
Thanks again! have a good day :)


add cv value

Add critical value as another artifact property /to use in sort etc../

No, CV is a superficial approximation that lacks any nuance. Implementing it would promote mathematic ignorance. It has no place in the Optimizer.


Error in Property Grid when the browser tab is inactive for more than 10 minutes

Issue:
Error in Property Grid when the browser tab is inactive for more than 10 minutes. Refer the below screenshot for error description:

Steps to reproduce:
Partner has developed a site with iTwin viewer. Issue is occurring in their website.

Open multiple tabs of iTwin viewer
Select an element in viewport and confirm that Property Grid pops up
Switch the tab and leave it as it is for around 10 to 15 minutes
Come back to the tab . Error occurs at this point.
Even if they press the retry button same error occurs again. If they refresh the browser then it comes back to normal

Not sure if it is related they could see the below API throwing 401
Request URL: https://api.bentley.com/imodel/rpc/v4/mode/1/context/850ef36a-18a0-4595-8fa7-9285d7276980/imodel/2064aefd-8bc6-4e0a-b670-374f87e023e0/changeset/12b84bed1ef6c6534ef0a65d11142fe00776a985/PresentationRpcInterface-4.0.0-getPagedContent
Response: {"statusCode": 401, "message": "Invalid JWT."}
Please investigate why this error is occurring and let us know if there are any workarounds.

As per the error message, the users access token expired and they need a new one

@aruniverse  I understand. Is the below explanation correct:
Normally when the tab is active this error doesnt occur. Which means there is a mechanism in place to refresh the expired token. But that mechanism will not work if the tab is inactive.
2 questions on this:

Is there anyway to make this refresh token work when the user comes back to tab? I thought retry button was given for that purpose. But clicking that doesnt refresh the token so wanted to check if there is any other way.
Is it possible to extend the lifetime of user access token?

Is there anyway to make this refresh token work when the user comes back to tab? I thought retry button was given for that purpose. But clicking that doesnt refresh the token so wanted to check if there is any other way.

The "retry" button attempts to mount the component again, which in turn makes another request for properties. If the token is invalid, the second request fails too. Property grid by itself does absolutely nothing related to access tokens - it's acquired somewhere behind the scenes in itwinjs-core.

@grigasp  thanks for the explanation. retry button makes sense.
@aruniverse  can you confirm this:
Is the below explanation correct:
Normally when the tab is active this error doesnt occur. Which means there is a mechanism in place to refresh the expired token. But that mechanism will not work if the tab is inactive.
Questions:

Is there anyway to make this refresh token work when the user comes back to tab?
Is it possible to extend the lifetime of user access token?

It is the responsibility of the Auth Client to refresh the token. If the tab is suspended then i guess its unable to do so, but it should be possible for you to add additional behavior to refresh the token (if needed) when your context switches back to the tab.
There is no way to extend the lifetime of an access token, you need to use the refresh token to get an updated access token

@aruniverse  Thanks for the explanation. Seems the problem is in Fukui's client side. Sorry for the trouble, closing the issue.


Problems deploying application on a server

Hey there !
I'm having some troubles trying to deploy your app in my production server, I can do it locally with no problems but can you give me an explanation about how to do it in a production server ? . I just have FTP access and mysql database (I already change db.go to adap it)
I appreciate your answer, thanks !

This needs to be run using on a postgresql database. You need to compile this using a proper go setup and then you can ftp the binary to your server and start it up.

It compiles simpleform (Binary) and if I run it in my localhost, it works with no problems. The problem is that I cannot use an ssh to start the script on the server I just have ftp. Do you have any solution for this ?


repository not found error

Hi,
i can't find out what i am doing wrong:

name: tag

on:
  push:
    branches: ['main']

permissions:
  contents: write
  pull-requests: read

jobs:
  tag:
    runs-on: ubuntu-latest
    steps:
      - name: bump semVer
        uses<EMAIL_ADDRESS>        id: bump-semver
        with:
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          repo_ssh_key: ${{ secrets.SEMVER_TAG_SSH_KEY}}
          label_major: major
          label_minor: minor
          label_patch: patch
          label_none: no-release
          should_set_tag: true
          should_push_tag: true

Hi @Dylan-Prins, You need to clone the repository first. For this, I would recommend using the actions/checkout@v3 action from Github. You can put this step before your bump semVer step:
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: "0" # we need full git-history to determine the last semVer tag
          ssh-key: ${{ secrets.SEMVER_TAG_SSH_KEY}} # insert the name you gave the GH secret


add answerYaml override support

need https://github.com/rancher/helm/pull/7 and https://github.com/rancher/types/pull/568.
This pr adds the following features:

add a field called answerYaml which allows user to post a values.yml file to override default one.
Add a custom parser to identify if answers has prefix like (string:test1234), and convert those values accordingly. If not, fall back to the old one.

https://github.com/rancher/rancher/issues/13158

Closing in favor of https://github.com/rancher/rancher/pull/17576


SignInManager WindowsUser NULL in Release Builds  - No WindowsUser

Using Unity 2019.4.6f1, if you build either debug or release from within Unity editor for UWP and then build a RELEASE x64 version using the resulting solution from the editor's build then upon invoking the SignInPlayer Coroutine on Windows 10 the following call:
Windows.System.User.FindAllAsync().AsTask();
Will always return a userTask status of "TaskStatus.RanToCompletion" but will return 0 (zero) results.  This is problematic for the GameSaveHelper as it requires the WindowsUser in order to successfully call GameSaveProvider.GetForUserAsync during the GameSaveHelper's Initialize Coroutine.
If you run the same build generated from the editor in Debug mode, then it always returns a valid WindowsUser.
Any advice on how to get this functionality working in release?

I think this is probably related to: https://forum.unity.com/threads/solved-uwp-xbox-live-creators-cloud-save-connected-storage-issue.655441/.
Using the information provided for that issue I modified the SignInPlayer couroutine (in SigninManager.cs)  slightly to read as follows - hope this helps.  Cheers, S.
`        ///
/// Adds and signs in a new Xbox Live User and assigns it a player number.
/// Note: Different platforms support a different number of users.
/// AddUser might fail if the player number is not within the range of supported users.
///
/// The Player Number that should be assigned to the Xbox Live User
public IEnumerator SignInPlayer(int playerNumber)
{
yield return null;
        if (!CurrentPlayers.ContainsKey(playerNumber))
        {
            XboxLivePlayerInfo newPlayerInfo = new XboxLivePlayerInfo()
            {
                SignInCallbacks = new List<UnityAction<XboxLiveUser, XboxLiveAuthStatus, string>>(),
                SignOutCallbacks = new List<UnityAction<XboxLiveUser, XboxLiveAuthStatus, string>>()
            };
            CurrentPlayers.Add(playerNumber, newPlayerInfo);
        }

#if ENABLE_WINMD_SUPPORT
// Modified from: https://forum.unity.com/threads/solved-uwp-xbox-live-creators-cloud-save-connected-storage-issue.655441/
        if (SystemInfo.deviceType == DeviceType.Console)
        {
            var autoPicker = new Windows.System.UserPicker { AllowGuestAccounts = false };
            var usersTask = autoPicker.PickSingleUserAsync().AsTask();
            CompleteXboxSignIn(playerNumber, usersTask);
        }
        else
        {
            var usersTask = Windows.System.User.FindAllAsync().AsTask();
            CompleteSignIn(playerNumber, usersTask);
        }

#else
CurrentPlayers[playerNumber].XboxLiveUser = new XboxLiveUser();
XboxLiveUser.SignOutCompleted += XboxLiveUserSignOutCompleted;
StartCoroutine(SignInAsync(playerNumber, CurrentPlayers[playerNumber]));
#endif
}
#if ENABLE_WINMD_SUPPORT
    // Xbox console sign in...
    private async void CompleteXboxSignIn(int playerNumber, Task<User> usersTask)
    {
        var result = await usersTask;
        if (result != null)
        {
            CurrentPlayers[playerNumber].WindowsUser = usersTask.Result;
            CurrentPlayers[playerNumber].XboxLiveUser = new XboxLiveUser(CurrentPlayers[playerNumber].WindowsUser);
            XboxLiveUser.SignOutCompleted += XboxLiveUserSignOutCompleted;
            StartCoroutine(SignInAsync(playerNumber, CurrentPlayers[playerNumber]));
        }
        else
        {
            if (usersTask.Status == TaskStatus.Canceled)
            {
                NotifyAllCallbacks(playerNumber, null, XboxLiveAuthStatus.Canceled, "Xbox Sign In Failed: Player " + playerNumber + " failed. Status: Canceled by the User.");
            }
            else if (usersTask.Status == TaskStatus.Faulted)
            {
                ExceptionManager.Instance.ThrowException(
                    ExceptionSource.SignInManager,
                    ExceptionType.SignInFailed,
                    usersTask.Exception);
                NotifyAllCallbacks(playerNumber, null, XboxLiveAuthStatus.Failed, "Xbox Sign In Failed: Player " + playerNumber + " failed.");
            }
        }
    }

    // Windows 10 sign in
    private async void CompleteSignIn(int playerNumber, Task<IReadOnlyList<User>> usersTask)
    {
       var result = await usersTask;
       if (result != null && result.Count > 0)
       {
           var windowsUser = result[0];
           CurrentPlayers[playerNumber].WindowsUser = windowsUser;
           CurrentPlayers[playerNumber].XboxLiveUser = new XboxLiveUser(windowsUser);
           StartCoroutine(SignInAsync(playerNumber, CurrentPlayers[playerNumber]));
       }
       else
       {
           CurrentPlayers[playerNumber].XboxLiveUser = new XboxLiveUser();
           XboxLiveUser.SignOutCompleted += XboxLiveUserSignOutCompleted;
           StartCoroutine(SignInAsync(playerNumber, CurrentPlayers[playerNumber]));

           ExceptionManager.Instance.ThrowException(
                ExceptionSource.SignInManager,
                ExceptionType.SignInFailed,
                usersTask.Exception);
           NotifyAllCallbacks(playerNumber, null, XboxLiveAuthStatus.Failed, "Sign In Failed: Player " + playerNumber + " failed.");
       }
    }

#endif`

Hey everyone,
Just for awareness in case this is still an issue, we've posted an announcement that integrating Xbox Live is no longer a requirement for UWP games to be published on Xbox as part of the Creators Program.
For more details: https://github.com/microsoft/xbox-live-unity-plugin#2021-update-more-accessible-creators-program-no-longer-requires-xbox-live


Installation dependency error

When installing Karta (tag v2.0.0) using py -3 setup.py install
I face the following problem:
Installed c:\users\user\appdata\local\programs\python\python38\lib\site-packages\karta-2.0.0-py3.8.egg
Processing dependencies for Karta==2.0.0
Searching for sark==2.0
Reading https://pypi.org/simple/sark/
No local packages or working download links found for sark==2.0
error: Could not find suitable distribution for Requirement.parse('sark==2.0')

This was solved by editing setup.py file, removing the version from sark dependency

Hi, sorry about the late reply, I didn't get a notification about this issue.
Anyway, the issue you are reporting was already resolved in ac00dcfa7699bedc5874943181dbbd69c511fd5d (exactly a year ago) and was a side-effect of sark's migration to Python3.
Happy to see you resolved it on your end as well.


Support keep alive clients console

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
SummerCode2022：https://github.com/seata/seata/issues/4621#issue-1242038644

add back-end interface for console to query clients(keep-alive-connections, TM or RM).
add back-end web interface for console to offline target client(keep-alive-connection, TM or RM).
refactor some class and functions about console module.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
unit test
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@slievrly PING! Please check!

Codecov Report

Merging #4816 (3fa3b02) into develop (5b15922) will decrease coverage by 0.43%.


opensc: patch for CVE-2020-26570, CVE-2020-26572

Motivation for this change
Address https://github.com/NixOS/nixpkgs/issues/101166.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Backported:
nixos-20.09 4cdfa432fccf1b318b69a4c4652fc7e93adad46e
nixos-20.03 b94c22f717243da29a7ae4f7501e7fcaf884dab0


SquareMatrix::transform_point is wrong

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=17498e4b5eca2e898e4a4684247fc0cd
The transform_point method yields a wrong z value.

Thanks, that was quick!


keyboard and touchpad not working after firmware update

Hello,
I was following the issues logged here and was interested in the kbd/touchpad related ones. I applied the firmware update procedure with the latest firmware.tar.gz from github.
After executing the update command and pressing Fn+Tux+Esc, the update program completed but my keyboard and touchpad don't work anymore since then.
I tried reboot, shutdown and boot, plug the charging cable but no improvement.
#Using the debug console on audio jack i tried to upload an older firmware but the program  #fails with the message "Unable to find rebootor". It seems to me that it tries to open some USB device and does not find it. lsusb shows the following:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1908:2311 GEMBIRD
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
What does lsusb show on a working TERES-I ?
Is there some way to repair the kbd and touchpad on my device?
Thanks!

Hi, the update worked fine for me, and this is my lsusb.
# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 15ba:003c Olimex Ltd.
Bus 001 Device 003: ID 1908:2311 GEMBIRD
Bus 001 Device 009: ID 05e3:0727 Genesys Logic, Inc. microSD Reader/Writer
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

15ba:003c is the keyboard+touchpad

Right. I am missing that device.
Removing the battery does not help. Actually it seems that the laptop will not boot properly only with the power plug and with battery disconnected.
I checked the cables to&from the KBD PCB and look ok.
Interestingly when i disconect the cable leading to the main board no event is shown in dmesg. But when i inserted it back there was something:
[  441.966575] usb 1-1.4: new full-speed USB device number 12 using sunxi-ehci
[  442.080086] hid-generic 0003:15BA:003B.0007: hiddev0: USB HID v1.11 Device [HID 15ba:003b] on usb-sunxi-ehci-1.4/input0
[  444.601118] usb 1-1.4: USB disconnect, device number 12
For some reason the KBD controller disconnects immediately. What would cause this behaviour? There is no chance to do an update.
I would appreaciate any hints on how can i reprogram it or further troubleshoot.

@binutzu Are all ribbon cables properly connected as shown in the manual? Before and after inserting the ribbon cable the lock latches should be closed to keep the cable in place.

hid-generic 0003:15BA:003B.0007: hiddev0: USB HID v1.11 Device [HID 15ba:003b] on usb-sunxi-ehci-1.4/input0

This is the bootloader and is active just for 2 seconds after power up. Try to make upgrade procedure using external usb keyboard. but instead of pressing Fn+Tux+esc keys you must restart PCB5 - disconnect from main board and insert it back.

Thanks for the feedback. Here a photo with the upper part of the cabling around the KBD PCB.

Now I use TERES with an external USB keyboard. I will try the command line options of  hid_bootloader_cli.c

To start bootloader you can reset board shorting C5.

Great! i have again keyboard and touchpad!
Thanks all for support. I made a change to hid_bootloader_cli so that it does not try to hard reset the device by default. This way it waits for the bootloader and has time (2s?) to write the firmware.
hid_bootloader_cli should have an option to avoid the hard-reboot and just wait

Off topic: @binutzu teach me how to use the audio jack console? What is the simplest setup, what to buy, what is the pinout on the audio jack?

@khumarahn Actually for me it was easier than i tought.  Using a multimeter I found what was the ground wire on each cable  and connected those. Then i was left with two other wires which means 2 combinations. I was lucky and got it right from the beginning. Otherwise just try the other combination.
You will get the bootloader messages by default and if debug=on in uEnv.txt then also the kernel console is available where you have tty access.
I found this very useful: https://forum.pine64.org/showthread.php?tid=5026
Using this serial console i could see that xenial, arch and even slackware miniroot is booting on the laptop and is a matter of loading automatically the modules + some config to have it run nicely


WhatsApp UI Clone

I am TRIDIB BAG,  GSSOC'22 contributor, wanted to add WhatsApp UI Clone using HTML, CSS as there is nothing on this topic . So I want to contribute on it.
Please @Rayman-Sodhi , can You assign it to me ?

@Rayman-Sodhi assign him, wait till she assigns you ok😁

Assigned u @Mrjoy832 even I can do same things


connlib completely hangs on macOS 14 after sometime

This is the same issue @AndrewDryga hit in Slack most likely.
After some period of time (maybe ~1 hour), connlib seems to completely hang. This breaks DNS across the system. The last few log messages are:
{"time":"2024-06-16T20:18:51.721962Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"322"},"severity":"WARNING","message":"Failed to request new connection: Pending connection"}
{"time":"2024-06-16T20:18:52.064047Z","target":"firezone_tunnel::client","logging.googleapis.com/sourceLocation":{"file":"connlib/tunnel/src/client.rs","line":"867"},"span":{"domain":"Some(Name(play.google.com.))","resource":"5c6af974-b953-486d-aa54-1e25287ada37","name":"on_connection_intent_to_resource"},"spans":[{"domain":"Some(Name(play.google.com.))","resource":"5c6af974-b953-486d-aa54-1e25287ada37","name":"on_connection_intent_to_resource"}],"severity":"DEBUG","message":"Sending connection intent"}
{"time":"2024-06-16T20:18:52.148708Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"322"},"severity":"WARNING","message":"Failed to request new connection: Pending connection"}
{"time":"2024-06-16T20:18:53.365088Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"281"},"severity":"WARNING","message":"Failed to accept resource: Tried to access an undefined resource"}
{"time":"2024-06-16T20:18:53.368773Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"281"},"severity":"WARNING","message":"Failed to accept resource: Tried to access an undefined resource"}
{"time":"2024-06-16T20:18:53.370281Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"281"},"severity":"WARNING","message":"Failed to accept resource: Tried to access an undefined resource"}
{"time":"2024-06-16T20:18:53.373188Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"281"},"severity":"WARNING","message":"Failed to accept resource: Tried to access an undefined resource"}

Full logs attached.
firezone_logs_2024-06-16T203116Z.zip

@conectado Is it possible this is fixed in https://github.com/firezone/firezone/pull/5381?

@conectado Is it possible this is fixed in #5381? Trying to reliably reproduce this issue. I think it may be after Client roams.

I don't think it's the same bug. In this case what's happening is that the client is recieving the response from the gateway but for some reason it did't recieve the accept connection reply or it didn't populate the resource to gateway map.
Which is kind of like the opposite from #5381
I imagine this might be some case of race condition kind of hard to reproduce. Will look into it!

@conectado this may also be an issue on Windows. Getting customer reports that DNS resources are failing. Might also be related to #5412
cc @thomaseizinger

I've been able to reproduce this reliably: after sending enough DNS queries (maybe 1,000 or more), connlib completely hangs, nearly pegging CPU and printing no logs:

Haven't had a chance to test extensively on other platforms.
For Resources like *.google.com there are sometimes a hundred or more generated sentinels (and connection_intents) for each lookup. Not sure if that anything to do with it.

The log is getting spammed with these:
{"time":"2024-06-18T04:50:03.680282Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"281"},"severity":"WARNING","message":"Failed to accept resource: Tried to access an undefined resource"}
{"time":"2024-06-18T04:50:03.682775Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"281"},"severity":"WARNING","message":"Failed to accept resource: Tried to access an undefined resource"}
{"time":"2024-06-18T04:50:03.683432Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"268"},"severity":"WARNING","message":"Failed to accept connection: Tried to access an undefined resource"}
{"time":"2024-06-18T04:50:03.684354Z","target":"connlib_client_shared::eventloop","logging.googleapis.com/sourceLocation":{"file":"connlib/clients/shared/src/eventloop.rs","line":"268"},"severity":"WARNING","message":"Failed to accept connection: Tried to access an undefined resource"}


Ember 3.5 upgrade

Fixes #[1528].
Changes proposed in this pull request:

Upgraded ember-source, ember-data, and ember-cli from 2.18 to 3.5
Explicitly binded onclick events in template files, edit-panel.hbs, modal-dialog.hbs, and section.hbs, to get rid of compilation error.
Changed requires to imports in "tests/electron.js" & "tests/ember-electron/main.js", to get rid of compilation errors.

cc @HospitalRun/core-maintainers

Hey @AaronTJDev Thanks for the help.
So I forgot that ember 3.4 introduced stricter template linting rules by default.
@MatthewDorner - What's your thinking on this?
@AaronTJDev Would you be willing to give the template linting rules a stab?

Hey @AaronTJDev Thanks for the help.
So I forgot that ember 3.4 introduced stricter template linting rules by default.
@MatthewDorner - What's your thinking on this?
@AaronTJDev Would you be willing to give the template linting rules a stab?

@donaldwasserman Well, l was working on resolving that, but honestly I'm kind of lost on the template-linting issue. I tried running an "eslint --fix" on it, but it wasn't effective. Only thing that was working for me was disabling rules. Are there any automated tools that you could suggest that I look into?

@AaronTJDev There's two solutions:

Disable the rules in a .template-lintrc.js

module.exports = {
  extends: 'recommended',
  ignore: ['node_modules/*'],
  rules: {
    'simple-unless': false,
    'link-rel-noopener': false,
    'attribute-indentation': false,
  }
};

This is copied and pasted from my work's template lint file, so we'd want different values

Is just fix the issues.

Is fix all the issues that have a handlful of instances by hand, and then create tickets to do the rest.

There may be some functionality in VSCode to deal with this. I'll ask around (I'm not personally a VSCode user)

So I was looking into the VS Code linting options and found this , https://youtu.be/qYOw2z6Og8I, I already have vs code but don't use it either, so I'll look into it when I have some time.

I tried the VSCode thing, I think it only works for .js ESLint though, not .hbs ember-template-lint. I am not very familiar with configuring these linters, or even with the upgrade process generally. But any things I can work on to help, I will.
Regarding the template errors, seems like a separate task. If there's a way to do it quickly now then we should, but otherwise later.
I'm getting more errors on "ember test" than just lint errors so maybe just get this to the point it passes all tests, and then decide what else we should do now and what later.
Also @AaronTJDev how did those "avoid-leaking-state-in-components" errors you were discussing in Slack get resolved?

This extension works for VSCode https://marketplace.visualstudio.com/items?itemName=emberjs.vscode-ember, but doesn't have auto fix.
Most common violations are for 'quotes' (must use double quotes) which we can probably fix easily, and then this 'attribute-indentation' as seen in the screenshot. I don't even like that one.

Aside from those 2, there are 269 remaining instances of various types, that somebody can fix but will take a while. A lot of them don't seem like they would be fixable automatically even if there was such a tool.

@donaldwasserman @MatthewDorner Alright, so for now I'll just disable the template lint rules until I can get "ember test" to pass all tests. Also, will restore the config-example.js. As far as the "avoid-leaking-state-in-components" errors, it was an error in how I had resolved the merge conflicts after running ember-cli-update, so I just started from scratch by cloning the repo again and ran a "git checkout --their ." I believe.

@AaronTJDev That sounds good. I'll look into finding some more automated solutions for handling the template linting errors automatically.

@MatthewDorner Alright, so I took a step back from this for about a week because I was having a ton of trouble getting the tests to pass. After coming back to it, I realized that it looks like the way the tests are performed have changed.
2.14

3.5

Might we want to work on this in a new branch instead of master, so we can separate tasks into multiple smaller PRs?

regarding the tests, looks like we can try this https://github.com/rwjblue/ember-qunit-codemod

Yeah I'm still getting a lot of trouble out of it, breaking up may be the way to go. After doing a little digging around I found this great article that kind of reviews all the changes to the testing for the latest version of ember.
https://dockyard.com/blog/2018/01/11/modern-ember-testing
Short overview of changes - Credit : Miguel Camba, Dockyard


retract v1.31.0 and v1.32.1

This should be released as v1.32.2 to avoid users to upgrade to these faulty versions until https://github.com/Shopify/sarama/pull/2133 is merged.
refs #2129
https://go.dev/ref/mod#go-mod-file-retract

Thanks for the pointers. Covered by #2160


Error while importing latest dump [robokop-kg]

Tried to import the latest dump: graph.9.9.19.dump.db.
Got this error. Please help.
robokop-interfaces/scripts/setup_neo4j_index.py:3: DeprecationWarning: The 'neo4j.v1' package is depr"""Get Neo4j index setup cypher."""
ecated, import from 'neo4j' instead
  from neo4j.v1 import GraphDatabase, basic_auth
Traceback (most recent call last):
  File "robokop-interfaces/scripts/setup_neo4j_index.py", line 11, in <module>
    predicates = list(row['predicate'] for row in result)
  File "robokop-interfaces/scripts/setup_neo4j_index.py", line 11, in <genexpr>
    predicates = list(row['predicate'] for row in result)
  File "/opt/conda/lib/python3.7/site-packages/neo4j/__init__.py", line 952, in records
    self._session.fetch()
  File "/opt/conda/lib/python3.7/site-packages/neo4j/__init__.py", line 527, in fetch
    detail_count, _ = self._connection.fetch()
  File "/opt/conda/lib/python3.7/site-packages/neobolt/direct.py", line 422, in fetch
    return self._fetch()
  File "/opt/conda/lib/python3.7/site-packages/neobolt/direct.py", line 464, in _fetch
    response.on_failure(summary_metadata or {})
  File "/opt/conda/lib/python3.7/site-packages/neobolt/direct.py", line 759, in on_failure
    raise CypherError.hydrate(**metadata)
neobolt.exceptions.DatabaseError: NOT PART OF CHAIN! RelationshipTraversalCursor[id=131071, open state with: denseNode=false, next=131071, mode=regular, underlying record=Relationship[131071,used=true,source=14701,target=2990,type=56,sPrev=131070,sNext=131069,tPrev=131860,tNext=130992,prop=611275,secondaryUnitId=-1,!sFirst,!tFirst]]

Look here for further discussion.


TST: xfail test_heequb, it fails intermittently.

See gh-11902 for details.

@tylerjereddy I think this should still go into 1.5.0

+1 from me. But the reason is that only python 3.7 dbg is picking up some openblas version. So it's a platform issue not the test (I literally went over the whole Fortran code and submitted bug reports to both Reference lapack and OpenBLAS).

Okay thanks, I'll amend reason=

and make it skip rather than xfail then

Hopefully since https://github.com/xianyi/OpenBLAS/pull/2635 is merged this will go away by itself.

Ah, very nice, thanks for hunting that down!

Ok, if you want this in the second release candidate make sure it has been merged with 1.6.0 milestone and retains a backport label. @ilayn seems to suggest it may not be needed? I have not seen the failure affecting the wheels repo for 1.5.x so far.

submitted bug reports to both Reference lapack and OpenBLAS)

Mind linking to these bug reports here, for future reference?

Let's get this in to ease of the pain of the PRs. Thanks Ralf and all.