text:
OpenCV can`t process ROI got from pointcloud.calculate

Required Info

Camera Model
SR300

Firmware Version
3.15.0.0

Operating System & Version
Linux (Ubuntu 18.04)

Kernel Version
5.3.0-62-generic

Platform
PC

SDK Version
2.35.0

Language
python v3.6

Segment
others

Issue Description
I cut the ROI from a depth frame, using pointcloud and then process it with OpenCV. But I get the output that sequences, which get ROI as an input are empty.
I`ve already checked that "verts", which are a numpyarray, contain negative values. Is there a some way to process such a ROI? Thank you.

@Kosta404 , the description is not clear, can you elaborate and provide some screeshots/data snippets?

I cut the ROI from a depth frame, using pointcloud and then process it with OpenCV.

Do you crop ROI from the original depth or first generate a pointcloud and then apply custom ROI?

But I get the output that sequences, which get ROI as an input are empty.

It not clear from the context what do you mean by "sequences" and how those are generated.

I`ve already checked that "verts", which are a numpyarray, contain negative values

The vertices can have negative values for X and Y components  (but not Z) as the 3D origin is the location of the Depth sensor

@ev-mp
here is the code of cutting the ROI from a depth frame

here is the output of the array, which OpenCV can`t process

Sorry if the description is not clear, I`m new to such forums.

@Kosta404 , thank you for the additional info,
The SDK code and the generated vertices data (I presume those are the "sequences") are absolutely valid:

You have several vertices with no depth and consequently no vertices data; denoted as 0,0,0.
Then you have vertices that point to an object in front of the camera  - If I don't mistake for the axis order it is 13.4cm forward, ~4cm to the right and ~7cm down.

I'm not familiar with cv2.selecROI, but from its documentation it is not clear that it is intended to handle 3-dimensional data as an input.
ROI is well-defined for 2D images. For 3D scene a more frequent term is a rendering/processing frustrum which requires a camera's FOW and near/far clipping ranges to take the camera's perspective into account.
Maybe you want to apply ROI on original Depth frame and then use the cropped data to generate a pointcloud?

pointcloud

@ev-mp
I want to cut a ROI on depth frame and do tracking on it. But the only way to cut a ROI on depth frame is a method with a pointcloud. If there is the other way to do it can you please tell?
And I also want to see object only on a particular range f.e. (from 1.5 m to 3 m.) But the max/min distance option isn`t available on SR300. Can you suggest something.
Thank you.

@Kosta404 , there is no direct analogy for cv2.SelectROI as it represents a human-interactive call with mouse picking while the SDK is primarily interacts with HW layer.
You can, however, break it down to a sequence of sub-routines and obtain  same functionality with Librealsense quite intuitively:

Present the picture using the available renderer. There are examples how to visualize RealSense depth data with OpenCv in the wrappers chapter.
Select the ROI in the 2D view. Technically you'll get a bounded rectangle (left,right,up,down) .
Generate the Pointcloud from the original depth frame (using the code you already have)
Extract a sub-buffer from frame.get_vertices() bounded by the ROI parameters collected in (2).
Run the tracking algorithm...

@Kosta404 , there is no direct analogy for cv2.SelectROI as it represents a human-interactive call with mouse picking while the SDK is primarily interacts with HW layer.
You can, however, break it down to a sequence of sub-routines and obtain same functionality with Librealsense quite intuitively:
1. Present the picture using the available renderer. There are examples how to visualize RealSense depth data with OpenCv in the [wrappers chapter](https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv).

2. Select the ROI in the 2D view. Technically you'll get a bounded rectangle (left,right,up,down) .

3. Generate the Pointcloud from the original depth frame (using the code you already have)

4. Extract a sub-buffer from `frame.get_vertices()` bounded by the ROI parameters collected in (2).

5. Run the tracking algorithm...

@ev-mp
I found the way to do what I wanted. Thank you.
But still how can I display objects on a particular distance if preprocessing options "min_distance" and "max_distance" are disabled on SR300?

@Kosta404 , there is no direct analogy for cv2.SelectROI as it represents a human-interactive call with mouse picking while the SDK is primarily interacts with HW layer.
You can, however, break it down to a sequence of sub-routines and obtain same functionality with Librealsense quite intuitively:
1. Present the picture using the available renderer. There are examples how to visualize RealSense depth data with OpenCv in the [wrappers chapter](https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv).

2. Select the ROI in the 2D view. Technically you'll get a bounded rectangle (left,right,up,down) .

3. Generate the Pointcloud from the original depth frame (using the code you already have)

4. Extract a sub-buffer from `frame.get_vertices()` bounded by the ROI parameters collected in (2).

5. Run the tracking algorithm...

@ev-mp
I found the way to do what I wanted. Thank you.
But still how can I display objects on a particular depth if preprocessing options "min_distance" and "max_distance" are disabled on SR300?

@Kosta404 ,

And I also want to see object only on a particular range f.e. (from 1.5 m to 3 m.) But the max/min distance option isn`t available on SR300. Can you suggest something?

SR300 is a Short Range camera with maximal range up to 2 meters and best results achieved for depth under 1 meter , so it may not fit for that particular use-case. There are other RealSense Depth cameras, such as D415, D435(i), L515 and the recently announced D455 that you can consider.

@Kosta404 ,

And I also want to see object only on a particular range f.e. (from 1.5 m to 3 m.) But the max/min distance option isn`t available on SR300. Can you suggest something?

SR300 is a Short Range camera with maximal range up to 2 meters and best results achieved for depth under 1 meter , so it may not fit for that particular use-case. There are other RealSense Depth cameras, such as D415, D435(i), L515 and the recently announced D455 that you can consider.

@ev-mp Ok, I`ve got what you mean, but how can I filter objects within this range by deth?

@Kosta404 ,

And I also want to see object only on a particular range f.e. (from 1.5 m to 3 m.) But the max/min distance option isn`t available on SR300. Can you suggest something?

SR300 is a Short Range camera with maximal range up to 2 meters and best results achieved for depth under 1 meter , so it may not fit for that particular use-case. There are other RealSense Depth cameras, such as D415, D435(i), L515 and the recently announced D455 that you can consider.

thank you for being helpful


text:
Threshold on Depth Image

Required Info

Camera Model
D435i

Firmware Version
05.12.07.100

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
4.9.140-tegra

Platform
Nvidia Jetson Xavier

SDK Version
2.35.2

Language
C++

I want to threshold the depth between two values without using realsense-ros. I currently have the code below. I am applying the filter to one depth map and not the other and then converting both images to opencv Mat so I can display using cv2::imshow(). The issue is that the threshold filter does not seem to be working. I am applying the filter and changing its parameters but nothing changes in the resulting image. Any suggestions? Am I using this filter wrong?
Code:
`int main(int argc, char **argv) try
{
// SET UP REALSENSE
rs2::colorizer color_map; // Declare depth colorizer for pretty visualization of depth
rs2::pipeline pipe; // Declare RealSense pipeline, encapsulating the device and sensors
// Start streaming with default recommended configuration. The default video configuration contains Depth and Color streams, Gyro and Accelerometer are enabled by default
pipe.start();
rs2::decimation_filter dec_filter;
rs2::spatial_filter spat_filter;
rs2::spatial_filter spat_filter_alpha;
rs2::threshold_filter thres_filter(0.15f, 4.f);
rs2::temporal_filter temp_filter;

rs2::frameset data = pipe.wait_for_frames();    // Wait for next set of frames from the camera
rs2::frame depth = data.get_depth_frame().apply_filter(color_map);
// Query frame size (width and height)
const int w = depth.as<rs2::video_frame>().get_width();
const int h = depth.as<rs2::video_frame>().get_height();

spat_filter_alpha.set_option(RS2_OPTION_FILTER_SMOOTH_ALPHA, 1);

spat_filter.set_option(RS2_OPTION_HOLES_FILL, 2);

while (waitKey(1) < 0){
    rs2::frameset data = pipe.wait_for_frames();// Wait for next set of frames
    rs2::frame depth = data.get_depth_frame().apply_filter(color_map); //rs depth frame
    rs2::frame depth1 = data.get_depth_frame().apply_filter(color_map); //rs depth frame
    depth = spat_filter_alpha.process(depth);
    depth = spat_filter.process(depth);
    depth = thres_filter.process(depth);

    Mat frame_depth1(Size(w, h), CV_8UC3, (void*)depth1.get_data(), Mat::AUTO_STEP);
    Mat frame_depth(Size(w, h), CV_8UC3, (void*)depth.get_data(), Mat::AUTO_STEP);

    // Save frame to video
    imshow("depth filtered", frame_depth);
    imshow("depth raw", frame_depth1);

    //cv_ptr->image = frame_depth;
    //cv_ptr->encoding = "bgr8";
    //image_pub_.publish(cv_ptr->toImageMsg());

    // Exit if ESC pressed.
    int k = waitKey(1);
    if(k == 27){
        break;
    }

}

}
catch (const rs2::error & e)
{
std::cerr << "RealSense error calling " << e.get_failed_function() << "(" << e.get_failed_args() << "):\n    " << e.what() << std::endl;
return EXIT_FAILURE;
}
catch (const std::exception& e)
{
std::cerr << e.what() << std::endl;
return EXIT_FAILURE;
}
`

Hi @sdkaplan    Does the threshold filter work if you configure the minimum and maximum with the C++ instructions below, please?
thres_filter.set_option(RS2_OPTION_MIN_DISTANCE, 0.15);
thres_filter.set_option( RS2_OPTION_MAX_DISTANCE, 4.0);

I would also recommend applying threshold filter before colour map

I applied both suggestions and it works now! Thanks so much!

That's great to hear @sdkaplan - thanks for the update!

source: gharchive/issue

authors: MartyG-RealSense dorodnic sdkaplan

repo: IntelRealSense/librealsense

license_type: permissive

license_source: github-api


text:
Frame timestamp discrepancy

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D415

Firmware Version
2.39.0.2337

Operating System & Version
Win10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
{ legacy / 2.. }

Language
python

Segment
other

Issue Description
I am trying to extract latest frame using wait_for_frames/poll_for_frames but the frame timestamp that I am getting using get_frame_timestamp has a lower value when compared to the timestamp at the time of calling wait_for_frames/poll_for_frames.
I am using the following code for the same.
pipeline=rs.pipeline()
config=rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 6)
profile=pipeline.start(config)
d_sensor=profile.get_device().first_depth_sensor()
d_sensor.set_option(rs.option.visual_preset, 3)
depth_scale = d_sensor.get_depth_scale()
d_sensor.set_option(rs.option.global_time_enabled,1)
c=0
try:
    while c<5:
        t1=time.time()
        print(t1)
        frames = pipeline.wait_for_frames()
        depth_frame = frames.get_depth_frame()
        if not depth_frame:
            continue
        d_time = depth_frame.get_timestamp()/1000
        print("Depth frame timestamp:"+str(d_time))
        depth_image = np.asanyarray(depth_frame.get_data())/depth_scale
        c+=1
finally:
    pipeline.stop()

Output:
1609860437.379545
Depth frame timestamp:1609860437.3582704
1609860437.5453537
Depth frame timestamp:1609860437.5248868
1609860437.7119782
Depth frame timestamp:1609860437.6915023
1609860437.8788202
Depth frame timestamp:1609860437.858115
1609860438.045043
Depth frame timestamp:1609860438.0247257

Hi @jasdeep06   Do you get more satisfactory timestamp results if you set rs.option.global_time_enabled to '0' (false) instead of '1' (enabled) please?
I ask this because I recall a recent case where drift between timestamps was significantly reduced when global time was made false.
https://github.com/IntelRealSense/librealsense/issues/8003

Hi @jasdeep06   Do you get more satisfactory timestamp results if you set rs.option.global_time_enabled to '0' (false) instead of '1' (enabled) please?
I ask this because I recall a recent case where drift between timestamps was significantly reduced when global time was made false.
https://github.com/IntelRealSense/librealsense/issues/8003

@jasdeep06 hello, this is a possible and even a plausible scenario as the frame's timestamp designates either (a) the time point the frame was generated in Hardware or (b) the time it was acquired by the SDK.
In first case it should occur 100% of the time, while in the latter - it depends on the timestamp type and the propagation latency, still for most cases the timestamp should be lower than the time wait_for_frames call was made.
Please see the documentation on timestamp types

@jasdeep06 hello, this is a possible and even a plausible scenario as the frame's timestamp designates either (a) the time point the frame was generated in Hardware or (b) the time it was acquired by the SDK.
In first case it should occur 100% of the time, while in the latter - it depends on the timestamp type and the propagation latency, still for most cases the timestamp should be lower than the time wait_for_frames call was made.
Please see the documentation on timestamp types

Hi @jasdeep06   Do you require further assistance with this case, please?  Thanks!

Hi @jasdeep06   Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.

Case closed due to no further comments received.

authors: MartyG-RealSense ev-mp jasdeep06


text:
[TEST IGNORE]

Required Info

Camera Model
R200 / F200 / SR300 / ZR300 / D400

Firmware Version

Operating System & Version

Kernel Version (Linux Only)

comment

comment

test

testing

test

test

comment

close


text:
Add tags to ores for better compat

Description
Now the ores doesn't have forge oredict tags, so that they cannot be identified by other ore processing mods (e.g. Mekanism) and I can only process it with the vanilla furnace. Please add tags to them in order to have better mod compat.
Links
No response

Hey! Looks like I forgot to add even more tags for mekanism compatibility. Will do that soon.

Hey! Just uploaded 0.1.6b where its fixed! Hope I got all this time.

authors: HydrogenC UnhappyCodings

repo: IntelligenceModding/thoriumreactors

license: MIT


text:
mubert-base.commons-collections.mid-1213.idx-20298.17.mutant

Fix formatting

Fix indentation LGTM!

source: gharchive/pull-request

repo: Intelligent-CAT-Lab/UIUCPlus

license: NCSA


text:
Where can I find the MMBench-CN and CCBench data?

Where can I find the MMBench-CN and CCBench data?  The link in readme just jumps to opencompass.

Thank you for your attention. For more information about the release timeline of MMBench-CN and CCBench, please contact opencompass@pjlab.org.cn.

repo: InternLM/InternLM-XComposer


text:
Enrich section "Develop your component - IDS Vocabulary Provider"

Enrich section Develop your component - IDS Vocabulary Provider
This section is about how to develop/implement your IDS Vocabulary Provider. It should provide the most important links and a short guidance on how to apply them.
Please think about the following points while adding the information:
• Why are you adding the content? (Why is it important for the building of the component.)
• In which stage is it important?
• How do you recommend to apply the links or the information?
• What are relevant links?

This will be taken into consideration in two ways:

"how to build data spaces?" guide (if the user wants to develop a component by themselves)
deployment scenarios (if the user wants to use one of the existing building blocks)

and will be added as separate tasks when necessary.

authors: aliasimon anilturkmayali


text:
cardano-cli cannot sign with ConstitutionalCommittee Cold/Hot ExtendedSigningKey_ed25519_bip32

This issue was marked as solved and merged, but is not working with cardano-cli 8.20.0.0
https://github.com/IntersectMBO/cardano-cli/issues/586
@smelc

@mkoura> alas signing with CC extended keys didn't make it to 8.20.0.0, it was merged just after the release:

It will be there in the next release of cardano-cli!

@mkoura> note we'll release cardano-cli soon, to provide you with https://github.com/IntersectMBO/cardano-cli/pull/561 too; so stay tuned :slightly_smiling_face:

authors: gitmachtl smelc

repo: IntersectMBO/cardano-cli


text:
constrained-generators: Fix bug in reifies

Description
When looking at improving some error messages I encountered a bug in reifies whereby reifies 10 x id would simplify away to TrueSpec. This was an oopsie introduced by yours truly but here is a fix!
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[x] New tests are added if needed and existing tests are updated
[x] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[x] The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[x] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
[x] Self-reviewed the diff

Note, this also significantly improves error messages by turning what used to be a local call to error into a much later call to error - thereby preserving a bunch of context that would have disappeared before.

I've also added a bunch more error reporting and fixed a bug in the dependency calculator here too.

repo: IntersectMBO/cardano-ledger


text:
[BUG] - "Unable to find a truncate point" with slot based truncation

Internal/External
Internal
Summary
DB truncating by slot seems to frequently throw the following error, even when the slot given should be within the immutable range:
Unable to find a truncate point. This is because the ImmutableDBdoes not contain a block with the given slot or block number.

This message started with the db-truncater bundled with node from a few node versions ago, possibly around node 8.10 or 8.11.  At the time, just adjusting the requested truncation slot lower to an earlier epoch (or two or three) would solve the problem.
However, with the latest db-truncater bundled with node 9.1, testing on a preview chain, most attempted valid slot given to db truncater seems to immediately throw this error.
While db truncating by block seems to behave normally, truncating by slot is more convenient for calculation purposes, for example, if truncation to the start of a specific epoch is desired.
Steps to reproduce
Steps to reproduce the behavior:

Get db state to test on, example preview network
Run db-analyser on the db state:

❯ db-analyser   --db "$DATA_DIR/db"   cardano   --config "$DATA_DIR/config.json"
[312.466036s] Started OnlyValidation
[312.466229s] Done
ImmutableDB tip: At (Block {blockPointSlot = SlotNo 55860676, blockPointHash = 0a1d3e4668b8703a28221655d2328c24e1e556e6e15abb6f845816fdaff9098a})

Try truncation by slot.  Try several, starting with a valid immutable slot lower than the immutable tip slot shown above in the db-analyser output and backing down the slot value on each failure until we succeed:

❯ db-truncater  --db "$DATA_DIR/db"  --truncate-after-slot 55800000  cardano  --config "$DATA_DIR/config.json"
Unable to find a truncate point. This is because the ImmutableDBdoes not contain a block with the given slot or block number.

# Try again with slot 55000000, same error
# Try again with slot 50000000, same error
# Try again with slot 40000000, same error
# Try again with slot 10000000, same error

# Try again with slot 1000, success!
❯ db-truncater  --db "$DATA_DIR/db"  --truncate-after-slot 1000  cardano  --config "$DATA_DIR/config.json"

❯ db-analyser   --db "$DATA_DIR/db"   cardano   --config "$DATA_DIR/config.json"
[0.072284s] Started OnlyValidation
[0.072533s] Done
ImmutableDB tip: At (Block {blockPointSlot = SlotNo 1000, blockPointHash = 8f20b5378629cc15e78edf6084c2eb75cd1698074abdb6f422ed6ed195b4314e})

To contrast the above, truncating by block number works on the first attempt.  Maybe I've just gotten lucky the few times I've tested with block truncation vs. slot truncation, but block truncation doesn't seem to have the same problem AFAIK.  The follow up db-analyser shows the immutable tip is close to the specified truncation block.
❯ db-truncater  --db "$DATA_DIR/db" --truncate-after-block 2000000 cardano  --config "$DATA_DIR/config.json"

❯ db-analyser   --db "$DATA_DIR/db"   cardano   --config "$DATA_DIR/config.json"
[254.084486s] Started OnlyValidation
[254.084728s] Done
ImmutableDB tip: At (Block {blockPointSlot = SlotNo 46755827, blockPointHash = 275a9e21c2a0bc557196cf196866d09d5b960d770e6cfaa4d98e90160b514234})

Expected behavior
Truncation at the specified valid slot which is present in immutable files per db-analyser reported immutable slot tip.
System info (please complete the following information):

OS Name: NixOS
OS Version: 24.05
Consensus version: db-truncater from node 9.1 flake, package marked as version 0.18.0.0

This is due to #1143, in particular 5747d3c76f3a2a73635f010f568cef1c4724b32f, which made truncation constant time instead of linear time (in the number of blocks until the truncation cutoff), but also comes with a change in behavior:
db-truncater: make slot truncation constant-time

This also slightly changes the semantics: Previously, it would truncate to the
block with the largest slot that is smaller or equal to the slot argument. Now,
it will only truncate to the (non-EBB) block in exactly that slot, and fail
otherwise.

In fact, the new behavior more closely corresponds to the CLI description:

  --truncate-after-slot SLOT_NUMBER
                           The slot number of the intended new tip of the chain
                           after truncation

So the problem in the examples you give above is that there is no block with e.g. exactly slot number 55000000 in the preview db (nearest blocks are in slot 54999994 and 55000001). That's why the error message says that the db "does not contain a block with the given slot [...] number."
Now the question is: Is this new behavior very inconvenient for you, or is it not a problem now that it is clear what is going on? It should be straightforward to bring back the old behavior behind a flag. Sorry that I didn't check with you in advance!

Thank you for the explanation and clearing up my confusion!  I don't run the truncate command very often so scanning sequentially to find the closest valid slot to a desired target won't pose a problem.  Also it's nice to have constant time with the command now, thank you!

The more I think about, the more I like the previous behavior of --truncate-after-slot. I opened #1203 to restore it as it is a really small change. You can get a corresponding db-truncater via
nix build github:IntersectMBO/ouroboros-consensus/amesgen/db-truncater-clip-slot#db-truncater

authors: amesgen johnalotoski

repo: IntersectMBO/ouroboros-consensus


text:
Add overview of the tasks of a caught-up node

Closes #1057

Rendered


text:
Dump outbound governor state on SIGUSR1

Currently we only dump the connection manager state, but we should also dump outbound governor state on SIGUSR1 for debugging information.

closed by #4789

repo: IntersectMBO/ouroboros-network


text:
[Feature request] Support for python 3.8+ versions.

I had gone through the packages associated with fastapi-azure-auth and found that none of them needs a python version higher then 3.8. And if we can import some of the type hints from typing instead of using inbuilt type hints(as per the new feature in python 3.9 and a few other changes, we can serve a bit wider audience with this nice package. Are you open for a PR in this context?

Hi! Yes, I'd gladly accept a pull request for this! 😊

repo: Intility/fastapi-azure-auth


text:
🛑 xstadion.no is down

In 9030202, xstadion.no (https://xstadion.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: xstadion.no is back up in 7f3143a after 37 minutes.

repo: Intus-AS/Types-status


text:
🛑 tobbdrift.no is down

In d373aa3, tobbdrift.no (https://tobbdrift.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tobbdrift.no is back up in 1918283 after 18 minutes.


text:
🛑 fossli.no is down

In 8f0a2ed, fossli.no (https://fossli.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fossli.no is back up in a039f26 after 27 minutes.


text:
Replace JSBin with CodePen

http://jsbin.com/lenoxawofu/edit?html,css,js,console,output says "This bin was created anonymously and its free preview time has expired"

Phew! Had no idea the JSBin docs expire... 😁 Thanks for this! 🍰

authors: IonicaBizau rhnvrm

repo: IonicaBizau/github-calendar

license: mit

license_source: bigquery


text:
🛑 IPAP Certificados is down

In 3d9aa6d, IPAP Certificados (http://certificados.ipap.chaco.gov.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IPAP Certificados is back up in 7002c5d after 11 minutes.

repo: Ipapticsjbiain/EstadoDePaginas


text:
Feature: Yield-From; Overview implementation steps for yield from

The following list describes the work which has to be done, for implementing yield from:
Parser

The parser needs to recognize the from-keyword (optional)
The parser has to evaluate the following (behind from) expression

AST

The Yield-Expression has to be modified, to store the from information. Maybe here is a boolean flag enough and using the existing expression can be reused.

.. to be continued ..

I've got everything I need from @DinoV


text:
[FIX] Move list of contributors to bottom of index page.

I moved the list of contributors (with the links to their GitHub profiles) inside the footer tag. This still needs work with fully displaying the number next to each list item.

@UPstartDeveloper thanks for your contribution.
Keep contributing, HAPPY HACKING.


text:
Provides support for remote database access.

GitHub Issue: N/A

Other Relevant Links (Google Groups discussion, related pull requests,
Release pull requests, etc.)

What does this Pull Request do?
It allows the crayfish database to live on a non-local database server.
What's new?
The parameters that allow for remote database creation and connection.
How should this be tested?
Set up a remote database server and specify the necessary parameter overrides.
Interested parties
Tag (@ mention) interested parties or, if unsure, @Islandora-Devops/committers

@dbernstein @dannylamb i pulled in this PR, made the 2 package name changes, and was able to deploy with Gemini database hosted in AWS RDS. if this is updated, i can give an official review.

authors: dbernstein elizoller

repo: Islandora-Devops/ansible-role-crayfish


text:
Install the Syn jar

Resolves: https://github.com/Islandora-CLAW/CLAW/issues/777

@whikloj
Can you pls have another look at this PR.  Thanks.

@Natkeeran I think this is what was missing, but I am running into the blazegraph problems now. So I'll have to come back later to ensure this does what I think. Still not sure if this was in Tomcat and we lost it or if we never configured Syn correctly in the beginning.

[whikloj@net227.lib.umanitoba.ca 15:56 ]
[/sw/var/www/DAM2/claw-playbook]
> curl -i http://localhost:8080/fcrepo/rest
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: private
Expires: Thu, 01 Jan 1970 00:00:00 UTC
ETag: W/"d3a7f9f7a5d0a2c5c24b40e61068ffee6175868e"
Last-Modified: Thu, 01 Mar 2018 20:13:44 GMT
Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#Container>;rel="type"
Link: <http://www.w3.org/ns/ldp#BasicContainer>;rel="type"
Accept-Patch: application/sparql-update
Accept-Post: text/turtle,text/rdf+n3,text/n3,application/rdf+xml,application/n-triples,application/ld+json,multipart/form-data,application/sparql-update
Allow: MOVE,COPY,DELETE,POST,HEAD,GET,PUT,PATCH,OPTIONS
Preference-Applied: return=representation
Vary: Prefer
Vary: Accept, Range, Accept-Encoding, Accept-Language
Content-Type: text/turtle;charset=utf-8
Content-Length: 3186
Date: Thu, 01 Mar 2018 21:56:46 GMT

@prefix schema:  <http://schema.org/> .
@prefix premis:  <http://www.loc.gov/premis/rdf/v1#> .
@prefix bf:  <http://id.loc.gov/ontologies/bibframe/> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix pcdm:  <http://pcdm.org/models#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix acl:  <http://www.w3.org/ns/auth/acl#> .
@prefix pcdmfmt:  <http://pcdm.org/file-format-types#> .
@prefix ns002:  <http://fedora.info/definitions/v4/api-extension#> .
@prefix ns001:  <http://fedora.info/definitions/v4/service#> .
@prefix xsi:  <http://www.w3.org/2001/XMLSchema-instance> .
@prefix geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix xmlns:  <http://www.w3.org/2000/xmlns/> .
@prefix pcdmuse:  <http://pcdm.org/use#> .
@prefix xml:  <http://www.w3.org/XML/1998/namespace> .
@prefix pcdmwrks:  <http://pcdm.org/works#> .
@prefix rel:  <http://id.loc.gov/vocabulary/relators/> .
@prefix dcterms:  <http://purl.org/dc/terms/> .
@prefix event:  <http://fedora.info/definitions/v4/event#> .
@prefix prov:  <http://www.w3.org/ns/prov#> .
@prefix islandorarelsint:  <http://islandora.ca/ontology/relsint#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix cc:  <http://creativecommons.org/ns#> .
@prefix ore:  <http://www.openarchives.org/ore/terms/> .
@prefix test:  <info:fedora/test/> .
@prefix fedoramodel:  <info:fedora/fedora-system:def/model#> .
@prefix gn:  <http://www.geonames.org/ontology#> .
@prefix pcdmrts:  <http://pcdm.org/rights#> .
@prefix islandorarelsext:  <http://islandora.ca/ontology/relsext#> .
@prefix dwc:  <http://rs.tdwg.org/dwc/terms/> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix fedora:  <http://fedora.info/definitions/v4/repository#> .
@prefix nfo:  <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix ebucore:  <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
@prefix ldp:  <http://www.w3.org/ns/ldp#> .
@prefix iana:  <http://www.iana.org/assignments/relation/> .
@prefix xs:  <http://www.w3.org/2001/XMLSchema> .
@prefix config:  <info:fedoraconfig/> .
@prefix exif:  <http://www.w3.org/2003/12/exif/ns#> .
@prefix dc:  <http://purl.org/dc/elements/1.1/> .

<http://localhost:8080/fcrepo/rest/>
        fedora:lastModified            "2018-03-01T20:13:44.528Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
        rdf:type                       ldp:RDFSource ;
        rdf:type                       ldp:Container ;
        rdf:type                       ldp:BasicContainer ;
        fedora:writable                "true"^^<http://www.w3.org/2001/XMLSchema#boolean> ;
        rdf:type                       fedora:RepositoryRoot ;
        rdf:type                       fedora:Resource ;
        rdf:type                       fedora:Container ;
        ldp:contains                   <http://localhost:8080/fcrepo/rest/apix/extensions> ;
        ldp:contains                   <http://localhost:8080/fcrepo/rest/apix/ontologies> ;
        ldp:contains                   <http://localhost:8080/fcrepo/rest/apix/services> ;
        fedora:hasTransactionProvider  <http://localhost:8080/fcrepo/rest/fcr:tx> .

[whikloj@net227.lib.umanitoba.ca 15:56 ]
[/sw/var/www/DAM2/claw-playbook]
> curl -i http://localhost:8080/fcrepo/rest -XPOST
HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1068
Date: Thu, 01 Mar 2018 21:56:51 GMT

<!DOCTYPE html><title>Apache Tomcat/8.0.32 (Ubuntu) - Error report</title>
HTTP Status 401 - Token authentication failed.

type Status report

message Token authentication failed.

description This request requires HTTP authentication.

Apache Tomcat/8.0.32 (Ubuntu)
%

[whikloj@net227.lib.umanitoba.ca 15:56 ]
[/sw/var/www/DAM2/claw-playbook]
> curl -i http://localhost:8080/fcrepo/rest -XPOST -H"Authorization: Bearer islandora"
HTTP/1.1 201 Created
Server: Apache-Coyote/1.1
ETag: W/"bff5b826e8d977a56745f39eea8384aa128e5630"
Last-Modified: Thu, 01 Mar 2018 21:59:18 GMT
Location: http://localhost:8080/fcrepo/rest/e7/de/9b/28/e7de9b28-3e16-48d3-b01b-7c5f2a42944a
Content-Type: text/plain
Content-Length: 82
Date: Thu, 01 Mar 2018 21:59:18 GMT

http://localhost:8080/fcrepo/rest/e7/de/9b/28/e7de9b28-3e16-48d3-b01b-7c5f2a42944a

Works as expected.
Without authorization
curl -i -XPUT "http://localhost:8080/fcrepo/rest/tester"
HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1068
Date: Tue, 27 Mar 2018 17:58:10 GMT

<!DOCTYPE html><title>Apache Tomcat/8.0.32 (Ubuntu) - Error report</title>
HTTP Status 401 - Token authentication failed.

type Status report

message Token authentication failed.

description This request requires HTTP authentication.

Apache Tomcat/8.0.32 (Ubuntu)

With authorization
curl -i -XPUT -H "Authorization: Bearer islandora"  "http://localhost:8080/fcrepo/rest/tester"
HTTP/1.1 201 Created
Server: Apache-Coyote/1.1
Cache-Control: private
Expires: Thu, 01 Jan 1970 00:00:00 UTC
ETag: W/"fa64549bf6bd850b8ebc27d31c3dfa71ae8d5f67"
Last-Modified: Tue, 27 Mar 2018 18:03:26 GMT
Location: http://localhost:8080/fcrepo/rest/tester
Content-Type: text/plain
Content-Length: 45
Date: Tue, 27 Mar 2018 18:03:26 GMT

http://localhost:8080/fcrepo/rest/testernat@natubuntu:~/Desktop/claw-playbook$ ^C

authors: Natkeeran whikloj


text:
Pulling in changes for 8.7, setting config, and clearing cache afterwards

GitHub Issues
Resolves https://github.com/Islandora-CLAW/CLAW/issues/1110 and https://github.com/Islandora-CLAW/CLAW/issues/1095 and https://github.com/Islandora-CLAW/CLAW/issues/1144
Supersedes https://github.com/Islandora-Devops/claw-playbook/pull/108/files
Installs 8.7, clears the cache, and pulls in the latest Islandora module, which has a nice refactor to normalize how we're generating urls.

Looks like Travis has been pacified on https://github.com/Islandora-CLAW/islandora/pull/144.  This is good to test.  I made content and media, and verified triplestore and fedora indexing.  Should probably take a look at a translated piece of content just to be sure I don't introduce any regressions.

vagrant up 🚀

Something went wrong. The build completed successfully but for some reason our additional media fields, for example field_media_use and field_media_of, are no longer enabled on the form display by default.

They are also disabled in the display settings. Fortunately everything works once I enable them.

Whoops, I must have aggressively cut that out when clearing out the
install/uninstall/reinstall rigamarole. Good jorb, Danny.
On Fri, Jun 21, 2019, 15:35 Jared Whiklo notifications@github.com wrote:

@whikloj commented on this pull request.
In post-install.yml
https://github.com/Islandora-Devops/claw-playbook/pull/118#discussion_r296368522
:

   command: "{{ drush_path }} --root {{ drupal_core_path }} -y en islandora_defaults"

name: Import feature

 command: "{{ drush_path }} --root {{ drupal_core_path }} -y fim --bundle=islandora islandora_defaults"

Re: @seth-shaw-unlv https://github.com/seth-shaw-unlv's comments I also
got the same behaviour. I re-added this "Import feature" and everything
seemed to come up hunky-dorry.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Islandora-Devops/claw-playbook/pull/118?email_source=notifications&email_token=AE6PSH3Q4LZTHUV4HE5BM2TP3UUQPA5CNFSM4HZTAX4KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4KHDSY#pullrequestreview-252998091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE6PSHZMZYQZ2NCFBD2QHBLP3UUQPANCNFSM4HZTAX4A
.

Alright, good to go here.  Sorry about that.

vagrant up

@dannylamb I'm assuming I need to merge https://github.com/Islandora-CLAW/islandora/pull/144, then you need to update this PR, then I can merge this?

@whikloj You got it.

@whikloj Updated to point back to dev-8.x-1.x

authors: dannylamb seth-shaw-unlv whikloj

repo: Islandora-Devops/claw-playbook


text:
Get working with Kubernetes with auto scaling for micro-services

Originally from the https://github.com/Islandora-Devops/isle-buildkit/README.md

Get working with Kubernetes with auto scaling for micro-services

This ticket is from a time before we split the repo to have a separated isle-dc. The repository is now only responsible for constructing the images not for any orchestration. If we do eventually have a public implementation using ECS/EKS it will live in a different repository and just consume the images produced by this one.

repo: Islandora-Devops/isle-buildkit


text:
Displaying images using Cantaloupe

Hello, I have successfully launched the program, and it is working well.
However, when I try to add an image or string to Cantaloupe, they do not appear as intended.
Strangely, when I add the sample image using this link: it shows up correctly.
This is a sample image in both cases.
With the sample image :

And this is the other version that is not working

Can you please help me,

An image overlay must be a 24-bit PNG image, either RGB or RGBA. It will be blended pixel-for-pixel into the output image.
aand for string :
String overlays are dynamically rendered onto an image using Java 2D. The font family, size, weight, color, stroke color, background color and opacity, etc.,


text:
BUG:our plan our program become a member needs to be aligned

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

Record

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

Hello @Its-Aman-Yadav please assign this issue to me under gssoc 24

repo: Its-Aman-Yadav/Community-Site


text:
Make dynamic update calls work and small bugfix

Hi Korin,
In my project I dynamically add an entire instance of a postprocessingconfig resource to the node dynamically, so I figured it would be more efficient to make the "update shaders" function by default public, so I could call it instead of flipping the toggle to force update.
Looking at @SAED2906 's addition of set functions, I added a by-default TRUE variable to the main node to enable/disable loading these values dynamically. The "enter scene tree" call to the function isn't touched so disabling this code shouldn't impact loading. Hope this is an OK compromise for you both. If not, happy to remove it, as it doesn't change anything in my project.
The chromatic abberation filter was also the only one that wasn't hidden by default which is important doing things the way I have as the absence of any config (I think) should default to any config being applied, the chromatic abberation was the only one which had that default visibility.
I also removed the positive is_editor_hint() case as mentioned in my issue #12 but am open if there's something I missed here.
Thanks guys.

Just another end user, but your changes are definitely helpful. I actually couldn't get screen shake to work at all without manually calling update(), so marking it non private certainly makes sense to me.

authors: Loufe zaknafean

repo: ItsKorin/Godot-Post-Process-Plugin


text:
Add hover feature in buttons of Services Section

Description
Add hover feature in buttons of Services Section with a bit of realistic css in it
Screenshots
No response
Additional information
Guidelines ⚠
I will follow the Setup Guidelines
I will follow the Contributing Guidelines
I will follow the Code of Conduct

Notice ⛔
You will make PRs only to itsroy69-main branch.
Commit message / PR title--> fix: bla bla bla
Please make sure in the .css files you are making/using , the styles should be applied to Unique Class names

Completed / Doubts ? 🚀
Once you are done with the code , please tag me in #milan with the Screenshot of whatever you made so that we can review that there together.
If you have any doubts, queries please tag me in #doctalk so that we can discuss the issue there together.
Cheers 🥂

can i restore the old photo that i made in heading cause the new one have some problems + fixing the contact us section and unit all the hover state in all buttons

The old photo took a lot more space and alignment was broken because it was just extracted directly from the figma file alongwith the shadow effects.. instead of adjusting the shadow manually. So if you can work on that.. then go for it.
You can put hover state on the buttons.
You can improve the design in the contact section with your own UI/UX.


text:
When executing make oracle-check-world, the tests in the contrib directory should be executed.

Bug Report
When executing make oracle-check-world, the tests in the contrib directory should be executed.
IvorySQL Version
master, 3.0
OS Version (uname -a)
Configuration options  ( config.status --config )
Current Behavior
Expected behavior/code
Step to reproduce
Additional context that can be helpful for identifying the problem

#545 #546

repo: IvorySQL/IvorySQL


text:
Default SYSDATE couldn't be used in Oracle mode

When I create table with SYSDATE in IvorySQL 3.0, DB will report error. However, the error wouldn't be reported in IvorySQL 2.3
Example:
CREATE TABLE CRM_CON
(
SIGN_TIME DATE DEFAULT SYSDATE
NOT NULL
);

Error:
ERROR: cannot use column reference in DEFAULT expression
Line 3: SIGN_TIME DATE DEFAULT SYSDATE

Issue has been fixed by #663  and will be included in Release 3.3.

authors: balinorLiang gaoxueyu


text:
All charging sessions show the same date

If I look back at previous charging sessions, they all show the same date (of one of the latest, but not the latest session, apparently 🤔).

@Ixam97 I sent you my logfiles yesterday, in which you can see that the different charging sessions have different dates


text:
Reconstruct data of March 2

Since 3 March, RIVM reports the number of diagnoses with the coronavirus and their municipality of residence on a daily basis. This issue is used to reconstruct the data of March 1 based on RIVM media reports.
Result:

1 person from Tilburg
1 person from Diemen
...

3-3-2020 has 8 missing for Unknown, 16-3-2020 has 1 missing for maasdriel and unknown is to high (+2), 17-3-2020 has 1 missing for unknown?

Thanks!
3-3-2020:
2020-03-03,Coevorden,109,Drenthe,2
2020-03-03,Houten,321,Utrecht,1
2020-03-03,Utrecht,344,Utrecht,2
2020-03-03,Diemen,384,Noord-Holland,3
2020-03-03,Haarlem,392,Noord-Holland,1
2020-03-03,Alphen aan den Rijn,484,Zuid-Holland,1
2020-03-03,Delft,503,Zuid-Holland,1
2020-03-03,Rotterdam,599,Zuid-Holland,1
2020-03-03,Eindhoven,772,Noord-Brabant,1
2020-03-03,Helmond,794,Noord-Brabant,1
2020-03-03,Loon op Zand,809,Noord-Brabant,4
2020-03-03,Oss,828,Noord-Brabant,1
2020-03-03,Tilburg,855,Noord-Brabant,2
2020-03-03,Altena,1959,Noord-Brabant,3
Sums to 24. This is the reported number, isn't it?
There is a minor difference between the reported number of RIVM on the news publication and the numbers they provide.  Can you elaborate a bit more on your findings and ideas to improve the data quality?
Thanks in advance

To make my data correct (according data published in the news) I have to some changes to the data:
16-03-2020,Onbekend,-2
16-03-2020,Maasdriel,1
17-03-2020,Onbekend,1
18-03-2020,Onbekend,-1
I think the problem is in the unknown data from RIVM, these are my results now (after correction):
Onbekend | 02-03-2020 | 8
Onbekend | 03-03-2020 | 8
Onbekend | 04-03-2020 | 1
Onbekend | 05-03-2020 | 5
Onbekend | 06-03-2020 | 4
Onbekend | 07-03-2020 | 4
Onbekend | 08-03-2020 | 2
Onbekend | 09-03-2020 | 1
Onbekend | 10-03-2020 | 2
Onbekend | 11-03-2020 | 6
Onbekend | 12-03-2020 | 13
Onbekend | 13-03-2020 | 29
Onbekend | 14-03-2020 | 38
Onbekend | 15-03-2020 | 59
Onbekend | 16-03-2020 | 69
Onbekend | 17-03-2020 | 72
Onbekend | 18-03-2020 | 84

Yesterday the unknown category was missing +89

Thanks, counting one more:
2033  2020-03-19                NaN            -1           NaN      90

I think I have to exclude the foreigner(s).

Maybe we should document this, there is quite some discussion on the way I'm saving the unknowns.

90 will give me 2461 the rivm site and the news told me 2460, rise is 410 (with value 90) instead of 409 compared to 18-3-2020

Has this been fixed? Should this behaviour be documented @J535D165?

Yes, this is resolved by ignoring the reported counts and derive them from the national case count and the sum of all municipalities.
About reconstructing the data of March 2, I don't think this is doable. I asked RIVM for a backfill, but I don't think this is about the happen. So let's close this issue. Drop a message if you think we should reopen this issue.

authors: J535D165 JochemZ japhir


text:
Not getting cursors with "retweeters/ids"

I'm trying to get de IDs of the retweeters from a "tweet with more than 100 retweets". I always get the cursors=0 with all tweets (over 100RT).
$idd  = 523847332819767296;
$url = "https://api.twitter.com/1.1/statuses/retweeters/ids.json";
$requestMethod = "GET";
$getfield = "?id=$idd";
$twitter = new TwitterAPIExchange($settings);
$string = json_decode($twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest(),$assoc = TRUE);
print_r($string);
REPONSE:
...2760340740 [96] => 560471456 [97] => 2611583155 [98] => 352507192 [99] => 2237972138 ) [next_cursor] => 0 [next_cursor_str] => 0 [previous_cursor] => 0 [previous_cursor_str] => 0 )

Hi!
I think you will probably have your answer by now, but in case someone else get here looking for a solution to this problem, let me paste what is said in other places about this:
"While this collection supports cursoring, the maximum number of results you can get back from the method is the 100 most recent users who retweeted the tweet. You can use lower count values and cursor through that 100 in multiple pages or you can just use a single request and get that 100, but you can't move beyond the boundaries of that 100."
So, it seems twitter does not want to offer us the capability to work out the actual reach of a particular tweet :(

Seems like this is a twitter issue, sorry guys :(

authors: J7mbo kikuso richicru


text:
Update spack to v0.22.1 (or a newer release or develop, September 2024)

Is your feature request related to a problem? Please describe.
spack v0.22.1 was released in the beginning of July; this would be a good target to include in our spack-stack-1.8.0 release (plus any updates we may want to pull in afterwards)
Describe the solution you'd like
Pull spack v0.22.1 into our spack-stack-dev fork
Additional context
https://github.com/spack/spack/releases/tag/v0.22.1

We don't have the time to do this for spack-stack-1.8.0. But we should make it a top priority to pull in spack develop or v0.22.1 plus selective other updates after the release!

0.22.2 was released Sep 21 - https://github.com/spack/spack/releases/tag/v0.22.2

repo: JCSDA/spack-stack


text:
Add ncdiag/1.1.1 to the stack

Summary
Update the spack hash to include the recently added ncdiag (version 1.1.1) library and include the library in the development UFS SRW template.
Testing
Built a test environment on S4.
Applications affected
GSI
Systems affected
All
Dependencies
Already merged: noaa-emc/gsi-ncdiag#4 and jcsda/spack#285.
Issue(s) addressed
#651
Checklist

[x] This PR addresses one issue/problem/enhancement, or has a very good reason for not doing so.
[ ] These changes have been tested on the affected systems and applications
[x] All dependency PRs/issues have been resolved and this PR can be merged.

The ufs-srw-dev environment does not build on Hera.  In particular, met version 10.1 fails because it cannot find automake-1.16 when building with Intel.  Is this a known issue?

The ufs-srw-dev environment does not build on Hera. In particular, met version 10.1 fails because it cannot find automake-1.16 when building with Intel. Is this a known issue?

i have not encountered this on previous builds of the ufs-srw-dev environment on hera. in the hera site config, it points to external automake/1.13.4.
two questions:

is it failing to fetch the source code for the automake version it has concretized with? if so, it's probably a hera firewall issue.
are you building the ufs-srw-dev env from that template's spack.yaml, or as part of the unified environment?

@DavidHuber-NOAA are you still have issues with building ufs-srw-env? The problem you described rings a bell, I think I ran into something similar recently, so I'm happy to take a look if it's still giving you trouble. It might just be that we need to avoid one or two external packages in the hera config.

The ufs-srw-dev issues on hera are independent of this PR. I approved it, will get merge once the tests pass again after the update from develop.

@ulmononian Sorry for the late reply.

No, it appears it concretized with the locally installed version, 1.13.4.  I created an environment (gsi).  Under envs/gsi/site/packages.yaml:

  automake:
    externals:
    - spec: automake@1.13.4
      prefix: /usr

I don't see automake listed anywhere else except under the blacklists of configs/common/modules.yaml.

I'm building from the template's spack.yaml.

@AlexanderRichert-NOAA I am restarting my build process from the current develop branch and will report if the issue is still there.  If so, should I open a new issue?

@AlexanderRichert-NOAA I attempted reinstalling with --fail-fast, which caused an earlier failure in mapl during the cmake step when attempting to use an ecbuild declaration:
==> Installing mapl-2.22.0-r7eehymjb3fgiw2otrxy56u2mhjhvyo3
==> No binary for mapl-2.22.0-r7eehymjb3fgiw2otrxy56u2mhjhvyo3 found: installing from source
==> Warning: Fetching from mirror without a checksum!
  This package is normally checked out from a version control system, but it has been archived on a spack mirror.  This means we cannot know a checksum for the tarball in advance. Be sure th
at your connection to this mirror is secure!
==> Fetching file:///scratch1/NCEPDEV/global/spack-stack/source-cache/_source-cache/archive/33/3356b8d29813431d272c5464e265f3fe3ce1ac7f49ae6d41da34fe4b82aa691a.tar.gz
==> Fetching file:///scratch1/NCEPDEV/global/spack-stack/source-cache/_source-cache/git/GEOS-ESM/ESMA_cmake.git/v3.21.0.tar.gz
==> Moving resource stage
        source: /scratch2/NAGAPE/epic/David.Huber/spack-stack/cache/build_stage/resource-esma_cmake-r7eehymjb3fgiw2otrxy56u2mhjhvyo3/spack-src/
        destination: /scratch2/NAGAPE/epic/David.Huber/spack-stack/cache/build_stage/spack-stage-mapl-2.22.0-r7eehymjb3fgiw2otrxy56u2mhjhvyo3/spack-src/spack-src
==> Ran patch() for mapl
==> mapl: Executing phase: 'cmake'
==> [2023-07-03-22:02:22.976030] '/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/cmake-3.23.1-xksr7js/bin/cmake' '-G' 'Unix Makefiles' '-DCMAKE_INSTALL_PREFIX:
STRING=/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/mapl-2.22.0-r7eehym' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DBUILD_TESTING:BOOL=OFF' '-DCMAKE_INTERPROCEDU
RAL_OPTIMIZATION:BOOL=OFF' '-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON' '-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON' '-DCMAKE_INSTALL_RPATH:STRING=/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/g
si/install/intel/2021.5.0/mapl-2.22.0-r7eehym/lib;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/mapl-2.22.0-r7eehym/lib64;/scratch2/NAGAPE/epic/David.Huber/sp
ack-stack/envs/gsi/install/intel/2021.5.0/esmf-8.3.0b09-joibzbj/lib;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/netcdf-c-4.7.4-vkcljws/lib;/scratch2/NAGAPE/
epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/hdf5-1.10.6-43oxgiu/lib;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/zlib-1.2.11-rhgygrv/lib;/sc
ratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/netcdf-fortran-4.5.4-5cfrd5j/lib;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/para
llel-netcdf-1.12.2-vkgqiu6/lib;/scratch1/NCEPDEV/global/spack-stack/apps/miniconda/py39_4.12.0/lib;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/libaec-1.0.6-
mfbvaiu/lib64' '-DCMAKE_PREFIX_PATH:STRING=/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/parallel-netcdf-1.12.2-vkgqiu6;/scratch2/NAGAPE/epic/David.Huber/spac
k-stack/envs/gsi/install/intel/2021.5.0/gftl-shared-1.5.0-zmhetpl;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/gftl-1.10.0-n5slygb;/scratch2/NAGAPE/epic/Davi
d.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/esmf-8.3.0b09-joibzbj;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/netcdf-fortran-4.5.4-5cfrd5j;/scratch2
/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/netcdf-c-4.7.4-vkcljws;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/hdf5-1.10.6-43oxgiu;
/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/zlib-1.2.11-rhgygrv;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/libaec-1.0.6-m
fbvaiu;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/ecbuild-3.7.2-dzefpbh;/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/cmake
-3.23.1-xksr7js;/scratch1/NCEPDEV/global/spack-stack/apps/miniconda/py39_4.12.0;/apps/oneapi' '-DBUILD_WITH_FLAP:BOOL=OFF' '-DBUILD_WITH_PFLOGGER:BOOL=OFF' '-DBUILD_WITH_FARGPARSE:BOOL=OFF'
'-DBUILD_SHARED_MAPL:BOOL=OFF' '-DUSE_EXTDATA2G:BOOL=OFF' '-DUSE_F2PY:BOOL=OFF' '-DCMAKE_C_COMPILER=/apps/oneapi/mpi/2021.5.1/bin/mpiicc' '-DCMAKE_CXX_COMPILER=/apps/oneapi/mpi/2021.5.1/bin/
mpiicpc' '-DCMAKE_Fortran_COMPILER=/apps/oneapi/mpi/2021.5.1/bin/mpiifort' '-DCMAKE_MODULE_PATH:STRING=/scratch2/NAGAPE/epic/David.Huber/spack-stack/envs/gsi/install/intel/2021.5.0/esmf-8.3.
0b09-joibzbj/cmake' '/scratch2/NAGAPE/epic/David.Huber/spack-stack/cache/build_stage/spack-stage-mapl-2.22.0-r7eehymjb3fgiw2otrxy56u2mhjhvyo3/spack-src'
-- The Fortran compiler identification is Intel 2021.5.0.20211109
-- The CXX compiler identification is Intel 2021.5.0.20211109
-- The C compiler identification is Intel 2021.5.0.20211109
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /apps/oneapi/mpi/2021.5.1/bin/mpiifort - skipped
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /apps/oneapi/mpi/2021.5.1/bin/mpiicpc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /apps/oneapi/mpi/2021.5.1/bin/mpiicc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Building MAPL as STATIC libraries
CMake Error at CMakeLists.txt:111 (ecbuild_declare_project):
  Unknown CMake command "ecbuild_declare_project".

Oh, I see my mistake.  I'm not loading the prerequisite libraries.  I will do that and try again.

Nope, that didn't work.  I am still seeing the same ecbuild cmake error for the mapl build.  I'll go ahead and open an issue.

authors: AlexanderRichert-NOAA DavidHuber-NOAA climbfuji ulmononian


text:
panic: runtime error: index out of range [1] with length 1

Thanks for this interesting repo, this is exactly what I was searching for (for my ING account).
However, could you provide some more information what exact statement option should be selected? csv (comma separated) etc. Maybe even an example file? Because for some reason (following the two lines of code provided) I get errors.
I tried multiple different export options and delimiters. And my errors range from:
panic: runtime error: index out of range [1] with length 1
to
2021/04/13 17:17:51 could not convert entry to struct in line 0: could not parse date: parsing time "20190901" as "02.01.2006": cannot parse "190901" as "."
I don't know much about GO so find it hard to find what the issue is.
Hopefully you can help.
EDIT: I am using ING.nl (Dutch), could that be the issue?

Hey @a-k-89,
glad to hear you find it useful :)
I only tested it with german ing files so maybe they have a completly different format.
I added some example CSVs to the readme, have a look.
Your second error message seems like that your statement has a different date format as mine.
I think you are going to have problems with the "Buchungstext" column, I map this column to figure out which type of transaction it is and convert it to a GVC-Code. Because they are language dependent I think that this will be a problem :(
Maybe we need to expand the converter to include ing-dutch as a new type if my examples are completly different than yours.
Let me know what you think.


text:
UID & GID mismatches between volume owner and container user

The move away from running everything as root has broken a couple things on my end. On the one hand that’s understandable & not entirely unexpected, on the other hand I am unsure how to move on from here.
I have managed to condense my issues to the following mock .travis.yml snippet:
os:
  - linux

language:
  - minimal

services:
  - docker

before_install:
  - docker pull jjmerelo/raku-test

matrix:
  include:
    - name: "Debug me!"
      script: |
        docker run -t \
          --name container-env \
          --volume "$TRAVIS_BUILD_DIR":/test \
          --entrypoint /bin/sh \
          jjmerelo/raku-test -c '
            id
            ls -la /
            ls -la ~
            ls -la /test
            mkdir something-or-other
            ls -la something-or-other
          '

(Quickly frankensteined from the bits and pieces I have on my end, hopefully I got it right.)
The output from running the job (with long output from ls abridged):
$ docker run -t \
  --name container-env \
  --volume "$TRAVIS_BUILD_DIR":/test \
  --entrypoint /bin/sh \
  jjmerelo/raku-test -c '
    id
    ls -la /
    ls -la ~
    ls -la /test
    mkdir something-or-other
    ls -la something-or-other
  '

uid=100(raku) gid=101(raku) groups=101(raku)
total 68
drwxr-xr-x    1 root     root          4096 Aug 20 02:03 .
drwxr-xr-x    1 root     root          4096 Aug 20 02:03 ..
-rwxr-xr-x    1 root     root             0 Aug 20 02:03 .dockerenv
…snip…
total 16
drwxr-sr-x    1 raku     raku          4096 Aug  3 10:52 .
drwxr-xr-x    1 root     root          4096 Aug  3 10:34 ..
drwxr-sr-x    8 raku     raku          4096 Aug  3 10:46 .raku
drwxr-sr-x    4 raku     raku          4096 Aug  3 10:49 .zef
total 48
drwxrwxr-x    4 2000     2000          4096 Aug 20 02:02 .
drwxr-xr-x    1 root     root          4096 Aug 20 02:03 ..
drwxrwxr-x    8 2000     2000          4096 Aug 20 02:02 .git
…snip…
mkdir: can't create directory 'something-or-other': Permission denied
ls: something-or-other: No such file or directory

Child image jjmerelo/raku-test is running the container as raku with UID 100 while the volume on /test is owned by 2000. From my limited understanding of Docker things, perhaps the owner of /test is the remapped raku from base image jjmerelo/alpine-raku? (Likewise groups and GIDs.)
In any case the inability to write to the volume is what breaks things on my end.

Thanks for the report. It's likely I've botched the permissions on /test You should be able to write to /home/raku, anyhow, and of course you can start the container as root and do whatever you want. But I'm sorry for the inconvenience and will try to fix it ASAP.

The problem here is, actually, that said directory is owned by the host's user. […]

If I got that right, that makes it sound like the change in ownership is more or less redundant:
https://github.com/JJ/docker-raku-test/blob/db615d9686d44e464461d110788b274984c2f897/Dockerfile#L7-L10

Would a modification to the README.md to indicate this be satisfactory as a closure for this issue?

With the full picture now in mind, that works for me. Following your suggestions, I’ll likely move on to using $HOME.

The problem here is, actually, that said directory is owned by the host's user. […]

If I got that right, that makes it sound like the change in ownership is more or less redundant:
https://github.com/JJ/docker-raku-test/blob/db615d9686d44e464461d110788b274984c2f897/Dockerfile#L7-L10

Well, the container directory belongs to the raku user, as it should and it can be used in case nothing is mounted from the host there. However, /home/raku already has got that purpose and for most use cases it will actually be redundant. I'll fix that, thanks for the suggestion.

Would a modification to the README.md to indicate this be satisfactory as a closure for this issue?

With the full picture now in mind, that works for me. Following your suggestions, I’ll likely move on to using $HOME.

Thanks!

authors: JJ moretrim

repo: JJ/docker-raku-test


text:
The feet of the VRM model have some problems when doing some movements.

when i use a vmd animation file to any  vrm model, there is some thing wrong with foot as follow picture.
I found that this problem is related to this code。a const value IK_OFFSET_INIT.
`
const IK_OFFSET_INIT = new Map<VMDBoneNames, IKOffsetInit>([
[VMDBoneNames.Center, { x: 0, y: 1, z: 0, s: 10 }],
[VMDBoneNames.LeftFootIK, { x: 1, y: 1, z: 0, s: 10, dx: true }],
[VMDBoneNames.RightFootIK, { x: -1, y: 1, z: 0, s: 10, dx: true }],
[VMDBoneNames.LeftToeIK, { x: 0, y: 0, z: 0, s: 10, o:4, dx: true, dz: true, dy: true }],
[VMDBoneNames.RightToeIK, { x: 0, y: 0, z: 0, s: 10, o: 4, dx: true, dz: true, dy: true }],
]);
`
I tried a lot of values to try to solve this problem, but they are not ideal.
I don’t know much about VRM models and VMD animation principles.
so can you help me to fix this problem？ thanks！
this file is my dance animation file。
wavefile_v2.zip

Unfortunately, I've tried lots of value to make it as flat as I can too, but it never success. So I gave up at this point, sorry.

The reason why the toe IK is not mapped properly is because there is no consistant method to do so, the IK init values are just roughly deal with animation for default Miku MMD model.

Hello @JLChnToZ
Can you help to?
I would like to debug this: (Click on the youtube video)

Link: https://youtu.be/VMtRFTRFf6w
Where should I add console.log() and breakpoint ?
Best Regards

The implementation is in the webworker side so if you want to debug it you may head into src/worker and have a look

authors: JLChnToZ Seikida wangjiangs

repo: JLChnToZ/vrm-dance-viewer


text:
🛑 Piwigo is down

In 7d79c41, Piwigo ($SERVER_BASE/piwigo/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piwigo is back up in 4a34f87.

repo: JSAnyone/upptime


text:
user defined generic with magic type

this is ok
const arr02: Array<$Values<[1, 2, 3]>> = [];

try
this is "AnalyzationError: Cannot read property 'argumentsTypes' of undefined"
type Values<T> = Array<$Values<T>>;

const arr01: Values<[1, 2, 3]> = [];

try

Fixed in 0.0.44

authors: JSMonk thecotne

repo: JSMonk/hegel


text:
Support PostgreSQL substring

SELECT substring(mycolumn from 1 for 5)
FROM mytable

Documentation

Is this subexpression "from 5 to 6" something that can be used in general or is this bound to substring? I try to avoid making a keyword out of "substring" to get this conditional behaviour. Cheers Tobias

At first, I made a little syntax mistake, it's from 1 for 5
I'm not sure wether this can be used in general in PostgreSQL, at least it's used with overlay, too

this was solved recently by a pull request

repo: JSQLParser/JSqlParser


text:
[BUG] JSQLParser Version 4.5 : ORACLE : Encountered unexpected token 'COMMENT'

SQL Example:

Simplified Query Example, focusing on the failing featurealter table user modify age default 0;

Software Information:

JSqlParser version 4.5
Database (Oracle)

CodeExample:

Simplified Query Example, focusing on the failing feature    String sql = "alter table user modify age default 0";
    Validation validation = new Validation(Arrays.asList(DatabaseType.ORACLE), sql);
    List<ValidationError> validate = validation.validate();

Error Message:

Simplified Query Example, focusing on the failing feature

ValidationError [
statement=alter table user modify age default 0
capability=parsing
errors=[ParseException: Cannot parse statement: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "default" "DEFAULT"
at line 1, column 29.
Was expecting:
"COMMENT"

]
]

anyone can help me answer?

Greetings.
This specific syntax is not supported yet (for no good reason).
Please see the ALTER TABLE... statement which seem to have grown organically and would need a major refactoring.
You can either submit or sponsor an implementation.

Fixed via Tanish0019:fix-#1727


text:
🛑 Glitch is down

In f07198e, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 185 ms

Resolved: Glitch is back up in 73ec620 after 2 hours, 38 minutes.

repo: JYFUX/upptime


text:
Add C++ Port

A port for C++ allowing users to copy and paste the files into their C++ project and use them instead of having to compile the library separately or deal with compiling C from C++.

C++ is based upon C, under what premise would Pathfinder not be able to be compiled from C++? It should compile with no issues, since the syntax is the same. If there are issues, this should be addressed in both versions.

Not ruling out that I suck at C++, when I try to compile the source using
extern "C" {
#include "pathfinder.h"
}

it fails because there are uncast memory allocations, which are, afaik, allowed in C but not in C++. I added casts mostly, but also changed the header files to only compile as-needed instead of doing everything with pathfinder.h.

The casting issues sound like something that should be fixed in the C version of the library.
There is nothing necessary about requiring pathfinder.h in the core library, you can include your files as needed. Keep in mind that pathfinder.h already provides an extern "C" {} declaration for all further imports, which is part of the reason it exists.

authors: JacisNonsense NoahGleason

repo: JacisNonsense/Pathfinder


text:
Missing a license file

Hi @JackAppDev, thanks very much for contributing this to Flutter! Any chance you could add a license for this here?
https://github.com/JackAppDev/flutter_iap/blob/master/LICENSE
Thanks!

Added

authors: JackAppDev miksen


text:
Update README with Formatted Challenge Structure

Description
Updated the example challenge folder structure in the README.md file to use bullet points for improved readability. This change enhances the visual presentation of the file structure, making it easier for users to understand the components of each challenge folder.
fixes #47

#55
#54  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 9, 3:42 PM EDT: A user merged this pull request with Graphite.

repo: JackPlowman/python-practice


text:
Jai/TLI 101.e -- Added ability to upload multiple model and fixed graphs

Pull Request Description
Feature Implementation:
This PR enables the functionality for uploading multiple models to Dashboard 2. The system has been updated to handle file validation, properly store uploaded models, and display corresponding data and graphs for each model. The following changes have been made:

Multiple Model Upload: Users can now upload multiple models at once instead of uploading one at a time.

File Validation: The system checks the file types of uploaded models and ensures only valid model files are accepted. Invalid files trigger an error message.

Error Handling: Several error scenarios have been accounted for:

Invalid File Types: Non-model files are rejected, and a helpful error message is displayed.
Duplicate Model Names: Users are notified if they attempt to upload a model with a name that already exists.

Dashboard 2 Output: The dashboard now correctly generates data and graphs for each uploaded model. Each model's respective data is shown, and graphs are plotted accordingly.

Local Storage: Uploaded models are stored in local storage and are retrievable without any issues, ensuring persistence between sessions.

Graph Enhancements:

Axes Labels: Both dashboards now have properly labeled axes on the graphs to improve clarity and data interpretation.
Hover Tooltip: A tooltip now appears when hovering over any graph, displaying detailed data for the hovered point.

Acceptance Criteria:

Multiple Model Upload: Users can upload multiple models simultaneously in Dashboard 2.
Error Handling:

Invalid file types (non-model files) are rejected with an error message.
Duplicate model names trigger a notification, preventing overwriting.

Dashboard 2 Output: The dashboard correctly processes and displays the data and graphs for all uploaded models.
Local Storage: Uploaded models are correctly stored and retrieved from local storage.
Hover Tooltip: Detailed data is displayed when hovering over the graph points.
Axes: Axes on graphs are labeled for better data interpretation on both dashboards.

Testing:

Test uploading multiple models with valid and invalid file types.
Test the handling of duplicate model names.
Verify that data and graphs are displayed correctly for each model in the dashboard.
Ensure that models are stored in local storage and persist after refresh.
Test the tooltip on graph hover and verify that it displays the correct data.
Confirm that the axes of the graphs are labeled properly.

Looks good Jai thanks! Go through my comments but other than that works fine


text:
in actionmode you can press on stuff in the actionbar

When using actionmode in ABS4.0 beta 5 I can click on my spinner and action items below the action mode bar. I'm using Android 2.3.4.

This appears to be because the animation is not being cleared from the ActionBarView after it's done animating visibility.
The ViewGroup does the following check before passing on a touch event:
if ((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null)
getAnimation() on ActionBarView never returns null on <=2.3, while it correctly does so on 3.0+.

Damn. That's going to be tricky...

authors: JakeWharton SimonVT daverix

repo: JakeWharton/ActionBarSherlock


text:
Error: Cannot find module 'rpi-gpio'

I'm probably overlooking something obvious, but I can't seem to get this code working.  Is there a naming issue I'm not seeing?
Installing:
$ npm install -g rpi-gpio

> epoll@0.1.20 install /home/pi/.npm-packages/lib/node_modules/rpi-gpio/node_modules/epoll
> node-gyp rebuild

make: Entering directory '/home/pi/.npm-packages/lib/node_modules/rpi-gpio/node_modules/epoll/build'
  CXX(target) Release/obj.target/epoll/src/epoll.o
  SOLINK_MODULE(target) Release/obj.target/epoll.node
  COPY Release/epoll.node
make: Leaving directory '/home/pi/.npm-packages/lib/node_modules/rpi-gpio/node_modules/epoll/build'
/home/pi/.npm-packages/lib
└─┬ rpi-gpio@0.7.0
  ├── async@1.5.2
  ├─┬ debug@2.3.2
  │ └── ms@0.7.2
  └─┬ epoll@0.1.20
    ├── bindings@1.2.1
    └── nan@2.4.0

Using:
$ node
> var gpio = require('rpi-gpio');
Error: Cannot find module 'rpi-gpio'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at repl:1:12
    at sigintHandlersWrap (vm.js:22:35)
    at sigintHandlersWrap (vm.js:96:12)
    at ContextifyScript.Script.runInThisContext (vm.js:21:12)
    at REPLServer.defaultEval (repl.js:313:29)
    at bound (domain.js:280:14)
> gpio
undefined

$ node -v
v6.9.1
$ npm -v
3.10.8

I've not seen this before. I suspect it's because you've installed it globally and should just be doing it locally.
npm install rpi-gpio

Thanks @JamesBarwell, it works without issue when installed locally and when node is run from the folder with the node_modules/ folder, this can be closed.  Also, I'm noticing by setting the NODE_PATH variable, I can require in packages globally, my system was slightly misconfigured.  e.g. export NODE_PATH=/home/pi/.npm-packages/lib/node_modules:$NODE_PATH

authors: JamesBarwell TheNotary


text:
Support for regex match operator for jsonpath queries

Added implementation for feature request #858. It is based on previous request #1382.
Implementation is using .NET regex syntax, and it is compatible with Jayway implementation.

Thanks. I made some fixes to handle escaped chars in regexes but overall looks good!
https://github.com/JamesNK/Newtonsoft.Json/commit/6d3b5077e2379065bcd7de246139961e502fa92c

authors: JamesNK andre-n


text:
Unresponsive bottom right part of the screen

Describe the bug
The bottom right part of the screen is unresponsive in a tall rectangular region.
To Reproduce
Interact with something on the specified region.
Expected behavior
The interaction should do something.
Screenshot

The red region is an approximation of the unsesponsive region.
Desktop (please complete the following information):

Archlinux
Hyprland

Can you export your config and share it please? Please remember to redact your weather API key.

Here is my config.
hyprpanel_config.json

This should be fixed now, please reopen if the issue still persists.

repo: Jas-SinghFSU/HyprPanel


text:
Attachments manager

So this is just to get the ball rolling. I wrote an attachments manager for the Simple Content Portlet. I've yet to contribute really anything to the community so I'm not really sure if I met community guide lines in coding style or not, but even beyond that I'm not sure if this is the route you all would like to go architecturally. But rather than shoot in the dark and hope I land some where good I figured I'd start here. Look at my code. What do you want me to change about this? I'll do the work, just need to know what you want done.

Thanks for getting this item started.  This is something we need.  :1st_place_medal:

Give that a look see, should cover everything addressed so far. While I'm more of a tabs man than a spaces man I did fix the one thing we can all agree on: Mixed tabs and spaces. That's actually why I edited that one file in the first place. It's all 4 spaces now.

Hope you had a good Easter. Anything else you'd like done on this?

That should fix it.

authors: Narcolapser drewwills

repo: Jasig/SimpleContentPortlet


text:
[style]: Learn more button not clickable in /about route

What's the style idea?
This is in 1536px screen display
The cause for this is the z-index of OUR BELOVED CONTRIBUTORS is higher that rest text.
Add screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I went through the code and found that the issue is not with the z-index but with the design with what the desktop size is used for designing
In 1536px desktop screen it's looking something similar to this.

do you want to work on this @AbhayaShankar

Yep, I will do this


text:
OrderBy on a dynamic column is not working

When i want to order my query by a dynamic column name it always gives null. The sortby is the column name i get to sortby from my frontend.
query = query.OrderBy(x => x.GetType()
.GetProperty(request.SortBy, BindingFlags.IgnoreCase | BindingFlags.Public | BindingFlags.Instance)
.GetValue(x, null));
Is there a solution for this?

I've updated a working way to do this in #2035.

Duplicate of #2035

repo: JasperFx/marten


text:
Include() gets only one document when used with Take()

In the example below I need to load Product Groups related to Products. Because there are about 50k of records, I need to use paging. When I use ToPagedListAsync() or only Take() and ToListAsync() (Skip has no effect for the issue), the dictionary for related documents contains only one item even if there are 3 unique ProductGroupIds in my example.
var productGroups = new Dictionary<Guid, ProductGroupDocument>();
await using var session = DocumentStore.QuerySession();

var productDocuments = await session.Query<ProductDocument>()
    .Include(x => x.ProductGroupId, productGroups)
    .Take(10)
    .ToListAsync(ct);

// 1
var productGroupsInDictionaryCount = productGroups.Count;
// 3
var uniqueProductGroupsCount = productDocuments.Select(x => x.ProductGroupId).Distinct().Count();

During experimenting, when I increased the number of items as Take(1000), the dictionary (productGroupsInDictionaryCount) contained 3 items even if there was 13 unique values (uniqueProductGroupsCount).

This issue seems to be fixed in 6.0.0-alpha.6 version.

I reopen this issue, I have the same problem again, also in version 6.0.0-alpha.6. I've created PR with failing tests.


text:
Fix pkgconfig path

Ensures the pkg-config path is set to the correct directory.
This will fix errors like ERROR: x264 not found using pkg-config in some environments.

@VioletXF
Thanks for the PR, but let me understand why do you consider this a fix.
To my experience the errors like "ERROR: x264 not found using pkg-config" (or any other library-dependency) frequently mean not exactly what they state. The FFmpeg's configure script performs a set of predefined tests including compilation and linking of test programs to examine if a library is properly accessible before the FFmpeg's own compilation/linking. If any test fail, the error message will be the same - just as you posted it about libx264.
The actual reason of a failure can be found in config.log file, which resides in ffmpeg-android-maker/sources/ffmpeg/ffmpeg-6.1.1/ffbuild/config.log. I would ask you to look at this file without the fix you did and see what is the problem there. Usually it is at the very end of the file. Additionally you can post the file here so I can have a look as well.

The real error was ld: error: unable to find library -lpthread.
Fun fact is that if I set PKG_CONFIG_PATH to arbitrary value(even "/"), the issue is fixed and ffmpeg compiles with no problems.
But strangely, after restarting my terminal, I can't reproduce it anymore. Maybe some of my environments were messed up for some reason.

authors: Javernaut VioletXF

repo: Javernaut/ffmpeg-android-maker


text:
[question] System Integrity Protection status: unknown (Custom Configuration)

I have SIP partially disabled as per Yabai documentation on MacOS 10.15.6
# If you're on macOS 10.14 and above
# (printed warning can be safely ignored)
csrutil enable --without debug --without fs

I can create and destroy spaces with skhd however, simple-bar is not displaying the extra options.
I think it is because csrutil status return
System Integrity Protection status: unknown (Custom Configuration)

instead of
System Integrity Protection status: disabled.

And simple-bar is looking for the disabled.
I will have a better look at it over the weekend but just wanted to ask if there is any reason that you need SIP completely disabled?
Thanks

I could make the opposite test and change:
const SIPDisabled = SIP === 'System Integrity Protection status: disabled.'

To:
const SIPDisabled = SIP !== 'System Integrity Protection status: enabled.'

It should work for you but It could break for some other users.
I think it's doable, tell me what you think.

I could make the opposite test and change:
const SIPDisabled = SIP === 'System Integrity Protection status: disabled.'

To:
const SIPDisabled = SIP !== 'System Integrity Protection status: enabled.'

It should work for you but It could break for some other users.
I think it's doable, tell me what you think.

That worked, thank you!

I've implemented this modification because it's seems more logical this way: if a user disabled SIP even just a bit then SIP is no longer enabled.
If anyone encounter some problems with this rule I may adjust it or find another way to handle that.

Just wanted to let you know this has been an issue for me now as well

authors: DeastinY Jean-Tinland JeanTinland MikoMagni

repo: Jean-Tinland/simple-bar


text:
Cannot run the demo app

I tried using react-codemirror in an electron app but it doesn't show the editor at all. So i tried running the demo app in this repo but get the following build error -
Browserify Error { Error: Cannot find module 'browserify-optional' from '/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/react-dom-polyfill'
    at /Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:46:17
    at process (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:173:43)
    at ondir (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:188:17)
    at load (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:69:43)
    at onex (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:92:31)
    at /Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:123:15)
  stream:
   Labeled {
     _readableState:
      ReadableState {
        highWaterMark: 16,
        buffer: [],
        length: 0,
        pipes: [Object],
        pipesCount: 1,
        flowing: true,
        ended: false,
        endEmitted: false,
        reading: true,
        sync: false,
        needReadable: true,
        emittedReadable: false,
        readableListening: false,
        objectMode: true,
        defaultEncoding: 'utf8',
        ranOut: false,
        awaitDrain: 0,
        readingMore: false,
        decoder: null,
        encoding: null,
        resumeScheduled: false },
     readable: true,
     domain: null,
     _events:
      { end: [Object],
        error: [Object],
        data: [Function: ondata],
        _mutate: [Object] },
     _eventsCount: 4,
     _maxListeners: undefined,
     _writableState:
      WritableState {
        highWaterMark: 16,
        objectMode: true,
        needDrain: false,
        ending: true,
        ended: true,
        finished: true,
        decodeStrings: true,
        defaultEncoding: 'utf8',
        length: 0,
        writing: false,
        corked: 0,
        sync: false,
        bufferProcessing: false,
        onwrite: [Function],
        writecb: null,
        writelen: 0,
        buffer: [],
        pendingcb: 0,
        prefinished: true,
        errorEmitted: false },
     writable: true,
     allowHalfOpen: true,
     _options: { objectMode: true },
     _wrapOptions: { objectMode: true },
     _streams: [ [Object], [Object] ],
     length: 2,
     label: 'deps' } }
[19:09:56] Browserify Error { Error: Cannot find module 'browserify-optional' from '/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/react-dom-polyfill'
    at /Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:46:17
    at process (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:173:43)
    at ondir (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:188:17)
    at load (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:69:43)
    at onex (/Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:92:31)
    at /Users/mukeshsoni/Desktop/test/react-codemirror/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:123:15)
  stream:
   Labeled {
     _readableState:
      ReadableState {
        highWaterMark: 16,
        buffer: [],
        length: 0,
        pipes: [Object],
        pipesCount: 1,
        flowing: true,
        ended: false,
        endEmitted: false,
        reading: true,
        sync: false,
        needReadable: true,
        emittedReadable: false,
        readableListening: false,
        objectMode: true,
        defaultEncoding: 'utf8',
        ranOut: false,
        awaitDrain: 0,
        readingMore: false,
        decoder: null,
        encoding: null,
        resumeScheduled: false },
     readable: true,
     domain: null,
     _events:
      { end: [Object],
        error: [Object],
        data: [Function: ondata],
        _mutate: [Object] },
     _eventsCount: 4,
     _maxListeners: undefined,
     _writableState:
      WritableState {
        highWaterMark: 16,
        objectMode: true,
        needDrain: false,
        ending: true,
        ended: true,
        finished: true,
        decodeStrings: true,
        defaultEncoding: 'utf8',
        length: 0,
        writing: false,
        corked: 0,
        sync: false,
        bufferProcessing: false,
        onwrite: [Function],
        writecb: null,
        writelen: 0,
        buffer: [],
        pendingcb: 0,
        prefinished: true,
        errorEmitted: false },
     writable: true,
     allowHalfOpen: true,
     _options: { objectMode: true },
     _wrapOptions: { objectMode: true },
     _streams: [ [Object], [Object] ],
     length: 2,
     label: 'deps' } }

I don't know if the problems in electron app usage are also due to browserify errors.

Waiting merge: https://github.com/JedWatson/react-codemirror/pull/78

Just fixed this, thanks for the report!

Thanks @JedWatson !

authors: JedWatson mukeshsoni wickedest

repo: JedWatson/react-codemirror


text:
HMR build not loading with React

Laravel Mix Version: 6.0.11
Node Version 14.15.0
NPM Version 6.14.10
OS: macOS 10.15.7 (Intel), using valet with PHP 7.4
Chrome 88.0.4324.182

Description:
The HMR build doesn't appear to work at all using .react() in Mix on a brand new/vanilla Laravel installation. The problem appears to stem from the fact that the websocket URL doesn't have a protocol, //localhost:8080/sockjs-node. If instead of using the mix() PHP helper I explicitly set the URL to http://localhost:8080//js/app.js, everything works as we'd expect. Since this does work with Vue, perhaps it's a difference in dependencies (@pmmmwh/react-refresh-webpack-plugin or react-refresh), and maybe there's some incompatibility there?
This is at least related to #2666 and #2719, but I couldn't be certain that it's a duplicate.
Steps To Reproduce:

Create a brand new Laravel project
Update webpack.mix.js to add .react()
Replace the body of welcome.blade.php with

Install React (npm i react react-dom)
Create a simple React application in app.js:import * as React from 'react';
import { render } from 'react-dom';
render(
Hello World
, document.getElementById('app'));

run npm run hot (repeat after mix installs additional dependencies). The build should succeed and as far as node is concerned, everything appears to work as advertised.
Load the site in the browser. In Chrome's console, I see:Uncaught DOMException: Failed to construct 'WebSocket': The URL '//localhost:8080/sockjs-node' is invalid.
    at new WebsocketClient (http://localhost:8080//js/app.js:56566:20)
    at initWDSSocket (http://localhost:8080//js/app.js:1536:24)
    at ./node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ErrorOverlayEntry.js (http://localhost:8080//js/app.js:88:3)
    at Object.options.factory (http://localhost:8080//js/app.js:58035:31)
    at __webpack_require__ (http://localhost:8080//js/app.js:57515:32)
    at checkDeferredModulesImpl (http://localhost:8080//js/app.js:58692:24)
    at Function.__webpack_require__.x (http://localhost:8080//js/app.js:58705:69)
    at http://localhost:8080//js/app.js:58713:57
    at http://localhost:8080//js/app.js:58715:12

+. I got same error

This error isn't actually related to this repo but to react-refresh-webpack-plugin
I created a pull request to fix this, so hopefully they'll accept it.
https://github.com/pmmmwh/react-refresh-webpack-plugin/pull/323

pmmmwh/react-refresh-webpack-plugin#323 has been closed by pull #332.
Mix is forcing the dependency version to 0.5.0-beta.0 which does not contain these fixes Dec. 2020.

authors: Nacoma andreyberezhnoy mboynes nticaric

repo: JeffreyWay/laravel-mix


text:
Can't specify files to have version

Hi, I tried to apply versioning/cache busting only on my CSS files but when I run the npm, it applies to all from the css down to the scripts.
This is what my webpack.min.js looks like:
mix.sass('resources/assets/sass/app.scss', 'public/css')
	.sass('resources/assets/sass/login.scss', 'public/css')
        .version(['public/css/login.css', 'public/css/app.css']);

mix..js('resources/assets/js/users/main.js', 'public/js/user.js')
	.js('resources/assets/js/staff/main.js', 'public/js/staff.js');

That's normal mix behavior.
I don't think mix can do what you're trying to do.

Thanks for the response. I've been using the laravel gulpfile for awhile and did the same thing and it worked. Now this new mix is a little bit confusing to me since I saw all the js files generates a new versioned files unlike in the laravel 5.3 mix.
.version(['public/css/login.css', 'public/css/app.css']);

With Mix, the version() method will automatically version all relevant bundled assets, so this is expected behavior.

authors: JeffreyWay QWp6t claide


text:
crashes when I try to enter the menu to change the language 1.19.2

crash-2023-01-04_20.52.44-client.txt
latest.log

The problem seems solvable by a mod here

I think that's a vanilla bug with fastutil. As suggested, try using BugJump

authors: ChromaPIE Jerozgen papillo12

repo: Jerozgen/LanguageReload


text:
fixed #4 #5

fixed #4 #5

Thank you very much. I am too busy for a while time.

authors: Jerry-Hong zhaopengme

repo: Jerry-Hong/vscode-autofilename


text:
Use compose animations without skiko on wasmJs target

I would like to use compose animations core dependency in my wasmJs compose-runtime based application (not compose-web). I don't draw on canvas, I don't want nor need skiko and I have disabled unpacking it with compose {} dsl in gradle. But when adding org.jetbrains.compose.animation:animation-core dependency I can't build my project with this error:
Module not found: Error: Can't resolve './skiko.mjs'

It works ok when I allow generation of skiko.wasm, but I don't want to load almost 9MB of unused (?) code. The same project builds fine and works without skiko when targeting js (my animations work without skiko).
I've used webpack.NormalModuleReplacementPlugin to replace skiko.mjs with some fake, empty module. It allowed me to build my app for both dev and prod, but the development version crashes with a runtime error import object field 'org_jetbrains_skia_Bitmap__1nMake' is not a Function. The production version (processed with binaryen) works fine.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: okushnikov rjaros

repo: JetBrains/compose-multiplatform


text:
explain reasoning behind complex directory structure

there is a beautiful template for a multiplatform app:
https://github.com/JetBrains/compose-jb/tree/master/templates/multiplatform-template
can you explain or point to a link explaining the thought process behind all of these directories and gradle files? there is android, and there is common/android, desktop, common/desktop. if you could simplify it would be great.

The gradle directories and files are all relatively standard, there really isn't much there that could be simplified given that we are using gradle.  Perhaps if it were a different build system, it could be simplified.
There is a top-level directory for each of the platform modules (desktop/android/common) and within the common module, a directory for each of the source sets (desktop/android/common).  Each platform module has its own build.gradle file, and there is a top-level build.gradle file that allows you to build for all the platforms.

Probably we can get rid of unnecessary modules and keep only single module with 3 sourcesets desktop/android/common, but we didn't try this yet.

@igordmn where is one expected to put java code, or call java code? tried to do "import java.net.URL" in multiplatform template App.kt, but intellij  chokes. on the command line it is able to compile and run.
IntelliJ IDEA 2021.1 (Community Edition)
Build #IC-211.6693.111, built on April 6, 2021
Runtime version: 11.0.10+9-b1341.35 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Linux 5.11.16-arch1-1
GC: ParNew, ConcurrentMarkSweep
Non-Bundled Plugins: com.dmarcotte.handlebars (211.6693.44), PythonCore (211.6693.119)
Kotlin: 211-1.4.32-release-IJ6693.72
Current Desktop: GNOME

@igordmn where is one expected to put java code, or call java code? tried to do "import java.net.URL" in multiplatform template App.kt, but intellij  chokes. on the command line it is able to compile and run.
IntelliJ IDEA 2021.1 (Community Edition)
Build #IC-211.6693.111, built on April 6, 2021
Runtime version: 11.0.10+9-b1341.35 amd64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
Linux 5.11.16-arch1-1
GC: ParNew, ConcurrentMarkSweep
Non-Bundled Plugins: com.dmarcotte.handlebars (211.6693.44), PythonCore (211.6693.119)
Kotlin: 211-1.4.32-release-IJ6693.72
Current Desktop: GNOME

the template has a "kotlin" subdirectory, so i thought java code would go into "java" -  but neither intellij nor the command line gradle build does find the files there. how do you envision this to work?

expected to put java code, or call java code? tried to do "import java.net.URL"
You mean Kotlin code, but using JDK classes?

In goes to common\src\desktopMain\kotlin

@igordmn i mean both cases. on one hand, kotlin code calling java code (a bug in intellij?), on the other hand pre-existing java code, which gets a new GUI. like when migrating from swing to compose.

Note that multiplatform here means not Windows/Linux/macOs, but JVM/android/iOs/native/js (Compose only supports JVM and android for now). To support only Windows/Linux/macOs you can use desktop template. It much simplier.
If you need a pure java code inside your project then you should apply java plugin in desktop/build.gradle  (or build.gradle for desktop template):
plugins {
    ...
    id("java")
}

...

java {
    sourceCompatibility = JavaVersion.VERSION_11
    targetCompatibility = JavaVersion.VERSION_11
}

And move java code to desktop/src/jvmMain/java (or to src/main/java for desktop template)
After that you can use Kotlin from Java and Java from Kotlin.
If you just need to use third-party precompiled classes (from maven, from jar's, from JDK) you don't need java plugin.

@igordmn thank you! i hoped it would then work on android and desktop, i put the java code into common/src/commonMain/java but it then said 'java' plugin has been applied, but it is not compatible with the Android plugins.
i found an issue from 2020-08, saying:
Kotlin multi-platform is very experimental and the current MPP support in JetBrains' plugins do not allow this to be fixed. We are working with them on a better solution.
https://issuetracker.google.com/issues/132576775
does this still apply?

does this still apply?

Unfortenately, yes. For now, you can use 'java' plugin only in a separate module.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: igordmn jimgoog okushnikov soloturn


text:
GenerateParser up-to-date check broken if targetRoot does not have trailing "/"

since this code simply concats strings:
def parserFile = project.file("$targetRoot$pathToParser")
outputs.file parserFile
def psiDir = project.file("$targetRoot$pathToPsiRoot")
it only works properly if targetDir has trailing slash, otherwise it mostly works but up-to-date check and purging do not work properly

Wow. Came here to report generating the lexer doesnt work correctly, but simply removing the trailing slash works flawlessly. This has cost me a bunch of nerves.

authors: cedricziel fedork

repo: JetBrains/gradle-grammar-kit-plugin


text:
Align Fleet platform type with Fleet Backend product code for consistency

Pull Request Details
It aligns the Fleet Backend platform type string to Fleet Backend product code FLIJ.
Description
Fleet Backend was incorrectly using FL as a product code in its configuration, and this has been fixed so the Gradle plugin must be aligned.
Note that this is written as a breaking change, but Fleet Backend plugin is unreleased so I don't think it requires a major version bump.
Related Issue
FL-21994
Motivation and Context
See FL-21994.
How Has This Been Tested
Tested manually in https://github.com/vladsoroka/gradle-daemons-services with a includeBuild statement.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have included my change in the CHANGELOG.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks, Titouan!

repo: JetBrains/gradle-intellij-plugin