Although I have downloaded the file locally and placed it in the folders directory, I will still download it, and

Although I have downloaded the file locally and placed it in the folders directory, I still try to download it and it may fail to do so
G:\stable-diffusion\sd-webui-aki-v4.5\extensions\z-a1111-sd-webui-dtg\models\ggml-model-f16.gguf
|2024-04-18 10:15:10|[TOPI-KGen]-INFO: Downloading gguf model from KBlueLeaf/DanTagGen-beta
*** Error running process: G:\stable-diffusion\sd-webui-aki-v4.5\extensions\z-a1111-sd-webui-dtg\scripts\dtg.py
Traceback (most recent call last):
File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\util\connection.py", line 95, in create_connection
raise err
File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
sock.connect(sa)
TimeoutError: timed out
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connection.py", line 363, in connect
    self.sock = conn = self._new_conn()
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connection.py", line 179, in _new_conn
    raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x000001902C53FEB0>, 'Connection to huggingface.co timed out. (connect timeout=10)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\requests\adapters.py", line 486, in send
    resp = conn.urlopen(
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\urllib3\util\retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /KBlueLeaf/DanTagGen-beta/resolve/main/ggml-model-f16.gguf (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001902C53FEB0>, 'Connection to huggingface.co timed out. (connect timeout=10)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\file_download.py", line 1238, in hf_hub_download
    metadata = get_hf_file_metadata(
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\file_download.py", line 1631, in get_hf_file_metadata
    r = _request_wrapper(
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\file_download.py", line 385, in _request_wrapper
    response = _request_wrapper(
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\file_download.py", line 408, in _request_wrapper
    response = get_session().request(method=method, url=url, **params)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\requests\sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\requests\sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\utils\_http.py", line 67, in send
    return super().send(request, *args, **kwargs)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\requests\adapters.py", line 507, in send
    raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /KBlueLeaf/DanTagGen-beta/resolve/main/ggml-model-f16.gguf (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001902C53FEB0>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: b9fa7564-5e40-4b21-ad58-de2ab7acd68f)')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "G:\stable-diffusion\sd-webui-aki-v4.5\modules\scripts.py", line 825, in process
    script.process(p, *script_args)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\extensions\z-a1111-sd-webui-dtg\scripts\dtg.py", line 304, in process
    self._process(prompt, aspect_ratio, seed + sub_seed, *args)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\extensions\z-a1111-sd-webui-dtg\scripts\dtg.py", line 365, in _process
    models.download_gguf(model_name, gguf_name)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\kgen\models.py", line 36, in download_gguf
    result = hf_hub_download(
  File "<enhanced_experience patches.hfmirror.huggingface_hub>", line 52, in hf_hub_download_wrapper_inner
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\utils\_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "G:\stable-diffusion\sd-webui-aki-v4.5\python\lib\site-packages\huggingface_hub\file_download.py", line 1371, in hf_hub_download
    raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

I update the whole file system, if you want to download gguf by yourself.
You need to rename it to
<Model Name>_<gguf name>

For example:
DanTagGen-gamma_ggml-model-Q6_K.gguf

Thank you very much, it's working now.


Fix for Issue #54

I worked on this last evening and believe this is the bug causing #54

No, this is going to duplicate tasks and maybe break other features.
This piece:
https://github.com/usernamehw/vscode-todo-md/blob/3282e60104aaa1ad3b41b15ad08abfc707004806/src/treeViewProviders/treeViews.ts#L149
must use filterItems and wherever possible filterItems should be used.
https://github.com/usernamehw/vscode-todo-md/blob/3282e60104aaa1ad3b41b15ad08abfc707004806/src/filter.ts#L12
Then filterItems should implement the logic of recursively walking through subtasks to see if any of the children match.

Ah yes good point.  Updated per your suggestion.

Re-used your recursive function to check all subtask children for a 'due/overdue' item.  Please review.

Thanks. I might try to exclude nested items that don't match the filter in the future (if it's easy).

Awesome!  Thank you!


Keep depth_image on CPU

This makes the DepthDataset consistent with the SDFDataset and SemanticDataset. From my experiments, this also reduces VRAM for depth-nerfacto without affecting training speed.
A step towards #3446.

I have been quite out of date with this codebase, but LGTM.


Serve: Error watching file for changes: UNKNOWN

Version
3.0.0-rc.5
Reproduction link
https://github.com/vuejs/vue-cli/issues
Steps to reproduce

Create a new project using CLI.
Run yarn serve

What is expected?
The CLI should build and serve the project
What is actually happening?
Getting the below error:
yarn run v1.7.0
$ vue-cli-service serve
 INFO  Starting development server...
 10% building modules 1/1 modules 0 activeevents.js:183
      throw er; // Unhandled 'error' event
      ^

Error: Error watching file for changes: UNKNOWN
    at _errnoException (util.js:992:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1359:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Yes. Just noticed.

See: https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-


Pjax is not defined

Not sure what's going on but there seems to be an error. You are also getting this error on your own website. Thought you should know.

My website is broken in many ways I know.
Please give more detail on your error otherwise we can't help you.


Insufficient documentation for "Collect video using the Visual Studio Test task"

Documentation on setting this up with runsettings doesn't seem to exist at all (or if it does, can someone point me in the right direction?).
Is there a template of a runsettings files that purely only enables screen capture? I've got it working with testsettings, but that doesn't work with MStest, so the VSTest runner fails on Pipelines.
Thanks

@alexhomer1 Can you help out with this question at all?
https://docs.microsoft.com/en-us/azure/devops/test/collect-screenshots-and-video?view=azure-devops#collect-video-using-the-visual-studio-test-task

Thank you for your feedback. I have passed this on to the product team for advice.

@hassanuz - an example runsettings file is documented here
@gewarren - this issue can be closed.


Concerto analysis changes

Bug Report 🐛

Concerto analysis returns no change for:

Changing a default value (maybe also adding one?)
changing a range to be less restrictive
adding/removing optional from a property
Importing a different minor or patch version

Expected Behavior

Removing optional from property should be a breaking change.
The rest should probably be patch or minor
Possibly add way to extend config to add your own rules to use

Current Behavior

Possible Solution

Steps to Reproduce

Context (Environment)

Desktop

OS: [e.g. macOS]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 0.22.15]

Detailed Description

Possible Implementation

Cases I found that are considered no change by the analyser:

Adding a default value to a scalar
Removing a default value from a scalar
Changing the value of the default value of a scalar
Changing the minor or patch version of an imported type of a property

Changing argument list of a decorator of a property
Adding a decorator of a property
Removing a decorator of a property

Also:

Adding an abstract modifier


how to fix the problem ?

code:   https://github.com/dydxprotocol/v4-chain/blob/main/indexer/packages/postgres/knexfile.js
problem:

Hi @wade-liwei, looks like you need to add typescript to your project dependencies. Try to execute pnpm add typescript -D command and rerun your script. If it won't help please share the reproducible example.


Dismissing PR preview banner loses position on the page

Details

Read the Docs project URL: https://readthedocs.org/projects/pep-previews/
Build URL (if applicable): https://readthedocs.org/projects/pep-previews/builds/23392643/

Go to https://pep-previews--3649.org.readthedocs.build/pep-0742/#type-narrowing-behavior

You are taken to the desired page and anchor, but a banner is displayed with the text

This page was created from a pull request build
See the build's detail page or pull request readthedocs/readthedocs.org#3649 for more information.

Click the 'x' to dismiss the banner

Expected Result
Stay in the same position on the page.
Actual Result
Takes you to the top of the page.
See also
Originally reported at https://github.com/python/peps/issues/3657

This should now be deployed, and I confirmed it's working 👍

Thank you!


Need help to getting response statuse code - simplecrawler

Hi,
I am new to node & JS, i was trying out this tool basically to find 404/500 on a page url.
below is my code snippet which doesnt print status code & also need atleast 1 level of depth to check for 404/500.
var Crawler = require("../lib");
var url = "www.testerqa.com";

 var myCrawler = new Crawler(url);
  myCrawler.initialProtocol = "https";
 myCrawler.interval = 10000; // Ten seconds
myCrawler.maxConcurrency = 1;
myCrawler.maxDepth = 1;

console.log("STARTING");
myCrawler.on("fetchcomplete",function(queueItem, responseBuffer, response){
		console.log("Completed fetching resource:",queueItem.url);
                console.log((response.statuscode == 404) || (response.statuscode == 500));
	});

	myCrawler.start();

i don't see anything running in the console, is there a way it can print url and corresponding status code next to it.
Thanks
Chandra

Hi — thanks for your query.
If you want to see the status code for any item, regardless of what it is, you'll need to use the fetchheaders event. Requests which return responses other than ~200 are not downloaded, so they will not fire fetchcomplete. Other events might be useful for you too — you might just want to listen on fetch404 and fetcherror to see 400 and 500 series responses.
The whole list of events is documented here. I encourage you to read it. :)
https://github.com/cgiffard/node-simplecrawler#events

When i see maxdepth = 0, still it crawls thru multiple links which are not on the current page.
is my implementation in sync with expected.
var Crawler = require("../lib");
Crawler.initialProtocol = "https";
Crawler.maxDepth = 0;
var url = "https://www.rediff.com";
Crawler.crawl(url, function(queueItem) {
console.log("Completed fetching resource:",queueItem.url);
});


SignalR issue in Electron build

[ ] check why build:electron command automatically executes build:shared-types and not buid:shared-components
[ ] check whether dist of Client App works and the issue is pure related to electron /electron.net packaging

localhost-1715935007261.log
NOT an issue with shared components - upgrade of signalR to Version 8.0.0 created this behaviour (only in connection with Electron.Net (?)
see: github Issue

temporarily solved by reverting back to v6.01 in #177


Nito.Disposables	1.0.0

Type: Missing
Summary:
Nito.Disposables	1.0.0
Details:
License file in repository indicates license is MIT
Resolution:
License link from Nuget site also indicates license is MIT
Affected definitions:

Nito.Disposables 1.0.0

@mihouc This is curated as NOASSERTION instead of MIT, as stated. If you meant to MIT, please resubmit.


Doc: Add onDecorated reference and fix component hierarchy

Here a PR to document recently merged PR #1705

Thank you @albinekb


Allow to create custom allure steps

What are you trying to achieve?
As I user I want to create custom steps in allure report
It would be nice to have allure api like
const allure = codeceptjs.container.plugins('allure');

allure.step("my awesome step", () => {
 	I.seeElement('.user');
	I.seeElement('//button[contains(., "press me")]');
})

that produces allure step "my awesome step" in the report.

you could use something like this:
async selectValuerType() {         await allure.createStep('Select value type', () => {             return I.selectOptionByData(RVS.valuerType, value);         });     }

@Elverslane

it is not documented api
it is doesnt work - it requires to await all calls.

yes
it works great despite await

2 Nope:
code:

report:

and await all

then you see correct report

Implemented in #2982


add: alacritty-ligatures-git

Progress

[x] Edit packagelist
[x] Add initial pacscript
[x] Add maintainer to pacscript

I don't think we should contact the developers of a fork of alacritty. What do you think @wizard-28

Messed up the git history accidentally, remaking the PR


Data stats support in lime

Hi Marc ,

With reference to request raised as part of issue https://github.com/marcotcr/lime/issues/241 ( Support for training data statistics in LimeTabularExplainer) , this PR has changes to accept "training data statistics" in Tabular explainer.

We have customers who are not willing to share the training data while provide statistics of the data and having this feature integrated in Lime would be really helpful.

Requesting for your review .
Thanks ,
Sowmya

Thanks!


Notification - incorrect notification on mobile

tested on metamask mobile app
(on web, it seems to work correctly)
flow:

browse to beta.bancor.network
set a trade
click "trade"
see the confirmation screen
reject
expected: see the "transaction rejected" notification
actual:

@ashachaf  i think this one can be closed?

on mobile, when a user rejected the transaction on his wallet, we showed "transaction failed" notification instead of "transaction rejected" one.
now, it seems that there are no notifications on mobile.
@Ran73Cohen

to my mind it is different problem now, most likely just z-index attribute that needs increasing

Stale


change version to v1.0 in README

please check all the files

please check all the files

Yes, checked.


bug: Error [ERR_MODULE_NOT_FOUND]: Cannot find module node_modules/ethers/lib/utils import with NextJS

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
^0.8.0
Current Behavior
I'm following along with a Moralis tutorial  and after installing all the necessary dependencies and trying to run npm run dev to compile everything and run the app in browser, I get the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/repos/fg2/node_modules/ethers/lib/utils' imported from<EMAIL_ADDRESS>Did you mean to import ethers/lib/utils.js?     at new NodeError (node:internal/errors:371:5)     at finalizeResolution (node:internal/modules/esm/resolve:416:11)     at moduleResolve (node:internal/modules/esm/resolve:932:10)     at defaultResolve (node:internal/modules/esm/resolve:1044:11)     at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)     at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)     at link (node:internal/modules/esm/module_job:75:36) {   code: 'ERR_MODULE_NOT_FOUND'
I'm running node v16.13.0.
The ethers package is definitely installed and there is definitely a node_modules/ethers/lib/utils. I'm really confused why it's choking and unable to find it.
Expected Behavior
I expect the ethers import to work. :)
Steps To Reproduce
I suppose you could go through the first 7 steps of the tutorial and see if you can replicate the issue.
Thank you for your help!

You rock, thanks @tmm!


Use the DAP (disk access packet) to support loading larger executables

This change uses the Disk Access Packet. It means floppies will not work, however, this allows for executables larger than 63 sectors to be loaded.

Nice, have been considering doing this for a while!


Determine why local Hugo server messes with some Javascript

First noticed when testing #161, it seems there's some caching going on of some objects when using the local Hugo testing webserver. There's a few flags that could be used that might fix it, just need to figure out the correct ones.

No solution here but I believe this is a similar problem: https://discourse.gohugo.io/t/hugo-pipes-scss-not-re-compiling-on-server-or-watch/14435
It seems to have to do with the Hugo Pipes that are building the JS assets...

Chances of solving this are low. Chances of it coming up again are also low.

Chances of solving this are low. Chances of it coming up again are also low.


Added myself - Vivek Dhayaal

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Looks good and ready to merge.


So huge

The size of my bundle is 6 mb. It's normal? How to fix it?

6mb from react-toolbox?? Take a look at the “Importing components“ section of the readme, should help you sort it out

I have few pages and in each page I use:
import React, {Component} from 'react';
import {withRouter} from 'react-router';
import {connect} from 'react-redux';
import {Layout, Panel, NavDrawer, Sidebar} from '../components/layout';

It's normal practice or I have to include this once?

Also, by default bundle with "react-toolbox" — 6.3 Mb.

Try to require components directly separated. Probably you are requiring from indexes making the bundle huge since the whole library is going to be included instead of just what you actually use.

@markolofsen here is an example:
import { List, ListItem, ListDivider } from "react-toolbox/lib/list";

import { List, ListItem, ListDivider } from "react-toolbox/lib/list";
A'll check it. Thanks.


** (Mix) Can't find brunch-config.js

On phoenix 1.3, when i run:
mix admin.install
I get :
** (Mix) Can't find brunch-config.js

I have the same issue. Using it with an umbrella project with Phoenix 1.3 and Elixir 1.4.

This is not an official fix, but if you are stuck like me and need a solution right now, here is one.
I found this closed PR
https://github.com/smpallen99/ex_admin/pull/388/files
You can make the same changes that he did, then recomplie the deps
mix deps.compile
then one more time try
mix admin.install
and you're good to go.
I think his PR was rejected because it breaks compatibility with previous phoenix versions. If you are only on 1.3 like me, I would say go ahead.

Actually, the fix I recommended is just for the install script. But since phoenix 1.3 is completely different, exadmin is broken even with that fix. The install script needs to be rewritten.
So sorry guys, no quick solution for now.

I got the same issue with Phoenix 1.3.0 😢

Quick solution: mix admin.install --no-brunch.

accessing the admin interface after that will still give you an error though.

Hello @franzejr ,
The error is still there when using --no-brunch also.
I am getting ** (Mix) Can't find assets path!
by manually create assets folder in the root the error still remains.

I worked around this error with ln -s assets/brunch-config.js .. But still it created non compatible config, so I had to adjust it along Phoenix 1.3

Hi,
@Kukunin Did you make it work. What work around did you do?
I am still got stuck on the ** (Mix) Can't find assets path!
My phoenix is generated using mix phx [project_name] --no-brunch
I did create assets directory under the root path and web path (by creating web directory also to make it like phoenix 1.2).
If anybody have feedback please recommend.

Dev

Yeah, it made it work. Since the generator expects the Phoenix 1.2 file structure, you need to migrate everything to 1.3. I might be wrong since it was a month ago, but here is an idea.
It expects:

/brunch-config.js
/priv/static folder
/web folder

After it installs everything, use git diff to find changes and migrate them onto 1.3 version:

make brunch changes in /assets/brunch-config.js
move assets from /priv/static to /assets folder. In my case I have:

/assets/static/fonts/
/assets/static/images/
/assets/vendor/ <- js and css files here

move every class from /web to /lib/your_app_web

Here is my brunch-config.js with ExAdmin support for a reference

exports.config = {
  // See http://brunch.io/#documentation for docs.
  files: {
    javascripts: {
      joinTo: {
        "js/app.js": /^(js)|(node_modules)/,
        "js/ex_admin_common.js": ["vendor/ex_admin_common.js"],
        "js/admin_lte2.js": ["vendor/admin_lte2.js"],
        "js/jquery.min.js": ["vendor/jquery.min.js"]
      }
    },
    stylesheets: {
      joinTo: {
        "css/app.css": /^(css)/,
        "css/admin_lte2.css": ["vendor/admin_lte2.css"],
        "css/active_admin.css.css": ["vendor/active_admin.css.css"]
      }
    },
    templates: {
      joinTo: "js/app.js"
    }
  },

  conventions: {
    // This option sets where we should place non-css and non-js assets in.
    // By default, we set this to "/assets/static". Files in this directory
    // will be copied to `paths.public`, which is "priv/static" by default.
    assets: /^(static)/
  },

  // Phoenix paths configuration
  paths: {
    // Dependencies and current project directories to watch
    watched: ["static", "css", "js", "vendor"],
    // Where to compile files to
    public: "../priv/static"
  },

  // Configure your plugins
  plugins: {
    copycat: {
      "fonts": ["node_modules/font-awesome/fonts"]
    },
    babel: {
      presets: ["es2015", "react"],
      plugins: ["transform-object-rest-spread"],
      // Do not use ES6 compiler in vendor code
      ignore: [/vendor/]
    },
    sass: {
      mode: 'native',
      options: {
        includePaths: ["node_modules/bootstrap/scss", "node_modules/font-awesome/scss"],
        precision: 8
      }
    }
  },

  modules: {
    autoRequire: {
      "js/app.js": ["js/app"]
    }
  },

  npm: {
    enabled: true
  }
};


[turbopack] Node version guard

Closes #2336
This patch adds a node version check to prevent users from using a version below the minimum supported node version.
PS: I am not sure where to put the requirement note within the docs and how I can add a test for this. Thanks :)

Turbopack has moved!


Is there any way to set the current directory when executing command in a session

I'm executing remote commands through a Session using Session::command()
But I don't find a way to set the current directory for a given command. Even the cd command does not keep the directory changed for subsequent commands.
I am looking for something like std::process::Command::current_dir() method.
Is there any way to do this ?

You can change the .ssh/config by using tempfile to create a temporary one and try something like:
Host myhost
  HostName IP
  User ubuntu
  IdentityFile ~/.ssh/id_rsa
  RemoteCommand cd /path/to/directory; $SHELL -il

Thanks for the idea. But it's such a manipulation before connecting a session. And the whole session is bound to this directory.
I've read in the source code that openssh doesn't support setting current directory (yet ?) :
command.rs:67
as only underlying shell support it. But is there a way to enable it on case bash for example is present on the remote host?
Thanks for your light

Thanks for the idea. But it's such a manipulation before connecting a session. And the whole session is bound to this directory.

You can specify an alternative ssh config using SessionBuilder, before connecting.
You can then use crate tempfile to create a named temp file and write the ssh config into it, then pass it to SessionBuilder::config_file

I've read in the source code that openssh doesn't support setting current directory (yet ?)

No, AFAIK ssh doesn't support such option.

as only underlying shell support it. But is there a way to enable it on case bash for example is present on the remote host?

You could write a bash script, or use Session::shell


Print information in gRPC CLI if its CQ event is not successful

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

CC @yang-g

Closing because no response from the author in over a month.


Handle docker -v :/path where volume is backed by a block device

In case of docker -v <volume-name-or-path>:/path where the volume is backed by a block device, we should consider passing the block device to the VM.

We have a PR open to handle the case docker -v <block-device>:/path, which works well because the block device is not mounted in the guest.
In the case docker -v :/path` the volume is mounted on the guest, so mounting this on the guest may lead to issues. This may give us better performance for workloads that rely on volumes.

@bergwolf What do you think? I think mounting in the host and guest may lead to sync issues. Are you aware of any serious issues caused by this. I want to see if this is a viable option for workloads that depend for volumes heavily for their I/O.

cc @egernst @grahamwhaley @sboeuf @laijs

@amshinde Along side of sync issues, data corruption and kernel crash might happen when we do it.

@amshinde what we do with devicemapper has the same issue, as long as we mount the block device both on the host and in the guest. I can think of a few cases where you get data corruption or kernel crash even if you do not access the mount point from the host side.

ext4 file system has the so called lazy init feature that delays block group initialization to after the device is mounted. If we mount such an ext4 file system on the host and the guest at the same time, there will be host and guest kernel threads reading/writing the same block at the same time, and that can potentially cause data corruption or kernel crash.
most Linux block based file systems record the last mount time in the superblock. If we mount a device both on the host and the guest, they will both write to the superblock and can potentially cause fs corruption or even kernel crash.

The above two cases are just what I can think of easily. There might be a lot more. To summary, we cannot do it because such usage is not supported by design. And the failures are not easy to verify through some simple tests. OTOH, if we ever deploy in large scale, it will almost certainly happen.
If we really want to do it just for performance advertising, I'd suggest we disable it by default, and add a big warning if people want to enable it in real life.

And I think the right way to fix this is to teach docker/containerd (optionally) not to mount such block devices on the host but just pass them to the runtime directly.

And, or, we should also think about if any of these mounts are or can be made read only (potentially including the noload mount option as well as readonly) (https://linux.die.net/man/8/mount).
That I would expect to prevent actual corruption from two writes happening in parallel. I'm not sure if the readonly mount will get syncs of any writes from the other mount though, so that could still be a problem.
I think what I'd really like to see maybe is some sort of 'matrix' diagram of the types of items we are trying to mount (rootfs, volume, block device etc.), against what our options are (block, 9p, dax etc.) - there are quite a few variables here and I think it is quite hard to keep all factors in ones head...

@bergwolf
In current implementation of kata, when docker is using devicemapper, container's rootfs  will be both mounted on host by docker and in guest by kata.
In your description, this can cause kernel corruption easily, right? Then I think this is a big design problem.
@amshinde I think we'd better not support this feature describe in the issue. Sometime we will have cases need to mix use 9pfs (for realtime data sync up ) and virtio-blk (for data performance). If we support this interface, I would say it will be hard to distinguish 9pfs usage and virtio-blk usage thus cause more confusion.
In my opinion, -v /dev/sda:/mnt/ makes kata use virtio-blk is good feature and like magic, but too much magic can bring chaos.

@WeiZhang555 Yes, I think you are right that Kata leaves the rootfs block device mounted on the host.  That is dangerous!
Unmounting the devicemapper target on the host is probably a bad idea without communicating that to the devicemapper storage driver.  Other things might break if the devicemapper target is not mounted on the host.
I have just finished reviewing the virtio-9p vs virtio-blk/scsi modes and think that block device cannot implement the OCI spec and the existing assumptions about containers correctly.  Block devices can handle a subset of the OCI features but it breaks down when the host updates files or when volumes are shared between containers or with the host.
Combined with the security issue that @laijs raised in issue #4, I think that using block devices is not a good idea.   If anyone disagrees I'd love to hear the solutions you have in mind.

@stefanha

Unmounting the devicemapper target on the host is probably a bad idea without communicating that to the devicemapper storage driver. Other things might break if the devicemapper target is not mounted on the host.

What kind of issues do you foresee if we unmount the devicemapper target on the host.

On Wed, May 9, 2018 at 7:37 PM, Manohar Castelino
<EMAIL_ADDRESS>wrote:

What kind of issues do you foresee if we unmount the devicemapper target on the host.

Could OCI hooks try to access it?
Stefan

@stefanha I think all things you said are true.

Block devices can handle a subset of the OCI features but it breaks down when the host updates files or when volumes are shared between containers or with the host.

There's a trade off between compatibility and performance here, with virtio-blk we can gain better performance than 9p, so the idea here is if we don't need to sync up data between host and container simultaneously, we can use virtio-blk instead of 9p for performance.

@stefanha We havent seen any issues with using virtio-blk for rootfs . The rootfs is not really accessed from the host side. I'll check if with unmounting it from the host side we see any issues.

@amshinde I guess unmounting it from host will very likely bring trouble. And we should warn user to not use docker cp to copy file from host to container because docker cp is actually copying file from host to the mounted dir of devicemapper block, and that can probably crash the host in previous discussion.

@amshinde Please discuss unmounting the devicemapper storage driver folks.  The OCI spec makes no guarantees about ownership of the mount path.  Therefore it's not safe to assume Kata can unmount it.
The cleanest solution is to put the block device path into the OCI config.json instead of a host directory path.  The devicemapper storage driver would not need to mount the block device.  Kata would be safe to access the block device without interfering with the host.  This may require an OCI spec change.

The cleanest solution is to put the block device path into the OCI config.json instead of a host directory path. The devicemapper storage driver would not need to mount the block device.

runv has been doing something similar for a long time. The hostpath of rootfs/volume in the container spec may not be a real host path but just an ID referencing extra storage spec defined by runv. It is not compatible to the OCI spec but usable within the kubernetes CRI scope, with the help of frakti. The AddStorage() API @WeiZhang555 is working on would allow similar functionality in the kata side as well.

...still an interesting issue.  This'll be hard to support generically.

...still an interesting issue.  This'll be hard to support generically.


Force ChakraCore to statically link the CRT

ChakraCore can only dynamically link against MSVCRT currently. To work
around this it's best just to statically link the CRT like official
builds do.

/cc @MSLaguana @digitalinfinity

See https://github.com/Microsoft/ChakraCore/issues/5725 for context.

This PR, as it currently stands, silently ignores VCPKG_CRT_LINKAGE.
I would advocate instead for adding a warning / fatal error for dynamic CRT linkage, referencing this current ChakraCore issue. i.e.
if(VCPKG_CRT_LINKAGE STREQUAL "dynamic")
   message(FATAL_ERROR "Dynamic linking of the CRT is not currently supported.") # see vcpkg PR: #4371
endif()

or
if(VCPKG_CRT_LINKAGE STREQUAL "dynamic")
   message(WARNING "Dynamic linking of the CRT is not currently supported. Defaulting to static CRT linkage.") # see vcpkg PR: #4371
   set(CHAKRA_RUNTIME_LIB "static_library") # Default to static CRT linkage for now
endif()

Some sort of messaging is important, if building ChakraCore with dynamic CRT linkage is currently broken. (It might also be worth updating the ChakraCore wiki, and/or the comments in the props files, to clarify that this building configuration does not currently work.)

@past-due Unfortunately, due to the architecture of Chakracore, this is the correct behavior.
Fortunately, the library is designed to operate correctly as a DLL that static-links the CRT, so this is the right fix until chakracore is able to dynamic link against the ucrt.
@kfarnung Thanks for the PR!


bluesky chat bug - says deleted account on sender name when profile is deactivated

sent a chat to a user who has deactivated their account
chat message says  username says: 'deleted account'
imo should say 'deactivated account;' as the username if the account is deactivated.

@surfdude29 can I take this up? My initial search led to make changes in this file. Can start taking it up from here.


[cxx-interop][SwiftCompilerSources] Use BridgedStringRef once again to prevent crash

@swift-ci please smoke test

Merged a better workaround instead: https://github.com/apple/swift/pull/59462.


Question on training with custom dataset

Hello,
I have 4 voc dataset (each with ~ 200 images and their annotations). Each dataset has images of a particular object. So 4 different objects 4 different datasets.
Now how do I train my model?
Should I try merging everything into one? Or is there a way to train it one by one?
I also came across --resume in train_ssd.py where we can collect more data, come back and start training from where we left with the .pth file of the model created previously.
But that doesn't help if I am going to train it with a new object and hence a new label.

Hi @Lyns01, what I would do is merge them into one dataset.  Fortunately the VOC format should make this fairly easy, as long as you have different image filenames/annotation filenames.  You can simply put all the images under JPEGImages/ and annotations under Annotations/.
Then you basically would take your different ImageSets under ImageSets/Main and combine the 4 separate files together.   For example, take ImageSets/Main/trainval.txt from the 4 separate datasets and combine them into one ImageSets/Main/trainval.txt (and do that for test.txt, train.txt, trainval.txt, and val.txt)

Thanks for you reply.. I have one more question, I have a dataset of 300 images (one object only).. I trained them for 30 epochs (batch size 4 and workers 2).. at the end the loss value was around 0.8
I converted it to .onnx file and tested using detectnet..
I was able to detect the actual object but in addition draws bounding boxes around every object it captures..
Can u suggest on how to make it a better model?
Should I increase the number of images or epochs or wat should be done?

Should I increase the number of images or epochs or wat should be done?

Try doing both.  Also in your images, have the background objects that you don't want to detect in the images - just don't annotate those unwanted/background objects.
Also if you train your model again, delete the .engine file in your model's directory, otherwise TensorRT will use old model.

During each epoch there are three loss values being displayed. Validation regression loss, Validation classification loss, and validation loss. Is there a way to print the training loss too??

and is there any ways to augment the dataset?

Thanks dusty.


chore: Drop conversion webhooks

Fixes #N/A
Description
Dropping conversion webhook.
How was this change tested?
Manually tested
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
14 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.5%) to 78.34%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/operator/operator.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/nodeclaim.go
2
89.13%

pkg/operator/injection/injection.go
4
33.33%

pkg/apis/v1beta1/duration.go
8
47.37%

Totals

Change from base Build<PHONE_NUMBER>2:
0.5%

Covered Lines:
8644

Relevant Lines:
11034

💛  - Coveralls


[BUG] Presence doesn't get updated if the room is destroyed

I have a scenario when the user refreshes the browser it adds an entry in the useOthers but doesn't  remove the one on which the user had hit refresh. The result is that we have 2 entries instead of 1 for the same user
Looks like a bug

Closing for inactivity. Please, let us know if you need us to reopen it.


Submitting Assignment-1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
==> Completing and submitting Assignment-1 for Algorithms and Data Structures
What did you learn from the changes you have made?
==> Hash functions, binary tree, how to traverse the tree via breadth-first search, time and space complexity.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
==> Following the assignment guidelines
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
==> Somewhat in terms of understanding new concepts. Referred to session recordings, slides and live programming work, researched on the Internet
How were these changes tested?
==> Locally on Jupyter notebook within VS Code
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

Hi @tianyi21  Tianyi [LS]
Thank you for your comments, overall feedback and the input.
I can see the point that you are making for using DFS as an alternative method.

In the example input that you have shared [1,2,3,4,5,3,7,4], the desired output will be [3] and the output using DFS approach will be [4] since it is the closest duplicate to the root (as per DFS) when it will explore one branch of the tree all the way down before backtracking, so it will identify [4] as the duplicate output.

So, there is an issue with DFS approach, as the DFS will return the first duplicate it finds without considering the distance to the root. It could fail in cases where duplicates appear at different depths in a single branch of the tree.

Possible Solution: Though BFS is the best suited approach, if we are required to use DFS as an alternative approach, I will keep a track of each node level. For any duplicate found, I will also store the level at which it was found. After traversing, I will compare the levels of duplicates found and return the duplicate at the lowest minimum depth (which is closest to the root).

Hope that helps clarify. Let me know your thoughts.
Thanks,
Mehul

Great, thank you @tianyi21


Kj/wir 21 make add in work for outlook mobile

PR Submission Checklist for internal contributors

The PR Title

[ ] conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
[ ] contains a reference JIRA issue number like SQPIT-764
[ ] answers the question: If merged, this PR will: ... ³

The PR Description

[ ] is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?
Issues
The Wire outlook add-in failed on mobile
Causes (Optional)
The Wire Outlook add-in failed on mobile because the minimum version requirement for organizer.getAsync is 1.7, but iOS/Android only support up to 1.5.
Solutions
Distinguish between the platforms and get the name of the organizer through the mailbox.userProfile.displayName on mobile devices.
Testing
How to Test
Open the Outlook Add-in on a PC, Android, and iOS device, and check if the meeting link is parsed into the location field and the invitation message is parsed into the appointment body.
PR Post Merge Checklist for internal contributors

[ ] If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References

https://sparkbox.com/foundry/semantic_commit_messages
https://github.com/wireapp/.github#usage
E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.kevin.jaroschewski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@LennardZieglerCONPORT I tested it on android and build a workaround. Now it works finally on all platforms.


Distinction between internal and public constants

Moved LiveConstants to public scope
Added LiveInternalConstants to internal scope
Removed overrideLoginServer:apiServer: from LiveAuthHelper because it was unused
Updated LIVE_SDK_VERSION to 5.6.2

Attempt to fix #67

Hi, thanks for this request too! It looks like there is a merge conflict from some recent changes, can you rebase?


zimbra 10.1 & ubuntu 22.04

can you support
zimbra 10.1 & ubuntu 22.04

I will take a look at integrating it shortly yes.

thx

We can leave the issue open, I'll update once I've integrated support and at that point we can close it :)

I'm checking the build process now to see if I can get a 10.1.0 Zimbra build made.  If all goes well it should be up on my site later, as well as appropriate commits being made to this repo where required.

See discussion for more details, but support for Ubuntu 22.04 and version 10.1.0 should be OK: https://github.com/ianw1974/zimbra-build-scripts/discussions/94


electron_31: fix build after llvm bump

Fixes #368172
This fixes the following build errors:
[2607/50420] CXX obj/third_party/perfetto/src/tracing/client_api_without_backends/track_event_legacy.o FAILED: obj/third_party/perfetto/src/tracing/client_api_without_backends/track_event_legacy.o clang++ -MD -MF [...]
In file included from ../../third_party/perfetto/src/tracing/track_event_legacy.cc:17: In file included from ../../third_party/perfetto/include/perfetto/tracing/track_event_legacy.h:26: In file included from ../../third_party/perfetto/include/perfetto/tracing/track_event.h:20: ../../third_party/perfetto/include/perfetto/tracing/internal/track_event_data_source.h:331:20: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  331 |     Base::template Trace([](typename Base::TraceContext ctx) { ctx.Flush(); });
      |                    ^
[...]
6 errors generated.

and
FAILED: obj/electron/electron_lib/keyboard_util.o
clang++ -MD -MF [...]
../../electron/shell/common/keyboard_util.cc:19:30: error: constexpr function never produces a constant expression [-Winvalid-constexpr]
   19 | constexpr CodeAndShiftedChar KeyboardCodeFromKeyIdentifier(
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../electron/shell/common/keyboard_util.cc:111:33: note: non-constexpr function 'find' cannot be used in a constant expression
  111 |   if (auto* const iter = Lookup.find(str); iter != Lookup.end())
      |                                 ^
../../base/containers/flat_tree.h:310:18: note: declared here
  310 |   const_iterator find(const Key& key) const;
      |                  ^
1 error generated.

This is happening since staging has been merged into master, which included both a rustc and llvm bump.
Note that we inherit the llvm that rustc exposes.
This is not happening on release-24.11.
Will probably go to bed now and check the then hopefully successful build result tomorrow.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.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.

@K900 looked into this when I was asleep and noticed another build error at the very end
[50281/50420] CXX obj/electron/electron_lib/keyboard_util.o

and fixed that as well :)
Thanks!

Built locally on this exact commit.

bit late, but for the sake of completeness:
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368966

x86_64-linux

:white_check_mark: 7 packages built:

electron_31
feishin
heroic
heroic-unwrapped
pocket-casts
webcord-vencord
zap-chip-gui


performance page says to use --trace-ic but node says bad option

On this page:
https://github.com/microsoft/TypeScript/wiki/Performance#performance-tracing
It says to do this:
node --trace-ic ./node_modules/typescript/lib/tsc.js --generateCpuProfile profile.cpuprofile -p tsconfig.json

but in node v18 I get:
C:\Program Files\nodejs\node.exe: bad option: --trace-ic

This is the wrong repo for this issue; that's the wiki of the main TypeScript repo.

Sorry :/ I will move this to the main repo.

I was about to do it for you, sorry! (Got distracted)

done it now: https://github.com/microsoft/TypeScript/issues/57016


[Question]: Thanks for open-source! Is RAPTOR available?

Describe your problem
谢谢你们的开源，请问raptor可以用了吗？

Do you mean this?

Do you mean this?
"Yes, this is the Raptor I was referring to. However, I would like to inquire if, in your version 0.8.0(rag/raptor.py:call), it seems that after enabling Raptor, an index tree was not constructed; only a few summaries were generated and indexed into Elasticsearch. Are there any additional implementations elsewhere?"


Update IterateModel to Predict in Sentiment Analysis

Update 'IterateModel' to 'Predict' in Sentiment Analysis

Thanks, @rpetrusha !!!


Mark "your recent visit" on conversation lists when sorted by last updated

Description
It would be nice if once you have visited an issue/pull request, whenever a new message is sent it un-dims or shows a little marker.
Screenshot
No response
Example URL
https://github.com/rust-lang/rust/pulls

Link dimming is a native browser behavior, plus we can't know when a new message is received unless we fetch and store every single issue you visit.
Notifications already offer this feature though, the item will have a blue bar when a notification was received.

A marker would be better.
When we implemented the "sort by last update" feature we mentioned the possibility of keeping track of "what's changed since your last visit in the list views. I think this would be more efficient, it would consider any changes across the repo and it would be a single stored date per repo, maybe.
I'm hesitant to add many more cache items however; our cache still does not automatically clear when full and it silently breaks the options page at that point.

A marker would be better.

Would you mind making a mockup?

Something like this?

I maybe wrong but this is essentially https://github.com/refined-github/refined-github/pull/5258#issuecomment-1003744491.

expired


moveMouse refactor to use sendInput on Windows (#26)

Hi,
This PR should nicely refactor the moveMouse method
Ref: https://github.com/nut-tree/libnut/issues/26
I believe everything here is inline with the Microsoft documentation and guidelines here
https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-mouseinput
There might still be some flags worth exploring and dwExtraInfo but I am not too sure
Not sure if you want the helper methods for converting the points to absolute coords to live within mouse.c

By the looks of it, it failed because it's worried about some type coercion and loss of data through the casting. I'll need to probably read up a bit as I really don't know C++ very well


Error code: Wsl/Service/CreateInstance/0xd0000034

Version
Microsoft Windows [Version 10.0.19045.2728]
WSL Version

[ ] WSL2
[x] WSL1
v <IP_ADDRESS>

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu
Other Software
No response
Repro Steps
wsl -d Ubuntu
Or
Start the Ubuntu Terminal application
Expected Behavior
Ubuntu terminal open and presents running terminal
Actual Behavior
Error: 0xd0000034
Error code: Wsl/Service/CreateInstance/0xd0000034
Error: 0xd0000034
Error code: Wsl/Service/CreateInstance/0xd0000034
Error: 0xd0000034
Error code: Wsl/Service/CreateInstance/0xd0000034
Press any key to continue...
Diagnostic Logs
No response

Check if you have any firewall or other type of safeguard software in your pc a similar issue was solved with that
https://github.com/microsoft/WSL/issues/9378

Check if you have any firewall or other type of safeguard software in your pc a similar issue was solved with that. Also any reason in particular you are using wsl1? Wsl2 is latest supported version.
#9378

Turned off windows defender to no avail. No particular reason I'm using WSL1 other than when I installed Terminal and Canonical Group's Ubuntu back in January, that's what was installed. Things worked fine the last time I used it in February

Reset the WSL configuration by running the command wsl --unregister  to remove the distribution that is causing the problem, and then running the command wsl --install to reinstall the distribution.
Maybe it may have been corrupted or interrupted when you were doing the install.  Since it was working before.  Another thing Iike to do is to make sure I am installing wsl 2 and the specific distribution of Linux I want to use.  I hope these commands help.
https://learn.microsoft.com/en-us/windows/wsl/install#move-your-linux-distros-to-another-drive

Reset the WSL configuration by running the command wsl --unregister to remove the distribution that is causing the problem, and then running the command wsl --install to reinstall the distribution.
Maybe it may have been corrupted or interrupted when you were doing the install. Since it was working before. Another thing Iike to do is to make sure I am installing wsl 2 and the specific distribution of Linux I want to use. I hope these commands help.
https://learn.microsoft.com/en-us/windows/wsl/install

Hmm. I successfully unregistered Ubuntu but...
Running
wsl --install Ubuntu
results in
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80071772
Error: 0x80071772 The specified file is encrypted and the user does not have the ability to decrypt it.

Press any key to continue...

It looks like you have encountered several errors while trying to unregister, update, and install Ubuntu using WSL. Here are some suggestions to try:
The first error you encountered while trying to unregister Ubuntu suggests that there is no distribution with the supplied name. Double-check the name of the distribution you are trying to unregister by running wsl --list --verbose and make sure you are using the correct name.
The second error you encountered while trying to install Ubuntu suggests that the specified file is encrypted and the user does not have the ability to decrypt it. Check if the directory or file where Ubuntu is installed is encrypted, and if so, try decrypting it first before attempting to install or launch Ubuntu.
Try running wsl --shutdown to fully shut down WSL and all distributions, and then try running wsl --install Ubuntu again.
If none of the above solutions work, try resetting WSL by running wsl --unregister followed by wsl --install. Note that this will delete all WSL distributions and data, so make sure to back up any important data before doing this.
If you continue to encounter errors, you can try reinstalling or updating WSL by following the instructions on the Microsoft documentation: https://docs.microsoft.com/en-us/windows/wsl/install-win10

/logs

Sorry for abandoning the thread. I was away from the system over the weekend, and it looks like it had a couple reboots. There was no issue unregistering and reinstalling the Ubuntu distro.

Sorry for abandoning the thread. I was away from the system over the weekend, and it looks like it had a couple reboots. There was no issue unregistering and reinstalling the Ubuntu distro.

Glad to hear the issue was resolved!


Co-Compiling models

Hi!,
There is a way to get the models for co-compiling?
I try https://coral.ai/docs/edgetpu/compiler/#co-compiling-multiple-models, but the models are already compiled for Edge TPU

@cpena you can pass the models which are not compiled to get new version of edgeptu compiled models.


Cyanine: Toggle public navigation

https://gist.github.com/TheTratz/f8b0a7388d518158b5c6a5ddb8fe4ec5

published with version 1.3.8 today


[Crust Parachain] Add Crust Parachain

@mmyyrroonn Why did you add only the Polkadot version of Crust parachain?

@mmyyrroonn Why did you add only the Polkadot version of Crust parachain?

good question. Add them both. 😄

@mmyyrroonn  Thank for PR!


Make it easy to see which plugins are included in a snapshot (3.0/main/2.x) distribution.

Is your feature request related to a problem? Please describe
Coming from https://github.com/opensearch-project/opensearch-api-specification/pull/639 a developer is trying to bump the snapshot build for 3.0 and 2.18 to a newer one. Then tests fail because that newer build does not have the SQL or the ISM plugin.
Describe the solution you'd like
A way to easily find the next "complete" distribution of OpenSearch 3.0 / 2.x / 2.18 / etc., or at least a way to see which plugins are included in any given docker image. I think as a consumer of any docker staging build I'd like to know:

What are the plugins that built successfully and were included in the build.
What are the plugins in the situation described in https://github.com/opensearch-project/opensearch-build/issues/5091, aka didn't build but a previous version was included.
Overall, is this a complete build without failures, meaning a potential beta/demo/release candidate.

Describe alternatives you've considered
Randomly pick new docker staging SHAs and keep retrying.
Additional context
https://github.com/opensearch-project/opensearch-build/issues/5091

Today, we include the manifest.yml file in the bundle. For example, with Docker, you can run:
docker run -it --entrypoint bash opensearchstaging/opensearch:2.18.0@sha256:f311da085b968663fadf041bafc78b24dc21556f0726e625caf3560f7323a020 -c "cat /usr/share/opensearch/manifest.yml"

This command will provide all the information about the plugins (along with the specific commits used) that are part of the bundle. We can extend this to include an entry in the YAML file that indicates whether the build was complete and error-free, signaling a potential beta, demo, or release candidate.
Additionally, we could implement logic to include both the head_commit along with the exiting commit_id for each plugin, enabling us to track whether the previous version was included.
Another approach is to use the metrics cluster to store more detailed information for every OpenSearch core snapshot—such as the commit used, plugin details, plugin commit IDs, the head commit of each plugin, and whether any plugin build failed (using an older revision as a result). In this scenario, users could access a dashboard for a more detailed analysis. But the expectation here for the user is to go and see the dashboard.
Adding @getsaurabh02 @peterzhuamazon @gaiksaya

Is it possible to annotate/include text somewhere on dockerhub for these (a description)?
If not, a build dashboard would be very nice!


NPM install error

While typing the command (npm install) in the terminal, I got the following error.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/use-dark-mode
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.```

➜  exp git clone git@github.com:transitive-bullshit/nextjs-notion-starter-kit.git
Cloning into 'nextjs-notion-starter-kit'...
remote: Enumerating objects: 1310, done.
remote: Total 1310 (delta 0), reused 0 (delta 0), pack-reused 1310
Receiving objects: 100% (1310/1310), 1013.12 KiB | 2.00 MiB/s, done.
Resolving deltas: 100% (879/879), done.
➜  exp cd nextjs-notion-starter-kit
➜  nextjs-notion-starter-kit git:(main) npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/use-dark-mode
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/hhimanshu/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/hhimanshu/.npm/_logs/2021-07-22T22_50_47_555Z-debug.log
➜  nextjs-notion-starter-kit git:(main)

I see the same issue, is this project not usable?

You might want to update the dependency to get this sorted,
I've updated it like following to get it work
"react": "^16.8.0",
"react-dom": "^16.8.0",
"eslint-config-standard": "^16.0.3",

Had the same issue.
npm install --force fixes this as the text also suggests.

Using npm -g install<EMAIL_ADDRESS>as suggested fixed the problem.

This should be fixed with the latest major release.


USB connector

The PCB for the usb female, what is the USB type with 8 pins.

Is it USB 3.1 ?

@marriusco  Yes it is 3.1 and i believe this mach the footprint.
https://www.snapeda.com/parts/TYPE-C-31-M-12/HRO Electronics Co., Ltd./view-part/


This does not work on PBI Desktop Version: 2.62.5222.761 32-bit (September 2018)

Unfortunately copy and pasting to PowerPoint, Word or any other Microsoft Office products is not working.
There should be some way to do that as we can copy Excel visualizations to PowerPoint or any other Office product.
Happy to reproduce the issue and present that this is not working in PBI Desktop.

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

ID: 00479245-9654-ad47-b2d5-12f1e36ccdc9
Version Independent ID: b46f2147-f0e8-cad0-7240-28b7231ae70d
Content: Copy and paste a visualization in Power BI - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-copy-paste.md
Service: powerbi
GitHub Login: @mihart
Microsoft Alias: mihart

Hi, @tolga-balci -- Sorry to hear it! It sounds like a support request rather than documentation feedback. You might find a solution in the Power BI Community, found at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com.


RuntimeError: CUDA error: an illegal memory access was encountered

Hey, I am using pctv2 for training a custom segmentation dataset and, after a few epochs of stable training, I am reaching a point where I get a CUDA illegal memory access error. Was wondering if you would have some intuition as to why this happens?
The error comes from the pointops.grouping method call.
Trache
File ".conda/envs/pointcept/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "models/point_transformer_v2m2_base.py", line 559, in forward
points = self.dec_stages[i](points, skip_points, cluster)
File "/.conda/envs/pointcept/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "models/point_transformer_v2m2_base.py", line 397, in forward
return self.blocks(points)
File ".conda/envs/pointcept/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "models/point_transformer_v2m2_base.py", line 230, in forward
points = block(points, reference_index)
File ".conda/envs/pointcept/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "models/point_transformer_v2m2_base.py", line 174, in forward
self.attn(feat, coord, reference_index)
File ".conda/envs/pointcept/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "models/point_transformer_v2m2_base.py", line 117, in forward
value = pointops.grouping(reference_index, value, coord.contiguous(), with_xyz=False)
File ".conda/envs/pointcept/lib/python3.8/site-packages/pointops-1.0-py3.8-linux-x86_64.egg/pointops/grouping.py", line 47, in grouping
grouped_feat = feat[idx.view(-1).long(), :].view(m, nsample, c)  # (m, num_sample, c)
(Triggered internally at  /opt/conda/conda-bld/pytorch_1659484810403/work/torch/csrc/autograd/python_anomaly_mode.cpp:102.)
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
34%|██████████████▏                          | 218/632 [02:57<05:37,  1.22it/s]
Traceback (most recent call last):
File "main.py", line 15, in
Trainer.train()
File "train.py", line 76, in train
scaler.scale(loss).backward()
File ".conda/envs/pointcept/lib/python3.8/site-packages/torch/_tensor.py", line 396, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File ".conda/envs/pointcept/lib/python3.8/site-packages/torch/autograd/init.py", line 173, in backward
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: CUDA error: an illegal memory access was encountered

Hi, I have not encountered a similar issue. Could you locate the point cloud that led to the error and share the point cloud with me? I need to reproduce this error before finding the reason.

I also see this error especially when using cuda-11.6. This pytorch issue is related I think but doesn't help fix the issue: https://discuss.pytorch.org/t/illegal-memory-access-in-backward-after-first-training-epoch/920/8. Also, this issue is not due to a specific pointcloud as far as I understand.

Maybe the grouping sample ratio or number too larger for the memory?

I am running into the same problem. @joao-alemao did you find a solution for this?

I am running into the same problem. @joao-alemao did you find a solution for this?

Sadly no

This is an extremely rare issue and is usually caused by different reasons. It may caused by local code env, data issues, or some parameter tuning. So my suggestion is to reverse to one version without the issue, then carefully ablate the issue.
If you already know it might be a data issue. Locate the data and print the data shape from each layer of the model.

I finally found the error in my code!
It seems like pointops works by default with cuda:0, which caused that I had some tensors on this gpu, while others were on the one that I defined. Setting CUDA_VISIBLE_DEVICES should help to solve this.

I finally found the error in my code! It seems like pointops works by default with cuda:0, which caused that I had some tensors on this gpu, while others were on the one that I defined. Setting CUDA_VISIBLE_DEVICES should help to solve this.

Great

I finally found the error in my code! It seems like pointops works by default with cuda:0, which caused that I had some tensors on this gpu, while others were on the one that I defined. Setting CUDA_VISIBLE_DEVICES should help to solve this.

Hello, @LSnyd. Sorry to bother you.
I also encountered this problem, but I am a little confused about your answer. I only have one GPU, so I entered export CUDA_LAUNCH_BLOCKING=1 in the terminal and started training the Swin3D model. However, the error still exists. I would like to ask you how you solved this problem specifically?

Hi @jdjiang312, I only had GPU 3 for instance available, so I set CUDA_VISIBLE_DEVICES="3" in my terminal beforehand.

Hi @jdjiang312, I only had GPU 3 for instance available, so I set CUDA_VISIBLE_DEVICES="3" in my terminal beforehand.

Thank you so much for your prompt and kind reply, but the problem still exists. I will try some more. Thank you.

I had the same issue, and I fixed it by ensuring all the variables were on the same device.


Support CloudFront signed cookies

The AmazonCloudFrontUrlSigner method is very helpful in creating signed CloudFront urls and should really be mentioned in the relevant AWS docs.  Please add support for similar functionality for the new CloudFront Signed Cookies.
Most of the needed functionality already exists in the AmazonCloudFrontUrlSigner class. It just needs to be exposed in a way that makes this easier.  Currently we use BuildPolicyForSignedUrl and SignUrlCanned and then break apart the Url to get the various pieces for the cookies.

I agree this does sound useful. I have added the feature request to our backlog.

Hi, the AmazonCloudFrontCookieSigner utility class was added to the latest version of the SDK (2.3.36) to support generation of signed cookies. Thanks for the feedback!

Unable to locate CloudfrontCookieSigner from the above mentioned URL . github 404 . could you share the a working location f the same . thanks

Looks like master now has the modular sdk code. The equivalent appears to be here https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/CloudFront/Custom/_bcl/AmazonCloudFrontCookieSigner.cs

Also the V2 code can be found on the aws-sdk-net-v2 branch
https://github.com/aws/aws-sdk-net/tree/aws-sdk-net-v2

I have tried out the given code but I'm getting "nvalid RSA Private Key" by using this method.
AmazonCloudFrontCookieSigner.GetCookiesForCannedPolicy()


GH-136: Update to SI 4.2.4.RELEASE

Resolves #136

I'll take care of this as well.

Thanks; also see https://github.com/spring-cloud/spring-cloud-stream/pull/239


Implement Navigation Bar With Icons

Description
Implemented a responsive navigation bar including icons. So that small devices can visible the drawer. By using navigation bar users can navigate to other pages.
Changes proposed in the pull request

Implemented navigation bar with icons
Implemented drawer for small devices
Added story for navigation bar

Screenshots:
In storybook,

Types of changes

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests have passed and it does not give any unexpected error for the same.

Steps to test

clone repo & cd Webiu
npm i
npm run storybook or (npx http-server ./storybook-static)

Resolves #223

@charithccmc , @dinithminura can you review this PR please?


[#3399] Add HTTP status code

#3399
#2654
#2919

Codecov Report

Merging #3400 into master will decrease coverage by <.01%.
The diff coverage is 45.37%.

@@            Coverage Diff             @@
##           master    #3400      +/-   ##
==========================================
- Coverage   40.14%   40.13%   -0.01%
==========================================
  Files        2138     2139       +1
  Lines       69830    69928      +98
  Branches     9682     9698      +16
==========================================
+ Hits        28031    28065      +34
- Misses      39084    39143      +59
- Partials     2715     2720       +5

Impacted Files
Coverage Δ

.../com/navercorp/pinpoint/profiler/context/Span.java
50% <0%> (-1.79%)
:arrow_down:

...m/navercorp/pinpoint/plugin/vertx/VertxPlugin.java
0% <0%> (ø)
:arrow_up:

...interceptor/HttpServerResponseImplInterceptor.java
0% <0%> (ø)
:arrow_up:

...profiler/context/recorder/DefaultSpanRecorder.java
33.33% <0%> (-1.1%)
:arrow_down:

...nt/profiler/context/recorder/AbstractRecorder.java
35% <100%> (+4.64%)
:arrow_up:

...ler/context/recorder/WrappedSpanEventRecorder.java
23.4% <100%> (+1.66%)
:arrow_up:

...navercorp/pinpoint/profiler/context/SpanEvent.java
61.53% <100%> (-3.58%)
:arrow_down:

.../bootstrap/plugin/http/HttpStatusCodeRecorder.java
43.47% <43.47%> (ø)

...rp/pinpoint/profiler/context/id/DefaultShared.java
60% <50%> (-1.54%)
:arrow_down:

...nterceptor/StandardHostValveInvokeInterceptor.java
59.79% <55.55%> (-0.21%)
:arrow_down:

... and 12 more

Continue to review full report at Codecov.

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


New format of daily schedule

It took a little time to figure it out completely. I commented out parts of the code with “maybe outage”. I tested it for several days, it works.

Hi @Maxim-Inv, how can I run this change on my HA to test it?

Hi @Maxim-Inv, how can I run this change on my HA to test it?

Remove the integration and this repo from custom repositories. Then add my repo and add integration again.

Deleted due to non-compliance with maintainer requirements


How to set offset and limit in query for app record?

Hello,
I wonder how to set offset and limit for retrieving app records. It's nice to have ability which can specify a limit over 500, (kintone default limit), like limit 2000.  The library takes care of fetching data up to the limit even if the limit exceeds 500.
I used getAllRecordsByQuery to fetch data. That function eventually calls fetchRecords and limit and offset is added inside fetchRecords. Therefore, the query is failed if limit or offset is used in the query. In our case, the cursor is not fit due to the limitation: one domain can hold only ten cursors.
https://github.com/kintone/kintone-java-sdk/blob/master/src/main/java/com/cybozu/kintone/client/module/record/Record.java#L181

I close this due to the specification change of offset. Our use case has needs cursor anyway.


Evaluate Proc namespaces every time (not just at initialization)

When creating a dalli client with a Proc for the namespace option, it
would generally mean that the namespace may change from operation to
operation. Saving the result of calling the proc in the KeyManager
instance at initialisation time means that the client will always use
the value of the namespace as it was when the client was created. If
this was the desired behaviour, it would be just as easy to pass that
value as a string instead of a Proc.
Given test/test_key_manager.rb:69 is passing a namespace_as_symbol instead of namespace_as_proc, I'm assuming this is an unintended regression from when this logic was pulled out into KeyManager

@nrw505 This all looks correct.  Thanks for catching the issue and contributing a fix.  Merging.


ELBv2 - Add missing header

Fixes #5555

Codecov Report

Merging #5568 (96dbb78) into master (8e9f12b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5568   +/-   ##
=======================================
  Coverage   96.14%   96.14%
=======================================
  Files         742      742
  Lines       72622    72622
=======================================
  Hits        69822    69822
  Misses       2800     2800

Flag
Coverage Δ

servertests
37.00% <ø> (ø)

unittests
96.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/elbv2/models.py
92.54% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update Pages “about”

Automatically generated by Netlify CMS

👷 Deploy Preview for timely-zuccutto-affc7e processing.

Name
Link

🔨 Latest commit
eb0d170c27ee340e9410ad6afb589f5916b583c7

🔍 Latest deploy log
https://app.netlify.com/sites/timely-zuccutto-affc7e/deploys/62e96081bde5b900097b9cdc


Allow IP ranges as whitelist filter?

Hi @flawyte!
Would you be willing to accept a PR that adds the ability to whitelist IP addresses from basic auth? We use basic auth on development/staging servers quite often and use IP whitelists to grant access to anyone working from our office.
A while ago I wrote a blogpost about how one could approach that with a custom hooks in Next.js servers. I assume it's would be trivial for me to add it to this package.

Just realized, I think you could pass the request object in the validator function as a third argument, and that would allow everyone to write custom, flexible validators. That would mean no further changes on your side except the argument is needed.
That could look something like this:
const app = protect(
  "/",
  (user, pass, req) => {
    const allowedIps = ["x.x.x.x", "x.x.x.x"];
    var ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress;
    if (user === "admin" && pass === "admin") return true;
    if (!allowedIps.includes(ip)) return true;
    return false;
  },
  {
    directory: __dirname + "/_static",
  },
);

module.exports = app;


Adding Support for Sprites

Does this support downloading images and replacing them in sprites?
I checked with the sprite renderer, it does apply to the material but not as a sprite

Does this support downloading images and replacing them in sprites?
I checked with the sprite renderer, it does apply to the material but not as a sprite

Added Sprite Loading support, Will load the sprite in its original size without fitting to a scale

#26 has been merged.


Separate parsing of callable/non-callable constraint signatures

Breaks out parsing to DotNetObject class and child class regexes. Addresses some
of the issues with backtick notation and method signatures. Fixes #2, fixes #5.

:+1:


socketcan - added loopback and kernel time-stamping

Hello Pavel,
As discussed, here are the changes. There are a few TODO (questions) left for you. Thus far, this seems to work well.
While I was as it, I've also ported the kernel timestamping code from uavcan to this driver, to resolve the pre-existing todo and anticipate the timing requirements for my application.
As per usual, all comments welcome.
Best regards,
Tom

Hello Pavel,
I've updated the tests as you asked, and added a new one. There is a question there as well.
Other than that, I've made all the changes as I understand them.
Best regards,
Tom


iphone 6 OS- 11.2.5 camera is not supporting.

Hi wysaid,
I am facing the issue, if i run the code with iphone 6 - OS- 11.2.5 then Camera is not supporting, after 3 second camera used to stuck, but if i choose any other device with same OS it is working fine. out of 3 iphone 6 , 2 iphone not supporting, other all the device is working. please help me out this issue.

Hi, did this happen on your app or the builtin demo?
If it's happening in the demo, please show me the log.

Hi wysaid,
Thanks for response. as off now it is not reproducible , if again got then i will send with the log.
thanks


Error message: fuse-archive: duplicate pathname in

I use Debian 12 with Bspwm tiling windows manager. I installed fuse-archive, and try mount my archive, but I get error message:
fuse-archive: duplicate pathname in /home/Data/Linux/Backup/valami.tar.zst: /.gtkrc-2.0
This archive contains full of home directory.
When I use archivemount for mounting archive, then works normally.

Thanks for the report.
Please try fuse-archive version 1.0, which I recently released. I think it will fix your issue. Let me know how it is going.

Thanks for the confirmation.
Going back to the root of the issue, it looks like your archive contains a duplicated entry. Older versions of fuse-archive simply rejected archives with duplicated entries, but the newest version 1.0 now gracefully deduplicates the colliding entries by adding a number to their filename, which might or might not be what you expect.
You can confirm this is happening by looking at the verbose logs. Example:
fuse-archive --verbose /home/Data/Linux/Backup/valami.tar.zst mnt |& grep conflict

Now, I'm curious to understand how you ended up with an archive containing a duplicated entry. Were you aware there was a duplicated entry in your archive? Was it done on purpose, or was it an accident? If it was on purpose, what do you expect to see in the mounted archive?

Thanks for the confirmation.
Going back to the root of the issue, it looks like your archive contains a duplicated entry. Older versions of fuse-archive simply rejected archives with duplicated entries, but the newest version 1.0 now gracefully deduplicates the colliding entries by adding a number to their filename, which might or might not be what you expect.
You can confirm this is happening by looking at the verbose logs. Example:
fuse-archive --verbose /home/Data/Linux/Backup/valami.tar.zst mnt |& grep conflict
Now, I'm curious to understand how you ended up with an archive containing a duplicated entry. Were you aware there was a duplicated entry in your archive? Was it done on purpose, or was it an accident? If it was on purpose, what do you expect to see in the mounted archive?

It is very intresting. When I run with verbose options, I get the following rows:
fuse-archive: File [7,962] '/.gtkrc-2.0' conflicts with File [7,962] '/.gtkrc-2.0'
fuse-archive: Resolved conflict for File [7,962] '/.gtkrc-2 (1).0'
fuse-archive: Resolved Hardlink '/.gtkrc-2 (1).0' -> File [7,962] '/.gtkrc-2.0'

But when I exctract this archive, I get only one .gtkrc-2.0 file not two.

That's odd. I am not expecting a file entry to conflict with itself. I would like to understand what is really happening here.
When you look at the mounted archive, does the file named .gtkrc-2.0 have the expected contents and attributes? Can you also see a file named .gtkrc-2 (1).0? Does it have the same attributes and contents as .gtkrc-2.0?
When you list the contents of your archive with tar tvf, how many entries do you see for .gtkrc-2.0?
tar tvf /home/Data/Linux/Backup/valami.tar.zst | grep gtkrc

Can you please build and try fuse-archive at commit ad4ae3ed685496ba897ca4a373a777212e6a7152? I believe this should silently fix your issue without introducing any redundant file entries. Let me know how it is going.

When you look at the mounted archive, does the file named .gtkrc-2.0 have the expected contents and attributes?

When fuse-archive mounted to the directory, I see the following:
.rw-r--r--   599 root root  28 May  2023  '.gtkrc-2 (1).0'
.rw-r--r--   599 root root  28 May  2023  .gtkrc-2.0

When I use stat command (seem to be fine):
╭(lf)─   shyciii@DEBIAN  /mnt/share  took 14ms 
╰────$ stat .gtkrc-2.0
  File: .gtkrc-2.0
  Size: 599             Blocks: 2          IO Block: 512    regular file
Device: 0,46    Inode: 7965        Links: 2
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-12-03 10:29:55.000000000 +0100
Modify: 2023-05-28 16:51:45.000000000 +0200
Change: 2024-12-03 10:29:55.000000000 +0100
 Birth: -

╭(lf)─   shyciii@DEBIAN  /mnt/share  took 13ms 
╰────$ stat '.gtkrc-2 (1).0'
  File: .gtkrc-2 (1).0
  Size: 599             Blocks: 2          IO Block: 512    regular file
Device: 0,46    Inode: 7965        Links: 2
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-12-03 10:29:55.000000000 +0100
Modify: 2023-05-28 16:51:45.000000000 +0200
Change: 2024-12-03 10:29:55.000000000 +0100
 Birth: -

When I use tar tvf /home/Data/Linux/Backup/valami.tar.zst | grep gtkrc ,then I get this strange:
-rw-r--r-- shyciii/users        599 2023-05-28 16:51 .gtkrc-2.0
hrw-r--r-- shyciii/users          0 2023-05-28 16:51 .gtkrc-2.0 link to .gtkrc-2.0

Can you please build and try fuse-archive at commit ad4ae3e? I believe this should silently fix your issue without introducing any redundant file entries. Let me know how it is going.

How can I compile it with this commit? Or just git clone again and make install?

Thanks for the verification.

How can I compile it with this commit? Or just git clone again and make install?

Yes, you can just build it with the latest sources.

-rw-r--r-- shyciii/users        599 2023-05-28 16:51 .gtkrc-2.0
hrw-r--r-- shyciii/users          0 2023-05-28 16:51 .gtkrc-2.0 link to .gtkrc-2.0

Here it is. Your archive contains an entry which is a hard link... to itself.
I had never seen that before. Now that I know it can happen, I modified fuse-archive to simply ignore (i.e. skip) these redundant entries. Example:
fuse-archive --verbose /home/Data/Linux/Backup/valami.tar.zst mnt |& grep Skip

You should see the redundant link for /.gtkrc-2.0 getting skipped.
Your archive might also contain other redundant links, depending on how it was created.

Thanks for the verification.

I thank you for your help :)

How can I compile it with this commit? Or just git clone again and make install?

Yes, you can just build it with the latest sources.

I got it. Works fine. No error message, mounted right.

-rw-r--r-- shyciii/users        599 2023-05-28 16:51 .gtkrc-2.0
hrw-r--r-- shyciii/users          0 2023-05-28 16:51 .gtkrc-2.0 link to .gtkrc-2.0

Here it is. Your archive contains an entry which is a hard link... to itself.
I had never seen that before. Now that I know it can happen, I modified fuse-archive to simply ignore (i.e. skip) these redundant entries. Example:
fuse-archive --verbose /home/Data/Linux/Backup/valami.tar.zst mnt |& grep Skip

You should see the redundant link for /.gtkrc-2.0 getting skipped.
Your archive might also contain other redundant links, depending on how it was created.

Me too. That is, it is interesting that it is a backup. There's another version of it 1-2 weeks earlier, and it doesn't have this error. If I rebuild the backup, it doesn't have this error either. So I don't know what could have happened to cause this error in a backup when I use the same command: tar -cavf /home/Data/Linux/Backup/home_backup_debian.tar.zst .config/

All good.

So I don't know what could have happened to cause this error in a backup when I use the same command: tar -cavf /home/Data/Linux/Backup/home_backup_debian.tar.zst .config/

This libarchive bug report describes a way to create such a redundant hard link in a TAR archive.
I released fuse-archive 1.4 with the bug fix for this particular use case, which is to simply detect and skip the redundant hard links.


Dedicated: document  Bearer auth scheme

I confirmed with @wiedld (who has been working on v1 and v2 write for CST) that Bearer is supported.
Originally posted by @gaughen in https://github.com/influxdata/docs-v2/pull/4875#discussion_r1173142609

Done.


Title

I just want to know where the "music" icon placed in your script, one in home title, when playing music and the last one in url.
thank you, you're awesome.

You mean this and this?

Yupp, nice. thank you.


Feature request: Add facial beautification

Hi there
I think it will be really great if you add a facial beautification feature. Skin smoothing and whitening would the first obvious step in that direction. If developed this will be the first of its kind repo in the Flutter ecosystem :)
Cheers!

I want to know what is the relation of this development with the main function of the package!?


[BEAM-8181] Don't require pyarrow on Win32 installations.

R: @ihji or @aaltay

Created https://issues.apache.org/jira/browse/BEAM-8188 for cleanup of pyarrow imports.

cc: @udim @ostrokach


Image uploader gets stuck at 60% and when refreshed, the image has not uploaded

Not able to upload an image; regardless of how many I try to add, it gets stuck at 60% and if I refresh the page there are no new images present.

Fixed


why is libuv written by c++?

Version: all
Platform: all
can i be rewritten by c++? nodejs source code mostly use c++ so that we can unify source code language.

I think it's written in plain C for maximum portability. Node.js is also not the only consumer to consider.

i think portability is not so important. c++ also have very large portability, and microsoft widely support c++, not c.


BUG: should be dumps = partial(config.dumps, is_json=is_json)

https://github.com/dyollb/segmantic/blob/318931c677204bb4b9f11ec4d48f6b15c4298078/src/segmantic/seg/monai_unet.py#L753
Same for https://github.com/dyollb/segmantic/blob/318931c677204bb4b9f11ec4d48f6b15c4298078/src/segmantic/seg/monai_unet.py#L754

is implemented in new pull request.


Added random_eps parameter

Signed-off-by: Henry Eigen<EMAIL_ADDRESS>Description
Added random epsilon parameter for use in adversarial training. When true, the attack selects epsilon randomly from a truncated normal distribution as suggested by Alexey Kurakin and Ian J. Goodfellow in "Adversarial Machine Learning at Scale" (https://arxiv.org/pdf/1611.01236.pdf). Attempt number two.
Improvement
Please check all relevant options.

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

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
Test Configuration:

Python 3.6.8
Keras 2.2.4

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Hi @henry-eigen Thank you very much for using ART and your pull request!


Display gradle plugin version numbers

The build.gradle file starts with a set of plugins to use, and those plugins include version numbers. It would be very useful to be able to display badges that contained the version numbers.
For example, my build.gradle files has this at the beginning:
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2023.4.2"
id 'com.diffplug.spotless' version '6.12.0'
id "com.github.spotbugs" version "5.0.13"
id "org.sonarqube" version "<IP_ADDRESS>30"
}
A badge that could specify a source code site like github or gitlab to denote a particular repo/branch/ref etc, then a string to specify which plugin, and then the badge itself would display the plugin name followed by the version.

There are a few other open requests related to showing some data from gradle build files e.g:

https://github.com/badges/shields/issues/2156
https://github.com/badges/shields/issues/4297

If anyone wants to pick any of these up, step one is to find a javascript implementation of a gradle file format parser.


issue with negates pattern

**I'm submitting a ... **

[x] bug report
[ ] feature request
[ ] support request

What is the current behavior?
Based on gitignore specification it is not possible to re-include a file if a parent directory of that file is excluded.
https://git-scm.com/docs/gitignore#_pattern_format
I try to exclude specific directory based on example

Example to exclude everything except a specific directory foo/bar (note the /* - without the slash, the wildcard would also exclude everything within foo/bar):
 $ cat .gitignore
    # exclude everything except directory foo/bar
    /*
    !/foo
    /foo/*
    !/foo/bar

**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

import igittigitt
"""
Based on https://git-scm.com/docs/gitignore#_examples
Example to exclude everything except a specific directory foo/bar
(note the /* - without the slash, the wildcard would also exclude everything within foo/bar):
 $ cat .gitignore
    # exclude everything except directory foo/bar
    /*
    !/foo
    /foo/*
    !/foo/bar
"""

gitignore = igittigitt.IgnoreParser()
base_path = "/example/"
gitignore.add_rule("/*", base_path)
gitignore.add_rule("!/foo", base_path)
gitignore.add_rule("/foo/*", base_path)
gitignore.add_rule("!/foo/bar", base_path)
assert gitignore.match(base_path + "foo/bar/file.txt") == False
assert gitignore.match(base_path + "foo/other/tile.txt") == True #failed on current version

What is the expected behavior?
Based above example gitignore.match(base_path + "foo/other/tile.txt") should return True

Please tell us about your environment:

Release Number of the Repository used :  2.0.4
Python Version : 3.8.6
OS, OS Version : MacOS

I guess that problem here https://github.com/bitranox/igittigitt/blob/master/igittigitt/igittigitt.py#L311 The value  returned based  first matched rule and other rules don't take into consideration
Thank you for the answer and future fix.

unfortunately You are absolutely right - and this is not the only problem.
basically the handling of multiple ignore files, precedence levels and so on, is just very wrong in igittigitt.
It is not that difficult to fix, but many parts needs to be plumbed together in a different way.
the documentation at https://git-scm.com/docs/gitignore#_pattern_format is not very accurate or complete - luckily I found some better explenation here :
see : struct_walker
I will put a comment in the readme about that issue in the meantime.


vim.treesitter.query.get_node_text() deprecated

try new vim.treesitter.get_node_text, falling back to deprecated vim.treesitter.query.get_node_text

After looking around some more, an alternate fix could be something along the lines of https://github.com/hrsh7th/nvim-cmp/pull/1499/files; I'm happy to adjust if preferred.

thanks


Relocatable Library

Hi, we have a use case where this library is built under one machine (A) and used on another machine (B). Unfortunately, machine A and B have different paths and machine B isn't able to properly load interface libraries since the path under INTERFACE_INCLUDE_DIRECTORIES are absolute path from machine A.
One potential root cause of this is during TARGET_LINK_LIBRARIES or TARGET_INCLUDE_DIRECTORIES we are getting library path from variables such as ${EIGEN3_INCLUDE_DIR} here. While I'm digging into this I'm not able to find the definition of MODERNIZE_TARGET_LINK_LIBRARIES. Wonder if this is an known issue.
Thank you!

Hi,
This library should be easily relocatable.
Could you provide your:

OS
eigen version
cmake version
which absolute paths and where are they in the packages build on (A)

Well, clearly, if you still have TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME}_headers SYSTEM INTERFACE ${EIGEN3_INCLUDE_DIR}) somewhere, this is can't be relocatable. You should update your version.

@Booooooosh COuld check whether https://github.com/stack-of-tasks/pinocchio/pull/1738 fixes your issue?

If I understand correctly, #1737is already fixed by #1718, but @Booooooosh is not up to date.

Not really, as the target exports were containing hard coded path. #1738 Solves this.


Fix the returned location of packages.

A request to http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/ for
package account-plugin-aim_3.8.6-0ubuntu9_amd64.deb should return a file location of
http://in.archive.ubuntu.com/ubuntu/pool/main/e/empathy/account-plugin-aim_3.8.6-0ubuntu9_amd64.deb
The existing file location returned was incorrectly returning:
http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/pool/main/e/empathy/account-plugin-aim_3.8.6-0ubuntu9_amd64.deb
Unit test has been included as well as updating test that pointed at saucy repo (no longer there) to point at trusty.
closes #6

I made a private build of this and deb-repo-query and set it up on a testing go server instance. With a deb package material only, I was able to use these changes with our internal apt-repo instance.
Would love to have a release of this so we don't use my private build on our go infrastructure :)


@@toStringTag in browserWhitelist

This is my intent (choose one)

[x] I want to report a bug
[ ] I want to request a feature or change
[ ] I want to provide or change a feature

The problem
After the upgrade to hops v12, I get following error:
The property "@@toStringTag" does not exist. Did you forget to add it to the browserWhitelist of your Hops config?

I tried adding it to browserWhitelist, but it didn't work.
It seems to be related to prop-types. Internally, the isSymbol function there tries to do following
if (propValue['@@toStringTag'] === 'Symbol') { ... }

which triggers the proxy getter in the warnOnIncompleteBrowserWhitelist, which can't handle that
Proposed solution
Good question. I don't think just adding an exception for this solves the problem, because it is prop-types, specific and it could warn on other setups, still.
We could expose the keys in the hops config and check, if they would be available at all, but this could be a security issue.

@tjwelde Moin. It's not '@@toStringTag', that's missing on the browserWhitelist. That's just what the Proxy thinks is about to be retrieved. Did you — by any chance — set a Map() as a config value in the Hops config?

No, I didn't. I am pretty sure, it is because of facebook/prop-types, which we are using. This line seems to be the culprit: https://github.com/facebook/prop-types/blob/e32c4900f5ab5fd3acea93e9d2f0d09e4a2f2ceb/factoryWithTypeCheckers.js#L533

Could it be that you are using withConfig (or passing the config object through props) and then the config object is being checked by prop-types?
And that then leads to the proxy saying the property might be missing. The proxy is just a helper, to remind you during development to whitelist any properties in the browserWhitelist that you may access from the client build.

Yes, that is exactly what we are doing.

thanks for fixing it


[Feat] : Add beautiful blogs page

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
@thestarsahil
we can add beautiful blogs page
when user click on blogs from footer
they will redirected to /blogs route

Thank you @thestarsahil


Implement unit test to verify time of next block

generate_empty_blocks queries the implementation for the time of the next block.  The time of each block (including maintenance intervals) should be verified by some test (perhaps added to generate_empty_blocks, perhaps a new test case).

On further consideration, this should actually be a separate test which sets the parameters and then makes sure the sequence of block times matches a hard-coded test vector.  It should also have some cases involving changing parameters in the middle and missing blocks.

This issue was moved to bitshares/bitshares-core#58


fixing random

when you typed DBH!staff code random 3
It would say Redeem this with DBH!server redeem random

Just fixes this bug