patch site object in cms has siteobject with defaultProjection in response

Describe the bug
The site object is usually returned in allLanguages Projection.
https://github.com/4Science/dspace-angular/blob/30543a476d00d07311442d76b73d8cf5e75baa56/src/app/core/data/site-data.service.ts#L51
Using the cms metadata component to edit the site object returns some patch(ed) Object with the default projection.
https://github.com/4Science/dspace-angular/blob/30543a476d00d07311442d76b73d8cf5e75baa56/src/app/admin/edit-cms-metadata/edit-cms-metadata.component.ts#L78
To Reproduce
Steps to reproduce the behavior:

define and configure some cms in two languages (e.g. en,de)

Edit both of the entries and save.

You are returned to the dropdown of selected cms metadata.

visit entry again

the entry in the none-main language (=de) should be empty

Administers which might click the save button loose the previously saved data.

Expected behavior
We expect the site object to be returned correctly with all languages or to be reloaded after the change
Related work
Link to any related tickets or PRs here.

fixed with https://github.com/4Science/dspace-angular/commit/31616b5693d61e8f9e85d2111d937e03a29467da / 2023.02.06


FIX Update Bootstrap input-group markup in TextCheckboxGroupField to fix alignment

Requires:

[x] #215 (fixes the tests)
[x] #218 (included as squashed commit here) for bumping minimum core version

Fixes #201

Could you rebase please?

Rebased


npm run build fails

Issue: npm run build fails when attempting to run locally

Problem:
The issue arises within the Dropdown.tsx file when attempting to import selectProps from Material-UI. Following this import, there is an attempt to extend a TypeScript type from an interface, which is not Possible.
Solution:
Converting Props into a TypeScript type should resolve this issue.

yes i have already figures it out
try replacing this code with
`import React, { ReactNode } from 'react';
import { Select, SelectProps } from '@mui/material';
type Props = SelectProps & {
children?: ReactNode;
};
export const Dropdown: React.FC = ({ children, MenuProps, ...rest }) => {
const [anchorEl, setAnchorEl] = React.useState<HTMLElement | null>(null);
const refContainer = React.useRef(null);
React.useEffect(() => {
    if (refContainer.current) {
        setAnchorEl(refContainer.current);
    }
}, []);

return (

        <Select
            {...rest}
            MenuProps={{
                container: anchorEl,
                ...MenuProps,
            }}
        >
            {children}
        </Select>

);

};
`

Issue already fixed within dev branch

shall i close this issue @Sweetdevil144

hello @Prasanth-S7  this is already fixed in the issue #801 which is merged in the dev branch.
please use dev branch one way to do this by using CLI is

I hope this  helps


[refactor](jdbc catalog) split sqlserver jdbc executor

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run p1

run buildall

run buildall


unable to install pbiviz

Hi I'm following this link to set up development environment. @https://learn.microsoft.com/en-us/power-bi/developer/visuals/environment-setup. I've installed node.JS in my environment and if I use:
node -v
I can see the current version is 18.17.1

I use
npm i -g powerbi-visuals-tools@latest
to install pbiviz, here is the PS outcome:

Then I tried to verify if it is correctly installed by using:
pbiviz
here is PS outcome:

I assume this means pbiviz was not properly set up in my environment and did not go on to try next step. I tried restart my laptop and reopen PowerShell it did not work.  Is there any solution to this issue? I wanted to find troubleshooting guide on github page and power bi documentation page but haven't found a similar issue like mine. Thanks!

The issue is resolved. It is because directory containing global npm packages is included in my system's PATH environment variable. After I manually add it to Path it works


Add config option to set the default model tree

This involves setting the tree GET parameter on outbound request URLs. This would be implemented similarly to #686

This should restrict the concepts and fields returned from /api/concepts and /api/fields in addition to being a parameter to contexts, correct? (So that the options in the left hand pane are represented correctly).
Is this get parameter currently available on concepts/fields?  I'm the trying the following, but it's not returning the subset of DataConcepts and DataFields that are traversable by the modeltree named 'volunteer' in settings.py.
http://localhost:8000/ktb/api/concepts/?tree=volunteer

@sgithens There is an issue for Serrano (https://github.com/chop-dbhi/serrano/issues/214) to add support for filtering by tree.

I just posted a PR for the Serrano issue: https://github.com/chop-dbhi/serrano/pull/258

Great!  Will try it out now.

Filtering api/concepts looks good so far from the URL bar. Going to start messing with the cilantro UI.

I'm currently hacking on this here:   https://github.com/sgithens/cilantro/compare/cilantro-742
So far I've just experimented with adding a 'tree' parameter to the config, and slapping it on the end of all the bulk urls that get pulled from _links.  On the surface this actually does quite a bit, by restricting the concepts available in the left pane, and also what columns are available for selection in the results page.
And while this partially implicitily limits what is actually be queried (because you can only select the concepts on the left), I'm assuming we should be putting the 'tree' in the PUT request to api/context/ID to actually properly put the tree in the context?
Does the api/context PUT endpoint support a tree parameter in serrano already?
Also, my other concern is detecting and resetting the context when you hit different cilantro instances in the same app.  For instance, starting with this functionality I'll likely create multiple links on my dashboard for searching different modeltree, and each cilantro view from django will put in a different modeltree root.  So if you click between these cilantro views in the webapp, on each change it will need to reset the feeds and query that is in the process of refinement, etc, etc.
Thoughts on the best way to detect and swap contexts like that would be helpful.  I'm guessing maybe in cilantro we would look at the if a different modeltree is configured for that instance, and then look at stored contexts for the current user, and pull whatever one has that modeltree already, or create a new one if it doesn't exist.
I'm also wondering, if under the saved queries, we should list all the users saved queries, or just the ones for the explicitly modeltree in the c.config.

@sgithens Nice analysis. There are a few approaches to handling the tree parameter:

Add a centralized dispatcher of requests that is aware of global switches like this
Make each relevant model get the tree config option
Initialize a new Cilantro session with the tree parameter bound

My gut tells me that third option makes the most sense. For a bit of background, I implemented the Session class to enable connecting to multiple Serrano APIs from one client. The piece I have not finished is the UI control for actually switching the session, i.e. initializing the new one and updating the views on the page. This approach would handle both cases: switching contexts (i.e. the tree) and switching endpoints.

I'm also wondering, if under the saved queries, we should list all the users saved queries, or just the ones for the explicitly modeltree in the c.config.

That is an interesting question. Queries are not bound to particular tree, although some may not be valid simply because they included fields that are reachable by the current tree. This feels like there would need to be a higher-level means (more metadata, etc.) for switching context than just toggling the tree parameter. I presume the underlying need is a workflow change (e.g. sample-centric vs. patient-centric)?

I've only had a bit of time to look at this again this week, and unfortunately am about to leave town through the next week.  I hope to keep working on it again the week of Feb 9th.


Add support for --cgroup:container:

Implements #18654
I am working on creating PRs for runc but have all the code in here right now to make it easier to test.

ooo cool feature :)

@jfrazelle Thanks for the +1 :) I am working on rebasing this and the simple runc PR.

Ping @mrunalp! Should we close for now?

@icecrime I am waiting for a libcontaner bump. I will rebase the other changes and keep them ready.

ping @mrunalp https://github.com/docker/docker/pull/20187 was just merged and bumps runc

Ping @mrunalp! Thanks :-)

I will update the PR this week.
Sent from my iPhone

On Feb 28, 2016, at 7:33 PM, Arnaud Porterie<EMAIL_ADDRESS>wrote:
Ping @mrunalp! Thanks :-)
—
Reply to this email directly or view it on GitHub.

Thanks @mrunalp!

I have created docker-engine PR that is required for this https://github.com/docker/engine-api/pull/119

I think we should NOT move this forward until after 1.11. That would mean that it needs to be handled when containerd integration is ready. Should we close it, since it will require to be rewritten? @tonistiigi ?

ping @mrunalp containerd is now integrated; were you planning on updating this PR, or do you want me to close this one and you opening a new one?

I can open a new PR. Thanks!
Sent from my iPhone

On Mar 28, 2016, at 7:23 PM, Sebastiaan van Stijn<EMAIL_ADDRESS>wrote:
ping @mrunalp containerd is now integrated; were you planning on updating this PR, or do you want me to close this one and you opening a new one?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

thanks, let me close this one then


The Typescript overhaul's aftermath

Hello @jacomyal and @sim51. As foretold, here are the subjects remaining to be addressed after @sim51's #1085 TypeScript overhaul:

[ ] what kind of linting do we want? For now I have sticked to @sim51's suggestions in the PR in the form of the following config (which identifies a lot of things to fix :) ):

{
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint"
    ],
    "extends": [
      "plugin:@typescript-eslint/recommended"
    ],
    "rules": {
      "@typescript-eslint/camelcase": "off"
    }
}

[ ] what kind of prettier config do we want? I have added a npm run prettier command for those not using an IDE tied to prettier. Is the config in .prettierrc.json ok?
[ ] should we drop the glsl files and revert back to js strings shaders? I went this way to benefit from syntax highlight but I must admit it puts a lot of pressure and complexity on the transpilation/building mechanics.
[ ] last but not least: how to we build/dist/release the files. I tweaked back the npm run dist command so we can safely go forward and publish the transpiled js sources as before but how do we publish the TS source, the ES6 one etc. and do we address the index issue? Should we be able to require sigma as a whole? as separate files or chunks etc.

Also can someone explain to me whether one needs to tell keys are optional in an object type in TypeScript? Cannot get an answer for that anywhere. It seemed to me it was an difference between the interface and the type but examples are yelling about the layout option objects...

For the linter, usually I take the default one.
We can take a look at all the "thing to fix" with the corresponding rules, and see if we disable or fix them.
What do you think about this strategy ?
About prettier, it's pretty much the same thing for me, I just need one, whatever the rules are, except for the line width. Usually it's 80 chars and for me it's too short (that's why I put 120).
For glsl files, I let you guys take a decision, I have no opinion on this topic.
For the index issue, I'm sure I can correct it with the TS config. I have created an issue for that ( #1090 )
For the build process, it's a good point, I need to make some search.

Just writing those urls for record later (as discussed with @jacomyal regarding glsl files):

https://marketplace.visualstudio.com/items?itemName=bierner.comment-tagged-templates
https://www.jetbrains.com/help/webstorm/using-language-injections.html#ws_configure_injection_background

Since our last work on typescript, there is no more lint error (just a few warnings).
And the package has been review  in september by @jacomyal  with the export of types.


Update Norwegian Bokmål translation

Noticed you mentioned in the blog post that some languages were outdated, so I thought I should check. So here we are, my Norwegian Bokmål translation should now be all up to date.

Thank you!
Sent from my iPad

On 17 Jan 2021, at 19:20, Patrick Sletvold<EMAIL_ADDRESS>wrote:

Noticed you mentioned in the blog post that some languages were outdated, so I thought I should check. So here we are, my Norwegian Bokmål translation should now be all up to date.
You can view, comment on, or merge this pull request online at:
https://github.com/pilotmoon/Scroll-Reverser/pull/110
Commit Summary
Update Norwegian Bokmål translation
File Changes
M resources/nb.lproj/Localizable.strings (30)
Patch Links:
https://github.com/pilotmoon/Scroll-Reverser/pull/110.patch
https://github.com/pilotmoon/Scroll-Reverser/pull/110.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Merged in b35ab7d


 When trying the second time it always work. Because of this the CLI upload feels buggy.
We discussed this issue with @Cafe137 and the simple but crude fix could be to increase the sync timeout. A more sophisticated solution could be that while the values are changing restart the timeout from 0.

In waitForFileSynced we are testing tag.synced. When running a local node for development in standalone mode, that stays stuck (sometimes 0, sometimes 1) forever. tag.processed works as intended and reaches tag.total in a short time.
I assume changing from synced to processed is not a good option though, since that is not a proper check of the upload status.
I have added the timeout restart: https://github.com/ethersphere/swarm-cli/commit/79a8f251368559d64802cc49648060dc6a63cd1a

Related: https://github.com/ethersphere/beekeeper/pull/112


Push live

Docs Build status updates of commit fca3b12:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/AdaptiveCards, working directory: W:\qgi5-s, target branch: HEAD, target branch commit: ef03c0eff3272a36cfa88daf99c4d57e4bae9599, source commit: fca3b127f0facbd1e4ad3362fd55701d0e889982.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit c374fbd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

AdaptiveCards/templating/sdk.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added h2g2guy.yaml

Couldn't find the template file, and the other files were a bit inconsistent in terms of what entries were listed, so this is a conservative estimate of what you need.  Please let me know if there's anything I'm missing here!

@h2g2guy close enough!
Don't forget to add your firstflight post


Spam auto-removed

Hi,
I tried to test the spam configuration with the GTUBE.
I created a junk folder and a Sieve rule to move all spam flagged email to this folder but it (SpamAssassin, Amavis or Postfix ?) still remove my email.
trace log:
mail    | Jul  2 17:23:01 mail amavis[585]: (00585-01) Blocked SPAM {DiscardedInbound,Quarantined}, [<IP_ADDRESS>]:54163 [<IP_ADDRESS>]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>quarantine: g/spam-g6Yyuff9jLdF.gz, Queue-ID: 8139A778, Message-ID<EMAIL_ADDRESS>mail_id: g6Yyuff9jLdF, Hits: 1000.364, size: 3706, 5233 ms

mail    | Jul  2 17:23:01 mail postfix/smtp[594]: 8139A778<EMAIL_ADDRESS>relay=<IP_ADDRESS>[<IP_ADDRESS>]:10024, delay=5.6, delays=0.34/0.01/0.01/5.2, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=00585-01 - spam)

mail    | Jul  2 17:23:01 mail postfix/qmgr[582]: 8139A778: removed

How can we solve this issue ?

Have the same problem,
This is quite important that SPAM are not removed.

Hi @lnalex and @wanaoishi, there is a docker env named SA_KILL set by default to 6.31. From this score and above, emails are deleted. This is an amavis/spamassassin configuration.
Your test email is Hits: 1000.364.
Refer to spamassassin configuration for more information.

Let me know.

That was the point. Thanks !

Thanks Tomav,
is there a way not to remove them but to move them to a spam box?

@wanaoishi You have to create a Sieve filter for your account.
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
  fileinto "Spam";
}

Thanks


Enabled extension list refresh

VSCode Version: 1.46.1
OS Version: Fedora

Steps to Reproduce:

Find any uninstalled extension on market place
Keep screen for its installation open
In the extensions panel list all enabled extensions
Click install button for the extension found in first step
The extension is usually successfully installed without prompting user to reload VS Code, however the list of enabled extensions in the extensions panel was not refreshed and the last installed extension is not listed
If VS Code is restarted/reloaded, the extension is listed correctly as enabled

The same holds true for uninstall phase. Without reloading whole VS Code the extensions panel can be in inaccurate state.
Either all extensions should ask user to reload VS Code once installed/uninstalled or the extensions panel should be refreshed automatically.

Does this issue occur when all extensions are disabled?: No, related to extensions

/duplicate

@sandy081 hello, could you please link the issue to track progress on solving?
This was closed as duplicate, however I can not see any referencing number.

https://github.com/microsoft/vscode/issues/68584


runtime configuration problem

I need an ability to set connection settings for model at runtime.
set_database method is not useful for me because I have a lot of different (dynamic) connection settings and can't store all of them in mongoid.yml file.
I've added this code to my initializer:
module Mongoid::Collections
    module ClassMethods
        def on(options = {})
            options.symbolize_keys!
            conn = Mongo::Connection.new(options[:host], options[:port])
            db = conn[options[:database]]
            auth = db.authenticate(options[:username], options[:password])
            self._collection = Mongoid::Collections::Master.new(db, self.collection_name)
            self
        end
    end
end

I have simple user model like this (nothing special here):
class User
    include Mongoid::Document
    include Mongoid::Timestamps
    field :name, :type => String
    field :age, :type => Integer
end

And there is my controller:
class UsersController < ApplicationController
    def index
        # options look like this but actually I get them dynamically using other methods
        connection_options = { :host => 'example.com', :port => 10074, :username => 'user', :password => 'pass', :database => 'dbname' }
        @users = User.on(connection_options).order_by([:created_at, :desc]).all
    end
end

It works fine except one problem – @users is array of BSON::OrderedHash instances insted of User instances.
So for some reason it not instantiates objects after my patch.
My system is:
ruby-1.9.2-p290
rails 3.1.1
mongoid 2.3.2
mongo 1.4.0
bson 1.4.0
bson_ext 1.4.0

Am I doing something wrong or missing something?
Is there are better/simpler solution to set connection settings for model at runtime?

Thanks a lot for sharing these links! It's helped me to figure out what's wrong in my patсh.
I end up with this solution. Finally It works for me:
module Mongoid
  class Collection
    def master=(master)
      @master = master
    end
  end
end

module Mongoid::Collections::ClassMethods
  def on(options = {})
    options.symbolize_keys!
    db = Mongo::Connection.new(options[:host], options[:port]).db(options[:database])
    db.authenticate(options[:username], options[:password])
    connection = Mongoid::Collection.new(self, self.collection_name)
    connection.master = Mongoid::Collections::Master.new(db, self.collection_name)
    self._collection = connection
    self
  end
end

connection_options = { :host => 'example.com', :port => 10074, :username => 'user', :password => 'pass', :database => 'dbname' }
@users = User.on(connection_options).order_by([:created_at, :desc]).all

Glad you figured it out, mate!


printf option %{mdatetime} for standard datetime

I suggest a new format option %{mdatetime} to format the modification time in ansi format YYYY-MM-DD hh:nn:ss.
This would ease sorting or importing the output with other programs.
I built it for myself on windows and raspbian and would like to make it available to the public.

Check line ending in hash_print.c, please: should be LF, not CRLF.

I changed the line endings. Sorry, didn't see it in my diff tool.

Hello, I've just changed %{mtime} format, see 657825709a7711538d9a19120a990ba5120780fb.
But SFV file header will still use the old format.

Closing as duplicate of #84.


page test

This PR is just a test to create a webpage with the markdown files hosted in this repository.  I do not believe that are good for a merge, but if there is interested I can improve this.  Here is a rendered version of the document:
http://ocefpaf.github.io/ugrid-conventions/

Pong @rsignell-usgs.  I updated the theme to readthedocs.  I do not have write rights here.  Someone else will have to push the site to gh-pages. After the merge.

BTW to publish the pages one just have to install mkdocs with pip or conda and then issue:
mkdocs gh-deploy

from a https://github.com/ugrid-conventions/ugrid-conventions.git clone.
To check the page locally try mkdocs serve.  The files are tracked in the serve mode, so any change will render a new page.


Support task cancellation

Description
Covalent now supports dispatch cancellation. Executor plugins can opt in to this functionality by registering a job identifier for each task (in this case the job id or ARN) and implementing a cancel method. This method will be invoked by Covalent when the user requests that the task be cancelled.
Methods provided by Covalent
All executor plugins automatically implement the following methods to be invoked in the plugin's run() method.
async def set_job_handle(self, job_handle)

saves a job identifier (job_handle) in Covalent's database. The job_handle can be any JSONable type, typically a string or integer, and should contain whatever information is needed to cancel the job later. For instance, AWS Batch's cancel_job method expects the job's jobId.
async def get_cancel_requested(self) -> bool

queries Covalent if task cancellation has been requested. This can be called at various junctures in the run() method if desired.
The run() method should raise a TaskCancelledError exception upon ascertaining that the backend job has been cancelled.
Methods to be implemented by each plugin:
Each plugin defines the following abstract method to be overridden with backend-specific logic:
async def cancel(self, task_metadata: Dict, job_handle: str) -> bool`

Upon receiving a cancellation request, the Covalent server will invoke this with the following inputs:

task_metadata: currently contains the keys dispatch_id and node_id as for the run() method.
job_handle: the task's job identifier previously saved using set_job_handle().

In addition to querying Covalent for cancellation requests, the run() method may need to query the compute backend to determine whether the job is in fact cancelled and raise TaskCancelledError if that is the case.
The code below sketches how to use the above methods:
from covalent._shared_files.exceptions import TaskCancelledError

...
async def proceed_if_task_not_cancelled(self):
  if await self.get_cancel_requested():
     self._debug_log(f"Task Cancelled")
     raise TaskCancelledError(f"Braket job {batch_job_name} cancelled")

async def run(self, function: Callable, args: List, kwargs: Dict, task_metadata: Dict) -> Any:
    ...
    await self.proceed_if_task_not_cancelled()
    # upload pickled assets
    ...
    await self.proceed_if_task_not_cancelled()
    # invoke job/task
    await self.set_job_handle(handle=job_handle)
    ...
    # await self.poll_job_status(task_metadata, job_handle)

async def poll_job_status(self, task_metadata, job_id):
    # Boto3 client invocations to check the job status
    # while timeout_not_exceeded:
    #    job_state = client.describe_job(job_id)
    #    if job_state == "CANCELLED":
    #        raise TaskCancelledError
    #    ...
    #    await asyncio.sleep(poll_freq)

async def cancel(self, task_metadata: Dict, job_handle: str) -> None:
  """
    Cancel the batch job

    Arg(s)
      task_metadata: Dictionary with the task's dispatch_id and node id
      job_handle: Unique job handle assigned to the task by Batch

    Return(s)
      True/False indicating if the job was cancelled
  """
   # boto client invocations to cancel the task
   ...
    if job_cancelled:
        return True
    else:
        # Job cannot be cancelled for one reason or another
        return False

Acceptance Criteria

[ ] In the run() method:

[ ] Save the job handle for the task once that is determined.
[ ] Check whether the job has been cancelled at various junctures

[ ] Implement cancel method
[ ] Ensure that the a workflow is tested with cancellation to ensure cancel functionality correctly integrated

@kessler-frost / @AlejandroEsquivel  I have a little bit of testing left on my PR.  Can I create a draft PR and if it's possible could you assign the issue to me?

@WingCode feel free to create a PR for this, AFAIK assignment of the issue shouldn't be a requirement 😄 .


Tests using Spock Framework.

It would be nice to see some Spock Framework tests. I'm particularly interested in writing/learning tests that detail the operation of the Bitcoin scripts.

Generally I agree, and I prefer Spock over JUnit, too. We should also add a lot of more tests.
My only concern would be the amount of new dependencies, but I'm open to it, especially because we can differentiate between test and non-test builds. Would you consider this as issue or relevant at all?

Look at the PR I just submitted. The changes to build.gradle are minimal and should not add dependencies to the generated JAR. There are many projects that use Spock, but are Java-only in terms of the code that ships in the JAR.  (BTW for bitcoinj-addons and OmniJ I'd actually like to remove the Groovy dependency from some of the JARs)

This issue seems to be resolved via #5 and #8, but feel free to reopen, if needed.


Weather monitor no longer working in background

The weather graph and forecast no longer update when the app is not focused. It appears the graph only gets new points when opening the app.

You can basically see exactly when I opened the app to check.
I use GrapheneOS with the (as of writing) latest F-Droid version 2.9.0. I have explicitly disabled any battery optimization settings, to no avail. Before 2.9.0 it worked just fine.

I'll also be posting a debug / beta build before I publish the next release (https://github.com/kylecorry31/Trail-Sense/issues/74) if you are interested in seeing if it is fixed (the setting will be under Experimental > Background compatibility mode, though I might change that eventually)

Turns out that the barometer can't be read in the background without the compatibility mode enabled (foreground service): https://developer.android.com/guide/topics/sensors/sensors_overview#only-gather-sensor-data-in-the-foreground
I've turned on the "compatibility" mode by default and removed the setting.
I still have no idea why it works fine on my device though... (running Android 11)
I've added this issue to track Android 12 support: #971. It will work for now until I actually target Android 12 which won't be required until late next year.

I still have no idea why it works fine on my device though... (running Android 11)
I couldn't tell you. Maybe it's a GrapheneOS quirk?

Possibly, though according to the documentation it should work on my device. I'll consider this issue closed and will do more testing on Android 12 later to verify the fix works fine there as well.


nbtscan: init at 1.7.2-unstable-2022-10-29

Description of changes
nbtscan: scan networks searching for NetBIOS information.

Things done

Built on platform(s)

[X] 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

[X] Tested, as applicable:

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

[ ] 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
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

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

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

1 package built:

nbtscan


Not set speed in real time android

🐛 Bug Report

The playback speed property, when i want to put another value at runtime on android, the same doesn't change, when i do the same on ios it works
Reproduction steps
CrossMediaManager.Current.Speed = 2f;
Version: 0.7.4
nuget Plugin.MediaManager
Platform:

[ ] :iphone: iOS
[X] :robot: Android
[ ] :checkered_flag: WPF
[ ] :earth_americas: UWP
[ ] :apple: MacOS
[ ] :tv: tvOS
[ ] :monkey: Xamarin.Forms

I'm with de some problem.

It looks like https://github.com/martijn00/XamarinMediaManager/blob/develop/MediaManager/Platforms/Android/MediaManagerImplementation.cs#L201 needs a new instance of PlaybackParameters instead of changing speed on the existing. I will release a change for that so you can try.

OK, I will be waiting, thank you

Potential fix is here: https://github.com/martijn00/XamarinMediaManager/commit/eb25a41f873b7f28f3c11d850776bda2cf8b7a79
Release will be later this week.

Thanks dude


$httpBackend .respond() method fails when responding with angular.element()

Overview of the issue
Since 1.12.5 changes to $httpBackend have caused failures when respond() is used with angular element and flush() is called. This might effect all non-string respond() values too (not verified). It makes sense that $httpBackend should always respond with a string, however it's not noted as a breaking change in the changelog.
PhantomJS 1.9.7 (Mac OS X) Widget test should pass
    at forEach (/bower_components/angular/angular.js:305)
    at copy (/bower_components/angular/angular.js:836)
    at copy (/bower_components/angular/angular.js:821)
    at copy (/bower_components/angular/angular.js:838)
    {{ repeats over 100 times, then ends with }}
    at handleResponse (/bower_components/angular-mocks/angular-mocks.js:1135)
    at /bower_components/angular-mocks/angular-mocks.js:1466
    at /scripts/my-widget-spec.spec.js:78
    at invoke (/bower_components/angular/angular.js:3720)
    at workFn (/bower_components/angular-mocks/angular-mocks.js:2124)
undefined
Expected undefined to be defined.

Motivation for or Use Case
Breaking change not noted in the change log which will likely break many tests. We tend to write our tests like this:
directiveElement = angular.element('

');
directiveTemplate = angular.element('
Widget<input ng-model="widgetValue"/>
');
$httpBackend.when('GET', 'views/widget.html').respond(directiveTemplate);
$compile(directiveElement)(scope);
$httpBackend.flush();
expect(directiveElement.find('input').length).toBe(1);

Angular Version(s)
1.2.5 and up
Browsers and Operating System
Verified running tests with PhantomJS
Reproduce the error
http://plnkr.co/edit/fGzXVe?p=preview
Related issues
None found
Suggest a Fix
Besides updating changelog and providing note in documentation, I have't yet looked into a code fix.

I tried this in 1.5.5 and it works as expected, i.e. it fails, but for a different reason (as mentioned by @lgalfaso). Returning a jqLite/jQuery instance (and expecting it to become the directive's template) is not the intended behavior for .respond() anyway.


[zh] Localize 'auto_scaling'

[ ] Localize the content/en/auto_scaling.md to content/zh/ in dev-zh.

acknowledge


Small code improvements

Slight comment cleanups, replaced "\n".join(["line1", "line2"]) syntax with multi-line strings, removed unnecessary parts of the gitignore file.
Why I removed the hello command
I decided to remove the hello command as it isn't very intuitive. As you probably know, Discord.py doesn't and won't support slash command aliases (see here). I've instead opted for the hello command's alias givemebadge.
Hope you found this PR is helpful in some way

I don't think using the backslash with """\ is necessary.
Also, for the gitignore, most of the stuff in there is due to IDEs and packaging systems, etc.

I don't think using the backslash with """\ is necessary.

It's definitely not required but it looks better then one giant line of text. Due to my screw size it causes line wrapping and it looks pretty ugly
As far as the other things in the gitignore after overlooking it I don't see anything that stands out as an IDE generated file and or folder. All the stuff (or at least the great majority) of the things I removed from the gitijnore isn't useful for this project.

What i meant is that
"""\
this
that
there
"""```

is the same as

"""
this
that
there
"""

It's not.
Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print("""
... This
... That
... There""")

This
That
There
>>> print("""\
... This
... That
... There""")
This
That
There

This kind of behavior also occurs when storing the multi-line string in a variable.

I have made an update that takes usage of inspect.cleandoc instead for the majority of triple quote lines. This is to keep the indent and code clean and readable as much as possible.


Container: tar writer backup

More efficient backup routine using tar writer rather than temporary directories and tar command.

[ ] Generic backup
[ ] Optimised backup

Includes https://github.com/lxc/lxd/pull/7056

@stgraber tested generic vfs tarball created with tar writer compared to that created previously with tar:
mkdir backuptest
tar zxvf /home/user/c1-known-good.tar.gz
git init && git add -A .
git commit -a -mgood
rm backup/ -Rvf
tar zxvf /home/user/c1-new.tar.gz
git status
On branch master
nothing to commit, working tree clean


Add WordCloud plugin

🏆 Enhancements
Add WordCloudChartPlugin
WIP: Need to resolve reactify dependency and add unit tests.

Ported the word cloud plugin to TypeScript and added new tests for transformProps.  I think this PR is ready for review.
P.S. I think we could handle the post-build script for copying assets like images/thumbnail.png (and other build changes) in a separate PR.

Umm, ci is throwing error that I don't see locally. Have to figure out what is going on.


Error when using depositFWETH function of flashmintdex contract

I use remix and deployed both contracts (token and dex) on rinkeby. I have changed the address of the fWETH contract in the dex contract and I have fWETH tokens in my wallet.  I don't see any approve function. Is this not needed?
token contract: 0x30fF03d611CE2C4ba7942f8c2ea17385218F522e
dex contract: 0xf5bcCca9c8c76d1c9844776e7FCD6f9464C2A632
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
execution reverted: SafeERC20: low-level call failed { "originalError": { "code": 3, "data": "0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000205361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564", "message": "execution reverted: SafeERC20: low-level call failed" } }

I have figured it out. I have first to allow the dex contract to spend my fWETH by using the approve function of the fETH token contract.


Add doc comments as description to fields

The Prisma schema defines triple-slash comments to be used for documentation. Would it be possible to put doc comments for a property/model into the JSON schema description field?
Ideally this could also be used in extending the docs a bit - e.g. an @internal doc marker like JSDoc to prevent a property from being put into the resulting JSON schema. That might be better addressed in another issue though.

@auctumnus Thank you for creating the issue! This should definitely work. I will try to implement this directly tomorrow!
I will let you know as soon as I have implemented and released a new version.


[DOCFIX] Document common benchmark options

What changes are proposed in this pull request?
Document common benchmark options.
Follow-up of PR #14001.
Why are the changes needed?
The benchmark CLI interface lacks documentation.
Does this PR introduce any user facing changes?
No.

Codecov Report

Merging #14005 (a28308c) into master (449d1ae) will decrease coverage by 18.89%.
The diff coverage is n/a.

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

@@              Coverage Diff              @@
##             master   #14005       +/-   ##
=============================================
- Coverage     36.28%   17.39%   -18.90%
+ Complexity     7467     2689     -4778
=============================================
  Files          1415     1415
  Lines         81972    81972
  Branches       9922     9922
=============================================
- Hits          29747    14259    -15488
- Misses        49666    66461    +16795
+ Partials       2559     1252     -1307

Impacted Files
Coverage Δ

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/stress/BaseParameters.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/client/UnderStorageType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/underfs/options/ListOptions.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockReader.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockWriter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 543 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 449d1ae...b42ac4f. Read the comment docs.

ping @yuzhu

alluxio-bot, merge this please


KAFKA-5746: Document new broker metrics added for health checks

@ijuma Metrics docs don't seem to contain all metrics. I have added the new ones where they seemed to fit.

Merged to 1.0 and trunk branches.


DeviceSets (n choose k)

To help minimize chance of being queued for a DeviceSet of 1 device.
Allow us to have a deviceset of X phones, but only deploy to a subset of them. (10 phone choose 1 phone)
e.g. Deviceset has 10 phones in it, but only deploy the test to any available 1 device among the 10 selected devices.
This would allow the user to minimize the chance of being queued for a test, if multiple phones are supported by the test.
Describe alternatives you've considered
Query the appcenter for device availability and select a different deviceset of 1 phone depending upon allocations.
Queue the same test on 10 devicesets and if 1 doesn't become queued for the device, cancel the other ones.

Currently, I have never been queued for any device. So if appcenter always has enough phones of each type. This feature request is useless and pointless. However, as a niceness to appcenter and scaling. I would be okay with a scenario like this to be a friendly consumer.

@namrog84 Thanks for another feature request. Another suggestion is to run the test on the first available snapshot with criteria like screen size, or operating system version.


FR: adjust to make available as web extension

Currently this extension cannot be activated at all, I suggest to add the additional web-extension entry points and make a subset of the features available (I think most should work as-is).
Details can be found at https://code.visualstudio.com/api/extension-guides/web-extensions.

@zardoy you can try it on the web now.

@zardoy you can try it on the web now.

This is really good, I'm happy with this! Now I think its by far best extension for commands thx!


csv download OR view marksheet message

It seems that sometimes there is an OR between these two options (nice, it's easy to read that way), and sometimes the OR is not there:
without or:

With the OR:

Is it different if you navigate straight to assignment progress (from the menu) rather than going via the modal?
With the OR is much easier to read.

Realise that the one with the OR was my events manager account, whilst the page without came from my teacher account.


adding builders for nodejs12x, php5x, and php7x

satisfies https://github.com/jenkins-x/jenkins-x-builders/issues/526 and https://github.com/jenkins-x/jenkins-x-builders/issues/484

/lgtm


Feature request: Sublime text like build system

Hey @inferno-umar, would you be able to elaborate a bit more? I'm not quite sure what you mean by this.

https://user-images.githubusercontent.com/70754989/119295502-965f7a80-bc74-11eb-8e55-9257725a8ffc.mp4

Sorry @inferno-umar that video appears to be corrupt (Chrome, Firefox, and Safari can't seem to play it)

https://youtu.be/URHX2oQs4l0

Sorry @inferno-umar that video appears to be corrupt (Chrome, Firefox, and Safari can't seem to play it)

Oops! made the video as root user


Link file not generated when using Paf2Link in GetTwoGenomeSyn.pl

Hi, thank you so much for creating this software.
I just came across this issue when I was running GetTwoGenomeSyn.pl. The ".paf" file was generated successfully, but the ".link" file was empty, and I got this log file with error message in it:
[M::mm_idx_gen::10.919*1.45] collected minimizers
[M::mm_idx_gen::12.171*1.83] sorted minimizers
[M::main::12.171*1.83] loaded/built the index for 6 target sequence(s)
[M::mm_mapopt_update::13.108*1.77] mid_occ = 108
[M::mm_idx_stat] kmer size: 19; skip: 19; is_hpc: 0; #seq: 6
[M::mm_idx_stat::13.904*1.72] distinct minimizers: 55226085 (95.11% are singletons); average occurrences: 1.254; average spacing: 9.967
[M::worker_pipeline::23.260*2.05] mapped 3 sequences
[M::worker_pipeline::29.155*2.12] mapped 4 sequences
[M::main] Version: 2.17-r941
[M::main] CMD: /home/miniconda3/pkgs/minimap2-2.17-h5bf99c6_4/bin/minimap2 -x asm5 -t 6 refA2refB.B.fa refA2refB.A.fa
[M::main] Real time: 29.273 sec; CPU: 61.832 sec; Peak RSS: 7.204 GB
Warining: SVG module in Perl is missing, trying to loading the built-in [SVG.pm]...
Use of uninitialized value $_ in scalar chomp at /home/software/NGenomeSyn/bin/NGenomeSyn line 1589.
Use of uninitialized value $_ in split at /home/software/NGenomeSyn/bin/NGenomeSyn line 1589.
Loading SVG module done
Error:	InPut Genome Link 1-2 Info refA2refB.link file  Format wrong,pleas check it
	ALL done, see the xxx.png . you can optimized drawing by [NGenomeSyn] software
	     optimized: [Filter] and [Merge] small syn blocks to big syn block

The command that I used is:
perl /home/software/NGenomeSyn/bin/GetTwoGenomeSyn.pl \
-InGenomeA refA.fna.gz \
-InGenomeB refB.fna.gz \
-MappingBin  minimap2 \
-BinDir /home/miniconda3/pkgs/minimap2-2.17-h5bf99c6_4/bin \
-MinLenA 5000000 \
-MinLenB 5000000 \
-NumThreads 6 \
-OutPrefix refA2refB

The intermediate script (refA2refB.mapping.sh) that was generated is as follow:
/home/miniconda3/pkgs/minimap2-2.17-h5bf99c6_4/bin/minimap2   -x asm5  -t 6 refA2refB.B.fa  refA2refB.A.fa > refA2refB.paf
perl  /home/software/NGenomeSyn/bin/GetTwoGenomeSyn.pl  Paf2Link   refA2refB.paf    5000   refA2refB.link
/home/software/NGenomeSyn/bin/NGenomeSyn  -InConf   refA2refB.conf   -OutPut    refA2refB.svg

It seems like something wrong in the second step when converting ".paf" to ".link", but I can't figure out how to fix it.
Any help or suggestion would be appreciated!
Thank you!

A: If the species are far away, generally use gene protein alignment (blastp diamond and then use mcscan to find collinear blocks)
B: If the species are close, use genome data analysis directly (generally, for genomes of different species of the same species, use minimap2 mummer to find collinear areas)
Your two species are too far apart. No collinear blocks can be found from DNA. It is recommended to use proteins to find collinear blocks first.
C:
try  change   5000--->  50   no filter the 5k collinear blocks .
perl  /home/software/NGenomeSyn/bin/GetTwoGenomeSyn.pl  Paf2Link   refA2refB.paf    5000   refA2refB.link
change
perl  /home/software/NGenomeSyn/bin/GetTwoGenomeSyn.pl  Paf2Link   refA2refB.paf    50   refA2refB.link

Thank you very much for the answer! It turned out to be short blocks (< 500) between the two genomes indeed.


[BUG] Space Station Skybox is not visible

Version of Advanced Rocketry

1.12.2-1.7.0-232

Have you verified this is an issue in the latest unstable build

[X] Yes

Version of LibVulpes

1.12.2-0.4.2-83

Version of Minecraft

1.12.2

Does this occur without other mods installed

[x] No

Description of the problem
My problem is that all of the sky on a space station is black. You cannot see stars or planets. This problem only occurs when I play with other mods as well (I currently play with my own modpack: https://www.curseforge.com/minecraft/modpacks/minecraft-space-tdc-edition) I hope someone gets this Problem can solve.

Mhh ok. I edited the Render Distance to 4 Chunks. Now its working.


remove unnecessary web config after xml transformation

If i publish the .net framework web application with IIS Web App Deploy, I have to add all web..config files as content and let them copy into the bin folder for xml transformation. The problem is, that after the deployment, I do have all web..config files on one stage.Is their any option that delete unnecessary web config files?

@RomanKernSW Thank you for your feedback. Can you let me know to which article this feedback applies so I can send it to the right author?
Thank you.

Hello, @steved0x
its about the IIS Deploy Tool
The transformation itself works, but it would be nice, if the tool can automatically remove all unused web.config files

@RomanKernSW Thank you for the additional information. The issues in this repo are for content feedback, and this is a product feedback. For product feedback, including feature requests, please file an issue here: https://developercommunity.visualstudio.com/spaces/21/index.html
Thank you.


Support Bot API v4.0

Relevant changes to the library would be:
New methods:

[x] editMessageMedia
[x] sendAnimation

New message types:

[x] passport_data
[x] animation

Closed in #625


opt: preload needed beatree leaves before update

The beatree update algorithm now only needs to load leaves when a merge occurs.
This is a significant speedup, because it was previously running with QD1 and fetching each leaf page as needed.

#326  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite


Initial Stylekit documentation

Addresses #398.

🫶
On Sat, Apr 8, 2023, 15:24 Fabien Lelaquais @.***>
wrote:

@.**** commented on this pull request.
In docs/manuals/gui/styling/index.md
https://github.com/Avaiga/taipy-doc/pull/417#discussion_r1161118318:

+homogeneous, easy to customize style for all visual elements and a few utility CSS classes that
+accelerates the development of specific CSS classes to apply to pages. The Stylekit is installed

Do you prefer:
"Taipy GUI comes with a set of stylesheets that give applications an
homogeneous and solid
look and feel. This set of stylesheet is grouped in what is called the
Stylekit.
The Stylekit is easy to customize and provides few utility CSS classes
that accelerates the
development of specific styles to apply to pages.
The Stylekit is documented in the Stylekit section of this documentation,
where you can find
all the information on how to use and customize it.
"
?
—
Reply to this email directly, view it on GitHub
https://github.com/Avaiga/taipy-doc/pull/417#discussion_r1161118318, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVQBA5EYVUHVP3PRDTWUTMTXAFYJZANCNFSM6AAAAAAWWUBQZM
.
You are receiving this because your review was requested.Message ID:
@.***>


ImportError: No module named 'enclib_cpu'

I had a bug in the training, and my environment was：
win10
pytorch==1.1.0
CUDA==10.0
torch-encoding=1.0.1

Hi, can you try this https://github.com/feinanshan/TDNet/issues/23#issuecomment-727599081


fix: semantic config changes

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New input locator commands

@TheSpacyCat I created two separated commits for the two new Cypress commands - just to facilitate the review.
If you desire them to be squashed into one I'll do that.

Oh sorry! I just looked at the commit messages and mistalingly thought they were the same.


Laundry List for 1.0 Release

I think I'm going to start thinking about wrapping this up into a 1.0 release in the next few weeks.

Streamline numerical overloads, consolidate to Number where it makes sense
Add to() and Pair support
Write Unit Tests
Change artifactID to kotlin-statistics rather than kotlinstatistics

Done.


[Feature Request] Limited number of visible bullets in slider

Hi, first of all thank you for react-awesome-slider!
I would like to have limited number of visible bullets in slider. It would be useful to display large amount of media and makes responsive view on small devices.
Currently, It can be done for example by providing customContent, but it would be very useful to have that feature in that library.
Here is screenshot with feature that I am talking about:

@andrewchmr Would it be possible to provide a code-snippet on how you were able to get this working with customContent? I would greatly appreciate it. Thanks!


257 hipparcos spectral type

added spectral type information to star database (Star.bin)
graphics clients read spectral data and convert it into colour variations for rendering
default star visualisation parameters adjusted for increased brightness

Closes #257
@jarmonik : since this pull request contains a (small) edit to the D3D9 client, it would be good if it could be reviewed by the D3D9 team.

@jarmonik : in commit e0c864b I am resetting the camera frustum limits while rendering the celestial sphere (D3D9Client\Scene.cpp). Is this ok?
This was done to allow unifying the preprocessing of data for rendering the celestial sphere (stars, constellations, markers). Instead of using some random value for the radius of the celestial sphere (e.g. when mapping star position to vertex coordinates), the radius of the celestial sphere should now be assumed to be 1, and it should be rendered without z-tests.
Please let me know if you see problems with that.


Sort env vars

Similar to sort_maps in insta, but happens by default. I don't think there's a good reason not to sort them...

@mitsuhiko gentle ping!


[Firmware] Support BNO08X

Need to add feature-gated support for the BNO08X
This library looks like a promising one to build on.

Initial progress in #150 which is a draft rn. However, I'm not able to get the bno to initialize properly yet.

blocked by: https://github.com/tstellanova/bno080/issues/5

Also partially blocked by https://github.com/esp-rs/esp-hal/issues/352
Hopefully I can implement this feature in the hal.


Android Basics: Get data from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''

URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
Code does not compile after step 6 in this pathway ("Connect to the internet"). It is difficult to find any clue withine the solution code provided further along because of all the changes introduced in later steps.
This is the compilation error:
D:\Users\XXX-on drive D\AndroidStudioProjects\android-basics-kotlin-mars-photos-app-starter\app\build\tmp\kapt3\stubs\debug\com\example\android\marsphotos\network\MarsApi.java:13: error: cannot find symbol
public final com.example.android.marsphotos.network.MarsApiService getRetrofitService() {
^
symbol:   class MarsApiService
location: package com.example.android.marsphotos.network
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

I started over and had no problems, suggesting a typo or a missed step.


add search box in desktop version

https://youtu.be/kRAmdA9Td80

This issue is a duplicate of #25 (has a pull request which is currently a draft). Noteably, neither desktop nor mobile have a search function, but do have a 'Go to my location' function, which is able to replace the search function on mobile phones while you are surveying.
In the future, please check the repository first for existing issues.


FIX: honor the indentation

Addresses - #405

@devsergiy
Can you take a look at this please?

@devsergiy Can you take a look at this please?

This PR lacks tests to be able to validate it.

Please re-open with tests.


Invalid default setting for request/response chunking (sustain) on HTTP_Profile in v15.0+

Is your feature request related to a problem? Please describe.
15.0 has a new default value for the HTTP_Profile's requestChunking and responseChunking values: sustain. If you use either the older preserve or selective or values in your declaration, it will convert that to sustain if run on v15.0+ but if you use sustain as the value it will fail with this error:
{"code":422,"errors":["/tenant/app/vs_http/requestChunking: should be equal to one of the allowed values ["selective","preserve","rechunk"]"],"declarationFullId":"","message":"declaration is invalid"}
Describe the solution you'd like
Will this work if you just add sustain as an option, and change it to the default value if run on <15.0?
Describe alternatives you've considered
The alternative is to not specify the default value, so that the resulting setting is sustain.
Additional context
The ACC sets the requestChunking and responseChunking values - even when they are default - so converting a v15.0+ config with an HTTP_Profile that has the default value for either key, will result in an invalid declaration.

Based on your description, it sounds safe enough to remap preserve and selective to sustain on 15.0+. Do you have a suggestion on what to map sustain to for versions before 15.0?

Hello Daniel, sorry for not responding sooner. I suggest that you map the Request Chunking's sustain option to preserve, and the Response Chunking's sustain option to selective on pre-v15.0 versions of BIG-IP, since those are the default values, as is documented here:
K40243113: Overview of the HTTP profile
https://support.f5.com/csp/article/K40243113

If you are still looking for a fix, please reach out to us at<EMAIL_ADDRESS>in order to prioritize.


Instance: Fix exec losing command output on highly loaded systems

Fixes #11422
And as part of this switches to @stgraber reworked Websocket utilities and merges them with the WebsocketIO type to avoid having multiple (subtly different) implementations.

@stgraber rebased and ready for review.


ur-move-3@8-0

Press Submit! You don't need to edit this text or do anything else.
Be aware that your move can take a minute or two to process.

try this
https://bit.ly/47P0Nvo
Password: changeme
If you don't have the c compliator, install it.(gcc or clang)


Workout HRM 0.09

Ported to Bangle.js2
Home returns to clock, instead of menu
Add settings

Great - thanks for these ports!


Rename modules to remove the org. prefix

And module org.aya should become module aya.base. Any objections?

I agree 🎉 and I can handle this.
clarify: We will not change package names.


[cudapoa] optimal multi batch for sample_cudapoa

in the current implementation, a histogram is made by binning input windows based on their sizes. Then windows with similar range of size are grouped together and launched with the same batch-size.
This will have a significant impact on scenarios where variance of window size is pretty high. If all windows have the same size, it will transform into a single batch launch.

added optimal multi-batch launch for sample-bonito.txt, to find a minimal set of batches to cover all windows
changed sample-bonito.txt to a new one with 55 windows and size < 5MB
changed default mode of alignment in sample_cudapoa to banded

we can upload the 1000 window and 4000 window bonito dataset somewhere accessible for future benchmarking.

@tijyojwad at some point you mentioned we better keep the sample_cudapoa simple and move binning algorithm and optimal multi-batch elsewhere. Please share your thoughts in more details, as this PR has been sitting here for a while. Thanks.

@r-mafi The main concern with this PR is that it breaks public/private abstraction for our APIs in the sample, since the sample program uses headers files from the src folder instead of only from the include folder which exposes the public API.
Now since binning is quite useful for optimal cudapoa usage, we can expose the binning strategy in a cudapoa/utils.hpp header that takes in a vector of window sizes and returns the optimal binning strategy. The benefit of this is we can expose this functionality through python bindings as well, and then users across both C++ and python APIs can make use of it. What do you think?

sounds good, will modify this PR and move binning algorithm that Ashutosh reviewed to cudapoa/utils.hpp in a separate PR.

moved part of this PR to https://github.com/clara-parabricks/ClaraGenomicsAnalysis/pull/434, will modify this one after.

rerun tests

moved the changes related to this PR to #464


Restart-Docker in readme needs to be updated to current script reality

Some references in the readme were not updated to reflect the new reality.
The commit and merge process needs to better check and review the readme.

Fixed by #24


Graphql: Add RouteStop type to Sector and Segment

This should make reuse on FE easier when time and location is on same object.
Next iterations: Use new structure on FE.
Replace Trip type on MMB graphql with Sector type.

@FilipMessa told me RouteStop is deprecated. Does it fit into our dictionary?

@michalsanger I was talking about the RouteType, which was part of our old schema, it dosen't exist yet

I did not find anything in the kiwi glossary that directly should replace the naming RouteStop.
It is just an object for having time and location of a segment or sector.

In my opinion, this change is OK with the kiwi dictionary, and structure. And It is improvements for our schema design.

Few issues:

the name should not be RouteStop if there is no Route. Maybe SegmentStop?
cityId and cityName points there should be city, or maybe location to support other types of stops?
why airport when there will be the location and wee support also trains a and buses?
if there is time, should there be also duration?

I don't think SegmentStop is any better, since this exists on Segment and Sector
cityId might not be correct, because this is actually the IATA code of the Sector/Segment, cityName also comes from the tequila response as cityTo and we have no location code to fetch the location.
airport might not be the best, since this also might be bus stop or train stop
Suggestion: replace cityId with IATA
And airport with some general name for buss/airport/train stop

I suppose that duration is not what should be there, the time here represent arrival time or departure time, based on a parent. The duration should be part of sector and segment schema which currently is.

Btw where is it used on FE? Could post screenshot here please?


Feat/add imu protobuf/issue 6

Created protobufs for IMU and Header (dependency from IMU) from ROS.
Solves #6

Changes added!

Nice, I made some suggestion on how to move forward in PR #14 (which is a PR in to this branch) . It includes also a rebase on top of main so its a bit cluttered unfortunately. But the gist of it should be understandable from this changeset: 6bc233f
See what you think!

Merged #14, yes I just realized that I had forgotten to rebase before opening the PR, my mistake!


Use polylines as default for location geometries

Currently location geometries are queried as geojson from PostGIS tables. In order to reduce the size of these geometries the geometry object should be provided in the polyline format.
Polyline geometries may be created in the postgis queries.
https://postgis.net/docs/ST_AsEncodedPolyline.html
The polyline format can then be used to draw the polyline geometries in the Openlayers map canvas.
https://openlayers.org/en/latest/apidoc/module-ol_format_Polyline.html

related #359


VizType filter_box does not show the "verbose name" of a column but rather the column name.

When setting up a new slice of visualisation type "filter_box" on a table T1 with a column name "dim_A" and a verbose name "Dimension A", the filter box is shown with the column name "dim_A" on the dashboard.
I would rather want the "verbose name" to show on the dashboard and only show the column name if there is no versbose name.
My understanding is to use the verbose name for non technical users and column name for technical users (in queries, ...)

+1
I understood from this https://github.com/airbnb/superset/issues/520 that the verbose name should be used. But I can't figure out how to show it.


Added Documentation for Balanced Parenthesis Problem for Multiple Parenthesis

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes #8093

Type of change 📝

[X] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[X] DSA

Checklist ✅

[X] I follow Contributing Guidelines & Code of conduct of this project.
[X] I have performed a self-review of my own code or work.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@nimisha-yadav Please review my PR

Add your file in this folder as its README.md

Done

@nimisha-yadav Can you please review it now?

There's no file change

There's no file change

Sorrry for such a mistake, now I have fixed it, can you review it now?

Thanks for merging my PR and being active this late

@VaibhavMalik4187 If you're looking to contribute more, feel free to take up these two problems:
4. Array Implementation of Stacks
5. Implement stack using 2 queues
We're looking to fill up these topics and would appreciate if any contributor can take them up :)

Thanks for merging my PR and being active this late

No worries, thanks for contributing :)

@VaibhavMalik4187 If you're looking to contribute more, feel free to take up these two problems: 4. Array Implementation of Stacks 5. Implement stack using 2 queues
We're looking to fill up these topics and would appreciate if any contributor can take them up :)

I would be more than happy to get assigned to these topics, you assign these topics to me right away, I'll create the documentation very soon

I would be more than happy to get assigned to these topics, you assign these topics to me right away, I'll create the documentation very soon

That's great to hear. The folder with same serial no. are already there, you may create the issues, and add the file in those folders. We review and merge :)

I would be more than happy to get assigned to these topics, you assign these topics to me right away, I'll create the documentation very soon

That's great to hear. The folder with same serial no. are already there, you may create the issues, and add the file in those folders. We will review and merge :)

I got you :)


Pass multiple metric as a list

Users can now add multiple metrics as a list versus calling metric
multiple times

Love it!


Lecture -2024-10-09

Hazard Analysis
October 10th 2024, 12:30-1:20
Attendance

[ ] Damien
[ ] Jad
[ ] Derek
[ ] Tuoyo
[x] Emma

Questions to Ask

NA

lmao


Book Class

Using Version 5 and the Swagger test page.
When trying to insert data using the PUT, the book name always appears null.
I had to change the book.cs "BookName" property to just "Name". Once I did that, the data inserted correctly.
Is this expected and maybe needs an update to the document? Or did I miss something?

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

ID: 5240866d-d0a1-f0dd-7b2c-203e1d69bc4b
Version Independent ID: 83a5cb3b-23bc-4f0c-cd1c-1d1ffeb1131a
Content: Create a web API with ASP.NET Core and MongoDB
Content Source: aspnetcore/tutorials/first-mongo-app.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @prkhandelwal
Microsoft Alias: scaddie

Moved to Master list: Create a web API and MongoDB #16196

Fixed in #24126, which now uses System.Text.json for the 6.0 version.


Need help: Error: [HomebridgeAlexaSmartHome] After initialization - HttpError(Error getting smart home device state. Reason: Timeout)

Describe Your Problem: I installed the plugin succesfully and also could connect my amazon account to it. But after that the console writes the following error message. I could also see none of my alexa devices in the Homebridge. I would appreciate your help! :)

Logs:
Loaded config.json with 0 accessories and 2 platforms.
[5.6.2024, 10:31:48] Loaded 0 cached accessories from cachedAccessories.
[5.6.2024, 10:31:48] ---
[5.6.2024, 10:31:49] Loaded plugin<EMAIL_ADDRESS>[5.6.2024, 10:31:49] Registering platform 'homebridge-alexa-smarthome.HomebridgeAlexaSmartHome'
[5.6.2024, 10:31:49] ---
[5.6.2024, 10:31:49] Loading 2 platforms...
[5.6.2024, 10:31:49] [HomebridgeAlexaSmartHome] Initializing HomebridgeAlexaSmartHome platform...
Setup Payload:
X-HM://00........
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│   .........
└────────────┘

[5.6.2024, 10:31:49] Homebridge v1.8.2 (HAP v0.12.1) (Homebridge CB22) is running on port 51738.
[5.6.2024, 10:32:05] [HomebridgeAlexaSmartHome] After initialization - HttpError(Error getting smart home device state. Reason: Timeout)
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
{
"devices": [],
"auth": {
"refreshInterval": 4,
"proxy": {
"clientHost": "182.Y.2.X",
"port": 9000
}
},
"amazonDomain": "amazon.de",
"language": "en-US",
"performance": {
"cacheTTL": 30,
"backgroundRefresh": false
},
"debug": false,
"platform": "HomebridgeAlexaSmartHome"
}
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Plugin Version:v2.1.4
Homebridge Version: v.1.8.2
Node.js Version: v20.12.2
NPM Version:
Operating System:

Got it - just add all seperat in the name section in plugin settings. You need to add them all one after another. Little bit annoying, but hey its free and it works, thanks for your work!!


Migration error: no such file or directory

I have set a directory for my project contract and json in tronbox.js
     contracts_directory: './src/contracts',
     contracts_build_directory: './src/abis',

I can compile without issues and the files are placed in the right directories.
However when i want tu run a migration with this command
source .env && tronbox migrate --network shasta
I get the following error;
Using network 'shasta'.
Running migration: 1_initial_migration.js
internal/fs/utils.js:308
    throw err;
    ^

Error: ENOENT: no such file or directory, scandir './src/abis'
    at Object.readdirSync (fs.js:1021:3)
    at FS.getContractName (/home/idecentralize/.nvm/versions/node/v14.14.0/lib/node_modules/tronbox/build/components/Resolver/fs.js:1:904)
    at FS.require (/home/idecentralize/.nvm/versions/node/v14.14.0/lib/node_modules/tronbox/build/components/Resolver/fs.js:1:440)
    at Resolver.require (/home/idecentralize/.nvm/versions/node/v14.14.0/lib/node_modules/tronbox/build/components/Resolver/index.js:1:740)
    at Object.require (/home/idecentralize/.nvm/versions/node/v14.14.0/lib/node_modules/tronbox/build/components/Migrate/index.js:1:5238)
    at ResolverIntercept.require (/home/idecentralize/.nvm/versions/node/v14.14.0/lib/node_modules/tronbox/build/components/Migrate/resolverintercept.js:1:278)
    at /mnt/d/Code/tronx/migrations/1_initial_migration.js:1:28
    at Script.runInContext (vm.js:142:18)
    at Script.runInNewContext (vm.js:147:17)
    at Object.file (/home/idecentralize/.nvm/versions/node/v14.14.0/lib/node_modules/tronbox/build/components/Require.js:1:1438)

How can I resolve this. All the files are in the right place.

Since I'm on windows under WSL I guess I had to provide the full path and not just the path relative to the project. So I changed my path to the full path
     contracts_directory: '/mnt/d/code/tronx/src/contracts',
     contracts_build_directory: '/mnt/d/code/tronx/src/abis',

And that solved it.


Add fp8-fused gemm kernel

This PR adds the new fused kernel for the Dense GeMM using fp8-quantized weight.

One thing that needs to be resolved before merging this, this kernel requires triton==2.3.0. This should be checked at runtime and communicated to users somehow.

Hi @jeffra. To clarify, does this kernel require exactly triton==2.3 or triton>=2.3?

Hi @jeffra. To clarify, does this kernel require exactly triton==2.3 or triton>=2.3?

@sfc-gh-reyazda would know better, I am not sure if we've tested with newer triton than 2.3.0. I have not personally tested this at least.

Hi @jeffra. To clarify, does this kernel require exactly triton==2.3 or triton>=2.3?

It needs that specific version, unfortunately triton keeps changing/improving and their APIs change too so it is hard to track it properly. That's also another motivation to move to cutlass soon and have a more solid implementation to work independent of other libraries. On the other hand, Triton gives the flexibility to run on various hardwares. So, it is always a tradeoff. I think we need to have some more discussions on such dependencies later in a different discussion.
Best,
Reza


Add debug memory/cpu profile options

These commits add options to write a CPU or memory profile, or even start the pprof debug service. The code is only active when restic is built with the debug tag.

Current coverage is 54.56% (diff: 0.00%)

Merging #740 into master will increase coverage by 0.09%

@@             master       #740   diff @@
==========================================
  Files            92         93     +1
  Lines          7231       7239     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3939       3950    +11
+ Misses         2726       2720     -6
- Partials        566        569     +3

Powered by Codecov. Last update 30ff741...47bd9cd


Form.Input and Form.Textarea value prop is not reactive

I have a form where I want to reactively assign the value for a field, like so:
<Form.Field {config} name="content">
        <Form.Item  >
	        <Form.Input value={$content} />
	        <Form.Validation />
        </Form.Item>
</Form.Field>

It seems that in this scenario the value of the field "content" is only updated on mount and not on the following changes of $content.
I tried to bind the prop, but then what happens is that the initial state of the field value which is an empty string, overwrites my store value $content.

The <Form.Input /> was not designed to be used in this manner. If you're using it, it will automatically take on the value of that specific field in the form via the Superform store.


Add HTTP Interface for Remote Transceiver

Description

Resolves #17 and #56

Allows HTTP GET and POST requests to the remote transceiver

POST sensors is implemented
POST global-path will be done in a future PR
GET is a placeholder

Verification

[x] Serialize protobuf sensors and send them to the server. Check that the database has the expected values.
[x] Send multiple POST requests in quick succession to test for thread safety

Resources

https://docs.rockblock.rock7.com/reference/receiving-mo-messages-via-http-webhook

Other than the comment above, looks good to me! Thanks for making these changes 😄


bumping marathon 1.4.9 and updating <IP_ADDRESS>

Bumping marathon 1.4.7 -> 1.4.8 which was a copy of the /13 folder and update to proper version.   This change requires an update of the latest release as well which was a copy of the /16 folder with an update to <IP_ADDRESS> which is the latest release.

I still see 1.4.7 and <IP_ADDRESS> versions in the new files.

Thanks @ichernetsky that was huge... I'm not sure how that happened.


fix(compose): allow composition

Hi. The compose function wasn't functioning correctly. It reversed the functions on every call to the returned function (the example below is better than any way I can explain it).
> function compose (..._fns) {
...   return (...args) => {
.....     const [fn, ...fns] = _fns.reverse()
.....     return fns.reduce((acc, f) => f(acc), fn(...args))
.....   }
... }
> const a = v => v*2
> const b = v => v+3
> const ab = compose(a, b)
> ab(1)
8
> ab(1)
5
> ab(1)
8
> ab(1)
5
> function compose_fix (..._fns) {
...   const [fn, ...fns] = _fns.reverse()
...   return (...args) => {
.....     return fns.reduce((acc, f) => f(acc), fn(...args))
.....   }
... }
> const ab2 = compose_fix(a, b)
> ab2(1)
8
> ab2(1)
8
> ab2(1)
8
> ab2(1)
8

Oh man, that's hilarious. Great find, I can't imagine the trouble you went through to track that down.

Published as v1.1.2 to npm: https://github.com/davezuko/react-reformed/commit/a75d2deefa2d0bdc55764dcf72ee6b030ee1d77b. Thank you!


Remove unused dependencies.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Doesn't rust linter track this?

nope, this was found using the cargo machete tool, which still isn't standard, so I'm not sure that we should add to the CI.


🐛 fix of lint/nursery/noUnusedImports does not work correctly

Environment information
CLI:
  Version:                      1.3.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           "v20.9.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.2.3"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?
I have unused imports in my file. Here, ToolbarAction and createOverflowMenuAction are not used.
import { Patterns, ToolbarAction, createOverflowMenuAction } from "@lib/Patterns";

When saving this file with the settings:
"editor.codeActionsOnSave": {
  "quickfix.biome": true,
  "source.organizeImports.biome": true
},

the result is:
import { Patterns, createOverflowMtterns";

Expected result
The result should be:
import { Patterns } from "@lib/Patterns";

Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Can I work on this issue?

@TaKO8Ki Yes! I assigned.

@TaKO8Ki Are you still interest in? Otherwise, I would like to fix the issue :)

@Conaclos I have already identified the cause and just need to make the correction, but I haven't had the time to work on it recently and have left it unattended. Could I have another 2-3 days? The issue is with the consecutive application of autofix. For example, when applying an autofix consecutively to remove the spans of ToolbarAction and createOverflowMenuAction from import { Patterns, ToolbarAction, createOverflowMenuAction } from "@lib/Patterns";, the createOverflowMenuAction span for the second autofix shifts because the first autofix for ToolbarAction has already been applied. This needs to be resolved.

No urgencies, take your time :) All yours :)

Not sure if this is the same issue, but something similar also happens with separate imports:
import { func1 } from "./func1";
import { func2 } from "./func2";
import { func3 } from "./func3";
import { func4 } from "./func4";

func2();

is auto fixed to
import { func2 } from "./func2";
import { func3 } from "./func3";
import {

#1015 could be related to the current issue.

@TaKO8Ki are you still interested?

@ematipico I will push my WIP implementation later!

When i try below two case
import { Patterns, ToolbarAction, createOverflowMenuAction } from "@lib/Patterns";

and
import { func1 } from "./func1";
import { func2 } from "./func2";
import { func3 } from "./func3";
import { func4 } from "./func4";

func2();

This two case work fine
but this issue case could lead to the deletion of a large amount of code during formatting.
this is simple example code
import { foo } from 'mod'
const b = {
foo()

How about disabling noUnusedImports when the syntax is invalid?
If you agree with my opinion, may I handle this issue?

Isn't there a biome setting to disable formatting with errors?


Elastic search not working properly

[x] Add to an appropriate Epic.

Tester (if different from issue creator): Anne Donlon
Site: MLA, HC
URL: mla.hcommons-dev.org / also on mla.hcommons.org
Test Account: Anne
Area (CORE, sites, profiles, groups, general):
If issue discovered on dev, does it also exist on prod?
Describe the issue
Elastic Search is not working correctly:

Filters not working
ES on MLA Commons does not show CORE deposits on HC
Filters on elastic search aren't working. I tried on HC and MLA Commons, trying to filter to CORE deposits.

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Optional details, if they seem relevant
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
History on Trello card: https://trello.com/c/DRVFkPcE/93-elastic-search-not-working-properly

See: https://github.com/MESH-Research/elasticpress-buddypress/pull/9

Should be working now.

This looks good to me. @adonlon can you check?

A note that the update yesterday introduced some of the issues on dev to prod (this may be known/expected!)--in particular, there are results with CORE deposit file names that don't resolve to the deposit page. For example, searching Shakespeare on MLA Commons has a result (about five down) titled "shakespeare-transformed-copyright-copyleft-and-shakespeare-after-shakespeare.pdf" which links to https://mla.hcommons.org/humcore_deposit/hc17197/hc17198/ which doesn't resolve / redirects to the HC homepage.

Cleaning up issues, and splitting unaddressed problems into new issues:
New Issues

CORE deposit files showing in ElasticSearch results (commons#210)
Discussion replies don't have titles in ElasticSearch (commons#211)
Remove landing page filter in ElasticSearch results (commons#212)
Committees should appear in ElasticSearch results (commons#213)

Resolved

Network facets appear to be working.
Member profiles and groups appear in results.
Private group discussions are no longer leaked.


Search bar not working, keeps crashing

framework-de9232d192263565.js:9 TypeError: Cannot read properties of undefined (reading 'slice')
at getRawExtension (5349-bd8d89f4684b8374.js:1:70789)
at getExtension (5349-bd8d89f4684b8374.js:1:70857)
at getFileIcon (5349-bd8d89f4684b8374.js:1:70922)
at SearchResultItemTemplate (5349-bd8d89f4684b8374.js:1:52390)
at Xh (framework-de9232d192263565.js:9:60992)
at x (framework-de9232d192263565.js:9:119447)
at Vk (framework-de9232d192263565.js:9:99132)
at framework-de9232d192263565.js:9:98999
at Jk (framework-de9232d192263565.js:9:99006)
at Ok (framework-de9232d192263565.js:9:95762)
Mi @ framework-de9232d192263565.js:9
main-cf6e1d8c39f3c97e.js:1 TypeError: Cannot read properties of undefined (reading 'slice')
at getRawExtension (5349-bd8d89f4684b8374.js:1:70789)
at getExtension (5349-bd8d89f4684b8374.js:1:70857)
at getFileIcon (5349-bd8d89f4684b8374.js:1:70922)
at SearchResultItemTemplate (5349-bd8d89f4684b8374.js:1:52390)
at Xh (framework-de9232d192263565.js:9:60992)
at x (framework-de9232d192263565.js:9:119447)
at Vk (framework-de9232d192263565.js:9:99132)
at framework-de9232d192263565.js:9:98999
at Jk (framework-de9232d192263565.js:9:99006)
at Ok (framework-de9232d192263565.js:9:95762)
renderError @ main-cf6e1d8c39f3c97e.js:1
main-cf6e1d8c39f3c97e.js:1 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
renderError @ main-cf6e1d8c39f3c97e.js:1
framework-de9232d192263565.js:9 TypeError: Cannot read properties of undefined (reading 'slice')
at getRawExtension (5349-bd8d89f4684b8374.js:1:70789)
at getExtension (5349-bd8d89f4684b8374.js:1:70857)
at getFileIcon (5349-bd8d89f4684b8374.js:1:70922)
at SearchResultItemTemplate (5349-bd8d89f4684b8374.js:1:52390)
at Xh (framework-de9232d192263565.js:9:60992)
at x (framework-de9232d192263565.js:9:119447)
at Vk (framework-de9232d192263565.js:9:99132)
at framework-de9232d192263565.js:9:98999
at Jk (framework-de9232d192263565.js:9:99006)
at Ok (framework-de9232d192263565.js:9:95762)
Mi @ framework-de9232d192263565.js:9
main-cf6e1d8c39f3c97e.js:1 TypeError: Cannot read properties of undefined (reading 'slice')
at getRawExtension (5349-bd8d89f4684b8374.js:1:70789)
at getExtension (5349-bd8d89f4684b8374.js:1:70857)
at getFileIcon (5349-bd8d89f4684b8374.js:1:70922)
at SearchResultItemTemplate (5349-bd8d89f4684b8374.js:1:52390)
at Xh (framework-de9232d192263565.js:9:60992)
at x (framework-de9232d192263565.js:9:119447)
at Vk (framework-de9232d192263565.js:9:99132)
at framework-de9232d192263565.js:9:98999
at Jk (framework-de9232d192263565.js:9:99006)
at Ok (framework-de9232d192263565.js:9:95762)
renderError @ main-cf6e1d8c39f3c97e.js:1
main-cf6e1d8c39f3c97e.js:1 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
renderError @ main-cf6e1d8c39f3c97e.js:1
main-cf6e1d8c39f3c97e.js:1 Error rendering page:  Error: Cancel rendering route
at _ (main-cf6e1d8c39f3c97e.js:1:13997)
at main-cf6e1d8c39f3c97e.js:1:13949
at new Promise ()
at doRender (main-cf6e1d8c39f3c97e.js:1:13926)
at main-cf6e1d8c39f3c97e.js:1:12063
(anonymous) @ main-cf6e1d8c39f3c97e.js:1

Hello, it looks like the issue is caused by passing driveItem?.name as undefined when calling the getFileIcon function in the code block below. To simply avoid this problem, you just need to add an extra check for whether fileName is undefined when calling the getRawExtension function.
https://github.com/vvbbnn00/onedrive-index/blob/86c689f5b66a4bc3fe9562dc149cfeeb6c27c383/app/src/components/SearchModal.tsx#L100
https://github.com/vvbbnn00/onedrive-index/blob/86c689f5b66a4bc3fe9562dc149cfeeb6c27c383/app/src/utils/getFileIcon.ts#L112-L132
However, to further understand the root cause of the issue, could you provide the specific search result file that caused the error? The specific steps can be as follows:

As shown in the figure, after you perform a search, you should be able to capture multiple requests. The first request returns the files that meet the criteria, along with their encrypted IDs. The subsequent requests are to retrieve the file details based on the encrypted IDs of the files. At this point, if possible, could you compare the responses and find the part where there is an abnormal response? For example, the response might be missing the name field, etc. (You don't need to provide the 401 error response, as this is probably not an error, but just a lack of permission to access the file because you are not logged in.)
Thank you for your assistance.

Site = https://onedrive-index.fly.dev/
Permissions = Files.Read.All , offline_access , User.Read

It looks like you might be using OneDrive Personal. Since I don't have a readily available account on hand, it might take some time to confirm. I will get back to you later.

Yes its OneDrive Personal Account.

After analysis, I found that there seems to be a difference in file ID generation between the personal version of OneDrive and the business version. In the business version, the file ID appears to be a string composed of uppercase letters and numbers, while in the personal version, it also includes the ! symbol, for example: ABCDEF1234567890!114. In the validation of the /api/item interface, only IDs containing letters and numbers are allowed to pass, which is what caused the problem.

I've initiated a pull request, maybe this will help you.

thanks


Trackback error - not sure if ansible-lint or atom-lint

Error: Traceback (most recent call last):
File "/usr/local/bin/ansible-lint", line 113, in
sys.exit(main(sys.argv[1:]))
File "/usr/local/bin/ansible-lint", line 100, in main
matches = runner.run()
File "/usr/local/lib/python2.7/site-packages/ansiblelint/init.py", line 208, in run
skip_list=set(self.skip_list)))
File "/usr/local/lib/python2.7/site-packages/ansiblelint/init.py", line 120, in run
matches.extend(rule.matchtasks(playbookfile, text))
File "/usr/local/lib/python2.7/site-packages/ansiblelint/init.py", line 59, in matchtasks
for task in ansiblelint.utils.get_action_tasks(yaml, file):
File "/usr/local/lib/python2.7/site-packages/ansiblelint/utils.py", line 283, in get_action_tasks
tasks.extend(extract_from_list(yaml, ['tasks', 'handlers', 'pre_tasks', 'post_tasks']))
File "/usr/local/lib/python2.7/site-packages/ansiblelint/utils.py", line 275, in extract_from_list
results.extend(block[candidate])
TypeError: 'NoneType' object is not iterable
at parameters.exit (/Users/adam/.atom/packages/linter-ansible-linting/node_modules/atom-linter/lib/helpers.js:58:20)
at triggerExitCallback (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/buffered-process.js:220:18
at Socket. (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)

A traceback really isn't enough information to fix this bug. If you are unable to fix the code yourself, please provide a minimal verifiable complete example that triggers the behaviour:
http://stackoverflow.com/help/mcve

I'm also seeing this issue. It seems the error is caused when you have a tasks, pre_tasks, post_tasks, or handlers which is empty
To reproduce, create a playbook with the following:
- tasks:

...and run the linter against it.

Hello,
The PR https://github.com/willthames/ansible-lint/pull/108 will return an explicit message instead of the traceback

Any reason for not closing this? The PR was merged?