"assemble_a_path_from_fragments()" doesn't work or needs an example

Describe the bug
I tried to combine two pathes into one using assemble_a_path_from_fragments() or assemble_path_fragments(). Although the description sounds right for my usage, both didn't work, neither using extra '[]' or not.
This is probably my mistake, I just don't know how to find the error. Already "concat" - is not to be found..
Therefore the examples are so important..
Code To Reproduce Bug
    // simplified form, normally an svg form, converted to [x,y]
    path = [ [0,0], [10,0] , [10,10], [10,0] ];
    //get the mirror of 'path' and put them together as one
    fulpath = assemble_a_path_from_fragments( [path, mirror([1,0], p=path)] );
    /*  repalcing 'fulpath' with the following doesn't work either:
       = assemble_a_path_from_fragments( path, mirror([1,0], p=path) );
              = assemble_path_fragments([path, mirror([1,0], p=path)]);
              = assemble_path_fragments( path, mirror([1,0], p=path) );
    */
    // making a 3d object out of the fulpath and fulpath with offset
    skin( [offset(fulpath, r=2, closed=true), offset(fulpath, r=11, closed=true)], z=[0,22], slices=2);

Expected behavior
there should be less blue and red error messages but a visible 3d object.
I guess that is need to avoid the "[]" between the two pathes? But I couldn't find the function (
Assertions like: 'is_path(poly, dim = 2)' failed: "Input should be a 2d path" in file ../../../..
doesn't help me, because it is 2d path..
Additional context

OpenSCAD Version: 2021.01
Other libraries used: [2, 0, 641]

Indeed if you echo(fulpath) you can see it is a list of paths instead of a path, so no, it is not a 2d path.    I think assemble_a_path_from_fragments is a specialized function in support of boolean path operations.  The documentation for it is terrible, so I'm not sure what it does, but I suspect it's not what you need.
Can you explain what you're trying to do?  It sounds like you probably want something like concat(path,reverse(xflip(path)), but I'm not sure.  Also your path backtracks on itself, which will not work in skin().    Maybe you meant the last point to be [0,10]?

Actually also you probably need to run deduplicate if you do the above because offset will be unhappy with the repeated points on the Y axis.

Your path, the first, folds on itself; the second path, a mirror of it,
does not close the first path.
The error message comes from skin; it rejects your fulpath because it is
not a 2d path. Echo it to see.
The function assemble_a_path_from_fragments always returns a pair where
the former element is the possibly assembled path and the later a list of
unused fragments. You should input skin with just the former element,
which is a 2d path.
Em dom., 5 de set. de 2021 às 19:43, 3Dietrich @.***>
escreveu:

Describe the bug
I tried to combine two pathes into one using
assemble_a_path_from_fragments()
https://github.com/revarbat/BOSL2/wiki/paths.scad#function-assemble_a_path_from_fragments
or assemble_path_fragments()
https://github.com/revarbat/BOSL2/wiki/paths.scad#function-assemble_path_fragments.
Although the description sounds right for my usage, both didn't work,
neither using extra '[]' or not.
This is probably my mistake, I just don't know how to find the error.
Already "concat" - is not to be found..
Therefore the examples are so important..
Code To Reproduce Bug
// simplified form, normally an svg form, converted to [x,y]
path = [ [0,0], [10,0] , [10,10], [10,0] ];
//get the mirror of 'path' and put them together as one
fulpath = assemble_a_path_from_fragments( [path, mirror([1,0], p=path)] );
/*  repalcing 'fulpath' with the following doesn't work either:
   = assemble_a_path_from_fragments( path, mirror([1,0], p=path) );
          = assemble_path_fragments([path, mirror([1,0], p=path)]);
          = assemble_path_fragments( path, mirror([1,0], p=path) );
*/
// making a 3d object out of the fulpath and fulpath with offset
skin( [offset(fulpath, r=2, closed=true), offset(fulpath, r=11, closed=true)], z=[0,22], slices=2);

Expected behavior
there should be less blue and red error messages but a visible 3d object.
I guess that is need to avoid the "[]" between the two pathes? But I
couldn't find the function (
Assertions like: 'is_path(poly, dim = 2)' failed: "Input should be a 2d
path" in file ../../../..
doesn't help me, because it is 2d path..
Additional context

OpenSCAD Version: 2021.01
Other libraries used: [2, 0, 641]

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/revarbat/BOSL2/issues/633, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYKSLOVG3SI2WNBXNOCQADUAO23XANCNFSM5DPCLZZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Maybe you meant the last point to be [0,10]?
yes!  The path should be
   path = [ [0,0], [10,0] , [10,10], [0,10] ];

Can you explain what you're trying to do?

It should be a symmetric form, so I constructed one half of the object ('path') and want to combine it with the mirror at x-axis of itself, what should result the complete 2d form ('fulpath'). Then, with skin, I want to make it 3D using fulpath (with some resizing 'offset') on different z hights.
Here is a screenshot of what I want ( here I used hull() with 2x linear_extrution(1) ):

the red area is the 'path'

Thank you @adrianVmariano, your reaction was very helpful and the right advices.
fyi, this is working now:
    path = [ [0,0], [10,2] , [10,5], [0,7] ];
    fulpath = deduplicate(closed=true, concat( path,reverse(xflip(path))));
    skin( [offset(fulpath, r=2, closed=true), offset(fulpath, r=11, closed=true)], z=[0,22], slices=2);

to get all the details known is a pain (e.g. knowing "deduplicate"! and knowing that adding "closed=true" is fully important or you get red and blue errors instead of 3D object) but this is not you but my problem..
And at least I can sometimes imagine something out of the error messages.
Thank you again!

What I wrote already is the solution to your problem.  The simplest solution for your example would be:
  $fn=36;
  path = [[10,0],[8,10]];
  fulpath = concat(path, reverse(xflip(path)));
  skin( [offset(fulpath, r=2, closed=true), offset(fulpath, r=11, closed=true)], z=[0,22], slices=2, method="tangent");

Note that there was a---call it a bug---in offset() where it didn't respect $fn, $fa and $fs properly that I fixed last week.  (There is an undocumented parameter called maxstep that controls the segment length.)   This makes it harder to get the profiles to line up for skinning.    If you update to the latest version you can use $fn to control the number of points at the corners and it comes out the same at each corner, so the profiles line up neatly for skinning.  Then you can skip the "tangent" method.  Otherwise, you need the tangent method to get a proper alignment and it's kind of slow because offset makes a lot of points, a lot more than you need.  (In the old BOSL2 version you can set maxstep=0.5 in the offset calls to get a faster result.)
Depending on what you want to do, offset_sweep() may be worth a look because it knows where the points produced by offset came from so it can produce perfect point alignments from layer to layer.
Note that in my design above, I omit the points on the Y axis because if you include them then they get duplicated when you mirror them, and that is an extra complication: offset will fail with a very cryptic error message.  (I fixed that.)  If you have duplicate points you need to remove them with deduplicate().
Ronaldo, error comes from offset, not skin.
And the "bug" here is that the path fragments functions need to be documented or maybe just hidden from users (made into internal functions).


Shake treshold is a constant

						if(Math.abs(dx)>3){

Should we use an init-parameter? Or a variable that we can reach? E.g.:
Shaker.shake_threshold = 3;

I vote for the latter and will implement this in a branch.
Bazzinga!

Looks like this is already implemented, but not used. Misspelled however :)
window.shaker={}

shaker.shaketreshold = 4;
shaker.stepfrequency = 500;
shaker.shakefrequency = 1500;
shaker.hasGeoLocation = false;
shaker.geolocationcallback = null;
shaker.geofrequency = 30000;

I think we need to be more consistent in the naming. Either we use step or we use shake.

Step is a step (jolt), shake is a number of steps within the same time-span.

If we only sense one acceleration change within the same 1500 ms it is not considered a shake.... but if we sense more than one it may be a shake.

Aha ... but then
if(Math.abs(dx)>3){

reflects not number of jolts or shakes, but rather a delta distance in (units?) between two measurements. Right?
Isn't this than a new property? Should it be customizable?


CompactionTask throws exception on conflicting segmentGranularity

Description
A follow up to #10843
Since there are 2 ways for a user to specify segmentGranularity - this change makes throws an exception if a user accidentally submits a compaction task with conflicting segmentGranularities - by using the old way and the new way at the same time.

This PR has:

[x] been self-reviewed.
[ ] added documentation for new or modified features or behaviors.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

No integration tests added since this is fully covered by the unit tests and it's a test of edge cases.
No documentation added because this would conflict with #10935 which is already in flight


ML : Market Basket Analysis (ML-Projects)

📌 Issues for Week 9 - Basic Projects of Machine Learning
🔴 Project Title : Market Basket Analysis
🔴 Aim of the Project : Machine learning model to finding out the most frequently bought products together by analysing the past buying behaviour of the customer.
🔴 Dataset : https://www.kaggle.com/roshansharma/market-basket-optimization
🔴 Domain : Machine Learning
🔴 Special Credit : Try to implement more than three machine learning algorithms and make a comparison between them, then conclude about the best fit algorithm to create the model. All the algorithms must be checked through the accuracy scores to determine the best fitted model
Welcome to 'ML' Team, good to see you here, in this week we'll be creating several basic projects of this Machine Learning Domain.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.
A Demo Project has been created to guide you about the whole structure of presenting the Project in this repository. Here's the link of the Demo Project - https://github.com/girlscript/winter-of-contributing/tree/Machine_Learning/Machine_Learning/Basic_Projects_of_Machine_Learning/Demo_Project

Take the Reference from these two projects attached here,

https://github.com/prathimacode-hub/ML-ProjectKart/tree/main/Airbnb Price Prediction
https://github.com/prathimacode-hub/ML-ProjectKart/tree/main/Bike Crash Analysis

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Machine Learning/Machine_Learning/Basic_Projects_of_Machine_Learning Branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
Batch Number :
GitHub Profile Link :
Approach for this Project :
Are you a participant of GWoC21?

[ ] YES
[ ]  No

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Basic Projects of Machine Learning
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Rushika Shrestha
Batch- ML 1
Type-Project

Assigned @shrestharushika

What's the progress here @shrestharushika

I'll make the PR by the end of the day.


Live share: An error pops up when join in the host.

Environment data
Build of Visual Studio Code - Insiders: 1.60.0 -insider (user setup)
Build of python-insider: 2021.9.1121560038-dev
Build of jupyter-insider: 2021.8.2025984474
Actual behaviour
An error pops up when join in the host.
The folder is a new folder and the file is saved.

Steps to reproduce:

Install the LiveShare VSCode Extension (VS Live Share Extension Pack)
Open manualTestFile.py in VSCode
Run the first cell in the file
Switch to the Live Share tab in VS Code and start a session
Open another window of VSCode
Connect the second instance of VSCode as a Guest to the first Live Share session

This isn't likely a vscode problem, but we're not sure how to transfer it to the LiveShare extension.

@linette-zyy Please re-file the issue here https://github.com/MicrosoftDocs/live-share/issues


Help to change values in the jboss configuration

Hi, I'm trying to use the module to make some automatic configuration for our jboss deployment (EAP 6.4) but I'm getting some difficulties to change some properties in the standalone.xml file.
I've tried and understood how to change some of them but with others I have problems.
I'm trying to change the mail server configuration in this:
    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
        <outbound-socket-binding name="mail-smtp">
            <remote-destination host="localhost" port="25"/>
        </outbound-socket-binding>
    </socket-binding-group>

But it seems I cannot find how to use the wildfly::resource correctly.
I was able to change in the same group the   definition but I've no luck with the one I need to change.
Can anyone help me? I did many try but what I was thinking should work is something like:
      wildfly::resource { '/socket-binding-group=standard-sockets/outbound-socket-binding=mail-smtp':
        recursive => true,
        content   => {
          'remote-destination' => {
            host => 'mailserver',
            port => 25,
          },
        }
      }

Any help will be appreciated :)

Ok sorry after some more try I found how to do 👍
      wildfly::resource { '/socket-binding-group=remote-destination-standard-sockets/outbound-socket-binding=mail-smtp':
        recursive => true,
        content   => {
          host => 'mailserver',
          port => 25,
        }
      }


Package overrides "bracket-matcher" settings

I have set my bracket matcher package to only complete {} brackets and it works fine. However, when editing Rust files, it completes every bracket which is in the default settings. This does not occur when this package is disabled or when launching Atom in safe mode.

This sounds similar to an issue with tab length setting that was nagging everybody in #93. It seems that Atom first merges the default settings with package settings and user settings and then chooses editor behavior by looking at the language specific settings, falling back to global settings. This results in language specific package settings overriding user specific global settings. I'm unsure whether this is a bug or intended by Atom (since for most settings this behavior could make sense).
So unfortunately, there's not much we can do about this. You could try to start a discussion with Atom people to see what they think about it. As a workaround, you could try to add rust specific bracket matcher settings in your user settings which should override the settings of language-rust.

There's a dirty workaround: In the config.cson, add
".rust.source":
  "bracket-matcher":
    autocompleteCharacters: [
      "{}"
      # Add other bracket pairs as you please
    ]

to only match specific brackets.


Request for permission to use your mods_mod_gui for my own mod

Hello spoter,
i couldn't find a direct email to get in contact with you, so i will write it here.
I'm a WoT mod developer and want to ask you for permission to include your mod_mods_gui in my mod-package to allow the players to easily enter a settings dialog to control the mod options.
I saw so many mods with no GUI for it, where people need to enter the json-config-textfile and i want to avoid this.
In my eyes there should be one config standard for all mods, and i really like your solution for it.
Can i use it for my mod too and put the needed mod_mods_gui_2.16.wotmod and gambiter.guiflash_<IP_ADDRESS>.wotmod in my mod package? Of course you will get the credits for it!
Any feedback would be great.
thanks in advance

Sure, no problem.
Ty


Running test_state does not fail gracefully if Ludii.jar is absent

Steps to reproduce

Build Polygames following the instructions from the readme.
Run ./build/test_state

Observed Results
The test fails when it reaches the point where it tests the Ludii integration (except if the user manually also placed Ludii.jar in the correct spot, which would be ludii/Ludii.jar).
Expected Results
The test should probably skip testing the Ludii integration of the Ludii.jar file is missing (but test it if it's not missing!).

Fixed by PR #46


unnecessary change of input?

I see in AES_CBC_encrypt_buffer code:
XorWithIv(input); memcpy(output, input, BLOCKLEN);
I was expecting something like:
memcpy(output, input, BLOCKLEN); XorWithIv(output);

Hi @monolifed and thanks for reading my code :)
I think you're right. Users might not expect their input buffer's content to be changed.
I'll commit a change to the code.
Thanks for your input :)


Attempt ManyToMany auto-fetching

Description
Quick draft attempt at auto fetching ManyToMany fields
Checklist:
Please update this checklist as you complete each item:

[ ] Tests have been included for all bug fixes or added functionality.
[ ] The changelog.rst has been updated with any significant changes, if necessary.
[ ] GitHub Issues which may be closed by this PR have been linked.

@rmorshea This may not be possible. get_queryset does not solve the problem, and when calling all() on the results they don't get cached.
I think the solution may be documenting that ManyToMany field fetches require a separate use_query hook call.

On a side note, I'm observing the following traceback. It seems like render_view isn't actually returning an HttpResponse object, but rather an unawaited coroutine.
Traceback (most recent call last):
  File "/home/ryan/Repositories/idom-team/django-idom/venv/lib/python3.10/site-packages/asgiref/sync.py", line 472, in thread_handler
    raise exc_info[1]
  File "/home/ryan/Repositories/idom-team/django-idom/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 42, in inner
    response = await get_response(request)
  File "/home/ryan/Repositories/idom-team/django-idom/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
    response = await wrapped_callback(
  File "/home/ryan/Repositories/idom-team/django-idom/src/django_idom/http/views.py", line 52, in view_to_component_iframe
    response["X-Frame-Options"] = "SAMEORIGIN"
TypeError: 'coroutine' object does not support item assignment

Weird, I haven't seen that in my testing environment. Not happening on GH actions either.

I needed to add a kwarg to allow users to turn off many_to_many or many_to_one prefetch behavior. It may be memory intensive if using deep nested database structures. However, this has broken the *args: _Params.args, **kwargs: _Params.kwargs, type hints.

Unfortunately, ParamSpec does not support this. It was explicitly left out of the original PEP because it was deemed to be of sufficient complexity to be considered out of scope.
Here's one way we could work around this...
Instead of implementing this caching logic in use_query itself, this could be done in a wrapper functions:
use_query(prefetch(my_query, fields=True, related=True), *args, **kwargs)

Where prefetch is of the form:
P = ParamSpec("P")
R = TypeVar("R")

def prefetch(query: Callable[P, R], fields: bool: False, related: bool = False) -> Callable[P, R]: ...

I actually quite like this since it doesn't impinge on the *args, **kwargs of the query function. It could also be used to address https://github.com/idom-team/django-idom/issues/104 since you only need to use prefetch if you're returning models or querysets.

I just realized that prefetch could also be used as a decorator:
@prefetch
def my_query(): ...

@prefetch(related=True)
def my_query(): ...

Some form of prefetching would still need to occur within use_query to ensure all the basic fields are accessible.
I personally think it feels the least awkward for them to be parameters within use_query, truly unfortunate on that ParamSpec limitation... I'll try wrappers out.

Having it be a decorator is also kind of unfortunate, since I was hoping the default behavior would be to prefetch.
Now that I'm thinking about it, it's not unrealistic to ask Django users to add a prefetch parameter to their models.py. Would fit Django's "fat models" architecture.

The type hints for prefetch would be:
from typing import ParamSpec, TypeVar, overload

_Params = ParamSpec("_Params")
_Result = TypeVar("_Result")

@overload
def prefetch(
    query: None = ..., *, fields: bool = ..., related: bool = ...
) -> Callable[[Callable[_Params, _Result]], Callable[_Params, _Result]]:
    ...

@overload
def prefetch(
    query: Callable[_Params, _Result], *, fields: bool = ..., related: bool = ...
) -> Callable[_Params, _Result]:
    ...

def prefetch(
    query: Callable[_Params, _Result] | None = None, *, fields: bool = True, related: bool = False
) -> Callable[_Params, _Result] | Callable[[Callable[_Params, _Result]], Callable[_Params, _Result]]:
    ...

This allows prefetch to be used as a decorator and with an inline call.

I attempted to generate an option that is extensible, with the knowledge that use_query may some day be merged into core.

I think I'd like to have some more discussion before implementing anything. I've gathered the relevant issue for discussion here: https://github.com/idom-team/django-idom/issues/113

I'll have time to take a look at this tomorrow.

Having that be the default seems alright.

Do you want to review the docs or should I merge?

Besides that one little nit it looks good.

Fixed the type hint
Modified the Postprocessor to now require a return value.

The idea behind this change is, since we aren't trying to fully limit use_query to database calls, we have no way of ensuring that data is always mutable (such as a Model object).

Made the default postprocessor configurable.

Since the changes are non-trivial, I will wait for one more approval.

Pushing this forward, we can do any requested changes in the version bump PR.


Add datadog checks for services

Identify services and implement checks in them.
http://docs.datadoghq.com/guides/agent_checks/
http://docs.datadoghq.com/monitoring/
https://docs.ansible.com/ansible/datadog_monitor_module.html

#25 is related to this.

#66 is related to this

This issue was moved to BonnyCI/projman#22


paths-filter action detecting more changes than necessary when PR branch is out of date with default branch

Context
While working on https://github.com/2i2c-org/infrastructure/pull/2762, I noticed that at a stage the deployment plan comment was reporting that all the hubs would be redeployed even though my PR was not making any changes that should trigger a redeploy of everything.
I noticed two things:

In the action logs of the paths-filter step, there is the message: "Github token is not available - changes will be detected from PRs merge commit"
My branch was behind the default branch (though not in a way that prevented merge)

Once I updated my branch to be up-to-date with the default, the deployment plan refreshed to only include the one hub that I was adding, which is the expected behaviour. (Note that the message from (1) was still present.)
My intuition is thinking that, if the PR branch is behind the default branch and the paths-filter action is using the merge commit, then we will see deployment plans that do not make sense for our PRs because we have pulled in other changes into the analysis from the discrepancy. And these affected deployment plans might causes unnecessary redeploys (I'm not sure what would happen on merge).
Proposal
I see two possible things to try here (let me know of any options I missed):

We could have a branch protection rule that requires branches be up-to-date before merge

Pros: I imagine this is a common practice in parts of industry and ensures changes are always tested on the most recent version of code in the default branch
Cons: I've never worked in a team that used this practice so I don't have a sense for how 'annoying' or 'disruptive' it'll be (though I don't think that much, especially as GitHub provides an "Update branch" button at the bottom of PRs). This also feels like a hack in that it doesn't address the problem which is unexpected behaviour from the paths-filter action.

We could try giving a token to the paths-filter action. We currently don't.

Pros: This solution actually targets the source of uncertainty
Cons: We don't (yet) know what paths-filter will use if not the merge commit. We may run into a resurgence of https://github.com/2i2c-org/infrastructure/issues/1686 (if the token we give it is the standard GITHUB_TOKEN, but there is a way to track that now. We could also use an app token or PAT as an alternative.)

Updates and actions
No response

Needs investigation to determine if this is still the case or if it has resolved itself


chg:usr: modified paper 2 to accomodate minor changes

I will review and accept the pull request.

Merged


grad of variable size extract_image_patches

Fixes #11651
cc: @drpngx @gpapan

@gpapan could you take a look?

Nagging Reviewer @sherrym: It has been 14 days with no activity and the awaiting review label was assigned. Can you please take a look?

What time it will be with an official version about "grad of variable size extract_image_patches"

Nagging Reviewer @sherrym: It has been 15 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @sherrym: It has been 30 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @sherrym: It has been 45 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @sherrym: It has been 60 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @sherrym: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 75 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @sherrym: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 89 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @sherrym: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 105 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @sherrym: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 120 days with no activity and the awaiting review label has been applied.

@robieta can you take a look?

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 44 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 59 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 74 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 89 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 29 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 44 days with no activity and the awaiting review label has been applied.

Nagging Reviewer @robieta: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 60 days with no activity and the awaiting review label has been applied.

Apologies; this got lost in my inbox. Can you check whether this is still an issue, and if so rebase your PR?

Any news of this PR?

New PR has been opened with these changes , so closing this .Thank you


water seems not correct

thanks for sahring this good project.
but when i run enough time, i find some logic error. such as for water, when water falls down to ground, it should form horizontal plane quickly, but your water speed is too slow, so it is not like water, but like...ugh, maybe sand?

I think the problem is your speed. in your shader, you only move 1 pixel each time, this may limit something

Yes， I see your   code， but it is c# so i do not run it。Now I recreate using godot shader using this tutorial 。 the core part for pixel is：

and I think godot 3.x can not use struct， So I am thinking how to save velocity and so on in variable。 one method is using one float （I remember it is 16 bit）and different bits represent different information. If you have better ideas, please let me know.


chore: updates compgen templates for new interfaces

Generated a new receiver found red squigglies, updated the templates. Regenerated and verified the linter was happy. Ran mdatagen on the generated receiver and verified that mdata gen was generating the new interfaces.

Looks right @jburns24  - did you run the utility to check everything went well?

From this commit:

// Deprecated: [v0.103.0] Use receiver.Settings instead.

Nice find and thanks for fixing @jburns24! LGTM but I agree with @adrielp that we should run a generated receiver before merging. A generated receiver should start up successfully and do nothing at all.

😏 I did not actually run it. Ill update the ticket with the results of actually testing the change!

This ready to be reviewed again @jburns24 ?

@adrielp This is ready to be reviewed again.

@acramsay @adrielp Also verified the receiver runs
2024-08-21T09:44:44.579-0700    info    internal/scraper.go:52  running the myreceiver scrape function  {"kind": "receiver", "name": "myreceiver", "data_type": "metrics"}
2024-08-21T09:44:44.581-0700    info    MetricsExporter {"kind": "exporter", "data_type": "metrics", "name": "debug", "resource metrics": 0, "metrics": 0, "data points": 0}
2024-08-21T09:44:54.580-0700    info    internal/scraper.go:52  running the myreceiver scrape function  {"kind": "receiver", "name": "myreceiver", "data_type": "metrics"}
2024-08-21T09:44:54.580-0700    info    MetricsExporter {"kind": "exporter", "data_type": "metrics", "name": "debug", "resource metrics": 0, "metrics": 0, "data points": 0}
^C2024-08-21T09:45:01.018-0700  info    otelcol@v0.107.0/collector.go:318       Received signal from OS {"signal": "interrupt"}
2024-08-21T09:45:01.018-0700    info    service@v0.107.0/service.go:258 Starting shutdown...
2024-08-21T09:45:01.018-0700    info    healthcheck/handler.go:132      Health Check state change       {"kind": "extension", "name": "health_check", "status": "unavailable"}
2024-08-21T09:45:01.018-0700    info    extensions/extensions.go:63     Stopping extensions...
2024-08-21T09:45:01.018-0700    info    zpagesextension@v0.107.0/zpagesextension.go:105 Unregistered zPages span processor on tracer provider   {"kind": "extension", "name": "zpages"}
2024-08-21T09:45:01.018-0700    info    service@v0.107.0/service.go:272 Shutdown complete.

@acramsay Please give this another 👀. I removed mdatagen make target. Fixed the path to mdatagen in the go generate annotation and generated a new receiver and tested that make gen worked and the receiver worked.


Can I use tty-reader and tty-pager at the same time?

Hey there,
I'm figuring out if a certain idea is feasible, wouldn't want to waste time blindly giving it a shot.
I want a pager application where 'shortcuts' (single-key keypresses: left or a) alter the output (e.g.: I'm paging a file, I hit a, now I'm paging some other file).
Can that be achieved with tty-reader and tty-pager?
One could imagine that while the pager is on, no arbitrary keypresses are being listened to. Maybe I'm wrong.
Cheers - Victor

Hey Victor!
I would encourage you to give it a shot! TTY gems are built to be composable to create new tools. tty-reader is a generic inputs reader that you can use to build whatever needs to respond to key presses, for example your own repl. I use tty-reader recently for bulding terminal games.
As for tty-pager, there are two types of pagers, a system one, which calls out to external utility and a basic one built in pure Ruby. I would think that the system one won't match your requirement as it will be impossible to control paged output. On the other hand, the basic one with some tweaking may bring some good results.
I would suggest experimentation and if you build something please share it. Also, I'm accepting any PRs if you find you're missing someting from tty-pager or tty-reader and it would be a good addition.

Hi Piotr, gotchu!
Thanks for the explanation and encouragement.
Will report. ✌


Slide row onpress

Is it possible to open/slide the row when user touches the row.?

Yep! Definitely possible but sort of a private feature so it's not documented. Something like this should do the trick:
class Component {

  onRowPress(rowRef) {
    if (this.rowIsOpen) {
      this.rowIsOpen = false;
      rowRef.closeRow();
    } else {
      this.rowIsOpen = true;
      rowRef.manuallySwipeRow(RIGHT_OPEN_VALUE);
    }
  }

  render() {
    <SwipeListView
      renderRow={ (rowData, secId, rowId, rowMap) => (
        <TouchableOpacity
          activeOpacity={1}
          onPress={ _ => this.onRowPress(rowMap[`${secId}${rowId}`]) }
        >
          <Row />
        </TouchableOpacity>
      )}
    />
  }

}

Also since you're maintaining taps on your own you may want to ensure closeOnRowPress={false}

Please let me know if that does the trick for you and feel free to close this issue if it does, thanks!

@jemise111  This is awesome. It did work. Thanks for helping out.

Np, glad it worked!

@jemise111, I'm looking at your example code. What's the reasoning behind storing the rowIsOpen value directly on the component instance rather than in state?

@NerdDiffer You don't really want to be changing state properties unless your UI depends on them because calling setState() will trigger a re-render. Since no UI depends on rowIsOpen I don't want it in state. Does that make sense?

It does, thank you!


Added method verification (#136)

Do the checklist before submitting the PR:

[x] Have you read the guidelines mentioned in CONTRIBUTING.md?
[x] Have you squashed your commits?

Q: What version of Node.js you've used in the project? (e.g. Node v10.11.0)
A: 10.15.3
Q: Mention the Issue Number! (e.g. Fixed #8)
A: Fixed #136

Give additional information regarding the PR below:

Modified three source files to verify the given method call is valid. Also added three corresponding unit tests.

Codecov Report

Merging #138 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #138   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          78     78
  Lines        1255   1261    +6
=====================================
+ Hits         1255   1261    +6

Impacted Files
Coverage Δ

src/check/index.js
100% <ø> (ø)
:arrow_up:

src/range/index.js
100% <100%> (ø)
:arrow_up:

src/find/index.js
100% <100%> (ø)
:arrow_up:

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 cd97a88...566b94e. Read the comment docs.

I need to stop for a bit, but I'll come back and fix the Codacy errors.


MQ container cannot be created on Bluemix Container Service when a volume is used

If i create a container on the Bluemix container service using an image created with this Github repo's files, and i mount a Bluemix volume to /var/mqm then the container fails to start with permission errors.
This could be related to issue #34

@arthurbarr - Do we see this as a Issue that should be fixed in the LTS streams?


Including Unity3d Engine Dll's for ALE linting.

VIM version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 14 2017 20:05:55)
Included patches: 1-1297
Operating System: ArchLinux
:ALEInfo
Using mcs, mcsc linters
Set g:ale_cs_mcsc_assembly_path = ['/opt/UnityBeta/Editor/']  # This folders/subfolders contain the dll's needed.
Basically a lot of lines with:

./FileName.cs: error The type or namespace name 'UnityEngine' could not be found. Are you missing
an assembly reference

This repeats for various types/namespaces related to Unity.
Hope that's clear enough...
Am I doing something wrong?
Thanks for the help

I'm not sure. Maybe the authors of the linters might know.

What I noticed is that when using the "ale_cs_mcsc_assembly_path", the linter searches for ".cs" files, not ".dlls" as specified in the help docs. When using "ale_cs_mcsc_assemblies_src" pointed towards the specific dll files it works as expected.

I have updated the documentation to explain this better now, with a reference to Unity specifically.


io.js incompatible

When I try to build ember-cli-sass in io.js, I get this error:
><EMAIL_ADDRESS>install /Users/danielfinlay/Documents/Development/Issue Tracker/Raincheck/node_modules/ember-cli-sass/node_modules/broccoli-sass/node_modules/node-sass
> node build.js

child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:481:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
      v8::String::ExternalAsciiStringResource *resource) {
      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                  ExternalStringResource
/Users/danielfinlay/.node-gyp/1.2.0/deps/v8/include/v8.h:2016:19: note: 'ExternalStringResource' declared here
  class V8_EXPORT ExternalStringResource
                  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:480:36: error: redefinition of 'NanNew'
  NAN_INLINE v8::Local<v8::String> NanNew(
                                   ^
../node_modules/nan/nan.h:475:36: note: previous definition is here
  NAN_INLINE v8::Local<v8::String> NanNew(
                                   ^
../node_modules/nan/nan.h:2103:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
  if (str->IsExternalAscii()) {
           ^~~~~~~~~~~~~~~
           IsExternal
/Users/danielfinlay/.node-gyp/1.2.0/deps/v8/include/v8.h:1980:8: note: 'IsExternal' declared here
  bool IsExternal() const;
       ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:2104:23: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
    const v8::String::ExternalAsciiStringResource* ext;
          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                      ExternalStringResource
/Users/danielfinlay/.node-gyp/1.2.0/deps/v8/include/v8.h:2016:19: note: 'ExternalStringResource' declared here
  class V8_EXPORT ExternalStringResource
                  ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:2105:16: error: no member named 'GetExternalAsciiStringResource' in 'v8::String'; did you mean 'GetExternalOneByteStringResource'?
    ext = str->GetExternalAsciiStringResource();
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               GetExternalOneByteStringResource
/Users/danielfinlay/.node-gyp/1.2.0/deps/v8/include/v8.h:2083:40: note: 'GetExternalOneByteStringResource' declared here
  const ExternalOneByteStringResource* GetExternalOneByteStringResource() const;
                                       ^
In file included from ../binding.cpp:1:
../node_modules/nan/nan.h:2105:9: error: assigning to 'const v8::String::ExternalStringResource *' from incompatible type 'const v8::String::ExternalOneByteStringResource *'
    ext = str->GetExternalAsciiStringResource();
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:2106:11: error: assigning to 'const char *' from incompatible type 'const uint16_t *' (aka 'const unsigned short *')
    *data = ext->data();
          ^ ~~~~~~~~~~~
7 errors generated.
make: *** [Release/obj.target/binding/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at emitTwo (events.js:85:13)
gyp ERR! stack     at ChildProcess.emit (events.js:153:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1044:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

This is clearly a problem with node-sass. I happen to know that this should be fixed in the new version of node-sass, which you can use with<EMAIL_ADDRESS>


Addition of new columns in User Table

Ticket: TT-48
Changes
1. Database

Updated user-db.go

user-db.go now supports additional columns for sign-up features, including:

UserID
Username
Email
Password
Date of Birth

All functions are now based on a username primary key.

Updated testing-db.go

testing-db.go contains code which was used for testing.
Re-wrote the entire test file for the new code.

2. Main Program

Updated main.go

Added DeleteTable() function to clear pre-existing data.
This is something Miguel and I were discussing, and we will change this later.

3. Docker

Dockerfile

Added COPY commands for auth-service, profile-service, and db/tests.

@WyrdWyn4  is username primary key or user if?

@WyrdWyn4 is username primary key or user id?

The Username is the Primary Key


[Bug] 100% CPU utilization after random time

Thank you for your amazing work on waynergy! It mostly works great (way better than barrier under windows did for me)!
But after a random amount of time (some times 30min, other times multiple hours) waynergy becomes irresponsive and drains my battery by fully utilizing a single core.
I'd appreciate a hint to where I need to look.
I sadly can't tell how to reproduce this. I already tried forcing it by switching the network or randomly restarting/suspending the server. But that does not seem to do it.
I am running sway on Arch Linux with a Barrier server and encryption.

Thank you for the report; there are definitely ways to debug this even without a straightforward reproduction. The ideal would probably be to build with debugging symbols and attach gdb to get a backtrace, though barring that a log would potentially be useful to get a general idea of what's triggering the spinning behavior.

Sorry for taking so long. I logged some actions and it seems like there's a problem when there is temporarily no network device available.
When I change my WiFi network the Debug output explodes: waynergy-no-hostnames.log

I suspect it's the main loop in main.c:279 which spins on the syn_connect function:
1. main():                     m_connected == false -> uSynergyUpdate
2. uSynergyUpdate():  m_connected == false and no errors fatal -> m_connectFunc=syn_connect
3. syn_connect():
        getaddrinfo() returns a null pointer as res since there is no network adapter
        -> return false
        -> back to main loop

Does this sound about right?
Haven't tried fixing it yet since I'm currently back on Windows.
Should there be a delay or should waynergy abort when there are no addresses available?

#13 should make this situation more manageable by adding in the standard delay for other failure modes. If not, an incremental back-off approach can be added instead.

That seems to have fixed the CPU utilization (no more 100% on disconnect). Thank you!

No problem, thank you for the report

There's still a detail missing! I just recognized that the outer main loop is missing a sigHandleRun!
If idling in disconnected state no signals are handled!.
Should be just an addition of sigHandleRun() after uSynergyUpdate() in main loop.

That would indeed be an issue; pushed a new commit which does this. So hopefully it can be killed without the need for -9.
From: PJungkamp
Sent: Tuesday, June 15, 2021 4:36 AM
To: r-c-f/waynergy
Cc: r-c-f; State change
Subject: Re: [r-c-f/waynergy] [Bug] 100% CPU utilization after random time(#12)
There's still a detail missing! I just recognized that the outer main loop is missing a sigHandleRun!
If idling in disconnected state no signals are handled!.
Should be just an addition of sigHandleRun() after uSynergyUpdate() in main loop.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update readme

Merged our two readme's, we should be trued up now with latest/greatest, including the images.  Had one of my devs show me how PR's are supposed to work, we'll see :)

ignore me


Can't connect to server

We have written the needed data into your clipboard because it was too large to send. Please paste.

mssql: Error 2: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Could you please file this issue agains the extension's repository? Thanks!


Update text styles to match strike.me

Seems like this project will be part of the Strike product family. Due to that, we should update all text styles to match the ones we have at https://strike.me and https://developer.strike.me, including:

Font family (Montserrat medium and bold)
Font sizes
Colors

posting this for my reference https://www.npmjs.com/package/@fontsource/montserrat


Failed to install: certifi-2024.8.30-py3-none-any.whl

Trying to install fastapi "uv add fastapi[standard]" is showing the following error:
error: Failed to install: certifi-2024.8.30-py3-none-any.whl (certifi==2024.8.30)
Caused by: failed to hardlink file from C:\Users\paulodo\AppData\Local\uv\cache\archive-v0\ez_A-yAgnUYbpxYugeHkX\certifi\py.typed to C:\Users\paulodo\OneDrive - Genesys Telecommunications Laboratories, Inc\DeveloperProject\Python\GenesysClould\middleware_a.venv\Lib\site-packages\certifi\py.typed
Caused by: The cloud operation cannot be performed on a file with incompatible hardlinks. (os error 396)

Duplicate of https://github.com/astral-sh/uv/issues/7906 where the issue belongs


Create subsets of all corner data for use in intrinsic/extrinsic calibration

Run corner detection across all of the frames from all of the cameras and get a big pile of data.
All detected corners (x,y) by camera/frame/sync_index/corner_id.
From there it's just going to be a more straightforward "static" data processing task.

This was not actually resolved with the last PR


updating roadmap as of 9/5

Signed-off-by: bryanl<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 1315

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.636%

Totals

Change from base Build 1312:
0.0%

Covered Lines:
12314

Relevant Lines:
17433

💛  - Coveralls


whitespace--, update password functions (Closes #45)

removing whitespace.

Note: this changes the pass cookie to be unencoded. Previously if someone read the source to the deployed script, they could manually create the cookie and get access. Now they need the original password in the cookie. It exposes the password on the wire, but this also used to happen as the original post content.


Add an entry for "wingetcreate" to the "Tools" menu.

The menu item could be, Create manifest (wingetcreate). Clicking this will check if wingetcreate can be run, and if it can't be run, there should be a way to offer to install it. Not sure if something like cmd /k wingetcreate with the necessary --command thing is necessary. Maybe just trying to run it without the --command would be useful to check if it's installed, then run it in CMD with the --command. If it's not installed, there will be a message box saying it's not and asking people if they want to install it, along with what command it'll use "(winget install wingetcreate)".

It's a command-line program, so I'll have to have a window open that provides a dropdown and a textbox for extra commands to be passed to wingetcreate, along with an option for the user to use a command that they specify that may be supported by wingetcreate but we don't provide.


Couldn't find a tree builder with the features you requested: xml.

I wanted to run the ssd300_inference that I'm getting back to this error.
What should I do to solve it?
please guide me.

i run code on colab.research.google with pythone3 and gpu setting.
i install lxml too with pip install lxml.
the error i get is:
FeatureNotFound                           Traceback (most recent call last)
 in ()
26                   exclude_truncated=False,
27                   exclude_difficult=True,
---> 28                   ret=False)
29
30 convert_to_3_channels = ConvertTo3Channels()
/content/drive/ssd_keras-master/data_generator/object_detection_2d_data_generator.py in parse_xml(self, images_dirs, image_set_filenames, annotations_dirs, classes, include_classes, exclude_truncated, exclude_difficult, ret)
352                     # Parse the XML file for this image.
353                     with open(os.path.join(annotations_dir, image_id + '.xml')) as f:
--> 354                         soup = BeautifulSoup(f, 'xml')
355
356                     folder = soup.folder.text # In case we want to return the folder in addition to the image file name. Relevant for determining which dataset an image belongs to.
/usr/local/lib/python3.6/dist-packages/bs4/init.py in init(self, markup, features, builder, parse_only, from_encoding, exclude_encodings, **kwargs)
163                     "Couldn't find a tree builder with the features you "
164                     "requested: %s. Do you need to install a parser library?"
--> 165                     % ",".join(features))
166             builder = builder_class()
167             if not (original_features == builder.NAME or
FeatureNotFound: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?

Hm, try
pip install et_xmlfile
If that doesn't work, then I suggest you post this on StackOverflow.

thank you so much.
pip install et_xmlfile was answer.

Great!

Thank you very much! I got helped too.

Just an information to help others:
I had the same issue and
pip install et_xmlfile did not work for me.
Below solution worked for me:
sudo apt-get install libxslt1-dev libxml2 python-dev
sudo pip3 install --upgrade lxml

thank you so much. pip install et_xmlfile was answer.

it was not working in jypter notebook.Is there any way to solve this problem


aws: lambda not supported service

/clocal$ terraformer --version
version v0.8.7
Getting aws: lambda not supported service with version 0.8.7

@chrisgallivan what is the exact command (plan and import) did you use?

i got it to work. user error :)


Not really an issue, but a question.

Idk where else to put this, so here. Does this bot pull the item prices from the steam market? If not, is there a way to make it do that? If yes, how often?

Cause if these prices were last update 4 months ago, it won't accept spectrum items and I could get seriously screwed with current market prices.

It looks as though it does but I want to be sure.

Also when running the bot it constantly gives me an Error: null - Status Code: 401


PHP Built-In Server HTTP error: Error: connect ECONNREFUSED <IP_ADDRESS>:8000

Hey, I was testing this package and I set up the example and I got this error: PHP Built-In Server HTTP error: Error: connect ECONNREFUSED <IP_ADDRESS>:8000. The vercel deployed but when I visit the website it shows that error.
NOTE: I deployed it all using GitHub and vercel online, I did not install Node.JS or the Vercel CLI on my local machine. Do I need to do that?
The site if you want to see for yourself: https://testvercelphp.vercel.app/
My test file structure:
vercel.json
api/
├─ index.php
vercel.json:
{
"functions": {
"api/index.php": {
"runtime"<EMAIL_ADDRESS>}
},
"routes": [
{ "src": "/(.*)", "dest": "/api/index.php" }
]
}
index.php:
<?php declare(strict_types = 1);

phpinfo(INFO_ALL & ~INFO_ENVIRONMENT & ~INFO_CONFIGURATION & ~INFO_VARIABLES);

Fixed! Changed the json to:
{
  "functions": {
    "api/index.php": {
      "runtime"<EMAIL_ADDRESS>    }
  },
  "routes": [
    { "src": "/(.*)", "dest": "/api/index.php" }
  ]
}

sorry, but where is the different

Same error here

I was able to deploy the basic examples by setting Node.js version to 18.x on Vercel's project settings, I've tried<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>with it and it seems fine.
I had the same error PHP Built-In Server HTTP error: Error: connect ECONNREFUSED <IP_ADDRESS>:8000 when using the default version (Node.js 20.x).

The same just want to write comment.
Node 18 will work.

Hi folks. Node 20.x seems to be problem. I need to investigate it.

i get error
my web : https://doodplay.vercel.app/
my vercel id : QuBwX4iGVFwYPpmEJApy8H3L
how to fix it

I had the same problem with node 20x. I created package.json file and add this code to use node 18x version.
package.json
{     "engines": {     "node": "18.x"     } }
The project is running without any issue

I had the same problem.
How can I fix it?

I managed to get it working by changing the Node.js Version in the Settings -> General on Vercel web page.

Did anyone find the solution I am facing the same error.
My file structure is as follows

and my vercel.json file is

I know I haven't defined the routes for all the api's but the index route is also not working.

Ho

Are you using Node 18.x? Node 20.x is a problem.

how can i know which one I am using?

this solution works! thanks

I had the same problem with node 20x. I created package.json file and add this code to use node 18x version.
package.json { "engines": { "node": "18.x" } }
The project is running without any issue

I know Vercel uses Node.js to build our project and for the creation of Serverless Functions but I didn't quite understand the role of<EMAIL_ADDRESS>An explanation would be greatly appreciated.
Thank you

vercel.json-
{
  "functions": {
    "api/index.php": {
      "runtime"<EMAIL_ADDRESS>    }
  },
  "routes": [
    { "src": "/(.*)", "dest": "/api/index.php" }
  ]
}

package.json-
{ "engines": { "node": "18.x" } }
Works 👍

The error is：
Spawning: PHP Built-In Server at /var/task/user (document root) and /var/task/user/api/index.php (router)
🐘STDERR: php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

Node 20x image has no libssl.so.10

The error is：
Spawning: PHP Built-In Server at /var/task/user (document root) and /var/task/user/api/index.php (router)
🐘STDERR: php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

Node 20x image has no libssl.so.10

I have seen that the Node.js 18 will be retired on Vercel next year (Early 2025).
By the way, how important is libsssl.so in PHP? (I am just a beginner in PHP)
https://vercel.com/docs/functions/runtimes/node-js#node.js-version

The error is：
Spawning: PHP Built-In Server at /var/task/user (document root) and /var/task/user/api/index.php (router)
🐘STDERR: php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

Node 20x image has no libssl.so.10

I have seen that the Node.js 18 will be retired on Vercel next year (Early 2025). By the way, how important is libsssl.so in PHP? (I am just a beginner in PHP) https://vercel.com/docs/functions/runtimes/node-js#node.js-version

PHP use libssl.so in curl extension and openssl extension.
using curl to request the https website

This solution worked for me:
{
  "functions": {
    "api/index.php": {
      "runtime"<EMAIL_ADDRESS>    }
  },
  "rewrites": [
    { "source": "/(.*)", "destination": "/api/index.php" }
  ]
}

And change node.js version to 18.x : #504

The error is：
Spawning: PHP Built-In Server at /var/task/user (document root) and /var/task/user/api/index.php (router)
🐘STDERR: php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

Node 20x image has no libssl.so.10

I have seen that the Node.js 18 will be retired on Vercel next year (Early 2025). By the way, how important is libsssl.so in PHP? (I am just a beginner in PHP) https://vercel.com/docs/functions/runtimes/node-js#node.js-version

PHP use libssl.so in curl extension and openssl extension.
using curl to request the https website

So with no libssl.so, basically CURL will be dead right?

Why is not is not specified in the readme that Node 18.x must be selected?

For anyone still faced with this issue, do the following
Step 1: Use a working example
PHP - fast & simple
Step 2: replace the api/index.php file content with this
<?php
phpinfo();

Step 3: Switch from Node 20.x to Node 18.x under vercel settings

Step 4: Redeploy your project and Voila!!!

Enjoy!!!

Hey all! It should be fixed to use Node 20.x, can you folks try version 0.7.2 with Node 20.x?
https://example-php-8-3.vercel.app/


Possible typo in variable name

Did you mean deployment_dir ?
https://github.com/cloudfoundry/mega-ci/blob/5d3addff3b013f0ae3c4d5a4a670a58564ece1b7/scripts/deploy_bosh#L48

Fixed. Thanks!


Cow: Watch nibavlifts.my

Cow requests the watch of the watch_keyword nibavlifts\.my. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nibavlifts\.my has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


BUG Submit Button error

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hey @PriyaGhosal I have Done the required changes please check my PR #1184


Introduce direct link to a specific tutorial and a "kiosk mode"

In special environments it is useful to offer a specific tutorial for the users, e.g. in workshops, museums etc. Currently we only have the possibilty to link direktly to the tutorial overview, so the one extension should be to offer a direct link to a specific tutorial.
Additional in some cases a kiosk mode is useful. When this parameter is set, the system starts again with the specific tutorial when the tutorial is left or the tutorial is finished. For now the kiosk mode parameter should only be evaluated when the parameter to a specific tutorial is used.
The following parameters are recommended:
https://lab.open-roberta.org/#tutorial deprecated open the tutorial overview
https://lab.open-roberta.org/?tutorial open the tutorial overview
https://lab.open-roberta.org/?tutorial=true open the tutorial overview
https://lab.open-roberta.org/?tutorial=<name of the tutorial> open the <name of the tutorial> tutorial
https://lab.open-roberta.org/?tutorial=<name of the tutorial>&kiosk=true open the <name of the tutorial> tutorial in kiosk mode
https://lab.open-roberta.org/?kiosk=true&tutorial=<name of the tutorial> not recommended open the <name of the tutorial> tutorial in kiosk mode

It turned out that in kiosk mode links to external websites and links to email adresses are not wanted, because the user than can leave the kiosk mode, which cannot be prevented otherwise. So removing reachable link functionality has to be added here.

Be aware! We cannot use "startsWith", it is not supported by most of the mobile devices.


Clean up AddressBookOperations, ensure silent boolean is available.

Now all AB operations, and the group exists conditon accepts a suppress permissions boolean, which defaults to false. This will SilentCondition all the conditions.

Moves all the addition subclasses into a Cocoapod subspec called "+Extras" e.g. to use these AddressBook operation, you will need to use pod 'Operations/+Extras' to get them.


Add dependency comment in streaming cache

Change-Id: I203c237147dee2948004b5711c55367aa16aa8f0
Clarifies where the pathlib dependency comes from.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @pabloem R: @aaltay

retest this please


fix user event date filters

Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[x] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

@bingzhang, let's confirm the required behavior with Kathryn before merging this. I have a feeling that here the end date filter could mean different to different users.

@bingzhang, let's confirm the required behavior with Kathryn before merging this. I have a feeling that here the end date filter could mean different to different users.

I think we should merge this one. it is a bug. and we can discuss about the user case and update the code.

@bingzhang, let's confirm the required behavior with Kathryn before merging this. I have a feeling that here the end date filter could mean different to different users.

I think we should merge this one. it is a bug. and we can discuss about the user case and update the code.

Going with your recommendation. This may also be related to the end date optional. Anyway, we can revisit the usecase.

@bingzhang, let's confirm the required behavior with Kathryn before merging this. I have a feeling that here the end date filter could mean different to different users.

I think we should merge this one. it is a bug. and we can discuss about the user case and update the code.

Going with your recommendation. This may also be related to the end date optional. Anyway, we can revisit the usecase.

thank you.


Please explain a scenario with multiple functions in a single Function App

Hi,
From the above document, it is not clear on how the scaling would work in case of multiple Functions residing in a single Function App. For example, my function app contains the following functions -

Function A
Function B
Function C

Assume that Function B receives a lot more requests as compared to Function A & Function C. Could you please explain to me how scaling would work in this case?
Thanks,
Pranav

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

ID: 06436739-8586-23b1-6b69-1960e93c26be
Version Independent ID: 8f7abfae-cf6d-56cb-1d20-f02041a6f6d9
Content: Azure Functions scale and hosting
Content Source: articles/azure-functions/functions-scale.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hi @blueelvis Thanks for reaching out. We will review and update as appropriate.

@blueelvis A function app is comprised of one or more individual functions that are managed, deployed, and scaled together. All of the functions in a function app share the same pricing plan, continuous deployment and runtime version.
Let’s consider a scenario where you have three functions: A, B, and C. The workload across all of them is evenly distributed and the memory consumption across all of them is below the maximum available memory of the Function App (currently 1.5 GB on the consumption plan). In this case you could run all your functions in the same Function App.
Now let’s consider another scenario: Function A receives a much higher workload than B and C and requires a great deal of the available memory. In this case you should consider moving function A to a separate Function App so it can scale independently when the workload is very high. The low workload functions, B and C, can remain in another Function App and won’t be impacted now by function A.
For more detailed information, you can follow the Function App documentation.
Optimize performance and reliability of Azure Functions
For now I will proceed with closure of this and If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


add stack_size parameter to Configuration (fixes #179)

Unfortunately I haven't been able to find a neat way to unit test this.
My first attempt was to force a stack overflow via recursion, but that segfaults the entire process (less than ideal for a unit test).
Using getrlimit() only seemed to return the system wide limits.
It might be possible to do something with pthread functions...
I checked via valgrind using the following command:
valgrind --trace-children=yes --tool=drd --show-stack-usage=yes cargo test --lib -- --nocapture stack_size 2>&1 | grep stack

Maybe something in tests/run-fail?

The description in 'tests/run-fail' says that the tests are "expected to run and panic", whereas a stack overflow just segfaults instead of panicking.

@manuel-woelker one idea would be to have a run-pass test that spawns itself giving different arguments (e.g., size of stack, amount of data to allocate on stack) and then check that the bad combinations fail with segfault or whatever. Here is an example using this strategy from rust-lang/rust

@nikomatsakis @cuviper Thanks for the hints. I made a test verifying proper stack sizing as well as that a stack overflow can actually be caused (and is not optimized away).

Thanks for the feedback. Added the SIGABRT and rebased onto master.

@manuel-woelker thanks; I'm ready to merge, I'm just a bit frustrated by the fact that CI can't give me any feedback. Presumably this passes your tests locally?

OK, restarting the build got newer nightlies and got past the cargo errors, and now it hit the general stack overflows we've been fighting.  (not the stack overflows you're trying to test. :wink:)  Can you rebase onto master to pick up the new default stack size?

In the nightly build the signal triggered by the stack overflow is SIGSEGV (6) rather than SIGABRT (11).
I think it might be hitting guard pages. I changed the test to accept either.
Almost got it working now, only the unstable build complains about the use of the unstable libc feature.
My best guess is that the compiletest somehow ignores the libc crate...
cf. https://travis-ci.org/nikomatsakis/rayon/builds/213544997
Since there is no actual code involved, I used (commented) magic constants again for now.

Seems good enough to me. Thanks @manuel-woelker!


fixed #526

ASP.NET uses / as directory separator, while on Windows Path.GetDirectoryName() uses \, which led to invalid stripping of directory separator in globbing code and thus searching of invalid directory (rooted in global root instead of wwwroot). This PR fixes this.

I found a better fix for the underlying issue: the path trimming was not working properly. This has been corrected in cc9de46.


Atom Remote Edit no longer displaying open files

I have been using Remote Edit package for a while without incident. Suddenly, I'm unable to view open files from server. I verified that opening local file works fine.
When I try to open a file from the server, dialogue goes through to completion "Successfully read remote file", just doesn't show it in the editor. I verified that the remote files aren't empty.
I installed latest version of atom v1.2.4 and uninstalled / reinstalled remote edit v1.8.22 but to no avail.
Any ideas?

See "Files are not displayed after successfully reading from remote server #143"

Looks like a recent Atom code change broke this.
Error:

Atom blame history
https://github.com/atom/atom/blame/master/src/text-editor.coffee

I fixed it and submitted a pull request https://github.com/sveale/remote-edit/pull/152

Good news, waiting for update... ftp'ing files back & forth while waiting 😶🔫

I am new to Atom and remote-edit too, I show that there are 3 files that are open through sftp, but dont know where to see these files. How can i edit this file so that it is synced with server.

Yeah, how to edit my files after connecting..

Published mike's PR #146 that should fix the issue., see<EMAIL_ADDRESS>


Where can I find the code of Normalized Focal Loss mentioned in your paper?

It is defined here https://github.com/Scalsol/RepPointsV2/blob/master/mmdet/models/losses/focal_loss.py#L190. I will rename this loss function to make it consistent with the paper.


remove MMAPv1

MMAPv1 has been deprecated since Mongo v4, and removed in Mongo v4.2. The notice is irrelevant
https://www.mongodb.com/docs/manual/core/storage-engines/

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


Don't use system fonts

I have a custom font selected that makes the zero a perfect circle, which takes up a lot of space. When long numbers start coming, they overlap a lot and are impossible to see or click.
Besides, using a custom font will make the game look better. Get some font with super narrow zeroes and ones for the enemies and some techy font for the menus. The text bodies (the heroes descriptions) should still use some easily-readable font though.
Experiment a bit :)

For me, chip names don't fit into the slot when upgraded, e.g. SHR 10 looks the same as SHR 12.

Changed the font for chips and codes to Ubuntu Mono. That's a rather narrow font; however, it does not exist in a condensed version, so on my device it takes up slightly more space than before, but it still fits. Have a look at it on your phone.
Also addressed @klaviartur 's problem: The chips with strength 10 and above are now written without space, e.g. SHR10 instead of SHR 10.


Failed to activate the atom-material-ui theme

[Enter steps to reproduce:]

...
...

Atom: 1.14.2 x64
Electron: 1.3.13
OS: Microsoft Windows 10 Enterprise
Thrown From: atom-material-ui package 1.3.9
Stack Trace
Failed to activate the atom-material-ui theme
At missing opening `(` in C:\Users\gomesa3\.atom\packages\atom-material-ui\styles\custom.less:2:0

LessError: missing opening `(`
  at /packages/atom-material-ui/styles/custom.less:2:0

Commands

Non-Core Packages
atom-bootstrap4 1.4.0
atom-material-syntax-dark 0.2.7
atom-material-ui 1.3.9
emmet 2.4.3
file-icons 2.0.15
minimap 4.26.8
monokai 0.20.0
pigments 0.39.0
script 3.14.1
sort-lines 0.14.0

This is fixed in Material UI 2.0. It's available for Atom 1.17-beta users!

It seems this was caused by an empty new line at the end of the file. For anybody that is currently having this issue.


allowfullscreen not added to iframe

Hi,
I'd like to know your possible experience with issue of allowFullscreen attributes (webkitallowfullscreen mozallowfullscreen allowfullscreen) not being added to the iframe element.
I went through the sources of both your plugin and included js libs and it seems that those should be set unconditionally, but are nevertheless not.
The reason I am investigating all this is when those attributes are not set, vimeo player disables full-screen option (understandably).
Do you have any experience with this? Should this be videojs's fault, or am I missing something?
Thanks in advance for any help.

I have finally got to the core of the problem.
Here is the pull request for videojs-vimeo

Thanks for raising this issue, and apologies for the delayed response. It looks like this was indeed a problem with videojs-vimeo, and since the pull request you linked has been merged, I'll go ahead and close this issue. Let us know if you have any other questions.

Well, it is merged indeed. The question stays however, what version is used with your plugin. It seems to me (and I'm prepared to be corrected on this) that there's a fixed version used - one that has this problem.
As I've been investigating this I tried to look for the next version that I could inject onto my instance, but had no luck with that. In the end I've ended patching the script that comes with the plugin.

It seems to me (and I'm prepared to be corrected on this) that there's a fixed version used - one that has this problem.

Indeed this is the case. Thanks for pointing this out. I'll work on upgrading the version of video.js used. I'll probably just change this to point to their CDN in the template, so that end users can change between versions of video.js at will.

Yeah well that is not ideal too I think. We for example try to limit number of requests to external sources as much as possible and bundle them to be served from our CDNs. Also there is this uncertainty of version being used (if there is some "latest" flag in play).
If I would consider quite environment friendly some settings entry / flag allowing you to specify which version ought to be included. Possibly defaulting to their CDN version, but giving you freedom of opting out and bundlig it to your scripts / serving your copy.
What do you think?

That sounds good to me. Would you be interested in making a pull request for such a feature?

Hi and apologies for the delay.
Since I've never written much in python/django, I'm not much confident in being able to pull something like this off in usable way - however this is how learn in the end.
Hopefully I'll try something this weekend.

No worries. Thanks again for the contribution.
Closed by #6.


airflow clear not cleaning xcom

airflow clear is described as "Clear a set of task instance, as if they never ran", it would be great if this included clearing the xcom data from that instance.

Can you provide some more details here? I'm a little unclear on the problem and the symptom.

sure.  Basically I had two tasks - lets call them A and B.   A is upstream of B.
A does some work, does an xcom_push (e.g. number_of_coins_flipped=6)
B performs and xcom_pull of this (e.g. notifies slack of number_of_coins_flipped).
I then cleared A (including downstream).  This time when A is run it fails - before the xcom_push,  B then runs (it wasn't set to check the state of A) and reports that 6 coins were flipped.
I appreciate that checking the state of A would also be a good idea, however it was unexpected behaviour and clearing the old xcom data seems reasonable (but maybe there are problems with that?)

Sounds very reasonable. In general, it's a good practice to have your tasks explicitly fail, so that the state of the tasks is very clear. Is there a reason why you don't want an exception to bubble up in its glory?

I'm not quite understanding the exception/bubble comment, yes I'd normally want to know about any and all failures (certainly in this case I'd normally want the DAG to halt and not run B.
That still leaves the issues of "should a cleared task clear the xcom_pushes"?

I think the expected behavior here is that when a task starts, the xcom is cleared.

This is fixed. Thank you @jgao54 :+1:

Thanks everyone - just looking at the PR I see there was quite a lot of thought and edge cases under the covers but the final result looks great :-)  (Not sure if I should close this issue so I'll let it to someone more official!)


Add support for time partitioning to BigQuery tables

This PR does the following:

Add TimePartitioning class
Add setters and getters for timePartitioning field to StandardTableDefinition
Add unit and integration tests
Rename TableDefinitionTest to StandardTableDefinitionTest for consistency

This PR allows to create a time-partitioned table with the following code:
TableId tableId = TableId.of(datasetName, tableName);
TimePartitioning partitioning = TimePartitioning.of(Type.DAY);
// You can also set the expiration
// TimePartitioning partitioning = TimePartitioning.of(Type.DAY,<PHONE_NUMBER>);
StandardTableDefinition tableDefinition = StandardTableDefinition.builder()
    .schema(tableSchema)
    .timePartitioning(partitioning)
    .build();
Table createdTable = bigquery.create(TableInfo.of(tableId, tableDefinition));

@lesv do you mind having a look?
@C0urante Does this meet your requirements? Any chance you can give it a try?

@mziccard Gave it a try and it worked fine. Definitely meets requirements. Thanks for getting to this so fast!

Probably should fix codacy's comment, but I'm happy otherwise - LGTM

@lesv The reason the test doesn't use @Test(expected=...) is that I expect NullPointerException to be thrown 2 times (for 2 different calls to of) and I can't capture that behavior using @Test or an ExpectedException rule. If you prefer I can split the test in 2.

That would probably be good.

@lesv Fixed in c3632ff PTAL

LGTM