Resolving Case Sensitivity-Exploiting Errors Caused by Duplicating Folder Names

For #659
Resolving Case Sensitivity-Exploiting Errors Caused by Duplicating Folder Names and newsletter model importing case sensitive error.

@crocmons, Please review this PR. This PR is fixing issues raise by #995 PR.

@s2sharpit please change it ...it should be uppercase...The Model Files Name should be in uppercase

@s2sharpit please don't change it ...it should be uppercase...The Model Files Name should be in uppercase..Make the Model files Name Uppercase

@crocmons I haven't changed the file name. It is in lowercase.

@s2sharpit please don't change it ...it should be uppercase...The Model Files Name should be in uppercase..Make the Model files Name Uppercase

@crocmons I haven't changed the file name. It is in lowercase but you was importing it with uppercase. So, if you want the file name in uppercase. let me do that. 😊

yes, do that in uppercase then all the conflict is gone for example: Newsletter ...so you don't need this pr...

@s2sharpit please don't change it ...it should be uppercase...The Model Files Name should be in uppercase..Make the Model files Name Uppercase

@crocmons I haven't changed the file name. It is in lowercase but you was importing it with uppercase. So, if you want the file name in uppercase. let me do that. 😊

yes, do that in uppercase then all the conflict is gone for example: Newsletter ...so you don't need this pr...

This is the link of next-ts-tw-migrate branch from rohansx repo
and this is the screenshot of it:

First Error which require to rename the newsletter model file into uppercase.

here the newsletter file name will be like this - Newsletter

The second error is there is two folder with same name which expoloits case sensitive rule.
The link for it: next-ts-tw-migrate branch from rohansx repo
Screenshot of the same:

Error caused by it:

@crocmons, Please understand that I'm only trying to fix the issues, nothing more than that.

The second error is there is two folder with same name which expoloits case sensitive rule.
The link for it: next-ts-tw-migrate branch from rohansx repo
Screenshot of the same:
Error caused by it:

ok one thing you can do change the name as I mentioned and remove the previous newsLetter folder..can you do this or I will handle this @s2sharpit

here the newsletter file name will be like this - Newsletter

Yaa, that's what I'm saying.

The second error is there is two folder with same name which expoloits case sensitive rule.
The link for it: next-ts-tw-migrate branch from rohansx repo
Screenshot of the same:
Error caused by it:

ok one thing you can do change the name as I mentioned and remove the previous newsLetter folder..can you do this or I will handle this @s2sharpit

Yes, I can.
That's why i raised this PR @crocmons

@crocmons I have fixed it. Please review it once. 😊

Also, remove the previous newsLetter folder

Also, remove the previous newsLetter folder

Yaa, I have done it.

Hey, @s2sharpit can you delete those messages which you added to my pr because there is no error it's a file naming convention coming from the previous pr...so please remove those messages..

Okay

Hey, @s2sharpit can you delete those messages which you added to my pr because there is no error it's a file naming convention coming from the previous pr...so please remove those messages..

Done


is it possible outputFormat include day_names_abbreviated?

Example: Thu Sep 7, 2017
Thanks...

figured this out:
inputFormat: 'DD MM dd,  yyyy',
outputFormat: 'DD MM dd,  yyyy',


Nullpointer Exception

return statement is throuwing NPE
public int getFirstWeekDayMonth(@IntRange(from = 1970, to = 2090) int yy, @IntRange(from = 1, to = 12) int mm) {
return startWeekDayMonthMap.get(yy)[mm];
}

I don't see this code in repo.
do you want to write unit test to prove this one in your forked project .
or
Steps to replicate from
http://softwaretestingfundamentals.com/defect-report/ would be helful

The value of the year is starting from 1969.How does that happen ? It was
working fine until yesterday. But suddenly the exception occurred.
On Mon, Dec 2, 2019 at 1:15 PM Baha Baniya<EMAIL_ADDRESS>wrote:

I don't see this code in repo.
do you want to write unit test to prove this one in your forked project .
or
Steps to replicate from
http://softwaretestingfundamentals.com/defect-report/ would be helful
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bahadurbaniya/Date-Converter-Bikram-Sambat-to-English-Date/issues/13?email_source=notifications&email_token=AKIJYQFJE4G74VJ4HHAF3GTQWS2SNA5CNFSM4JTKNMA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFSQQJI#issuecomment-560269349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKIJYQBXOQMYKM5SARMQZ53QWS2SNANCNFSM4JTKNMAQ
.

which date conversion is not working?
ad to bs or bs to ad?

https://github.com/bahadurbaniya/Date-Converter-Bikram-Sambat-to-English-Date/blob/master/src/test/java/np/com/bahadur/converter/date/nepali/DateConverterTest.java . Unit test can be added here

Have not got proper steps to reproduce so closing it. Please raise again with "Steps to reproduce".
https://github.com/bahadurbaniya/Date-Converter-Bikram-Sambat-to-English-Date/blob/master/CONTRIBUTING.adoc#raising-bug


Visualise error

The file activesd.pckl is not being created by the previous steps in the pipeline and when i run visualise it throws an error because of it.

The same question!!!


Fix: test if “output” exists; if not, create the dir.


Subsequent failures options

I'm using some 1-2 years old copied versions of this win32 service and Peter Kottas' wrapper for an ordinary .NET 4.7 project. Due to use of some 3rd party legacy API I have a demand to programmatically restart service occasionally to release that API's unmanaged resources. Old bugger leaks memory and handles. So, somewhere deep in code this block
Environment.ExitCode = -1; // Results in a fake failure
var p = Process.GetCurrentProcess();
p.Kill();

initializes a stops service. The only thing lacks for a proper restart are the following options:

Not the end of the world, but local admin may forget to set these up manually after update.
As I haven't sync'd this project with my copy for a while, are these options already implemented? If not, are there plans for these properties' implementation?

That has been implemented in https://github.com/dasMulli/dotnet-win32-service/pull/36
            var serviceDefinition = new ServiceDefinitionBuilder(ServiceName)
                .WithDisplayName(ServiceDisplayName)
                .WithDescription(ServiceDescription)
                .WithBinaryPath(fullServiceCommand)
                .WithCredentials(Win32ServiceCredentials.LocalSystem)
                .WithAutoStart(true)
                .WithFailureActions(new ServiceFailureActions(TimeSpan.FromDays(1), null, null, new[]{
                    new ScAction
                    {
                        Delay = TimeSpan.FromMinutes(5),
                        Type = ScActionType.ScActionRestart
                    },
                    new ScAction
                    {
                        Delay = TimeSpan.FromMinutes(5),
                        Type = ScActionType.ScActionRestart
                    },
                    new ScAction
                    {
                        Delay = TimeSpan.FromMinutes(5),
                        Type = ScActionType.ScActionRestart
                    }
                }))
                .Build();

            new Win32ServiceManager().CreateOrUpdateService(serviceDefinition, startImmediately: true);

I really need to upgrade and use as package. My copy's missing that bit. Thanks a lot for this example!


compilation roadblock on SotnApi.csproj line:11

I noticed that line:11 in SotnApi.csproj was preventing me from compiling due to the fact I didn't have a D: drive on my computer to output to. I just wanted to point this out in case anyone else was having problems compiling and as a way to suggest and edit to a generic solution.

Oh thanks, I'm not sure why that doesn't use a relative path but it should. This repository is also quite outdated due to no interest.

I think people are always going to be more interested in the tools APIs create rather than the "pipe works". I think it's a great idea though.


[WIP][CI Test Only][HUDI-1180] Upgrade HBase to 2.4.9

What is the purpose of the pull request
Upgrade HBase to 2.4.9

@hudi-bot run azure

@hudi-bot run azure

@yihua : can we close this if not valid anymore

#5004 is ready for review for HBase upgrade. Closing this one which is for CI test and experiment only.


Add remaining indices and associated preprocessing code

This PR consists of changes for generating the penultimate dataset of drought indices. It includes the following high-level changes over the current main branch:

swap of main processing code from jupyter notebook to python script - this will be more straightforward for automating/running
code for generating the SPI, SPEI, and soil moisture deficit indices
code used to download the precursor datasets needed for these indices: hourly soil moisture, precip, and potential evaporation data for the historical period
code used to process the downloaded data into data inputs that will be utilized and provided with every execution of the total indices dataset generation (parameters of gamma distirbutions fit to precip and potential evaporation data for each day of the year)
a quality control notebook used for doing point validations for all indices and intervals, plus histograms

To test, you really only need to follow the README to download the ERA5 data and run the pipeline, then use the QC notebook (notebooks/snap/qc.ipynb) to make sure the data appears correct. Use the notebooks/explore_indices.ipynb to further check that things seem to visualize OK (don't look too close though - the colormaps are not great). You really don't need to test all of the stuff in scripts/snap, just give it a look for understanding and typos. It shouldn't be needed again, or at least very often, but feel free to test if you'd like.
It is important that the README is meaningful for our collaborators that will be relying on it to compute the indices regularly, so keep a watchful eye for assumptions that might not make sense from an outsider's point of view.
The data that will be provided to NWS should all be in the /workspace/Shared/Tech_Projects/NWS_Drought_Indicators/project_data/nws_data. You could work with this path, or copy it onto scratch space or your local machine for testing.
closes #8

Thanks for the very thorough review @charparr, great catches and fixes/ suggestions!
I will try re-running from scratch to hopefully replicate that error in the QC notebook, and the issues with the interactive viz notebook.

Bruce is running a trial on a minimal VM (CentOS7 with Python 3.10.9 and Conda) and the download script is running fine at the moment. No need to hold up this PR and any further bumps found today/tonight will be ticketed!


[FEATURE] External console viewer support

Is your feature request related to a problem? Please describe.

Currently Harvester supports "Web VNC" and "Serial console"-consoles, I suggest adding support for external console viewers,
Vsphere got it's VMRC
oVirt uses virt-viewer files
Describe the solution you'd like

Support for external console viewers, preferably something flexible such as "virt-viewer" (https://gitlab.com/virt-viewer/virt-viewer)
Describe alternatives you've considered

vnc:// links?
Additional context

I second this, having the ability to use the actual VNC protocol instead of exclusively NoVNC is vital to one of my projects. I'm more than willing to develop this if I can get pointed the right direction

Hi @Jellyfrog, what kinds of external console viewers do you want to support? We can also use virtctl to access VMs.
install virtctl
kubectl krew install virt

Accessing the serial console
kubectl virt console <vm-name>

Accessing the graphical console (VNC)
kubectl virt vnc <vm-name>

ref: https://kubevirt.io/user-guide/virtual_machines/accessing_virtual_machines/

Idk if its even possible, but could the Sunshine/Moonlight protocol be implemented as a console for low latency and lag free video?

Hi @Jellyfrog, what kinds of external console viewers do you want to support? We can also use virtctl to access VMs.
install virtctl
kubectl krew install virt

Accessing the serial console
kubectl virt console <vm-name>

Accessing the graphical console (VNC)
kubectl virt vnc <vm-name>

ref: https://kubevirt.io/user-guide/virtual_machines/accessing_virtual_machines/

@FrankYang0529 this is helpful.  However, still having the support for opening in external viewer is much needed. In my case, i'm looking for clipboard/copy-paste buffer support. Tried with virtctl, but seems clipboard support is also not there.


Change password gives 404

Hello<EMAIL_ADDRESS>Someone has requested a link to change your password. You can do this through the link below.
Change my password
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.

Problem was that the link didn't include the port, had apache redirect it to ruby on rails port.


bump azure/login@v2

Upgrade the course content example azure/login to latest major version
There are other areas of the content where dependabot or other tools may be used to upgrade the references to older action versions.

@cephalin
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


API Coverage list

I'm listing out all the API coverage on both the existing golang backend and the rust server. This list should help us understand where we're at regarding reaching feature parity with the golang backend.

This looks great; very helpful for comparing/contrasting the codebases.

This looks great; very helpful for comparing/contrasting the codebases.

Indeed, The code is as stupidly simple as it can be except for the UIA bypass. It might be possible to move that up to the router as a middleware.
What are we doing at sync? I'm sure this requires some extra work on the router level.

A few comments:

Update Display Name/Avatar should have an optional /:room_id  suffix for room-specific membership changes.


DLL export/import

I wonder why you do not use Boost.DLL?
I think that this is a better solution since the engine is to be multi-platform.
It is a simple solution to implement.

I don't see any relation between Boost.DLL and DLL export/import. Does Hazel need to import other dll's function?
Currently Hazel is depends on other libraries, but all of them are either can be able to include directly into source code (spdlog) or can be linked statically (glfw, glad, imgui). Whichever platform we are distribute to, we only distribute a single library "Hazel", which contains everything in it.

Yes, it is platform specific, but I don't know it is needed at this point
of dev since it is not supporting any other systems. But if you want, fell
free :)
niedz., 3 lut 2019, 13:30 użytkownik KSmigielski<EMAIL_ADDRESS>napisał:

Yes, Hazel need to import/export other dll's.
When you look up at /Hazel/src/Hazel.Core.h
https://github.com/TheCherno/Hazel/blob/master/Hazel/src/Hazel/Core.h
there is:
#ifdef HZ_PLATFORM_WINDOWS
#ifdef HZ_BUILD_DLL
  #define HAZEL_API __declspec(dllexport)

#else
  #define HAZEL_API __declspec(dllimport)

#endif
#else
#error Hazel only supports Windows!
#endif
Which is platform specifics precisely Windows.
Boost.DLL allow handle this whiout platform specifics code.
without
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TheCherno/Hazel/issues/23#issuecomment-460047358, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Akz10XN7VGpRc3oIGihj1xulmPZmcf88ks5vJtZUgaJpZM4abAH0
.

I agree with @3x3y3z3t. Also, these #define's are simple enough to be worth adding another dependency just for them.
In response to @KSmigielski and @MaximPrime, in the PR #27: Add Linux support (updated), the mentioned snippet has already been updated to work both on Windows and Linux.

I understand that this is solved for Linux. But if there are plans for development for other systems, it is inefficient to write for each of them macro

I understand that this is solved for Linux. But if there are plans for development for other systems, it is inefficient to write for each of them macro

@KSmigielski Adding another (assumingly rather large, considering it's from BOOST) dependency for something this trivial is against good practices. We can write the macros to accomplish this ourselves, likely with less code, just fine. Pulling in another dependency for what might amount to a grand total of 100 lines is ridiculous.

Yes, Hazel need to import/export other dll's.
I'm sorry if it is just me, but considering the fact that currently Hazel depends on glfw, glad, imgui (which is being statically linked) and spdlog (source code is included), I don't see any need to import other dll's functions. Can you please give some example of external functions that Hazel need to import?

When you look up at /Hazel/src/Hazel.Core.h
there is:
...
Boost.DLL allow handle this whiout platform specifics code.
Those macro definitions is for exporting and importing of Hazel's own functions. It is not for import other dll's function.

Ass @braxtons12 said, we can write some macros to handle platform-specific part of code. Cherno have said to make the engine as less dependency as possible, not to say that we add a whole library just to use a small part of it.

Closing since no further discussion has taken place. Please reopen if you have more to add, @KSmigielski


Schedule for Later Calendar highlights the wrong date

Issue Summary
When selecting a date in the publish page (after selecting "schedule send for later"), the date in the date picker is shown as one day prior to the day actually selected.
Easier to see it: https://youtu.be/-ptojectxBY
Steps to Reproduce
See above
Ghost Version
5.99.0
Node.js Version
18.something
How did you install Ghost?
Ubuntu
Database type
MySQL 8
Browser & OS version
Chrome & macOS Sequoia
Relevant log / error output
N/A

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Why did Linear close as completed? The issue isn't fixed yet

I think it was fixed in https://github.com/TryGhost/Ghost/pull/21657 but not linked


Fix io

Fixes an IO problem that metatensor.io.save does not support pathlib objects, as stated in #548 (currently a draft PR because I couldn't write the tests)
Contributor (creator of pull-request) checklist

[ ] Tests updated (for new features and bugfixes)?
[ ] Documentation updated (for new features)?
[X] Issue referenced (for PRs that solve an issue)?

Reviewer checklist

[ ] CHANGELOG updated with public API or any other important changes?

📚 Download documentation preview for this pull-request

Also, I think the serialization test might be enough to check what I did (pls let me know if it's not)

The code was broken before, which means that existing tests did not catch the issue, so yes, an additional test would be good!

I think all is OK now (hopefully 😅), can you check @Luthaf ? Thanks and sorry for bothering you with small mistakes 😅


Re-check bug Please enable on when unstake Kusama

Describe the bug
Re-check bug Please enable on when unstake Kusama
To reproduce the bug
Steps:

Go to Staking tab -> select Kusama network
Navigate to Unstake screen
Observe the displayed screen

Actual: Show message: Please enable on

Expect:
Note: Maybe the data hasn't been retrieved yet

The problem is resolved in issue #2162

Fixed in issue https://github.com/Koniverse/SubWallet-Mobile/issues/1155


IL not available for mach-o binaries

Version and Platform (required):

Binary Ninja Version: 4.1.5747
OS: macOS
OS Version: 14.5
CPU Architecture: M1

Bug Description:
IL is not loaded (always).
Steps To Reproduce:
class ...:
    def __init__(self, binary_view: "BinaryView")
        self.bv = binary_view
        # ...
    def wow(self, call: ReferenceSource):
        if not call.function.llil_if_available:
            logger.debug("@%#x LLIL not available", call.address)
            return []
        return str(call.function.llil) # example
        # ...

    def analyze(self, ...):
        # ....
        func: List["Function"] = self.get_funcs()
        for ref in func.caller_sites:
            res = self.wow(ref)
            print(res)

Every ref results into LLIL not available.
Expected Behavior:
LLIL avilable for most cases.
Binary:
Binary is Mach-O universal binary. The binary does not contain objc info.
Additional Information:
This code worked completely fine before the update.

Thanks for the bug report. Is it possible to provide with us a binary to make it easier to reproduce it?

I don't want to share the raw contents here, so how about this?

I encrypt the binary into a zip
I share a link which will expire after 1 dl
You confirm the hash
I share the password if you downloaded.

That way, I don't need to share the binary, and only you can download the file.
If you have a better way to share files privately, please let me know.

I think you can join our public slack and share the file with me in private. You do not need to upload it here. Our public slack is at https://slack.binary.ninja/. Alternatively, you can also email it to us via<EMAIL_ADDRESS>

How are you loading the binary_view that gets passed to that class?

with binaryninja.load(args.binary) as bv:
    bv.update_analysis_and_wait()
    analyzer = Analyzer(bv)
    analyzer.analyze()

FYI: I emailed xusheng6 with files 20 minutes ago.

V35 folks should search for Fallen-Spider-Rod3-Fresh-Various to find the relevant files

For larger binaries, Binja doesn't run full analysis on every function during load. When you're using the UI you'll notice that analysis for certain functions is triggered as you navigate to different locations in the binary. If you open the binary that you shared with us (don't navigate anywhere) and run bv.get_function_at(0x2b42c).llil_if_available you'll likely see it return None. If you run bv.get_function_at(0x2b42c).llil, it should return the LLIL. The later triggers BN analysis of that function.
>>> print(bv.get_function_at(0x2b42c).llil_if_available)
None
>>> print(bv.get_function_at(0x2b42c).llil)
<LowLevelILFunction: x86_64@0x2b42c>

I recommend trying something like this:
try:
    call.function.llil
except ILException:
    logger.debug("@%#x failed to get LLIL", call.address)
    return []

It's interesting that you didn't run into this until 4.1. Perhaps you were seeing it previously, but just not with near as many functions?

Thanks. Is there a way I can force analyze it?

btw, my current BN implementation only works with 1 file I provided (IDA works fine with both files).
Specifically, BN fails on x86_64, but works with aarch64.

I still have exceptions with the following code
try:
    call.function.hlil
except ILException:
    logger.debug("Couldn't get LLIL for %#x", call.function.start)
    return []

❯ cat bn/parser_share.py.log|grep "Couldn't get LLIL for "|sort|uniq -c
 112 DEBUG:__main__:Couldn't get LLIL for 0x10000d...

I tried fixing it by increasing the function size but i still get the error. (For comparison, the default value is 65536)
s = Settings()
s.set_integer("analysis.limits.maxFunctionSize", 600500000)

The first way @zznop mentioned should work.
Just replace your function from
    def wow(self, call: ReferenceSource):
        if not call.function.llil_if_available:
            logger.debug("@%#x LLIL not available", call.address)
            return []
        return str(call.function.llil) # example

to
    def wow(self, call: ReferenceSource):
        try:
            llil = call.function.llil
            return str(llil) # example
        except ILException:
            logger.debug("@%#x LLIL not available", call.address)
            return []

If you want to force analyze a skipped function, you can set analysis_skipped to False
if function.analysis_skipped:
    function.analysis_skipped = False

Couldn't get LLIL for 0x10000d...

0x10000d isn't in range of any of the segments for either of the two binaries you shared with us. Are you running your code against another binary?

Full address is 0x10000deb8. I redacted the last digits. Sorry for the confusion.

Full address is 0x10000deb8. I redacted the last digits. Sorry for the confusion.

Binja bails during analysis of the function because the time to analyze that function exceeds the default threshold of 20 seconds. If you increase the "Max Function Analysis Time" setting to something higher (like 60000 milliseconds) then Binja analyzes it fine. You can also force analysis by setting func.analysis_skipped to False.
To increase the timeout threshold for function analysis:
bv = BinaryView.load(filepath, options={"analysis.limits.maxFunctionAnalysisTime": 60000})

To force analysis of a skipped function:
func = bv.get_function_at(0x10000deb8)
if func.analysis_skipped:
    log_debug("Forcing analysis of skipped function at {hex(func.start)}")
    func.analysis_skipped = False

To summarize, it is expected that when you query IL for certain functions that ILException will be raised. When this occurs you can still force analysis using the method described above (in most cases).

According to the discussion, things are working as expected


org.zstack.header.host.APIAddHostEvent failed

I follow theFlat Network Provider  tutorial，
when I add host ,it's failed
the log is
{"org.zstack.header.host.APIAddHostEvent":{"apiId":"0d421a736e2d4b32a913cb21cd20d899","success":false,"error":{"code":"HOST.1000","description":"Unable to add host","details":"unhandled exception happened when calling private void org.zstack.core.ansible.AnsibleFacadeImpl.1.run(org.zstack.header.core.Completion), \nshell command[sudo ansible-playbook /usr/local/zstack/ansible/kvm.yaml -i /usr/local/zstack/ansible/hosts --private-key /usr/local/zstack/apache-tomcat-7.0.35/webapps/zstack/WEB-INF/classes/ansible/rsaKeys/id_rsa -e \u0027{"init":"true","hostname":"10-0-17-78.zstack.org","pkg_kvmagent":"kvmagent-1.0.tar.gz","trusted_host":"<IP_ADDRESS>","yum_repo":"\"alibase,aliupdates,aliextras,aliepel\"","host":"<IP_ADDRESS>","pip_url":"http://<IP_ADDRESS>:8080/zstack/static/pypi/simple\",\"zstack_root\":\"/var/lib/zstack/\",\"yum_server\":\"<IP_ADDRESS>:8080\",\"pkg_zstacklib\":\"zstacklib-1.0.tar.gz\"}\u0027] failed\nret code: 2\nstderr:  [WARNING]: Consider using yum module rather than running yum\n [WARNING]: Consider using yum module rather than running rpm\n\nstdout: \nPLAY ***************************************************************************\n\nTASK [setup]

the password is correct, and I Flush the iptables.
please help me, thanks

@pingliu, the error log is not full.  It didn't show the real reason. How
did you install ZStack? Did you use option like " -R aliyun" ? Usually the
AddHost error is due to system libs installation error through yum. So if
you are in China, please use aliyun yum repo.
On Wed, Feb 17, 2016 at 8:17 PM, pingliu<EMAIL_ADDRESS>wrote:

the password is correct, and I Flush the iptables.
please help me, thanks
—
Reply to this email directly or view it on GitHub
https://github.com/zstackorg/zstack/issues/209#issuecomment-185175324.

--
Yongkang You

@youyk  I use aliyun. do you have a wechat num.
we can communicate with wechat.

@youyk i use aliyun. the log cannnot find which libs error
can we use wechat communicate??

hi @pingliu, could you help to run following command in your zstack
management node and paste the output here.
ansible-playbook /usr/local/zstack/ansible/kvm.yaml -i
/usr/local/zstack/ansible/hosts --private-key
/usr/local/zstack/apache-tomcat-7.0.35/webapps/zstack/WEB-INF/classes/ansible/rsaKeys/id_rsa
-e '{"init":"true","hostname":"10-0-17-78.zstack.org
","pkg_kvmagent":"kvmagent-1.0.tar.gz","trusted_host":"<IP_ADDRESS>","yum_repo":""alibase,aliupdates,aliextras,aliepel"","host":"<IP_ADDRESS>","pip_url":"
http://<IP_ADDRESS>:8080/zstack/static/pypi/simple
","zstack_root":"/var/lib/zstack/","yum_server":"<IP_ADDRESS>:8080
","pkg_zstacklib":"zstacklib-1.0.tar.gz"}'
On Thu, Feb 18, 2016 at 12:24 PM, pingliu<EMAIL_ADDRESS>wrote:

@youyk https://github.com/youyk i use aliyun. the log cannnot find
which libs error
can we use wechat communicate??
[image: image]
https://cloud.githubusercontent.com/assets/6415493/13133853/8eb2aaf8-d63a-11e5-9892-6ce551ebaab8.png
—
Reply to this email directly or view it on GitHub
https://github.com/zstackorg/zstack/issues/209#issuecomment-185537217.

--
Yongkang You

the result is
ERROR! Syntax Error while loading YAML.
The error appears to have been in '': line 2, column 81, but may
be elsewhere in the file depending on the exact syntax problem.

Join our QQ group 410185063, lots of users asking questions there
On Thu, Feb 18, 2016 at 1:47 PM, pingliu<EMAIL_ADDRESS>wrote:

the result is
ERROR! Syntax Error while loading YAML.
The error appears to have been in '': line 2, column 81, but may
be elsewhere in the file depending on the exact syntax problem.
—
Reply to this email directly or view it on GitHub
https://github.com/zstackorg/zstack/issues/209#issuecomment-185553923.

This issue should be resolved. @pingliu I will close it currently. If you still meet it, please report a new one.


UBigInteger and BigInteger ABI return type regression

ABI method return type stopped  supporting UBigInteger and BigInteger

Fixed in upcoming release.


Error on Ubuntu 16.04 Xenial

TASK [Stouts.supervisor : Enable supervisor service (Debian) - pt. 3] **********
skipping: [<IP_ADDRESS>]

TASK [Stouts.supervisor : Ensure the supervisor is started] ********************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "failed": true, "msg": "Could not find the requested service \"'supervisor'\": "}

While the prior task seems to enable the service on Debia, I'm guessing this has something to do with systemd?

@KixPanganiban hey, did you manage to fix this issue?

@iuriinedostup This seems to have resolved itself. I re-downloaded the roles and now it's working fine

@KixPanganiban I am recently am running into this issue myself any suggestions on where I can see debug/errors logs when supervisor tries to start?

For anyone that lands on this issue this is a bug with the initial release with Ubuntu 16.04 It is documented here:
https://bugs.launchpad.net/ubuntu/+source/supervisor/+bug/1594740
A couple workarounds:

You can package install supervisor using a release with this issue fixed: apt-get install supervisor
You can run a command once that would address the service to be recognized by systemd and actually start. See link above for commands to run.

What this really highlights is that the install task for this role and Ubuntu are kind of now out of diverging. The install task by default with Ubuntu 16.0.4 won't work anymore. You can use apt-get but then the install tasks and the subsequent tasks to configure the conf file might require retesting to see if it can still work.


Vibration on mobile when screen is shaking

Can be useful in games like https://spazzylemons.itch.io/ticochet

Add the same functionality for game controller, if possible.

@harraps will try, thanks

info for me:
Force Feedback Support
https://wiki.libsdl.org/CategoryForceFeedback

also vibration for touch gamepad

I suppose that will require expanding TIC-80 API anyways.

wonfix


(Re) Enable ROCm support for BatchToSpaceND op, upstream-sync for pooling_ops

@deven-amd can we break this PR into 2 as they serve different purposes

would it be okay if we take this PR if the CI run comes back clean?
If for any reason we need to run CI again, I will split it into two as you requested.
Note that there is a separate commit associated with each purpose.
thanks

changes for pooling ops are causing regressions :(
making this PR exclusive to the changes for BatchToSpaceND op


Use buildbox-casd for CAS access

See original issue on GitLab
In GitLab by [Gitlab user @juergbi] on Jun 6, 2019, 11:07
Background
BuildStream currently has its own CAS implementation with a local cache, client and server support. There are two major issues with this implementation:

Local cache expiry doesn't scale, cleanup takes far too much time: #734
Connections to remote CAS servers are not shared among job subprocesses: #810. This applies to both artifact servers and remote execution.

The BuildBox project is working on a local, caching CAS server called buildbox-casd. It will implement a gRPC protocol called 'LocalCAS' in addition to the standard 'CAS', providing efficient access to the local cache. Local cache expiry will use a simple approach that is expected to be much faster than BuildStream's current local cache expiry.
Task description
Using buildbox-casd in BuildStream for CAS access would solve the two major issues. While job subprocesses would still not be able to share the connection to buildbox-casd, establishing multiple local connection on the same host is much less of an issue. All remote connections would be handled by a single buildbox-casd process.
The move to buildbox-casd should also improve performance of CAS operations as it's written in C++, i.e., compiled instead of interpreted Python.
BuildStream

casd process/socket management

[x] Basic start/stop and channel setup
[x] Terminate buildbox-casd when bst raises an error (context manager)

Use casd for CAS writes

[x] Use casd for add_object()

Use casd to access remote CAS

[x] Use GetInstanceNameForRemote to initialize remote
[x] Use FetchMissingBlobs for individual and batch downloads
[x] Use UploadMissingBlobs for individual and batch uploads
[x] Check availability of remote CAS via casd

Avoid CAS writes in main process (gRPC vs. fork())

[x] Use scheduler to fetch subprojects !1414
[x] bst source checkout: Do not import sources into CAS in main process !1427
[x] Fix non-frontend tests that write to CAS in main process

CAS expiry

[x] Remove old expiry code
[x] Quota configuration
[x] Local cache / quota status display

bst-artifact-server

[x] Use casd for timestamp updates
[x] Forward requests to casd instead of reimplementing them
[x] Verify proper operation with casd

Infrastructure

[x] Add buildbox-casd to CI images
[x] Update installation instructions to include buildbox-casd
[ ] Consider adding static buildbox-casd binary to Python wheel

Optimizations (some may be required for initial MR)

[x] Benchmark
[x] Batch CAS writes (add_object() calls) to reduce round trips #1132
[ ] Use FetchTree/UploadTree for directory downloads/uploads

Documentation

[ ] Architecture docs to be updated (user facing docs do not need documentation)

Future work (not blocking initial MR)

[ ] Use casd for staging

buildbox-casd

Essential

[x] Use 0644 file permissions https://gitlab.com/BuildGrid/buildbox/buildbox-casd/merge_requests/37
[x] Implement GetInstanceForRemote()
[x] Support dynamic remotes in CaptureFiles() and CaptureTree()
[x] Implement FetchMissingBlobs()
[x] Implement UploadMissingBlobs()
[x] Fix FindMissingBlobs https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/21
[x] Support dynamic remotes in FindMissingBlobs() https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/31
[x] Write tests for new methods, ensure proper error handling

Optimizations

[x] Implement FetchTree()
[ ] Implement UploadTree()

In GitLab by [Gitlab user @juergbi] on Jun 18, 2019, 10:40
mentioned in merge request !1382

In GitLab by [Gitlab user @juergbi] on Jul 3, 2019, 11:03
changed the description

In GitLab by [Gitlab user @juergbi] on Jul 3, 2019, 11:05
WIP branch: https://gitlab.com/BuildStream/buildstream/commits/juerg/casd

In GitLab by [Gitlab user @juergbi] on Jul 3, 2019, 11:24
changed the description

In GitLab by [Gitlab user @juergbi] on Jul 3, 2019, 11:42
mentioned in merge request !1446

In GitLab by [Gitlab user @juergbi] on Jul 5, 2019, 11:15
changed the description

In GitLab by [Gitlab user @juergbi] on Jul 9, 2019, 09:47
marked the task Fix FindMissingBlobs https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/21 as completed

In GitLab by [Gitlab user @juergbi] on Jul 10, 2019, 10:18
mentioned in merge request !1465

In GitLab by [Gitlab user @juergbi] on Jul 12, 2019, 04:54
marked the task Terminate buildbox-casd when bst raises an error (context manager) as completed

In GitLab by [Gitlab user @juergbi] on Jul 12, 2019, 04:54
marked the task Fix non-frontend tests that write to CAS in main process as completed

In GitLab by [Gitlab user @juergbi] on Jul 22, 2019, 13:56
marked the task Quota configuration as completed

In GitLab by [Gitlab user @juergbi] on Jul 24, 2019, 15:08
marked the task Verify proper operation with casd as completed

In GitLab by [Gitlab user @juergbi] on Jul 24, 2019, 15:09
mentioned in merge request !1499

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 30, 2019, 11:51
changed the description

In GitLab by [Gitlab user @LaurenceUrhegyi] on Jul 30, 2019, 11:51
changed the description

In GitLab by [Gitlab user @juergbi] on Aug 8, 2019, 09:32
marked the task Benchmark as completed

In GitLab by [Gitlab user @juergbi] on Aug 20, 2019, 08:17
marked the task Add buildbox-casd to CI images as completed

In GitLab by [Gitlab user @juergbi] on Aug 20, 2019, 08:18
marked the task Update installation instructions to include buildbox-casd as completed

In GitLab by [Gitlab user @juergbi] on Aug 29, 2019, 17:26
mentioned in merge request !1540

In GitLab by [Gitlab user @juergbi] on Sep 5, 2019, 06:52
marked the task Local cache / quota status display as completed

In GitLab by [Gitlab user @juergbi] on Sep 9, 2019, 17:23
changed the description

In GitLab by [Gitlab user @juergbi] on Sep 11, 2019, 06:52
changed the description

In GitLab by [Gitlab user @juergbi] on Sep 18, 2019, 15:51
marked the task Support dynamic remotes in FindMissingBlobs() https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/31 as completed

In GitLab by [Gitlab user @juergbi] on Sep 18, 2019, 15:52
marked the task Write tests for new methods, ensure proper error handling as completed

In GitLab by [Gitlab user @juergbi] on Sep 19, 2019, 19:49
marked the task Check availability of remote CAS via casd as completed

In GitLab by [Gitlab user @juergbi] on Oct 8, 2019, 14:03
marked the task Batch CAS writes (add_object() calls) to reduce round trips #1132 as completed

In GitLab by [Gitlab user @juergbi] on Nov 4, 2019, 16:15
marked the task Implement FetchTree() as completed

In GitLab by [Gitlab user @juergbi] on Dec 19, 2019, 12:04
marked the task Use casd for timestamp updates as completed

In GitLab by [Gitlab user @juergbi] on Dec 19, 2019, 12:04
marked the task Forward requests to casd instead of reimplementing them as completed


Suppylement config file work

As per issue #14, we are adding a Configuration class to handle the various program options. This class reads the program configuration first from suppylement_defaults.ini and parses all values contained within. Following that, we read suppylement.ini and parse all values within. This has the effect over over-writing any of the values from suppylement_defaults.ini with the newer, user-specified values. Hence we can have a default and a user configuration, with the user configuration remaining outside of version control.
A future commit to this PR will bring in appdirs adding it's paths to the call to ConfigParser.read(). By adding that path to the list of files, we can include it in our pass reading user-specific config files. Need to verify the ordering of those files so that the AppDirs.user_config_dir path takes highest priority.
This PR should also utilize the custom_args value before being marked as complete. This should be a fairly straight-forward implementation. The value is intended to be used to provide a default list of arguments to call Application with when none are provided on the command line.
Also worth noting, do we want to use a hard-coded config file name? As it is, the .ini file names are hard-coded into Configuration.__init__. It may be better to pass those in to the constructor so that we can load different config files under different circumstances, like for testing, or as a command line argument to use a custom config.

[x] Load config file from disk
[x] User config overrides default config
[ ] AppDirs to determine paths
[x] custom_args args list functional
[x] confirm_delete option functional
[x] Accept custom config file names in Configuration object creation

As per this PR's resolving commit, dc00553, the AppDirs functionality is being deferred to a future issue. It would require more thought, and cover more scope, than this basic configuration file solution.


Chatbot for answering user queries

Is your feature request related to a problem? Please describe.
A Chatbot can be deployed for answering any user Queries
Describe the solution you'd like
Deploying a Chatbot
Additional context
Kindly assign me this issue @Priyaaa1 under GSSOC'24 ,
We can discuss for more Features deployment on your website, I would be happy to contribute to your project.
Thank You

@Priyaaa1 , This issue has been resolved in PR #151 , Kindly review the PR.


Add Unifi G4 doorbell as working cam

Unifi G4 doorbell works when using rstpx instead of rstps. Also the '?enableSrtp' at the end of the rstps URL needs to be removed due to a certificate error.
Example (not working due to certificate issued to <IP_ADDRESS>)
rtsps://<IP_ADDRESS>:7441/YYYYY?enableSrtp
Working:
rtspx://<IP_ADDRESS>:7441/YYYYY

Thanks!


📝 Update includes for docs/de/docs/how-to/custom-request-and-route.md

📝 Update includes in docs/de/docs/how-to/custom-request-and-route.md

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


Changing Theme to dark in app's Settings doesn't do anything

Ah yes. Currently the "Theme Mode" setting only changes the theme of the code snippets on the component pages and not the theme of the app entirely. Expanding theme change to the full app is on the to-do list.

Duplicate of #17


Highlight sharing link

@keybase/react-hackers
This let's us drag the window and highlight the invite link in sharing before signup popup

:mag_right: No visual changes found as a result of these commits.

:+1:


improvement: make dependsOn play nice with OverseerRestartLast

I have the following tasks defined in a tasks.json file:
{
"label": "configure",
"command": "..."
},
{
"label": "compile",
"command": "...",
"dependsOn": ["configure"]
},
{
"label": "run",
"command": "...",
"dependsOn": ["compile"]
}

If I execute :OverseerRun run followed by OverseerRestartLast (as you defined it in the docs), the task that gets restarted is "configure". This does not match VSCode's behavior. If it doesn't break anything, overseer.list_tasks should be changed so that overseer.list_tasks { recent_first = true } returns {"run", "compile", "configure"} after executing "run" with overseer.

Fixed!

Thanks for the changes. The behavior is still not correct. If I execute OverseerRun run and then OverseerRestartLast while "run" is running, the tasks are restarted in the correct order. However, if I wait until "run" is completed before executing OverseerRestartLast, then the only task that gets restarted is "configure". It appears that the ordering of the task list is reverting to its original form when "run" is completed.

Apologies, the previous commit worked for a couple cases, but I see now that it was insufficient. I put in what is hopefully a more robust solution, and added a bit of a visual distinction in the list as well.


Linux App does not work

Downloaded lin.zip
Executable does not work. Not sure how to install or run.

Same here, does not work.  I tried older versions and got farther with 1.2, I was able to login but it wouldn't load the map.  Running arch x64 myself.

PokemonGoMap-Lin-x64.zip, v. 0.1.6 works perfectly for me on Fedora 24

There is nothing to install for the Linux version. Just unzip and run the Map executable. I'm running it under fedora 23. I did receive an error about javascript, but then found out I needed a server api key from google. Once that was generated and added, all was well.
Some stats:
Linux local 4.5.7-202.fc23.x86_64 #1 SMP Tue Jun 28 18:22:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


[AO] pytest-benchmark integration

Motivation and Context
Add a pytest-benchmark integration for benchmarking AO functionality.
Initial PoC function benchmarks URDF parse->instance->remove loop with and without force_reload caching option.
Also added habitat_sim.built_with_bullet flag to easily check if Habitat-sim was compiled with Bullet physics from python.
Note: requires local installation with pip install pytest-benchmark.
How Has This Been Tested
Local testing and CI integration. Example output of pytest tests/benchmark_physics.py:

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

May want to add it here: https://github.com/facebookresearch/habitat-sim/blob/ea1288f8ffdfae3e1556ed86635277f7b755809a/setup.py#L423 and remove pytest-cov (we no-longer run it by default except on CI).

Closing in favor of master branch PR #1323


Rgb_mean purge

This is all rgb_mean related code removed from all archs, full explanation in #22

Breaks compatibility, and unproven to help stability. Lets verify SPAN first.


Need Help: Items shown vertically

Basically, this is my code:
import Swiper from 'react-id-swiper';

render () {
  return (
      <Swiper >

1

2

3

4

       </Swiper>
  )
}

no CSS styling !
Screenshot:

@Altiano : You have to load styles file. Please check README

@kidjp85 Yupp! Thanks!


Update jump & science to improve error message for bad SCIE_BOOT

This updates to jump to 0.13.0, which improves the error message for a bad SCIE_BOOT value. For example SCIE_BOOT='update pants' pants from https://pantsbuild.slack.com/archives/C046T6T9U/p1695047533069949 now shows:
Error: `SCIE_BOOT=update pants` was found in the environment but "update pants" does not correspond to any scie-pants commands.

Isolates your Pants from the elements.

Please select from the following boot commands:

<default> (when SCIE_BOOT is not set in the environment)  Detects the current Pants installation and launches it.
bootstrap-tools                                           Introspection tools for the Pants bootstrap process.
update                                                    Update scie-pants.

You can select a boot command by setting the SCIE_BOOT environment variable.

This also requires updating science to 0.2.1, for the descriptions to be propagated appropriately.

Hm, the test in CI is failing: it now seems to include the descriptions correctly, but not the text about a bad SCIE_BOOT 🤔 Will have to look later.


Upgrade Go from 1.19 to 1.20

Upgrade Go from 1.19 to 1.20.
Update tools to latest.
Bump controller-runtime from 0.16.2 to 0.16.3.

Set version to 1.20.x in action/setup-go because of actions/setup-go/issues/326

/lgtm


call.uaddr runtime test failing on RHEL

# ./runtime-tests.sh --filter 'call.uaddr'
====================
bpftrace --info:
====================
System
  OS: Linux 5.14.0-423.el9.ppc64le #1 SMP Sat Feb 17 10:31:43 EST 2024
  Arch: ppc64le

Build
  version: v0.19.1
  LLVM: 17.0.6
  unsafe probe: no
  bfd: yes
  libdw (DWARF support): yes

Kernel helpers
  probe_read: yes
  probe_read_str: yes
  probe_read_user: yes
  probe_read_user_str: yes
  probe_read_kernel: yes
  probe_read_kernel_str: yes
  get_current_cgroup_id: yes
  send_signal: yes
  override_return: no
  get_boot_ns: yes
  dpath: yes
  skboutput: no
  get_tai_ns: yes
  get_func_ip: yes

Kernel features
  Instruction limit: 1000000
  Loop support: yes
  btf: yes
  module btf: yes
  map batch: yes
  uprobe refcount (depends on Build:bcc bpf_attach_uprobe refcount): yes

Map types
  hash: yes
  percpu hash: yes
  array: yes
  percpu array: yes
  stack_trace: yes
  perf_event_array: yes
  ringbuf: yes

Probe types
  kprobe: yes
  tracepoint: yes
  perf_event: yes
  kfunc: no
  kprobe_multi: no
  raw_tp_special: yes
  iter: yes

[==========] Running 1 tests from 1 test cases.

[----------] 1 tests from call
[ RUN      ] call.uaddr
[  FAILED  ] call.uaddr
	Command: ../src//bpftrace -e 'uprobe:testprogs/uprobe_test:function1 { printf("0x%lx -- 0x%lx\n", *uaddr("GLOBAL_A"), *uaddr("GLOBAL_C")); exit(); }' -c ./testprogs/uprobe_test
	Expected: 0x55555555 -- 0x33333333
	Found: Attaching 1 probe...\n__BPFTRACE_NOTIFY_PROBES_ATTACHED\n0x0 -- 0x0\n\n\n
[----------] 1 tests from call

[==========] 1 tests from 1 test cases ran. (1.5623672008514404 total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 tests, listed below:
[  FAILED  ] call.uaddr

@viktormalik @danobi Why GLOBAL_C/A read as zero? Is that some compiler limitation or reason is #2983 ?

@viktormalik @danobi Why GLOBAL_C/A read as zero? Is that some compiler limitation? I have already disabled ASLR in /etc/sysctl.conf kernel.randomize_va_space = 0

This shouldn't be a compiler issue.
Does this happen on ppc64le RHEL only? Could you try to reproduce the issue on x86 or a different distro?
Also could you give the output of file testprogs/uprobe_test?
Thanks!

Yes, its only happening on ppc64le with RHEL. Other tests that are failing on RHEL:
[  FAILED  ] builtin.func_uprobe_elf_symtable
[  FAILED  ] call.ustack_elf_symtable
Same are passing on Fedora 39 on ppc64le.

What about x86 RHEL (preferably in the same version)? Would you have an option to test that?

Unfortunately, I don't have x86 RHEL to test on. I tested bpftrace on centOS-9-stream(upstream of RHEL 9.x) and I have completely new set of failures coming in, listed below:
[  FAILED  ] 14 tests, listed below:
[  FAILED  ] probe.kprobe_offset_fail_size
[  FAILED  ] uprobe.uprobes - list probes by pid
[  FAILED  ] uprobe.uprobes - list probes by pid in separate mount namespace
[  FAILED  ] usdt.usdt - list probes by file with wildcarded probe type
[  FAILED  ] usdt.usdt probes - all probes by wildcard and file with child
[  FAILED  ] usdt.usdt probes - attach to fully specified probe of child
[  FAILED  ] usdt.usdt probes - attach to probe by wildcard and file with child
[  FAILED  ] usdt.usdt probes - attach to probe on multiple files by wildcard
[  FAILED  ] usdt.usdt probes - attach to probe with probe builtin and args by file with child
[  FAILED  ] usdt.usdt probes - attach to probes by wildcard file with child
[  FAILED  ] usdt.usdt probes - list probes by pid in separate mountns
[  FAILED  ] usdt.usdt sized arguments

Unfortunately, I'm not able to reproduce with the latest bpftrace:
# tests/runtime-tests.sh --filter 'call.uaddr'
====================
bpftrace --info:
====================
System
  OS: Linux 5.14.0-427.el9.ppc64le #1 SMP Fri Feb 23 01:42:26 EST 2024
  Arch: ppc64le

Build
  version: v0.20.0-58-g7c98-dirty
  LLVM: 17.0.6
  unsafe probe: no
  bfd: yes
  libdw (DWARF support): yes

[...]

[==========] Running 1 tests from 1 test cases.

[----------] 1 tests from call
[ RUN      ] call.uaddr
[       OK ] call.uaddr
[----------] 1 tests from call

[==========] 1 tests from 1 test cases ran. (1419 ms total)
[  PASSED  ] 1 tests.

Similarly, most of the above mentioned tests pass, the only failures that I can see are:
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] usdt.usdt probes - attach to probe with semaphore
[  FAILED  ] usdt.usdt probes - file based semaphore activation
[  FAILED  ] usdt.usdt probes - file based semaphore activation
[  TIMEOUT ] probe.kprobe_offset_fail_size
[  TIMEOUT ] usdt.usdt probes - file based semaphore activation no process, kernel usdt semaphore

@dubeyabhishek could you please check if you can reproduce with the latest bpftrace from GitHub? Thanks!

@viktormalik I got the reported(this issue) failure on v0.19.1-bpftrace
Other failures in the list were:
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] builtin.func_uprobe_elf_symtable
[  FAILED  ] call.uaddr
[  FAILED  ] call.ustack_elf_symtable
[  FAILED  ] probe.kprobe_offset_module_error
[  FAILED  ] usdt.usdt probes - attach to fully specified probe all pids
Possibly, the latest bpftrace may have different failure set on RHEL. I will check and report.


A problem about binding texture to the mesh

Hello, during the process of Binding Texture to the Mesh, I encountered an issue where:
texrecon ./images ./fused_mesh.ply ./textured_mesh --outlier_removal=gauss_clamping --data_term=area --no_intermediate_results
The error message does not include the command texrecon, and I have noticed that there is no texrecon in pyproject.toml.
Has the code been updated? How should we proceed with Binding Texture to the Mesh now?

I believe you need to install mvs-texturing, then add the executable file folder into env PATH. For example: my executable file folder is ./mvs-texturing/build/app/texrecon, add this path to the system PATH and you are able to use texrecon


Update agent-linux-troubleshoot.md

As per: https://portal.microsofticm.com/imp/v3/incidents/details/213633885/home. Please reach out to Daniel Chirita<EMAIL_ADDRESS>and Aaron Marten<EMAIL_ADDRESS>

@josecons-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix leaf_ids type error

fixed TypeError: object of type 'numpy.int32' has no len()
File "C:\Users\username\test.py", line 20, in churn_factor_xgb
    prediction_text = explain_prediction(model,X_test.iloc[i])
  File "C:\ProgramData\Anaconda3\lib\site-packages\singledispatch.py", line 210, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "C:\ProgramData\Anaconda3\lib\site-packages\eli5\xgboost.py", line 196, in explain_prediction_xgboost
    booster, dmatrix, n_targets, feature_names, xgb_feature_names)
  File "C:\ProgramData\Anaconda3\lib\site-packages\eli5\xgboost.py", line 247, in _prediction_feature_weights
    assert len(tree_dumps) == len(leaf_ids)
TypeError: object of type 'numpy.int32' has no len()

Hi, thanks for the pull request, but it looks like the fix is not quite correct, xgboost tests are failing. It would be great if you could also add a test for this issue, or tell how to reproduce it.


How to do integration test

Hi,
I want to write integration test for my app, i'm trying to use flutter_driver package but i don't know how to simulate login with flutter-auth0. Anyone can help me?

@caiogranero have a look at https://github.com/gregertw/actingweb_firstapp and my blog post https://medium.com/flutter-community/a-production-quality-flutter-starter-app-take-two-88308b2f13ea


Use include paths relative to script that's doing the importing

The tools documentation was giving a HTML 500 error. I think that this is because include and require statements use paths relative to the script being executed. So when the directory depth was different, the Composer autoload path broke.
I tried on the live server and this fixed stuff anyway, so hopefully should be happy now.

ok self merging as I actually already applied this change on the live server anyway 🤫

🤠 😆


refactor: use iced clipboard for interacting with the selection

The clipboard actually probably should just be handled one way, so I guess not in the iced-sctk loop, or else it can block forever on reading. For example, it might block forever because a widget is using the "iced" method to read after setting the clipboard via the "iced-sctk" method.

This is related to https://github.com/pop-os/cosmic-settings/issues/86


Building in Termux(android)

Hi, is it possible to build this project in termux?
After an hour of trying, I managed to build it, but it crashed upon running.
I also tried to build it in proot, but got lots of errors.
I've lost hope, honestly.
Edit: Fixed, see this comment.

What's the error message when it crashed?

What's the error message when it crashed?

terminating with uncaught exception of type std::bad_cast: std::bad_cast
Aborted

And here's the output of debugger, if it helps (gpt-4 advised me to do it xD):
~/.../ChatGPTCLIBot/build $ gdb ./GPT3Bot
GNU gdb (GDB) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-android".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./GPT3Bot...
(gdb) run
Starting program: /data/data/com.termux/files/home/git-projects/ChatGPTCLIBot/build/GPT3Bot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/data/data/com.termux/files/usr/lib/libthread_db.so".
warning: section .note.gnu.build-id not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .note.gnu.property not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .dynsym not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .gnu.version not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .gnu.version_d not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .gnu.hash not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .dynstr not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .rela.plt not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .eh_frame_hdr not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .eh_frame not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .plt not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .dynamic not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .got.plt not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .bss not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libdl.so
warning: section .note.android.ident not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .note.gnu.build-id not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .note.gnu.property not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .dynsym not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .gnu.version not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .gnu.version_d not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .gnu.version_r not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .gnu.hash not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .dynstr not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .rela.dyn not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .relr.dyn not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .rela.plt not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .rodata not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .eh_frame_hdr not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .eh_frame not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .plt not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .data.rel.ro not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .fini_array not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .dynamic not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .got not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .got.plt not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .data not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .bss not found in .gnu_debugdata for /apex/com.android.runtime/lib64/bionic/libm.so
warning: section .note.android.ident not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .note.gnu.build-id not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .note.gnu.property not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .dynsym not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .gnu.version not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .gnu.version_r not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .gnu.hash not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .dynstr not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .rela.dyn not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .relr.dyn not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .rela.plt not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .rodata not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .eh_frame_hdr not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .eh_frame not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .plt not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .data.rel.ro not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .fini_array not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .dynamic not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .got not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .got.plt not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .data not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .bss not found in .gnu_debugdata for /system/lib64/libnetd_client.so
warning: section .note.android.ident not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .note.gnu.build-id not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .note.gnu.property not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .dynsym not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .gnu.version not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .gnu.version_r not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .gnu.hash not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .dynstr not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .rela.dyn not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .relr.dyn not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .rela.plt not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .rodata not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .gcc_except_table not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .eh_frame_hdr not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .eh_frame not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .plt not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .data.rel.ro not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .fini_array not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .init_array not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .dynamic not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .got not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .got.plt not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .data not found in .gnu_debugdata for /system/lib64/libc++.so
warning: section .bss not found in .gnu_debugdata for /system/lib64/libc++.so
terminating with uncaught exception of type std::bad_cast: std::bad_cast

Program received signal SIGABRT, Aborted.
0x0000007fefcb2a28 in abort () from /apex/com.android.runtime/lib64/bionic/libc.so
(gdb) bt
#0  0x0000007fefcb2a28 in abort () from /apex/com.android.runtime/lib64/bionic/libc.so
#1  0x00000055556c4014 in abort_message (format=<optimized out>)
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/abort_message.cpp:76
#2  0x00000055556c4240 in demangling_terminate_handler ()
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/cxa_default_handlers.cpp:62
#3  0x00000055556c40cc in std::__terminate (func=0x0)
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/cxa_handlers.cpp:59
#4  0x00000055556c366c in __cxxabiv1::failed_throw (
    exception_header=exception_header@entry=0xb400007fed60a000)
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/cxa_exception.cpp:152
#5  0x00000055556c35c4 in __cxa_throw (thrown_object=0xb400007fed60a080,
    tinfo=0x55556e7a58 <typeinfo for std::bad_cast>, dest=0x55556db1c4 <std::bad_cast::~bad_cast()>)
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/../../../toolchain/llvm-project/libcxxabi/src/cxa_exception.cpp:283
#6  0x00000055556397f0 in std::__ndk1::__throw_bad_cast() ()
#7  0x00000055556a751c in std::__ndk1::locale::__imp::use_facet (id=-4148298068163643485,
    this=<optimized out>)
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/src/locale.cpp:472
#8  std::__ndk1::locale::use_facet (this=<optimized out>, x=...)
    at /buildbot/src/android/ndk-r25-release/toolchain/llvm-project/libcxx/src/locale.cpp:605
#9  0x0000007ff2cb1d80 in ?? () from /data/data/com.termux/files/usr/lib/libc++_shared.so
#10 0x0000007ff2cb16c0 in std::__ndk1::DoIOSInit::DoIOSInit() ()
   from /data/data/com.termux/files/usr/lib/libc++_shared.so
#11 0x0000007ff2cb2af4 in ?? () from /data/data/com.termux/files/usr/lib/libc++_shared.so
#12 0x0000007ff7f1dbb8 in __dl__ZN6soinfo17call_constructorsEv () from /system/bin/linker64
#13 0x0000007ff7f1d9d8 in __dl__ZN6soinfo17call_constructorsEv () from /system/bin/linker64
#14 0x0000007ff7f1d9d8 in __dl__ZN6soinfo17call_constructorsEv () from /system/bin/linker64
#15 0x0000007ff7f1d9d8 in __dl__ZN6soinfo17call_constructorsEv () from /system/bin/linker64
#16 0x0000007ff7f1d9d8 in __dl__ZN6soinfo17call_constructorsEv () from /system/bin/linker64
#17 0x0000007ff7f83e4c in __dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockR6soinfo ()
   from /system/bin/linker64
#18 0x0000007ff7f82da4 in __dl___linker_init () from /system/bin/linker64
#19 0x0000007ff7f2066c in __dl__start () from /system/bin/linker64

can you debug to the line where that exception is thrown?

can you debug to the line where that exception is thrown? maybe put a std::cout before and after this line of code and see what happens.

Tbh, I'm not really familiar with debugging, and besides that, I've already deleted the project directory (with all the changes needed for it to compile) 🤦

RIP😞

can you debug to the line where that exception is thrown? maybe put a std::cout before and after this line of code and see what happens.

Ok, I've made the changes and built the project.
I get the same error:
terminating with uncaught exception of type std::bad_cast: std::bad_cast
Aborted

no output in terminal? the only 2 lines of code before it is the exit hook and curl global init, if these 2 can't be run, then probably impossible to fix.

no output in terminal? the only 2 lines of code before it are the exit hook and curl global init, if these 2 can't be run, then probably impossible to fix.

It seems so.
Sad.

I'm just so confused.
Is this an issue with some external library, or the project?

I managed to successfully build and run it in proot

Yeah, seems to work fine

Ok, so for anyone interested in building this project for termux (in proot), here's how I done it:
# install vcpkg
cd $HOME
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg/ && ./bootstrap-vcpkg.sh -disableMetrics

Now we need to setup things for vcpkg.
I've done it just in case, because it failed for me previously, without these steps.
I also maybe doing it wrong, or maybe it's the way to setup vcpkg, correct me if I'm wrong.
(It's literally my first time using it)
Open your .bashrc and add the following lines to it:
# setup vcpkg
export VCPKG_FORCE_SYSTEM_BINARIES=arm
export VCPKG_ROOT=$HOME/vcpkg
export PATH=$PATH:$VCPKG_ROOT

You may need to re-login or just source the .bashrc:
source ~/.bashrc

Now we're ready to build the project.
### Assuming that you've already cloned the project and are in it's directory ###

# configure things
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake

# and build
cmake --build build/

P.S.
Keep in mind, that I'm not a professional in this, and I can't guarantee that these instructions would work for everyone.

Congraz!

should I run this on proot? How can I?

should I run this on proot? How can I?

Install proot and proot-distro, you can then install Ubuntu or any other distro available there, and log into it.

should I run this on proot? How can I?

Install proot and proot-distro, you can then install Ubuntu or any other distro available there, and log into it.

Do you have a Discord? My friend can’t even build it on Termux.

@editor-syntax I do, but I I'm not your personal technical support. Don't even try to build it in termux without proot, it's a lost cause.


Latest NPM version 1.4.2 does not have Collection.clear(options)

The issue with removing indices was resolved with commit #5890781, but the node package version does not have these fixes. Please publish to NPM? Thanks.

@paos we're testing out a few features that have already been merged into master so it could take a few days before 1.4.3 is released, @obeliskos let me know when i have the all clear on that throttlesave. @paos if this is blocking you you may want to go with the latest master rather than npm for a little while.

made a couple unrelated fixes this morning, I will probably add unit test coverage for them today or tomorrow and will let you know when that's done...

@techfort Thanks, I did pull the latest master locally and it works out of the box so far. Looking forward for the npm release as it makes deployment easier.

@techfort : we are probably good to push out a 1.4.3 release as soon as you get time due to a bug we fixed in 4b4d3a84d493d20fc1fb5d6a81ed20b05384613b relating to #535.
We've had several other bugs reported and have been able to fix them to include in this release but I am hesitant to wait longer as the previously referenced bug is high severity.
Thanks


BUG: code review bypass via commits to local branches

Steps:

Dependabot publishes a change.
Maintainer edits that change to do whatever they want
Maintainer approves it
Maintainer merges it.

Let's try to verify that the approver != from all commits in the PR. In the config, branch protection is not enabled thru *, I think.
Is there a dependabot config option for dependabot to use a remote fork's branch instead of local branch on the project?
Thanks @loosebazooka for sharing!

another bypass I found:

Create a PR
Click merge

The PR is considered reviewed.
Scorecard has this code https://github.com/ossf/scorecard/blob/main/checks/evaluation/code_review.go#L138 that accepts these because the committer is always "github". graphql has a field to know who clicked "auto-merge" this PR.

For this, can we do something like - expand the PullRequest struct to also contain commits (today we only care about merge commit)?

yep that's also what I had in mind. Seems doable; it may increase rate limiting usage, but we'll see.

Yeah, good thing is we have tests that will tell us by how much the API usage will go up. Would be good to get this fixed soon. Do you want to take this on or keep this open for someone else?

If nobody else wants it I'll take it, but if someone is interested I'm happy for them to take it.

I can take this on to reduce some of your load.

SG, it's a fun (and important) one!

Just an update - I'm working on this in 2 parts. (1) expose PR commit data through CodeReviewRawData struct. (2) figure out how to evaluate this data to find malicious activity while not causing false positives.
(1) is easy and I'm working on a PR for it. I'm still unsure about (2) and need to look into it more. Ideas are welcome.


Chunk.setBlockState() doesn't fire ChangeBlockEvent

When I call World.setBlockState(), it fires several ChangeBlockEvents (the actual types vary based on the original and resulting block). However, I noticed that calling Chunk.setBlockState() doesn't fire any events. Is this intended?

@bloodmc
Thoughts?

@JBYoshi @Zidane Intended for mods such as WorldEdit to not bring the server to its knees. Those that bypass world usually do so for a reason.

That's super surprising.
Is there not something that can be done to change the signature, or at least document this behavior if we are going to let an escape hatch exist?


Method to reset swerve CANCoders at runtime

Problem
We need a way to zero the CANCoders for new robots and if they get off.
Possible Solution
A button in Shuffleboard would suffice.

Finished this last meeting


Malformed array literal if array contains NULL

When using multicorn with foreign postgresql I got this:
ERROR:  malformed array literal: "{1.0, , -1001.1, 0.0, 1828.0, 0.0}"
DETAIL:  Unexpected "," character.

Could you explain what exactly you are doing ?


pygame.error: File is not a Windows BMP file？？？？？？？

Traceback (most recent call last):
File "deep_q_network.py", line 8, in
import wrapped_flappy_bird as game
File "game/wrapped_flappy_bird.py", line 19, in
IMAGES, SOUNDS, HITMASKS = flappy_bird_utils.load()
File "game/flappy_bird_utils.py", line 21, in load
pygame.image.load('assets/sprites/0.png').convert_alpha(),
pygame.error: File is not a Windows BMP file

Sorry, I haven't tested it on Windows.

I have same problem, can someone help me

I have same problem, can someone help me


Android Basics: Get data from the Internet - step 3 "Execution failed for task ':app:kaptDebugKotlin'

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

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-getting-data-internet#2
In which task and step of the codelab can this issue be found?
Step 3 under 'Open the project in Android Studio' task 6 Run & build the app.
Describe the problem
When trying to build the downloaded code, in the Build Output I'm seeing:
Execution failed for task ':app:kaptDebugKotlin'.
Trying Analyse > Inspect Code displays OverviewFragment.kt:
'private val viewModel: OverviewViewModel by viewModels()'
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6
Then I tried File -> Project Structure -> Suggestions

there were 3 updates required, these were applied.

Viewing OverviewFragment.kt gives:
Kotlin library {0} was compiled with a newer Kotlin compiler and can't be read.  Please update Kotlin plugin.
However - viewing Tools > Kotlin > Configure Kotlin Plugin Updates shows:
Current Kotlin plugin version 1.4.32-release-Studio4.1-1.
You have the latest version of the plugin installed.
On clicking 'Details' in OverviewFragment.kt > Unsupported format plugin version 1.4.32 release Studio 4.1-1
kotlin-stdlib--1.6.10.jar (1.60) - expected: 1.42
Steps to reproduce?

Run the app within Android Studio.
See Build Output pane.
See error "Execution failed for task ':app:kaptDebugKotlin'.

Versions
Android Studio version: 4.1.1
API version of the emulator: 30
Additional information
Kotlin 1.4.32
Gradle Plugin version 4.1.3
Gradle version 7.0.2
Current Kotlin plugin version 1.4.32-release-Studio4.1-1.
Any advice much appreciated - thanks.

Eventually I saw the message ""Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2020.3.1 or newer."
Upgrading Android Studio to Arctic Fox 2020.3.1 Patch 4 appears to have resolved the issue.


Declarative way of forcing a refetch

Is your feature request related to a problem? Please describe.
Currently, we are able to force a refetch with useFetcher (but the API is imperative, which kinda defeats the point). I would like to be able to trigger a refetch on mount with the useResource API for things that need to be up-to-date when displayed.
Describe the solution you'd like
Something similar to Apollo's fetchPolicy parameter: https://www.apollographql.com/docs/tutorial/queries/#customizing-the-fetch-policy
Describe alternatives you've considered
A custom hook wrapping useFetcher, presenting the same API as useResource.

dataExpiryLength customizes how often it refetches. I don't recommend anything less than 500ms for this.
If you want to never display 'stale' values, you can try invalidIfStale

@ntucker I'd like to retain the normal cache behavior for most resources, but have fetch-on-mount for a specific few. From the docs, it looks like that doing something like useResource({...MyResource.detailShape(), options: { dataExpiryLength: 0}}, params) would work?

@ntucker That works for me, except there are situations where I may not want this behavior for all usages of a resource. Would it be possible for the params to be passed to getRequestOptions?

Several ways you could do this depending on how special-case it is:
Custom endpoint:
class MyResource extends Resource {
  static getRequestOptions() {
    return { dataExpiryLength: 100 };
  }
  static cachedDetailShape() {
    const shape = this.detailShape();
    return {
      ...shape,
     options: {
      ...shape.options,
      dataExpiryLength: 60000,
    }
  }
}

This can be useful if it's based on a particular fetch you might do, rather than the Resource you're fetching. It can also be useful if there's only two configurations for the same endpoint to avoid putting the specific numbers in your hook calls.
FetchShape parameters
If you're configuration is really on a case-by-case basis. (Extremely rare) Then you can definitely take params to customize it.
class MyResource extends Resource {
  static getRequestOptions() {
    return { dataExpiryLength: 100 };
  }
  static detailShape({ dataExpiryLength }) {
    const shape = super.detailShape();
    return {
      ...shape,
     options: {
      ...shape.options,
      dataExpiryLength,
    }
  }
}

@yunyu did this work for you?

@ntucker Yep, I'm going to close the issue. I still feel like the ergonomics could be improved, however.

Have any ideas for ergonomic improvements? Or specific properties you find problematic with the current approach?


API delivery method does not get reflected in the settings selected for the publishing checklist [API v2 QA]

Description
The API response delivery method does not get reflected on the Publish page as the selected option
Steps to reproduce

Go to a draft form
Select API delivery
Go to publishing checklist
See that the choice is not reflected

Details

Browser: Edge
Operating system: Windows
Environment: Staging
Language: English
Viewport: Tablet

Expected behaviour
Reflect API on Publish page when it's selected.
Screenshots or videos

https://github.com/user-attachments/assets/735ff4cb-c8c0-44a7-aca3-164eaa0c20f8
Additional context
#4724

@Abi-Nada I'll pick this one up.

PR
https://github.com/cds-snc/platform-forms-client/pull/4758


Discodo is related with Japan

Discodo is derived from Discord's Easter Egg, not from Japan.

Discodo pronounce sounds like japanese.


DSUBm_xxx

IHE doesn't produce the CSV version of the artifacts. Please remove this from your downloads.md  (I will update the template, it should not have this in the downloads.md)

we have eliminated it from the download page


The seed() function is broken

The seeds are not consistent across environment instances. This means there's some other source of non-determinism. I'm guessing this means that contestants have access to unlimited seeds...
Demo script:
import os

from obstacle_tower_env import ObstacleTowerEnv

counter = {}
for i in range(0, 25):
    env = ObstacleTowerEnv('./ObstacleTower/obstacletower.x86_64', worker_id=i)
    env.seed(25)
    env.reset()
    for _ in range(50):
        obs, _, _, _ = env.step(0)
    key = str(obs.flatten().tolist())
    counter[key] = True
    print('got %d start states' % len(counter))
    env.close()

In older versions of the environment, this script works pretty much as expected.

the issue is that reset does not env.reset() the seed - I added a for _ in range(50):... before the env.reset() ...

Indeed, it looks like using seed() actually causes the environment to stick to its current seed, regardless of the argument. This prints out something like
WARNING:gym_unity:New seed 62 will apply on next reset.
INFO:mlagents_envs:Academy reset with parameters: tower-seed -> 62
got 1 start states
WARNING:gym_unity:New seed 46 will apply on next reset.
INFO:mlagents_envs:Academy reset with parameters: tower-seed -> 46
got 1 start states
WARNING:gym_unity:New seed 31 will apply on next reset.
INFO:mlagents_envs:Academy reset with parameters: tower-seed -> 31
got 1 start states
WARNING:gym_unity:New seed 21 will apply on next reset.
INFO:mlagents_envs:Academy reset with parameters: tower-seed -> 21
got 1 start states
WARNING:gym_unity:New seed 64 will apply on next reset.
INFO:mlagents_envs:Academy reset with parameters: tower-seed -> 64

import os
import random

from obstacle_tower_env import ObstacleTowerEnv

counter = {}
env = ObstacleTowerEnv('./ObstacleTower/obstacletower.x86_64', worker_id=2)
while True:
    env.seed(random.randrange(100))
    env.reset()
    for _ in range(50):
        obs, _, _, _ = env.step(0)
    key = str(obs.flatten().tolist())
    counter[key] = True
    print('got %d start states' % len(counter))

Hi @unixpickle and @Sohojoe
Thanks for bringing this to my attention. I will take a look at it, and hopefully have fix soon.

Hi all,
We've have just pushed the v2.1 release which aims to fix this. Please let us know if you still run into an issue.

Although I defined specific tower-seed when I reset the environment,
random seed is assigned instead when tower-seed >= 100.
It looks like v2.1 still has the same problem.

Although I defined specific tower-seed when I reset the environment,
random seed(0~99) is assigned instead when tower-seed >= 100.
It looks like v2.1 still has the same problem.

Hi @SungbinChoi this is actually intentional. For the duration of the contest we are limiting the random seeds to 100, to prevent participants from discovering and utilizing the review seeds. Once the contest is over we will release a version with an unrestricted seed range.

Hi @awjuliani
I see. I didn't know that tower-seed value range is limited to 100 in Round 2. Thanks~


Add translation support via transifex

Enable translation of the legalese in French. Checking the locale in layout.js indeed changes the text.

I will have to rework the file format for these translations, so that it matches what transifex expects.

OK, transifex is up and running now


Eliminate “root partition must be the first one”

Function findRootDevicePath in platform/linux_platform.go requires
that root partition must be the first one. It can't be satisfied on
some platforms, for example on POWER (ppc64le).
This fix eliminates this requirement by detecting next available
partition id for /swap and /data instead hardcoded 2 and 3
respectively.

I'm a member of cfibmers (IBM) org

I deleted my repo by mistake, sending a new PR, rebased to current develop


Fix cite search

Closes #47

@StevenClontz – ICYMI, I updated this repo to public, which means we get several more features like Draft PRs and Branch Protection Rules. Because of that, I've flipped this back to Draft. Whenever you want me to review this, feel free to assign me and mark it ready for review.

@jamesdabbs This project should be eligible for the GitHub Education discount since it's for non-profit research (and would get those features even as a private repo), but I cannot seem to find a way to apply that here since I didn't create the pi-base organization or this repo. :-/


Provide outputEntity selector in marker config panel(s)

For Donut and Chart markers I think we'd want both selectors at the top (see updated spec for #190)

Variable selector
Output entity selector

For future bubble markers it would be the other way round, right?

Entity selector (for bubble size)
optional Variable selector (for color overlay)

Obviously "Output entity" is too technical. "Show counts for"?
Cost is 1-2 days. All front end. Data service already ready to party.

I'm thinking we should close this as "won't fix".
Assuming there's a bubble-friendly categorical variable for each entity, the default bubble mode will soon (after #416) show simple entity counts until the numerator/denominator is configured, at least.
We could come back to it, but let's have users play with it first?

Closing. Let's reopen or make a new ticket if this comes up in real life use cases.


[Bug] [spark-connector-jdbc] there are a NPE when sink in update mode…

… #1409

Purpose of this pull request
here are a NPE when sink in update mode

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in you PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

Hi, @CalvinKirs, there is a bug when I do the plugin test. Please help me to reivew it.

There are still some code style formatting issues to deal with

There are still some code style formatting issues to deal with

Thanks, I have updated.

@zhaomin1423 Please resolve the conflicting files, thanks

@zhaomin1423 Please resolve the conflicting files, thanks

Thanks, I have completed.

Thanks.
| |
@.***
|
|
@.***
|
---- 回复的原邮件 ----
| 发件人 | ChunFu @.> |
| 日期 | 2022年03月10日 17:00 |
| 收件人 | @.> |
| 抄送至 | Xiao<EMAIL_ADDRESS>|
| 主题 | Re: [apache/incubator-seatunnel] [Bug] [spark-connector-jdbc] there are a NPE when sink in update mode… (PR #1410) |
@wuchunfu commented on this pull request.
In seatunnel-connectors/seatunnel-connector-spark-jdbc/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc2/DefaultSource.scala:

createRelation(sqlContext, parameters)

JDBCRelation(Array.empty, new JDBCOptions(parameters))(sqlContext.sparkSession)
}

I merged first, I'll restore it later
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>


Some aesthetic document improvements and cleanup

Noticeably we move type description to the parameter description section.
Compare https://pydax.readthedocs.io/en/latest/api-references/pydax.load_dataset.html with

Checklist:

Does this pull request close an issue? We encourage you to open an issue first if this pull request (PR) is not a
minor change.

[x] No

[x] The change in this pull request is minor.

[ ] Yes

Close #{issue_number}

For the following questions, only check the boxes that are applicable.

[x] Ensure that the pull request text above the horizontal line is descriptive.

[x] Add/update relevant tests.

[x] Add/update relevant documents.

Do you have triage permission of this repository?

[ ] No

You are good.

[x] Yes

Does this pull request close an issue?

[x] No, this pull request also acts as an issue by itself.

[x] Assign yourself.
[x] Label this pull request.
[x] Put a milestone.
[x] Put this pull request under "In Progress" or "Under Review" pipeline on ZenHub.
[x] Put this pull request under the appropriate epic on ZenHub.
[x] Put an estimate on ZenHub.
[x] Add dependency relationship with other issues/pull requests on ZenHub.

[ ] Yes, this pull request addresses an issue and does not act as an issue.

[ ] Connect this pull request to the underlying issue on ZenHub.
[ ] DON'T:

DON'T assign yourself or anyone else.
DON'T label.
DON'T put a milestone.
DON'T put this pull request under any epic on ZenHub.
DON'T put an estimate on ZenHub.

[x] When the pull request is ready, request review.

Relevant sphinx bug: https://github.com/sphinx-doc/sphinx/issues/8689

Relevant sphinx bug: https://github.com/sphinx-doc/sphinx/issues/8689


500 [vite-node] [ERR_LOAD_URL] @iconify/vue

After updating from the "nuxt-icon" to "@nuxt/icon", I am getting an unknown "500 [vite-node] [ERR_LOAD_URL] @iconify/vue" error.
Can someone please help me how to fix it?
Everything was working fine before upgrading. I tried to reinstall all the node modules as well but the error is still there :(

@antfu Can you please help?

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

@RakuThe1 try npm install --save-dev @iconify/vue

@RakuThe1 try npm install --save-dev @iconify/vue

It worked. Thank u soo much :)

I had the same issue.
To solve it, I simply moved my @nuxt/icon from the devDependencies into the dependecies in my package.json by doing:
npm remove @nuxt/icon and then npm install --save  @nuxt/icon.
Now my dependencies looks like this:
"dependencies": {
    // ...
    "@nuxt/icon": "^1.5.1"
    "nuxt": "^3.13.1"
    "vue": "^3.5.1",
    // ...
  },

And now my package-lock.json correctly contains a "node_modules/@iconify/vue" key, before it was: "node_modules/@nuxt/icon/node_modules/@iconify/vue".


Kill all the connections/rollback transactions to the specified database(s)

Is your feature request related to a problem? Please describe.
I'm always frustrated when I can't rename/drop/recreate the database or any object quickly due to some existing connections/opened tabs/transactions when debug something locally.
Describe the solution you'd like
Please consider adding some menu item in right click to a database in a tree: "Kill connections".
When user clicks it, he will be warned about possible loss of data and uncommitted transactions.
If he finally clicks "OK", all the connections to this database are disconnected forcefully and all the transactions are rolled back.
It would also work well with this feature: #34463 in some degree (but it wouldn't eliminate it altogether, I mean I still need that feature also, they can work together)
In Postgres, technically, you can look at system view with current connections to the database / currently executing transactions:
select *
from pg_catalog.pg_stat_activity

Then kill them using:
select pg_terminate_backend(procpid);

Please, consider adding such a behaviour for all types of databases supporting it.
Please also consider choosing mulitiple databases to kill their connections at once (similar to how you let to drop multiple tables or databases now)

Ending all sessions is probably too drastic. Now I use a "watchdog" of sessions that change the structure of the database. The PID of the session that needs to be "guarded" is passed as a parameter. The code can be used for this new feature, just take one iteration from it without sleep
CREATE OR REPLACE FUNCTION dev.killall(pmyimpotentsession integer)
 RETURNS void
 LANGUAGE plpgsql
AS $function$
  declare
    svSessionPrefix varchar(40) := 'Killer'; --Префикс имени сессии
    x record;
  begin
    perform dblink_connect_u(svSessionPrefix, 'host=localhost port='||inet_server_port()||' dbname='||current_database()||' user='||current_user);
    while true loop
    for x in ( select pid from dbLink(svSessionPrefix,  $s$ select
                array_agg(pl2.pid::integer) LockedPid
              from
                pg_stat_activity psa
                left join pg_locks pl on pl.pid = psa.pid and granted = 'f'
                left join pg_locks pl2 on
                  pl2.granted = 't'
                  and pl.locktype = pl2.locktype
                  and coalesce(pl.database, 0) = coalesce(pl2.database, 0)
                  and coalesce(pl.relation, 0) = coalesce(pl2.relation, 0)
                  and coalesce(pl.page, 0) = coalesce(pl2.page, 0)
                  and coalesce(pl.tuple, 0) = coalesce(pl2.tuple, 0)
                  and (
                   pl.transactionid is null and pl2.transactionid is null or
                   pl.transactionid = pl2.transactionid
                  )
              where datname = current_database() and psa.pid = $s$ || pMyImpotentSession ) as t(aids integer[]), unnest(aids) pid
            )
      loop
        if x.pid is not null then
          raise info 'Kill %', x.pid;
          perform pg_terminate_backend(x.pid);
        end if;
      end loop;
      perform pg_sleep(0.5);
    end loop;
  end;
$function$
;

Thank you for sharing your solution.
Yes, it could be done using queries.
Now I also think about some kind of a list for currently executing queries in a dialog box where user can choose which one he wants to kill, checkboxing and pressing OK in a dialog box (more user friendly).
Your solution is more customizable.

I want to clarify that I suggest to add this feature for all database engines (if it is supported by the language), not only Postgres.
Each engine usually has its own analog of "pg_stat_activity"-view and "pg_terminate_backend" function.
For example, SQL Server has "sys.dm_exec_sessions" and "kill":
https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-sessions-transact-sql?view=sql-server-ver16
https://learn.microsoft.com/en-us/sql/t-sql/language-elements/kill-transact-sql?view=sql-server-ver16


Visualscript disconnecting lines which node changes size cause some issues

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 3.0 master https://github.com/godotengine/godot/commit/da144fed4c49133a93b3b83cfc665352c0af351a
Issue description:

Steps to reproduce:

Disconnect a line which node changes size
Enjoy issues

nobody enjoys issues ☹

this is fixed now, however, the main problem still persist, meaning that, if the input size changes you should have the same behavior (currently works because label and input have the same size, so the node does not get resized), this is just a note, so people unable to replicate this know about the real issue.

this is fixed now, however, the main problem still persist, meaning that, if the input size changes you should have the same behavior (currently works because label and input have the same size, so the node does not get resized), this is just a note, so people unable to replicate this know about the real issue.

This may be fixed. Can anyone test?

Can anyone test?

Bump.

I would like to work on this issue but to be sure, the problem is the select area when the line is deconnected or the node which change size ?

Did a test in 3.3.2 and daily build
I never experienced the selection problem.
And the node are now redesigned so the resizing is actually worse in the vertical and mitigated in the horizontal direction.
My opinion:
I like that a connected port is as small as possible.
This means providing values within the Node will always cause resizing. (which indeed is annoying)
So I see only 2 real solutions.

Change VS so values are nodes by the self.
Change the editor so values are visible/editable on hovering over a port.

I think this issue may be closed

This is still valid in 1cff9a2

Release the mouse button and press it again and the bug happens. Also notice the connection going from (0, 0) for a brief moment.


New package: G3G4X5X6.UltimateShell version 3.58.33

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Policy-Test-2.7

/azp run


Run link verification step at CI/Manual

Added the step to avoid we ship the wrong link out of the door.

/check-enforcer override