Rock-Paper-Scissor Project Added

This is my Rock-Paper-Scissor Project made with HTML,Css and Javascript language. It is fun game where player will be competing with Computer.It uses local storage to store the result of win,loss or draw of Player.Css adds some cool effect to the web page making it visually appealing.

Thanks @Shreyasb1015 for your pull request. @subhayudutta has already added a project similar to yours 😄. Could you maybe update the name of the project from Stone Paper Scissors game to Rock, Paper, Scissors game in the README.md file?

should i rename my project name?

should i rename my project name?

Actually just rename your project to Rock-Paper-Scissors-Game-V2 and then I will merge it 😄.

I have renamed my file.

I have renamed my file.
Could you also add your project to the README.md file 😄?

I have renamed my file.

Could you also add your project to the README.md file 😄?

Done. I have added my project.

My pleasure!


Create a project contract

Our group is creating a project contract to establish clear expectations, roles, and responsibilities among group members. This contract will help ensure accountability, effective communication, and a shared commitment to the project's success. It serves as a guiding document for our collaboration, helping us avoid conflicts and maintain quality throughout the project.

Gruppe 10 gruppekontrakt.pdf


(feature) Adding simpler format

Requirements
Following the idea of @urso on this discussion #229 it could be great to add a simpler format to have an easy way to configure some flags.
The first proposal are:
Always true
dev-flag:
  value: true  # can be an integer as well

A/B testing
new-feature:
  a/b-test:   # boolean flag that returns true for 60% of our users
    percentage: 60

These are examples, we may propose something different if needed.

@thomaspoignant I would like to work on this issue as a part of Hacktoberfest 2022

Considering we are changing the internal of the flag format (see the draft PR for this) I am not sure the project is in a good shape today for this issue.

As much as I like this idea, I will close it for now and reopen it if the needs comes again.


typo in installation instructions

It says:

docker-compuse up -d

when clearly it means:

docker-compose up -d

I tried to submit the PR but for some reason it would not authenticate me but this is so small I just put it here.

Thanks @ProjectRamo, just to be curious, what is the problem when raising a PR?

Sorry, I was not clear. I just cloned it locally without forking it to play around. On Sep 25, 2024, at 1:59 AM, Fynn Flügge @.***> wrote:
Thanks @ProjectRamo, just to be curious, what is the problem when raising a PR?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Update documentation around examples

Update documentation around examples and fix some issues encountered in code while testing out the examples.

@astoycos In example-bpf.md, there are two places that reference pushing images to remote repository, one has a blurb about it being required because bpfd doesn't support local builds. Let me know how this should be reworded with regards to your latest image changes. Not sure it will show up in diff, so search for push in the file.

@Billy99 It's basically still the same until we get #429 fixed
Then you could load a bytecode image with bpfctl and set imagePullPolicy to "Never"


Translate to other language

Can you please link files in voten, where need to translate to other lang.

There is no single translation file. You'll need to translate all .blade.php and .vue files.


[WIP] Admin can archive Artist-profiles

PT link
https://www.pivotaltracker.com/story/show/160217025
User story
As an Admin
In order to be in control of the content of the Artist profiles
I would like to be able to edit and delete Artist profile

Tasks

Add state to Performer: Active and archived
Admin can archive them
Add Archive-button to Artists profile only visible for registered user with Admin enum-role
Only display active Performers to users unless admin

New migrations
AddStateToPerformer

Pull Request Test Coverage Report for Build 1

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

Totals

Change from base Build 42:
3.5%

Covered Lines:
163

Relevant Lines:
186

💛  - Coveralls


Rework the drawing order algorithm

At the moment ClassicUO is using the same algorithm of UltimaXNA.
It adds a deferred entity over its base entity to avoid tile overlapping.
Each entity on a tile is sorted by its importance (effect > mobile > item > static > tile).
We need to write a better algorithm than this.

Done


Buck2 performance on single-file update in erlang project

Hi,
We're exploring porting our current build system from a mix of make/bazel/cargo/etc to buck2.  First task was to just get our current erlang code building, which was delightfully easy.   In particular, I like the automatic dependency checking that the erlang_application rule is doing, since that's something we are having to do ourselves as a pre-step before our current Bazel build.  However, I'm seeing a big performance issue if I touch a single erlang file.  It's a pretty big repo - around 3600 erlang source files with around 550k lines of code, but touching a single file takes around 30 seconds for the buck2 build to complete.
Running the build with no changes is almost instant.
Is this anything that anyone else has seen, or do I just have an abnormally large project?  Any pointers you can give would be much appreciated.

So, with unexpectedly slow builds there's basically two possibilities: 1. Something got rebuilt which you weren't expecting to get rebuilt, or 2. something that you were expecting to get rebuilt took longer than you thought it would. You can probably figure out which scenario you were in by running buck2 log critical-path after your command - this will tell you what buck2 was waiting on. If you want the exact commands that were executed, some grepping through buck2 log what-ran should give you that too.
If you can get similar information from another build system, it might be worth comparing the two to try and identify the cause of the relative slowdown.
Other than that, this is likely to require erlang specific expertise, which I have none of to offer. Will try and shop this around to some folks who might

Yeah, the output format of the critical path command could use improving.
The important thing is the first number that you see, which is how long that step took in microseconds. I'm a little bit suspicous of what's going on there, since we're only reporting a 15 second critical path for a 30 second command. If you do a similar build, what does buck say it's doing in superconsole during that time (buck2 log replay helps for this)?
An additional thing that you might do to help debug is manually run all the commands the whatran says were executed and see how long they took

Running the 4 commands gave timings of:
dependency_analyser: 0.173s
app_resource: 0.189s
dependency_finalizer: 0.293s
erlc: 0.219s
so nothing substantial there.  Console output looks something like:
[nix-shell:~/dev/norsk]$ buck2 build --console simpletty //:norsk-app
[2024-02-11T20:08:00.348+00:00] Build ID: 9cd38900-9529-4c94-a8cc-f7b9c3e8595d
[2024-02-11T20:08:00.348+00:00] File changed<EMAIL_ADDRESS>[2024-02-11T20:08:07.443+00:00] Waiting on buck2 daemon 9cd38900-9529-4c94-a8cc-f7b9c3e8595d...
[2024-02-11T20:08:07.443+00:00] Resource usage: CPU: 948%
[2024-02-11T20:08:07.443+00:00] IO: none
[2024-02-11T20:08:14.443+00:00] Waiting on buck2 daemon 9cd38900-9529-4c94-a8cc-f7b9c3e8595d...
[2024-02-11T20:08:14.443+00:00] Resource usage: <snapshot is stale>
[2024-02-11T20:08:21.543+00:00] Waiting on root//:norsk-app (prelude//platforms:default#213ed1b7ab869379) -- action (app_resource norsk-app.app(erlang-local)) [local_execute], and 1 other actions
[2024-02-11T20:08:28.543+00:00] Waiting on root//:norsk-app (prelude//platforms:default#213ed1b7ab869379) -- action (app_resource norsk-app.app(erlang-local)) [local_execute], and 1 other actions
[2024-02-11T20:08:35.643+00:00] Waiting on root//:norsk-app (prelude//platforms:default#213ed1b7ab869379) -- action (erlc workflow_metrics_standardInstruments@foreign.erl(erlang-local)) [local_execute]
[2024-02-11T20:08:36.554+00:00] Cache hits: 0%
[2024-02-11T20:08:36.554+00:00] Commands: 4 (cached: 0, remote: 0, local: 4)
BUILD SUCCEEDED

I also ran with --ui dice and this was the state at around 30s - those counters for BuildKey etc had been incrementing over the course of the 30s
[nix-shell:~/dev/norsk]$ buck2 build --ui dice //:norsk-app
File changed<EMAIL_ADDRESS>Build ID: 11ce9cce-4afc-4508-8206-c57b91cd1943
Dice Key States
    Key                                       ChkDeps  Pending    Done
----------------------------------------------------------------------
    BuildKey                                 |  5.0K  |    2   |    0
    DeferredCompute                          |  4.7K  |    0   |    0
    DeferredResolve                          |  4.7K  |    0   |    0
    PathMetadataKey                          |    0   |    0   |    1
----------------------------------------------------------------------
Command: build.                                                                                Remaining: 5.0K/5.0K. Time elapsed: 30.7s
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

after completion, this was the final state:
[nix-shell:~/dev/norsk]$ buck2 build --ui dice //:norsk-app
File changed<EMAIL_ADDRESS>Build ID: 17d51a6d-5a95-4858-b800-a1d4beb111f4
Dice Key States
    Key                                       ChkDeps  Pending    Done
----------------------------------------------------------------------
    BuildKey                                 |    2   |    2   |    3
    DeferredCompute                          |    3   |    0   |    0
    DeferredResolve                          |    3   |    0   |    0
    PathMetadataKey                          |    0   |    0   |    1
----------------------------------------------------------------------
Jobs completed: 18. Time elapsed: 35.4s.
Cache hits: 0%. Commands: 4 (cached: 0, remote: 0, local: 4)
BUILD SUCCEEDED

Final update from tonight - I just generated a BUCK file with around 1700 targets, one for each erlang source file (this is pretty much how we do things in our current bezel system).  Using that and my own rule for compiling the erlang, a build after a single-file change completes on 0.2 seconds, which is much more like it!  I wonder if it's some interaction with the dynamic_output stuff that the provided erlang_application rule is using?  I've not looked at the buck2 code at all, so this is purely a guess :)

Hi, I have context on the Erlang rules and I am trying to understand what's so slow here. Can you share some basic stats? How many applications, and how many modules per applications does your project approximately have?

I just generated a BUCK file with around 1700 targets

I think this will always be the fastest way to produce builds, since you are giving explicit dependencies for each module to buck2. For the Erlang rules we built, we aimed to make module dependencies discovered automatically based on the application dependencies, which creates some overhead. But 30s for a single file change seems excessive. I tried to reproduce this with disabled caches on local builds on a larger code-base, but am pretty far from 30s.

The  structure from an erlang perspective is probably a little unusual - our primary development language is Purescript, using purerl to compile the source purescript into erlang, and then onto a regular erlang release.  In the erlang world, post the purescript step, this turns into a single application with some 1700 erlang modules - probably larger than the average Erlang application!
In our current build system, we are using bazel and we have a pre-build step that generates a bazel BUILD file for each of the erlang modules, with their dependencies (code in that generator being very similar to what's present in the BUCK erlang rules, doing a parse of the source to detect includes, parse transforms etc).  That works ok, but bazel itself is not the fastest thing so we sit at about 8-10s for a single-file rebuild.
Was hoping with buck and the dynamic-outputs to avoid this extra step - and the erlang rules do pretty much exactly what we want.  My current buck2 test is just a single BUCK file with a single erlang-application, where the sources are just a glob into the purescript compiler's output directory.  Note that all of this is post the purescript compiler, so other than the context as to why we have such a large single application, there's nothing purescript-specific going on.
If there are any specific tests or stats that you'd like, I'd be happy to share

Thanks for the context, let me try to investigate on our side what could cause the slowdown, and come back to you.

Ah, I figured it out. This slowness was the result of an accidentally introduced lock in some core code. I've submitted a change internally and verified that using your repro, the rebuild time goes from 26s to 6s. I'll link the commit with a full description of the issue here once it lands

Actually, I have a more useful recommendation for you. Try setting
[buck2]
  dice = modern

In your root .buckconfig. DICE is our core incrementality engine, and this will switch you to a newer implementation (which will eventually become the default). That avoids this issue entirely.
The build is still a bit slower than I'd like, but at least now it's sort of reasonable at 5 seconds instead of being completely pathological

Oh wow, that's just awesome.  Updated my .buckconfig and my single-file rebuild on my main project is now 2s, that's very much a result!  Thanks for looking into this, much appreciated

Explanation of what went wrong is in the above commit. It may be the case that a master rebuild would allow you to not have to opt into modern dice anymore


Cannot compile with installed library

tried to copy the copy.cpp, changed the library name and compiled with flags. also, set permissions to video group but always get an error on compiling:
(both pycore library and libdrm custom library are installed as per instructions)
pi@raspberrypi:~/c++ $ g++ copy.cpp -lqmkl6
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to drm_v3d_submit_csd' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to drm_v3d_wait_bo'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to drm_v3d_mmap_bo' /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to drm_gem_close'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/libqmkl6.so: undefined reference to `drm_v3d_create_bo'
collect2: error: ld returned 1 exit status
any help would be highly appreciated.
thanks.

What happens when -ldrm_v3d is added to the end of the command?


Microsoft

https://github.com/Gufran/flightpath/blob/master/internal/envoy-config.yaml

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

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


Define which type of nodes to label on install

Adds the word "worker" to the labeling for install notes in README.
Helps user avoid error of labeling master nodes instead.
Signed-off-by: Brett Tofel<EMAIL_ADDRESS>

This is not strictly accurate, as we support using non-worker nodes for our Pods and OSDs.

This is not strictly accurate, as we support using non-worker nodes for our Pods and OSDs.

@jarrpa Could you suggest better wording, because from trying to install on a clusterbot generated ("launch 4.9") cluster I didn't get any joy from labeling all the master nodes (dumb I'm sure, but it's what I did)? Installed simply did not progress at all and it was hard to tell what, if anything, was happening.

You need to add tolerations for all taints on a given node you want to use. The notion of "master" nodes is a somewhat arbitrary openshift designation implemented by a specific taint.

You need to add tolerations for all taints on a given node you want to use. The notion of "master" nodes is a somewhat arbitrary openshift designation implemented by a specific taint.

Understood, but this PR is just about top of the README.md#installation section, should we get into that? I think most people following this section just want something that works to try out OCS operator.
New wording coming...

@bentito Is this PR still relevant?

Well it hasn't attracted anyone else thinking it's a useful add to the docs, nor did I have time to do the re-wording required. I think we can close it?

Oh actually sorry, missed my own commits. It did get reworded. I think it's up to @jarrpa to see if the re-wording it good and it could merge?


Call promise immediately if no key/options supplied

Make it easier to pass through the cache if we don't want to use default options or pass in anything, rather than rejecting an error.
:eyeglasses: @curioussavage or @schwers

:fish:

https://github.com/reddit/restcache/commit/23c5907c37f605cba75ec534f4f021323fd50651


fix: return compatibility with CentOS 7

:tada: This PR is included in version 3.23.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Readme updated

I have successfully updated the issue tracker link.
Thank you.

https://github.com/Jagroop2001/AcmeRockets/pull/29


Fix floating column border not touching top and bottom

Fixes #556

Not sure. This was added pre DHC so we'd have to dig into some old commits. Maybe the header bottom border wasn't always half overlapping?

Let me review this more before merging, half pixels might have been wrong here, but they might also be wrong elsewhere.

@dsmmcken Can you clarify what other half pixels? Are you just talking about in this specific function where there's 0.5, y and maxX - 0.5, y?

You fixed the incorrect half pixels on Y for the vertical lines in drawFloatingBorders, but also should fix the same for X on the horizontal lines. All within that function.


fields_for/params_for and belongs_to associations

fields_for (now params_for) doesn't populate the IDs of relations when you build them.
Imagine you're modeling a play in a sport...
  schema "plays" do
    belongs_to :game, Namespace.Game
    belongs_to :possession_team, Namespace.Team
...
  end

With
def factory(:play) do
  %Namespace.Play{
    game: create(:game),
    possession_team: create(:team),
  }
end

When you do fields_for(:play) game_id and possession_team_id are nil. It makes it harder to use for sending data to an API, for example. It would be nice if those could be populated.
Technically when you do build(:play) the same is true. It seems like Ecto doesn't populate those IDs until after it's saved?

@geofflane This is a good point. This is actually expected behavior. Since Ecto doesn't have an id until the record is inserted we can't set the id. Since params_for calls build and not create, it does not get the id.
We could call insert when using params_for, but that could cause performance issues and bugs. Since we would insert the record and the association it would require more database inserts, and it would also insert the record. So if you're testing a create endpoint you would already have those records in the database, making it impossible (or very difficult) to test.
I do see your point though. We have code in one of our apps that does something like this
def play_params do
  game = create(:game)
  posession_team = create(:posession_team)
  params_for(:play, game_id: game.id, posession_team: posession_team.id)
end

Maybe it would be useful to have an option for creating associations when using params_for, but I'm not sure how that would look, or if it would be more trouble than it's worth. params_for_with_associations(:user)?
For now I think it would be best to write your own function like the one above, but I'm open to ideas!

@paulcsmith I mainly put this issue in because it was unexpected behavior to me. The create "does the right thing" and builds the graph of objects in the DB, but the build/params only kind of does. (That params_for model is exactly what I came up with too.
The use case, for me, is testing an API POST to create a new instance of a thing. I wanted a way to easily construct an instance, but also to have dependent relations exist already. There might be a hybrid in there somewhere between create and build/params_for maybe to support that case?

@geofflane Sorry I probably should have phrased that better. What I meant by "expected behavior" was that it is not a bug, but I can definitely see how it is unexpected. One thing I would recommend is to add the params function to your factory or in a module that you import in your tests, that way when you need to change how it works you only need to do it in one place.
As for the params_for function, I doubt that we'll change it to insert associations by default because that could cause unintended side effects. I'm not opposed to adding another function like params_with_association_ids_for or something like that.
What do you think @jsteiner. Also @derekprior, we had to create a custom function for handling relationships on our project. What do you think of having a function that inserted associations and set their ids?

@paulcsmith No apologies needed, I understood what you meant. :)

Thanks @geofflane! I created another issue #105 for implementing this. Feel free to tackle it if you have time :) If not I can get it in a few weeks


Tests: Re-design skip-function-bodies.swift test.

The skip-function-bodies.swift test previously relied on -emit-sorted-sil to control the order of SIL emission for matching CHECK: lines. I found that this made the test too difficult to evolve, so I've re-written the test to instead use SILGen's natural output order. This makes it much more straightforward to add new test cases at the right location in the file.
There are a number of additional improvements to the test:

SILGen without any function body skipping is now checked as a baseline to ensure that all the checks are in the right order. Previously, most of the negative CHECK lines were not properly ordered in the file, so they could have missed regressions.
Every declaration in the test has a set of exhaustive CHECK lines covering each of the outputs explicitly. While more verbose, it should be clearer what is expected for every declaration.
Module interfaces are emitted with the proper flags and are typechecked to verify they are valid.
Superfluous diagnostics (e.g. unused variables) have been minimized to improve the experience of debugging failures.

@swift-ci please smoke test


Change url for "search" on front page

Under "use & remix" bucket in blue stripe, "search" has the same url as "search by topic" -- shouldn't be the same. "search" should go directly to our search tool: http://search.creativecommons.org/

@little-wow Can you share how to do this too? It's not obvious to me how those things change.

I don't know how to change the front page tbqh

@ageeroms Can you help us figure it out?

I have updated the Search link in the blue band on the homepage to go directly to search.creativecommons.org . Is that what you meant @janeatcc ?

Yup! Thanks. But more importantly, how do we as CC staff update the home page?

The widget is called "Share your work" and via Appearance > Widgets (https://staging.creativecommons.org/wordpress/wp-admin/widgets.php ), it's in the Below Content (Homepage) area. It's a HTML list, so you may wish to copy all of the HTML before you begin editing and save that somewhere, then make updates and save and test, so that you can revert if needed. I did paste a copy of the original code onto that draft "Kitchen Sink" page, in case any of the classes are accidentally stripped.

Thanks @ageeroms!
I don't have permissions to edit that page, but I assume @little-wow and @mattl do.

Yep. Thanks @ageeroms

I don't have access to the widgets
On Tuesday, June 21, 2016, Matt Lee<EMAIL_ADDRESS>wrote:

Closed #262
https://github.com/creativecommons/creativecommons.org/issues/262.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/creativecommons/creativecommons.org/issues/262#event-699931518,
or mute the thread
https://github.com/notifications/unsubscribe/AGw-Tj9Kn8P7H-sOoxKX8--_cFE8SuODks5qOKeDgaJpZM4I7NB1
.

--
Jennie Rose Halperin
Communications Manager
Creative Commons
Invest in an open future. Support Creative Commons today:
http://bit.ly/19IjSKl


Cannot use multiple react-stack-grids

It appears that if you try to render more than one react-stack-grid you cannot.
To repro: place two react-stack-grid components on the screen and notice that only one renders

I am also observing this error.  This may be related to the issue
Uncaught TypeError: Cannot read property 'startSize' of undefined
at onElementDetectable (element-resize-detector.js:241)
at ready (scroll.js:555)
at Object.process (batch-processor.js:124)
at processBatch (batch-processor.js:37)


Importing pybgs crashes python runtime

Describe the bug
I have attempted to install pybgs both via pip:
pip install pybgs --force-reinstall --no-cache-dir

and from sources after cloning the repository via setup.py:
python setup.py build
python setup.py install

within a conda environment. In both cases I manage to install the library but when I attempt to import it the python runtime crashes:
$ python
Python 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:50:56)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybgs
Fatal Python error: _PyInterpreterState_Get(): no current thread state
Python runtime state: unknown

[1]    79583 abort      python

To Reproduce
Install the library, either via pip or setup.py, and attempt to import it via import pybgs.
Expected behavior
The library is expected to import without crashing the python runtime.
System information
Desktop (please complete the following information):

OS: macOS 11.6
Python version: 3.8.12
OpenCV version: 3.4.7
conda version: 4.10.3

Additional context
Building the library with CMake and running the example run_video.sh is successful. I have tried multiple different python versions, but the result is always the same.

I will try to reproduce your issue in my local environment.
I come back to you soon as possible,
Thanks
Andrews

Hi,
Is there any update on this? I installed pybgs on opencv 3.4.7 using pip and I am getting the same error at importing the library.
Thanks
Xavi

Hello @jnissin @xavibou , sorry for my delayed feedback.
I just released a new version of the BGSLibrary, now v3.1.0.
I tested it on Windows, Mac and Linux, both compiling the C++ library on OpenCV 3.4.7, 3.4.16 and 4.6.0.
I also tested its respective Python wrapper and GT user interface.
Everything is working for me, could you please check in your side if this new version fix your issues?
Thanks in advance,
Andrews


Unhelpful Link

the link to IdFix does not point a page about IdFix, a better address would be https://microsoft.github.io/idfix/
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06faa428-c7b6-ca5c-271e-3f98d9536d4f
Version Independent ID: 63adb39a-c4fa-92bb-480d-59bee8e2dc24
Content: Azure AD Connect: Prerequisites and hardware
Content Source: articles/active-directory/hybrid/how-to-connect-install-prerequisites.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@DeanGross
Thanks for your feedback! We will investigate and update as appropriate.

@DeanGross
Thanks for your feedback! We will investigate and update as appropriate.

@DeanGross
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@DeanGross
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Thank for submitting this. I have created a work item for it and will reviewing this in the coming weeks. I am not sure what the timeline will be, so I am going to close this for now. But once I have an update I will drop it in here and let you know.
Thank you!
Bill
#please-close


first cut of sparklines

we still aren't filtering sites at all (just did it based on latitude earlier so we didn't visualize all sites), so this is messy. But functional

merging this, because you need it so the build works


OneSignal inFocusDisplaying(0) not working if it gets multiple notifications when openning.

Description:

OneSignal inFocusDisplaying(0) it works fine. However, i think, there is some edge case . I have chat app. And user can send multiple message in close time. It happened on iOS 11 device. i did not make it happen on iOS 12 versions.
Later i achieved same problem also iOS 12
Environment
"react-native-onesignal": "^3.2.8",
npm install react-native-onesignal
iOS 11, iOS 12
Steps to reproduce
Applications is fully closed it is not even background. And i get first notification and user clicks. I am handling this notification with web request for getting detail. However when app is openning in splash screen if it gets another notification it shows it as alert. After that it does not show any notification which is correct because i use inFocusDisplaying(0).
App.js
componentWillMount() {     OneSignal.init("xxxx id xxxx");     OneSignal.addEventListener('received', this.onReceived);     OneSignal.addEventListener('opened', this.onOpened);     OneSignal.addEventListener('ids', this.onIds);     OneSignal.configure();     OneSignal.inFocusDisplaying(0);   }

@kekkeme are you sure setInFocusDisplaying(0) is actually getting called while the splash screen is shown?
The React native runtime takes a bit of time to load before you can start executing JS instructions.

@Nightsd01 i think yes i am. I am configuring oneSignal inside of componentWillMount method of App.js. My fake splash screen is rendered inside render method of App.js, if it is not enough, what else i should do?


Error message errors

Driver version or jar name
all versions
SQL Server version
N/A
Client operating system
N/A
Java/JVM version
N/A
Table schema
N/A
Problem description
Some error messages inside SQLServerResource.java file have grammatical/spelling issues. Please see @ulvii 's comments in PR #452 . We decide to merge #452 first and create an issue to remind us the rest.
Please note, changing error messages may break client programs if those error messages are public to the client.
Expected behavior and actual behavior
N/A
Repro code
N/A

Fixed by #459


[Event<EMAIL_ADDRESS>Added event handler error and protocolError on the connection object.

Added event handlers error and protocolError on the connection object in connectionContext.ts  that will just log the error and take care of the unhandled exception
Updated new version of Event Hubs
Updated changelog

@chradek fyi

This is in lieu of updating an older version of  amqp-common right? Want to make sure this isn't needed in the preview version of event hubs!


Exponential Moving Average function implementation

Codecov Report

Merging #1832 into master will increase coverage by 0.14%.
The diff coverage is 89.74%.

@@            Coverage Diff             @@
##           master    #1832      +/-   ##
==========================================
+ Coverage   66.22%   66.36%   +0.14%
==========================================
  Files          55       55
  Lines        6365     6404      +39
  Branches     1258     1267       +9
==========================================
+ Hits         4215     4250      +35
- Misses       1932     1934       +2
- Partials      218      220       +2

Impacted Files
Coverage Δ

webapp/graphite/render/functions.py
89.6% <89.74%> (ø)
:white_check_mark:

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 5cdacf3...a52fa8e. Read the comment docs.

Merging because it's already reviewed in #1792.
Ran tests couple of times - looks stable now.
@DanCech - could you please check possible solutions for whisper tests? Thanks!
Thanks for your contribution, @cmaurer !


ios  not play aduio

the ios not play aduio ，or can play audio ,bug can't close,

same issue ! any solution ?

It plays MP3 for me, but not AAC-encoded MP4 files

You need to convert the video to a codec that IOS have in native form.

@CarlosAyala iOS is meant to be able to play AAC https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/FrequentlyAskedQuestions/FrequentlyAskedQuestions.html

"HE-AAC or AAC-LC up to 48 kHz, stereo audio"

It's been a while, but I recall verifying at the time that the video did indeed match the specs stated by Apple

the latest PRs have iOS playing AAC but not mp3. but you need to grab all of my PRs.

please check the latest PRs and confirm this is still happening


Fix markdown headers in doc/development/readme

GH now requires a space between # and the header

@bundlerbot r+


[DO NOT MERGE] Example hydrogen on cloudflare edge

This is an example of an Hydrogen setup for cloudflare edge.
WHY are these changes introduced?
Reports of people having issues deploying to cloudflare. Our guide is too simple, it actually takes a while to set this up
WHAT is this pull request doing?
This PR is mainly to get feedback.

Two options for sharing:

[recommended] I can keep it in my own repo: https://github.com/lordofthecactus/hydrogen-v2-cloudflare-edge, which will just freeze it as an example.
We can add an examples folder but this adds to our repo

HOW to test your changes?

Follow the readme inside examples/cloudflare-edge
Check that install, dev works
If possible, create a cloudflare account and make a deploy with npm run deploy

I could not get tsc to go well. @frehner would you have any quick clue? 🙏

I'm a vote for creating an /examples folder to house this within. Great work!

I could not get tsc to go well. @frehner would you have any quick clue? 🙏

@lordofthecactus what sort of issues?

Instead of building for Cloudflare Workers, I'd highly recommend developers build for Cloudflare Pages. It's really the full-stack solution built on top of CFW and is drastically simpler.
@jacob-ebey has some terrific starter templates for CF Pages. Here's one example: https://github.com/jacob-ebey/remix-cf-pages-template-hmr
This is the equivalent of server.ts where we'd init the storefront client and pass it to loader context: https://github.com/jacob-ebey/remix-cf-pages-template-hmr/blob/main/functions/[[remix]].ts#L11


Notes for SAG-4

I feel honored by the proposal "Blechschmidt duality", but I fear that if the goal is to have a more contentful name then this would be a step in the wrong direction :-)
Just for fun, let me add a cryptic proposal: "Nullstellensatz."

The classical Nullstellensatz seems to be more precise as it finds solutions in the algebraic closure, while our version leaves the ring in which a solution can be found open.


Add Nile Exchange

Entry type

New addition

App info
URL: https://www.nile.build
Manifest.json URL: https://www.nile.build/manifest.json
Name: Nile Exchange
Description: Nile is a next-generation AMM designed to serve as Linea's central liquidity hub, combining the secure and battle-tested superiority of Uniswap v3 with a custom incentive engine, vote-lock governance model, and streamlined user experience.
Icon (PNG, 180x180):

It's minified via https://tinypng.com: yes
Homepage: https://www.nile.build
Twitter: https://x.com/NileExchange
GitHub: https://github.com/RamsesExchange
Discord: https://discord.gg/EbzhQq8aUV
App supports batching multiple transactions via Safe: yes
Supported networks
- Linea Mainnet

Revision checks

[x] Used smart contracts were audited.
[x] You have implemented the app using the Safe Apps SDK
[x] Your Safe App includes a manifest.json file at the root with the required data
[x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[x] The app auto-connects to the Safe as a wallet
[x] It doesn't try to connect to the browser wallet (e.g. MetaMask)
[x] You are able to trigger and execute one transaction with a Safe.
[x] RPC requests are optimized (not triggering many requests in a very short time period).

Audit document
https://code4rena.com/reports/2024-10-ramses-exchange#disclosures
Code for review
https://github.com/code-423n4/2024-10-ramses-exchange
Team information
Company: Kingdom
Official website: https://kingdom.one
Point of contact: 0xshad0w
Email/Telegram: @a0xshad0w

Application approved by the product team.
Note: Ramses, Nile, Pharaoh, Cleopatra and Nuri are effectively one application but branded differently for different chains for business reasons. They share the same codebase.

@0xShad0w Thank you for your submission! Could you please share the front-end repository link for review? The provided link appears to be just the audit results.


PAN-463: Increase Hancock request timeout

This ticket has some other history and has been closed. Not merging this one.


macoS Monterey v 12.6.7- Not compatible

I updated my OS to macOS Monterey version 12.6.7 and found compatibility issues.

Um... not sure whats up but it works now. please disreguard.

:)


Vulnfix

got an alert to update ejs to at least v 2.5.5

Tested by npm link  with MAHRIO-MEDIUM locally.  No errors while navigating the front page and list of tutorials


how to model custom data train?

First, thank you for your good research.
I have a few questions.

There are two models, one for finding faces and one for finding landmarks. Is the method correct for finding a face, cropping this found face, and then finding a landmark?

The face finding model seems to be using the model here 'https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB'. Is it correct? Also, is there a custom train method for learning landmarks?

Thank you.

First, thank you for your good research.
I have a few questions.

There are two models, one for finding faces and one for finding landmarks. Is the method correct for finding a face, cropping this found face, and then finding a landmark?
The face finding model seems to be using the model here 'https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB'. Is it correct? Also, is there a custom train method for learning landmarks?

Thank you.

Hi Kim,

Yes. The code in this repo firstly detects the face in the whole image. Secondly it crops the face from the image and inferring landmarks of the face.
Yes, I mentioned the repo in README in Chinese :D. No straightforward custom training code. You could organize your own dataset following the instructions in README which help you generate train.json and val.json.

Thank you so much for your reply.
First, I am learning this part of'https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB', so I will try a custom train on the landmark as soon as the learning is finished.
Thank you very much.
If there is something that doesn't work, I will leave a question again.

Hi.
After face detection training is finished, we want to perform landmark detection.
If it is not practical, I would like to fine tuning according to my data using a pre-trained model. Can you tell me how to do it?
Thank you.

I have done fine-tuning with the model trained using torch.load.
Do you have any code to convert .pth file to onnx file?
Thank you very much.

Solved!!
Thanks.


Onboarding pr issue management

Summary of the Pull Request
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
PR Checklist

[x] Closes #xxx
[x] Tests added/passed
[x] Documentation updated

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

[ ] Schema updated (if necessary)

@yimmee123 you are not filing meaningful pull requests on this repository and I must ask you to stop.

@DHowett Accounts like this are almost certainly bots creating fake content to make their profiles seem more legitimate. They're used to sell github stars (see https://the-guild.dev/blog/judging-open-source-by-github-stars). When I'm feeling enthusiastic I report them as spam, and the GitHub mods will sometimes delete the accounts. Otherwise just block them.


Use-package config no longer works after formatter separation

I used to configure apheleia with a  use-package section:
(use-package apheleia
  :ensure t
  :config
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

This works until recent refactoring in #161 . The :config clause no longer effects. If I eval the setf expression after emacs started,  it works. Not sure if it's a bug but I'm curious about how to configure apheleia after the refactoring..

Would that work for you?
(use-package apheleia
  :ensure t
  :init
  (require 'apheleia-formatters)
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

This is what I went with after that update.

As @alternateved pointed out, we have to require apheleia-formatters in before customizing them.
It turns out the config clause is not evaluated during init. apheleia, at least apheleia-formatters, doesn't seems to load before I open the first prog-mode. I get error (void-variable apheleia-formatters) when manually eval the setf expression. And I believe it's loaded before upgrade because it doesn't require any manual process before.

Well that's surprising an unexpected. To be clear you shouldn't need hacks like what @alternateved shared to work around this. Loading apheleia should load apheleia-formatters and everything else. I can't seem to reproduce the issue using straight instead of the builtin :ensure.
(use-package apheleia
  :straight t
  :config
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

Could someone experiencing the issue help diagnose it. To begin a backtrace of the error from setf and the specific apheleia version (git hash ideally) would be appreciated.

Hmm... I'm not getting an error even from emacs -q when running:
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.  See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

(use-package apheleia
  :ensure t
  :config
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

(require 'apheleia)

and the rustfmt formatter is setup correctly :thinking:.

@alternateved
Thanks. Too quick for me :rofl:. While in the debugger can you tell me what each of the following evaluate to?
(featurep 'apheleia)
(featurep 'apheleia-core)
(featurep 'apheleia-formatters)

I get the same error when I evaluate first this snippet:
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.  See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

Then this snippet:
(use-package apheleia
  :ensure t
  :config
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

And then specifically this snippet:
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))

After that this error appears.

So it's reproducible. Good. Could you check this please.

(featurep 'apheleia) -> nil
(featurep 'apheleia-core) -> nil
(featurep 'apheleia) -> nil
I did not evaluated (require 'apheleia) but I did run M-x apheleia-mode while in emacs -Q while running above commands.

So apheliea isn't loaded or hasn't finished loading when you reach the error. While in the use-package declaration can you go to the end and run M-x pp-macroexpand-last-sexp and show what it outputs?

Sure, here:
(progn
  (use-package-ensure-elpa 'apheleia
			   '(t)
			   'nil)
  (defvar use-package--warning1
    #'(lambda
	(keyword err)
	(let
	    ((msg
	      (format "%s/%s: %s" 'apheleia keyword
		      (error-message-string err))))
	  (display-warning 'use-package msg :error))))
  (condition-case-unless-debug err
      (progn
	(unless
	    (fboundp 'apheleia-mode)
	  (autoload #'apheleia-mode "apheleia" nil t))
	(eval-after-load 'apheleia
	  '(condition-case-unless-debug err
	       (progn
		 (setf
		  (alist-get 'rustfmt apheleia-formatters)
		  '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
		 t)
	     (error
	      (funcall use-package--warning1 :config err))))
	(add-hook 'prog-mode-hook #'apheleia-mode))
    (error
     (funcall use-package--warning1 :catch err))))

I just want to mention that when I explicitly evaluate (require 'apheleia) after use-package declaration I do not get an error. But as far as I can understand, use-package declaration should load apheleia, right?

I don't get it :/. It won't run the setf until after the load but the error you're describing is as if it's happening prior to loading.

But as far as I can understand, use-package declaration should load apheleia, right?

No. use-package defers by default. It'll only load if you set :demand t, otherwise it installs and waits for something to call an apheliea autoload and then it'll load.

I'm not sure how to properly fix this. So far there's 2 people who have reported issues but I can't reproduce the problem at all :confused:. If someone could share a reproduce-able example using emacs -q then please do so.

Also @alternateved the backtrace you shared before has you evaluating the snippet directly. If you could share one with the error triggerring on the entire use-package block then that would be more helpful.

There is no error for the entire use-package block. Things within :config block doesn't get evaluated. So there is no error, but also configuration within this block does nothing.
If I change from :config to :init like so:
(use-package apheleia
  :ensure t
  :init
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

Then I will get below error trace:
Debugger entered--Lisp error: (void-variable apheleia-formatters)
  (assq 'rustfmt apheleia-formatters)
  (if (and nil (not (eq nil 'eq))) (assoc 'rustfmt apheleia-formatters nil) (assq 'rustfmt apheleia-formatters))
  (let* ((p (if (and nil (not (eq nil 'eq))) (assoc 'rustfmt apheleia-formatters nil) (assq 'rustfmt apheleia-formatters)))) (progn (if p (setcdr p '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout")) (setq apheleia-formatters (cons (setq p (cons 'rustfmt '...)) apheleia-formatters))) '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout")))
  (condition-case err (let* ((p (if (and nil (not (eq nil ...))) (assoc 'rustfmt apheleia-formatters nil) (assq 'rustfmt apheleia-formatters)))) (progn (if p (setcdr p '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout")) (setq apheleia-formatters (cons (setq p (cons ... ...)) apheleia-formatters))) '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))) ((debug error) (funcall use-package--warning1 :init err)))
  (progn (if (fboundp 'apheleia-mode) nil (autoload #'apheleia-mode "apheleia" nil t)) (condition-case err (let* ((p (if (and nil (not ...)) (assoc 'rustfmt apheleia-formatters nil) (assq 'rustfmt apheleia-formatters)))) (progn (if p (setcdr p '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout")) (setq apheleia-formatters (cons (setq p ...) apheleia-formatters))) '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))) ((debug error) (funcall use-package--warning1 :init err))) (add-hook 'prog-mode-hook #'apheleia-mode))
  (condition-case err (progn (if (fboundp 'apheleia-mode) nil (autoload #'apheleia-mode "apheleia" nil t)) (condition-case err (let* ((p (if (and nil ...) (assoc ... apheleia-formatters nil) (assq ... apheleia-formatters)))) (progn (if p (setcdr p '...) (setq apheleia-formatters (cons ... apheleia-formatters))) '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))) ((debug error) (funcall use-package--warning1 :init err))) (add-hook 'prog-mode-hook #'apheleia-mode)) ((debug error) (funcall use-package--warning1 :catch err)))
  (progn (use-package-ensure-elpa 'apheleia '(t) 'nil) (defvar use-package--warning1 #'(lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning 'use-package msg :error)))) (condition-case err (progn (if (fboundp 'apheleia-mode) nil (autoload #'apheleia-mode "apheleia" nil t)) (condition-case err (let* ((p (if ... ... ...))) (progn (if p (setcdr p ...) (setq apheleia-formatters ...)) '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))) ((debug error) (funcall use-package--warning1 :init err))) (add-hook 'prog-mode-hook #'apheleia-mode)) ((debug error) (funcall use-package--warning1 :catch err))))
  (progn (progn (use-package-ensure-elpa 'apheleia '(t) 'nil) (defvar use-package--warning1 #'(lambda (keyword err) (let ((msg ...)) (display-warning 'use-package msg :error)))) (condition-case err (progn (if (fboundp 'apheleia-mode) nil (autoload #'apheleia-mode "apheleia" nil t)) (condition-case err (let* ((p ...)) (progn (if p ... ...) '...)) ((debug error) (funcall use-package--warning1 :init err))) (add-hook 'prog-mode-hook #'apheleia-mode)) ((debug error) (funcall use-package--warning1 :catch err)))))
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  command-execute(eval-last-sexp)

Not sure if this is helpful.

@alternateved That's expected. :init runs before apheleia is loaded and so the variable is expected not to be defined. Could you try running the original use-package snippet and then evaluate (require 'apheleia). The latter should not show a backtrace but if it does then we can investigate why.

@mohkale running this:
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.  See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

(use-package apheleia
  :ensure t
  :config
  (setf (alist-get 'rustfmt apheleia-formatters)
        '("rustfmt" "--quiet" "--edition" "2021" "--emit" "stdout"))
  :hook (prog-mode . apheleia-mode))

(require 'apheleia)

Evaluates successfully. No errors.

I also am unable to reproduce any error or unexpected behavior with these sample init-files. Maybe it is possible to narrow down environment issues by preparing a recipe that works with https://github.com/Silex/docker-emacs?

I've created a small file named apheleia-debug.el with below content:
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

(use-package apheleia
  :ensure t
  :init (apheleia-global-mode)
  :config
  (setf (alist-get 'emacs-lisp-mode apheleia-mode-alist) '(lisp-indent)))

And this works correctly. When I open Emacs with emacs -q --load apheleia-debug.el comman, open apheleia-debug.el and change some line - it gets indented correctly by apheleia.
But when instead of running apheleia-global-mode on init, I run file with below content and repeat same steps:
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

(use-package apheleia
  :ensure t
  :hook (emacs-lisp-mode . apheleia-mode)
  :config
  (setf (alist-get 'emacs-lisp-mode apheleia-mode-alist) '(lisp-indent)))

Even though apheleia-mode gets activated, configurations are not applied (no formatting happens for emacs-lisp-mode. I think this is what OP had an issue with.

My issue is that (I use use-package-always-defer t) I have to demand apheleia now even though I run apheleia-global-mode on init otherwise things in config block won't get applied. This wasn't the case before the https://github.com/radian-software/apheleia/pull/161 change:
(use-package apheleia
  :demand
  :init (apheleia-global-mode)
  :config
  ;; Set custom formatting commands
  (dolist (formatter-cmd '((shfmt     . ("shfmt" "-i" "4" "-ci" "-kp" "-sr"))
                           (zigfmt    . ("zig" "fmt" (or (buffer-file-name) (buffer-name))))
                           (fourmolu  . ("fourmolu" "--indentation" "2" "--stdin-input-file"
                                         (or (buffer-file-name) (buffer-name))))))
    (add-to-list #'apheleia-formatters formatter-cmd))

  ;; Set custom formatters for modes
  (dolist (formatter-mode '((emacs-lisp-mode . lisp-indent)
                            (clojure-mode    . lisp-indent)
                            (zig-mode        . zigfmt)
                            (haskell-mode    . fourmolu)))
    (add-to-list #'apheleia-mode-alist formatter-mode)))

Is it expected behavior? I can live with that though. Package is excellent.

@alternateved
Just to confirm is apheleia actually active in whatever buffer you're planning to use it with in the latter case? The crux of the issue from your previous comment is configuration updates are only valid after apheleia has been loaded. Simply hooking apheleia into emacs-lisp-mode isn't enough to have it loaded, you must then open a file/buffer in that mode and then it'll be loaded. This is the same before and after the commit this issue is describing as the fault so I believe it's unrelated and just a misunderstanding on you or OPs part about how hooks and deferred loading work.
Before proceeding please confirm M-x describe-mode in the buffer where formatting is not happening shows apheleia is present. If it doesn't, then that buffer must've been created before the hook update in your use-package config and it won't have apheleia enabled. You must revert the buffer in this case.

I also ran into this issue (I'm also using always-defer) and fixed it by explicitly defining an eval-after-load for apheleia-formatters. The use-package :config section will setup eval-after-load 'apheleia which doesn't work with this code as it doesn't necessary load.
This is my working example:
(use-package apheleia
  :ensure t
  :hook
  (prog-mode-hook . apheleia-mode)
  :init
  (put 'apheleia-formatter 'safe-local-variable 'symbolp)
  (eval-after-load 'apheleia-formatters
    '(progn
       (dolist (formatter '((eslint . (npx "eslint_d" "--fix-to-stdout" "--stdin" "--stdin-filename" file))
                            (nix . ("nix" "fmt" "--" "-"))
                            (rufo . ("rufo" "--simple-exit"))))
         (cl-pushnew formatter apheleia-formatters :test #'equal))
       (dolist (mode-formatter '((nix-mode . nix)
                                 (ruby-mode . rufo)))
         (cl-pushnew mode-formatter apheleia-mode-alist :test #'equal)))))

@terlar
As mentioned above, this shouldn't be necessary. Could you please clarify what you mean by doesn't work and ideally share a reproducible example in emacs -q?

By not work, I mean that it doesn't evaluate the FORM of eval-after-load. If I manually do (require 'apheleia) it will trigger the content of :config section of use-package definition.
I'll look into creating a simple reproducible emacs -q recipe.
With the :defer t switch to use-package, it will use the autoload functionality and friends, and I guess the file apheleia doesn't get loaded? Although the other files are loaded so you get all the functionality except the defgroup in the main file.
If I play around with this:

(featurep 'apheleia)
(featurep 'apheleia-core)
(featurep 'apheleia-formatters)

... Start Emacs ...

nil
nil
nil

... Open buffer with hook enabling apheleia-mode ...

nil
nil
nil

M-x apheleia-format-buffer or C-x C-s

nil
t
t

@terlar
Thank you for the very thorough investigation.

By not work, I mean that it doesn't evaluate the FORM of eval-after-load. If I manually do (require 'apheleia) it will trigger the content of :config section of use-package definition.

I'm still not following, that's how eval-after-load is suppposed to work. The body is not evaluated until after the feature you specify is provided. Manually requiring apheleia will evaluate it, enabling apheleia-mode (and then modifying and saving a buffer) or calling apheleia-format-buffer will also evaluate it. Why do you want it to be evaluated early? Or am I misreading what you meant?

Ah, actually I see you've got featurep apheleia is nil when apheleia-format-buffer is called directly. That's surprising. Investigating.

Ah, yep, I see what happened here. We moved the definition of those interactive functions to apheleia-core.el so now it's loaded instead of apheleia.el when their called. If you use deferred loading and the major-mode or interactive function for formatting then the regular apheleia file is never autoloaded so it's feature is never provided.

@terlar
When you get a chance could you try the changes from #185 PR? I believe they should fix this issue for you. Once I get confirmation I'll approve and merge it in myself to avoid anyone else running into this issue.
Also apologies @alternateved and @sunng87 for taking so long to understand what the issue was :sweat_smile:. The linked PR will also sadly break the hacks you've put in place for with-eval-after-load apheleia-formatters but hopefully you can easily revert to the configuration you had before.

No worries. Unfortunately I wasn't able to clearly explain where the issue was. Thanks @terlar for help here!
@mohkale Your PR works for me. There is no need to additionally require apheleia anymore, enabling apheleia-mode or apheleia-global-mode is enough and configuration is properly read.
Example of my (working now) configuration:

(use-package apheleia
  :defer t
  :bind ("C-c t a" . apheleia-mode)
  :init (apheleia-global-mode)
  :config
  ;; Set custom formatting commands
  (dolist (formatter-cmd '((shfmt     . ("shfmt" "-i" "4" "-ci" "-kp" "-sr"))
                           (zigfmt    . ("zig" "fmt" (or (buffer-file-name) (buffer-name))))
                           (fourmolu  . ("fourmolu" "--indentation" "2" "--stdin-input-file"
                                         (or (buffer-file-name) (buffer-name))))))
    (add-to-list #'apheleia-formatters formatter-cmd))

  ;; Set custom formatters for modes
  (dolist (formatter-mode '((emacs-lisp-mode . lisp-indent)
                            (clojure-mode    . lisp-indent)
                            (zig-mode        . zigfmt)
                            (haskell-mode    . fourmolu)))
    (add-to-list #'apheleia-mode-alist formatter-mode)))

Thank you for the quick turn-around. I can confirm it works for me as well, reverted my workaround and updated the package.

Thank you @mohkale I confirm the new version works as well. It's much straight-forward now.

Hello. I did not test it well enough yet, but after latest commit I get below error:
Debugger entered--Lisp error: (void-variable file)
  eval(file)
  apheleia--formatter-context(prettier-typescript (npx "prettier" "--stdin-filepath" filepath "--parser=typescript" (apheleia-formatters-js-indent "--use-tabs" "--tab-width")) nil nil)
  apheleia--run-formatter-process((npx "prettier" "--stdin-filepath" filepath "--parser=typescript" (apheleia-formatters-js-indent "--use-tabs" "--tab-width")) #<buffer SomeTsFile.ts> nil #f(compiled-function (stdout) #<bytecode 0x1a809af184805f5>) nil prettier-typescript)
  apheleia--run-formatters((prettier-typescript) #<buffer SomeTsFile.ts> nil #f(compiled-function (formatted-buffer) #<bytecode -0x1840ef4db241010f>))
  apheleia-format-buffer((prettier-typescript) #<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_17>)
  apheleia--format-after-save()
  run-hooks(after-save-hook)
  basic-save-buffer(t)
  save-buffer(1)
  funcall-interactively(save-buffer 1)
  command-execute(save-buffer)


Region unlocking not always working

It seems that region unlocking / psnee injection isn't working correctly.
Tested on at least 2 Pal 5502 playstation. Always getting the "insert playstation disk" message, no matters the img region
Can (mostly) boot games from freepsxboot / tonyhax via memory card tho

UPDATE: region unlocking "always" works with single track games
never with multi track games

Tested on  Pal 5552 playstation. Always getting the "insert playstation disk" ?

Do you always have this message after updating to v0.0.3 ?
What's the image you're using ?

I tried NASCAR Rumble (USA), and PAL and Crash Bandicoot 3 PAL, always same issue
https://imgur.com/3ZPL0J5
This this with 8GB SD Card, I get this insert CD Always, with 16GB SD Card it's doesn't read it, just pico led keep flashing in green.

I had the same issue once, was a soldering problem
Can you check that RPI pin 6 (GP 4) is only connected to pin 3 of the FFC connector (point number 3 on this pic
If it touches an adjacent pin (pin 5 or 7), or there's any bridging. Region unlock won't work at all

Hello again, first of all I don't have the FFC, I'm soldering directly to the points, I even changed the pico once again, and resoldered everything from the beginning, and made sure nothing is bridged, and still have same issue of insert cd, yet only once in the previous try with the old pico, game sometimes launch (PS Logo) then turns black screen, but this never happened again, now as I said earlier I'm stuck with Insert CD as you can see here, I uploaded pictures for my soldering https://imgur.com/a/11Bc3VJ.
Also when I tried to compile picostation (PSX) I got an error (For dev matters), although it worked for other consoles and compliled without issues.
Hopefully you can help me bypass these issues.

The ps logo + black screen is the "normal" behaviour.
Did you try with a real unirom image ? (Region unlocking isn't working with multi track games)
You can find it here: https://github.com/JonathanDotCel/unirom8_bootdisc_and_firmware_for_ps1/releases/
If you can, try booting freepsxboot or tonyhax from a memory card, then close the lid and see if it helps

Tried the file you sent me, still it's not booting, always insert cd, is there a way through serial port to read picostation details?

You can use usb serial monitoring on the Pico via your computer (can't tell you how tho)

This stuff is a bit complex. It is normal for the ODE to not be reliable at this stage.
You should work around the need to unlock with a Unirom cart (for example), and test whether the ODE even is able to send data.

hello; I have a playstation scph-5552 i mount pico station ; i mount unirom (audio) in sd card it works normally but when i used unirom game doesnt work the illustration in videos thnks in advance
https://drive.google.com/file/d/16lpnhuknHE6HOJdqaGW66j933WuPwrGT/view?usp=share_link
https://drive.google.com/file/d/1nZpr9hnsj-nKczrpv_RQWmoB0C9JOd-4/view?usp=share_link

Two missing solder joints.


🚀 Feature: LDAP support

🔖 Feature description
If possible, I'd like to see LDAP support to have all my services authenticate in one place for easy user access management.
🎤 Pitch
Whether it's in home server environment with third party authentication services, or in enterprise environtment with Microsoft implementation, LDAP support comes as a great tool for integrating Pingvin into a single local authentication provider.

Hey,
I had the same need and quickly implemented it myself.
It lacks support for any translations except English but works like a charm.
I've attached a patchfile.
ldap.patch


Create index.md

Please confirm this pull request meets the following requirements:

[ ] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[ ] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[ ] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

...

Vào CN, 18 thg 12, 2022 lúc 09:55 Yerenzter @.***> đã
viết:

Please confirm this pull request meets the following requirements:

I followed the contributing guidelines:
https://github.com/github/explore/blob/main/CONTRIBUTING.md.
I have no affiliation with the project I am suggesting (as a
maintainer, creator, contractor, or employee).

Which change are you proposing?

Suggesting edits to an existing topic or collection
Curating a new topic or collection
Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

Image (and my file is *.png, square, dimensions 288x288, size <= 75
kB)
Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these
changes should be made.
Curating a new topic or collection

I've formatted my changes as a new folder directory, named for the
topic or collection as it appears in the URL on GitHub (e.g.
https://github.com/topics/[NAME] or
https://github.com/collections/[NAME])
My folder contains a *.png image (if applicable) and index.md
All required fields in my index.md conform to the Style Guide and
API docs: https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of why you think this topic
or collection should be curated.
Something that does not neatly fit into the binary options above

My suggested edits are not about an existing topic or collection, or
at least not a single one
My suggested edits are not about curating a new topic or collection,
or at least not a single one
My suggested edits conform to the Style Guide and API docs:
https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check
the boxes above and provide ALL requested information.
You can view, comment on, or merge this pull request online at:
https://github.com/github/explore/pull/3445
Commit Summary

07d5f30
https://github.com/github/explore/pull/3445/commits/07d5f3056c4116449466cc90dd25fb1be554e13a
Create index.md

File Changes
(1 file https://github.com/github/explore/pull/3445/files)

A topics/quikker/index.md
https://github.com/github/explore/pull/3445/files#diff-483aa65c6e0a866b6cc67e98982a5ae6bd3ab42471b1cb76a139f768a981f95a
(8)

Patch Links:

https://github.com/github/explore/pull/3445.patch
https://github.com/github/explore/pull/3445.diff

—
Reply to this email directly, view it on GitHub
https://github.com/github/explore/pull/3445, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGC7ZPY4VTOPDYER4OPHBPTWNZ4IZANCNFSM6AAAAAATCIYLPA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Trần công luân


ci: Remove 2>&1 redirection

We had used 2>&1 to redirect stderr to stdout so it could be piped into ts, but commit dd3cdd6ec5085c25b6a9491b7e9b672ae99af442 (#17611) removed ts, so we no longer need the redirection.
Cc @amanagr.

Good catch, merged, thanks @andersk!
@ligmitz FYI since I know you're working in this codebase.


Acceleration of tiglCheckPointInside() function

I am using tiglCheckPointInside () to find out, which parts of a component (e.g. a wing) lie inside another one (e.g. a fuselage), thus being not exposed to the flow. This analysis requires lots of calls to tiglCheckPointInside () and becomes quite time consuming.
I suggest to increase the function's performance by introducing a two-step approach, first placing a bounding box around the component. If the point is outside this bounding box (what is happening in most cases), the function could directly return "false" without performing any time-consuming CAD-analysis. Only if the point is found to be inside the bounding box, the real, shape-based "inside"-determination would have to be performed.
I think, this would be a useful feature for increasing the performance.
Another issue with "tiglCheckPointInside ()" I would like to mention is that currently it does not care for symmetry conditions. So, if I am asking, whether a point lies inside a wing with symmetry condition, I only get "true" if it is inside the explicitly defined side of the wing, but not if it is inside the mirrored one. I guess, we should wait for the CPACS symmetry discussion
CPACS Issue #609
to complete before deciding how to handle these cases in TiGL, but I think, it would be good to mention this behavior in the documentation.

I suggest opening a new seperate issue for the correct symmetry handling of this function. Then this issue can easily be fixed by

[ ] adding the bounding box check
[ ] amending the documentation to clarify that the symmetry attribute is not considered by the API function


Surprising nnp_status_insufficient_buffer return code

I'm using nnp_convolution_algorithm_implicit_gemm. Steps:

Call nnp_convolution_inference with nnp_convolution_transform_strategy_precompute to compute how much memory is required for the workspace. Result code is success.
Allocate correct amount of memory for the workspace
Call nnp_convolution_inference again with nnp_convolution_transform_strategy_precompute and a pointer to the workspace. The result code is success.
Call nnp_convolution_inference with nnp_convolution_transform_strategy_reuse, and a pointer to the workspace.

On step 4 I sometimes receive nnp_status_insufficient_buffer. I believe this has something to do with the specific layer configuration I'm passing in. Some layers work fine. I've verified that the workspace sizes I'm passing in match those allocated and requested by the earlier precompute calls.
I think the problem is that nnp_convolution_transform_strategy_precompute allocates/checks against packed_kernel_size, but nnp_convolution_transform_strategy_reuse checks the packed_kernel_size + packed_input_size. Additionally, the computation of packed_kernel_size is done differently in the two locations.

It seems that you are not using the API right. See #82 and #75 for explanation.

You're right. What I had missed:

After the transformed kernel is computed in the second call, it should be moved into the kernel argument in the third call to nnp_convolution_inference().
The second call to nnp_convolution_inference() needs the transformed kernel size passed as a pointer, but the third call to nnp_convolution_inference() does not.


[SPARK-34520][CORE][FOLLOW-UP] Remove SecurityManager in GangliaSink

What changes were proposed in this pull request?
This is a followup of https://github.com/apache/spark/pull/31636. There was one place missed in GangliaSink, and we should also remove SecurityManager.
Why are the changes needed?
To make GangliaSink work.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
It was found in the internal it tests in the company I work for.

cc @dongjoon-hyun, mind taking a quick look please? I wonder how I missed this.

Thanks @maropu.

Test build #135570 has started for PR 31688 at commit b19a2da.

Test build #135570 has finished for PR 31688 at commit b19a2da.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class GangliaSink(

Merged to master.
Thanks @maropu and @dongjoon-hyun.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40151/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40151/

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


Write about searching for widely digitally delicate primes in base 2

"widely binarily delicate prime"?
I think we can cover the high bits by only considering numbers that have particular values modulo 3, 5, 7, 13, 17, and 241 and have particular floor(log base 2) values modulo 24 (since 24=lcm(2, 4, 3, 12, 8, 24)). Hopefully that actually works out.
Perhaps contextualize as a DFA problem: Given natural numbers m, a<m, b<m, and c<m construct a DFA that accepts all 2**n such that, for all x where (lg x) mod (m-1) = c and x mod m = a, the following property holds: (2**(n+1+floor(lg x)) + x) mod m = b. (Does m have to be prime?)

Success! I think. Here's the first few widely delicate primes in base 2 that become divisible by 3, 5, 7, 13, 17, or 241 if any bit is changed from 0 to 1:
2131099
9208337
11788523
14740403
20025409
42762767
43747163
52504261
54593731
55414847
62058713
62602763
69650461
76963463
79933129
88148161
93086731
93545483
101567273

Looks like Jeremiah found these last year in https://scholarcommons.sc.edu/etd/5879/. Better be sure to cite that!

I'm attempting to brute force a smaller solution by generating prime numbers that satisfy a "best-effort" delicacy test, then offloading the harder verification to PARI/GP. The number 19249 seems promising... in a way. It doesn't seem to have periodic factors for the composite numbers made by setting subsequently higher bits. As such, it'll be tough to prove!
I validated it as a delicate prime up to 70k bits and am trying 100k overnight with the following PARI/GP program. Note that I'm using addition instead of bitxor. Both work in this case.
parfor(i=0, 10^5, if(isprime(19249 + 2^i), print(i)));

I wonder if it's undecidable in general to check if a prime number is widely digitally delicate. This 19249 case is definitely giving me an aperiodic "domino problem" vibe.

I'm torn about this 19249 thing. On one hand, I've validated it up to several hundred thousand bits and have narrowed down the "hard" instances to 19249+2^(22+180*i), 19249+2^(58+180*i), and  19249+2^(94+180*i), which all seem to have the modular exponentiation 2^exp = 1 only when exp is divisible by 13 and 4. Granted, I have only verified this for the first 6. But if true, the 13 would guarantee non-primality since 2^(22+36*i)+19248 is never divisible by 13, making Fermat's little theorem primality test fail in base 2.
On the other hand, there was a very similar question about whether 19249*2^n+1 is composite for all n (https://en.wikipedia.org/wiki/Seventeen_or_Bust). It isn't. 19249*2^3918990+1 is prime. I don't know if it translates to some "19249 plus a power of 2" being prime, but it is very suspicious.
It'll take over a year to test up to 4 million bits, but that seems like the right path forward until I have a proof. Might need a faster algorithm!

19249+2^5515428 might be prime. In that case, 2^exp = 1does not imply thatexp % 13 = 0`.

Jeremiah mentioned in https://scholarcommons.sc.edu/etd/5879/ that if p*2^n+1 is composite for all n, then 2^n+p is composite for all n. Therefore, finding a prime 2^n+p would prove that some p*2^n+1 (different n) is prime. I'll work up to the next number (21181) in https://en.wikipedia.org/wiki/Seventeen_or_Bust.
Also, based on the difficulty of the 19249 case, I wonder if the converse is true: If a prime p*2^n+1 exists, does that imply some 2^n+p (different n) is prime?

Hmm... 21181+2^28, 22699+2^26, 24737+2^17, and 55459+2^14 are prime. That was too easy. I need to work through a proof to make sure it implies that 21181, 22699, 24737, and 55459 aren't Sierpinski numbers.
67607+2^16389 is probably prime as well. Needs to be properly verified. That should be an easier exercise than for 19249+2^551542.

After rereading, it's clear that a prime 2^n+p implies one of the following:

The set of primes that covers all p*2^k+1 includes 2^n+p.
The set isn't finite.
Some p*2^k+1 is prime.

https://oeis.org/A076336 says it's a conjecture whether the two forms have a prime for exactly the same p values, but I kinda doubt it. Finding a counterexample would also prove that a "covering set" can be infinite.


they function as a alias of it function.

🚀 Feature Proposal
Add they function as a alias of it function.
Motivation
It's more close to English when description a plural entity.
Example
descript('users', function () {
    they('are all administrators.', function () {
        // your test case
    })
})

We're not gonna add anymore globals. You can do global.they = global.it.bind(it) in a setup file yourself if you want it.
Thanks for the suggestion, though!


[feat] Ability to use and select other sampling algorithms for Transform Image node

Describe the problem
When I use Transform Image to scale and transform an image, it appears to be using Nearest Neighbor sampling.  Results are blocky.  Is it possible to enable other sampling algos?  Bicubic, Lanczos, etc?
Describe the solution you'd like
A drop down that selects sampling algorithm for transform.
Alternatives considered
No response
Additional context
No response

Hi Nathan,
Yes good point I will add the common on to both transform image nodes


Schedule Management Enhancements

[x] Duplication of items
[ ] Trello-style notes
[ ] Draggable Tasks to duplicate over days

Re-assign event handlers upon duplication of task


Additions for SEPA IBAN Element / SEPA Debit Sources

adds bank name detection to IBAN Element

introduces an elements object to hold references to the different Element instances
unmounts all unused Elements before calling createSource in form submit handler

This is great, thanks so much Thor! Very nice touch with the bank name 👍


Refactored History into its own plugin

Refactored History into its own plugin

Notes:

History (i.e. undo/redo) is now inside its own plugin, which is in turn inside its own library
The playground now supports undo/redo
In order to fit the new buttons on the playground toolbar, I had to refactor things a bit, bringing the styling (i.e. bold, italic etc) buttons into a popup menu.
LexicalView no longer provides an EditorHistory object. It was confusing before, because that is only one part of what is required to implement undo/redo, so its presence might have suggested to developers that they didn't need to do any extra work. With the new system, where undo/redo is provided by a plugin, developers genuinely don't need to do any extra work, apart from writing the UI for the buttons that expose undo/redo to the user!


Could not autowire. There is more than one bean of 'HazelcastInstance' type.

IntelliJ IDEA tips Application#L23-L24
Could not autowire. There is more than one bean of 'HazelcastInstance' type.
Beans:
hazelcastInstance   (HazelcastServerConfiguration.class) hazelcastInstance   (HazelcastClientConfiguration.class)

Can't reproduce.
This is what I did
git clone https://github.com/ralscha/blog2019.git
cd blog2019/ratelimit
./mvnw spring-boot:run

Yes, it does not affect service startup, it is just a canonical check for Jetbrains on Spring Bean assembly.
I use getOrCreateHazelcastInstance avoid this problem, perhaps it was hazelcast-spring's faults Or maybe it doesn't matter.
    @Bean
    HazelcastInstance clusterHazelcastInstance( ) {
        Config config = new Config( );
        config.setInstanceName( "cluster.local.hz" );
        config.getCPSubsystemConfig( ).setCPMemberCount( 3 );
        return Hazelcast.getOrCreateHazelcastInstance( config );
    }

I see. Thanks for the feedback.


copr: add vectorized char_length

What have you changed?
Add vectorized version char_length and char_length_utf8
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
N/A
Does this PR affect tidb-ansible?
N/A
Refer to a related PR or issue link (optional)
Solve #6961
Benchmark result if necessary (optional)
N/A
Any examples? (optional)
N/A

/approve

@andylokandy PTAL :P

/merge

Congratulations!

Thanks! @andylokandy @TennyZhuang @leiysky

/merge


Add window func related logic plan to proto ability.

Signed-off-by: yangjiang<EMAIL_ADDRESS>Which issue does this PR close?

Closes #4480.
Rationale for this change

Help support window function in ballista.
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@andygrove PATL , seems this part not have a test, have tested with ballista.

Code looks good to me @Ted-Jiang
can you please add a test to ensure we don't introduce regressions in the future?

@alamb Thanks for your advice, add test in add test.


Fix client branch build

Currently there is component which cause the build to fail. We should get rid of it for now.

Commented out code which caused the build to fail.


Amazing footer

Describe the project you want to add with tech stack

This project contains footer.As footer is needded in nearly every website,hence it is a very important component in many website but its designing may take long time.I have seen a footer related folder in the repository.I too want to add some amazing footers. Can you assign this task to me?
Expected behavior

Screenshots (optional)

Additional context (optional )

@MohitGupta121 ,@TusharKesarwani Can you assign this task to me?


Rebase & Implement Rerank

Problem
The InferenceService and Embed operation were implemented in a previous PR: https://github.com/pinecone-io/go-pinecone/pull/67
As a part of the 2024-10 release we are also adding Rerank to the client, which will live under InferenceService with Embed.
Solution
This work builds on top of external contributions from @Stosan (https://github.com/pinecone-io/go-pinecone/pull/73) Thank you for you diligence in getting this started!

Update InferenceService to expose the new Rerank method.
Add various request and response types to represent the interface.
Add doc comments and an integration test for calling the reranker.

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[ ] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
just test
If you want to use the code yourself, here's an example:
	ctx := context.Background()

	clientParams := pinecone.NewClientParams{
		ApiKey:    "YOUR_API_KEY",
	}

	pc, err := pinecone.NewClient(clientParams)
	if err != nil {
		log.Fatalf("Failed to create Client: %v", err)
	}

	rerankModel := "bge-reranker-v2-m3"
	topN := 2
	retunDocuments := true
	documents := []pinecone.Document{
		{"id": "vec1", "text": "Apple is a popular fruit known for its sweetness and crisp texture."},
		{"id": "vec2", "text": "Many people enjoy eating apples as a healthy snack."},
		{"id": "vec3", "text": "Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces."},
		{"id": "vec4", "text": "An apple a day keeps the doctor away, as the saying goes."},
	}

	ranking, err := pc.Inference.Rerank(ctx, &pinecone.RerankRequest{
		Model:           rerankModel,
		Query:           "i love cats",
		ReturnDocuments: &retunDocuments,
		TopN:            &topN,
		RankFields:      &[]string{"text"},
		Documents:       documents,
	})
	if err != nil {
		log.Fatalf("Failed to rerank: %v", err)
	}
	fmt.Printf("Rerank result: %+v\n", ranking)

This is exciting to read.
Love it with Pinecone!


Is ByteIteratorColumn from phantom in use anywhere?

Hi @velvia,
I just wanted to ask if the ByteIterator functionality from phantom is of any use whatsoever to you anymore. There's a lot of code we ported in from Akka that we don't really want to maintain and as I recall you took a different approach in the end, so there may be 0 reason for us to keep it in the codebase.
Also, you can extend and create your own columns quite easily, and perhaps that's why it makes little sense to do keep it all in one place, especially since are doing nothing but duplicating already existing concerns far better addressed in different projects.
Regards.

HI Flavian, go ahead and remove it.   We decided to use scodec.bits.ByteVector instead.   Thanks!

On Apr 6, 2016, at 8:26 AM, Flavian Alexandru<EMAIL_ADDRESS>wrote:
Hi @velvia https://github.com/velvia,
I just wanted to ask if the ByteIterator functionality from phantom is of any use whatsoever to you anymore. There's a lot of code we ported in from Akka that we don't really want to maintain and as I recall you took a different approach in the end, so there may be 0 reason for us to keep it in the codebase.
Also, you can extend and create your own columns quite easily, and perhaps that's why it makes little sense to do keep it all in one place, especially since are doing nothing but duplicating already existing concerns far better addressed in different projects.
Regards.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/tuplejump/FiloDB/issues/87

Thanks for letting me know!


python311Packages.meraki: 1.33.0 -> 1.34.0

Changelog: https://github.com/meraki/dashboard-api-python/releases/tag/1.34.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 239790 run on x86_64-linux 1

6 packages built:

meraki-cli
meraki-cli.dist
python310Packages.meraki
python310Packages.meraki.dist
python311Packages.meraki
python311Packages.meraki.dist


--exclude-fields option

Allow users to specify fields within a MongoDB document to exclude.

Observed this behavior on nested fields:
{ "docType": "movie", "searchable": { "title": "Nebraska" }}  (part of much larger document)
In config.json: {"fields": ["searchable", "docType"] }
At startup, initial load, both docType and searchable make it to Elastic.
On subsequent updates, touching docType propagates the change. Touching searchable.title doesn't.
If I change fields to {"fields": ["searchable.title", "docType"] } it works.
Maybe we could have something like "searchable.*"  in fields to specify any changed sub-fields?
Otherwise all sub-fields would need to be listed in the filter.
Thanks!

@sjalali That's a good suggestion! I'll make that into a new feature request (this particular issue is about excluding fields rather than including them).

https://github.com/mongodb-labs/mongo-connector/commit/4fe5de8d55a6c84d7465bc989f33696144ea9640

Was this option still not fulfilled?
My mongo-connector version is 2.4, I used this option in command-line, but failed
/usr/local/bin/mongo-connector -m <IP_ADDRESS>:27118 -t localhost:9200 -d elastic2_doc_manager -n ask.zd_topic -a usvr_sereader -p XXXXXXXXX --continue-on-error --exclude-fields pic_urls

mongo-connector: error: no such option: --exclude-fields

Thank you for help!


[FEAT] Make link clickable/openable

I have a link in a description. When I click on the link I expect the link to open in my default browser but as of now nothing is happening.
The link is detected and underlined. The cursor changes to link click cursor but on click nothing happens.

Hmmm... Didn't add the feature but can do

Sounds more like an issue with the terminal. I use Konsole by KDE and I have the option to click links when holding CTRL.

I confirm ctrl+click works on a few terminals and it doesn't work on kitty. Is there a way to make the behavior more uniform/predictable across terminals.

Is there a way to make the behavior more uniform/predictable across terminals.

Yes If I can use a proper regex to determine URLs then I make it clickable I suppose :D

I confirm ctrl+click works on a few terminals and it doesn't work on kitty. Is there a way to make the behavior more uniform/predictable across terminals.

Try just clicking it instead of pressing ctrl. I just tested on my pc and urls open if i just click.... however it doesnt if i alongside press ctrl


keep mediacontrol visible while paused?

tried hideMediaControl: false but it keep showing while playing, how to keep mediacontrol visible while paused only?

@ewwink go to demo page and try this workaround code :
var playerElement = document.getElementById("player-wrapper");

var player = new Clappr.Player({
  source: 'http://clappr.io/highline.mp4',
  height: 360,
  width: 640,
  events: {
    onPlay: function() {
      player.core.mediaControl.resetKeepVisible();
    },
    onPause: function() {
      player.core.mediaControl.setKeepVisible();
    }
  }
});

player.attachTo(playerElement);

yes it work, thanks @kslimani

@kslimani is being a hero here once in a while!! thanks =]


Beta

e i am pikachu e

Please make smaller pull requests. One pull request per mob, would be ideal. That way we can better finetune each mob


Jenkinsfile for multibranch pipeline build

Overview
Our Jenkins setup has been using the traditional Jenkins definition, with a job driven by a shell script sitting in the apache/couchdb-ci repository, and a further script baked into each Docker image. To maintain the build process, ~8GB of new images have to be pushed to Docker Hub, which isn't practical or scalable.
We also now have requests to have Jenkins securely drive our binary deployment process, by triggering .deb/.rpm/Docker/snap builds. With a classic Jenkins job, we have to use dependent/downstream builds to trigger this behaviour, requiring more manual setup in the Jenkins web UI that is difficult to maintain.
This PR adds a Jenkinsfile that uses the new declarative pipeline syntax introduced to Jenkins in February 2017.  It's similar to a .travis.yml file but with additional functionality for a multi-stage pipeline, and extra functionality provided by various Jenkins plugins. For instance, the build automatically archives a make dist tarball to Jenkins with each build.
A new multibranch pipeline job has been defined in Jenkins pointing to our repository. Only minimal configuration was required:

Generic credentials were provided for a GitHub API key to poll the couchdb repository for branches and changes.
couchdb-vm2.a.o CouchDB credentials were specified for the logfile uploader.
The job is set to only build these origin branches: master 2.1.x jenkins-pipeline. No PRs (merged or unmerged, forked or not) are being built at this time due to the heavyweight nature of our Jenkins build - let's leave those to Travis.
The job is set up to keep only the last 10 build result logfiles and archived artefacts.

Minor changes were also required to the logfile uploader due to changes in the environment variables available in the multibranch pipeline build.
Testing recommendations
The job is live in Jenkins already. You can see the list of branches that have run, as well as a list of recent activity.
Across 4 runs on this branch, we have 1 success and 3 failures. The failures are of 3 sorts:

docker pull sometimes hangs on a Jenkins node (bug here)
couchjs still segfaults under Jenkins, most often on CentOS 6/7, but at least once in these 4 runs on Debian 8.
There is one failure due to an eunit context teardown. This is an odd new failure type. The logs were successfully uploaded to couchdb-vm2.a.o for further analysis, just as they should have been.

Note that because I have renamed the job, some of the Blue Ocean links to logfiles don't show up. You can use the Jenkins classic view to access these logs (click the Exit icon at the top left to get there.)
One final change to the email address for notifications (currently just to me) will be made and squashed before I push this assuming +1. Emails will go to<EMAIL_ADDRESS>unless otherwise requested.
Checklist

[X] Code is written and works correctly;
[X] Changes are covered by tests;
[X] Documentation reflects the changes;

+1
Very nice work.
I like the look and feel of the new Jenkins pipeline UI. And groovy script is pretty easy to understand too.


[FEATURE] Delete tensor from a dataset

🚨🚨 Feature Request

[ ] Related to an existing Issue
[x] A new implementation (Improvement, Extension)

If your feature will improve HUB
this task is to allow deleting a tensor alongside its data.
API:
ds.delete_tensor(tensor_name, large_ok = False)
when large_ok is False, only tensors that contain <= 1GB of data can be deleted. If the tensor contains > 1GB, you should raise an error.
try to write this large_ok parameter to a similar style as dataset delete.
when large_ok is True, all tensors of any size can be deleted.
you must delete not only the entire subfolder of the tensor, but also erase any references to it inside of dataset meta
Difficulty: Hard

@tatevikh Can I work on this issue?

sure, enjoy!


Evaluate usefulness of pep-593 for structured configs

"This PEP introduces a mechanism to extend the type annotations from PEP 484 with arbitrary metadata."

pep-593
PEP master Issue with some examples

Some ideas below. Note that this is all pseudo code for now.
Documentation annotation
Doc : Annotated
num: Doc[int, "A number of things"] = 8

Range annotation for valid input range.
NumRange(T, min, max) = Annotated[T, min, max]
StrRange(Choices) = Annotated[str, Choices]
# 0 <= num < 10
num : NumRange(int, 0, 10)

# 0.1 <= num < 0.2
num : NumRange(float, 0.1, 0.2)

# string must be one of "a", "b" or "c".
# Similar to current Enum support.
string : StrRange["a", "b", "c"] = "a"

Size unit annotation
Number can be converted from some common base unit or string representation to the specified unit.
Size[T] = Annotated[int, T]
# Static type error from string to int, but can work around with Any somehow
# Would convert "1kb" to 1024 (bytes as int).
bytes: Size[B] = "1kb"

# Would convert "1kb" to 1
bytes: Size[KB] = "1kb"

# Would convert to 0.001MB or to 0MB, depending on int or float. not sure.
bytes: Size[MB] = "1kb"

File annotations
Not sure about it, File (Or pathlib.Path) should be a properly supported primitive first. but:
must_be_a_file : File[str, IsFile]
must_be_a_dir : File[str, IsDir]
must_exist : File[str, Exist]

@till-varoquaux, would love to chat with you about this to see what is currently possible.
I would like to start with the Doc annotation, and I saw multiple suggestion on the the relevant issue, but as far as I can tell many are not actually implemented and the few that are not really satisfactory.

I wanted to mention that the field function defined in Python stdlib's dataclasses module has a metadata keyword. The keyword takes a user-defined mapping as input; it is provided, provided "as a third-party extension mechanism".
Using the PEP 593 annotations feels "cooler" than defining metadata via the field function, but I wanted to mention using field as an alternative:
@dataclass
class MySchema:
    num: int = field(metadata={"doc": "number of trials", "range": [0, 10]})

Not sure what the status is of this, and I haven't ever used omegaconf myself, but I found this issue from other issues and thought it might be relevant to mention https://github.com/annotated-types/annotated-types since it actually implements some of the proposals here and is currently being used by Pydantic.

Thanks @adriangb.


[2.2] Updated rancher chart to mitigate cert-manager issue #2533

Fix issue #26505

related to : https://github.com/rancher/rancher/issues/27086