Possible unnecessary output writing to stderr

Hello all,
First, here are some info might be useful.

ZMap version: 2.1.1
Ubuntu 14.04 - 4.2.0-27-generic

While I was trying to redirect the output of ZMap, I found that "progress information" output was being written to the STDERR instead of STDOUT.

Without redirection

$  sudo zmap -p 80 -B 10M -O json -i em1 -r 1000
Jun 16 11:36:13.761 [INFO] zmap: output module: json
 0:00 0%; send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.00%
 0:00 0%; send: 5 8.74 Kp/s (221 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.00%
{ "saddr": "<IP_ADDRESS>" }
{ "saddr": "<IP_ADDRESS>" }
{ "saddr": "<IP_ADDRESS>" }
 0:01 0%; send: 15527 15.5 Kp/s (15.2 Kp/s avg); recv: 1 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%

Redirecting STDOUT to blackhole

$ sudo zmap -p 80 -B 10M -O json -i em1 -r 1000 1>/dev/null
Jun 16 11:36:41.587 [INFO] zmap: output module: json
 0:00 0%; send: 0 0 p/s (0 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.00%
 0:00 0%; send: 2 3.95 Kp/s (95 p/s avg); recv: 0 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.00%
 0:01 0%; send: 15527 15.5 Kp/s (15.2 Kp/s avg); recv: 1 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%
 0:02 0%; send: 30429 14.9 Kp/s (15.1 Kp/s avg); recv: 2 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%
 0:03 0%; send: 45312 14.9 Kp/s (15.0 Kp/s avg); recv: 3 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%
 0:04 0%; send: 60194 14.9 Kp/s (15.0 Kp/s avg); recv: 4 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%
 0:05 0% (2d20h left); send: 75077 14.9 Kp/s (14.9 Kp/s avg); recv: 5 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%
 0:06 0% (2d20h left); send: 89959 14.9 Kp/s (14.9 Kp/s avg); recv: 5 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%
 0:07 0% (2d20h left); send: 104841 14.9 Kp/s (14.9 Kp/s avg); recv: 5 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.00%

Redirecting STDERR to blackhole

$ sudo zmap -p 80 -B 10M -O json -i em1 -r 1000 2>/dev/null
{ "saddr": "<IP_ADDRESS>" }
{ "saddr": "<IP_ADDRESS>" }
{ "saddr": "<IP_ADDRESS>" }
{ "saddr": "<IP_ADDRESS>" }
{ "saddr": "<IP_ADDRESS>" }

As you can see, the following output is the one written to STDERR.
 0:06 0% (2d20h left); send: 89959 14.9 Kp/s (14.9 Kp/s avg); recv: 5 0 p/s (0 p/s avg); drops: 0 p/s (0 p/s avg); hitrate: 0.01%

Later, I have looked for the code generating that output. And found it in;
Source: https://github.com/zmap/zmap/blob/cfa21eb714c34e3eaab94662bbd426ee214bffa5/src/monitor.c
Line: 269~
Is this not supposed to be redirected to STDOUT? Or am I mistaken?
Thank you.

The progress output is specifically written to stderr, so that redirecting stdout results in a valid data file. If you don't want to see progress output, pass --quiet.


Change NodeAction to use CompletableFuture instead of ActionListener

See commit messages

Codecov Report

Merging #5258 into master will decrease coverage by 0.09%.
The diff coverage is 66.1%.

@@             Coverage Diff             @@
##             master    #5258     +/-   ##
===========================================
- Coverage     82.54%   82.45%   -0.1%
+ Complexity    11042    11023     -19
===========================================
  Files          1330     1329      -1
  Lines         44968    44935     -33
  Branches       5626     5625      -1
===========================================
- Hits          37119    37051     -68
- Misses         5239     5261     +22
- Partials       2610     2623     +13

Impacted Files
Coverage Δ
Complexity Δ

...tor/transport/kill/TransportKillAllNodeAction.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...or/transport/kill/TransportKillJobsNodeAction.java
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

...e/executor/transport/TransportFetchNodeAction.java
100% <100%> (+9.52%)
3 <1> (ø)
:arrow_down:

...src/main/java/io/crate/jobs/JobContextService.java
82.35% <100%> (-2.03%)
29 <1> (ø)

...n/java/io/crate/action/job/TransportJobAction.java
100% <100%> (ø)
4 <0> (-2)
:arrow_down:

...ecutor/transport/kill/TransportKillNodeAction.java
95.23% <100%> (+13.75%)
6 <1> (ø)
:arrow_down:

...io/crate/operation/fetch/CloseContextCallback.java
71.42% <33.33%> (ø)
2 <1> (ø)
:arrow_down:

...e/executor/transport/TransportNodeStatsAction.java
88.23% <50%> (-1.24%)
3 <0> (ø)

.../distributed/TransportDistributedResultAction.java
70.31% <60.86%> (-4.69%)
7 <1> (-1)

...a/io/crate/operation/fetch/NodeFetchOperation.java
83.67% <63.63%> (ø)
14 <4> (+1)
:arrow_up:

... and 24 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 31a8c34...aa50fa7. Read the comment docs.


Debug shows types by named type ID

Allow printing of type name to value, instead of just Type ID to value.
This is more useful for humans when listing what types are in the map.

Closed by #2.


⚠  Make parameter to set_published non-optional

Technically a breaking change to the API but stops api_client.set_published() being a footgun that does nothing.

Wait until the ingester doesn't do this before deploying.

@dragon-dxw this is good to be rebased and launched 🚀


Feature/fix ard calc

Submission Checklist

[x] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
Add a seperate length scale for each dimension in the prim's exponential quadratic kernel. The calculation first takes in the vector of vectors, and divides each dimension by each length scale. This was suggested by Michael Riis Anderson.
Also uploaded docs to include formulas, better descriptions, and included the word "magnitude" for the "marginal standard deviation" which has more intersection with the GP literature.
I've done simulations to verify accuracy, with stan's docs and other GP software. Apologies, I'll do more extensive testing from this point on (more than just different datatypes).
How to Verify:
Simulations, test cases.
Side Effects:
N/A
Documentation:
Updated doxygen to include formulas and
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

this is same issue as #921 I'm going to reset and hope it hops to another machine. If I can get access to this machine I'm happy to fix the MPI config...

can some one review this please? @syclik sorry to ping you, but I think you're the guy!

Can you summarize the changes to the code? What are the new function signatures and which ones changed?

@syclik no new function signatures, I modified the ones with std::vector<T_l> length_scale, that is, where l is a vector. I just divided each dimension by each length scale, prior calculating the kernel.

Going to apply everything daniel mentioned on #867 to all of these

closing until some edits are made, not ready for review


Window won't go fullscreen when it's set to full screen (DisplayServer regression)

Godot version
4.0dev (5d55846715)
System information
Gentoo Linux kernel version 5.15.26
Issue description
I have my project set to go fullscreen but it doesn't I'm using dwm
Steps to reproduce

Use dwm
Set the project to fullscreen

Minimal reproduction project
replication.zip

Can you reproduce this on other window managers? If so, this is likely a duplicate of https://github.com/godotengine/godot/issues/54065.

I can reproduce it in qtile


Specs of scvi are quite low for the compute needs

https://github.com/openpipelines-bio/openpipeline/blob/799abda52d2e7a8973b3abaeaf57a600ecc562e7/src/integrate/scvi/config.vsh.yaml#L253

@ddemaeyer which one of the specs are low in your opinion? The cpu, the memory or both?


The error code (-202) is always returned after a failed card write.

When a card fails to write, then always the block of that card is always returned -202 in this program.
Is there any way to recover the card (e.g. initialize it)?
https://github.com/h4kbas/NfcReader/blob/master/NFCReader.cs#L125

@h4kbas
Thanks for the comment.
At first 90 00 was being returned, but at some point
At first 90 00 was returned, but at some point 63 00 was returned.
What does this mean and do you know how to work around it (e.g. initialize the block)?

I think I got an authentication error because I wrote in a block that I should not have written in, such as block 3.
I'll close it.


Automate Releases

Creating a release from the GitHub webpage should trigger GitHub Action that runs Docker build / tag / push
Instead of running the build locally then attaching zip file to release page, maybe that could be automated as well?

Since DockerHub no longer automatically keeps the README up-to-date based on GitHub repo, we may want to use canned README on DockerHub that just links to GitHub README instead of constantly fighting to try to keep it in sync.

See: https://github.com/JeffersonLab/myquery/issues/4

Fixed with https://github.com/JeffersonLab/jaws-epics2kafka/commit/d228ccf18dd6afcbe0106a60873e17bd1548ae92


Remove the tuple map enrichments

Remove or maybe move into sbt.internal.

This is under discussion now. See #3083 and what it links to.

Tuple is here to stay for sbt 1.0. Should we un-deprecate? I'm somewhat neutral on this topic.

Given that the use of tuple enrichments has differents than .value, I lean towards removing deprecated -- I don't find a reason why we should punish users with a deprecation when its use could be justified :smile:.


sockjs: WebSocketSession not yet initialized

I am having problems proxying SockJS websockets.  On the server side I am getting "WebSocketSession not yet initialized". On the client side I am getting "failed: Invalid frame header". It looks like it almost connects, but something goes wrong in handshake. Any ideas?
Here's my proxy configuration.
var gulp            = require('gulp');
var express         = require('express');
var proxyMiddleware = require('http-proxy-middleware');

gulp.task('serve', function() {
    proxy = proxyMiddleware('/go', {
        target: 'http://localhost:8080/',
        ws: true,
    });

    var app = express();
    app.use('/', express.static('./build/'));
    app.use(proxy);

    var server = app.listen(3000);
    server.on('upgrade', proxy.upgrade);
});

gulp.task('build', function(){
    gulp.src('src/**/*.*')
        .pipe(gulp.dest('./build/go/'));
});

Network tab:
General
Request URL:ws://localhost:3000/go/xxxxxxxxxx/websocket
Request Method:GET
Status Code:101 Switching Protocols

Response Headers
view source
connection:upgrade
date:Sun, 20 Mar 2016 20:59:11 GMT
sec-websocket-accept:sPIVWZeoUMNdIxL4EHnYgvBoZng=
sec-websocket-extensions:permessage-deflate;client_max_window_bits=15
server:Apache-Coyote/1.1
upgrade:websocket

If your server is virtual hosted, try it with the option: changeOrigin: true
    proxy = proxyMiddleware('/go', {
        target: 'http://localhost:8080/',
        ws: true,
        changeOrigin: true
    });

It is a local Tomcat running a java app and hosting the socket. I tried changeOrigin, that gave me:
WebSocket connection to 'ws://localhost:3000/go/xxxxxxxxx/websocket' failed: Connection closed before receiving a handshake response

Maybe you can leave out ws:true from the options or set it to ws:false, since you are explicitly upgrading with server.on('upgrade', proxy.upgrade);

I think that actually works! Thank you @chimurai

Glad to hear the solution works! :)

@elijahiuu Now that I think about it, this might be a bug...
I'll have to spend some time to investigate this.

+1  Having same problem, and seeing:
WebSocket connection to 'ws://localhost:9000/pubsub' failed: Invalid frame header

removing the line ws: true from proxy options seems to fix it.
I agree it is either a bug, or usage documentation needs to be updated.

@sashadt @elijahiuu
Think I've found the issue...
I published a beta version: v0.15.1-beta.
You can get it with: npm install<EMAIL_ADDRESS>Can you test it to confirm the fix?
Problem shouldn't occur anymore when the following are used:
// proxy config
config.ws: true

// external upgrade
server.on('upgrade', proxy.upgrade);


Validation is not run when a new model is pushed to store underscore collections, nor when it is in a buffer and called save!

When running the script with runner command like so bundle exec volt runner script.rb
Validation such as unique constraint is not run.
Example code:
https://gist.github.com/pencilcheck/3f360878d3aba8805b6d
There will be multiple google companies records created running the script multiple times.

I think this is an issue with the unique validation, not validations themselves.  I'll check it out.

I'm still seeing this issue with the unique validator in v0.9.3.pre6. I just added unique: true to the todo list video example, so I think it should be reproducible.

@chrisvfritz you added uniq: true to the label field?  Can you paste in your model?

@chrisvfritz thanks, pushed a fix to master for this.

Excellent! I'm doing a Volt demo at our Ruby meetup tonight and I'll be sure to include developer responsiveness in the list of pros. :smiley:


Use rvest::read_html()

This makes mitre compatible with the upcoming rvest 1.0.0

Thank you so much. I took the opportunity to modify some parsers that still used functions of type xml_ *


Main: Load translations and remaps before scene types

This ensures that settings like gui/theme/custom_font handle resource
remappings properly, as they load resources in register_scene_types().
Path remaps used to be done before loading scene types in early Godot
versions (as hinted by the "Load Remaps" comment just before "Load Scene
Types") but this was broken when developing new localization features.
Fixes #17640.

Cherry-picked for 3.2.4.


Test load failed!  Could not load file or assembly 'nunit.framework...'

I set the option in the btdfproj file:
True
Any CPU
This includes a Verify Deployment option on the start menu.  However, I get the 'Test load failed!' error.  But, when I do the following changes on the shortcut:
Target:  "E:\Program Files (x86)\B2B.Inbound for BizTalk\1.0.38\Deployment\Framework\DeployTools\NUnitSubset\nunit.exe" /run
Start in:  "E:\Program Files (x86)\B2B.Inbound for BizTalk\1.0.38\Deployment\Framework\DeployTools\NUnitSubset"
It works.  Or, maybe I'm doing something wrong.  Please let me know.  Thanks.
This work item was migrated from CodePlex
CodePlex work item ID: '11135'
Vote count: '1'

[defiestc@11/14/2016]
I may have found a workaround.  I modified the file RedistComponentGroup.xslt.  According to the link
http://www.tfabraham.com/BTDFDocs/V5_5/CustomizingtheDefaultWiXTemplate.html,
I changed the following line:
from:
<xsl:attribute name="Arguments">"[INSTALLDIR]$(var.DeploymentTest)" /run</xsl:attribute>
to:
<xsl:attribute name="Arguments">/run</xsl:attribute>
And, I was able to build and do a Verify Deployment.  Thanks.


can't call foreign function CreateFileW on OS windows

error: unsupported operation: can't call foreign function `CreateFileW` on OS `windows`
   --> C:\Users\ASUS\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\pal\windows\fs.rs:299:13
    |
299 | /             c::CreateFileW(
300 | |                 path.as_ptr(),
301 | |                 opts.get_access_mode()?,
302 | |                 opts.share_mode,
...   |
306 | |                 ptr::null_mut(),
307 | |             )
    | |_____________^ can't call foreign function `CreateFileW` on OS `windows`
    |
    = help: if this is a basic API commonly used on this target, please report an issue with Miri

Thanks for the report!
This is a duplicate of https://github.com/rust-lang/miri/issues/3482.


meta-lxatac-software: distro: tacos: make /srv on the rootfs read-only

We do not want any service to write to /srv (in the root filesystem) before the /srv partition is set up and mounted.
Because if /srv is not empty systemd-gpt-auto-generator will not generate a mount unit for it.
Every now and then however some service changes and writes to /srv/ before the partition is set up by the first boot.
Most recently podman (see https://github.com/linux-automation/meta-lxatac/pull/206 for the fix).
This is why we have added the following to the task that lead to tracking down https://github.com/linux-automation/meta-lxatac/pull/206:

050.600 First boot somtimes writes to /srv
…
[ ] lgo: Mark /srv as not-writeable in the root-fs, so that it can only be written once the /srv-partition has been mounted.

This PR implements that.

TODO before merging:

[x] Make sure the permissions are actually applied

This PR does indeed make /srv readonly
root@lxatac-00011:/tmp/other# ls -ahl | grep srv
dr-xr-xr-x  2 root root 4.0K Nov 12 14:27 srv

But that does not stop software running as root from creating files there, as they have CAP_DAC_OVERRIDE:

CAP_DAC_OVERRIDE
Bypass file read, write, and execute permission checks.
(DAC is an abbreviation of "discretionary access control".)

root@lxatac-00011:/tmp/other# touch srv/dac
root@lxatac-00011:/tmp/other# ls srv/dac
srv/dac

Having /srv read-only on paper is still a nice gesture though.

Why not use the immutable attribute chattr -i /srv instead? You could call it from a ROOTFS_POSTPROCESS_COMMAND. Hopefully pseudo supports it. :)

Why not use the immutable attribute (chattr -i /srv) instead? You could call it from a ROOTFS_POSTPROCESS_COMMAND. Hopefully pseudo supports it. :)

Hm … I would prefer if meta-lxatac became less complex and less "special" over time. Fiddling with filesystem attributes is quite special in my opinion (I would not suspect them when something were to behave strangely on a system and look somewhere else first).
We do have a labgrid tests that triggers when the /srv partition is not mounted in the fully booted system, so it is not like we will not notice the issue occurring when it comes back.

Perhaps use 0000 to make it clearer that nobody is supposed to use this directory (except as a mount point)?

It looks like 0000 triggers some special behavior that results in the permissions not being applied at all:
leonard@fulladder /tmp> wget "https://github-runner.pengutronix.de/artifacts/forrest-build-18HnwViPU6t38cwc/lxatac-core-bundle-base-lxatac.raucb"
leonard@fulladder /tmp> sudo mount --mkdir lxatac-core-bundle-base-lxatac.raucb /tmp/sqfs
leonard@fulladder /tmp> sudo mount --mkdir /tmp/sqfs/lxatac-core-image-base-lxatac.rootfs.ext4 /tmp/ext4
leonard@fulladder /tmp> ls -ahl /tmp/ext4/
…
drwxr-xr-x  3 root root 4,0K  9. Mär 2018  opt/
dr-xr-xr-x  2 root root 4,0K  9. Mär 2018  proc/
drwx------  2 root root 4,0K  9. Mär 2018  root/
drwxr-xr-x  2 root root 4,0K  9. Mär 2018  run/
lrwxrwxrwx  1 root root    8  9. Mär 2018  sbin -> usr/sbin/
drwxr-xr-x  2 root root 4,0K  9. Mär 2018  srv/
dr-xr-xr-x  2 root root 4,0K  9. Mär 2018  sys/
-rw-r--r--  1 root root    0  9. Mär 2018  system-update
…

It looks like 0000 triggers some special behavior that results in the permissions not being applied at all

I think I found the cause.
The mode field is parsed as octal number:
https://github.com/yoctoproject/poky/blob/ddfb5cd61911c58a3188c91385c7c60e6aa43ed5/meta/lib/oe/package.py#L379-L383
(Returning the integer 0 in our case)
And whenever it is used it is first checked if it is true-ish:
https://github.com/yoctoproject/poky/blob/ddfb5cd61911c58a3188c91385c7c60e6aa43ed5/meta/lib/oe/package.py#L425-L429
(Which it is not in our case)
The intent behind the check is to allow a mode of - (in that case mode is None) that keeps the permissions as-is, but duck typing makes the actual behavior more interesting once again.


nodes: ensure nodes are updated after their activation

first draw call (at 10.0) disables the left branch and enables the
right one. The right branch is then updated/drawn (Group 1,
TimeRangeFilters 2, Group 2 and TimeRangeFilters 3)
second draw call (at 0.0) enables the left branch and disables the
right one. The left branch is then updated/drawn  (Group 1,
TimeRangeFilters 1, TimeRangeFilters 3, Group 3, RTT, RenderTexture)
at this point, Group 2 is disabled but it has its last_update_time
still set to 10.0. TimeRangeFilters 3 is allowing the descent into the
graph.
third draw call (at 10.0), disables the left branch (and de-allocated
its resources which include the RTT and RenderTexture) and enables the
right one. However, during the update operation, the descent is
blocked by Group 2 which has its last_update_time equal to the current
update time. This, in turn, prevents TimeRangeFilters 3 from being
updated leading to the node keeping its previous state, allowing the
descent into the graph while it should not for the current draw time.
This ultimately leads to a crash because the draw operation is called
on a branch that has been disabled/de-allocated.

Can you add numbers to each point? I'd like to refer to one point in particular later in the description (see suggestion below).

Done.

This commit ensures the nodes are updated after their activation. This
ensures that, in the above scenario, Group 2 gets updated when activated

The dup of "ensures" sounds funny

Already changed to sounds less funny :D

which, in turn, allows TimeRangeFilters 3 to be updated as it should be,
fixing the crash.

Could you add the following at the end?

Done.

The reason why Group 2 has its last_update_time still set to 10.0 at step 2 is
because node_release() has not been called on it (which does reset the
last_update_time). This is due to a regression introduced in
d83b9e49f5ffcdb2d3f89cef0e1aa38a470c2dab¹ reducing the number of nodes onto
which we call node_prefetch()/node_release().
In order to avoid re-inserting a large number of nodes in the activity check
array, we instead add a special condition detecting that particular situation.
There were multiple other alternative ways of fixing the issue, but this one is
probably the simplest and most optimal. Typically the reason we reset the time
at prefetch instead of at release like before is because detecting a release is
much harder as it can be done only when everything has been visited: only one
use is enough imply a prefetch, but a release is conditioned by the lack of any
use (it requires full knowledge).
[1]: this commit is present in release v2022.4, v2022.5 and v2022.6


build: add itest-race build target to catch data races with itests

This PR adds itest-race build target that can be used with
individual itests to detect and catch uncovered data races.

I think we'd have to bump the timeouts because this introduces a significant slowdown? Is bumping at the command-line possible?

Yes timeouts may probably be different, but the intention is to use the itest-race target for localized bug hunting at first and then later on we'll integrate with the CI once our itests are less flaky overall.


Relative path

Closes: #???
Description

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the standards mentioned here.
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

[ ] Update the version in package.json when there is a change in the smart contracts

Can you add a more descriptive title and description to the PR? and can you also pull the latest changes from master so there aren't conflicts? Thank you!

This will not work yet, we need better support in flowkit. But i will make sure to merge and create a better description once we have the required tools

Closing this because it was mostly done in another PR


Unable to get an Window, abort.

Software Versions

Python: 3.12.2
OS: macOS 10.12.6 Sierra
Kivy: 2.3.0
Kivy installation method: pip

Description of the bug
When I try to run Kivy with Python I get this error. (Please refer to the logs)
Kivy 2.3.0 also does not work with Python 3.11.4, but Kivy 2.2.1 works with Python 3.11.4.
Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
Run any program with Kivy.
Code and Logs and screenshots
alarm.py
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.core.audio import SoundLoader

class AppLayout(Widget):
    def set_time(self, time):
        self.ids.time_picker.set_time(time)

    def alarm_sound_ring(self, instance, value):
        if value is True:
            self.sound = SoundLoader.load("alarm-clock-ringing-fascinatedsound-1-00-03.mp3")

    def alarm_sound_rooster(self, instance, value):
        if value is True:
            self.sound = SoundLoader.load("mixkit-rooster-crowing-in-the-morning-2462.wav")

    def test_alarm_sound(self):
            self.sound.play()

class Alarm(App):
    def build(self):
        return AppLayout()

if __name__ == "__main__":
    Alarm().run()

alarm.kv
#:import CircularTimePicker circulardatetimepicker
#:import Factory kivy.factory.Factory
#:import CheckBox kivy.uix.checkbox.CheckBox
#:import MDTimePicker kivymd.uix.picker.MDTimePicker

<TimeSelect@Popup>
    title: "Select Time"
    size_hint: 0.8, 0.6

    BoxLayout:

        CircularTimePicker:
            id: time_picker

        Button:
            text: "Close"
            font_size: 16
            on_release: root.dismiss()

<AppLayout>

    BoxLayout:
        orientation: "vertical"
        size: root.width, root.height

        Label:
            text: "Alarm Clock"

        Button:
            text: "Select Time"
            font_size: 16
            on_release: Factory.TimeSelect().open()

        Label:
            text: "Ring Sound"
        CheckBox:
            id: checkbox_ring
            color: [255, 255, 255, 2]
            on_active: root.alarm_sound_ring(self, self.active)

        Label:
            text: "Rooster Sound"
        CheckBox:
            id: checkbox_rooster
            color: [255, 255, 255, 2]
            on_active: root.alarm_sound_rooster(self, self.active)

        Button:
            id: alarm_test
            text: "Test Alarm Sound"
            font_size: 16
            on_release: root.test_alarm_sound()

        Label:
            id: construction_text
            text: "UNDER CONSTRUCTION"

Log:
Users-iMac:alarm-clock User$ python3.12 alarm.py
[INFO   ] [Logger      ] Record log in /Users/User/.kivy/logs/kivy_24-03-17_4.txt
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.12.2 (v3.12.2:6abddd9f6a, Feb  6 2024, 17:02:06) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
[INFO   ] [Python      ] Interpreter at "/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 195 symbols loaded
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.5.1
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_pil, img_ffpyplayer (img_sdl2 ignored)
[INFO   ] [SoundFFPy   ] Using ffpyplayer 4.5.1
[INFO   ] [Audio       ] Providers: audio_ffpyplayer (audio_sdl2, audio_avplayer ignored)
[INFO   ] [Text        ] Provider: pil(['text_sdl2'] ignored)
[INFO   ] [KivyMD      ] 2.0.1.dev0, git-Unknown, 2024-03-17 (installed at "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivymd/__init__.py")
[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/window/_window_sdl2.cpython-312-darwin.so, 2): Library not loaded: @loader_path/png
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/.dylibs/SDL2_ttf
  Reason: no suitable image found.  Did find:
        /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/window/../../.dylibs/png: cannot load 'png' (load command 0x80000034 is unknown)
        /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/.dylibs/png: cannot load 'png' (load command 0x80000034 is unknown)
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/__init__.py", line 59, in core_select_lib
    mod = importlib.__import__(name='{2}.{0}.{1}'.format(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1466, in __import__
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/window/window_sdl2.py", line 28, in <module>
    from kivy.core.window._window_sdl2 import _WindowSDL2Storage

[CRITICAL] [App         ] Unable to get a Window, abort.

Additional context
When run using -d this is the output:
Users-iMac:alarm-clock User$ python3.12 alarm.py -d
[INFO   ] [Logger      ] Record log in /Users/User/.kivy/logs/kivy_24-03-17_5.txt
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.12.2 (v3.12.2:6abddd9f6a, Feb  6 2024, 17:02:06) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
[INFO   ] [Python      ] Interpreter at "/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 195 symbols loaded
[DEBUG  ] [Cache       ] register <kv.resourcefind> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.5.1
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_pil, img_ffpyplayer (img_sdl2 ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [Cache       ] register <kv.graphics.texture> with limit=None, timeout=None
[INFO   ] [SoundFFPy   ] Using ffpyplayer 4.5.1
[DEBUG  ] [Audio       ] register SoundFFPy
[INFO   ] [Audio       ] Providers: audio_ffpyplayer (audio_sdl2, audio_avplayer ignored)
[DEBUG  ] [App         ] Loading kv </Users/User/Desktop/tkdesigner-figma/alarm-clock/alarm.kv>
[DEBUG  ] [Text        ] Ignored <sdl2> (import error)
[INFO   ] [Text        ] Provider: pil(['text_sdl2'] ignored)
[INFO   ] [KivyMD      ] 2.0.1.dev0, git-Unknown, 2024-03-17 (installed at "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivymd/__init__.py")
[DEBUG  ] [Window      ] Ignored <sdl2> (import error)
[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/window/_window_sdl2.cpython-312-darwin.so, 2): Library not loaded: @loader_path/png
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/.dylibs/SDL2_ttf
  Reason: no suitable image found.  Did find:
        /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/window/../../.dylibs/png: cannot load 'png' (load command 0x80000034 is unknown)
        /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/.dylibs/png: cannot load 'png' (load command 0x80000034 is unknown)
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/__init__.py", line 59, in core_select_lib
    mod = importlib.__import__(name='{2}.{0}.{1}'.format(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1466, in __import__
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/kivy/core/window/window_sdl2.py", line 28, in <module>
    from kivy.core.window._window_sdl2 import _WindowSDL2Storage

[CRITICAL] [App         ] Unable to get a Window, abort.

HI @ok-coder1 ,
We're using MACOSX_DEPLOYMENT_TARGET=10.13 in our build script, and you're on a macOS version prior to our deployment target.
You can try to build the binaries, from source, by editing the https://github.com/kivy/kivy/blob/2.3.0/tools/build_macos_dependencies.sh file, but I do not recommend staying any longer on macOS Sierra, as it reached EOL on Oct 2019.
FYI MACOSX_DEPLOYMENT_TARGET=10.13 has been set as any version prior to 10.13 is incompatible with newer XCode versions.
Closing as wont fix

Ok, thanks!

Another issue:
Kivy 2.2.1 won't install in Python 3.12.2.
Do I have to create another issue or continue here?

Kivy 2.2.x series will not be ported to Python 3.12, Kivy 2.3.0 installs and is compatible with Python 3.12

Ok, thanks!


css loses precedence in prod

seeing some issues where CSS loses precedence only in prod. had to use !important to force it, which is a rather ugly fix.
Anyone else notice this?

still seems to be some issues generating a production build, i've had similar issues

fairly certain the issue is introduced by ExtractTextPlugin in the prod build.
I can't really think of a good solution for this right now... but to work around having !important littered everywhere, my solution:
// component
 <div className={`${this.styles.foo} label label-primary`}>...

// styles
.foo {
  &:global(.label) {
    width: 100;
    ...
  }
}

basically referencing that global class label in this case to increase precedence.

You you provide a minimal example? I haven't encountered yet.

@quicksnap same as shown above. The custom style would not override bootstrap's default in prod, but does in dev mode. guess it makes sense since everything is inline for dev.


Change all the project.jsons to use generations

dnxcore -> netcore

It's not netcore that's absolutely incorrect :smile:

@davidfowl what's the correct moniker?


Bug in TransformerEngine v1.11 for PyTorch when using flash-attn>=2.5.7

Bug Description
Using transformer-engine[pytorch]==1.11 with flash-attn>=2.5.7 results in the following error:
>                   output = func(
                        query_layer,
                        key_layer,
                        value_layer,
                        *fa_optional_forward_args_thd,
                        self.attention_dropout if self.training else 0.0,
                        softmax_scale=self.softmax_scale,
                        causal="causal" in attn_mask_type,
                        **fa_optional_forward_kwargs,
                    )
E                   TypeError: flash_attn_func() got an unexpected keyword argument 'block_table'

/opt/conda/envs/pytorch/lib/python3.11/site-packages/transformer_engine/pytorch/attention.py:5073: TypeError

Details
The TransformerEngine v1.11 release introduces a change to the flash-attn version constraints in transformer_engine/pytorch/setup.py file: https://github.com/NVIDIA/TransformerEngine/blob/c27ee60ec746210bcea4ec33958dbbff06706506/transformer_engine/pytorch/setup.py#L59
from what it was in TransformerEngine <= v1.10:
https://github.com/NVIDIA/TransformerEngine/blob/08a85d3b2657f1d4e0b478f6682c17fe6bba8b05/transformer_engine/pytorch/setup.py#L59
When installing transformer-engine[pytorch]==1.11 with no other constraints, it also installs flash-attn==2.6.3, which activates the code introduced in commit https://github.com/NVIDIA/TransformerEngine/commit/27c6342ea8ad88034bf04b587dd13cb6088d2474, where the block_table kwarg is configured: https://github.com/NVIDIA/TransformerEngine/blob/c27ee60ec746210bcea4ec33958dbbff06706506/transformer_engine/pytorch/attention.py#L5014-L5015
When using transformer_engine/pytorch/attention.py, the forward pass function used is decided here:
https://github.com/NVIDIA/TransformerEngine/blob/c27ee60ec746210bcea4ec33958dbbff06706506/transformer_engine/pytorch/attention.py#L5017-L5024
If func is set to be flash_attn_varlen_func, which correctly consumes fa_optional_forward_kwargs["block_table"], the code (probably) works as intended. However, when func is set to flash_attn_func, which does not support the block_table arg, it results in the following error:
E                   TypeError: flash_attn_func() got an unexpected keyword argument 'block_table'

/opt/conda/envs/pytorch/lib/python3.11/site-packages/transformer_engine/pytorch/attention.py:5073: TypeError

How to reproduce
The bug can be reproduced by running pytest TransformerEngine/tests/pytorch/test_sanity.py::test_sanity_gpt: https://github.com/NVIDIA/TransformerEngine/blob/c27ee60ec746210bcea4ec33958dbbff06706506/tests/pytorch/test_sanity.py#L571
Workaround
Until the bug is fixed, the workaround seems to be to force the installation of "flash-attn<2.5.7" before installing transformer_engine. This bug has seemingly existed since v1.10, but has only become a point of failure after v1.11 allowed the installation of newer versions of flash-attn.

@ksivaman could we pick this PR to 1.11 release please? Thanks! https://github.com/NVIDIA/TransformerEngine/pull/1222

Just updated release_v1.11.

Will you also be publishing a new patch version for v1.11 on pypi - https://pypi.org/project/transformer-engine/#history ?


"2FA error: Communication error: SSL-Client SSL-Client (Anonym)" occures at git-commit

Hi
i get this error: "2FA error: Communication error: SSL-Client SSL-Client (Anonym)" by creating a git-commit. Abap-git asks me about username/password so I'm a little bit astonished that I get an SSL-Error.
My password is 99% correct because i use a password-manager so what I'm doing wrong?
Any ideas what i'm doing wrong will be appreciated.
Thanks for the help.

try running the program described in: https://docs.abapgit.org/other-test-ssl.html and paste output here
you might need to import additional certificates for https://api.github.com

Cloning a repo is sucessfully I just can't commit something (I created my own repo with an readme.md file)
Here is the result from ssl test for git:
"11.06.2018                                                                                ssl test für git                                                                                1
https://github.com : ok

Error Number     1
ICM_HTTP_SSL_PEER_CERT_UNTRUSTED
Also check transaction SMICM -> Goto -> Trace File -> Display End"

the api.github.com certificate solved the problem

I have the same issue. What does your STRUST screen look like after you added the api.github.com certificate?

i've three certificates:

digicert / github
github.com
api.github.com

https://www.dropbox.com/s/oder81vnwhfw7sz/strust2.PNG?dl=0

Thanks for that. I have all three as well but the SSL test program still faisl. Therefore the problem is on my side, and I will keep pressing my BASIS people.

Have you set the ssl parameters in rz10?
Paul Hardy<EMAIL_ADDRESS>schrieb am Mi., 13. Juni 2018, 08:01:

Thanks for that. I have all three as well but the SSL test program still
faisl. Therefore the problem is on my side, and I will keep pressing my
BASIS people.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/larshp/abapGit/issues/1491#issuecomment-396823166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHqlTi9tx7MkBciAxHG33wmcq_NrwIxYks5t8KqygaJpZM4UipO-
.

Yes that works fine. On the SSL test program the first URL works OK i.e. I can "pull" from GitHub to SAP.
I just get the error on the SSL test program when trying to connect to |api.github/.com| which you need to do to do a "commit" when it checks the 2FA.
I think the problem is something to do with a proxy setting on my side.

Hmn have you restarted your sap-instance after you have set the ssl params?
Paul Hardy<EMAIL_ADDRESS>schrieb am Mi., 13. Juni 2018, 08:37:

Yes that works fine. On the SSL test program the first URL works OK i.e. I
can "pull" from GitHub to SAP.
I just get the error on the SSL test program when trying to connect to
|api.github/.com| which you need to do to do a "commit" when it checks the
2FA.
I think the problem is something to do with a proxy setting on my side.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/larshp/abapGit/issues/1491#issuecomment-396830053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHqlTkY9GH5Yz5s2typW_0yn5GKbFSDUks5t8LM6gaJpZM4UipO-
.

Oh yes, they were set a few weeks back. Before they were set I could not pull anything from GitHub and the SSL program failed on both URLs.
On the error message it says
Certificate : api.github.com etc etc
Issuer : some sort of proxy from my company
Hence I suspect the problem is with the latter. It is possible the SAP system does not trust one of our own proxies, If so maybe I need to get the certificate from the proxy and install that into STRUST as well.

Checking out public repositories from GitHub worked just fine but when I tried to clone a private repository I got the error message:

2FA error: Communication error: SSL-Client SSL-Client (Anonym)

after entering the Github credentials.
Installing the certificates for api.github.com as described above solved it.

you might need to import additional certificates for https://api.github.com

egin : Sun Jul 7 19:00:00 2019<PHONE_NUMBER>00Z)
nd : Thu Jul 16 07:00:00 2020<PHONE_NUMBER>00Z)
urrent : Fri Apr 26 10:56:33 2019<PHONE_NUMBER>5633Z)

@salamancacm77  Are you from the past?

@flaiker I don't understand

You seem to have forgotten to adjust your watch after travelling 4 months into the future.

Peer certificate not yet valid:
Validity not before: Sun Jul 7 19:00:00 2019<PHONE_NUMBER>00Z)
Validity not after: Thu Jul 16 07:00:00 2020<PHONE_NUMBER>00Z)
Begin : Sun Jul 7 19:00:00 2019<PHONE_NUMBER>00Z)
End : Thu Jul 16 07:00:00 2020<PHONE_NUMBER>00Z)
Current : Fri Apr 26 10:56:33 2019<PHONE_NUMBER>5633Z)

do we need to import certificate from https://api.github.com/ in case if we are connecting enterprise GITLAB?

no


Update and tidy up README

Follow on from https://github.com/cloudfoundry-incubator/stratos/pull/3649.

We have lots of references to zenhub.
Our weekly updates page was last updated in April.
Our troubleshooting link is broken and needs troubleshooting.
I think it's time we remove the V1 notice.

These are the issues I saw while quickly looking, we should give the whole thing a once over.

To add a couple observations (as of March 2020):

Under Further Reading, the Feature Set link is broken / target page doesn't exist
Both the Development Roadmap and Status Page are terribly out of date and do a disservice to the project.  I'll suggest marking them as deprecated and removing the links from the README.md
As mentioned, the Zenhub references are not useful any more (now redirect back to the github page), so the 'issues' link is enough.
The Troubleshooting link points to https://github.com/cloudfoundry/stratos/blob/master/docs/troubleshooting  but should reference https://github.com/cloudfoundry/stratos/blob/master/docs/troubleshooting.md

These should be easy to fix quickly.


move requestId to core of http mod

allow it to be used for conn pools
allow it to be used for tracing

Cute ideas, but for now no empirical evidence that we really need this. Going to leave this for now until more production experience with the system as-is and/or complains/requests came in.


useRadioGroup arrow keys should only affect radio inputs in the group

🐛 Bug Report
If you have a focusable element (e.g. <object>) inside the radio group parent, then arrow keys will select that item and try to use its "value".
🤔 Expected Behavior
Arrow keys only switch between radio elements
As cursed as the following code looks (button inside fieldset), the default browser behavior makes sense and does exactly what I'd expect
https://user-images.githubusercontent.com/1994028/191152545-2a54636c-de12-4aad-91b4-0d1d5843f9fa.mp4
<fieldset>
    <legend>Select a maintenance drone:</legend>

      <input type="radio" id="huey" name="drone" value="huey"
             checked>
      Huey
      <button>wow</button>

      <input type="radio" id="dewey" name="drone" value="dewey">
      Dewey

      <input type="radio" id="louie" name="drone" value="louie">
      Louie

</fieldset>

😯 Current Behavior
It focuses any element and grabs its "value" attribute to set it.
💁 Possible Solution
Only consider inputs of type radio inside the fieldset.
🌍 Your Environment
Any
🧢 Your Company/Team
Replit

Note that the radiogroup ARIA role only allows radio children, so that button isn't really allowed. See https://github.com/adobe/react-spectrum/issues/2379#issuecomment-936893447.

Dang my GitHub issue search has been failing me quite a bit. This makes sense.
Maybe we should console.warn when the walked-to element isn't a radio input.
Feel free to close the PR, though matching default browser behavior might be desirable regardless.
Closing this issue as a duplicate.


Edges pushed behind the overlay when size increased

The edges of the default marker are pushed behing the semi-transparent overlay when their size and radius is increased making the overall component look wierd.

#56 I have a fix for this here

Thanks @Bryceacampbell 🎀👌


Add PSA custom resource in Cluster Manager

Description
As outcome of https://github.com/rancher/dashboard/issues/7119 (point 7), create new PSA custom resource to the cluster manager.
Name of the resource: management.cattle.io.podsecurityadmissionconfigurationtemplate.
Required changes:

Add new model for PSA
Add PSA navigation to the Cluster Manager
Add view and edit screens with the path
Extend current component and test to adapt to new requirements

Context
NOTE: It is required to update Rancher server to the latest version in order to test this feature locally. You can use this script for this scope.

Test cases in the internal test plan pertaining to this issue have been validated. Therefore, closing this issue.


Brew requires linking before installing packages and never works

Bug reports:
The only step that resolves the issue is removing the affected linked packages and installing the desired package.
For example:
brew install php56
Updating Homebrew...
==> Installing php56 from homebrew/php
Error: You must `brew link jpeg unixodbc` before homebrew/php/php56 can be installed

To help us debug this issue can you explain:

What you were trying to do (and why)
What happened
What you expected to happen
Step-by-step reproduction instructions (with as minimal input data as possible)

@dannykopping any update here?

I think this should be pretty illustrative:
infomaniac $ brew install gprof2dot
Error: You must `brew link libpng` before gprof2dot can be installed
infomaniac $ brew link libpng
Linking /usr/local/Cellar/libpng/1.6.26... 4 symlinks created
infomaniac $ brew install gprof2dot
Error: You must `brew link libpng` before gprof2dot can be installed

Even though this package does not depend on libpng:
$ brew info gprof2dot
gprof2dot: stable 2016.10.13 (bottled), HEAD
Convert the output from many profilers into a Graphviz dot graph.
https://github.com/jrfonseca/gprof2dot
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gprof2dot.rb
==> Dependencies
Recommended: graphviz ✘
==> Options
--without-graphviz
        Build without graphviz support
--HEAD
        Install HEAD version

OK, so first off, it does depend on libpng because it depends on graphviz, and graphviz depends on libpng. The question is what's wrong with your libpng.
In my original question, it was a different package with the same linkage issue, and yes uninstalling the problematic package does resolve the issue... but this is happening with every package I try to install.

Can you try
brew list | while read f; do brew unlink $f; brew link $f; done

Tried that, gives a bunch of errors:
$ brew list | while read f; do brew unlink $f; brew link $f; done
Unlinking /usr/local/Cellar/ack/2.14... 2 symlinks removed
Linking /usr/local/Cellar/ack/2.14... 2 symlinks created
Unlinking /usr/local/Cellar/ansible/<IP_ADDRESS>_1... 0 symlinks removed
Linking /usr/local/Cellar/ansible/<IP_ADDRESS>_1...
Error: Could not symlink bin/ansible
Target /usr/local/bin/ansible
is a symlink belonging to ansible. You can unlink it:
  brew unlink ansible

To force the link and overwrite all conflicting files:
  brew link --overwrite ansible

To list all files that would be deleted:
  brew link --overwrite --dry-run ansible

Try first doing
sudo chown -R $(whoami) /usr/local/*

and then
brew list | while read f; do brew unlink $f; brew link $f; done

Have done that too, but will try again

Exactly the same result...
$ brew list | while read f; do brew unlink $f; brew link $f; done
Unlinking /usr/local/Cellar/ack/2.14... 2 symlinks removed
Linking /usr/local/Cellar/ack/2.14... 2 symlinks created
Unlinking /usr/local/Cellar/ansible/<IP_ADDRESS>_1... 0 symlinks removed
Linking /usr/local/Cellar/ansible/<IP_ADDRESS>_1...
Error: Could not symlink bin/ansible
Target /usr/local/bin/ansible
is a symlink belonging to ansible. You can unlink it:
  brew unlink ansible

To force the link and overwrite all conflicting files:
  brew link --overwrite ansible

To list all files that would be deleted:
  brew link --overwrite --dry-run ansible

OK, good.
brew list | while read f; do brew unlink $f; done
brew prune
brew list | while read f; do brew link --overwrite $f; done

You perhaps hit an old migration bug that resulted in bad linkage. @ilovezfs's fix will resolve that.

Thanks, i'll try this out later 👍

Ran the above and i get the same issue:
infomaniac:~ $ brew install gprof2dot
Error: You must `brew link libpng` before gprof2dot can be installed
infomaniac:~ $ brew link libpng
Linking /usr/local/Cellar/libpng/1.6.26... 4 symlinks created
infomaniac:~ $ brew install gprof2dot
Error: You must `brew link libpng` before gprof2dot can be installed

@dannykopping What's the output of brew doctor now and your brew config?

infomaniac:~ $ brew doctor | pbcopy
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Your XQuartz (2.7.8) is outdated.
Please install XQuartz 2.7.9 (or delete the current version).
XQuartz can be updated using Homebrew-Cask by running
  brew cask reinstall xquartz

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libqmi_api.dylib
  /usr/local/lib/libzip.dylib
  /usr/local/lib/ZTENdis51Service.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/node/config.h
  /usr/local/include/node/eio.h
  /usr/local/include/node/ev.h
  /usr/local/include/node/node_config.h
  /usr/local/include/node/node_events.h
  /usr/local/include/zip.h
  /usr/local/include/zipconf.h

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/nodejs.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libzip.a

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
  /usr/local/Cellar/rabbitmq/3.3.4/sbin/
  /usr/local/lib/node_modules/

Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
  brew install asio autoconf double-conversion sleuthkit

Run `brew missing` for more details

infomaniac:~ $ brew config | pbcopy
HOMEBREW_VERSION: 1.1.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: edf042ee97f80955b077724119e717a51eb25e29
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 977b02c5c5653fadf0199f013e9d061fe8fe784b
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p481
Clang: 7.0 build 700
Git: 2.7.1 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/dannykopping/.rvm/rubies/ruby-1.9.3-p551/bin/ruby
Java: 1.8.0_51, 1.7.0_79, 1.6.0_65-b14-468
macOS: 10.10.5-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1447826929
X11: 2.7.8 => /opt/X11

@dannykopping can you come on IRC please?
#machomebrew on freenode (https://www.irccloud.com/#!/ircs://irc.freenode.net:6697/%23machomebrew)

Any update here?

That does work, but it doesn't really address the underlying issue?

I'm not sure there is an underlying issue here. You've hit what appears to be some sort of corner case with the migration that occurred two months ago. No one else is reporting this, and you've indicated there is in fact a viable path toward fixing things.
We may need to punt at this point.

Sorry, i should have been more clear... I'm experiencing the same issue in that i can't install a package, but at least the linking appears to work the first time i run the command.
But I'm still in that loop of link, install, link, install like before.

can you post
find /usr/local -ls

in a gist please?

Can you be more specific about which folders you want to inspect? The output is too big for a gist

You can try
find -E /usr/local -not -regex "^/usr/local/(Cellar|bin|etc|include|lib|sbin|share)/.*" -ls |grep -v -E '\.git\/'|grep -v Taps|grep -v portable-ruby|grep -v MacGPG|grep -v Caskroom

https://gist.github.com/dannykopping/8a779e148e652438e5d79a637ee25e1a

1438504        8 lrwxr-xr-x    1 dannykopping     staff                  26 Aug  5  2014 /usr/local/var -> /Volumes/CSP/usr/local/var

OK, that may be a problem. Why is this on a different volume?

I keep my code on a separate case-sensitive partition

Yup, having that on the separate volume is the cause of your problem. Reproduced:
iMac-TMP:~ joe$ brew uninstall gawk
Uninstalling /usr/local/Cellar/gawk/4.1.4_1... (64 files, 2.8M)
iMac-TMP:~ joe$ brew install gawk
Error: You must `brew link gmp mpfr` before gawk can be installed

Interesting - so when did brew start using the /usr/local/var/ directory? I've had this configuration from the beginning and it's worked perfectly.

You can configure this to work though. The migration that Mike mentioned above moved some things from /usr/local/Library to /usr/local/var/homebrew. You can configure this in a way that works, though:
iMac-TMP:~ joe$ diskutil unmount /Volumes/ramdisk/
Volume ramdisk on disk2s1 unmounted
iMac-TMP:~ joe$ sudo rm /usr/local/var
iMac-TMP:~ joe$ sudo mkdir /usr/local/var
iMac-TMP:~ joe$ sudo chown joe:staff /usr/local/var
iMac-TMP:~ joe$ diskutil mount -mountPoint /usr/local/var disk2s1
iMac-TMP:~ joe$ mv /usr/local/var/usr/local/var/homebrew /usr/local/var/
iMac-TMP:~ joe$ rmdir -p /usr/local/var/usr/local/var
rmdir: /usr/local/var: Resource busy
iMac-TMP:~ joe$ ls /usr/local/var/
homebrew
iMac-TMP:~ joe$ ls /usr/local/var/homebrew/
linked	locks
iMac-TMP:~ joe$ brew install gawk
==> Downloading https://homebrew.bintray.com/bottles/gawk-4.1.4_1.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/gawk-4.1.4_1.el_capitan.bottle.tar.gz
==> Pouring gawk-4.1.4_1.el_capitan.bottle.tar.gz
Warning: This keg was marked linked already, continuing anyway
🍺  /usr/local/Cellar/gawk/4.1.4_1: 64 files, 2.8M
iMac-TMP:~ joe$ brew uninstall gawk
Uninstalling /usr/local/Cellar/gawk/4.1.4_1... (64 files, 2.8M)
iMac-TMP:~ joe$ brew install gawk
==> Downloading https://homebrew.bintray.com/bottles/gawk-4.1.4_1.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/gawk-4.1.4_1.el_capitan.bottle.tar.gz
==> Pouring gawk-4.1.4_1.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/gawk/4.1.4_1: 64 files, 2.8M
iMac-TMP:~ joe$

There are probably other ways to get it working properly too, but I'd just recommend keeping your code mounted somewhere other than /usr/local/var.

@dannykopping It would be great if you'd like to open a pull request for a doctor check that can detect this problem so that it doesn't cause a mystery in the future if it happens again to someone else :)

Hhmm, unfortunately that's not practical at this point.
Is there something I can hack to change the base directory?

Yeah, you should be able to set these environment variables
# Where we store symlinks to currently linked kegs
HOMEBREW_LINKED_KEGS = HOMEBREW_PREFIX/"var/homebrew/linked"

# Where we store symlinks to currently version-pinned kegs
HOMEBREW_PINNED_KEGS = HOMEBREW_PREFIX/"var/homebrew/pinned"

# Where we store lock files
HOMEBREW_LOCK_DIR = HOMEBREW_PREFIX/"var/homebrew/locks"

https://github.com/Homebrew/brew/blob/master/Library/Homebrew/config.rb#L20-L27

Do i set them as actual env variables in my ZSH config or hack this file?
I tried setting them this way and brew is not respecting that

brew link php56 --verbose
Linking /usr/local/Cellar/php56/5.6.27_4...
ln -s ../Cellar/php56/5.6.27_4/bin/phar phar
ln -s ../Cellar/php56/5.6.27_4/bin/phar.phar phar.phar
ln -s ../Cellar/php56/5.6.27_4/bin/php php
ln -s ../Cellar/php56/5.6.27_4/bin/php-cgi php-cgi
ln -s ../Cellar/php56/5.6.27_4/bin/php-config php-config
ln -s ../Cellar/php56/5.6.27_4/bin/phpize phpize
ln -s ../Cellar/php56/5.6.27_4/sbin/php-fpm php-fpm
ln -s ../Cellar/php56/5.6.27_4/sbin/php56-fpm php56-fpm
ln -s ../Cellar/php56/5.6.27_4/include/php php
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man1/phar.1 phar.1
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man1/phar.phar.1 phar.phar.1
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man1/php-cgi.1 php-cgi.1
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man1/php-config.1 php-config.1
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man1/php.1 php.1
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man1/phpize.1 phpize.1
mkdir -p /usr/local/share/man/man8
ln -s ../../../Cellar/php56/5.6.27_4/share/man/man8/php-fpm.8 php-fpm.8
mkdir -p /usr/local/lib/php
ln -s ../../Cellar/php56/5.6.27_4/lib/php/build build
Skipping; link already exists: /usr/local/var/homebrew/linked/php56
17 symlinks created

ZSH:
infomaniac:/ $ cat ~/.zshrc | grep -i homebrew-var
export HOMEBREW_LINKED_KEGS="/usr/local/homebrew-var/homebrew/linked"
export HOMEBREW_PINNED_KEGS="/usr/local/homebrew-var/homebrew/pinned"
export HOMEBREW_LOCK_DIR="/usr/local/homebrew-var/homebrew/locks"

cd /usr/local/
mkdir homebrew-var
cd homebrew-var
mkdir {linked,pinned,locks}

Yup, you're right. It looks like it cannot be overridden with an environment variable.

Even tried setting the HOMEBREW_PREFIX env variable and that's not being respected either.
$ echo $HOMEBREW_PREFIX
/usr/homebrew

$ brew link php56 --verbose
....
Skipping; link already exists: /usr/local/var/homebrew/linked/php56
310 symlinks created

Prefix is definitely respected. So something is wrong with how you're doing that.

It's most likely because you're trying to use the stuff that's already installed in the old prefix, which isn't going to work. You'd have to uninstall the formula first, and then reinstall it. Note that if you move the prefix, you're going to end up only being able to use the relocatable bottles and having to build everything else from source.

OK, i'll have to play around with this after Black Friday :) too risky right now.
I'll let you guys know what happens - thanks!

You're welcome :)

Prefix is definitely respected

It isn't, actually 😉.

It isn't, actually :wink:

meaning?

You can't set HOMEBREW_PREFIX manually to change the prefix (or HOMEBREW_REPOSITORY).

Ah, right, it tracks the brew file itself. Thank you for correcting me.

So how can I get around this?
For the brew repo and edit the config.rb?

You need to install Homebrew into a different location or keep var on the same volume (recommended so you can keep using bottles/binary packages).

a) "You need to install Homebrew into a different location" - is there a guide for this?
b) "keep var on the same volume (recommended so you can keep using bottles/binary packages)" - the whole of /usr/local/var, or just /usr/local/var/homebrew?

@dannykopping you can probably just use symlinks in /usr/local/var to all the top level directories in /Volumes/CSP/usr/local/var except for /usr/local/var/homebrew.

Cool, yeah that's what I'm thinking too 👍
Thanks!
(PS: dug your interview on The Changelog a couple weeks ago)

a) "You need to install Homebrew into a different location" - is there a guide for this?

https://github.com/Homebrew/brew/blob/master/docs/Installation.md#installation

b) "keep var on the same volume (recommended so you can keep using bottles/binary packages)" - the whole of /usr/local/var, or just /usr/local/var/homebrew?

I'd strongly recommend all of var but definitely var/homebrew.

(PS: dug your interview on The Changelog a couple weeks ago)

Thanks!

the whole of /usr/local/var, or just /usr/local/var/homebrew

Just  /usr/local/var/homebrew, but bear in mind some formulae also install stuff into /usr/local/var, but I wouldn't generally expect that to be a problem as long as the drive is available.

is there a guide for this?

https://github.com/Homebrew/brew/blob/master/docs/Installation.md#alternative-installs

You guys are too fast!
Appreciate the help. How do I buy you gents a beer over the internet? 🍻

Not quite the same as :beers: but https://github.com/Homebrew/brew#donations :)

OK 👍

Same problem, and this was the solution thatw orked for me:
brew reinstall --build-bottle gstreamer gst-plugins-{base,good,bad,ugly}


[API] [Admin/Streetcode] The "Подія" StreetCode is created using unavailable "firstname" and "lastname" fields.

Environment: Windows 11 (64 bit), Google Chrome Version 123.0.6312.123 (Official build), (64 bit)
Reproducible: always
Build found: a7d807f
Priority: Low
Severity: Minor
Type: API
Requirement for the "streetcodeType" (User story: https://github.com/ita-social-projects/StreetCode/issues/115):
When the Admin chooses the "Подія" type for creating a new StreetCode, the "Ім'я" field and the "Прізвище" field will be unavailable.
"streetcodeType" = 0 (for "Подія" StreetCode)
"streetcodeType" = 1 (for "Постать" StreetCode)
Preconditions:

Postman is open.
The admin is authorized in Swagger by the token.
The parameters "imageIds" and "imageId" should include the same value. The adding image should always be new and not exist on the stage.

Steps to reproduce:

Choose the POST method.
Enter a valid endpoint for creating a StreetCode.
Enter this response body adding the "firstname" and "lastname" fields:
{
"id": null,
"index": 9999,
"title": "Подія",
"transliterationUrl": "podiya",
"streetcodeType": 0,
"eventStartOrPersonBirthDate": "1950-02-13T00:00:00.000Z",
"eventEndOrPersonDeathDate": null,
"imagesIds": [
4937
],
"audioId": null,
"tags": [],
"relatedFigures": [],
"text": null,
"timelineItems": [],
"facts": [],
"firstname": "Ніна",
"lastname": "Матвієнко",
"coordinates": [],
"partners": [],
"teaser": "Укр співак",
"viewCount": 0,
"dateString": "13 лютого 1950",
"streetcodeArts": [],
"subtitles": [
{
"subtitleText": ""
}
],
"videos": [
{
"url": ""
}
],
"status": 1,
"toponyms": [],
"streetcodeCategoryContents": [],
"statisticRecords": [],
"imagesDetails": [
{
"id": 0,
"imageId": 4937,
"alt": "1"
}
]
}
Add the Bearer token in the "Authorization" tab.
Click on the "Send" button.
Pay attention to the response.

Actual result:
The "200 OK" status is shown in the response and the new StreetCode is created. But the "firstname" and "lastname" fields are not displayed on the StreetCode.

Expected result:
The "400 Bad request" status is shown in the response and the new StreetCode is not created.
User story: #115
Epic: #114

The bug is not reproducible.
Actual result: "400 Bad request"

Fixed in https://github.com/ita-social-projects/StreetCode/issues/308


Run letsencrypt-win-simple <IP_ADDRESS> in Windows Server 2008 R2

Hello, I can't run letsencrypt-win-simple <IP_ADDRESS> in Windows Server 2008 R2 because this tell me that need .NET Framework 4.7 but Windows Server 2008 can't install this framework, I have the 4.5; how can I fix it?

According to Microsoft, you should be able to install .NET 4.6 and 4.6 on Windows 2008 R2 SP1. Perhaps you are missing the service pack?
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies

I'm going to close this issue due to it being quiet in the thread for a long time. Please feel free to post again though if you keep having issues with the latest release. Thanks for using WACS and providing us with feedback.

I tried to do the guide but I still can not install it
:c


[WIP] Mk/validation api small fixes

Motivation and context

How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Summary by CodeRabbit
Release Notes

New Features

Introduced new endpoints for managing validation layouts in tasks and jobs, including retrieval and modification capabilities.

Bug Fixes

Improved error handling and validation logic for tasks and jobs, providing clearer error messages and response statuses.

Documentation

Updated OpenAPI schema to include new endpoints and refined existing ones for better clarity and usability.

Refactor

Enhanced the handling of one-to-one relationships in the data models, improving robustness and error management.

@zhiltsov-max, I figured out when reviewing your PRs that PATCH /api/tasks/id/validation_layout returns ValidationError instead of raising it. So, I decided to normalize behavior for all cases(GET/PATH, tasks/jobs API). Then I thought that it would probably be better to allow data.validation_layout be None instead of checking everywhere whether there is such an attribute or not.

@coderabbitai, stop

Codecov Report
Attention: Patch coverage is 71.87500% with 9 lines in your changes missing coverage. Please review.

Project coverage is 73.91%. Comparing base (094c62d) to head (6dce75d).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8816      +/-   ##
===========================================
- Coverage    73.92%   73.91%   -0.02%
===========================================
  Files          409      408       -1
  Lines        43957    43902      -55
  Branches      3986     3986
===========================================
- Hits         32497    32451      -46
+ Misses       11460    11451       -9

Components
Coverage Δ

cvat-ui
78.37% <ø> (+0.01%)
:arrow_up:

cvat-server
70.09% <71.87%> (-0.05%)
:arrow_down:

@SpecLad, Do you foresee any possible issues with modifying the logic of the OneToOneField.related_accessor_class slightly?

@SpecLad, Do you foresee any possible issues with modifying the logic of the OneToOneField.related_accessor_class slightly (in some cases e.g. for Data <-> ValidationLayout relationship)?

Yes. Neither related_accessor_class nor ReverseOneToOneDescriptor appear to be part of Django's public API, so this could be broken by a Django update. Also, I think it's a bad idea to modify the logic for relational fields in general, because then you can no longer rely on your existing Django knowledge and documentation for working with such fields.
Plus, it seems like there's a much simpler, non-hacky solution here: define a property on Data that implements your desired logic.

Plus, it seems like there's a much simpler, non-hacky solution here: define a property on Data that implements your desired logic.

It is not possible to define the property with the same name and use it because Django prioritizes model field attributes over custom properties when both have the same name. However, it may be probably fixed by changing the related_name of the OneToOneField

It is not possible to define the property with the same name

I didn't mean a property with the same name. I just meant a helper property, side by side with the one generated by Django.

I didn't mean a property with the same name. I just meant a helper property, side by side with the one generated by Django.

But is it not a bit odd that there will be 2 options for accessing the same data?

I didn't mean a property with the same name. I just meant a helper property, side by side with the one generated by Django.

But is it not a bit odd that there will be 2 options for accessing the same data?

Sure. I think it's just the price you pay when you provide convenience functionality.

/check


Mount to nfs server directory

Is it possible to use rclone mount on a nfs server?

@atytel do you mind if I asked how you got it working? I'm running into https://github.com/ncw/rclone/issues/2115 when I try to create new files in the nfs mount

Were you able to get it working?

If any of you do manage to make it work some docs in the rclone wiki would be much appreciated :-)


Cannot Login to  openbmp_ui  web interface.

Hello,
We have just install openbmp_ui docker for testing purposes, but when when we are trying to login ( Username: openbmp Password: CiscoRA ) we are getting the following error : Authentication service is unreachable .
We have also running openbmp_aio docker on the same host with all required services ( mysql, kafka, collector ).  Which service is the Authentication service ? Is it MySQL ? Can we change somehow default username/pass ?
Thanks in advance.
Kind Regards,
Miltos

You can close this issue. The problem was the 8001 port was blocked in the firewall.
Thanks!

thanks.


Image links are all broken

None of the image are getting rendered on this page -- they look like below example:
![Nodes organized via fault domains][Image1]

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

ID: c5694a0e-53c2-4b8f-fc65-15b56b0e8f11
Version Independent ID: 6bd8853e-6134-3488-39d0-b294e933dc89
Content: Describe a cluster by using Cluster Resource Manager - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-cluster-resource-manager-cluster-description.md
Service: service-fabric
GitHub Login: @masnider
Microsoft Alias: masnider

@vivmishra Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.We will update you accordingly.

@masnider Can you please check and add your comments on this doc update request as applicable

#please-close

Thanks @Nickomang !


CIV-11221 Breathing Space CYA URL bug

JIRA link
https://tools.hmcts.net/jira/browse/CIV-11221
Change description

In checkAnswersController.ts the redirection was being done using the userId instead of the claimId.
2 urls BREATHING_SPACE_RESPITE_CHECK_ANSWERS_URL and BREATHING_SPACE_CHECK_ANSWERS_URL that had the same value and caused confusion when navigating through the code are unified.

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Will be part of post-case-progression-tasks branch


Horizontal type support

Horizontal steppers are ideal when the contents of one step depend on an earlier step.

Type of steppers spec

@ahlechandre Can you sketch out what we  need to make this horizontal. I have not looked at the source, but my general thinking is a media query to determine if we are on a mobile device, and if so, render it horizontal (easier said than done)

@barrysteyn Hi, we could provide the horizontal and vertical types for large screens and vertical for small screens. I did not have time to think in many details when I wrote the component. I'm not certain but we may need to refactor the CSS to support horizontal type.

Class
Effect
Remarks

mdl-stepper
Defines a stepper container as vertical type.
Required

mdl-stepper--horizontal
Defines a stepper container as horizontal type on tablets or large.
Manually added

I finally found some time to look into this, however, it is not a simple "just make the list elements float left" type of problem... It seems to be more complex. I know CSS, but I don't use it often. Could you sketch out more ideas for how this can be done.

@ahlechandre Look at this: https://codepen.io/sharafat_8271/pen/KVWMXP

Look this voodoo that I did in 10 minutes in dev tools

@ahlechandre can you share "horizontal" stepper code?

@ahlechandre When I add the mdl-stepper--horizontal class like you have done, I get very different results unfortunately. Would be super grateful if you could share the code.

Me and @barrysteyn talking a little about horizontal type support.
I really would like to keep the markup without changes.
When designed, I didn't think about it but I want to believe that BEM approach can help us to implement this feature. As said in the issue comment, would be nice if we can provide just a modifier css class (e.g. stepper--horizontal) and all changes ocurring in stylesheet, without adding more markup ramifications.
This is the major preference but, obviously, not mandatory.
I even wanting it, but now we need to do initial attempts because I'm not certain if it's (and how it's) possible.

I agree - lets not change the markup. @ahlechandre if your "voodoo" above is working, then why not just use it? Not changing the markup is definitely the way to go.

@barrysteyn Sorry for any explanation. The screenshot code's running locally, it was just a test to check the viability of horizontal type support without adding or changing markup (e.g. creating a new structure different than current HTML List).
There are also more style rules than just seen whitin the modifier mdl-stepper--horizontal.
For now, I'm working on that and I will share it when I get a solid support.

@levan-g For now, I'm working on that and I will share it when get a solid support.

Thanks so much @ahlechandre - this is very appreciated.

Thanks @ahlechandre - I will test your horizontal stepper. This looks very cool.

@ahlechandre - it works beautifully. Thank you so much.

Apparently, horizontal steppers support is stable on major browser at this point.
Demonstration (for desktop users) here: https://ahlechandre.github.io/mdl-stepper/demo/
Create a new issue for any trouble/bug/feature request around this type of stepper.


README: explain caseOn

Fixes #12

This is lovely! I've been meaning to do that but initially got stuck when trying to think of an example. Thank you!


operators.md - add documentation for escaping * and ? wildcards

Fixes #461

cc: @dmehra

+1 and we will need to deploy the docs to gh-pages, ping me again when merged, or follow docs/README.md


Milestone 5: Styling

Milestone 5: Styling
In this PR, I have added styles and animation to the book app
Type of change

[ ] use Tailwind CSS classes to style components

Checklist:

[ ]  My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] There is no linter error in my code
[ ]  My changes generate no new warnings

Thank you very much for your time to review the project.


Drop user with altered default privileges.

I am trying to user v_generate_user_grant_revoke_ddl to change user ownership and drop user. But I am having issues with default acl.
Suggested step does not handle that case
select regexp_replace(ddl,grantor,'<superuser>') from v_generate_user_grant_revoke_ddl where grantor='<username>' and ddltype='grant' and objtype <>'default acl' order by objseq,grantseq;
And  get this error
owner of default privileges on new relations belonging to user

Are you still having this issue with the latest version of the view? Any chance you can provide a repro.

I'm getting this too. I'm having trouble tracking down the edits to make to reverse default privileges that were set.

👍 same


If src_attr begins with data- then read from .data() method instead attribute .attr()

Plugin has flexibility to define custom original source attribute. So, if user has defined defined attribute which begins with data-. Then it will be good to read using jQuery method .data() instead .attr().

This feature can not be implemented. Read here:
https://github.com/tuupola/jquery_lazyload/issues/144


push transaction json bad chars in memo

{"expiration":"2018-09-19T07:36:10","ref_block_num":35503,"ref_block_prefix":927242102,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"eosio.token","name":"transfer","authorization":[{"actor":"bxdeposit555","permission":"active"}],"data":{"from":"bxdeposit555","to":"withdrawals1","quantity":"0.0001 EOS","memo":"Hello\u0000world"}}],"transaction_extensions":[],"signatures":["SIG_K1_KmPtdBHVJHWPeuK9JX51xxCNVyUPjw27d41MHPRa5zKoCUvofgyodsPQvVJHRFsGPkGkbwiCBTD13VAtjvz9VHvyeAGRR2"]}

this is a valid json-encoded transaction with a null character in memo.
and it fails when trying to broadcast it...
cleos push transaction --skip-sign '{"expiration":"2018-09-19T07:36:10","ref_block_num":35503,"ref_block_prefix":927242102,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"eosio.token","name":"transfer","authorization":[{"actor":"bxdeposit555","permission":"active"}],"data":{"from":"bxdeposit555","to":"withdrawals1","quantity":"0.0001 EOS","memo":"Hello\u0000world"}}],"transaction_extensions":[],"signatures":["SIG_K1_KmPtdBHVJHWPeuK9JX51xxCNVyUPjw27d41MHPRa5zKoCUvofgyodsPQvVJHRFsGPkGkbwiCBTD13VAtjvz9VHvyeAGRR2"]}'
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

so there is some bug while decoding json or reading data afterwards which prevents from reaching signatures.

@taokayan signature is fine. when i create the same transaction with "usual" memo - i am able to broadcast it easily.
$ cleos version client
Build version: 08819aae
$ cleos get info
{
  "server_version": "08819aae",
  "chain_id": "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
  "head_block_num": 180112,
  "last_irreversible_block_num": 180111,
  "last_irreversible_block_id": "0002bf8f8daa371cbd115d3fd309c506867c349fd24fde56257969c371b247d2",
  "head_block_id": "0002bf904a1620459d48314c414ddf64ce510987877f2a4e4d06ebac6beada7d",
  "head_block_time": "2018-09-19T08:28:58.000",
  "head_block_producer": "eosio",
  "virtual_block_cpu_limit": 200000000,
  "virtual_block_net_limit":<PHONE_NUMBER>,
  "block_cpu_limit": 199900,
  "block_net_limit": 1048576,
  "server_version_string": "v1.2.5"
}

Not a bug. Strings are for text, not binary data.

It does seem like this should be a valid json transaction.  The null
character is properly escaped the same way any escaped Unicode would be.
I'm not sure I expect the contracts to behave properly but our binary
serialization should
On Wed, Sep 19, 2018, 7:54 AM Todd Fleming<EMAIL_ADDRESS>wrote:

Not a bug. Strings are for text, not binary data.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EOSIO/eos/issues/5740#issuecomment-422773256, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACYR4kVq1JiVJHRBuECftb15uMLqYKfyks5ucjCLgaJpZM4Wvip-
.

@tbfleming it's escaped. so it's a text data.
@wanderingbort absolutely agree. if software considers it a bad memo - error should indicate that, not other non-related error.

I think the limitation is that we don't treat "\u0000" as binary 0. Instead "\u0000" is actually treaded as 'u' + '0' + '0' + '0' + '0', which results in different signature. So the root cause is that the format of "\u" + 4 digit hex number is not parsed properly according to JSON standard(http://www.json.org/).
./cleos push action -j -d eosio.token transfer '["a123","eosio","10.0000 SYS","h\u0000abc"]'
{
  "expiration": "2018-09-19T07:18:14",
  "ref_block_num": 589,
  "ref_block_prefix":<PHONE_NUMBER>,
  "max_net_usage_words": 0,
  "max_cpu_usage_ms": 0,
  "delay_sec": 0,
  "context_free_actions": [],
  "actions": [{
      "account": "eosio.token",
      "name": "transfer",
      "authorization": [],
      "data": "00000000003044300000000000ea3055a086010000000000045359530000000009687530303030616263"
    }
  ],
  "transaction_extensions": [],
  "signatures": [],
  "context_free_data": []
}

I dont think so. Eosio uses null terminated string here. So it thinks that memo string has ended before it's actual end. I'm not profficient in cpp, this is just my observation :)
Solution: use buffer or some other string object with explicit length set.

Bug

JSON supports \u0000 in strings, but many things which which support JSON don't. e.g. PostgreSQL bans \u0000 in JSON strings, conditionally supports other escapes, and fully supports Unicode characters which aren't escaped.

looks like converting \u0000 to binary 0 might make thing more tricky to handle or results in security loopholes. I guess we'd better keep the current behaviour (treat \u0000 as '\u' + '0' + '0' + '0').

Please ask in eosio.stackexchange.com if you have further questions.

@Vasiliy-Bondarenko can you tell me how to reproduce it ?

@Shrey33 i think i was just constructing TX with eosjs library. and broadcasting with cleos after that.
just set memo to "Hello\u0000world"


Error/bug with OF BW

Hi @RDelg,
The RYU gives this error when number of hosts per-switch increase to 10:
hub: uncaught exception: Traceback (most recent call last):
File "/home/mininet/ryu/ryu/lib/hub.py", line 52, in _launch
func(*args, **kwargs)
File "/home/mininet/ryu/ryu/base/app_manager.py", line 287, in _event_loop
handler(ev)
File "/home/mininet/ryu/ryu/app/OF-BW-Control/Switch.py", line 137, in _meter_stats_reply_handler
if (self.rate_used[dpid][port][src] >= int(self.rate_allocated[dpid][port][src]*0.7)
KeyError:<PHONE_NUMBER>
It seems like a memory management problem ! or whet do you think!
Furthermore if we use it to monitor 2 Userswitch, its also gives the same issue
Regards,

Hi @akouSDN,
Your error occur when the handler tries to access to the port<PHONE_NUMBER>. Once I saw that number too and I took a screenshot of it:

Apparently this port is something particular, so searching I found this.
Port<PHONE_NUMBER> is a local port for OpenFlow so we just have to ignore it with a
exception.
Regards.

Hi @RDelg  I read the same article. Many thanks to solve the problem.
Regards,
Abdelhak


Cannot extract the table in the attached pdf

Hi there, I tried using the java version to parse the attached pdf. After I selected the table area via the web interface, I got the report back saying:
Preview of Extracted Tabular Data
No data.
Can you help me to understand what's the issue please?
/Winson
2014_CCR_Revised.pdf

Tabula only works on text-based PDFs, not scanned documents. If you can
click-and-drag to select text in your table in a PDF viewer (even if the
output is disorganized trash), then your PDF is text-based and Tabula
should work.
The table on your document is embedded as an image, so Tabula won't work.
Thanks!
On Feb 27, 2016 11:35 AM, "wwyung"<EMAIL_ADDRESS>wrote:

Hi there, I tried using the java version to parse the attached pdf. After
I selected the table area via the web interface, I got the report back
saying:
Preview of Extracted Tabular Data
No data.
Can you help me to understand what's the issue please?
/Winson
2014_CCR_Revised.pdf
https://github.com/tabulapdf/tabula/files/149421/2014_CCR_Revised.pdf
—
Reply to this email directly or view it on GitHub
https://github.com/tabulapdf/tabula/issues/469.

Hi
I am using searchable pdf(Text searchable pdf ) as input file in Tabula UI. the page has 2 tables, but after import the file the auto detect tables button is disabled. it means tabula does not detect the tables or problem in my pdf file.
input searchable pdf file -( scanned pdf -> converted searchable pdf using my application.)
Please help me to solve the issue.


application justification

appearance modification
I'm not a fan of how the application is left justified against the side. I'd like it to be centered on the page.
part of me is also wondering if I should make a background container for the health tracker. then I can change the placement of that on the screen rather than the entire main page.

I'm thinking one way to fix this would be if I actually made some containers that I could see for these.

As I show in the sketch, the whole thing would be contained within an icon.


Roll Flutter Engine from 8714b54a87c0 to ebe517bb49b1 (1 revision)

https://github.com/flutter/engine/compare/8714b54a87c0...ebe517bb49b1
2024-07-26<EMAIL_ADDRESS>Roll Fuchsia Test Scripts from clqtZA8cx4GEXwcOe... to dUCMHqU6ihfIFKAw8... (flutter/engine#54130)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Update /mnt/data/etc/network/interfaces on each boot

Otherwise it always reverts back to the first-boot settings once 04-persistent-data-volume.sh is done, and any further restarts of the networking service will revert to the old interfaces.
This problem was exposed by #1898. There are probably additional settings that might change /etc files on a reboot and need to be persisted, but I wanted to keep this PR small.
I'm also not sure what problem #1898 is actually solving; is there a pure Lime repro case, or is this just a fix for a bug in Colima (which doesn't even use Alpine anymore)?
@balajiv113 I would like to understand the root issue in case there is a better way to fix it.
Fixes https://github.com/rancher-sandbox/rancher-desktop/issues/6051

@jandubois
The issue that i noticed was related to alpine within lima as well.
When the dns ip got updated (with vz) in Alpine it was not working. The core issue that i noticed was dns ip and all was updated correctly but the resolver didn't take the latest value. That's why included a restart to pick up the latest value

When the dns ip got updated (with vz) in Alpine it was not working. The core issue that i noticed was dns ip and all was updated correctly but the resolver didn't take the latest value. That's why included a restart to pick up the latest value

Can you give me step-by-step instructions on how it got updated, and how you verified it? E.g. I don't see how restarting the networking service would update /etc/resolv.conf, so what am I looking for? Also lima-init is not updating resolv.conf, but changing the dhcp configuration.
So I would like to compare the effects of using cloud-init vs. lima-init, and check if there is any difference. But for that I need to know the exact steps on how to repro and verify the problem.

As far as i remember the steps are as follows,

Start a Alpine instance in lima 0.17.2 and check /etc/resolv.conf
Stop the instance
Upgrade lima to latest, and start the instance
Note that the /etc/resolve.conf has a new nameservers but DNS calls will fail
Run restart command it will work normally

As far as i remember the steps are as follows,

Thank you, I could reproduce it (with VZ only). The root cause turns out to be the same as for /etc/network/interfaces: /etc/resolv.conf is updated during boot, but when we bind-mount the persistent volume on top, it reverts back to the first-boot value:
lima-alpine:~# mkdir /bootfs
lima-alpine:~# mount --bind / /bootfs
lima-alpine:~# cat /bootfs/etc/resolv.conf
nameserver <IP_ADDRESS>
lima-alpine:~# cat /etc/resolv.conf
nameserver <IP_ADDRESS>

So the right fix IMO is to also copy the new version of the file to the persistent storage again on each boot. I've updated my PR, but left the TODO comment in there, as there might be still other settings that would benefit from the same treatment.
With this fix there is no longer a need to restart the networking service, assuming it was just done to force updating of /etc/resolv.conf via ifup and udhcpd.


add date field to resource template table

fixes #635
Show a date field for the available resource templates

Work is deferred for now. See #635

Hi @peetucket, should this draft PR be closed? We can keep your branch around for the next work cycle.

Yes, sounds fine.


replit support

Experimenting with bounties there
https://replit.com/@tarasglek1/chatcraftorg

What is this one about, being able to open it on Repl.it?

yes, just lets one edit on https://replit.com/. However their 500mb RAM is insufficient to bundle react with vite 🤷

We could add GitPod / Code Spaces too if you want that style of dev env.

I'm just experimenting, replit does a lot of PR, but I'm not impressed so far


32-bit version of WebPShop?

Is there a 32-bit version of this plug-in available?  The 64-bit version of Photoshop on Linux crashes, but the 32-bit version works, and so a 32-bit version of this plug-in would be wonderful.  Thanks!

Thank you for your interest in WebPShop.
The v0.2.1 release has a x86 binary:
https://github.com/webmproject/WebPShop/releases/tag/v0.2.1
I do not have the time to produce it for more recent versions, sorry.
Feel free to build it yourselves though: https://github.com/webmproject/WebPShop#build

Should the latest version, including dependencies, be compilable to x86 without any source adjustments?

I guess so, but I have not tried it since v0.2.1.


Bug: Kint Config isnt loaded

Describe the bug
After upgrading CI4.0.0rc to CI4.0.2 i'm getting this error when i call a simple side. I could fix it, when i added the Kint - Config from "vendor\codeigniter4\framework\app\Config" to "app\Config"
Error Message:
fapth@DESKTOP-Q52SKBB:/mnt/j/CI_Framework/public$ php index.php home index
An uncaught Exception was encountered
Type:        ErrorException
Message:     Trying to get property 'maxDepth' of non-object
Filename:    /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/CodeIgniter.php
Line Number: 232
Backtrace:
					-232 - /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/CodeIgniter.php::errorHandler
							-193 - /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/CodeIgniter.php::initializeKint
							-168 - /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/bootstrap.php::initialize
							-36 - /mnt/j/CI_Framework/public/index.php::require

CodeIgniter 4 version
CodeIgniter 4.0.2
Affected module(s)
Which package or class is the bug in, if known.
Expected behavior, and steps to reproduce if appropriate
A clear and concise description of what you expected to happen,
and how you got there.
Feel free to include a text/log extract, but use a pastebin facility for any
screenshots you deem necessary.
Context

OS: Linux on Windows 10 / Ubuntu 18.04
PHP version 7.2

You need self update config kint in your appstarter. See in history commit from repository appstarter

Or look my commit from sample project after update to last version sample update

Yes as @agungsugiarto says you need to copy in the Kint Config. Changes to App will always require intervention as described by the docs.


MNT: set_current_position basic error handling

If the user puts in a bad value to EpicsMotor.set_current_position, this method can abort before restoring the .SET field (set_use_switch) to the normal value of 0 (Use), leaving it at the value of 1 (Set). This can cause confusion when someone tries to move a motor manually later, only for the position to be set instead of used.
This is just a simple try/finally block, we still raise the exception caused by the bad input but we clean up after ourselves.

Was this PR number coordinated with https://github.com/bluesky/databroker/pull/666? 😆
Nice addition, @ZLLentz!


Add Japanese

Add Japanese...

ありがとうございました！ Having the app localised to more regions is great! Sorry for being that late on this pull request, but I was very busy and didn't hat a look at the project for a while. This is going to be released in the next version of the app!


Fix 7.8, 7.6 builds

Builds failing here, due to base being pre-AMP.
https://matrix.hackage.haskell.org/package/miso#GHC-7.8/miso-<IP_ADDRESS>

Sorry I'm a bit ignorant as to how to approach fixing this issue. I'd love to help out if you can help me out as to how to start replicating the issue then fixing it :)

Hey @FintanH, thanks for getting in touch. I saw this issue made it into the CFP. Think it might be best to tackle this one lazily and just wait until someone actually complains about 7.8 (or pre) support (almost 100% chance no one will) -- but someone did complain about Windows support, so who knows. I think your time might be better served in working on miso-from-html (https://github.com/dmjio/miso/issues/198) (if interested). It would be immensely helpful for all users, and help me as I finish https://haskell-miso.org. Right now this is what I have so far: https://github.com/dmjio/miso/issues/198. It's pretty straightforward Haskell. A similar, but more involved project would be blaze-from-html. You could convert the HTML -> Blaze -> Miso, but honestly, tagsoup (as shown in the gist on https://github.com/dmjio/miso/issues/198), might be enough. If you can make miso-from-html generate Haskell code (as a String is fine), that ghc can compile, that'd be great.

cc @alexeyzab

We're dropping 7.8 support. Similar to llvm-hs. https://github.com/llvm-hs/llvm-hs/issues/125


Single sign on / federated sign on

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/rec8a5wld8haS59Rm
Description: Enterprise customers can use single sign on / federation to sign into the MSO console
Team: Roland Crosby
Github Tracking Issue:

Closing this for now - this is partially addressed by new GitHub sign-in. More work to be done later but will open a new issue.


Infoblox 3.0.0 etc

Change(s):

Couple more necessity changes for #8343. Updated parser links to new .yaml. Couple UI fixes. Added description for workbook.

Version Updated:

Updated parser link in Infoblox-HighThreatLevelQueryNotBlockedDetected.yaml, Infoblox-ManyHighThreatLevelSingleQueryDetected.yaml and Infoblox-TI-InfobloxCDCMatchFound-LookalikeDomains.yaml

Hello @sschuur, Thanks for raising the PR. This will be investigated and will update you about the same before 30 August, 2023.

Hello @sschuur, Please resolve the arm ttk failure by incrementing the version of analytic rules mentioned in this PR.
Thanks.

Hi @v-prasadboke i incremented the versions in the .yamls to 1.0.1.

Hello @sschuur, Please repackage the solution again so that the modified changes in detection's would reflect in maintemplate

Hi @v-prasadboke whoops sorry incremented the versions in maintemplate. Also updated the data connector instructs and added that to maintemplate too. tiny fix.
Quick question: how do i get the workbook to appear as Related Content when looking at the data connector?
Thank you!

Hello @sschuur, Thank you for committing the requested changes.
Will examine the changes and update you about the same before 1 September, 2023.
And will update you too about the query you mentioned. But I was going through data connectors on Portal, Same case is happening with other connector to.
We will get back to you about this issue.
Thanks.


[6.0] Improve RangeSet union performance

Cherry pick of #74963 for Swift 6.0.

@swift-ci Please smoke test


UNIX_TIMESTAMP query Not working

$this->db->where('UNIX_TIMESTAMP(new_password_requested) >=', $time); this query is not working please check this

This is a bug tracker. Please post on our forums instead.