[SymbolGraphGen] Emit "functionSignature" info for initializers and subscripts

This makes the Swift symbol graph generator emit "functionSignature" information for initializers and subscripts, just like it does for functions.
Resolves rdar://111072228.

@swift-ci Please smoke test

@swift-ci please smoke test

Ok. Thank you 🙏 my family. I do now
เมื่อ พ. 20 ธ.ค. 2566 เวลา 17:10 David Rönnqvist @.***>
เขียนว่า:

@.**** commented on this pull request.
In lib/SymbolGraphGen/Symbol.h
https://github.com/apple/swift/pull/70207#discussion_r1432515284:

@@ -69,6 +69,9 @@ class Symbol {
void serializeGenericParam(const swift::GenericTypeParamType &Param,
llvm::json::OStream &OS) const;

void serializeParameterList(const swift::ParameterList *ParamList,

Thanks! That was exactly what I was looking for.
—
Reply to this email directly, view it on GitHub
https://github.com/apple/swift/pull/70207#discussion_r1432515284, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BDWM7ZWV6ZWQWEONC2XQYLTYKK2R5AVCNFSM6AAAAABAGPN5Q2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOOJQGU3TIOJVHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


change sort selection radio button color (blue) to kollisionen blue or black to match color scheme

updated to project blue


Change README to rst; add travis badge

I'm not entirely sure what to do about copyright :confused:


Can' Access Human Segmentation Model Weights

Can't Access Human Segmentation Model Weights
The readme file has the following line

To run the human segmentation model, please first downlowd the u2net_human_seg.pth model weights into  ./saved_models/u2net_human_seg/.

On clicking on this link, Google drive prompts that I do not have access to this file.
is this link for public acces or is it limited access only?

At one time the link must have worked but I guess they changed the permissions because I can’t access the file either


Update malware.sh

Added small perl script to remove annoying ^M from malware.rsc

I didn't really expect anyone using these, so I've totally missed this PR. Sorry about that.
The script is now rewritten in python. This coincidentally also takes care about the line endings.


Is possible to pass a styled icon as a prop to a wrapper component?

I have a wrapper component called IconButton which will display a styled icon and also handle things like "hover" styles and click events. I'm not sure if I'm going down the correct path with this as I'm running into some typescript errors and was wondering if you could see what I was doing wrong.
Inside my Header component I would like to use my IconButton component, like so:
import React from 'react';
import styled from 'styled-components/macro';
import { MenuOutline } from '@styled-icons/evaicons-outline/MenuOutline';
import IconButton from './IconButton';

const Container = styled.header`
 ...
`;

const Header: React.FunctionComponent = () => {
  return (
    <Container>
      <IconButton icon={<MenuOutline size={40} />} />
    </Container>
  );
};

Then, inside the IconButton component I am using a StyledIcon:
import React from 'react';
import styled from 'styled-components/macro';
import { StyledIcon } from '@styled-icons/styled-icon';

interface Props {
  icon: StyledIcon;
  onClick?: () => void;
}

const Container = styled.div`
  &:hover {
    background-color: grey;
  }
`;

const IconButton: React.FunctionComponent<Props> = (props: Props) => {
  return <Container>{props.icon}</Container>;
};

When doing this I am seeing the following error:
TypeScript error in C:/dev/react-boilerplate/src/components/Header.tsx(24,8):
Property '$$typeOf' is missing in type '{ icon: Element; }' but required in type 'Props'.  TS2741

If I replace StyledIcon type with any it works fine.
interface Props {
  icon: any; // works fine when changing this to 'any'
  onClick?: () => void;
}

Any ideas? Greatly appreciated!

Hey, yep you can do this one of two ways, either passing the icon without props to another component, or changing your wrapper component type to accept any rendered React child:
// This should work, leaving the icon prop as StyledIcon, note that the MenuOutline
// component is not rendered, it's passed as a value
<IconButton icon={MenuOutline} />

Or:
interface Props {
  icon: React.ReactNode;
  onClick?: () => void;
}

Basically StyledIcon refers to an unrendered icon component, and passing in <MenuOutline size={40} /> is a rendered component.

Thanks for the prompt reply! I actually do prefer your first suggestion and it's what I tried initially but I then ran into this React error:
Error: Objects are not valid as a React child (found: object with keys {$$typeof, render, displayName}). If you meant to render a collection of children, use an array instead.
    in div (created by IconButton__Button)
    in IconButton__Button (at IconButton.tsx:17)

You can use React.ReactElement instead to pass <MenuOutline /> or to pass the icon component you can do React.ComponentType<StyledIcon> and pass MenuOutline

Thanks @stramel
I could be doing something wrong but I tried your second suggestion and I'm now getting:
Type 'StyledIcon' is not assignable to type 'ComponentType<StyledIcon>'.
When using it like this:
Header.tsx
import { MenuOutline } from '@styled-icons/evaicons-outline/MenuOutline';

<IconButton icon={MenuOutline} ariaLabel={'Open Sidebar'} onClick={props.onMenuButtonClicked} />

IconButton.tsx
import { StyledIcon } from '@styled-icons/styled-icon';

interface Props {
  icon: React.ComponentType<StyledIcon>;
  onClick?: () => void;
}

Thanks @stramel
I could be doing something wrong but I tried your second suggestion and I'm now getting:
Type 'StyledIcon' is not assignable to type 'ComponentType<StyledIcon>'.
When using it like this:
Header.tsx
import { MenuOutline } from '@styled-icons/evaicons-outline/MenuOutline';

<IconButton icon={MenuOutline} />

IconButton.tsx
import { StyledIcon } from '@styled-icons/styled-icon';

interface Props {
  icon: React.ComponentType<StyledIcon>;
  onClick?: () => void;
}

@cmacdonnacha Sorry for the incorrect information on the typing. I was trying to do it off the top of my head. You should be able to use StyledIcon directly or React.ComponentType<StyledIconProps>

Thanks @stramel . Just tried that out and now I'm getting this error:
Error: Objects are not valid as a React child (found: object with keys {$$typeof, render, displayName}). If you meant to render a collection of children, use an array instead.
    in div (created by IconButton__Button)
    in IconButton__Button (at IconButton.tsx:17)

@cmacdonnacha Can you show your code for the IconButton?

Yep you can see it at the top in my original post 👍🏻

The problem is your usage of the prop, not the typing.
Two Options:

StyledIcon / ComponentType<StyledIconProps> passed in as MenuOutline using <props.icon /> to display (https://codesandbox.io/s/modest-rain-lwjyd)
ReactElement / ReactNode passed in as <MenuOutline /> using {props.icon} to display (https://codesandbox.io/s/wizardly-microservice-6tiiy)

Ah! Excellent thanks for all your help!


can't load imagenet dataset

Hello, I am using the function load_dataset() but it doesn't work.
I have the following error :
~\Anaconda3\lib\site-packages\art\utils.py in load_imagenet()
313
314     dataset = np.asarray(dataset)
--> 315     y = to_categorical(np.asarray([label] * len(dataset)), 1000)
316
317     try:
UnboundLocalError: local variable 'label' referenced before assignment
and in utils.py, int the function load_imagenet() :
`fpath = get_file('imagenet_class_index.json', class_index_path, cache_subdir='models')
class_index = json.load(open(fpath))
for k, v in class_index.items():
    if v[0] == class_id:
        label = k
        break`

I can't find the file imagenet_class_index.json, so I can't check if it's there or if it's correct.
(I get the download)

Thank you for reporting this problem! load_imagenet is a helper function that does not download the dataset. It thus fails when the data is not present and under the assumed format. Considering the size of ImageNet, it does not make sense to download it in a synchronous mode when using the library. This considered, the helper function has very little added value, and we will be removing it to avoid confusion.
You can still use the library with any of the other available datasets (MNIST, CIFAR10 and STL). Their respective sizes are small, and they will be downloaded by the helper function load_dataset.


Update nominee: GOFR

Update nominee: Global Open Facility Registry (GOFR)

I would ask to add Facility Reconciliation Tool as an alias, since in some other sites it still known/referred as by this name. Thanks!

Resolved in commit f1bd7b7


Updated hack/build.sh to use the newer docker-squash tool

I was trying to build an Oracle Linux base image and the squashing never worked. Turns out the old version of docker-scripts no longer works with Docker 1.12 or 1.13. I've switched to using docker-squash instead, which works just fine.
The command essentially squashes the image back to the specified tag.
Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Can one of the admins verify this patch?

@hhorak personally i'd be supportive of stripping the squashing logic out entirely at this point(it's been problematic in various ways over the years), but it's your call.

@bparees @hhorak Docker 1.13 (Experimental) has squashing capabilities so perhaps strip it out now and then restore it once the Docker client itself can do the squashing?

@Djelibeybi yeah that also sounds reasonable.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

[test]

I'm not aware of problems with squashing, but if that is really problematic and not working with newer client, I'd be fine with either way -- turning off the squashing or changing the tool for squashing. But I'd like to understand the issue first..
@omron93 , what do you think, are you aware of the issues currently? I see we already have docker 1.12 on the builder machines.

I'm not aware of problems with squashing, but if that is really problematic and not working with newer client, I'd be fine with either way -- turning off the squashing or changing the tool for squashing. But I'd like to understand the issue first..

Yes, it is true. It is not working for s2i-base. Other images (I hope all) are using docker-squash==1.0.1 (1.0.5 is the latest). So +1 for this PR.
@Djelibeybi Please, could you describe more the second commit "A little more logic to make sure the squash process properly removes the unsquashed image."? (because it creates another difference according to scripts of other sclorg/ images)

-- turning off the squashing or changing the tool for squashing. But I'd like to understand the issue first..
@omron93 , what do you think, are you aware of the issues currently? I see we already have docker 1.12 on the builder machines.

@hhorak I don't know. Only I remember Ben was mentioning "i've seen cases where squashing changes behavior" [1] @bparees Do you have more information please?
Currently squashing is not used or tested in CI (because we are not releasing squashed images and tests would run two times longer). @hhorak Should we test it?
Squashing using docker is currently experimental (added in 1.13).
So I vote for using it after it gets stable (currently is is possible to add custom parameters for docker build - BUILD_OPTIONS variable), documenting how to do it with BUILD_OPTIONS and removing code for squashing.
[1] https://github.com/sclorg/mariadb-container/pull/9#issuecomment-238559171

[test]

Only I remember Ben was mentioning "i've seen cases where squashing changes behavior" [1] @bparees Do you have more information please?

we had issues w/ file permissions getting set incorrectly, as i recall.

@omron93 the docker-squash tool has slightly different mechanics to the old tool, so it was necessary to create a "before" image that can get squashed.

Currently squashing is not used or tested in CI (because we are not releasing squashed images and tests would run two times longer). @hhorak Should we test it?

Twice longer because we would run the test once for squashed and once for unsquashed image?
I think we should ideally test what is later delivered, so if we don't squash centos images, but we do squash rhel images, we might set squashing before testing for RHEL testing only. Does that make sense?

the docker-squash tool has slightly different mechanics to the old tool, so it was necessary to create a "before" image that can get squashed.

@Djelibeybi You are right. Is there a benefit of having ...-unsquashed image instead of working with IMAGE_NAME in all steps?

Twice longer because we would run the test once for squashed and once for unsquashed image?

Exactly.

I think we should ideally test what is later delivered, so if we don't squash centos images, but we do squash rhel images, we might set squashing before testing for RHEL testing only. Does that make sense?

@hhorak OK. So for CentOS based images test will be run with non-squashed image and for RHEL based images tests will be using squashed images. I will set it up...

I think we should ideally test what is later delivered, so if we don't squash centos images, but we do squash rhel images, we might set squashing before testing for RHEL testing only.

I agree we should test the squashed images for RHEL (via docker-squash) if that is what we are shipping.

Is there a benefit of having ...-unsquashed image instead of working with IMAGE_NAME in all steps?

The only benefit I see is being able to use the -c option to remove the unsquashed image that would otherwise be leftover.

[test]

We use container-common-scripts repo and particularly this script for building: https://github.com/sclorg/container-common-scripts/blob/master/build.sh
At this point, we don't install docker-squash at all and just instruct the builder to acquire this tool. It makes sense to me this way.

Btw., the the latest build.sh script doesn't squash centos7 image anymore (only rhel7).


Find and Replace dialogs - keyboard shortcuts should focus dialogs if already open

If a Find and Replace dialog is already open, then lose focus (e.g. I click the source code editor), then using Ctrl+Shift-F or Ctrl+H keyboard shortcuts should bring the already open F&R dialog back into focus. Same as it works with quick-find and Ctrl+F.

Please, test latest development build to confirm this is fixed.

It works now. However (might be unrelated), my keyboard shortcut Ctrl-I for "F&R in files" stopped working for some reason (nothing happens).

That shortcut was changed to Ctrl+Shift+F some time ago because it's the default one for most, if not all, other mainstream editors out there. Maybe you were using an older version, your settings were reset, or you tried running in local settings mode.
I'd say you can close this one now.

When I first noticed that the shortcut has changed a while ago, I went to Tools > Keyboard Shortcuts and changed SearchMenu.FindAndReplaceInFiles to Ctrl+I. It used to work (Ctrl+Shift+F also worked). But now whatever I change that shortcut to, only Ctrl+Shift+F is working. If this is not related at all to the work you've done on this issue, I can close this one and open a new one.

As a matter of fact, none of my custom keyboard shortcuts are working in the latest dev build.

That's unfortunate, but completely unrelated to this, probably caused by this PR:
https://github.com/fdorg/flashdevelop/pull/974
There is already another PR pending that I think fixes the problem.

All right thanks a lot for fixing this issue!


DSND-3086: Add document metadata to logmap

Describe the changes

added document metadata link to the logmap - includes an encoded document id.

Related Jira tickets
DSND-3086
Developer check list
General

[ ] Is the PR as small as it can be?
[ ] Has the Jira ticket been updated with any relevant comments?
[ ] Is the README up to date?
[ ] Has the POM been updated for the latest versions of dependencies?
[ ] Has the code been double-checked against main?
[ ] Does the code adhere standards in this repository, including SonarQube checks?

Testing

[ ] Do the code changes have unit and integration tests with code coverage > 80%?
[ ] Has the code been tested locally and/or passed the API Karate tests on Tilt?
[ ] Have mandatory manual test cases been run?
[ ] Are extra Karate tests required?
[ ] Are all the test data resources up to date?

Release preparation
Where possible, add links to the respective Jira tickets when an item is checked

[ ] Have these changes been included in a release ticket?
[ ] Are changes required to the docker-chs-development deployment or test data?
[ ] Are any changes required to the environment added to deployment repositories?

Notes to the tester
Add any testing hints or instructions here.

CI: No security warnings found


Higher-contrast text please

The RDocumentation website uses very low contrast between text and background.  For example, on this page:
https://www.rdocumentation.org/packages/dplyr/versions/0.5.0?
The background is white, the function names are light blue and the descriptions are light gray. The text is very thin/lightweight.  For some users/display devices, this can be very difficult to read.
Would it be possible to update the theme to improve accessibility for users?
Incidentally, when Revolution was acquired by Microsoft, the Revolution web pages were changed to higher-contrast to meet Microsoft's accessibility guidelines.  Here is an example that shows how the text is much more readable with higher contrast between text and background, and thicker text:
https://mran.microsoft.com/

Indeed, can be a problem for some users, thanks for reporting this.
Also related to this issue https://github.com/datacamp/RDocumentation/issues/59
We'll how we can improve that

The font-size and font-weight are now bigger, should be easier to read

Thanks. Is the change immediately effective or does it need to be released?  Here's what I'm seeing on Rdocumentation (still rather difficult to read) and MRAN today.


IconButton API problematic in dark mode

Likely out of scope for this rev, but those props will be problematic when accounting for dark mode

Maybe we should use this technique to control what the icon color is based on the bgColor https://css-tricks.com/reverse-text-color-mix-blend-mode/


Deploy script OS notification doesn't indicate if deploy failed

This happened when the build failed from yarn install failures (during an npm incident).  The OS notification from the Heroku CLI makes it look like the deploy succeeded, but it failed.

not important enough anymore


An error occurred with crop and lock and alway on top

Microsoft PowerToys version
0.79.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Always on Top, Crop and Lock
Steps to reproduce
When I use "always on top" to place the video interface cropped by "crop and lock", there is a high probability that the video interface will be black screen and cannot be watched

✔ Expected Behavior
I want to watch the video normally

❌ Actual Behavior
Video black screen

Other Software
Microsoft edge

Are you still experiencing this issue? /needinfo


[Bug] EventToCommandBehavior not raised with ContentPage Appearing event

Description
It seems that is not possible to have the Appearing event as a Command. Am I doing something wrong?
    <ContentPage.Behaviors>
        <xct:EventToCommandBehavior Command="{Binding OnAppearingCommand}" EventName="Appearing" />
    </ContentPage.Behaviors>

Steps to Reproduce
See above
Expected Behavior
I would like to have the OnAppearingCommand executed when Appearing event raise
Actual Behavior
OnAppearingCommand is not executed
Basic Information

Version with issue: 1.0.2
Last known good version: unknownd
IDE: Visual Studio 2019 16.8.4
Platform Target Frameworks:

iOS:
Android:  10
UWP:

Android Support Library Version:
Nuget Packages:
Affected Devices:

Workaround

Reproduction imagery

Reproduction Link

It would be super helpful if you could attach a reproduction project, thanks!

It would be super helpful if you could attach a reproduction project, thanks!

TesiDemo.zip
LoginPage and LoginViewModel
Thanks @jfversluis

@acaliaro There is a typo in the command name of your reproduction project. It won't work.
 Thanks!


Unable to find uri

Hi Markus :
When I ran the command 'roslaunch tuw_marker_slam slam_demo_gazebo.launch',I saw this problem in my teminal.Can you help me to solve it ? Thank you very much.
Problems are as follows:
Error [parser.cc:581] Unable to find uri[model://BchThin_0001]

0 0 -9.8
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>

<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>1000</real_time_update_rate>

0.4 0.4 0.4 1
0.7 0.7 0.7 1
1

[artag5-11] process has finished cleanly
log file: /home/agc/.ros/log/a55af28c-245e-11e8-b05b-8056f2dc77c9/artag5-11*.log

Are you using the tuw_gazebo pkg?
https://github.com/tuw-robotics/tuw_gazebo

And Matkus I am sorry to boder you again,after conpiling tuw_gazebo I find a new problem :
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘void gazebo::GazeboRosHumanReceiver::createHumansFnc()’:
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp:141:41: error: ‘class gazebo::physics::World’ has no member named ‘ModelByName’
physics::ModelPtr p = this->world_->ModelByName(name);
^
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘void gazebo::GazeboRosHumanReceiver::updateHumansFnc()’:
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp:219:52: error: ‘class gazebo::physics::Model’ has no member named ‘WorldPose’
const ignition::math::Pose3d &current = p->WorldPose();
^
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp: In member function ‘gazebo::physics::ModelPtr gazebo::GazeboRosHumanReceiver::getHuman(int)’:
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_human_receiver.cpp:252:18: error: ‘class gazebo::physics::World’ has no member named ‘ModelByName’
return world_->ModelByName(name);
^
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘virtual void gazebo::GazeboRosJointStatePublisher::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:82:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
last_update_time_ = this->world_->SimTime();
^
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:95:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
last_update_time_ = this->world_->SimTime();
^
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘void gazebo::GazeboRosJointStatePublisher::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:105:47: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time current_time = this->world_->SimTime();
^
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp: In member function ‘void gazebo::GazeboRosJointStatePublisher::publishJointStates()’:
/home/agc/dev/tuw-slam/src/tuw_gazebo/tuw_gazebo_plugins/src/gazebo_ros_joint_state_publisher.cpp:128:43: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
joint_state_.position[i] = joint->Position( 0 );
^
[ 93%] Linking CXX shared library /home/agc/dev/tuw-slam/devel/lib/libtuw_gazebo_ros_utils.so
tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/build.make:62: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/src/gazebo_ros_human_receiver.cpp.o' failed
make[2]: *** [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/src/gazebo_ros_human_receiver.cpp.o] Error 1
CMakeFiles/Makefile2:11372: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/all' failed
make[1]: *** [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_human_receiver.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
[ 93%] Built target tuw_gazebo_ros_utils
tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/build.make:62: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/src/gazebo_ros_joint_state_publisher.cpp.o' failed
make[2]: *** [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/src/gazebo_ros_joint_state_publisher.cpp.o] Error 1
CMakeFiles/Makefile2:10918: recipe for target 'tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/all' failed
make[1]: *** [tuw_gazebo/tuw_gazebo_plugins/CMakeFiles/tuw_gazebo_ros_joint_state_publisher.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4" failed

Hi Markus I am a student in college an know few about ros and linux ,and my teacher has given me some pressure.And I can't even run the program.Can you set me the code that can run the program like the vedio in 'http://wiki.ros.org/tuw_marker_slam'?Thank you very much for your help.And my email is<EMAIL_ADDRESS>you don't want ,it's ok.Also thank you for answering my question.Wish you a happy day!

sorry at the moment I have not the recources to help you out.
2018-03-12 13:37 GMT+01:00 fengfanrop<EMAIL_ADDRESS>
Hi Markus I am a student in college an know few about ros and linux ,and
my teacher has given me some pressure.And I can't even run the program.Can
you set me the code that can run the program like the vedio in '
http://wiki.ros.org/tuw_marker_slam'?Thank you very much for your
help.And my email is<EMAIL_ADDRESS>you don't want ,it's ok.Also
thank you for answering my question.Wish you a happy day!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tuw-robotics/tuw_marker_filter/issues/5#issuecomment-372295382,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAre-CwtMjqQKH2k1gTZ8PSH887HR5ytks5tdmwlgaJpZM4SlQ5j
.

--
Dipl.-Ing. Dr.tech. Markus Bader
TECHNISCHE UNIVERSITÄT WIEN
Computer Engineering, Automation Systems
Treitlstrasse 1 | 4. Floor | E191-03 | 1040 Wien
DVR-Nummer: 0005886
Tel. +43 (0)1 58801 - 18305
Skype: markus.bader.at.work
Fax. +43 (0)1 58801 - 18391
<EMAIL_ADDRESS>| www.auto.tuwien.ac.at |
http://info.tuwien.ac.at/mbader/


low-level call for outside integrations

Use .call for calling external contracts so that we can handle remote revert

I believe we're good here:

We no longer special-case Uniswap; that is left for outside implementors.
The price feed is checked for activity with peek (which returns a boolean) before read is called (which risks a revert).
The relay interaction is limited to getCurrentEpochDifficulty and getPrevEpochDifficulty, which in the version we are referencing is a simple state read, so does not risk an unwarranted revert.

There is potential danger for revert with some calls to Keep, but these are fairly integral to the flow (e.g. seizeSignerBonds, openKeep, submitSignatureFraud), so reverts probably aren't the wrong thing to do, and we only semi-consider them “external” for our purposes.


Can not open Example Scene with 2019 or 2020

2019.4.40f1c1 Error:

After "Cancel":

2020.3.25f1c1 Error:

Thanks for your help

Questions1:
This example is base on Unity 2017.3.  when you use Unity 2019 or 2020. There is some diff in ProjectSettings folder. There is a suggest.

close your Unity Editor.
delete ProjectSettings folder
reopen project with Unity 2019 or 2020
4.Unity 2019 or 2020 will create a new ProjectSettins folder.

Questions3:

our branch master is adapter with rtc sdk version is <IP_ADDRESS>.  it is look like your download rtc sdk verision is not <IP_ADDRESS>。
may be you should use our example branch 3.5.x.x

This issue should now be closed and please upgrade to SDK Version 4.1.0 or up.


Make package compatible with OrdinaryDiffEq v6.6 and v6.7

Codecov Report

Merging #130 (da40c4f) into main (00270d1) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
- Coverage   91.69%   91.63%   -0.07%
==========================================
  Files          24       24
  Lines         939      932       -7
==========================================
- Hits          861      854       -7
  Misses         78       78

Impacted Files
Coverage Δ

src/algorithms.jl
100.00% <ø> (ø)

src/alg_utils.jl
93.75% <100.00%> (+0.89%)
:arrow_up:

src/gaussians.jl
80.00% <0.00%> (-0.96%)
:arrow_down:

src/squarerootmatrix.jl
91.30% <0.00%> (-0.37%)
:arrow_down:

src/perform_step.jl
74.84% <0.00%> (-0.16%)
:arrow_down:

src/solution.jl
96.29% <0.00%> (-0.05%)
:arrow_down:

src/projection.jl
100.00% <0.00%> (ø)

src/preconditioning.jl
100.00% <0.00%> (ø)

src/integrator_utils.jl
100.00% <0.00%> (ø)

src/filtering/predict.jl
100.00% <0.00%> (ø)

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 3e5169f...da40c4f. Read the comment docs.


COLOS-21: Add executioner

Issue ID
https://plane.42.mk/colosseum/projects/feca94dd-2b65-430b-b917-9299b2f82c60/issues/952a7950-caba-4fdf-b118-c5572085a013
What has been done?

[x] Added initial implementation for executioner

Sceenshots/Videos

Added:

Execution timeout using the timeout GNU CoreUtils program
Added Java
Added C#
Added support for piping compilation errors into stderr

Added C#
Added Java
Split AMQP connection into pub/sub channels
Piping compilation errors into stderr on compiled languages


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1705 ms

Resolved: Bofrost.be performance has improved in 833de5b after 6 minutes.


Remove redux persist

Aims to resolve #231
Redux persist in its current form is causing to many problems to keep it around. Therefore this simply
removes it.
The most common problem with redux persist is
that users make changes to configuration, which
are then not taken over into the ui as they are blocked by the existing redux state. This can also happen
when new versions of the ui are released. Resolving this requires a hard page reload which is simply un- userfriendly.
Whatever efficiency benefits redux persist may bring, they are not worth requiring clearing your browser cache every other day.

Putting this on hold because I finally noticed that redux-persist is responsible for remembering changes to table filters or column de-/activity and ordering.

Closing this because throwing out redux-persist without any sort of replacement for saving info in localstorage is not really a great solution after all.


Apple Silicon Support

hi, I was able to get progcen works on my macbook M1 by doing the following:
Install glfw with homebrew (and make sure the lib path is in DYLD_LIBRARY_PATH)
modify the march=native to mcpu=lightning in the cmake configuration file ...
It is quite an easy fix, so may be good if you want to implement it ...

I don't have an M1 mac but would accept a PR that improved support for M1.  cibuildwheel https://cibuildwheel.readthedocs.io/en/stable/#what-does-it-do says it supports apple silicon, so there's probably some way to make the github actions workflow build a wheel for that platform.

@olmoulin Hi, and thanks for the solution you mentioned!
However, since I'm novice to mac computer, can you elaborate how to set the lib path is in DYLD_LIBRARY_PATH and
let me know which cmake configuration file you mentioned?
Thank you :)

Sure, install home-brew, it should be located in /opt/homebrew
update .zshrc file and add the following lines :
export PATH="/opt/homebrew/bin:/opt/homebrew/opt:$PATH"
export DYLD_LIBRARY_PATH="/opt/homebrew/lib:DYLD_LIBRARY_PATH"
type source .zshrc
then type brew install wget cmake glow qt5
clone the git reposition from procgen
go into procgen/procgen
edit CMakeLists.txt
replace the line :     set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -march=native")
by the following one :     set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -mcpu=lightning")
Then follow the normal guide to compile and install procgen (as indicated in compile from source section of this GitHub repository)
Hope it helps :)

Thanks for the answer above!
I found this worked for me without editing the CMakeLists.txt file.

If mcpu=lightning doesn't work, you can try mcpu=apple-m1. That worked for me. You can check available cpus with the command clang --print-supported-cpus

mcpu=lightning does not work for me too. I tried changing to mcpu=apple-m1. But I got the following error. Anyone encountered the same?
building procgen...RUN FAILED ['cmake', '--build', '.', '--config', 'relwithdebinfo']:
[  3%] Building CXX object CMakeFiles/env.dir/src/assetgen.cpp.o
[  6%] Building CXX object CMakeFiles/env.dir/src/cpp-utils.cpp.o
[ 13%] Building CXX object CMakeFiles/env.dir/src/game.cpp.o
[ 13%] Building CXX object CMakeFiles/env.dir/src/entity.cpp.o
[ 16%] Building CXX object CMakeFiles/env.dir/src/game-registry.cpp.o
[ 20%] Building CXX object CMakeFiles/env.dir/src/games/bigfish.cpp.o
[ 23%] Building CXX object CMakeFiles/env.dir/src/basic-abstract-game.cpp.o
[ 26%] Building CXX object CMakeFiles/env.dir/src/games/dodgeball.cpp.o
[ 30%] Building CXX object CMakeFiles/env.dir/src/games/bossfight.cpp.o
[ 33%] Building CXX object CMakeFiles/env.dir/src/games/caveflyer.cpp.o
[ 36%] Building CXX object CMakeFiles/env.dir/src/games/climber.cpp.o
[ 40%] Building CXX object CMakeFiles/env.dir/src/games/coinrun_old.cpp.o
[ 43%] Building CXX object CMakeFiles/env.dir/src/games/coinrun.cpp.o
[ 46%] Building CXX object CMakeFiles/env.dir/src/games/fruitbot.cpp.o
[ 50%] Building CXX object CMakeFiles/env.dir/src/games/heist.cpp.o
[ 53%] Building CXX object CMakeFiles/env.dir/src/games/jumper.cpp.o
[ 56%] Building CXX object CMakeFiles/env.dir/src/games/leaper.cpp.o
[ 60%] Building CXX object CMakeFiles/env.dir/src/games/maze.cpp.o
[ 63%] Building CXX object CMakeFiles/env.dir/src/games/miner.cpp.o
[ 66%] Building CXX object CMakeFiles/env.dir/src/games/ninja.cpp.o
[ 70%] Building CXX object CMakeFiles/env.dir/src/games/chaser.cpp.o
[ 73%] Building CXX object CMakeFiles/env.dir/src/games/plunder.cpp.o
[ 76%] Building CXX object CMakeFiles/env.dir/src/games/starpilot.cpp.o
[ 80%] Building CXX object CMakeFiles/env.dir/src/mazegen.cpp.o
[ 83%] Building CXX object CMakeFiles/env.dir/src/randgen.cpp.o
/Users/raymondchua/Documents/procgen/procgen/src/games/chaser.cpp:296:13: error: variable 'num_orbs' set but not used [-Werror,-Wunused-but-set-variable]
        int num_orbs = 0;
            ^
[ 86%] Building CXX object CMakeFiles/env.dir/src/roomgen.cpp.o
[ 90%] Building CXX object CMakeFiles/env.dir/src/resources.cpp.o
[ 93%] Building CXX object CMakeFiles/env.dir/src/vecgame.cpp.o
1 error generated.
make[2]: *** [CMakeFiles/env.dir/src/games/chaser.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/mydir/procgen/procgen/src/games/starpilot.cpp:231:18: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
        for (int i = 0; t <= SHOOTER_WIN_TIME; i++) {
                 ^
1 error generated.
make[2]: *** [CMakeFiles/env.dir/src/games/starpilot.cpp.o] Error 1
make[1]: *** [CMakeFiles/env.dir/all] Error 2
make: *** [all] Error 2

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/mydir/procgen/procgen/env.py", line 246, in __init__
    super().__init__(num, env_name, options, **kwargs)
  File "/mydir/procgen/procgen/env.py", line 96, in __init__
    lib_dir = build(debug=debug)
  File "/mydir/procgen/procgen/builder.py", line 138, in build
    check(run(build_cmd), verbose=package)
  File "/mydir/procgen/procgen/builder.py", line 47, in check
    raise RunFailure("failed to build procgen from source")
procgen.builder.RunFailure: failed to build procgen from source

Ok, I manage to fix the errors I had by commenting out the following lines  296: // int num_orbs = 0; and 306: //num_orbs++;
And by replacing cpp:231:18 in starpilot.cpp:

@raymondchua this seems to be a breaking behavior of c compiler clang from 12 to 13 (my up-to-date M1 Mac's clang is 14) mentioned elsewhere. I bypassed it by adding another flag to CMakeLists.txt. Let me make a quick PR.

Thanks for following up, @falcondai.


Fix eframe changelog links to other changelogs

Links to the changelogs of egui_web, egui-winit, and egui_glium were broken and led to a 404, fixed them by adding "../"

Closes https://github.com/emilk/egui/issues/1143.

thanks!


Unescape HTML in connection error string

Turning

to correct

I don't think this is the right place for this fix. We're fetching a JSON, why should we unescape HTML? I think the API endpoint should return the correct value.
url: `${this._getApifyProxyStatusUrl()}/?format=json`,

@mhamas I guess that we can close this, right?


Windows package of 3.24.3 NSSM folder name is wrong.

Windows package of 3.24.3 NSSM folder name is wrong.
Expected Behavior

Clean install Calico on a windows node
Current Behavior

An error during install due to Calico scripts expects nssm.exe being under ./nssm folder, in fact falder now called nssm-2.24-103-gdee49fc due to 3a2abe57cb9467a34353d8c5dad3e56caf09c90a.
Possible Solution

Steps to Reproduce (for bugs)

Download install-calico-windows.ps1 for 3.24.3
Initiate install
Observe the error during install

Context

At the moment I can't proceed with Calico deployment on a windows nodes
Your Environment

Calico version: 3.24.3
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.22
Operating System and version: Windows Server 2019
Link to your project (optional):

A workaround for this is to pin to the older release of the calico-windows binary.
.\install-calico-windows.ps1 -ReleaseBaseURL "https://github.com/projectcalico/calico/releases/download/v3.24.1/" -ReleaseFile calico-windows-v3.24.1.zip

@chrisjohnson00 Thanks for reporting this. Let me see what I can do to fix this.

@chrisjohnson00 Can you download the installation script and try it again? This issue is fixed. I'll be working on a better solution in the mean time.

@chrisjohnson00 Can you download the installation script and try it again? This issue is fixed. I'll be working on a better solution in the mean time.

Will do! I was testing a non related change when I ran into this, so I will rebuild and test today.

I did not report this, just bubbled it up to your attention

Sorry my mistake. Thanks @p-v-a for reporting this issue.

@chrisjohnson00 Can you download the installation script and try it again? This issue is fixed. I'll be working on a better solution in the mean time.

Will do! I was testing a non related change when I ran into this, so I will rebuild and test today.

Yes, it seems to be working fine now!  Thanks!!

@song-jiang  - thanks for the fix!
While I have your attention.
Is there another url for install-calico-windows.ps1 which would allow me to pin our automation to a full version?  Instead of this link which is v3.24.x I'd like to pin to v.3.24.2 for example.
https://projectcalico.docs.tigera.io/archive/v3.24/scripts/install-calico-windows.ps1

I'm afraid there's no URL for v3.24.2 installation script.
If you really want to do it, maybe download v3.24.3 script and run
./install-calico-windows.ps1 -ReleaseBaseURL https://github.com/projectcalico/calico/releases/download/v3.24.2 -ReleaseFile calico-windows-v3.24.2.zip

I haven't tried it myself and it is not recommended.

I'm afraid there's no URL for v3.24.2 installation script. If you really want to do it, maybe download v3.24.3 script and run
./install-calico-windows.ps1 -ReleaseBaseURL https://github.com/projectcalico/calico/releases/download/v3.24.2 -ReleaseFile calico-windows-v3.24.2.zip

I haven't tried it myself and it is not recommended.

Yes, thanks.  Those URL parameters are part of the workaround I commented about initially on this issue.
Thanks for the help and quick responses on this!!


Add support of ECR

Support added in https://github.com/mpostument/awstaghelper/releases/tag/0.15.0


在iOS上阅读FeliCa卡片 | Reading FeliCa cards on iOS

你好，我看到阅读FeliCa卡的功能只限于安卓。但是，iOS也可以读取FeliCa卡。如果你看看App Store和GitHub上的SpiceCompanion的iOS版，它也可以读取Amusement IC/FeliCa卡。如果有可能的话，请将FeliCa卡的读取加入到iOS应用中。谢谢您!
Hi, I see that the ability to read FeliCa cards is limited to Android. However, iOS can also read FeliCa cards. If you look at the App Store and the iOS version of SpiceCompanion on GitHub, it can also read Amusement IC/FeliCa cards. If possible, please add FeliCa card reading to the iOS app. Thank you!

This feature has been added to the todo list. Thanks for your advice!

The latest version of Mageki already supports this feature, I will close this issue


Failed to pull postgresql-windows image

hi all,
i get this error after pulling postgresql-windows image to windows server 2016.
failed to register layer: re-exec error: exit status 1: output: ProcessBaseLayer C:\ProgramData\docker\windowsfilter\7d5e3af752f5765eb9407c1250824d2a2ba55d3ae1498c4f1907525762190ec
f: Cannot create a file when that file already exists.
Can anyone help?

The image can't be pulled with RTM versions of Windows. At that time TP5 was out and a lot thkngs have changed since then.
I haven't found other Windows images for PostgreSQL. You have to build an own image, the Dockerfile needs at least an update in the FROM instruction.

do you know any tutorial to build that image?
From: Stefan Scherer
Sent: Thursday, May 18, 2017 3:18 AM
To: brogersyh/Dockerfiles-for-windows
Cc: shahrilrizal ; Author
Subject: Re: [brogersyh/Dockerfiles-for-windows] Failed to pull postgresql-windows image (#9)
The image can't be pulled with RTM versions of Windows. At that time TP5 was out and a lot thkngs have changed since then.
I haven't found other Windows images for PostgreSQL. You have to build an own image, the Dockerfile needs at least an update in the FROM instruction.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I did a short test and updated the Dockerfile to build it with current Win10/Win2016 environments
FROM microsoft/windowsservercore

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

ENV PGDATA c:\\sql
ENV PGPORT 5432
#not using PGUSER here due to need to run createuser downstream to create role
ENV PGUSERVAR postgres
ENV PGDOWNLOADVER postgresql-9.5.2-1-windows-x64-binaries.zip

# download and extract binaries
RUN wget http://get.enterprisedb.com/postgresql/$env:PGDOWNLOADVER -outfile $env:PGDOWNLOADVER ; \
    expand-archive $env:PGDOWNLOADVER -force -destinationpath /postgresql ; \
    rm $env:PGDOWNLOADVER

#install VC 2013 runtime required by postgresql
#use chocolatey pkg mgr to facilitate command-line installations
RUN iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
RUN choco install vcredist2013 -y

# copy dependent script(s)
COPY . /install

WORKDIR /postgresql/pgsql/bin

# init postgresql db cluster, config and create and start service
RUN powershell /install/init-config-start-service $env:PGDATA $env:PGUSERVAR

# start postgreSQL using the designated data dir
CMD powershell /install/start detached $env:PGDATA $env:PGUSERVAR

This still does not use all the features available on Windows (like EXPOSE or VOLUME), but it may help you build it and it will start a DB server.
Would be good if someone sends a pull request to the official postgres Docker image to add a Windows image for that, too :-)


⚠ Bofrost.fr has degraded performance

In b0e0a11, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 826 ms

Resolved: Bofrost.fr performance has improved in fa7598b after 8 minutes.


Support alternative names for the GIT_PASSWORD secret

Because GitHub Actions secrets are scoped to a GitHub repository, it means that it is currently impossible to push to two different mirrored endpoints in the same workflow (or even in multiple workflows for one repository). For example, I was unable to get this configuration to work:
workflow "Mirror to GitLab and Bitbucket" {
  on = "push"
  resolves = ["Push to GitLab", "Push to Bitbucket"]
}

action "Push to GitLab" {
  uses = "spyoungtech/mirror-action@master"
  args = "https://gitlab.com/artob/dotfiles.git"
  env = {
    GIT_USERNAME = "artob"
  }
  secrets = ["GIT_PASSWORD"]
}

action "Push to Bitbucket" {
  uses = "spyoungtech/mirror-action@master"
  args = "https://bitbucket.org/artob/dotfiles.git"
  env = {
    GIT_USERNAME = "x-token-auth"
  }
  secrets = ["GIT_PASSWORD"]
}

The problem being that the GIT_PASSWORD secret will be the same for all actions, which cannot succeed.
Assuming GitHub Actions will continue to scope all secrets to the repository, and not allow secrets scoped to a workflow or action, I don't see any other workaround than making the secret's environment variable name configurable.
For example, the secret's environment variable name could be passed as a second argument, as follows:
action "Push to Bitbucket" {
  uses = "spyoungtech/mirror-action@master"
  args = ["https://bitbucket.org/artob/dotfiles.git", "GIT_PASSWORD_BITBUCKET"]
  env = {
    GIT_USERNAME = "x-token-auth"
  }
  secrets = ["GIT_PASSWORD_BITBUCKET"]
}

Thoughts?

Makes perfect sense to me. I think the solution you propose is a good idea. I'll work on implementing in the near term.

An alternative formulation that might perhaps be a little cleaner than my previous suggestion:
action "Push to Bitbucket" {
  uses = "spyoungtech/mirror-action@master"
  args = ["https://bitbucket.org/artob/dotfiles.git"]
  env = {
    GIT_USERNAME = "x-token-auth"
    GIT_PASSWORD_VAR = "GIT_PASSWORD_BITBUCKET"
  }
  secrets = ["GIT_PASSWORD_BITBUCKET"]
}

In this case, GIT_PASSWORD_VAR would default to GIT_PASSWORD, but allow the override when necessary.
BTW, I contacted GitHub support about the scoping of GitHub Actions secrets, referencing this issue, and they responded that they've noted it as a feature request. No guarantees they'll allow more narrow scoping in the future, but at least they're aware of the problem.

With the release of GitHub Actions 2.0, I believe this has been overcome by events. The new YAML syntax for workflows should allow something like the following, which effectively solves the problem (not tested yet, though):
name: Mirror
on: push
jobs:
  mirrorToGitLab:
    name: Mirror to GitLab
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Push to GitLab
      uses: spyoungtech/mirror-action@master
      env:
        GIT_USERNAME: artob
        GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
      with:
        args: https://gitlab.com/artob/dotfiles.git
  mirrorToBitbucket:
    name: Mirror to Bitbucket
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Push to Bitbucket
      uses: spyoungtech/mirror-action@master
      env:
        GIT_USERNAME: x-token-auth
        GIT_PASSWORD: ${{ secrets.BITBUCKET_PASSWORD }}
      with:
        args: https://bitbucket.org/artob/dotfiles.git


How to save data into server using library like Volley

Hello, I will like to save all the data filled in the forms into the server using Volley library. How do I achieve that? I have been trying all my best but I am clueless..Please help, thanks

Did you find a solution to this?
Kindly share.


Add server behavior details for _HTTP_503_RESPONSE_VERBOSITY

Add additional details on the HTTP Server behavior for some of the _HTTP_503_RESPONSE_VERBOSITY values.

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


Training a new model, hoping to receive assistance

I am training a new Chinese model for Piper because the pronunciation tone of the Piper project's Chinese model is incorrect. I have prepared a larger dataset. But what puzzled me was that Piper's training documentation mentioned that the CSV file of the dataset only has one text column, and I used the dataset to contain the text corresponding to the audio, as well as the corresponding pinyin and tone. How should I handle this CSV file to meet Piper's requirements for the dataset
I hope someone can give me a hint. Thanks
The training guide mentions that CSV format should be:
id|text

My dataset is in CSV format:
 ID|text|prosody

If there is no 'prosody', Will it lead to non-standard pronunciation?

Can someone share the available 'pip list'?


[WIP] Add graphing example.

I'm planning to move this to a new repository after releasing v0.3.0.

Moving to https://github.com/mizuno-gsinet/inari-graph


dcos experimental package add

The integration test won't pass locally until the response type gets changed to add-response rather than universe-package. I could write tests, and ignore them, but I don't see much difference between that and writing them once everything has been integrated. Either way is fine by me.


Run server and client together

It would be nice to have a standalone binary that spins up the server and client.

c79d4f152f7a14318044648b115e0953a51d51b8


Navigation bar disappear and Code highlight doesn't work

Describe the bug
The button still works, but the navigation bar doest not display.
Highlighting a specific line of a code block does not work.
These functions can be used normally in v0.34.2
To Reproduce
npm init slidev@latest
npm run dev
Desktop (please complete the following information):

OS: Macos
Browser: Edge and Safari
Slidev version: v0.35.6

me too
{
"name": "share",
"private": true,
"scripts": {
"build": "slidev build",
"dev": "slidev --open",
"export": "slidev export"
},
"dependencies": {
"@slidev/cli": "^0.35.6",
"@slidev/theme-default": "",
"@slidev/theme-seriph": ""
}
}
Possible dependency issues？
Issues with peer dependencies found
.
└─┬ @slidev/cli
└─┬ @slidev/client
└─┬ @vueuse/motion
└── ✕ unmet peer @nuxt/kit@npm:@nuxt/kit-edge@latest: found 3.0.0-rc.10-27708028.1ca294e

me too, but 0.35.4 works well

I can reproduce the issue (linux, firefox) for the bar, the code highlighting seems to work.

if I remove css: unocss in the frontmatter, the bar is displayed but with no icons

The first console warnings that are abnormal are about DEV, SLIDEV_FEATURE_DRAWINGS etc not found

@tonai As you worked on the build part, maybe you're familiar with these kind of errors?

Hum environment variables should be replaced by the build tool.
The plugin responsible for this is defined in that file: https://github.com/slidevjs/slidev/blob/main/packages/slidev/node/plugins/patchTransform.ts
And the environment variables are defined in the getDefine method located in that file: https://github.com/slidevjs/slidev/blob/main/packages/slidev/node/plugins/extendConfig.ts
It only transforms file with the .vue extension.
I don't really know why this is broken...

I confirm it break by switching from 0.34.3 to 0.35.0, which seems to be only made of an upgrade to vite3.

But no issue when running the demo presentation with a clone and build of v0.35.6 (or any version probably).

I can reproduce the issue (linux, firefox) for the bar, the code highlighting seems to work.

Now I am using  v0.36.4. The navigation bar works well. But Line Highlighting still can't work.
Sorry, I didn't express the issue accurately.
This is the picture for http://<IP_ADDRESS>:3030/4

And it is  the same result for http://<IP_ADDRESS>:3030/4?clicks=1
The Line Highlighting doesn't work for ts {all|2|1-6|9|all}. It highlights all lines all the time .


When using a comma separated lists for -skiptest get a parameter 'clientSecret' error

Issue
I have just migrated from the Windows PowerShell to this Cross Platform version. The only change I thought we required was in the task name swapping to
- task: RunARMTTKTestsXPlat@1
  displayName: "Run ARM TTK tests on built ARM"
  inputs:
    templatelocation: '$(Build.SourcesDirectory)\BicepTemplates\ARMoutputs\*.json'
    resultLocation: '$(System.DefaultWorkingDirectory)\results'
    skipTests: '$(TestsToSkip)'
    cliOutputResults: true

However I have found that if have a comma separated list for -skipTests we get the following error

Using executable 'powershell.exe'
powershell.exe E:\Agent_work_tasks\RunARMTTKTestsXPlat_cb27e003-8534-4da9-aaa0-35ca8756ae29\1.2.1\powershell\ps-runner.ps1 -templateLocation E:\Agent_work\17\s\BicepTemplates\ARMoutputs*.json -resultLocation E:\Agent_work\17\s\results -skipTests VM Images Should Use Latest Version,Resources Should Have Location,Location Should Not Be Hardcoded,Template Should Not Contain Blanks,DeploymentTemplate Must Not Contain Hardcoded Uri,Outputs Must Not Contain Secrets,URIs Should Be Properly Constructed -cliOutputResults -recurse
##[error]E:\Agent_work_tasks\RunARMTTKTestsXPlat_cb27e003-8534-4da9-aaa0-35ca8756ae29\1.2.1\powershell\ps-runner.ps1 : Cannot
##[error]E:\Agent_work_tasks\RunARMTTKTestsXPlat_cb27e003-8534-4da9-aaa0-35ca8756ae29\1.2.1\powershell\ps-runner.ps1 : Cannot
##[error]process argument transformation on parameter 'clientSecret'. Cannot convert value to type System.String.
At line:1 char:265
... ults -skipTests VM Images Should Use Latest Version,Resources Should  ...
CategoryInfo          : InvalidData: (:) [ps-runner.ps1], ParameterBindingArgumentTransformationException
FullyQualifiedErrorId : ParameterArgumentTransformationError,ps-runner.ps1

Analysis
Experimentation of running the ps-runner.ps1 from the command prompt on a self hosted build agent showed that the solution was to enclose the skip test list for the inner PowerShell running in quotes.
powershell\ps-runner.ps1 -templateLocation E:\Agent\_work\17\s\BicepTemplates\ARMoutputs\*.json -resultLocation E:\Agent\_work\17\s\results -skipTests 'VM Images Should Use Latest Version,Resources Should Have Location,Location Should Not Be Hardcoded,Template Should Not Contain Blanks,DeploymentTemplate Must Not Contain Hardcoded Uri,Outputs Must Not Contain Secrets,URIs Should Be Properly Constructed' -cliOutputResults -recurse

Once this was done ARM TTK ran as expected.
Have I missed something related to parameter passing, am I passing in the list incorrectly?
I will link a PR with this change to this issue on the assumption this fix is valid. I have assumed the same fix is needed for the includeTests parameter

Hi Richard, I can't see anything you've done wrong here, looks like it is a bug. Thanks very much for the PR, will get that merged now.

@sam-cogan I can see that the #28 has been merged and there is a new release 1.2.2 in GitHub, but the new release is not showing in the Azure DevOps Marketplace.
When I check using the REST API, in a browser I issue https://[dev.azure.com//_apis/distributedtask/tasks/cb27e003-8534-4da9-aaa0-35ca8756ae29 it is still showing the 1.2.1 as being the only version of the task available to my organisation.

Just wondering if a publish step has failed for the extension?

Hi Richard, sorry that was my fault, I haven't automated the bumping of the version in the task.json, so it didn't pickup the change. This should be sorted now.

I can confirm it is working now - my pipelines are failing with out of date Azure resources just like I expected
Thanks

Ok, looks like there is some sort of inconsistency here. @rfennell  is your build agent Windows or Linux? I'm wondering if that is part of the problem, given Rob is using Linux

My agent is running Windows, so I suspect it is a differing requirement for PowerShell core parameter passing. I will do some testing

Ok, in the short term, I've  reverted the changer, so if you switch to latest, or use 1.2.3 then it should be back to the way it was, whilst I find time to investigate the actual problem,
@rfennell it would be interesting to know if you see the original issue when using the usePSCore flag? If it works fine then it may be only a PS 3/4 issue.

Most of our agents are on prem running Windows, but I have just swapped on of my builds that uses this task to run in ubuntu-latest, and it has run without error
        - task: RunARMTTKTestsXPlat@1
          displayName: "Run ARM TTK tests on built ARM"
          inputs:
            templatelocation: '$(Build.SourcesDirectory)/BicepTemplates/ARMoutputs/*.json'
            resultLocation: '$(System.DefaultWorkingDirectory)/results'
            skipTests: VM Images Should Use Latest Version,Resources Should Have Location,Location Should Not Be Hardcoded,Template Should Not Contain Blanks,DeploymentTemplate Must Not Contain Hardcoded Uri,Outputs Must Not Contain Secrets, URIs Should Be Properly Constructed
            cliOutputResults: true

Returns
2024-01-15T17:15:24.1748025Z ##[debug]Evaluating condition for step: 'Run ARM TTK tests on built ARM'
2024-01-15T17:15:24.1748628Z ##[debug]Evaluating: SucceededNode()
2024-01-15T17:15:24.1748836Z ##[debug]Evaluating SucceededNode:
2024-01-15T17:15:24.1749164Z ##[debug]=> True
2024-01-15T17:15:24.1749364Z ##[debug]Result: True
2024-01-15T17:15:24.1749598Z ##[section]Starting: Run ARM TTK tests on built ARM
2024-01-15T17:15:24.1753155Z ==============================================================================
2024-01-15T17:15:24.1753265Z Task         : Run Azure RM TTK Tests (Cross Platform)
2024-01-15T17:15:24.1753340Z Description  : Run Azure Resource Manager Template Test Kit Tests against ARM & Bicep Templates
2024-01-15T17:15:24.1753462Z Version      : 1.2.2
2024-01-15T17:15:24.1753515Z Author       : Sam Cogan
2024-01-15T17:15:24.1753570Z Help         : [More Information](https://github.com/sam-cogan/arm-ttk-extension/blob/master/README.md)
2024-01-15T17:15:24.1753684Z ==============================================================================
2024-01-15T17:15:24.2500193Z ##[debug]Using node path: /home/vsts/agents/3.232.1/externals/node10/bin/node
2024-01-15T17:15:24.5024864Z ##[debug]agent.TempDirectory=/home/vsts/work/_temp
2024-01-15T17:15:24.5051108Z ##[debug]loading inputs and endpoints
2024-01-15T17:15:24.5068985Z ##[debug]loading INPUT_TEMPLATELOCATION
2024-01-15T17:15:24.5087331Z ##[debug]loading INPUT_RECURSE
2024-01-15T17:15:24.5092480Z ##[debug]loading INPUT_RESULTLOCATION
2024-01-15T17:15:24.5096773Z ##[debug]loading INPUT_SKIPTESTS
2024-01-15T17:15:24.5100810Z ##[debug]loading INPUT_ALLTEMPLATESMAIN
2024-01-15T17:15:24.5104701Z ##[debug]loading INPUT_CLIOUTPUTRESULTS
2024-01-15T17:15:24.5108534Z ##[debug]loading INPUT_IGNOREEXITCODE
2024-01-15T17:15:24.5112383Z ##[debug]loading INPUT_USEPSCORE
2024-01-15T17:15:24.5116175Z ##[debug]loading INPUT_USEAZBICEP
2024-01-15T17:15:24.5120342Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2024-01-15T17:15:24.5124651Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2024-01-15T17:15:24.5128963Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2024-01-15T17:15:24.5137162Z ##[debug]loading SECRET_SNIPEITMYSQLPASSWORD
2024-01-15T17:15:24.5141361Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2024-01-15T17:15:24.5145499Z ##[debug]loaded 14
2024-01-15T17:15:24.5153763Z ##[debug]Agent.ProxyUrl=undefined
2024-01-15T17:15:24.5157681Z ##[debug]Agent.CAInfo=undefined
2024-01-15T17:15:24.5160681Z ##[debug]Agent.ClientCert=undefined
2024-01-15T17:15:24.5163774Z ##[debug]Agent.SkipCertValidation=undefined
2024-01-15T17:15:24.5181105Z ##[debug]templateLocation=/home/vsts/work/1/s/BicepTemplates/ARMoutputs/*.json
2024-01-15T17:15:24.5185420Z ##[debug]resultLocation=/home/vsts/work/1/s/results
2024-01-15T17:15:24.5188413Z ##[debug]includeTests=undefined
2024-01-15T17:15:24.5192362Z ##[debug]skipTests=VM Images Should Use Latest Version,Resources Should Have Location,Location Should Not Be Hardcoded,Template Should Not Contain Blanks,DeploymentTemplate Must Not Contain Hardcoded Uri,Outputs Must Not Contain Secrets, URIs Should Be Properly Constructed
2024-01-15T17:15:24.5195535Z ##[debug]mainTemplates=undefined
2024-01-15T17:15:24.5198803Z ##[debug]allTemplatesAreMain=undefined
2024-01-15T17:15:24.5205418Z ##[debug]cliOutputResults=true
2024-01-15T17:15:24.5209313Z ##[debug]ignoreExitCode=false
2024-01-15T17:15:24.5213024Z ##[debug]recurse=true
2024-01-15T17:15:24.5215931Z ##[debug]azureServiceConnection=undefined
2024-01-15T17:15:24.5219534Z ##[debug]useAzBicep=false
2024-01-15T17:15:24.5222428Z ##[debug]System.Debug=True
2024-01-15T17:15:24.5225208Z ##[debug]AGENT.OS=Linux
2024-01-15T17:15:24.5228464Z ##[debug]AGENT.OS=Linux
2024-01-15T17:15:24.5235641Z Using executable 'pwsh' as only only option on 'Linux'
2024-01-15T17:15:24.5241348Z pwsh /home/vsts/work/_tasks/RunARMTTKTestsXPlat_cb27e003-8534-4da9-aaa0-35ca8756ae29/1.2.2\powershell\ps-runner.ps1 -templateLocation /home/vsts/work/1/s/BicepTemplates/ARMoutputs/*.json -resultLocation /home/vsts/work/1/s/results -skipTests 'VM Images Should Use Latest Version,Resources Should Have Location,Location Should Not Be Hardcoded,Template Should Not Contain Blanks,DeploymentTemplate Must Not Contain Hardcoded Uri,Outputs Must Not Contain Secrets, URIs Should Be Properly Constructed' -cliOutputResults -recurse
2024-01-15T17:15:26.9363400Z A newer version of the ARM-TTK is available at: https://github.com/Azure/arm-ttk/releases
2024-01-15T17:15:26.9363964Z
2024-01-15T17:15:26.9364645Z Installed Version: 0.23
2024-01-15T17:15:26.9364759Z
2024-01-15T17:15:26.9364873Z Latest Version: 0.24
2024-01-15T17:15:26.9364976Z
2024-01-15T17:15:28.6344047Z ##[debug]Agent running environment resource - Disk: available:31256.00MB out of 85160.00MB, Memory: used 25MB out of 6921MB, CPU: usage 31.71
2024-01-15T17:15:29.2744063Z ##[section] /home/vsts/work/1/s/BicepTemplates/ARMoutputs/CoreDeployment.json passed all tests
2024-01-15T17:15:29.2744638Z
2024-01-15T17:15:29.3608747Z Script finished
2024-01-15T17:15:29.3638763Z ##[section]Finishing: Run ARM TTK tests on built ARM

I got the same results when

I put quotes around the skiptest YAML
Passed the list of skip test in as a variable from a variable group

@rob-hendrickx-c4t what does your Azure DevOps log show for the generated ps-runner.ps1 command line?

In our case it shows the following on version 1.2.2 (which doesn't work as expected for us)
pwsh /home/vsts/work/_tasks/RunARMTTKTestsXPlat_cb27e003-8534-4da9-aaa0-35ca8756ae29/1.2.2\powershell\ps-runner.ps1 -templateLocation /home/vsts/work/1/s/Subscription -resultLocation /home/vsts/work/1/s/results -skipTests 'Template-Should-Not-Contain-Blanks,apiVersions-Should-Be-Recent' -mainTemplates Main.bicep -cliOutputResults -recurse

and this on version 1.2.1 (which works as expected)
pwsh /home/vsts/work/_tasks/RunARMTTKTestsXPlat_cb27e003-8534-4da9-aaa0-35ca8756ae29/1.2.1\powershell\ps-runner.ps1 -templateLocation /home/vsts/work/1/s/Subscription -resultLocation /home/vsts/work/1/s/results -skipTests Template-Should-Not-Contain-Blanks,apiVersions-Should-Be-Recent -mainTemplates Main.bicep -cliOutputResults -recurse

@sam-cogan interestingly with the reverted 1.2.3 when using usePSCore=true I don't see the problem.
So for me that is a good enough fix i.e use PWSH to execute ARM TTK

Ok, that's great to hear. I will look into why older PowerShell has issues, but it's a lower priority now you've got a solution.


electrum: check in db if rescan required

This Michael's last commit from #1285.

Looks like this fixed test_reorg_status_recovery in CI.

ACK 32fa86d663f008ca6083dcd0f964cc04297816ab

Does this fix #1270?


Add sorting on summary page based on a different value

Currently, the summary page data gets sorted based on the tag name. Adding another key press to sort by a different value can be helpful

Added on pr #18

Added on #22


Update to latest branch

Hello! This crate is awesome. I'm using it for implementing a tool for myself https://github.com/carrascomj/bevy_svg_map/tree/bevy-lyon.
As of now, in order to be compatible with bevy's master, I had to change two lines to make it work. Are you interseted in having the master branch up to date with bevy's HEAD? If so, I can just submit the PR. Some may prefer to just wait for the next version of bevy anyways.

Hello, thanks for using this crate. Yes, it is a good idea for the master branch of this crate to follow the development of the master branch of Bevy. You could also change the cargo.toml dependency to point to the Bevy repository instead.
Then, when a new Bevy version gets released, I can make a branch, tweak the necessary things and publish on crates.io. Seems good enough.

Cool! I have submitted the PR pointing to bevy's master. I think that strategy seems very sensible for bevy plugins, I will try to make the same for mine.

Nice to hear that 😊
Merged.


Worked on Local host but not working on github pages .

Used scannerapp html5-scanner , easy version that worked on local host by using flag on chrome but not working on GitHub pages (https is enforced by default by GitHub pages).

The problem is with GitHub pages as by default it ignores node_module folder due to jekyli. fixed using adding .nojekyll file as it disables jekyli and make node_module accessible by GitHub pages .

The problem is with GitHub pages as by default it ignores node_module folder due to jekyli. fixed using adding .nojekyll file as it disables jekyli and make node_module accessible by GitHub pages .


Cluster registration only works for first cluster

Describe the bug
Using the cluster registration endpoint, e.g.,
curl -X 'POST' 'http://cns-manager-IP/1.0.0/registercluster?csiDriverSecretName=vsphere-config-secret&csiDriverSecretNamespace=vmware-system-csi' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'clusterKubeConfigFile=@mykubeconfig' -u "user:pass"

only the first cluster works. When trying to add a second cluster with a different kubeconfig (generated with get-kubeconfig.sh with a different name then the first config), you'll get an error:

{"message":"failed to register the cluster.","error":"Secret "sv-kubeconfig" is invalid: data[]: Invalid value: "": a valid config key must consist of alphanumeric characters, '-', '_' or '.' (e.g. 'key.name',  or 'KEY_NAME',  or 'key-name', regex used for validation is '[-._a-zA-Z0-9]+')"}

When using the exact same kubeconfig and put it directly to the K8s secret in cns-manager namespace (e.g., k -n cns-manager edit secrets sv-kubeconfig), everything works and all clusters are listed as registered via listRegisteredClusters endpoint.
Reproduction steps

Register first cluster via registercluster endpoint
Try to register second cluster via registercluster endpoint

Expected behavior
Cluster registration should work for more than one K8s cluster. In addition, the get-kubeconfig.sh script might should have a parameter for the cluster name and context cluster, since it has to be unique.
Additional context
No response

@owwweiha @rwlib3 I tried to reproduce the issue but I couldn't. Just to mention, I used different input kubeconfig files with get-kubeconfig.sh.
Can you list the exact steps to reproduce the issue? Did you use 2 different files as an input to get-kubeconfig.sh in each invocation, or did you use the same input kubeconfig with multiple server and contexts defined?

This seems to work now, at least the issue no longer appears.


cssnano or css-what vulnerabilities when installing tailwindcss

Tested multiple times on Windows 10, also tried with @latest and same result.
To reproduce:
npm init svelte@next project-name
cd project-name
npm install
npx svelte-add tailwindcss
npm install

npm audit output:
css-what  <5.0.1
Severity: high
Denial of Service - https://npmjs.com/advisories/1754
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/css-what
  css-select  <=3.1.2
  Depends on vulnerable versions of css-what
  node_modules/css-select
    svgo  >=1.0.0
    Depends on vulnerable versions of css-select
    node_modules/svgo
      postcss-svgo  >=4.0.0-nightly.2020.1.9
      Depends on vulnerable versions of svgo
      node_modules/postcss-svgo
        cssnano-preset-default  *
        Depends on vulnerable versions of postcss-svgo
        node_modules/cssnano-preset-default
          cssnano  >=4.0.0-nightly.2020.1.9
          Depends on vulnerable versions of cssnano-preset-default
          node_modules/cssnano

Thanks for the report! This is only solvable by https://github.com/svg/svgo/issues/1488.
Be aware there is no real security vulnerability here because this library cannot be interfaced with by anyone but the developers of your Svelte project.

Okay, I can close my eyes when I hit NPM install for now. Following the linked issue, thank you.


Green view Spa Kolkata Esplaned.<PHONE_NUMBER>1

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Contact no<PHONE_NUMBER>1, Green view message Parlour  &amp spa Centres  in kolkata, offers one of the most divine, tranquil Ayurvedic treatment experiences available.  A spa is a location where mineral-rich spring water is used to give medicinal baths. Our Spa offer various health treatments, which are also known as balneo therapy. The belief in the curative powers of mineral waters goes back to prehistoric times. Such practices have been popular worldwide, but are especially widespread in kolkata, West bengal, India. Details: http://greenviewmassageparlour.com

What part(s) of the article would you like to see updated?
[Green view body massage parlour in kolkata full body massage is a dry massage usually uses no oil (Applying of Oil for Thai Body Massage can be made upon request). The therapist may use his/her hands, arms, elbows, knees or feet during the session to move your body into yoga-type stretching positions. Oil Body Massage recipient changes into loose, comfortable clothes and lies on a mat or firm mattress on the floor. It can be done solo or in a group of a dozen or so patients in the same large room. The receiver may be positioned in a variety of yoga-like positions during the course of the massage, but deep static and rhythmic pressures form the core of the massage]( http://greenviewmassageparlour.com

)
Additional information
[We’re very pleased to welcome you to green view  Spa & Massage Services centre, one of our well-known massage temples in Kolkata. Your valuable time is made even more special through our meticulously tailored service that enfolds enjoyment and sheer happiness from all kinds of body stress, tiredness and aches by getting comfort body massages by beautiful lady from Our Massage Parlour. We offer the best body massages services to our clients at cheapest rate. The massages are done by soft and beautiful trained free mind females who understands the need of yours and gives the full relaxation and satisfaction to you.]( http://greenviewmassageparlour.com

)

“Green view” Having promised myself a day of pampering I was delighted to come across The Secret Retreat Green view massage parlour. I had an amazing hot stone full body massage (2hrs!!), facial, pedicure and manicure. A lovely light lunch was arranged for me ensuring my day was as relaxed as possible. The treatments, professionalism, friendliness and venue were all absolutely spot on!! Will be going back very soon and would definitely recommend it


Create deadlock.java

Though this could have many answers, my version is; first I would look at the code if I see a nested synchronized block or calling one synchronized method from other, or trying to get a lock on a different object then there is a good chance of deadlock if a developer is not very careful.
Another way is to find it when you actually get dead-locked while running the application, try to take a thread dump, in Linux you can do this by the command "kill -3", this will print status of all threads in an application log file, and you can see which thread is locked on which object.
You can analyze that thread dump with using tools like fastthread.io which allows you to upload your thread dump and analyze it.

Thanks @Ridetotheroots


fixes bug 1276244 - Webcamera recording in Chrome

Coverage remained the same at 84.839% when pulling 0c69b2501ff53c645e4cecc42082ee6af399a100 on peterbe:bug-1276244-webcamera-recording-in-chrome into 75c7194490adf3b93dfb64ef26025da9a8e30b90 on mozilla:master.


Virtual lane lines and maps

Hello, Mr. Wang. I'd like to ask if the opendrive format is used when generating the virtual lane line file TXT? When I read many articles, I introduced that the high-precision map of Apollo was changed in the format of opendrive. Does the high-precision map refer to virtual lane lines, traffic lights, pedestrian crossings and so on? Or is it a three-dimensional environment generated by lidar records?

I think the format of opendrive is different from that of virtual lane line

I think you need to learn these 2 formats first, I'm not quite sure what your problem is
if your question is "if apollo hd-map different from opendrive".
Yes, there're quit different, the overall implementation is different, but the elements represented are consistent

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Not compatible with the version of your running IDE (IntelliJ IDEA 2022.2)

Not compatible with the version of your running IDE (IntelliJ IDEA 2022.2)
Please Update Compose Multiplatform IDE Support plugin to be compatible with the latest version on IntelliJ

It is fixed some time ago (we released <IP_ADDRESS> version). To prevent such situations in the future, we increased until version significantly here and plan to run compatibility checks for the latest IDEA on CI.

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


Implement single-pass instanced stereo rendering

It can improve performance for GPU-intensive scenes or effects. However, this is probably not the current priority until the CPU bottleneck can be addressed.
A good intro to the different stereo rendering strategies:
https://blog.unity.com/technology/how-to-maximize-ar-and-vr-performance-with-advanced-stereo-rendering
And a video to see it more visually:
https://youtu.be/datOOos-944?t=157
The best method for performance is Stereo Instancing using an texture arrays with one slice per eye, with a single instanced draw call to draw in both eyes. The GPU instancing hardware support optimizes the GPU cost.
When VPAndRTArrayIndexFromAnyShaderFeedingRasterizer extension is available (Win10, modern gfx drivers), it's possible to use the eye index directly in the vertex shader to apply the right view and projection matrices, so the implementation is very simple.
If that is not supported, there are 2 alternatives using double-wide rendering:
Using GPU instancing and dynamic clipping, as proposed here:
https://docs.google.com/presentation/d/19x9XDjUvkW_9gsfsMQzt3hZbRNziVsoCEHOn4AercAc/htmlpresent
Duplicate the draw calls per object, one for each eye, but doing one single pass through the geometry, which is what Unity uses. There is an overhead of changing the Viewport once every 2 draw calls (left,right,right,left,left,right...).
The main benefit of this technique in the current state of XWA is to reduce the number of draw calls.
I believe most people that can play in VR should have a modern GPU and I believe the effects don't currently work in Win7, so probably we should try to implement Stereo Instancing with texture arrays.
An example app on how this is implemented in DirectX:
https://docs.microsoft.com/en-us/windows/mixed-reality/develop/native/rendering-in-directx#render-to-each-camera
With the code:
https://github.com/microsoft/Windows-classic-samples/tree/27ffb0811ca761741502feaefdb591aebf592193/Samples/BasicHologram/cppwinrt/Content
A more modern example, but using OpenXR:
https://github.com/microsoft/OpenXR-MixedReality/blob/main/samples/BasicXrApp/CubeGraphics.cpp#L220
This is quite beyond my 3D graphics actual implementation skills, but I hope you have enough info @Prof-Butts.
Don't hesitate to ping me to discuss!

@Prof-Butts I updated the description with a lot more info.
Also, I was thinking that the old strategy of doing the full scene rendering at the end of the frame does not make sense now that the 3D transformations are hooked.
The scene graph traversing is done by XWA, and it will call ddraw to render each object. In fact the "full multipass" (full left eye, then full right eye) will actually be more complicated. The natural way is to implement either single pass stereo with instancing/arrays or double-wide at each draw call for each object.

WIP branch
https://github.com/morallo/xwa_ddraw_d3d11/tree/instanced_stereo

First half-working implementation 71f5d5cfbe9669655af6e9076da3268a37b8a548
Pending fixes:

[ ] Backdrop rendering in right eye
[ ] Brackets rendering in right eye
[ ] HUD background rendering
[ ] Target CMD
[ ] Engine glow rendering in Tech Room
[ ] Engine glow visible through ships

Hi @Prof-Butts, I tested again and it seems with the latest changes MSAA is working fine.
Also, I verified that the engine glow misalignment and the stretching in the Tech Room is also happening in the current non-instanced version. It is probably due to the D3dRendererHook changes.
So, this could be merged after some testing on your side.

Closed in #87


[front] - feature(front): toggle navigation bar

Description
This PR aims at displaying a button hide/show the navigation bar on laptop: https://github.com/dust-tt/dust/issues/4988#issuecomment-2122616292

Risk
Breaking UI
Deploy Plan
Deploy front

@Duncid @flvndvd feel like this isn't the right way to achieve it. Do you have any recommendation?

@Duncid @flvndvd feel like this isn't the right way to achieve it. Do you have any recommendation?

Let's spend 1 hour pair coding on it tomorrow (friday) afternoon @JulesBelveze?

Closing it due to recent refactoring.

New one https://github.com/dust-tt/dust/pull/5764


SURVIVOR merge

Hi fritzsedlazeck,
I am trying to merge vcf files allocated in the same folder with only vcf files.
The code used is:
/home/silviav/SURVIVOR/Debug/SURVIVOR merge /hosts/linuxhome/chaperone/silviav/reads/YPS128/SRA/McClintock/sacCer2/SRR4074383.1_paired_R1/results/VCF 500 2 1 0 0 20 SV_all.vcf
and the stdout message is:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

The parameter represented for Disabled I didn't know what to introduce so I just basically assigned it to a 0.
Hope you could help me find the problem.
Thank you for your time.

Dear @Caro-Ca
SURVIVOR requires a file that includes the paths and names to the vcf files.
https://github.com/fritzsedlazeck/SURVIVOR/wiki#consensus-calling-or-comparing-svs-across-samples
Yeah the disabled was a relict but I didn't want to change the interface as I know people have integrated SURVIVOR in their pipelines.
Cheers
Fritz


Obtain data from ONS API

OBR model uses CDID codes as identifiers in the model spec
These CDID codes can be used to query the ONS API
I have some code to do this from a previous project so can start collecting series gathered from the ons_identifiers.txt file

This is what I've used before in case helpful (though undoubtedly not the best way and specific to monthly frequency data):

def get_ons_series(dataset, code):
    url = f"https://api.ons.gov.uk/timeseries/{code}/dataset/{dataset}/data"
    # Get the data from the ONS API:
    json_data = requests.get(url).json()
    title = json_data["description"]["title"]
    df = (
        pd.DataFrame(pd.json_normalize(json_data["months"]))
        .assign(
            date=lambda x: pd.to_datetime(x["date"]),
            value=lambda x: pd.to_numeric(x["value"]),
        )
        .set_index("date")
    )
    df["title"] = title
    return df

Have tested grab_ons_data.py and it works really well.
The OBR model only produces results on a quarterly basis (results are then aggregated to calendar and financial years). So I think we want to change the control flow at the end so it always picks up the quarterly only when both monthly and quarterly data are available.
e.g. for CPI (dataset MM23, cdid D7BT) there is quarterly and monthly data.
Will make a suggested change in this branch


[LIQUIDITY ROUND] Automated StableCoin Limit Order Bot for TokenSoft

As a user, I want an automatic LimitOrder bot to keep opening up potential stablecoin trading opportunities if prices of stablecoin fall below are certain amount so that I am able to possibly take advantage of price dislocations
Acceptance Criteria

Stablecoin LimitOrder bot design with automated open/close with frequency

Closed as delivered.


Add a C++ function to compute intersections, along with a couple of tests.

The intersection function is defined in src/cpp/find_intersections_linestring.cpp:
std::vector<linestr> findIntersectionsLineString(Feature feature, Ascii raster)

where linestr is an alias for a linestring type equivalent to std::vector<geometry::Vec2<double>>.
The first argument is a Feature object (defined in gofeatures.h). In practice this is just use as a container for a linestring object (attribute geometry), e.g. a road. We could probably get rid of the Feature class in the future.
The second argument is ascii raster data.
This functions returns a vector of linestrings, resulting from the decomposition of the Feature object's geometry attribute into pieces bounded within one and only one cell of the raster.  In terms of algorithm and performance, it's likely already good enough.  There is probably room for improvement in terms of structure and readability:

I tried to extract some of the logic into function split_linestr, but it might be clear who does what.
In general I'm not sure about the naming conventions (what is a linestring, what is a "split").
A few comments are inherited from the original code and are certainly irrelevant.

A couple of tests for findIntersectionsLineString are defined in tests/cpp/tests.cpp.  These rely on the Catch2 library.  It looks like Catch2 allows for fancy structuring of the tests, but at the same time it was very easy to get something simple running.  I suggest you have a look at the tutorial to learn the basics. Currently the tests I implemented do not use more advanced functionalities of Catch2.
I chose to include Catch2 as a submodule inside tests/lib, and you should probably run
git submodule update --init

after pulling this branch. Happy to discuss this choice.
The first test case tests the case where a Line2 object (the straight line between two consecutive points in a linestring) crosses not more than one boundary.  In the second test I test that the decomposition still works in the case where a Line2 crosses more than one (in this case 2) boundaries.
The two cases could probably share most of their code. It could also be a single parametrized test. I'm not familiar enough with Catch2 yet to have a clear idea of what's possible.
Both tests read some fake raster data located in tests/test_data/.
Compilation
Building the tests is managed by CMake.  The build process is defined in CMakeLists.txt in the top-level directory. From that directory:
cmake -Bbuild .
cmake --build build/

This results in an executable tests_intersections  in directory build.  You can run the tests with:
./build/tests_intersections

Hopefully everything is green.
Other notes (mostly for reference)

I changed the extension of header files to .hpp instead of .h.  It turns out that features.h is something that already exists in the standard library.  This is not a problem if header files sit next to the cpp file, but in the general case where the location of header files is specified at compile time, this leads to a nasty conflict.
Slight modification of utils.h(pp). Functions mifExists and readLine were not declared as inline.  This is fine when compiling a single cpp file, but not when compiling several (e.g. the intersection function and the test runner).  This is because the header files are included for each cpp files and therefore the linker complains that it finds several definitions of the same function.  Using inline alters the linkage behavior.

The second issue made me question the relevance of using a header-only library.  I'm not sure we really benefit from the advantages, (the main one being simplicity of compilation?) because our cpp codebase is still very small.  Not urgent at all, but maybe something to keep in mind.

This closes #2


[Request] Toggle to display % difference instead of raw numbers when comparing old vs new build

Instead of this

this would be easier to grasp the magnitude of at a glance:

Especially when weighing tradeoffs, it would make it easier to compare the effect of different builds across different stats.

The big problem with showing change as a percentage is that a smaller percentage of a big number is going to be a greater value than a bigger percentage of a small number.
In the example above you specifically need to know the actual numerical value to make the decision if +800 healing is worth the loss of 7500 dmg. Showing a % can cause some very poor conclusions to be drawn.
You also have to consider how to show numbers that are already in percentanges.
For example a current build that has 150% CritD, and new build has 180% CritD.
Do you show that as 150% +30% (as we currently do, and as the game does)
Or 150% +20%? How confusing is that?


Add rmdir', rm, rm'

Description of the change
Add options to rmdir', rm, rm'
https://nodejs.org/api/fs.html#fspromisesrmpath-options
Changes:

Update rmdir' to take options arg
Added rm and rm'  version with and witout options arg

Checklist:

[ ] Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
[ ] Linked any existing issues or proposals that this pull request should close
[ ] Updated or added relevant documentation
[ ] Added a test for the contribution (if applicable)

I've added here, do you want me to update CHANGELOG.md?

Added to changelog.


Add URL SHRINKER APP Under GSSOC`22

I want to add a Url shrinker app

It Converts long URLs into Short
It saves the URL's into the database
it remembers the no of times the Short URL was clicked.

I want my url shrinker project to be the part of this project, that's why i added this issue. Please assign it to me under GSSOC`22.

I want to work on this under GSSOC2022. Here is my discord profile DHANANJOY DEY | Contributor#7903

@sceary-expert I am already working on this issue.

Any updates?? should i assign someone else or close this issue

Yes, it's almost complete, I will make PR by Today.

Yes, it's almost complete, I will make PR by Today.

okay

@NOiR-07 the project is in Javascript and Node.js will it be ok?

@Astrodevil pls confirm

and i have deployed it already and can create a html page in this project, that redirects to that deployed link.

@NOiR-07 any updates?


Add new test cases for multiubuntu

Codecov Report

Merging #406 (c2f32aa) into master (964699c) will increase coverage by 0.88%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #406      +/-   ##
==========================================
+ Coverage   36.92%   37.81%   +0.88%
==========================================
  Files          21       21
  Lines        9148     9148
==========================================
+ Hits         3378     3459      +81
+ Misses       5394     5310      -84
- Partials      376      379       +3

Impacted Files
Coverage Δ

KubeArmor/monitor/systemMonitor.go
33.33% <0.00%> (+0.40%)
:arrow_up:

KubeArmor/feeder/policyMatcher.go
36.01% <0.00%> (+1.34%)
:arrow_up:

KubeArmor/enforcer/appArmorProfile.go
31.31% <0.00%> (+4.90%)
:arrow_up:

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 964699c...c2f32aa. Read the comment docs.


Updates to Config utils to compare slices and adding tags to networking config structs

This PR contains changes from @edhemphill to implement support in Config Utils to detect delta in  golang "slices" and corresponding tests. In addition I have changes to add tags to networking config structs and additions to configUtils to split the CallChanges into Diff and CallChanges. All the tests are passing with these changes and should be ok to merge.

Making a note. @SenRamakri found a bug and is in the middle of fixing.

Making a note. @SenRamakri found a bug and is in the middle of fixing.

@cmor - I have added my new changes. Please review and merge.


css: Fix list spacing

Our html lists have looked bad for a really long time. They use the
theme's default 16px found which is bigger than our paragraph body font
making lists look pretty awkward.
Signed-off-by: Andy Doan<EMAIL_ADDRESS>

Docs for a863b2951153338ca6458d4fa25c57c596bd7c7c are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1401/docs/artifacts/html/index.html

@kprosise - another approach would be not screwing with the default fonts at all. That's a bigger visual change, so I decided to make the smallest change possible.


[WIP] Add Henna Theme

This is my first attempt at converting a theme, and I echo the comments by @JordanFaust here about this not being a 100% 1 to 1 match to the vscode original.

fixes: #426
Base theme used: doom-one

Todo

[ ] 256/16 bit color support

I only tested in a couple modes, here is a checklist..

[x] elisp-mode
[x] python-mode
[x] web-mode
[x] typescript-mode
[x] css/scss mode
[ ] cpp (not something I program in) (@Marcos-H needs verification perhaps)
[x] org-mode
[x] markdown-mode
[x] rainbow delimters
[x] js2-mode (WIP)
[x] mu4e
[x] pass
[x] magit
[x] treemacs
[x] undo-tree-visualizer

screenshots below showcases some of the areas I focused on.
general

magit

python-mode

web-mode

cpp-mode

org

which-key

search

splash

Looking great! I've been a little bit absent due to the corona-situation but as soon as I'm able to I'll review this.

Reviewing. Looks pretty awesome so far. Soon I'll do some color probing to verify that the palette is the correct one using VS Code version as reference.

Everything is spot on except for a couple of tiny details (which are practically unnoticeable). The fg color should be #f8f8f0, not #f8f8f8, the bg-alt color should be #181a1f not #1b1f23, and the region color should be #2e4a54, not #2b4c57. All these colors were probed side by side against the VS Code version. Also the previously mentioned issue (the magenta and violet colors) which are important for icons and other little details. Lastly, remap the orange to red instead of the green-alt! This theme is really well done, thanks for your work! I'll move on to Gruvbox light. Do these changes as soon as you're able to please.

Outstanding job!


Nit-picking project description

"A supper simple ecommerce system built on .NET Core"
Should say "super" instead of "supper".

My bad. It should be ok now.
Thanks


Unstyled Link on Admin Dashboard

Description
I discovered an unstyled link on the Admin Dashboard of my Gitea instance.
It is found under the Applications tab, when you're editing an OAuth2 application.
Screenshots

Gitea Version
v1.20.0+rc0-154-gd44a415bf
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
linux 5.19.0-1026-gcp
Browser Version
Microsoft Edge v114.0.1823.51 (Official build) (64-bit)

It's a button, but I do agree we need to highlight it better, likely with an actual border.


Server setup via command-line arguments or environment arguments

:squid:

Looks good. I will look closer in next few hours.

Great. Thanks for fixes.


Appservice HttpEventSubscription does not set runtime

Using a HttpEventSubscription to create an AZ function and have it deployed in an ASEv2.
All the resource get deployed fine but the AZ portal shows the Azure Functions Runtime is unreachable. Error.
The reason for this is because when deploying a HttpEventSubscription it should have the configuration value of FUNCTIONS_WORKER_RUNTIME set to one of the valid options.
Setting this value in the config resolve the Azure Functions Runtime is unreachable. Error.

Seems that including the follow will make the function work
    appSettings: {
      FUNCTIONS_WORKER_RUNTIME: "node",
    },

It looks like Azure Functions switched from runtime to FUNCTIONS_WORKER_RUNTIME at some point and we missed that. We should set FUNCTIONS_WORKER_RUNTIME, basically always.

@ValkyrieUK so I am working on a fix for this right now - where in the console do  you see "Azure Functions Runtime is unreachable"?

Hey @stack72,
It's worth noting that Azure has updated the front end on the portal for functions so the location may have changed.
I was able to see the warning just by clicking into the function on the portal. After a moment or two the warning would pop up with a link to common fixes.


Running Apache Spark- java.lang.OutOfMemoryError

Hi, I am trying to run Apache Spark in the notebook as follow:
load.jar("/Users/babak/App/spark-1.3.1/assembly/target/scala-2.10/spark-assembly-1.3.1-hadoop2.4.0.jar")
import org.apache.spark.SparkContext
import org.apache.spark.SparkConf
val conf = new SparkConf().setMaster("spark://smaster:7077").setAppName("test_jupyter")
val sc = new SparkContext(conf)
After the running the last line I see the following error in terminal:
2015-10-06 13:01:57.877 java[52661:3205521] Unable to load realm info from SCDynamicStore
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sparkDriver-akka.actor.default-dispatcher-3"
I should say I am able to use spark from spark-shell (spark-shell --master spark://smaster:7077). So there is no problem with the Spark Cluster.

Ok, I found the solution in the one of the issue posted before:
If I add the following line to the kernel.json it solve the memory issue:
"env" : {"JVM_OPT": "-Xmx3g -XX MaxPermSize=128m"}.
However, now I get new error:
when I do this
val k = sc.parallelize(1 to 9)
val l = k.collect
when I run the line with collect it freezes. When I look at the workers' log, I see such an error:
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException

That's the right way of increasing memory.
About spark, you should follow this example. Directly creating a SparkContext like you did should not work, it requires some setup that the library ammonite-spark from the example does.

@babak12  I ran into the same issue, but I am wondering where can I find the kernel.json?
I found there that https://github.com/hohonuuli/sparknotebook
SBT_OPTS=-Xmx2048m ipython notebook --profile "Scala 2.11"
But I do not know where to add the line.
Thanks for the help!

For (possibly my own) further reference, the kernel.json file was located in .local/share/jupyter/kernels.
(Running stock CentOS Linux release 7.4)

The develop branch, soon to be the default, delegates almost all its spark stuff to ammonite-spark. Ask there for help once the README of the develop branch gets updated.


Added Token Authentication to AWX requests

Added the option to use AWX token authentication. Primarily, created an interface (Authentication) that allows a type to add its authentication headers and implemented that interface for both BasicAuth and TokenAuth.
Fixes: #8

Hello @jtcarnes , thank you for your contribution!


Feature request: clear log periodically

Currently logs can only be cleared manually. Typically logs have settings to limit the time log entries are kept. I'd like the option to set an expiration date for log entries, like 2 months. After that log entries are removed (by job or another method).

This seems like a reasonable request to me. I could see us automatically clearing based on some different criteria: Days since logged and/or maximum records, and log level to purge, we could make these configurable.
Call it something like "Remove old logs" and set it up to remove any log older than 28 days?

This makes sense to me – we have some other serious logging requirements that we need to address, and it might make sense for us to take a holistic look at the system. Please see https://github.com/concrete5/concrete5/issues/7137 for some of what we're thinking about.

Has automatically clearing logs been added? I haven't seen it thus far. And #7137 is closed now.


Enable compiler optimization

Abandoning based on Trail of bits recommendation
"In light of the compiler audit released last fall as well as some recent high-severity bugs related to optimization issues, we currently caution against compiling with optimizations enabled unless the risk of potential latent optimizer bugs is carefully weighed against the gas savings optimizations would provide."


Pre-Release Prep For Staging/Dev branch

Update to x64 program files install location
Increment release versions on BoincStake.dll (in case stray testing dlls are behind)
Remove any usage of anycpu for releases
Still to do:
remove any cpu and x86 entries and remove un used portions of projects from nn project
This is setup for pre release with extra files removed and install location being correct.

apply this to staging only. i got the nn clean up and these commits included that i'll be applying in a PR for dev. makes things cleaner.
Removed all but boincstake and installer projects.
removed all GRCSec and MySQL dependency as well

Missed this for <IP_ADDRESS>.


Updating hex text input to work with or without a hashtag

UAT feedback "Missing # in color code will not work"
The color picker is built using a 3rd party plugin, unfortunately that plugin does not support hex values that don't include a starting # so I had to update their code to make it work.
There are multiple places in the code that ensure the hex value contains a starting #, so rather than trying to update them all to work with & without a # I am simply ensuring that all hex values start with a # before doing any processing.
I have submitted a bug report and a pull request to the original package, but it doesn't look like there have been any changes since the master branch was created so I'm not very hopeful that they will pull it in.
So I'm thinking to switch mcms to use our [fixed] forked version, but could be easily convinced that we should just change to a different 3rd party color picker instead.
Fwiw, this plugin was selected by Kristine because it looked and behaved how she wanted. I'm sure we can find another plugin that is pretty similar and doesn't have this # issue, but there would probably be a bit more testing involved in switching plugins.

If this works, it's my opinion that we should move forward with our own forked version, since it works. It's less work, and whatever problems there are, we already know about them.