enhancement: rename exposed property Control::minimum_size to Control::custom_minimum_size

This rename Control::minimum_size to Control::custom_minimum_size.
This fixes problem encountered here.

I'm not sure it's a good rename. The internal property is called "custom" to oppose the computed value, the one returned from get_minimum_size et al. The thing is, not a lot of people get into creating controls that override the methods, this is mostly useful for custom containers. But the majority of users will run into the need to change control's "custom" minimum size. I think it would be confusing to call it this way when there is nothing opposite to it clearly visible to the user.
I'd rather we renamed the method.

Do you know who is mandatory for this naming discussion ?

I don't quite understand your question, but we tend to discuss things with maintainers and whoever else want to participate. I can add this on the agenda of the next PR review meeting.

Thanks!


Different approach?

Hello,
I found this repo because I had a very similar idea, I wanted to be able to control the eVscope from a computer over a wired connection. My end goal is/was to translate ASCOM into whatever protocol this thing uses. It was very valuable to read through your findings! But it seems you have hit a dead end?
I was wondering if a different approach might work. Instead of keeping the entire evsoft package and trying to decode the traffic between it and a smartphone, what about replacing the evsoft package all together? I was thinking it might be possible to create a new disk image with regular RPi OS on it (or something similar), and then write an ASCOM server (device driver) that runs as an application on the OS. Then the ASCOM server interfaces with the camera and motors through the Unishield HAT.
In the long run that just moves the goal post. Instead of decoding the wireless communication, now I would have to figure out what signals are sent from the RPi to the Unishield HAT. What makes me especially nervous about this approach is the Microchip MCU on the Unishield. I looked it up and I presume it's used for driving the motors, and taking the data from the axis encoders. But I'm not sure how much is handled inside the MCU itself, and how much is passed directly to the RPi. Maybe/hopefully there's a feedback loop that runs on the MCU and never involves the RPi? Presumably Unistellar has written some firmware that lives on the MCU flash memory. So again, that could complicate things.
All that said, I haven't really gotten too far into this approach yet. I want to use a logic analyzer to see what the communication between the RPi and the Unishield looks like. That should give a good idea as to whether this approach is viable. If it's a pretty straight forward protocol, it might have merit. Those are my thoughts though, and I am just getting into reverse engineering, so I'm a bit of a newbie.
What do you think?
EDIT: this method would also allow you to boot from a regular file system instead of a firmware image, you could use a package manager, and something like libcamera would be on the table again.

just got my EvScope 2 today... knowing the apis at ports 13007-13012 would be awesome! I figured it is possible to connect from the iPad/iPhone and a computer to the AP. However, wireshark on my mbp does not capture the packets of the other device. It is apparently a MacOs limitation. On some Linux distro / hardware combinations it seems to work though, see here: https://wiki.wireshark.org/CaptureSetup/WLAN#macos-mac-os-x
maybe someone wants to give it a try?
alternatively, in case you have ssh access maybe the remote packet capture in wireshark would work?

ok, it works - here is the trick on the mbp:

disassociate from the wifi network
start wireshark on the wifi (en0 for me) with monitor mode enabled. you can also limit "portrange 13007-130012" in options
Option-click on the wifi icon in the menu bar -> Open wireless diagnostics
in the Window menu start Sniffer
select the proper channel (11 in my case)

another step further, after installing the ZMTP plugin in wireshare here
https://github.com/whitequark/zmtp-wireshark
apparently the commands for moving the telescope are sent on port 13012 in some binary format that can be analyzed now when filtering on the ZMTP protocol in wireshark


Web - Unread message with (first/last name) emoji shows as black and white, not color

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://staging.new.expensify.com
Log in with any account and set emojis for the First and Last Name ( Account A) in the Settings
Use another device and log in with any user ( Account B) and send message to Account A

Expected Result:
Unreaded message with (first/last name) emoji shows in appropriate color
Actual Result:
Unreaded message with (first/last name) emoji shows in white and black color
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web

Version Number: 1.1.20-2
Reproducible in staging?: YES
Reproducible in production?: YES
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/146233096-63bfdad8-d837-42c9-9fc8-19d02304b943.mp4
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @thienlnam (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Triggered auto assignment to @jliexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Wow, that is interesting

Posted!
Internal - https://www.upwork.com/ab/applicants/1471238085228138496/job-details
External - https://www.upwork.com/jobs/~0156ef71c0909350fb

Triggered auto assignment to @parasharrajat (Exported)

Current assignee @thienlnam is eligible for the Exported assigner, not assigning anyone new.

I can't reproduce on my end using MacBook Pro 2020 M1 with google chrome and safari.
But as I can see from the video you shared, it looks like you have a custom font, and rendering the emojis is breaking with fontWeight: '700' which is the style for unread messages.
Please provide your environment so I can try to reproduce, and make sure you are not using custom fonts.

@srdjanrist Were you able to reproduce this issue? would you mind sharing the reproduction steps so that I can validate your proposal?
And this is a cross-platform app, the solution needs to be in RN and work for Android, IOS, Desktop, Web, MWeb.

Yes. I have reproduced this issue on Windows 7, using Google Chrome.
Steps:

Open Expensify app
Select chat with a person that has emojis in their name
Issue observed in every chat message (screenshot attached)

One more notice, when a user receives a message from a person that has emoji in their name, emojis are rendered colorless in the list of chats as well. (screenshot attached)
Screenshot of messages in a single chat:

Screenshot of list of chats

Thanks for sharing. let me check.

I have tried this on mobile as well now. Unfortunately, the library for parsing HTML to react native components doesn't work on mobile. I will think of another way.

Well, it seems like @srdjanrist is correct. It does seem like Chrome Emoji font-weight issue.
But before we review your proposal, you have to propose your solution in RN, and that suits our codebase. You can read about the Style Guides from files present at the root of this repo. Let me know if you have any questions.

@parasharrajat Thank you for the documentation.
Proposal
Since the previous proposal didn't work on mobile devices, due to rendering HTML, I have thought of another way.
We need to render these strings for the users name in <Text> React Native components.
Parts of string that are not emoji should be rendered as plain text, whilst parts that are emojis need to be wrapped in another <Text> component which has appropriate style set to them.
Looking into RN documentation (https://reactnative.dev/docs/text#nested-text), we can see that if there are nested <Text> components, RN renders them properly as spannable strings which allows formatting parts of the string.
I have created an algorithm that goes over text (in this case users name), finds all emojis, separates them to different <Text> components and appends rest of the string (which is not an emoji) properly.
First find all emojis.
 const regex = /\ud83c[\udf00-\udfff]|\ud83d[\udc00-\ude4f]|\ud83d[\ude80-\udeff]/g
 const allEmojis = text.match(regex);

Prepare some helping variables, and initiate for loop over all emojis.
let lastIndex = 0;
const elements = [];
for (let i = 0; i < allEmojis.length; i++) {
      /// Below is written code from this loop
}

Below is the code from inside the for loop mentioned above.
Inside this loop, we take the current emoji, find its index (indexOfEmoji). From the previous position of index (lastIndex), until current (indexOfEmoji), we take substring, which is regular text (without emojis). That string can be added as JSX string inside elements array.
After that, we substring from the position of emoji indexOfEmoji, and we take currentEmoji.length which is the "size" of emoji of characters. This is our emoji and it is placed in emojiString. From this string we create <Text> component with specified style (normal fontWeight concretely), and add it to elements array.
const currentEmoji = allEmojis[i];
const indexOfEmoji = text.indexOf(currentEmoji, lastIndex + 1);

const regularText = text.substring(lastIndex, indexOfEmoji);

elements.push((
     regularText
));

const emojiString = text.substring(indexOfEmoji, indexOfEmoji + currentEmoji.length);
elements.push((
     <Text key={indexOfEmoji} style={{fontWeight: 'normal'}}>{emojiString}</Text>
))
lastIndex = indexOfEmoji + emojiString.length;

After we parse all emojis, we take rest of the string, from lastIndex until end, and push it to elements array as well.
const restOfText = text.substring(lastIndex);
elements.push((
     restOfText
));

return elements;

In the end, as our formatted string is ready, we pass it to the custom component <ExpensifyText>, and it will render properly.

I got your idea but this code will need a lot of improvements such as creating a component, swapping all parts of code that is facing this issue.
It's not a good idea to add this code to ExpensifyText.
But in short, your solution will work but needs improvements.

Could you please identify and list down the places where you would be adding this code?

Secondly, I leave the decision to @thienlnam .

Hmm, this solution will work but it feels like a lot of overhead for every place we render the names.  Is this problem isolated to Windows?  I've not having the same issue on Mac Google Chrome and can see emojis with color fine

Proposal
fix 1  (workaround)
if you are flexible with style we can change the font weight from bold to 599 which is the max value where this chrome issue does not happen.  it starts to happen at 600.
and  if we  need to make the text bolder than 599  for the unread messages we can change the font family (on web) to some bold font like (ex : Arial black)
fix 2
otherwise, we will need to render the emoji as Text with custom style or as an image some tools like (Twemoji)do this but we can implement the logic
I prefer to do this on ExpensifyText and use platform.select to custom this logic for the web.
we also can add a  flag like parseImoji  with false defulte value  and  developer can add it with true to if Text can contain imoji (const text does not need to have this parsing logic for example ).

@parasharrajat
Every place that a users name can be rendered in bold would need logic changed. I would certainly extract this code somewhere and reuse it, though. Wouldn't really repeat the logic everywhere.
From my research, these are the places that a users name can be seen in bold:

all chats, when there is a new message from the user
single chat window, all messages
side menu with users settings

@thienlnam
I agree with you. Certainly, creating and rendering this layout which has emojis in separate views is intensive, especially if there is a lot of messages received from a user with emojis in its name. I was thinking about creating some kind of hashmap which would map user with emojis (unicode) to JSX, and therefore we would only need to parse it once. For this, I would need to consult with someone if something has been done before on Expensify.
I also couldn't reproduce it on Mac. It seems that issue is reproducible only on Windows -> Chrome.

@thienlnam What do you think about @srdjanrist 's approach? I think it is doable.

Sure, let's move forward with that

Hi @srdjanrist - could you confirm your name in Upworks? I'm trying to hire you but am having some issues finding you. Cheers!

Hi @srdjanrist - could you confirm your name in Upworks? I'm trying to hire you but am having some issues finding you. Cheers!

Hey @jliexpensify. My upwork account is: https://www.upwork.com/freelancers/~01259b97b8cb9a1031

📣 @srdjanrist You have been assigned to this job by @jliexpensify!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖

Not overdue Melvin, still being worked on!

Issue not reproducible during KI retests. (First week)

@mvtglobally Just to double check, are you able to reproduce this on windows?

@thienlnam sorry for delay. Missed this message earlier
Issue not reproducible during KI retests. (Second week)

Hmm odd, the fix we're working on is not merged yet.
@srdjanrist Are you able to reproduce this on main? Maybe Google Chrome has released a fix of some kind

@thienlnam I have just checked the main branch and tried to reproduce it. The bug IS NOT reproducible anymore, so confirming what @mvtglobally has noticed.
It seems that Chrome was updated.

Thanks for the update @thienlnam - I'll get on this today:

@srdjanrist : $250
@parasharrajat : $250

Paid @srdjanrist , once @parasharrajat accepts I'll pay the remaining $250 and close out the job and GH. Cheers everyone!

All paid and closed!

@thienlnam @jliexpensify  Be sure to fill out the Contact List!


mongodb-6_0: 6.0.18 -> 6.0.19

https://www.mongodb.com/docs/v6.0/release-notes/6.0-changelog/#6.0.19-changelog

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build mongodb-6_0

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360829

x86_64-linux

:white_check_mark: 1 package built:

mongodb-6_0


feat: remove deprecated extension HFInferenceEndpointsExtension

coverage: 96.032% (-0.02%) from 96.051%
when pulling<PHONE_NUMBER>6d1cea1744f5736c5aa8fa0c4b9ad4 on massi/remove-hf
into 32c38414f7408d392327b1469c78b7af3f746ddc on main.


Image Resize

Hello,
Do you think it's possible to resize an image pulled from tmdb as i've found that one is cut off and it looks kind of strange.
Example;

Thanks.

Unfortunately not. No crop would fit every poster you throw at it. If I fix it for The Good Doctor, it's broken for countless others.


Facing error while executing program

Hi,
Below is the error I am getting while running the program in the command prompt:
(I am end user of this program)
Traceback (most recent call last):
File "I:\1\main.py", line 16, in
launch_tasks(*tasks_to_be_run)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\launch_tasks.py", line 54, in launch_tasks
current_output = task.begin_task(current_data, task_config)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\base_task.py", line 249, in begin_task
final = run_task(False, 0)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\base_task.py", line 190, in run_task
create_directories(self.task_path)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\base_task.py", line 134, in create_directories
_download_driver()
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\base_task.py", line 34, in download_driver
download_driver()
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\download_driver.py", line 50, in download_driver
download_driver_in_path()
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\bose\download_driver.py", line 12, in download_driver_in_path
path = chromedriver_autoinstaller_fix.install(path='build/')
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\chromedriver_autoinstaller_fix_init.py", line 21, in install
chromedriver_filepath = utils.download_chromedriver(path, no_ssl)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\chromedriver_autoinstaller_fix\utils.py", line 283, in download_chromedriver
major_version = get_major_version(chromedriver_version)
File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\chromedriver_autoinstaller_fix\utils.py", line 212, in get_major_version
return version.split(".")[0]
AttributeError: 'NoneType' object has no attribute 'split'

Do you have Chrome installed?

I have checked and updated chrome as due to some reason it was not auto updating.
Let me rerun the program

The program ran! it seems phone numbers are not being scraped. Any reason behind that

it's in pro persion.

Please provide your whatsapp number?

https://wa.me/message/3WED4FYQRDPNE1

@deepaksethi141, We released new Version. Kindly use it.


Strange behavior of CLI interface

I have tried this whith groovy
List<String> args = []
        args.add("rootConfluenceUrl=https://myDomain.tld")
        args.add("username=restuser")
        args.add("password=secret")
        args.add("ancestorId=338330862")
        args.add("spaceKey=myKey")
        args.add("asciidocRootFolder=/home/tom/src/java/testProject/src/docs/README.adoc")
        args.add("strategy=" + PublishingStrategy.APPEND_TO_ANCESTOR.name())

        AsciidocConfluencePublisherCommandLineClient.main((String[])args.toArray())

Output:
Deleted page 'Subpage1' (id 338330879)
Deleted page 'Subpage2' (id 338330881)
Documentation successfully published to Confluence
the pages are deleted though the strategy is set to APPEND, that is not the behavior which I expected. But there is also no site published.
I'm using
 group: 'org.sahli.asciidoc.confluence.publisher', name: 'asciidoc-confluence-publisher-cli', version: '0.6.0'

What went wrong?
Greetings Tom

Ok, saw that asciidocRootFolder must be a folder not a file.


Fix for mod oriented tech tree config

ckan creation and installation works, but the required TechManager is 0.25 only.


Add a custom control to mahapps metro form

Guys i want to add piano control which i made in wpf to mahapps metro form .. can someone please tell me a way to add it

You add it like others controls in standard Window...

@Ungihan Is this still an issue? If so, can you post more informations what do you try to do?

@AndrzejKl Yeah i did that :)
@punker76 No i solved it :) thanks guys


State observable not assignable

If I try to use store.select as a regular observable I got strange type errors like this:
Error:(31, 5) TS90010:Type 'Subscription' is not assignable to type 'Subscription'. Two different types with this name exist, but they are unrelated.
  Property '_parent' is protected but type 'Subscription' is not a class derived from 'Subscription'.

or
Error:(49, 5) TS90010:Type 'Observable<boolean>' is not assignable to type 'Observable<boolean>'. Two different types with this name exist, but they are unrelated.
  Property 'source' is protected but type 'Observable<T>' is not a class derived from 'Observable<T>'.

I use the same import statement as tydux: import {Observable} from 'rxjs/Observable';

Maybe it's because tydux defines rxjs as a dependency in version x and I have a dependency to rx in version y. Than npm will install two different versions (non-flat).
I think that's why angular defines rxjs as peer-dependency.

If I install exactly the same version tydux requires it works.


sourmash: must we use scaled signatures with --containment, --max-containment, and --avg-containment?

Consider this attempted example:
❯ rm -rf 3V.db; pyani-plus sourmash --database 3V.db --create-db tests/fixtures/viral_example --num 250
Indexing FASTAs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 3/3
sourmash run setup with 3 genomes in database
Database already has 0 of 3²=9 comparisons, 9 needed
host: Peters-iMac.local
must use scaled signatures with --containment, --max-containment, and --avg-containment
[Wed Dec  4 16:04:55 2024]
Error in rule compare:
    jobid: 0
    input: /var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/MGV-GENOME-0264574.sig,
/var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/MGV-GENOME-0266457.sig,
/var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/OP073605.sig
    output: /var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/sourmash.csv
    shell:

        sourmash compare --quiet --csv /var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/sourmash.csv --estimate-ani
--max-containment -k 31 /var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/MGV-GENOME-0264574.sig
/var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/MGV-GENOME-0266457.sig
/var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/OP073605.sig &&
        .pyani-plus-private-cli log-sourmash --quiet             --database /Users/pc40583/repositories/pyani-plus/3V.db --run-id 1
--compare /var/folders/xq/zhs3hy7x5cv50svc4s7q2_9h0000gn/T/pyani-plus_05b7m2ai/output/sourmash.csv

        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Exiting because a job execution failed. Look above for error message
WorkflowError:
At least one job did not complete successfully.
Comparing pairs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01 1/1
Snakemake workflow failed

Note this line from sourmash compare:
must use scaled signatures with --containment, --max-containment, and --avg-containment
Apparently we can't use num=250 or similar in the sketches after all, which simplifies our public API a little to just off --scaled ... alone.
e.g.
❯ rm -rf 3V.db; pyani-plus sourmash --database 3V.db --create-db tests/fixtures/viral_example --scaled 350
Indexing FASTAs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 3/3
sourmash run setup with 3 genomes in database
Database already has 0 of 3²=9 comparisons, 9 needed
host: Peters-iMac.local
Comparing pairs ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:03 1/1
Completed run-id 1 with 3 genomes in database 3V.db

I hadn't realised that…

We may have other gaps in our test coverage around non-default parameters...


Slightly misleading line in Getting Started: Installing ASP.NET 5 On Windows doc

@Rick-Anderson @ardalis @danroth27
RE: https://docs.asp.net/en/latest/getting-started/installing-on-windows.html
The line ...

4 On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4.

... is a little misleading. It conflates the issue of requiring the install on a machine where the development is occurring (a dev box with VS) with the issue of not requiring that install where the .NET 5 applications may be served (i.e., a WS 2008 R2 box without VS).
May I suggest some kind of change to clear up any confusion:
A short and sweet change ...

4 On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4. Note: This step only applies to computers where Visual Studio will be installed.

A professorial long-winded, bloated explanation ...

4 On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4. Note: This install is only required on Windows Server 2008 R2 if Visual Studio is installed on the server for development purposes. If the server is being used solely to serve ASP.NET 5 applications via IIS, this install is not required on the server. See Publishing to IIS for details on Windows Server configuration for ASP.NET 5 application hosting.

@saurabh500

/cc @kkurni

@GuardRex VC++ Redis 2012 is needed because of this open issue.
https://github.com/dotnet/corefx/issues/3760
This will appear if you are using SqlClient.
AFAIK, Only SqlClient which currently depend on this.
So if it doesn't have sql client dependency, you will not need this VC++ Redis 2012.
I had tried to published web application into IIS, and both still required VC++ redis 2012 to use SqlClient.

OS may automatically installed VC++ Redis 2012 as part of the update.
Or It could be automatically installed on Visual Studio 2012 +.
Maybe we need to change the text to "make sure that VC++2012 is installed" instead of putting this as a "Step"
Or we can put this into "troubleshooting" section

@kkurni I see. I'm not sure where my ref to VS came from. At time, it may have just been confusing to me why this was being required and I guessed wrong.
Whatever is done, I hope the reason that the install is being required can be stated and the platforms and/or application context to which it applies is stated. It's just helpful to know when one can skip it if they don't need it.

Sure we can add a comment clarifying that this is really only required to get SqlClient to work.

This issue is no longer relevant since we have moved to .NET Core.

@danroth27 There might still be a lingering issue there. I noticed that the VC++ was there by default when I spun up a 2008R2 VM in Azure, but this cat had a problem with an existing server ... https://github.com/aspnet/IISIntegration/issues/179#issuecomment-220172988.
I'll play with it today and see if I can repro what was described there and see how that exception shows up in the various logging. Then, I'll open a normal issue with my findings in the Doc repo for discussion.


osinstancectl doesn't use the template provided in /srv/openslides/OpenSlides

Hi there,
I am currently trying to change the looks of my OS clients that are populated by osinstancectl. Unfortnately osinstancectl ignores changes, that I make to the template in the template directory defined in osinstancectl.sh.
Here is how I thought I have to do it:

remove the current instance with the name
change the necessary files in /srv/openslides/OpenSlides/client
add the instance
enjoy the changed colors/logos

What did I miss? Is the tool ignoring the template dir? If so, where to make the changes?

I also tried rebuilding the images - didn't work.

Unfortnately osinstancectl ignores changes, that I make to the template in the template directory defined in osinstancectl.sh.

I'm afraid you are reading too much into osinstancectl's TEMPLATE_REPO variable.  TEMPLATE_REPO is the directory from which osinstancectl takes its YAML and .env configuration templates.  In other words, it's a template for what defines an OpenSlides instance.  That's it.
osinstancectl starts containers based on existing images.  It does not rebuild them.

I also tried rebuilding the images - didn't work.

Good, here you are on the right track.  If you can build the images prior to making your changes but run into those NPM errors afterwards, then there is your problem.  You should probably read the error messages carefully and investigate the log files mentioned in them.
I'm closing this issue because I believe that it has nothing to do with osinstancectl.  Feel free to open another issue if you think that something might be wrong with the build script, the client image etc.


BUG: Errors spam "special characters are not allowed..."

Console is spamming this error:
http://pastebin.com/LHzfLhRe
Using Bungeecord

Should work now.


Feature request: increase credits and xp automatically after missions

Examples:
"Heroes receive 100 credits per hero",
"The heroes receive 100 credits per hero for every 3 mission tokens they have claimed"... this should be possible to calculate
"Each hero receives 1 XP. Heroes receive 100 credits per hero."
I've looked in the mission cards json files and I realize that this is a rather big change since the xp and credits are part of the description text and not as separated properties. 😁 But if they were, it should be possible to automate this.
The harder one is the "During the Rebel Upgrade stage, the Rebel players can decide to spend 50 credits per hero to prevent this.".. which might be why this feature has not been implemented yet 😄, but it should be possible with a choice popup after the mission with that text and costPerHero (if they have enough credits), and then alter the credits based on the choice made.

I realized we never commented on this. Yes, as you noticed yourself, this would be quite a big change, because you'd have to implement it in all mission files - and there are about 600 of those if you count translations. The choice during the Rebel Upgrade stage would not be that big of a problem, because you could simply manually decrease the credits in the campaign manager. But retouching 600 missions is not feasible.
However, things might look differently after our planned mission overhaul. We'll take a look into it! You would still need to manually add any credits from crates, however.


Give examples of things which are SemiOrderedContainer's but not OrderedContainer's

As it stands, things like cons, snoc and sortBy are all in SemiOrdered, but seem to require ordering... Examples of where Set's (for example) live would be useful.

Note that null and length are in different classes, which looks very dodgy.

Maybe the key point about the more powerful contain is that it is indexed by some separate key?

Ordered is just that the contained preserve the order of element relatively to their insertion, it doesn't mean sorted. I couldn't find a less confusing name
Semi is loosely related to the semigroups thing, for example NonEmpty list. I got the idea to distinguish operations that could remove data and make container empty from mono-traversable, i.e. it could be useful in the future..
I think Set and Map wouldn't be represented by any of those containers: order are not preserved, and can't have duplicated value. I need to put all those characteristics-per-containers down on papers to make sure they are properly abstracted.
I also agree null and length are currently dodgy; Need to think how Foldable plays a part in all this.

Perhaps you are biting off more than you can chew? Having an abstraction over Vector/MVector/UVector/MUVector/List/Chunks/String is really handy, and they are all truly isomorphic. In contrast, the division you've picked here sounds like it needs more thought and practical use before it turns into a real API...

yes, definitely biting more than chewable, but need to have dreams :-)
I think to think of some reasonable segmentations between different containers, trying to not go overboard, and yet think of something that has some added value.

Is Foundation going to have a Map/Set data types? If not, having types to abstract over them seems weird, since you are really just abstracting over contiguous 0..N Int indexed data structures - for which a nice API is pretty trivial.

I think Map/Set/Hashtable would be useful to have built-in

Notes from the train:

Indexed k v

instance Indexed

class Indexed c k v | c -> k v where

instance Indexed (Array a) Int a where

instance Indexed String Int Char where

lookup :: c k v -> k -> Maybe v

zip :: (Indexed c1, Indexed c2, Indexed c3, Key c1 ~ k1) => c -> c -> c

zip :: (Indexed c1 k v1, Indexed c2 k v, Indexed c3 k (v1, v2)) => c1 -> c2 -> c3

zipWith :: (Indexed c1 k v1, Indexed c2 k v2, Indexed c3 k v3) => (v1 -> v2 -> v3) -> c1 -> c2 -> c3

replicate :: Indexed c Int a => Int -> a -> c

replicate :: Indexed

append :: Indexed c Int a => c -> c -> c

keys ::

values

elems :: c -> [v]

class Indexed c k v where
    fromIndexed :: c -> [(k,v)] -- each k is unique
    toIndexed :: [(k,v)] -> c
    ...
    take :: Ord k =>
    replicate :: Enum key =>
    lookup :: Eq k =>
    find
    length
    singleton
    sortBy :: Ord k =>
        let (ks,vs) = unzip $ toIndexed c
        in zip ks $ sortBy f vs
    reverse :: Ord k =>
    union ::

instance NotSequential
    union
    intersection

    mapWithkey

    intersect

instance Sequential [v] v

-- NO -- instance Indexed [(k,v)] k v where

[_]

class Indexed c Int k => Sequential c v where
    fromSequence :: c -> [v]
    toSequence :: [v] -> c
    ...
    append -- mappend
    snoc
    cons

take :: (NatIndexed c v) => Int -> c k v -> c k v
take n = toIndexed . List.take n . sortOn fst . fromIndexed

append :: (Sequential c v) => c -> c -> c

take 2 "abc" = "ab"

drop :: Ord k =>


Gitpod Getting Started example not working

Tested in MacOS Safari and Chrome. Returns the error Couldn't parse context 'https:/github.com/contentlayerdev/next-contentlayer-example'.

@valtism thanks for opening this issue. Could you please share where you've seen/found the Gitpod link you've shared above?
It seems to miss a / after the https:/ in the URL you shared. It should be: http://gitpod.io/#https://github.com/contentlayerdev/next-contentlayer-example

This at the top of the Getting Started page: https://www.contentlayer.dev/docs/getting-started in the "Try It Now" box


[DFP-34X-2C2] Cannot set OMCI_SW_VER*

# flash get OMCI_SW_VER1
OMCI_SW_VER1=V1.0-220414
# flash get OMCI_SW_VER2
OMCI_SW_VER2=V1.0-220817
# flash set OMCI_SW_VER1 V3R016C10S150
OMCI_SW_VER1=V3R016C10S150
# flash set OMCI_SW_VER2 V3R016C10S150
OMCI_SW_VER2=V3R016C10S150
#
# flash get OMCI_SW_VER1
OMCI_SW_VER1=V3R016C10S150
# flash get OMCI_SW_VER2
OMCI_SW_VER2=V3R016C10S150
# reboot
Connection closed by foreign host.
telnet <IP_ADDRESS>
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
login: admin
Password:

BusyBox v1.12.4 (2022-08-17 15:13:25 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# flash get OMCI_SW_VER1
OMCI_SW_VER1=V1.0-220414
# flash get OMCI_SW_VER2
OMCI_SW_VER2=V1.0-220817
#

Its being reset do default after reboot.
UPDATE: Seems like firmware bug.
It is possible to change it using web interface.

If using DFP-34X-2C2, one option to avoid the OMCI_SW_VER* override after reboot is to set the following value, as discussed https://github.com/Anime4000/RTL960x/issues/30#issuecomment-1146604684:
flash set OMCI_OLT_MODE 21

Or, there is a firmware version that fixes this bug as well as some others - Anime4000/RTL960x/Firmware/DFP-34X-2C2

OMCI_OLT_MODE 21 does the trick.

I have the same problem with V2801F_V1.9.0-220425.tar.


Auto organize imports

Summary of Changes
I find inconsistent imports can cause more merge conflicts and mental effort than should be. How about we get VSCode to manage consistency for us? I've added a .vscode/settings.json file with the directive for VSCode to organize imports on save. It will put them in order, remove unused imports, and keep them formatted propertly.
It's fine if ppl don't use VSCode, those of us using it will have imports organize on save. As the app stabilizes over time I expect imports will change less frequently.
Related Issues
N/A
Pull Request Checklist
This is just a reminder about the most common mistakes. Please make sure that you tick all appropriate boxes. But please read our contribution guide at least once; it will save you a few review cycles!
If an item doesn't apply to your pull request, check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this).
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components.
[x] Run prettier: npm run style-format
[x] Updated documentation for changed code and new or modified features.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
PR template adapted from the Python attrs project.

I'm a big proponent of this! In AFJ we use the eslint-plugin-import to automatically order imports. As we already have eslint and it is agnostic to the editor being used I think it may also be a good fit for this project. You can take a look at AFJ as an example.
What do you think?

@TimoGlastra I'll check it out but it seems unnecessarily complicated to get started and gives lots of edge case problems like:
   9:33  error    Parse errors in imported module 'react-native': ';' expected. (14:32)  import/namespace

@TimoGlastra Ok, a bit of yack shaving there but I think its implemented now.

it seems unnecessarily complicated to get started and gives lots of edge case problems like

Feel free to do it like your initial implementation, you're doing the hard work here! In AFJ I find it quite nice because it just removes the burden of organising imports for the developer and you can auto fix it (and we can enforce it in CI).
To auto fix eslint and prettier issues on save you can use the following configuration:
.vscode/settings.json
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  }
}

.vscode/extensions.json
{
	// List of extensions which should be recommended for users of this workspace.
	"recommendations": [
		"dbaeumer.vscode-eslint"
	]
}

@TimoGlastra I think it's working now without the .vscode/settings.json change. I did add the plug-in recommendations that just seems generally handy. Ready for review.


[BUG]

Description
I am trying to create multiple crews having different kick off criterias. But the code is throwing error.
I tried replicating by creating separate run1() or using run( string "context") in main.py. But it throws error
Any suggestions?
Steps to Reproduce
none
Expected behavior
none
Screenshots/Code snippets
none
Operating System
macOS Sonoma
Python Version
3.13
crewAI Version
crewai version: 0.80.0
crewAI Tools Version
"crewai[tools]>=0.80.0,<1.0.0"
Virtual Environment
Venv
Evidence
crewai run sol1
Usage: crewai run [OPTIONS]
Try 'crewai run --help' for help.

f __name__ == "__main__":
    if len(sys.argv) < 3:
        print("Usage: main.py <command> [<args>]")
        sys.exit(1)

    command = sys.argv[1]
    idea = sys.argv[2]
    if command == "run" and idea == "1":
            run1()
    elif command == "run":
            run()
    elif command == "train":
        train()

Possible Solution
none
Additional context
none

care to share the error??

Deployment error: CodeBuild failed:
PLA......."
On Tue, 10 Dec 2024 at 8:40 PM, Rip&Tear @.***> wrote:

care to share the error??
—
Reply to this email directly, view it on GitHub
https://github.com/crewAIInc/crewAI/issues/1719#issuecomment-2531954998,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BM6WN4CA4E7AWLE76V7MZPD2E375RAVCNFSM6AAAAABTEQWGVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZRHE2TIOJZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove additional config argument from Metric

This change removes config arguments from methods in Metric.
Overall, this argument is rarely utilized while it is not referred appropriately in many subclasses. Since we can instantiate another Metric object to use different configs, I thought that we can remove this argument without any drawbacks.
This pull request also contains some typing errors in Metric classes.

@neubig I think we should implement some inner singleton to hold sharable objects in the same metric instead of overriding the config.

Sounds good, I'd suggest we revisit that if when it becomes necessary.


Support exporting application logs through OTel

It'd be nice to consolidate logs into OTel like we've done for metrics and traces

My vague understanding is that otel logging has pretty bad ecosystem support.

That is also my vague understanding — still worth exploring IMO.
At the very least I wan to try emitting tracing::info! events from guest logs so that they appear as events on their spans.

Closed by #2516 and #2511


Optimistic locking violation when saving saga instances should retry handler until success

When a saga instance gets invoked and persisted to the saga store an optimistic locking error may occur due to concurrent invocations.
Currently when this happens the general retry strategy retries the message until success or until the set max retry count is exceeded and the message gets rejected.
In highly concurrent saga's this may cause unneeded operational efforts due to failed messages.
In case of concurrency violations we should retry the message until success.

What happens if it actually should fail? We should add configuration around it and metrics for monitoring

It should retry until success and the error should be "ignored" only if the error is due to a concurrency error other types of errors follow the regular retry flow

Also, this behaviour of retry upon concurrency error until success - needs to be extended to handlers (not just saga).

What worries me is that if we provide such a mechanism it is a "loophole" that may lead to a service becoming unresponsive due to miss use or a bug in the way a developer may utilize this feature

we can have a different counter for this situations, something like 100 retries.. that should be sufficient and too much :)

@avigailberger I was thinking about something along the lines you mentioned

Decided to not proceed this route and instead allow configuration of the max retry policy and using a jittering backoff to reduce chances of conflicts #84


retrieve manifests and metadata from kopia

Description
In a backup operation, begins the operation by
retrieving all backup manifests and metadata
from prior operations.
Type of change

[x] :sunflower: Feature

Issue(s)

#1725

Test Plan

[x] :zap: Unit test
[x] :green_heart: E2E

@ashmrtn This is currently missing tests.  I'm looking for a gut-check on the details before I dive into that.


browser.close() still tries to kill the process when the close is successful

Steps to reproduce
Tell us about your environment:

Puppeteer version: 3.1.0
Platform / OS version: Windows 10
URLs (if applicable):
Node.js version: 14.2.0

What steps will reproduce the problem?
browser.close()

What is the expected result?
No error message
What happens instead?
ERROR: The process "67920" not found.

^ This is the output from running taskill on non-existent process on Windows.
Explanation of the problem
https://github.com/puppeteer/puppeteer/blob/master/src/launcher/BrowserRunner.ts#L129 sends Browser.close command and on error it tries to kill the process. But in this case the error itself is not really an error
Error: Protocol error (Browser.close): Target closed.
    at \node_modules\puppeteer\lib\Connection.js:53:63
    at new Promise (<anonymous>)
    at Connection.send (\node_modules\puppeteer\lib\Connection.js:52:16)
    at BrowserRunner.close (\node_modules\puppeteer\lib\launcher\BrowserRunner.js:100:29)
    at Browser.close (\node_modules\puppeteer\lib\Browser.js:177:35)
    at Browser.<anonymous> (\node_modules\puppeteer\lib\helper.js:95:27)

So it then tried to kill a non-existent process.

I am seeing a potentially related issue in browser.close() as well.
Out of a few hundred runs I'm seeing about 6% error rate (windows server 2016/vmware fusion/puppeteer 3.1/node 14.1/14.2).  While in browser.close(), a 'page crashed' error is randomly emitted with a call trace like:
(node:6296) Error: Page crashed!
at Page._onTargetCrashed (..\node_modules\puppeteer\lib\Page.js:200:28)
at CDPSession. (..\node_modules\puppeteer\lib\Page.js:120:57)
at CDPSession.emit (events.js:315:20)
at CDPSession._onMessage (..\node_modules\puppeteer\lib\Connection.js:166:18)
at Connection._onMessage (..\node_modules\puppeteer\lib\Connection.js:83:25)
at WebSocket. (..\node_modules\puppeteer\lib\WebSocketTransport.js:25:32)
at WebSocket.onMessage (..\node_modules\ws\lib\event-target.js:125:16)
at WebSocket.emit (events.js:315:20)
at Receiver.receiverOnMessage (..\node_modules\ws\lib\websocket.js:800:20)
at Receiver.emit (events.js:315:20)
The node error stream shows:
ERROR: The process with PID XXXX (child process of PID YYYY) could not be terminated.
Reason: There is no running instance of the task.
Still trying to isolate this issue but fast running out of time.  Unable to repro on bare-metal/win10pro so far.


Add testing

The whole repository is in need of tests.
Use pytest.
As a starting point:

[ ] data/

[ ] ?

[ ] model/

[ ] ?

[ ] Add to CI

These routines should then be merged into other branches and run before further PRs are closed.
Closes #6

[ ] Move this test in models1.py https://github.com/m2lines/GZ21_ocean_momentum_CNN/blob/main/models/models1.py#L155-L161 into its own test file.

First task would be to move data/test_coarse.py tests into a pytest module (what is the standard practice there?)

I moved data/test_course.py to data/tests/test_course.py when opening this PR.
This is the standard format to be picked up by pytest.
I also rewrote it as a pytest test instead of unittest on the old branch here which may help.

Refined the scope of this PR a bit more so that it just handles the existing tests, putting them in a more regular form that can be run by pytest.


Clicking on cluster Explorer hyperlink gives a 404 error

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

From Local cluster --> Click on Cluster explorer

User is redirected to https://<rancher-server>/dashboard/c/local page with a 404 error

Expected:
User should be navigated to the dashboard page.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head - commit id: 7636d25d8d
Installation option (single install/HA): HA

Tested with rancher server version - master-6a6f13cec32b8d046e36622f82a2fc0b5c1e0ef7-head
Able to launch "cluster explorer" successfully for local and downstream clusters.


build fails due to broken deeper level dependency

Hi,
it seems to me that the post processor does not build currently due to some broken dependencies in dependencies:
it's the goop install command that fails, seemingly(I'm not a go expert) at this place:
$ goop install
...
package google.golang.org/grpc
imports golang.org/x/net/http2
imports golang.org/x/net/http2/hpack
imports google.golang.org/grpc/credentials
imports google.golang.org/api/bigquery/v2
imports google.golang.org/api/container/v1beta1
imports google.golang.org/api/container/v1beta1
imports google.golang.org/api/container/v1beta1: cannot find package "google.golang.org/api/container/v1beta1" in any of:
/usr/lib/go/src/pkg/google.golang.org/api/container/v1beta1 (from $GOROOT)
/home/henning/packer-post-processor-docker-dockerfile/.vendor/tmp/src/google.golang.org/api/container/v1beta1 (from $GOPATH)
....
goop: Command failed with exit status 1
install.txt

This seems similar to #1 - I am not a go expert either, but I just deleted the Goopfile.lock and things seem to be working okay now.

Thanks that made it work!  :)
That being said, I was embarrassed having overseen an obvious solution in another ticket, but I barely see any resemblance in these two issues apart from "updating" but not deleting the goopfile being mentioned ;)
But maybe updating the checked- in goopfile would be a solution that makes the build run again without modifications from a clean clone.


Certain models aren't working

gpt-neo-1.3B
gpt-neo-2.7B
gpt-large

After investigations, it comes from the downloader and the pytorch_model.bin being uncomplete.


Can't cast .m3u8 videos

In the demo I replaced the default .mp4 MediaInformations with a .m3u8 video, the local player works fine and the video plays as expected, but when I try to cast it, it fails (Shows a blackscreen with the "SAMPLE" words on it).
This is the MediaInformation I'm using
let mediaInfo = GCKMediaInformation(contentID: "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8", streamType: .buffered,
                                            contentType: "application/x-mpegURL", metadata: metadata,
                                            streamDuration: kGCKInvalidTimeInterval,
                                            mediaTracks: nil,
                                            textTrackStyle: nil, customData: nil)

And this are some of the logs the app is showing.
MediaViewController: sessionManager didStartSession <0x106567460: GCKCastSession; state = 2>
switchToRemotePlayback; mediaInfo is Optional(<0x105bcd930: GCKMediaInformation; contentID = https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8>)
loading media: Optional(<0x105bcd930: GCKMediaInformation; contentID = https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8>)
removeMediaPlayerObservers
removeMediaPlayerObservers
setNavigationBarStyle: Default
SHOW NavBar.
configureControls stopped
didTouchControl stopped
hideNavigationBar: did touch control
SHOW NavBar.
MediaViewController: sessionManager didStartSession <0x106567460: GCKCastSession; state = 2>
fullscreen=false
setMediaInfo
setMediaInfo
hideToolBar stopped
setMediaInfo

the logs shows that the media is being loaded to Chromecast but for some reason it's not playing properly. Any help? am I missing something in my MediaInformation or should be m3u8 loaded differently?

The words "SAMPLE" is due to using the sample receiver; you can use your own receiver instead or use the default media receiver.
Does the stream have DRM?

Yes, I'm aware. My idea was show I was using the same receiver app in the demo, however the issue also happens with the default receiver.
The m3u8 does not have DRM, I got it from https://bitmovin.com/mpeg-dash-hls-examples-sample-streams/

The issue is likely with your stream and not this sample or the Cast SDK. You can file an issue with the support team to debug: https://issuetracker.google.com/issues?q=componentid:190205 status:open&s=modified_time:desc

Not sure if it's a stream problem since I've tried with several and different .m3u8 videos and none of them works, that's why I asked if my implementation (GCKMediaInformation) was a correct one.
Could you please add some working .m3u8 videos to the cast demo app? it only shows mp4 videos and those work for me, but any m3u8 I try does not work

Also the same .m3u8 works when casting from the web or android device

Your GCKMediaInformation looks fine. Please file an issue so the support team can help you debug your stream.

I am also facing the same issue. @bjimenezned have you managed to fixed this?

I am also facing the same issue. I have read over internet about the issue some says the issue with CORS headers . Can anyone have idea what CORS headers are required.???


Update azure-stack-version-profiles-azurecli2.md

Fixed the incorrect position of backquote.

@kongou-ae : Thanks for your contribution! The author, @sethmanheim, has been notified to review your proposed change.

The update looks correct; merging now.
@kongou-ae Thanks for your contribution.


panic when running benchmark tool for watch:

What:
panic: send on closed channel
Details:
goroutine 101452 [running]:
github.com/coreos/etcd/tools/benchmark/cmd.recvWatchChan(0xc435dad140, 0xc420733920)
/Users/suhas/Workspace/go/src/github.com/coreos/etcd/tools/benchmark/cmd/watch.go:201 +0x1bc
created by github.com/coreos/etcd/tools/benchmark/cmd.doWatch
/Users/suhas/Workspace/go/src/github.com/coreos/etcd/tools/benchmark/cmd/watch.go:189 +0x234
Why:
121	r := report.NewReportRate("%4.4f")
122	for i := range streams {
123		go doWatch(streams[i], requests, r.Results()) <- The Results sent here is also propagated to the goroutines in the doWatch function:
188 bar.Increment()
189	go recvWatchChan(wch, results) <- Notice the results chan being sent here.
The channel is how ever closed when watchCompletedNotifier notifies,
136	<-watchCompletedNotifier
137	bar.Finish()
138	close(r.Results())
The fix should involve two separate report instantiation.

fixed by #8069. closing


Replaced EmailAddress class with regex for validating email addresses

The newer HTML5 standard include a more loose validation of the email addresses than the library Cheddar uses at the moment. This validation class is replaced with a regular expression specified by W3C at: http://w3c.github.io/html/sec-forms.html#email-state-typeemail

@clicktravel-steffan Addressed your comments. Please have another look.

@click-alexvladut All looks good now


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Coverage remained the same at 89.74% when pulling 072b20bc72704aeac4b6483f8de759b165c0f0db on template-sync-1 into 8537820fcc71bffcdc34577dad783d5fd4b01cde on master.

Codecov Report

Merging #653 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #653   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files           7        7
  Lines        1073     1073
=======================================
  Hits          997      997
  Misses         76       76

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 8537820...072b20b. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Changed one string

Please describe the changes this pull request makes and why it should be merged:
Status:

[X] Code changes have been tested
[X] Code changes work without errors

Content of the pull request:

[ ] This pull request changes the Website

[ ] This pull request includes breaking changes for the Dashboard
[ ] This pull request includes new page(s) for the website

[X] This pull request only includes non-code changes, like changes to templates, README, etc.

bitte closen


Docs say Ubuntu 14.04 uses systemd

The docs here: https://github.com/aspnet/Docs/blob/master/aspnetcore/publishing/linuxproduction.md
Say to set the service up in systemd but Ubuntu 14.04 doesn't use systemd, it uses init.d.
Is there an example using init script?

That is correct, The document should be updated to reflect 16.04. systemd is available as of Ubuntu 15.10.  For Ubuntu 14.04, you should use supervisord, the version of the document here has that information on that practice.


[NuGet.org Bug]: Include a warning to 'add a backup admin' to your organization account

Impact
It's more difficult to complete my work
Describe the bug
Users often create company organizations to upload packages, and do not add any other Admins to the org. They then leave the company, leaving the company's organization account and its packages without an owner, and we aren't always able to restore the company's access to its resources.
We should add a warning/suggestion for a user to add multiple Admins to their organization account.
Repro Steps
No response
Expected Behavior
Users are advised to add backup Admins to their organization accounts.
Screenshots
No response
Additional Context and logs
No response

The plan for 2022-10 sprint is to nail down the working and UX with @clairernovotny, to implement in a subsequent sprint.

Options:
We could add warning indicators next to where it says '1 Admin', with some popup text ('Please consider adding another administrator to your organization').

This would be similar to our ID Prefix indicator

We could also add a yellow banner near the top of the Edit Organization page, where it says 'You are an administrator of this organization', for better visibility.


Todo: upgrade operator typescript example from ethers 5 to ethers 6

Work started here: https://github.com/Layr-Labs/hello-world-avs/tree/wf-ethers-library-upgrade

Latest error occur in the operator registration function. I have suspicion that the M2 deployment code may have bugs, specifically the serialized to json addresses may not be correct 😬
https://github.com/Layr-Labs/eigenlayer-contracts/blob/a888a1cd1479438dda4b138245a69177b125a973/script/deploy/devnet/M2_Deploy_From_Scratch.s.sol


new minor release?

Would it be possible that you release a new version? I would like to use this minDenormal function in a library.

Just uploaded new version to hackage (0.8.0)


Rule: no-return-await with try...catch

I don't know if this rule needs to be updated, or if just further clarification in the documentation is required.
Rule: http://eslint.org/docs/rules/no-return-await
When using a try...catch in a async function, to unwrap the promise and catch an error you must await the promise.
async function foo() {
  try {
    return await bar();
  } catch (err) {
    // handle err
  }
}

Try: https://repl.it/Jslh
function rejector () {
  return new Promise((resolve, reject) => {
    setTimeout(() => reject(new Error('Failure')), 1000);
  });
}

async function tryCatcher (promise, awaitPromise = false) {
  try {
    return promise;
  } catch (err) {
    console.error('Catched in tryCatcher', err)
  }
}

async function test () {
  const promise = rejector();

  try {
    await tryCatcher(promise);
  } catch (err) {
    console.error('Catched in main', err)
  }

}

test();

The rule already handles this case correctly (it does not report an error if the await is in a try statement). I agree that it might be good to add an example of this to the documentation -- would you like to make a PR?
Note that the file should be modified in eslint/eslint here. The file in this repository is automatically built from the file in the eslint/eslint repository.

I would like to stress that the try-catch block will become useless when omitting the await. I'd expect to be warned about this by ESLint.
This might be a new rule. Should I open a new issue for that?

@Rekhyt Yes, please open a new issue. My initial impression is that the try-catch isn't useless there because it still catches synchronous errors (and ESLint can't detect what has the potential to throw a synchronous error), but I'm happy to talk about it more on a new issue.

I'm going to go ahead and close this issue since the original conversation has stalled.
@Rekhyt Please feel free to make a new issue in the eslint/eslint repository.


Integration of an auto-updater

We want to integrate an auto-updater to not only remind the user about a new version to download, but also remove the hassle to extract the files and so on.
Basically we want to stay with zip files and not change to an installer.
suggestions:
https://github.com/ravibpatel/AutoUpdater.NET
https://github.com/vslavik/winsparkle
https://github.com/synhershko/NAppUpdate
https://github.com/Squirrel/Squirrel.Windows
already sorted out:
https://github.com/NetSparkleUpdater/NetSparkle - no zip file support
Does anyone have any experience with any of them?
Which one would you suggest?
Do you have any other ideas?

Starting with version 2.2.0 not only a reminder to download the new version is shown, but the zip file will be conveniently downloaded and extracted to the program folder after update confirmation.
For that to work the zip files no longer contain the root folder. For now it also only works if the current user has write permission to the TumblThree folder.


Remove aggregated catalog endpoint from spec

Depends on: https://github.com/Peripli/service-manager/pull/134

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Localhost issue

It's rather a hard fix, I simply added the following line to MumbleTester.cs :
if(HostName.ToLower() == "localhost") HostName = "<IP_ADDRESS>";
It works fine, although the best solution would be to fix the fact that the adress "<IP_ADDRESS>" is automatically selected when "localhost" is written in the HostName field in the inspector.

Thanks for the PR!
Is there any chance that we could put that check in MumbleClient.cs?

Sure thing !


[Feature Request]: Add ML Snippets Folder for Reusable Data Preprocessing Steps

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to propose adding a new folder titled ML_Snippets to the repository. This folder will contain a Jupyter Notebook that showcases the most reusable data preprocessing steps commonly used in machine learning projects. The aim is to provide a quick reference for users looking for efficient ways to prepare their data for modeling.
I would like to have this issue assigned to me as part of the Hacktoberfest and GSSoC initiatives, preferably at Level 2 or 3.
Thank you for considering this addition! I look forward to your feedback.
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Thank you for your proposal to add the ML_Snippets folder to the PySnippets repository. However, to maintain consistency with the main idea of deploying PySnippets as a package, we recommend writing the reusable data preprocessing steps as Python files (.py) instead of a Jupyter Notebook.
This approach will allow users to easily import the snippets directly into their projects and integrate them seamlessly into their workflows. If you could revise your submission accordingly, that would be great!
We look forward to your contribution!

Suree


Dates pattern: Fix input size on year

Input size on the "year" for memorable dates is 2 characters, should be 4

You can preview this change here:
Built with commit 3c9807ad3b20221e41529e808e8ee3daa819be16
https://deploy-preview-864--govuk-design-system-preview.netlify.com

Good stuff. If you rebase this against the latest master it should pass – it's currently 6 commits behind.


merge from arlac77/npm-package-template-esm-only

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 12.13.0 remove 12.12.0 (jobs.include.node_js)
chore(travis): (script)

Coverage remained the same at 94.521% when pulling fbbd1eb5e16aa87824ad1f80b7ea7dab6ce6a054 on npm-template-sync/1 into b40fa98834b6720f068a4a1e51702c55f14ccd6b on master.

Codecov Report

Merging #826 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #826   +/-   ##
=======================================
  Coverage   93.69%   93.69%
=======================================
  Files          13       13
  Lines        1824     1824
  Branches      195      195
=======================================
  Hits         1709     1709
  Misses        112      112
  Partials        3        3

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 b40fa98...fbbd1eb. Read the comment docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


JS error when running splash

Basic informations

splash-cli version: 2.5.1
NodeJs version: v8.1.2
Your OS: macOS

ISSUE
When running splash I get the following error:

Are you under any proxy? It seems it can't connect to the host

It was a problem with archivments function, now in 2.5.2 should be fixed. Try updating with splash update

That doesn't seem to work, actually I don't seem to be able to get the new version:

Try npm i -g splash-cli
Federico Vitale
Il 5 lug 2017, 11:07 +0200, Alec Rust<EMAIL_ADDRESS>ha scritto:

That doesn't seem to work, actually I don't seem to be able to get the new version:
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Nope:

Oh sorry there was a problem with the publish. I'm fixing it

OK i've fixed that. please try now to update (or with npm/yarn or via splash-cli)

Upgrading with npm i -g splash-cli worked (splash update didn't).
Can confirm this problem doesn't exist on the new 2.5.2, many thanks!


Is VPNGate down or is it just me!?

https://www.vpngate.net/en/
curl https://www.vpngate.net/en/ stuck in wait. Tested from 4 friends.
Hey, who can pressure upsteam to release VPNGate/VPNAzure code publicly? You can't call yourself open source, this is closed source!!
oh... it now returns something... can't read this. Who can translate it??
# curl https://www.vpngate.net/en/ サービスを利用できません。

call the police to make pressure.

There was a power blackout in Tsukuba at 9:00 AM JST, the website is now reachable again.

Hey, who can pressure upsteam to release VPNGate/VPNAzure code publicly? You can't call yourself open source, this is closed source!!

VPNGate and VPNAzure are separate from the SoftEther VPN Open Source Project and are out of our control. There is currently an Open Source implementation planned for VPNAzure but it's not ready yet.


maskImage, cropImage issue with segmentations

I have these two images (f original, m a segmentation done outside of ANTsR)  that overlap (verified with plot(f, m)).
But when I try to use the mask image, it gives an error (below). cropImage returns an empty image.

m
antsImage
Pixel Type          : float
Components Per Pixel: 1
Dimensions          : 177x94x24
Voxel Spacing       : 0.351561993360519x0.351561993360519x1.25
Origin              : -35.50789 4.185827 25
Direction           : 1 0 0 0 -1 0 0 0 1

f
antsImage
Pixel Type          : float
Components Per Pixel: 1
Dimensions          : 512x512x106
Voxel Spacing       : 0.351561993360519x0.351561993360519x1.25
Origin              : -90 108.2482 8.75
Direction           : 1 0 0 0 -1 0 0 0 1

masked=maskImage(img.in = f, img.mask = m, level = 1)
Length of 'mask' vector must be either 0, num-of-voxels-per-time-in-region, num-of-voxels-in-region

The different origins may be the problem. I believe the images need to
pass: antsImagePhysicalSpaceConsistency(f,m) for the maskImage function to
work.
On Wed, Apr 26, 2017 at 5:18 PM muratmaga<EMAIL_ADDRESS>wrote:

I have these two images (f original, m a segmentation done outside of
ANTsR) that overlap (verified with plot(f, m)).
But when I try to use the mask image, it gives an error (below). cropImage
returns an empty image.
m
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 177x94x24
Voxel Spacing : 0.351561993360519x0.351561993360519x1.25
Origin : -35.50789 4.185827 25
Direction : 1 0 0 0 -1 0 0 0 1
f
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 512x512x106
Voxel Spacing : 0.351561993360519x0.351561993360519x1.25
Origin : -90 108.2482 8.75
Direction : 1 0 0 0 -1 0 0 0 1
masked=maskImage(img.in = f, img.mask = m, level = 1)
Length of 'mask' vector must be either 0,
num-of-voxels-per-time-in-region, num-of-voxels-in-region
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/146, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfWiHxzLqHEVaGEguQfcfx8D0Kvzp-Lks5rz7SagaJpZM4NJb_u
.

actually it's more than just the origin. you'll need to resample one to
match the other via something like f2 = resampleImageToTarget(f,m) or
vice-versa
On Wed, Apr 26, 2017 at 5:26 PM Jeffrey Duda<EMAIL_ADDRESS>wrote:

The different origins may be the problem. I believe the images need to
pass: antsImagePhysicalSpaceConsistency(f,m) for the maskImage function to
work.
On Wed, Apr 26, 2017 at 5:18 PM muratmaga<EMAIL_ADDRESS>wrote:

I have these two images (f original, m a segmentation done outside of
ANTsR) that overlap (verified with plot(f, m)).
But when I try to use the mask image, it gives an error (below).
cropImage returns an empty image.
m
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 177x94x24
Voxel Spacing : 0.351561993360519x0.351561993360519x1.25
Origin : -35.50789 4.185827 25
Direction : 1 0 0 0 -1 0 0 0 1
f
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 512x512x106
Voxel Spacing : 0.351561993360519x0.351561993360519x1.25
Origin : -90 108.2482 8.75
Direction : 1 0 0 0 -1 0 0 0 1
masked=maskImage(img.in = f, img.mask = m, level = 1)
Length of 'mask' vector must be either 0,
num-of-voxels-per-time-in-region, num-of-voxels-in-region
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/146, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfWiHxzLqHEVaGEguQfcfx8D0Kvzp-Lks5rz7SagaJpZM4NJb_u
.

Thanks. resampleImagetoTarget() does it.
M
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Jeffrey<EMAIL_ADDRESS>Sent: Wednesday, April 26, 2017 2:28 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [stnava/ANTsR] maskImage, cropImage issue with segmentations (#146)
actually it's more than just the origin. you'll need to resample one to
match the other via something like f2 = resampleImageToTarget(f,m) or
vice-versa
On Wed, Apr 26, 2017 at 5:26 PM Jeffrey Duda<EMAIL_ADDRESS>wrote:

The different origins may be the problem. I believe the images need to
pass: antsImagePhysicalSpaceConsistency(f,m) for the maskImage function to
work.
On Wed, Apr 26, 2017 at 5:18 PM muratmaga<EMAIL_ADDRESS>wrote:

I have these two images (f original, m a segmentation done outside of
ANTsR) that overlap (verified with plot(f, m)).
But when I try to use the mask image, it gives an error (below).
cropImage returns an empty image.
m
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 177x94x24
Voxel Spacing : 0.351561993360519x0.351561993360519x1.25
Origin : -35.50789 4.185827 25
Direction : 1 0 0 0 -1 0 0 0 1
f
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 512x512x106
Voxel Spacing : 0.351561993360519x0.351561993360519x1.25
Origin : -90 108.2482 8.75
Direction : 1 0 0 0 -1 0 0 0 1
masked=maskImage(img.in = f, img.mask = m, level = 1)
Length of 'mask' vector must be either 0,
num-of-voxels-per-time-in-region, num-of-voxels-in-region
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/146, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfWiHxzLqHEVaGEguQfcfx8D0Kvzp-Lks5rz7SagaJpZM4NJb_u
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/stnava/ANTsR/issues/146#issuecomment-297546575, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUTJFDLqEfByCAMParR824lfo4X7aG3qks5rz7cRgaJpZM4NJb_u.


How to reset cameras to default

Hello ,
How to set the default camera because now I have a very small screen and the rest and black very little watchable.

the cameras displays on the desktop act like "normal" windows, you can drag them around and resize them from the corners


Agender flag broken

Was ist passiert / What happened?
When I set the Agender flag to be displayed in the logo, the rainbow flag is displayed instead.
Wie kann man den Fehler reproduzieren? / How to reproduce?

Open the settings
Choose flag "Agender"
Save
Rainbow flag is displayed instead

Erwartetes Verhalten / Expected behavior
I would expect to see the agender flag in the moodle logo.
System

Firefox for Android 128.0.1 (Build #2016032759)
Better-Moodle 1.39.0

Sonstiges / Additional
No response

Resolved in v1.39.1


Bundled Node/IO.js inconsistencies on Windows 8.1 and 10

I'm trying access registry values in Windows that differ in location with each versions of Windows.
Example: https://github.com/Cirex/atom-metro-ui/commit/cfc0ec218a807c7d1e820862940b9c03c121535e
The preferred way to detect the current operating system version seems to be the use of os.release, but it's return value differs greatly when used from inside of Atom/Electron.
Locally installed IO.js:
> process.version
'v1.5.1'
> os.release()
'6.3.9600'

The same command run from the Atom developer console:
> process.version
'v1.5.1'
> os.release()
'6.2.9200'

My Windows release (8.1) as reported by running ver and winver:
Microsoft Windows [Version 6.3.9600]

This bug seems to be related to the embedded manifest file node.exe.extra.manifest in Node, and os.release use of GetVersionEx on Windows.
Can this please be fixed or do I need to use another way of determining the current version of Windows?

This should be fixed in Electron, but Windows OS has decided that they never want to return the real OS version, only the version you think it is via your manifest. The hack way to determine this is to check the File version of some DLL in System32 (kernel32.dll is a good candidate).
However in your case, it seems like you could just try the Win10 Regkey location, oops it doesn't exist, check Win8, oops it doesn't exist, we're on Win7

Finding the version else where was never really the problem. I could always parse ver or pull the build directly from the registry. I was more concerned with what seemed to be breakage from the official Node API.
I was largely just trying to avoid having to spawn additional processes and slow the boot down even further just to pull in the accent color

There are no plans to expose the OS version number directly from within Atom - I'd go with the registry fallback Paul suggested.


How to externalize cxf-client truststore.jks file

Currently, I placed the trust-store file in src/main/resources path and the reference in quarkus application.properties file.
But I want to externalize so that it can be configurable w.r.t environment like DEV, UAT, Staging and RPOD and I am using OpenShift for orchestrate the pods.
application.properties snippet:
quarkus.cxf.client.helloservice.trust-store=microservice.truststore
quarkus.cxf.client.helloservice.trust-store-type=PKCS12
quarkus.cxf.client.helloservice.trust-store-password=${microservice.trust-store}

The trust-store property is first looked up as a classpath resource and if not available there, it is then looked up the filesystem.
OpenShift supports mounting a secret as a file in the container and so the application should be able to find it there in the filesystem. The example 3. around here shows how to do that.

For having different values for DEV, UAT, Staging and PROD, it depends how you organize it on OpenShift. If you have separate clusters or namespaces for the individual stages, then I'd suggest using the same path in application.properties but mount a secret with a different content on the various clusters/namespaces.

Thank you so much. Yes I have two cluster Production and UAT. The UAT OCP having two namespace as DEV and UAT.
Let me review openshift provided link if I need further details will update the ticket.

I created the configmap for truststore file and mounted it to the pod But getting below error, I verified the truststore file mounted in the desired file system path.
application.properties:
microservice.trust-store=${microservice-truststore-password}
quarkus.cxf.client.SMSService.trust-store=file:/etc/truststore/microservice-truststore.jks
quarkus.cxf.client.SMSService.trust-store-type=JKS
container :
sh-4.4$ cd /etc/truststore/
sh-4.4$ ls
microservice-truststore.jks
sh-4.4$ keytool --list --keystore microservice-truststore.jks -storepass ****
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
soaapigw, Dec 5, 2023, trustedCertEntry,
Certificate fingerprint (SHA-256): B1:88:B1:EA:53:49:D1:E0:FC:50:44:5A:51:25:17:BA:11:05:83:E3:4A:CD:70:AB:4F:4B:F7:D9:ED:22:DA:BC
sh-4.4$
error logs
Caused by: javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:316)
at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1712)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:470)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:589)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1430)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1401)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220)
at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:274)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1370)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1331)
at rg.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:307)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47)
at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1383)
... 47 more
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.base/sun.security.validator.PKIXValidator.(PKIXValidator.java:101)
at java.base/sun.security.validator.Validator.getInstance(Validator.java:181)
at java.base/sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:309)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:183)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:198)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369)
at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:201)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
... 60 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.base/java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
at java.base/java.security.cert.PKIXParameters.(PKIXParameters.java:120)
at java.base/java.security.cert.PKIXBuilderParameters.(PKIXBuilderParameters.java:104)
at java.base/sun.security.validator.PKIXValidator.(PKIXValidator.java:98)
... 76 more

microservice.trust-store=${microservice-truststore-password}
quarkus.cxf.client.SMSService.trust-store=file:/etc/truststore/microservice-truststore.jks
quarkus.cxf.client.SMSService.trust-store-type=JKS

You perhaps forgot to set
quarkus.cxf.client.SMSService.trust-store-password=${microservice-truststore-password}

?
Also note that the trust-store* family of options is only supported since Quarkus CXF 2.5.0 (and Quarkus Platform 3.5.0).

I forget to paste this configuration. It is there in application.properties same as you mentioned.
I'm using RedHat Build of quarkus and platform version 3.2.9.Final-redhat-00002

I'm using RedHat Build of quarkus and platform version 3.2.9.Final-redhat-00002

Yep, unfortunately, the trust-store* family of options is not available in Quarkus CXF 2.2.x (and Quarkus Platform 3.2.x).
You would have to configure the trust store via CDI, like we do in this integration test: https://github.com/quarkiverse/quarkus-cxf/blob/2.2/integration-tests/ws-security-policy/src/main/java/io/quarkiverse/cxf/it/security/policy/Init.java
In the test, the properties are defined in application.properties : https://github.com/quarkiverse/quarkus-cxf/blob/2.2/integration-tests/ws-security-policy/src/main/resources/application.properties#L3-L6 You might want to defined them in an Openshift secret.

I tried as mentioned above link (CDI approach) but no success, facing same error as below
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

I have created support ticket and response that quarkus-cxf is not supported by redhat and directed me to use camel-cxf extension instead.

I have created support ticket and response that quarkus-cxf is not supported by redhat and directed me to use camel-cxf extension instead.

No, that information is not correct. Quarkus CXF is supported through a product called "Red Hat build of Apache Camel for Quarkus" (the old name is "Red Hat Integation").
I can help here anyway. Could you please provide a basic reproducer?

Please feel free to reopen if needed.


circleci local execute --job terraform/{fmt,validate,plan,etc} errors with --storage-opt is supported only for overlay over xfs with 'pquota' mount option

Orb Version
<EMAIL_ADDRESS>Describe the bug
Attempting to use the Terraform orb with the circleci-cli utility and trigger a job with circleci local execute --job terraform/fmt results in a failed run and the error "Error:   error starting container hashicorp/terraform:0.14.11: Error response from daemon: --storage-opt is supported only for overlay over xfs with 'pquota' mount option"
To Reproduce

Start with a generic, valid, Terraform repo, the circleci-cli utility 0.1.15410+ba6fe81 (homebrew), and Docker Desktop for Mac v3.5.2
Have a basic terraform-orb config like https://gist.github.com/law/507574557a3fe5af31a5d74aa486c11b
Try to execute any of the Orb sub-commands like circleci local execute --job terraform/fmt
Observe the error

Expected behavior
terraform fmt executes against the Terraform repo

@law thanks for the submission. We'll revisit this after PR #46 is released.

This seems like a problem on your local, not on the orb. Take a look at this


How to use it in termux?

In short, ndk-glue/ndk- should _not_ be used with Termux. You may use cargo-apkto compile binaries for an Android target with the NDK though, usingcargo apk -- build ...`.
For a longer answer and discussion, see #126.


K3s fails to import tarball produced by ctr image export

K3s tracking issue for:

https://github.com/rancher/rke2/issues/5944

We should use containerd.WithSkipMissing to prevent failing the entire import if content for some platforms is missing.

Validated on master branch with commit d9b8ba8d
Environment and config
Ubuntu 22.04, Single server

Config.yaml

write-kubeconfig-mode: 644
cluster-init: true
node-name: server1

Testing

Install k3s
Ensure cluster is up and running
Deploy pod nginx (Can be from any other image)
Check nginx is running and image is showed when listed
Export the image
Copy the image in to a new server and store it in path /var/lib/rancher/k3s/agent/images
Install k3s on the new server
Ensure the image is shown when listed and no error related to image import is observed in the logs

Replication
$ k3s -v
k3s version v1.30.1+k3s1 (80978b5b)
go version go1.22.2

Deploy nginx, ensure its on the list

$ kubectl run nginx --image=nginx
pod/nginx created

$ sudo ctr images ls | grep nginx
docker.io/library/nginx:latest
...

Export that image and copy over to the new server

$ sudo ctr image export nginx-image.tar docker.io/library/nginx:latest

Install k3s version on the new server
Copy the image tarball on the new server in path

$ sudo mkdir -p /var/lib/rancher/k3s/agent/images && sudo cp nginx-image.tar /var/lib/rancher/k3s/agent/images

Observed the error on the logs

$ sudo journalctl -u k3s | grep nginx-image
Jun 12 22:46:49 ip-172-31-47-24 k3s[23292]: time="2024-06-12T22:46:49Z" level=info msg="Importing images from /var/lib/rancher/k3s/agent/images/nginx-image.tar"
Jun 12 22:46:51 ip-172-31-47-24 k3s[23292]: time="2024-06-12T22:46:51Z" level=error msg="Error encountered while importing /var/lib/rancher/k3s/agent/images/nginx-image.tar: failed to import images from /var/lib/rancher/k3s/agent/images/nginx-image.tar: content digest sha256:c36751d7f6324d496c55c7fae626cda3efcc62b11a3b6cfb28d5ae53d8d6fc7a: not found"

No image is observed when searched on the list

$ sudo ctr images ls | grep nginx
$

Validation
$ k3s -v
k3s version v1.30.1+k3s-d9b8ba8d (d9b8ba8d)
go version go1.22.2

Deploy nginx, ensure its on the list

$ kubectl run nginx --image=nginx
pod/nginx created

$ sudo ctr images ls | grep nginx
docker.io/library/nginx:latest
...

Export that image and copy over to the new server

$ sudo ctr image export nginx-image.tar docker.io/library/nginx:latest

Install k3s commit on the new server
Copy the image tarball on the new server in path

$ sudo mkdir -p /var/lib/rancher/k3s/agent/images && sudo cp nginx-image.tar /var/lib/rancher/k3s/agent/images

Observed no related error on the logs

$ sudo journalctl -u k3s | grep nginx-image
Jun 12 22:37:58 k3s[20247]: time="2024-06-12T22:37:58Z" level=info msg="Importing images from /var/lib/rancher/k3s/agent/images/nginx-image.tar"
Jun 12 22:38:00 k3s[20247]: time="2024-06-12T22:38:00Z" level=info msg="Imported images from /var/lib/rancher/k3s/agent/images/nginx-image.tar in 2.262639703s"

Image is observed when searched on the list

$ sudo ctr images ls | grep nginx
docker.io/library/nginx:latest
...


can compile with MKLDNN + MKLML but no MKL

Because MKL is really large and needs register in Intel' web. It's tedious in the production environment.
I tried to compile the mxnet with MKLDNN and MKLML without MKL but failed in the linking processing. It looks like the 'mshadow' module needs the MKL
I think if the entire MKL is convenient there will be no MKLML anymore. if the proj is not designed for production  it's just a toy for ever.

@MaeThird thanks for trying MXNet with MKLDNN backend.
Yes, it should work without MKL build even in mshadow.
Could you try the build with 'USE_BLAS=open`?
Please paste the error message when you build without MKL.

cc @yinghu5  @NeoZhangJianyu

Hi @pengzhao-intel
MKLDNN + MKLML + CBLAS( Atlas or OpenBlas) works as expected.
MKLDNN + MKLML + USE_BLAS_MKL=1 (Actually there was no MKL,I just replaced it with MKLML) with the error output:
 53%] Built target mxnet_static
[ 55%] Built target dmlc
[ 84%] Built target mkldnn
[ 84%] Built target libomp-needed-headers
[ 92%] Built target omp
[ 93%] Built target mxnet
[ 94%] Built target gtest
[ 94%] Built target gtest_main
[ 94%] Linking CXX executable mxnet_unit_tests
/usr/bin/ld: ../libmxnet.a(elemwise_unary_op_basic.cc.o): in function `void mxnet::op::UnaryOp::MKL_Compute<mxnet::op::mshadow_op::erf, mxnet::op::mkl_func::erf>(nnvm::NodeAttrs const&, mxnet::OpContext const&, std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&, std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob> > const&)':
elemwise_unary_op_basic.cc:(.text._ZN5mxnet2op7UnaryOp11MKL_ComputeINS0_10mshadow_op3erfENS0_8mkl_func3erfEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKSt6vectorINS_5TBlobESaISF_EERKSE_INS_9OpReqTypeESaISK_EESJ_[_ZN5mxnet2op7UnaryOp11MKL_ComputeINS0_10mshadow_op3erfENS0_8mkl_func3erfEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKSt6vectorINS_5TBlobESaISF_EERKSE_INS_9OpReqTypeESaISK_EESJ_]+0x93): undefined reference to `vsErf'
/usr/bin/ld: elemwise_unary_op_basic.cc:(.text._ZN5mxnet2op7UnaryOp11MKL_ComputeINS0_10mshadow_op3erfENS0_8mkl_func3erfEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKSt6vectorINS_5TBlobESaISF_EERKSE_INS_9OpReqTypeESaISK_EESJ_[_ZN5mxnet2op7UnaryOp11MKL_ComputeINS0_10mshadow_op3erfENS0_8mkl_func3erfEEEvRKN4nnvm9NodeAttrsERKNS_9OpContextERKSt6vectorINS_5TBlobESaISF_EERKSE_INS_9OpReqTypeESaISK_EESJ_]+0xf9): undefined reference to `vdErf'
collect2: error: ld returned 1 exit status
make[2]: *** [tests/CMakeFiles/mxnet_unit_tests.dir/build.make:354: tests/mxnet_unit_tests] Error 1
make[1]: *** [CMakeFiles/Makefile2:1825: tests/CMakeFiles/mxnet_unit_tests.dir/all] Error 2

It turns out  MKLML cannot replace the MKL as the blas using.
Another small issue is that https://github.com/intel/mkl-dnn/blob/41bee20d7eb4a67feeeeb8d597b3598994eb1959/src/common/utils.cpp#L53 strncpy(value, buffer, value_length);will case
In file included from /usr/include/string.h:494,
                 from /home/mae/mxnet/incubator-mxnet/3rdparty/mkldnn/src/common/utils.cpp:17:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘int mkldnn::impl::mkldnn_getenv(char*, const char*, int)’ at /home/mae/mxnet/incubator-mxnet/3rdparty/mkldnn/src/common/utils.cpp:53:24:
/usr/include/bits/string_fortified.h:106:34: error: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mae/mxnet/incubator-mxnet/3rdparty/mkldnn/src/common/utils.cpp: In function ‘int mkldnn::impl::mkldnn_getenv(char*, const char*, int)’:
/home/mae/mxnet/incubator-mxnet/3rdparty/mkldnn/src/common/utils.cpp:49:34: note: length computed here
   49 |             value_length = strlen(buffer);

with GCC-9.1 . It's handy to fix it.

MKLDNN + MKLML + USE_BLAS_MKL=1 (Actually there was no MKL,I just replaced it with MKLML) with the error output:
This is not the right usage because MKLML is just a subset of MKL and only works for MKL-DNN library.
It doesn't target to work as a full BLAS library.
You can get MKL by yum or apt to avoid web register.
https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-yum-repo
https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo

@pengzhao-intel Thanks for your help.

Thanks for pinging, @pengzhao-intel .
@MaeThird ,
Regarding the first error, yes, the vsErf function is not part of MKLML. So you need full MKL to take advantage of this function.
Regarding the compiling error with GCC 9+, it's fixed in MKL-DNN 0.20 release and just upstreamed to mxnet half an hour ago (https://github.com/apache/incubator-mxnet/pull/15422). Would you mind trying the master branch to see if the error is still there?


Passing a function ( that returns unique url each time called ) to image uri makes the image reload each time when a state change occures

Hello I'm using a aws function that returns a unique image url each time being called. I'm calling this function directly as a param in image uri. Now the issue is that whenever a state change occurs react reloads this image with new url & that same image is reloaded again. Now I can resolve this by using an extra variable but I cant do that as I am in nested lists. So I'ld like to know any way out for this if possible by having minimal code change.
Note: I'm using aws function but you can also take a normal function that returns any image url & add current time as params like:
imgu(){  return<EMAIL_ADDRESS>new Date().toLocaleString();}
This function also triggers everytime a state changes.
Environment
OS: Windows 10
Node: 6.10.3
Yarn: Not Found
npm: 5.4.2
Watchman: Not Found
Xcode: N/A
Android Studio: Version  <IP_ADDRESS> AI-171.4408382
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.50.1 => 0.50.1
Steps to Reproduce
<Image
style={{width:100,height:150, resizeMode:'cover'}}
source={{ uri:this.getAwsImageUrl(this.state.imurl) }}

getAwsImageUrl(imgUrl) {
var s3 = new AWS.S3({accessKeyId:'test',
secretAccessKey:'test', region:'test'});
var img='';
var params = {Bucket: 'test', Key:imgUrl};
  img=s3.getSignedUrl('getObject', params);

  console.log('imgggggggg=',img);
  return img;

}
Expected Behavior
need to make image reload only once or the img state var change & not by aumotmatic detection
Actual Behavior
Reloads image each time a state change occurs

I've checked it on  react-native: 0.55.3. Some issue still persists in your upgraded versions also. I need to know if there is some feasible solution or not ?


Verbose should tell user the browser identified / detected

I've been using variants for the parameters --browser and --chrome_path with no success. The program always does the same thing. It is poorly documented what these values should be. What is --browser for?
Switching on the -v verbose param only tells the parameters passed by the user but not the actual  values computed by the program.
As a user I'd like to know:

what browser is the tool actually invoking and from where
what values can the --browser parameter accept
is chromium a valid substitute to chrome; if so please document it

Thanks for taking the time to open all these issues.
In sort:

The --chrome_path flag has to be fixed on the CLI.
The --browser flag will only be implemented when additional browsers support will be implemented to the package.
New feature request : display the path of the browser used by the CLI
Add documentation for the --chrome_path as it is missing.

--browser will be used in the future to select a browser to take screenshots with. At the moment it is not even mentioned in the readme as the only browser supported is Chrome/Chromium.
--chrome_path does exist as a parameter. After being parsed, it should be plugged into html2image, but I'm realizing that nothing is done with it... Well that's almost embarrassing, but it does not surprise me as the CLI is still in a work in progress stage and is barely used by anyone yet, not even I.
A temporary workaround would be to use environment variables to indicate to Html2Image which executable path to use. This feature is still untested and undocumented, but you can find instructions on how to use it here.
Displaying the path of the browser being used is a good idea. It will be added to the CLI.
Chrome and Chromium are treated the same way, it does not matter to html2image if you are using one or the other as they should behave the same way