runtime error: panic: assignment to entry in nil map

It keeps throwing this runtime error when performing command $ drone set-key host/owner/name ~/.ssh/id_rsa:
panic: assignment to entry in nil map

goroutine 1 [running]:
net/textproto.MIMEHeader.Set(0x0, 0x585a70, 0xe, 0x208980920, 0x4)
	/usr/src/go/src/net/textproto/header.go:22 +0xce
net/http.Header.Set(0x0, 0x585a70, 0xe, 0x208980920, 0x4)
	/usr/src/go/src/net/http/header.go:31 +0x50
github.com/drone/drone-go/drone.(*Client).run(0x208982940, 0x560f70, 0x3, 0x2088df040, 0x1a, 0x3cd880, 0x2088df060, 0x0, 0x0, 0x0, ...)
	/var/cache/drone/src/github.com/drone/drone-cli/.vendor/src/github.com/drone/drone-go/drone/client.go:83 +0x668
github.com/drone/drone-go/drone.(*RepoService).SetKey(0x2088f4130, 0x7fff5fbfface, 0x4, 0x7fff5fbffad3, 0x5, 0x7fff5fbffad9, 0x4, 0x20897d000, 0x68f, 0x2089a6000, ...)
	/var/cache/drone/src/github.com/drone/drone-cli/.vendor/src/github.com/drone/drone-go/drone/repos.go:52 +0x321
main.setKeyCommandFunc(0x2089a40c0, 0x208982940, 0x0, 0x0)
	/var/cache/drone/src/github.com/drone/drone-cli/drone/keys.go:47 +0x671
main.handle(0x2089a40c0, 0x67ce70)
	/var/cache/drone/src/github.com/drone/drone-cli/drone/handle.go:28 +0xdb
main.func·005(0x2089a40c0)
	/var/cache/drone/src/github.com/drone/drone-cli/drone/keys.go:18 +0x34
github.com/codegangsta/cli.Command.Run(0x577930, 0x7, 0x0, 0x0, 0x6183f0, 0x26, 0x0, 0x0, 0x0, 0x0, ...)
	/var/cache/drone/src/github.com/drone/drone-cli/.vendor/src/github.com/codegangsta/cli/command.go:116 +0x104b
github.com/codegangsta/cli.(*App).Run(0x2089642a0, 0x2088ca000, 0x4, 0x4, 0x0, 0x0)
	/var/cache/drone/src/github.com/drone/drone-cli/.vendor/src/github.com/codegangsta/cli/app.go:168 +0xdce
main.main()
	/var/cache/drone/src/github.com/drone/drone-cli/drone/main.go:47 +0x634

goroutine 7 [runnable]:
os/signal.loop()
	/usr/src/go/src/os/signal/signal_unix.go:19
created by os/signal.init·1
	/usr/src/go/src/os/signal/signal_unix.go:27 +0x35

I could not figure out why since my test case https://github.com/shawnzhu/drone-go/blob/unittest/drone/client_test.go works very well.
BTW: shall we just remove line 83 of https://github.com/drone/drone-go/drone/client.go ?

darn, I thought we fixed with https://github.com/drone/drone-go/pull/2
I wonder if we should just do req.Header = new(http.Header)? I'm not on my work laptop at the moment, but will try a bit later to see if I can get to the bottom of it.

it looks similar to #1001

@bradrydzewski it does create Header map uninitialized via make(Header) in helper http.NewRequest. see golang/go#0db312b6a854cc75aa88899865560a7ddcdf9f07, it should work since make is used when you need to create maps.
what bothers me is the drone client code works in https://github.com/shawnzhu/drone-go/blob/unittest/drone/client_test.go no idea how to keep forward

it works for me when reinstall drone via brew after cleaning local brew cache at /Library/Caches/Homebrew/drone-64.tar.gz. sorry for the trouble


Fail to re-produce docvqa performance

Thanks for your great contribution to the community of Multimodal LLM~
I have just cloned codes and  downloaded model weights from https://huggingface.co/OpenGVLab/InternVL-Chat-V1-5.
I try evaluation on DocVQA test as instructions in https://github.com/OpenGVLab/InternVL/blob/main/internvl_chat/README.md.
After inference, I upload the result to the official website but only get a score of 57, quite lower than 90.
Could you give some suggestions?
Here is the inference result:
docvqa_test_240620161228.json

sry, I found a missing setting '--dynamic' during evaluation. After adding this, it achieves 89 on DocVQA's official website~


Not clear to the developer where they should paste the XML code inside MainPage.xaml

"Add labeled boxes with text indicating on or off using the following XML added to MainPage.xaml"
We show XML code. But it is not clear to the developer where they should paste this XML code inside the existing MainPage.xaml. Should it be inside the existing ... scope? or should the content between ..</ be copied and added at the end of the existing ..</ in MainPage.xaml?
We need to give more precise instructions.
I tried several versions, but could not get a match with the screen capture shown in the docs:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/media/custom-commands/send-activity-to-client-turn-on-tv.png
Darre

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

ID: e692d4bf-af38-e13e-baf8-553fe3ee3ca8
Version Independent ID: 917e33a6-cbb6-0759-1330-8c7b2cfc978b
Content: Send Custom Commands activity to client application - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-custom-commands-send-activity-to-client.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @xiaojul
Microsoft Alias: xiaojul

For a good example of instructions where to put XML lines, see the example you have later on:
"Add the following XML to MainPage.xaml above the "EnableMicrophoneButton" block."

<Button x:Name="EnableMicrophoneButton" ......
.........../>

@dargilco thanks for your feedback. I have referenced this issue above and will proceed to close. Thanks.


performance updates

This is somewhat of an overdue cleanup after getting a lot of the push-down filtering logic prototyped; it involved a lot more tracking of relationships between display_id and other dataframe info than I initially expected, which meant there was a lot of abuse of global variables. It "worked" but wasn't clean and won't scale well, so this PR is going to fix at least the bulk of that.
Going forward, we should be creating DXDataFrame objects during the display format process, which will generate display_id values and track original attributes of the data, while handling the cleaning and any sampling/truncating. When push-down filtering occurs, these objects should be referenced to get any necessary information and continue making associations between parent and child datasets.
Preprocessing to handle various datatypes that typically raise JSON serialization errors (or other pandas.io.json.build_table_schema errors should now be sampling non-null values from their respective columns instead of checking all values.

Codecov Report

Merging #48 (0282883) into main (b579f0a) will increase coverage by 0.05%.
The diff coverage is 82.14%.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   79.01%   79.07%   +0.05%
==========================================
  Files          19       19
  Lines        1101     1123      +22
==========================================
+ Hits          870      888      +18
- Misses        231      235       +4

Impacted Files
Coverage Δ

src/dx/filtering.py
23.63% <11.76%> (+3.00%)
:arrow_up:

src/dx/formatters/main.py
85.05% <100.00%> (-0.82%)
:arrow_down:

src/dx/settings.py
87.59% <100.00%> (+0.09%)
:arrow_up:

src/dx/types.py
70.09% <100.00%> (+2.74%)
:arrow_up:

src/dx/utils/datatypes.py
92.63% <100.00%> (-0.62%)
:arrow_down:

src/dx/utils/date_time.py
94.73% <100.00%> (ø)

src/dx/utils/geometry.py
79.54% <100.00%> (ø)

src/dx/utils/tracking.py
79.16% <100.00%> (-6.10%)
:arrow_down:

Continue to review full report at Codecov.

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


[azure-storage] Refactor utilities and shared code

Break up the shared utilities file into smaller modules.
Also refactor the service specific utilities: _blob_utils.py, _queue_utils.py, _file_utils.py
There's also a fair amount of duplicated code in the shared module (especially between blobs and files) that needs to be refactored

Released in preview 2


[PDI-18059] Remove luciddb - custom example1.ktr sample

[PDI-18058] Remove luciddb - update example1.ktr sample
[PDI-18057] Remove luciddb - insert example1.ktr sample
[PDI-18056] Remove luciddb - merge example1.ktr sample
[PDI-18052] Remove SAP Input Tables.ktr sample
[PDI-18050] Remove SAP Input Basic 2.ktr sample
[PDI-18049] Remove SAP Input Basic.ktr sample

Build Skipped
:white_check_mark: There was nothing to build. The changes are probably excluded by the build rules. If this is an error, please contact your system administrator.

Build Skipped
:white_check_mark: There was nothing to build. The changes are probably excluded by the build rules. If this is an error, please contact your system administrator.


How to work with CSS/SASS?

I am setting up my ember-cli app with the SASS plugin and am running into an issue regarding the assets directory. The Rails assets path is overriding the ember-cli assets path. I noticed that the readme does not mention how you are supposed to handle CSS assets. Are they meant to be managed in the Rails app or the Ember app?

Thanks for opening this issue, @andrewhavens.
Technically, you can keep your CSS and SCSS anywhere you'd like: in your server code or in your Ember client code.
If you'd like to have styles from each, you could override the view:
<%= render_ember_app :frontend do |head| %>
  <% head.append do %>
    <%= stylesheet_link_tag "my-rails-generated-styles" %>
    <%= csrf_meta_tags %>
  <% end %>
<% end %>

This snippet demonstrates injecting a <link> tag from your server into your EmberCLI-generated index.html.
There is nothing technically limiting the sharing of CSS code between your client and your server, although picking one or the other might make sense from an organizational perspective.
The only thing that isn't currently possible is sharing SCSS code.
Serving the already compiled CSS is no issue, but you can't share and precompile SCSS code that is split between repositories.

Thanks for the response @seanpdoyle. Not sure what I did, but all of a sudden, my SASS code started working in my Ember app. 👻


Segfault when using pam_gate.so

I'm testing pam_gate.so on Ubuntu 14.04.5, and am getting segfaults:
$ sudo ls
[sudo] password for testuser:
Segmentation fault (core dumped)

This shows up in the syslog:
Aug  4 17:53:00 vpn-test2 kernel: [255650.618605] sudo[3775]: segfault at 0 ip 00007fc20776b467 sp 00007ffca3de53b0 error 4 in libc-2.19.so[7fc20772e000+1be000]

and then 2 minutes later this:
Aug  4 17:55:01 vpn-test2 kernel: [255771.640580] cron[3777]: segfault at 0 ip 00007f259d9123e8 sp 00007ffd676137b0 error 4 in pam_gate.so[7f259d911000+3000]

Interestingly, this doesn't segfault when the password is incorrect:
$ sudo ls
[sudo] password for testuser:
Sorry, try again.
[sudo] password for testuser:
Sorry, try again.
[sudo] password for testuser:
Sorry, try again.
sudo: 3 incorrect password attempts

My testing setup process (adapted from the setup.sh script) is:
$ apt-get update >/dev/null

$ apt-get install -y libpam0g-dev libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4-gnutls-dev is already the newest version.
libpam0g-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.

$ make
cc -Werror -Wall -o check_gate src/check_gate.c -lpam -lpam_misc
cc -Werror -Wall -fPIC -shared -Xlinker -x -o pam_gate.so src/pam_gate.c -lcurl

$ cp pam_gate.so /lib/*-linux-gnu/security/

$ cp pam_gate.so /lib/*-linux-gnu/

$ echo "auth sufficient pam_gate.so url=http://localhost:3000/profile/authenticate_pam" >> /etc/pam.d/common-auth
$ echo "account sufficient pam_gate.so" >> /etc/pam.d/common-auth

I ran into this issue as well and after some investigation I came to the following conclusion:
In src/pam_gate.c on line 260, there is a call to atoi where the parameter is not checked for NULL values. That, for some reason, is not throwing any meaningful error, but segfaulting instead.
What I did to fix it was changing the line from
pMinUserId = atoi(getArg("min_user_id", argc, argv));

to
const char *tmpPMinUserId = getArg("min_user_id", argc, argv);
pMinUserId = (tmpPMinUserId == NULL) ? 0 : atoi(tmpPMinUserId);

That being said, I have no idea if this is actually correct as I don't really know what pMinUserId means... It seems to work tho.


Add Highlighter to Markup Augmentation

Using the same concept as the strikethrough markup style, a wide stroke thickness and color could be used to create a highlighter markup type (using alpha transparency in stroke color).
The alpha transparency value will require experimentation, but perhaps the alpha value might be randomized from 20% to 60%.  Apparently, OpenCV does not directly support alpha transparency colors at this point, so use of  cv2.addWeighted() must be used to apply this markup using transparency overlays (see example gist).
Based on some trial and error, the following color ranges appear to align with popular highlighter color palettes:
orange: rgb => 255 .. 255, 160 .. 205,   0 ..   0
yellow: rgb => 200 .. 255, 255 .. 255,   0 ..   0
 green: rgb => 200 ..   0, 255 .. 255,   0 ..   0
  pink: rgb => 200 .. 255,   0 .. 125, 255 .. 255
  blue: rgb =>   0 ..  40, 120 .. 255, 255 .. 255
purple: rgb => 100 .. 180,   0 .. 140, 200 .. 255

I am on it.

I have added the highlight effect in the Markup class. Here are some results of the highlight effect.
For highlighter color palettes users can pass custom bgr colors via markup_color parameter.

These look amazing!
In the future, we can explore a more realistic blend that allows the black to seep through more, but that's an unnecessary complication for this initial release of the feature.

This looks great, please submit the PR so we can get this in.

Highlight feature added by @shaheryar1 in PR #107 :clap:

This random JavaScript library called Rough Notation that I came across might serve as inspiration for future enhancements: https://roughnotation.com/

This random JavaScript library called Rough Notation that I came across might serve as inspiration for future enhancements: https://roughnotation.com/

I think this should serve as a good reference for us since we are already having some of the augmentations , and the effect in the page looks very nice too.

This is great for further improvements. I can some of the following enhancements that we can adapt from this

Repeating the markup on a specific word/line multiple times (as if someone moves the pencil forward->backward->forward).
Adding  box, circles, and crossed-off markups
Giving the option to add markup on a single word

In general, we can improve the highlight feature by reducing the level of highlight color as it affects darker colors.   I would think that some version of applying a threshold could be used to select the darker colors from the original ink layer to be re-blended into the final effect.  There are surely several approaches to solve this, but that is just one thought for an approach.

Real-life examples

In general, we can improve the highlight feature by reducing the level of highlight color as it affects darker colors. I would think that some version of applying a threshold could be used to select the darker colors from the original ink layer to be re-blended into the final effect. There are surely several approaches to solve this, but that is just one thought for an approach.

Actually this can be resolved by using different weights, or using the current OverlayBuilder. Several examples:
Current existing method:

Current existing method with different weights:

with OverlayBuilder - overlay type min:

with OverlayBuilder - overlay type alpha:

I guess we need to try them out and see which one looks more "natural".

When we select a region of pixels to draw the highlight over, can we just use that same range of pixels to draw on the paper layer, instead of over the post-layer?
This may require changing how we expose layers in the pipeline, since other forms of markup (underlining, for example) should really happen at the post layer.

When we select a region of pixels to draw the highlight over, can we just use that same range of pixels to draw on the paper layer, instead of over the post-layer?

Yes, this can be done, by looking at the code, the current algorithm overlay both the highlighted image and the input image:
 markup_img = cv2.addWeighted(overlay, 0.3, markup_img, 1 - 0.3, 0)

Where overlay is the image with highlighted colour, while markup_img is the image without colour.
If we just want to highlight the paper, we would need to get the current paper layer(if any), and then highlight the paper layer instead of the input image, then both of them will be overlayed again when we merge ink and paper layer.

This may require changing how we expose layers in the pipeline, since other forms of markup (underlining, for example) should really happen at the post layer.

Yea, we might need to separate the processes into multiple layers, and changing the pipeline too. But i think underlining, strikethrough should happen at ink layer instead of post layer?

If there are interactions between the "ink" and "paper" layers, then the post phase seems like the proper place to apply such interactions.
For example, when looking very closely at some of the highlight options, you can see how the paper texture affects the highlighter.  But, really, even strikethrough can be affected by the texture of the paper if you look closely enough.  So, this can get very complicated if we go that far with it.
Since things have changed over time, I'd like to confirm the current state of this question: Can the ink layer currently host color and alpha transparency values?
If the ink layer can host color and transparency, then I imagine this transform could operate either in the ink or the post phases.  If not, it would be limited to the post phase.  Does that sound right to you all?

Since things have changed over time, I'd like to confirm the current state of this question: Can the ink layer currently host color and alpha transparency values?

From our discussion here:
https://github.com/sparkfish/augraphy/issues/116#issuecomment-945130689
I've removed the ink layer constraint so now it is able to host both colour and alpha layer. So far i don't see any major issue, just we need to check whether the input image is single channel or multi channels before we apply any augmentation.

If the ink layer can host color and transparency, then I imagine this transform could operate either in the ink or the post phases. If not, it would be limited to the post phase. Does that sound right to you all?

I think it can be both, but it should be better in ink layer, since if we are having some other ink layer augmentations, those ink layer augmentations might having "interaction" with the current Markup augmentation before the post layer and paper layer. Anyway,i will try this out later and see which one looks better in the actual output.


Deprecation of new MV2 extension submissions - Edge Add-ons Released Features

Moving the new MV3 extension update from Roadmap to Released Features for Microsoft Edge Add-ons

Docs Build status updates of commit c6ac9b1:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c6ac9b1:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 84c550f:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 9aefb87:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/whats-new/released-features.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/whats-new/roadmap.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 84ca302:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/whats-new/released-features.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/whats-new/roadmap.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 6335193:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/whats-new/released-features.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/whats-new/roadmap.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2751157:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/extensions-chromium/whats-new/released-features.md
:white_check_mark:Succeeded
View

microsoft-edge/extensions-chromium/whats-new/roadmap.md
:white_check_mark:Succeeded
View

microsoft-edge/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Are argument names allowed in extern function definitions?

What is the expected behavior?
In the openpulse waveforms example, a number of extern functions are introduced for various waveforms. In these extern function declarations, not only the argument type appears but also the argument name.
In the extern function calls  documentation, it indicates that only a list of types is supported.
In the provided parser only the latter definition is supported, and e.g. openqasm3.parse("extern f(int) -> int;") succeeds while openqasm3.parse("extern f(int x) -> int") fails.
IMO the addition of the argument names substantially improves the readability and usability of the extern function definitions and should be supported. If it won't be supported, then we should fix the openpulse documentation.

@PhilReinhold can you provide a PR that would model the desired change?

I would support making argument names optional for extern functions.


Show number of nodes online / known

This works on the backend and the frontend, so the only missing piece is the actual telemetry calls from the nodes (#54).


Update Substack styling and logo to fit new brand

Will need to update just before launch. May need to get on a call to discuss any styling

@matt-bullock Not going to be using Substack post-launch. Could use finalization of branding update for Ghost, the blogging platform, though.

Ok, will update this ticket

What is the status on this?

@bconfortin The problem with Ghost rn is formatting for things like page breaks and bullet points from Ghost CMS editor breaks on the page

Looks good. closing


Fix RSM node transform issues

https://gitlab.com/open-ragnarok/open-ragnarok/blob/master/roint/rsm.cc
The node transformations, especially for the root transform appear to be way off. The location value seems to be pretty consistently correct, while the "parent" node transforms are a bit more of a mystery. A way to test code and visually confirm results for multiple models at once would be useful compared to testing against single models where the validity of the results is less clear.
Some way to compare imported models against what the "ground truth" should be (re: offset from origin etc.) would be indispensable in sorting out these issues.

I found source code for an old RSM viewer that, while incomplete (it skims over certain data in later versions) appears to have some sort of way to conditionally translate the root parent node into the correct position (I'm actually just assuming it's doing it right, but at first glance appears consistent with the odd results I've been seeing from the import script).
Their code appears to be applying certain translations to nodes depending on whether or not the node is the "root" (or "main") node, and if it's the "only" node (if the mesh count is 1). It also seems to calculate some kind of bounding box and uses that for translations as well, though it could be for something specific to their viewer rendering (centering the
Here is the relevant code block:
if (!main)
  glTranslatef(transf.todo[12], transf.todo[13], transf.todo[14]);

if (!nframes)
  glRotatef(transf.todo[15] * 180.0 / 3.14159,
            transf.todo[16], transf.todo[17], transf.todo[18]);
else
  glMultMatrixf(Ori);

glPushMatrix();

if (main && only)
  glTranslatef(-box->range[0], -box->range[1], -box->range[2]);

if (!main || !only)
  glTranslatef(transf.todo[9], transf.todo[10], transf.todo[11]);

Take aways:
if (!main)
  glTranslatef(transf.todo[12], transf.todo[13], transf.todo[14]);

This appears to be applying the raw translation (but only if it's not the root node).
if (!main || !only)
  glTranslatef(transf.todo[9], transf.todo[10], transf.todo[11]);

This appears to be applying the node transform, but only if it's not the main node or if it's not the only node. Very strange. Will experiment implementing this stuff soon.

I did some playing around with Browedit. For many of the models I tested, It seems like it is almost always treating the "bottom center" of the bounding box as the origin. More investigation is needed to see if this is actually a generalizable rule in regards to how it's placed within the RSW-space.
I don't really trust Bromedit as it's rendering of what the origin seems somehow dubious. Not to self: try placing the Morroco railing and seeing if it's origin is identical to what is seen in Bromedit.

Yes, it appears the client simply casts from float to int:
r = (int)(r / LEVEL_COUNT) * LEVEL_COUNT
g = (int)(g / LEVEL_COUNT) * LEVEL_COUNT
b = (int)(b / LEVEL_COUNT) * LEVEL_COUNT
In RO, LEVEL_COUNT is 16.

(Source: rathena forums)
The actual texture doesn't have any artifacts, as can be seen in this comparison: Actual RGB values vs truncated RGB values and again, original colors vs posterized colors
As for the RSM issue:
I haven't spent much work on the RSM format yet, but have you looked at some other working implementations? These should all be capable of rendering models:

RoBrowser
RagnarokJS (The bounding boxes aren't right AFAIK)
Aesir
RagnarokRebuild
UnityRO
BrowEdit

I don't really know what to look for, but I noticed something weird with the positions of the light sources stored in the RSW file: Original positioning and my best attempt, still somewhat off. Not sure if they use the same coordinate system as RSM nodes, though.
I could probably add a RSM loader to my app and see if I can determine what the problem is with relatively little effort once I understand the format better. This way, adding visualizations would be trivial, although you might be able to do the same with any of the other projects listed above?

Thanks for the links to all those other projects, this should help. I've only looked at BrowEdit, but its documentation leaves much to be desired. I will eventually circle back to this and sort out what the issue is, hopefully.

Unfortunately I haven't had time to look into RSM files further yet, but if you have an example of this problem I can probably do that soon. I've mostly just models and effect files left, and my framework is now flexible enough to start working on the rest :)


health check and other missions procedure example has a typo You->Your

Typo in examples  related to " Check the status of your booster and ensure your pod is running"
For Example:
2.4.2. Building and Deploying the Health Check Booster to Single-node OpenShift Cluster
Typo You -> Your
You MY_APP_NAME-1-aaaaa pod should have a status of Running once its fully deployed and started.
This is in multiple places in  the missions. Look for this phrase  ... pod should have a status

Closing, This issue was fixed in PR 956.


Ability to look up GitHub issues for dev channels

In the development channels, it would be nice if one could reference by saying something like ipa#1234 to bring up issue #1234 for project 'ipa'.
I'm open to syntax suggestions.

This was implemented a while ago.


Help Font Size and Help Source Font Size EditorSettings don't do anything

Godot version
4.0b6
System information
Linux/Manjaro
Issue description
The EditorSettings properties text_editor/help/help_font_size and text_editor/help/help_source_font_size have no effect in the editor docs. Confusingly, the property text_editor/help/help_title_font_size does work, after an editor restart.
Steps to reproduce

Change EditorSettings text_editor/help/help_font_size or text_editor/help/help_source_font_size to any value.
Observe that no change has taken place, even after an editor restart.

Minimal reproduction project
N/A

I kinda identified the problem.
Value is correctly saved to the editor theme, but when the editor refreshes itself, it grabs data from the cache of the resource, which is not correctly invalidated, thos having the old value.
There is a second issue, which is: EditorHelp does not have variables and does not change fonts of the help documentation based on those values. The only variable present is doc_title_font_size.
The latter issue is easier to solve, but I dunno why the first one happens tho. I would like to grab this task but I'll have to ask for some guidance from some of the other devs.

Hi there,
I just wanted to let you know that I'm looking into it. I'm knew to this so it might take a while, but I seem to be getting to where the font size should be specified (so far it does look like it just takes a generic theme font size)


Add edit_student command

Codecov Report

Merging #112 (c0320f9) into master (d8f6f44) will decrease coverage by 0.88%.
The diff coverage is 16.66%.

@@             Coverage Diff              @@
##             master     #112      +/-   ##
============================================
- Coverage     36.53%   35.64%   -0.89%
- Complexity      531      532       +1
============================================
  Files           153      153
  Lines          3378     3490     +112
  Branches        401      419      +18
============================================
+ Hits           1234     1244      +10
- Misses         2046     2142      +96
- Partials         98      104       +6

Impacted Files
Coverage Δ

...java/seedu/address/logic/commands/EditCommand.java
53.07% <7.93%> (-43.94%)
:arrow_down:

.../seedu/address/logic/parser/EditCommandParser.java
68.18% <42.85%> (-24.13%)
:arrow_down:

...ddress/model/assessment/AssessmentResultsList.java
13.72% <0.00%> (-1.50%)
:arrow_down:

...in/java/seedu/address/model/tutorial/Tutorial.java
38.53% <0.00%> (-1.10%)
:arrow_down:

src/main/java/seedu/address/model/AddressBook.java
35.24% <0.00%> (-0.89%)
:arrow_down:

...rc/main/java/seedu/address/model/ModelManager.java
36.84% <0.00%> (-0.75%)
:arrow_down:

...eedu/address/logic/commands/AddStudentCommand.java
0.00% <0.00%> (ø)

...du/address/model/assessment/AssessmentResults.java
0.00% <0.00%> (ø)

...u/address/logic/commands/RemoveStudentCommand.java
0.00% <0.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


fix mobile AOT builds

Figured I'd push some of the changes we made to get the AOT build working on our internal fork.
The build works but for some reason the translations fail to load, not sure why it works internally for us but not here.
Any ideas?

Looks like I was missing {from: 'assets/i18n/**'}, in the CopyWebpackPlugin in the webpack config. Adding that in seemed to fix the translations (I've updated the MR with that change).
Curious if this looks ok to you now?

@llwt Thank you so much! We should compare these changes to this diff:
https://github.com/m-abs/angular2-seed-advanced/tree/fix-bundle-webpack-0.5.0
@m-abs also had this very close.

Converted the css files to scss and changed the webpack config to grab the whole assets directory.
The major place where we differ I think is using sass-loader instead of nativescript-dev-sass, do you have a preference either way?
@m-abs, is there a reason you went with sass-loader in webpack instead of nativescript-dev-sass?
Also, it looks like the tns-loder.js was trimmed down but I'm not sure why the rest of it isn't needed any more.

@llwt
I used the sass-loader because of a timing issue and because that's what was used here: https://github.com/sis0k0/nativescript-webpack-sass
When gulp build.prod.tns runs the nativescript/app folder is deleted and the sass-files weren't compiled with nativescript-dev-sass
I cleaned up in tns-loader.js because most of the code didnt' do anything.
nativescript-dev-webpack handles the inlining of templates and styles, and the gulp tasks handles the renaming of tns.html -> .html and tns.scss/css -> .scss/css.
All that was really left for tns-loader, was injecting variables.
But I added a fix for workers included in node_modules, but I forgot to add the worker-loader from triniviz that is required for it to work...
My branch isn't finished yet.
I'm not sure about nativescript's livesync (non-bundled builds) after I changed all the components styleUrls to refer to the .scss-file.
But that was required for the sass-loader to work.

Sorry for the delayed response @m-abs, was a busy week.

The problem was that when gulp build.prod.tns does it's job, the app-folder is removed so we start from a clean slate.
So the scss-files weren't compiled.
During a normal "tns run" nativescript-dev-sass compiles the scss files to css and leaves the output in the app-folder, but here I could work out how to trigger that.
Maybe you did?

I was able to trigger the compilation with the tns prepare <platform> by adding it before the build-<platform>-bundle command:
 -    "build.android": "gulp build.prod.tns && cd nativescript && npm run start-android-bundle",
 -    "build.ios": "gulp build.prod.tns && cd nativescript && npm run start-ios-bundle",
 +    "build.android": "gulp build.prod.tns && cd nativescript && tns prepare android && npm run build-android-bundle",
 +    "build.ios": "gulp build.prod.tns && cd nativescript && tns prepare ios && npm run build-ios-bundle",

tns-loader needed to be cleaned up. Most of the code didn't do anything.
It converted templateUrl and styleUrls to require statements, but nativescript-dev-webpack already does this for us.
It tried to use tns.html/css-files, but this was already done by the gulp-tasks.

[ ] Ahh, ok. Sounds like it's safe to pull those changes in.

So all that was really left, was injecting variables.

Does providing the data property also handle template injection into the files?
I ended up having to add a pipe to the template command in the build.js.tns.ts task (did this on our internal fork, not in this MR) to get the env configuration to be properly passed into the mobile app builds (the JSON.parse('<%= ENV_CONFIG %>'); bit in src/client/app/modules/core/utils/config.ts):
      const copy = gulp.src(src, {
        base: Config.TNS_APP_SRC,
        cwd: Config.TNS_APP_SRC,
      })
        .pipe(plugins.template(template, {interpolate: /<%=([\s\S]+?)%>/g}))
        // ^^^^^ Added this line
        .pipe(gulp.dest(Config.TNS_APP_DEST));

But I added a workaround for workers, we use in our project.
It is meant to load Workers with 'worker-loader' from triniviz, but I forgot to add that.

Triniviz?

But I wasn't finished with the fixes.

Do you want to combine efforts to get this to a point we can merge into the seed?

I doubt that nativescript livesync works after I switched components to .scss-files... It was needs to be fixed, it was needed for sass-loader to work.

By using the existing tns prepare command the livesync functionality seems to be retained, do you seen any other downsides to using prepare instead of the sass loader?

I had webpack build issues (related to css files). This PR works perfectly fine for me, thanks a lot!

Thanks for the report @EddyVerbruggen I'm going to merge this - thank you @llwt !!


RelayerInteractor: Received unknown object type

Describe the bug
Error when tryDeserialize JsonRpcResult object
SDK Version

Client: [Kotlin]
Version 2.0.0-rc.2

To Reproduce
When receive custom json rpc result from other WC client.
Expected behavior
Deserialize success
Screenshots

Device (please complete the following information):

OS: [Android 12]

Additional context
I encountered this problem when using a Dapp, when receiving our own Wallet Connect messages, I got a Received unknown object type error.
Below is where I tried to track down the error in the code along with the detailed log.

This is the json when tryDeserialize is called:
{
  "id":<PHONE_NUMBER>217,
  "jsonrpc": "2.0",
  "result": {
    "f_type": "PollingResponse",
    "status": "APPROVED",
    "f_vsn": "1.0.0",
    "data": {
      "fVsn": "1.0.0",
      "paddr": null,
      "services": [
        {
          "f_type": "Service",
          "uid": "flow-wallet#authn",
          "provider": {
            "f_type": "ServiceProvider",
            "f_vsn": "1.0.0",
            "name": "Flow Wallet",
            "address": "8b26e42898e53610"
          },
          "id": "8b26e42898e53610",
          "f_vsn": "1.0.0",
          "endpoint": "flow_authn",
          "type": "authn",
          "identity": { "address": "8b26e42898e53610", "keyId": 0 }
        },
        {
          "f_type": "Service",
          "method": "WC/RPC",
          "uid": "flow-wallet#authz",
          "f_vsn": "1.0.0",
          "endpoint": "flow_authz",
          "type": "authz",
          "identity": { "address": "8b26e42898e53610", "keyId": 0 }
        },
        {
          "f_type": "Service",
          "method": "WC/RPC",
          "uid": "flow-wallet#user-signature",
          "f_vsn": "1.0.0",
          "endpoint": "flow_user_sign",
          "type": "user-signature",
          "identity": { "address": "8b26e42898e53610", "keyId": 0 }
        }
      ],
      "addr": "0x8b26e42898e53610",
      "fType": "AuthnResponse"
    }
  }
}

It seems that there is a problem parsing the result.
But in fact, the result in json is a map, which should be used as the result of JsonRpcResult, right? (The type of JsonRpcResult.result is Any ).

Hello @john990, we've added a fix for this issue in our RC.3 release

Hello @john990, we've added a fix for this issue in our RC.3 release

Wow, thank you very much

Hello @john990, we've added a fix for this issue in our RC.3 release

Hi @TalhaAli00 , I just tried it and the problem persists, still the same error. Encountered an error when moshi tried to parse JsonRpcResult.result


Add Session.userauth_banner

Implements #275
Add a method retrieve the ssh userauth banner. Returns the SSH_MSG_USERAUTH_BANNER message sent by the server.
Will return [Session(-50)] missing userauth banner if user auth hasn't yet been attempted.
  let auth_methods = session.auth_methods(user)?;

  if let Some(ret) = session.userauth_banner()? {
      println!("{}", ret);
  };

Example:
---------  AT&T IP Services Route Monitor  -----------

The information available through <snipped> is offered
by AT&T's Internet engineering organization to the Internet community.

This router maintains eBGP peerings with customer-facing routers
throughout the AT&T IP Services Backbone:
...

This seems good so far. Would you be able to add a test?

This seems good so far. Would you be able to add a test?

I haven't been able to validate the test, but I think it should be good?


Crash on regular world save

Crashed when world was saving with contraption with Trash Can.
Filling an issue just so bug is visible. If anyone else encounters this, check logs for line java.lang.NullPointerException: Cannot invoke "com.juh9870.moremountedstorages.ContraptionStorageRegistry.getRegistryName()" because the return value of "com.juh9870.moremountedstorages.ContraptionItemStackHandler.registry()" is null. If there's nothing like that in your log then please send it in new issue.

Well this one was ridiculously easy https://github.com/Lgmrszd/CreateMountedStorages/commit/ed761bb4ab79a04e78c8c85dca9d435e5d9192c1


Fix az command in securing-bot-teams-channel-content.md

Why
The command does not work.
What
az network vnet create is commented out. I fixed it.

#Sign-Off

@EdPrice-MSFT: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


npm installed failed

before few minutes i have installed visual studio. First time i was running it on ripple S emulator.After very long process i got following message & errors in attached screenshot.
npm ERR! Please include the following file with any support request: (TaskId:10)
1>                     npm ERR!     C:\Users\Raj\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\6.1.1\npm-debug.log (TaskId:10)
1>                     [Error ------ npm install failed. Exit code: 1] (TaskId:10)
Attachment is here

I don't know what your issue is but it's not a node-gyp issue.  Try reporting it to the project that you are trying to install.


Add support for state command

I have sensitive state stored in an Azure storage account. The only process that has access to that state are the agents in a vm scale set via a service connection that is used in an AzDO pipeline run. We need to take actions against that state such as list, mv and rm.

transferring this to new repo location


Many updates for Chicoma support

E3SM-Unified is not installing properly without this.

I was able to install E3SM-Unified on Chicoma with these updates.


688 alert editors of low threema balance

close #688
Pending

OK

Too low

Hey @roschaefer, I’m closing this to keep the list of open PRs a little more organized. Will keep the branch.


Fix crash when using a custom ROM and MicroG isn't installed

a stacktrace would be really helpful

I had one... Deleted it. Lemme get it for you

This should be resolved now with the Kotlin rewrite


DXF : Add support for SPLINE entities

This is another muli-section 'line' based entity found in later versions of DXF. As such, these can be converted to paths.

Another library that does conversions....
https://sourceforge.net/projects/dxf2gcode/


Issue #17 fix, new /versions endpoint, overall code cleanup

Hello,
It's a big PR but with relatively few changes:

Burp Interfaces are no longer required in the project. As new releases of Burp may have new Extender APIs, it is better to import those interfaces directly from the actual Burp Pro jar. Thus, I removed all old interfaces.

Minor clean-up in several files (removed comments, unused import)

Updated burp-default-project-options.json and burp-default-user-options.json with the latest default project JSON

Included a new API (/versions) to obtain the current Burp version and the burp-rest-api extension version

Fix for issue https://github.com/vmware/burp-rest-api/issues/17. See issue comments for more details.
I don't think that project config and user config args have ever worked. I’ve re-implemented how project-file, config-file, and user-config-file are loaded and passed to Burp Suite

Cheers,
Luca

Please wait to merge, because it looks like I forgot to add a new class to git.

It should be good to go now!


OkHttp3Connector uses a deprecated and now removed API in Okhttp 3.14.0

According to https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-3140. OkUrlFactory was removed from okhttp 3.14.0, making the upgrade impossible when your application requires okhttp as the default mechanism for HTTP requests.

Added https://github.com/github-api/github-api/blob/master/src/main/java/org/kohsuke/github/extras/okhttp3/OkHttpConnector.java
Marked old version as Deprecated. Or do we need to remove it in order to unblock upgrade?

@gastaldi
I believe this has been addressed in v1.99 using the new class noted above. If not, please comment and I'll reopen.


[WIP] Iterate over layers when plotting dipole

To close #445.
Demo:

Codecov Report

Merging #479 (274944d) into master (b974fed) will decrease coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #479      +/-   ##
==========================================
- Coverage   90.48%   90.34%   -0.15%
==========================================
  Files          18       18
  Lines        3406     3407       +1
==========================================
- Hits         3082     3078       -4
- Misses        324      329       +5

Impacted Files
Coverage Δ

hnn_core/viz.py
84.10% <100.00%> (+0.39%)
:arrow_up:

hnn_core/parallel_backends.py
80.50% <0.00%> (-1.82%)
:arrow_down:

hnn_core/mpi_child.py
96.38% <0.00%> (-0.09%)
:arrow_down:

Continue to review full report at Codecov.

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

can you update an example @chenghuzi do show off this feature?

Also, if you say "closes #445" in your comment, it will close that issue as soon as this PR is merged.

which tutorial is the best for showing this feature? there're multiple tutorials involving plot_dipole. The simplest choice I think will be https://jonescompneurolab.github.io/hnn-core/stable/auto_examples/workflows/plot_simulate_evoked.html#sphx-glr-auto-examples-workflows-plot-simulate-evoked-py

I think that's a great choice. You can also copy some of the narrative from the GUI tutorial. Specifically these lines seem relevant:

This plot shows the dipole contributions from Layer 2/3 (top), Layer 5 (middle), and the aggregate (bottom). Note the different features in Layer 2/3 vs Layer 5 dipole signals, allowing you to tease apart how the different cortical layers contribute to different net waveform features.

also I still can't figure why you don't have circleci getting triggered. We really need to fix this, otherwise it's hard to review if everything is correct. Maybe you have to fiddle some permissions? Do you push using ssh or https? CircleCI got triggered in https://github.com/jonescompneurolab/hnn-core/pull/478 also a first-time contributor.

I push code using ssh. Is that the reason?

I guessed that tokens might have some permission issues if you were using https. Try a few things to see if you can trigger the build ... this is important to get to work. Google search revealed this: https://support.circleci.com/hc/en-us/articles/360008097173-Why-aren-t-pull-requests-triggering-jobs-on-my-organization-
This seemed relevant:

Sometimes you'll have a user who submits a pull request to your repository from a fork, but no pipeline will be triggered with the pull request. This can happen when the user is following the project fork on their personal account rather than the project itself on CircleCI.

I guessed that tokens might have some permission issues if you were using https. Try a few things to see if you can trigger the build ... this is important to get to work. Google search revealed this: https://support.circleci.com/hc/en-us/articles/360008097173-Why-aren-t-pull-requests-triggering-jobs-on-my-organization-
This seemed relevant:

Sometimes you'll have a user who submits a pull request to your repository from a fork, but no pipeline will be triggered with the pull request. This can happen when the user is following the project fork on their personal account rather than the project itself on CircleCI.

I‘ll change some docs to see if it works

Just modified a .py file inside doc and circleci is now triggered. So I think we're good on this.

excellent!

Are there other stuff that need to be resolved?

Apologies for the slow response! This is looking really clean, I can set aside some time to review tomorrow/this weekend but I suspect this will be a quick merge at first glance

Thanks @chenghuzi ! Great work 🥳

woops, sorry @ntolley ... I thought this fell under the radar.
I'm sure @chenghuzi would be happy to address any additional comments you might have.

Really cutting it close there :smile: , we're definitely in sync today
Definitely no worries, I'll still take a look and comment. Thanks @chenghuzi!!


digger.yml env_var workflow value_from returnes empty variable

When using digger.yml env_var workflow to remap environment variable set from GitHub secrets to TF_VAR variable using command value_from to be used during terraform plan/apply, it always returns as an empty variable.
digger.yml
 workflows:
  default:
    env_vars:
      state:
        - name: TF_VAR_test_variable
          value_from: TEST_VARIABLE
      commands:
        - name: TF_VAR_test_variable
          value_from: TEST_VARIABLE

    plan:
      steps:
        - run: |
              echo "$TEST_VARIABLE"
        - init
        - plan

digger_workflow
        uses<EMAIL_ADDRESS>        with:
          setup-aws: true
          aws-role-to-assume: ${{ secrets.ROLE_ARN }}
          aws-region: ${{ secrets.REGION }}
          digger-hostname: 'https://cloud.digger.dev/'
          digger-organisation: 'digger'
          digger-token: ${{ secrets.DIGGER_TOKEN }}
          setup-checkov: true
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          TEST_VARIABLE: ${{ secrets.TEST_VARIABLE }}

Terraform output
  Changes to Outputs:
  + test_variable = [
      + "",
    ]

Hi @motatoes ,
Yes it is working now but only if the project name is the same as the project workflow in digger.yml, having multiple projects (with different names) using the same workflow will result in an empty value of the TF_VAR variable.
Probably it's because the workflow is defined based on the project name here https://github.com/diggerhq/digger/pull/1413/commits/75c45f6835ee9c7636f0d0dc6f7dc8de15f74c0c

The orchestrator doesn't pass the workflow name to the job, rather it passes the steps within it to the serialized JSON in CLI.
Maybe passing the workflow name and changing the override the values based on it could fix the issue ?
This may also be a possible fix for the runner logs which doesn't state which workflow is using
Override the values of StateEnvVars and CommandEnvVars from workflow value_from values


rename NAR to Nar

https://github.com/opennars/opennars/blob/master/src/main/java/org/opennars/main/NAR.java#L70

Again, can you provide a code reference for those who are less familiar with the source

All instances of all capital names in classes and methods should be changed as well. Not to mention method names that start with a capital letter. But this is technically a dupicate, or at least related to #102 Basically checkstyle should enforce this rule and others.

https://github.com/opennars/opennars/pull/211 done


[Source block] Verify that subcategories in a modal window are written in bold.

Priority:
Medium
Preconditions

The 'StreetCode page' is opened.
A source card has been created for at least one type of source.
Subcategories have been created in the source card.

Steps to reproduce

Go to the "Для фанатів" block.
Click on a source card to open the modal window.
Check if subcategories within the modal window are written in bold.

Expected result
Subcategories within the opened modal window are displayed in bold.
User story:
#41
Test
#65
#338

This test case was closed as it was merged with test case №1193


MudTabs throws ArgumentOutOfRangeException

Bug type
Component
Component name
MudTabs
What happened?
When the ActivePanelIndex parameter is set to an index value below -1, the component throws uncaught ArgumentOutOfRangeException. Subsequently, if the value is reset to the (also non-existent) value of -1, the page at position 0 gets activated.
Expected behavior
Perhaps the component should verify whether the provided value is valid, and instead of throwing an exception, it could either not display any panel or display an empty panel.
Reproduction link
https://try.mudblazor.com/snippet/mYwHlwuSUTGzQNiV
Reproduction steps
Provided in repro link.
Relevant log output
System.InvalidOperationException: Unable to set property 'ActivePanelIndex' on object of type 'MudBlazor.MudTabs'. The error was: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
 ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1[[MudBlazor.MudTabPanel, MudBlazor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]].get_Item(Int32 index)
   at MudBlazor.MudTabs.set_ActivePanelIndex(Int32 value)
   at Microsoft.AspNetCore.Components.Reflection.PropertySetter.CallPropertySetter[MudTabs,Int32](Action`2 setter, Object target, Object value)
   at Microsoft.AspNetCore.Components.Reflection.PropertySetter.SetValue(Object target, Object value)
   at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.<SetProperties>g__SetProperty|3_0(Object target, PropertySetter writer, String parameterName, Object value)
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.<SetProperties>g__SetProperty|3_0(Object target, PropertySetter writer, String parameterName, Object value)
   at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(ParameterView& parameters, Object target)
   at Microsoft.AspNetCore.Components.ParameterView.SetParameterProperties(Object target)
   at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.SupplyCombinedParameters(ParameterView directAndCascadingParameters)

Version (bug)
6.11
Version (working)
No response
What browsers are you seeing the problem on?
Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Is this not expected behaviour? Selecting an index in a list that doesn't exist would throw so i think it's down to the developer to ensure the tab index is valid just as indexing a list would be.

A component that throws an exception at runtime can be problematic because it complicates the management of such exceptions. While it's possible to wrap the entire component within an ErrorBoundary, managing these exceptions through code can be more cumbersome. I am of the opinion that components should handle exceptions internally.


Improve swift-run failure mode

In the case that you used swift run, and your executable failed to
build, previously you would see this output, at the bottom of a
potentially long list of warnings:
error: fatalError

In some cases, especially with lots of build output, this makes it look
like your command ran, but your program failed, not the build.
This silences that message, since the point of that error is that some
other diagnostics should have been printed anyways.

@swift-ci please smoke test

I don't believe the failure here is related

@swift-ci please smoke test

@swift-ci please smoke test

Thanks!

thank you @keith


(Solution Required) Count distinct elements of an array

I'll like to claim the issue. Happy to contribute!

I would like to work on this using pthon language

Can I work on this?


Commit e1c9145 overrides cursor background

What did you expect to happen?
...
I expect doom-theme cursor configuration to be respected.
What actually happened?
Whatever theme is selected, the cursor background is white.
Additional details:
Happen also in doom sandbox.
The culprits seems to be line 593:
(run-hooks 'after-setting-font-hook)
Commenting this command leads to proper behaviour.
Steps to reproduce:
Update to HEAD and run emacs
System information:

```
SYSTEM  type       darwin
        config     x86_64-apple-darwin20.1.0
        shell      /bin/zsh
        uname      Darwin 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64
        path       (~/.emacs.d/bin/ ~/opt/anaconda3/bin ~/opt/anaconda3/condabin ~/bin ~ .emacs.d/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/TeX/texbin /Library/Apple/usr/bin /Applications/Emacs.app/Contents/MacOS/libexec/)
EMACS   dir        ~/.emacs.d/
        version    28.0.50
        build      Nov 16, 2020
        buildopts  --with-ns --with-modules '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-xwidgets --with-nativecomp 'CFLAGS=-I/usr/local/opt/gcc/include -O2 -march=native' 'LDFLAGS=-L/usr/local/opt/gcc/lib/gcc/10 -L/usr/local/opt/libgccjit/lib/gcc/10 -L/usr/local/opt/gcc/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0 -I/usr/local/opt/gcc/include -I/usr/local/opt/libgccjit/include'
        features   JPEG TIFF GIF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES NATIVE_COMP THREADS XWIDGETS JSON PDUMPER LCMS2
        traits     (gui server-running envvar-file)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        font       #
        theme      doom-one-light
        build      HEAD -> develop 110d70bdf 2020-11-19 00:50:57 -0500
        elc-files  0
        modules    (:completion (company +childframe) (ivy +icons) :ui doom doom-dashboard hl-todo modeline ophints (popup +defaults) treemacs vc-gutter workspaces :editor (evil +everywhere) file-templates (format +onsave) snippets :emacs undo vc :term eshell vterm :checkers syntax spell grammar :tools biblio (eval +overlay) lookup lsp magit :os macos :lang (latex +latexmk) markdown (org +dragndrop +pretty +roam) rst (cc +lsp) emacs-lisp (javascript +lsp) julia (python +lsp +pyright +conda +cython) sh web data json yaml :config literate (default +bindings +smartparens))
        packages   ((magit-delta :pin b8526f8) (mixed-pitch :pin d305108f) (org-ref :pin 2a91b6f))
        unpin      (n/a)
        elpa       (goto-chg evil-tutor evil)
```

I can reproduce this. I thought it was some issue with stale packages so I removed ~/.emacs.d/.local/straight and reran doom install - didn't help.

I cannot reproduce this.

The culprits seems to be line 593: (run-hooks 'after-setting-font-hook)

This indicates to me that you have added a hook to after-setting-font-hook that resets your cursor color, somehow. Please check your config. The proposed fix is likely only addressing the symptom, not the cause.

I have the same issue and I haven't added anything to after-setting-font-hook. Its value on my system is:
(+modeline-resize-for-font-h
 doom-modeline-refresh-bars
 doom-modeline-refresh-font-width-cache)

I'm using Emacs 27.1 on NixOS 12.09. My doom config is here.

The value of my hook is
(+modeline-resize-for-font-h  doom-modeline-refresh-bars  doom-modeline-refresh-font-width-cache)
Using "Doom + modules - your private config   C-c C-p" sandbox leads to the same issue.
I will try to understand which module could be the culprit.

Removing :ui modeline leads to correct behaviour, both with my config and with the doom sandbox.

Same here, and I can confirm that (modeline +light) makes the cursor normal again.

Just for what it's worth, I have the same issue as well. However in my case changing to (modeling +light) or removing :ui modeline had no effect.

As of 16344d0 this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!


Speed up averaging

Do premultiplication while summing channels
Undo premultiplication while calculating the mean
Don't use enumerate in critical loop

@gir-bot lgtm


Weights

Would you mind publishing trained weights?

They are published in https://github.com/selimsef/xview2_solution/releases


Is it posible to skip/override default styles applied in JS?

Hi Ben!
Thank you very much for a great work!
Skipping inline css made my life a lot easier.
But there is a thing I don't find pretty.
When there is a grid with only one row it still has default 500px height.
Is it possible to exclude those default styles applied with js too?
I created my own styles and would like to rely on them.
Is  that possible?
Thank you!

Sure thing. When you instantiate grid now, if you provide height: false, no height will be set.
import { Grid } from 'react-redux-grid';

<Grid height={false} />

@bencripps and what about other styles? with height={false} i have problems displaying edit dialog in mode=inline

Hmm, not sure what you mean. With height: false the inline editor works in the demo. Can you try in the demo?

I meant that Save/Cancel buttons are hidden in inline edit mode.
I've run your demo with one item. What I see when try to edit an item:

It happens bc of top property for .react-grid-inline-editor  which is set in JS and overflow applied in .react-grid-table-container.
Since I applied my own styles, I can change overflow easily but I'm not willing to change top prop

Yeah, this happens when there's only a single row. If you had more rows this wouldn't be an issue. We can't change the overflow: hidden for the grid-container since that's what makes it scrollable.

All right but the question is : is that possible to override top property for editor container (or any other property set in JS) in easy way?

Since the top is set dynamically via JS, the only way would be to override it with an !important in your specific CSS.

Hi again. Thank you for clarification. I will use !important to fix styles locally on my project so it's up to you to add changes to editor styles.
Best regards!


Paginators Gone Wild

Paginators Gone Wild, also clicking on page 1 from another page causes a redirect:

Was thinking Something like this might be better:

I am actually working on this now, and just about have it finished, the float theme had something similar, and I am just about finished extending it.


can not export with pandoc

the plugin is amazing ... but can not export with pandoc to word, only in pdf
when exporting ,table losted

could you elaborate?

woooo ………… I reset obsidian, and after that it working ... thanks

woooo ………… I reset obsidian, and after that it working ... thanks


BACKEND - Skapa repository, unitOfWork and Service

Definition of done to getAll Courses via controllers

Connecting  repository to service via unit of work
Connect data base to repository
Using services in controller for get methods
Can access Courses using controller

@vikkoooo  @OskarMartens


just can't alter python version to 2.7.10

I use p to install 2.7.10 version but can't alter to it
the terminal info always be that
activate : 2.7.10
Success: Now using Python 2.7.11!
I use mac and the 2.7.11 is installed at /usr/local/Frameworks/Python.frameworks/

After installing a Python version with p, it runs python --version to determine the current activated version. This sounds like it's an issue with your $PATH. You may need to prefix your $PATH environment variable with /usr/local/p/versions/python with
PATH=/usr/local/p/versions/python:$PATH

If you don't want to keep entering this command, you can add this line to your shell's startup script (such as ~/.bashrc or ~/.zshrc):
export PATH=/usr/local/p/versions/python:$PATH

Hope this works. Let me know if it fixes your issue!

I have resolve the problem , thank you all the same


When assigning libraries to variables from QSYS browser, the value becomes QSYS/lowercaselibraryname should be UPPERCASELIBNAME

I'll fix that. The assignment to a variable keeps the case displayed in the browser. They are lowercase if this setting is enabled:

Disabling it will make uppercase the names.

Thank you Seb

Thank you Seb

You're welcome 😉 Don't forget to merge the PR!


[Snyk] Security upgrade org.apache.commons:commons-compress from 1.24.0 to 1.26.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

691/1000  Why? Recently disclosed, Has a fix available, CVSS 8.1
Infinite loop SNYK-JAVA-ORGAPACHECOMMONS-6254296
org.apache.commons:commons-compress:  1.24.0 -> 1.26.0
No
No Known Exploit

501/1000  Why? Recently disclosed, Has a fix available, CVSS 4.3
Allocation of Resources Without Limits or Throttling SNYK-JAVA-ORGAPACHECOMMONS-6254297
org.apache.commons:commons-compress:  1.24.0 -> 1.26.0
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling

v3.7.0 release: Addressed.


Add links to ISBN fields

This patch adds links to Worldcat for ISBN references, similarly to the existing support for DOIs.

For some reason I didn't see that you'd submitted this, and I just merged your patch manually from the issue, crediting you.  I'm sorry about asking your to submit the PR and then not using it!  But in any case the feature is added.


Bug: Multiple custom control volume indicator value tied together

So i created 2 custom control:

Microsoft Edge
BF2042

And i bound it to my dial control in my workspace. When i turn the dial, the value of both of them goes up and down in display, but i can tell that the real volume only affect on one of them. so it's only visual bug on the display

This is SV Command Line problem, as I already answered in another issue. Trying to fix this via custom commands, but not successfully yet.

Any progress on this? I'd love to see this plugin updated to work with the latest version of Loupedeck!

Also curious on update, everything else works great!


#191 add missing git config for mkdocs to work

Coverage decreased (-0.03%) to 93.068% when pulling edb88daa7f9b2c57acc7e18e3ce578ca9f42b8bd on task/191-github-actions into fe8407fad59c2a0b2bf4d2e68933564aa6a307a5 on master.


Download models using an installed exe file? Please put th models on google drive.

Could you please put the models on google drive or something. Baidu netdisk keeps trying to install an .exe file. I'm not going to do that, surely you could create a FREE google account and put them there.
Thanks.

The free Google account only provides 15GB of space, and I have already filled it.

Ok. I'm not going to install an exe file to get the model. Thank you for your very prompt response I appreciate it.

You can now download all the model files required for ComfyUI_LayerStyle from huggingface.co/chflame163/ComfyUI_LayerStyle now.
BTW：
I saw that someone continued to discuss this topic on Reddit. I personally have no favorable impression of Baidu. Since Google withdrew from its business in China 14 years ago, I have been forced to use Baidu search engine instead of Google. However, Baidu Netdisk is the largest cloud storage provider in China, and storing a large number of files on it is a very natural choice for Chinese users. You can see on GitHub that many Chinese developers provide Baidu Netdisk links. Moreover, other cloud storage providers outside of Chine also such as mandatory registration and annoying pop-up ads. So, It's easy to question something, but it takes a lot of effort to clarify it. I don't want to discuss this matter anymore.

Ok. I'm not going to install an exe file to get the model. Thank you for your very prompt response I appreciate it.

你直接说中文得了大兄弟。


Cannot write to $GITHUB_OUTPUT file from Docker action using user with UID 1000

Description
We have a custom action that spins up an Arch Linux Docker container and runs a shell script within it that writes to $GITHUB_OUTPUT.  The Dockerfile creates a user named build with UID 1000, and invokes USER build so entrypoint.sh executes as this non-root user.  (We cannot run the script we need to as root.)
This has been working fine up until today, where it started failing.  It failed when running with the 20241103.1.0 runner image (ubuntu-20.04) but passed a few hours earlier with the 20241006.1.0 runner image.
We're getting a "Permission denied" error when attempting to append to $GITHUB_OUTPUT.  I'm guessing the user owning the $GITHUB_OUTPUT file outside of the container is no longer assigned UID 1000 and/or the permissions on the file don't grant all users write permissions, leading to this issue.
Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[x] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] macOS 15
[ ] macOS 15 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image: ubuntu-20.04
Version: 20241103.1.0
Screenshot of the failing step:

Output copied below, in case it's useful to have it in text form:
Run ./.github/actions/bundle_arch_package
Building docker image
/usr/bin/docker run --name c6dc350e4cd7f005b529aff3e296d6904d9d0_a09fdb --label 5c6dc3 --workdir /github/workspace --rm -e "CARGO_TERM_COLOR" -e "CONFIG_FILE" -e "CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE" -e "GOOGLE_APPLICATION_CREDENTIALS" -e "GOOGLE_GHA_CREDS_PATH" -e "CLOUDSDK_CORE_PROJECT" -e "CLOUDSDK_PROJECT" -e "GCLOUD_PROJECT" -e "GCP_PROJECT" -e "GOOGLE_CLOUD_PROJECT" -e "INPUT_CHANNEL" -e "INPUT_RELEASE-TAG" -e "INPUT_ARCH" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/warp-internal/warp-internal":"/github/workspace" 5c6dc3:50e4cd7f005b529aff3e296d6904d9d0  "dev" "v0.2<IP_ADDRESS>.24.dev_00" "aarch64"
Setting release tag to v0.2<IP_ADDRESS>.24.dev_00
Setting architecture to aarch64
Skipping `cargo build` step due to --skip-build argument
./script/linux/bundle: line 195: /github/file_commands/set_output_2b1cf403-5[17](https://github.com/warpdotdev/warp-internal/actions/runs/11707713664/job/32608800523#step:11:18)9-4f32-ba69-1b387703b018: Permission denied

Is it regression?
Yes, it worked on 20241006.1.0 a few hours earlier
Expected behavior
We should be able to write to the file path at $GITHUB_OUTPUT from within a Docker container action without errors.
Actual behavior
The write fails with "Permission denied".
Repro steps
I have not explicitly tested this, but my expectation is that the following would reproduce the issue (it's a simplification of our failing action):
Define a Docker action with the following Dockerfile:
# Explicitly use an older version, as it appears that the next release
# (base-devel-20240714.0.246936) causes fakeroot (invoked by makepkg)
# to hang.
FROM archlinux:base-devel-20240101.0.204074

ARG USERNAME=build
ARG USER_UID=1000
ARG USER_GID=$USER_UID

# Create our build user.
RUN groupadd --gid $USER_GID $USERNAME \
    && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME

# Run as our build user instead of root, as makepkg must be run as a non-root
# user.
USER $USERNAME

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

Define the following entrypoint.sh file:
#!/usr/bin/env bash

echo "test=value" >> "$GITHUB_OUTPUT"

Use that action in a workflow running on ubuntu-20.04 that uses the new runner image.

We had the same exact issue. We have more or less the same Dockerfile strategy.
Issue came when they changed the default version of Ubuntu image to 20241103.1.0 form 20241015.1.0.  Runner could not read files shared in a volume between the runner and the container instance.
I saw that Buildx changed between version. I tried to revert to 0.17.1, but at last ir didn't work.
Somehow someone reverted something, now our CI runs  20241015.1.0 again.
Hope this help a little.

Hi @vorporeal - we're looking into this issue , we will update on it ASAP. thank you !

Hi @vorporeal - As I can observe from your issue description, the recent permission issue with $GITHUB_OUTPUT in your Docker container action is likely due to changes in the runner image or permissions.
For this, you can try possible ways as below:
-You can try to set permissions on $GITHUB_OUTPUT before entering the container. You can do this by running a chmod command to make the file writable by other users (including UID 1000) before starting the Docker container.
Try to Run chmod a+rw $GITHUB_OUTPUT before the Docker step to allow non-root container access.
-name: Adjust permissions for $GITHUB_OUTPUT
run: chmod a+rw $GITHUB_OUTPUT
-Further, Inside your Docker action (entrypoint.sh), write to a custom file instead of $GITHUB_OUTPUT
then append it to $GITHUB_OUTPUT in a separate step as:-
-name: Append Docker output to $GITHUB_OUTPUT
run: cat /github/workspace/custom_output >> $GITHUB_OUTPUT
-Also, In entrypoint.sh, add:
chmod o+w "$GITHUB_OUTPUT"
echo "test=value" >> "$GITHUB_OUTPUT"
These might help to resolve your issues.

Hi @vorporeal - I hope your issue might got resolved.

Hi @Prabhatkumar59 and @kishorekumar-anchala - looks like this is biting us again with the 20241209 image release.
If it's reasonable and secure to set a+rw on $GITHUB_OUTPUT, is there a reason that isn't done for the entire working folder (and relevant files like $GITHUB_OUTPUT)?
Working around the $GITHUB_OUTPUT issue leads to us failing to write other files into the working directory, e.g.:
mkdir: cannot create directory ‘/github/workspace/target/dist’: Permission denied

If there's no reason for /github/workspace to not be a+rw, would be nice if that were set up in the runner image so that this works out-of-the-box for all users of GitHub Actions.

I printed out the contents of /etc/passwd from a ubuntu-latest runner:
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-network:x:100:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
systemd-resolve:x:101:103:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
messagebus:x:102:105::/nonexistent:/usr/sbin/nologin
systemd-timesync:x:103:106:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
syslog:x:104:111::/home/syslog:/usr/sbin/nologin
_apt:x:105:65534::/nonexistent:/usr/sbin/nologin
tss:x:106:112:TPM software stack,,,:/var/lib/tpm:/bin/false
uuidd:x:107:113::/run/uuidd:/usr/sbin/nologin
tcpdump:x:108:114::/nonexistent:/usr/sbin/nologin
sshd:x:109:65534::/run/sshd:/usr/sbin/nologin
pollinate:x:110:1::/var/cache/pollinate:/bin/false
landscape:x:111:1[16](https://github.com/warpdotdev/warp-internal/actions/runs/12322467661/job/34396094594?pr=12671#step:2:17)::/var/lib/landscape:/usr/sbin/nologin
fwupd-refresh:x:112:1[17](https://github.com/warpdotdev/warp-internal/actions/runs/12322467661/job/34396094594?pr=12671#step:2:18):fwupd-refresh user,,,:/run/systemd:/usr/sbin/nologin
_chrony:x:113:122:Chrony daemon,,,:/var/lib/chrony:/usr/sbin/nologin
lxd:x:999:100::/var/snap/lxd/common/lxd:/bin/false
sphinxsearch:x:114:123:Sphinx fulltext search service,,,:/var/run/sphinxsearch:/usr/sbin/nologin
systemd-coredump:x:115:124:systemd Core Dumper,,,:/run/systemd:/usr/sbin/nologin
dnsmasq:x:116:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin
mysql:x:117:126:MySQL Server,,,:/nonexistent:/bin/false
postgres:x:1[18](https://github.com/warpdotdev/warp-internal/actions/runs/12322467661/job/34396094594?pr=12671#step:2:19):127:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash
runneradmin:x:1000:1000:Ubuntu:/home/runneradmin:/bin/bash
runner:x:1001:128:,,,:/home/runner:/bin/bash

I notice that runneradmin is a user in there, assigned UID 1000.
Any chance you all added a new user to the runner images in a way that changed the UID of the user that is actually running the scripts?  If so, would you mind making runneradmin UID 1001 and runner UID 1000 to avoid breaking every action and workflow that may expect to be using UID 1000?

As a slight aside, it is completely unacceptable that GitHub does not provide any way of either 1) testing new runner images before they are rolled out OR 2) temporarily rolling back to the previous image if the new one breaks your workflows.
We cannot prepare for the release of a new image, and if the new image breaks us, we must fix-forward and cannot quickly mitigate any issues by using the old version while we figure out what the hell broke.
We have been unable to push out an important update to our product today due to this breaking our release workflow, and there is no way to quickly remediate.

Hi @vorporeal - Really thanks for your input! We are closely checking into the details provided above https://github.com/actions/runner-images/issues/10915#issuecomment-2542259255 and will update you soon.


Fix JUnit Parameterized Tests

Description
Due to the update from JUnit4 to JUnit5, we had to deactivate some tests that do not use the JUnit5 syntax for parameterized tests. Below you will find a list of these tests that should be migrated step by step.
To see an example, I have started to migrate a first test (see TestBooleanFilterProcessor).
If you are interested in working on one of the tests, please let us know and we will create an issue for each test and assign it to you.
List of classes

[ ] #2754
[ ] #2764
[ ] #2754
[ ] #2771
[ ] #2772
[ ] #2773
[ ] #2774
[ ] #2775
[x] #2545
[ ] #2776
[ ] #2777
[ ] #2778
[ ] #2779

Hi, i want to work on this issue.
TestBoolean CounterProcessor Could you assign this issue?

Hi @nine03,
Thank you for your interest.
I have created an issue for you. Can you please comment under it so that I can assign it to you.
If you have any questions, please let us know.
Cheers,
Philipp

how do tun these test i am using intellij getting  this error at the  moment when running the test /home/paulo/ASF/streampipes/streampipes-vocabulary/src/main/java/org/apache/streampipes/vocabulary/MessageFormat.java:21:8
java: error while writing org.apache.streampipes.vocabulary.MessageFormat: Output directory is not specified

currently looking at TestSizeMeasureProcessor what are  the values for these parameters
@Parameterized.Parameter
public String sizeUnit;
@Parameterized.Parameter(1)
public int numOfBytes;
@Parameterized.Parameter(2)
public double expectedSize;
@Parameterized.Parameter(3)
public double allowableError;

Is it ok to use enums for this?? do we just need paremeterized inputs for org.apache.streampipes.processors.enricher.jvm.processor.sizemeasure.TestSizeMeasureProcessor#testSizeMeasureProcessor, (this is currently commented) . And Just make the test work???

would like to take on TestStringTimerProcessor

Here you go: https://github.com/apache/streampipes/issues/2764 🙂

please assign  TestComposeProcessor to me

@pambrocio issues are created (see at the top)
I can assign you once you wrote a comment there

Thanks @bossenti

Hey @pambrocio,
I just realized that some tests you have created PRs for are also part of https://github.com/apache/streampipes/pull/2375 (for reference: https://github.com/apache/streampipes/issues/2737, https://github.com/apache/streampipes/issues/2374).
Would be great if we could align both endeavors to avoid extra work.
Sorry for not pointing out earlier.

Hi @bossenti ,
Too bad i am almost done only one class left.

@tenthe
Any advice on this?

Hi @tenthe @bossenti  @IsaakKrut,
the remaining classes have been migrated to Junit 5, Tell me what needs to be done to get my work merged to the main branch.
Thanks,
Pambrocio

Hi @bossenti ,
Too bad i am almost done only one class left. Shall i continue?? this is the remaining class i have not migrated #2779 TestStringToStateProcessor

Actually, I already mentioned that earlier: https://github.com/apache/streampipes/issues/2754#issuecomment-2069513982
Would you be interested to contribute to #2375 by adapting your migrated tests to the framework introduced there and help to improve it?
If not, we can merge the migrated tests that are not part of #2375. Otherwise, we would cause a lot of migration effort in #2375.

Hi @bossenti,
Would love to. Let me check the discussion

@pambrocio would be great if you are willing to continue your work based on https://github.com/apache/streampipes/pull/2375#issuecomment-2083177795 🙂

@bossenti, I am quite unclerar on what code changes need to be implemented

In #2375 we introduced a standardized approach how pipeline elements can (and should) be tested in future (https://github.com/apache/streampipes/pull/2375/files#diff-a8a7ae4c9654c4422ef00768c7887a92bfffc6e0726c1922531f57ae865ee531).
The PR also contains some examples how this approach can be applied, e.g., https://github.com/apache/streampipes/pull/2375/files#diff-49a3517e7b83d0021ebf95c11e120d451297aff1c3eea3aab3f43dc8042cf9f0
So the task now is to update your PRs accordingly. This includes updating your branch with the recent changes in the dev branch and change the implementation of the tests so that they use the above described approach. As @tenthe already said, this approach is not fixed yet, so if you have any feedback, improvements we are happy to hear and address them or you can directly improve the proposed approach.
Does that make it clearer? 🙂


Example '$FFF_OPENER' script

#!/usr/bin/env bash
#
# opener
[[ -z $1 || ! -e $1 ]] &&
    exit 1

mime_type="$(file -biL "$1")"

case "$mime_type" in
    text/*|*/xml)
        "${VISUAL:-${EDITOR:-vi}}" "$1"
    ;;

    image/*)
        qiv -tBl "$1"
    ;;

    video/*)
        mpv "$1"
    ;;

    audio/*)
        mpv "$1"
    ;;

    application/pdf*)
        "${BROWSER:-firefox}" "$1"
    ;;

    *opendocument*|*openxmlformats*)
        libreoffice "$1"
    ;;

    *)
        printf '%s\n' "warn: No program defined for $mime_type"
    ;;
esac

Thanks! I'm currently using this script. But I switched from file to perl-file-mimeinfo because it follows the XDG standard.

#!/usr/bin/env bash
#
# opener
[[ -z $1 || ! -e $1 ]] &&
    exit 1

mime_type="$(file -biL "$1")"

case "$mime_type" in
    text/*|*/xml)
        "${VISUAL:-${EDITOR:-vi}}" "$1"
    ;;

    image/*)
        qiv -tBl "$1"
    ;;

    video/*)
        mpv "$1"
    ;;

    audio/*)
        mpv "$1"
    ;;

    application/pdf*)
        "${BROWSER:-firefox}" "$1"
    ;;

    *opendocument*|*openxmlformats*)
        libreoffice "$1"
    ;;

    *)
        printf '%s\n' "warn: No program defined for $mime_type"
    ;;
esac

It makes Editor messed up and after closing apps cannot use clean and reset terminal functions.
Can you fix that?

I have expanded on this idea to create a file-opener script https://github.com/Docbroke/opener
However to use this with fff, some code change is needed. Under the funciton open()  entire case statement for file opening cann be replaced with below code
                clear_screen
                reset_terminal
                opener "$1"
                setup_terminal
                redraw

I have removed nohup and redirection of terminal output to allow for terminal commands,


Gnet cannot support large value(>10K) redis benchmark test

Describe the bug
I try to implement a redis-server by gnet,  but I cannot test by redis-benchmark
cmd: redis-benchmark -h <host> -p<port> -t set,get -n 1000000 -d 1000000 -r 1000000
how I implement it in React:

read cmd in frame
// async
using immemeory map set/get
return value

React: React(frame []byte, c gnet.Conn) (out []byte, action gnet.Action)
To Reproduce
just run bench
Expected behavior
it can test and show the result
Screenshots
the Screenshot shows only when -d (data size) is small it can run

System Info (please complete the following information):

OS (e.g. Ubuntu 16.04 & osx1.15):
Go version (e.g. Go 1.16):
gnet version (e.g. v1.6.1):

Additional context
the code is simple, if you need, I can upload later

how i start gnet: log.Fatal(gnet.Serve(echo, dir, gnet.WithMulticore(true), gnet.WithReadBufferCap(8*1024*1024)))

I don't think you have a full understanding of gnet, I'd recommend you to use gnet.ICodec to implement your redis server, parse and process the redis packets one by one, instead of returning gnet.Close when there is an incomplete packet.

can i pass the connection reader to  the goredis.NewRespReader?

i see the http example  here:

will the buf := c.Read() read a complete request? if it's incomplete what will happen?

i find that the example of http is like redis. but I am confused because line 61 returns directly if there are some incomplete requests, will this cause the next error
for example, take ABC as a complete req
user: send ABC
Decode: A: invalid
Decode: BC: invalid

another question:
i want an inmemory redis-server using map, it will have a lock on the map. what will I do the map operator?
in React? but it don't know how the decode str to react
in Decode?
could you provide some examples for it?

When you find there is an incomplete packet, you should return it without any error, in that case, gnet will buffer these data and continue to read data from socket, if you return gnet.Close like you did in your example, the connection will be closed, so take more time to understand gnet before you develop anything on top of it.

If you are trying to develop a redis server with gnet, take a reference from https://github.com/IceFireDB/redhub.

how gnet know it needs to handle a req instead of read it the next time?
the interface decode/encode is hard to use? for decode read data and write to out, it seems all work will be done in encode
.
form your reply I assume if out is empty the encode will be ignore and data will be send to buffer again?

i find that the reference you provided is not used gnet.ICodec. Do you know why?

how gnet know it needs to handle a req instead of read it the next time?

If the Decode() returns a nil []byte, gnet will continue to read data from socket.

i find that the reference you provided is not used gnet.ICodec. Do you know why?

gnet.ICode is just a recommended way to do it, you can also put all your code in React(), as long as you ensure you're doing it correctly.

If the Decode() returns a nil []byte, gnet will continue to read data from socket.
but since we read the data and reset the buf before, will some data lost?

will this possible:
take ABC as a complete req
user: send ABC

Decode: A: invalid, return nil
Decode: BC: invalid

will the 1. write A back to socket to make the 2. be a complete request ?

this http example will discard incomplete req for it reset buffers
I find if we discard only when we handled data it will be fine

but it still cannot pass the large value benchmark

the cmd<EMAIL_ADDRESS>-t set,get -n 3 -d 100000 -r 100000 -c 1 -p <port> will be slow.
by debug i found there are always some incomplete req to the decode so it hangs for a long time

create other issue about this https://github.com/panjf2000/gnet/issues/297


Fixes bug #1216

Current coverage is 96.11%

Merging #1217 into master will increase coverage by +0.01% as of 11b4505

@@            master   #1217   diff @@
======================================
  Files           78      78
  Stmts         9161    9160     -1
  Branches      1717    1717
  Methods          0       0
======================================
  Hit           8804    8804
  Partial         92      92
+ Missed         265     264     -1

Review entire Coverage Diff as of 11b4505

Powered by Codecov. Updated on successful CI builds.

Maybe this PR is obsolete. Please check #1216 and #1218

I will close this PR. See #1216 for more information.


Style

Is there a better way than this?:
let mut color = Color::default();
color.set_tint(0.2);
let mut pattern_fill = PatternFill::default();
pattern_fill.set_background_color(color);
let mut fill = Fill::default();
fill.set_pattern_fill(pattern_fill);
let mut style = Style::default();
style.set_fill(fill);

Oh.... Does Cell::set_style even work?

Ah... PatternFill's default is None

Ah, I'm silly and didn't read:
https://docs.rs/umya-spreadsheet/latest/umya_spreadsheet/structs/struct.Style.html#

Hmm.... Using PatternValues::Solid I can't make it anything but pure black.
I suspect that styles need some work and currently don't respond to background color.

Hmmm, there may be something wrong with the style settings.
We will investigate.

Use set_foreground_color() instead of set_background_color().
This is also implemented in accordance with open xml, but it is confusing.
We will take some countermeasures in the future.
This implementation worked well.
    let mut color = umya_spreadsheet::Color::default();
    color.set_argb(umya_spreadsheet::Color::COLOR_BLUE);
    let mut pattern_fill = umya_spreadsheet::PatternFill::default();
    pattern_fill.set_foreground_color(color);
    let mut fill = umya_spreadsheet::Fill::default();
    fill.set_pattern_fill(pattern_fill);
    let mut style = umya_spreadsheet::Style::default();
    style.set_fill(fill);
    book.get_sheet_by_name_mut("Sheet2")
        .unwrap()
        .set_style("A2", style);

Here is an example of a smarter implementation.
    // change background color.
    book.get_sheet_by_name_mut("Sheet2")
        .unwrap()
        .get_style_mut("A1")
        .get_fill_mut()
        .get_pattern_fill_mut()
        .get_foreground_color_mut()
        .set_argb(umya_spreadsheet::Color::COLOR_BLUE);

Thanks, I'll try that. I had thought foreground color meant text color.

The following implementation has been added for changing the background color of cells.
Please check after obtaining the latest version.
use umya_spreadsheet::*;
let mut book = new_file();
let mut style = book.get_sheet_by_name_mut("Sheet1").unwrap().get_style_mut("A1");
style.set_background_color(Color::COLOR_RED);

Looks nicer!


Make 'Documentation' an 'issue type'

In the spirit of the upcoming documentation sprint, I suggest listing Documentation as a separate issue type here with its own special little icon. You'd of course provide appropriate prompts when the issue is opened: Where exactly in the documentation? What type of suggestions (typo or grammar correction, correction of substantive error, request for clarification, request for an example or more detailed examples, etc.)?
I'm aware of the relevant tag(s) but think that you'd get more and better suggestions on the docs if you set up a separate, full-fledged issue type for them.

Hey @JoanEliot, good idea! Would you be up for making a first draft of this? I imagine we could start from our feature request issue template, which is rather generic. Might also be worth checking what people have reported in existing issues tagged Documentation.

Hey @JoanEliot, good idea! Would you be up for making a first draft of this? I imagine we could start from our feature request issue template, which is rather generic. Might also be worth checking what people have reported in existing issues tagged Documentation.

Yes, I'd be happy to draft a preliminary version. Timing is uncertain but I'll try to come up with something this week. I don't know from pull requests so will just attach the md file here.

Yes, I'd be happy to draft a preliminary version. Timing is uncertain but I'll try to come up with something this week. I don't know from pull requests so will just attach the md file here.

Great 👍 . Our preference would be to do this via a pull request, but I imagine we can create one based on what you propose if you’d rather not use PRs.
If you’re interested to try but not sure where to start – for single-file changes like this, you can make PRs directly in GitHub:
Head to https://github.com/wagtail/wagtail/tree/master/.github/ISSUE_TEMPLATE, then "Add file" > "Create new file". This will create a fork of the project for you, from which you can then create the pull request.

Make sure to follow the expected file format from https://raw.githubusercontent.com/wagtail/wagtail/master/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md, with all the relevant metadata, so the issue template displays as expected on the new issue chooser.

Great 👍 . Our preference would be to do this via a pull request, but I imagine we can create one based on what you propose if you’d rather not use PRs.
If you’re interested to try but not sure where to start – for single-file changes like this, you can make PRs directly in GitHub:
Head to https://github.com/wagtail/wagtail/tree/master/.github/ISSUE_TEMPLATE, then "Add file" > "Create new file". This will create a fork of the project for you, from which you can then create the pull request.

Make sure to follow the expected file format from https://raw.githubusercontent.com/wagtail/wagtail/master/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md, with all the relevant metadata, so the issue template displays as expected on the new issue chooser.

Ok, it's in—that was easy, of course, thanks for the details. I stuck to the format except that I took the liberty of adding a markdown table, but it's not a crucial feature of the template. A selection of possibly appropriate emojis is included, though I didn't think any of them are great.

Thank you @JoanEliot! I took the liberty to merge this after having applied some of my suggestions to make the template smaller, as I think we might as well start using that template for our current documentation work.
If anyone wants to make further changes to the template, we can have further PRs to refine it.

Thank you @JoanEliot and @thibaudcolas !


Build issue on Mac OS

Version of menubar: 2.0.17
CLI: npm run build in electron-generator
Platform: Mac OS Yosemite
I get error message when I run builded app for Mac OS:
A JavaScript error occured in the browser process

Uncaught Exception:
TypeError: app.getAppPath is not a function
    at create (/Users/timurnurislamov/Code/tomatron/node_modules/menubar/index.js:14:33)
    at Object.<anonymous> (/Users/timurnurislamov/Code/tomatron/dist/Tomatron-darwin-x64/Tomatron.app/Contents/Resources/app.asar/index.js:3:10)
    at Module._compile (module.js:428:26)
    at Object.Module._extensions..js (module.js:446:10)
    at Module.load (module.js:353:32)
    at Function.Module._load (module.js:308:12)
    at Object.<anonymous> (/Users/timurnurislamov/Code/tomatron/dist/Tomatron-darwin-x64/Tomatron.app/Contents/Resources/atom.asar/browser/lib/init.js:104:10)
    at Object.<anonymous> (/Users/timurnurislamov/Code/tomatron/dist/Tomatron-darwin-x64/Tomatron.app/Contents/Resources/atom.asar/browser/lib/init.js:106:4)
    at Module._compile (module.js:428:26)
    at Object.Module._extensions..js (module.js:446:10)

You can see this TypeError: app.getAppPath is not a function     at create (/Users/timurnurislamov/Code/tomatron/node_modules/menubar/index.js:14:33)
I need just some help. Thanks

Yes, thats because app.getAppPath was first introduced in electron v0.30.0. What version do you use? The build script in menubars example uses v0.26.0, I will update it.

@jenslind you right. Application work fine now. Thank you.

Great!