Underlying docker logs are not rolled/truncated

When you run a docker container (via marathon) The underlying docker log files are not rotated or truncated.
These files can become arbitrarily large (and they often go to a system disk rather than a storage disk)
On a server with limited space on the relevant disk this can lead to running out of disk space and we all know how well docker / mesos / dcos copes on a server that has run out of disk space (if you don't know what happens, everything on the box goes to hell and often it ends up "lost")
docker log files for a container can be found using:
docker inspect --format='.LogPath' <container-name-or-id>
n.b. I am fully aware that internally mesos/marathon is using logrotate (by default rotating log files every 2MB and keeping 10 files.
I have long running kafka consumers whose logs have grown to 10s of GB
cross-post from https://dcosjira.atlassian.net/browse/DCOS-371
it looks like marathon needs to pass some sensible defaults to
docker run --log-opt max-size=
and
docker run --log-opt max-files=
https://docs.docker.com/engine/admin/logging/overview/

https://dcos-community.slack.com/archives/general/p1473440563001363

workaround:
{
  "type": "DOCKER",
  "docker": {
    "image": "foo",
    "parameters": [
      {
        "key": "log-driver",
        "value": "none"
      }
    ]
  }
}

n.b. I actually think --log-driver=none should be the default behaviour in marathon because marathon/mesos is doing the log storing and rolling inside the sandbox and it seems to be unaffected by what the the docker logging driver is doing.

@jmlvanre Any recommendations here?

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2088. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


History of change in section preview

PR includes

[x] Refactor
[x] Feature

Related issues
Resolve #1073


add referencing dependency to meta.yaml

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin please rerender

Thanks for the additional commits, @bollwyvl! You beat me to it! :wink:


Update Help Menu: Add 30-Day Log Retention Info

 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.


build: React 18

Necessary for the Docusaurus v3 upgrade.

This breaks a lot of the Docusaurus 2 peer deps so this should be performed at the same time as the v3 migration


Improve upgrade tag discovery

give better info about tags/heads being used
allow finding 'tentative' tags
change trunk to 3.0
update version from strings to tuples for easier handling
query tags direct from apache git, or local if configured

I am not familiar with that upgrade test yet, but this LGTM!

@ptnapoleon and/or @EnigmaCurry can you have a look at this? Changes don't alter the guts of the upgrade process used in tests, just make some alterations to how versions are specified and what tags are matched (so we can find 'tentative' tags).

+1.The code is verbose, but not too confusing. The list of improvements is quite nice.

TIL git ls-remote.
LGTM.


[Security] Update rimraf to 2.5.3

minimatch <=3.0.1 is vulnerable to a Regex Denial of Service attack
https://nodesecurity.io/advisories/118
node-mv depends on rimraf which depends on glob which depends on minimatch which has the vulnerability.
Please bump rimraf from ~2.4.0 to >=2.5.3 to resolve this vulnerability
https://github.com/isaacs/minimatch/commit/6944abf9e0694bd22fd9dad293faa40c2bc8a955
https://github.com/isaacs/node-glob/commit/f0f0872b660d83b1986cd1dd16ec4808fa183adc
https://github.com/isaacs/rimraf/commit/9e2c3102182f65bda76ca4051663784dd2db05e8

Hello @andrewrk / @cscott / @deestan / @mcandre. Any way we can get this update? Preferably to a more recent version of rimraf. In our case, minimatch fixed our vulnerability in v3.0.5 and rimraf v2.7.1 has the necessary updates for us to pick up the fix, which will also resolve the request from @rosskukulinski.

Another option involves publishing a patched fork of this dependency package, and then publishing a patched downstream package. I've had to do that many times for Node projects lacking proactive maintainers.

Another option is to just ignore this warning, since it's not actually a vulnerability.
Being able to DOS yourself by providing commands to this package is not an attack.

Disregard that. Not a good posture.

@mcandre it's a quite good posture, actually. Most CVEs in the npm ecosystem are false positives, and since I'm responsible for well over 10% of npm's entire download traffic, my security postures are more thoroughly battle-tested than most, including this one.

Thank you all for the fast response. This the minimatch issue I was looking at, which in turn was fixed by their brace-expansion dependency:
https://security.snyk.io/vuln/npm:brace-expansion:20170302
https://github.com/isaacs/minimatch/commit/a8763f4388e51956be62dc6025cec1126beeb5e6
I'm also leaning on this being a warning and not necessarily a vulnerability.


BOM validation failed for GO bom

I am receiving the below error while validating the GO bom XML/JSON files.
[swapnil@bharshankar minio]$ cyclonedx-cli validate --input-file minio-bom.xml --fail-on-errors
Validating XML BOM...
Invalid namespace URI: expected http://cyclonedx.org/schema/bom/1.3 actual http://cyclonedx.org/schema/bom/1.2
[swapnil@bharshankar minio]$

[swapnil@bharshankar minio]$ cyclonedx-cli validate --input-file minio-bom.json --fail-on-errors
Validating JSON BOM...
Validation failed:
#/properties/components/items
[swapnil@bharshankar minio]$

Please refer attached bom XML/JSON files.
minio.zip

@Swapnil-CSI Perhaps this is related to version 1.3 specification. This tool is yet to be upgraded to version 1.3


Implement Per Monitor v2 high DPI support

See https://blogs.windows.com/buildingapps/2016/10/24/high-dpi-scaling-improvements-for-desktop-applications-and-mixed-mode-dpi-scaling-in-the-windows-10-anniversary-update/
The manifest needs to be updated with the "windowsSettings" section becoming
<asmv3:application>
  <asmv3:windowsSettings>
   <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">True</dpiAware>
   <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2,System</dpiAwareness>
  </asmv3:windowsSettings>
</asmv3:application>

Some of this work has been done already:

Where calculations involve the DPI, get it by calling GetDpiForWindow() for a given window handle.
Call GetSystemMetricsForDpi() to get DPI-dependent system metrics, rather than GetSystemMetrics().

Remaining work:

All top-level windows should handle WM_DPICHANGED and update accordingly.
Window sizes and positions in the registry should always be stored as if the DPI was the standard, i.e. 96.
Rich edit controls seem to loose formatting after a DPI change, so any formatting must be re-applied.
Check Scintilla's handling of font sizes for high DPI compliance.


Specifiying checked and unchecked value for checkboxes

The Rails form builder allows one to specify the checked and unchecked values for checkboxes. It appears SimpleForm doesn't allow this and defaults to 1 for checked and 0 for unchecked. Is there any way to specify a checked value of true and unchecked value for false in SimpleForm?
I need this because my attributes are within a postgresql hstore and all values are strings.

@webdevotion  thank you:)))

Now after PR merge, it's simple as:
f.input_field :shift_option, as: :boolean, checked_value: 'warning', unchecked_value: 'open'


Timeout on cat/stats APIs

Is your feature request related to a problem? Please describe.
On few Stats/Cat API, master undefinetly waits for response from data nodes. If cluster have bad node and is not able to respond to master calls, then such API calls stays in master memory. Frequent calls of such API will cause memory pile up on master.
We should make master resilient to such API calls when there is bad node in cluster.
Few APIs for which master gathers information from data nodes:

/_cat/nodes
/_cat/nodeattrs
/_cat/thread_pool
/_cat/allocation
/_cat/recovery
/_cat/plugins
/_nodes
/_stats

Describe the solution you'd like
We can add timeout in communication between master and data nodes. If timeout occurs and master don't get response from data nodes then it will just return the whatever response collected as API response and clear the memory in master.
Describe alternatives you've considered
None.
Additional context
As a next step of improvement, we should make the transport call as cancelable, so once master timeouts on data nodes then it will cancel the transport request so bad data node will also clear memory from their side. Otherwise it might worsen the situation on bad node.
Here our motive is to first make the master resilient, as memory pile up on master affects the availability/performance of whole cluster.

@dhwanilpatel This looks done as described in #552? Should we close or wait for #551?

Closing since https://github.com/opensearch-project/OpenSearch/pull/495 is closed. Feel free to reopen if thats not the case.


ENH: Add links to more resources (Fixes #82)

Only website changes, which passed the linkchecker. Ignoring notebook failures.


[FEAT] Add option to modify the default configure_optimizers() behavior

Rationale

Users have asked about whether we can modify the default learning rate scheduler behaviors. See https://github.com/Nixtla/neuralforecast/issues/852#issuecomment-1961923861 and https://nixtlacommunity.slack.com/archives/C031M8RLC66/p1713516602654109
Instead of adding arguments to all the models, passing from NeuralForecast class, we introduce a set_configure_optimizers function for the BaseModel class such that individual model can overwrite the default configure_optimizers() behavior

This shall deprecate the earlier work introduced in: https://github.com/Nixtla/neuralforecast/pull/998

Hey @JQGoh, thanks a lot for trying this approach! Although I think it's fine to add more arguments for now, we can give this a shot when we work towards v2.0.


[Feature Request] add mixcloud

Is your feature request related to a problem? Please describe.
Yes it’s wont sense mixcloud links
A clear and concise description of what the problem is
Mixcloud was not adding in the source code and my friend was frustrated that he wanted to play a Pacific song and it’s tell error format or unknown url
Describe the solution you'd like
A clear and concise description of what you want to happen.
I will like it to be add to the bot and no lagging

This would be a feature request for lavaplayer, as that is what handles loading audio from external sources.


Bump tidwall/gjson library version

Changes proposed in this pull request:

Bump library github.com/tidwall/gjson version from v1.6.3 to v1.6.8 because of vulnerability issue
Bump github.com/Peripli/service-manager and github.com/Peripli/service-manager-cli libraries because only these two libraries use mentioned gjson library.

/test pre-master-control-plane-gke-integration


Text input nodes register Input Actions as text

Tested versions

Reproducible in v4.3.dev.custom_build [0246230e2], as well as the stable v4.2

System information
Godot v4.3.dev (0246230e2) - EndeavourOS #1 SMP PREEMPT_DYNAMIC Sun, 21 Jan 2024 22:14:10 +0000 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 3GB (nvidia; 545.29.06) - Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz (4 Threads)
Issue description
Nodes used for Text Input (i.e. CodeEdit, TextEdit, LineEdit) should not register shortcuts (known as actions) as actual input, but rather ignore it.
Example:
Pressing a custom action named ui_test mapped to CTRL + P shouldn't make CodeEdit append "p" to its contents.
NOTE: this can be fixed by adding this:
if (k->is_action("ui_open", true)) {
    accept_event();
    return;
}

at scene/gui/text_edit.cpp > gui_input(const Ref<InputEvent>&) & recompiling the engine.
Steps to reproduce

Create a 2D scene
Create a text input node, LineEdit for example.
Add an action via Project > Project Settings > Input Map (action must include an a-Z key)
Optionally add a script to the 2D scene, checking for the action being pressed.
Run the project, focus the LineEdit, press the custom shortcut.
Observe the a-Z part of the shortcut being registered

Minimal reproduction project (MRP)
Note: The action in this MRP is ui_test mapped to CTRL + P
Godot issue report.zip

Corrections:

this can be fixed by adding this:

Modifying core/input/input_map.cpp > get_builtins() is also required. Adding the action through Godot editor won't work with the fix I previously mentioned.
// At line ~390, in case it helps.
inputs = List<Ref<InputEvent>>();
inputs.push_back(InputEventKey::create_reference(Key::P | KeyModifierMask::CMD_OR_CTRL));
default_builtin_cache.insert("ui_test", inputs);

Then adding it to the _builtin_action_display_names:
// At line ~280
// ...
{ "ui_test",                                       TTRC("Testing") },
// ...

TL;DR: action must be builtin for the solution I've mentioned to work.

This is likely not supported, and should be documented instead id say, see https://github.com/godotengine/godot/issues/76566

This is likely not supported, and should be documented instead id say, see #76566
Though in this case I'm not even sure that matters, I don't think it's expected that the UI elements should ignore things just because it's an action, that would make you unable to enter W or A or S or D for example

I believe UI elements that receive text should at least have a method/property to make them ignore the input if it's an action.
According to my attempt to fix this via GDScript, I came to the conclusion it's not possible to prevent the CodeEdit from behaving this way.
It is somewhat possible by detecting when CTRL is hold & locking the CodeEdit, but that's not optimal since it also disables the usage of CTRL + C, CTRL + →, etc.
Having to recompile the engine for this isn't necessarily time consuming, but it would definitely be better if there was an option to handle this without doing so.
I agree that it should be at least documented as I couldn't find any information about this when facing the issue.
Regardless, I suppose I'll continue to use the workaround I found.

I'd say it's expected that it doesn't process any actions it doesn't use, I'd say what you expect is not what is the default assumption, the input isn't an action, it's just a key, i.e. it's InpitEventKey not InputEventAction
You can probably handle this with scripts by overriding _gui_input and calling accept_event, which is the proper way of handling input, and is documented

You can probably handle this with scripts by overriding _gui_input and calling accept_event, which is the proper way of handling input, and is documented

Dang you're right, that worked!
Here's the working script for future reference:
extends Node2D
@onready var code_edit = $CodeEdit

func _process(delta):
	if Input.is_action_just_pressed("ui_test"):
		print("Hey!")

func _on_code_edit_gui_input(event):
	if !Input.is_action_just_pressed("ui_test"): return;

	code_edit.accept_event()

Great it worked out!
As this is in my opinion expected and desired, and relatively niche, and the way to solve it is documented (in a few places, including _gui_input) I'll go ahead and close it as resolved
Thank you for your report! Good luck in your projects!


Fix model subclass ___ selector for abstract/proxy models

As discovered in https://github.com/edoburu/django-fluent-pages/issues/25, django-polymorphic has a bug in translate_polymorphic_field_path with traversing abstract/proxy models. Reporting this issue here as reminder for ourselves (and anyone with time to look into it before we do ;)

It would be great to be able to filter child models via proxy models. I want to add some extra queryset methods to a proxy model, but it seems that won't be possible as it stands.


actions is not defined for code_actions handler

https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/blob/a7e2b49d4e4c8bd1cedcf23675b20ebbf320ff9e/lua/nvim-lsp-ts-utils/request-handlers.lua#L221

I get the error with the eslint code actions:
E5108: Error executing lua .../packer/opt/telescope.nvim/lua/telescope/actions/set.lua:116: Vim(edit):E325: ATTENTION
Error executing vim.schedule lua callback: ...-lsp-ts-utils/lua/nvim-lsp-ts-utils/request-handlers.lua:34: bad argument #1 to 'insert' (table expected, got nil
)
Error executing vim.schedule lua callback: ...-lsp-ts-utils/lua/nvim-lsp-ts-utils/request-handlers.lua:41: bad argument #1 to 'insert' (table expected, got nil
)
Error executing vim.schedule lua callback: ...-lsp-ts-utils/lua/nvim-lsp-ts-utils/request-handlers.lua:41: bad argument #1 to 'insert' (table expected, got nil
)

Thanks for catching this! I can see exactly what's happening, and I'm just amazed it hasn't happened to be me before. I just pushed a commit to main that should take care of the problem, so let me know when you have a chance to try it out.

Seems to work fine now! Love the new eslint integration. Great stuff


Allow timeouts and delays being specified at connect{,ip,host} time as well

A question is whether we should "validate" the timeouts -- i.e. that resolve_timeout is < connect_timeout -- but I'm not sure whether this is worth it.

review/comments welcome. plan to release this to unblock the DNS PR which is waiting.


Delete the Kyverno webhooks before the deployment

This avoids a race condition where the webhooks are still present but Kyverno is down and blocks API actions. This also fixes a typo in one of the Kyverno webhook deletion commands.

/cherry-pick release-2.6

@dhaiducek I added an additional commit to try to further address the flakiness.

That's quite a few deletions to be running through an Eventually process. What's the flakiness being addressed, and why would redoing deletions be the solution?


Request for Open Source Code Availability

Hello,
'm interested in contributing to its development. However, I noticed that the code is not currently available as open source.
I kindly request that you make the code available as soon as possible. As an open source advocate, I believe that making the code available to the public will benefit the software's development and promote transparency and collaboration within the community.
Please let me know if there are any plans to make the code available in the near future, and if there's anything I can do to help.
Thank you for your consideration.
Best regards,
Lujun

Hello,
I just published the code used for our paper. Please let me know of any questions you may have.

Dear Aaronserianni,
I wanted to take a moment to express my gratitude for your prompt and thoughtful response. Your insights and suggestions were incredibly valuable and have helped me to move forward with greater clarity and confidence.
I truly appreciate your time and effort to provide me with such a detailed and insightful response. It means a lot to me that you were willing to share your expertise and experience, and I feel fortunate to have you as a resource.
Once again, thank you so much for your help and guidance. I look forward to staying in touch and continuing to learn from you in the future.
Best regards,
Lujun Li


[ util ] Implement softmax calculation function in util

Current activation functions are implemented as a function template, and fully computes with the function template parameter's precision unless the NEON intrinsics it is using inter-fp32-values explicitly.
According to current papers, for safe convergence of mixed precision training, it is quite critical to calculate softmax with fp32 precision.
This PR proposes a SIMD version of softmax calculation, and uses temporally higher precision when using half-precision
For mathematical stability, applied linear translation (using minus values for the input of exponential function) to avoid precision overflow

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2479. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


DTLS support with PSK for iKea Tradfri support

Did you plan to add this feature in your roadmap ?

Hey,
unfortunately I do not have time for this. Please feel free to contribute!


Upstream changes related to the humble-future branch

As https://github.com/ros2/rclcpp/pull/1979 and https://github.com/ros2/rcl/pull/995 are merged humble-future is not needed anymore for ros rolling.
So humble-future could be the main / rolling branch and a seperate humble branch could be created based of the current main until the changes are backported into humble.
We might want to wait for the package sync.
Or am I missing something?

That was fast =)
Yes, exactly.
I will cleanup the repo to reflect these changes in the next few days

There was just a patch release in humble. I don't think those patches were flagged for backporting?

FYI, we will soon open a PR towards the official rclcpp repo to merge the events-executor there.
Yes, the branch you linked is "our" humble branch.
It contains a lot of bug-fixes cherry-picked from rolling

Thanks @alsora I will use your rclcpp branch for the time being. I am excited to try out this executor :)

Note that the rclcpp branch in the iRobot repository may also require some custom rcl/rmw libraries (you can find them among the irobot-ros repositories)


Hack the iOS wallet to always stay unlocked

Chore
What we need to achieve and who for
Tasks

[ ]
[ ]
[ ]

Notes

Dupe of #760


Implement binary uniform affinity

This is a very minor suggestion, but I realized some time ago that in some papers we implement "uniform affinities" slightly differently: not as (P + P.T) / 2 but as (P + P.T > 0).astype(float) where P is the kNN adjacency matrix. The only difference is that the former has two possible non-zero values, whereas the latter has only one possible non-zero value, which is kind of neat.
This does not really make much of a different in practice, but I thought it may be nice to implement it in Uniform() using symmetrize="average" and symmetrize="or", in addition to symmetrize=True/False which this class has anyway.

I like this, but perhaps instead of "average" and "or", I would prefer "mean", and "max", which (to me) feel more standard. If we do go this route, I would also change the default parameter value from symmetrize=True to symmetrize="max". Do you think it would make more sense to default to the binary affinity kernel, or the current "mean" symmetrization?

I hate to be nit-picky, but could you please add a case if we get a string that isn't either "mean" or "max" and raise a ValueError with something like symmetrization {method} is not recognized. Just so we don't fail silently in case the user makes a typo or something like that.

Makes sense. I changed it so that the default is True (that's how it was before) and this behaves like "mean" but triggers a FutureWarning. In the future one can remove the boolean parameters altogether, and only keep "mean"/"max"/"none".


Significantly simplify the tilde-pipeline in DynamicPPL

TODO
Edit this issue with more details about what needs to be done
Related issues

https://github.com/TuringLang/DynamicPPL.jl/issues/722
https://github.com/TuringLang/DynamicPPL.jl/issues/720
https://github.com/TuringLang/DynamicPPL.jl/issues/402

don't think we need @observed_value(x) since this is available in the model scope

Maybe I misunderstand, but this is not available in the model scope in the case where x is conditioned using condition, right? That's the problem the @value in the issue is meant to address. Ofc, technically you could get it from the __context__, but you need to call the right function on this context, etc. which seems overly complicated for the end-user, no?

(internal) macro DynamicPPL.@get_paramter_type(x::VarName) to replace the current hard-coded logic for determining whether a parameter is missing, observation, fixed or random variable.

So, currently, the generation of these branches is done by separate functions, e.g. generate_tilde_assume or something in DynamicPPL.jl, right? Do you want to replace these functions that act on Expr with macros that are embedded in the model? If so, isn't that just doing the same thing?
I'm probably not understanding correctly here :thinking:


Assorted python wheel build improvements

enable boringssl assembly optimizations for aarch64 crosscompiled wheels
a bunch of other cleanup and improvements (see individual commits)

CC @gnossen

@apolcyn  for owners approval.

Adhoc distribtests run: https://fusion2.corp.google.com/invocations/765a53c5-eaa1-4d4e-875c-29d196ee45d2/targets

Known failures:
https://github.com/grpc/grpc/issues/25431
https://github.com/grpc/grpc/issues/25614


added stop in russian

Please check the rules that you need to add least 10 stop words to be counted as contributor. Sorry, please try again.


Add aarch64 node

Add node for arm64/aarch64 ubuntu 16.04

PR should include an update to the README file too
https://github.com/apple/swift-community-hosted-continuous-integration/blob/master/README.md

@futurejones Email sent for additional information.

@shahmishal Happy to also be part of the conversation if you have any questions about @packethost and the Works on Arm program.

Node: https://ci-external.swift.org/computer/ubuntu-16.04-aarch64/
Jobs:

swift-4.1-branch - https://ci-external.swift.org/job/oss-swift-4.1-RA-linux-ubuntu-16.04-aarch64/
swift-4.2-branch - https://ci-external.swift.org/job/oss-swift-4.2-RA-linux-ubuntu-16.04-aarch64/

@futurejones, are you aware of the current failure?
Foundation/NSString.swift:1182:106: error: cannot convert value of type 'CVaListPointer' to expected argument type 'va_list' (aka '__va_list')
        let str = CFStringCreateWithFormatAndArguments(kCFAllocatorSystemDefault, nil, format._cfObject, argList)!
                                                                                ^~~~~~~
Foundation/NSString.swift:1190:148: error: cannot convert value of type 'CVaListPointer' to expected argument type 'va_list' (aka '__va_list')
                str = CFStringCreateWithFormatAndArguments(kCFAllocatorSystemDefault, unsafeBitCast(loc, to: CFDictionary.self), format._cfObject, argList)
                                                                                ^~~~~~~
Foundation/NSString.swift:1195:106: error: cannot convert value of type 'CVaListPointer' to expected argument type 'va_list' (aka '__va_list')
            str = CFStringCreateWithFormatAndArguments(kCFAllocatorSystemDefault, nil, format._cfObject, argList)
                                                                                ^~~~~~~
Foundation/NSString.swift:1202:100: error: cannot convert value of type 'CVaListPointer' to expected argument type 'va_list' (aka '__va_list')
            CFStringCreateWithFormatAndArguments(kCFAllocatorSystemDefault, nil, format._cfObject, vaPtr)
                                                                                ^~~~~

https://ci-external.swift.org/job/oss-swift-RA-linux-ubuntu-16.04-aarch64/4/console
https://ci-external.swift.org/job/oss-swift-4.1-RA-linux-ubuntu-16.04-aarch64/1/console
https://ci-external.swift.org/job/oss-swift-4.2-RA-linux-ubuntu-16.04-aarch64/5/console

Yes I am aware of these issues.
A PR was submitted on Mar 12 to fix this.
https://github.com/apple/swift/pull/15174


unix: check before reopening tty

uv_tty_init() now checks if the given fd has the same inode as stdin, stdout, or stderr. Only then the fd is reopened.
fixes #526

Can you update the documentation in doc/src/tty.rst?
Apropos the commit log, it should also document why this change is necessary.  Right now it only explains what changed but not why.

A test which passes after the change but didn't before would be nice, if at all possible.

The above is the technical review.  As to the change itself, the logic doesn't look correct to me: what if I call it with fd == 2 when stdio file descriptors 0 and 1 refer to a tty?

Will add the changes. Thanks for your feedback :smile:

The above is the technical review. As to the change itself, the logic doesn't look correct to me: what if I call it with fd == 2 when stdio file descriptors 0 and 1 refer to a tty?

How about going the uv_tty_open route? Basically it would do the same except reopening /dev/tty. Like we do for other uv_*open: "trust me, this fd is a X". WDYT?

Both ways would be valid.
Nevertheless I believe that the behavior of uv_tty_init() is wrong here. It basicly ignores the fd completely if it's a valid tty.

Excuse my english as I'm not a native speaker.
I'll add tests later.

About the tests: How can I make sure, that a test only runs on Unix?

You can just use #ifdef _WIN32 and skip it that case. There are quite a few examples in tests/.

Thanks for the tip.
This PR adds a -lutil to test_run_tests_CFLAGS. This was needed for openpty(3). I don't like that I use CFLAGS to define linker flags, but it was the fastest way to get it running.

You can add it to test_run_tests_LDFLAGS, if I'm not mistaken. It also needs to be added to the gyp build file.

Changed. I'm not sure about the gyp changes though.

@Gottox left some comments!

Thanks!

/cc @tarruda I just remembered you might be intested in this.

/cc @tarruda I just remembered you might be intested in this.

I don't think this change will affect our use case. Thanks anyway!

Minor doc nit, otherwise LGTM. Let's see what the CI says: https://ci.nodejs.org/view/libuv/job/libuv+any-pr+multi/151/

It seems that not all failing tests are related to my change. But afaics at least Solaris is failing because of this PR.

OSX doesn't seem to have pty.h:
  CC(target) /Users/iojs/build/workspace/libuv+any-pr+multi/nodes/osx1010/out/Debug/obj.target/run-tests/test/test-tty.o
../test/test-tty.c:31:11: fatal error: 'pty.h' file not found
# include <pty.h>
          ^
1 error generated.

Nor FreeBSD nor Solaris. Basically no Unix except Linux, it seems.

I'll fix that tomorow when I'm on a Mac again.

Thanks! :+1:

The test is fixed on MacOS X, but I'm not able to test it on any other BSD atm.

CI: https://ci.nodejs.org/view/libuv/job/libuv+any-pr+multi/152/

ToDo:

[ ] FreeBSD
[ ] SmartOS

Failing, but not related to my changes:

Centos
Debian Raspi
Ubuntu
Ubuntu GYP
Win 2008

:+1: Looks like you need libutil.h on FreeBSD at least: https://www.freebsd.org/cgi/man.cgi?query=openpty&apropos=0&sektion=3&manpath=FreeBSD+10.2-stable&arch=default&format=html

Ah, will fix this later. Got a FreeBSD Box at home.

It should be fixed. But I'm not sure about solaris though.

Sorry for the delay. Here we go again: https://ci.nodejs.org/view/libuv/job/libuv+any-pr+multi/153/

SunOS is still failing. A quick search didn't yield any meaningful results about using openpty in Solaris-is OSs (maybe my search-fu is failing me today). At any rate, we should have more than enough coverage, feel free to skip the test for Solaris and AIX , since you're there.

Any further comments? :smile:

Sorry, I missed your update. GitHub doesn't send a notification unless you add a comment :-S Can you please also skip it for AIX?

I switched to whitelisting for the supported platforms. Nevertheless, It might be needed to remove this linker flag from non-supported platforms.

Ah, true that. We need a fix for the gyp file and the autoconf file...

@Gottox sorry for the delay (I'm back from vacation) this one is almost there. Can you make the remaining changes? Thanks!

I'm not sure how noticeable GitHub integrations / cross-notifications are, so just dropping a comment here: This behaviour is also causing nodejs/node#4222; so a fix for this should hopefully clear up that, as well.

Oh, I totally forgot about that. I will fix the tests in the next few days.

@ELLIOTTCABLE thanks for the cross-reference! GH shows it on the issue, but doesn't send an email about it.
@Gottox thanks!

Ping :-)

It would be nice to get this bug fix into the 1.9.0 release. FWIW, I tested this patch against node on Mac and it worked correctly: https://github.com/nodejs/node/issues/4222#issuecomment-163676298

Sorry for forgetting about this PR yet again.
The current state is that I don't how how to remove  the -lutil linker flag on non tested platforms as I'm not an expert with gyp. Any help?
Otherwise this PR is finished afaics.

Is there a list of supported platform strings?

@Gottox linux, mac, win, aix, freebsd, openbsd, netbsd, solaris.

Thanks for your support!

Anything else, that must be done before merging?

Mostly LGTM, I think.  Maybe @saghul can take a look as well.

Why is the fd reopened on readable == true anyway?
Reopening the tty is only useful for writing or am I wrong?

That's a question for @bnoordhuis. Just reporting what I observe with and without the patch.

Yea, I suspect I have change the behavior of this patch anyway.
The issue you reported was fixed by this PR by accident as I unintentionally disabled non blocking completely on ttys.

The issue you reported was fixed by this PR by accident as I unintentionally disabled non blocking completely on ttys.

Looking at the patch now, I see what you mean.

sigh I suspect, that I have found a really trivial approach. I'll open a new PR tomorrow.

@kzc please check if #779 fixes your issues with node.

I'm considering this PR obsolete. Please review #779 instead.


Outbox message should be in the Cloudevent format

In what area(s)?
/state
What version of Dapr?
v1.12
Expected Behavior
Not in cloud format structure.
Actual Behavior
When receiving a message from the outbox it is wrapped in an additional "data" structure like this.
{
  "data": {
    "data": "{\"orderId\":1}",
    "datacontenttype": "text/plain",
    "id": "outbox-3bce7f67-4b6b-4745-8eef-57204ae85a70",
    "pubsubname": "orderpubsub",
    "source": "order-processor",
    "specversion": "1.0",
    "time": "2023-10-29T17:12:51-07:00",
    "topic": "",
    "traceid": "",
    "traceparent": "",
    "tracestate": "",
    "type": "com.dapr.event.sent"
  }
}

This also prevents this code in the .NET SDK from running.
// Dapr will send serialized event object vs. being raw CloudEvent
//app.UseCloudEvents();
Additionally there are several empty fields in the message example above that either need to be completed with content or removed. Topic IMO should be included.
    "topic": "",
    "traceid": "",
    "traceparent": "",
    "tracestate": "",

Steps to Reproduce the Problem
See sample here https://github.com/msfussell/samples/tree/outbox/outbox
Release Note
RELEASE NOTE: FIX Bug in runtime preventing outbox messages as cloudevent

Just tested this using 1.12 and my payload doesn't have the additional data wrapper. I've taken this payload straight from Kafka UI :
{
	"data": "map[data:map[some:body2]]",
	"datacontenttype": "text/plain",
	"id": "d6918f0f-556a-4769-8849-8133ab59bab7",
	"pubsubname": "kafka-pubsub",
	"source": "workflow-a",
	"specversion": "1.0",
	"time": "2023-11-11T21:42:31Z",
	"topic": "outbox",
	"traceid": "",
	"traceparent": "",
	"tracestate": "",
	"type": "com.dapr.event.sent"
}

This seems to be related to or same as #7047.


BelongsToMany options not working

I'm on Nova 3.12.1 and I need to overwrite the fillUsing you have on the belongsToMany function cause the callback method you use is returning a callable when it should not.
When I replace fillUsing like this (remove the return function) it all work fine:
->fillUsing(function ($request, $model, $requestAttribute, $attribute) {
//return function () use ($request, $model, $attribute) {     <-- removing this
    // Validate
    if (!is_callable([$model, $attribute])) {
        throw new RuntimeException("{$model}::{$attribute} must be a relation method.");
    }

    $relation = $model->{$attribute}();

    if (!method_exists($relation, 'sync')) {
        throw new RuntimeException("{$model}::{$attribute} does not appear to model a BelongsToMany or MorphsToMany.");
    }

    // Sync
    $relation->sync($request->get($attribute) ?? []);
//};  <-- And removing this (of course)
})

Since removing the return of a function only works when updating, I switched the return for :
$model::saved(function($model){
With this, all works fine in all cases ;)

Hi @DanielLavoie90!
Thanks a lot for the feedback, the function return was indeed off. I implemented the changes you suggested and released a new version, 1.10.2.
Thanks and good luck!


[VS Code] The host's network conditions are poor or they are no longer connected to the Live Share cloud relay. Ask them to check their network conditions, restart the collaboration session, and try again.

Error:
The host's network conditions are poor or they are no longer connected to the Live Share cloud relay. Ask them to check their network conditions, restart the collaboration session, and try again.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.869

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.27.2

platformName
Linux

platformVersion
4.14.65-1-MANJARO

Closing as a duplicate of #1213.


Title: Add Checkers Game to Project

What does this PR do?
This pull request introduces a Checkers game to our project. It creates a digital board interface for players to interact with, allowing them to strategize and enjoy the game. This change addresses the need for an engaging game feature in our application.
Fixes #243

Type of change

[x] New feature (non-breaking change which adds functionality)

How should this be tested?
To verify the changes, please test the following:

[x] Ensure the digital board loads correctly.
[x] Test piece movement and capturing functionality.
[x] Verify that the game logic operates as expected (valid moves, winning conditions).

Mandatory Tasks

[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@beRajeevKumar Please review the changes. It's almost 5 days since I opened this PR.


feat(azure-tags): format azure tags to json

:tada: This PR is included in version 1.79.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix #13

@cjdoris Did you have a chance at looking at this?

Ah, yes, thanks.
(for unknown reasons I didn't see your comment on github).
On Thu, Nov 11, 2021 at 01:34:52AM -0800, Christopher Rowley wrote:

@cjdoris commented on this pull request.

@@ -972,11 +972,19 @@ end
return (pos, done)
end

+_zero(::Any, ::Any, ::Any, ::Any) = 0
+function _zero(::AbstractVector{<:Union{<:AbstractString, Missing}}, r, i, nrows)

@warn("Value of string column '$(r.colnames[i])' (index $(i-1)) is 0 in sparse row $nrows (see warning in section sparse ARFFF files https://waikato.github.io/weka-wiki/formats_and_processing/arff_developer/")
""
+end
+function _zero(::CategoricalVector, r, i, nrows)
r.pools[r.coltypeidxs[i]][1]

I believe this should be r.pools[r.colkindidxs[i]][1]
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/cjdoris/ARFFFiles.jl/pull/14#pullrequestreview-803588936

Just tried it on some datasets, works great thanks!

I'm registering a new version now.


Make Tuple parametrized with generic so it can be used for granular c…

…onditional checks

After a though - I'm not sure if this works correctly. It has fixed one of my issues but not sure if for good reasons. Generics are hard 🙈

@Andarist Did you confirm that it works correctly? Tmrw I will conduct some tests on my own.

I think it does, gonna try to write some test for this in a moment.

Added test - it correctly restricts input tuples. It also accepts empty array though which is kinda a bummer.

@Andarist ok cool, thanks! One last thing: could leave a note about parameters in readme?

Done

@Andarist thanks! 👍


Move fedora-python-tox image to Docker hub organization fedorapython

SSIA

I'm gonna merge this and check that it'll trigger a build for both old and new namespace.


Issue

Anytime I run main.py in python it says invalid syntax always reach out to me please.

Give me a screenshot please and check on that https://github.com/TheCuteOwl/Trap-Stealer it is a lot better


[CGD2D Validation] WOCCatalog UISegmentedControl images upside-down.

-[UIImage drawAtPoint:] is incorrectly (?) drawing the image with a "negative size" to flip it over.
It needs to be updated to truly flip the CTM before it draws, just like everyone else has to.
Also, pass over drawInRect: and the 9patch support.


Upsert has unexpected effects on timestamps

Environment

Elixir version: 1.5.2
Database and version: PostgreSQL 9.6
Ecto version: 2.2.6
Database adapter and version: postgrex 0.13.3
Operating system: Alpine Linux 3.6

Current behavior
When using Ecto.Repo.insert with the on_conflict option to perform an "upsert", there are some surprising effects on timestamp columns defined with Ecto.Schema.timestamps:

With on_conflict: :replace_all, conflicting rows have both their updated_at and inserted_at timestamps updated, despite only having been updated.

With on_conflict set to a specific update instruction in the style of update_all, conflicting rows have neither of their timestamps updated — despite the function apparently being capable of this, as shown by case 1.

The Ecto.Repo.insert documentation does contain this remark, hiding in a section about how to tell whether an upserted record was inserted or updated:

In case an update happened, the data in the struct most likely does not match the data in the database. For example, autogenerated fields such as inserted_at will point to now rather than the time the struct was actually inserted.

The wording is ambiguous but seems to suggest it's only the in-memory struct itself, and not the record in the database, that would have the wrong timestamp.
Expected behavior
Ideally, I think upserts should respect the intent of timestamps, only (and always) touching the updated_at timestamp when a conflicting row is updated.
Less ideally, I think the documentation should call out, clearly and prominently, exactly how upserts will affect timestamps. The overwriting of the insert timestamp in the likely-common replace_all case is especially surprising, and recently caused some data corruption in a production app I work on (thankfully we had backups).

{:replace_all_except, fields} have been added to make handling this easier.


[FLINK-34731][runtime] Remove SpeculativeScheduler and incorporate its features into AdaptiveBatchScheduler.

What is the purpose of the change
Remove SpeculativeScheduler and incorporate its features into AdaptiveBatchScheduler.
Brief change log
Remove SpeculativeScheduler and incorporate its features into AdaptiveBatchScheduler by introduce SpeculativeExecutionHandler component.
Verifying this change
This change is already covered by existing tests, such as SpeculativeExecutionTest and SpeculativeExecutionITCase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks @zhuzhurk for the review, I've updated this pr, PTAL.


volunteer and incident details page design and folder structer refact…

Incident and volunteer details page

volunteer and incident dynamic route page created
responsive design implemented
previous folder structure refactored according to next js pages

Incident details page

## Volunteer details page

Right now all the FE tasks on halt until we get new designs from Ui/Ux @Muttakee31


RUNTIME_INSTALL causes server container to crash.

Attempting to add a RUNTIME_INSTALL to the server environment variables in docker-compose.yaml causes the server container to crash
  environment:
    RUNTIME_INSTALL: sensu-plugins/disk-checks:master

It is possible that I'm not calling the RUNTIME_INSTALL properly?
Perhaps an example of proper execution might help.

When I try that:
`
sensu-client:
container_name: mon-client
image: sstarcher/sensu:latest
hostname: log1-mon-client
restart: unless-stopped
privileged: true
    command: client
    volumes:
        - /etc/hosts:/etc/hosts:ro
        - /dev:/host_dev/:ro
        - /proc:/host_proc/:ro
        - /sys:/host_sys/:ro
        - /var/run/docker.sock:/var/run/docker.sock
    ports:
        - 3030:3030
    environment:
        - CONFIG_DIR=/etc/sensu/conf.d
        - CLIENT_NAME=log1
        - CLIENT_SUBSCRIPTIONS=default,web
        - CLIENT_ADDRESS=<IP_ADDRESS>
        - CLIENT_KEEPALIVE_HANDLER=default #May need special handler in the future
        - CLIENT_DEREGISTER=false
        - REDIS_HOST=db1
        - REDIS_PORT=6379
        - REDIS_DB=0
        - REDIS_AUTO_RECONNECT=true
        - REDIS_RECONNECT_ON_ERROR=false
        - RUNTIME_INSTALL=sensu-plugins/sensu-plugins-disk-checks@master

I get the following error in the log just prior to the container stopping:
2018-02-01T16:07:45.702942000Z Unpacking gcc-6 (6.3.0-18) ...
2018-02-01T16:07:54.564589000Z gzip: stdin: not in gzip format
2018-02-01T16:07:54.564959000Z tar: Child returned status 1
2018-02-01T16:07:54.565299000Z tar: Error is not recoverable: exiting now
2018-02-01T16:07:54.565634000Z /bin/install: line 47: cd: sensu-plugins-sensu-plugins-disk-checks-master: No such file or directory
`
Am I calling the RUNTIME_INSTALL correctly in the compose file?

Bad documentation is the cause.  I attempted to improve it let me know if this makes sense.  https://github.com/sstarcher/docker-sensu#runtime-installation
        - RUNTIME_INSTALL=sensu-plugins/sensu-plugins-disk-checks@master
vs
        - RUNTIME_INSTALL=sensu-plugins/disk-checks@master
Or you can also do
        - RUNTIME_INSTALL=disk-checks


I wish the sparkle rendered in lines that contained only whitespace

Testing #199158
The sparkle position was a little odd to me at first, but I got use to it.

bulb at the beginning same line because there is whitespace:

bulb above because there is no whitespace:

It's regardless of where the cursor is though... it's just trying to not block code in your line, I think
with the sparkle... sometimes it appears:

after characters in the previous line (like if there's only one character):

on top of characters in the previous line (if there are more than one characters):

never if there is only whitespace:

I can see the argument that it's following the lightbulb's appearance mechanism, but I feel like I'm missing the sparkle on lines that only have whitespace

Yes, we should also show the sparkle when on a line with just whitespace. But I would say, only when at the end of that line.
Then we can show the sparkle on the same line.

With the recent change of the setting editor.lightbulb.enabled from a boolean value to a three-state type value (on, off and onCode), if the value is set to on then the lightbulb/sparkle appears on lines containing whitespaces too. In fact with the setting set to on, the lightbulb appears everywhere where code actions are available. This issue will be closed.


First approximation of dealing with the unresolved intrinsic

The !Ref, !ImportValue and !GetAtt functions are not yet resolved by the goformation library. As the journey of fixing them is possibly the long one, the first approximation of solving them is to allow the validator to work with them unresolved and alert the user that some parts of a template are unresolved and should be investigated manually.
Moreover the creation of a temporary file .preprocessed.yml is now fully optional as the FixFunctions function outputs the simple []byte result.

LGTM I'd love to merge it and play it. @jlampar two things:

Please attach here information which tasks you've assigned it will close.
If .preprocessed.yml is optional, is there any scenario in which we need it?

If we can remove it completely, please do it in a separate PR.

It solves #56 and partially solves #79.


Router confusion for multiple controllers

Hello.
I'm getting a 404 when trying to access a controller NOT named Home.php
File structure
--php-mvc
-- --App
-- -- --Controllers
-- -- -- -- Home.php
-- -- -- -- Timbrel.php
-- --Models
-- --Views
-- -- --Home
-- -- -- --index.html
-- -- --Timbrel
-- -- -- --index.html
-- --Core
-- --logs
-- --public
-- -- --css
-- -- --js
-- -- --index.php
In index.php I've got two add route actions plus the "catch-all" at the very bottom
(I added the  $url = trim($url, '/').'/'; to the Router.php from someone else's comment)
//HOME INDEX ROUTE IS DEFAULT
$router->add('/', ['controller' => 'Home', 'action' => 'index']); <--works fine for www.my-domain.com
//NEW CONTROLLER THAT DOESN'T WORK... (top version is my most current version but I've tried many other configurations. Some are listed below.)
$router->add('timbrel/index', ['controller' => 'Timbrel', 'action' => 'index', 'namespace' => 'Timbrel']); <--current
I've also tried
$router->add('timbrel/', ['controller' => 'Timbrel', 'action' => 'index', 'namespace' => 'Timbrel']);
I've also tried
$router->add('', ['controller' => 'Timbrel', 'action' => 'index', 'namespace' => 'Timbrel']); <--this renders but overwrites Home.php action.
In App->Controllers->Timbrel.php I have an indexAction that calls the template
View::renderTemplate('Timbrel/index.html', [
'name'    => 'Dave',
'colours' => ['red', 'green', 'blue']
]);
When I go to www.my-domain.com
The index page "Home/index.html" renders just fine which I expected.
When I go to www.my-domain.com/timbrel/index OR www.my-domain.com/timbrel/ OR www.my-domain.com/timbrel/index.html OR www.my-domain.com/timbrel
I receive 404 Not found.
What am I doing wrong?
Thanks!

Hi - does it work if you do this: www.example.com/index.php?timbrel/index
If so, the URL rewriting isn't working. Check you have the mod_rewrite module enabled in Apache.
Your code looks fine, so if it's not that, I would try debugging it by printing out various stages of the match method, e.g. the $url argument, the contents of the routes array etc. e.g. var_dump($url); to see where the problem might be.

That was it. Thank you so much for the hint!
I saw this in the nginx config file if ($rule_0 = "21"){
Should that be if ($rule_0 == "21"){ or do the rewrite rules not have assigned in the same way as a language like PHP?
Thanks!

The comparison operator in an nginx rewrite rule is =. This is nginx code and is different to PHP. Relevant documentation is here.


⚠ Bofrost.es has degraded performance

In a497e2c, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1498 ms

Resolved: Bofrost.es performance has improved in d2ac925 after 20 minutes.


invalid byte sequence in UTF-8

I have set up a FTPAgent plus CSV agent.
the ftpjb works and fetches the file, but csvagent says it has an inalid byte sequence.
i even stored it manually with notepad++ and correct encoding.
any chance I can convert/handle this encoding issue?
invalid byte sequence in UTF-8 /usr/lib/ruby/2.5.0/csv.rb:1833:in sub!'
/usr/lib/ruby/2.5.0/csv.rb:1833:in block in shift' /usr/lib/ruby/2.5.0/csv.rb:1821:in loop'
/usr/lib/ruby/2.5.0/csv.rb:1821:in shift' /usr/lib/ruby/2.5.0/csv.rb:2253:in parse_headers'
/usr/lib/ruby/2.5.0/csv.rb:1942:in block in shift' /usr/lib/ruby/2.5.0/csv.rb:1821:in loop'
/usr/lib/ruby/2.5.0/csv.rb:1821:in shift' /usr/lib/ruby/2.5.0/csv.rb:1763:in each'
/app/app/models/agents/csv_agent.rb:174:in parse_csv' /app/app/models/agents/csv_agent.rb:147:in block in parse'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:71:in each' /app/vendor/bundle/ruby/2.5.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:71:in each'
/app/app/models/agents/csv_agent.rb:143:in parse' /app/app/models/agents/csv_agent.rb:96:in receive'
/app/app/jobs/agent_receive_job.rb:8:in perform' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/execution.rb:39:in block in perform_now'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:109:in block in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n.rb:297:in with_locale'
/app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/translation.rb:9:in block (2 levels) in <module:Translation>' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:118:in instance_exec'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:118:in block in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/logging.rb:26:in block (4 levels) in module:Logging'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:168:in block in instrument' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:23:in instrument'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:168:in instrument' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/logging.rb:25:in block (3 levels) in module:Logging'
/app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/logging.rb:46:in block in tag_logger' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:71:in block in tagged'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:28:in tagged' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/tagged_logging.rb:71:in tagged'
/app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/logging.rb:46:in tag_logger' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/logging.rb:22:in block (2 levels) in module:Logging'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:118:in instance_exec' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:118:in block in run_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:136:in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/execution.rb:38:in perform_now'
/app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/execution.rb:24:in block in execute' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:109:in block in run_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/railtie.rb:28:in block (4 levels) in <class:Railtie>' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/execution_wrapper.rb:87:in wrap'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/reloader.rb:73:in block in wrap' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/execution_wrapper.rb:87:in wrap'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/reloader.rb:72:in wrap' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/railtie.rb:27:in block (3 levels) in class:Railtie'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:118:in instance_exec' /app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:118:in block in run_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:136:in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/execution.rb:22:in execute'
/app/vendor/bundle/ruby/2.5.0/gems/activejob-<IP_ADDRESS>/lib/active_job/queue_adapters/delayed_job_adapter.rb:42:in perform' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:81:in block in invoke_job'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in block in initialize' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in execute'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/backend/base.rb:78:in invoke_job'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in block (2 levels) in run' /usr/lib/ruby/2.5.0/timeout.rb:93:in block in timeout'
/usr/lib/ruby/2.5.0/timeout.rb:103:in timeout' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:230:in block in run'
/usr/lib/ruby/2.5.0/benchmark.rb:308:in realtime' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:229:in run'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in block in reserve_and_run_one_job' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in block in initialize'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in execute' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in run_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:312:in reserve_and_run_one_job' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:213:in block in work_off'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in times' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:212:in work_off'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:175:in block (4 levels) in start' /usr/lib/ruby/2.5.0/benchmark.rb:308:in realtime'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:174:in block (3 levels) in start' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in block in initialize'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in execute' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in run_callbacks'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:173:in block (2 levels) in start' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:172:in loop'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:172:in block in start' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/plugins/clear_locks.rb:7:in block (2 levels) in class:ClearLocks'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:79:in block (2 levels) in add' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:61:in block in initialize'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:79:in block in add' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:66:in execute'
/app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/lifecycle.rb:40:in run_callbacks' /app/vendor/bundle/ruby/2.5.0/gems/delayed_job-4.1.5/lib/delayed/worker.rb:171:in start'
/app/lib/delayed_job_worker.rb:6:in run' /app/app/concerns/long_runnable.rb:71:in block in run!'`
kind regards
Randy

To resolve this, you can try the following steps:

Check CSV Encoding: Ensure that the CSV file is saved in the correct encoding. UTF-8 is a common encoding for text files. You can open the CSV file in a text editor and check or change the encoding as needed.

Specify Encoding in CSVAgent: If the CSV file uses an encoding other than UTF-8, you can specify the encoding when using the CSVAgent in your code. For example:
CSVAgent.new(file: "path/to/your/file.csv", encoding: "ISO-8859-1")

Replace "ISO-8859-1" with the appropriate encoding if needed.

Handle Encoding Errors: If the CSV file contains characters that are not valid in the specified encoding, you might encounter errors. You can handle encoding errors by replacing or skipping invalid characters:
CSVAgent.new(file: "path/to/your/file.csv", encoding: "UTF-8", invalid: :replace, replace: "")

In this example, invalid characters will be replaced with an empty string.

Normalize Data: If the data in the CSV file contains special characters, accents, or diacritics, consider normalizing the data before processing. You can use libraries like UnicodeUtils or I18n.transliterate to convert accented characters to their non-accented equivalents.
require 'unicode_utils'

normalized_string = UnicodeUtils.nfkd("Café")


change 7

Current dependencies on/for this PR:

main

PR #7

PR #6

PR #5   (this PR)

This comment was auto-generated by Graphite.


Ship image doesn't load

I get this when attempting to load my Hornet F7C:  https://www.thelonegamers.com/wp-content/uploads/2016/01/2016-01-30-14_41_47-Greenshot.jpg
This is the image address:  http://placehold.it/800x600
Let me know what other details I can provide.

Hey joe - no styles (beyond base bootstrap for homescreen) or images are completed yet.
Working on it though.
Ship images will likely come much later - I'm actually hoping to pull in the 3D models that I'm exporting with the work I've been doing with Markemp here: https://github.com/Markemp/Cryengine-Converter
Thanks for the report though - will leave it open until I've got either static or 3d images in.

Thanks for the quick response!  I've got this tool bookmarked and I'll definitely be keeping an eye on it.  Very promising.

Placeholder images in place for now.


alignment error in FCReadFloat64 on 32 bit devices

Occasionally get an alignment error on 32 bit devices. This fix works for me:
static id FCReadFloat64(__unsafe_unretained FCNSDecoder* decoder) {
  FC_ALIGN_INPUT(double_t, *decoder->_offset);
  FC_READ_VALUE(uint64_t, *decoder->_offset, decoder->_input, decoder->_total);
  __autoreleasing NSNumber* number = @(*(double_t*)&value);
  return number;
}

I don't understand how this could possibly work. Can you provide a sample project so I can verify before I merge the fix? Thanks.

I checked and it looks like double_t isn't what I thought it was (it's defined as being a minimum of 8 bytes, rather than exactly 8 bytes). I've changed the definitions, so hopefully it should work now (version 3.2.1). Let me know if not.

I found the issue occurs on the iPhone 4s when _input is misaligned. When cast as a double, the device tries to load 8 bytes into a floating point register. When cast as an int64, 8 bytes are loaded into a general purpose register. Unlike the float registers, the general purpose registers can work with misaligned data.

The data shouldn't be misaligned in the first place though: that's the point of the align statement.


fix(clippy): Resolve unnecessary borrow lint and remove redundant imports

Motivation
We want to keep clippy lints up to date by doing them when they arrive in nightly Rust.
Solution
Partly generated by:
cargo +nightly clippy --fix --all-features --all-targets

Review
This just needs to get fixed eventually.
Reviewer Checklist

[ ] CI passes

✨


feat(maven): allow configuring Maven endpoint

This allows publishing Maven artifacts to different repositories.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Ran the integration tests, changed their Maven endpoint and ran again. This whole dance behaved exactly as expected. Yay!

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


some questions

Hi, I was testing rospo and had some questions:

Are keys that are password protected not supported? I get an error "unable to authenticate" when trying to use a password protected key.
Is there a way to provide the server password as a command line arg?
How do you launch the UI?

also, is it possible to save logs to a text file, to see if anyone is attacking the server?

Password protected keys are not supported at the moment.
Some features are available using config file only.
For example to enable the webui you should use somthing like:
sshclient:
  server: <IP_ADDRESS>
  identity: "~/.ssh/id_rsa"

web:
  listen_address: "<IP_ADDRESS>:8090"

Password protected keys are not supported at the moment.

are you planning to add support in a future update?
Also, is it possible to save logs to a text file?

I'm not planning to support protected keys at the moment, but it should not be too difficult to add it. Would you like to contribute?
Regarding logs, for my use cases I usually simply redirect console output to a log file, so no you cannot configure rospo to write to a log file directly.

I'm not planning to support protected keys at the moment, but it should not be too difficult to add it. Would you like to contribute?

I can try to take a look if you can give advice on what files need to be edited

Look at the sshc package here https://github.com/ferama/rospo/tree/main/pkg/sshc
The identity is loaded and the ssh connection is instantiated. You should start from there

I switched to using Python sshtunnel which supports key pw, will close this.
One question about the included server though, is there way to change the packet size to 256 KiB? I guess right now it's 32 KiB?

I tried sshtunnel but the performance is too bad, so I went back to this program.
@ferama I have never used golang before did some research and got it working. The file that was changed was keys.go. Here are the changes, can you incorporate this feature in the next release?
Add this to the imports
"syscall"
"golang.org/x/crypto/ssh/terminal"

Change LoadIdentityFile and add the helper function
func isKeyEncryptedWithPassphrase(keyPath string) (bool, error) {
	// Read the private key file
	keyData, err := ioutil.ReadFile(keyPath)
	if err != nil {
		return false, err
	}

	// Parse the private key
	_, err = ssh.ParsePrivateKey(keyData)
	if err != nil {
		// If the key is encrypted with a passphrase, ssh.ParsePrivateKey will return an
		// error indicating that the key is encrypted. In this case, we can conclude that
		// the key has a passphrase.
		log.Printf("key at %s is encrypted", keyPath)
		return true, nil
	}

	log.Printf("key at %s is not encrypted", keyPath)

	// If the key was successfully parsed, it means that the key does not have a passphrase
	return false, nil
}

// LoadIdentityFile reads a public key file and loads the keys to
// an ssh.PublicKeys object
func LoadIdentityFile(file string) (ssh.AuthMethod, error) {
	path, _ := ExpandUserHome(file)

	usr, _ := user.Current()
	// no path is set, try with a reasonable default
	if path == "" {
		path = filepath.Join(usr.HomeDir, ".ssh", "id_rsa")
	}

	isKeyEncrypted, err := isKeyEncryptedWithPassphrase(file)
	if err != nil {
		return nil, err
	}

	if isKeyEncrypted {
		fmt.Print("Enter passphrase for SSH key: \n")
		password, err := terminal.ReadPassword(int(syscall.Stdin))
		fmt.Print("\n")

		if err != nil {
			return nil, err
		}
		buffer, err := ioutil.ReadFile(path)
		if err != nil {
			return nil, fmt.Errorf("cannot read SSH identity key file %s", path)
		}

		key, err := ssh.ParsePrivateKeyWithPassphrase(buffer, password)
		if err != nil {
			return nil, fmt.Errorf("cannot parse SSH identity key file %s", file)
		}
		return ssh.PublicKeys(key), nil
	} else {
		buffer, err := ioutil.ReadFile(path)
		if err != nil {
			return nil, fmt.Errorf("cannot read SSH identity key file %s", path)
		}

		key, err := ssh.ParsePrivateKey(buffer)
		if err != nil {
			return nil, fmt.Errorf("cannot parse SSH identity key file %s", file)
		}
		return ssh.PublicKeys(key), nil
	}
}

Here's some changes that allows for key passphrase caching
Uses a new file cache.go
package cache

var CachedKeyPw []byte

LoadIdentityFile
func LoadIdentityFile(file string) (ssh.AuthMethod, error) {
	path, _ := ExpandUserHome(file)

	usr, _ := user.Current()
	// no path is set, try with a reasonable default
	if path == "" {
		path = filepath.Join(usr.HomeDir, ".ssh", "id_rsa")
	}

	isKeyEncrypted, err := isKeyEncryptedWithPassphrase(file)
	if err != nil {
		return nil, err
	}

	if isKeyEncrypted {
		password := []byte(cache.CachedKeyPw)

		if string(cache.CachedKeyPw) == "" {
			fmt.Println("Enter passphrase for SSH key")
			password, err = terminal.ReadPassword(int(syscall.Stdin))
			if err != nil {
				return nil, err
			}

			for {
				fmt.Println("Cache the key password? (y/n) (insecure, stored as an array of bytes in RAM)")
				cacheInput, err := terminal.ReadPassword(int(syscall.Stdin))
				if err != nil {
					return nil, err
				}

				if string(cacheInput) == "y" {
					cache.CachedKeyPw = password
					break
				} else if string(cacheInput) == "n" {
					cache.CachedKeyPw = []byte("")
					break
				}

				fmt.Println("invalid option (pick y/n)")
			}
		}

		buffer, err := ioutil.ReadFile(path)
		if err != nil {
			return nil, fmt.Errorf("cannot read SSH identity key file %s", path)
		}

		key, err := ssh.ParsePrivateKeyWithPassphrase(buffer, password)
		if err != nil {
			return nil, fmt.Errorf("cannot parse SSH identity key file %s", file)
		}

		return ssh.PublicKeys(key), nil
	} else {
		buffer, err := ioutil.ReadFile(path)
		if err != nil {
			return nil, fmt.Errorf("cannot read SSH identity key file %s", path)
		}

		key, err := ssh.ParsePrivateKey(buffer)
		if err != nil {
			return nil, fmt.Errorf("cannot parse SSH identity key file %s", file)
		}
		return ssh.PublicKeys(key), nil
	}
}

Thanks for your work. I can evaluate your edits and include them in next release. You should make a proper pull request with your commits to the rospo main branch.

Hi @ferama ,
You will add the suggested patches provided by @Forum1877621 ? They aren't in the current repo.
In addition, I suggest to add a simple XOR to the cached password (using a typdef master key). And instead of caching only the password key, you can cache the certificate too. Then you can remove the certificate from the disk after starting the tool and it will work with all in ram.
I hope it helps.
Regards.


linux运行报错: System.DllNotFoundException

Unhandled exception. System.DllNotFoundException: Unable to load shared library 'paddle_inference_c' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libpaddle_inference_c: cannot open shared object file: No such file or directory
   at Sdcb.PaddleInference.Native.PaddleNative.PD_ConfigCreate()
   at Sdcb.PaddleInference.PaddleConfig..ctor()
   at Sdcb.PaddleOCR.PaddleOcrDetector..ctor(String modelDir)
   at Sdcb.PaddleOCR.PaddleOcrAll..ctor(String modelPath, String labelFilePath)
   at LocalPaddleOcr.Program.Main(String[] args) in /home/cuiliang/dotnetocr/Program.cs:line 30
   at LocalPaddleOcr.Program.<Main>(String[] args)

Directly deploy in Linux environment requires compiled OpenCvSharp4 native library and paddlepaddle inference C library(and all it's dependencies).


Quick Open when looking for files with multiple words not working as before

Tested versions
Reproducible in 4.3, did not occur in 4.2 as far as I can remember.
System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; <IP_ADDRESS>99) - Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz (20 Threads)
Issue description
Let's say I have two files in my system: dialog_box.gd and dialog_text.gd. I want to use the Quick Open (Ctrl+P) to go to the dialog_text.gd file. I have to enter "dialog_t" for the search to select my file. Otherwise, I can write "dia" and use the keyboard or mouse to move down to my file.
Now, in Visual Studio Code, I can enter "dt" and it will go to the correct file. I'm also pretty sure older versions of Godot worked like this, but I can't confirm.
Steps to reproduce
Simply create two files (don't have to be .gd files) with the same first word and different second word in the title. Then try to use the Quick Open feature to move to the second file alphabetically.
Minimal reproduction project (MRP)
This can be reproduced with any project with multiple files.

This is an intentional change, see:

https://github.com/godotengine/godot/issues/94907

Thank you for your report, consolidating there


Update a Server

It would be great if you could implement server JAR updating. For example, if I am running Spigot, it will automatically run BuildTools again and then restart the server. By the way, I was very impressed when I saw the auto-install functionality (BuildTools integration) :+1:

Or, to avoid using resources for every you've got running BuildTools every time there is an update, you could set up a tool or plugin that sets it up sort of like a local repository that each server can just grab the jar from a single source.

@computerwizjared — its in the pipeline to do re-installs and plugin changes, hopefully not too far away.
@Wargog — that I something I have been considering for awhile now, possibly by doing SHA1 hashes of files to check for changes. The problem with BuildTools is more that it is just a wrapper for building the spigot.jar from remote sources, so I'd need to hook into some type of API to monitor for changes. I agree though, it is a super slow process that should be sped up.
Part of the logic for downloading things each time, even for SRCDS, was to keep everything up to date, however since these scripts are all open source, if you have any ideas for better implementations I'd love to hear them.

@DaneEveritt You could even make a fork of BuildTools just for PufferPanel if you wanted.

BuildTools doesn't really change, its their git repos that do, BuildTools just compiles the patches.

There could be some sort of Maven integration, I don't know much about it but I think there is some support for updates to files in the way you would need there. You also could set up something with the API that checks the Spigot repo for updates as well.

Support added for this. Reinstalls entire server, does not just update a single jar. If you want that you'll have to do it manually.


Add: Radio Isla TV [PR]

Channel Name
Radio Isla TV
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
PR
Subdivision (optional)
No response
City (optional)
San Juan
Broadcast Area
c/PR
Languages
spa
Categories (optional)
news
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://radioisla.tv/
Logo
https://i.ibb.co/PDThYr5/Logo-Radio-Isla.png
Notes
No response

Are you sure that the name of the channel is not "Radio Isla TV"?
https://radioisla.tv/radio-isla-tv/

Are you sure that the name of the channel is not "Radio Isla TV"?
https://radioisla.tv/radio-isla-tv/

Yeah, you're right. Sorry!


When will the training code for the model be made public?

We would like to train a model for our own scenario. Could you please send us the training code? Email<EMAIL_ADDRESS>

We would like to train a model for our own scenario. Could you please send us the training code? Email<EMAIL_ADDRESS>
Did you receive it yet?

Hi, we would also like to train our own model with faces. Is it possible to share your training code with me as well? My email is<EMAIL_ADDRESS>Thanks and really appreciate it!

@VanshRana12 can you also share the training code with me ? email<EMAIL_ADDRESS>

We would like to train a model for our own scenario. Could you please send us the training code? Email<EMAIL_ADDRESS>
Did you receive it yet?

Could you please kindly share the training code with me? My email is<EMAIL_ADDRESS>Thank you.

We are looking to train an improved model. Could you share the training code with us? Thank you!
email<EMAIL_ADDRESS>


nixos-install failing with nix-1.12 due to missing Perl

Issue description
With nix 1.12, nixos-install fails at this line due to Perl missing (as the TODO above states). The error this gives is (for searchability)
Can't open perl script "use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};": No such file or directory

Steps to reproduce

Set nix.package = pkgs.nixUnstable; and rebuild
Call nixos-install

Technical details

System: 17.09.git.96457d2 (Hummingbird)
Nix version: nix (Nix) 1.12pre5511_c94f3d55
Nixpkgs version: 17.09.git.96457d26dd
Sandboxing enabled: Yes

Not a blocker for 17.09 because Nix 1.12 will not the default yet.

Should be fixed by e88f28965a7d.  (Installer tests now work with Nix 2.0.)


How to select between different registries?

I see in your code there is a method named CHOOSE_TCR, but don't see anywhere call it. Could you show me how to select between different registries ?

Sorry but what is the correct way to call this method ?

using a redux action that contains the type CHOOSE_TCR

It reload the registry but it doesn't reload the current application lists, how could it reload all of them ?

this feature was only experimental for some time, but not in active development right now. not sure how it'll play with the rest of the code. ¯_(ツ)_/¯


fix args to DataFrame.set_index

[x] Closes #140
[x] Tests added:

test_frame.py:test_types_set_index() from original issue - added one test

Thanks @Dr-Irv !


Invisible sources in "latest" view

Steps to reproduce
I'm not sure what I did, so this is a guess:
Fill the watch list with 5 sources, then uninstall one without removing it from the watch list.
Expected behavior
The uninstalled source gets removed from the watch list
Actual behavior
The watch list behaves like it's full, despite showing fewer than 5 sources
Crash logs
No response
Tachiyomi version
1.7.0
Android version
Android 11
Device
Samsung Note 10+
Other details
I personally am stuck only able to watch 3 sources since I apparently did this twice. The removed extensions were obsoleted, so I can't reinstall them to see if the slot reappears.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.7.0.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

What version has that option? The stable release version doesn't have it

The latest preview builds have it, I havent released it as a stable yet


Refactor

NSMakeRect -> NSRect
CGPointMake -> CGPoint
Unnecesery self removed
some complex if's change to if where
.gitingore added

Can you make sure to use the same indentation? It's difficult to see the diff.
I use

tab width: 2 spaces
indent width: 2 spaces

Done :)

Feels a lot like you have different conventions than mine. I actually really like self.method, it's clear that you call a instance method and not a global function.
Not sure if this PR is required.
Sorry.

Many guidelines like raywenderlich.com suggest you shouldn't use self

For conciseness, avoid using self since Swift does not require it to access an object's properties or invoke its methods.
Use self when required to differentiate between property names and arguments in initializers, and when referencing properties in closure expressions (as required by the compiler)


[R-package] fixed best_iter and best_score when training data is passed (fixes #2295)

I started to pick up #2471 but found that I needed to make enough changes that I thought it made sense to just put them in a new PR and close that one. I also think this makes the review process cleaner, so I'm not technically updating a PR that belongs to @Laurae2 while also acting as a reviewer on my own code.
I tried to address #2295 in this PR. Basically, when early stopping is not used, the best score and best iteration should be determined using the first metric and first validation set given, excluding the training data. #2295 suggested that right now, if you pass the training data to valids it's possible that best_iter and  best_score will be based on the training data.
This PR proposes the following improvements:

exclude training data from consideration for best_iter and best_score in lgb.train()
replace positional references like booster$record_evals[[2L]][[1L]][[1L]] with the actual names used in those nested lists
centralize the naming scheme for record_evals in package constants to reduce risk of silent errors caused by hard-coding
add tests on best_score and best_iter behavior for classification and regression, for metrics to maximize and those to minimize, and for cases where the training data is passed to valids with a name other than "train" (to be sure code detecting it with identical() works)

This PR does not attempt to fix https://github.com/microsoft/LightGBM/issues/2472, as noted in https://github.com/microsoft/LightGBM/pull/2471#issuecomment-536300877. That will be fixed in a later PR.

Gah our CI is  🔥🔥🔥 this week!
From Azure DevOps

close re-open to re-trigger CI and check if the failures are transient

After reading #2525, I think this PR will fix that too

I've rebased this to update it with latest master. This PR is ready for review.

Thanks for the review @guolinke ! I'm glad to get this one merged, think it will improve the user experience


Authorizator based on client Certificate information

Hello,
I would like to be able to authorize a client to read/write on a certain topic based on client X.509 certificate information (see this link http://www.hivemq.com/blog/mqtt-security-fundamentals-x509-client-certificate-authentication to understand my point)
The idea is to have canRead and canWrite of the IAuthorizator to be called with Certificate information.
I had a look at io.moquette.spi.impl.ProtocolProcessor.java and saw that i can get those certificate information from the Netty channel object.
I'll also need to wrap all user info (clientID, username, certificate) in one object that would be passed to authorizator.
What do you think of this ?
Am i missing something ?
If i submit a PR with my modification, does it have a chance to land in the next release ?
Thanks in advance for taking the time to read me and answering back.
Best regards,
Brahim

To way in on this, I find this a very interesting feature and would help develop / debug it.


[Patcher] [infrastructure-live] Update gruntwork-io/terraform-aws-service-catalog/networking/vpc dependency

:robot: This is an automated pull request opened by Patcher.
Description
Updated the gruntwork-io/terraform-aws-service-catalog/networking/vpc dependency.
Updated files

infrastructure-live/dev/eu-central-1/networking/vpc/terragrunt.hcl

Previous version: v0.95.0
Updated version: v0.96.0

Raw output from `patcher update`
successful_updates:
  - file_path: infrastructure-live/dev/eu-central-1/networking/vpc/terragrunt.hcl
    updated_modules:
      - repo: terraform-aws-service-catalog
        module: networking/vpc
        previous_version: v0.95.0
        updated_version: v0.96.0
manual_steps_you_must_follow:
  - instructions_file_path: infrastructure-live/dev/eu-central-1/networking/vpc/README-TO-COMPLETE-UPDATE.md

Steps to review

Check the proposed changes to the terraform and/or terragrunt configuration files.
Follow the instructions outlined in the README-TO-COMPLETE-UPDATE.md file and delete it once the update is complete.
Validate the changes in the infrastructure by running terraform/terragrunt plan.
Upon approval, proceed with deploying the infrastructure changes.

Closing so the new v2 action can generate this.


Added device parameter to allow usage with MPS (Apple Silicon) and Vulkan

Hello @Luxbit , thank you for your contribution!

I'll publish the crate when rust-bert publishes its latest version so we can pin it in the Cargo.toml since publishing requires pinned versions. For now, you can use the latest tag v0.5.0 from this repo when using this crate.

Hey @cpcdoy, thanks for maintaining :)
Yeah, the versioning is a bit messy. Sadly, tch 0.15 is needed to make MPS work. But it is worth it, it gives you a nice 3x performance increase on M1 Max


fargate support

it would be great if the fargate container would also be shown with price info

btw. they are shown as spot right now which is not even supported by fargate eks yet

+1

Should be resolved now in the v0.2.0 release.


Remap keys doesn't work

Remap keys doesn't work . When I open preference page, it works for a little while

PowerToysReport_2021-05-27-10-59-39.zip

@zaneven
Can you elaborate on what exactly doesn't work. Do you have reproduce steps? Also, attach bug report(it can be generated from tray menu).


Bring back report on individual cities

Describing the feature I'd like
On selecting the particular state, there used to be the total numbers of "Increases/Recovered/Deceased" per day. It looks like that feature has been removed and now it directly shows the total figure. How about we have both of those embedded in the same table?
We can have a small arrow pointing UP or DOWN depending on the increase or decrease of cases, and have them put right next to the total figure, in small sizes. That way per day case information and total cases would be seen at one glance.
Thank you.

Guess, this has been brought back. Thanks for working on it.
Closing the issue.


5E STATBLOCK IMPORTER: An error has occurred. Please report it using the module link so it can get fixed.

Hey there. This is my first time posting on Github so I apologize if any of my formatting or anything isn't proper etiquette. I am also NOT tech savvy at all and have been learning Foundry "the hard way" for the past year or so.
This is my very first attempt at using Stat Block Importer, I installed and enabled it today, Sep. 8, 2024. It seems like this might be a new and hopefully uncommon issue.
If it matters, my current build of Foundry is Version 11, Build 315. I'm hoping maybe I just need to install an older version of the Stat Block Importer but I have no idea.
I tried a few different stat blocks including the base format for the Glabrezu that is provided on the main page here and got the same message every time, "5E STATBLOCK IMPORTER: An error has occurred. Please report it using the module link so it can get fixed."
Console log entries read:

caught (in promise) TypeError: undefined. Cannot destructure property 'creature' of '(intermediate value)' as it is undefined.
[Detected 1 package: 5e-statblock-importer]
at HTMLButtonElement.

The 3 different texts that I tried are:

Glabrezu
Large fiend (demon), chaotic evil
Armor Class 17 (natural armor)
Hit Points 157 (15d10 + 75)
Speed 40 ft.
STR
DEX
CON
INT
WIS
CHA
20 (+5) 15 (+2) 21 (+5) 19 (+4) 17 (+3) 16 (+3)
Saving Throws Str +9, Con +9, Wis +7, Cha +7
Damage Resistances cold, fire, lightning; bludgeoning,
piercing, and slashing from nonmagical attacks
Damage Immunities poison
Condition Immunities poisoned
Senses truesight 120 ft., passive Perception 13
Languages Abyssal, telepathy 120 ft.
Challenge 9 (5,000 XP)
Innate Spellcasting. The glabrezu’s spellcasting ability
is Intelligence (spell save DC 16). The glabrezu can
innately cast the following spells, requiring no material
components:
At will: darkness, detect magic, dispel magic
1/day each: confusion, fly, power word stun
Magic Resistance. The glabrezu has advantage on
saving throws against spells and other magical effects.
Actions
Multiattack. The glabrezu makes four attacks: two with
its pincers and two with its fists. Alternatively, it makes
two attacks with its pincers and casts one spell.
Pincer. Melee Weapon Attack: +9 to hit, reach 10 ft.,
one target. Hit: 16 (2d10 + 5) bludgeoning damage. If
the target is a Medium or smaller creature, it is
grappled (escape DC 15). The glabrezu has two pincers,
each of which can grapple only one target.
Fist. Melee Weapon Attack: +9 to hit, reach 5 ft., one
target. Hit: 7 (2d4 + 2) bludgeoning damage.

Breed Leech
Tiny aberration (symbiont), neutral evil
Armor Class 12
Hit Points 2 (1d4)
Speed 20 ft.
STR
DEX
CON
INT
WIS
CHA
6 (–2)
15 (+2)
11 (+0)
5 (–3)
8 (–1)
10 (+0)
Senses blindsight 30 ft. (blind beyond this radius without a host), passive Perception 9
Languages telepathy (host only)
Challenge 0 (10 XP)
Attach. Wondrous item, uncommon (requires attunement)
While a breed leech is attached to a host, the host regains all expended Hit Dice when they finish a long rest, ignores the first level of exhaustion they would gain in any given 24-hour period, and has advantage on Constitution saving throws to resist disease and being poisoned.
Curse. If the breed leech is attached to a pregnant humanoid host for at least 24 hours, the child the host is carrying will be born as a daelkyr half-blood. This property of the breed leech is undetectable by divination and it can’t be reversed by magic.
Symbiotic Nature. A breed leech can't be removed from a host while they’re attuned to it, and the host can't voluntarily end their attunement to it. If the host is targeted by a spell that ends a curse, their attunement to the breed leech ends, and it detaches from the host.
When a breed leech is detached, it leaves its former host poisoned for 24 hours.
Actions
Bite. Melee Weapon Attack: +2 to hit, reach 5 ft., one target. Hit: 1 piercing damage and the target instantly attunes to breed leech as it attaches itself. If the target is already attuned to their maximum limit of magic items, one random attunement is overridden.

Warforged Assassin
Medium humanoid (warforged), any alignment
Armor Class 17 (natural armor)
Hit Points 112 (15d8 + 45)
Speed 40 ft.
STR
DEX
CON
INT
WIS
CHA
8 (–1)
19 (+4)
16 (+3)
15 (+2)
15 (+2)
11 (+0)
Saving Throws Dex +7, Wis +5
Skills Athletics +5, Acrobatics +7, Stealth +10
Damage Resistances poison
Senses passive Perception 12
Languages Common
Challenge 7 (2,900 XP)
Warforged Resilience. The warforged has advantage on saving throws against being poisoned and is immune to disease. Magic can't put it to sleep.
Cunning Action. Once on each of its turns, the warforged can use a bonus action to take the Dash, Disengage, or Hide action.
Sneak Attack (1/Turn). The warforged deals an extra 17 (5d6) damage when it hits a target with a weapon attack and has advantage on the attack roll, or when the target is within 5 feet of an ally of the warforged that isn't incapacitated and the warforged doesn't have disadvantage on the attack roll.
Actions
Multiattack. The warforged makes three weapon attacks.
Rapier. Melee Weapon Attack: +8 to hit, reach 5ft., one target. Hit: 8 (1d8 + 4) piercing damage.
Dagger. Melee or Ranged Weapon Attack: +8 to hit, reach 5 ft. or range 20/60 ft., one target. Hit: 6 (1d4 + 4) piercing damage.
Reactions
Uncanny Dodge. The warforged assassin takes half damage from an attack that hits it. The warforged must be able to see the attacker.

Let me know if you need anything else, I look forward to seeing this mod in action!

I see, glad you found a way to make it work. I'll reopen this and look into it because that definitely shouldn't be the case, though.

I am having this issue also. Currently running v12 build 329.

Thanks for the report and all the info. I couldn't reproduce this issue yet, but while I keep looking, could you guys let me know which browser you're using?

I am using chrome,  Version 128.0.6613.138 (Official Build) (64-bit). Here
is a bit more information from the chrome console.
[image: image.png]
On Wed, Sep 18, 2024 at 3:59 AM Stefano Morciano @.***>
wrote:

Thanks for the report and the info. I couldn't reproduce this issue yet,
but while I keep looking, could you guys let me know which browser you're
using?
—
Reply to this email directly, view it on GitHub
https://github.com/jbhaywood/5e-statblock-importer/issues/122#issuecomment-2358159204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLOOSIQMRYVSRWX66MGZODZXFMH5AVCNFSM6AAAAABN3EN5KCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJYGE2TSMRQGQ
.
You are receiving this because you commented.Message ID:
@.***>

Do you mind trying the latest unstable version? You would need to install it manually by pasting this manifest URL: https://github.com/Aioros/5e-statblock-importer/releases/download/v1.90.6-3-g98df27a/module.json.
Apart from a few minor changes, it should give a little more information in the console about the error that I would like to see. Appreciate the help in any case, thank you.

Here is the error from the console using the new version.
[image: image.png]
On Mon, Sep 23, 2024 at 8:01 AM Stefano Morciano @.***>
wrote:

Do you mind trying the latest unstable version? You would need to install
it manually by pasting this manifest URL:
https://github.com/Aioros/5e-statblock-importer/releases/download/v1.90.6-3-g98df27a/module.json
.
Apart from a few minor changes, it should give a little more information
in the console about the error that I would like to see. Appreciate the
help in any case, thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/jbhaywood/5e-statblock-importer/issues/122#issuecomment-2368554283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLOOSJ4BLDUYHM6ZW73Z7TZYAUN5AVCNFSM6AAAAABN3EN5KCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGU2TIMRYGM
.
You are receiving this because you commented.Message ID:
@.***>

Try this.
On Mon, Sep 23, 2024 at 8:36 AM Stefano Morciano @.***>
wrote:

Hey, thanks for the quick response, but I don't seem to be able to see the
image. Any way you could upload it differently? Otherwise I would also be
ok with just a copy/paste of the error from the console.
—
Reply to this email directly, view it on GitHub
https://github.com/jbhaywood/5e-statblock-importer/issues/122#issuecomment-2368663518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLOOSKAIZRJZS4ZP4JSZU3ZYAYOLAVCNFSM6AAAAABN3EN5KCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGY3DGNJRHA
.
You are receiving this because you commented.Message ID:
@.***>

Nope, sorry. I think images in comments from emails are not really working. You might need to actually use the webpage here on GitHub for that.

It works, good job man. I know those bugs can be hard to nail down.
On Tue, Sep 24, 2024 at 5:34 AM Stefano Morciano @.***>
wrote:

The newest version of the module has a tentative fix for this issue. Could
you try updating to v1.90.7 and see if it works for you?
—
Reply to this email directly, view it on GitHub
https://github.com/jbhaywood/5e-statblock-importer/issues/122#issuecomment-2371145775,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLOOSOWRUHE5WW7J7BVHHLZYFL5LAVCNFSM6AAAAABN3EN5KCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGE2DKNZXGU
.
You are receiving this because you commented.Message ID:
@.***>


migrate to flask babel

migrate: flask_babelex replaced by invenio_i18n

refactor: remove unused statements

NOTES:

to make this testable it is necessary to release invenio-i18n, flask-security-invenio and invenio-theme

This is a fun one. pydocstyle doesn't want a blank line after the dosctring, but black wants a blank line because it's the start of a function definition.


Easy interface for calling Rhai functions from Rust

Calling Rust functions from Rhai is simple and easy, the other way around, not so much. The way I see it, we need a macro or two. Therefore, we need to:

Make call_fn() public (Already done)
Make a macro like call!() for calling Rhai functions
Document everything

However, this open to discussion, as there might be better ways to handle function calling from Rhai

The call_fn method is simplified in https://github.com/jonathandturner/rhai/pull/106