Exception thrown on duplicate sections

Some SLN files can have duplicate sections.  For example I encountered one with two copies of:

GlobalSection(SubversionScc) = preSolution
Svn-Managed = True
Manager = AnkhSVN - Subversion Support for Visual Studio
EndGlobalSection
Currently (r69120) this results in an ArgumentException.  It would be useful if the tool could deal this.

(I am not sure how the solution file ended up with duplicate sections, but VS2010 will open such a SLN file.)
This work item was migrated from CodePlex
CodePlex work item ID: '6965'
Vote count: '1'

[UnknownUser@7/30/2015]
Resolved with changeset 73312: Added the concept of "warning" while reading a solution file. Right now, the only warning detected is when a duplicate section is found.
Warnings are treated the following way by the application:

CompareSolutions,MergeSolutions => Considered as error unless "-IgnoreWarning" is used on the command line.
CreateFilterFileFromSolution,EditFilterFile => Ignored.
OpenFilterFile => Writen in console output but ignored.


fix ICE Bug7212

Only check covariant conversion to Type::nextOf
for delegates and pointers.

With t->ty == Tfunction this would have
checked conversion to the return type.

http://d.puremagic.com/issues/show_bug.cgi?id=7212

Ouch! Thanks for your patch.

Thanks too for fixing my recently introduced regression.
We should probably agree on a convention where/when
to check for null pointers. Lots of dmd functions do work when
being called with null, covariant apparently doesn't.


near delete with positional arguments is dangerous

Is your feature request related to a problem? Please describe.
Current API supports the following:
 near delete <accountId> <beneficiaryId>

It's really easy to mess up the arguments and delete the beneficiaryId account instead of accountId.
Describe the solution you'd like
There are 2 possible solutions:

Confirm each request. This should be on by default and overridden with -y. This way the shell will first display the action you want to do and then ask you to confirm it. Will prevent accidental mistakes.
Make account ID and beneficiary ID named required arguments instead of positional.

The new version needs confirmation before continuing, and shows a explicit message with which account is being deleted and which is beneficiary


Improve native WebAssembly compilation

We eventually want to support the wasm32-unknown-unknown target, but there's a few blockers here and there, such as all of the timing related APIs not working (std's Instant, the time crate and chrono). As long as these don't work, we could have stubbed out implementations for them (with some bindings to JS through cargo-web here and there). There might be a few other road blocks, but I think a basic implementation should work.

A recent upgrade of all the dependencies allowed us to get rid of all the polyfills except the one for chrono and the std::time stuff.

Rust now uses LLD to link native wasm code, reducing the stack size from 1 MiB to 64 KiB. That's quite a large drop, considering we are using 5 MiB with emscripten. So we should probably check if everything still works and there's no stack overflows happening.

Are we still blocked by the chrono PR?

Well we have everything stubbed out, but yes, the chrono PR doesn't seem to have progressed at all.

Time to funnel contributors to chrono:

This is now ready to be finished: https://github.com/chronotope/chrono/pull/236#issuecomment-379502004

That makes no sense. I don't see why you can't have target specific

It's just not implemented correctly in cargo to support this properly atm.

I'd really like to switch LiveSplit One over to the native wasm target (and potentially just throwing out the emscripten target for now). I've had to tell multiple people to just use the gh-pages branch to compile LiveSplit One, because setting up emscripten is just really annoying. So pushing for the native wasm target makes a ton of sense. It also should improve LiveSplit One's CPU utilization a bit (turning React into the bottleneck again).
So to push this further, we are really just blocked by chrono not really working out for us. We just can't disable the local feature selectively for the wasm target, because of the cargo bug. Therefore I'd like to just submit a PR to chrono that makes the wasm target have the same effect as disabling the local feature. The discussion about this is happening over here: https://github.com/chronotope/chrono/issues/243


[eastl] update to 3.21.12

[X] Changes comply with the maintainer guide
[X] SHA512s are updated for each updated download
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Thanks for the update and for fixing the CRLF patch!


feat: dynamic blocks in terraform (CLOUD-1123)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: jaspervdj-snyk:x: ricardo-snykYou have signed the CLA already but the status is still pending? Let us recheck it.


⚠ ClamAV has degraded performance

In f93d7bf, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 214 ms

Resolved: ClamAV performance has improved in 9844544.


resolve divio/django-cms#3725: move load jstree after cms js libs

resolve divio/django-cms#3725: move load jstree after cms js libs to fix jQuery undefined issue with 3rd party packages.

@FinalAngel does this look sane?

should be fine to me as the cms.xxx.js scripts do not yet interact with the jstree @yakky :+1:

Thanks @mobula!


Add further lombok information to developer guide

Lombok can cause duplicate classes.
I just posted the following to slack, which I think clarifies the situation.
I think we should extend our developer guide with this info:
If using IntelliJ, it’s important to ensure that Build, Execution, Deployment->Build Tools -> Maven -> IMportant ->Generated source folders is set to ‘Don’t detect’ to avoid issues with duplicate classes (due to our lombok usage combined with javadoc). This is now in our developer guide
However if this wasn’t set when your project was initially setup, you may find that ‘delombok’ directories are already present in IntelliJ’s source path for some modules, leading to errors with duplicate classes.
To check for any modules still refering to delombok you can run this at the command line, from your top level source tree:
find . -name '*.iml' | xargs -n50 grep -y delombok

If you find any hits such as:
./open-metadata-implementation/access-services/data-engine/data-engine-api/data-engine-api.iml:      <sourceFolder url="file://$MODULE_DIR$/target/delombok" isTestSource="false" />

then either remove those lines WITH INTELLIJ NOT RUNNING, or go into File->Project Structure->Modules, and remove ’target/delombok from the ‘Source Folders’ list
Explanation - In addition to importing importation on source files from maven, IntelliJ also tries to look for generated source. It finds the delombok directory causing duplicates — in fact we only use this directory for generating javadoc of lombok-enabled modules. Switching the setting/removing these source folders prevents duplicate classes.
For more info on the recent adding-back of lombok see https://github.com/odpi/egeria/pull/5216
Will create a PR of same...

Any additional comments @lpalashevski @alexandra-bucur ? does this make sense

I like the detailed explanation, lets put it into IngelliJ guide. I know I followed similar process so it will definately help for somone who already had environment before the lombok change.

done


Add variables to icon library

To support the potential for icon library swapping in Figma, improvements need to be made.

Add icon-size variable to height and width of all icons in the library
Replace Salt-current color style (gray-300) used by all icons to content-primary-foreground variable

This is an outcome of the semantic icon POC #3625

The following variables have been added to the icon library on each icon:

height: size-icon
width: size-icon
color: content-primary-foreground

The updates have been published.

Goal: S(3)
Published in Figma complete, will be released Wk1 of Zazu


Exception during conversion to L3

My query requires a download of 160Gb and 1556 products. After downloading the first 4 files, then it tries to covert to L3, during which it crashes with the following error:
`
Traceback (most recent call last):
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/file_manager.py", line 199, in _acquire_with_cache_info
file = self._cache[self._key]
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/lru_cache.py", line 53, in getitem
value = self._cache[key]
KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('/home/wrfchem/Desktop/s5p-tools/L2_data/L2__AER_AI/S5P_NRTI_L2__AER_AI_20210703T152705_20210703T153205_19284_01_010400_20210703T160645.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False))]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "s5p-request.py", line 411, in
num_workers=args.num_workers,
File "s5p-request.py", line 228, in main
for filename in L2_files_urls
File "s5p-request.py", line 228, in
for filename in L2_files_urls
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/api.py", line 500, in open_dataset
**kwargs,
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/netCDF4_.py", line 558, in open_dataset
autoclose=autoclose,
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/netCDF4_.py", line 380, in open
return cls(manager, group=group, mode=mode, lock=lock, autoclose=autoclose)
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/netCDF4_.py", line 328, in init
self.format = self.ds.data_model
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/netCDF4_.py", line 389, in ds
return self.acquire()
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/netCDF4.py", line 383, in _acquire
with self._manager.acquire_context(needs_lock) as root:
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/file_manager.py", line 187, in acquire_context
file, cached = self._acquire_with_cache_info(needs_lock)
File "/home/wrfchem/anaconda3/envs/Sentinel5P/lib/python3.7/site-packages/xarray/backends/file_manager.py", line 205, in _acquire_with_cache_info
file = self._opener(*self._args, **kwargs)
File "netCDF4/_netCDF4.pyx", line 2291, in netCDF4._netCDF4.Dataset.init
File "netCDF4/_netCDF4.pyx", line 1855, in netCDF4._netCDF4._ensure_nc_success
FileNotFoundError: [Errno 2] No such file or directory: b'/home/wrfchem/Desktop/s5p-tools/L2_data/L2__AER_AI/S5P_NRTI_L2__AER_AI_20210703T152705_20210703T153205_19284_01_010400_20210703T160645.nc'
`
Re-running the command then downloads another 4 files and then crashes again. Any idea what is wrong here please @bilelomrani1 ? I can't seem to be able to follow what's happening.
Is the downloading of just 4 files and then trying to covert to L3 normal behaviour? Or should it first download all the files first before converting to L3?
Thank you.

Is the downloading of just 4 files and then trying to covert to L3 normal behaviour? Or should it first download all the files first before converting to L3?

It is not a normal behaviour. As of right now, all L2 should be downloaded before starting the resampling. Looking at the traces, it looks like the script proceeds to access L2 files that failed to download. Can you post your query so that I can try to reproduce your issue?

Thank you for the reply @bilelomrani1
The command I'm using is:
python s5p-request.py L2__AER_AI --aoi newmap.geojson --qa 80 --num-workers 5
The geojson file is attached: newmap.geojson.zip
Thank you.

I updated the script, your command now works properly on my machine. Please tell me if it works fine on yours.

Thank you @bilelomrani1 . The new update works as expected.


mount: add support for OpenBSD

I have absolutely no idea why does CI fail as it shows it's fine.

Please sign your commits with git commit -s

Codecov Report

Merging #2712 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2712      +/-   ##
==========================================
- Coverage   43.57%   43.54%   -0.03%
==========================================
  Files         101      101
  Lines       10734    10734
==========================================
- Hits         4677     4674       -3
- Misses       5324     5326       +2
- Partials      733      734       +1

Flag
Coverage Δ

#linux
47.22% <ø> (+0.02%)
:arrow_up:

#windows
40.67% <ø> (-0.06%)
:arrow_down:

Impacted Files
Coverage Δ

gc/scheduler/scheduler.go
67.3% <0%> (-1.45%)
:arrow_down:

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 1a5f9a3...0828b7a. Read the comment docs.


[Performence]

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I tried to test a network and compared it with spconv.
The value of the network structure (in_channel, ot_channel) is (4,16)(16,32)(32,64)(64,128)(128,128)(128,256)(256,256)
The experimental data used has a total of 30,000 points, voxel size is 0.1, and batch is 1.
The inference phase of the entire network takes about 15ms. However, spconv with denser data runs in a time of2.6ms.
This makes me confused
Expected Behavior
No response
Environment
- GCC:9.4.0
- NVCC:11.8
- PyTorch:2.0.0+cu118
- PyTorch CUDA:11.8
- TorchSparse:2.1.0

Anything else?
No response

I encountered similar problem.
The network is as follows：
subm_sparse_conv3d -> subm_sparse_conv3d(block) -> nonsubm_sparse_conv3d -> subm_sparse_conv3d(block) -> nonsubm_sparse_conv3d -> subm_sparse_conv3d(block) -> nonsubm_sparse_conv3d -> subm_sparse_conv3d(block) -> nonsubm_sparse_conv3d.

The network code:
class SubmSpConvBlock(nn.Module):
    def __init__(
        self, in_channels, out_channels, kernel_size, stride, padding, dilation, bias
    ):
        super().__init__()
        self.sp1 = spnn.Conv3d(
            in_channels=in_channels,
            out_channels=out_channels,
            kernel_size=kernel_size,
            stride=stride,
            padding=padding,
            dilation=dilation,
            bias=bias,
            transposed=False,
            generative=False,
            config=None,
        )
        self.sp2 = spnn.Conv3d(
            in_channels=in_channels,
            out_channels=out_channels,
            kernel_size=kernel_size,
            stride=stride,
            padding=padding,
            dilation=dilation,
            bias=bias,
            transposed=False,
            generative=False,
            config=None,
        )
        self.sp3 = spnn.Conv3d(
            in_channels=in_channels,
            out_channels=out_channels,
            kernel_size=kernel_size,
            stride=stride,
            padding=padding,
            dilation=dilation,
            bias=bias,
            transposed=False,
            generative=False,
            config=None,
        )
        self.sp4 = spnn.Conv3d(
            in_channels=in_channels,
            out_channels=out_channels,
            kernel_size=kernel_size,
            stride=stride,
            padding=padding,
            dilation=dilation,
            bias=bias,
            transposed=False,
            generative=False,
            config=None,
        )

    def forward(self, x: SparseTensor):
        y = x + self.sp2(F.relu(self.sp1(x)))
        y = F.relu(y)
        y = y + self.sp4(F.relu(self.sp3(y)))
        return F.relu(y)

class SparseModelTest(nn.Module):
    def __init__(self):
        super().__init__()
        # TODO(wilber): tune config.
        self.sparse_head = nn.Sequential(
            spnn.Conv3d(
                in_channels=5,
                out_channels=16,
                kernel_size=(3, 3, 3),
                stride=(1, 1, 1),
                padding=(1, 1, 1),
                dilation=1,
                bias=True,
                transposed=False,
                generative=False,
                config=None,
            ),
            spnn.ReLU(),
        )
        self.block1 = SubmSpConvBlock(16, 16, 3, 1, 1, 1, True)
        self.sp1 = spnn.Conv3d(
            in_channels=16,
            out_channels=32,
            kernel_size=(3, 3, 3),
            stride=(2, 2, 2),
            padding=(1, 1, 1),
            dilation=(1, 1, 1),
            bias=True,
            transposed=False,
            generative=False,
            config=None,
        )
        self.block2 = SubmSpConvBlock(32, 32, 3, 1, 1, 1, True)
        self.sp2 = spnn.Conv3d(
            in_channels=32,
            out_channels=64,
            kernel_size=(3, 3, 3),
            stride=(2, 2, 2),
            padding=(1, 1, 1),
            dilation=(1, 1, 1),
            bias=True,
            transposed=False,
            generative=False,
            config=None,
        )
        self.block3 = SubmSpConvBlock(64, 64, 3, 1, 1, 1, True)
        self.sp3 = spnn.Conv3d(
            in_channels=64,
            out_channels=128,
            kernel_size=(3, 3, 3),
            stride=(2, 2, 2),
            padding=(1, 1, 1),
            dilation=(1, 1, 1),
            bias=True,
            transposed=False,
            generative=False,
            config=None,
        )
        self.block4 = SubmSpConvBlock(128, 128, 3, 1, 1, 1, True)
        self.sp4 = spnn.Conv3d(
            in_channels=128,
            out_channels=128,
            kernel_size=(3, 1, 1),
            stride=(2, 1, 1),
            padding=(0, 0, 0),
            dilation=(1, 1, 1),
            bias=True,
            transposed=False,
            generative=False,
            config=None,
        )

    def forward(self, x: SparseTensor):
        x = self.sparse_head(x)
        x = self.block1(x)
        x = F.relu(self.sp1(x))
        x = self.block2(x)
        x = F.relu(self.sp2(x))
        x = self.block3(x)
        x = F.relu(self.sp3(x))
        x = self.block4(x)
        x = F.relu(self.sp4(x))
        return x

perf (us)

layer
libspconv
torchsparse++

subm sparse_conv3d
597us
897us

subm block1
1020.68
1056.772

nonsubm sparse_conv3d
1618.38
1627.844

subm block2
2294.10
4908.721

nonsubm sparse_conv3d
1842.90
1790.951

subm block3
2285.87
5470.211

nonsubm sparse_conv3d
1160.93
1401.474

subm block4
3441.92
5821.803

nonsubm sparse_conv3d
757.03
515.016

The e2e time, libspconv is 15ms, but torchsparse++ is 24ms(I tried tune, but no effect). There is a big gap between the performance and the description in the paper.
Environment
- NVCC: 11.8
- PyTorch: 2.1.0+cu118
- TorchSparse commit id: afa2e3ba4be657a51f9112c8744592758ac06935

Hi @jiweibo , could you please provide more information about your benchmark setting? For example, what is the GPU you have used? What is the coordinate distribution of your input data? And how did you measure the speed? Since your observations are not consistent with the experimental results on our machines.
Therefore, we kindly request you provide more details about your benchmarking, and a snippet code would be appreciated, so that we can investigate the problem together! Thanks!

Hi @jiweibo , could you please provide more information about your benchmark setting? For example, what is the GPU you have used? What is the coordinate distribution of your input data? And how did you measure the speed? Since your observations are not consistent with the experimental results on our machines.
Therefore, we kindly request you provide more details about your benchmarking, and a snippet code would be appreciated, so that we can investigate the problem together! Thanks!

Okay, the existing system is written in C++, I will write a python  test and provide it, thanks.


Fix parsing of CREATE EXTERNAL TABLE statement

The last column was accidentally not added. Fixed the corresponding test, too.

Good catch!


connectivity: don't use an ephemeral port for the echo server

as otherwise replies to traffic SNATed with that same source port will get rejected by the HostPort service

External workloads workflow is failing due to #2070. All other workflows passed, merging.


Create a sample webring from planet.mozilla.org

Scraping the planet website/feed gives us a ready collection of mozilla-related URLs.

Initial commit with this data was in b1836bc58ed9b0ff7f02ac543aa750bf0b04a4d5, I just (manually) scraped from the "subscriptions" section on planet.mozilla.org, and fixed up some bad entries and atom/xml urls in ee71e8ac5c5fdb50b03d0298d84d1851ba0b5625.


[WIP] PR: Add build for Window installer with extra packages

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

TODO

[x] Create executable for Spyder + extra packages
[x] Fix issue with the PYTHONPATH
[x] Fix issue with the pyls and black throwing a DistributionNotFound error
[x] Use external-deps in PR builds Use spyder-kernels from external-deps for PRs
[ ] Jedi issue about invalid interpreter (needs patch version of Jedi CompiledSubprocess)
[ ] Improve version definition
[x] Use Uppercase name in the installer (spyder -> Spyder)

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

I need to check how to do it (maybe the external packages option could be handy for this use case too). Should I do that in this PR too @ccordoba12 ?

Yes, I think it's a good idea to do it in this PR.

@dalthviz, is this one ready?

@ccordoba12 I haven't tested the artifacts generated otherwise I think this is done :+1:

Ok, please let me know when you have.

Checking the installers being build, now there is an issue with black (independly of the use of the the installation of the pyls from the external-deps dir or the wheel). Not totally sure why is happening but this is the traceback I'm getting:
python Response error: {
'code': -32602,
'message': "pkg_resources.DistributionNotFound: The 'black>=19.3b0' distribution was not found and is required by the application",
'data': {'traceback': [
'  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pyls_jsonrpc\\endpoint.py", line 113, in consume\n
    self._handle_request(message[\'id\'], message[\'method\'], message.get(\'params\'))\n',
'  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pyls_jsonrpc\\endpoint.py", line 182, in _handle_request\n
    handler_result = handler(params)\n',
 '  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pyls_jsonrpc\\dispatchers.py", line 23, in handler\n
    return method(**(params or {}))\n',
 '  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pyls\\python_ls.py", line 209, in m_initialize\n
    processId, _kwargs.get(\'capabilities\', {}))\n',
'  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pyls\\config\\config.py", line 53, in __init__\n
    entry_point.load()\n',
'  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pkg_resources\\__init__.py", line 2446, in load\n
    self.require(*args, **kwargs)\n',
 '  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pkg_resources\\__init__.py", line 2469, in require\n
    items = working_set.resolve(reqs, env, installer, extras=self.extras)\n',
'  File "C:\\Users\\Daniel\\AppData\\Local\\spyder\\pkgs\\pkg_resources\\__init__.py", line 770, in resolve\n
    raise DistributionNotFound(req, requirers)\n']}}

After fixing the issue with black, now a error from jedi appears jedi.api.environment.InvalidPythonEnvironment: Could not get version information for 'C:\\Users\\Daniel\\AppData\\Local\\spyder\\Python\\python.exe': InternalError("The subprocess C:\\Users\\Daniel\\AppData\\Local\\spyder\\Python\\python.exe has crashed (EOFError('Ran out of input'), stderr=).")

Hello @dalthviz! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file installers/Windows/installer.py:

Line 161:11: E271 multiple spaces after keyword


Broken apib

https://github.com/keboola/storage-api-php-client/blob/7d2caf69b87e37b7bc2f87a6fcaf93782eb87f37/apiary.apib#L996

It was fixed sometimes ago


[Request] Add tortoisegit

Please add tortoisegit

https://github.com/lukesampson/scoop/issues/2665
Other buckets have this. Tho it have some issues:
First the TortoiseGit did not get the correct git.exe path refering to, global install, C:\ProgramData\scoop\shims causing a error. Changeing path to to C:\ProgramData\scoop\apps\git solves that issue
The second issue was the context menu (right click menu) integration it self. It did not get applied at all and i have not find a good bypass to add it post installation.

Four repos already have the latest version. See
https://rasa.github.io/scoop-directory/search?q=Tortoisegit

Having no official version of it also isn't scalable: I have no idea which one of these is of acceptable quality, and no guarantee the maintainer will keep it up to date.

There is a problem with tortoisegit provided by the third-party bucket. For win11, you cannot add a right click, but you can install it using winget. When will the official website improve the installation of this software?


🪲Az CLI Login failed. Please check the credentials and make sure az is installed on the runner.

Describe the bug
Unable to run the GitHub Actions workflow
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Cloned repository
Created the workflow in GitHub
Ran the workflow as a workflow_dispatch trigger

A clear and concise description of what you expected to happen without this bug 🙂
Screenshots 📷

If applicable, add screenshots to help explain your problem. Please feel free to blur/cover any sensitive information.
Correlation ID
A correlation ID really helps us investigate your issue further. Please provide one if possible. Details on how to find a correlation ID can be found here: Correlation ID and support
Additional context
GitHub Secret:
AZURE_CREDENTIALS
{
"appId": "redacted",
"displayName": "redacted",
"password": "redactd",
"tenant": "redacted"
}
Relevant workflow file content
name: ALZ GitHub Actions deployment pipeline
on: [workflow_dispatch]
env:
ManagementGroupPrefix: "alz07"
TopLevelManagementGroupDisplayName: "Azure Landing Zones"
Location: "centralus"
LoggingSubId: redacted
LoggingResourceGroupName: "alz-logging-rgp-01"
HubNetworkSubId: redacted
HubNetworkResourceGroupName: "alz-network-hub-rgp-01"
RoleAssignmentManagementGroupId: "alz07-platform"
SpokeNetworkSubId: redacted
SpokeNetworkResourceGroupName: "spoke-networking-rgp-01"
runNumber: ${{ github.run_number }}
jobs:
bicep_tenant_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
fetch-depth: 0
  - name: Azure Login
    uses: azure/login@v1
    with:
      creds: '${{ secrets.AZURE_CREDENTIALS }}'

Hey @autocloudarc,
Looks like your secret content isn't correct.
Checkout this guidance and example for what it should look like https://github.com/marketplace/actions/azure-login#configure-a-service-principal-with-a-secret
Let us know
Thanks
Jack

Hi @jtracey93. Thank you! Yes, that was it. Got past the authentication issue now.


Test scripts refactoring.

Fixes #131.

@keradus FYI

I really dislike the idea of that shell scripts. Keep the logic extra simple - action to install deps is odd... it should not handle global env variables like composer flags or checks, they should be used only on travis level. and they are on master branch.
big :+1: for moving external scripts from gist to repo
big :-1: for creating shell scripts to things like composer install :(

@keradus Addressed your concern. PTAL

tonight

please move all .sh scripts to composer scripts, it should be a lot cleaner

@keradus PTAL Do you also remove check_styles.sh?

ant build fails in circleci because phpmd is not there. It will go away with #138, so it's fine.
Interestingly, the dynamic installation of phpmd is failing on travis, which is weird. Looking.

@keradus Addressed your comments. Never mind circleci failure, it will be fixed with #138. PTAL

Do you also want to remove check_styles.sh?

Please do so, it will be easier to keep all commands as composer commands ;) since you want to check CS locally too!

@keradus
Ok, so I'm going to move them back to composer.json. In that case, having check_styles.sh is very handy because I can use it locally too.

please wait few minutes for that.

I just pushed a new commit, which includes both calling check_styles.sh, and other cs related tools individually, just for discussion.
I slightly prefer having check_styles.sh, but I'm OK without it. What do you think?

https://github.com/satooshi/php-coveralls/pull/141

@keradus PTAL

@keradus
Alright, I stopped installing SCA tools everytime. Also now you can run the composer script locally with globally installed SCA tools by setting SCA_COMPOSER_DIR.
PTAL

Also I asked @satooshi and he configured the threshold to 1% :)

Nah, neither of enabling xdebug, or using newer php-code-coverage doesn't fix the too low the code coverage. Reverting those changes now.

I forgot to remove the shell. PTAL
Just an idea: How about to have a sca subdirectory with a independent composer.json with the SCA tools, then we can call those tools from there?

Wait, why not just install with --no-dev for the normal build, and only update with --dev for SCA? Let me try that.

Nah, autoloader!

@keradus
Sorry about the flood of changes. Now I'm using devtools subdirectory for devops.
The following just works either locally, or on travis (hopefully anywhere):
$ composer install-devtools
$ composer sca
$ composer apigen
$ env BOX_BIN=${HOME}/.composer/vendor/bin/box composer box

Can you take another look?

@keradus
Thanks for the review! Can you take another look?

@keradus PTAL

I will need a deeper look into it

I ignored things inside scripts dir.
Everything else :+1:

@keradus
Thanks for the review! I will ask @satooshi for any licensing concerns and will merge then.

licensing concerns

?

licensing concerns

Well, what if one of the scripts in gist was originally copied from a GPL licensed code? It's conflicting with our current license.

of that scripts?
Actually I was willing to open discussion to remove all of that... scripts. But I wanted to do it after this will be merged to get benefits of all other changes of this PR sooner.
But wery well.
Please, remove all that scripts! Why the hell do we need them? I see them useless.

In my understanding,

checkstyle.php shows detailed errors from phpcs
junit.php shows profiling info for test execution
pmd.php shows details of violations found by phpmd

They are optional, but handy for quick debugging just with the travis UI.

Each of that tools has its own reporting output ;)

@keradus Kinda agree. I just removed all of them and changed the output of SCA tools to STDOUT.

I will merge this once it's all green :)
@keradus Thanks for your review!

I just removed all of them and changed the output of SCA tools to STDOUT.

Where is the output then?
https://travis-ci.org/satooshi/php-coveralls/jobs/95936548#L266

Where is the output then?

If there are no.violations, no outputs.

OK, I was looking for any output (even sth like No violations found ;) )


glcanvas?

Perhaps a gl canvas?

If you mean uiArea with OpenGL backend - uiGLArea - it's possible on Linux/GTK and Windows, but what about macOS?

oh, there already is

i mean, there seems to be means for cocoa to make a gl context from a search.

it's discouraged, but it's still supported
https://www.quora.com/How-do-I-set-up-OpenGL-on-a-Mac

Perhaps a gl canvas?

Hi @blk750, definitely. Please see old PR by @mischnic for uiOpenGLArea

Do you have any ideas on how to bring that old PR back to life, @cody271 ?
Assuming it's "low on conflicts" (which perhaps is an optimistic assumption), do you think that the only thing pending would be to add unit tests, or do you know if there's still any important issue/limitation/missing feature?

Do you have any ideas on how to bring that old PR back to life, @cody271 ?

Unfortunately, adding a proper 3D area control is a lot of work still yet to be done..
First of all, starting with the existing PR, my original comment there (from 2018) is still valid:
the Unix backend would have to be entirely rewritten to use the builtin Gtk control, instead of the X11 only re-implementation there. Otherwise you break Wayland desktops. (And probably breaks the new Gtk hardware accelerated control rendering pipeline as well..)
But that's really the least of our problems, sadly in those five years the state of cross platform 3D graphics has gotten quite complicated: exposing the native OpenGL support of each platform is simply no longer viable. Darwin no longer supports it, native OpenGL on Ventura is quite broken! DirectX on Windows has significantly better performance and consistency than OpenGL. Native OpenGL is effectively Unix only at this point in time. Even on Unix, Vulkan drivers are quickly becoming the better option.
The correct solution is to integrate with a 3D graphics API wrapper, instead of OpenGL directly:
ANGLE for simple 3D graphics, and maybe WebGPU for the more complex use cases.

I think OpenGL still has a future on the Mac, because of the number of apps which still use it, and I think that they fixed the broken status you mention in the last Ventura update. Anyway, I fully agree that it's too risky to 100% depend on OpenGL these days, because OS vendors are doing constant changes to everything and you never know what's going to be the recommended API tomorrow.
Said this, and precisely because of the volatility of graphics APIs these days, I've been thinking twice and now I believe that the best in graphics is to not reinvent the wheel: For example, SDL2 is written in C, and has great support for all the major graphics APIs and OS windowing systems. Also, because they have a lot of contributors, and because it's used for lots of games (and non-games too), when a vendor breaks an API, the SDL2 developers are of the first ones to notice, and to provide a working solution. I remember I took a look at how they started the Android port, and they even had device-specific bugfixes (I mean brand and model-specific). For achieving such a degree of support and response to problems, you need a lot of developers contributing.
So, now I tend to believe that the best option would be to enable libui-ng to run in a special mode where the app instance and the main window, and the app initialization are done by SDL2, and then libui-ng would create the GUI in dialog windows only (and in the app menu bar), but never adding widgets nor panels to the main window.
Some minimalist libs for native dialogs (like this) allow to do this with SDL2 apps.
As a plus, you get very desirable stuff for free: multiplatform audio playback, HiDPI support for the app (perhaps helping close this), multitouch gestures (zoom/pan/rotate/etc) for the graphics canvas, and quite possible more things I'm forgetting now. Not to mention that SDL2 supports iOS and Android, which could help add support to mobile devices in the future, if so desired. Trying to rival all these things from libui-ng wouldn't be realistic, because the size of the developer team would need to be as big as SDL's.
Anyway, for making libui-ng capable of integrating with SDL2, these requirements should be met:

In order to avoid making libui-ng depend on SDL2, the support for this mode should be configurable at compile time: if you don't need a graphics canvas, you don't need to have SDL2 installed.
An special initialization mode in which it doesn't initialize app stuff and main window stuff which has been already initialized by SDL. Open question: Would it be required to modify SDL so that it can give you a pointer to the app instance, or to the main window instance? (I hope not, the native dialogs libs I said doesn't seem to need that).
A setting (if necessary) for libui-ng dialog windows so that they are guaranteed to stay always on top of the main window created by SDL (I don't know if this is necessary or not).
SDL apps work by polling the event queue (by the way, there's now a new SDL2 function call that makes the polling in a sleeping way, thus removing the CPU stress that this polling can cause in games). So, the app event loop should perhaps send back to the OS the app events that don't belong to the graphics canvas, so that the UI is not blocked (I say "perhaps", because again, I'm not sure if this point is necessary either).

I truly think that, for graphics canvas in libui-ng, this would be the most desired approach.

Would GLCanvas have support for 2D hardware acceleration in addition to 3D hardware acceleration?
I received an issue request on my Glimmer DSL for LibUI Ruby GUI library about rendering ~2999 area shapes being slow:
https://github.com/AndyObtiva/glimmer-dsl-libui/issues/55
It is a node graph app with about a thousand nodes and a thousand edges.

On my Mac Intel 2.6GHz 6-core Core i7, I noticed that it takes about 3 seconds to re-render all the nodes on every change (like when pressing the Refresh Nodes button). The only thing that is changing is the node/edge colors in my personally written sample to reproduce the problem. But, I assume the reporter of the issue might be interested in general updates to node/edge locations too too.
How do we speed up the rendering of thousands of shapes in an area (beyond 3 seconds)? Is GLCanvas the answer or should I re-report this in a different issue?

Would GLCanvas have support for 2D hardware acceleration in addition to 3D hardware acceleration?

uiDrawContext calls already use hardware accelerated 2D rendering by default on most platforms.

How do we speed up the rendering of thousands of shapes in an area (beyond 3 seconds)? Is GLCanvas the answer or should I re-report this in a different issue?

The overhead of a Ruby FFI bindings call is orders of magnitude slower than native code. This overhead isn't noticeable most of the time, as the number of FFI calls per second for typical uiControl usage patterns is quite low.
But where this approach will simply be way too slow is for complex graphics rendering loops.
(Hundreds or even thousands of FFI calls per second!)

uiDrawContext calls already use hardware accelerated 2D rendering by default on most platforms.

Thank you for the clarification. Is uiDrawContext the same thing as uiArea in general or different? uiArea is what we're using.
@kojix2 I just saw uiDrawContext in ui.h, but I didn't see it in the last released version I have of the Ruby LibUI binding, and it might be different from uiArea. Is this a new feature that didn't make it into the Ruby LibUI binding yet?

Yes, same thing.
uiArea is the control type, uiDrawContext is the rendering engine wrapper to CoreGraphics / Cairo / Direct2D.

@kou measured the time required to call a C function from Ruby with FFI and native C extension and concluded that FFI consumes about 10 to 100 times longer.

I would suggest a native C extension just for the uiDraw calls, the rest of the bindings for controls can stay FFI.


Update to LESS v2

+1

I've done the work to update to LESS v2.  It required an update to the metalsmith version as well.
I'm not very familiar with sourcemaps, but the tests pass.  Let me know if you think this is pull request ready.
https://github.com/thedustinsmith/metalsmith-less


Fixes grid alleles being out of sync on update

Finally fixes #21

 Evo: Fix genotype grid showing the initial state if its only checked after all hares are dead


add readme for contributing snippets

Hi @hyu @SurbhiSGupta @nicksieger,
could you please review the following changes:

adds a Readme, explaining how to contribute a snippet
reference Readme in snippet library

I specifically did not include tags and release_stage in the template, since they are currently only for internal usage.
@SurbhiSGupta I also included an example design for adding a contributor's handle to a snippet. I'm 0% committed to the design, though. Interested to hear your suggestions!

@SurbhiSGupta I aligned the contributor and permalink like this. Wdyt?

A minor point -- I noticed we have a chain-link icon elsewhere when hovering over a heading to point to a fragment in a page. Should we use that instead of "Permalink"?

A minor point -- I noticed we have a chain-link icon elsewhere when hovering over a heading to point to a fragment in a page. Should we use that instead of "Permalink"?

Ha! @SurbhiSGupta and myself were discussing this exact topic yesterday! Seems good to keep things consistent, I just assumed you made a conscious design decision to put in the permalink so it stands out. cc'ing @hyu into this convo to see what they think.
The chainlink thingie is done via CSS afaics https://github.com/tilt-dev/tilt.build/blob/master/src/_sass/docs.scss#L323


[Bug] ui white screen

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
UI (apache/skywalking-booster-ui)
What happened
When I use "npm run dev" to start the UI, there is a white screen, and the interface "http://localhost:3000/graphql" shows an error message: "Validation error of type FieldUndefined: Field 'getMenuItems' in type 'Query' is undefined @ 'getMenuItems'".
oap server  is normal.

What you expected to happen
I hope you can help me solve this problem.
How to reproduce
git clone https://github.com/apache/skywalking-booster-ui.git
npm install
npm run dev
Anything else
No response
Are you willing to submit a pull request to fix on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

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

Please debug first. This usually means, your oap server is not booted successfully.

If you use latest, you should know the codes and details.
Otherwise, use the release versions.

ui 我使用的是master分支,oap 同样是master分支,oapserver我认为是正常的，因为我debug断点进入到了com.linecorp.armeria.server.graphql.DefaultGraphqlService#executeGraphql

Ui I use the master branch, oap is also the master branch, oapserver I think is normal, because I debug breakpoint into the com.linecorp.armeria.server.graphql.DefaultGraphqlService#executeGraphql

Use English on Github please. CN channel is in the slack.
And we don't provide debug and dev support from basic. Sorry. We can't afford that.

Okay, I'll try 9.7.0 again.


Add potential thread leak fix

This PR changes the lifecycle of LocalAudioTrackExecutor such that it is completely disposed of when the track ends. This appears to resolve a suspected race condition that causes a thread and memory leak.
I am still testing these changes.

Closing this, as I realised that I created a duplicate.


Circle is not showing up in my svg but Line works perfectly fine

svg.append("svg")
            .attr({
                x: totalWidth*57,
                y:totalHeight*20,
            }).attr("id", "progressBar1")
            .attr("height", totalHeight*2);

progressBar = new ProgressBar.Circle('#progressBar1', {
                strokeWidth: 6,
                easing: 'bounce',
                duration: 700,
                trailColor: '#eee',
                trailWidth: 1,
                svgStyle: {width: '%100', display: "block"},
                color: '#bdc9e1',
                from: {color: '#bdc9e1', a:0},
                to: {color: '#045a8d', a:1},
                step: (state, bar) => {
                bar.path.setAttribute('stroke', state.color);
            }
        })

progressBar.animate(1.0);

When I inspect it the svg is actually there, but not displaying in the screen. Kindly let me know if I am doing it wrong.
Thank you.

Could you provide a reproducable example as JSFIddle? You can fork this JSFiddle: http://jsfiddle.net/kimmobrunfeldt/8xa87k31/392/.

Closing due to inactivity.


Feature - Table component with title

Added the table component with title.
Also I added a dark theme for the table too as I found every other component had a dark theme associated with it.
I would love to get your feedback on the changes.

Hm, I'm not too sure if this is needed @Aniket1026.
If someone wanted to add that title and button combination, they could easily do that themselves. Maybe the thing to do here is to expand the /application-ui/headers collection and add that header component in, what do you think?

Hm, I'm not too sure if this is needed @Aniket1026.
If someone wanted to add that title and button combination, they could easily do that themselves. Maybe the thing to do here is to expand the /application-ui/headers collection and add that header component in, what do you think?

Yeahhh seems reasonable to me , header component may suit better but could you give me an idea what are you expecting as a header component maybe like just remove the table and have the rest as a header component or something more than what have i described as a header?


Remove redundant clang '-target' flag from Unix Toolchain

This is a port of the change to the C++ Driver from apple/swift#34978 to Swift.
All the tests in this repo passed with this pull when run on linux x86_64. I don't know if this Driver is periodically run against the upstream testsuite, in which case the upstream pull will have to be merged first.
@cltnschlosser, this pull invalidates much of #370, maybe you can repurpose that by reworking the tests and adding the Android sanitizer change.

Okay, I’ll close that PR for now

@swift-ci please test

I don't know if this Driver is periodically run against the upstream testsuite, in which case the upstream pull will have to be merged first.

Yes, we track the upstream test suite failures, albeit somewhat informally. The upstream change should go in first.

Actually, thinking about it some more, this Swift Driver currently fails the tests in the upstream pull, as this Driver doesn't have the logic from #370, so this pull won't change those test results. If however, you don't want to change the behavior of passing the -target flag twice without first changing it upstream in the C++ driver, even though that is a mistake, you'd have to still wait for the upstream pull.

The upstream pull was just merged. Note that if you merge this before the 5.4 branch, this repo's 5.4 branch and the upstream C++ driver will not do the same for this flag. I don't think that matters since the clang flag we're removing is currently ignored both upstream and here, but just letting you know.

@swift-ci please test

@swift-ci please test

Alright, release/5.4 was forked, this should be good to go into trunk, as it gets this driver to match the trunk C++ driver.

Alright, release/5.4 was forked, this should be good to go into trunk, as it gets this driver to match the trunk C++ driver.

@swift-ci please test

@swift-ci please test


Feat/overdue task

Issue:
Added overdue tab to filter out overdue task.
Dev Tested:

[* ] Yes

https://github.com/Real-Dev-Squad/website-status/assets/55151241/ab734e90-61d8-4ec9-ac6e-b06c28c09db9

when you passed the assignee: , I see if there are no overdue tasks of the said person, all the overdue tasks are returned. Is this the desired behavior?

linked the issue ticket in description

I just seen video you create all these task in database??

when you passed the assignee: , I see if there are no overdue tasks of the said person, all the overdue tasks are returned. Is this the desired behavior?

+1


Upgrade to molecule version 3.x

Molecule 3.x has been out for some time, and I'll guess most users will install one of the later versions.

@CVi This project seems abandoned. Is that correct? Some PRs have been lying around for a long time....
Maybe we should continue over at the fork that seems "most" alive: https://github.com/neilschelly/ansible_thanos
@neilschelly WDYT?


KDE PartitionManager SMART reporting does not work

Describe the bug
Whenever launching kdePackages.partitionmanager from the terminal, the following errors are outputed on the unstable channel for every storage/swap device:
"Device found: Samsung SSD 980 500GB"
smartctl initialization failed for  "/dev/nvme0n1" :  No such file or directory
error during smart output parsing for  "/dev/nvme0n1" :  No such file or directory
"Device found: WDC WD30EZRZ-22Z5HB0"
smartctl initialization failed for  "/dev/sda" :  No such file or directory
error during smart output parsing for  "/dev/sda" :  No such file or directory
"Device found: ST3000DM008-2DM166"
smartctl initialization failed for  "/dev/sdb" :  No such file or directory
error during smart output parsing for  "/dev/sdb" :  No such file or directory

Steps To Reproduce
Steps to reproduce the behavior:

Install kdePackages.partitionmanager
Run the program
Try to view SMART report in the GUI

Expected behavior
For the program to be able to use smartctl to provide a report as intended.
Additional context
Running smartctl by itself without sudo gives the following error:
Smartctl open device: /dev/sdc failed: Permission denied

May be related or not?
Notify maintainers
@peterhoeg @oxalica

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[hurricane@TheCloutPCNix:~/nixpkgs/pkgs/applications/kde/partitionmanager]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.9, NixOS, 24.11 (Vicuna), 24.11pre652902.693bc46d169f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

Are you using the module? (programs.partition-manager.enable)

Are you using the module? (programs.partition-manager.enable)

I switched to the module, and I am still receive the same error.

Can you start a shell with parted and post the output of parted -l (as root)?

Model: ATA WDC WD30EZRZ-22Z (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  3001GB  3001GB  ext4

Model: ATA ST3000DM008-2DM1 (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 3      1049kB  3001GB  3001GB  ext4         Brug

Model: ATA SATA SSD (scsi)
Disk /dev/sdc: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  538MB  537MB  fat32              boot, esp
 2      538MB   256GB  256GB  btrfs

Model: ATA CT2000MX500SSD1 (scsi)
Disk /dev/sdd: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2000GB  2000GB  btrfs

Model: Samsung SSD 980 500GB (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  538MB  537MB  fat32              boot, esp
 2      538MB   500GB  500GB  btrfs

Model: Unknown (unknown)
Disk /dev/zram0: 16.8GB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number  Start  End     Size    File system     Flags
 1      0.00B  16.8GB  16.8GB  linux-swap(v1)


Add unit tests

This is a draft pull request to add unit tests leveraging the cmocka library for the allocateMemoryBasedOnInputAndMaxLearningValues function.
Currently, the CI fails because allocateMemoryBasedOnInputAndMaxLearningValues has a bug: if the file from which it tries to read the number of lines has a really long line, then it reports a wrong number of lines. Also, it counts one line less than there actually are in the file. Is that intentional?

Ok, I think I've got this PR into a relatively satisfactory state (from my POV at least :wink:).
Most of the changes are just related to the addition of CMocka as the unit testing framework and a relatively simple test, that illustrates some of the more advanced mocking features and should provide some guidance for later tests. The only notable change outside of the test directory is that I moved tests/settings.json to conf/settings.json as I've added the option to completely omit the generation of the tests for now (thus cmocka is not required to build phoeβe, only as a test dependency).

I am super happy to see this patch in shape. :)
Once again, thanks for your effort here, truly appreciated!


remove table_schema from where clause

If the table schema is not hardcoded, the tables of other schemas are also considered. Per default, a schema named after the user is the preferred schema.
Partly fixes  #635

Closing as proposed here


Add multiselect in *ngFor loop.

I want to add multiselect dropdowns in ngFor loop.
How to give dynamic function names to the (onSelect), (onAddFilterNewItem) etc function ?
Below is the code for reference:

Select Types: *
 <angular2-multiselect [data]="m.itemList" [(ngModel)]="m.selectedItems" [settings]="settings"  ``(onSelect)="onItemSelect{{m.divName}}($event)" (onDeSelect)="onItemDeSelect{{m.divName}}
($event)" (onSelectAll)="onSelectAll{{m.divName}}($event)" ``(onDeSelectAll)="onDeSelectAll{{m.divName}}($event)"  (onAddFilterNewItem)="onAddItem{{m.divName}}($event)" name="item{{m.planId}}" ``#item="ngModel"></angular2-multiselect>

the above code gives error:
ERROR Error: Uncaught (in promise): Error: Template parse errors:
Parser Error: Got interpolation ({{}}) where expression was expected at column 12 in [onItemSelect{{m.divName}}($event)] in ng:///DietitianModule/MealPlanComponent.html@71:22 ("elect [data]="m.itemList" [(ngModel)]="m.selectedItems" [settings]="settings"
ERROR ->="onItemSelect{{m.divName}}($event)" (onDeSelect)="onItemDeSelect{{m.divName}}($event)"
"): ng:///DietitianModule/MealPlanComponent.html@71:22

@aditivai Refer to example @ https://cuppalabs.github.io/angular2-multiselect-dropdown/#/usingInList


Getting_notifications_when_a_task_completes.ipynb does not render successfully

Describe the bug
The "Getting_notifications_when_a_task_completes.ipynb" in folder "/examples/braket_features/Getting_notifications_when_a_task_completes" does not load the the github preview
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/aws/amazon-braket-examples/tree/main/examples/braket_features/Getting_notifications_when_a_task_completes
Click on 'Getting_notifications_when_a_task_completes.ipynb'
See error "An error occurred"

Expected behavior
The notebook preview should display
Screenshots
If applicable, add screenshots to help explain your problem.

Getting_notifications_when_a_task_completes.ipynb's last commit was one year ago. I tried viewing commit (the source version) on GitHub, and it is running into the same issue.
Validated that the Getting_notifications_when_a_task_completes.ipynb render noramlly locally and in console. This looks to be a Github hosting issue.

This is likely related to #3555

Looks like it is the same issue as https://github.com/jupyter/notebook/issues/3555 (which also has no resolution) so I'm closing this now


RC fixes

Remove extra claim_list_mine call that wasn't needed
Added the NEW badge for unread subscribed content to all pages of the app
Fixed html files in dark mode

Is this using my code for fixing the dark mode issue?

@NetOperatorWibby I made some small changes to make it look ok, I'll make sure it uses the same changes as your new branch.


Remove use of resourceState from storage functions

This field is no longer available in firebase-functions v1, see https://github.com/firebase/firebase-functions/issues/255#issuecomment-392989275

Fixed!

Thanks!!


Micronaut backend implementation

Hi,
There is an implementation of the realworld backend with Micronaut, it is ready and passed all tests.
The repository is here: https://github.com/alexey-lapin/realworld-backend-micronaut
Thanks

Hi @alexey-lapin ,
I immediately though of Micronaut when I stumbled on this project! glad that you worked on it.. do you know why your PR is not being merged?

Hi @tamershahin! No, I don't know. I assume that real-world repo is in low activity mode as there are lots of PRs which are not being merged.

it's sad!


Can I hide the Natural Language Prompt and TIPO?

After the update, boxes for Natural Language Prompt and TIPO have been added between the prompt and the negative prompt. However, since I don't use them, the screen feels crowded and hard to read. Is there a setting to hide these?

I will try to implement some layout selection.

implemented.


Markes without snippet and label.

When i try show infowindow, i be using the method:

(BOOL)mapView:(GMSMapView *)mapView didTapMarker:(GMSMarker *)marker {
_mapView.selectedMarker = marker;
return YES;
}

But this not show nothing.
In debug i can add the title label and snippet, like imagem below:

But when method mapView:didTapMarker is called, this receive a marker only position, without the title and snippet, like image below:

How can show Infowindow?

Thank you very much.
Thanks to you I took a task about The map.

I'm confused. I don't believe there is a cluster manager in this code base.

I've faced the same issue. But luckily I managed to create a workaround:
Your marker must have property userData set to the object you want the represent with GMSMarker (for example, Spot), therefore your protocol method marker for the Spot should look smth like this:
- (GMSMarker *)marker {
    GMSMarker *marker = [GMSMarker markerWithPosition:self.coordinates];
    marker.title = self.name;
    marker.userData = self;
    return marker;
}

Since userData doesn't (somehow) become nil, you can extract the object from it and set its name to the marker:
- (BOOL)mapView:(GMSMapView *)mapView didTapMarker:(GMSMarker *)marker {
    Spot* mySpot = marker.userData;
    marker.title = mySpot.name;
    [self.googleMapView setSelectedMarker:marker];
    return YES;
}

That's all! Hope that helps


Run a few mac tests only on arm.

Note: some benchmarks will require to be rebaselined.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

The benchmarks are probably already differentiated by host platform, so the effect of this PR I believe will just be that we no longer get data for the intel hosted versions.

The benchmarks are probably already differentiated by host platform, so the effect of this PR I believe will just be that we no longer get data for the intel hosted versions.

Awesome, thanks!


SBJson (ARC) on iOS 4.3

When trying to run my app using latest SBJson build (including ARC) on iPhone 4.3 Simulator the application crashes on runtime with the following message and stops inside the init of SBJsonParser (line:41@SBJsonParser.h):
dyld: lazy symbol binding failed: Symbol not found: _objc_storeStrong
Referenced from: [...]
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Foundation.framework/Foundation

Any idea what went wrong?

iOS 4.3 doesn't support ARC. Stick with 3.0.4.

ARC is supported on iOS 4. Only weak references are not supported on iOS 4...
From Apple Developer Docs:

ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.

http://developer.apple.com/library/ios/releasenotes/ObjectiveC/RN-TransitioningToARC/_index.html#//apple_ref/doc/uid/TP40011226-CH1-DontLinkElementID_1

ARC is supported on iOS 4. Only weak references are not supported on iOS 4...
From Apple Developer Docs:

ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.

http://developer.apple.com/library/ios/releasenotes/ObjectiveC/RN-TransitioningToARC/_index.html#//apple_ref/doc/uid/TP40011226-CH1-DontLinkElementID_1

Hmmm... I’d consider a patch that changes to use strong references, if this makes it build on iOS 4.
--
Sent from my iPhone
On 1 Dec 2011, at 17:33, Felix<EMAIL_ADDRESS>wrote:

ARC is supported on iOS 4. Only weak references are not supported on iOS 4...
From Apple Developer Docs:

ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.

http://developer.apple.com/library/ios/releasenotes/ObjectiveC/RN-TransitioningToARC/_index.html#//apple_ref/doc/uid/TP40011226-CH1-DontLinkElementID_1

Reply to this email directly or view it on GitHub:
https://github.com/stig/json-framework/issues/111#issuecomment-2972761

Add -fobjc-arc to your Other Linker Flags in Build Settings

Really? Is that all it takes? I'll try this when I get a chance!
--
Sent from my iPhone
On 17 Jan 2012, at 09:05<EMAIL_ADDRESS>wrote:

Add -fobjc-arc to your Other Linker Flags in Build Settings

Reply to this email directly or view it on GitHub:
https://github.com/stig/json-framework/issues/111#issuecomment-3521369

Is there any source for this quote? Im really interested in this part.


disable convergence engine

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

we need to provide better commit messages explaining why we're doing stuff like this, its impossible to review something properly if you don't understand the intention behind the change.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

HI Paul, Niraj,
I updated the PR and description. Please review. Thanks.

ok to test


replace strings.Title to cases.Title

strings.Title is Deprecated, because the rule Title uses for word boundaries does not handle Unicode

NGTM

func TestString_Camel(t *testing.T) {
	ret := From("ThisCamel").ToCamel()
	assert.Equal(t, "ThisCamel", ret)
}

=== RUN   TestString_Camel
string_test.go:46:
Error Trace:	/tools/goctl/util/stringx/string_test.go:46
Error:      	Not equal:
expected: "ThisCamel"
actual  : "Thiscamel"
    	            	Diff:
    	            	--- Expected
    	            	+++ Actual
    	            	@@ -1 +1 @@
    	            	-ThisCamel
    	            	+Thiscamel
    	Test:       	TestString_Camel

--- FAIL: TestString_Camel (0.00s)
Expected :ThisCamel
Actual   :Thiscamel


Print out component name when requirements check connection fails

Codecov Report

Merging #1162 into master will decrease coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1162      +/-   ##
==========================================
- Coverage   93.73%   93.48%   -0.25%
==========================================
  Files          39       39
  Lines        4261     4328      +67
  Branches      466      737     +271
==========================================
+ Hits         3994     4046      +52
+ Misses        267      266       -1
- Partials        0       16      +16

Impacted Files
Coverage Δ

browser/model/devstudio-autoinstall.js
97.29% <0%> (-2.71%)
:arrow_down:

browser/model/helpers/downloader.js
96.13% <0%> (-1.66%)
:arrow_down:

browser/pages/account/controller.js
84.76% <0%> (-1.33%)
:arrow_down:

browser/model/jbossfusekaraf.js
95.09% <0%> (-0.83%)
:arrow_down:

browser/pages/confirm/controller.js
87.59% <0%> (-0.78%)
:arrow_down:

browser/model/cdk.js
99.28% <0%> (-0.72%)
:arrow_down:

browser/pages/install/controller.js
87.79% <0%> (-0.59%)
:arrow_down:

browser/services/data.js
82.24% <0%> (-0.52%)
:arrow_down:

browser/model/installable-item.js
93.81% <0%> (-0.35%)
:arrow_down:

browser/services/platform.js
98.85% <0%> (-0.34%)
:arrow_down:

... and 15 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 d79a72b...e5639ed. Read the comment docs.

test this


Add some more tests

This pull request will fail to pass Travis, that's because it's introducing tests for currently broken code paths which should be resolved.
I've filed individual github issue for those.

Leaving this unmerged per discussion.

Should be unblocked now.


ADAL Wrapper

ADAL classes are all sealed - can't be mockable.

Microsoft.IdentityModel.Clients.ActiveDirectory

Done


Guard batch job.

More lazily import easyocr.

On a test instance, I was getting "UnboundLocalError: local variable 'batchJob' referenced before assignment"

This also has some minor changes to the tox file to skip testing python 3.6 AND to not use the --pre flag -- the --pre flag was useful when large_image had development features that hadn't been released; it is no longer useful and has the drawback it tries to pull down preliminary versions of things like numpy.


Avoid importing tf_routes

We can copy the functions necessary from tf_routes dircetly to transformato

Codecov Report

Merging #118 (2837e3c) into master (b366c3d) will increase coverage by 0.64%.
The diff coverage is 77.30%.

:exclamation: Current head 2837e3c differs from pull request most recent head 0ae8a43. Consider uploading reports for the commit 0ae8a43 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files


Is it possible to use offloading to load a percentage of the model to cpu?

Trying to get LLaMa 30B 4bit quantized to run with 12GB of vram and I'm hitting OOM since the model is a bit more than 16gb
Is it possible to use offloading to load a percentage of the model to cpu using GPTQ?

python llama_inference_offload.py /output/path --wbits 4 --load llama7b-4bit.pt --text "this is llama" --pre_layer 16
You can offloading it using the following command, but it is very slow.

yes just saw your comment on https://github.com/oobabooga/text-generation-webui/issues/177
do you think that there is any current tech to make it faster? can this be combined with flexgen?

@ye7iaserag yes, please! can you change the title for this to "GPTQ+flexgen" ?
It is something to wonder about, In the future maybe we can run 1.4T models in 4bit with flexgen, or could we already run OPT175B model using flexgen with only 4gb vram and 50gb ram in GPTQ 4bit mode?

Sure I can, but I do not think that's possible... I think it has to be one of the 2

It may be possible, but there is no plan to support it at the moment.


Use PROVIDERS_MODULES

Providers are currently configured in generated projects using a somewhat inelegant call to discover_providers() in app.py.
from bocadillo import App, discover_providers

app = App()
discover_providers("myproject.providerconf")

Bocadillo v0.17 will introduce the PROVIDERS_MODULES setting, see https://github.com/bocadilloproject/bocadillo/pull/303.
We should update the CLI to use it instead:
# settings.py
PROVIDERS_MODULES = ["myproject.providerconf"]

 Bocadillo CLI v0.3


Rclone : Failed to configure drive: unexpected end of JSON input

Hi everyone,
I got an issue when I tried to mount my Google Drive remote on my server (Ubuntu 14.04 64 bits).
I can see my remote with rclone config but cannot mount it.
Name
Enc_Plex  (crypt)
Gdrive_Plex  (drive)
Tried different version of rclone (v1.36/v1.38/v1.39) but still the same error message :

sudo rclone mount -vv --allow-other --allow-non-empty Enc_Plex: /mnt/Enc/

2018/02/13 22:22:11 DEBUG : rclone: Version "v1.36" starting with parameters ["rclone" "mount" "-vv" "--allow-other" "--allow-non-empty" "Enc_Plex:" "/mnt/Enc/"]
2018/02/13 22:22:11 Failed to configure drive: unexpected end of JSON input
by the way, I took my rclone.conf from my first server (Debian Jessie with rclone v1.36, that works well) and drop it on /home/user/.config/rclone/
Does someone have some clues ?
Maybe something wrong with the token ?
Thanks !

2018/02/13 22:22:11 Failed to configure drive: unexpected end of JSON input

That suggests that the token is incorrect in the .rclone.conf.  It is supposed to be valid JSON and that message says it isn't.
Check the config and see whether it looks OK.

Hi,
Thanks for the quick answer.
I think there is a problem with the token too, but I gave my rclone.conf to my friend and he can mount my google Drive remote... (with the same token)

alright...
Just tried with another option and it works fine !

rclone mount Enc_Plex: /mnt/Enc/ --allow-other --no-modtime &

Thanks for your time ! :)


feature two months in one modal + multi select

Demo img:
http://imgur.com/zGA1kZ1
Working feature (in jquery ui date picker, develop by me :point_up: )
https://www.turismocity.com.ar

As requested in #96?

Unforunately, this feature requires significant rewrite and is not within the scope of this project.
Thanks for the idea, however 👍

Any luck on this @chmln

@javeedrahman use showMonths: 2 for multi-month view


Qt version does not display video

hi,
I built the Qt6 version successfully, but it only shows black
(OpenGL Version renders the video fine.)

macOS 13.5.2
Qt installed via homebrew

Also cmd-q does not quit the app

Hi, I checked a fix for this into the "main" branch. If you have a chance try syncing to the latest and rebuilding, you will also need to reset the settings. To reset the settings from the command line:
tlplay-qt -resetSettings
To reset the settings from the UI check out the attached screenshot; open the settings panel and click the "Default Settings" button. You will then need to restart the application.

I'm not sure what's going on with the quit command, it seems to work OK in Qt5. I wonder if it has to do with starting a UI application from the command line.


currency converting issue in get_balance_sheet_statement [BUG]

Hi ,
When calling get_balance_sheet_statement(), when the setting is quaterly. there are some error
companies = ft.Toolkit(["TSM"], api_key=API_KEY, start_date="1990-12-31", quarterly=True)
companies.get_balance_sheet_statement()
IndexingError: Too many indexers
It's working when Quaterly=False.
Would be great if it could be fixed😊. Thanks a lot!

Hi! This is an issue only if you provide one ticker, you can resolve this by adding an additional ticker. Alternatively, set convert_currency=False. I'll fix this issue this week.

This issue has been fixed in v1.8.2, please upgrade.


409 error

Starting a new node on fresh vm.
Tailing the logs returns 409
chainpoint-node_1  | 2017-09-19T20:17:06.788122497Z Retrieving Node calendar most recent block info
chainpoint-node_1  | 2017-09-19T20:17:06.794014349Z Node calendar height = 27999
chainpoint-node_1  | 2017-09-19T20:17:06.841532421Z An error has occurred on startup: Error: Invalid response : 409 : 409 - {"code":"InvalidArgument","message":"invalid request, toHeight must be a positive integer"}
chainpoint-node_1  | 2017-09-19T20:17:06.851913240Z error Command failed with exit code 1.
chainpointnode_chainpoint-node_1 exited with code 1

An error has occurred on startup: Error: Invalid response : 409

same here. looks like something went wrong on the last commit of code at the core (?)

Same here, only affecting new nodes installed per instructions.

Having the same problem on all my nodes, if you do a make down and a make up; This will start to happen.

Same me.
to Height must be a positive integer"}

This issue should be resolved. Please upgrade to the latest version of the Node sofware as described in the FAQ page of the Wiki on this repo.


Make content nullable so that we won't pass even empty lambda

Also - no inline for HTML API

This merged as f10eb96


SWARM-589 introduce simple Arquillian CommandService impl.

Can one of the admins verify this patch?

test this please

ok to test


APs of YOLOv3 pretrained models drop over 0.9 after updating to v2.7 and some other detectors drop 0.1

Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
In MMDetection v2.7, the APs of pre-trained models of YOLOv3 drop significantly. For YOLOv3-320, the AP falls from 27.9 to 27.0; YOLOv3-416, the AP falls from 30.9 to 29.8; YOLOv3-608, 33.4 -> 32.3.
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.270
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.469
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.278
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.101
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.290
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.426
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.355
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.355
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.355
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.154
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.374
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.536
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.298
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.502
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.313
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.136
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.321
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.438
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.386
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.386
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.386
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.189
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.410
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.549
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.323
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.535
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.344
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.184
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.351
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.426
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.414
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.414
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.414
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.244
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.436
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.544
For fcos_r50_caffe_fpn_gn-head_4x4_1x_coco.py, the AP drops from 36.6 to 36.5 and the same issue can be found with other detectors like Mask RCNN.
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.365
Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.556
Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.388
Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.206
Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.401
Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.474
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.526
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.526
Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.526
Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.318
Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.570
Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.670
Reproduction

What command or script did you run?

python tools/test.py configs/yolo/yolov3_d53_320_273e_coco.py  checkpoints/yolov3/yolov3_d53_320_273e_coco-421362b6.pth --eval bbox

python tools/test.py configs/yolo/yolov3_d53_mstrain-416_273e_coco.py  checkpoints/yolov3/yolov3_d53_mstrain-416_273e_coco-2b60fcd9.pth --eval bbox

python tools/test.py configs/yolo/yolov3_d53_mstrain-608_273e_coco.py  checkpoints/yolov3/yolov3_d53_mstrain-608_273e_coco-139f5633.pth --eval bbox

python tools/test.py configs/fcos/fcos_r50_caffe_fpn_gn-head_4x4_1x_coco.py  checkpoints/fcos/fcos_r50_caffe_fpn_gn-head_4x4_1x_coco/fcos_r50_caffe_fpn_gn_1x_4gpu_20200218-7831950c.pth --eval bbox

Did you make any modifications on the code or config? Did you understand what you have modified?
NO

What dataset did you use?
COCO

Environment

Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.

sys.platform: linux
Python: 3.7.5 (default, Oct 25 2019, 15:51:11) [GCC 7.3.0]
CUDA available: True
GPU 0: GeForce GTX 1080
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.1, V10.1.243
GCC: gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
PyTorch: 1.6.0
PyTorch compiling details: PyTorch built with:

GCC 7.3

C++ Version: 201402

Intel(R) Math Kernel Library Version 2019.0.4 Product Build 20190411 for Intel(R) 64 architecture applications

Intel(R) MKL-DNN v1.5.0 (Git Hash e2ac1fac44c5078ca927cb9b90e1b3066a0b2ed0)

OpenMP 201511 (a.k.a. OpenMP 4.5)

NNPACK is enabled

CPU capability usage: AVX2

CUDA Runtime 10.1

NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37

CuDNN 7.6.3

Magma 2.5.2

Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.7.0
OpenCV: 4.2.0
MMCV: 1.1.5
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMDetection: 2.7.0+2983c05
Bug fix
I think the bug might be related to evaluation code as the AP drop happens to many detectors.

Thanks for reporting the issue. We will check that.

In the regression benchmark, the performance of YOLO indeed dropped. We will check this issue in January.

In the regression benchmark, the performance of YOLO indeed dropped. We will check this issue in January.


Attributes with a hyphen do not reflect to LitElement property

<a-thing with-property="Foo"></a-thing> with a property withProperty within class AThing extends LitElement does not reflect in the withProperty property.
Expected:
withProperty has value "Foo"
Actual:
withProperty is null
Glitch: Code, Demo

From this comment it seems like this was intentional: https://github.com/kenchris/lit-element/issues/15#issuecomment-343948801

We elected not to support this automatic dash to camel case conversion from PolymerElement in LitElement because it was generally non-platform-y. Instead, lowercase attributes are automatically mapped to the correctly cased property which is what the platform itself does for properties like tabIndex.
This behavior can be customized by importing camelToDashCase from Polymer implementing
static attributeNameForProperty(property) {
  return camelToDashCase(property);
}

so, if I name a property with the name my_name or myName or MyName .... how do I reflect that to the attribute: my-name ?

@mustafaekim There is no need to reflect it... if you really need to you can set attribute yourself manually via setAttribute. There is no automatic attribute reflection in LitElement.

OK, reflaction may not be a good idea, I am not sure. However I want to re-ask the same question like, I want to initialize my lit-element with some value set via attributes. for instance: <my-element my-name="Mustafa"> and I want the property myName, MyNAme or my_name to be set accordingly. Where is the link between those?

You can observe the attributes using static get observedAttributes() {return [ "my-name"]}
Then update the properties in
attributeChangedCallback(name, oldValue, newValue) {
  this[name] = newValue;
}

LitElement is about as vanilla as it gets, it is not trying to invent anything already present in the platform. It just adds a few things missing. There are even spec proposals like Template Instantiation, making lit-html even smaller - and making all of this just a tiny bit of convenience.
This is the future of Polymer as well, removing as much of the custom stuff as possible, and what turned out to not make sense, and just use the platform as much as possible, now that it is actually possible to do so.
Expect a lot of the "magic" from Polymer not to be present in LitElement, like reflection, computed values etc

OK thanks, I like the direction, just a little bit confused about the APIs

@mustafaekim From my usage experience, <my-element myName="Mustafa"> works fine with property myName. But the attributes won't actually appear in the DOM.

@ernsheong true, but for sharable components you most likely want to support attributes as well.

This codes works in lit-element 2.0.1:
import camel2Dash from '../lib/camel2Dash'
class MyElement extends LitElement {
  public static _attributeNameForProperty(name, options) {
    return super._attributeNameForProperty(camel2Dash(name), options)
  }
  // ...

camel2Dash method (typescript):
export default (v: string): string => {
  let ret = ''
  let prevLowercase = false

  for (const s of v) {

    const isUppercase = s.toUpperCase() === s
    if (isUppercase && prevLowercase) {
      ret += '-'
    }

    ret += s
    prevLowercase = !isUppercase
  }

  return ret.replace(/-+/g, '-').toLowerCase()
}

here is the method implementation from the lit-element source code: https://github.com/Polymer/lit-element/blob/master/src/lib/updating-element.ts#L360

Doesn't JavaScript already do kebab-case conversion for things like z-index? I'm not sure spec-wise what difference there is between attribute values (and if this is specifically just for element.styles) and attribute keys.
I'm also thinking actually the hyphenated attribute data-* creates its own DOMStringMap which is reflected on the element.dataset property. Further hyphens are converted to camelCase:
<my-element data-some-attr="foo"></my-element>

element.dataset.someAttr

I think this is somewhat of an outlier since data- doesn't map exactly to element.data.*, but would it be too much to reflect hyphenated properties to a DOMStringMap and camelCase after the first instance of the hyphen?
class MyElement extends LitElement {

    static get properties() {
        return {
            foo: { type: DOMStringMap },
        };
    }

    connectedCallback() {
        super().connectedCallback();
        this.foo.barBaz;  // baz

        // or perhaps a simple Map which doesn't require any conversion.
        this.foo.get('baz-bar'); // bar
    }

    render() {
        return html`<my-element foo-bar-baz="foo" foo-baz-bar="buzz"></my-element>`
    }
}

We elected not to support this automatic dash to camel case conversion from PolymerElement in LitElement because it was generally non-platform-y. Instead, lowercase attributes are automatically mapped to the correctly cased property which is what the platform itself does for properties like tabIndex.
This behavior can be customized by importing camelToDashCase from Polymer implementing
static attributeNameForProperty(property) {
  return camelToDashCase(property);
}

Can this decision still be challenged? This fundamentally limits the cross-compatibility with other frameworks like Vue.js which is kind of a bad thing for a web-component-focused framework, isn't it?


Add generation settings metadata to file

It would be nice if the image output could add the model used, background clip depth, etc.

I totally agree, it would be nice if someone could add this feature. Sadly, I won't have time to get to this anytime soon, I am busy with other things right now.

Duplicate of https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/280


how to detect the there is a opened nerdtree tab ?

i want to know this because of this issue(https://github.com/Shougo/unite.vim/issues/343)
thanks !

This is still an issue. I am experiencing the same. Any thoughts?

You can use exists("b:NERDTree") to determine if NERDTree is in the active window.


Remove NavigationServerDummy warnings

Removes NavigationServerDummy warnings.
Godot does not spam dummy warnings for anything else in the engine that uses a dummy implementation when certain features are disabled. The console is quiet with a Godot minimalist build while the NavigationServer is all spammy about it.
You only get those warnings and dummies when you use a build with disabled navigation module which you need to create deliberately so it is not as if you disabled them by accident. Those dummy warnings have no real informational value as it really only matters to know when the dummy fails to load as an error.

Thanks!


SMTPSenderrefused

Hello everybody,
I tried to install zulip for my team.
I followed the instruction on the main page on zulip.
And at the end of this tutorial I have a problem, when i was on my url :
https://<IP_ADDRESS>/register/
And i entered my email and when i clicked on sign up, I have this:
500: Internal server error.
Well oops. This one's probably our fault. Sorry about that! Updates on service availability are posted to @ZulipStatus on Twitter.
If you'd like, you can drop us a line to let us know what happened.
So i watched my console and I have this log:
2015-10-01 04:22:45,561 ERROR    Internal Server Error: /register/
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/zulip/deployments/2015-09-30-11-42-43/zerver/views/init.py", line 843, in accounts_home
send_registration_completion_email(email, request)
File "/home/zulip/deployments/2015-09-30-11-42-43/zerver/views/init.py", line 829, in send_registration_completion_email
additional_context=context)
File "/home/zulip/deployments/2015-09-30-11-42-43/confirmation/models.py", line 95, in send_confirmation
send_mail(subject, body, settings.DEFAULT_FROM_EMAIL, [email_address])
File "/usr/lib/python2.7/dist-packages/django/core/mail/init.py", line 62, in send_mail
return mail.send()
File "/usr/lib/python2.7/dist-packages/django/core/mail/message.py", line 303, in send
return self.get_connection(fail_silently).send_messages([self])
File "/usr/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 107, in send_messages
sent = self._send(message)
File "/usr/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 123, in _send
self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\r\n'))
File "/usr/lib/python2.7/smtplib.py", line 731, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
SMTPSenderRefused: (530, '5.5.1 Authentication Required. Learn more at\n5.5.1  https://support.google.com/mail/answer/14257 mc20sm1906922wic.16 - gsmtp'<EMAIL_ADDRESS>Any suggestions ?
Thanks in advance

@ced12 Did you edit /etc/zulip/zulip-secrets.conf and add the password? Here is the correct syntax to be placed at the bottom of the file:
email_password = password
email_host_password = password

Also for gmail accounts in particular, you may need to configure "less secure" mode to send outgoing email.  See these docs for notes on what you need to do to use a gmail account:
https://github.com/zulip/zulip/blob/master/zproject/local_settings_template.py#L51


[IOTDB-2764] Refine the consensus layer framework and add examples

Improve the example of using consensus layer
Define ByteBufferConsensusRequest to allow the deserialization pushed down into the state machine, which is beneficial to avoid forwarding several rounds of multiple deserialization overhead.

Coverage increased (+0.03%) to 65.472% when pulling 57c2b22943d858f449cf180e31002ad5b2b97728 on consensus into dc38c7adc183f854eb52010bd09180badc6a708b on master.


Refactor theme colors for recent_view.

This PR refactor all the theme colors used in recent_view.css and dark_theme.css.

Note:

Screenshots in before column are taken from main branch.

Screenshots and screen captures:

Before
After

.recent_view_participant_overflow
.recent_view_participant_overflow

.button-recent-filters
.button-recent-filters

.button-recent-filters:focus
.button-recent-filters:focus

.button-recent-selected
.button-recent-selected

.button-recent-selected.fake_disabled_button
.button-recent-selected.fake_disabled_button

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

@amanagr can you review as recent view maintainer?

There are still color classes remaining in dark_theme.css for recent view. Search for recent_view.

I have updated the PR; however, I could not find any element matching #recent_view_table table td, and I don’t believe it exists. Additionally, #recent_view_loading_messages_indicator & path exists only in dark_theme.css and is not present in recent_view.css.

Can you specify your motivation for this change?

Initially, I made these changes due to a miscommunication. Later, we decided to retain them. You can find more context here

Okay, can you extract the changes that are not being used into a separate commit?

Looks good to me otherwise, I tested manually that all the colors are correctly migrated.

Okay, can you extract the css classes that are not being used into a separate commit?

Done.

Looks good to me. Thanks!

Merged, thanks @sanchi-t and @amanagr!


Review omer

verify() now returns a boolean. This will probably need changes in the frontend as well as backend tests.
verify() call after complete_sig() can be removed from the backend as it is integrated now.

One more commit is missing (point validation), but that won't need any changes in frontend nor backend.

This PR is now part of https://github.com/nash-io/nash-rust/pull/17


disable dates from mysql

I have a table called dates and another called time, I want to use them to fill the disable [] array, how to do so?

@elieobeid7 I am trying to do something like you mention, more or less. Thumbs up.


Radios crash dive when ble and wifi both connected and streaming data (IDFGH-7068)

Development Kit: [N/A] Custom board
Kit version : [N/A]
Module or chip used: [ESP32-WROVER v3]
IDF version : V4.3.1
Build System: [idf.py]
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2021r1) 8.4.0
Operating System: [UBUNTU LTS]
environment type: [ESP Command Prompt].
Using an IDE?: [No]
Power Supply: [External 5v]
Description of issue
Ble is configured as GATT server, connected and streaming data, both via notifications and polled reads.
Wifi is configured as AP, connected to WAN and streaming data in a socket.
Neither stream is near tx limit, ble maybe about 50% of expected bandwith, wifi well below.
Streams on both interfaces stop abruptly when the topmost error appears, in other words this isn't a GATT timeout.
Expected Behavior
BLE and Wifi should remain connected, streaming data.
Log
W (1306494) BT_HCI: DiscCmpl evt: hdl=0, rsn=0x1f
W (1306494) ct5_ble: ESP_GATTS_DISCONNECT_EVT, reason = 31 ini_disc=0
W (1306504) ct5_ble: gatts_profile_event_handler Changing state from BLE_CONNECTED to BLE_ORPHANED
I (1306504) ct5_ble: Set name to VS Orphan<PHONE_NUMBER>:20
W (1306514) ct5_ble: start_advertising Changing state from BLE_ORPHANED to BLE_ADVERTISING_ORPHANED
W (1306524) BT_BTM: BTM_BleWriteScanRsp, Partial data write into ADV
I (1306544) ct5_ble: advertising start [A8:03:2A:30:FA:A2]
I (1308194) processSample: Last time 100 Current time AVE 100.000000 max 45800 min 0
bcn_timout,ap_probe_send_startI
(1310124) ct5_wifi: Unhandled wifi event 21
pm stop, total sleep time: 970358907 us /<PHONE_NUMBER> us
W (1312634) ct5_wifi: WIFI_EVENT_STA_DISCONNECTED expected = 0 reason = 200
E (1312644) ct5_wifi: Restarting Wifi

@bill1davis Hi, thanks for your report.
Just to confirme at first, according to your log, the part below seems came from a station instead of AP. Did you configure your ESP32 as STA mode?
(1310124) ct5_wifi: Unhandled wifi event 21 pm stop, total sleep time: 970358907 us /<PHONE_NUMBER> us
W (1312634) ct5_wifi: WIFI_EVENT_STA_DISCONNECTED expected = 0 reason = 200
If you configured it with STA mode, it would be appreciated if you could provide us with your reproducible project, which we may need to reproduce your problm, otherwise it actually did happen and the part AP/APSTA with BLE is in progress. We would finish it as soon as possible.

@Espressif-liuuuu I created a simulation of our app with no proprietary code in it with ble and wifi streaming sinks other than our android app and the code ran for days without a single radio issue.  Something is going on on the android side I guess.  Closing.


Update control_eeg.py

Silent error, the effect of which is inability to set yRange through settings.

Thank you for the fix!


where did group go?

oh, sorry, for version 3 I removed a trimmed down core pull-stream, removing stuff that i didn't seem to use.
I have just republished it as pull-group for you.

sweet thanks I'll give it a try. keep up the amazing work and thanks for the quick reply.

no problem!
On Wed, Mar 2, 2016 at 12:19 PM, David Weinstein<EMAIL_ADDRESS>wrote:

sweet thanks I'll give it a try. keep up the amazing work and thanks for
the quick reply.
—
Reply to this email directly or view it on GitHub
https://github.com/dominictarr/pull-stream/issues/38#issuecomment-190958352
.


assertion error

File "/content/YOLOX/tools/train.py", line 115, in
assert num_gpu <= torch.cuda.device_count()
AssertionError

code here not using torch any more? What's your backend? Pytorch  or MegEngine?

using it on google colab

Seems you are using Pytorch version code, please report your issue in another repo, Thx

did you solved it?]


Isolate Error from Implicitly_animated_list

Hello, i'm using your plugin since early this year. but i found an error, it happened in chat list and i think that because of implicitly_animated_list plugin. and error appeared if i have 39+ items in chat list.
This is the error from my console log :
E/flutter ( 5273): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Invalid argument(s): Illegal argument in isolate message: (object extends NativeWrapper - Library:'dart:io' Class: _RandomAccessFileOpsImpl@13069316) E/flutter ( 5273): #0      Isolate._spawnFunction (dart:isolate-patch/isolate_patch.dart:395:25) E/flutter ( 5273): #1      Isolate.spawn (dart:isolate-patch/isolate_patch.dart:375:7) E/flutter ( 5273): #2      compute package:flutter/…/foundation/_isolates_io.dart:22 E/flutter ( 5273): #3      MyersDiff.diff package:implicitly_animated_reorderable_list/…/diff/myers_diff.dart:47 E/flutter ( 5273): #4      MyersDiff.withCallback package:implicitly_animated_reorderable_list/…/diff/myers_diff.dart:24
and this is my UI with 39+ items in list, when i refresh the ui / set state, the error will appear.

Thanks before :)

Have you resolved the issue by any change?

not yet, hope they'll fix this issue ASAP

Have you resolved the issue by any change?