Adding warning about overwriting process

See these issues for references:
https://github.com/egoist/poi/pull/193
https://github.com/chentsulin/electron-react-boilerplate/pull/245/files
Basically using something like the below example will break the process object compatibility that webpack includes. This just gives a warning about that.
new webpack.DefinePlugin({
   process: {
      env: {
         NODE_ENV: JSON.stringify('production')
      }
   }
})

Thanks a lot for your contribution!


Add input_col to flatmap

This change is required to align DataPipe and DataFrame API

LGTM! I think map has output_col, is the plan to generally only add input_col to align with other APIs?

flatmap is not going to support output_col unless we receive more feature request because adding a output_col needs broadcasting the columns from the original input and it's not safe to do the broadcasting when DataPipe takes arbitrary python objects.


next.js build: building contentlayer prior to TSC or adding more clear docs

When following the official Getting Started example for Next.js, the app fails to build on CI or any environemnt where .contentlayer doesn't exist already.
This appears to be because TSC runs prior to contentlayer, which errors out.
I'm not sure if this can be changed at all (to run a Next plugin prior to the TSC step). That would seem like the ideal solution, but otherwise, would be great to update the documentation & examples to modify the build step
"scripts": {
  "build": "contentlayer && next build"
}

I'm happy to make a PR to help out, just wanted to check if this is indeed an issue that others experience or if I'm really missing something basic

@jzxhuang Where would you expect to see this documentation?
Perhaps a mention in the getting started guide and also a note in Known Problems or maybe a separate troubleshooting page?

@jzxhuang Where would you expect to see this documentation?
Perhaps a mention in the getting started guide and also a note in Known Problems or maybe a separate troubleshooting page?

@shaneafsar Can you say more about your development setup?

What errors were you running into?
How did concurrently fix those errors?
Why did you choose concurrently over other options for this type of behavior?

@jzxhuang Where would you expect to see this documentation?
Perhaps a mention in the getting started guide and also a note in Known Problems or maybe a separate troubleshooting page?

Yeah, I would expect it in the Getting Started guide — probably under "next.js configuration" or a new section like "Building for Production" or something like that. Also adding a note in Known Problems is a great idea!
btw, happy to make a PR for this — I just wanted to first confirm that it's a known issue with any easy solutions, and not just something I'm missing 😅


Workshop2: Colormaps

Exercises are still missing, otherwise most of the content is ready
closes #6

It looks awesome!
Please but in the notebook metadata in the first cell and just copy the section titles to the "what we are doing" bullet points.
Here are some ideas for exercises:

change colours to RGB values

# change these colours to RGB (hint: there is a function for thing).
# string: 'pink'
# matplotlib colour shortcut: 'b'
# hex value: '#004EAE'
# grayscale value: '0.7'

Answer to this is to use (for our records):
from matplotlib import colors
colors.to_rgb('COLOUR')

Find a colour-blind friendly colormap and plot it side by side with a colour-blind unfriendly colormap. You can use viscm to check out how similar a colormap looks for different colour-blindnesses.


Extends "spo user ensure" command with support for specifying more options. Closes #6181

Extends spo user ensure command with support for specifying loginName, entraGroupId, and entraGroupName options. Closes #6181

Thank you @nanddeepn, we'll try to review it ASAP!

@nanddeepn  I added the hacktoberfest-accepted label to this PR which means that this PR will count as done for the Hacktoberfest event. So if you participate in this event it will get you unblocked and it allows us to merge this PR later when we catch up 👍
Thanks for your support and awesome contribution 👏 You Rock 🤩

@nanddeepn, did you find some time to look at my comments?

@nanddeepn, did you find some time to look at my comments?

I have started working on it. Facing some issues with merge conflicts, but will let you know when I update the PR. Thank you.

Hi @milanholemans
PR is ready for review. Thank you.

Hi @nanddeepn, just a reminder, please do never merge main into your feature branch when resolving merge conflicts. Always use git rebase main and git push --force to resolve conflicts. When you merge the main branch into your PR, it takes quite some time and difficulties to get it merged with the main branch.

Merged manually, thanks!


review requirements for VRS database from developer-experience community

https://drive.google.com/drive/folders/14ByejAjv7YZUawC0Yxyy3D-9JNfe9myH
Draft VRS Requirements in open voice network committees and communities / ovn developer community / draft vrs requirements.docx
We should review these requirements as we design the VRS database schema

See the document titled "ERD for VRS.pptx" for an analysis of the VRS database schema in the VRS google folder

I've reviewed the above document and translated the requirements into user stories in https://github.com/open-voice-network/vrs .


Fix typos

Codecov Report

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

@@            Coverage Diff             @@
##           master    #2171      +/-   ##
==========================================
- Coverage   50.76%   46.49%   -4.28%
==========================================
  Files         176      172       -4
  Lines       14251    14218      -33
==========================================
- Hits         7235     6611     -624
- Misses       5962     6607     +645
+ Partials     1054     1000      -54

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-80.69%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-74%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/archiver/blob_saver.go
92.59% <0%> (-7.41%)
:arrow_down:

internal/archiver/file_saver.go
81.57% <0%> (-4.39%)
:arrow_down:

internal/restic/progress_unix_with_siginfo.go

internal/fs/stat_bsd.go

internal/ui/termstatus/background.go

... and 1 more

Continue to review full report at Codecov.

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


Expose fragment IDs in the URL

PDF.js uses fragment IDs for navigating within a PDF, but those fragment IDs are not exposed to the URL / browsing history. However, they are usable directly from the location bar and even work with the PDF viewer included in Chrome 36 (with the exclusion of page=123).
Having these in the browsing history would mean that one could easily create links into specific sections of a PDF.
Here are some example URL's pulled from the source code--which I'd much have preferred to crib from the location bar. :smile_cat:
PDF section identifier-based fragment ID (afaik):
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf#G13.1696671
PDF.js "proprietary" ?page=# style URL:
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf#page=607
Thanks for consider this idea! :bulb:

I proposed to place a div for each named destination at the corresponding position in #5892 where the id attribute is set based on the name. Links could then simply point to these divs via the hash part of the URL. What do you think?

@andrenarchy As explained in https://github.com/mozilla/pdf.js/issues/5258#issuecomment-54633345, HTML links are not identical to the destinations used in PDF files.
First of all, the PDF specification supports both "named" and "explicit" destinations, please refer to the links in https://github.com/mozilla/pdf.js/issues/5258#issuecomment-54633345, and both kinds are used in practice.
Secondly both kind of destinations can also, apart from specifying a page/position, set the zoom level of the document (both directly and indirectly, again see the links above).
I hope that the above is enough to explain why implementing what you are suggest is unfortunately not going to be possible.
Finally, in PDF.js we only render the currently visible pages, for performance and memory reasons. If your suggestion was implemented, that would mean that links wouldn't work unless the page had already been rendered.

Thx @Snuffleupagus for your explanation! Now I understand why my proposal isn't a good idea.
I'll try to see why links don't work in my viewer-based application. Probably only the scrolling part doesn't work...


Deprecated endpoints

Some of the endpoints got deprecated, https://www.instagram.com/developer/deprecated/endpoints/users/ and I assume they will stop working in 2 months

Any app created before Nov 17, 2015 will continue to function until June 2016. After June 2016, the app will automatically be moved to Sandbox Mode if it wasn't approved through the review process. The previous version of our documentation is still available here.

Maybe it's worth marking some methods as deprecated or even delete them, as e.g. today for /self/feed I'm getting a 404. There's no info in the library about this, and this is an example from the README.
I wanted to make a pull request, just didn't want to come in and delete code without asking.

I guess this is #221


ci: move to buildjet

Description
Moves CI runners to buildjet from github.
Benchmarks

before
after

total
6823
4815

slowest
1004
717

Overall, %30 faster CI times, ~5 minutes removed for each PR in slowest run (e2e testing).

As I recall, we kept the standard runners on because the buildjet ones are more expensive. I think we should have a discussion about cost here.

As I recall, we kept the standard runners on because the buildjet ones are more expensive. I think we should have a discussion about cost here.

Sure, the calculation below was my reasoning of opening this PR:
As far as I can see, buildjet runner I used here costs $0.008 / min
And cheapest x86 github runner is also $0.008/min.

That being said I think we have some CI minutes included in our github enterprise subscription, so not sure which makes more sense taking that account
cc @Voxelot

Hey folks,
Sorry for jumping in, but I saw this thread and wanted to chime in. Did you see Ubicloud runners? They are fully compatible with Github runners and 10x cheaper. You can for example pick a bigger runner, which would be faster (if the bottleneck is on CPU, memory or disk IO) and cheaper at the same time.
Disclaimer: I'm Ubicloud employee. Feel free to ask any questions you might have.

The buildjet to github runner price comparison isn't apples to apples. While the prices are the same, the buildjet runner is 2x the machine. On the whole build-jet is at least 2x cheaper than github when comparing similar runner specs.
We have a lot of minutes included in the enterprise plan, but those are only for the 2-core runners. I value the productivity of the team's CI cycles more than getting freebie minutes on slow machines.


Use ray on windows as well.

Pull Request Description
What issue does this change request address?
#1922
What are the significant changes in functionality due to this change request?
Uses ray on windows.  Ray 1.9 has bugs on windows, so upgrade to 1.12

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[x] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on a252f16 : invalidated by @wangcj05

checklist is good. @joshua-cogliati-inl Could you send out an email regarding the change of raven library dependencies?


Duplicate handlers can be specified when updating proportions

Severity: Low
Description
For example, imagine there are four handlers each with weight 250000. Now the proportions are updated with handlers [handler1, handler1, handler1, handler1] and values [1000000,0,0,0]
 function setHandlers(
     address[] memory _handlers,
     uint256[] memory _proportions
 ) private {
     require(
         _handlers.length == _proportions.length && _handlers.length > 0,
         "setHandlers: handlers & proportions should not have 0 or different lengths"
     );

     // The 1st will act as the default handler.
     defaultHandler = _handlers[0];

     uint256 _sum = 0;
     for (uint256 i = 0; i < _handlers.length; i++) {
         require(
             _handlers[i] != address(0),
             "setHandlers: handlerAddr contract address invalid"
         );

         _sum = _sum.add(_proportions[i]);

         handlers.push(_handlers[i]);
         proportions[_handlers[i]] = _proportions[i];
         isHandlerActive[_handlers[i]] = true;
     }

     // The sum of proportions should be 1000000.
     require(
         _sum == totalProportion,
         "the sum of proportions must be 1000000"
     );
 }

This will cause handler1 to have a weight of 0 and the system to have a total weight of only 750000 (a similar scenario could result in a weight sum that is greater than 1000000). However, the sanity check for the sum at the end of the function will not revert as the sum it calculates is across the _proportions input array, not the actual state of the proportions mapping at the end of the update.
Recommendation
Add an explicit check to updateProportions to check for duplicate Handlers.

Known issue, we will fix it.

Fixed in 65116fa42b0a8b1d43182372fc35031026d22f45


ModuleNotFoundError: No module named 'experiments'

There is always a problem when training experiment scripts：ModuleNotFoundError: No module named 'experiments'. Have you ever encountered such an error?

pip install experiments should probably fix the issue

from ...metrics import SequenceAccuracy
ImportError: attempted relative import beyond top-level package

pip install experiments should probably fix the issue

Do not do that.

Should be fixed now by adding an init.py in the experiments folder.

@SajayR @Adapter525 @skzxc00
Put the main function at the same level as experiments!!!!!!!!

Include the following in pyproject.toml:
[tool.setuptools.packages]
find = { include = ["xlstm*", "experiments*"] }

Adding the repository to your PYTHONPATH also resolves the issue.
f.e. export PYTHONPATH=$PYTHONPATH:~/repos/xlstm


HDDS-6778. Bump Guava to 31.1

What changes were proposed in this pull request?
Bump Guava to 31.1, which is the latest release currently.
https://issues.apache.org/jira/browse/HDDS-6778
How was this patch tested?
https://github.com/adoroszlai/hadoop-ozone/actions/runs/2356568893

+1.  Thanks @adoroszlai .

Thanks @ayushtkn, @ChenSammi for the review.


chore: Bump Alloy Dependencies

Description
Bump alloy and op-alloy deps.

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#855 👈
main

This comment was automatically generated by st.


Per-entity property for disableDepthTestAgainstTerrain ?

Came up on the forum here. The desired goal is to have labels not occluded by terrain, which you can do by setting viewer.scene.globe.depthTestAgainstTerrain = false;, but here the 3D Tiles should be occluded by terrain (because they're partially underground).
Being able to set this on only the label entities would be useful here.

For labels and billboards, you can use disableDepthTestDistance and for  geometry you can use a depthFailMaterial.  See https://sandcastle.cesium.com/?src=Clamp to Terrain.html

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/forum/#!topic/cesium-dev/cvfgIZakSXQ
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/CesiumGS/cesium/issues/8685 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


Allow 80 byte OP_RETURN transactions.

I messed up the previous pull requests, but this should be fixed now.
Bitcoin moved from the 40 byte limit up to 80 byte after seeing no major issues in allowing larger storage.
I believe this could be valuable in making applications built on top of Dogecoin that may require a teensy bit more than 40 bytes.

utACK, since OP_RETURN marks the tx as prunable, so this should not affect our utxo size.

utACK, but tempted to leave this until late in the 1.9 merge cycle

Already in 1.10 now


Track.min causes division by zero

While trying to figure out self sizing dimensions I tried to use .min(0). It caused a division by zero that crashed the app.
Consider avoiding the division or doing a fatalError suggesting the correct approach.

@javb99 thank you :) It's now fixed with #99


simpler

option 2 to remove $ from names. i think this is simpler
removes gf.cell(cache=False)  as a decorator argument and recommend using gf.remove_from_cache(component) instead

so basically you're saying to remove the component from the cache explicitly, rather than to pass cache=False as a kwarg... how does this solve the original problem referenced in the title though, of avoiding $s in names when reloading python files in the watcher? does that basically mean that you have to have calls to remove_from_cache within the script you are reloading? that's pretty hacky too...

also, isn't it problematic that there's no way to create a component wrapped with @cell now without it hitting the cache first, unless you already know how the component will be named? in most cases (if the function gets non-default parameters), you don't know what the component will be named until it is already created, which makes this method infeasible


Diff information getting stuck in gutter

Ensure that Atom is your editor for command-line Git commands core.editor = atom --wait
Check out a git repository (I used a random Atom one)
Open a file in the git repository
Add a bunch of text (my mechanical keyboard sounds awesome when monkey typing in random characters :grinning:)
Save the file with Cmd+S
In a Terminal window, type git commit -a
Wait for the new Atom window show up
Type "DELETE THIS COMMIT" as the commit message
Save the file with Cmd+S
Close the Git Commit Atom window with Shift+Cmd+W
Switch back to the original Atom window with Cmd+Tab

Expected: Git diff information to disappear
Actual: Same Git diff information as before the commit remains
To be clear, after this, the Git diff information will stick in the gutter even after scrolling (it stays connected to the lines they were attached to before the commit), switching to another tab in the editor, Cmd+Tabbing to other applications, for an indeterminate period of time. (Previous behavior was the diff information would stick around until a Cmd+Tab to any other application and immediate Cmd+Tab back.)
Screenshot taken after all repro steps above were executed:

Memory leak warnings that weren't there before the repro steps were begun:

No longer reproducing using Atom v0.195.0-192997c on Mac OS X 10.10.3. It appears that @nathansobo's last fix corrected this issue as well.

:dart:

I think I might have a reproduction of this issue, but it seems to be package related. I was watching the issue that prompted this one since I have been having the git-dif information stick in the gutter as well but never remembered what I did to do it.
The following steps are on atom 0.195.0-192997c (Mac OS X 10.10) with the git-tab-status package installed. No other config settings or anything else.

Open Terminal and navigate to a repository.
Enter atom .
Open any file in atom from the tree view.
Click on Terminal and enter git checkout -b test.
Click on the editor view and make a change to the file. (I just added a newline.) Save.
Click on Terminal and enter git commit -a -m'test'
Click on Atom and the git diff is stuck in the gutter.

I am not sure if this is a package issue, but it seemed relevant here (and the previous issue about line numbers and the gutter) so I thought I'd post it here and see if anyone can reproduce with my steps.

@grizzilus Can you reproduce this after closing all instances of Atom and relaunching using atom --safe?

No, this doesn't happen in safe mode. Something in the git-tab-status package causes it. And I think the code in that package is generic enough that other packages might be having this effect if others have noticed it for a while (which seems to be the case based on these two issues).

Taking a quick look over git-tab-status it polls every half second to see if something has changed. I believe it would be better using the GitRepository.onDidChangeStatuses to be notified when anything changes. I'll open an Issue over there.

But would this causes the status to stick in the gutter permanently? The information remains after the 500ms has passed which is why I didn't initially think they were related.

:confused: I don't know enough yet about the eventing system in Node/JavaScript to be able to answer that question. It is just what jumped out at me as different about the package. @nathansobo would be the expert on that kind of thing probably.


[INSTALL] The left menu the correct items are not showing up

Hi! After installing and opening the left menu the correct items are not showing up, not sure what I'm doing wrong?Thanks!!
image

Hi @ouyuki
Thank you for your feedback, the menu shown to you is without rights.
the application manages rights, you must initialize the permissions and role in order to connect as admin with these artisan commands:
php artisan db:seed --class=PermissionTableSeeder
 php artisan db:seed --class=CreateAdminUserSeeder

In CreateAdminUserSeeder.php
you will have the login credentials for the admin
    public function run()
    {
        $user = User::create([
            'name' => 'Admin',
            'email' =><EMAIL_ADDRESS>            'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
        ]);

        $role = Role::create(['name' => 'Admin']);

        $permissions = Permission::pluck('id','id')->all();

        $role->syncPermissions($permissions);

        $user->assignRole([$role->id]);
    }
}

Thank you for your reply.
But it still shows ”These credentials do not match our records.“, I still did something wrong ;-(

The email is encrypted and does not seem to work, regression introduced by  https://github.com/SMEWebify/WebErpMesv2/issues/371 ?
to resolve the issue while I find the problem, you can manually change the encrypted address in the database

It seems that encryption was not working and the problem has been solved, thanks!

All connection management is managed by inertia in the packages, it seems like an important job to me, I prefer to remove the encryption of email addresses for the moment

Thx @ouyuki I close the issue, looking forward to seeing you again


Force loading vboxsf module so virtualbox shared folders work again.

Fixes openSUSE#2

LGTM, thanks!


Build GUI version?

I was trying to build Gui version, Can you help?

What exactly are you struggling with?

Nevermind I made it.


Variance annotation support and fixed typeParams

Should properly handle nested method type parameters now and also handle "? extends ___" wildcard objects, which use the out specifier rather than in
/CC @chemouna, this should fix the Kotlin generation issues in #109

That's fine, although @Keep does nothing on plugin 1.3. We'll see on 1.4...

We can also embed a proguard rules file in the aar, though I actually prefer the annotation.

Oh right, I totally forgot about that. Rules file works too though.
On Tue, Aug 25, 2015 at 7:44 AM Jake Wharton<EMAIL_ADDRESS>wrote:

Merged #110 https://github.com/JakeWharton/RxBinding/pull/110.
—
Reply to this email directly or view it on GitHub
https://github.com/JakeWharton/RxBinding/pull/110#event-391740519.


Add C implementation; separate and package Python and C implementations

TODO: add tests for the C implementation! Currently there are none.
The C implementation follows closely the OCaml one ; all functions are in reference-passing and reference-returning style, with the return value used to denote errors on functions that may fail.
OCaml, Python and C implementations have been split in lib_ocaml/, lib_python/, lib_c/ subdirectories.
The dune build specifications are extended to handle installation of the C artifacts and of the Python package content below <prefix>/lib/dates_calc/.

@rmonat I'd be glad if you could have a quick look to check the implementation vs. the formal semantics at some point, but I'm in no hurry.

TODO: add tests for the C implementation! Currently there are none.

On that note: I think you could do something similar to my Python implementation. The testcases are just defined in CSV files to ensure portability :)

I'm not sure it's worth the extra hassle, but we may want to just have a C implementation, and then OCaml/Python modules referring to this one...

I took your remarks into account and implemented the CSV tests, with a couple fixes along the way (an off-by-one condition leading to a stack overflow, and a mistake on the sscanf interfaces). This should now be reasonably reliable.
I am not sure about this specific case, but regarding OCaml it's often convenient to have a pure implementation that doesn't require linking C code. Also, here I am afraid that, if we go the classical way of binding C functions in OCaml at least, writing the binding will be more work than the OCaml implementation (with the added risk of segfaults).

Great, thanks a lot @AltGr! Feel free to do a new opam release if you require it for Catala


autoreconnect to the service

My microservices allocated on DigicalOcean droplets. Sometimes cluster throw this errors.
stream error Network error: ws://<IP_ADDRESS>:3000/websocket: connect ECONNREFUSED

Normally, it's getting reconnected again. This is just a log.
Do you getting any service disruptions.
On 2015 මාර්තු 30, සඳුදා at ප.ව. 4.33 maxpain<EMAIL_ADDRESS>wrote:

My microservices allocated on DigicalOcean droplets. Sometimes cluster
throw this errors.
stream error Network error: ws://<IP_ADDRESS>:3000/websocket: connect ECONNREFUSED
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/cluster/issues/37.


NIC management use upstreamed methods and remove downstream counterparts

@rpioso @cdearborn @digambar15
CES-10112

This PR contains some unneeded changes hence closing the PR. New PR raised at https://github.com/dsp-jetpack/JetPack/pull/225


Remove "Research projects using Chainer" from README

This list is for long not maintained.

I want this PR backported, because we should remove it from the wiki.

Jenkins, test this please.

Jenkins CI test (for commit 14245c6a8f09a1228f93b20e93cc1b0954d994a5, target branch master) succeeded!


feat: implement the update logic for data commitment creation

Overview
Implements the update logic for data commitment creation. Because, this is changing the state between the two versions and if a validator starts syncing from genesis (even using the new version), it will end up failing.
Thus, we need to implement the same mechanism we did for the threshold so that new binaries are able to sync from genesis.
More information in: https://github.com/celestiaorg/celestia-app/issues/1676#issuecomment-1532231143
Note: this will result in missing a block between the updates. But it's okey for BSR. However, we have an issue to update the data commitment creation to support changes in the window:  https://github.com/celestiaorg/celestia-app/issues/1685

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

@evan-forbes Is this worth writing a test for? Or we can just test it manually ourselves?

ideally we should update that failing unit test to account for the off by one before merging too :slightly_smiling_face:
hope to have this up on the new e2e test soon, but still need to debug a few docker things

feat!: shift data commitment window by 1 for appVersion 1

Shifting the data commitment window is not done in this PR. This PR  implements the upgrade mechanism so that it doesn't break the state machine


Add X509EncryptedCredentials class

If only a certificate is provided, key wrap encryption algorithm
and data encryption algorithm will be set by default to RsaOaepKeyWrap
and A128CBC-HS256, respectively.

Add new ctor to EncryptingCredentials to allow users to pass
only a 'shared' symmetric key which will be used to encrypt data, but
it will not be serialized to a SAML token.

Add internal const strings DefaultAsymmetricKeyWrapAlgorithm and
DefaultSymmetricAlgorithm to indicate the default algorithms used for
key wrap and data encryption

Add protected ctor to EncryptingCredentials to check if a certificate
passed to X509EncryptedCredentials is null. Provides cleaner stack
trace in case of an exception caused by a null cert.

Refactor EncryptingCredentials. Move null/empty checks to setters
and provide clearer comments

Add tests for X509EncryiptingCredentials and EncryptingCredentials
classes

Resolves: #995
See also: #734

@brentschmaltz Thank you for the suggestions, I addressed them with: https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/commit/7578fe64d6bb4efd9f7fa0b5c074872fcee9ad4c

:shipit:


[Removal]: Tiny Purple Ram

Hotspot Name
Tiny Purple Ram
Hotspot b58 Address
112jBhqdQxHQD6mLZdyHQcMJQVgt8Nrg24civdwr8vdWsio2sxiT
Discord Handle
ukfab#3739
Hotspot Manufacturer
senseCAP
Removal Reason
I purchased 21 Sensecap miners from a secondhand seller thru Fbook. Seller was migrating to US and those miners were not fit for USA region hence he wanted to sell it quick and at reasonable price. He was very convincing and there was no obvious reason for me to doubt.  Ofcourse there was some delays but he delivered all miners. At the time of purchase I thought it was plug and play thing. All looked legit and right.  so I brought them and paid in full ( see bank Transaction). Seller assured me that he will help me set up and it is easy to understand.  After the setup provess and installing, I started looking to how to use helium and went to exploere and it was a shock to see that  all HS are on denylist. I when thru the set up and installed antennas too but as there was no earning happening so I looked further into it and realised that I am fooled and now seller is not responding at all.  would request you to removed these HS from denylist. I am happy to give evidence that each of the HS is physically insta
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
Images of actual miner ( in a weather proof box)  and antenna installation

@abhay Thank you for your review. But I see the issue is closed without any explanation. Can I know if it will be out of the denylist as I am extremely worried about it. Also, if you need more evidences for the same, kindly suggest. Awaiting yor support.


problems with the character editor, and with the sprites

Describe your bug here.
Hello, I have a problem that I don't know if it's the engine, or my sprites or because I use flash to animate, it turns out that a few weeks ago I made some sprites, but when I went to the character editor to edit the sprites I got an error I didn't pay attention to it and left it abandoned, now the problem reappeared. These days a friend asked me to make some sprites for them, I did it and I passed them to him, and it turns out that the same thing happens to him, we are trying to solve it and we have no idea how
here is what the error specifies in case you are curious to know

pls help me
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

https://github.com/ShadowMario/FNF-PsychEngine/issues/9296


[fix] [broker] Close dispatchers stuck due to mismatch between dispatcher.consumerList and dispatcher.consumerSet

Motivation
2024-03-13T07:47:36,071+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://{tenat}/{ns}/{topic name}] Global topic inactive for 86400 seconds, closed repl producers
2024-03-13T07:47:36,073+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.Consumer - Disconnecting consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=5, consumerName=082c9, address=/<IP_ADDRESS>:34293}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.Consumer - Disconnecting consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=10, consumerName=f0c65, address=/<IP_ADDRESS>:32911}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers - Removed consumer Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=5, consumerName=7f82f, address=/<IP_ADDRESS>:39763} with pending 0 acks
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers - [persistent://{tenat}/{ns}/{topic name} / {subscription}] Trying to remove a non-connected consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=10, consumerName=f0c65, address=/<IP_ADDRESS>:32911}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.Consumer - Disconnecting consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=5, consumerName=7f82f, address=/<IP_ADDRESS>:39763}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers - Removed consumer Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=18, consumerName=1aebe, address=/<IP_ADDRESS>:33045} with pending 0 acks
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.Consumer - Disconnecting consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=18, consumerName=b44be, address=/<IP_ADDRESS>:44907}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers - [persistent://{tenat}/{ns}/{topic name} / {subscription}] Trying to remove a non-connected consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=5, consumerName=082c9, address=/<IP_ADDRESS>:34293}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.Consumer - Disconnecting consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=10, consumerName=a2fc6, address=/<IP_ADDRESS>:54177}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers - [persistent://{tenat}/{ns}/{topic name} / {subscription}] Trying to remove a non-connected consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=18, consumerName=b44be, address=/<IP_ADDRESS>:44907}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.Consumer - Disconnecting consumer: Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=18, consumerName=1aebe, address=/<IP_ADDRESS>:33045}
2024-03-13T07:47:36,074+0000 [pulsar-inactivity-monitor-25-1] INFO  org.apache.pulsar.broker.service.persistent.PersistentDispatcherMultipleConsumers - Removed consumer Consumer{subscription=PersistentSubscription{topic=persistent://{tenat}/{ns}/{topic name}, name={subscription}}, consumerId=10, consumerName=a2fc6, address=/<IP_ADDRESS>:54177} with pending 0 acks
2024-03-13T07:47:36,186+0000 [pulsar-io-4-22] WARN  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://{tenat}/{ns}/{topic name}] Attempting to subscribe to a fenced topic

The logs were printed on our cluster(2.11.2)

The consumer {clientCnx <IP_ADDRESS>:44907, consumerId: 18} has been removed twice when calling dispatcher.disconnectAllConsumers.[1]
Pulsar printed Trying to remove a non-connected consumer when removing the consumer {clientCnx <IP_ADDRESS>:44907, consumerId: 18} at the second time, which means this consumer is duplicated in dispatcher.consumerList.[2]
Once the log "Trying to remove a non-connected consumer" is printed, the closeFuture of dispatcher will never be completed, leading to the process of topic.delete being stuck.
The topic stays in a fenced state.

[1]: dispatcher.disconnectAllConsumers
public synchronized CompletableFuture<Void> disconnectAllConsumers() {
  consumerList.forEach(consumer -> consumer.disconnect(isResetCursor, assignedBrokerLookupData));
}

[2]: dispatcher.removeConsumer
public synchronized void removeConsumer(Consumer consumer) throws BrokerServiceException {
    // decrement unack-message count for removed consumer
    addUnAckedMessages(-consumer.getUnackedMessages());
    if (consumerSet.removeAll(consumer) == 1) {
        consumerList.remove(consumer);
        log.info("Removed consumer {} with pending {} acks", consumer, consumer.getPendingAcks().size());
        if (consumerList.isEmpty()) {
            if (closeFuture != null) {
                closeFuture.complete(null); // Once the log "Trying to remove a non-connected consumer" was printed, it means the closeFuture will never be completed.
            }
        }
    } else {
        log.info("[{}] Trying to remove a non-connected consumer: {}", name, consumer);
    }
}

Modifications
I haven't found the logic of repeating consumer in dispatcher.consumerList yet(it may caused by a consumer that has been added twice, and dispatcher.consumerSet merged two adding), I just fixed the follow-up issue.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: x

Codecov Report
Attention: Patch coverage is 92.85714% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 73.65%. Comparing base (bbc6224) to head (b709898).
Report is 65 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #22270      +/-   ##
============================================
+ Coverage     73.57%   73.65%   +0.07%
+ Complexity    32624    32252     -372
============================================
  Files          1877     1887      +10
  Lines        139502   139458      -44
  Branches      15299    15294       -5
============================================
+ Hits         102638   102714      +76
+ Misses        28908    28791     -117
+ Partials       7956     7953       -3

Flag
Coverage Δ

inttests
26.89% <50.00%> (+2.30%)
:arrow_up:

systests
24.54% <50.00%> (+0.21%)
:arrow_up:

unittests
72.92% <92.85%> (+0.07%)
:arrow_up:

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

Files
Coverage Δ

...sistent/PersistentDispatcherMultipleConsumers.java
74.37% <92.85%> (+0.04%)
:arrow_up:

... and 104 files with indirect coverage changes

It looks like we don't need this PR if we follow this https://github.com/apache/pulsar/pull/22283#pullrequestreview-1951994551 to fix the issue. I have tested on my laptop.

Changed the implementation: Just add a defensive code to avoid the topic not being unloaded anymore: remove the consumers which are not mismatched between consumerSet and consumerList, and print an error log

/pulsarbot rerun-failure-checks


Fix missing export for serverSupabaseSession

Types of changes

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

Description

Add missing export for server session which was added in: https://github.com/nuxt-modules/supabase/pull/338/files
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

Hey @mubaidr, thanks to mention this oversight! However I close this PR since I've made other changes to fix it: https://github.com/nuxt-modules/supabase/commit/9cfeb8726d562c5aac6fe1efa7dd1664bc39ed66
I'll provide a release

Hey @mubaidr, thanks to mention this oversight! However I close this PR since I've made other changes to fix it: https://github.com/nuxt-modules/supabase/commit/9cfeb8726d562c5aac6fe1efa7dd1664bc39ed66
I'll provide a release

Should be good in v1.2.2


Add a working example of a radio-group componet

What does it do?
This PR adds everything needed to get the form-radio-group component to work with the updated styles for radios and checkboxes.
I've tried to add as much detail as possible in the commit history as to why I'm making these changes.
selection-buttons.js requires parent form element
If it doesn't exist, the selected class isn't removed when a new radio button is clicked.
I've added two properties to the config, openWrapper and closeWrapper to set the parent opening and closing elements.
selection-buttons.js requires jQuery
I've included Google-hosted jQuery, this is so we don't have to copy jQuery into the app.
a js-enabled class must be applied to the preview layout
The styles for the custom radio buttons and checkboxes are only applied if javascript is available. This means that js-enabled must be set in the preview layout, this functionality was previously set by govuk_template. It would be nice to use has- instead for state-based classes, we can do this later.
components don't yet initialize themselves
For now, an extra property has been defined in the config file for a component initScript to allow configuration on a per-component basis.
the setup is defined within context
If it sits outside of context, it won't work.
Screenshots (if appropriate):
Old radio buttons:

New radio buttons:

What type of change is it?

New feature (non-breaking change which adds functionality)

Good job of highlighting the JS component issues we need to fix, they're really clear. 👍
Happy for this to be merged.


Adding SARIF support

Use Case
Adding SARIF support to the linter output.
Additional Context
For general information about SARIF: https://sarifweb.azurewebsites.net/
Describe the Solution You Would Like
Hello! We are working on adding SARIF support for puppet-lint as in ongoing PR https://github.com/puppetlabs/puppet-lint/pull/40
A proper SARIF requires a few more additional information in the tool,
In addition to the current changes to support basic SARIF, we are proposing a few changes, these proposed changes are not yet in the PR, we would like to confirm with repo maintainer first.

SARIF supports an opaque, stable id for every check, and a friendly readable name. The readable name is useful to communicate information to users in the IDE, etc. I can see the tool currently has the “check” field which can be used as a rule name e.g. “variable_contains_dash”. If you like, we can propose stable rule ids for your checks, e.g., ‘PL1001’, ‘PL1002’, etc.

(detail changes: go through all the plugins add a new property check_id => "PLXXXX", and change the code so that it can be passed to the result SARIF file as rule id)

The SARIF recommendation for friendly rule names is to use Pascal-Casing, e.g., ‘VariableContainsDash’ rather than ‘variable_contains_dash’. If you’d like that change, I can make it. The benefit is that your rule names will be more consistent with others when aggregated tool results are displayed in a viewer. There’s an argument for leaving things as is with an existing tool, however, and many scripting linters in particular use the convention you current have.

(detail changes: we do not suggest to change your rule/check name since it is already being used to do the check suppressions and likely other usages, we should probably keep it as it is currently to avoid breaking users. This item is as fyi.)

SARIF recommends specifying the entire region of problematic code and we’re currently missing the line-end and column-end data. For this case, the implied region begins with the starting column and extends through the current line. I propose to add them to your results but will need to figure out how to get this information for each plugin.

(detail changes: for each plugin output, add :lineEnd and :columnEnd side by side with the current :line and :column)

SARIF recommends injecting the literal, precise snippet of text that is regarded as problematic into the log. Doing this maximizes the ability of a result matching API to track issues run-over-run when there is code drift (i.e., the literal line locations may have changed, but the precise textual match in a baseline log may be useful to find the current location of the problem.

(detail changes: If we add the ending line and column mentioned in No.3, we should be able to retrieve the code snippet using the beginning and end.)

SARIF also recommends adding a ‘context’ region to the log file, which is text that includes one or two lines above and past the literal vulnerability. Adding this data maximizes the ability of a web viewer to provide a good display of the problem (even when an enlistment isn’t available). This context region also turns out to be very helpful for fingerprinting scenarios, the hash of this data can be very stable run-over-run even as code changes.

(detail changes: If we add the ending line and column mentioned in No.3, we should be able to retrieve the code snippet using the beginning line -1 and ending line + 1. )

SARIF recommends populating logs with format string in the rules table and that each result specify the arguments to be injected into that string (rather than creating a fully formed user-facing string for each result). This is mostly done in order to minimize log file size, as it avoids repeated static content. Taking this approach also encourages tools to actually emit dynamic arguments which provide details that can uniquely identify a finding, which is much more helpful in the IDE for browsing multiple results (as opposed to seeing that same static string repeated for each logically unique problem). As an example, for a string like ‘TokenA not in ModuleNameB module layout, we would create a message template like ‘{0} not in {1} module layout’ in the ‘rules’ table, and the corresponding message would store [“TokenA”, “ModuleNameB”] in the result args property.

(detail changes: for each plugin output, change the message property into 2: message_template, message_data; or add these 2 new properties and keep the existing message property. )

SARIF recommends that user-facing strings end in a period and also suggests that dynamic data is encapsulated in single quotes where that data refers to variables, etc. So this would be the resulting recommended string in the SARIF world: ‘TokenA’ not in ‘ModuleNameB’ layout. This standard again helps aggregating viewers to maintain some consistency in appearance for bundled results. The apostrophes help clarify to users the essential data for identifying the root cause of a specific result.

(detail changes: for each plugin output, change the message text so that it ends with "." and also add single quotes, and make the sentence start with Capital letter.)

Added in #40


Test: not use yahoo.com as test cases, for IP would be permanently de…

…ferred

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 85.714%

Totals

Change from base Build<PHONE_NUMBER>:
0.7%

Covered Lines:
522

Relevant Lines:
609

💛  - Coveralls


No option for completely removing testing docs

Hi, I need to delete two test docs but I can't find the option in the UI. Could you please remove them completely? Their names are: "ScrapinghubTest" and "ScrapinghubTests". They are really messing with our official docs in search engines.
Thanks in advance.
cc: @gregmuellegger

They should be removed when they are deleted from the site. We had an issue with things not being deleted properly for a time, so they might have gotten caught there. What are the URL's?

URL's are:

http://scrapinghubtest.readthedocs.org
http://scrapinghubtests.readthedocs.org

Thanks in advance.

Those projects still exist on the site. Delete them in the "Admin" section
of the project, at the bottom of the Settings tab.
On Wed, Sep 16, 2015 at 12:54 PM, Andrés Pérez-Albela H. <
<EMAIL_ADDRESS>wrote:

URL's are:

http://scrapinghubtest.readthedocs.org
http://scrapinghubtests.readthedocs.org

Thanks in advance.
—
Reply to this email directly or view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/1656#issuecomment-140868559
.

--
Eric Holscher
Maker of the internet residing in Portland, Oregon
http://ericholscher.com

Hey @ericholscher, thanks for your prompt reply. I've deleted both of them but the docs still appear at:

http://scrapinghubtest.readthedocs.org
http://scrapinghubtests.readthedocs.org

Hmm, we must have not fixed this. I have removed them by hand for now.

@ericholscher thank you very much.

Is this still an issue? I've tried to delete an account and the pages still seems to be up (maybe they take a while?). Specifally, here.

http://pycbc.readthedocs.org/


fix security issue

introduce in<EMAIL_ADDRESS>https://app.snyk.io/org/aguacongas/project/13301f5e-fe26-46c2-a0f2-807fa36590c4

:white_check_mark: Build TheIdServer 4.6.5-user-ole1-0050 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/0460d9eb98 by @aguacongas)


Timepicker minutes field lets you save a string value.

In minutes fields if you put a number followed by string(ex 9o), it will let you save it without validation.

Closing due to #5085 being more clearer on issue.


iap additions

This supersedes https://github.com/fastlane/fastlane/pull/20996.  @vanniktech expressed a desire to get these changes into master.  The original author of the previous PR isn't responding.  Tbh, I haven't used these since last summer BUT I do plan on using them in our new title very soon (probably in ~2 months).  Here's is a PR with "Allows edits by maintainers" set to true so the maintainers can get this in faster if they so desire.
If you want to wait for me to resolve the merge conflicts, it probably won't be for at least another 2 months.  But please feel free to make any changes yourself.  I hope this helps you out @vanniktech :)

I was trying it out using pry but I didn't get far:
my_id is from the return of Spaceship.app.find('com.vanniktech.yatzy.ios') which succeeded.
However when running this:
Spaceship::ConnectAPI.get_in_app_purchases(:app_id => "my_id")

it yielded:
[54] pry(#<Spaceship::Playground>)> Spaceship::ConnectAPI.get_in_app_purchases(:app_id => "8G9HJ2SL94")
Spaceship::UnexpectedResponse: The specified resource does not exist - There is no resource of type 'apps' with id '8G9HJ2SL94'

am I doing something wrong? This is my Gemfile:
source "https://rubygems.org"

gem "pry"
gem "fastlane", :git => "https://github.com/TCROC/fastlane", :branch => "tcroc/iap"

@vanniktech
I'm not sure if you still need it, but here's what I do, for what it's worth:
app = Spaceship::ConnectAPI::App.find(bundle_id) pry(app.get_in_app_purchases())


compilebench: print both wall and user time elapsed

@bradfitz or @rsc please to review.
benchstat does the right thing with user-ns/op, and benchcmp ignores it, which is good enough.
Sample output:
$ compilebench -alloc
BenchmarkTemplate 1 415676545 ns/op 497528000 user-ns/op 57576960 B/op 504773 allocs/op
BenchmarkUnicode 1 184991575 ns/op 255675000 user-ns/op 41150400 B/op 400863 allocs/op
BenchmarkGoTypes 1<PHONE_NUMBER> ns/op<PHONE_NUMBER> user-ns/op 192223776 B/op 1511426 allocs/op
BenchmarkCompiler 1<PHONE_NUMBER> ns/op<PHONE_NUMBER> user-ns/op 843172176 B/op 6122181 allocs/op
BenchmarkMakeBash 1<PHONE_NUMBER>4 ns/op
BenchmarkHelloSize 1 557056 text-bytes 128288 data-bytes 901024 exe-bytes
BenchmarkCmdGoSize 1 6225920 text-bytes 281088 data-bytes 9640396 exe-bytes

benchstat almost did the right thing. https://github.com/rsc/benchstat/pull/5 fixes it.


I think the results are not correct

Describe your bug here.

I think there is a bug here, I got 86% and it sends me to the perfect result.
Command Prompt/Terminal logs ()
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

thats because you fc'ed it

thats because you fc'ed it (the results screen is based on how many misses the player has)

have you ever considered trying that in V slice 0.5.2? Because I’m sure you haven’t, the animation is based on the percentage, not the misses

You FC'ed a song. Rating is based on accuracy, but getting FC overrides it to always give "perfect"


Add BitcoinUnlimited in the peer graph

Thanks for the PR, admittedly the code doing the stats generation and display is pretty gnarly!
I have one slight alteration for you - can you add the Unlimited entry at the end of the arrays?
I'm going to be offline for two weeks from Friday (10th February) - in case you commit later than that, I'll pick things up when I'm back online :)

Done!

ping @craigwatson - want it also ^^

Apologies for the delay in getting this merged!


Election should say "ended" if you visit it after it ends

The election is marked "completed", so the tenses of the start/end time listed at the bottom should be "started" and "ended"

I don't follow?

@jberkus Just stumbled over this. I think what OP meant was that in the screenshot, the last line reads:

Voting starts at 2022-10-03 UTC and ends at 2022-10-16 11:59:59 UTC.

However, the screenshot was clearly made after the election was over (as it says "Completed" below the heading). So "starts at" and "ends at" are confusing. So for completed elections, the text should change as follows:

Voting startsstarted at 2022-10-03 UTC and endsended at 2022-10-16 11:59:59 UTC.

Makes sense.  That seems like a good small change for a new contributor, so reopening.


Providing Chip finishing and filler generation instructions

Added:
finishing.rst
finishing/filler.rst

could you please move the PR to latest branch?


Remove #ifdefs for handling compilation with Visual Studio < 2015

Follow-up to https://github.com/godotengine/godot/pull/48903.
Godot 3.3 and later require Visual Studio 2017 to be compiled. Reference with MSVC macro versions: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros

Thanks!

Cherry-picked for 3.4.


Example Local Agent Configuration

Is it possible to demonstrate a local agent configuration?
Playbook
- hosts: local-bamboo-agent
  become: yes

  pre_tasks:
    - name: Ensure Apps Folder Exists
      file:
        path: "{{ item }}"
        state: directory
        owner: root
        group: root
      with_items:
        - /apps
        - /apps/mvn

    - name: Maven 3.5.2
      unarchive:
        src: http://apache.claz.org/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
        dest: /apps/mvn
        remote_src: yes
        creates: /apps/mvn/apache-maven-3.2.5/bin/mvn

  tasks:
    - name: mimacom.bamboo-agent
      include_role:
        name: mimacom.bamboo-agent
      tags:
        - local_bamboo_agent

Group Var
install_jdk: false
bamboo_agent_remote: false
bamboo_master_user: bamboo
bamboo_agent_npmrc: ""
bamboo_agent_maven_settings: ""

bamboo_agent_capabilities:
    - name: http://apache.claz.org/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
      binary_path: /apps/mvn/apache-maven-3.2.5/bin
      symlinks: []
      properties: []

This is also using your bamboo role to actually install bamboo, then Im running this agent role against the same instance.  Playbook runs without error, but I have nothing showing in the agent configuration.

Only a remote agent is configured and visible as "agent" in the Bamboo GUI. This is especially useful if you use properties. I didn't find a way to configure local agents using official Atlassian interfaces. As far as I know, this isn't supported.

OK.  So adding a "bamboo_agent_capabilities:" section for a local agent, does nothing?  Just want to be sure Im reading that correctly.
Thanks for the update as well, your playbooks have saved me a decent amount of time.  If there is a better place for discussion, outside of github issues please let me know.
Thanks,

It does indeed (or at least, it should :)). In your example it should add the path /apps/mvn/apache-maven-3.2.5/bin to the bamboo service. This allows you to setup bamboo tasks without specifying a path (if needed). Only properties is ignored on local agents.
Feel free to edit README.md to explain better.

I am not getting anything in the UI pertaining to the agents.  Ive tried to include all the info I could here.
https://pastebin.com/8pfgDDsL
I am wondering if its actually related to an error I am seeing in catalina.out, which I have included in the bottom of the paste bin.  Since the playbook appears to be executing, and the mvn files do indeed exist.

It doesn't configure anything on the UI, it does only configure the Linux service.
Check /etc/systemd/system/bamboo.service, the PATH variable will be populated accordingly.

cat /etc/systemd/system/bamboo.service
[Unit]
Description=bamboo
After=syslog.target network.target
[Service]
Environment=PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin:/bin
Environment=HTTP_PROXY=
Environment=HTTPS_PROXY=
Environment=NO_PROXY=
Type=forking
User=bamboo
Group=bamboo
ExecStart=/opt/atlassian/bamboo/atlassian-bamboo-6.2.3/bin/start-bamboo.sh
ExecStop=/opt/atlassian/bamboo/atlassian-bamboo-6.2.3/bin/stop-bamboo.sh
[Install]
WantedBy=multi-user.target

Sorry for my late answer. Does this issue still apply? I can send you an invitation link to our company chat, which might be a bit easier for Q&A things.
The ansible role was designed initially to install capabilities (using yum, pip, ...) and to register them into Bamboo. Later I realized that it's useless to let a ansible role install your capabilities. People might use their own tools or have their own way to install capabilities. This role therefore should only be used for installing a local or remote agent. On a remote agent it would also set a capability in the UI:
https://confluence.atlassian.com/bamboo/defining-a-new-executable-capability-289277164.html
The role does not register a capability in the UI on a local agent (because it's not supported by Atlassian), but it should add your binary_path to the $PATH variable, see:
https://github.com/mimacom/ansible-role-bamboo-agent/blob/master/templates/bambooagent.sh.j2
I see that the PATH variable in the systemd service is not populated correctly:
https://github.com/mimacom/ansible-role-bamboo-agent/blob/master/templates/bambooagent.service.j2
This might be considered as an issue which has to be fixed.

Whoops, I just realized that my browser search didn't work correctly. The PATH should be set in systemd service aswell. I guess we have to do some investigation for your infrastructure to find out what went wrong. Tell me if you want a chat invitation or write me on Keybase.io .


How to undo changes of v5 from 3/12/23?

I have a limited Hotspot plan on a phone running andorid 10.
Without realize that you just posted a new v5 Magisk module, I installed the v5 from 3/12/23 and it appeared to work (the "remaining hotspot data" doesn't decrement)
However, I need to revert the hotspot back to the original "limited" state, but even after "removing" this module from magic and doing a reboot, the "remaining hotspot data" is still staying the same (as if the module is still loaded and functioning).
I thought that uninstalling a magisk module will return the phone to to pre-module install state.
So, how can I get the hotspot working as it originally was?

I added Magisk module uninstall support in v6, so this now should be fixed.

I am using stock Android 10 pixel 4a (non-5G).
My cellular service includes hotspot functionality, so I don't want to totally disable it, I just want to return it to the original "limited" functionality.
So, how can I do that?

Reinstall Unlimited Hotspot to get v6, then uninstall it, and it'll do that for you.

I am a little confused about something and I just want to make sure I understand what you are saying correctly so I won't accidently mess up my phone's network settings...
With my general knowledge of typical windows install/Uninstall processes, the uninstall process will simply "reverse" the changes that the "install" did.
And a quick glance of your uninstall.sh (again I have limited unix/java experiance) looks like it is taking advantage of a feature in android that allows the uninstall process to reverse the original changes that the install script did - meaning the uninstall process does not need to know what the original values for each setting were because android kept a copy of them and it is then instructed to restore them.
If this understanding is correct, then thats pretty cool!
However, I did notice that the install script of the 3/12/23 v5 was different than the v5 you posted a few days ago, so in your uninstall script you specifically have a section called "Specific to Unlimited Hotspot v5 only:" and I just wanted to make sure you are including all the lines needed to undo the changes that the 3/12/23 v5 did and not just the v5 you posted a few days ago.
So does the current v6 uninstall undo all the changes that the 3/12/23 v5 did?
(if you need a copy of the 3/12/23 v5, let me know and I can post a link)

It removes the prop(erty), and the OS itself sets it again to its default value, but only if it was used in the first place.
The v4 version is also uninstalled, see here for that v4: https://github.com/mohamadxmuhaimin/unlimited-hotspot/blob/master/service.sh

I never installed v4, just the v5 from 3/12/23 (not the v5 from a few days ago).
I installed v6 and uninstalled it, but the hotspot data usage still does not decrement as it originally did.
Remember, the v5 you had posted a few days ago was significantly different than v5 from 3/12/23, so is it possible additional reset lines need to be added to the v6 uninstall script?

Open your terminal emulator and run: getprop | grep tether, those are the only things I've changed in v4, v5, and v6 that would cause the hotspot to not decrement like that.
If they're still there, try removing it first with resetprop -d net.tethering.noprovisioning, then if that doesn't work do resetprop -p -d net.tethering.noprovisioning and so on for the others if needed.
I'm thinking I should manually set those instead of using OS defaults, since those that have to install Magisk aren't going to be flashing alternative OSes that stop Android from saying you're using a hotspot to begin with.

I am a linux novice, so I don't know how to intepret this..
I opened a terminal and got the "$" prompt.
I entered "get prop | grep tether" ( | = pipe char)
I clicked return and got the response " 1| "
What does that mean?

Means grep failed (1) to find anything. It's getprop and not get prop however.
I'd try doing: su, then resetprop tether_dun_required 1; resetprop net.tethering.noprovisioning true; resetprop tether_entitlement_check_state 1 to see if that works.

I recently cloned my phone due to the original phone's battery going bad and fortunately I never installed your module on that old phone, so I was able to do the "getprop | grep tether" on it and it also returned nothing, so something else changed that is causing the hotspot to not decrement for some reason.
But I did find a possible bug with your uninstall script....It contains the "-d" option, which I'm assuming is suppose to delete the specified property. But my device did not recognize that option because when I installed your v6 module, it made two persistant changes (quickpoweron, warmboot) that still existed after doing an uninstall of the v6 module, so I wanted to delete them to see to try to bring my phone back to the pre-v5 condition.
In looking at this page (https://topjohnwu.github.io/Magisk/tools.html) it appears that "--delete" (instead of "-d") should be used to delete properties and sure enough, when I used "-p --delete" for those two properties, they were permaanently deleted from my device.

Thank you for notifying me of that, v7 will use --delete instead of -d.


Update consumer to 4.3.10 in java8

Updates au.com.dius.pact:consumer from 4.1.38 to 4.3.10.
Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "au.com.dius.pact", artifactId = "consumer" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #227.


copr: Implement SET support for MAX/MIN/SUM

Signed-off-by: Xuanwo<EMAIL_ADDRESS>What problem does this PR solve?
Implement SET support for aggr MAX/MIN/SUM
Changes

Rename T: Extremum to E: Extremum to avoid confusing between TT, T and T, E

Check List
Tests

Unit test
Integration test

cc @skyzh @andylokandy @zhongzc , PTAL

@skyzh Give me a /merge please~

/merge


Let's not pwn the attacker

Upload feature allowed unrestricted file upload by sending ../../../var/www/html/webshell.php as a filename.
However, exploitability is rather unrealistic in the context of this tool. :wink: But staying with best practices is still great :)
(Besides, fixed malformed HTML)

good catch, thx

Great :) BTW, nice work, can't wait to try the tool in practice!


Update iOS container and form to be unowned

Change-Id: Ia972140d37db6a7b0d51ee2bdc5be9264456b9f7

Note this is a work in progress and needs to be fully tested.


Difficulties access remotely Kubeflow dashboard using socks

Dear Sir,
I have been looking around a solution to access remotely the dashboard (when using a ubuntu server platform for instance).
I have been following section 3 of https://charmed-kubeflow.io/docs/dashboard and the hints in tickets https://github.com/canonical/microk8s/issues/1243 and https://github.com/canonical/microk8s/issues/2228, but I am unable to get access, while the connection to the remote kubeflow platform to enable the socks proxy return the following messages while trying to access to: http://172.16.XX.XX.nip.io/, where 172.16.XX.XX is the IP address of the server or http://<IP_ADDRESS>.nip.io/
ssh -D 9999<EMAIL_ADDRESS>...
* Documentation:  https://help.ubuntu.com
* Management:     https://landscape.canonical.om
* Support:        https://ubuntu.com/advantage
channel 24: open failed: connect failed: open failed
channel 25: open failed: connect failed: open failed
channel 25: open failed: connect failed: open failed
channel 14: open failed: connect failed: open failed
channel 15: open failed: connect failed: open failed
channel 9: open failed: connect failed: Connection timed out
channel 10: open failed: connect failed: Connection timed out
channel 4: open failed: connect failed: Connection timed out
channel 12: open failed: connect failed: Connection timed out
channel 13: open failed: connect failed: Connection timed out
channel 17: open failed: connect failed: Connection timed out
Any clues or alternatives?
Thanks very much,

Hello @jrgirona the ip that is used with nip.io needs to be the IP of the istio-ingressgateway loadbalancer service. You need to set that Ip (with nip.io at the end) in both public-url configurations in dex-auth and oidc-gatekeeper. Once that is done you should be able to access the dashboard.  Please let me know if you are still having issues.

Hi Dom,
Pls let me an additional question, what's the way to set up the istio-ingressgateway IP? I undertsnad you mean the external-IP which is in pending status
$microk8s kubectl get svc istio-ingressgateway -n kubeflow
NAME                   TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                                                                                AGE
istio-ingressgateway   LoadBalancer   <IP_ADDRESS>        15020:31067/TCP,80:30962/TCP,443:32011/TCP,15029:31769/TCP,15030:32101/TCP,15031:31752/TCP,15032:30819/TCP,15443:30533/TCP,15011:30321/TCP,8060:30189/TCP,853:31059/TCP   67d
Thanks very much,
Ramón

Hey @jrgirona
Istio-ingressgateway creates a loadbalancer service, this means you are required to have some kind of loadbalancing in your Kubernetes cluster. In microk8s we use metallb for this. If you don't have a way of setting up loadbalancing you can patch the service to NodePort or ClusterIP.

Hello @jrgirona have we been able to unblock you? I will for now close the issue as the initial comment has been addressed.

Hi Dom,
Unfortunately not. I have decided to start exploring Kubernetes in books so
I am more aware about the services provided and how to change the
configuration.
Regards
On Thu, Sep 29, 2022 at 2:45 PM DomFleischmann @.***>
wrote:

Closed #483 https://github.com/canonical/bundle-kubeflow/issues/483 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/canonical/bundle-kubeflow/issues/483#event-7486416431,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGG4YNIL6GS3W5DB6C7CH3WAWFMZANCNFSM6AAAAAAQD5UDMM
.
You are receiving this because you were mentioned.Message ID:
@.***>


01_stage does not finish since 778523ab94951542a57f7961d678e30dc2d1eb22

Running ./stage 01 does not finish after 778523ab94951542a57f7961d678e30dc2d1eb22.
(I bisected it using git bisect bad: 6462c1c9ccd6796e2bc18a8a01faef18217c823c, good: d5212df1499c0e6186753723bd5ccbf16fd5cde7)
Reproduce:
export CTFD_URL="https://ctf.kitctf.de"
mkdir /tmp/gpnctf-21/
export PAGES_REPO=/tmp/gpnctf-21/
export GITHUB_REMOTE="git@github.com:intrigus-lgtm/gpnctf-21.git" # this should not matter at all
./stage 00
./stage 01

In my case, the log ends like this and it just hangs:
7 pending pages
visiting: https://ctf.kitctf.de/users/1335
done: /tmp/gpnctf-21/users/1335.html
6 pending pages
visiting: https://ctf.kitctf.de/users/1336
done: /tmp/gpnctf-21/users/1336.html
5 pending pages
visiting: https://ctf.kitctf.de/users/1339
done: /tmp/gpnctf-21/users/1339.html
4 pending pages
visiting: https://ctf.kitctf.de/users/1348
done: /tmp/gpnctf-21/users/1348.html
3 pending pages
visiting: https://ctf.kitctf.de/users/1349
done: /tmp/gpnctf-21/users/1349.html
2 pending pages
visiting: https://ctf.kitctf.de/users/1350
done: /tmp/gpnctf-21/users/1350.html
1 pending pages
visiting: https://ctf.kitctf.de/users/1351
done: /tmp/gpnctf-21/users/1351.html

I will produce an strace log the next day in case you can not reproduce this.
(I wanted to create an issue for the glob stuff, but you already fixed that :tada:)

I got:
56 pending pages
visiting: https://ctf.kitctf.de/teams
done: /tmp/gpnctf-21/teams.html
done: /tmp/gpnctf-21/themes/factory/static/assets/teams_list.727a715a.js
106 pending pages
visiting: https://ctf.kitctf.de/scoreboard
https://ctf.kitctf.de/scoreboard /tmp/gpnctf-21/scoreboard.html
ProtocolError: Protocol error (Network.getResponseBody): Request content was evicted from inspector cache
    at new Callback (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:62:35)
    at CallbackRegistry.create (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:108:26)
    at Connection._rawSend (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:224:26)
    at CDPSessionImpl.send (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:433:78)
    at /home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js:97:100
    at async /home/zhuyifei1999/ctfd2pages/01_scrape/index.js:184:24
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

ProtocolError: Protocol error (Network.getResponseBody): Request content was evicted from inspector cache
    at new Callback (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:62:35)
    at CallbackRegistry.create (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:108:26)
    at Connection._rawSend (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:224:26)
    at CDPSessionImpl.send (/home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:433:78)
    at /home/zhuyifei1999/ctfd2pages/node_modules/puppeteer-core/lib/cjs/puppeteer/common/HTTPResponse.js:97:100
    at async /home/zhuyifei1999/ctfd2pages/01_scrape/index.js:184:24

Node.js v20.3.1

I did:
diff --git a/01_scrape/index.js b/01_scrape/index.js
index 93d6dde..0fd2e77 100644
--- a/01_scrape/index.js
+++ b/01_scrape/index.js
@@ -246,6 +246,14 @@ class PageHandler {
     const page = await this.browser.newPage();
     this.browseCompleted = new HeartBeat();

+    // Allow fetching large resources
+    // https://github.com/puppeteer/puppeteer/issues/1599#issuecomment-355473214
+    // https://github.com/puppeteer/puppeteer/issues/6647#issuecomment-1610949415
+    page._client().send('Network.enable', {
+      maxResourceBufferSize: 100 << 20,
+      maxTotalBufferSize: 200 << 20,
+    });
+
     this.setHooks(page);

     console.log('visiting:', this.pageUrl);

But it still seems to get stuck on scoreboard.

But it still seems to get stuck on scoreboard.

Seems to be caused by https://ctf.kitctf.de/stream. Is this a ctfd plugin?

Added this patch to ignore text/event-stream
diff --git a/01_scrape/index.js b/01_scrape/index.js
index 93d6dde..86f6a39 100644
--- a/01_scrape/index.js
+++ b/01_scrape/index.js
@@ -204,6 +204,30 @@ class PageHandler {
         }
       }
     });
+
+    // consider pages with text/event-stream failed since they never finish
+    // responding and cannot be archived.
+    page.on('response', (response) => {
+      const request = response.request();
+      const requestUrl = request.url();
+
+      let contenttype = response.headers()['content-type'];
+      if (!contenttype) {
+        return;
+      }
+      if (contenttype.includes(';')) {
+        contenttype = contenttype.substring(0, contenttype.indexOf(';'));
+      }
+
+      if (contenttype === 'text/event-stream') {
+        if (requestUrl.startsWith(this.parent.origin)) {
+          this.pendingRequests.delete(requestUrl);
+          heartbeat();
+
+          this.parent.completedPaths.add(this.parent.urlToPath(requestUrl));
+        }
+      }
+    });
   }

   async handleSpecials(page) {

After the above patch I ran it overnight. It did finish:
1 pending pages
visiting: https://ctf.kitctf.de/users?page=27
done: /tmp/gpnctf-21/users?page=27
7 pending pages
visiting: https://ctf.kitctf.de/users/1335
done: /tmp/gpnctf-21/users/1335.html
6 pending pages
visiting: https://ctf.kitctf.de/users/1336
done: /tmp/gpnctf-21/users/1336.html
5 pending pages
visiting: https://ctf.kitctf.de/users/1339
done: /tmp/gpnctf-21/users/1339.html
4 pending pages
visiting: https://ctf.kitctf.de/users/1348
done: /tmp/gpnctf-21/users/1348.html
3 pending pages
visiting: https://ctf.kitctf.de/users/1349
done: /tmp/gpnctf-21/users/1349.html
2 pending pages
visiting: https://ctf.kitctf.de/users/1350
done: /tmp/gpnctf-21/users/1350.html
1 pending pages
visiting: https://ctf.kitctf.de/users/1351
done: /tmp/gpnctf-21/users/1351.html
done: /tmp/gpnctf-21/files/2c30d6d694d70eaf77351188b8e3e276/ref4ctory.tar.gz
done: /tmp/gpnctf-21/files/4df80a13ec1695740d9b4c324da78d5d/diffHell.tar.gz
done: /tmp/gpnctf-21/files/9030c1f3e30f28cd5dd4b3df0a36d3d1/winterfactory.tar.gz
done: /tmp/gpnctf-21/files/ea3f8f7f51d1815ccd6fec82000cdaf6/number-lock.tar.gz
done: /tmp/gpnctf-21/files/21a8aa7daf8995989679cb6fcab5861f/one-true-pairing.tar.gz
[...]
done: /tmp/gpnctf-21/files/6be053e4c8ce505f571483609a4b8971/dot-shortage.tar.gz
done: /tmp/gpnctf-21/files/3d41512d0157132b1d604386d67abd33/icefox.tar.gz
done: /tmp/gpnctf-21/files/c7036f154b9e5f93853f0afd1cd02081/js.tar.gz
done: /tmp/gpnctf-21/files/41c99be924e06a092e315cb2703f37d5/type-this.tar.gz
+ git -C /tmp/gpnctf-21 add -A
+ commit_simple 'Initial commit: Add scraped site'
+ git -C /tmp/gpnctf-21 commit -m 'Initial commit: Add scraped site'
[main (root-commit) d463918] Initial commit: Add scraped site
 5507 files changed, 957196 insertions(+)
 create mode 100644 404.html
 create mode 100644 api/v1/challenges.json
 create mode 100644 api/v1/challenges/10.json
 create mode 100644 api/v1/challenges/10/solves.json
 create mode 100644 api/v1/challenges/11.json
 create mode 100644 api/v1/challenges/11/solves.json
 create mode 100644 api/v1/challenges/14.json
 create mode 100644 api/v1/challenges/14/solves.json
[...]

It works for me with the above patch :tada:
However, I have a problem in stage 05.
It looks like we added some extraneous space and the nodefinder does not work anymore.
I only had to change line 45, but for consistency maybe line 40 should also be changed.
diff --git a/05_easter_404/index.js b/05_easter_404/index.js
index ce1bfc6..8d2d866 100644
--- a/05_easter_404/index.js
+++ b/05_easter_404/index.js
@@ -42,7 +42,7 @@ const main = async function() {
   findReplace(
       'Powered by CTFd',
       'Powered by <s>CTFd</s> GitHub Pages',
-      (src) => textNodes.filter((node) => node.textContent === src),
+      (src) => textNodes.filter((node) => node.textContent.trim() === src),
   );
   findReplace(
       'https://ctfd.io',

Also what is this scoreboard plugin? It looks so cool

As far as I know It's based on https://github.com/itszn/ctfd-matrix-scoreboard-plugin/ but it has been modified.

Awesome! Thanks for testing!


Add recv_from_into_buf()

It would be nice to have a way to use recv_from without needing MaybeUninit, even if it's a little less efficient.
The code is trivial, IMO the hard part is coming up with a clear name for this method in comparison to recv_from. Any better options?
fixes #223

It would be nice to have a way to use recv_from without needing MaybeUninit, even if it's a little less efficient.

Yeah it's a problem I struggled with as well and basically postponed until someone complained, and here we are... TcpStream has it easy as it just implemented the io::Read trait. I don't really want to add &[u8] variants of all functions, as there are many of them for UdpSocket, see recv, recv_out_of_band, etc, having a duplicate of all them using &[u8] is a bit much...

The code is trivial, IMO the hard part is coming up with a clear name for this method in comparison to recv_from. Any better options?

In my higher-level crate I've created a Bytes trait that helps with this, but it's not possible to add a sound implementation that does &[u8] -> &[MaybeUninit<u8>] as that would allow safe code to write uninit bytes to &[u8].
I'm afraid that I don't have a good solution... Could use some more designs/opinions here.

Regarding the name, how about recv_buf_from ?  (I admit it is no longer following recv_from_ prefix, but it also has its advantages, I think)

@fujiapple852 I think the ReadBuf API (std::io::ReadBuf) would be the way forward, but we'll have to wait until it stabilises: https://github.com/rust-lang/rust/issues/78485.

Closing in favour of #366.


bl.ocks 4600693 is broken

steps to reproduce:
View https://bl.ocks.org/mbostock/4600693 in Chrome 51.0.2704.106 (64-bit) on OSX 10.11.5.
JS Error:
d3.v3.min.js:4 Uncaught TypeError: Cannot read property 'weight' of undefined

It is not broken in Chrome 49.0.2623.112 (64-bit) on OSX 10.6.8.
Must be caused by some change in Chrome between these versions.

I pushed a fix this morning and forgot to close this bug. The problem was this example depended on the data file of another example which I hmchanged to demonstrate a new feature in 4.0. I’ll try to avoid cross-example dependencies like this in the future!


Generate also standalone JSON Schema

Can you please also generate a JSON with just the JSON Schema?

I don't quite understand, could you elaborate a few points? The OpenAPI json is an "extended subset" of JSON Schema as far as I understand with some keywords that are the same between them, some unique to OpenAPI and vice versa. But both serve different goals and are mildly incompatible because of that.
Is this a request to create plain JSON Schema definitions of just the models (aka the "Components" in OpenApi) ?
If yes, would using something like this OpenAPI->JSON Schema converter on the already existing OpenAPI definitions here yield what you need or would it be missing some JSON Schema unique properties that you need?
If that also doesn't solve your issue, then I'd need to know which keywords of a potential JSON Schema definition you'd need filled out and then I can try looking how to fit that in.

Is this a request to create plain JSON Schema definitions of just the models (aka the "Components" in OpenApi) ?

Yes, exactly this.

If yes, would using something like this OpenAPI->JSON Schema converter on the already existing OpenAPI definitions here yield what you need

This works for me, thanks!
However, it would be great if they were provided directly in this repository; otherwise, I would have to maintain a separate project just for this.

Could you try doing the conversion and telling me if the result looks correct to you? If yes then I'll add the conversion as some automated github action step in here or something

I already did it, using the following script:
#!/usr/bin/env node

const FS = require('node:fs')
const { openapiSchemaToJsonSchema: toJsonSchema } = require('@openapi-contrib/openapi-schema-to-json-schema')

const topLevelType = 'RealmRepresentation'

function main (argv) {
  const inputFile = FS.readFileSync(argv[0], 'utf8')

  const oApiSchema = JSON.parse(inputFile, (key, val) => {
    return key === '$ref'
      ? val.replace('#/components/schemas/', '#/$defs/')
      : val
  })

  let schemaUri
  const defs = Object.entries(oApiSchema.components.schemas).reduce((acc, [id, schema]) => {
    const jsonSchema = toJsonSchema(schema)

    // It's the same for all, so just save the last one.
    schemaUri = jsonSchema['$schema']
    delete jsonSchema['$schema']

    acc[id] = jsonSchema
    return acc
  }, {})

  const bundle = {
    '$schema': schemaUri,
    ...defs[topLevelType],
    '$defs': defs,
  }
  delete bundle['$defs'][topLevelType]

  console.log(JSON.stringify(bundle, null, 2))
}

main(process.argv.slice(2))

package.json:
{
  "dependencies": {
    "@openapi-contrib/openapi-schema-to-json-schema": "^4.0.5"
  }
}

node ./convert.js OpenApiDefinitions/keycloak-21.0.0.json

I’ve already validated multiple realm exports against this scheme.

Neat, I'll work on this sometime next week then

I’ve created a project that provides JSON schemas for Keycloak (converted from your OpenAPI definitions): jirutka/keycloak-json-schema.


koord-manager: refactor oversale resource calculate logic.

Ⅰ. Describe what this PR does
In order to better support mid resource in the future, we refactored the reporting code for oversale resources and extracted the public functions that mid resources and batch resources may use.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[x] All checks passed in make test

cc @j4ckstraw @yangfeiyu20102011

@saintube PTAL thanks.

/approve


Articles in own repository

AFAIK, there's no way to manually trigger git pages build.
So:

merge this PR
if git pages build does not pull from submodules -> revert


L(T)

Once ice is added remember to update the definition of L(T)

And to change the Magnus formula in the saturation vapour pressure.


Remove version: VGN.VHUB version 2.3.15

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: https://cdn.vgnclub.com/device/download/win32/2.3.15/v-device-2.3.15.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 910)


ports in service doesn't work

Version: v0.3.0
Tried to create a service with specific port bindings
ports:
- "8080:8080"

also tried
ports:
- "<IP_ADDRESS>:8080:8080"

and the port bindings did not work as expected.

Fixed in v0.3.1


KerasClassifier does not check input shapes

Typically a Keras model will validate input shape before passing it through a model. Because of the way predictions are calculated in ART though this is not done:
https://github.com/IBM/adversarial-robustness-toolbox/blob/master/art/classifiers/keras.py#L215
On an architecture like inception_resnet_v2 this means that passing incorrect input shape will silently succeed, but should instead raise an error for user awareness and to make sure the correct weights are loaded.
Minimal Example:
import numpy as np
from art.classifiers import KerasClassifier
from tensorflow.keras.applications.inception_resnet_v2 import InceptionResNetV2

if __name__ == "__main__":
    classifier = KerasClassifier(InceptionResNetV2(weights="imagenet"))
    print("Input Layer", classifier._model.layers[0].output_shape)
    img_batch = np.zeros((1, 224, 224, 3))

    # This will succeed
    print("Image shape", img_batch.shape)
    predictions = classifier.predict(img_batch)

    # This will fail as expected
    predictions = classifier._model.predict(img_batch)

Hi @seanpmorgan Thank you for raising this issue! We will improve it in our next release 1.2.


WebRTC addon does not cache DNS result

I have a Frigate server running somewhere and connected it to Home assistant. To view it in the browser I installed this addon. After that, however, I found out, in my local DNS server, that Home assistant made almost 20000 DNS queries in 24 hours, all to the domain that my camera uses. Disabling WebRTC addon stops the flooding. Is there something I can set to force WebRTC cache the DNS result?
Thanks!

This component is for the addon and not the server itself. Can you file this against the server?


Create 2.45.0-rc.1

We've reverted back the enhancement on the api gzip handler that was using a different compress library. We saw on the benchmarks that prometheus was consuming noticeably higher cpu and memory.

Please update CHANGELOG

/prombench v2.44.0

/prombench cancel


add config for rocksdb disable WAL

Disabling WAL can improve performance, but may cause data lost when panics.
It may be only used for comparing the optimization WAL result, not in production.

I don't think we should enable configuration for disabling WAL, it's dangerous.


Interactive Rendering

Develope an application which uses llassetgen and displays GUI for interacting with the rendered image.

interactive colouring:

[x] font color
[x] background color

3D:

[x] pan
[x] zoom
[x] rotate

other:

[ ] button/dialog to load font
[ ] button/dialog to export fontatlas and correspondent data
[ ] dropdown list to choose Distance Transform Algorithm
[x] dropdown list to choose Anti-Aliasing / Supersampling
[x] toggle between Distance Field and Rendering Glyphs
[ ] visual comparison for different choices mentioned above

interactive colouring done in PR #37

panning, zooming and rotating done in PR #44

super sampling done in PR #48.

toggle between Distance Field and Rendering Glyphs done in PR #49

Following GUI Elements are part of PR #54
button/dialog to load font
button/dialog to export fontatlas and correspondent data
dropdown list to choose Distance Transform Algorithm
At this point, there won't be any parallel visual comparisons between different parameter constellations.
"visual comparison for different choices mentioned above" is obsolet.


Access ancestor control when updating group inside array

I might just be getting stuck in the typings but I can't find a way to access an ancestor (other than the immediate parent) when when updating a group inside an array.
Consider this:
interface Hoove {
  color: string;
}
interface Tail {
  length: number
}
interface Cow {
  hooves: Hoove[];
  tail: Tail;
}
interface Stall {
  cows: Cow[];
  width: number;
}
interface Barn {
  stalls: Stall[];
}

const barnUpdate = updateGroup<Barn>({
  stalls: updateArray<Stall>(updateGroup<Stall>({
    cows: updateArray<Cow>(updateGroup<Cow>({
      hooves: updateArray<Hoove>(updateGroup<Hoove>({
        color: (hoove, cow) => {
          // need stall here
          return hoove;
        }
      }))
    }))
  }))
})

When a hoove color is changed I'd like to update the cow.tail as well, but to do that I need the length of the stall it's in.
Is there a way to access it inside the color update function?
Thanks

Hi, this is easily achieved by using the "uncurried" version of updateGroup by making the stall state parameter explicit. So the solution is this:
const barnUpdate = updateGroup<Barn>({
  stalls: updateArray<Stall>(stall => updateGroup(stall, { // only change is in this line
    cows: updateArray<Cow>(updateGroup<Cow>({
      hooves: updateArray<Hoove>(updateGroup<Hoove>({
        color: (hoove, cow) => {
          // need stall here
          return hoove;
        }
      }))
    }))
  }))
})

@Toskv did this solve your problem? If so, please close this issue.

Hey, it's exactly what I was looking for.
Thanks


zlib: remove switch from in front of super()

needed for https://github.com/dlang/dmd/pull/8143

@WalterBright the segfault comes from Phobos -> https://issues.dlang.org/show_bug.cgi?id=18667
It's not blocked, it's a spurious segfault that appears on every ~10th run and a restart makes it go away.
Yeah I know it's not perfect, but apparently no one had had time to dive into 18667.


[PT Run > Calculator] Input validation improvements

Summary of the Pull Request
In the input validation method we block results for inputs that ends with some binary operators to not throw errors when the user didn't finished typing. This PR adds the following ones to the list: /, *, %
As addition this PR adds a division by zero check to show a better information to the user.

PR Checklist

[x] Closes: #20062
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[x] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Build local and test functionality. And run unit tests.

@jaimecbernardo
Ready for 0.62.0 release.

Bug in "Division by zero" check is fixed. PR is ready.