Inject a test that checks the mypy exit status

Fix #69
From the Mypy docs,

Mypy is designed to doggedly follow all imports, even if the imported module is not a file you explicitly wanted mypy to check.

This is problematic because, if mypy reports errors in a file pytest didn't collect, pytest-mypy has no MypyItem (now MypyFileItem) to match the errors to, and, if there are no other errors to report, the plugin may not force the correct pytest exit status!
To remedy that, this injects a new MypyStatusItem which just checks the mypy exit status and fails if it's nonzero. This means that an extra test will run for every --mypy invocation. Also, both MypyStatusItem and the new MypyFileItem inherit from MypyItem, so some existing checks that currently check for MypyItems may need to be updated to check for MypyFileItems.

There are a couple other nuances to this that I'll highlight:

--mypy now affects collection only.

CLI options are not checked in pytest_collection_modifyitems, which means that mypy will still run on MypyFileItems injected in any pytest_colleciton_modifyitems implementations.

To avoid this, check the CLI options manually before injecting, or invoke pytest_collect_file directly:# conftest.py
import py

def pytest_collection_modifyitems(session, config, items):
    plugin = config.pluginmanager.getplugin('mypy')
    item = plugin.pytest_collect_file(py.path.local('foo.py'), session)
    if item:
        items.append(item)

Remember, though, that pytest_collect_file will only collect .py.

That ☝  enables a recipe for using the Mypy files directive (related: #67, cc: @brianmaissy):[mypy]
files = foo.py  # not in tests/

# conftest.py
def pytest_collection_modifyitems(session, config, items):
    plugin = config.pluginmanager.getplugin('mypy')
    items.append(
        plugin.MypyStatusItem(plugin.nodeid_name, session, config, session),
    )

pytest tests/  # no --mypy

The conftest.py causes mypy to be run on all MypyFileItems, but, since --mypy wasn't passed, there are no MypyFileItems! That means mypy is called without any arguments (by the injected MypyStatusItem) which activates the files directive.


Creation of Container views as context manager

The vSphere integration creates one ContainerView every time it refreshes the infrastructure information.
There are two ways to prevent the creation of duplicated views:

Either we keep a single variable in memory but that means we have to refresh the view anytime there is a server error and it's hard to predict effects for a long running session.
We create and destroy the view everytime, much simpler to write/understand, much safer as the view is always fresh at the cost of a performance impact that is negligible (2 small api calls, a few milliseconds).

This PR implements the second option using a contextmanager.

I think a test would be useful but at the check method level, ie making sure that when the check run is over the view is destroyed. Doing that would require a bit more clean up and refactor of the tests at the moment and I think we shouldn't invest to much time in this implementation as we're reworking it anyway :) That'd be nice to test this behavior with the rework though, I'll put a note on this.


Send cookies on requests to another domain

I've been using the ahoy.js library to create ahoy events on a rails server on a different domain which has the ahoy gem configured. The events are being created successfully. However, I need to send the cookies on the request, because the server gets some extra data from that.
The above requires the following option to be set on the ajax request:
xhrFields: {
  withCredentials: true
}

Is there an option on ahoy.js to make this work?
I'm setting ahoy config in this way:
ahoy.configure({
  urlPrefix: 'http://otherdomain.com'
});

@ankane This PR solves the issue: https://github.com/ankane/ahoy.js/pull/19
The usage would be:
ahoy.configure({
  crossDomain: true
});

By default the crossDomain option is set to false.

@ankane ?


Grid gutter issue with uneven pixel values

I have a layout with a 1px grid gutter; the columns are colored boxes.
Bootstrap’s grid translates this in -0.5px margins along with 0.5px paddings. That seems to work, actually (and I have tested it in some browsers), because the bowsers seem to generally decide if they tilt the columns to the left or to the right, to finally feature one full pixel gap.
But this feels overall accidentally, and I’m worried that that this might break on day, at least when it comes to sub pixel rendering …
So I’m asking myself if it wouldn’t be a good idea to enhance the grid mixin with a logic for uneven values, that produces regardeless just full pixel values; in my case 1px left, 0px right, for example.
Alternatively maybe optional variables for left-/right-gutter-part would be fine.
Thanks a lot,
7R5N

We should round up to the nearest pixel values, though come v4 it'd be nice to not dividing values for their true purposes. The latter there will be a fix I can make for our v4, but the former could be done in v3 if someone wanted to take a stab at it.


German Translation

Hi! I've added a German translation :-)

Thank you

Thank you for maintaining django-axes :-)

You can do that too ;)


Adequately document SC controls in SSP

In order for compliance reviewers to understand our system, we need to update this family of control statements to explain our system (and policies and procedures) in more precise and thorough detail.
Setup
Read the guidance in HOWTO update the SSP before working on this.

SC Google Doc

Acceptance criteria
SC-8:

[x] Determine if Entry number 1 in the JAB Comments spreadsheet is really for SC/ SC-8
[x] Once, the appropriate location is determined, the control statement should be updated to:

[x] Indicate that cache control is the customer responsibility and why does cloud.gov choose not to control cache.

SC-12 (2):

[x] Control statement is updated to reflect the current version of OpenSSL we are using.
[x] Control statement is updated to indicate the source of where we get OpenSSL.
[x] Control statement is updated to reflect that we are now using FIPS ciphers in the proscribed modes.

SC-13:

[x] Control statement is updated to include that we use FIPS ciphers in the proscribed modes.

SC-7 (12):  @brittag - (SC-7 looks good; just going to worry about the enhancement)

[x] Control statement is updated to reflect that the platform level firewall rules are set at the AWS level
[x] Control statement is updated to reflect how AWS firewall rules work
[x] Control statement is updated to reflect that the application security groups is based on tenant level iptable rules which happen at the container level.
[x] Control statement is updated to reflect how the application security groups work.

SC-20 / SC-21

[x] Control statement should include a short reiteration of the points mentioned in the JAB comments items 20 & 21

SC-4:

[x] Verify that the control statement matches the observations and evidence given in the SRTM notes. Check with a member of the team who understands the system to ensure that the result is accurate and complete.

SC-7(4):

[x] Verify that the control statement matches the observations and evidence given in the SRTM notes. Check with a member of the team who understands the system to ensure that the result is accurate and complete.

SC-13:

[x] Add a checkmark for Service Provider System Specific for this control. Afterwards, update the CIS spreadsheet. https://docs.google.com/spreadsheets/d/1Yxt1mMZAdSyKt2OGY1qdkkfZhBiKV6ZuD7sZPKxikuQ/edit#gid=600210940

SC-22:

[x] Ensure that the observation and evidence in the SRTM still match with the control statements in the SSP

SC-23:

[x] Ensure that the observation and evidence in the SRTM still match with the control statements in the SSP

SC-28:

[x] Check with the team if 1) EBS encryption for all EBS volumes has been enabled and 2) Server Side Encryption has been enabled for all S3 volumes as mentioned in the SRTM. If it has not, update the implementation status to partially implemented and update the control statement. Either case, update the control statement to ensure the status of both are reflected.

SC-28(1):

[x] As mentioned in the  SRTM, add the missing parameters in the table, otherwise change to partially implemented
[x] Check with the team if 1) EBS encryption for all EBS volumes has been enabled and 2) Server Side Encryption has been enabled for all S3 volumes as mentioned in the SRTM. If it has not, update the implementation status to partially implemented and update the control statement. Either case, update the control statement to ensure the status of both are reflected.

SC overall:

[x] Check the responsible roles, implementation statuses, and control originations for each control. (Including that "Infrastructure as a Service Provider" shouldn't be in the responsible role - since AWS isn't responsible for these things - instead, we're responsible for making sure our implementation of AWS satisfies these things.)

Implementation guidance
During grooming, take items from the following and list them as specific tasks above.

[x] Required JAB reviewer items (additional notes here)
[x] SRTM items identified by our 3PAO as "moderate" differential (if not already marked green there).
[x] SRTM items identified by our 3PAO as "low" differential (if not already marked done there).
[x] Word doc comments (in Google Drive) from our ISSO (which provide a helpful reader perspective on confusing bits). They don't all need to be addressed, but useful as guidance.
[x] Word doc comments (in Google Drive) from our PMO (which provide a helpful reader perspective on confusing bits). They don't all need to be addressed, but useful as guidance.
[x] Any relevant notes in the SSP check working space
[x] Check that control origination statements make sense (look for notes here and look through the controls); if you change a checkbox, make a note in that spreadsheet.

@dlapiduz: Put you as one of the assignees on this one... We're anticipating that you're an SME in this area (HTTPS, DNSSEC, etc)

[ ] Check the responsible roles, implementation statuses, and control originations for each control. (Including that "Infrastructure as a Service Provider" shouldn't be in the responsible role - since AWS isn't responsible for these things - instead, we're responsible for making sure our implementation of AWS satisfies these things.)

Review status:

Noah K has reviewed the DNSSEC controls (SC-20 / SC-21). ✅
There are a few controls that need additional fact-checking by Diego.
Randy plans to take a look soon.

Diego has done his fact-checking! ✅
Randy put in a few comments. ✅
I've asked Bridget to take a look.

Per discussion with Noah today: @rjbator will be the one to sign off on this issue and move it from Awaiting Acceptance to Closed.

Status of review:

[ ] Check overall to make sure references to "Cloud Foundry" aren't confusing to reviewers.
[ ] Check overall whether AWS inherited needs to be checked in any additional origination checkboxes: "For any control that leverages components or features of the underlying IaaS, the "Inherited" box should also be checked."
[ ] There are also some specific problems to resolve, flagged in comments.

Given that this hasn't happened yet, taking it over.

Closing this one as "what we did on SC during PI7"


Clean up benchmark directories after runs

During my work on #206 I noticed that awfully often there are leftower benchmark dirs. For some reason runner seems to omit teardown. Need to investigate and fix that.

Seems like the reason for not cleaning up the tmp dirs was machine running out of memory during benchmarks (at first we used machine with 1GB ram). asv never made it till teardown. Seems like I can roll back the changes made to clean up /tmp before benchmark.
This issue was fixed by #210 and #211


Encrypt hashed values

this pr will:

requires a jwt to build the payloads
encrypt / store hashed values for a user when the value doesn't already exist


In my case I want only server side filtering to get implemented and not the client side.So how to disable client side filtering?

Describe the bug
A clear and concise description of what the bug is, and the conditions when it occurs.
How to reproduce
Please provide a link to a reproduction scenario using one of the Clarity Stackblitz templates. Reports without a clear reproduction may not be prioritized until one is provided.
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Versions
App

Angular: [e.g. 6]
Node: [e.g. 8.10.0]
Clarity: [e.g. 0.12.5]

Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

Closing in favor of #4574 as duplicate


add the cascade tree object to manage formulation

This adds the cascade tree functions.  still needs to be fully tested.


fix/test/docs: negative interval accumulation with incentive rewards

Progress towards: https://github.com/osmosis-labs/osmosis/issues/5854
What is the purpose of the change
Please review https://github.com/osmosis-labs/osmosis/pull/5869 first for better context and easier review experience.
This PR fixes a negative interval accumulation edge case bug by simply replacing Sub with SafeSub where applicable. It introduces new coming helpers in osmoutils to achieve that.
The tests are extended to cover claiming rewards below, inside, and above the position after it is initialized.
Note, I noticed another edge case around negative values while working on this. Added docs to explain it. It is covered by current test
Testing and Verifying
The global invariants are asserted, and the tests ensure that the appropriate amount is claimed from all positions in all cases.
Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[x] Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

[x] Specification (x/{module}/README.md)
[ ] Osmosis documentation site
[x] Code comments?
[ ] N/A

I think theres some merge conflict issues with the other PR, PR LGTM assuming these are resolved


Support needed for newer libbpf versions.

In internal/bpf/bpfWrapper.c, there is a call to bpf_set_link_xdp_fd() at line 153.  This function has been replaced in newer versions of libbpf.
A change to DPDK code (net/af_xdp) for this same issue can be seen at:
<EMAIL_ADDRESS>RHEL 9.2 includes libbpf v1.0.0, causing this code to break when moving to a newer OS.

Thanks @leearoberts - just acknowledging your issue. We're looking into it.

Update on this:

Our main problem is libbpf api changes a bit over time, this time impacting us. CNI uses libbpf on the host and we can’t guarantee what’s installed there. (device plugin runs in a daemonset, so is packaged up with its dependencies).
The distros are also all over the place in terms of what version of libbpf the package managers install, compounding the problem above.
Spent a while looking at different ways around this, but ultimately decided we need to break this dependency on host libraries.
Looked at using ip link set dev eth0 xdp off and the corresponding vishvananda/netlink function as a more generic way of removing bpf from the netdev. Unfortunately found that ip link only removes bpf programs that it loaded itself. It cannot unload an app loaded by libbpf.
Ultimately, we were able to statically compile the cni to include libbpf, so this is the solution we’re currently going with to break the host dependencies. Static compiling with our current (really old) version of libbpf works fine. Tested on a host with no libbpf installed. Binary size increase is not too bad.
Next step was to move to a more recent version of libbpf, and again we hit more problems.
xsk_setup_xdp_prog and bpf_set_link_xdp_fd, the functions we use to add and remove the bpf app, have been deprecated in favour of bpf_prog_attach and bpf_prog_detach.
“detach” works fine, however the new “attach” function is different from xsk_setup_xdp_prog. It doesn’t give us the xsks_map_fd that we ultimately pass over the UDS to the containerised workload, allowing it to create an AF_XDP socket.
xsk_setup_xdp_prog comes from <bpf/xsk.h> and from libbpf v1.0.0 onward, this file was moved to libxdp to become <xdp/xsk.h>
In summary, if we move to a newer version of libbpf, we have a new dependency on libxdp.
Briefly attempted installing and importing both, but I don’t like this idea and they appeared to conflict anyway. Didn’t spend long on it.
We want to move to libxdp in the long term anyway, and actually attempted this previously. We never merged it because we found libxdp difficult to install on anything but the latest OSs at the time. We didn’t want to pass this burden onto users.
However, static compilation fixes this problem, user no longer needs to install libs on the host. @phansGithub has tested libxdp with static compilation and it appears to be working ok.
So, this is the direction I’m going to suggest. Drop libbpf in favour of libxdp.

Thanks @maryamtahhan for advice and suggestions. Thanks @phansGithub for trialing and testing all the above. FYI @davecremins.


iOS simulator: merge into iphone detect.py

Please test, as I did not. It should now be possible to build the iOS simulator with scons p=iphone ios_sim=yes. It should enforce the right flags.
As the main iphone detect.py and the isim one had diverged a bit in some points, there might be further work needed to get the simulator to build. A notable difference is that the simulator defaulted to building in tools mode, while after this commit it would default to template mode; should I force tools mode for the simulator?
CC @punto- and anyone with an Xcode/OSXCross environment.
Fixes #4489

no need for tools on simulator..
On 22 June 2016 at 04:03, Rémi Verschelde<EMAIL_ADDRESS>wrote:

Please test, as I did not. It should now be possible to build the iOS
simulator with scons p=iphone ios_sim=yes. It should enforce the right
flags.
As the main iphone detect.py and the isim one had diverged a bit in some
points, there might be further work needed to get the simulator to build. A
notable difference is that the simulator defaulted to building in tools
mode, while after this commit it would default to template mode; should I
force tools mode for the simulator?
Fixes #4489 https://github.com/godotengine/godot/issues/4489
You can view, comment on, or merge this pull request online at:
https://github.com/godotengine/godot/pull/5355
Commit Summary

iOS simulator: merge into iphone detect.py

File Changes

M platform/iphone/detect.py
https://github.com/godotengine/godot/pull/5355/files#diff-0 (43)

Patch Links:

https://github.com/godotengine/godot/pull/5355.patch
https://github.com/godotengine/godot/pull/5355.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/5355, or mute the thread
https://github.com/notifications/unsubscribe/AGVmPVL8iLFlb93ij1pyRLxc7DOH3MIUks5qON5OgaJpZM4I7dwZ
.

no need for tools on simulator..

Good, that's what I thought too. So it was a bug in the isim/detect.py.

Add a commit by @punto- to add an arch parameter for more clarity in the targets the iphone platform can be built for.
Would be nice to get an OSX user to test the new buildsystem :)

Oops... I pushed another commit from my local master branch which happened to have the above two commits, so I ended up manually merging this PR by mistake.
So to everyone, please test the master branch :)


Use Danger swift

I'm a tad wary of the danger in post ( it might mean the build can't be failed ) on CI, but this moves everything but Swift Lint checks into Danger Swift.
You could probably write a quick JSON -> warns thing in the bottom of the file for danger-swift, like the old v1 version of the ruby plugin.

Fails

:no_entry_sign:

` failed.

Log
Dangerfile.swift:11:56: error: binary operator '-' cannot be applied to two '[String]' operands
if (danger.git.createdFiles + danger.git.modifiedFiles - danger.git.deletedFiles > 10) {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
Dangerfile.swift:11:56: note: overloads for '-' exist with these partially matching parameter lists: (Float, Float), (Double, Double), (Float80, Float80), (UInt8, UInt8), (Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32, Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int), (Self, Self.Stride), (UnsafeMutablePointer<Pointee>, Int), (UnsafeMutablePointer<Pointee>, UnsafeMutablePointer<Pointee>), (UnsafePointer<Pointee>, Int), (UnsafePointer<Pointee>, UnsafePointer<Pointee>)
if (danger.git.createdFiles + danger.git.modifiedFiles - danger.git.deletedFiles > 10) {
                                                       ^
Running: /usr/bin/swiftc --driver-mode=swift -L /usr/local/lib/danger -I /usr/local/lib/danger -lDanger Dangerfile.swift /var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/danger-dsl.json /var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/danger-response.json
Dangerfile eval failed at Dangerfile.swift
Could not get the results JSON file at /var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/danger-response.json

  Generated by :no_entry_sign: dangerJS

hah - that fail message

Fails

:no_entry_sign:

` failed.

Log
Dangerfile.swift:30:19: error: use of unresolved identifier 'FileManager'
let fileManager = FileManager.default
                  ^~~~~~~~~~~
Running: /usr/bin/swiftc --driver-mode=swift -L /usr/local/lib/danger -I /usr/local/lib/danger -lDanger Dangerfile.swift /var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/danger-dsl.json /var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/danger-response.json
Dangerfile eval failed at Dangerfile.swift
Could not get the results JSON file at /var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/danger-response.json

  Generated by :no_entry_sign: dangerJS

OK, that's also got a simple version of Danger Swiftlint in it - ready to go.

Thanks @orta!


Bitness detection problems?

delvewheel is detecting bitness problems when Visual Studio is loaded into the environment. Is there a way to skip over the first name-matching DLL and continue searching for a matching bitness candidate before bailing on the first name (which ends up being unsuitable)?
Full output log (unsure of how long this sticks around): https://gitlab.kitware.com/vtk/vtk/-/jobs/5743222#L3474
Relevant output:
$ delvewheel show (Get-ChildItem dist\*.whl | % FullName)
Analyzing vtk-9.0.20210427-cp36-cp36m-win_amd64.whl
Traceback (most recent call last):
  File "C:\glr\builds\vtk\vtk-ci-ext\0\.gitlab\python\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\glr\builds\vtk\vtk-ci-ext\0\.gitlab\python\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\glr\builds\vtk\vtk-ci-ext\0\build\venv\Scripts\delvewheel.exe\__main__.py", line 9, in <module>
  File "c:\glr\builds\vtk\vtk-ci-ext\0\build\venv\lib\site-packages\delvewheel\__main__.py", line 67, in main
    wr.show()
  File "c:\glr\builds\vtk\vtk-ci-ext\0\build\venv\lib\site-packages\delvewheel\wheel_repair.py", line 302, in show
    discovered, ignored, not_found = patch_dll.get_all_needed(extension_module_path, self._add_dlls, self._no_dlls, self._wheel_dirs, 'ignore')
  File "c:\glr\builds\vtk\vtk-ci-ext\0\build\venv\lib\site-packages\delvewheel\patch_dll.py", line 145, in get_all_needed
    raise OSError(f'Dependent library {lib_path} is {lib_bitness}-bit but Python interpreter is {interpreter_bitness}-bit')
OSError: Dependent library c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\concrt140.dll is 32-bit but Python interpreter is 64-bit

Thanks!


Configuration file

Instead of parameter, why not have a configuration file where you can run a named configuration section.
This would make it easier to create the cron jobs, and the config file can be re-used.
dlid-backup ./config.json mysql-weekly
The config file could be something like this:
Depending on type, you have access to different variables and options.

MySQL: {database-name},  mysql.dump-filename option and ignore option

Folder: No special variables

Files: No special variables

archiveName the Zip filename

destination is the target folder in firebase

keep how many files to keep

{
 "fireBase": {
  "projectId": ""dlid-backup",
  "keyFilename": "dlid-backup-firebase-adminsdk-rnbg4-8dd874e54e.json"
 },
 "defaults": {
   "mysql.ignore": ['mysql','performance_schema','sys', 'information_schema'],
   "mysql.dump-filename": "{date}_{database-name}.sql",
  }
},
{
 "jobs": {
  "mysql-weekly" : {
   "type": "mysql",
   "$date": "moment(YYYY[W]WW)",
   "archiveName": "{date}_mysql-backup.zip",
   "destination": "{hostname}/mysql/weekly",
   "keep": 12
  }
 }
}

This is for the old version. Will create a new issue


Build breaks on latest commit aa3ca51

Hi there,
It seems that the build was broken at the latest commit
(base) ➜  functorch git:(main) git log
commit aa3ca511900eb73ca4de32c6f7b182c01b9043b2 (HEAD -> main, origin/main, origin/HEAD)
Author: Samantha Andow<EMAIL_ADDRESS>Date:   Mon Apr 25 16:24:08 2022 -0400

    Add expand_copy and masked_select_backward to reenable tests from upstream breakages (#736)

    * fix expand_copy

    * add masked_select_backward

(base) ➜  functorch git:(main) python setup.py bdist_wheel
/Users/ligeng/Developer/functorch/functorch/csrc/VmapGeneratedPlumbing.h:3094:177: error: no type named 'OptionalIntArrayRef' in namespace 'at'
::std::tuple<at::Tensor,at::Tensor,at::Tensor> convolution_backward_generated_plumbing(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::OptionalIntArrayRef bias_sizes, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array<bool,3> output_mask) {
                                                                                ~~~~^
/Users/ligeng/Developer/functorch/functorch/csrc/VmapGeneratedPlumbing.h:6036:128: error: too many arguments to function call, expected 6, have 7
    return at::_ops::grid_sampler_3d_backward::call(grad_output, input, grid, interpolation_mode, padding_mode, align_corners, output_mask);
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                            ^~~~~~~~~~~

The build works normally for v0.1. Looks like caused by API breaking change. Could you help fix the issue?
Full log is attached here
log.txt

If you're building against functorch master, you also need to build against PyTorch nightly. Are you doing that now?

Thanks for the pointer. Latest pytorch + latest functorch can compile without error.


could not decode rune

Discussed in https://github.com/charmbracelet/bubbletea/discussions/664

Originally posted by mschneider82 December  5, 2022
i am using the mouse input and always getting a program exit after a while because of "could not decode rune"
I would expect it continues instead of failing on a invalid utf 8 rune.
		r, width := utf8.DecodeRune(b[i:])
		if r == utf8.RuneError {
			return nil, errors.New("could not decode rune")
		}
```</div>

Note: the reason we return an error here, is that this is a bit of a panic situation, as all further decodes would likely fail to.
On the bright side, I believe this is already fixed by @knz and I will soon get to merge that fix.

Hi,
I encountered the same problem, here is a minimal reproduction example:
package main

import (
	"log"

	tea "github.com/charmbracelet/bubbletea"
)

type model struct{}

func (model) Init() tea.Cmd {
	return nil
}

func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	return m, nil
}

func (model) View() string {
	return "hello world"
}

func main() {
	p := tea.NewProgram(model{})
	log.Fatal(p.Run())
}

When running the program, if you paste below text to the terminal, the program will exit with "could not decode rune" error:
我要你扮演一个侏儒。你会为我提供可以在任何地方进行的活动和爱好的有趣、独特的想法。例如，我可能会向您询问有趣的院子设计建议或在天气不佳时在室内消磨时间的创造性方法。此外，如有必要，您可以建议与我的要求相符的其他相关活动或项目。我的第一个请求是“我正在寻找我所在地区的新户外活动"

Actually this bug can be reproduced in any bubbletea program, if any Chinese text longer than 256 characters is pasted, the program will exit.

Yep, this is a known issue.
@muesli my PR to handle long inputs should help alleviate this.

Since https://github.com/charmbracelet/bubbletea/pull/570 gets merged, I think this issue is resolved now.


Create branch gol with last stable in it

This allows 'go get' to always pick last stable branch.

Is gol a naming convention? Can you point to some documentation that describes this feature?

Googling branch gol etc. gives no meaningful reference. Closing this for now.


SystemPacketBuffer.h cleanup

Problem
Code should use PacketBufferHandle rather than PacketBuffer *.
Some existing methods should be removed or made private so that code
does not have unnecessary access to the raw pointer.
Summary of Changes

convert public use of PacketBufferHandle::Adopt().
convert internal use of Adopt() to private Free().
renamed PacketBuffer::Create() factory to Adopt().
rename private PacketBuffer::Next() to ChainedBuffer().
explicitly note PacketBuffer::Next_ForNow() remaining use in TLV.
make PacketBuffer::Free() private.
make PacketBuffer::Consume() private.
make PacketBuffer::AddToEnd_ForNow() private (still used in tests).
remove PacketBuffer::FreeHead_ForNow().
remove operator*.

Part of issue #2707 - Figure out a way to express PacketBuffer ownership in the type system

@saurabhst @jelderton @BroderickCarlin @hawk248 ?

@saurabhst @jelderton @BroderickCarlin @hawk248 ?

#4241 breaks this. Update shortly.

#4241 breaks this. Update shortly.


Fix call Eth NewBlockFilter

Eth NewBlockFilter method hasn't any arguments so it shouldn't have any validators. https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newblockfilter

@tomcyr LGTM, thanks!


authentication error when connecting to localhost

after the V2 release I started trying to slowly migrate to deno, and after fixing all the imports it went great.
but I could not connect to mongodb, as I keep getting authentication error on localhost:

The code is as in the quickstart guide:
const client = new MongoClient();
await client.connect(process.env.MONGO_URI);

I was trying to run the code like this with deno v2.0.0:
deno run --env=packages/server/.env --allow-all packages/server/src/main.ts
To exhaust all possible options I also ran it with --unsafe without success.
My connection string looks like this mongodb://user:pass@<IP_ADDRESS>:27017/?authMechanism=SCRAM-SHA-1&tls=false which is used via SSH forwarding (and yes I also verified that the URI is correct at runtime with console.log).
This error happened both with this package and with the<EMAIL_ADDRESS>package.
When using the npm package, the exact same code works in node, so I really don't have a clue what's going on.
I also put up a local mongodb in docker without auth, and that one does in fact work.

is there a reason why you define ?authMechanism=SCRAM-SHA-1&tls=false
And if you say it also happens with the nodejs package then can you try to use your mongo uri in MongoDB Compass?

I proxy through localhost so there is no SSL configured, and in node it didn't work without specifying the auth mechanism.
and maybe I should have been more clear, it doesn't work with the npm package when running it with deno, it does connect if I run my app with node 20.17.
and I just checked, it does connect with that URI in MongoDBCompass.


Local axis on ManipulationHandler constraints

Describe the problem
When you add manipulation handler to an object you can choose to lock one or more axis in the original rotation. When you then rotate the object, the axis you chose to lock will be locked on the GLOBAL axis (let's say Transform.up for Y-Axis and so on) instead of keeping the local one.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
rotation locked Axis does NOT respect local rotation.
Describe the solution you'd like
ManipulationHandler should check for the original rotation of the object and keep the rotation for the locked Axis.

Also it would be great to add constraints on translation. Many times we want to use the bounding box only on the X and Z axis.

Hi guys, any news on this feature?

@MenelvagorMilsom @julenka something else to consider for manip handler stuff.
In this case I assume that only a single rotation constraint should exist (i.e. local OR global, not both), so maybe there's just some dropdown above Constraint on Rotation the is "Constraint Locality - global or local")

@benjamincoven somewhat belated but hopefully still useful for you (constraints on translation, though this is for manip handler not bounding box)
https://github.com/microsoft/MixedRealityToolkit-Unity/pull/5976

@wiwei, I was planning this as part of my constraint changes.

@wiwei, I was planning this as part of my constraint changes.

this is awesome :D


Use multiprocess from pathos for multiprocessing

Multiprocess (from the pathos project) allows to use lambda functions in multiprocessed map.
It was suggested to use it by @kandorm.
We're already using dill which is its only dependency.

We can just install multiprocess actually, I'll change that

Just an FYI: I remember that I wanted to try pathos a couple of years back and I ran into issues considering cross-platform; the code would just break on Windows. If I can verify this PR by running CPU tests on Windows, let me know!

That's good to know thanks
I guess we can just wait for #644 to be merged first. I'm working on fixing the tests for windows

Looks like all the CI jobs on windows passed !
I also tested locally on my windows and it works great :)
I think this is ready to merge, let me know if you have any remarks @thomwolf @BramVanroy


Inconsistencies in the "View and update the current runtime version" section

Step 2 says "In the example below, the version is set to ~3.", but the screenshot shows the Runtime version as ~4:

Then, Step 3 says "To pin your function app to the version 1.x runtime, choose ~1 under Runtime version.".  This is not consistent with Step 2, where the runtime is already at ~4 or ~3, given the Step 2 inconsistencies.  The overall example should be providing guidance on changing the runtime from (for example) ~3 to ~4, and not going backwards to ~1.
Finally, Step 3 also says "This switch is disabled when you have functions in your app." when referencing the Runtime version dropdown.  But I have a Windows Function App containing Functions, and that dropdown is not disabled:

Thanks in advance.

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

ID: 07d8c45a-8f08-4c87-ae0d-9fbb901ed402
Version Independent ID: 73c96870-96d3-5859-a0b9-1c69c3b11300
Content: How to target Azure Functions runtime versions
Content Source: articles/azure-functions/set-runtime-version.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

@erikorange thanks for your feedback on this article. Addressing your comments in order:

It's a good catch, we probably should put the screenshot back to ~3 or the text doesn't make as much sense from an upgrade perspective.
The actual point of this section was going backward to ~1, which is still a supported runtime version (because of .NET Framework). However, it doesn't look like ~1 is any longer an option in the portal, so I'll need to investigate that.
This may have just been in the context of the change back to ~1. I'll also need to check on this.

Thanks for the updates.  For context...I ran across that page as I was looking for guidance on upgrading the runtime.  You are correct that ~1 is still supported due to the .NET Framework, but this page recommends upgrading in all other cases.


Late 2023 Production update

Bumps @babel/traverse from 7.21.4 to 7.23.2.

Starting draft to collect change notes.


timeline list auto-scroll

When clicking through the images of an animation list, the list will auto-scroll to the bottom, making it hard to explore the list or click through the images in sequence. It makes sense to jump to the bottom of the list when adding new images, but ideally it wouldn't auto-scroll on list-item selection.

@JohnNelsonMaps please review this fix on DEV.

confirmed on dev. looks great!


Add descriptions for layers

It would be helpful to add descriptions in the README file about exactly what the contents of each gdb/layer is

I've added a per-folder README.md to the Compressed Raster Dataset directory. Please let me know if this makes sense to you (so each folder is self contained).


mssql: add new driver type w/o pre-processing query

There exists many queries today that uses native "@" placeholders
for queries. Parsing queries today is not perfect and introduces
more work that isn't always needed. Introduce a new driver type
that when used will not preprocess any queries.
Fixes #199

Test added.


Lxml removal and consistent source code generation

These patches change from using lxml to python's xml.etree.
That removes a dependency on lxml.
There is also a patch that changes the generated code to have a consistent order.
Before that patch the generated code would vary between builds.
Finally, there is a removal of a unicode header that crept into vk-layer-generate.py.

LGTM :+1:

Cherry picked to master and pushed.

I believe this has a bug on Windows - with VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR. Please see a more robust fix that I've tested with Python 3 and 2 here: https://github.com/null77/Vulkan-LoaderAndValidationLayers/commit/36152c614fb1e480b09b832bf58521c965804467. Sorry was just in the process of testing that code more before I uploaded it - stroyan, I had seen your patch on the mailing list.

The problem you saw with VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR was found and fixed before this merge request was pushed.  I just expanded the patterns that can be mapped to VK_STRUCTURE_ names.  Your comment parsing fix is interesting.  It could be more flexible for future additional structure enum names.  Hopefully a resolution to https://github.com/KhronosGroup/Vulkan-Docs/issues/34 will move that information into new xml fields instead of comments so the parsing will be straight-forward and robust.

Ah, you're correct, just ran it through my code and compiles fine. Thanks for pointing out that issue, I agree the best fix would be to fix vk.xml. Even if we can do a more robust parser, the best solution is to include the info in the XML.
Thanks for fixing this!


Add Jackson deserialization and implement JAX-RS *Params

According to JAX-RS, QueryParam and other annotations can be added to parameters of other types than String (https://docs.oracle.com/javaee/7/api/javax/ws/rs/QueryParam.html), so I implemented a way of casting the parameters to specific types.
In addition, vest should be able to automatically deserialize request body to a specific object of a class. It is now supported using Jackson ObjectMapper object added using addSingleton method.

Thanks for the additions. Will look through them.


UPSTREAM : etcdctl: allow move-leader to connect to multiple e…

…ndpoints
Re-opening closed PR etcd-io#11775 which was originaly authored by benmoss. Then again opened PR etcd-io#12757 which was authored by zerodayz.
The mustClientForCmd function is responsible for parsing environment variables and flags into configuration data. A change was made in etcd-io#9382 to call Fatal if a flag is provided multiple times. This means that we cannot call the mustClientForCmd function more than once, since it will think that flags parsed the first time are now being redefined and error out.
Some people have commented about this in etcd-io#8380 but I don't think there's an open issue for it.
Signed-off-by: Thomas Jungblut<EMAIL_ADDRESS>Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

this is a carry for https://bugzilla.redhat.com/show_bug.cgi?id=1918413

just tested with cluster-bot, works like a charm:
sh-4.4# etcdctl member list
2d2138c1862ef2be, started, ci-ln-rpg82q2-72292-vgr8j-master-0, https://<IP_ADDRESS>:2380, https://<IP_ADDRESS>:2379, false
7e000217098b1d89, started, ci-ln-rpg82q2-72292-vgr8j-master-1, https://<IP_ADDRESS>:2380, https://<IP_ADDRESS>:2379, false
ac971fd52e8876de, started, ci-ln-rpg82q2-72292-vgr8j-master-2, https://<IP_ADDRESS>:2380, https://<IP_ADDRESS>:2379, false
sh-4.4# etcdctl move-leader ac971fd52e8876de
Leadership transferred from 7e000217098b1d89 to ac971fd52e8876de
sh-4.4#

/test e2e-aws-serial

/retest

/hold

superseded by the rebase to 3.5.5


[BugFix] Fix jdbc predicate on LargeStringLiteral

Why I'm doing:
After https://github.com/StarRocks/starrocks/pull/46957, large string(len > 50) in the predicate used by JDBC Scan node on will be truncated before sending to BE. This leads to an incorrect result set.

What I'm doing:
Fix jdbc predicate on LargeStringLiteral
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@mergify backport branch-3.3


⚠ Bofrost.be has degraded performance

In a858fa9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1012 ms

Resolved: Bofrost.be performance has improved in 392da3d after 6 minutes.


turso-cli: 0.80.0 -> 0.81.0

Description of changes
change log: https://github.com/tursodatabase/turso-cli/releases/tag/v0.81.0
diff: https://github.com/tursodatabase/turso-cli/compare/v0.80.0...v0.81.0

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

turso-cli


[BUG] Text object is styled different than  markup text

Describe the bug
First of all, very nice library, keep up good job!
I'm trying to convert all my code to use rich, but I hav a table that I can't style it properly. This is the code:
from rich.console import Console
from rich.table import Table
from rich.text import Text

console = Console()

table = Table()
table.add_column('Column1', justify='center')
table.add_row(Text('BAD', style='white on red'))
table.add_row('[white on red]GOOD[/white on red]')
table.add_row('Row', style='white on red')

console.print(table)

To Reproduce
This is how it looks. Notice that in the first row, the style is applied to the entire "cell" whereas in the second row the style is only applied to the text, leaving the padding as is :

This is how I would like it to show:

I would rather use Text over markup because that way the code seems more readable.
Is this a bug or I'm supposed to use markup inside a table?
Thanks!
Platform
Linux with Putty

The style attribute on a Text instance is used when the text is justified (as you have observed). I guess what you want is for the style to apply to the first few characters, which is what happens when console markup is rendered.
Here's one way to do that:
table.add_row(Text.assemble(("GOOD", "white on red")))

It's perhaps a little verbose. I could be tempted to add the following shortcut...
table.add_row(Text.styled("GOOD", "white on red"))

Here's one way to do that:
table.add_row(Text.assemble(("GOOD", "white on red")))

Mmm, yeah, too verbose for my taste.

It's perhaps a little verbose. I could be tempted to add the following shortcut...
table.add_row(Text.styled("GOOD", "white on red"))

That would be super, this is much better !
Thanks!

You're in luck. I was about to release a new version and I squeezed in Text.styled (in 3.4.0).

Give 3.4.0 a try :)


feat: mark unread as at mark and brightness indicator for freshness of messages

Types of changes

[ ] Bug fixes

resolves #

[ ] Features

resolves #

[ ] Maintenance
[ ] Documentation

Changes

...

Additional context
Community note

Please upvote with reacting as :+1: to express your agreement.

You can find very recent changes quickly like following.


Beans UI doesn't work properly for Kamelet local beans

Describe the Bug
Beans UI doesn't work properly for Kamelet local beans. The root cause would be that the Kamelet local beans are placed under flows[0].metadata, as opposed to the Camel Route which has beans as a topmost metadata in FlowsWrapper.metadata. But the behavior is broken beyond that.
If you click Add beans button in Beans UI, the 2nd Kamelet CRD is added with --- separator. It should never display multiple Kamelet CRD since we don't support switching between multiple context, i.e. Kamelet1 beans and Kamelet2 beans are completely separate and not visible each other, thus Beans UI has to switch the context.

Steps to Reproduce the Bug or Issue

Choose Kamelet in New Route dropdown
Open Beans UI
Click Add beans button

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

This would be partly caused by https://github.com/KaotoIO/kaoto-backend/issues/717


List addPipelineData: true/false as an input

[Enter feedback here]
addPipelineData is missing from the listed inputs. If you create the task in the UI and check the YAML it is possible to determine that addPipelineData is an accepted input with possible values of true and false and a default of true.

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

ID: 0d9dbf88-7e55-d427-145e-d36b04fb197f
Version Independent ID: a3f30c00-817c-9c05-7a57-3f2bf618821e
Content: Docker task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/docker.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

Pushed a fix for this. @msebolt We can close this.


Update gwt-jackson to latest (0.14.2)

Keep in sync jackson dependencies to 2.8.4

@freddyboucher thanks. try to cut a release these days.

@mkristian
Ok I'm working on a fix when using @Consumes(MediaType.APPLICATION_FORM_URLENCODED),
I will rush to submit the patch.

@freddyboucher no rush - I am not so fast any ways and happily wait for your @Consumes patch


Implement eventDetails command

This command is to show all the smaller details not normally displayed in the event panel.

To be done after hiding of details of events is done.


Redesign using React and Redux

Closes #145
Closes #68

Codecov Report

Merging #146 (0aeab21) into master (80ddd31) will decrease coverage by 85.44%.
The diff coverage is 0.60%.

@@            Coverage Diff             @@
##           master    #146       +/-   ##
==========================================
- Coverage   86.04%   0.60%   -85.45%
==========================================
  Files           5      45       +40
  Lines          86    1000      +914
  Branches        0     146      +146
==========================================
- Hits           74       6       -68
- Misses         12     868      +856
- Partials        0     126      +126

Impacted Files
Coverage Δ

oereb_client/static/src/api/egrid.js
0.00% <0.00%> (ø)

oereb_client/static/src/api/extract.js
0.00% <0.00%> (ø)

oereb_client/static/src/api/search.js
0.00% <0.00%> (ø)

oereb_client/static/src/component/app/app.js
0.00% <0.00%> (ø)

...component/availability_layer/availability_layer.js
0.00% <0.00%> (ø)

...b_client/static/src/component/category/category.js
0.00% <0.00%> (ø)

...c/src/component/complete_legend/complete_legend.js
0.00% <0.00%> (ø)

...client/static/src/component/documents/documents.js
0.00% <0.00%> (ø)

...c/src/component/external_viewer/external_viewer.js
0.00% <0.00%> (ø)

...reb_client/static/src/component/extract/extract.js
0.00% <0.00%> (ø)

... and 81 more

Continue to review full report at Codecov.

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


Encryption of access token and refresh token uses half the expected key and iv size

Summary
The access token and refresh token for orgs connected to sfdx are encrypted using AES-256-GCM ( see https://github.com/forcedotcom/sfdx-core/blob/453b8860c16991796252f05a3c933dee1e9d7e3b/src/crypto/crypto.ts#L24 ), which uses a 256 bit key, and a 96 bit iv.
However, if you look at the encryption key in ~/.sfdx/key.json, you will see that it is 32 hex characters. Each hex character is 4 bits, so they key is 32 * 4 = 128 bits. Additionally, sfdx generates 6 random bytes for the iv ( see https://github.com/forcedotcom/sfdx-core/blob/453b8860c16991796252f05a3c933dee1e9d7e3b/src/crypto/crypto.ts#L23 ), which is 6 * 8 = 48 bits.
The key and iv are actually being passed to the Node cryptographic APIs as hex strings, and since those hex strings use 2 bytes of hex to represent 1 actual byte, we get a 256 bit key containing only 128 bits of randomness, and a 96 bit iv containing only 48 bits of randomness.
Steps To Reproduce:
Open ~/.sfdx/key.json and see that the key is only 32 hex characters (128 bits).
Expected result
The access token and refresh token are encrypted with a key containing 256 bits of randomness and an iv containing 96 bits of randomness.
Actual result
The access token and refresh token are encrypted with a key containing 128 bits of randomness and an iv containing 48 bits of randomness.
System Information

Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.)

powershell 7

If you are using sfdx

Run sfdx version --verbose --json

If you are using sf

Run sf version --verbose --json

sfdx-cli/7.180.0 win32-x64 node-v18.12.1

Hey, we've got the work for this completed for this week's release (it's in RC right now): https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_enable_256_bit_encryption.htm
It's a breaking change to existing auth, so we're making it opt-in for existing installations of the CLI.


Blog post link is incorrectly rendered as file:// protocol

I subscribed to this feed (pretty popular at the moment):
https://blog.jacopo.io/en/post/index.xml

When I want to open the article by clicking on the title, nothing happens.
When I select context-click + Open In Browser, I get a message with finder icon "The App can't be opened. -50".
Inspecting the XML feed with curl reveals the feed is using relative URLs:
<item>
  <title>Reverse engineering Trenitalia's mobile application</title>
  <link>/en/post/trenitalia-reverse-engineering/</link>
  <pubDate>Mon, 24 Sep 2018 00:00:00 +0000</pubDate>

  <guid>/en/post/trenitalia-reverse-engineering/</guid>
  <description>
Trenitalia ha da poco rilasciato la nuova versione della sua app per iOS e Android. Avendo già avuto a che fare con i meravigliosi sistemi informatici delle Ferrovie dello Stato per lo sviluppo di TrenItBot e per altri progetti, una sbirciata anche qui non poteva mancare.
</description>

</item>

I think the links should resolve to the following (combining feed URL + article URL).
https://blog.jacopo.io/en/post/trenitalia-reverse-engineering/

I'm using NetNewsWire Version 5.1.3 (3018) on macOS 10.15.7 (19H15).
Feed is added to "On My Mac" account.

Oops, sorry, it appears the original RSS was the cause of this after all. I'll inform the webmaster.


Change How Maven Cache is Cleaned

Description
Changes how the Maven cache is cleaned before the DevOps pipeline cache retains it. Before everything in /com/azure and /com/microsoft/azure would be deleted to ensure a safe state for each build. This was a bit excessive on what was removed as many of these artifacts were downloaded from Maven central and not built locally, and only the versions built locally must be removed. Now there is more logic in the Maven cache cleaning to use Maven metadata files stored in the Maven cache to determine which versions were built locally vs downloaded from Maven central. This should reduce the number of artifacts that need to be download on each CI run and reduce transitive errors that occur when resolving against Maven central.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run java - spring


ISSUE-201 Add conversion to Flow

Add conversion to Flow
Add :Any to all generics
fix for https://github.com/Litote/kmongo/issues/201

Merged. Thank you!


Still account balance issues ? Stronghold backup issues wrong balances

Issue description
Created profile 1 with 5 accounts, created profile 2 with 2 accounts, created profile 3 as a clone of profile 1 - using the stronghold file that was created in profile creation of profile 1
After setup the cloned profile accounts and balances get loaded in, but only 4 of 5 accounts show up and the balance are incorrect. The original profile shows 31 Mi in 5 accounts, the cloned one shows 38 Mi in 4 accounts.

https://user-images.githubusercontent.com/77154511/114259541-3e8ced00-9a01-11eb-9c4a-11fafecc59b3.mp4
https://user-images.githubusercontent.com/77154511/114259625-e4405c00-9a01-11eb-9684-533b9db3ab21.mp4
Waiting a few minutes and using the "resync accounts" function doesnt change things. So i logout of the cloned profile and login again. Now the balance shows the correct 31Mi as in profile 1 but still only 4 accounts. resyncing still doesnt help.

Loging out again.
Now closing and restarting the app brings:
Original profile has 5 accounts, but the balance is now 7 Mi
Cloned profile still has 4 accounts with 31 Mi
resyncing doesnt help.

Wallet version
Firefly v0.4.0
Language: en
Currency: USD
Node settings: Automatic node selection
Platform: win32
Platform Version: 10.0.19041
Platform Architecture: x64
Is it a repeatable issue?
yes,
did the same clone with the second created profile
original profile has 2 accounts and 10 Mi (5/5 split)
cloned profile from stronghold backup has 1 Account with 0Mi

Steps To reproduce the issue
create a profile, receive funds from faucet, create several accounts, logout
create a new profile, choose "import existing wallet - import from stronghold backup, use the file saved during setup of first profile
Expected behaviour
all accounts and balances should be syncronised
Actual behaviour
missmatch in balance and account amount / balances
Errors
complete error log since firefly setup:
Sat, 10 Apr 2021 05:22:14 GMT
ClientError: {}
Sat, 10 Apr 2021 05:21:20 GMT
ClientError: {}
Sat, 10 Apr 2021 05:21:01 GMT
ClientError: {}
Sat, 10 Apr 2021 05:17:39 GMT
ClientError: {}
Sat, 10 Apr 2021 05:14:33 GMT
ClientError: {}
Sat, 10 Apr 2021 05:04:36 GMT
ClientError: {}
Sat, 10 Apr 2021 05:02:42 GMT
ClientError: error sending request for url (https://api.hornet-2.testnet.chrysalis2.com/api/v1/addresses/atoi1qr2yj7ctcucv2xummazqgsyva4fcm2asgahd62vtxgflgah7lh59xe5j5g9/outputs?include-spent=true): error trying to connect: dns error: No such host is known. (os error 11001)
Sat, 10 Apr 2021 05:01:56 GMT
ClientError: error sending request for url (https://api.hornet-2.testnet.chrysalis2.com/api/v1/info): operation timed out
Sat, 10 Apr 2021 05:00:42 GMT
ClientError: error sending request for url (https://api.hornet-2.testnet.chrysalis2.com/api/v1/addresses/atoi1qr6e694melv56m2sp8djmvgtuy5n6q0x4jtcy5a06dn2c6u9dp69s7qxt7l/outputs?include-spent=true): operation timed out
Sat, 10 Apr 2021 04:59:58 GMT
ClientError: {}
Sat, 10 Apr 2021 04:59:05 GMT
ClientError: {}
Sat, 10 Apr 2021 04:54:43 GMT
ClientError: {}
Sat, 10 Apr 2021 04:45:52 GMT
ClientError: {}
Sat, 10 Apr 2021 03:53:31 GMT
ClientError: error sending request for url (https://api.hornet-0.testnet.chrysalis2.com/api/v1/addresses/atoi1qrskhcqjttj68nqx8g45fleun3jd5ja69fr3wxzu50suvsdrjddjgf7kylu/outputs?include-spent=true): operation timed out
console errors1.txt

edit - after around 15 Minutes i logged into account 1 again - shows now the correct amount of 31 Mi in 5 accounts again

while the cloned profile has still only 4 accounts

so, did backups from the current state of the the profile:
5 Accounts, 31 Mi balance
Deleted App and roaming folder, fresh install of firefly,
created 3 Profiles with the different backups i have:

Stronghold from initial account setup:

menoric words

stronghold from last wallet state with 5 accounts:


Export-Excel Multiple Worksheets

Hello!
I either don't know how to do this, or well IDK lol. I am importing multiple excel workbooks that have multiple worksheets (I can import them successfully) (example either importing multiple spreadsheets into one array with or without "-worksheet * -Raw). But when I export it to an excel spreadsheet I can't export the tabs/worksheets. I have tried to find anything about this but I haven't been successful.

Yes, that reads all the sheets into a single array. Use $data = Import-Excel .\test.xlsx -WorksheetName *. That returns a hashtable, each key/value pair is the name of the sheet and the data.
You then need to loop through the hashtable and use Export-Excel to output the data to the sheet and use the key for the name of the worksheet.

I export each sheet one at a time (separate executions of Export-Excel), to the same file.  And if you use the Excel Package method, then you have to use -PassThrough on Export-Excel, or it will close the ExcelPackage.

@msftrncs This may be a simpler way to do it:
$data = ConvertFrom-Csv @"
Region,State,Units,Price
West,Texas,927,923.71
North,Tennessee,466,770.67
East,Florida,520,458.68
East,Maine,828,661.24
West,Virginia,465,053.58
North,Missouri,436,235.67
South,Kansas,214,992.47
North,North Dakota,789,640.72
South,Delaware,712,508.55
"@

$xlfile = ".\data.xlsx"
Remove-Item $xlfile -ErrorAction SilentlyContinue

$data | Export-Excel $xlfile -WorksheetName Sheet1 -AutoSize
$data | Export-Excel $xlfile -WorksheetName Sheet2 -AutoSize
$data | Export-Excel $xlfile -WorksheetName Sheet3 -AutoSize
$data | Export-Excel $xlfile -WorksheetName Sheet4 -AutoSize

$ImportedData = Import-Excel $xlfile -WorksheetName * -Raw

$ImportedData | Export-Csv -Path .\data.csv


Function Compute - code from directory in the local filesystem

It would be great to have opportunity to point to local file system directory for Function Compute location.
For example in CDK it looks like:
new lambda.Function(this, 'MyLambda', {
  code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
  handler: 'index.main',
  runtime: lambda.Runtime.PYTHON_3_6,
});

source: https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-readme.html#handler-code

We have received suggestions, and are considering about this feature.

We've added this feature in 1.0.27 and later. Use it as follows:
const fcFunction = new fc.Function(this, `FCFunction`, {
    functionName: `ros-cdk-oss-deployment`,
    serviceName: `test-service`,
    runtime: 'python3.10',
    handler: 'index.handler',
});

fcFunction.codeFromAsset('./code.zip');


[Feature]: Modular CSS is not detected by Intellisense

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.7.4
OS Version: WSL: Ubuntu-18.04

Steps to Reproduce:

Create a TypeScript file and a test.module.scss file
Try import the css as import styles from 'test.module.scss'

You don't need it, but here's a basic example of Modular CSS usage:
import styles from './AppHeader.module.scss'

export default function AppHeader() {
  return

}

The biggest annoyance is when Intellisense gets confused and tries to use one of the suggested things instead so you have to write it all out again.

Closing. I setup a new laptop due to a career move and I noticed the enhancement suggested here in-use. Perhaps there has been an update or that laptop's configuration was changed somehow. Either way, I don't think this needs resources at the moment.
The only noticeable difference is the new system is MacOS, not Windows WSL. Perhaps that will be relevant/helpful if it does need investigating in future.


Russian locale: capitalized first cahracters in names, fix #2569

Russian locale: capitalized first cahracters in names
fixes: #2569

@Oire what do you think?

Link to document with proof: http://lh.2xlibre.net/locale/ru_RU/

Merged in 7592c8d046c3e9703444d193482b547e63b3661a

Thanks!


[PE-D][Tester B] Long Input for name is not visible for the end

Screenshot 2024-11-08 at 5.15.02 PM
Very long input for name become non visible and have no other ways to view it

Labels: severity.VeryLow type.FeatureFlaw
original: JoanneHing/ped#8

ignore


Bottom Padding

I pulled in the MaterialCalendarView and there appears to be a ton of padding on the bottom (about the size of a tile height). Is there an easy way to get rid of that?

There are some months (like August 2015) that take up 6 rows because of where the first day of the month lands. And we use a ViewPager, which is really hard to resize dynamically because it keeps multiple months in it at the same time. This mean the view needs to reserve space for all 6 rows, even if the current month doesn't need them.
I'm not saying this will never get fixed, it's just a hard problem to solve since we need to account for a rather common occurrence.
In the mean time, a way you could fill up the space is to enable showOtherDates. This will display the next and previous month's dates. Be advised that showOtherDates will change to flags in the upcoming 1.0 release (see #88 #126).

Thanks for the quick response.  That makes a lot more sense now, I didn't notice that. Is there a way to change the color of the text outside of the current month? I can't find anything in the documentation.  I think it would help confusion when you see the day 1 again in the view.

There is new documentation in PR #135. You can look here for now. It will eventually live in /docs/CUSTOMIZATION.md

Sorry, you probably want CUSTOM_SELECTORS.md. You're looking to change the disabled text color.


Develop a convention to implement routing

[x] Implement Basic Routing Convention that will allow for custom layouts per route
[ ] Address data loading per routes
[ ] Address public vs [future] authenticated routes

Continuing to work on this effort as I work through prototyping the investigations directory/detail pages.

Closing this ticket, if further changes are needed to the routing, we can address them in new tickets, but the routing we have at the moment is fulfilling our needs.


nixos: use pythonPackages.pybind11 instead of pybind11

The top level pybind11 package was removed from nixpkgs because the package needs to be built against a specific Python version.

https://search.nixos.org/packages?channel=22.05&show=python39Packages.pybind11&from=0&size=50&sort=relevance&type=packages&query=pybind11


Client package fix in debian based OS

The package nfs-utils does not exists in Debian 9.4. All clients programs are in nfs-common.

Thanks @mioux    Confirmed for ubuntu and debian


openscad: move templates to Resources on darwin

Motivation for this change
Closes #132500
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132552 run on x86_64-darwin 1

1 package built:

openscad


Add docs for external-push scaler

Signed-off-by: Ahmed ElSayed<EMAIL_ADDRESS>

Yes, I'll put something together for that

@ahmelsayed any updated on the guidance doc pls?

Bump @ahmelsayed

Sorry about the delay, I'll get it done this week.

@tomkerkhove I added this guide. I tried to add a tabs shortcode like this one but using aplinejs instead of jquery, but after few hours I couldn't get it to work, so I just repurposed the component for FAQ. If someone knows alpinejs and hugo better than me, it would be nice to have the different languages in tabs rather than collapsible components, I think
https://deploy-preview-193--keda.netlify.app/docs/2.0/concepts/external-scalers/

I'll open other PRs for porting the guide to 1.5 and 1.4


Owls don't ever hoot

Issue Description:
Owls don't hoot regardless of the config settings of their volume or hoot interval. This happens regardless of the time of day. However, if you do the /playsound enderio:owl.hootsingle or enderio:owl.hootdouble command, it does play the sound in-game. So, the sound is definitely registered. Just the entity won't play it by itself. Also, Owls do play their hurt noise naturally.
What happens:
Owl's don't ever hoot.
What you expected to happen:
Owls to hoot at night.
Steps to reproduce:

Spawn owls (it happens with any amount)
Wait or set the time to night
Owls won't hoot

Affected Versions (Do not use "latest"):
-EnderIOZoo: 1.12.2-5.1.55

EnderIO: 1.12.2-5.1.55
EnderCore: 1.12.2-0.5.73
Minecraft: 1.12.2
Forge: <IP_ADDRESS>47
SpongeForge? No
Optifine? No
Single Player and/or Server? Happens in both. However, the log file is from Single Player.

Your most recent log file where the issue was present:
https://pastebin.com/Hdc5vyHv

this known bug reported already in discord lol


Steamweb unhandled exception 503: server unavailable

steambot seems to be unable to connect to steam in the current version, bringing up error 503: server unavailable in SteamWeb.cs on line 141 whenever the bot is launched

Could you please leave the full error code? There should be more to it than line 141. (Seeing as SteamWeb is just a class for performing HTTP Requests).

(Replaced file path with -path-)
System.Net.WebException   HResult=0x80131509   Message=The remote server returned an error: (503) Server Unavailable.   Source=System   StackTrace:    at System.Net.HttpWebRequest.GetResponse()    at SteamTrade.SteamWeb.Request(String url, String method, NameValueCollection data, Boolean ajax, String referer, Boolean fetchError) in -path-\SteamTrade\SteamWeb.cs:line 141    at SteamTrade.SteamWeb.Fetch(String url, String method, NameValueCollection data, Boolean ajax, String referer, Boolean fetchError) in -path-\SteamTrade\SteamWeb.cs:line 70    at SteamTrade.Inventory.FetchInventory(UInt64 steamId, String apiKey, SteamWeb steamWeb) in -path-\SteamTrade\Inventory.cs:line 25    at SteamBot.UserHandler.<GetOtherInventory>b__15_0() in -path-\SteamBot\UserHandler.cs:line 72    at System.Threading.Tasks.Task 1.InnerInvoke()    at System.Threading.Tasks.Task.Execute()
My fix was wrapping a try block around it which the return statement below it had but not this one (Line 141 SteamWeb.cs)
try                 {                     return request.GetResponse() as HttpWebResponse;                 }                 catch (WebException ex)                 {                     if (fetchError)                     {                         var resp = ex.Response as HttpWebResponse;                         if (resp != null)                         {                             return resp;                         }                     }                     throw;                 }


Add Bridged Device Basic information and Fixed Label clusters for bridge support

Problem
Bridge support requires the following mandatory clusters:

Bridged Device Basic
Fixed Label

Change overview

Added templates for Bridged Device Basic and Fixed Label clusters.
Add new clusters to .zap's for:

all-clusters example
chip-tool
controller-clusters
python controller
darwin controller

Testing

Manually tested reading/writing new clusters using chip-tool and all-clusters-app (both on Linux platform)

Notes:
Part of issue #1874
zap-generated files to be pushed separately
Replaces #6934

@woody-apple Do I need to wait for more reviewers before adding the generated files to this PR?

Would be good to have @andy31415 or @mspang or @jmartinez-silabs or @Damian-Nordic review.
You could also just add it as a separate commit; reviewing should still be easy enough....

You could also just add it as a separate commit; reviewing should still be easy enough....

@bzbarsky-apple will a new commit (with the generated files) erase the 'review-approved' tag?

@bzbarsky-apple will a new commit (with the generated files) erase the 'review-approved' tag?

No, it will not.  Unfortunately (but fortunately in this case, I guess), arbitrary changes to the PR after review has been granted don't reset the review state.

To be clear, I meant add another commit on the branch that this is developed on and then push that branch, so the PR consists of two commits.


Edit machine-learning-r-csharp-web-service-examples.md

Edit complete.
In the figure, capitalization is inconsistent (a mix of sentence case and title case), and there's an instance of "Azure ML" (which we've been told to spell out as "Azure Machine Learning" or "Machine Learning").

Hi @ShawnJackson, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


checkhealth

whip: require("whip.health").check()

WARNING vim.health.report_ok() is deprecated, use vim.health.ok() instead. :help |deprecated|
Feature will be removed in Nvim 0.11

@panv-00 thanks so much for the bug report :)


[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
fixx it
Bloxstrap Log
N/ASystem.AggregateException: One or more errors occurred. (The given key 'redist.zip' was not present in the dictionary.)

[Inner Exception]
System.Collections.Generic.KeyNotFoundException: The given key 'redist.zip' was not present in the dictionary.

pliss fix this bug

WE won't fix this.
Infact, YOU'LL fix this.
Just update to 2.8.0

omg so helpfull11111!!!!!11!

close this NOW!

omg so helpfull11111!!!!!11!

It is.

Update to 2.8.0


API Information

I am trying to use $sails.get and was wondering where the API was documented.
I want to pass some information in the request.

+1

1.x is a wrapper for the sails.io client and as noted in the read me you can refer to the sails socket documention for the API.  That documentation at least indicates what methods are available.  1.x wraps it so that you don't have to do all of the $apply() stuff and also provides a promise instead of accepting a callback.
2.x is a implementation of angular's $http that uses sockets to communicate with sails.  You can refer to the angular $http documentation for methods (this is noted in the 2.x readme).  Anything you can do with $http you can do with $sails in 2.x. If you can't do something that $http can do, file a defect.
Yeah, angular-sails should have it's own documentation rather than just referring to others in the readme...

Thanks Evan, I'll bare that in mind. If I find some time I'll submit a pull request with some more detailed updated docs.


Getting many issues in RN version 0.60.4, BackgroundGeolocation.stop(); not working and location tracking dropping every now and then.

Your Environment

Plugin version: 0.5.3
Platform: Android
OS version: 9
Device manufacturer and model: oneplus 3

Running in Simulator:
React Native version: 0.60.4
Plugin configuration options:
Link to your project:

Context
actually i need to start the background location and record the location an send it to api every 5 minutes and then stop it in my command but after I start it sends the location but after sending location for few times it drops, and also after i stop it it doesn't stop as i still get background tracking enabled notification. The same code was working fine in RN version 0.57 earlier.
Expected Behavior
send location to the api every 5 minutes as my time and shouldnt drop after some time. Also BackgroundGeolocation.stop(); should work.
Actual Behavior
after I start it sends the location but after sending location for few times it drops, and also after i stop it it doesn't stop as i still get background tracking enabled notification. The same code was working fine in RN version 0.57 earlier.
Possible Fix

Steps to Reproduce

Context

Debug logs

solved by changing  buildToolsVersion

What version did you change it to?


Changelog fixes

Remove incorrect reference to tty-spinner in changelog
Brendon, not Bendon

Fixes #29

Coverage increased (+0.02%) to 96.939% when pulling 357f04a34b0f83298fde3645a0d70bbb5d9dffac on brendon:fixes into f3726133843bf01f4ba29f357349ab91fd56de46 on piotrmurach:master.


-insecure flag

Some repositorys dont use https, they only works for http so if we have a -insecure flag that will be nice

Which repository specifically? I’d prefer to see this fixed upstream. Setting up https is free and really simple these days with letsencrypt.org. Having an insecure way for software to make its way into Debian is not something I’d want to encourage.

When i said "some repositories" I mean self hosted gitlab or similar softwares running inside of intranet.
Currently we run gitlab as self hosted in our intranet and i am sure there is another companies too.
We try to make our package for our distribution from our self hosted git repos.
However, you'r right, any of insecure flag can not be encouraging in any part of OS distribution.

Thanks for clarifying. I feel that even for self-hosted solutions it makes sense to secure them behind TLS. If that’s not an option for whatever reason, perhaps carrying a patch for dh-make-golang in your intranet makes the most sense.


LaTeX output requires amsmath?

I'm not sure if this is an issue but the latex would not compile unless I imported the package amsmath due to the use of the control sequence \text. Is the \text necessary?

https://texfaq.org/FAQ-mathstext
I don't think requiring amsmath is onerous (it's pretty standard), and it seems that \text is the best solution.  I'm going to close unless someone really objects and has a better solution.


enable precompilation

Commented out in https://github.com/JuliaLang/JuliaParser.jl/commit/61ed9a5e6cb206179febd36a59d574e743877857.
Seems like this package should be fine to precompile so was it just a mistake to comment it out @Keno?

Hmm, there is some runtime definition of constants, esp in the Lexer.  I don't know how this interacts with precompilation but I would expect any sane precompilation model to not include side effects.

But these are normal Julia constants so should be fine, no?

Constants involving most Julia objects that are not produced by ccall do not need to be placed in init: their definitions can be precompiled and loaded from the cached module image. This includes complicated heap-allocated objects like arrays. However, any routine that returns a raw pointer value must be called at runtime for precompilation to work (Ptr objects will turn into null pointers unless they are hidden inside an isbits object). This includes the return values of the Julia functions cfunction and pointer.

Hmm, seems to be.  I suspect that loading the (un)precompiled module was faster for development than having precompilation run when a change was made.

That was might thought as well.

21 seconds -> 1.5 seconds load time.

21 seconds is really bad this package is not even that big 😦   Maybe time to invest in a new laptop?  It takes a 0.25 seconds to load the library for me once it is precompiled.

Running through a VM so maybe that's why...


My first branch

I created my first brach, added a file and made a pull request

I created my first brach, added a file, and made a pull request.
Comment 2


Update d3dcompile-constants.md

This page was just a dump of the header comments so it wasn't particularly informative. This PR updates the formatting, cross-references with the legacy D3DX shader flags, add a few missing flags, and communicates the Shader Model 5.1 FXC deprecation message.

@walbourn : Thanks for your contribution! The author(s) have been notified to review your proposed change.


feat(profiling): Add thread data to spans

As per getsentry/rfcs#75 getsentry/rfc#75, this adds the thread data to the spans. This will be needed for the continuous profiling mode in #2830.

Looks ok.
This somewhat weakens our tests, but after talking with the other Python people and also confirmed with Ingest that if there is an onknown value in span data it is just stored anyhow. I think this is fine.

👍 I'm not sure there's a stronger test we can add here as the thread ids are unstable. The only alternative I can think of is to mock it in each place which seems worse because now every test is concerned about mocking the thread id data appropriately to pass. Which is why I opted for each test to just assert that the relevant properties are added to the span data.


I want to pass a directory or wildcard to the -o flag

We keep all the ops files for a given environment in the same directory. In order to generate a manifest I currently have to provide an -o flag for each one. I want to provide and -o flag once with a path to this directory.

If you need all the patches all the time can all the patches go into a single file?

From: Shannon Coen<EMAIL_ADDRESS>Sent: Tuesday, August 8, 2017 10:28:15 AM
To: cloudfoundry/bosh-cli
Cc: Subscribed
Subject: [cloudfoundry/bosh-cli] I want to pass a directory or wildcard to the -o flag (#287)
We keep all the ops files for a given environment in the same directory. In order to generate a manifest I currently have to provide an -o flag for each one. I want to provide and -o flag once with a path to this directory.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/cloudfoundry/bosh-cli/issues/287, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAAAbI2jsjMhh7W6K3AcSPhh1rw0hb3Bks5sV6ufgaJpZM4OwGlz.

The team finds it easier to manage separate ops files for different features. Not all environments have the same features deployed.

@shalako so you're ok with explicit -o this-feature.yml -o and-this-one.yml to pick out the ones you want?

+1 on the wildcard request.
Some teams manage separate ops files for each feature, which allows better organization and readability. However, if you manage many ops files, the CLI arguments can become hard to read and manage as well. A wildcard can be extremely useful.

One challenge might be that the order in which ops files are processed can result in different results. e.g. if 2 ops files replace the same field with different values, then the order in which they are processed matters.
It's not clear to me that there's a obvious deterministic order in which wildcard filename matching should be done...

By the way, I think some shells (e.g. bash) can do this for you, and I think define the order as alphabetical, e.g.:
#!/bin/bash

bosh deploy -o <(cat ops/*.yml) ...

I agree that a "wilcarded" execution list order can be confusing, but since the philosophy behind many BOSH features is driven by "convention over configuration", an alphabetical ascending order could be defined for the ops file list. With the adequate documentation, I believe it should be clear enough.

As I don't expect the ops files we use to modify the same properties, I don't care about order. If they do overlap, I expect to have to troubleshoot.
@drnic No I'm not ok with picking out the ones I want. Each of our environments has a directory containing ops files. I just want to refer to the directory. Support for directories and wildcards is one reason why, as a consumer of a release, manifest generation scripts are still easier to use.

Not trying to legitimately resuscitate, but I came across this issue & figured I'd share some similar ideas:
I'm a fan of helmfile, which is a tool to declaratively define/control multiple helm charts. You can pass in a directory containing helmfile manifests and it'll apply them in lexigraphical order. Like what ctaymor said above, in order to get ordering, you just prepend the files with 00-foo.yml, 01, etc.
Alternatively, kubectl apply --kustomize <directory>/ does something kind of similar, but it looks for a kustomization.yml file in the directory which defines ordering and other things... Not quite the same situation as ops-files in a directory, but an interesting implementation. Especially if something similar to this bosh-init issue were to come to fruition. There might be some interesting ideas from --kustomize to borrow.

Anyway, the point is, there are examples of other tools doing something similar to this idea.


Please invite me to the community

Name
Ethan Tan
Additional Context
I specialize in blockchain development and website creation for businesses and individuals. I bring advanced skills to blockchain development, including expertise in smart contract creation, decentralized application (dApp) development, and blockchain architecture design. My experience spans various blockchain platforms such as Ethereum, Hyperledger, and Binance Smart Chain. Additionally, I possess a deep understanding of cryptographic principles, consensus algorithms, and security best practices in blockchain technology.
I am very interested in this project's development and believe it has great potential. I would like to contribute to its growth with my extensive experience and knowledge. If anyone has information on how I can join the development team and participate in this project, please let me know. Thank you.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈


Angular 18 issue with project setup

Hi i have an issue with configuration of the project.
Will need components that works in standalone mode.
also i have a lot of errors like 'ibm-modal' is not a known element:...
Tnx

Hi @gorgiivanov, what issues are you running into? Have you imported ModalModule?
Have you looked at our Angular 18 integration test?

Going to close this issue due to inactivity. Feel free to comment/reopen if you're still running into any issues!


Hatch eggs bug fix

Fixed this error:
File "/app/pokemongo_bot/cell_workers/incubate_eggs_worker.py", line 134, in _hatch_eggs
for pokemon in pokemon_data:
UnboundLocalError: local variable 'pokemon_data' referenced before assignment

PR with fix is already in #1777

@reddivision ok, sorry, haven't found it with search.


Option to show name of the LSP in code actions

This is useful if you have many active LSPs. Won't be useful for everyone though which is why i've set it to be disabled by default.

Good point :smile: . Fixed now.

Sorry about the wrong formatting. I ran stylua now to fix it.


Destruction of type number

The following code crashes in JSONValue destructor ("CRT detected that the application wrote to memory after end of heap buffer" exception thrown).
Seems that number_value should be pointer to double and thus deleted in destructor.
void example2()
{
JSONObject root;
// Adding a string
root[L"test_string"] = new JSONValue(1.0); //or new JSONValue(1);

    // Create a value
JSONValue *value = new JSONValue(root);

// Print it
print_out(value->Stringify().c_str());

// Clean up
delete value;

}

What environment is this in? I've tried out the above code on a CentOS 6.8 box and it worked fine with no crashes.

The environment I tried out was Windows 8

I'm new to github.com, so I may be missing something, but it looks like this issue is still open?  I'm running into the same issue, although it may not be with type Number or with just type Number; my current crash (unhandled exception) is in ~JSONValue() line 468 (which is for type == JSONType_Object), although I've had more unhandled exceptions in various places within the JSONValue code.  I just noticed that there is no destructor code for type == type == JSONType_Number.
If you've made change to correct this, but haven't check them in, please let me know.  I'm going to try u44anno's simple code to see if I can reproduce it on my environment (Window 7 Service Pack 1 and Visual Studio 2008).

@curtrp No changes have been made as I can't reproduce it. Can you upload/attach a sample VS2008 project that is crashing and I'll take a look.

You can close this bugreport. There is no crash.  I tested it.
This bug report is nonsense because the destructor does nothing if the value is a number. The destructor only deletes strings, objects and arrays. For numbers it does nothing.


Minor image cleanup

Scanner: remove yum cache
DB: remove yum cache and add reminder to update create-bundle when necessary

Closing in favor of https://github.com/stackrox/scanner/pull/705


fix(sysadvisor): fix create duplicated regions for distinct container…

…s owned to identical pod
What type of PR is this?

Bug fixes
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for your reviewer:

why don't we just store container -> region info in metacache's container-info? for instance, other metrics pipeline will also need to get this mapping relationships too cc @sun-yuliang


Take compiler flags using the option -scalac-option

This commit adds the ability for the kernel to take any number of scalac compiler flags given by --scalac-option -Xopt1 --scalac-option -Yopt2 etc.
It's not very pretty but at least it's possible to do things like enable -Ypartial-unification.

Thanks!
BTW, I added a way to run the kernel with typelevel scala to the launch script. (Set TYPELEVEL_SCALA to true and SCALA_VERSION to 2.11.8 in it for example.)

I might add a way to run a predef (like in Ammonite) in the future. Then a predef like
kernel.compiler.settings.YpartialUnification.value = true

should do for you. That could deprecate --scalac-option then.


Video Feed Enhancement/Question

Is it possible to get sound through the video Feed in lovelace?
Is it possible to expose the two way communication options with the video Feed in lovelace?
My guess is no but I've always wanted to ask.

Right now, no. The audio provided by the Vivint cameras is encoded with opus which is not natively supported by HA at this time. So the audio is already in the RTSP url, HA just can't play it yet.

Got it, thanks!

@kksligh if you add this HACS component: https://github.com/AlexxIT/WebRTC, you can create a lovelace card with the following:
type: custom:webrtc-camera
entity: camera.driveway_camera

which will pull in the video stream as well as the audio (tested and working on my instance)

Awesome! I'll give it a try
Thanks,
Kale Sligh
VP, Marketing
o<PHONE_NUMBER>
m<PHONE_NUMBER>

From: Nathan Spencer @.>
Sent: Friday, December 31, 2021 1:55:10 PM
To: natekspencer/hacs-vivint @.>
Cc: kksligh @.>; Mention @.>
Subject: Re: [natekspencer/hacs-vivint] Video Feed Enhancement/Question (Issue #33)
@kkslighhttps://github.com/kksligh if you add this HACS component: https://github.com/AlexxIT/WebRTC, you can create a lovelace card with the following:
type: custom:webrtc-camera
entity: camera.driveway_camera
which will pull in the video stream as well as the audio (tested and working on my instance)
—
Reply to this email directly, view it on GitHubhttps://github.com/natekspencer/hacs-vivint/issues/33#issuecomment-1003442829, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT3AQUZZ2I5IFV6PWX74MK3UTYDB5ANCNFSM5LBRILHA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>


Multilingual functionality

Spurtcms with the user friendly interface,should allow users to manage their content in multilingual format to reach out to international clientele.

we will take on this in feature implementation.


Row table annotation ignored

Row table annotation is ignored and a column table is created

I'm closing this as duplicated, the progress will be tracked here:

https://github.com/SAP/xsk/issues/1198


Exercise 2.2: Make a table (a list of lists) of function values - Floating point PyBryt tolerance may not be sufficient

In the exercise 2.2, I'm trying to use the following solution:
import numbers
import numpy as np
import pybryt
from lecture import pybryt_reference

v0 = 1
n = 11
g = 9.81
dt = 2. * v0 / (n - 1) / g # `dt` value is    0.020387359836901122

# Uncomment the following line so that tests can pass
# dt = 2. * v0 / g / (n - 1) # `dt` value is 0.02038735983690112

tlist = []
ylist = []

for i in range(n):
    t = dt * i
    y = v0 * t - g / 2 * t**2
    tlist.append(t)
    ylist.append(y)

displacement = [tlist, ylist]

# Begin assertion checks
assert isinstance(tlist, list)
assert isinstance(ylist, list)
assert isinstance(displacement, list)
assert np.isclose(tlist[0], 0)
assert np.isclose(tlist[-1], 0.2038735983690112)
assert np.isclose(ylist[0], 0)
assert np.isclose(ylist[-1], 0)
assert len(tlist) == len(ylist) == 11
assert all([isinstance(i, numbers.Real) for i in tlist])
assert all([isinstance(i, numbers.Real) for i in ylist])
assert all([isinstance(i, list) for i in displacement])
assert all([isinstance(i, numbers.Real) for i in displacement[0]])
assert all([isinstance(i, numbers.Real) for i in displacement[0]])
assert np.allclose(displacement[0], tlist)
assert np.allclose(displacement[1], ylist)

# Begin PyBryt Checks
with pybryt.check(pybryt_reference(2, 2)):
    tlist, ylist, displacement

However, I'm getting the following PyBryt errors:
REFERENCE: exercise-2_2
SATISFIED: False
MESSAGES:
  - SUCCESS: You generated tlist correctly. Great!
  - ERROR: Your ylist is wrong.
  - ERROR: Hmm... It seems your nested displacement list is wrong.

Changing the expression dt = 2. * v0 / (n - 1) / g to dt = 2. * v0  / g / (n - 1) solves the issue, though. This makes me consider a possible insufficient error tolerance value for the PyBryt checks.

Hi @acse-5d697a4f, thank you for raising this issue. We have investigated this issue and the error was raised due to the tolerances.
PyBryt was expecting a list whose elements are within 1e-5 relative tolerance from the reference solution, which works for most values in the list. However, the last element in ylist produced by your code was "nearly zero" -2.7755575615628914e-17 which is not within 1e-5 relative tolerance from 0. Therefore, we now introduced absolute tolerance 1e-8 to accommodate this case.
Thank you again for raising this issue.


chore: Trigger beaking change

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


Patch to allow simple_format to behave as in Rails 3

This patch allows simple_format to accept an options hash with the 'sanitize' parameter, consistent with Rails 3.
By default, the sanitize parameter will be true, and escaping will occur.  However, if you pass :sanitize => false, the string will not be sanitized during formatting.
Test case included.

welp, time to close this down :)


MVV/MVG: Two entries for Tram 27

For the line 27 in mvv-mvg-tram, it has two entries, a purple one (#903f97) that should be for line 12, and the correct orange one (#fba61c). Because the purple one is above the orange one, Träwelldroid used that one. Pls delete the wrong purple #903f97 color for 27...

You can do that by yourself if you want! Fork the repository, edit the CSV file (I think this also should be possible on the GitHub website), push a new commit and then create a pull request! :)
However if you can't do that, please reach out again and we'll be happy to help :)

I propose #134 to fix this.


doublefx's Workers does not working

.... but in intelliJ is working well.
What I missing?
I tried to add -optimize=false, because the worker is need to, but is not solve.
I include a sample project, with asconfig.json (vsc-as3) and with *.iml (intellij)
TestWorkerFeathers.zip

https://github.com/doublefx/easyWorker/tree/PureAS3

.in vscode project, there is no result, but the intelliJ project, there is
VSCode output:
Type.forName error: A class with the name 'com.doublefx.as3.thread.api.IProperty' could not be found. The class 'com.doublefx.as3.thread.api.IProperty' is probably an internal class or it may not have been compiled.
IntelliJ optput:
"/Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Volumes/Work/develop/as3/_SDK_/osx/air31-feathers4.0.0 -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath /Volumes/Work/develop/as3/_SDK_/osx/air31-feathers4.0.0/lib/fdb.jar flex.tools.debugger.cli.DebugCLI -ide
Apache fdb (Flash Player Debugger) [build 20190117]
Copyright 2013 The Apache Software Foundation. All rights reserved.
Waiting for Player to connect
/Volumes/Work/develop/as3/_SDK_/osx/air31-feathers4.0.0/bin/adl -profile extendedDesktop /Volumes/Work/develop/as3/TestWorkerFeathers/out/production/TestWorkerFeathers/app.xml /Volumes/Work/develop/as3/TestWorkerFeathers/out/production/TestWorkerFeathers
Player connected; session starting.
[trace] [Starling] Context ready. Display Driver: OpenGL (Enhanced)
[trace] Type.forName error: A class with the name 'com.doublefx.as3.thread.api.IProperty' could not be found. The class 'com.doublefx.as3.thread.api.IProperty' is probably an internal class or it may not have been compiled.
[trace] Type.forName error: A class with the name 'com.doublefx.as3.thread.api.SharableData' could not be found. The class 'com.doublefx.as3.thread.api.SharableData' is probably an internal class or it may not have been compiled.
[trace] Type.forName error: A class with the name 'com.doublefx.as3.thread.api.IDataProducer' could not be found. The class 'com.doublefx.as3.thread.api.IDataProducer' is probably an internal class or it may not have been compiled.
[trace] Type.forName error: A class with the name 'com.doublefx.as3.thread.util.AsynchronousDataManager' could not be found. The class 'com.doublefx.as3.thread.util.AsynchronousDataManager' is probably an internal class or it may not have been compiled.
[trace] Type.forName error: A class with the name 'com.doublefx.as3.thread.error.IllegalStateError' could not be found. The class 'com.doublefx.as3.thread.error.IllegalStateError' is probably an internal class or it may not have been compiled.
[trace] Type.forName error: A class with the name 'com.doublefx.as3.thread.error.UnsupportedOperationError' could not be found.  Maybe there is the optimize=false options is not prezent

I have never actually used workers, so it may be tricky for me to figure out what's going on. I'll take a look when I have some time, though.

thank you for the new verbose option, i will check too what happennig.

I determined that the SWF debugger wasn't allowing any workers to start once they were loaded. They were stuck in a paused state forever. Since I've never used workers, I was never able to test any. I updated the debugger to start them after loading, and I could successfully see the result from your worker.