[WIP] Use model slicing for copy.

Related: https://github.com/dmlc/xgboost/issues/7138 https://github.com/dmlc/xgboost/issues/6697
Avoid serializing into JSON during copy.  By default, XGBoost makes a copy after training for releasing memory.  This PR optimizes the copy function to use model slicing instead of serialization.  This helps when creating many large models using scikit-learn grid search.

Codecov Report

Merging #7145 (55ed7f4) into master (92ae3ab) will decrease coverage by 0.04%.
The diff coverage is 97.14%.

@@            Coverage Diff             @@
##           master    #7145      +/-   ##
==========================================
- Coverage   82.19%   82.15%   -0.05%
==========================================
  Files          13       13
  Lines        3999     4012      +13
==========================================
+ Hits         3287     3296       +9
- Misses        712      716       +4

Impacted Files
Coverage Δ

python-package/xgboost/core.py
84.11% <96.96%> (+0.18%)
:arrow_up:

python-package/xgboost/training.py
95.34% <100.00%> (+0.04%)
:arrow_up:

python-package/xgboost/sklearn.py
88.93% <0.00%> (-0.84%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92ae3ab...55ed7f4. Read the comment docs.

@ShvetsKS I have removed the JSON serialization during training for tree model in this PR, can we close https://github.com/dmlc/xgboost/issues/6697 if we were able to merge it?

@trivialfis seems degradation was fixed!
master: 14.8s vs use-slice-for-copy: 13.1s
I think we can close  #6697, thanks a lot!

Great news.  I need to split up this PR and implement an actual copy function so the code can look a bit nicer.  Will follow up on Monday.

Some fixes are here: https://github.com/dmlc/xgboost/pull/7149 will start working on the copy function.

Closed by https://github.com/dmlc/xgboost/pull/7545 .


cannot build database on web platform

it seems library does not working on web platform. it's working fine on android and ios.
in below code, app hanging on builder.build.
  try {
    final builder = $FloorAppDatabase.databaseBuilder('food.db');
    final database = await builder.build();
  } catch (e) {
    print(e);
  }

Although floor sintaxe much better than moor,  I don't see any docs about web support for floor.
Moor have an experimental web support, take a look: https://moor.simonbinder.eu/web/
I hope the floor project have plans to implement in the future.

Floor, currently, doesn't support Flutter for web. As of now, it can be used on iOS, Android and macOS.
Closing this in favor of having a single issue for multi-platform support #228


Allow comments in baseline files

This would allow us to annotate individual items that have been investigated or had issues filed but cannot be fixed right now.

[Triage] Adding annotations may cause UX issues when updating the baseline.  For example you wouldn't be able to just accept the new output without incorporating the existing annotations.

Closing this as this is superseded by https://github.com/dotnet/source-build/issues/3266.


Key source

I am trying to find the source of this key:
https://github.com/PromyLOPh/pandora-apidoc/blame/master/json/partners.rst#L20
added here:
https://github.com/PromyLOPh/pandora-apidoc/commit/943c1b50abf1585744963b0eb3478b5e18141656

Found it:
com\pandora\constants\PandoraConstants.java
8:    public static final byte[] b = "6#26FRL$ZWD".getBytes(Charset.defaultCharset());

https://github.com/skylot/jadx

Alright. Don’t expect any help from me if

you cross-post your question to multiple locations and
your quest is to build a downloader for Pandora.

you cross-post your question to multiple locations

I post many issues. Sometimes duplicates get posted. This happens when the same person has two of essentially the same repo. Sorry about that, but its a consequence of people maintaining two repos that are similar enough that they should be merged, combined with my inattention.

your quest is to build a downloader for Pandora.

Regardless of what my quest might be, I think its important to not have "magic numbers" in a repo. If something happens to you, like you get busy and just cant commit anymore, and Pandora changes the key, people wont be able to use the tools, as they wont have a valid key, they wont know how to get a new key, and they wont even know where the old key came from. So while having the key publicly posted is helpful, its ultimately not helpful enough, in my opinion. Ive since answered my own question, and I will document the process in my own code.


Resolve warnings when building with Xcode 7

There's a few that have popped up, pretty minor.

Resolved in #76


Use FindPython3 when cmake version >= 3.12.0

Fix https://github.com/ARMmbed/mbed-crypto/issues/389
Status
READY
Requires Backporting
NO
Migrations
NO
Additional comments
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

Steps to test or reproduce

Some CI jobs are failing on Ubuntu 16.04 which has cmake 3.5.1.
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:53 (if):
  if given arguments:

    "CMAKE_VERSION" "VERSION_GREATER_EQUAL" "3.12.0"

  Unknown arguments specified

-- Configuring incomplete, errors occurred!
See also "/var/lib/build/CMakeFiles/CMakeOutput.log".

I can't retrieve CMakeOutput.log from the CI but hopefully this should be enough to reproduce the problem.

VERSION_GREATER_EQUAL was introduced in came v3.7. It's my mistake

I notice that PYTHON_EXECUTABLE is also used in 3rdparty/everest/CMakeLists.txt.
Is it need to be update too?
@gilles-peskine-arm

@okhowang Oh yes please update that one too. And the find_package(PythonInterp) in tests/CMakeLists.txt might need updating as well? I'm not even sure whether that's needed, or will the toplevel cmakelists take care of it?
jenkins-internal is an internal-website, yes. Unfortunately we can't make it public. Hopefully soon we'll transfer our CI to infrastructure which is maintained under https://trustedfirmware.org and which is publicly readable. In the meantime, please ask an Arm team member for CI results. Here the CI is passing except for a known unrelated issue under Mbed OS. But our CI doesn't use cmake ≥3.12.

I have modified PYTHON_EXECUTABLE in 3rdparty/everest/CMakeLists.txt.
There is a comment with Cannot build test suites without Python 2 or 3 in tests/CMakeLists.txt.
which mean that test can run with python 2 or 3.
I also test it use docker image python:2, and it's OK for test.
I think it's no needs to modify test/CMakeLists.txt

Thanks for the update!

Cannot build test suites without Python 2 or 3

This comment is obsolete: we no longer support Python 2. Our older scripts were written to be compatible with both versions, and it's possible that we haven't broken Python 2 compatibility yet. But the build scripts should only be looking for Python 3 these days.

With cmake 3.16.3, when I run cmake .. from a subdirectory, I see both
-- Found Python3: /usr/bin/python3.8 (found version "3.8.2") found components: Interpreter
…
-- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.2")

Shouldn't it be only one or the other depending on the cmake version?

now tests/CMakeLists.txt use MBEDTLS_PYTHON_EXECUTABLE too

Unfortunately older versions of cmake are now failing (see CI results on travis).

CMake Error at tests/CMakeLists.txt:21 (message):
  Cannot build test suites without Python 3
-- Configuring incomplete, errors occurred!
See also "/home/travis/build/ARMmbed/mbedtls/CMakeFiles/CMakeOutput.log".
See also "/home/travis/build/ARMmbed/mbedtls/CMakeFiles/CMakeError.log".
The command "cmake -D CMAKE_BUILD_TYPE:String="Check" ." exited with 1.

it seems like there is no Python 3 in CI environment?

Oh. Similar builds are working on Jenkins. Locally, a cmake builds works on Ubuntu 16.04 (cmake 3.5.1), Ubuntu 18.04 (cmake 3.10.2) and Ubuntu 20.04 (cmake 3.16.3). So it does look like there's something wrong on Travis. But that can't just be a missing Python 3: tests/scripts/check-files.py succeeds and it's a #!/usr/bin/env python3 script. I don't see anything about Python versions in the Travis log and I don't know where the Dockerfile is. I'll look for it.

If I understand correctly, we're using the default environment on Travis, which is Ubuntu 16.04 plus a few additions, including Python 3.6.7 and CMake 3.12.4.

I think I found key reason of failed in travis CI.
my test is in here
according cmake v3.12.4 FindPython/Support.cmake
findpython3 will try a list of python version
and test is it available in L268 by execute $python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:3]]))"
in travis CI. python3 has version 3.5, but there is python3.6 and python3.7 in PATH, see here which is unavailable yet.
so cmake find python3.7 first and judge python 3.7 not available, then end with python3 not found.

BTW, cmake 3.15 has option Python3_FIND_STRATEGY=LOCATION to continue scan more python version in this case.

@gilles-peskine-arm I see two internal testing failed

Mbed OS testing failed, but don't worry about it, that's a preexisting problem. The CI results are acceptable.

I'm labelling this as "needs: work" because I don't think making an exception for Travis is correct: the same problem could arise in any other environment which happens to have multiple Python versions installed in a certain way. But I'm leaving the "needs: review" label because I'm open to a third opinion that would convince me that Travis, specifically, is doing something wrong. In that case the workaround should be in .travis.yml like it was earlier, not in CMakeLists.txt.

shall we continue?

We could do with a ChangeLog entry. Otherwise looks good.

Should I add an entry in ChangeLog.d?


Deploy failed, error: failed to unwrap Info.plist from ipa, error: multiple file generated

Hey @godrei,
I have an issue with 1.3.0 and 1.3.1 of this version. If I'm using 1.2.9 it's working well :+1:
Uploading ipa file: /Users/vagrant/deploy/example.ipa
analyzing ipa
Deploy failed, error: failed to unwrap Info.plist from ipa, error: multiple file generated

And screenshot.

Don't know why it is unable to unwrap the file now because in 1.2.9 it's working fine 🙂
Can you check it please? Or I will do it later if I have more time. There are some apps waiting for deploy 😎

Hi @patrickbussmann ,
thanks for the report i will fix this ASAP!

It might be obvious, but just to be sure: while we're working on the fix you can use the 1.2.9 version of the step. That's part of why we have step versions and why we try our best to keep compatibility with older versions, so that you can use an older version as long as you want.
We'll fix the issue ASAP, just wanted to highlight this as a workaround in the meantime, to get those "ASAP deploys" working ;)

Yes of course, @viktorbenei :+1:
But I thought it's good for test reasons if I remove the version number from the steps so that I always have the newest version and if there are problems I can help to fix 😊
In this case I will stick to 1.2.9 but if I would have more time I would try to fix this. But currently there are so many updates in my apps so that I don't have time 😔
Thank's @godrei for checking. You must not fix this asap 😉

Sure @patrickbussmann I definitely agree, this should only be a temporary solution for now, while we're working on the fix ;)
To be honest this 1.3.0 release was quite a significant rewrite, that's what causes the issues now even though we tried our best to test it properly. It's not common that we do a full rewrite like this, and we'll improve the tests of this step too :)

@patrickbussmann thanks again for the report!
We released a new version 1.3.2 with fix for this issue.
I'll close this issue, but if you need more info/help just let us know and we'll reopen it!

We still are having this issue with 1.3.2.
+------------------------------------------------------------------------------+
| (0) deploy-to-bitrise-io                                                     |
+------------------------------------------------------------------------------+
| id: deploy-to-bitrise-io                                                     |
| version: 1.3.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2017-05-30T05:26:41-07:00

Deploy failed, error: failed to unwrap Info.plist from ipa, error: command: (/usr/bin/unzip "XXX_Dev.ipa" "-d" "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__ipa__420390992") failed, output: unzip:  cannot find or open XXX_Dev.ipa, XXX_Dev.ipa.zip or XXX_Dev.ipa.ZIP., error: exit status 9

It's only working with 1.2.9

@FranMartinRomero please ensure that you set the BITRISE_IPA_PATH in xcode-archive step or where you build with.
On my side it's working with 1.3.2 now.
The IPA Path is set on my side through xcode-archive step.
In Log you can see:
Exporting outputs...

The xcarchive path is now available in the Environment Variable: BITRISE_XCARCHIVE_PATH (value: /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__archive__048760614/Example-App.xcarchive)

The app directory is now available in the Environment Variable: BITRISE_APP_DIR_PATH (value: /Users/vagrant/deploy/Example-App.app)

The ipa path is now available in the Environment Variable: BITRISE_IPA_PATH (value: /Users/vagrant/deploy/Example-App.ipa)

The dSYM dir path is now available in the Environment Variable: BITRISE_DSYM_DIR_PATH (value: /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__dsyms__213161800)
The dSYM zip path is now available in the Environment Variable: BITRISE_DSYM_PATH (value: /Users/vagrant/deploy/Example-App.dSYM.zip)
|                                                                              |
+---+---------------------------------------------------------------+----------+
| ✓ | xcode-archive                                                 | 104 sec  |
+---+---------------------------------------------------------------+----------+

On your side you have a problem because the IPA is not found.
So normally it should'nt work with 1.2.9, too.
If you say its working with 1.2.9 then it's really interesting 😨
Because we talking about unzip which can't find your IPA.
Can you please add a script step before deploy to bitrise step which contains:
ls -al.
After you build it you'll see a list of all files in the current folder.
Normally you should see your XXX_Dev.ipa there. If not, please check that you're using the correct path 😉

Thanks @patrickbussmann for the advise, but in this case I don't think the issue is related to a config, but rather to the 1.3.x revision (re-write) of this step.
Thanks for the report @FranMartinRomero !
@godrei should we move this into a separate github issue, or reopen this one?

Hi @FranMartinRomero , thanks for the report!
@viktorbenei the issue is related to the same package (go-utils/ziputil) but the source of the issue is a new one.
@FranMartinRomero may i ask you for some more log? It would be useful to see the List of files to deploy section of the step log.

If possible, @FranMartinRomero please share the whole step log, from the step header to the footer (just this step's)

Sure! This is the List of files to deploy section
Switching to workflow: Internal_Deploy_App
+------------------------------------------------------------------------------+
| (0) deploy-to-bitrise-io                                                     |
+------------------------------------------------------------------------------+
| id: deploy-to-bitrise-io                                                     |
| version: 1.3.2                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2017-05-30T05:26:41-07:00                                              |
+------------------------------------------------------------------------------+
|                                                                              |
Configs:

BuildURL: https://www.bitrise.io/build/dbb6c145c0a3f151
APIToken: DolAVNziF4oLyVXF6rsQVQ
IsCompress: false
DeployPath: XXX_Dev.ipa
NotifyUserGroups: none
NotifyEmailList:
IsPublicPageEnabled: true

Deploying single file
List of files to deploy

XXX_Dev.ipa

Deploying files
Uploading ipa file: XXX_Dev.ipa
analyzing ipa
Deploy failed, error: failed to unwrap Info.plist from ipa, error: command: (/usr/bin/unzip "XXX_Dev.ipa" "-d" "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__ipa__420390992") failed, output: unzip:  cannot find or open XXX_Dev.ipa, XXX_Dev.ipa.zip or XXX_Dev.ipa.ZIP., error: exit status 9
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | deploy-to-bitrise-io (exit code: 1)                           | 7.62 sec |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...://github.com/bitrise-io/steps-deploy-to-bitrise-io/issues |
| Source: https://github.com/bitrise-io/steps-deploy-to-bitrise-io             |
+---+---------------------------------------------------------------+----------+

Can it be that the file specified for the deploy actually does not exist at that path? (at the path specified at DeployPath: ...

I can see a difference in the deploy_path between 1.2.9 and 1.3.2.
1.2.9 use deploy_path: /Users/vagrant/git/XXX/XXX_Dev.ipa
1.3.2.use XXX_Dev.ipa

That will be the issue! Thanks @FranMartinRomero for reporting and for the infos!
@godrei pls schedule a fix for this
@FranMartinRomero in the meantime please use the 1.2.x version of this step, will let you know here once the issue is fixed

Thanks @viktorbenei for your quick response. :)

@godrei it seems that a sub dir is missing from the path, maybe some kind of path normalization issue (e.g. that the file's name is used instead of its path somewhere)

@FranMartinRomero any time, and sorry for the inconvenience

Hi @FranMartinRomero there was an issue in our zip package, which only happened if we tried to use the package with relative paths.
We released a new version of the step (v1.3.3), whith the fixed zip package and from now the step expands the deploy_path.
@patrickbussmann & @viktorbenei thanks for the infos and clarifications!
I'll close this issue, but if someone needs more info/help just let us know and we'll reopen it!

I'm still having this issue using manual code signing


TransferDetails Pt1: Generic attribute util functions, funding related changes

generic attr utils
generic errors
edited update/create payload methods on funding
fixed breaking tests

@charleenfei let try and bring up the test coverage to atleast 80%


Crashed related to entry point

Here's the pastebin: https://pastebin.com/3VJFbCq3
It's a 1.17 Fabric server with Fabric API, Lithium, Starlight, Carpet, Fabric TPA, and Stackable Stew. The server crashes shortly after starting it, citing some entry point related error.

Ahh whoops, I messed up the release. 😆
I’ve swapped out the files and it should work now- let me know if you have any more issues. :)

Cool, thanks!


Create a profile page

assign this to me

I would like to work on this .

I just to work on this.


added function rpg2nc_multi in module rpgpy.nc

Hi Simo!
I added a function that might be useful to convert multiple files!
At the moment, it simply create a generator with the filepaths of the candidate files to convert contained in all the subfolder of the directory specified as the argument of the function - default value is the current directory where the program is launched; the new file names are simply the old ones with the extension .nc appended.
At the minute, the function writes the new files in the directory where the program is launched, not in the directory of the original files.
If you like the modifications, we can start from here and enrich the function!
Cheers

Btw, I don't know how to apply a label enrichment, maybe I don't have the permissions! If you can, please do it so we keep good track :+1:

Thanks Saverio! I'll take a look at this (just came back from my holidays).

Thanks for the review @tukiains !
I just need to add some useful tests and I can pull request again (I switch this to a draft in the meantime).
Cheers


address_map return with Err AddressMapNotFound

I am encounter some pdb with no omap info ( also none DBIExtraStreams.section_headers ).
When i call pdb.address_map() and Err(AddressMapNotFound) returned.
I wonder if this behavior is expected?
I am trying to dump the symbol tables, using the address_map to translate (metioned in #17 )
What should i do with pdbs without extra streams or omap infos?
Here is the sample pdb i download from microsoft symbol server.
mscorlib.ni.pdb.zip

Without section headers, the PDB can't translate {section, offsets} to/from RVAs. There's simply no data for a pdb::AddressMap to use.
You could perform such translation yourself using the section headers in the corresponding executable, but pdb doesn't touch executables, so that's out of scope here.

thanks for the quick response, i got it.


Return schema with Read results

An invalid PDAL Dimension name will be silently omitted from the binary results of a Read command.  Currently, clients should base their requested schemas on the results of the Schema command, however it would be useful to provide the ability for a client to use a static schema with all the Dimensions they recognize/care about.
E.g. a rendering client could always send XYZRGBI, and a missing 'Intensity' Dimension would be silently omitted in the binary results.

Invalid dimensions are no longer handled in a way that makes this necessary.


Got error: HTTP Error 429: Too Many Requests (caused by HTTPError())...

Got this error (on Linux Ubuntu) because my server use Youtube-dl to get the YouTube video info and subtitles.
Any workaround is much appreciate? Thanks in advance.

Sorry, turns out that it's not the plugin issue. It's because my server using Youtube-dl to download many requests. That's why I got error HTTP Error 429: Too Many Requests (caused by HTTPError()).... I closed this issue.

im getting it only on specific videos, which is real weird


Bot load logging

Explanation About What Code Achieves:

This PR seeks to improve the logs created while loading bots from bots.js in the following ways:

Improve consistency: bot names are always surrounded by single quotes.
Semantic logging: use distinct console.info() and console.error() rather than the generic console.log() for everything.

More useful error messages: return specific error messages for network errors and parser errors.

Steps To Test:

Make a bot named rhymesBad.js with a syntax error in it.
Add "rhymesBad" and "failOnMe" (no corresponding .js file) to the bots list in bots.js.
Start Bottery and check the console:

Before PR
After PR

TODOs:

I haven't been able to prove that the final console.error() will actually be executed on a generic exception that occurs within req.done(). I don't understand how an error from eval() will get passed to req.fail(), but adding testing code that produces a different error won't and will throw the exception in req.done(). I don't have much experience working with jQuery.ajax() in the way it's used here, so any advice would be appreciated.
Weirdly, it seems that Firefox (57) still tries to parse the non-existent failOnMe.js bot after the fact, based on this log message:

Adding HTTP exception handling in req.done() didn't change this behavior. Doesn't seem to have any negative side effects though ¯\_(ツ)_/¯

Thank you! This will be really handy for debugging


Autoimport is polluting suggestions

Suggestions for auto-import inside relatively big TS project pollute fields auto-complete suggestion.
With the following typing :
interface SaleSettings {
    saleId: number;
}

entering into suggestions mode (without starting to type) make the properties lost in the middle of hundreds of import suggestion.

I'd expect import suggestion to be displayed after fields.
A setting similar to editor.snippetSuggestions but for auto-imports would be even better.

Maybe this can help you add the following to your settings: "editor.snippetSuggestions": "top" or bottom

Maybe this can help you add the following to your settings: "editor.snippetSuggestions": "top" or bottom

This is not snippets causing the problem though. There's no settings to sort suggestions.

I believe those suggestions are coming from one of your extensions.

Thanks for following up. Auto imports are now a built-in feature for VS Code so you probably do not need an extension anymore. Try using the built-in auto imports and let me know if you run into any bugs


Explain motivation for UFCS - fixes #363

Hmm somehow I think headings don't fit in this section. For me it reads more like a flowing text which doesn't need more structured sections. What do you think? I would vote for not adding new sections but have the other parts added/changed.

Hmm I like headings a lot because they allow to quickly skim over or find my old reading position, but I agree that the heading name isn't very good here (-> removed from this PR).
Moreover I added imports to the last range code example.


Add files via upload

This image is not displayed in details screen and does not shows any error or warning message in console.So I posted query on Udacity forum and get suggestions to resize image.Now I resized the image,it works good!

Huh, interesting bug. Welp, used your smaller image, and also added some logic to properly adjust the size of the image view. Thanks!

Great @JeremySilverTongue


Error trying to activate vanity subdomain using CLI

Describe the bug
Getting the following error while trying to activate a vanity subdomain:
failed to create vanity subdomain config: {"message":"Internal Server Error","errorEventId":"10cf2a4a109940259df6d1c4fef235cc"}
Sent crash report: b8cf1cb37e714c2aac31f56acd9a0371

I am on a Pro Plan
CLI version is : Supabase CLI 1.127.4

To Reproduce
Steps to reproduce the behavior:
Issue the following CLI command:
supabase vanity-subdomains activate --project-ref <myprojectid> --desired-subdomain xxxxxx --debug --experimental

When I check the status via the 'get' CLI command it shows active anyway:

 Status: active
Vanity subdomain: xxxxxx.supabase.co

I can delete the subdomain using the CLI without error
But in actuality it is never really fully active:
does not show up on the Supabase dashboard
does not work in Supabase connection args using createClient

Desktop (please complete the following information):

OS: Mac OS 14.1 (23B2073)
Version of CLI : Supabase CLI 1.127.4

Hello @xpertana, there appears to be an error setting cname record for your hosted project. I don't think this is a cli error but I would suggest creating a support ticket through the dashboard. Our support team will respond promptly to help you check the vanity subdomain setup.


Add 32 and 64 bit ARMv8 Registers

ARMv8 provides 31 64 bit registers labelled x0-x30. In addition, their 32 bit low bits are labelled w0-w30.
Add them to the known register set in armasm.js.
See here for details.
Checklist

[ ] Added markup tests (need to learn how to do this!)
[x] Updated the changelog at CHANGES.md

Seems like a pretty odd omission for us to have in the library and never notice until now... Are these registers only in newer chips?

I believe that github uses this library,

It does not so far as I am aware.


Aggregate deployment frequency metric from Serverless deployments

Hi Pelorus team,
I installed Pelorus over a customer's environment where they only use Openshift Serverless to deploy apps, by default this deployment strategy doesn't inherit the default APP_LABEL to the auto-generated ReplicaSet and Pod so I tried changing the APP_LABEL to this: serving.knative.dev/service, but this didn't work because Serverless ReplicaSets don't keep a Pod running all time.
Deployment time app.py get metrics from running Pods:
exporters/deploytime/app.py
(...)
    pods = v1_pods.get(
        label_selector=pelorus.get_app_label(), field_selector="status.phase=Running"
    ).items
(...)

Maybe we can add metrics of serverless deployment from Knative Service Revisions.

Note for ourselves: We need to find out how to properly implement serveless deployments in OCP clusters.


FluentValidation not invoked from tests

Is it expected that FluentValidation is not invoked when running tests? Since it's using FluentValidation.AspNetCore it's only being invoked through the MVC pipeline, which is bypassed from the tests.
I ended up adding this to my test project, which invokes the validators as a pipeline behavior: https://github.com/GetoXs/MediatR.Extensions.FluentValidation.AspNetCore

I certainly could execute them - going this route though creates the problem of handling validation failures. Do we throw an exception, decorate the result type etc.


Non-optimal default additional bytes factor?

Question about the default additional bytes factor: why is it set to 1.6?
When I follow the instructions to calculate the additional bytes factor and pass the default alphabet (_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ) I get 1.02 as a result. So shouldn't the default factor be 1.02 instead of 1.6?
For context, I'm trying to set a custom alphabet that consists of the default without any special characters (no - or _). I got 1.02 as a result, which seemed low, so I ran it with the default alphabet for comparison and got the same number, which made me wonder whether I was doing something wrong.
I don't know anything about the underlying Nano ID math or cryptology, I'm just a monkey punching keys.
Thanks so much for your work!

Hi @ersinakinci :) Thx for reaching out!
The 1.6 factor in the nanoid library's customRandom() function is based on empirical benchmarks rather than a strict mathematical calculation. It optimises performance by reducing the number of system calls needed to generate random bytes, ensuring enough valid bytes are obtained even after discarding those that exceed the alphabet size. This provides a good balance between efficiency and reliability across various scenarios. For more details, refer to the original code on GitHub.
The formula we provided to calculate the additional bytes factor for a custom alphabet in the nanoid() function is designed to optimise performance by balancing byte generation and discard rates. It computes a bitmask based on the alphabet size, normalises the difference between this bitmask and the alphabet length, and adds a baseline factor of 1. This ensures enough valid bytes are generated in each batch, minimising the need for repeated system calls to the random number generator. While the default 1.6 factor in nanoid is empirically derived and works well across many scenarios, the custom-calculated factor offers a more tailored optimisation for specific alphabet sizes. This customisation can enhance computational efficiency by reducing redundant operations, particularly when the default factor doesn't fit the custom alphabet's characteristics perfectly. It serves as a practical approach to enhance computational efficiency by reducing redundant operations, but empirical validation and potential adjustments may still be necessary for optimal performance.
The desired effect is to have less memory overhead.
It's perfectly normal to have questions, and there's no need to hesitate — everyone starts somewhere! If you're curious or need clarification, feel free to ask; we're all here to learn together and I'm no different from you.

Oh interesting, it's empirically derived. That's neat!
Thanks for the in-depth explanation @nik-sta. So the formula you provide is basically a heuristic? Any advice on what the factor should roughly be if all I've done is remove the special chars? Maybe I should keep it at 1.6? I'd rather not go down the rabbit hole of empirical testing myself.

I'm doing the same and not touching the 1.6 factor. I have never had any issues running with those settings until today. But could it be more optimised and, therefore, use fewer bytes? I would assume yes.


Fix undesired edges from nested constant observations

Currently 'pause e' finds and pauses the computation of the top level function 'f' for 'e'. If we change 'pause e' to also pause all the computations below 'f' in the stack, the problem with the nested observations goes away.
This is an alternative to my previous pull request. If you can review this change and convince yourself that it works, I'd much prefer to go with this fix.
If you couldn't find the time to review this (or convince yourself that it works) I would be unable to continue the work on debug-hoed...

Hi Pepe.
Looking at your code, this is a clear improvement to the Hoed algorithm of determining dependencies for algorithmic debugging. Namely to add some edges that should have been added but that are not there. Thanks.
I still have some worries about the new annotations you added in the previous pull request I merged. I am afraid it will encourage people to observe constant values, which may result in edges missing.
However, I feel that should not stop us from taking in this fix. Instead I will add a warning to the documentation (that needs work anyway) and I will try to come up with an easy to understand example showing when observing a (locally) constant value can give problems for algorithmic debugging.


Weird msbuild behavior on Gentoo

From @svick on July 23, 2017 8:37
I'm trying to use the portable Linux release of .Net Core SDK 2.0 Preview 2 on a Gentoo machine and I'm getting some strange behavior from msbuild, which means I can't run dotnet restore.
What I did:
~$ cat /etc/*-release
Gentoo Base System release 2.3
DISTRIB_ID="Gentoo"
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo/Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
~$ mkdir dotnet
~$ cd dotnet
~/dotnet$ curl -sSL -o dotnet.tar.gz https://aka.ms/dotnet-sdk-2.0.0-preview2-linux-x64-bin
~/dotnet$ tar xf dotnet.tar.gz
~/dotnet$ PATH=$PATH:$HOME/dotnet
~/dotnet$ cd ..
~$ mkdir hwapp
~$ cd hwapp
~/hwapp$ dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on /afs/ms.mff.cuni.cz/u/o/ondep7am/hwapp/hwapp.csproj...
MSBUILD : error MSB1008: Only one project can be specified.
Switch: /afs/ms.mff.cuni.cz/u/o/ondep7am/hwapp/hwapp.csproj

For switch syntax, type "MSBuild /help"

Restore failed.
Post action failed.
Description: Restore NuGet packages required by this project.
Manual instructions: Run 'dotnet restore'

~/hwapp$ ls
Program.cs  hwapp.csproj
~/hwapp$ dotnet restore
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
~/hwapp$ dotnet restore hwapp.csproj
MSBUILD : error MSB1008: Only one project can be specified.
Switch: hwapp.csproj

For switch syntax, type "MSBuild /help"

If I follow the same steps on a brand new AWS Gentoo VM, it works fine. So it looks like an issue specific to that machine, not to Gentoo in general.
What can I do to analyze this issue further?
Copied from original issue: dotnet/cli#7227

From @svick on July 23, 2017 22:43
@livarcocc That doesn't give any additional information:
~/hwapp$ dotnet restore /v:diag
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

From @livarcocc on July 23, 2017 22:39
Can you do a dotnet restore /v:diag > log.txt and share the log.txt file?
cc @rainersigwald

I haven't seen anything like this before, unfortunately. If I could reproduce it locally I'd probably try debugging or making private MSBuild bits that spewed more information. But since this is on Linux I bet we can use wizardry instead.
@svick Could you share an strace of the failure? I think
strace -f -o missing_project_file dotnet restore

Should do the trick. Then zip and upload missing_project_file*, please.

From @livarcocc on July 24, 2017 4:46
@rainersigwald Any ideas how to debug this or what might be going on here?

From @svick on July 25, 2017 15:15
@rainersigwald That command produced only one file: missing_project_file.zip

Thanks!
I think line 14175 is the problem:
6713  stat("/m", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0

@svick do you have a directory at the root level named m? That is, does /m exist on this machine?

From @svick on July 25, 2017 15:43

@svick do you have a directory at the root level named m? That is, does /m exist on this machine?

Yes, /m does exist. It's a symlink to /run/am. It's not my machine, so I don't know what is the reason for that.
Why would that be a problem?

It's confusing the MSBuild command line parser into thinking that you're specifying /m as the project to build, rather than telling msbuild to build in multiprocess mode.
We should do better. I'm going to copy this bug over to MSBuild.

The problem comes down to this line:
if (!unquotedCommandLineArg.StartsWith("-", StringComparison.Ordinal) && (!unquotedCommandLineArg.StartsWith("/", StringComparison.Ordinal) || FileUtilities.LooksLikeUnixFilePath(unquotedCommandLineArg)))

That decides that /m looks like a path so it must be a project argument.
We should special case /m. It would prevent building a project named /m, but that violates convention (doesn't match *proj) and should be very rare, compared to merely having a /m directory or file.

@rainersigwald I take it there are no other switches that could reasonably exist in /? For example, as far as I can tell, /v:m and /NoLogo also have this issue, but I wouldn't expect anyone to have files or directories with those names in /.

It could happen with an arbitrary MSBuild switch.
@jeffkl proposed attempting to parse every argument as an MSBuild switch, then falling back to path specifications, which seems to make sense (but may be easier said than done).
/m and /v:m are special because they're hardcoded into the CLI, so a user can't work around their existence with --prefixed arguments.

Just ran into this issue myself after pulling my hair out. It works on one machine, but not the other?! Can't get any information from /v:diag. Can't get any information from /fl:.  COREHOST_TRACE=1 (with 'dotnet build') to look at command line arguements -- seems sane. Finally, after digging through 'strace -f dotnet build' did I have the right keywords to land me at this bug report.
For what it's work, the machine I'm looking at has an /m directory. It is not my machine.

Here the same. Please fix this bug!!! Thank you.

mkdir /m
mkdir /restore
mkdir /v:m
mkdir /fl:whatever
mkdir /p:Configuration=Release
all create directories at system root on Unix and can break msbuild thereafter. We probably don't want .NET Core docs telling the user to not have directories with those names because it will break msbuild.
Maybe have a breaking change and introduce Unix-y arguments, for full name: --switch, for alias: -a.

All of the switch-based arguments should work on *nix, maybe a more compatible change would be to move to -m -v:m -flp:xyz -p:Foo=Bar in at least the CLI and then maybe in documentation (docs for the c# compiler have changed to switches already)

https://github.com/dotnet/cli/pull/8969 switched the CLI to use dash arguments everywhere, and if you're adding an argument explicitly, you can use the dash form, so I'm going to close this.


How to debug

how can i debug when i devlop the plugin  with org.jetbrains.intellij plugins?

Here is the instructions: https://github.com/JetBrains/gradle-intellij-plugin/blob/master/FAQ.md#how-to-debug

thanks


overflow reading bit stream

1015110462_spare parts catalogue.pdf
What kind of problem is this?

You haven't given me much to go on here, but I see that if I run qpdf --check on the attached file, I get that error. This would be some kind of error thrown in the library for an error in the linearization hint stream that is not getting caught and converted properly into a warning. Running the file again through qpdf will resolve it. I will mark this as a bug and track it down. All errors in linearization tables should be converted to warnings when qpdf checks the file. In any case, it's only the linearization data that's bad. Most likely that would not affect the usability of the PDF file in any environment.


Blocking main JS thread

Hello. I like your library! Thank you for your work.
Expected Behavior
When initializing the library, the main js thread should not block.
Current Behavior
The main js thread is blocked for 1-6 seconds or the page can be frozen after the init method.
Possible Solution
Use async code inside the init function or maybe web worker.
Context (Environment)
Any devices
Detailed Description

It depends on your config I think. I never met this issue. It should be during webgl textures initialization. Since it is not possible to do WebGL in webworkers your solution won’t work.

Hello @xavierjs. Thank you for your answer.  I'm very sorry. I found an issue in my project, I initialized the library when was doing hard animation. Without animation everything is OK. Thanks for you help.


Refactor status syncer to remove ingress internal dependency

To address #2413
Refactor status syncer to remove ingress internal dependency

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: greghanson
If they are not already assigned, you can assign the PR to them by writing /assign @greghanson in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lichuqiang: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
0d68f489b2e486187f6a6b40775b877b7efe8275
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lichuqiang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
0d68f489b2e486187f6a6b40775b877b7efe8275
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
0d68f489b2e486187f6a6b40775b877b7efe8275
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lichuqiang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
0d68f489b2e486187f6a6b40775b877b7efe8275
link
/test e2e-mixer-no_auth

prow/e2e-bookInfoTests-v1alpha3.sh
6d33d38cfdfd98baec47edcbefe122be8ab85f2c
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I take it the replacement code is generally functionally equivalent to the old dependency?

Yeah, here we just expect to get rid of the deprecated internal package of ingress repo, without introducing anything extra.

fix lin

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.


The link to Netsh Technical Reference at the end of the page is broken

[Enter feedback here]
The link to Netsh Technical Reference at the end of the page is broken (under Content Availability)
https://docs.microsoft.com/en-us/windows-server/networking/technologies/netsh/netsh

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

ID: cdf15d6d-c63e-6ec4-d1c0-bb800eec7f12
Version Independent ID: 595b6b57-f169-e38d-35d7-91eaa3b33610
Content: Network Shell (Netsh)
Content Source: WindowsServerDocs/networking/technologies/netsh/netsh.md
Product: windows-server
Technology: networking
GitHub Login: @eross-msft
Microsoft Alias: lizross

Right. That link points to the retired TechNet Gallery pages, but I will see if the content has been migrated to the new TechNet pages.

Looks like only the Server 2008 version is available (for now, at least):

https://docs.microsoft.com/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc725935(v=ws.10)

Looks like the Windows Help file format download has been removed, leaving the end section dangling in empty space:

Content availability
The Network Shell Technical Reference is available for download in Windows Help (*.chm) format from TechNet Gallery: Netsh Technical Reference

Looks like we should replace the text reference and link
to the 2008/2008 R2/Windows 7 pages. Also, maybe move the
blue Important note about PowerShell being
preferred over Netsh on Windows 10/Server 2016 and newer,
down to right before the Content availability section.
Suggested solution:

Network Shell (Netsh) Technical Reference
The Netsh Technical Reference provides a comprehensive netsh command reference, including syntax, parameters, and examples for netsh commands. You can use the Netsh Technical Reference to build scripts and batch files by using netsh commands for local or remote management of network technologies on computers running Windows Server 2016 and Windows 10.

[!IMPORTANT]
It is recommended that you use Windows PowerShell to manage networking technologies in Windows Server 2016 and Windows 10 rather than Network Shell. Network Shell is included for compatibility with your scripts, however, and its use is supported.

Content availability

Available in the Windows Server 2008 R2 and Windows Server 2008 archive: https://docs.microsoft.com/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc725935(v=ws.10)

Hey @Veverke,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made to redirect users to our netsh command reference as the other resource is no longer available. Changes will be live after the next business day. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


Add knative example entry to example/index.js

Purpose

$subject. Find the example at https://github.com/ballerinax/kubernetes/pull/502

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Improve CI solution for other architectures

See if there's a Github action runner host that can do AArch64 images, would speed up CI immensely by avoiding running on QEMU. Compile times are just atrocious, even for small crate like this. Or find some other solution for testing AArch64.

CircleCI seems to have an ARM free tier: https://circleci.com/pricing/
You can find more options here: https://github.com/ligurio/awesome-ci

I looked into CircleCI, it didn't require a separate ARM machine, they do have ARM machines in their cloud, so this is all setup now. Way faster than trying to do it in Github actions on top of QEMU


[Bug]

What version of vite are you using?
3.1.4
System info and storybook versions
Environment Info:
System:
OS: Linux 6.0 NixOS 22.05 (Quokka) 22.05 (Quokka)
CPU: (16) x64 AMD Ryzen 7 PRO 5850U with Radeon Graphics
Binaries:
Node: 18.9.1 - /nix/store/zvl9fx0mcjrkyy1frxsq86j2gxxrr2qa-nodejs-18.9.1/bin/node
Yarn: 1.22.18 - /nix/store/6vm0f48krwxnl6mmi5rh47r97kmxwhng-yarn-1.22.18/bin/yarn
npm: 8.19.1 - /nix/store/zvl9fx0mcjrkyy1frxsq86j2gxxrr2qa-nodejs-18.9.1/bin/npm
Browsers:
Firefox: 106.0.5
npmPackages:
@storybook/addon-actions: ^6.5.13 => 6.5.13
@storybook/addon-coverage: ^0.0.5 => 0.0.5
@storybook/addon-essentials: ^6.5.13 => 6.5.13
@storybook/addon-interactions: ^6.5.13 => 6.5.13
@storybook/addon-links: ^6.5.13 => 6.5.13
@storybook/builder-vite: ^0.2.5 => 0.2.5
@storybook/jest: ^0.0.10 => 0.0.10
@storybook/test-runner: ^0.9.0 => 0.9.0
@storybook/testing-library: ^0.0.13 => 0.0.13
@storybook/vue3: ^6.5.13 => 6.5.13
Describe the Bug
so we have a bunch of tests that use storybook and vite - while running the tests we have this error from the storybook webapp:
Cannot read properties of undefined (reading 'length')
    at memoizedBinarySearch (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:9959:25)
    at traceSegmentInternal (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:10062:17)
    at originalPositionFor$1 (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:10049:25)
    at formatError (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:40916:54)
    at TransformContext.error (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:40850:19)
    at Object.transform (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:41106:25)
    at async loadAndTransform (file:///home/athul/testproject/node_modules/vite/dist/node/chunks/dep-6b3a5aff.js:37365:29

Link to Minimal Reproducible Example
No response
Participation

[X] I am willing to submit a pull request for this issue.

Sorry, without a reproduction or some more details, we won't be able to help much.

(tried to add more info, but couldn't for some reason)

this only happens with imports - the old versions work - what i mean by this is: everything works before running npx sb@next automigrate

@IanVS fair enough :)

Are you trying to upgrade to 7.0?

yes, i'm working on trying to make a minimal reproducible example - but to answer your question: not really no - not trying to upgrade to 7.0

closing issue due to fix being found :) thanks!


an error is thrown when attempts to add the existing ID

ref: #3

@joicemjoseph Can you also please add one test case here: https://github.com/mr-karan/balance/blob/main/balance_test.go#L11

Sorry, I forgot to add test cases.
Added on 8e1680c.


Post method with multipart/form-data encoding not work

I need to upload a file to the server. But does not work transfer form parameters with multipart/form-data encoding. Therefore it is not working csrf protection.
I wrote an example:
package main

import (
	"net/http"
	"github.com/zenazn/goji"
	"github.com/golang/glog"
)

func HelloServer(w http.ResponseWriter, req *http.Request) {
	w.Write([]byte(	`
	<html>
	<head>
	<title>Upload file</title>
	</head>
	<body>
	<form enctype="multipart/form-data" action="/" method="post">
	<input type="file" name="uploadfile" />
	<input type="hidden" name="testhidden" value="test123"/>
	<input type="submit" value="upload" />
	</form>
	</body>
	</html>
	`))
}

func HelloServerPost(w http.ResponseWriter, req *http.Request) {
	glog.Infof("testhidden:%v",req.PostFormValue("testhidden"))
	http.Redirect(w, req, "/", http.StatusCreated)
}

func main() {
	goji.Post("/", HelloServerPost)
	goji.Handle("/", HelloServer)
	goji.Serve()
}

testhidden parameter is empty.
This is a bug?

This is going to be an issue with your use of net/http, not a bug with Goji. My suspicion is that you'll want to call net/http.Request.ParseMultipartForm, and then look at net/http.Request.MultipartForm directly.

working example I recently wrote:
`func PostImages(c web.C, w http.ResponseWriter, r *http.Request) {
err := r.ParseMultipartForm(10000000)
// if err !=nil do something
file, fileheaders, err := r.FormFile("file")
if err != nil {
	http.Error(w, "failed to parse file", http.StatusBadRequest)
	return
}
defer file.Close()

    contents, err := ioutil.ReadAll(file)`

I'm sorry, I understood. Thank you.


how to vue-cli in Multiple pages application?

how to vue-cli in Multiple pages application

This is actually a webpack topic. 🙂 Ask it on stackoverflow or forums.

i just wish vue-cli support Multiple pages

@baixiyang I guess you mean the webpack template not vue-cli


[mainnet] update gaslimit to 112.5M

Adds scripts to update gas limit from 105 Mgas -> 112.5 Mgas, with a rollback.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


warning while compiling

I get this warning while compiling:
warning: deprecated directive: ‘%define parser_class_name {NmodlParser}’, use ‘%define api.parser.class {NmodlParser}’ [-Wdeprecated] | %define parser_class_name {NmodlParser}
and this:
warning: 1 shift/reduce conflict [-Wconflicts-sr]

warning appear because I am using bison 3.3+. Since we require only 3.0 (and some CIs run with something prior to 3.3) we cannot get rid of this warking for now since in the previous version the suggested solution was not implemented


Rounded Corners in various buttons #815

Description
According to Material design guidelines the buttons in the app should have rounded corners so that it looks better to the users.
Related issues and discussion
Fixes #815
Screen-shots, if any
The buttons after changing to rounded corners  look more  nice.
(After changing to rounded corners)

(PREVIOUSLY)

(After Changing to rounded corners)

(PREVIOUSLY)

Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.

[x] If you have multiple commits please combine them into one commit by squashing them.

[x] Read and understood the contribution guidelines .

Tested; It looks good on my end. @Karljoones can you take a look?

@policorn It's subtle, I like it. I think it's good to merge! :)

Thanks @Karljoones!
Hi @teolemon, this is ready to be merged!

Merged, thanks @Arshilgenius :-)

@teolemon  thank you :D


[libsrtp] Incorrect CMake target file

Describe the bug
The libSRTPTargets-debug.cmake and libSRTPTargets-release.cmake files have a wrong location for the DLL of libsrtp.
Example from libSRTPTargets-release.cmake :
set_target_properties(libSRTP::srtp2 PROPERTIES   IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/lib/srtp2.lib"   IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/srtp2.dll"   )
The DLL location in this file should be ${_IMPORT_PREFIX}/bin/srtp2.dll
Environment

OS: Windows 11 22H2
Compiler: VS 2022

To Reproduce
Steps to reproduce the behavior:

./vcpkg install libsrtp
Inspect share\libsrtp\libSRTPTargets-debug.cmake and libSRTPTargets-release.cmake files

Expected behavior
Failure logs
N/A
Additional context

This is the cause of https://github.com/microsoft/vcpkg/issues/20721.

Yes, probably. For me, it impacts a modification I am making for the GStreamer port.


Request for token redemption sent on V1

Accidentally sent USDC from Solana to Ethereum on https://v1.wormholebridge.com
Transaction ID: 4hy2vSdD4eJ567ajsJBNh7nFqCxCjZdUkUWQiKuc58ZDdF5AE63hcNfNDrjXgp5LeukH9wuJgSjuAZ6fdoXjNnep
In addtion, despite clearing the cache on v1.wormhole the transaction table doesn't shown any data.

e
request in redeeming the token.

Adding to this interstellar.tk is passing a signature that is not getting approved on eth.

go ahead and try to redeem through interstellar.tk again. should work now

It works, I got the WWT on eth.
Any guide on what to do from here?


Bump version to 2.13.2

A couple of bugfixes ready to go out.

Before submitting the PR make sure the following are checked:

[ ] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Perhaps we should wait for #1391?

That's what I was going to suggest

#1391 has been merged :shipit:

@ydah, @Darhazer This is ready for review.


How to redirect http://localhost/drupal8/web to a custom domain.  www.example.com

How to add new vhost entry Does it help you?


cmd/doc: usage()

Fixes usage inconsistency between
/usr/local/go/src/cmd/doc/main.go
func usage() {
	fmt.Fprintf(os.Stderr, "Usage of [go] doc:\n")
	fmt.Fprintf(os.Stderr, "\tgo doc\n")
	fmt.Fprintf(os.Stderr, "\tgo doc <pkg>\n")
	fmt.Fprintf(os.Stderr, "\tgo doc <pkg> <sym>[.<method>]\n")
	fmt.Fprintf(os.Stderr, "\tgo doc [<pkg>.][<sym>.]<method>\n")
	fmt.Fprintf(os.Stderr, "\tgo doc <sym>[.<method>]\n")
	fmt.Fprintf(os.Stderr, "For more information run\n")
	fmt.Fprintf(os.Stderr, "\tgo help doc\n\n")
	fmt.Fprintf(os.Stderr, "Flags:\n")
	flag.PrintDefaults()
	os.Exit(2)
}

/usr/local/go/src/cmd/go/internal/doc/doc.go
	go doc <pkg>
	go doc <pkg> <sym>[.<methodOrField>]
	go doc [<pkg>.][<sym>.]<methodOrField>
	go doc <sym>[.<methodOrField>]

see diff https://golang.org/cl/201857 for details
Note that the original [<pkg>].<sym>[.<method>] was definitely a typo ]. vs .] ,just trying to make it identical while i was at it fixing that.
Also note https://groups.google.com/forum/#!topic/golang-nuts/OFg-02kfpno Compared to go help doc output, it seems flag.PrintDefaults() messes up flags descriptions new lines of go doc --help? But thats probably a separate issue with flag.PrintDefaults()

/cc @jayconrod @bcmills

@julieqiu please add label Go 1.14 and remove needsInvestigation before this patch gets forgotten

@gertcuykens, as far as I can tell this fix doesn't need to hold up the 1.14 release if it isn't ready, so the Go1.14 milestone probably isn't appropriate. (But it's small and cosmetic enough that it can probably make 1.14 anyway.)


Memory issues when initializing container

Hi,
I tried to initialize a container using a tarball of whole Europe (~32GB) on my machine having 8GB of memory and an SSD disk.
I expexted it would take a while but not so much... it's running since yesterday. After downloading the snapshot, my linux box started swapping and all I see from the output of the container is a buch of lines like:

Reading XML file.... elapsed way 267461502. Flushing the database...... done. with the integer increasing
and Reorganizing the database.... done.

Do you recommend me killing the process and trying something else? Or should I wait? I'm currently on vacation so i dont have any problem letting the machine run for another day.
Is there a way to predict more or less how much time is going to require until the end?
Is there a way to tweak the init run to avoid running into swapping issues?
Any suggestion?
Thanks in advance

8GB RAM for whole Europe seems smallish. It was minimum, that I had to allocate for processing Poland extract (~1GB of extract). You may try to set OVERPASS_FLUSH_SIZE=1 in environment, but I'm not sure, if it will be enough, to fit import in 8GB of RAM.
I recommend disabling swap in docker. Here you can learn, how to limit swap for a container.
For reference, importing Poland takes around 1-2 hours when no swap is used.

@wiktorn thank i will give it a try. Anyway, this issue is related to the overpass api itself, not to your docker image, right?

Exactly. overpass api is quite resource hungry during import/load. You can also try to download clone, but then you need to reserve space for whole world.

I guess you've managed to solve this issue?


Feature request: GET stdout/stderr via API

We'd like to use a command line tool to output the stdout/stderr of tasks to the command line.
Is this possible currently? If not through the API, what about using some code wizardry?

Thanks for your answer! I appreciate it.
I guess it would take a tad bit of wizardry to make this output stdout/stderr cleanly.
I'll leave this issue open because I still think that this should be a feature of the API.


where_raw method not work

rows = Dictionary.where_raw('order_num > ? and ref_times = 0', [3]).get()
raise QueryException:
orator.exceptions.query.QueryException: not all arguments converted during string formatting (SQL: SELECT * FROM sys_dictionary WHERE order_num > ? AND ref_times = 0 ([3]))

It is because you are passing an array instead of the number, array notation only works for in and such. Try this way:
rows = Dictionary.where_raw('order_num > ? and ref_times = 0', 3).get()


[SMALLFIX] Fix a wrong description in alluxio-start.sh

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/Alluxio-Pull-Request-Builder/11978/
Test PASSed.

LGTM


Research how to create symbol table in Python

We are putting this on hold right now. It seems like it's going to be pretty involved, we have put out some questions on the pyright repo discussions to see if someone there will be able to guide us. https://github.com/microsoft/pyright/discussions/5438

We are closing this issue anticipating an entire rearchitecture of Kybra similar to what we have done with Azle. This removes most of the compiler architecture as it is. We believe that this issue no longer applies to the new planned architecture.
In case our rearchitecture is not successful, or we otherwise need to find these closed issues, the search term KYBRA_REARCHITCTURE can be used.


Revised EQDSK class

The EQDSK python class in libneo is now able to read various file flavours. The original file has been tested against a golden record created with the code before the PR. After manual verification that they are identical, this record has been updated and created for various cases in /proj/plasma. CHEASE file format support is still an open issue.

@marjohma will also add #36 here right away


Question about "kp" in "cur_data" and "ref_data"

Hi, I am trying to understand your code and have a question about the meaning of some statements in vo_modules.py:
    cur_data['kp_best'] = batch_kp_ref_best[0].copy() # cur_data save each kp at ref-view (i.e. regular grid)
    cur_data['kp_list'] = batch_kp_ref_regular[0].copy() # cur_data save each kp at ref-view (i.e. regular grid)
    cur_data['kp_best'] = cur_data['kp_best'][cur_data['kp_best'][:,0]!=-1] # remove invalid kp

Why should the "kp" in reference frame be assigned to current frame?
Thank you!

Please see this issue. #7


Amend README.md to include missing changes: fixes #21

Fixes issue #21 - the installation instructions don't note the code required to suppress redirects to /facadeauth

Build appears to be failing due to missing VS 2019?


Package broken with atom 1.25

The last update broke the package, I tried to rebuild it and to reinstall it without success.

What went wrong? I've been using it on the beta without issue (but then, my version is modified with unreleased changes).
Any error messages would help.

Well it said that it was built on old core packages and needed to be rebuilt. I tried but it did not work so I uninstalled and tried to reinstalled the package without success

here's the log when I try to reinstall :
Installing<EMAIL_ADDRESS>failed.Hide output…

<EMAIL_ADDRESS>install /private/var/folders/83/5s8p7vm14l793szhdqbry8f40000gn/T/apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9/node_modules/autocomplete-latex/node_modules/oniguruma
node-gyp rebuild

/private/var/folders/83/5s8p7vm14l793szhdqbry8f40000gn/T/apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9
`-- (empty)
npm WARN deprecated<EMAIL_ADDRESS>CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
gyp ERR! configure error
gyp ERR! stack Error: Python executable "/Applications/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh" is v3.6.4, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack     at failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:454:14)
gyp ERR! stack     at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:443:9
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:197:7)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at maybeClose (internal/child_process.js:877:16)
gyp ERR! stack     at Socket. (internal/child_process.js:334:11)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at Socket.emit (events.js:188:7)
gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:498:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /private/var/folders/83/5s8p7vm14l793szhdqbry8f40000gn/T/apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9/node_modules/autocomplete-latex/node_modules/oniguruma
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/83/5s8p7vm14l793szhdqbry8f40000gn/T/apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9/package.json'
npm WARN apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9 No description
npm WARN apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9 No repository field.
npm WARN apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9 No README data
npm WARN apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9 No license field.
npm ERR! Darwin 16.7.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/pierremarchand/.atom/.apm/.apmrc" "--userconfig" "/Users/pierremarchand/.atom/.apmrc" "install" "/private/var/folders/83/5s8p7vm14l793szhdqbry8f40000gn/T/d-118216-1223-13iukhi.036xgsnhfr/package.tgz" "--runtime=electron" "--target=1.7.11" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the oniguruma package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs oniguruma
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls oniguruma
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/83/5s8p7vm14l793szhdqbry8f40000gn/T/apm-install-dir-118216-1223-9c8nbs.8gwvasv2t9/npm-debug.log
npm ERR! code 1

Hmm. I just downloaded a fresh version of the package for Atom 1.26.0 beta, and it worked fine. I'm trying again now with the standard version.
In the meantime, try running apm rebuild autocomplete-latex in the command line and see if that helps.

it gives me : Rebuilding modules ✓ but I still have the same output when I try to install the package

I don't get any problems on the stable version either. The node-gyp stuff looks suspicious though, I've had more than enough trouble with it in the past. Look at your PATH, and try removing any Python related additions.

Ok my bad, I found the issue. I think it is because my command line python was linked to python 3.6 and it seems it is not supported according to the log. I think my package manager modified my command line because usually "python" is linked to the 2.7, anyway...


Error accepting suggestions with multibyte (Cyrillic) characters (utf-16 -> utf-8 fixes the issue)

When I type with Cyrillic alphabet, and getting suggestions, pressing the key binding to accept gives this error:
Error  02:24:02 PM msg_show.lua_error Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/util.lua:485: index out of range
stack traceback:
	[C]: in function 'get_line_byte_from_position'
	/usr/share/nvim/runtime/lua/vim/lsp/util.lua:485: in function 'apply_text_edits'
	...l/share/nvim/lazy/copilot.lua/lua/copilot/suggestion.lua:489: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

Looking into lua/copilot/suggestion.lua, I see this:
    vim.lsp.util.apply_text_edits({ { range = range, newText = newText } }, vim.api.nvim_get_current_buf(), "utf-16")

If I change utf-16 to utf-8, everything seems to work fine. Any reason for utf-16 here?

I'm having the same problem when I have any accents in the line I'm accepting the suggestion, such as é or ö. I'm on linux, the default encoding is utf-8.

This PR should fix it.


open folder is not working

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

vscode-standard-format
che
0.0.12

vscode-eslint
dba
1.2.11

vscode-stylesheet-formatter
dba
0.2.0

vscode-babel-coloring
dza
0.0.4

vscode-html-css
ecm
0.1.7

tslint
eg2
0.17.0

php-debug
fel
1.11.1

php-intellisense
fel
1.5.0

php-pack
fel
1.0.1

json2ts
Gre
0.0.6

beautify
Hoo
1.1.1

TypeScriptImport
kev
1.17.0

php-symbols
lin
2.1.0

vscode-JS-CSS-HTML-formatter
lon
0.2.3

code-beautifier
mic
1.7.2

sublime-keybindings
ms-
2.9.1

laravel-blade
one
1.8.1

vscode-html-scss
P-d
0.0.42

diff
raf
0.0.1

typescript-hero
rbb
1.4.0

sass-indented
rob
1.4.1

react-beautify
tai
0.3.0

html2jade
wma
0.2.0

Steps to Reproduce:

Reproduces without extensions: Yes/No

Need more details

Definitely not working for me either. Yesterday it failed to open my project root folder (had to open only my scripts folder) and today it won't open any folder).

I closed it because it doesn't have enough info to do anything about it. Could you open a new issue and give more details, like exactly what you're doing, how you're trying to open the folder, and what happens when you do that?

I created a new issue and added as many details as I could. If you want more, please let me know what additional details you require.
#33289


Add test that asserts we can reverse apply changesets and maintain their indices.

imodel-native: https://github.com/iTwin/imodel-native/pull/804

Fixes #6937 ?

Fixes #6937 ?

Yeah the native side does atleast.

Should I put that in the description in the future? I had linked it under development on the right.

Probably. Putting it in the description will link it to the issue automatically. Maybe I'm unusual, but I didn't even think to look at the right-hand sidebar to find out what the PR is for.


spdx-utils: Turn some jackson deps into API dependencies

For consistency.
Signed-off-by: Frank Viernau<EMAIL_ADDRESS>

For consistency.

What kind of consistency? To what?
I had given this topics some careful though in the past, and I believe the currently configuration to be correct. Also see this related discussion that I started in the Gradle forum. In general, we should use implementation dependencies if we can, and api dependencies only if we have to.

What kind of consistency? To what?

To: model/build.gradle.kts and to utils/build.gradle.kts.

So, @sschuberth can you tell if we have to use api in above build files, but not in the spdx-utils one?

Yes, I believe that's how it is. If you search for all Jackson imports in the spdx-utils module then you'll see that all usages are either in

function implementations
internal properties
class annotation which only affect internal code generation

Thus, in this module Jackson should stay an implementation dependency IMO. And in general, you have to decide this on a case-by-case basis, and cannot make such a change globally "for consistency".

Thanks @sschuberth, closing the PR then.


yt-dlp doesnt works under openBSD

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
HTTP Error 403: Forbidden
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp --cookies-from-browser firefox https://youtu.be/WfGczM7y7BA -vU
[debug] Command-line config: ['--cookies-from-browser', 'firefox', 'https://youtu.be/WfGczM7y7BA', '-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.02.17 [a0a7c01]
[debug] Python 3.9.16 (CPython amd64 64bit) - OpenBSD-7.2-amd64-64bit-ELF (LibreSSL 3.6.0, libc 96.2)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: brotli-1.0.9, certifi-2021.10.08, pycrypto-3.15.0, sqlite3-2.6.0
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "/home/hd/.mozilla/firefox/8z5lv1f0.default-default/cookies.sqlite"
[Cookies] Extracted 0 cookies from firefox
[debug] Proxy map: {}
[debug] Loaded 1782 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2024.08.06, Current version: 2023.02.17
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/download/2024.08.06/_update_spec
ERROR: You installed yt-dlp with a package manager or setup.py; Use that to update
[youtube] Extracting URL: https://youtu.be/WfGczM7y7BA
[youtube] WfGczM7y7BA: Downloading webpage
[youtube] WfGczM7y7BA: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] WfGczM7y7BA: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] WfGczM7y7BA: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] WfGczM7y7BA: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] WfGczM7y7BA: Downloading player 28fd7348
WARNING: [youtube] WfGczM7y7BA: nsig extraction failed: You may experience throttling for some formats
         n = U3O3Kjnv8bqYwg_DF ; player = https://www.youtube.com/s/player/28fd7348/player_ias.vflset/en_US/base.js
[debug] [youtube] Unable to extract nsig function code (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] WfGczM7y7BA: nsig extraction failed: You may experience throttling for some formats
         n = aWbXB7ubFr431II15 ; player = https://www.youtube.com/s/player/28fd7348/player_ias.vflset/en_US/base.js
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] WfGczM7y7BA: Downloading 1 format(s): 136+140
[debug] Invoking http downloader on "https://rr5---sn-5hne6nz6.googlevideo.com/videoplayback?expire=1723431775&ei=_ya5Zu36OpiWhcIP78mriQg&ip=<IP_ADDRESS>&id=o-AGNYpXp7HI5kSgCK2Ch8ooJ4Mfn_thXzPgtL50bIBTdK&itag=136&aitags=134%2C136%2C160&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=mY&mm=31%2C29&mn=sn-5hne6nz6%2Csn-5hneknes&ms=au%2Crdu&mv=m&mvi=5&pl=25&initcwndbps=445000&bui=AQmm2ewBEtbAPz7QndyMPlfO1H9otjB5uD4l0UfCCM6nQ4Yd4FLzRIH9ppAv300jwE1NaxP_BguSYHbV&spc=Mv1m9jyPD4vkaxJq0LO-Nw0_LNfgBTZ9ddhi_XjSyeqXQiCSPXbDogTCRNAS&vprv=1&svpuc=1&mime=video%2Fmp4&ns=vy6IkLYrBFHSScoDgfNWY-wQ&rqh=1&gir=yes&clen=14397727&dur=59.358&lmt=1545569469554192&mt=1723409823&fvip=2&keepalive=yes&c=WEB&sefc=1&txp=5535432&n=aWbXB7ubFr431II15&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAI2n8QOu1iaFL-hTucnwdKRQwzKx1yHf4wNGjrw35AviAiB9lyVcekJ8caqNl9AX6wbx0ZlXv3VrmgTB78ummFyeYA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRgIhAItBPvumMryZ5TEYYhdeKeZb7bKTM9xdVAMB2R0riW91AiEA7wKdV6zPIVo3TN6Rolm95c5j-ZImLejtLT0MJRzSXxk%3D"
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3213, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2954, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/downloader/http.py", line 376, in real_download
    establish_connection()
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/downloader/http.py", line 129, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 3726, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/local/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/local/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Outdated version. Update

Outdated version. Update

you're right, but it was something to upgrade to latest version, using pip under openbsd :

pkg_add py3-pip
pip3.9 install yt-dlp
took me half an hour to find out on the web the proper commands, especially for pip :
<EMAIL_ADDRESS>

there's also https://github.com/yt-dlp/yt-dlp/wiki/Installation


feat(popular movies): adding backrop info

Description
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How To Test

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines           29        29
  Branches         3         3
=========================================
  Hits            29        29

Impacted Files
Coverage Δ

src/data/PopularMovies/GetPopularMovies.ts
100.00% <100.00%> (ø)

src/data/PopularMovies/utils/GetImageConfig.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b842508...777966f. Read the comment docs.


CLI  points not showing

yeah same as me<EMAIL_ADDRESS>"EU2LMXKtA1hEmWdS8tfIUjoK4722"

why p

why my points are gone

k

hitwhy my points are gone

same


Simple container debugger

As part of FHL week we have created simple telemetry-based container debugger that can be used to observe underlining container state and events, while running FF-based web applications. Initial goal of this project was to offer it as a learning tool for new developers joining in, who want to get familiar with what is happening under the FF hood.
The following is a short-term follow up list:

General clean up and documentation of the project. Readme should be clear about the setup and usage.
Surface document state. Currently we are streaming events only, but we should be displaying current document state as well (attached/detached, connected/disconnected, clean/dirty).
Event templating. We should be able to load "templates" that define filtering and event conversion rules. The idea behind the template is to present state/events in some context that user is interested about. Say "Connection State" template only highlights events/state dealing with connection.
PR the project to our tools directory. We could have debugging-tools folder there.

(Note: Synthetic event triggers can be removed for now, just to make this tool simpler for now)

can i join with you

Is this still an active issue? If it is the case and no one was assigned, I would like to work on this.


Hot restart perf regression (~4400ms to ~6000ms)

After we rolled Dart from 82e9557aa78cc1ff43ea60bc443758558bbe4d99 to 69817eea182384b40ef658d578fd49cac00c5874, the hotRestartMillisecondsToFrame metric for hot_mode_dev_cycle__benchmark (mac host), hot_mode_dev_cycle_linux__benchmark, and hot_mode_dev_cycle_win__benchmark all regressed by about the same proportion.

@zanderso
Bisected this regression to the commit https://github.com/dart-lang/sdk/commit/c4b821cc813cd48e0584da7d5afffa74629025c6
In order to reproduce the problem, run the following command line in the flutter_gallery:
flutter run --hot --benchmark --verbose --local-engine-src-path <ENGINE_SRC> --local-engine android_debug_unopt

and check "Restarted app in" in the output.

Golem showed only a 2% slowdown in compilation on the change, but it's possible that hot reload is hitting the symbol table a bit harder. I'll take a look.


v1.2.3

fix: change 'name' in py_assigned_object to 'ast_name' to prevent collision if used in a task

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@9bdf938). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage        ?   79.14%
=======================================
  Files           ?       35
  Lines           ?     1362
  Branches        ?        0
=======================================
  Hits            ?     1078
  Misses          ?      284
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Support do-while control structure

do-while is a basic control structure, but Groovy does not support it.
@blackdrag Can we support it in the new parser?

We did not support it due to issues with ambiguity. Afaik "do" is a keyword in the old grammar, so it would be no breaker... I guess we can support it, if it does not cause problems

OK. I'll try to support it when all the GinA2 test cases pass ;-)


Generate a Color class extension with asset colors used in storyboard

only for iOS11,tvOS11,macOS10.13
https://littlebitesofcocoa.com/312-asset-catalog-improvements
Add a Color xml class to read color from storyboards
For each OS

I create an extension for the XXXColor class if there is at least one color
and in there I create a constant variable for each asset color. An asset color have a name and are not a "System" one (so I have filtered system color like labelColor, etc...)

For other colors I think about adding it in controller.
See one of the Storyboards.swiftfile
I use the generated constant in demo app in MainViewController.swift

This new functionality of Xcode9/iOS11 seems to have some bugs

In Xcode if we have multiple asset with same color name, sometimes the interface builder use a color from another asset.

workaround, use a shared asset between device and use idiom (not universal) if we want a different color by device

When using an asset color in view background, the color set by prepare(for segue:seems to not be taken into account on iOS and tvOS.

maybe the color is set later in view loading process if this case.
workaround: create a color variable in destination controller, and in viewDidAppear (and maybe in viewDidLoad) use the color to set as view background color

An other approach is to generate code from asset.
I want to make this generation optional later.
Maybe with a json config file (like #55), now with swift 4 this is easier

Nice. How can we workaround the know issues?

I'd love to merge it. Can you please add README entry for the feature?

I will
And re-test with the latest Xcode


 That's how UNIX subprocesses work, they continue to live on without their parent.

Tried using the ctrlc crate for the signal handler, but that didn't work as desired. Since the tester uses tokio is probably better to use tokio::signal for the signal handler instead.


Update GoPay.php

Fix for PHP 8.1

Is it possible to publish new version with this fix?

@FSichinger is it possible to merge PR?