dmd, ldc, dub: Inherit buildInput and meta from build derivation

Motivation for this change
I think the builds on hydra for dmd, ldc and dub are not working on darwin anymore because of missing meta platforms information.
So I added that and also thought the buildInput needed to be inherited too because the packages should come with those dependencies when installed.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ x NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

Hmm I used the same branch as for https://github.com/NixOS/nixpkgs/pull/32274.
Might this be the reason for grahamcofborg not working properly?

Yes, that's why I forced a new eval.

That seemed to have started it but now it already failed with Failed to enumerate outputs of master no?
Don't know how to get details of that though.


Debugging transactions

Since transactions allow us to pass in pure javascript code, I think it would be useful to allow some form of debugging. For example, just being able to output some variables would be useful.
Maybe something like:
var debugger = require("internal").debug;
result = db.example.save({ Hello : "World" });
debugger.debug("myresult", result);

Then, if the transaction fails or succeeds, we get an extra debug property:
{ "result" : 1, "error" : false, "code" : 200, "debug" : {"myresult": "{....}"} }

Since this issue is a first page google result for arangodb transaction debugging, FWIW, here is a way to display an useful stack trace of an exception:
 db._executeTransaction({
      collections: this.collections,
      params: {
        rows: rows
      },
      action: (params) => {
        try {
          // code throwing exceptions
        } catch(e) {
          for(const line of e.stack.split("\n")) {
            console.error(line)
          }
          throw e
        }
      }
    })


Add spanish translation

Hello,
The extension needs translation for different languages.
You can find the language code (or locale code) you should use on this page
Steps :

Create a _locales/[language_code] folder
Create a messages.json file at _locales/[language_code]/messages.json
Copy paste content from _locales/en/messages.json
Translate the "message" part for each JSON object

hi, i want to contribute with spanish translation


Question: Adding custom values on client to be added to access token

Is it possible to add custom dynamic values (key+value pair) to authorization request to IdSrv so it can add it to the access token as claim? Like AcrValues or client claims but value is dynamic per user.

You think that is a good idea - so anybody could change those values on the URL and we would blindly sign it?

I totally agree with you. The only reason I'm looking for this is backwards compatibility. Our current in-house clients use access token to send additional values within calls to an internal api. I'm not optimistic about such a feature and honestly don't want to but what can you do. I feel like it can be only done doing custom IExtensionGrantValidator implementation am I correct?

I am confused now - do you want to send custom parameters to the token endpoint of authorize endpoint??

I want the client to be able to send additonal values/parameters to the IdP during authorization so IdP can add them as claims to the access token.

to which endpoint?

Well I was hoping if it could be done during passive authentication process using OIDC but I guess maybe I have to settle with manuel call for the token endpoint?

You can send additional parameters to the authorize endpoint. They are available via the interaction service from the login page e.g. From there you can put them into the signin cookie which is available in the profile service.
..but - you've been warned ;)


Swagger methods in multiple groups being renamed

Using the latest version 2.6.1.
Ideally, I was using the swagger json generated to make API calls with the swagger-js client library. This was using the "default" group name (no group was specified).
I had a use-case to produce separate swagger JSONs for web and mobile platforms. So, I add a group, "mobile" for only a specific APIs.
On doing this, the common swagger methods (which were mapped in both groups) renamed the operationId to have a suffix of _1 or is sometimes showing the original method name. This behavior is erratic and not stable.
For example, if the method name was getPets, the swagger json (for either groups) sometimes produced getPetsUsingGET and sometimes getPetsUsingGET_1 randomly.
Manually fixing the operationId does not solve the issue,
Like, @ApiOperation(value = "", nickname = "getPetsUsingGET")
The behavior is still erratic. Please fix this issue.

It is supposed to generate consistent naming.

The behavior we see, is either of getPetsUsingGET / getPetsUsingGET_1 and not getPetsUsingGET_1 and getPetsUsingGET_2.

That is by design.


Issue 72

Fixes #72
Known issues:
1. No about the app page.
2. No link to view licenses

By the way, please see this style guide https://dart.dev/guides/language/effective-dart/usage#do-follow-a-consistent-rule-for-var-and-final-on-local-variables and update the variable declarations accordingly. Thanks!


Annotate zerver/decorator.py

Also, fixed up the annotations for
zerver.models
zerver.tornadoviews
zilencer.models
while I was adding annotations for the decorators

Automated message from Dropbox CLA bot
@iamaspacecow, it looks like you've already signed the Dropbox CLA. Thanks!

You should split out changes to each file in a separate commit. @timabbott what do you think?

@iamaspacecow are you likely to have time to fix this up soon?  If not, @sharmaeklavya2 and I can fix this up and merge.

I'm probably not going to have time until the weekend. I don't know if that's too far out for you.

Cool.  The weekend is fine; I just don't want this to be left in limbo :)


Customizable message format

Allows the user to customize the log message format on handler setup, like this:
from logentries import LogentriesHandler
import logging

log = logging.getLogger('logentries')
log.setLevel(logging.DEBUG)
format=logging.Formatter('%(message)s')
handler = LogentriesHandler('xxxxxxx-xxx-xxx-xxxx-xxxxxxxxxxx', format=format)
log.addHandler(handler)

I want this exact functionality. When can we expect this to be merged?


[NG] Fix pagination init lifecycle

Because of a lifecycle quirk, we would instantiate as many ClrDatagridRow components
as we would have in the entire dataset. They wouldn't go throught their full Angular
lifecycle, but they would be instantiated nonetheless.
This commit fixes this by making the Items provider wait for the page size to be
available before emitting any changes.
Fixes #3082.

@hippee-lee: You're right, in this case the selector overload is pointless, my bad. I'm switching to an attribute directive since I control the test component anyway.
For our components though, we sadly don't have much choice since Angular doesn't offer a good composition pattern yet. But I understand the concern, maybe we should think of a way to document overloads somewhere in the code.


Added build and test for python3.7

What does this pull request implement/fix? Explain your changes.
This adds CI jobs for python3.7 for appveyor and travis, and adds the relevant classifier to setup.py.
Any other comments?

@jrbourbeau, that's just the 'official' recommended thing to get python 3.7 on travis, see https://docs.travis-ci.com/user/languages/python/#specifying-python-versions.

Thanks @duncanmmacleod!

@jrbourbeau, I don't suppose you can approve basically the same change in the conda package: https://github.com/conda-forge/pycondor-feedstock/pull/2, thanks.


Support incremental extraction

[ ] @flomnes  Add unit test

Two tests seem to fail

/home/omnesflo/or-tools/ortools/linear_solver/unittests/xpress_interface.cc:147: Failure
Expected equality of these values:
getter->getConstraintType(idx)
Which is: 'L' (76, 0x4C)
type
Which is: 'R' (82, 0x52)
/home/omnesflo/or-tools/ortools/linear_solver/unittests/xpress_interface.cc:161: Failure
Expected equality of these values:
getter->getConstraintRange(idx)
Which is: 1e+20
ub - lb
Which is: 0.1
Failure from line 360

unittests/xpress_interface.cc:434: Failure
Expected equality of these values:
getter.getConstraintCoef(c1->index(), x1->index())
Which is: -1533.6
0
/home/omnesflo/or-tools/ortools/linear_solver/unittests/xpress_interface.cc:435: Failure
Expected equality of these values:
getter.getConstraintCoef(c1->index(), x2->index())
Which is: 3.4
0
/home/omnesflo/or-tools/ortools/linear_solver/unittests/xpress_interface.cc:436: Failure
Expected equality of these values:
getter.getConstraintCoef(c2->index(), x1->index())
Which is: -11000
0
/home/omnesflo/or-tools/ortools/linear_solver/unittests/xpress_interface.cc:437: Failure
Expected equality of these values:
getter.getConstraintCoef(c2->index(), x2->index())
Which is: 0.0001
0
[  FAILED  ] XpressInterface.ClearConstraint (2 ms)

After merging the main branch into this one, I realized the the diff is empty.
This is because this fix must have been integrated already.
I'll close this PR.


error when copying terminal

Good morning guys. I am facing the error in my terminal in VS code that when I try to copy with the terminal with ctrl+c it ends my code and returns ^C. I've uninstalled and reinstalled but it doesn't change D:

This happens if the terminal.integrated.sendKeybindingsToShell setting has been set to true.

How do I fix it?

I'm new to this area and I'm learning

Please see https://code.visualstudio.com/docs/getstarted/settings

Tks


feat: Multilang refinement

Description

Validation for LUIS not supported locale.
Filter LUIS not supported locale file before publish.
move Add language button to top level

Task Item
close #3699

Screenshots

Coverage decreased (-0.008%) to 57.354% when pulling 0a2a407dbcb566107fb96eac8fe296d290c7bfc3 on zhixzhan:multilang-refinement into 8a6a33b72ad04105f874bd3143a959a69cb4d5aa on microsoft:main.


Map common MessageContext into trace info

Since the 7.8 release the Frank Framework provides a MessageContext, this might be useful to map into trace information.

Make sure to provide a mechanism to hide/mask certain context keys, such as Header.Authorization


View Alpha and crop problem with YoutubePlayerAndroidApi

I'm using DraggablePanel and YoutubePlayerSupportFragment as TopFragment in my app as implemented in your sample. But I found 2 problems with this:

I recognize that when the DraggablePanel is minimized, the video is cropped. I tried fixing DEFAULT_TOP_VIEW_RESIZE in DraggableView to true, but the dragging animation is too lagged, not as smooth as before.

I setEnableHorizontalAlphaEffect(true) but when the YoutubePlayer is minimized, if I horizontally swipe the DraggableView, the player becomes transparent.

Do you have any solution for these ?
Hope to be answered soon. Thank you.

We've already talked about this in other issues, Youtube Library does not support alpha or size changes, that's not a problem of the library.


SNS SMS message retrospection

PR https://github.com/localstack/localstack/pull/8667 added support for retrospection of SMS messages published via SNS at the /_aws/sns/sms-messages endpoint, but this feature is not documented on the SNS page.

@bentsku Thank you! 🙏

Sorry for the delay on that one, it took quite a long time 😅 feel free if you have any feedback! And thanks a lot for opening the issue 🙏


Add base system, curl and jq for debug and checks.

Overview
Small image is very cool but not when it lacks minimal debug/check tooling. For e.g. in Kubernetes it would avoid having  excessive sidecar and init containers.
Fixes #1706
Pull request checklist

[x] I have read the contributing guide.
[x] I have agreed to the Contributor License Agreement.
[o] I have updated the documentation.
[x] I have resolved any merge conflicts.
[o] I have included tests that cover my changes.
[x] All new and existing tests pass.

@codysoyland 	any thoughts on this? I don't have a problem with it, but maybe it'd be better to publish under a separate name - pilosa-extra, pilosa-debug or something like that?

I would prefer we not use a separate name; it will be simpler to continue only releasing one build for each version release.

Quite agree. There is no reason to create a separate image. We should be able to attach into container and do some plain stuff in there anyway.

It's quite trivial to create and use custom Pilosa docker images, and everyone's needs can be different. I think we shouldn't change the current docker image. If we must, I agree with @jaffee that it's better to name it differently (and keep the minimal image). Also I think it would be better to base the extra image on Ubuntu (which I think is 40-50 MB).

hey @yuce I didn't see your comment before I merged this - I'm playing around with docker-compose right now for cluster testing stuff and may need to make some changes anyway, so we can keep discussing this, but based on my discussions with @codysoyland I think that the few extra megs we've added here is probably worth it.

@yuce I agree in principle that this won't solve everybody's use case, but I think this is a good compromise between minimalism and practicality. The image grows only about 25% bigger, but includes "batteries" such as a package manager that lets people install anything. I was very tempted to reject this on minimalistic purism, but I convinced myself that is not pragmatic.
I believe Alpine is the most popular base image and is <5MB. We still have time to change this before the next release, so I would welcome your argument in favor of using Ubuntu as a base image, but, my preference for Ubuntu aside, I believe Alpine is the right call.
Also, considering the suggestion to create separately named images with different base images, or advising our users to create their own custom images, consider the difficulty in changing out the image used in a production environment, as you would have to shut down pilosa and remount the data volume on a different container with a different base image. Also not all users have time to create and manage a custom registry. I think it will be much simpler if there is only one official image.

@codysoyland @jaffee I've suggested Ubuntu since Ubuntu is more mainstream, and their images are not that bigger from Alpine's. I assume they would have better security since they have much more resources and their business depends on that.
I agree that changing docker image names on production wouldn't make much sense, but I would assume people who would like to use extra tools in the docker image would use pilosa-extra exclusively.

Ubuntu is quite a bit bigger:
ubuntu:latest: 85.8MB
alpine:latest: 4.41MB

I think that's the size of the image after expanded. The download size was between 30-40MB for me.


add Azure CLI links for azure-vmware

Adds links the the az vmware overview at:
https://docs.microsoft.com/cli/azure/ext/vmware/vmware

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

Hi @shortpatti - Could you review this pull request? Thanks.

#sign-off

@shortpatti: I'm sorry - only the author of this article, @dikamath, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Thanks @shortpatti


Is it possible to add debug information?

Hello,
for source level debugging it is needed to have debug information available in the ELF file.
Therefore CC_OPTS, from common.mk, must be expanded by: -g3 -gdwarf-4
But I don't know if this will disturb the normal process for building the VHDL image.
Best regards,
Michael

You can add additional gcc flags to the USER_FLAGS variable. For example $ make USER_FLAGS+=-g clean_all exe to add debug information.

Thank you for the hint, it works. This issue can be closed.


Added snap installation method

Snap is a universal linux package manage. I added your game to the snap store so anyone on any distribution can install your game with snap.

Coverage remained the same at 100.0% when pulling 20a67470f4b0e4c7b043361a1e24df5693a2f129 on LaughingLove:patch-1 into 48d5033d16d4558e780aa9fca8f510b5d97bc9c4 on bfontaine:master.

Thanks! How does it work? How do we maintain the package? Is there any way to get the source of the package?

Hi,
Snaps are a universal way to install applications across all distributions of linux.
In order to install snap simply follow the instructions per distro here.
I am currently maintaining the term2048 snap package. However, whenever you update your code for term2048 the snap daemon automatically updates the code for the package. To find out more check out the snapcraft website here.
To get the source of the package you can just find my github repo here.
I use build.snapcraft.io to automatically build new versions of the snap any time I make a change to the repo's source code.

All right, thanks!


[Google Chrome Profiles] API file appears to be corrupted

Extension
https://www.raycast.com/frouo/google-chrome-profiles
Description
Error:
The API file appears to be corrupted. You may need to reinstall Raycast.

Raycast version : 1.60
Steps To Reproduce

Download the Google Chrome Profiles extension
Open Google Chrome Profiles command

Current Behaviour

Expected Behaviour
The extension should list my Google Chrome profiles.

hey, thanks for the report. This is an issue with Raycast, not the extension. We're currently addressing it and will deploy a hotfix shortly. Sorry for the hassle 🙏


[Bug]: Bad link to doc in starter app

Which Remix packages are impacted?

[X] remix (Remix core)
[X] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.0.5
Steps to Reproduce
Create  a new remix app, following the documentation:
npx create-remix@latest
Then go to YOUR_APP/app/root.tsx
Expected Behavior
I want to go to the links exported variable documentation
Actual Behavior
In this file you have by default the links variable exported and works fine, but the link to the documentation throw a 404.
Received text:
/**
 * The `links` export is a function that returns an array of objects that map to
 * the attributes for an HTML `<link>` element. These will load `<link>` tags on
 * every route in the app, but individual routes can include their own links
 * that are automatically unloaded when a user navigates away from the route.
 *
 * https://remix.run/api/app#links
 */

And when you navigate to https://remix.run/api/app#links it throws an error

The correct Link is: https://remix.run/api/conventions#links

Not applicable anymore, root.tsx doesn't contain this comment anymore


Unbalanced GPU memory when using slurm on multi machine and multi gpus

When I run MMDetection on 2 nodes with total of 16 GPUs by slurm_train.sh, I met a problem of unbalanced GPU memory usage. This figure shows one node GPU memory usage. I wonder if this is normal? And how should I do for reducing the memory usage on GPU0?

What pretrained checkpoints were you using? Is it a custom checkpoint?
The checkpoint may contain GPU tensors instead of CPU tensors we use by default.

Yes, I used the custom checkpoint. Should I load checkpoint by torch.load(CHECKPOINT_FILE, map_location='cpu')?


Fix sw-plugin-box

1. Why is this change necessary?
There is code for a 'plugin box' on the payments settings page for over a year, but it didn't work because of a typo. This PR fixes this typo.
2. What does this change do, exactly?
Changes entity.transations.key to entity.translated.key which is the correct way.
3. Describe each step to reproduce the issue or behaviour.
Go to a payment setting page of a plugin. It should look like this:

4. Please link to the relevant issues (if any).
/
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

I have not created a changelog file as this is a really small change.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-13404
Please use this issue to track the state of your pull request.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-13404
Please use this issue to track the state of your pull request.

Hey @runelaenen, thanks for your contribution 💙

Hey @runelaenen, thanks for your contribution 💙


Use a third-party lib as a backend for UrlRequest

There are many issues/limitations with the current implementation, using a powerful library like requests or pycurl and transparently passing options to it would solve many of our current and future issues.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Fixed via https://github.com/kivy/kivy/pull/7913


Problème four Beko

Hello, According to my first test the integration with the Beko oven works more or less correctly. On the other hand, I have a bad feedback on the result of the federated state entity example, the oven is off. The federated state returns me cooking. Thank you for your help

Hi 👋
Please use an English title. Further, can you provide any logs?


Media Options preprocess issue

See on: http://staging.beta.dosomething.org/campaigns/space-jam
The error:

And the form:

t-shirts are dead


Curve and Profile are purely 2-D - adjust code and docs

Add some additional test too.

My first look at Curve class:
>>> a = [[1.1,1.2,1.3],[2.1,2.2,2.3],[3.1,3.2,3.3], [4.1,4.2,4.3], [5.1,5.2,5.3]]
>>> c = Curve(a)
>>> c
Curve([[ 1.1,  1.2,  1.3],
       [ 2.1,  2.2,  2.3],
       [ 3.1,  3.2,  3.3],
       [ 4.1,  4.2,  4.3],
       [ 5.1,  5.2,  5.3]])
>>> c.x
DataSet([ 1.1,  2.1,  3.1,  4.1,  5.1])
>>> c.y
DataSet([ 1.2,  2.2,  3.2,  4.2,  5.2])
>>> c.z
Traceback (most recent call last):
  File "<input>", line 1, in <module>
AttributeError: 'Curve' object has no attribute 'z'

This looks fine, but how can we get the third column (z). There is no
@property
    def z(self):
        return self[:, 2].view(DataSet)

so we cant get the below:
>>> c.z
DataSet([ 1.3,  2.3,  3.3,  4.3,  5.3])

I think we can now assume that the Curves and Profiles are purely 2-D and adjust the code, comments and documentation to such version.

Ok, I'll rename this issue and add it to milestone 0.1.1.

Closed in #123


Post request hangs in certain cases when body is a StringIO

This is related to a report for the Dropbox Python SDK.
The following hangs:
from StringIO import StringIO
s = StringIO()
s.write('hello')  # This is seeked to the end
requests.post('http://www.google.com', data=s)  # Hangs: A success would be a 405 error

After a cursory look, it looks like the request isn't fully formed so the server doesn't attempt to send a response which leaves the client hanging.
If we call s.seek(0), this works. A bit more counterintuitively, this also works:
requests.post('http://www.google.com', data=StringIO())

Thanks for this report. This comes because we calculate the length of the StringIO, but don't account for where it is seeked to.
As I see it we have two options: we can either always seek(0) before sending a body, or we can use tell() to adjust the content length.
On balance, I think the first is probably better: we already seek(0) in some cases (e.g. auth handlers), so this would be consistent. The downside is that it makes it harder for someone to upload a partial file from disk, though I suspect that's a minor use-case.
@sigmavirus24 thoughts?

This isn't our fault. If you do this:
import StringIO

s = StringIO.StringIO()
s.write('foobarbogus')
print(s.read())

You will get nothing. By writing you've moved the fake pointer. We send what we can. That said, we're sending a content-length of whatever is in the buffer because we look at s.len so we're telling the server we're sending something with 11 bytes but sending nothing and that's they the server hangs.
This is how StringIO instances work and misusing them is not a bug in requests because partial file uploads are very desirable. Especially if you're trying to split a file up into multiple requests (e.g., uploading very large objects to S3 or an OpenStack Swift service).
There's only so far I will go in helping a user not shoot themselves in the foot. The line I draw is in doing the wrong thing for users who actually know what they're doing.

we already seek(0) in some cases (e.g. auth handlers), so this would be consistent.

I've always argued that that behaviour is wrong too. I still don't like it.

I see now that this applies to file objects as well which makes sense. I would favor using the current location of the stream by inspecting tell(). That to me is part of the benefit and contract of using a file-like object.
It will be more burdensome for developers to get around your forced seek(0) than for developers to add a seek(0) themselves when needed. If the latter case were more common, I could see an ease-of-use argument. Given that there hasn't been a reported issue before, this scenario is probably rare and reserved for more advanced usage.

@sigmavirus24: Are you opposed to setting the Content-Length to s.len - s.tell()?
To be clear, my expectation was that the post request would have an empty body precisely for the reason that you state. The surprise was that the request hung, ie. the Content-Length is set to the full size, rather than what's remaining.

No I'm not opposed to that, but that is not necessarily applicable to every case where you have s.len. super_len's logic would need to change drastically. You basically want super_len to look like this:
def super_len(o):
    total_len = None
    current_position = 0
    if hasattr(o, '__len__'):
        total_len = len(o)

    elif hasattr(o, 'len'):
        total_len = o.len

    elif hasattr(o, 'fileno'):
        try:
            fileno = o.fileno()
        except io.UnsupportedOperation:
            pass
        else:
            total_len = os.fstat(fileno).st_size

            # Having used fstat to determine the file length, we need to
            # confirm that this file was opened up in binary mode.
            if 'b' not in o.mode:
                warnings.warn((
                    "Requests has determined the content-length for this "
                    "request using the binary size of the file: however, the "
                    "file has been opened in text mode (i.e. without the 'b' "
                    "flag in the mode). This may lead to an incorrect "
                    "content-length. In Requests 3.0, support will be removed "
                    "for files in text mode."),
                    FileModeWarning
                )

    if hasattr(o, 'tell'):
        current_position = o.tell()

    return max(0, total_len - current_position)

    if hasattr(o, 'getvalue'):
        # e.g. BytesIO, cStringIO.StringIO
        return len(o.getvalue())

That said, I've not tested that.

As @braincore stated, it's more the fact that the request will hang due to the mismatch between the Content-Length and the actual content that is being sent. The misuse of the StringIO API was the reason this was discovered, and not problem to be solved.

It will be more burdensome for developers to get around your forced seek(0) than for developers to add a seek(0) themselves when needed.

I couldn't agree more, especially due to the rather simple fact that the forced seek would make explicit partial file uploads more difficult than they need to be as mentioned by @sigmavirus24.

Feel free to checkout #2873. That should fix this for all y'all.

Awesome. Looks great! Thanks again.

Thanks!


GFF/Fasta upload to GenomeAnnotation object

Opening a new PR, not to be merged yet, maintaining todo list here as before.
Done since last commit: protein translation and aggregated CDS (both need debugging)

Check CDS and Protein aggregation; Update mRNA locations
Incorporate Bio::Seq for fully functional translation (incl. gaps/unrecognized codons) along with translation tables
Testing of sequences against those found in Phytozome
Extract timestamps from Phytozome fasta descriptions for each contig
Taxonomy mapping (correct taxonomy ref now generated from hard-coded organism name)
Compliance with GFF from Ensembl ("transcript"), RNA-Seq pipeline, and GFF downloader
Hide all objects except for GenomeAnnotation and Assembly
Upload GFF to shock and add GFF handle (optional and ignored for now)
AnnotationQuality

Updated ToDo:

Update mRNA locations
Insert warnings about incorrectly translated proteins (tiny number)
Incorporate Bio::Seq for fully functional translation (incl. gaps/unrecognized codons) along with translation tables
Testing of sequences against those found in Phytozome
Extract timestamps from Phytozome fasta descriptions for each contig
Compliance with GFF from Ensembl ("transcript"), RNA-Seq pipeline, and GFF downloader
Hide all objects except for GenomeAnnotation and Assembly
Upload GFF to shock and add GFF handle (optional and ignored for now)
AnnotationQuality

couple of bug fixes brought up by processing all files, as it stands, the script can load all phytozome genomes. Probably biggest step made here is the move from my god-awful basic translation hack to the use of Biopython, which enables me to tackle dna and protein ambiguities consistently.
Other fixes include the inclusion of the genome version in the release field, the upload/use of the gff_handle_ref, and hiding of feature/protein containers
Updated ToDo:

Update mRNA locations
Insert warnings about incorrectly translated proteins (tiny number; reported by Biopython)
Testing of sequences against those found in Phytozome
Extract timestamps from Phytozome fasta descriptions for each contig
Compliance with GFF from Ensembl ("transcript"), RNA-Seq pipeline, and GFF downloader
AnnotationQuality

I fixed how the locations and sequences are aggregated from UTRs and CDSs in mRNA feature objects, ahead of correctly generating the feature_lookup object. New ToDo:
Updated ToDo:

Generate feature_lookup object
Testing of protein sequences against those found in Phytozome (update if needed)
Extract timestamps from Phytozome fasta descriptions for each contig
Compliance with other sources:

Ensembl ("transcript")
RNA-Seq pipeline
Microbial GFFs
KBase GFF downloader
GFFs that contain explicit exons

AnnotationQuality

This PR is over a year old, and still has a bunch of ToDo's listed. Please do not open a PR if it isn't ready to be merged.


Repo sync for protected CLA branch

The pull request is created from master637406520826222267 to master to fix git push error for protected CLA branch

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


Question on scope: Where should shared library vulnerabilities go?

Usually, audit tooling (such as pip audit, or grype) picks up dependencies, and checks them accordingly. However, in case of binary wheels in Python, packages can include (using manylinux/auditwheel or otherwise) shared libraries in the wheel. These are quite hard to trace back to the original distro package that they were copied from, and as a result, no tool (that I'm aware of) will mark the corresponding distro package in the SBOM.
As an example, see https://github.com/vinayak-mehta/pdftopng/issues/12, where pdftopng includes a vulnerable version of libpng, but that is not reported anywhere.
I was working towards detecting these issues automatically (https://github.com/pypa/auditwheel/issues/397), and was wondering what would be the right place to document these so Python audit tooling (such as pip-audit) picks them up. I can imagine two scenarios:

Generating SBOMs for each of the vulnerable wheels to include the distro package versions. Perhaps auditwheel could include this in the metadata going forward, or having a separate tool for now that audits a wheel and provides a SBOM including this information. This second-level SBOM can then be used by other (mostly non-python) tooling to detect any vulnerabilities. However, tooling such as pip-audit will need to be updated.
Publish this information in the advisory database (or GHSA), so it gets immediately used everywhere, at the cost of duplicating the vulnerability (The CVE is really in an upstream package, but wheels are bundling those).

Great question, thanks for filing an issue.
I think you're right, we need a standard way to declare 'vendored' dependencies inside of wheels, (likely with SBOMs). Myself and some other folks are drafting a PEP for this, I'll ask them to comment here as well.
Ideally, then, audit tooling will be able to pick up on the presence of a 'vulnerable' sub-dependency within a distribution. However, this means that auditing tooling will need a way to relate the installed project name to the SBOM, which might not be available in all environments.
For now, I think a stopgap solution would be to do your second suggestion, as I do think the presence of a vulnerable vendored dependency should be grounds for generating a CVE against the parent project as well.

Will file an issue/PR for (2) here when I make some progress.

I definitely think auditwheel will need to support updating/amending the SBOM when repairing a wheel, but I think there's upstream tooling like build which should also provide a way to generate an SBOM or SBOM-like thing when dependencies are being vendored into the distribution.

I think you're right, we need a standard way to declare 'vendored' dependencies inside of wheels, (likely with SBOMs). Myself and some other folks are drafting a PEP for this, I'll ask them to comment here as well.

Hey @di, is this draft PEP available anywhere I can contribute to?

@sethmlarson Yes: https://github.com/di/peps/pull/3, although it's a bit stalled (cc @teruokun)

I've created an advisory PR for the shared library libwebp.so that is included with imagecodecs according to what I mentioned above. If this seems good to folks, I think we can codify it in CONTRIBUTING.md.

I've created an advisory PR for the shared library libwebp.so that is included with imagecodecs according to what I mentioned above. If this seems good to folks, I think we can codify it in CONTRIBUTING.md.

Thanks for doing that! Big +1 to doing this generally when the vulnerable dependency is bundled. related seems like the more correct field to use for the CVE IDs in most of these cases.

Thanks a lot for the advisory, this is helpful.
I think the questions raised in this issue have been well answered now, so we can close this now.


Important

i can't find .sln file?

this is a rat.

this is a rat.

do you've a working one?

this is a rat.

do you've a working one?

i sell my own

this is a rat.

do you've a working one?

i sell my own

gimme ur discord id, mine is: xii69

this is a rat.

do you've a working one?

i sell my own

gimme ur discord id, mine is: xii69

added accept mine = nullbyte_1


[SPARK-19311][SQL] fix UDT hierarchy issue

What changes were proposed in this pull request?
acceptType() in UDT will no only accept the same type but also all base types
How was this patch tested?
Manual test using a set of generated UDTs fixing acceptType() in my user defined types
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

cc @cloud-fan @rxin Although UDT is now private API, some developers still use it by defining their codes as spark package. I am not sure if you think we need to fix this or not.

is it possible to add a unit test? the change LGTM

LGTM too. @gmoehler Can you add a unit test?

ok to test

You can add a test case in https://github.com/apache/spark/blob/master/sql/core/src/test/scala/org/apache/spark/sql/UserDefinedTypeSuite.scala

Test build #71755 has started for PR 16660 at commit 7ea9aa6.

Test build #71755 has finished for PR 16660 at commit 7ea9aa6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71755/
Test PASSed.

Test build #71841 has started for PR 16660 at commit fad9f0e.

Test build #71841 has finished for PR 16660 at commit fad9f0e.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
 sealed trait IExampleBaseType extends Serializable
 class ExampleBaseClass(override val field: Int) extends IExampleBaseType
  class ExampleSubClass(override val field: Int)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71841/
Test FAILed.

Test build #71846 has started for PR 16660 at commit fb261d7.

Test build #71846 has finished for PR 16660 at commit fb261d7.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71846/
Test FAILed.

Test build #71849 has started for PR 16660 at commit 6b6b773.

Test build #71849 has finished for PR 16660 at commit 6b6b773.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71849/
Test FAILed.

Test build #71852 has started for PR 16660 at commit 4ae0555.

Test build #71852 has finished for PR 16660 at commit 4ae0555.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
sealed trait IExampleBaseType extends Serializable
class ExampleBaseClass(override val field: Int) extends IExampleBaseType
class ExampleSubClass(override val field: Int)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71852/
Test PASSed.

It looks great! My comment is just to simplify the unit test cases. Normally, we want to make the unit test cases as simple as possible. Thanks!
LGTM except a few minor comments.

Test build #71929 has started for PR 16660 at commit 7aed9a4.

Thanks for the valuable (and fast!) comments - i have worked them in.

Test build #71929 has finished for PR 16660 at commit 7aed9a4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ExampleBaseTypeUDT extends UserDefinedType[IExampleBaseType]

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71929/
Test PASSed.

LGTM except one minor comment.

@viirya Which comment are you referring to? I thought i had included all of them ;-)

The remaining comment is: https://github.com/apache/spark/pull/16660#discussion_r97427591

LGTM except one comment. Thanks for working on this!

@gmoehler ExampleBaseClass overrides toString impl. That is redundant.

Thanks for pointing out. I had overseen this comment.
Really appreciate you commitment to clean code!
Change is pushed and ready for a test build.

Test build #71980 has started for PR 16660 at commit 6c16760.

Test build #71980 has finished for PR 16660 at commit 6c16760.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ExampleBaseClass(override val field: Int) extends IExampleBaseType

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71980/
Test PASSed.

LGTM

Thanks! Merging to master/2.1


https://www.angularjs.org/ is down URGENT!!!

Our production is halted! URGENT!!
We are referring domain: https://code.angularjs.org/1.2.12..
https://angularjs.org/ is down too..

As mentioned on the site, you should not rely on code.angularjs.org for production. You should switch to using a CDN (or a locally hosted file).
We are investigating. It is probably related to infrastructure changes or config changes done in angular/angular.js, so let's track it here (until we know better :smiley:).


Fix issues and make improvements

Age Calculator not working
Title : Age Calculator Not Working
Issue No. : #779
Code Stack : As age calculator wasn't working necessary changes were made in the code hence the code is working well and able calculate the age and display it properly.
Close #779
Video (mandatory)

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[ ] I'm a GSSOC'24 contributor
[x] I'm a SSOC'24 contributor

@apu52 kindly merge this enhancement


Add deployment & publishing module

It would be nice to have such a module. This topic is very important and almost everyone faces problems in it

Who agrees with this statement and has no comments, please like.


Add Record attribute

-Create the record attribute class similar to other patient attribute

Completed in #86 pull request


Add icon for PHP Language

I think it would be cool if you add PHP logo when opening a PHP file

If you want it now you change the client ID, but you've to upload all of images&Icons

@hugolgst, what is the status for this?

A PR has been created?

I am quite busy these times but if there is a PR with a logo I can take the time to review it and add the logo to the app


AssertionError

this is the error i got while training
my audio data config is
"data_config": {
"segment_length": 16000,
"sampling_rate": 48000,
"filter_length": 4096,
"hop_length": 512,
"win_length": 4096,
"mel_fmin": 0.0,
"mel_fmax": 8000.0}
below to numbers are the lengths of corresponding indexs of spectograms and the audio
print(spect.size(2))
print(audio.size(1))
8960
16000
Traceback (most recent call last):
File "train.py", line 193, in
train(num_gpus, args.rank, args.group_name,training_folder, **train_config)
File "train.py", line 124, in train
outputs = model((mel, audio))
File "/root/anaconda3/envs/nvidia/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/speech/Demo/nvidia/tacotron2/waveglow/glow.py", line 218, in forward
assert(spect.size(2) >= audio.size(1))
AssertionError
Thanks in advance

@souravdalai hello, any progress in this error? I just run into the same issue here.

@souravdalai hello, any progress in this error? I just run into the same issue here.
i think the filter length 4096  was too high for 48000 sample rate, so i resampled my data to 22050 sample rate and changed the data config to ,
"data_config": {
"segment_length": 16000,
"sampling_rate": 22050,
"filter_length": 2048,
"hop_length": 256,
"win_length": 2048,
"mel_fmin": 0.0,
"mel_fmax": 8000.0}

Take a look at the pull request below: when changing hop_length and win_length, you'll need to also change the upsampling layer in the model
https://github.com/NVIDIA/waveglow/pull/88/files#diff-2b3c4fcf550a15d7b23db0a2614c4a95R185


[Bug?]: Error using ~ alias from package

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
If you use the Typescript import alias ~ from within a package it resolves incorrectly throwing an error.
For context I am also using the vite-tsconfig-paths plugin which correctly handles this situation on a regular Vite app.
You can reproduce the behaviour by running this Solid Start app.
You will seeing the following error in the browser:
[plugin:vite:import-analysis] Failed to resolve import "~/demo" from "lib/src/index.ts". Does the file exist?
/Users/oscar/Desktop/solid-project/lib/src/index.ts:2:7
import "~/demo";

Expected behavior 🤔
No response
Steps to reproduce 🕹
Repository or Stackblitz

pnpm i
pnpm dev
See error on http://localhost:3000

Context 🔦
I am fairly sure the fact that Solid Start defines a resolver for ~ which points to the app root is causing the code within the subpackages to try and resolve the alias relative to the root of the app and not the current package.
This can kinda be confirmed by enabling this pnpm patch which removes that resolver and noticing that the error goes away.
Your environment 🌎
No response

Hmm.. so it doesn't sound like there is a reasonable solution at the moment. Vite plugin I'm gathering doesn't work because we use 3 vite builds in Vinxi to create the separate module graph needed. Otherwise that would have been the solution here. Having alias at the app level is a SolidStart feature and libraries depending on this you'd hope not have this issue with their output types but if they do then it seems messy regardless.

FWIW, Turborepo recommends multipackage repos to "Use Node.js subpath imports instead of TypeScript compiler paths". I've no experience with Node.js subpath imports, so cannot comment further.


[Bug] App Crash on "New Version" Bottom Sheet and "Donation"

Describe the bug
When the app is launched and the update screen or donation screen pops up, swiping from the edge of the screen to return to the main activity causes the app to crash.
To Reproduce
When the app is launched and the update screen or donation screen pops up, swiping from the edge of the screen returns to the main activity.
Expected behavior
Should back to home Activity.
Screenshots
https://github.com/user-attachments/assets/96b0872f-9053-4d05-8013-fe496201877d
Smartphone (please complete the following information):

Device: Xiaomi 13
OS: Android 14 / Hyper OS 1.0

maybe internal jetpack compose bug, waiting for updates

you can disable auto showing update sheet in settings

The following is the crash log:
Device: 2211133C (Xiaomi - fuxi), SDK: 34 (14), App: 3.0.0 (152)
java.lang.NullPointerException: Attempt to invoke virtual method 'float android.window.BackMotionEvent.getTouchX()' on a null object reference
at android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper.lambda$onBackStarted$1(WindowOnBackInvokedDispatcher.java:353)
at android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper.$r8$lambda$jWVwe-YeLRxW3tAMLuWZynG6e1k(Unknown Source:0)
at android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper$$ExternalSyntheticLambda4.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8777)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
My Analysis：
This crash occurred on my Xiaomi 13 (Android 14), but not occur on the Pixel 8 (Android 14).
After I set the enableOnBackInvokedCallback to false, this problem will disappear, I guess may be related to the properties of the Android 14 "Predictive Back".

maybe internal jetpack compose bug, waiting for updates

But...it's not occurred on Pixel 8 (Android 14)，may be the bug come from Hyper OS（╮( •́ω•̀ )╭

Oh, maybe it is, because on my pixel 8 everything is okay too

Should i keep it open?

Should i keep it open?

plz close it,thank you,this bug may have been caused by Hyper OS.


Norm-Regaular font added

I have added the ttf file of the custom font  Norm-Regular font and did the required changes.
I am a GSSoC participant.

@anushbhatia  should i close this PR and make a new one ?
Or what should i do ?

@anushbhatia should i close this PR and make a new one ?
Or what should i do ?

Yes.

Yup


Docker configuration with ENV

I've added an alpine docker container to and copied the source to it.  I converted config_template.py to config.py which now uses os.getenv to managing most of the settings, i skipped the allowed to edit.
I've over written the docker-compose, with an example of who you this would be used with miradb.
With the new os.env the config['key'] may exist, but is set to none.  I've updated 1 place in the code this was a problem with LDAP.

Looks fine and works. However I'm getting issues with logout not working and login but probably not related to this PR.

I’ve got it pointing at an AD and works.

Yeah I've seen a bit later than my issue wasn't one.
Except that it builds and run perfectly.

I am refactoring the code and merge new features to developement branch. For now i won't merge this. Will consider to use your solution after refactoring.
Thanks for the PR!


mon_data_space.py should exit gracefully when requested control file is not found

Description
mon_data_space.py should trap the file not found exception and exit with an error condition (1) when the requested control file is not found.  Without trapping this condition a missing control file will result in an entire model plot job failing.
Dependencies
None.

Should also handle an incomplete ieee_d file gracefully, reporting the error but skipping the file, like it was missing.  Now it results in aborting the entire plot job:
12:   File "/scratch1/NCEPDEV/da/python/envs/eva/lib/python3.10/site-packages/eva/data/mon_data_space.py", line 126, in execute 12:     darr, cycle_tm = self.read_ieee(filename, coords, dims, ndims_used, 12:   File "/scratch1/NCEPDEV/da/python/envs/eva/lib/python3.10/site-packages/eva/data/mon_data_space.py", line 699, in read_ieee 12:     arr = f.read_reals(dtype=np.dtype('>f4')).reshape(dims['ydef'], 12:   File "/scratch1/NCEPDEV/da/python/envs/eva/lib/python3.10/site-packages/scipy/io/_fortran.py", line 339, in read_reals 12:     return self.read_record(dtype) 12:   File "/scratch1/NCEPDEV/da/python/envs/eva/lib/python3.10/site-packages/scipy/io/_fortran.py", line 274, in read_record 12:     raise FortranFormattingError( 12: scipy.io._fortran.FortranFormattingError: End of file in the middle of a record


ref(*): refactor to act as jnlp-slave

For use with the Kubernetes Jenkins Plugin.
TODO

[x] add/modify docs
[x] either update chart dir or remove (if chart removed, external ci updates will be needed)

Once docs are added I'll LGTM this :)

@bacongobbler docs added and chart updated!  PTAL

I'm wondering if it doesn't make more sense to use jenkinsci/jnlp-slave as the base image. Wouldn't that spare us from having to include out own startup script?

I'm wondering if it doesn't make more sense to use jenkinsci/jnlp-slave as the base image

It would be preferable if we could.  However, the current Dockerfile as written does quite a few root-user tasks (apt-get install *, mkdir, chown, etc.) and the jenkinsci/jnlp-slave image has USER jenkins set.  If there is a way to reconfig our Dockerfile to be able to do all it needs to do but as the jenkins user, then I'd definitely be in favor.  (Also note some custom logic in the jenkins-slave script)

Is it possible to do this?
FROM jenkins/jnlp-slave
USER root
RUN apt-get install ...
USER jenkins

?

(Also note some custom logic in the jenkins-slave script)

We can override the jenkins-slave script provided in jenkins/jnlp-slave. I had to do the same for deis/postgres and its docker-entrypoint script.

Either way we can refactor in the future. LGTM!

Great suggestions @krancour and @bacongobbler .  Pushed the latest changes and tested it via the following pipeline: https://ci.deis.io/job/builder-clone/1
I'd like to get our k8s plugin pulling this image and running more jobs just to be sure before merging, but this does simplify things.

Sigh; n/m... I was fooled by the pipeline b/c although the builder clone job using my agent succeeded, the downstream job was still using the previous jenkin-node:canary image.  Now when I flipped ci to use this test img, jobs fail w/ perms issues.  It seems we still need the container user to be root -- but would be great to refactor later.  I'll update this PR and keep testing...

Ok, we're back to where this PR originally started.  In order to refactor the image to pull from jenkinsci/jnlp-slave and not use our custom jenkins-slave script, we'll need to make updates in the deis/e2e-runner project.  I'll file a ticket for this work.


fix: use logging class for most verbose calls

All operations that should depend on the set logging level must go through UploadLogger. The free functions are still required e.g. for things like verbose(Start of uploader: ${start}..., realArgs.verbose) running outside of main, so I kept them.
Consistently using UploadLogger.verbose is IMO more readable and makes it clear, that logging levels are used. If the free functions are to be preferred, the class can be removed.
To avoid mistakes with the free verbose remove the default Argument as that doesn't make sense anyway and is the source of current bugs. Those are fixed by this change as they all go through UploadLogger now.
@drazisil-codecov This is basically the all-round fix for https://github.com/codecov/uploader/pull/533#issuecomment-1002999737
The issue was likely introduced by some refactoring as evident in the test suite: Logger Helper - Legacy log() tests'

Decreased coverage not an issue, as many lines could be reduced. E.g. by proper Singleton usage (replace init() by getInstance())

@drazisil-codecov changed the title Fix logging system fix: use logging class for most verbose calls

Note that this fixes actual bugs where verbose messages were never logged due to the confusion caused by the different functions. Hence the more generic title

@drazisil-codecov changed the title Fix logging system fix: use logging class for most verbose calls

Note that this fixes actual bugs where verbose messages were never logged due to the confusion caused by the different functions. Hence the more generic title

Got it. Please use conventional commits format in the future, otherwise, your changes will not populate to the changelog (and throw tons of errors if the repo's pre-commit hook ever sees them). Are you running npm install? The husky hook should be catching this. 🤔

Please use conventional commits format in the future, otherwise, your changes will not populate to the changelog (and throw tons of errors if the repo's pre-commit hook ever sees them). Are you running npm install? The husky hook should be catching this. 🤔

What are "conventional commits format"? And no, not running npm install, don't even have the whole node toolchain on my PC.
Why isn't that a CI check if the format is important? Would probably be worth adding.


Performance issue when overwriting

Hi, I'm using littlefs to record some logs. The log is a ring buffer, so it overwrites the oldest one when the file reaches the max size. However I found the performanc drops significantly when overwriting. Below is my code to reproduce the problem.
	lfs_file f;
	int err = 0;

	err = lfs_file_open(&lfs, &f, "tt", LFS_O_CREAT | LFS_O_RDWR);
	assert(err == LFS_ERR_OK);
	uint8_t pb[100 * 1024];
	for (uint32_t j = 0; j < sizeof(pb); j++)
	{
		pb[j] = rand();
	}
	err = lfs_file_seek(&lfs, &f, 0, LFS_SEEK_SET);
	assert(err >= 0);
	err = lfs_file_write(&lfs, &f, pb, sizeof(pb));
	assert(err >= 0);
	err = lfs_file_close(&lfs, &f);
	assert(err == LFS_ERR_OK);

	for (wc = 0; wc < 64000; wc++)
	{
		err = lfs_file_open(&lfs, &f, "tt", LFS_O_CREAT | LFS_O_RDWR);
		assert(err == LFS_ERR_OK);
		uint8_t b[16 * 5];
		for (uint32_t j = 0; j < sizeof(b); j++)
		{
			b[j] = rand();
		}
		err = lfs_file_seek(&lfs, &f, sizeof(b) * (wc % (32000 / 5)), LFS_SEEK_SET);
		assert(err >= 0);
		err = lfs_file_write(&lfs, &f, b, sizeof(b));
		assert(err >= 0);
		err = lfs_file_close(&lfs, &f);
		assert(err == LFS_ERR_OK);

		ShowCost();
	}

And the configuration is
	.read_size = 512,
	.prog_size = 512,
	.block_size = 4096,
	.block_count = 256,
	.block_cycles = 500,
	.cache_size = 512,
	.lookahead_size = 512,

This is the performance data that I collected: https://pastebin.com/2EsJ9Ey9
And the chart drawn from the data:

The first peak is caused by overwriting the 100K data written first. And the second peak is caused by overwriting the data from the beginning.
Seems that write operation that changes existing data causing littlefs to rewrite all data after. Is this some intended behavior? And is it possible to avoid this?

Ah yes, this is one of the main areas of LittleFS that needs work. Random writes are implemented by effectively rewriting all data that follows. As you can imagine this leads to terrible performance when you modify a small part of the beginning of a file. (tracked here: https://github.com/littlefs-project/littlefs/issues/27)
There are plans to improve this, but unfortunately this just how it is at the moment.
For your use case, one option is to have 2 files that you switch between so you are never rewriting.
Something like:
if (wc >= 32000 / 5) {
    // note that lfs_rename implicitly deletes tt-old if it exists
    err = lfs_rename(&lfs, "tt", "tt-old")
    assert(err >= 0);
}

The problem also affects micropython, where the littlefs filesystem is the default. micropython/micropython#7880


SameSite=Strict breaks things in recent versions of Chrome

As best I can tell, starting in Chrome version 51.0.2704.79 using SameSite=Strict causes a few issues.
I created a bug report in Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=616795) which got merged into another bug report (https://bugs.chromium.org/p/chromium/issues/detail?id=619603)
The issue we saw is that logins were not persisted between tabs, and that closing a tab would force you to login again. Other users have chimed in with a few more issues related to this.

Thanks @poblahblahblah. Maybe we should change true to mean lax. I think the workaround is to use https://github.com/twitter/secureheaders#samesite-cookie-configuration
config.cookies = {
  samesite: {
    lax: true
  }
}

SameSite seems to break with SAML as well (due to HTTP POST). We had to disable it for session cookies for now.


Is XGBoost supported on x86 (32 bit)

Some users of the Julia binding have reported errors on running XGBoost on linux x86. It is of course possible that the issue is in the binding itself, rather than the library, but before I investigate, I wanted to ask if xgboost itself is supported on 32bits. The reason I ask is that it looks to me that the travis/appveyor/jenkins tests run only 64 bit.

No, we do not officially support 32-bit, in the sense that we only run tests for 64-bit.


Composer issue

Detailed description of the problem
Composer fail with following error when installing Lychee v4.
-> # sudo  -u www-data composer install --no-dev
Cannot create cache directory /var/www/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
[ErrorException]
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
I'm running Debian 9 with php7.3.
I'm following : https://github.com/LycheeOrg/Lychee-Laravel/wiki/Install-Steps-on-Debian-(Testing)

It works with newer composer version.
Maybe we can add it on the wiki.
For debian 9, remove the composer package.
Follow this howto to upgrade:
https://tecadmin.net/install-php-composer-debian/

I don't mind a quick mention, but so long as this works in Buster (Debian 10, which is now stable) I'm not especially bothered about Stretch/9/oldstable.


Docker Pull Limit reached when scanning a locally saved Docker Image

I have installed TERN & it seems to be working fine for the sample files provided. I have some Docker images locally that I have pulled earlier & want to scan them using TERN.
I used tern report -i : command. But getting an error "Docker Pull Limit reached".

I don't understand why as these images are locally present.
Just after few secs if I try to Pull images using Docker Pull command, the Pull works. So not sure how the Limit is reached.

It seems to happen when Skopeo is working its craft & trying to pull images.

Also when it runs & doesnt give the above error, it throws this below error.
2022-07-04 14:56:19,947 - ERROR - skopeo - Error when downloading image: "b'time="2022-07-04T14:56:19+05:30" level=fatal msg="Error initializing source docker://: error pinging.
Not sure why. These images are already pulled from the private repo & available locally.
Note: TERN was installed through Python Virtual Env.

@kiranravindran90 can you tell me a little more about the version of Docker that you have installed?

@rnjudge Docker version 20.10.17, build 100c701.
Is it actually necessary for Skopeo to download or Pull image if image is already available locally?

It's not necessary, but Skopeo will pull all images even if they are local, unfortunately. Skoepo doesn't have the concept of checking the local cache for already downloaded images like docker does. If you want to run Tern on a local image, you can docker save the image and use the raw command line option. Using this option will eliminate the pulling of a local image.
$ docker save image:tag > image_name.tar
$ tern report -w image_name.tar

I too noticed this behavior, trying to analyze it in a pipeline before pushing it to the registry. I was even considering adding the Tern output to the final image. The docker save is an outcome, but changes the the working of Tern (or its dependencies like Skopeo) would be welcome. I'll try the docker save approach in the meantime.

Thank you all for the suggestions. As of now yes using it with "docker save" work around.
@nicorikken If you find a way to directly scan then please do post an update, will make things easier for me.

@rnjudge Hi, I saved the local image as .tar file and did a scan. It looks like only the docker environment packages are captured, the packages used in the application are all ignored. In the report, there are some unrecognized commands.
E.g.
 info: Layer created by commands: COPY build/libs/DBServices*.jar /opt/apache-tomcat-7.0.70/app.jar
warning: Unrecognized Commands:COPY build/libs/DBServices*.jar /opt/apache-tomcat-7.0.70/app.jar # buildkit

Hi @xxLiuxx are you able to share the container image or Dockerfile?

@xxLiuxx @kiranravindran90 Things I learened.. Skopeo has support for local images! (TY Ruivalim!) There is a PR that will be included in the next release that I think should add the support you are looking for: https://github.com/tern-tools/tern/pull/1191

@xxLiuxx @kiranravindran90 are either of you able to see if you're able to reproduce this issue in the latest release 2.11.0?

@rnjudge I can confirm that skopeo now pulls local image when specified:
# skopeo --version
skopeo version 1.4.1

# tern --version
Tern version 2.11.0
   python version = 3.10.6 (main, Nov 14 2022, 16:10:14)

# podman --version
podman version 3.4.4

# docker images |grep node
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
docker.io/bitnami/node                                       18.12.1                      ac204693e94f  2 months ago   729 MB

# ./tern report -i docker-daemon:node:18.12.1 -o bitnami-node.18.12.1-prod.tern.$(date +"%d.%m.%Y").txt
2023-01-19 09:43:14,829 - DEBUG - __main__ - Starting...
2023-01-19 09:43:14,829 - DEBUG - prep - Setting up...
2023-01-19 09:43:18,123 - DEBUG - rootfs - Running command: chmod +x /root/ternenv/lib/python3.10/site-packages/tern/tools/fs_hash.sh2023-01-19 09:43:18,125 - DEBUG - run - Starting analysis...
2023-01-19 09:43:18,126 - DEBUG - skopeo - Attempting to pull image "docker-daemon:node:18.12.1"
2023-01-19 09:43:18,126 - DEBUG - rootfs - Running command: skopeo copy docker-daemon:node:18.12.1 dir:/root/.tern/temp
2023-01-19 09:43:41,988 - DEBUG - rootfs - Running command: tar -tf /root/.tern/temp/58861e9c7a9b85fcb52553413d8725a7ae8d215349b6325cfdb9d0c38b7f5583
2023-01-19 09:43:42,206 - DEBUG - rootfs - Running command: tar -x -f /root/.tern/temp/58861e9c7a9b85fcb52553413d8725a7ae8d215349b6325cfdb9d0c38b7f5583 -C /root/.tern/temp/1/contents
...
2023-01-19 09:47:44,695 - DEBUG - rootfs - Running command: cp -r /root/.tern/temp/2/contents/app /root/.tern/temp/2/contents/bin /root/.tern/temp/2/contents/etc /root/.tern/temp/2/contents/lib /root/.tern/temp/2/contents/opt /root/.tern/temp/2/contents/sbin /root/.tern/temp/2/contents/tmp /root/.tern/temp/2/contents/usr /root/.tern/temp/2/contents/var /root/.tern/temp/mergedir
2023-01-19 09:48:13,704 - DEBUG - generator - Creating a detailed report of components in image...
2023-01-19 09:48:14,319 - DEBUG - rootfs - Running command: rm -rf /root/.tern/temp/mergedir
2023-01-19 09:48:16,265 - DEBUG - rootfs - Running command: rm -rf /root/.tern/temp/workdir
2023-01-19 09:48:16,267 - DEBUG - rootfs - Running command: rm -rf /root/.tern/temp/1/contents
2023-01-19 09:48:16,568 - DEBUG - rootfs - Running command: rm -rf /root/.tern/temp/2/contents
2023-01-19 09:48:18,193 - DEBUG - prep - Tearing down...
2023-01-19 09:48:29,127 - DEBUG - __main__ - Finished

Thanks @amallayev, I am going to close this issue.

@rnjudge Thank you for the update. I shall try it soon & let know. But seeing previous reply, seems it resolved. 👍


Shared files list is empty in OneDrive JS Picker

Issue description
I use File Picker JS SDK 8 to show a list of files in OneDrive for business (Sharepoint).
There is a list of folders (My files, Recent, Shared).
I see all files in the folder "My files", and I can choose them to get a link to each file.
When I open "Shared", I see no files ("This folder is empty").
To Reproduce
Steps to reproduce the behavior:

Ask your colleague to share a file with you.
Check that you see this file in "Shared" in the browser OneDrive interface (https://*****-my.sharepoint.com/personal/*****/_layouts/15/onedrive.aspx?view=3).
Open OneDrive Picker, open the "Shared with you" folder.

Actual behavior
"This folder is empty" is displayed.
Expected behavior
I expect to see files that are shared with me and be able to select them.
Screenshots

Is this something that can be fix in:

SharePoint configuration,
or App permissions,
or JS code ?

@AlexMyU is there any chance you can grab a .har file of loading the picker? I'd be interested in grabbing the api request info to help investigate


Incompatibilities in coming k8s client version

Just to put in on your radar,
Seems the latest controller runtime / k8s versions  is incompatible with crossplane-runtime
Deps:
module github.com/crossplane-contrib/provider-keycloak

go 1.22.0

toolchain go1.22.3

require (
	dario.cat/mergo v1.0.0
	github.com/alecthomas/kingpin/v2 v2.4.0
	github.com/crossplane/crossplane-runtime v1.16.0
	github.com/crossplane/crossplane-tools v0.0.0-20240522174801-1ad3d4c87f21
	github.com/crossplane/upjet v1.4.0
	github.com/pkg/errors v0.9.1
	k8s.io/apimachinery v0.30.1
	k8s.io/client-go v0.30.1
	sigs.k8s.io/controller-runtime v0.18.3
	sigs.k8s.io/controller-tools v0.15.0
)

leads to:
$ make generate && make build && make reviewable
17:27:37 [ .. ] verify go modules dependencies have expected content
all modules verified
17:27:38 [ OK ] go modules dependencies verified
17:27:38 [ .. ] generating provider schema for mrparkers/keycloak 4.4.0
17:27:39 [ OK ] generating provider schema for mrparkers/keycloak 4.4.0
17:27:40 [ .. ] go generate linux_amd64

Generated 43 resources!
17:27:51 [ OK ] go generate linux_amd64
17:27:51 [ .. ] go mod tidy
17:27:51 [ OK ] go mod tidy
17:27:52 [ .. ] verify go modules dependencies have expected content
all modules verified
17:27:53 [ OK ] go modules dependencies verified
17:27:55 [ .. ] go build linux_amd64
github.com/crossplane/crossplane-runtime/pkg/controller
# github.com/crossplane/crossplane-runtime/pkg/controller
/home/bree/go/pkg/mod/github.com/crossplane/crossplane-runtime@v1.16.0/pkg/controller/engine.go:237:14: cannot use ... in call to non-variadic ctrl.Watch
/home/bree/go/pkg/mod/github.com/crossplane/crossplane-runtime@v1.16.0/pkg/controller/engine.go:250:13: cannot use ... in call to non-variadic ctrl.Watch
/home/bree/go/pkg/mod/github.com/crossplane/crossplane-runtime@v1.16.0/pkg/controller/engine.go:250:40: not enough arguments in call to source.Kind
        have ("sigs.k8s.io/controller-runtime/pkg/cache".Cache, client.Object)
        want ("sigs.k8s.io/controller-runtime/pkg/cache".Cache, T, handler.TypedEventHandler[T], ...predicate.TypedPredicate[T])

branch to reproduce  https://github.com/crossplane-contrib/provider-keycloak/tree/renovate/godeps

It looks like crossplane-runtime on release-1.16.0 is using sigs.k8s.io/controller-runtime v0.17.0. To narrow down the root cause.

crossplane-runtime is not compatible with sigs.k8s.io/controller-runtime on version ">=0.18.0"
Here is the change to the Watch function.


Lots of NewModule template cleanup.

Remove the ISE editor option as ATM we don't do anything special for ISE.  Also update the way we create the tasks.json file for VSCode.  We now pick between one of two tasks.json files depending the options the user selects.  This is cleaner and safer than trying to use . Also update the tasks.json files to have them display the exact command they run (educates user how to use psake from command ilne) and update to find powershell on windows, linux and osx.
Update tasks.json commens to the latest generate by VSCode.

Awesome!


Flutter run relies on hardcoded APK names

Steps to Reproduce

Customise the Android APK output name:

defaultConfig {
        ...
        setProperty("archivesBaseName", "v$versionName")
    }

Run flutter run
Build fails with Gradle build failed to produce an Android package

Logs
Gradle build failed to produce an Android package
Flutter should get the APK name from Gradle rather than relying on a hardcoded one.

I think these issues are related:
https://github.com/flutter/flutter/issues/18232
https://github.com/flutter/flutter/issues/13977

Duplicate of #13977


Responsive flaoting behavior

Yeah, should have included some background - that's exactly it.  It's ended up being pretty simple but took a few iterations to get there. :)


"Near distance" equivalent

Awesome repo!
Quick question - is there an equivalent setting for the "Near distance" GUI option in instant-ngp (https://github.com/NVlabs/instant-ngp/blob/ea65ab84b628b9b69838aa43a19cc060e71e4819/scripts/run.py#L40)?
I tried setting https://github.com/ashawkey/torch-ngp/blob/main/raymarching/src/raymarching.cu#L23 to 0.0 and recompiling, but it didn't seem to work (I get the same artifacts that appear when using the default --near_distance in instant-ngp, which are resolved using --near_distance 0).

@cpacker Hi, it is controlled by the min_near here, and you can expose in in renderer.py, such as here.
The constant in the CUDA file is obsoleted and I forgot to remove it. I will add an option later!

That worked great, thanks for the quick reply!


framework search paths issue when using submodules

When using the Carthage flag --use-submodules and --no-build in a project that depends on Argo, Argo's framework search paths do not exist because they point to the Carthage build directory. However, removing these breaks the build when not using those flags.
This issue can be a discussion on how to fix this.
@paulyoung Please add any info to this issue that I might have missed above.

We can always refer to #111 and this project: https://github.com/paulyoung/ArgoCarthageIssue

This should be fixed with #123.


[Feature]: Layout icons - changeable textsize of number

Requirements

[X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
Hi, is there an option to change the text size of the number under the icons? For me, she is a little small, i wish i could it make bigger.
Describe the solution you'd like
The best...the text size is changeable in the UI.
Describe alternatives you've considered
No response
Additional context
No response

That is exactly the feature I wish for.

Hey @flisse @BA2000
if you have card-mod installed, you can simply add the following code.
card_mod:
  style: |
    .badge {
      font-size: 20px !important;
    }

I may add an option to configure this in one of the next major releases.
If you have additional ideas for the next major release, feel free to contribute them in the discussion forum. For more experienced users, I will add some custom card configurations, see #477


Update packer to 0.8.0

Thank you for the contribution. It was merged directly as<PHONE_NUMBER>75172257845f8a27294330632e154a to keep commit history cleaner. Your contribution is still credited to you.


[SPARK-47477][SQL][COLLATION] String function support: instr

What changes were proposed in this pull request?
Extend built-in string functions to support non-binary, non-lowercase collation for: instr.
Why are the changes needed?
Update collation support for built-in string functions in Spark.
Does this PR introduce any user-facing change?
Yes, users should now be able to use COLLATE within arguments for built-in string function INSTR in Spark SQL queries, using non-binary collations such as UNICODE_CI.
How was this patch tested?
Unit tests for queries using "collate" (CollationSuite).
Was this patch authored or co-authored using generative AI tooling?
No

@cloud-fan @uros-db @mihailom-db can you take a look at this changes please?

heads up: we’ve done some major code restructuring in https://github.com/apache/spark/pull/45978, so please sync these changes before moving on
@miland-db you’ll likely need to rewrite the code in this PR, so please follow the guidelines outlined in https://issues.apache.org/jira/browse/SPARK-47410


Extend documentation on security concerns of crate names in a registry.

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+
and relnotes to bring attention to the security implications

:pushpin: Commit 4c7534e5480c19c1d3b80e687adfa870fd9ac9b2 has been approved by Eh2406

:hourglass: Testing commit 4c7534e5480c19c1d3b80e687adfa870fd9ac9b2 with merge 5252abbfef33f8dbc89f0eeb61c5d3df49096fdb...

:sunny: Test successful - checks-azure
Approved by: Eh2406
Pushing 5252abbfef33f8dbc89f0eeb61c5d3df49096fdb to master...

Can we backport this to beta as well?

Can we backport this to beta as well?

Sure: https://github.com/rust-lang/cargo/pull/7619


The link to Face Profiling code isn't working.

Hi,
Thanks for this amazing work!
It seems that the link to 'Face Profiling: Official Matlab Code' isn't working. Could you please update it? Thanks a lot!
Best,
Wenhua

Here: FaceProfiling.

@Robot000 The link you mentioned is valid now.


Creating template from volume snapshot leads to leaking ssh-key in the new template's settings

Creating template from volume snapshot leads to leaking ssh-key in the new template's settings. I did:

Create a VM (ceph based root disk) with SSH key
Take volume snapshot of the root disk
Create a public template from the root disk snapshot
The resultant template has SSH key in the template details

ISSUE TYPE

Bug Report

COMPONENT NAME

Snapshot, Template

CLOUDSTACK VERSION

4.14

Reviewed this, essentially the template will belong to the same user and the user may delete the key from settings. Closing.


SocketIO module not found

Got this issue when trying to run it via xcode. Seems like the bridging header can't be generated?

Hello @haiyo, and thanks for getting in touch! Could you describe what you did that led you to the problem, including any console output that you may have seen? To our knowledge we've not had difficulties using xcode to run beeline-frontend

Hi, what I did was just to open up the project in xcode and starting build and run. The build failed with the following error:
Unknown type name 'SocketIOClient' HCPLDPlugin.m
Most probably due to some build settings which I might have missed out setting to brigde swift socketio module to be use in objective-c?

Did you run npm install and npm run install-ios prior to this?

Closing owing to lack of response. Thanks again for getting in touch, and let us know if you have any further queries!


multipart - JSON properties result in "[object Object]"

One possibility with multipart/form-data requests is to include a JSON payload alongside other data (like JSON metadata along with an attached binary file). The OpenAPI 3.0 spec lays out rules type: object on how to parse multipart parameters and set their Content-Type, including looking at the encoding attribute.
This library just converts data to a String, which means any properties with type: object get rendered as [object Object] instead of using JSON.stringify to create an accurate representation.
Unfortunately this breaks being able to specify the shape of multipart JSON payloads on readme.com

This should be resolved now with https://github.com/readmeio/oas-to-har/pull/30


Call to a member function refresh() on null

/dev/emails
ModernMcGuire\MailThief\Http\Livewire\Inbox
$this->email = $this->emails->first()->refresh();

I also ran into this issue.

Fixed in release 0.1.4


Interaction Usernames

Really like the package, but is there anyway to get the usernames of the accounts that like, reply, and retweet a particular tweet?

Hi @doingthingswrong, I am currently asking myself the same question. Did you happen to solve your problem with a workaround?


Use JointDataset API in ProcessPreBuiltCohort.ts

Description
Use the API getJointDatasetFeatureName to get the JointDataset feature name.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1635 (1aec7ab) into main (5f5f709) will increase coverage by 7.86%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1635      +/-   ##
==========================================
+ Coverage   89.01%   96.87%   +7.86%
==========================================
  Files         105       12      -93
  Lines        5489      160    -5329
==========================================
- Hits         4886      155    -4731
+ Misses        603        5     -598

Flag
Coverage Δ

unittests
96.87% <ø> (+7.86%)
:arrow_up:

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

Impacted Files
Coverage Δ

...nsibleai/databalanceanalysis/data_balance_utils.py

erroranalysis/erroranalysis/report/error_report.py

raiwidgets/raiwidgets/explanation_constants.py

...re_flask/environments/local_ipython_environment.py

...sibleai/responsibleai/rai_insights/rai_insights.py

...ibleai/_tools/causal/dashboard_schemas/__init__.py

...onsibleai/responsibleai/serialization_utilities.py

...iwidgets/raiwidgets/model_performance_dashboard.py

...ponsibleai/responsibleai/_tools/causal/__init__.py

raiwidgets/raiwidgets/interfaces.py

... and 83 more

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


(maint) Fix cli.benchmark --rand-perc catalog keys

A bug in how catalogs were being mutated was causing benchmark to fail with --rand-perc sent. The issue was that the puppetdb.catalog.util mutator functions walk/keywordize-keys the catalog, but other mutations in benchmark expect string keys. This was leading over --runinterval time, to catalogs with some duplicate keys (both a "producer_timestamp" and a :producer_timestamp, for example). And this was eventually causing errors like:
Exception while submitting command: java.lang.IllegalArgumentException: No implementation of method: :to-date-time of protocol: #'clj-time.coerce/ICoerce found for class: clojure.lang.PersistentArrayMap
That was being thrown when puppetdb.client was hitting a serialized :producer_timestamp value.
The fix here is just to ensure that we walk/stringify-keys the catalog after its gone through puppetdb.catalog.util mutation functions.

The patch was simple; the test was a little fiddly. There's probably a more elegant way to do that.
This might need to go into 7.x instead. I'll check tomorrow.


fix: import runCLI off default export (fix #65)

I believe this will fix #65
See also:

https://github.com/facebook/jest/issues/9512#issuecomment-581835474
https://github.com/facebook/jest/pull/8874#discussion_r317470364
https://github.com/stryker-mutator/stryker/issues/1983

Should also close #61 and #63

Thank you! Hope this pr gets some attention

@jacobq thanks for temporarily publishing a package I can use until this pull request gets merged.
Running jest tests is working after replacing gulp-jest: ^4.0.3" with your package.
My current devDependencies:
"devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/preset-env": "^7.12.7",
    "@babel/preset-typescript": "^7.12.7",
    "babel-jest": "^26.6.3",
    "browser-sync": "^2.26.13",
    "esm": "^3.2.25",
    "gulp": "^4.0.2",
    "gulp-jest"<EMAIL_ADDRESS>    "gulp-sass": "^4.1.0",
    "jest": "^26.6.3",
    "jest-cli": "^26.6.3",
    "node-sass": "^5.0.0"
  }

Thanks @jacobq for this P.R. I tested with your temporary package and it works !


gpio.h: Fixed a couple of typos in description

Signed-off-by: Alex Tereschenko<EMAIL_ADDRESS>

Merged with 24d44461938696d27634e05a169c886053d86eaf, thanks alot!


Would be nice to have a button to install Squoosh

Is your feature request related to a problem? Please describe.
Some users probably don't realise they can install this app on Chrome, via Chrome's three dot menu.
Describe the solution you'd like
Squoosh can use the beforeInstallPrompt event to have an install button.
Does other service/app have this feature?
Santa Tracker, Spotify,
Additional context
I'm happy to add the button if the squoosh team thinks it's a good idea and can provide some UX guidance.

If I don't hear back I'll assume this is a good idea and look into adding an install button....

(Oops hit button too soon)
... So please let me know if it isn't a good idea for some reason 🙂

Seems like a good idea. Just needs prioritised, designed, and implemented. PRs welcome as always.

FWIW I've started working on this and will hopefully have something up soon. Just wrapping my head around all this react stuff.

This has been added in https://github.com/GoogleChromeLabs/squoosh/pull/764. Let's close this! /cc @surma


Text Tool: "click outside" is not working at the area of previous text

Steps

Select "Text" tool
Add some multi-line text
"click outside" (This is working fine)
Click the existing text to edit
Remove text until there is only single line
"click outside" at the area which used to be the second-line text
BUG: It is not out of editing mode.

https://user-images.githubusercontent.com/19894957/171269685-732ca250-7fe4-40c9-a67f-6b8647099e4c.mp4

#25


Reproduce on other Tensorflow-Keras Repo ?

Hi, first of all congrate on your repo and your speech as well, I'm running into a situation that I cannot reproduce the result everytime I training the model on the custom dataset.
System information

tensorflow-gpu==1.14

keras==2.2.4

CUDA==v10.0

GPU:  GeForce GTX 1050

I'm using repo Mask-RCNN of matterport : https://github.com/matterport/Mask_RCNN
As far as I aware that I have lock everything with certain seed at the begin of my modify code :
import os
import random
import tensorflow as tf
from tfdeterminism import patch
patch()
random.seed(42)
np.random.seed(42)
tf.set_random_seed(42)

and also a seed in my DataGenerator as well, so every run with the same number of epoch, every iteration of every epoch will use the same image
But I have notice a thing in mrcnn/model.py
https://github.com/matterport/Mask_RCNN/blob/master/mrcnn/model.py#L421
the function
tf.image.crop_and_resize()
I think it involve in non-determinism issue, so where did I miss ? Please help

Hi @xthyax, thank you and sorry for the delay in getting back to you. Yes, crop_and_resize_op_gpu.cu.cc is currently listed in the Other Possible GPU-Specific Sources of Non-Determinism section as using CUDA atomicAdd. So it's very likely that this op is a source of nondeterminism in your model.
I have not yet confirmed, with my own code, that this op is problematic though.
If you're able to modify the code that you're running, then please will you run that op on the CPU and see if that gets you to perfect (bit-exact) reproducibility?:
with tf.device('/cpu:0'):
  output = tf.image.crop_and_resize(...)

But there are also other steps to obtaining deterministic functionality, including ensuring that your trainable variables are the same each run before training, and that you're seeding everything that needs to be seeded.

I've created TensorFlow issue 42033 for addition of determinism for tf.image.crop_and_resize. Note that variance when running on CPU (of backprop-to-image) is greater than when running on GPU. Closing this issue now. Please re-open and/or continue the discussion here, if you need to.


Problem , my chat got empty

Hello, on my IG:dm program all chats got cleared. And even If i write to a new person now - there is no chat keeped, it always shows me that i have 0 chat opened, no matter if i try to message new people.
Till now all was great with this program, i don't know what happened, can you help me please? Thank you!

i have the same problem i cant find anything to trouble shoot it tho...

Yeah.. Do you have any idea how we can fix this?
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
2018-06-01 18:15 GMT+03:00 huskymud44<EMAIL_ADDRESS>
i have the same problem i cant find anything to trouble shoot it tho...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ifedapoolarewaju/igdm/issues/314#issuecomment-393912302,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Al_TgAhmrsNZRVC22FwPnCpBE_OY8EKuks5t4VqkgaJpZM4UW1J8
.

no i have no freaking idea

.

Refer to #235 . Everyone is having the same problem


Add English content for company car tax

https://trello.com/c/IPh4orCg/303-release-company-car-tax

cc @nickcolley

Looks really good but we need to wait for the checks to pass, so will give the final approval when they are passing.


Design: Model for Behavior/Logic/Function bricks

Calibration, device discovery, easing, etc are functions applied on a hub or a device, temporarily or permanently. Find the best model.

Devices and other logic blocks (e.g. discovery) are handed a IPoweredUpProtocol. This includes a downstream function to send message SendMessageAsync and a notification UpstreamObservable. The protocol might be filtered to a port, hub or other constraints before reaching the function block.
Rationale: The protocol is pretty high-level. It exposes relevant functionality in high level messages. The logic blocks can therefore directly communicate with the protocol as the best available abstraction.


Error in transcribing a Chinese audio: UnicodeEncodeError: 'ascii' codec can't encode characters

$ transcribe speech conditional_thinking.mp3 --language zh-CN > conditional_thinking.txt
[I] Converting /home/cico/Downloads/conditional_thinking.mp3 to ogg at /tmp/conditional_thinking.ogg
[I] Uploading /tmp/conditional_thinking.ogg to Google cloud storage bucket wired-balm-243412
[I] Google cloud storage uri gs://wired-balm-243412/conditional_thinking.ogg
[I] Beginning transcription
[I] Transcription finished in 0:10:19
[I] Deleting file from Google cloud storage gs://wired-balm-243412/conditional_thinking.ogg
Traceback (most recent call last):
  File "/home/cico/miniconda3/envs/autosub/bin/transcribe", line 10, in <module>
    sys.exit(console())
  File "/home/cico/miniconda3/envs/autosub/lib/python2.7/site-packages/transcribe/__main__.py", line 69, in console
    exit(__name__)
  File "/home/cico/miniconda3/envs/autosub/lib/python2.7/site-packages/captain/__init__.py", line 41, in exit
    ret_code = s.run(raw_args)
  File "/home/cico/miniconda3/envs/autosub/lib/python2.7/site-packages/captain/__init__.py", line 176, in run
    ret_code = callback(*args, **kwargs)
  File "/home/cico/miniconda3/envs/autosub/lib/python2.7/site-packages/transcribe/__main__.py", line 63, in main_speech
    for time, text in f:
  File "/home/cico/miniconda3/envs/autosub/lib/python2.7/site-packages/transcribe/speech.py", line 160, in __iter__
    text = String(alternative.transcript).flow()
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: ordinal not in range(128)

I think 9b190c1 should address this, if you could pull the latest master and try again? If it doesn't work then if you want to send me 10-30 seconds of the file and I will really get into it and figure out why it isn't working. Thanks

Thanks for the quick fix. I tested over a short Chinese audio, it worked.
transcribe speech test_talk.mp3 --language zh-CN > text_talk.txt
[I] Converting /home/cico/Documents/audio-to-text/test_talk.mp3 to ogg at /tmp/test_talk.ogg
[I] Uploading /tmp/test_talk.ogg to Google cloud storage bucket wired-balm-243412
[I] Google cloud storage uri gs://wired-balm-243412/test_talk.ogg
[I] Beginning transcription
[I] Transcription finished in 0:00:20
[I] Deleting file from Google cloud storage gs://wired-balm-243412/test_talk.ogg


zsh issue after reinstall yadr

After I do this :
rm -rf ~/.yadr
sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`"

then I got this :
.zprezto/modules/syntax-highlighting/init.zsh:source:14: no such file or directory:
.zprezto/modules/syntax-highlighting/external/zsh-syntax-highlighting.zsh

Couldn't read file .zprezto/modules/prompt/functions/prompt_agnoster_setup containing theme agnoster.
Couldn't read file .zprezto/modules/prompt/functions/prompt_powerline_setup containing theme powerline.
Couldn't read file .zprezto/modules/prompt/functions/prompt_pure_setup containing theme pure.

Cloning into 'modules/prompt/external/agnoster'...
fatal: unable to access 'https://gist.github.com/3712874.git/': SSL certificate problem: Invalid certificate chain
Clone of 'https://gist.github.com/3712874.git' into submodule path 'modules/prompt/external/agnoster' failed

now I have to roll back to f2a826e963f06a204dc0e09c05fc3e5419799f52 in prezto
git co f2a826e963f06a204dc0e09c05fc3e5419799f52

and nothing changed

Finally , find how to solve it through https://github.com/sorin-ionescu/prezto/issues/830#issuecomment-90360291 , it can be closed.

thx!


Failed USN read gracefully when read request not supported

When read request is not supported because
journal query error 'FailedToOpenVolumeHandle': Failed to open a volume handle for the volume '\?\Volume{15467674-7855-44df-a9a2-e27782706177}'
USN read request on that volume results in a catastrophic error:
Exception:BuildXL.Native.IO.NativeWin32Exception (0x80070032): Native: DeviceIoControl(FSCTL_READ_FILE_USN_DATA) for ReadFileUsnByHandle failed (0x32: The request is not supported)
With this change, we simply failed gracefully, by returning null. Consequently, the tracker will stop tracking because missing to track a single important file can result in unfaithful data in the tracker state.
AB#1496397

/azp run Primary BuildXL PR Validation

I filed a bug in VSO, can you link it?

It's already linked in the description.

In reply to: 480093692 [](ancestors = 480093692)

/azp run Primary BuildXL PR Validation

/azp run Primary BuildXL PR Validation

/azp run Primary BuildXL PR Validation

/azp run Primary BuildXL PR Validation


ClaimArea in /claiminfo doesn't match what WECUI shows

Hello,
I have a claim which starts at y:79 and extends up to around 90.
When I stand within the claim area and type /claim it is telling that my claim is a:
NorthCorners: NW: (-131,65,293) NE: (-122,65,293)
SouthCorners: SW: (-131,65,302) SE: (-122, 65, 302)
When I tp it to it also TP's me to Y:65.  I have set the greeting and farewell messages and the active within the y:70 to 90 area as shown with WECUI.
Any clues as to why the information doesn't match?
I have created additional claim areas and similar results have appeared.

I created a work around via this commit.  I centered the TP position to the center of the claim and set the Y to the surface block.
https://github.com/AlmuraDev/GriefPrevention/commit/5f32a32c772b73f3cb72c00815bf00017c119456


clone dist-git repos with fedpkg-clone

b/c pygit doesn't work with the fedora setup
Fixes #421
TODO:

[x] add fedpkg and cccoutils as a dep

updated
packit & CI: show me what you've got!

LGTM

b/c pygit doesn't work with the fedora setup

Just wondering where was the cloning done previously, I can't find it (in LocalProject?)

Yes:
https://github.com/packit-service/packit/blob/33d4b65e0265be986fafc517ad8ff3156875cbd6/packit/local_project.py#L202


Orphaned java processes

I have closed all VS Code processes and somehow the java processes from GobPie still keep running:

I'm not sure if this is an issue in GobPie specifically (not allowing itself to be terminated for some reason) or in Magpie more generally.

Could not reproduce on WSL by opening, running analyses and closing. Either this has been accidentally fixed or there is some particular step or environment-specific detail required to achieve this.

This is still happening to me on the latest version from @FeldrinH's fork at least:

These java processes are not children of any VS Code process, but orphaned and thus direct children of the system init process.
Somehow it's even worse now because the java processes (not their Goblint children!) are running at 100% CPU.

One thing that seems to cause such processes is doing "Developer: Reload Window" in VS Code. Maybe it's not handling well the closure of some LSP socket on the VS Code side.
The reason I keep having to reload window is that modifying and saving files for whatever reason stops working for me: no new analysis is ever started.

Small update:
The 100% CPU issue should be fixed on https://github.com/FeldrinH/GobPie/tree/abstract-debugging and should not occur at all on GobPie versions without abstract debugging.
As for orphaned processes, I tried to reload the window and I noticed that old GobPie processes do stay open. I don't know why that is. However, when I close VSCode all GobPie processes are closed with it, so I still can't reproduce the issue itself.
Analysis-on-save breaking I cannot reproduce at all. @sim642 it would probably be a good idea to open a new issue for this, if you can reproduce it consistently on the latest version.

Another update:
The analysis-on-save issue turned out to be that GobPie simply does not trigger an analysis when saving .h or .i files.
This should be fixed once https://github.com/goblint/GobPie/pull/58 is merged.


Featured programs

Featured programs now show up at random on the index page. Clicking on them will query by the selected program.

LGTM!


:name_badge: Add badge for GitHub releases

:rocket: deployment of nhsuk/profiles-db succeeded (http://profiles-db-pr-75.dev.beta.nhschoices.net)


Auth

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+8.4%) to 94.074%

Totals

Change from base Build<PHONE_NUMBER>:
8.4%

Covered Lines:
116

Relevant Lines:
123

💛  - Coveralls


couldn't find file 'jquery.mousewheel'

File is not found after installing gem:
Using jquery-mousewheel-rails 0.0.9 from git://github.com/crazymykl/jquery-mousewheel-rails.git (at master)
In application.js:
//= require jquery.mousewheel

same issue


Restore the "heartbeats" configuration option among the deprecated

Removing the option entirely would break builds unnecessarily, so
let's make it deprecated.

Merged.
0b45d8eec051fd9816b6bf46a975fa461ffc983d Restore the "heartbeats" configuration option among the deprecated


Tensorflow merge

@swift-ci please test tensorflow

LGTM. Revert the PR that caused the regression and merge it?

@swift-ci please test tensorflow

@rxwei Yes, I just wanted to see first if the problem was happening on macos.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow


Remove version: OpenJS.NodeJS.LTS version 20.10.0

Replaced by another Pull Request
Microsoft Reviewers: Open in CodeFlow

https://www.github.com/microsoft/winget-pkgs/pull/143386#issuecomment-1986949152 [Policy] Needs-Author-Feedback

Close with reason: See discussion in above linked issue;


Fix access management URL

This PR allows us to set the access management URL according to the auth backend being used, i.e. fixes #130 and makes it more future-proof when we add more authentication backends.

Updated the branch with the NoError assert.


Fixes variation data for obsoletes

I was getting warnings about missing arrays and subsequent missing output data when running this against the latest emoji-data. This fixed it, but maybe there's a root issue somewhere else.

Coverage remained the same at 89.925% when pulling 95eb3c171c3f37a6b6d9ec5a275d0fa49593d1fa on jwheare:fix_obsolete_vars into b4ef0a80d56b59eb0944c95fbe460ac736fe698b on iamcal:master.

This is due to the way some obsoletes have changed in the Emoji 5 data. I've fixed this (and a bunch of other issues on my merge branch for PR #99