The file is not displayed in the text editor because it is a directory.

Type: Bug
to fix you need to add in your navegator the index.php
http://localhost/dashboard/myproject/index.php
(index)꞉38:9:379 before
index.php꞉38:9:237 after
Please Fix This..
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz (4 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.85GB (2.45GB free)

Process Argv
--crash-reporter-id fe8c5d68-a9ef-4ecd-ad67-0d68fefb6d7b

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

format-selection-as-html
adr
2.3.0

html-whitespace-eliminator-toggle
inf
0.0.8

vscode-html-format
moh
0.1.2

php-debug
xde
1.34.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30880073
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
89544117:30613380
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
synctok:30869157
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2:30871582
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30885897
pythontbext0:30879054
dsvsc016cf:30886111
dsvsc017cf:30886113
dsvsc018:30886114
aa_t_chat:30882232

/needsMoreInfo
Please describe how exactly it's related to VS Code editor itself and clear steps to reproduce (link to localhost does not allow to reproduce).
Otherwise error looks logical if you try to open folder innstead of file

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

I debugged my project using Chrome and naturally the best help is to show where the error in the code is, which is accessed by clicking on the warnings and errors (index.php꞉38:9:237)
The problem is that when starting a project the extension is not automatically placed in vs
Example with resolved result: dashboard/myproject/index.php (the extension (index.php) must be, in the debuggable browser url for it to work = index.php꞉38:9:237)
Bugged example: when accessing debug in vs and the url looks like this: dashboard/myproject/
The result in vs in the console is = (index)꞉38:9:379
Clicking shows the error mentioned above and not show the error.
(The file is not displayed in the text editor because it is a directory)

I debugged my project using Chrome and naturally the best help is to show where the error in the code is, which is accessed by clicking on the warnings and errors (index.php꞉38:9:237)
The problem is that when starting a project the extension is not automatically placed in vs
Example with resolved result: dashboard/myproject/index.php (the extension (index.php) must be, in the debuggable browser url for it to work = index.php꞉38:9:237)
Bugged example: when accessing debug in vs and the url looks like this: dashboard/myproject/
The result in vs in the console is = (index)꞉38:9:379
Clicking shows the error mentioned above and not show the error.
(The file is not displayed in the text editor because it is a directory)

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

Type: Bug
to fix you need to add in your navegator the index.php
http://localhost/dashboard/myproject/index.php
(index)꞉38:9:379 before
index.php꞉38:9:237 after
Please Fix This..
VS Code version: Code 1.84.2 (1a5daa3, 2023-11-09T10:51:52.184Z) OS version: Windows_NT x64 10.0.19045 Modes:
System Info
Extensions (4)
A/B Experiments

/needsMoreInfo
Please describe how exactly it's related to VS Code editor itself and clear steps to reproduce (link to localhost does not allow to reproduce).
Otherwise error looks logical if you try to open folder innstead of file

I debugged my project using Chrome and naturally the best help is to show where the error in the code is, which is accessed by clicking on the warnings and errors (index.php꞉38:9:237)
The problem is that when starting a project the extension is not automatically placed in vs
Example with resolved result: dashboard/myproject/index.php (the extension (index.php) must be, in the debuggable browser url for it to work = index.php꞉38:9:237)
Bugged example: when accessing debug in vs and the url looks like this: dashboard/myproject/
The result in vs in the console is = (index)꞉38:9:379
Clicking shows the error mentioned above and not show the error.
(The file is not displayed in the text editor because it is a directory)

Hey @Tyriar, this issue might need further attention.
@srcrook, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

@lramos15
That is correct. Other files are acting like this, but I haven't been able to figure out a pattern: e.g., some files named index.html misbehave ... but another in a different folder may not).
The only additional details I can offer are:

This misbehavior only seems to happen in a Trusted directory. When opened as an untrusted folder, the misbehavior goes away.
The network locations are the working folder for a content management system — but I have not found any way in that application's web interface to toggle between "treat like a file" or "treat like a directory, even though it's totally a directory".

Oh so in this case you're connected to some sort of NAS? I'm not sure what I'm following about you saying the search engine also treats it as a directory?

@lramos15
We only store it on the NAS as a staging area to put a copy on our public site.
Once there, a certain Alphabetical Search Engine company has found it and is treating it as a fictitious directory to crawl:

So both Google and VS Code are saying it's a directory? Does that mean there is a file problem and not a VS Code problem?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


add cluster-id

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

Why not keeping the generation-at-deployment pattern, as for the DCA-Agent token? Especially as UUID v4 is pure random.


Create jupyter-lab-student and jupyter-lab-professor directories with Dockerfiles and base class Dockerfiles off of JLS

Create jupyter-lab-student directory with Dockerfile, Makefile, and config.env to make a base image
Update jupyter-lab-professor directory with Dockerfile and complete Poetry configuration for an image
Use JLS images, which now have the extension and eduhelx-utils already installed, as the new base for class images which need the extension

do we not need, or is there already, a makefile for JLP extension? similar to the one in this PR for JLS

do we not need, or is there already, a makefile for JLP extension? similar to the one in this PR for JLS

There is one already in develop, @ptlharit2


ADD: Make form button alignment configurable

Hello,
as discussed in #799, here the new version of it. Now only left, center and right is possible and I used the (long?) config key filament.layout.forms.actions.alignment as suggested.
Since justify-end wasn't in the css yet, I had to recompile filament. Not sure if this was the right way to do it.

Thank you!


Road Following script giving error 'Tensor' object has no attribute 'ndim'

Hi,
I am running cell 3 in roadfollowing.ipnb, and get the following error: 'Tensor' object has no attribute 'ndim'
I have torch version 1.1.0 installed.  I am not sure how to get past this error.

Sorry, I see this was resolved in another thread.


Drag All Over The Screen Not Only Left Or Right Side

Hey!,
I Face Issue, I Integrate Walkthrough But The pages not only move left or right but also moves from upside or down side in short i can move all the Image to all over the screen,
Please See the Screen shot:

Please follow #86


Class Mixins don't work with static properties.

Example on FlowType Try
The following code errors (note attempt at both static function styles):
declare class Validatable {
  static validate(propertyName: string, validatorFn: (err: Function) => void, options?: Object): void;
  static validate2: (propertyName: string, validatorFn: (err: Function) => void, options?: Object) => void;
};

declare class Relatable {
  static belongsTo: (modelTo: string, opts: {as: string, foreignKey: string}) => void;
};

declare export class Model mixins Validatable, Relatable {}

// 'validate' not found in statics of Model
Model.validate('foo', function() {});
// 'validate2' not found in statics of Model
Model.validate2('foo', function() {});
// 'belongsTo' not found in statics of Model
Model.belongsTo('foo', {as: 'bar', foreignKey: 'modelId'});

Closing since this issue hasn’t seen a lot of activity. Sorry about that 😣
Please reopen with a reproduction on https://flow.org/try if you are still having issues!

The bug hasn't changed or been fixed - please reopen.


Add links to create options

fixes #91

Waiting for pr builder.

Current coverage is 30.10% (diff: 55.55%)

Merging #92 into master will increase coverage by 0.16%

@@             master        #92   diff @@
==========================================
  Files            36         36
  Lines          1373       1382     +9
  Methods           0          0
  Messages          0          0
  Branches        176        178     +2
==========================================
+ Hits            411        416     +5
- Misses          912        915     +3
- Partials         50         51     +1

Powered by Codecov. Last update 5f07fba...2f69ba5


Erroneous  tag in rendered output

I'm getting erroneous <pre> tags in the output of field descriptions and interface lists. I've been able to reproduce this by making a clean clone and running bundle exec rake sample

Notice in the screenshot how the a, code, and li tags are all clobbered by surrounding <pre> and <code> tags:

Ahhhhh, sorry! I'll fix this ASAP.

@gjtorikian Nice! Unfortunately, it looks like there was another culprit as well. You fixed the example above, but there's also this example found with 0.6.1:

Ugh. Sorry for the trouble. 0.6.2 should take care of this.


jhipster existing ui code overriting

I am having working jhipster application and i have modified some of the javascript and html files as per requirements. After applying the the jdl  file (yo jhipster:import-jdl my_file.jdl) it is overwritten the modified  javascript and html files.
Is there any way i can safeguard the modified files while applying entity through jdl?

No.
Please don't post questions on the issue tracker, use stackoverflow.


build fail with clang/clang++

I am trying to compile this in a Amazon AWS Linux env (clang v3.6/GCC v6.4)
When I build it under GCC/G++, it is extremely slow (build for 6-8 hours for 1%)
Then I try to switch it into clang, but this time the below error occur but this cpp was okay with GCC
What is the issue and how to resolve this?
[ 20%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/binlog/ConcurrentBinlog.cpp.o
In file included from /home/ec2-user/pump/td/tddb/td/db/binlog/ConcurrentBinlog.cpp:7:
In file included from /home/ec2-user/pump/td/tddb/td/db/binlog/ConcurrentBinlog.h:9:
In file included from /home/ec2-user/pump/td/tdactor/td/actor/actor.h:9:
In file included from /home/ec2-user/pump/td/tdactor/td/actor/impl/Actor.h:9:
In file included from /home/ec2-user/pump/td/tdactor/td/actor/impl/Actor-decl.h:10:
In file included from /home/ec2-user/pump/td/tdactor/td/actor/impl/ActorInfo-decl.h:10:
In file included from /home/ec2-user/pump/td/tdactor/td/actor/impl/Event.h:9:
/home/ec2-user/pump/td/tdutils/td/utils/Closure.h:76:74: error: no matching constructor for initialization of 'std::tuple<unsigned long &, BufferSlice &&, Promise &&>'
explicit ImmediateClosure(FunctionT func, ArgsT... args) : func(func), args(std::forward(args)...) {
^    ~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ec2-user/pump/td/tdutils/td/utils/Closure.h:87:10: note: in instantiation of member function 'td::ImmediateClosure<td::detail::BinlogActor, void
(td::detail::BinlogActor::)(unsigned long, td::BufferSlice &&, td::Promisetd::Unit &&), unsigned long &, td::BufferSlice &&, td::Promisetd::Unit &&>::ImmediateClosure'
requested here
return ImmediateClosure<ActorT, ResultT (ActorT::)(DestArgsT...), SrcArgsT &&...>(func,
^
/home/ec2-user/pump/td/tdactor/td/actor/impl/Scheduler-decl.h:267:39: note: in instantiation of function template specialization
'td::create_immediate_closure<td::detail::BinlogActor, void, unsigned long, td::BufferSlice &&, td::Promisetd::Unit &&, unsigned long &, td::BufferSlice,
td::Promisetd::Unit >' requested here
create_immediate_closure(function, std::forward(args)...));
^
/home/ec2-user/pump/td/tddb/td/db/binlog/ConcurrentBinlog.cpp:192:3: note: in instantiation of function template specialization
'td::send_closure<td::ActorOwntd::detail::BinlogActor &, void (td::detail::BinlogActor::*)(unsigned long, td::BufferSlice &&, td::Promisetd::Unit &&), unsigned long &,
td::BufferSlice, td::Promisetd::Unit >' requested here
send_closure(binlog_actor_, &detail::BinlogActor::add_raw_event, id, std::move(raw_event), std::move(promise));
^

Tried and get the below error now
Am I missing some package for libc++? I have installed libstdc++48.x86_64 tho
Building CXX object tdutils/generate/CMakeFiles/generate_mime_types_gperf.dir/generate_mime_types_gperf.cpp.o
/home/ec2-user/td/tdutils/generate/generate_mime_types_gperf.cpp:7:10: fatal error: 'algorithm' file not found
#include
^
1 error generated.
gmake[2]: *** [tdutils/generate/CMakeFiles/generate_mime_types_gperf.dir/generate_mime_types_gperf.cpp.o] Error 1
gmake[1]: *** [tdutils/generate/CMakeFiles/generate_mime_types_gperf.dir/all] Error 2
gmake: *** [all] Error 2

Yes, you need to install libc++.

I have install libc++ now
However the default include path does not include the new lib
Can you suggest how would I add it into the CMakelist.txt to make it working?
The path is /usr/local/include/c++/v1
Thanks

Which .so file it has failed to find?

I have resolved the issue myself
It is complaining on libc++.so.1
I resolved by updating ld.so.conf
It is now compiling, so far okay and much faster
Hope it can work this time
Finger crossed

It is finally built with clang
Suggested to use clang with libc++
gcc is way too slow for this


The rllib wrapper assumes action and observation spaces to list spaces

🐛 Bug
When passing to the RayRLlib solver a domain with action and observation spaces different from list spaces, an exception is thrown mentioning that the corresponding space does not provide the values() method.
The exception is thrown from this line.
To Reproduce
Use for instance skdecide.hub.space.gym.DiscreteSpace as action space in the domain passed to the RayRLlib solver.
Expected behavior
No exception should be thrown since rllib accepts openai gym's discrete spaces.

Sorry it was actually due to the fact that I did not pass a SingleAgent domain. By default RayRLlib assumed it to be MultiAgent, thus waiting for dictionaries as action and observation spaces.


fix serialize cache init to avoid unstable cache pick (#44429)

The original paralleled cache init will causing unstable pick of cache base path because the choice depends on the order of init which could be different after each BE reboot. Thus, cause cache missing and duplicate cache block across multiple caches (disk space waste).
This commit will serialize the init process of multiple cache and using fixed order, i.e. the order explicitly declared in be conf: file_cache_path.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall


Fix message format on the second reminder

https://progress.opensuse.org/issues/119176

test please

In [4]: " ".join([t1, t2])
Out[4]: 'aaaa bbbb cccc dddd'

test please

In [4]: " ".join([t1, t2]) Out[4]: 'aaaa bbbb cccc dddd'

automated unit test in https://github.com/openSUSE/backlogger/tree/main/tests please

https://progress.opensuse.org/issues/159906#note-3 is an example of the problem you want to fix

Please check https://github.com/openSUSE/backlogger/pull/54
The string isn't correct yet, as the reminder_text also needs replacement of the priority.
I added a commit on top of this in #54

I am gonna wait for https://github.com/openSUSE/backlogger/pull/54


Add CodeGen for Go (http)

PR Description
Added CodeGen for Golang HTTP
Related Issues

Related Issue #130
Closes #130

Checklist

[x] I have gone through the contributing guide
[x] I have run the tests (flutter test) and all tests are passing

Added/updated tests?
Added relevant tests for go code generator

[x] Yes
[ ] No, and this is why: please replace this line with details on why tests have not been included

@ashitaprasad @animator Please review this 😄

@apoorvdwi Can you kindly update the test cases to include example Request Models POST 4 to POST 9 which have been recently added.

Hey @animator, all 27 test cases are already there in the test file.
I have resolved conflicts to accommodate changes done in refactoring codegen.

Got it, thanks
Will make sure to follow these fixes in upcoming PRs


Allow "+" character in param value

There can be situations where you have a "+" character in URLs, for example: galaxy-s10+.
Replacing "+" with " " can break both frontend and backend logic, user needing to adapt workarounds.
In my case, I had to make the reverse change in project code (" " => "+").

We are decoding as per RFC 2396, which counts + as a reserved character. You should be using %20 for spaces, as that is what encodeURIComponent will produce:
encodeURIComponent("react router") == "react%20router"

I see, in my case it was not about a space (or a search query that happens to have spaces).. just the slug/alias of some smartphones, that happens to contain a "+".
I was confused because in react router 5 there was no replacement for "+".
Thanks for checking!


Cleanup the routing table

For #520 I needed to add an entry to the routing table. I noticed that we have many out of date entries in there.
We definitely need to clean the table up.
The question is are there any advantages in doing the routing using MVC attributes since we are using version 5.0?

I like attribute-routing for stuff which is used in a small number of places (like the GitController for example).  I've only ever used them mixed with a 'traditional' routing table, so I don't really know whether it would be good to replace everything with them, but I'm :+1: on introducing them for new stuff.
A related useful (perhaps!) task would be to review where URLs are being hand-assembled rather than built with the route-aware helpers and replace that where possible with code which understands the routing.  (I know the Git URLs are done like this, and it isn't exactly a work of art...)

Hello,
I believe my issue may be related to the routing table.  My installation is on an Azure webapp.  After pulling and publishing the latest code from 03/14/16 I'm getting 401 errors for urls that reference /info/refs?service=git-upload-pack
The problem is that the generated url contains only the webapp name and not the full url.  Here is an example:  https://mywebappname:80/git/my_repo.git/info/refs?service=git-upload-pack
If using the Azure domain then the url would be: https://mywebappname.azurewebsites.net:80/git/my_repo.git/info/refs?service=git-upload-pack
or if the actual Azure custom domain were used:
https://mycustomdomain.com/git/my_repo.git/info/refs?service=git-upload-pack
Please advise.
Thanks

Is this URL with the ?service= part on it coming out of a Git error message?
Can you paste both the error message and the Git URL which is on the 'Repository Details' page within Bonobo?

The incorrect url I'm getting from the error log directory in Azure.
HTTP Error 401.0 - Unauthorized
You do not have permission to view this directory or page.
Requested URL:  https://nccos-coastalscienceadmin-web:80/git/Powershell_MergeXML.git/info/refs?service=git-upload-pack
Repository URL: https://admin.coastalscience.noaa.gov/git/Azure-Powershell.git
Basically when I attempt to get to /Repository/Detail/asldkjalsdkfj I end up getting a Bonobo error page and I find this error in the log files.
Thanks for the help.

@KY4U Sorry, I am really struggling to get a grip on what's happening here.
Can you confirm how much of this is true:

You've cloned a repository from https://admin.coastalscience.noaa.gov/git/Azure-Powershell.git
Cloning and pulling is OK, but when you try to push, you get an error from the Git client
You can't provide the error message from the Git client, but it corresponds to the Azure error you posted above.

You've provided two different repository names - "Powershell_MergeXML.git" and "Azure-Powershell.git" - I'm not really clear how they might be related, and I'm not clear what the asldkjalsdkfj bit was meant to represent - was that a Guid?
We're going to need some really systematic stuff to try to get to the bottom of this - you'll have to work through cloning a repo and then pushing it and see which bits work and which don't.
Something that might also be helpful is to go to the /home/diagnostics page on the Bonobo server, and then paste the results in here.

Sorry, I made a typo in the last post.  I will try to clarify here.
Repository URL: https://admin.coastalscience.noaa.gov/git/Azure-Powershell.git
These errors occur when I am logged into the remote Git Server at https://admin.coastalscience.noaa.gov/git
When I attempt to get to the details page for the Azure-Powershell repo, I would click on this link:
https://admin.coastalscience.noaa.gov/git/Repository/Detail/fcb295a4-d285-4dea-b4a4-58ec93ce1e6b
The page will error out and I will find in the Azure logfile this:
HTTP Error 401.0 - Unauthorized
You do not have permission to view this directory or page.
Requested URL: https://nccos-coastalscienceadmin-web:80/git/Azure-Powershell.git/info/refs?service=git-upload-pack
The problem is that nccos-coastalscienceadmin-web is the name of the azure webapp, not the correct Azure url.  The correct Azure url would be nccos-coastalscienceadmin-web.azurewebsites.net
If the correct Azure url were generated, the Requested URL should be:
https://nccos-coastalscienceadmin-web.azurewebsites.net:80/git/Azure-Powershell.git/info/refs?service=git-upload-pack
An even better url would be the one that uses the custom domain for that webapp, which is admin.coastalscience.noaa.gov. That generated url should be:
https://nccos-coastalscienceadmin-web:80/git/Azure-Powershell.git/info/refs?service=git-upload-pack
I am seeing hundreds of these error pages in my log files all resulting from the incorrect url to the /info/refs?service=git-upload-pack pages.
I'm not having any trouble cloning, pulling, or pushing from by GUI.
Hope that information helps.
Kirk

The 401 error in Azure is not caused by clicking on that details link in a web browser.  The 401 error is coming from a Git client attempting a push.   Nothing within the web interface ever generates that sort of URL with the service=git-upload-pack stuff - it's built-up by a Git client.
I think there are two unrelated problems here:

You can't get to a repository details page without getting an error in Bonobo.
A Git client somewhere is trying to push at a repository called Azure-Powershell.git and is getting refused permission.

I'd like to try and deal with '1' first - can you look in the app_data directory on the server for a file called Bonobo.Git.Server.Errors.log - if it's small, can you attach the file here, if it's huge can you just cut and paste the last part of the file?

Thanks for the clarification.  I'll check my GUI to see if there is something going on there.
See attached file for error log.
[Uploading Bonobo.Git.Server.Erro
partial_error_log.pdf
rs.pdf…]()

@KY4U - Thanks for the log - it reveals a problem in the master code at the moment in this respect - PR #524 should get you through this for now, if you want to merge that branch into your own code.

Will, thanks again for taking the time to work through this.  I certainly appreciate the help, and the fix.  I'll let you know if I still encounter these issues.
Regards,
Kirk


Feature: Quick actions in fixed window

Hi,
It would be a nice enhancement if you could call up "Quick actions" not only by hotkey, but if there was also the option of displaying them permanently on the screen in a positionable window. (I have to change the lighting in the room all the time for layout work. That would be done with 1 click)
Greetings,
Eckart

Great idea, could use that myself as well 😁
Ticket: [hassagent-191]


[BugFix] add MVActiveChecker for external table

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #16742
Problem Summary(Required) ：

add MVActiveChecker for external table. external tables' metas are not persistent,
so the check should be done every time when cache is refresh.
now it is done by async, which will be optimized later
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 28 / 36 (77.78%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/scheduler/mv/MVActiveChecker.java
26
34
76.47%
[58, 59, 60, 61, 64, 65, 66, 67]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
2
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 23 / 33 (69.70%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/scheduler/mv/MVActiveChecker.java
21
31
67.74%
[41, 42, 57, 58, 59, 60, 63, 64, 65, 66]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
2
100.00%
[]

run starrocks_admit_test


Massive save state speedup

Because libretro has an API that asks for the size seperately, and we
have to serialize to get the size, the end result is that we change from
2 serializations for each save state down to 1.

I found a huge speedup: the overhead of serializing all the u8's individually in the the large Box<[u8]>s was huge. Serde has a solution to this: serializers have a serialize_bytes function (and bincode implements it very efficiently), however, until specialization lands, serde can't call it automatically. So just annotating the Box<[u8]> fields with #[serde(with = "serde_bytes")] causes the fields to be serialized with a single serialize_bytes call, instead of a ton of individual calls per u8.
On my system, this took the time to serialize from over 100ms to about 5ms.

I believe I've addressed the nits. It's pretty cool to be able to turn on rewind, and not bring things to a grinding halt.

Fantastic, thanks! I'll go over this and merge on the stream this evening. :)


Animate Buttons when hovered

Is your feature request related to a problem? Please describe.
The buttons are not animated when hovered over and hovered out

Describe the solution you'd like
Add some animation to the buttons when hovered over and out as the following
https://user-images.githubusercontent.com/70457601/138660231-40b7adc4-81bd-48d2-94bf-35313c87935c.mp4
Are you working on it?
Yes

Shall I work on this issue?

Shall I work on this issue?

Sure, go ahead

Thank you

Which color should I put

Underline color

Done, is it good


$parent and binding-context of custom element and its content children are the same.

Hi I'm having trouble accessing the parent custom element(A) when using $parent on children custom elements (B).
Instead of getting the parent custom element(A) as bindingcontext i get the same binding context as the parent.
// a.html
<template>
	<content></content>
<template>

//a.js
export class A {
	foo() { ...method never called... }
}

// b.html
<template>
	<button click.delegate="$parent.foo()"> /* <-- This $parent will never be A, instead i get the parent context of A  */
<template>

// awesomeapp.html

A custom element template doesn't have access to anything outside of it's own binding context. This is intentional and ensures custom elements are portable and encapsulated.  If the example you posted above were supported that would mean the  custom element only works when used within something that exposes a foo method as opposed to something like an  element that works anywhere.
To resolve the issue add a @bindable property to the b element:
@bindable foo;

then when using  do this:


Flickering in Edge

Seeing some flickering in Simulator on Edge -

Closing P2 Edge bugs as won't fix as these are fixed in new Edge.


[GCI] Refactor simulator styles and scripts

Fixes #824
Describe the changes you have made in this pr -
Removed include of application styles and scripts in simulator.html.erb
Added simulator.scss and simulator.js
Added bootstrap and jquery dependency to these files
Fixed styling of bootstrap toolbar.
Screenshots of the changes (If any) -

Comparison of UI in this PR (left) and original UI (right)
Please have a look @tachyons @alanjsph

Merging this for now. Please check #825 for future improvements.

@satu0king this PR makes dropdown menu options like save, clear and many others unfunctional. Is this still under progress or should we look to fix it in a new issue?

You are right, the PR removed css class logixButton

Need an urgent fix this

@tachyons it is here by @shubhankarsharma00


fix get ceph pool extras bug

What this PR does / why we need it:

Fix the get ceph pool extras bug in osdsdock v0.5.1

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #646
Special notes for your reviewer:
Release note:

@xxwjj @leonwanghui PTAL

Coverage remained the same at 37.948% when pulling e460c4ec25afd0888dbc8449ffc7cbf058d50cd3 on imquanquan:ceph-driver-fixer into 37c1c1cdf81070d648add0fc471de8d4ee11ac2b on opensds:master.


Adding new communities/collections/items breaks if you remove communities/collection from the global search results

Describe the bug
When you want to remove the community/collection from the main search results you run into an issue where you can't create new communities / collections / items.
To Reproduce
Steps to reproduce the behavior:

Alter the "defaultFilterQueries" bean in the defaultConfiguration" section
Remove "search.resourcetype:Collection OR search.resourcetype:Community" filter section
Verify that the communities / collections are gone from the search
BUT you also can't create new communities/collection as these SHARE a search.

Expected behavior
You should be able to tweak the search configuration without breaking other parts of DSpace.
Suggestion solution
I would suggest that we adjust the angular codebase to use a specific configuration for the discovery search page that isn't named "default". We can "reuse" "site" for this but call it "search" for example. This would have to be done in conjunction with the PR below or after.
Related work
There is some overlap with the following pr: https://github.com/DSpace/DSpace/issues/8428

This all seems reasonable, but this doesn't seem very high priority at this time as it involves customizing the discovery.xml to trigger.  Moving this into unscheduled for now, but if a volunteer steps forward we can always work to analyze further, etc.


Give Plotly downloads more descriptive file names

Closes #33.
This PR updates each Plotly chart to have a more descriptive filename when you click the camera icon to download the chart as a PNG. The file names now reflect the variable displayed on the chart.
For some charts this variable / file name are static (fish_growth.png, riparian_fire_impact.png, hydrograph.png).
The other charts are more dynamic and show whatever variable is selected from the dropdown menu, but the Plotly code is configured to use whatever variable is selected for the PNG file names after converting the variable name to lowercase with underscores.
To test, try download the Plotly PNG of many charts and variables and confirm that the file name reflects the variable displayed on the chart.

Thanks for catching that, @BobTorgerson! The hydrographs now have descriptive Plotly filenames like the other charts do.


Removed Username and Login + Added check for empty field on login

Added Check for if Username and Password is empty on login
Removed Username and Login

Forgot some changes, will make new pull request


[Feature Request] Worker fatal error handling

For now if worker crashed with fatal error the stack trace are print to browser.
I have several suggestions:

Prevent printing stack traces to browser
Add options to configure static html (or url request) for custom error page
Print stack trace to stderr
Implement raven-go and push errors to Sentry

@grachevko im working on Sentry integration. Maybe will release after the New Year.

We are handing fatal errors on php end, same as with php-fpm, don’t symfony wrap them with custom error handler?

@wolfy-j fatal error i mean is when php exit with non zero status code. In some cases it can send to sentry before exit, but it can't render user friendly error after.
While testing rr i was catch error where Sentry reach maximum nested function calls, for example. In this case rr have no option to report developer about error, only end user can.

Ok, EventWorkerError (https://github.com/spiral/roadrunner/blob/master/cmd/util/debug.go#L19) contains all the info including error code.

@Alex-Bond @wolfy-j @grachevko I am going to close this issue due to age. Feel free to reopen it if you have any questions.


Create Thread Pool Util/Manager

Create a thread pool manager for managing peer downloading/uploading threads, and also threads for file management (putting together pieces into a file)

Put on ice for now


fix metric of voc dataset

Motivation
In the official metric implementation of VOC dataset, it adopts the  Legacy coordinate system in mmdet 1.x, which means h, w should be computed as x2 - x1 + 1 and y2 - y1 + 1.
Modification
I add argument Legacy_coordinate to eval_map， tpfp_default and tpfp_imagenet，add extra_length to bbox_overlaps to control whether to use legacy coordinate system when caculate the width and length.
BC-breaking
None

Need to also fix compatibility doc


[Question] Travis

You have a .travis.yml file, thank you for that, I use it as a template.
Could you add comments in .travis.yml which explain a little more?
What is unclear for me (as being new to Travis):

Is there a documentation page where a basic Travis setup for Symfony projects is explained?
Where should we set the environment?
Should we set the environment to test?
Your tests seem to use fixtures but the fixtures are not run in your .travis.yml, how can that be?

Thank you very much, if you answer the questions here then I will create a PR for the demo app's .travis.yml if you want.

Hi Michael:

Symfony Docs show an an example of Travis CI config for bundles (https://symfony.com/doc/current/bundles/best_practices.html#continuous-integration) You can use it and adapt it to your own app.
Here you have another article from SymfonyCasts explaining the Travis integration: https://symfonycasts.com/screencast/symfony-bundle/travisci
About the environment, there's no need to set it to test because it's set by Symfony automatically when running tests.

If you have any issues with this, please ask in the #support channel of Symfony's Slack (https://symfony.com/slack)

@javiereguiluz Thank you very much!


Sean/all-videos-page

Changes:

Type of change

[ ] Bug fix
[x] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

@sean-binary  at the bottom of the figma design we have the subscription component, is that excluded in this phase?

@sean-binary at the bottom of the figma design we have the subscription component, is that excluded in this phase?

It will be added in once Habib's PR is merged.


Callbacks can be added to be executed when callback queries are called.

This allows adding callback hooks to CallbackqueryCommand:
e.g. in hook.php when setting up the lib:
CallbackqueryCommand::addCallbackHandler(function (CallbackQuery $query) {
    if ($query->getFrom()->getUsername() === 'noplanman') {
        // Do something with this callback, but only when requested by @noplanman
    }
});

Any number of callback handlers can be added like this. All of them get run when a callback is being executed, so each callback function needs to do its own checks to handle the proper calls.
@jacklul I've been thinking of ways to extend this, but I'd like to keep it as simple as possible for now, and I feel this is already quite powerful in itself and allows users to very easily add their own custom code to callbacks. What do you think?

Hi, @noplanman ! If I use that in my hook.php, or in my random command I get an error:
PHP Fatal error:  Cannot declare class Longman\\TelegramBot\\Commands\\SystemCommands\\CallbackqueryCommand, because the name is already in use in /var/www/www-root/data/www/telebotpro.montanabank.pw/Commands/SystemCommands/CallbackqueryCommand.php on line 0

You probably also have a custom CallbackqueryCommand.php in your custom commands folder, right?

@noplanman yep. In /Commands/SystemCommands/ I have a CallbackqueryCommand.php
Is it unright?

That's a custom one, right? You'll need to add it to your composer.json so that it gets loaded before the library one, like this:
    "autoload": {
        "classmap": [
            "your/custom/comands/folder"
        ]
    }

Then, do a composer dump-autoload to reload the composer files.
Not sure this is the best solution, but it works for me.

@noplanman thanks!
But I have some problem. When I press the button, nothing happens :(
Logs are empty...
Here is my hook.php
<?php

...

CallbackqueryCommand::addCallbackHandler(function (CallbackQuery $query) {
        $callback_data = $query->getData();

        /**
         * Callback for "Company" section
         */

        if (strpos($callback_data, 'about_') !== 0) {
            return Request::emptyResponse();
        }

        // Get the real category from the callback_data.
        $current = substr($callback_data, strlen('about_'));
        switch ($current) {
            /**
             * About us
             */
            case 'us':
                $out_text = 'We're cool!';
                break;

            /**
             * Our team
             */
            case 'team':
                $out_text = 'John Doe - dev';
                break;

            /**
             * Contacts
             */
            case 'contacts':
                $out_text = 'Contacts us<EMAIL_ADDRESS>                break;

            /**
             * Cooperate
             */
            case 'cooperation':
                $out_text = 'We love you too!';
                break;

            /**
             * If smthng horrorable cares
             */
            default:
                $out_text = 'Default text*';
            }

            return Request::editMessageText([
                'chat_id' => $query->getMessage()->getChat()->getId(),
                'message_id' => $query->getMessage()->getMessageId(),
                'text' => $out_text,
                'reply_markup' => AboutCommand::getMyInlineKeyboard(),
            ]);
    });

And here is my AboutCommand::getMyInlineKeyboard()
public static function getMyInlineKeyboard()
    {
        $keyboard = new InlineKeyboard(
            [
                ['text' => About us', 'callback_data' => 'about_us'],
                ['text' => 'Our team', 'callback_data' => 'about_team'],
            ],
            [
                ['text' => 'Contacts', 'callback_data' => 'about_contacts'],
                ['text' => 'Cooperation', 'callback_data' => 'about_cooperation'],
            ]
        );
        return $keyboard;
    }


Move to namespaced loggers for each config

Is your feature request related to a problem? Please describe.
Logging initialisation is currently performed during init of the Maestral instance and affects global module-level loggers (as retrieved by logging.getLogger(__name__)). This setup has two disadvantages:

Log output from the early stages of daemon initialisation, before a main.Maestral instance is created, is handled poorly. It is only printed to stdout if the verbose flag is set and otherwise discarded (not sent to the systemd journal or printed to the log file).

Running multiple Maestral instances in the same process (discouraged but possibly when using the programmatic API directory) will result in mangled log output.

Describe the solution you'd like

Move to logger's which config-specific names. This would allow us to separately handle log output from Maestral instances running in the same process.
Move all logging initialisation out of main.Maestral and to the logging module. This would allow us to set up logging earlier during daemon startup.

Describe alternatives you've considered
I'm open to better suggestions.

Done in #362.


PDF Displaying not displaying properly

Link to PDF file (or attach file here):
document.pdf
Configuration:
Web browser and its version: Firefox 52.0.2 (32-bit)
Operating system and its version: Windows 10
PDF.js version: Using version bundled with Firefox
Steps to reproduce the problem:

View Attached PDF with PDF.js in Firefox
Similar Issue #8083

What is the expected behavior? (add screenshot)
Adobe Reader correctly shows the image and isn't blurry. PDF.js does not. See screenshots for comparison.

What went wrong? (add screenshot)

The image in the PDF is an Indexed xobject. not sure if this is the issue.

This is not related to #8083, that one was about patterns with giant steps.

This was a small image (10x10 pixel) for a quick example. It happens with bigger more complicated images also.
Have had similar problems when working with other image code where dithering was used instead of the indexed palette.

Here's another. That one has inline images with 1 bit /DeviceGray.
inline.pdf
The file is created by the PDFBox build tests and thus Apache licensed.

Sample open as intended in Goggle Chrome.
Bug may just be in the Firefox implentation.

I have it blurry on chrome when using https://mozilla.github.io/pdf.js/web/viewer.html .

It is down to the imageSmoothingEnabled property being enabled by default .
Turning off smoothing for the canvas and everything looks correct.
mozImageSmoothingEnabled = false;  webkitImageSmoothingEnabled = false;  msImageSmoothingEnabled = false; imageSmoothingEnabled = false;

Create a JSFiddle to demostrate Demo

Maybe it is related to #3331 (blurry lines), I have deduced the same conclusion on that bug.

How can this I get this fixed?


We should provide a configuration format

We should provide a configuration format in order to have readable commands.
The configuration should be able to:

[ ] define which deprecations should be searched
[ ] select an output formatter
[ ] Add blacklisted violations #7
[ ] If we provide rulesets online we could define different rulesets to run #4

Especially the output format (xml, json) is important for it to be used programatically.


"The destination column could not be found" on collection types

Hi.
When I try this simple code, I'm getting this error: "The destination column could not be found:Categories".
db.Posts.Include("Categories")
.Where(p => p.ID == 1)
.Update(p => new Post()
{
  Categories = Enumerable.Range(5, 3).Select(i =>
               new PostCategory() { ID = i })
               .ToList()
});

I'm using EF6. And the other classes are like these:
public class Post
{
  public int ID { get; set; }
  public string Title { get; set; }
  public virtual ICollection<PostCategory> Categories { get; set; }
}

public class PostCategory
{
  public int ID { get; set; }
  public string Name { get; set; }
  public virtual ICollection<Post> Posts { get; set; }
}

I'm just trying delete a Post's existing categories and replacing them with new ones by giving new category ID's.
I also readed these:
#315
#238
Can you please help?

Hello @burak-tarhanli ,
What you currently trying to do is simply not supported by our library. You could update column from Post table but you cannot delete and insert a list of new/existing categories (related table).
If you wish to make some operation in Bulk, I suggest our paid libraries: EF Extensions. We will be happy to help you make it works.
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function


[Fix #11219] Make Style/SelectByRegexp aware of !~ method

Fixes #11219.
This PR makes Style/SelectByRegexp aware of !~ method.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Looks good! Thanks!


How did you handle the multi-level insertion race issue without I-nodes?

From the paper:

Intuitively, a concurrent insertion operation could start by locating the internal node it needs to modify and then create a copy of that node with both the bitmap and the array updated with a reference to the key being inserted. A reference to the newly created node could then be written into the array of the parent node using the CAS instruction. Unfortunately, this approach does not work. The fundamental problem here is due to races between an insertion of a key into some node C1 and an insertion of another key into its parent node C2. One scenario where such a race happens is shown in Figure 1. Assume we have a hash trie from the Figure 1A and that a thread T1 decides to insert a key k5 into the node C2 and creates an updated version of C2 called C2′. It must then do a CAS on the first entry in the internal node C3 with the expected value C2 and the new value C2′. Assume that another thread T2 decides to insert a key k4 into the node C1 before this CAS. It will create an updated version of C1 called C1′ and then do a CAS on the first entry of the array of C2 – the updated node C1′ will not be reachable from the updated node C2′. After both threads complete their CAS operations, the trie will correspond to the one shown in Figure 1B, where the dashed arrows represent the state of the branches before the CASes. The key k4 inserted by the thread T2 is lost.

We solve this problem by introducing indirection nodes, or I-nodes, which remain present in the Ctrie even as nodes above and below  change. The CAS instruction is performed on the  I-node instead of on the internal node array. We show that this eliminates the race between insertions on different levels.

I haven't found anything in the implementation that prevents this interleaving; the paper avoids it by dint of the I-nodes forcing such insertions to conflict on their CAS of the I-node, causing one of them to have to retry.

I haven't done a formal proof, only some intuitive reasoning, so I might have overlooked something.
However I believe I don't have to handle it because in my implementation it doesn't happen in the first place. The problem in the original version arises from the fact one node might need to be replaced by a bigger version when adding a child. If some other thread updates a pointer in the dying node, the update is lost with it.
One of the simplifications I've decided to do is I don't compress the nodes. They start as full-sized already, full of NULL pointers. When adding another child to them, I don't replace the node, I just CaS one of the NULLs with the pointer to the new child. I don't have dying nodes when adding children, so if some other thread updates some other pointer in the same array, nothing is lost (and if two threads try to update the same element, one of them fails on the CaS).
In other words I don't need an I-node to remain in the trie because the node above it never change and the node itself doesn't change. The node itself is therefore able to fulfil the same role implicitly.
Does it make sense, or am I fooling myself?

Mm, yeah, I see what you're getting at - I suppose I hadn't really internalized that you don't to any CoW up the tree, and that you don't support snapshots at all, rather than the lesser property that "iterators are not snapshots".
On the other hand, that does mean that supporting the full data structure would basically be a full rewrite, rather than an incremental change :/
I'd been hoping it'd be the latter, because the full ctrie interface is what I'd actually find useful, or at-least some way of performing snapshots.

On the other hand, that does mean that supporting the full data structure would basically be a full rewrite, rather than an incremental change :/

Code wise, yes. But now I've done this, it would be much easier for me to do. I needed this stepping stone to actually understand the article and some of the nuances and problems. Nevertheless, I believe even this version might be useful to somebody. I haven't yet decided if I really want to implement the full version eventually, though.

TBH, I'm not sure I'd call contrie a ctrie implementation, since the snapshot behavior is so central as to be in the title of the original paper.

I think I haven't actually called it a ctrie implementation anywhere (if I did, please point me to the place, I'll fix that). I've only said it was inspired by the article, which is true. And the name contrie is „concurrent trie“, which this implementation certainly is (c in ctrie also means concurrent, but…).

I believe the original question/issue here has been answered, so I'll close this. If you have anything related to that, don't hesitate to reopen or open a new one.
As for the support for snapshots, I'm going to open a separate issue for that, but I have no idea when or if I'll get around to it.


Repository goes to “NOTREADY” after 24 Hours

What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.)
I’ve been using Restic in conjunction with Velero (used to be Heptio Ark). I have been experiencing an issue where Velero reports that the backups have partially failed after 24 hours of the repository being online. If I delete the repository and rebuild it from scratch, it returns to normal operation before crashing again (at the 24 hour mark).
What did you expect to happen:
No partially failed backups.
The output of the following commands will help us better understand what's going on:
(Pasting long output into a GitHub gist or other pastebin is fine.)

kubectl logs deployment/velero -n velero
velero-deployment.txt

velero backup describe <backupname> or kubectl get backup/<backupname> -n velero -o yaml
backup-describe.txt

velero backup logs <backupname>
backup-log.txt

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
I reached out to Restic, here is the discussion with them: https://forum.restic.net/t/repository-goes-to-notready-after-24-hours/1906/4
Environment:

Velero version (use velero version):

Client:
Version: v1.0.0-rc.1
Git commit: d05f8e53d8ecbdb939d5d3a3d24da7868619ec3d
Server:
Version: v1.0.0-rc.1

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019-03-25T15:19:22Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes installer & version: Using Rancher (latest version)
Cloud provider or hardware configuration: S3 bucket in FreeNAS
OS (e.g. from /etc/os-release):

In the deployment log, I see:
time="2019-07-10T20:40:41Z" level=warning msg="error pruning repository" ... stderr=: signal: killed

So for some reason, the prune operation is being killed. I'm guessing that a stale exclusive lock is being left around in the repo (if you look in your object storage bucket under the restic repo's locks subdir, you'll see a file). Then, all future operations against the repo because it's locked.
The thing you can do for now is delete any file(s) you find under that locks directory, since they're probably stale. We have #1511 scheduled for v1.1, but we should also figure out why that prune operation is failing.
cc  @carlisia

Hey @skriss,
I've deleted the lock and functionality is restored. Is there a danger to me writing a script that checks if the lock directory has any files older then one hour and if so, deleting them? (As an interim fix until another can be identified?)
Thanks!

That's probably OK, as long as you don't have any actual restic operations that you expect to take >1 hour (depends on your data volumes).  The other thing you can consider is reducing the frequency of the repository maintenance operation - by default, every 24h we run "restic prune" on the repository, which deletes any unused data from it, but you could reduce the frequency of this to once a week, month, etc. based on your needs. To change this, you can kubectl -n velero edit resticrepository <NAME>, and change the spec.maintenanceFrequency value (note it needs to be expressed in hours, like it is currently).

Is it possible that a scheduled backup is trying to start while the prune is still running? If so, would the scheduled operation check to see if the prune is done? Or does it just kick up and fail but also stop the pruning process?
Just a thought...

It should wait until it the prune operation has completed -- we have coordination code to handle things like that. I can't guarantee there's not a bug. I'll comb thru the logs in some more detail and see if I can figure out what's happening.

So at 9:50 AM (MST) this morning, it was locked again (less then 24 hours from the last prune at 2:37 PM MST). I deleted the lock repo is now ready:

apiVersion: velero.io/v1
kind: ResticRepository
metadata:
creationTimestamp: 2019-07-07T16:36:00Z
generateName: media-default-
generation: 927
labels:
velero.io/storage-location: default
velero.io/volume-namespace: media
name: media-default-d24zg
namespace: velero
resourceVersion: "4019332"
selfLink: /apis/velero.io/v1/namespaces/velero/resticrepositories/media-default-d24zg
uid: 4da6e59e-a0d5-11e9-9200-00505687fd92
spec:
backupStorageLocation: default
maintenanceFrequency: 24h0m0s
resticIdentifier: s3:http://<IP_ADDRESS>:9000/velero/restic/media
volumeNamespace: media
status:
lastMaintenanceTime: 2019-07-09T20:29:50Z
message: ""
phase: Ready

I use the following command to run a manual backup:

velero create backup man-prod-media-sonarr-2019-07-12 --selector app="sonarr" --include-resources="*"

When I run a backup that requires restic, I get the following in the error log:

time="2019-07-12T22:18:35Z" level=info msg="Persistent volume is not a supported volume type for snapshots, skipping." backup=velero/man-prod-media-sonarr-2019-07-12 group=v1 logSource="pkg/backup/item_backupper.go:430" name=pv-downloads-storage namespace=media persistentVolume=pv-downloads-storage resource=pods

container.log
Backup worked this morning but now nothing. I've also tried to re-deploy the restic and velero containers but same thing afterwards.
Thoughts?

Do you have the logs from the ~24h prior to the repo becoming locked?
From the log you sent, it looks like one of the PVs used by your pod was being backed up with restic (time="2019-07-12T22:18:35Z" level=info msg="Skipping persistent volume snapshot because volume has already been backed up with restic." backup=velero/man-prod-media-sonarr-2019-07-12 group=v1 logSource="pkg/backup/item_backupper.go:390" name=pvc-921f897f-9644-11e9-b895-00505687981b namespace=media persistentVolume=pvc-921f897f-9644-11e9-b895-00505687981b resource=pods ), but maybe not the others? Can you check to make sure the pod is annotated correctly with the volume names you're trying to back up?

Hey @skriss
I've verified that the PVC's are annotated correctly. I also confirmed that I can delete everything and restore from the backup without incident.
Where would I find these logs for you? I had it happen again today so I should be able to get you more data.
Thanks!

I'm primarily interested in the output of kubectl logs -n velero deploy/velero
Sounds like you're hitting this consistently so I'm hoping we can get to the bottom of it!

Do you have any CPU/memory requests/limits on any of the Velero pods?

My best guess right now is that the restic prune operation run as part of repository maintenance is consuming too much memory and getting OOM-killed, leaving around the stale lock which is blocking everything up and causing cascading failure.

Might be related: https://github.com/heptio/velero/issues/1541
@zeieri it'd be great to get that log if you can.

Sorry, totally missed the message, here is the output of kubectl logs -n velero deploy/velero
deploy_velero.txt
Per the last updates, it broke sometime between 2019-07-29-00-30-18 and 2019-07-29-23-30-19.
Thanks!

I can get more precise:

If I delete that file, redeploy velero/restic nodes, problem goes away.
Thanks!

I have the exact same issue. Removing the stale lockfile solved the problem for a few minutes, but I still have it.
I cannot delete old backups, nor create new ones.

Quick note, clearing the lock used to work for 24 hours, now it's about 30 minutes (varies each time).
To stop it for 24 hours, I clear the lock, restart the S3 service on FreeNAS then re-deploy the velero pod and restic pods.
Any update on a permanent fix from Velero?

@zeieri if you could attach the velero deployment logs again, that'd be helpful. We will be adding stale lock checking/clearing as a preventive measure in v1.1, but I'm not sure why you're continuing to get them.

Here we are:
deploy_velero.txt
To note, i've stopped using schedules and the problem isn't occuring. Downside, I gotta copy/paste commands over each day. Upside, it works!
Hopefully a fix is out soon. Hard to enjoy a backup system that requires manual intervention to remain operational.
Thanks!

Can you provide the current output of velero restic repo get -o yaml?

Here you are:
velero-repo.txt
Let me know if you need anything else.
Thanks!

Hmm, I was hoping to find an indication of why maintenance was being run for your repository more often than every 24h, but there are no indications there or in the log. It seems like some aspect of it may be failing intermittently, then later fixing itself.  It would be super-helpful if you could enable debug logging (in the velero deployment, under the container's args, add a - --log-level=debug) and send the logs again after another 24-48 hours. Hope we can get to the bottom of this!

@zeieri debug logs would still be useful; it would also be great if you could upgrade to the v1.1.0 release as we've made improvements there (particularly around ensuring stale locks are cleared).

Hey @skriss ,
My apologies! I was busy the last week and read your message but missed implementing it. I just added it to the container and re-implemented the schedules. I'll stay on 1.0.0 to confirm it's still broken before I upgrade to 1.1.
In other news, I read the article  on upgrading to 1.1. My namespace is "velero" but it doesn't upgrade on re-deployment. Is there something else I should be doing? Article indicates it shouldn't require intervention...
Thanks for all your help!

To upgrade, you'll just need to update the image in your velero deployment & restic daemonset to be gcr.io/heptio-images/velero:v1.1.0. no other changes should be necessary

Quick Update - I had mistakenly named two schedules the same piece and for some (unknown) reason, one of the schedules wound up running 48 times in 24 hours. I think it may of been because I set the schedule to "* */12 * * *". I changed it this morning to "0 */12 * * *". Just gotta give it a few days to see if it gets locked and screws up like before.
Thanks for all your help!

Quick Update, problem exists with the previous config. I've upgraded to 1.1. Going to monitor for a few days.

Everything is working, 0 issues on 1.1.
Thank you for all your help!

Fantastic! I'm going to go ahead and close this out, but please reach out again if you have any further issues.


build: update deps, remove isort and black.

Configuration update PR.

Removes python3.12 support. This currently fails and needs more work to enable it.
Removes isort and black. Modern versions of ruff cover this functionality.
New poetry.lock to update the version of ruff.

Why do you want to remove python3.12 support?

Yes, it works without issues on my end. Are you sure you have Python 3.12 installed on your machine?

Yes, of course. I use poetry to manage my environments. I'm fine getting
rid of this PR. I'm playing with using entr and watchman to do the file
watching and restarting anyway. Thanks for writing pytest-watcher!
On Mon, Apr 1, 2024 at 10:27 AM Olzhas Arystanov @.***>
wrote:

Yes, it works without issues on my end. Are you sure you have Python 3.12
installed on your machine?
—
Reply to this email directly, view it on GitHub
https://github.com/olzhasar/pytest-watcher/pull/31#issuecomment-2030204013,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQQVBZWGS63DUNLEVYQUTY3GKHVAVCNFSM6AAAAABFF7V4BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGIYDIMBRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@radoshi Could you share what error do you get when trying to install requirements with Python 3.12?

Last login: Mon Apr  1 12:39:38 on ttys000
➜  ~ git clone https://github.com/olzhasar/pytest-watcher.git
Cloning into 'pytest-watcher'...
remote: Enumerating objects: 842, done.
remote: Counting objects: 100% (411/411), done.
remote: Compressing objects: 100% (217/217), done.
remote: Total 842 (delta 278), reused 295 (delta 188), pack-reused 431
Receiving objects: 100% (842/842), 662.68 KiB | 2.32 MiB/s, done.
Resolving deltas: 100% (521/521), done.
➜  ~ cd pytest-watcher
➜  pytest-watcher git:(master) poetry --version
Poetry (version 1.7.1)
➜  pytest-watcher git:(master) poetry env use python3.12
Using virtualenv: /Users/rushabh/Library/Caches/pypoetry/virtualenvs/pytest-watcher-u_Ef5ItY-py3.12
➜  pytest-watcher git:(master) poetry install
Installing dependencies from lock file

Package operations: 12 installs, 0 updates, 0 removals

  • Installing pyyaml (6.0): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel

  running egg_info
  writing lib/PyYAML.egg-info/PKG-INFO
  writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
  writing top-level names to lib/PyYAML.egg-info/top_level.txt
  Traceback (most recent call last):
    File "/Users/rushabh/Library/Application Support/pipx/venvs/poetry/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/Users/rushabh/Library/Application Support/pipx/venvs/poetry/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/rushabh/Library/Application Support/pipx/venvs/poetry/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 288, in <module>
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 104, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 967, in run_command
      super().run_command(command)
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 321, in run
      self.find_sources()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
      mm.run()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 550, in run
      self.add_defaults()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 588, in add_defaults
      sdist.add_defaults(self)
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py", line 102, in add_defaults
      super().add_defaults()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
      self._add_defaults_ext()
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
      self.filelist.extend(build_ext.get_source_files())
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<string>", line 204, in get_source_files
    File "/private/var/folders/ft/t1sw808d0dl8r9fk9dd22chh0000gn/T/tmpw4morbqm/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
      raise AttributeError(attr)
  AttributeError: cython_sources

  at ~/Library/Application Support/pipx/venvs/poetry/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
      160│
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│
      163│             if error is not None:
    → 164│                 raise error from None
      165│
      166│             return path
      167│
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with pyyaml (6.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyyaml (==6.0)"'.

➜  pytest-watcher git:(master)

@radoshi Thank you. I was able to reproduce it on my Mac, looks like some weird dev dependency conflict. It should now be working without issues.
I have made some additional changes here to ensure that pre-commit hook versions match the ones from poetry.lock.
Also, it turns out that ruff does not sort imports by default, I had to make a minor configuring for that to work

awesome!
On Tue, Apr 2, 2024 at 12:31 AM Olzhas Arystanov @.***>
wrote:

@radoshi https://github.com/radoshi Thank you. I was able to reproduce
it on my Mac, looks like some weird dev dependency conflict. It should now
be working without issues.
I have made some additional changes here to ensure that pre-commit hook
versions match the ones from poetry.lock.
Also, it turns out that ruff does not sort imports by default, I had to
make a minor configuring for that to work
https://docs.astral.sh/ruff/formatter/#sorting-imports
—
Reply to this email directly, view it on GitHub
https://github.com/olzhasar/pytest-watcher/pull/31#issuecomment-2031272068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQQVBXMAD43L2K5YOXTIDY3JNFLAVCNFSM6AAAAABFF7V4BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZRGI3TEMBWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Metrics Explorer: implement the "selected filters" functionality in interface

[stub]
This should be a frontend task, primarily. We need to implement something like pills in the top right that show which dimensions have been selected as filters.

It would be good for us to be able to land this. Someone could take this on with my guidance. It should be somewhat straightforward.

This will land in 0.9. Closing


post-processing with big delimiters

From @kohlhase on November 5, 2014 13:50
A new "feature" of LaTeXML is that big delimiters are handled pseudo-semantcially. I am seeing situations like
<OMA>
   <OMS cd='latexml' and name="delimited-[]"/>
   ....
</OMA>

for \big[...\big]. This is not the OpenMath we want, It seems to me that the post-processor should add notational hints to the content MathML instead. For instance, if we have
f\big[...\big], it should generate something like
<OMA class="bigdelims-[]">
   <OMV name="f"/>
   ....
</OMA>

instead of
<OMA class="bigdelims-[]">
   <OMV name="f"/>
   <OMA>
      <OMS cd='latexml' and name="delimited-[]"/>
      ...
  </OMA>
</OMA>

This is particularly true for generating OpenMath, but should also be something to be taken into account in other LaTeXML postprocessing I guess.
Copied from original issue: KWARC/sTeX#38

Oh, I should probably say that I am just deleting the OMA with the OMS delimited-[] in the stylesheet for now.


Fail to disable the function in a function app which created with Flex Consumption (Preview) hosting plan

OS: All
Build Version: v1.14.1-alpha.0
Regression: Not a Regression
Repro Steps:

Create a python project with Http Trigger function.
Create a python function app with Flex Consumption (Preview) hosting plan and East US 2 EUAP location.
Deploy the python project to the above function app.
Expand the above function app -> Expand the "Functions" node -> Right click the function and execute "Disable Function" action.
Check whether succeeds to disable the function.

Expect:
Succeed to disable the function.
Actual:
Fail to disable the function with an error.

More Info:
This issue does not reproduce if executing "Disable Function" action for the same function app from portal.

Related to https://github.com/microsoft/vscode-azurefunctions/issues/4067

Will be fixed whenever this is fixed


Add examples to the LDAP package

Description
Fixes: https://github.com/ballerina-platform/ballerina-library/issues/6678

@Nuvindu in this PR you have done multiple changes along with adding examples. The best practice is to have single change in one PR. In case of this particular PR we should have only added the examples along with the required doc updates. Shall we send separate PRs for doc formatting and native changes you have done here ?


I think I got it working with extra bones not in base MDL file

I had some trouble figuring out how to even set up this fork and rebase some pointless commits ^^;  Still very much a Github newb lol

Hm, I don't like what happened with the merge branch thing. Not sure how to undo it, so I'm just gonna start over.


Add description or details for campaign information

When creating a campaign, need to Add description or details about the campaign to share more information or provide context.

Proposed Solution
Ensure that campaigns have a details attribute, which is free text. This should be displayed on the campaign dashboard. This should also be displayed on the landing page. On the landing page, this can be shown inside the popup or on the side below the campaign heading.


CALCEPH integration

Provides ephemeris support via the CALCEPH C library.
Added functions are:

int novas_use_calceph(t_calcephbin *eph) -- to specify and use ephemeris data via CALCEPH for minor bodies, and possibly also for major planets too, depending on further configuration.

int novas_use_calceph_planets(t_calcephbin *eph) -- to specify and use ephemeris data for major planets (and Sun, Moon, SSB), such as say JPL's DE440.

Needs tests, CI, and coverage data...


fix select * logical error

Signed-off-by: nautaa<EMAIL_ADDRESS>If we use select *   with other column conditions, we will get the wrong result.
For example:
create table test (a UInt64, b UInt64) ENGINE = BaseStorage
insert into test values (1,1),(2,2)
TensorBase :) select * from test where b=1

SELECT *
FROM test
WHERE b = 1

Query id: 03beb4cb-b5e3-4318-b154-a39f9950108e

┌─b─┐
│ 1 │
└───┘

This PR fix it.

@nautaa cool! Your quiet contribution is the style of "ping tou ge"!  :guitar:

@nautaa thanks! FYI: it is recommended to use new commit message style

@jinmingjian Ok, thanks for reminding!


Google Drive Saying "zipchord-install-2.4.0.zip" is infected with a virus

Hello All,
I uploaded ZipChord to google drive to download on another computer that has no access to GitHub due to an internet filter.
When I go to download, google drive pops up the attached notification.
Is it correct? Why is it saying this?

A false positive detection by antivirus programs has come up from time to time. I was searching for a Google page that would allow me submit the file for review and alert them to the error in the detection (similar to what you can do with Microsoft, which I had done a few times in the past when Microsoft would incorrectly report ZipChord as a virus), but I could not find one.
Please see under https://github.com/psoukie/zipchord/wiki/Privacy for a brief explanation of what exactly ZipChord does and does not do, and for why from time to time antivirus software incorrectly flags it.
If anyone finds a resource where Google allows reporting of false positive and submission for deeper review, let me know.


Many non-ASCII characters are not displayed correctly

This may depend on https://github.com/hecrj/iced/issues/33 (text shaping and font fallback), although https://github.com/hecrj/iced/issues/213 has a workaround that's worth exploring (setting a custom font).

Loading a custom font works, but it's not viable to bundle all necessary fonts with Ludusavi. For example, Google's Noto Sans font with CJK support is over 100 MB. This will definitely need to wait for font fallback support in Iced.

The necessary functionality is now implemented in Iced, so once Iced 0.10.0 is released, I should be able to fix this in Ludusavi.


v20.2.0 HHVM support

[Current coverage][cc-pull] is 100%

Merging [#508][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #508   diff @@
====================================
  Files          27     27
  Lines         420    420
  Methods       105    105
  Messages        0      0
  Branches        0      0
====================================
  Hits          420    420
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [26fee91...c9912ac][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/26fee917a7142cb541e88200dd8ea06ec67dd666...c9912acd50dc8d875752d983b54741c89f46b1e2
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/508?src=pr


us-pa-greene

http://www.co.greene.pa.us/secured/gc2/depts/ed/gis.htm Greene County GIS

Not available to general public. Property layer available but VERY expensive.

License says no re-distribution.

no data


Not playing mp3s but Podcasts will play????🐛 | BUG SUMMARY

Bug
Local files wont play but the podcasts in the example content will - I'm making this for my daughters birtday in 1 week and have spent hours getting it to function i finally heard joyous audio last night whilst shuffle playing the ZZZ example content and noticed the only files that will play are the podcast feeds....so strange??
What I did
Intalled one line install buster as per guide, installed Waveform PN233 hat RFID reader, installed evdev & dependencies etc as per guide, RFID reader is working albeit after reinstalling it after boot. MPD fails to run on first boot, but works after sudo service mpd restart

What happened
Only podcasts are played and not mp3s

I expected this to happen
Upload and play mp3s

Further information that might help

Software
Base image and version

Branch / Release

Installscript

Hardware
RaspberryPi version
3+B

RFID Reader
Waveform PN232 Hat

Soundcard
Headphone jack

Other notable hardware

Are you using Spotify or classic edition?

Hi Martin i believe i installed both...

Its working great now with classic edition....

Unfortunately Spotify changed their API, so Spotify support is currently broken, see #1815

@ginandtronic If this works now, you could close this issue.

Closing this for now. Feel free to reopen, if the issue still exists.


Compiler error from migrating the StableHLO input conversion to a compiler plugin.

What happened?
When pulling after commit commit ebb5b7d4a3c59b8dac9c5a4fe4ba78f0c736dc7f
I get the following build error.
/usr/local/google/home/lubol/iree/compiler/plugins/input/StableHLO/stablehlo-iree/Conversion/StableHLOToLinalgPointwise.cpp:261:63:   required from here
/usr/local/google/home/lubol/iree/third_party/llvm-project/mlir/include/mlir/IR/PatternMatch.h:254:16: error: ‘virtual void mlir::RewritePattern::rewrite(mlir::Operation*, mlir::PatternRewriter&) const’ was hidden [-Werror=overloaded-virtual=]
254 |   virtual void rewrite(Operation *op, PatternRewriter &rewriter) const;
|                ^~~~~~~
/usr/local/google/home/lubol/iree/third_party/llvm-project/mlir/include/mlir/Transforms/DialectConversion.h:544:16: note:   by ‘mlir::OpConversionPatternmlir::stablehlo::XorOp::rewrite’
544 |   virtual void rewrite(SourceOp op, OpAdaptor adaptor,
|                ^~~~~~~
cc1plus: all warnings being treated as errors
[5913/7172] Building CXX object compil...ib/Dialect/Torch/IR/TorchDialect.cpp.o
ninja: build stopped: subcommand failed.
Steps to reproduce your issue
Clone the latest IREE repo and do a default build. The result is the error above.
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response

General troubleshooting tips/checklist/questions:

Check and share your operating system (e.g. Linux/Windows/macOS) and compiler versions (e.g. clang --version)
Check and share your full CMake configure command and output (looking for things like extra flags, build type Debug or RelWithDebInfo, etc.)
Check that git submodules are initialized with git status, git submodule sync, and git submodule update --init
If a build worked with the same configuration, try to narrow it down to which commit or range of commits caused the build to stop working. git bisect can help here (sample instructions: https://iree.dev/developers/debugging/compile-time-regressions/#running-git-bisect)

For this issue in particular, our continuous builds and other developers haven't reported issues, so I'd look for what is different about your setup. If the linked commit is truly the culprit, the logs would suggest some change in compiler flags getting applied to that code after moving it, or something like two headers are accidently using the same include guard.

From some offline discussion, it sounds like this is a gcc build, using the basic instructions at https://iree.dev/building-from-source/getting-started/#quickstart-clone-and-build. (Full CMake configure output would confirm this, please include that in bug reports for building)
Our CI is using gcc 9: https://github.com/openxla/iree/blob/5b2cb64ab88aad57354c7b0f47b11ca9ae8dd73b/.github/workflows/ci.yml#L714-L717. I see gcc 13 on my Linux dev machine.

I can reproduce with this gcc 13.2.0.

Seems like an upstream issue, but I don't see related issues in https://github.com/llvm/llvm-project ?
cmake --build ../iree-build --config RelWithDebInfo --target torch-mlir_CAPI fails similarly. Trying to find the simplest target that fails...


Documentation for InjectValidator?

I was going through the changelog and noticed the new InjectValidator, I had to read the PR and issue to figure out what it was for. There is no XML doc showing up in VS for it either.
I assume it just tells FV to go find the injected validator for that property?
This:
public class ServiceUpdateViewModelsValidator : AbstractValidator<List<ServiceUpdateViewModel>>
{
    public ServiceUpdateViewModelsValidator(IValidator<ServiceUpdateViewModel> serviceUpdateViewModelValidator)
    {
        RuleForEach(list => list)
            .SetValidator(serviceUpdateViewModelValidator);
    }
}

Can now become this:
public class ServiceUpdateViewModelsValidator : AbstractValidator<List<ServiceUpdateViewModel>>
{
    public ServiceUpdateViewModelsValidator()
    {
        RuleForEach(list => list).InjectValidator(); // Assumes `AbstractValidator<ServiceUpdateViewModel>` is registered?
    }
}

?

Docs are here: https://fluentvalidation.net/aspnet#injecting-child-validators

Re: Xml doc - they are in the code but looks like they're missing from the package as the filename was wrong. That'll be corrected for the next version.


Key chord functionality similar to VS Code

It would be quite nice to be able to use key chords similar to VS Code.

(eg.: ctrl + k, ctrl + s)

I use them a lot in apps that support them to extend the number of hotkeys available and minimize conflicts.

Actually never mind, literally minutes after posting this issue I found that it is indeed possible by sending multiple Send Key functions through + Add Keystroke.
I apologize.


Remove disposed security data from TimeSlice

Description

If we pull data and on the same time step that security gets removed,
we can still get that data in OnData(Slice) even though it was removed.
This change filters out removed securities by tracking a reference to
the subscription's disposed flag. Another change was made to wait until
the end of the time step to dispose of subscriptions.
Related Issue

Closes #1604
Motivation and Context

When a security is removed from a universe we should stop receiving data for that security.
Requires Documentation Change

No.
How Has This Been Tested?

Regression tests updated to confirm slice data matches active securities.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/ect)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed. (those that pass on master)
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

This has been cleaned up and verified in the QC cloud using the following algorithm. Confirmed the algorithm throws the exception on current master and passes with this branch.
    public class UniverseAlgorithm : QCAlgorithm
    {
    	private int securityCount = 50;
        private int onDataCalls = 0;
        private int onSecuritiesChangedCalls = 0;
        public override void Initialize()
        {
            SetStartDate(2017, 10, 02);
            SetEndDate(2017, 10, 4);
            UniverseSettings.Resolution = Resolution.Daily;

            AddUniverse(coarse => {
                return (from c in coarse
                    orderby c.DollarVolume descending
                    select c.Symbol).Take(securityCount);
            });
        }

        public override void OnData(Slice data)
        {
            if (data.Count != securityCount)
            {
                throw new Exception("Test failed. Excepted 50 data points.");
            }
            onDataCalls++;
            Log($"OnData {data.Count} symbols at {data.Time}");
        }

        public override void OnSecuritiesChanged(SecurityChanges changes)
        {
            onSecuritiesChangedCalls++;
            Log($"Added {changes.AddedSecurities.Count}. Removed {changes.RemovedSecurities.Count}");
        }

        public override void OnEndOfAlgorithm()
        {
            Log($"{onDataCalls} OnData Calls {onSecuritiesChangedCalls} OnSecuritiesChanged Calls");
        }
    }


no-brand 2.0" 240x320 display with ST7789V

I recently got a no-brand 2.0" screen from Aliexpress
https://www.aliexpress.com/item/4000832671813.html

According to the description and to the sticker on the box, it is based on ST7789V with resolution 240x320
I'd like to have it working with RPi, size and resolution is great for a portable RetroPie setup.
This is the connection I applied:
GND -> RPi Pin 9
VCC -> RPi Pin 17
SCL -> RPi Pin 23 (GPIO11, SPI_CLK)
SDA -> RPi Pin 19 (GPIO10, SPI_MOSI)
RST -> RPi Pin 13 (GPIO27)
DC -> RPi Pin 22 (GPIO25)
CS -> RPi Pin 24 (GPIO8, SPI_CE0)

There is no pin for blacklight control
This is the cmake command I am using for selecting build options:
cmake -DST7789VW=ON -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=40 -DUSE_DMA_TRANSFERS=OFF ..
I tried to build leaving DISPLAY_NATIVE_WIDTH 240 and DISPLAY_NATIVE_HEIGHT 240 in st7735r.h, but also trying to change both to 320 (not at the same time, of course)
Result is always the same: black screen.
Am i doing something wrong?

Nothing in particular stands out here. Worth testing with the provided driver that it works well. If it does, it may be a case to debug via sniffing the bus for differences.

thanks for quick response. I'll ask the seller some documentation, at the moment I don't have any driver working

Closing old issues.

thanks to the tricks from a youtube video, I could finally have the display up and running with your library.
I had to edit those two files:
st7735r.h
line 20 -> #define DISPLAY_NATIVE_HEIGHT 320
st7735r.cpp
line 95 -> SPI_TRANSFER(0x37/VSCSAD: Vertical Scroll Start Address of RAM/, 0, 0);
it would be nice to add a build option for supporting the ST7789 displays with full resolution (320x240)

thanks to the tricks from a youtube video, I could finally have the display up and running with your library.
I had to edit those two files:
st7735r.h
line 20 -> #define DISPLAY_NATIVE_HEIGHT 320
st7735r.cpp
line 95 -> SPI_TRANSFER(0x37/VSCSAD: Vertical Scroll Start Address of RAM/, 0, 0);
it would be nice to add a build option for supporting the ST7789 displays with full resolution (320x240)

Thank you so much, it took me 2 dyas to find this fix @Darmur


Barrel for a component should export any shared child folder's barrels

cc @Brocco

Duplicate of https://github.com/angular/angular-cli/issues/585, but correct me if I'm wrong.


[DETECTION] from_path returns None for cp1251 encoded file

Description
File content is not reading.
Method from_path returns None.
Steps to reproduce

Copy test.txt to C:\test.txt
Run _Charset-normalizer.txt as python script
Ensure that from_path returns None

Expects
'from_path' result are the same or better than 'with open' result.
Logs
'with open' result:
	---- Начало операции с хранилищем конфигурации ----
	Объект захвачен для редактирования: РегистрСведе
'from_path' result:
	None
'from_path with cp_isolation' result:
	None
Desktop
OS: Windows 10 x64
Python version: 3.11.3
Charset-normalizer version: 3.1.0

Hello,
Thank you for the detailled report.
I can confirm that this reproduce. There is one or two things I can try to fix that particular case.
I don't know when it will be fixed, update will be posted here.

Fixed in PR #306
Will be available on v3.2.0
Regards,


[Android] – top padding on text (5px)

React Native 0.29 / Mac / Android
Hello, i'am use Roboto font, and get strange 5px padding from top

Here styles for this item
tabBarItem: {
  flex: 1,
  alignItems: 'center',
  justifyContent: 'center',
  paddingBottom: 10
},
tabBarText: {
  color: 'white',
  fontFamily: 'Roboto-Medium',
  fontSize: 14,
  lineHeight: 16,
  backgroundColor: 'black',
},

Thanks!

I'd guess it has to do with the changes to the flex logic in 0.28.
Try and remove flex: 1 and see it that solves it
https://github.com/facebook/react-native/releases/tag/v0.28.0

Updates to css-layout leading to many fixes but requiring some breaking changes:
flex styling property behavior now behaves slightly differently. If you previously used flex: 1 where not necessary this change will likely break your layout as the measuring behavior is slightly different than before due to performance optimizations. Removing that unnecessary flex: 1 will solve your layout in most cases.
Due to performance tweaks flexWrap: wrap no longer works together with alignItems: 'stretch' (the default). If you use flexWrap: wrap you probably will want to add the alignItems: 'flex-start' style as well.

Thank for your answer.
Removing flex: 1 from tabBarItem did not resolve problem.

+1

Now I've seen this too :)
Hopefully this change in RN 0.31 will solve it
https://github.com/facebook/react-native/commit/c3f2bba834a5ffcc42352bb738132baceafce76d

Anyone was able to check if it's still the case with 0.31-rc?

Sketch: Font-size: 14, line-height: 16 (right part of image)
React-native - like before  (left part of image)

tabBarText: {
  color: 'white',
  fontFamily: 'Roboto-Medium',
  fontSize: 14,
  lineHeight: 16,
  backgroundColor: 'black',
}

Line height between sketch and react-native is different: 16 and 19.


Search bar glitching after uninstalling TaskbarX

Describe the bug
Even after uninstallation and completely removing all the files, Taskbar glitches on the search box on startup, and every time I restart windows explorer (to reset taskbar functioning), and glitching stops when I hover my cursor on that search box.
To Reproduce
Steps to reproduce the behavior:

Go to Taskmanager
Enable search box in the taskbar (if not enabled)
Find Windows Explorer and Restart it
See an error

Expected behavior
Normal search box without a glitch
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Home Single Language
Version 21H1

Additional context
While glitching:

the pinned icons don't appear yet
Also while glitching, the text inside the search box "Type here to search" keeps moving to the left and center.
The magnifying glass icon in the search box doesn't appear until I hover my cursor on it and the glitch disappears.

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Parallel test output needs more newlines

Description
If I run swift test --parallel on my project with a failing test, the output looks like this:
...
[277/278] Testing ValCommandTests.ValCommandTests/testBinary
[278/278] Testing ValTests.TypeCheckerTests/testTypeChecker
Test Suite 'Selected tests' started at 2023-05-27 08:57:28.226Test Suite 'ValPackageTests.xctest' started at 2023-05-27 08:57:28.228Test Suite 'TypeCheckerTests' started at 2023-05-27 08:57:28.228Test Case '-[ValTests.TypeCheckerTests testTypeChecker]' started./Users/dave/src/val.1/Tests/ValTests/TestCases/TypeChecking/While.val:1: error: -[ValTests.TypeCheckerTests testTypeChecker] : compilation stages succeeded, but failure was expected/Users/dave/src/val.1/Tests/ValTests/TestCases/TypeChecking/While.val:10: error: -[ValTests.TypeCheckerTests testTypeChecker] : missing expected diagnostic: 'incompatible types 'Int' and 'Bool''Test Case '-[ValTests.TypeCheckerTests testTypeChecker]' failed (6.082 seconds).Test Suite 'TypeCheckerTests' failed at 2023-05-27 08:57:34.310.
	 Executed 1 test, with 2 failures (0 unexpected) in 6.082 (6.082) secondsTest Suite 'ValPackageTests.xctest' failed at 2023-05-27 08:57:34.310.
	 Executed 1 test, with 2 failures (0 unexpected) in 6.082 (6.083) seconds
Test Suite 'Selected tests' failed at 2023-05-27 08:57:34.310.
	 Executed 1 test, with 2 failures (0 unexpected) in 6.082 (6.085) seconds

If I omit --parallel, the failure looks something like this, which is easily parsed by humans and tools:
...
Test Case '-[UtilsTests.ThreeValuedBitTests testNot]' passed (0.000 seconds).
Test Case '-[UtilsTests.ThreeValuedBitTests testOr]' started.
Test Case '-[UtilsTests.ThreeValuedBitTests testOr]' passed (0.000 seconds).
Test Suite 'ThreeValuedBitTests' passed at 2023-05-27 09:00:14.224.
	 Executed 3 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'TypeCheckerTests' started at 2023-05-27 09:00:14.224
Test Case '-[ValTests.TypeCheckerTests testTypeChecker]' started.
/Users/dave/src/val.1/Tests/ValTests/TestCases/TypeChecking/While.val:1: error: -[ValTests.TypeCheckerTests testTypeChecker] : compilation stages succeeded, but failure was expected
/Users/dave/src/val.1/Tests/ValTests/TestCases/TypeChecking/While.val:10: error: -[ValTests.TypeCheckerTests testTypeChecker] : missing expected diagnostic: 'incompatible types 'Int' and 'Bool''
Test Case '-[ValTests.TypeCheckerTests testTypeChecker]' failed (6.011 seconds).
Test Suite 'TypeCheckerTests' failed at 2023-05-27 09:00:20.234.
	 Executed 1 test, with 2 failures (0 unexpected) in 6.011 (6.011) seconds
Test Suite 'ValCommandTests' started at 2023-05-27 09:00:20.234
Test Case '-[ValCommandTests.ValCommandTests testBinary]' started.
Test Case '-[ValCommandTests.ValCommandTests testBinary]' passed (0.291 seconds).
...

Expected behavior
Failures should be output on their own lines.  See also #6566; oh, the irony!
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift Package Manager - Swift 5.8.0
Swift & OS version (output of swift --version ; uname -a)
swift-driver version: 1.75.2 Apple Swift version 5.8 (swiftlang-<IP_ADDRESS>.2 clang-14<IP_ADDRESS>.100)
Target: arm64-apple-macosx13.0
Darwin DaveA-MBP14.localdomain 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar  6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64

This may be a XCTest issue (where it does not normally emit a newline).  But, I agree, this would be wonderful.

Let me see what I can do here.

(I think! Gosh, GitHub is picky about formatting.)

@grynspan I'm unclear on how this can be a dup of #6566, which is about too many/random newlines and exclusively non-parallel builds, while this one is about not enough newlines (at a minimum) and only parallel builds.

The root cause of both issues is that a 1KB buffer was being artificially imposed and that it inserted its own newlines (and ignored newlines from calling code.) The fix for that issue should have addressed both. If you're still seeing an issue with that fix in place, feel free to reopen.

And then why it's closed as "not planned" instead of "it's a dup", also unclear.

You would have to ask the GitHub folks; they consider "dup" to fall under the "not planned" category. 🙂

Thanks for all the explanation!