Add TLS support for RabbitMQ connection

Purpose
Allow TLS enabled connections in RabbitMQ connector.
Samples
rabbitmq:Connection connection = new
({      host: "localhost",
        port: 5671,
        secureSocket: {
            trustStore: {
                path: "/path/truststore.p12",
                password: "ballerina"
            },
            keyStore: {
                path: "/path/client_key.p12",
                password: "ballerina"
            }
        }
});

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[x] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #16272 into jballerina will decrease coverage by 3.46%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             jballerina   #16272      +/-   ##
================================================
- Coverage         15.44%   11.98%   -3.47%
+ Complexity         3564     2755     -809
================================================
  Files              1468     1496      +28
  Lines             71518    72150     +632
  Branches           8584     8631      +47
================================================
- Hits              11049     8644    -2405
- Misses            59466    62696    +3230
+ Partials           1003      810     -193

Impacted Files
Coverage Δ
Complexity Δ

...rver/completions/util/CursorPositionResolvers.java
0% <0%> (-100%)
0% <0%> (-7%)

...sorters/ActionAndFieldAccessContextItemSorter.java
0% <0%> (-100%)
0% <0%> (-6%)

...er/completions/util/sorters/DefaultItemSorter.java
0% <0%> (-100%)
0% <0%> (-2%)

...server/completions/util/filters/SymbolFilters.java
0% <0%> (-100%)
0% <0%> (-7%)

...ngserver/completions/util/sorters/ItemSorters.java
0% <0%> (-100%)
0% <0%> (-8%)

...rg/ballerinalang/langserver/index/dao/DAOType.java
0% <0%> (-100%)
0% <0%> (-1%)

...tions/util/sorters/CallableUnitBodyItemSorter.java
0% <0%> (-100%)
0% <0%> (-2%)

...completions/util/filters/AbstractSymbolFilter.java
0% <0%> (-100%)
0% <0%> (-1%)

...ng/resolvers/InvocationParameterScopeResolver.java
0% <0%> (-100%)
0% <0%> (-2%)

...g/ballerinalang/langserver/AnnotationNodeKind.java
0% <0%> (-100%)
0% <0%> (-1%)

... and 141 more

Continue to review full report at Codecov.

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


Are samples using conversation-transcription-service available on Github?

I have verified how to use the speech transcription service, but I do not understand how to implement it.
Do you have a simple sample program?
I would like to create an app like the MS-Build demo that took place in May.
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-conversation-transcription-service

Thanks for the comments, currently there is sample under Speech Devices SDK:
https://github.com/Azure-Samples/Cognitive-Services-Speech-Devices-SDK/blob/master/Samples/Android/Speech Devices SDK Starter App/example/app/src/main/java/com/microsoft/coginitiveservices/speech/samples/sdsdkstarterapp/conversation.java
Let us know if you need more information to use Speech Devices SDK sample or some other details which you need in order to implement the functionality you need.

Thank you for your reply.
I am implementing Speech-to-Text function using Speech SDK (JavaScript) to build Web application now.
And  I would like to Add　Build a mechanism to determine who spoke at a web conference.
Can I implement conversation-transcription with Speech SDK (JavaScript)?

The JavaScript client doens't have the transcription recognizer implemented. We do have plans to add it.

Thank you for answering.
I am looking forward.


YARN-11120-Metrics for Federation getClusterMetrics

YARN-11120-Metrics for Federation getClusterMetrics
Description of PR
Recently, I studied and researched Yarn's federation-related functions. I found that many methods have not been implemented. I chose the getClusterMetrics method, but found that this method has been merged into Trunk.
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
7m  5s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3.3 Compile Tests _

+1 :green_heart:
mvninstall
35m 43s

branch-3.3.3 passed

+1 :green_heart:
compile
0m 46s

branch-3.3.3 passed

+1 :green_heart:
checkstyle
0m 47s

branch-3.3.3 passed

+1 :green_heart:
mvnsite
0m 40s

branch-3.3.3 passed

+1 :green_heart:
javadoc
0m 47s

branch-3.3.3 passed

+1 :green_heart:
spotbugs
1m 22s

branch-3.3.3 passed

+1 :green_heart:
shadedclient
26m 35s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 34s

the patch passed

+1 :green_heart:
compile
0m 26s

the patch passed

+1 :green_heart:
javac
0m 26s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 22s

the patch passed

+1 :green_heart:
mvnsite
0m 32s

the patch passed

+1 :green_heart:
javadoc
0m 26s

the patch passed

+1 :green_heart:
spotbugs
0m 57s

the patch passed

+1 :green_heart:
shadedclient
23m 45s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
2m  7s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-router.txt
hadoop-yarn-server-router in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

104m 26s

Reason
Tests

Failed junit tests
hadoop.yarn.server.router.clientrm.TestFederationClientInterceptor

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4249/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4249

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 5edc023ddad0 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3.3 / 669dfe53672b690c640989801b5038a3d3f901d9

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4249/1/testReport/

Max. process+thread count
919 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4249/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Standalone: support for PKCE

see https://tools.ietf.org/html/rfc7636

Checking the current implementation, one could argue that "it works" in the sense that the server currently ignores any PKCE challenge and verifier codes. If at any point it becomes critical that an authorization request is actually rejected for an invalid verifier code, please write a comment here, otherwise this will not be implemented for now.


implement more categorized retry options

along side with #4756,
From @amaltaro  suggestion
could we change the following line so make more categorized policy
config.ErrorHandler.maxRetries = 3
to a better retry policy, like
config.ErrorHandler.maxRetries = {'default' : 3, 'Harvesting' : 2, 'Merge' : 4, 'LogCollect' : 1, 'Cleanup' : 2}

This is in place for quite some time now :-) @ticoann please close it.


Write test for every stage of leaderLoop

Ensure that every step doesn't touch unrelated steps and that it can set the appropriate state as expected.

[ ] Waiting for actions
[ ] Batch selection
[ ] Chain builder
[ ] SignatureWait
[ ] Submission

left for possible future development, see #47


Best way to access filteredColumns.

Hi, I'm trying to access filtered columns.
I noticed that you have a setColumns(), but not a getColumns().
The underlying problem I'm trying to solve is to save filtering settings for next time the user visits the site. Event-handling might be a better way to archive this?

Hi there and sorry about the delay in response on this! We have released Griddle 1.0 which should address this issue. You can connect to Griddle's state to get this information.
I'm going to close this one for now but please feel free to open a new issue if any problems are encountered.


Bottom Bar Complete Style Change Customization

Feature Request
I would like to change the whole bottom bar's style change. If this would be optional, it will be great. Actually I just want to change some border radius and the colors and maybe add a shadow. Is that possible to let us change the style?
(I tried to add border radius via 'style' prop but bottom side there is a white background all the time)
Maybe it is because of the Navigation part but I could not fix it. Maybe you can guide me
Why it is needed
More customization possibilities.
Code sample
    <AnimatedTabBar preset="flashy" tabs={tabs} iconSize={25} style={{borderRadius:16, backgroundColor:"#059505,  ...shadowStyles}} {...props} />

hi @WrathChaos, i will look in to it this weekend :)

hi @WrathChaos , i have looked at this issue and it is doable, but here are things to take in consideration:
React Navigation is setting the bottom tab bar position as a relative to insure that it will push the content height based on its height, so if we set it to absolute where we will have our tab bar float, the height of the screen content will take over the whole device screen height, so you will need to handle setting your custom tab bar height as bottom padding on every screen :(
However, i notice that i hard setting safeAreaInsets, which i will update this to inherent it from React Navigation to allow you to control it

^ this is a screen without the bottom bar height added as bottom padding

^ i got this working , tomorrow i'll prepare a new release :)

You're awesome man :D Thank you so much, waiting for the new release. Also, this looks great :D Please share this as an example.

@WrathChaos this been released with v1.5.1 🎉

Thank you so much @gorhom,
Can you please tell me what are you using for generated releases? These tags look great :)

@gorhom Still waiting for your help :)

hi @WrathChaos, seems to me you did note override the safeAreaInsets
https://github.com/gorhom/react-native-animated-tabbar/blob/a48e3b8e6fd55e2968556814c9d10a9b25b9a2bb/example/src/screens/FlashyStyled.tsx#L84-L120

 const { bottom } = useSafeArea();
  const screenPaddingBottom = React.useMemo(() => {
    // icon size + margin padding + outer space + inner space + screen bottom padding
    return 20 + bottom + 12 * 2 + 12 * 2 + 12;
  }, [bottom]);

  const tabBarOptions = React.useMemo(
    () => ({
      safeAreaInsets: {
        bottom: 0,
      },
      style: {
        position: "absolute",
        left: 0,
        right: 0,
        bottom: 0,
        borderRadius: 16,
        marginLeft: 32,
        marginRight: 32,
        marginBottom: bottom,
        backgroundColor: "#000",
        shadowColor: "#000",
        shadowOffset: {
          width: 0,
          height: 12,
        },
        shadowOpacity: 0.58,
        shadowRadius: 16.0,
        elevation: 24,
      },
    }),
    [bottom]
  );

  return (
    <Tab.Navigator
      tabBarOptions={tabBarOptions}
      tabBar={(props) => (
        <AnimatedTabBar
          preset="flashy"
          tabs={tabs}
          iconSize={20}
          itemOuterSpace={0}
          itemInnerSpace={20}
          {...props}
        />
      )}
    >
      <Tab.Screen
        name="Shop"
        component={ShopScreen}
        initialParams={{
          paddingBottom: screenPaddingBottom,
        }}
      />
      <Tab.Screen
        name="Search"
        component={SearchScreen}
        initialParams={{
          paddingBottom: screenPaddingBottom,
        }}
      />
      <Tab.Screen
        name="Upcoming"
        component={UpcomingScreen}
        initialParams={{
          paddingBottom: screenPaddingBottom,
        }}
      />
      <Tab.Screen
        name="MyLove"
        component={MyLove}
        initialParams={{
          paddingBottom: screenPaddingBottom * 100,
        }}
      />
    </Tab.Navigator>
  );

@gorhom Do you think what is it wrong? I could not find what I am doing it wrong.

i am testing your code locally and it works fine, make sure to install the latest version v1.5.1

@gorhom Thank you so much for helping me :) I sometimes hate React Native. It simply did not update the library :S
Now TabBar looks lovely! Thank you so much again :)


Tensorflow gpu vs cpu problem

I am using Tenosrflow 1.0.1. I can run my program tensorflow installed on CPU, but when I run it on different computer tensorflow installed GPU, it says out of memory. What is the problem with the GPU Tensorflow.
What is the reason I can run it on CPU but not on GPU? To run it on GUP I have to decrease the batch size and the image size of my data set. Why has the GPU tensorflow become very poor?
The error message for GPU Tensorflow is :
`2017-05-04 14:24:03.511879: W c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\framework\op_kernel.cc:1152] Resource exhausted: OOM when allocating tensor with shape[1,6000,6000,64]
Traceback (most recent call last):
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1039, in _do_call
return fn(*args)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1021, in _run_fn
status, run_metadata)
File "C:\Users\admin\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[1,6000,6000,64]
[[Node: inference/Conv2D = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](sub, inference/conv1_1_w/read)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "FCN.py", line 225, in
tf.app.run()
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "FCN.py", line 196, in main
sess.run(train_op, feed_dict=feed_dict)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 778, in run
run_metadata_ptr)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 982, in _run
feed_dict_string, options, run_metadata)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1032, in _do_run
target_list, options, run_metadata)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1052, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[1,6000,6000,64]
[[Node: inference/Conv2D = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](sub, inference/conv1_1_w/read)]]
Caused by op 'inference/Conv2D', defined at:
File "FCN.py", line 225, in
tf.app.run()
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "FCN.py", line 149, in main
pred_annotation, logits = inference(image, keep_probability)
File "FCN.py", line 84, in inference
image_net = vgg_net(weights, processed_image)
File "FCN.py", line 54, in vgg_net
current = utils.conv2d_basic(current, kernels, bias)
File "C:\Users\admin\Documents\gray\TensorflowUtils.py", line 89, in conv2d_basic
conv = tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding="SAME")
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 403, in conv2d
data_format=data_format, name=name)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 768, in apply_op
op_def=op_def)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2336, in create_op
original_op=self._default_original_op, op_def=op_def)
File "C:\Users\admin\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1228, in init
self._traceback = _extract_stack()
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[1,6000,6000,64]
[[Node: inference/Conv2D = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](sub, inference/conv1_1_w/read)]]
`

You don't have enough memory on your GPU to run the model, try reducing batch size or the model size

I know as it is a memory problem but that problem is only when I run it on GPU. But, I can run it on CPU and it takes very long time to finish it. Why did it work on CPU but not on GPU? That is my question.

Because CPU version uses main memory. You have enough main memory but not enough GPU memory. PS, this list is for feature requests/bugs, general questions are better for stackoverflow


Gradle throws ZipException: "zip file is empty", when downloading from Nexus

Current Behavior
After updating from Gradle 8.0.2 to 8.1.1 we noticed that Gradle build started to throw "java.util.zip.ZipException: zip file is empty".
Later we found that the problem was corrupted plugin JAR file (Spring Boot Plugin) in self-hosted Nexus instance - it had 0B filesize. We don't know why it got corrupted but Gradle reported this rather cryptic error message.
Discussion at Gradle Forum: https://discuss.gradle.org/t/zipexception-with-gradle-8-1-1/46610
Expected Behavior
It would be nice if Gradle message show a filename of the wrong JAR file or a bit more information what happened.
Stacktrace output was not very helpful to non Gradle developers.
Context (optional)
No gradle task could be executed (help, clean, anything) because project couldn't be configured without a valid plugin file.
We had to pinpoint the file manually, remove it from Nexus, and let it re-fetch. Also we had to download local cache on all affected computers.
Steps to Reproduce

Somehow upload plugin JAR file to a repository with 0 bytes filesize.
Direct Gradle to download plugin from this repo

Sorry for such a lousy description. We still don't know why this happened.
Gradle version
8.1.1
Gradle version that used to work
8.0.2
Build scan URL (optional)
No response
Your Environment (optional)
OS: Linux, Ubuntu 22.04
Gradle: 8.1.1
Java: 17
DSL used: Kotlin
Repository: Nexus

Sorry that you're having trouble with Gradle!
We appreciate the effort that went into filing this issue, but we must ask for more information.
As stated in our issue template, a minimal reproducible example is a must for us to be able to track down and fix your problem efficiently. Our available resources are severely limited, and we must be sure we are looking at the exact problem you are facing.
If we have a reproducer, we may be able also to suggest workarounds or ways to avoid the problem.
The ideal way to provide a reproducer is to leverage our reproducer template. You can also use Gradle Project Replicator to reproduce the structure of your project.
This issue will be closed after 7 days unless you provide more information.

In order to create a reproducer, you could leverage a file based repository, as documented here.

Then feel free to ignore this issue. I don't have resources to host a Nexus instance for this to reproduce the problem :)
I can only attach the stacktrace that I posted to Gradle Forum post. Sorry for inconvenience.

@rcrlik there is absolutely no need to host anything, you can just use a simple folder on your local machine as a Maven repository. Just use a file URL to configure your maven block, like this:
repositories {
   maven {
       url = uri("file://D:/path/to/local/directory")
   }
}

@jbartok Sorry, it took me a while.
I tried your suggestion with the local directory and I cannot reproduce the original problem. I tried Gradle 8.1.1 and 8.3 and I received a nicer message.
When the POM file is empty, it fails with a message like this:
[Fatal Error] annotations-13.0.pom:1:44: Content is not allowed in prolog.

And when the JAR file is empty, it also gives me a nicer message:
ZipException opening "annotations-13.0.jar": zip END header not found

So in both cases it printed at least the name of the corrupted file. So debugging is easier.
I am not sure if there is a difference when the file is downloaded from the remote maven repo and if you want to keep this bug ticket for such a corner case. Because we found that are original issue was a bug in Nexus server after all.
Thank you for all previous help!

I faced with the same issue and I believe gradle also should fix this
The problem happens when we try to sync and while it gradle download some new dependencies. But if we're not connected to our company VPN we cannot get access to files cached in our Nexus. But Nexus still respond to request but with HTML content which gradle perceives as a normal response and saves it as, for example, a jar file. So maybe there is any way to handle it on gradle side?


No objects exist that enable a player to move up or down within structures

Suggestions in order of increasing durability:

Ladder (branches + vines)
Simple to obtain, but wears down over time
Wooden ramp (boards)
More difficult to obtain (board would required fallen tree & saw to create)
Still wears down over time
Stairs (boards + saw)
More durable than a ramp or ladder, but slightly more difficult to obtain than a ramp as it requires more boards
Stairs (stone)
They don't wear, but require a fair amount of stone

Closing as per #216.


Add option to hide plots & tables

The user can decide to hide certain plots or tables if they don't want to see them, see example:

All plots/tables are still visible as a default

the failing test will be fixed by PR #116

LGTM! This does not provide the option to not render the plots, right, just hide them?

yes exactly


Update refs-and-the-dom.md

Clearer explanation on refs callbacks firing, see #12183
Thank you for the PR! Contributors like you keep React awesome!
Please see the Contribution Guide for guidelines:
https://github.com/reactjs/reactjs.org/blob/master/CONTRIBUTING.md
If your PR references an existing issue, please add the issue number below:
#12183

Thanks for your work. It seems like github didn't properly reference the underlying issue which is why we missed this PR. #1069 already applied the same change.


onClusterPress arguments have changed

It seems that what was passed to onClusterPress has recently changed.
We used to receive an object containing latitude and longitude (cf. 1st image), while we now receive an event (cf. 2nd image).
Is that an undocumented update ?

Ye, sorry for that. I changed structure of whole project.
I reduced whole source code by 50%.
Before module was to complicated and had to many features.
Average user was using like 2,3 out of 10 features, but other features were there so it was bad for performance.
Right now module is reduced to basic features, but code style and structure gives more flexibility to developers.
My goal is to create module that everyone can modify to own needs.
You can still use old version of this module, but if you want some feature in new module, you have to develop them by yourself.
Of course if you don't know how to do it, let me know I will help :)

How to get coordinates and markers from the event?

Event do not contain any information about markers. You have to code them by yourself.

@venits Which version of the module can I use to get the latitude and longitude object?

@uptophnarita try version 1.2.6

@venits Thank you for the fast responses!

Hello @venits
I am using version 1.2.6 but i am not getting lat and long.
please tell me how to get the lat and long?


Error processing parquet file: invalid compression method: ZSTD

Thanks for reporting an issue!
Steps to reproduce
When I try to open a valid parquet file (pandas can open it):
        console.log('opening')
		const reader = await parquet.ParquetReader.openFile(values["input-file"]);
        console.log('reading')
		const cursor = reader.getCursor();
        console.log('cursor')

		let record = null;
		let count = 0;
        console.log('looping')
		while ((record = await cursor.next())) {
			console.log(record);
			count++;
		}

I get the error:
Error processing parquet file: invalid compression method: ZSTD

Package version: 1.8.5
I will try to give a sample parquet file to aid in debugging.

@vedantroy Currently we do not have support for zstd compression. Open to PRs for it.
Duplicate of https://github.com/LibertyDSNP/parquetjs/issues/77


Libgdx Tutorials

Hello rafaskb, I have a quick question add tutorial video about Libgdx if that ok with you?
Attached is my channel's playlist of all the active videos for beginners to understand through helpful videos.

Sounds good to me! The only thing is that the link should be added in the Tutorials -> Getting Started section, possibly as the third entry, below "Tann's Hello libGDX".
Once that change is made I'll merge it 😁


'Enable at startup' should start the app in the system tray

'Enable at startup' opens up the whole app on every boot. It becomes quite annoying to close it every time. Instead, it would be nice if it always starts in the system tray on every boot.

Duplicate of #169

#55 #169


proof read documentation

Is your feature request related to a problem? Please describe.
review documentation, make sure it's current, accurate, and uses correct English

I'd be happy to proofread the documentation if it's still needed.

@LadySqrrl  Thank you for willing to collaborate. @riven314 has already started with this task, but we can discuss your assistance on other tasks that may be helpful for first-time users.  You can directly chat w/ me here and we'll figure this out?


Configs as .yaml or .toml files?

I think it will more be pretty than current option

May be in single .env which will be provided from docker-compose.yml


types.JsonText extraneous whitespace in database.

I can submit a pull-request for this type that uses json.Compact to remove any whitespace in the implementation of the Value() function.
However, I could understand if you would rather have users opt-in to this behaviour and do it themselves.
Let me know.
Thanks for the great library!

Though I think they are useful, sqlx/types are sort of half demonstrative as well.  I think this can be achieved pretty elegantly with embedding by any people who might want to do so:
type CompactJson struct {
        types.JsonText
}

func (c CompactJson) Value() (driver.Value, error) {
        v, err := c.j.Value()
        if err != nil {
                return v, err
        }
        var buf bytes.Buffer
        err = json.Compact(&buf, v)
        return buf.Bytes(), err
}


How to simulate breath in DS emulator?

RGB10 - Can you tell if there is a way to simulate the microphone of the DS they want to play Lost in Blue 1. But the game asks to blow the fire and because of that I can't play. I would like to know if Drastic can simulate the breath!

Check the settings in the drastic menu to see if a button can be assigned to emulate sound to a mic.  If not, then most likely it can not be done on with the drastic emulator available for this platform.


Fixing escape for null sequence in postgres COPY FROM

copy_from (and as such the whole CopyTable class in postgres) doesn't work because \N isn't recognized as null sequence. Adding a second backslash fixes this.
It should be possible to choose an own null-sequence anyway when using CopyTable..

Thanks for you PR. We are happy to merge this once you've added a test case. :)
Also, it would be nice to associate your email with your GitHub account.

By the way, since we're kind of copying code with the null character like that. Would it be better to extract it out to a member like default_null_value?

I would just test, that the default argument is \N. How would you test this fix? The default_null_value is better I think as well because we are using \N twice..

I don't understand this change (I don't know postgres). But I would say that your test should be alike the program that made you discover this bug.

The problem is, that Postgres detects the error: luigi and psycopg2 generate a Query for postgres which is sent to the server and the server complains about it, so it's hard to test it like this.
In fact one could mock the psycopg2 function that is called and check if it is called with the correct escape sequence. Is this appropriate for this bug?

I don't understand why you can't check it against postgres without mocking. There already are tests running against a postgres instance. Like tox -e py27-postgres. See these resources:
https://github.com/spotify/luigi/blob/06f177b83d92653a76fa822b64bee96c6b54f25a/tox.ini#L2
https://github.com/spotify/luigi/blob/06f177b83d92653a76fa822b64bee96c6b54f25a/.travis.yml#L46

Hey,
thanks for hint!
Arash Rouhani<EMAIL_ADDRESS>schrieb am Di., 15. Sep. 2015 um
08:51 Uhr:

I don't understand why you can't check it against postgres without
mocking. There already are tests running against a postgres instance. Like tox
-e py27-postgres. See these resources:
https://github.com/spotify/luigi/blob/06f177b83d92653a76fa822b64bee96c6b54f25a/tox.ini#L2
https://github.com/spotify/luigi/blob/06f177b83d92653a76fa822b64bee96c6b54f25a/.travis.yml#L46
—
Reply to this email directly or view it on GitHub
https://github.com/spotify/luigi/pull/1211#issuecomment-140243228.

ok, now the new(/modified) test passes with the fix and fails without the fix.

now the new(/modified) test passes with the fix and fails without the fix.

Perfect, that's exactly what I wanted! :)
Thanks for this PR. But can you please just squash these 3 commits into one to keep the history clean?

Done :)

Nice!


Return document import from WhitehallImporter::Sync

We expect this class to return a document import so that in the Whitehall
Document Import Job we can check that if its Whitehall Migration has finished.

@emmabeynon can you explain a bit more why this is needed. I'm a bit confused because the variable we're returning is the same one used as input, so I'm not sure why a caller would need to assign to the output?

@kevindew Sure, I found that without returning the document import from Sync, when we call document_import.whitehall_migration we get #<NoMethodError: undefined method whitehall_migration' for true:TrueClass>`.  This error was caught by the job, but had the unfortunate side effect of the wrong state being assigned (because here), so ended up being a bit of wild goose chase figuring out where things went wrong!

@kevindew Sure, I found that without returning the document import from Sync, when we call document_import.whitehall_migration we get #<NoMethodError: undefined method whitehall_migration' for true:TrueClass>`. This error was caught by the job, but had the unfortunate side effect of the wrong state being assigned (because here), so ended up being a bit of wild goose chase figuring out where things went wrong!

Ah ha Gotcha! Sure can see why this makes sense.
I'd suggest though that we actually resolve this nicer by removing code. Looking at: https://github.com/alphagov/content-publisher/blob/98b5b056019e8ca12f8e6c56929bc0df5447e30a/app/jobs/whitehall_document_import_job.rb#L14-L15
we don't actually need to be doing the document_import assigns and can simplify the code without them.
Then once we did that we could remove https://github.com/alphagov/content-publisher/blob/98b5b056019e8ca12f8e6c56929bc0df5447e30a/lib/whitehall_importer/import.rb#L44

@kevindew Makes sense.  I'm closing this in favour of https://github.com/alphagov/content-publisher/pull/1775


Remove zoid component

How do I programmatically remove zoid component

After zoid.create({tag: 'my-component'}), I may want to re-create that component however get the error "Can not register multiple components with the same tag:".
zoid.destroy({tag: 'my-component'}) would be ideal.

Hi, you can do:
const component = ZoidComponent({ ... });

component.render('#container');

component.close();


Update wp-settings-framework.php

Check for variables being set in date & time picker to avoid PHP warnings

Thanks, added manually!


Send watermeter stats daily

Is there an option to import the watermeter stats daily? (On MacOS or with a Synology server?)

Hi @bartrylant,
not yet, but I'd be happy to add it 😉
Could you copy an output of the water meter api in here to help me figure out the data structure?

Sure
{"wifi_ssid":"xxxxx","wifi_strength":98,"total_liter_m3":0.038,"active_liter_lpm":0,"total_liter_offset_m3":0}

The total_liter_m3 is the total, since the meter started. It would also be nice if it would be able to set a "starter" setting for the meter, so I have the correct numbers in energieID. E.g. my meter was at 00331,725 when I installed the homewizard meter. I would like to have this reflected in energieID

Thanks for the clarification
I suppose what you are asking for will be covered by total_liter_offset_m3 in the future, but as their docs mention, this is currently under development and should not be used yet.
I'll give it a try

:tada: This issue has been resolved in version 1.3.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@bartrylant Could you try to run the following cmd?
This is just a dry run to check the reading...
npx --yes<EMAIL_ADDRESS>--meter <watermeter id> --energyid <webhook url> -o 331.725 --dry-run
If you want to try and send a first record to energyid, just run the same script without the last argument

Hey @bartrylant thanks for the feedback.
The feature is now released in version 1.3.2
If you want a to make sure the script does the update every day, you can run it in recurrent mode with the -r option:
npx --yes hw2energyid@latest --meter <watermeter id> --energyid <webhook url> -o 331.725 -r

Or if you prefer to run it on your Synology, you can also use the docker image as documented in the README
See the following link for a guide to run docker images on Synaology NAS:
https://www.wundertech.net/how-to-use-docker-on-a-synology-nas/


Feature/folder thumbnail utility

Coverage increased (+0.06%) to 39.657% when pulling 99e1e259dc74127ff231149eeff5c31d99ed5dfe on feature/folder-thumbnail-utility into b4bf04eac51f7c1b373e70b41a3febc69e005413 on master.


Fix a bug of beam index.

Fixed calculation of beam indexes. In the old code, the indexes were wrongly shifted by one.

Results of the old code: [0, 0, 1, ..., 358].
Results of the new code: [0, 1, 2, ..., 359].

@hara-y
We had not found this problem. Thanks to you, we can to solve this bug.
Thanks for all your contributions. :)


update document for deploying services

Hello,
landscape Label: both
Sprint Label: SCPTest-2008A
Scenario Label: SCPTest-eboard
Scenario URL: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-2-businessrules.html
Step 3.3: Click Deploy to deploy rule services DetermineEquipmentRuleservice and EquipmentApprovalRuleservice.
the Statement says deploy the two services by clicking on 'deploy' , but we have to do it one-by -one and the next step (select SAP cloud platform) has to be done for both the services.
user may get stuck after clicking on deploy which one to select as he will try to deploy the services first and then look at next step.
Solution: provide better documentation like after clicking on deploy select SAP cloud platform
Thanks,
Shubham

This is understandable in most the cases that you have to select the service, then the system to deploy.
Please close this issue.


Fix markdown preview $$ support

close #31481
currently $$A + B$$ test will ignore text after $$ block
test text

before fix

after fix

github display

I guess we shouldn't introduce too much copy&pasted code ........

I guess we shouldn't introduce too much copy&pasted code ........我想我们不应该引入太多的复制粘贴代码........

Removed some duplicate code.


Mac iSight camera stays active after switching from scanning screen

When selecting the scanning option, the camera stays active when you back to another screen. Most elegant way would be to show an 'activate camera' button on the scanning page, so you can proactively activate the camera AND know that it's active.
Also, a button to inactivate and automatically inactivate the camera when you switch screen (or application) would add to the privacy feel NAV is trying to achieve...

Elegantt data. What's this?

Thanks for the suggestions. This feature has been added by PR #144 and will be released in the near future.


Multiple saving of reconstructions

Check this place in code:
https://github.com/mapillary/OpenSfM/blob/1c7dd29cbc7eace93d38dc26befb51233892bade/opensfm/reconstruction.py#L1105
It looks suspicious that all reconstructions are saved after each new reconstruction is solved. Actually it just rewrites the reconstruction file multiple times. Probably this sorting and saving should be indented left to be out of reconstruction loop. This doesn't have any visible problems, just found confusing place during the code research. So it either should be fixed or some comment added (explaining the reason for such behavior) to avoid confusion.

The reconstructions are saved after each iteration merely so that you can look at them while the rest is being computed. It could be done outside the loop but the cost of it is minimal and is helpful when waiting for large reconstructions to finish. Thanks for looking at it.


Enable GH actions on branch 2.5.x

Kind of change

[ ] Bug fix
[ ] New non-breaking feature
[ ] New breaking feature
[ ] Documentation update
[X] Build improvement

Description
What is the goal of this pull request?
Fix pipelines not running on PR on branch v2.5.x
How does it achieve that?
Pretty obvious fix in the configuration :sweat_smile:
GH reads from the PR file, not the on main branch. I'll reuse the open PR on main to remove 2.5 from that.
Are there any alternative ways to implement this?
No
Are there any implications of this pull request? Anything a user must know?
No
Issue
If this PR fixes an open issue, please add a line of the form:
Fixes #Issue
Release notes
Please add a corresponding entry to the file CHANGELOG.adoc
Not worth mentioning I think.

If no one object, I'd like to merge this to rebase open PRs :roll_eyes:

Thank you so much!
How could I oversee that🤦♂


Make ORTModel PyTorch free

Feature request
Currently, ORTModel has a hard dependency on torch and transformers. Could we make it such that this dependency is soft, and that Optimum + ORTModel can be used without PyTorch? Would this be useful and elegant?
Motivation
One of the reason ONNX Runtime is nice is that it is much lighter than PyTorch. By forcing the dependency on PyTorch, one of the advantages of ONNX Runtime is lost.
One difficulty is that encoder-decoder models use generate() from transformers.
Your contribution
None ATM, just an idea I have in mind, not sure it makes sense to commit to this.

Related issues: https://github.com/huggingface/optimum/issues/524 https://github.com/microsoft/onnxruntime/issues/13808
Looking back, understanding upfront the implications of this design choice would have helped avoid many issues.

It definitely makes sense to commit to this. In our production environment we use transformers + onnx and it's great that transformers do not have hard dependency on torch or tensorflow. And now we want to use optimum and it's a bit frustrating that we need to install heavy torch that is not going to be used at all.

@vgrabovets Thanks for the feedback! Yes, it's very subideal to have this dependency on torch. We would need to make generate() (or part of), or part of it, torch.jit.script-able to get rid of the dependency.
An other option is to use BeamSearch / GreedySearch available in ONNX Runtime. The issue is that they are specific to CPUExecutionProvider and CUDAExecutionProvider, so not very flexible. Reference: https://github.com/huggingface/optimum/issues/558

+1

Hi has there been progress on this? We would like to use this package but the dependency on torch is slowing our startup time  X2 due to long image pull times.
We can't use the library as it is.


fix bug and some improvements

Fix a bug in rank-selection tool, and increase adaptability of codes in utils.py.
The bug comes from code refactoring and does not hurt the experiments result.

Thanks for the contribution, I have added you to https://github.com/dmlc/mxnet/blob/master/CONTRIBUTORS.md
Thanks for making mxnet better and more accessible for more users


Create a staging hub for the UToronto cluster

Description
Once https://github.com/2i2c-org/infrastructure/issues/853 is done, we should deploy a staging hub onto the cluster that we've set up for U. T.
Implementation details

Add hub config to this repo, starting with just the instructions in https://infrastructure.2i2c.org/en/latest/howto/operate/new-hub/index.html#to-add-a-new-hub. The current config is at https://github.com/utoronto-2i2c/jupyterhub-deploy/blob/staging/hub/values.yaml, https://github.com/utoronto-2i2c/jupyterhub-deploy/blob/staging/deployments/utoronto/config/common.yaml and https://github.com/utoronto-2i2c/jupyterhub-deploy/blob/staging/deployments/utoronto/config/prod.yaml. I've looked through it, and here are the specific things we need to actually move - a lot of the config there we already have, and can be ignored.. This should give us a mostly functional staging hub we can test on.
Use AzureAD Authenticator. Copy the secrets from https://github.com/utoronto-2i2c/jupyterhub-deploy/tree/staging/deployments/utoronto/secrets, and the config from https://github.com/utoronto-2i2c/jupyterhub-deploy/blob/26aa3d542bc8bcd4639dad8728484aede946f1ed/hub/values.yaml#L143. We do this already for our GitHub auth for the pangeo hubs. We can take over the staging hub URL to test this, as adding new URLs requires intervention from Toronto IT we would like to avoid.
Set admin users from https://github.com/utoronto-2i2c/jupyterhub-deploy/blob/26aa3d542bc8bcd4639dad8728484aede946f1ed/deployments/utoronto/config/common.yaml#L4 - that's the only list of admin users that actually has any effect

FYI @GeorgianaElena - I factored out the staging hub into a standalone issue, and closed the other issue about deploying the new cluster, since those are discrete steps that we can track. Just letting you know so it's not confusing!

Thanks @choldgraf This will also cleanup the sprint board from scatter PRs :sweat_smile:

Update on this: there is a staging hub running at https://staging.utoronto.2i2c.cloud deployed from the infrastructure repository :tada:
HOWEVER, the login doesn't work quite yet, and still needs investigation. I will reopen this issue, to have a central place for posting updates about this.


patient-ssapp v0.11.3 Sign up/in screen is not validating "password" and "repeat password" fields

Please validate if both passwords are equals.
The same for login screen.

Will be included in release v0.11.6


Move domain layer entities to Framework level

Description
Now we had domain layer as an optional plugin, the Devlake Framework itself acts like a Plugin Manager and Task Manager, and let plugin do basically all the work. This approach provides maximum freedom for plugin development, but also adds burden to plugin developer, and not possible to enforce some standard behaviors onto plugin.
Domain Layer Entities is the contract between data sources and grafana charts, With Domain Layer Entities being compulsory, framework can gain control over the system.
Describe the solution you'd like

Step 1

Move all domain layer entities to devlake framework
All "Data Source" plugin should do the domain layer entities conversion in its Execute method

Step 2

Plugin exposes all its tasks to framework, and remove Execute method
Framework should take care of tasks execution for plugin, task still write database directly at this stage
User can trigger tasks execution on Plugin or Task level with a manually constructed execution plan(2d array tasks)

Step 3: @mindlesscloud  is working on a detailed proposal.

Task may not access domain table directly, more like a set of converter.
Framework control the domain layer conversion, take what plugin produced, verify and update database
Not sure if we can control the collection process yet, it involves some pagination / rate limit issues to be considered.
Task should declare its dependency, and Framework is able to generate a execution plan base on dependency

Additional context
This is the very first step to solve problems like

Filtering tasks by  data source id in a more elegant way
Data Isolation for different team

@hezyin @liangjingyang @mindlesscloud  @joncodo @kevin-kline
This is important, please take a look, feel free to correct me, ask questions, or post your thought, anyone got mentioned here should reply!!!

@klesh
I understand the rationale of having the framework internalize the domain layer entities and step 1 of the solution, but steps 2 and 3 are a bit abstract for me. Below are some questions:

Can you elaborate more on "Plugin exposes all its tasks to the framework, and remove Execute method"? Right now, a task refers to a single invocation of a plugin's Execute method. But it seems like you're referring to something else with the word "task" here. Can you illustrate the new plugin interface you're proposing with the Jira plugin as an example?
If plugins aren't allowed to write directly to the domain layer table, what does a plugin produce, and how does the framework take it from there? What would be the benefit of doing things this way compared to allowing plugins to write directly to the domain layer table?
How does this proposal help resolve the data isolation problem?

Step 2 and 3 were base on the "Framework Do More" approach, the idea is to let Framework do more work and gain more control.

@klesh
I understand the rationale of having the framework internalize the domain layer entities and step 1 of the solution, but steps 2 and 3 are a bit abstract for me. Below are some questions:

Can you elaborate more on "Plugin exposes all its tasks to the framework, and remove Execute method"? Right now, a task refers to a single invocation of a plugin's Execute method. But it seems like you're referring to something else with the word "task" here. Can you illustrate the new plugin interface you're proposing with the Jira plugin as an example?
As I went through all our plugins, the structure of Execute are quite similar, which could be abstracted away from plugin and let framework manage the process, Framework knows how many tasks to run, progress implementation would be more concise.
If plugins aren't allowed to write directly to the domain layer table, what does a plugin produce, and how does the framework take it from there? What would be the benefit of doing things this way compared to allowing plugins to write directly to the domain layer table?
This is a proposal from @mindlesscloud ,  Plugin output a set of domain entities, and framework is responsible for verification and storage. It's like if a plugin implement a IssueConverter, then framework would call this interface, and receive a set of standard Issue , then check it and save it, this way, we can control the locking, data constraint stuff like that on Framework level, Plugin implementation would be simpler, if we went for "Framework Do More" approach, this is one way to go .
How does this proposal help resolve the data isolation problem?
I don't know how should we solve the data isolation problem, because I dont think we have already fully define the isolation problem either. But moving domain entities to framework should be done before we addressing the data isolation problem.

Step 2 and 3 were base on the "Framework Do More" approach, the idea is to let Framework do more work and gain more control.

@klesh
I understand the rationale of having the framework internalize the domain layer entities and step 1 of the solution, but steps 2 and 3 are a bit abstract for me. Below are some questions:

Can you elaborate more on "Plugin exposes all its tasks to the framework, and remove Execute method"? Right now, a task refers to a single invocation of a plugin's Execute method. But it seems like you're referring to something else with the word "task" here. Can you illustrate the new plugin interface you're proposing with the Jira plugin as an example?
If plugins aren't allowed to write directly to the domain layer table, what does a plugin produce, and how does the framework take it from there? What would be the benefit of doing things this way compared to allowing plugins to write directly to the domain layer table?
How does this proposal help resolve the data isolation problem?

As I went through all our plugins, the structure of Execute are quite similar, which could be abstracted away from plugin and let framework manage the process, Framework knows how many tasks to run, progress implementation would be more concise.
This is a proposal from @mindlesscloud ,  Plugin output a set of domain entities, and framework is responsible for verification and storage. It's like if a plugin implement a IssueConverter, then framework would call this interface, and receive a set of standard Issue , then check it and save it, this way, we can control the locking, data constraint stuff like that on Framework level, Plugin implementation would be simpler, if we went for "Framework Do More" approach, this is one way to go .
I don't know how should we solve the data isolation problem, and I dont think we have already fully define the isolation problem either. But moving domain entities to framework should be done before we addressing the data isolation problem, so this is the very first step...


Code Availability

Hi, I am very interested in this work. Is it possible to share the code?

Could I know when the code is available? Thanks


Performance drop when render big images on pane

Describe the Bug
When I try to put a large file on pane, the scroll lose a lot of performance, how can I solve this?
Your Example Website or App
https://userflows.d.visualsitemaps.com/
Steps to Reproduce the Bug or Issue

Upload a large file image
Scroll

Expected behavior
Lose performance
Screenshots or Videos
https://user-images.githubusercontent.com/36650520/163265064-f340f41e-ba71-4cf3-b74c-74ba8cf3134d.mp4
Platform

OS: Linux
Browser: Chrome

Additional context
No response

I have confirmed this on OS Chrome. The zooming in/out becomes very rough and clunky.
Take a look at how smooth it is in this viewer:

Hey @CamboimGabriel
I am not sure what is happening here. But it's not a React Flow issue. When I zoom in and out I can see that the src of the image changes. This shouldn't happen. If you fixed that I would also try to decrease the image size on the client before you add it to the pane.

Thanks @moklick we managed to resolve the performance issue.


Can't pass arguments to a method in the parent context

Having a method in one context like so:
var context = {
  thing: { name: 'A Thing', age: 'timeless' },
  doStuff: function(value) {
    return value
  }
}

This works:
{{doStuff 'happy to do stuff'}}

{{#with thing}}
  Name: {{name}}
  Age: {{age}}
{{/with}}

This doesn't:
{{#with thing}}
  Name: {{name}}
  Age: {{age}}
<EMAIL_ADDRESS>'nah....'}}
{{/with}}

Using @../ instead of @root also doesn't help. The error is:
Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'CLOSE_SEXPR', got 'STRING'

Strangely this works just fine (although it doesn't output anything in this case, as expected):
{{#with thing}}
  Name: {{name}}
  Age: {{age}}
<EMAIL_ADDRESS>{{/with}}

Under 2.0 execution of data fields is not allowed. This has been added as a feature in 3.0 (the current master, too be released soon). In the mean time you should be able to do {{../doStuff}} if the parent context is root.

@kpdecker Can you explain what are "data fields"?

it should be any {{@foo}} like tags , EX: {{@root}} , {{@index}}, {{@key}} , {{@first}} ...

Oh right I see. Thanks for the clarification. I'm glad this issue is fixed in the next version.


Not working 10.0.14393.4169 Windows 10 Enterprise 2016 LTSB x64

I'd tried the updated rdpwrap.ini but it's not working.
I've seen the 10.0.14393.4169 tag, but the multisession doesn't work.

Hi. Please, attach termsrv.dll.zip
I will try to help you

Hi. Please, attach termsrv.dll.zip
I will try to help you

It's going to sound weird, but I can't find the file in the Windows\System32 folder...

It's going to sound weird, but I can't find the file in the Windows\System32 folder...

It's going to sound weird, but I can't find the file in the Windows\System32 folder...

There should be a termsrv.dll
You can compress it to *.zip

It's going to sound weird, but I can't find the file in the Windows\System32 folder...

There should be a termsrv.dll
You can compress it to *.zip

termsrv.zip

termsrv.zip

termsrv.zip

It was difficult, but very interesting!
Thank you!
Try it and let me know if it work for you ;)
https://github.com/sebaxakerhtc/rdpwrap.ini/commit/0e8d08c2f4bae0b3fccddeb955f87a26e1671066

termsrv.zip

It was difficult, but very interesting!
Thank you!
Try it and let me know if it work for you ;)
https://github.com/sebaxakerhtc/rdpwrap.ini/commit/0e8d08c2f4bae0b3fccddeb955f87a26e1671066

termsrv.zip

It was difficult, but very interesting!
Thank you!
Try it and let me know if it work for you ;)
sebaxakerhtc/rdpwrap.ini@0e8d08c

it worked for me on windows home single language .. tks

termsrv.zip

It was difficult, but very interesting!
Thank you!
Try it and let me know if it work for you ;)
sebaxakerhtc/rdpwrap.ini@0e8d08c

it worked for me on windows home single language .. tks

It's still not working...
Here is the termsrv file
termsrv.zip

It's still not working...
Here is the termsrv file
termsrv.zip

I've compared both termsrv file and they're the same. It must be something else i'm not seening...

I've compared both termsrv file and they're the same. It must be something else i'm not seening...

It's still not working...

Are you sure you are using my rdpwrap.ini?
You can try my modded version of rdpwrapper because

it worked for me

I will try to install 2016 LTSB and try it by myself. I hope the values are right

It's still not working...

Are you sure you are using my rdpwrap.ini?
You can try my modded version of rdpwrapper because

it worked for me

I will try to install 2016 LTSB and try it by myself. I hope the values are right

It's still not working...

You doing something wrong.
I installed LTSB, update it to 10.0.14393.4169, installed my RDPWraper MOD and all work fine.

It's still not working...

You doing something wrong.
I installed LTSB, update it to 10.0.14393.4169, installed my RDPWraper MOD and all work fine.

It's puts fully supported, but when you connect it kick the local user out.

It's puts fully supported, but when you connect it kick the local user out.

It's puts fully supported, but when you connect it kick the local user out.

Did you try reboot?

It's puts fully supported, but when you connect it kick the local user out.

Did you try reboot?

I had to reboot because the listener was not working when I stopped the service.

I had to reboot because the listener was not working when I stopped the service.

It's working now!!!! This PC had an outdated versión. I've even installed the autoupdater for the ini file.
Thanks everyone!!!!!

It's working now!!!! This PC had an outdated versión. I've even installed the autoupdater for the ini file.
Thanks everyone!!!!!


Multiples validator only works for Ints

The Multiples(Ints) validator checks if a give value is a multiple of some other value (the divisor).
This validator only works for Ints and there is no reason for this.
A perfectly valid example would be requiring for values to be multiples of 20ns.
The current value would then be valid 40e-9 as this would return 0.0. Currently this will raise an error as 40e-9 (which is a multiple of 20e-9) raises an error as it is not an Int. I propose dropping the constraint of it having to be an Int.

Thats sensible enough but we will nede to be careful about the implementation
as floating point math cannot be assumed to be distributive. For example
In [1]: divisor = (1/3)*1e-10
In [2]: print(((1/3)*1e-9)%divisor)
3.333333333333331e-11

@AdriaanRol I'll put up an extra validator, PermissiveMultiples, for this on Monday.


Hardcoded  Values

https://github.com/harshraj22/Dis-Sim/blob/ba4468ee3ae2badd166869bafe9fd9bea73e9330/test/load_test/locustfile.py#L17
Do not hardcode Port numbers etc. Define them in environment variables inside docker-compose and reference them.

In frontend service as well: https://github.com/harshraj22/Dis-Sim/blob/ffe74db2e92a9034907f16cc1f45868df27c72d9/src/frontend/pages/page_2.py#L4

Prometheus port is also hardcoded and duplicated at many places.  It needs to be centralised and referenced.
https://github.com/harshraj22/Dis-Sim/blob/4fab1285e121deb295172d5d05d97179269a29e9/src/metrics_monitor/datasource.yml#L19

Expiration duration of auth token is hardcoded
https://github.com/harshraj22/Dis-Sim/blob/18d2fb027015fe76b4ca1d6d2dc72c81200e193e/src/auth/auth.py#L22


Can not escape commas in csv-format datasets

I found out that when we try to read a dataset from csv file using comma as values separator there is no chance to escape comma in fields. But I didn't manage to find out how to escape comma when we need it from the documentation.
For example, the string  "apples, carrots, and oranges" will be read as three separate values as well as the string "apples, carrots, and oranges".
So, is there some way to escape comma like it is described here or here?

Escape sequences are not supported by the current release.  This should be easy to add in the next release though. The possible (and fragile) workaround I would suggest is to use a different separator in your input files (e.g. it may be another character different from comma or a sequence of characters).

Thanks for your quick reply

@LiashenkoVitalii A release candidate (1.4.0-RC1) is now available (Maven Central, pre-release at GitHub) where CSV support should now conform to RFC-4180 except for the possibility of having new lines or carriage returns within escaped sequences (e.g. "a,b,c" will be ok but not "a,b<newline>,c"). Please let me know if this is working for you. The 1.4.0 final release should be out soon.

@LiashenkoVitalii A release candidate (1.4.0-RC1) is now available (Maven Central, pre-release at GitHub) where CSV support should now conform to RFC-4180 except for the possibility of having new lines or carriage returns within escaped sequences (e.g. "a,b,c" will be ok but not "a,b<newline>,c"). Please let me know if this is working for you. The 1.4.0 final release should be out soon.

Version 1.4.0 has been released.

Version 1.4.0 has been released.


[Question] Should I use v2 or wait for v3?

Hi.
I'm going to develop a small open source CRUD application, so considering Hono as framework, but I have two questions:

Should I wait for the V3?
If so, when will it be released?

TIA for any information!

Hi @silvioprog ! Thanks for asking.
You don't have to wait for v3! It might be better to start developing your application with v2 right now!
Because v3's API will not be so different, it will be easy to migrate. The biggest thing about this version update is that it will allow for more things to be possible, but the basic features will remain the same.

If so, when will it be released?

Maybe within a month 🙂

Wow, thanks a lot for the information, @yusukebe!
I had a great success testing JWT and Zod validation with Hono, I'm going to use this amazing project!


fix problem onchange text

when use plugins like filepond-plugin-image-overlay or filepond-plugin-get-file, the file name is invalid and instead displays the id, sometimes right.
this is becaus the code node.childNodes[0] always get element 0.

The text function should only be used for one element. This will probably impact render performance. I'd rather we find a different solution.


Error message missing for failed build

Details

Read the Docs project URL: https://topopt.readthedocs.io/en/latest/
Build URL (if applicable): https://readthedocs.org/projects/topopt/builds/8991163/
Read the Docs username (if applicable): AJJLagerweij

Expected Result
Build should be passed to get the proper documentation, at least it did locally.
If any error occurs I would expect an error message.
Actual Result
The build did fail at the Verifying transaction: ...working... step.
No error was shown.

This is probably a time out problem, your conda requirements are a really heavy https://github.com/AJJLagerweij/topopt/blob/master/anaconda/TopOpt_Linux.yml
You can check https://docs.readthedocs.io/en/stable/guides/build-using-too-many-resources.html

Thanks for your help.
In the past I've tried to run it with the pip installer only. But that resulted in other errors.
I had, among others problems with mkl-fft.
I'll try some more, and will create a new issue when I encounter new problems.

I can see that your latest builds are passing and using pip, where you able to solve the problem?

Hello Stsewd,
I've solved the problem for the most part, still it doesn't do exactly what I want.
I made a minimal working environment to be installed with pip.
This solved the time-out problem but brought back another one, that of python 3.7.
My code is (currently) meant for python 3.6 due to dependencies.
It runs in python 3.7 but this is detrimental for the performance (a.o. due to the lack of  mkl-fft in py3.7)
In itself this is not a problem, but I would like to be able to control the python version fur future purposes.
I've tried setting py3.6 in the .readthedocs.yml without using the conda envirioment:
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Optionally set the version of Python and requirements required to build your docs
python:
   version: 3.6
   install:
      - requirements: docs/requirements.txt
      - method: pip
        path: .

But this resulted in another error: ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
(If I'm correct this happened in https://readthedocs.org/projects/topopt/builds/8993164/)

The error is because your project isn't a python instalable package itself, I think you don't need to install your package to build the docs. You can just remove the install.method key, and only leave the requirements key.

I'm not sure if I can say this, but man I love you.
Thanks for helping me out, and I want to thank all of those who created readthedocs, its awsome.


why load workload before run workload?

I found that run directly, not load, can also be normal test.

The "load" is to create data in the database.  The "run" is to execute statements on the data available in the database.
A "load" is insert only.  A "run" may include reads, inserts, and updates depending on the properties of your workload.
Chrisjan

so can I test 100% insert by A “load”  instead of A "run"?

Yes.

The documents suggest to load before workload A, and delete, and load, before workload E
So for every throughput,  say 1000,10000,  then I need to delete and load twice for a single operationcount
Is this the right way to do the test,  Can I load based on the previous dataset
I tried insertstart, but it fails on the read ( the recordcount is bigger than it's operationcount because of insertstart )
Also how to run all workload , against existing data set ? ( say 100 millions already )

The provided workloads are examples of how you can run ycsb.  I would recommend picking the workload or workloads that make sense for you or creating your own workload that makes sense for what you want to test.
The reason the document suggests to delete and load before workload E is because workload E has inserts as part of its test run.  That means that after each test run, the overall size of the database will increase.  For testing purposes, you want to delete and load again so that you start each test run with the same number of records.
I hope this helps.

I understand to keep the number correct when testing,  My colleague says its not real,   our business data set may continually insert into database,  I mean can I do a test, that have 1 millions data set already exists in the database,  and then do that test based upon.
At least for now, I have following issue

it's primary key duplicate, make it insert fail ( when not delete after first run )
only one time test are making sense enough( delete,and load), but iterate many ( 1000 * 10 step, where step is 1000 or bigger ) make this testing very long time

by the way, how to using, the recordcount and operationcount correctly,  currently I just make them the same,  is there a example of doing all the test ( for multiple time iterate ) ?
I wrote ycsb_starter  and ycsb2graph, I'm not sure it's the correct way or not?

I believe there is an option for key start value.  So, then you could run the test multiple times without deleting everything if you update the key insert start value after each run.
Try property 'insertstart'.

I tried insertstart before,  but it then making read-failed, to be sure, I tried again the following

the insertstart is manual select count from the table
load and test just a function, shorthand for ycsb testing, a means workloada, 100 means recordcount and operationcount, except modify by the third argument ( it will use the 100, the second parameter)
I reduce the number to small, for quick result, in real test, I may load 1 millions first, and do the test on it ( no delete )

#test insertstart again to confirm 2016-9-8
load a 100 "-p insertstart=100"
run a 100
# a b c f are okay
#run d 104 failed, duplicate key
run d 100 "-p insertstart=100"	#insert fail, without record count # revised, ok (count=103)
#so it is need to correct with load count?
run d 100 "-p insertstart=103"
#for every workload, run again will be failed
#confirm it, by reload
load a 100 "-p insertstart=208"
run d 100 "-p insertstart=308"
#insert-failed, duplicate key
#it's recordcount not correct?
run d 100 "-p insertstart=308 -p recordcount=408"		#read fail
run d 100 "-p insertstart=313 -p recordcount=413 -p operationcount=100"	#read fail
run d 100 "-p insertstart=319 -p recordcount=100 -p operationcount=419"	#insert fail
run d 100 "-p insertstart=319 -p recordcount=419 -p operationcount=419"	#read fail
load d 100 "-p insertstart=345"	#key duplicate
load a 100 "-p insertstart=408"	#key duplicate
load a 100 "-p insertstart=408 -p recordcount=508"	#key duplicate
load a 100 "-p insertstart=408"	#key duplicate
#it seems old test insert, makes the insert fail
#let's clean up , load again from the beginning
load d 100	#ok
run d 100 "-p insertstart=100"		#ok
load a 100 "-p insertstart=108"	#ok
run d 100 "-p insertstart=208"		#insert fail
run d 100 "-p recordcount=308 -p insertstart=208 -p insertcount=100"	#read fail
#try workloade (early test for the workloade, not continue from above )
run e 100 "-p insertstart=103"	#0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours
run d 100 "-p recordcount=306 -p insertstart=206"		#read fail
here are output log for more detail ( little mess in there )
output_log.txt
some select and delete is enter at other terminal ( not in the log )
For the above test, I'm not found a way to do the test based on existing data-set without fail
What I want to test is no matter how the data set already exists in the table, do test based on it ( so no need to delete before the test )
Let's simplify it as
load a 100
run d 100
load a 200
run d 200
run e 200( auto count)

You need to use the properties a little differently.
insertorder: should records be inserted in order by key (“ordered”), or in hashed order (“hashed”) (default: hashed)
operationcount: number of operations to perform.
recordcount: number of records to load into the database initially (default: 0)
insertstart: starting record number for inserts
You'll want to make sure you are using ordered inserts for both load and run.  For load, insertstart should be unset.  For runs, you can set insertstart to be the recordcount from the load.
So, if you want to start with a hundred records:
load insertorder=ordered, recordcount=100
Then if you want to do multiple runs without delete/re-load you have to increment your insertstart to a number beyond what the number newly inserted records.  For example, if you work load was 95% read and 5% insert, you could try a series of runs like:
run1 insertorder=ordered, operationcount=100, insertstart=110
run2 insertorder=ordered, operationcount=100, insertstart=120
run3 insertorder=ordered, operationcount=100, insertstart=130
I incremented insertstart by 10 instead of 5 (105, 110, 115) to be safe, because the read/write proportion is probability calculation, not an exact one.

insertorder do solve my problems(especially for workloade test without delete first), I have done test this way
load a 100
run a 100
run d 100
load a 100
run e 100 "-p insertorder=ordered -p insertstart=203 -p operationcount=100 -p recordcount=303"
#ok
load a 100 "-p insertstart=206"	#ok, got 306
run e 100 "-p insertorder=ordered -p insertstart=306 -p operationcount=100 -p recordcount=406"
#confirmed, ok
#check arbitrary test ( current count 312 )
run e 100 "-p insertorder=ordered -p insertstart=312 -p operationcount=100 -p recordcount=412"
#ok
the last run, makes me assure that I can do any workloade test now, without delete
Thank you !

The accumulate mentioned above,  for workloadd,  It is not correct, it is no error is because it provided all records count( not the accumulate count )
Say the table has 680 count ( for real test, it maybe 100 millions )
load a 100 "-p insertstart=680"
run d 100 "-p insertstart=780"
#insert fail
run d 100 "-p insertstart=780 -p insertorder=ordered"
#read fail
It only works, when the count is equal to the table's record count ( for load 100, but workloadd need to run for 100 millions count, because there are that much data exists,  How can I just do workloadd test for 100 only? )
I tried using different recordcount and operationcount, it is just doesn't work for workloadd
say current count is 825
run d 100 "-p insertorder=ordered -p insertstart=825 -p operationcount=100 -p recordcount=925"
#read fail
I think workloadd's requestdistribution=latest causes this problem ( either read or insert fail )
How can I have a arbitrary testing for workloadd?

You are using insertorder=ordered for the loads too correct?
I think the last thing you said regarding requestdistribution is correct.  Till now, I thought you were having an issue with inserts.  If you are having a problem with requestdistribution, then the issue is on read.
You are trying to read a record that doesn't exist?  That could be because your recordcount property is too high.  You said the count is 825, but you set recordcount=925.  You've included an extra 100 records for the request distribution that do not exist.  That seems to be the problem.
I'm wondering if you need to set insertstart=826 when there are 825 records.  You'll have to experiment and see.
Chrisjan

You are using insertorder=ordered for the loads too correct?

Have insertorder for loads solved the problem.
load a 100 "-p insertorder=ordered"
load a 100 "-p insertorder=ordered -p insertstart=100"
run d 100 "-p insertorder=ordered -p insertstart=200 -p operationcount=100 -p recordcount=200"
#ok
run d 100 "-p insertorder=ordered -p insertstart=208 -p operationcount=100 -p recordcount=208"
#ok
run d 50 "-p insertorder=ordered -p insertstart=215 -p operationcount=50 -p recordcount=215"
#ok
load a 100 "-p insertorder=ordered -p insertstart=219"
run d 50 "-p insertorder=ordered -p insertstart=319 -p operationcount=50 -p recordcount=319"
#ok
I do workloade test too, it's ok too ( but recordcount = operationcount+insertstart )
Conclusion,  ordered is a must for pre-load concept ( that no need delete first )
After all the combination is little tricky.
Thank you Chrisjan.

I'm wondering if you need to set insertstart=826 when there are 825 records.

It need to plus 1 , so 826 is good, insertstart=( rows count + 1 ), otherwise duplicate key happens
I found the recordcount for workloade cause a problem (while recordcount = operationcount+insertstart )
say currents row count is 10
[root@test ycsb_starter2]# $dosql "select YCSB_KEY from usertable order by YCSB_KEY;"
10 rows
YCSB_KEY
user1
user10
user2
user3
user4
user5
user6
user7
user8
user9
after run workloade
-P ../workloads/workloade -p insertorder=ordered -p insertstart=11 -p recordcount=20 -p operationcount=10 -t
[root@test ycsb_starter2]# $dosql "select YCSB_KEY from usertable order by YCSB_KEY;"
11 rows
YCSB_KEY
user1
user10
user2
user20
user3
user4
user5
user6
user7
user8
user9
It insert user20 to the table, this user20 will later cause duplicate key
load a 20
 -P cockroachDB.properties -s -P ../workloads/workloada -p insertorder=ordered -p insertstart=12 -p operationcount=20 -p recordcount=20 -load
Error in processing insert to table: usertableorg.postgresql.util.PSQLException: ERROR: duplicate key value (YCSB_KEY)=('user20') violates unique constraint "primary"
How to solve this problem, I tried different combination for workloade, only when recordcount = operationcount+insertstart works, it then introduce a extra problem for load
say current row count 200
run e 100 "-p insertorder=ordered -p insertstart=201 -p operationcount=100 -p recordcount=100"
#0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours
run e 100 "-p insertorder=ordered -p insertstart=201 -p operationcount=100 -p recordcount=201"
#0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours
run e 100 "-p insertorder=ordered -p insertstart=201 -p operationcount=100 -p recordcount=301"
#ok
#inserted 5 rows
user301
user302
user303
user304
user305
I think it use recordcount rather than insertstart
Now I can't do arbitrary load, because workloade skipped some key ( make it later duplicate)
How can I fix this problem?

I think we are not using recordcount correctly.  Try recordcount set to the current number of records.  I saw in the above you did the following:
-P ../workloads/workloade -p insertorder=ordered -p insertstart=11 -p recordcount=20 -p operationcount=10 -t
However, there were only 10 records.  So instead, try with recordcount=10.
Chrisjan

recordcount=10, will cause infinit time
[root@test ycsb_starter2]# $dosql "select YCSB_KEY from usertable order by YCSB_KEY;"
user1
user10
user2
user3
user4
user5
user6
user7
user8
user9
[root@test ycsb_starter2]# count
10
[root@test ycsb_starter2]# run e 10
...
-P ../workloads/workloade -p insertorder=ordered -p insertstart=11 -p recordcount=10 -p operationcount=10 -t
YCSB Client 0.10.0
Command line: -db com.yahoo.ycsb.db.JdbcDBClient -P mysql.properties -s -P ../workloads/workloade -p insertorder=ordered -p insertstart=11 -p recordcount=10 -p operationcount=10 -t
Loading workload...
Starting test.
Adding shard node URL: jdbc:mysql://<IP_ADDRESS>:3307/ycsb
2016-09-19 13:01:59:915 0 sec: 0 operations; est completion in 0 seconds
Using shards: 1, batchSize:-1, fetchSize: -1
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
2016-09-19 13:02:09:859 10 sec: 0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours
see more detail in the attachment ( extra test for recordcount=20 )
infinit_time.txt

You may have stumbled on a bug.  I'm sorry I don't have the time to really look at it.  Please submit a new issue to detail this in the simplest terms possible.  I think the basic issue to solve is to load once, and then do multiple runs that involve inserts while adjusting the properties to avoid collisions.
I'm going to close this issue.  Thank you for your time on this.


Refactoring some classes to static property, run [homebrew hsts itunes jenkins jetbrains]

Warnings

:warning:
This PR modified service code for npm but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for nodeping but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for node but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for nexus but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for netlify but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for myget but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for mozilla-observatory but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for microbadger but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for maven-metadata but not its test code. That's okay so long as it's refactoring existing code.

:warning:
This PR modified service code for maven-central but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @jabbar86!

  Generated by :no_entry_sign: dangerJS against 8a76b576ce3d617a9e816b9e195a980cc8801127

hi @jabbar86 thank you for the PR. Could you please rebase your branch on the latest from the Shields master branch? The batch of already-merged commits from other PRs confused me initially as to which services were refactored here

Please also stick to the guidance and request detailed in #5555. The individual changes are simple enough, but the diffs really start to add up especially with service classes that have more examples. Larger PRs are more difficult and time consuming to review, which is why it's easier to review  2 (or 3) smaller PRs vs. 1 giant one

@calebcartwright can you check why the test case is failing in my local env its working fine when in run npm run test

Thank you for trying to get the branches synchronized but there's way too much going on in this PR right now @jabbar86, and it's not merge-able in its current form even if the tests were passing. Would you mind splitting this into at least two separate PRs that are clean/based on the latest, and avoid the package.json and lockfile changes? Let us know if you have any questions

Thank you for trying to get the branches synchronized but there's way too much going on in this PR right now @jabbar86, and it's not merge-able in its current form even if the tests were passing. Would you mind splitting this into at least two separate PRs that are clean/based on the latest, and avoid the package.json and lockfile changes? Let us know if you have any questions


Clean up the epsilon fix

PR Summary
#215 apparently was merged prematurely. I fix the remaining issues lingering from that PR. This needs to be run on Darwin before merge.

PR Checklist

[ ] Adds a test for any bugs fixed. Adds tests for new features.
[x] Format your changes by using the make format command after configuring with cmake.
[x] Document any new features, update documentation for changes made.
[x] Make sure the copyright notice on any files you modified is up to date.
[x] After creating a pull request, note it in the CHANGELOG.md file
[ ] If preparing for a new release, update the version in cmake.

Running the pipeline now on Darwin

I didn't catch this change the first time so assuming the CI passes on Darwin I approve.


Riscof coverage command treats warnings as errors

When running the riscof coverage command, warning are emitted as errors.
> riscof coverage --cgf-file riscv-arch-test/coverage/rvi.cgf --config=config.ini --suite riscv-arch-test/riscv-test-suite/rv32i_m/ --env=riscv-arch-test/riscv-test-suite/env
    INFO | Running Tests on Reference.
   ERROR | /home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S: Assembler messages:
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:37: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:47: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:62: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:137: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:193: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:333: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:343: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:398: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:493: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:608: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:718: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:828: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:933: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1043: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1148: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1253: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1363: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1473: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1583: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1643: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1648: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1653: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1658: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1663: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1668: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1673: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1678: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1683: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1748: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1858: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:1968: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2078: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2188: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2248: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2253: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2253: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2258: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2263: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2268: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2273: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2278: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2283: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2288: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2293: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2298: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2303: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2308: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2363: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2473: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2583: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2693: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2804: Warning: shift count out of range (-1 is not between 0 and 63)
/home/cmitrodimas/repositories/ACT-related/ACTs/riscv-arch-test/riscv-test-suite/rv32i_m/C/src/cadd-01.S:2914: Warning: shift count out of range (-1 is not between 0 and 63)

While on the other side, when running riscof run command, the warning are simply ignored, as they should be, and we are producing a tests report.
This is blocking #321 from producing a coverage report.

These warnings should not be causing any errors while producing the coverage reports. If this is indeed blocking, it is due to an actual error and not the warnings which are being printed.

This is a weird artifact of the tools.
These particular warnings are generated when the instructions are inside a
#if / #endif clause that is not evaluated.
I thought you should only see them in RV64 because I rearranged code to
avoid them in RV32, so I'm a bit surprised here.
I also thought they should only appear if there is some real error, which
enables all warnings - so you might be getting overwhelmed with these false
positives and missing the real error.
On Sun, Apr 9, 2023 at 11:07 PM S Pawan Kumar @.***>
wrote:

These warnings should not be causing any errors while producing the
coverage reports. If this is indeed blocking, it is due to an actual error
and not the warnings which are being printed.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/331#issuecomment-1501436964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJXVQHIINNCBF5APOHLXAOPQVANCNFSM6AAAAAAWWL6BB4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This is a weird artifact of the tools. These particular warnings are generated when the instructions are inside a #if / #endif clause that is not evaluated. I thought you should only see them in RV64 because I rearranged code to avoid them in RV32, so I'm a bit surprised here. I also thought they should only appear if there is some real error, which enables all warnings - so you might be getting overwhelmed with these false positives and missing the real error.

Exactly, it turned out that the real error was down below, making me unsure whether the warnings treated as errors or the python errors below it.
Since it's still unclear what the issue is to me, I'm pasting this for reference, in-case you have previously encountered anything similar.
cmitrodimas@helsinki-03:~/repositories/ACT-related/ACTs$ riscv_isac --verbose info coverage --decoder-name rvopcodesdecoder --decoder-path ./rvop-plugin -t trace.log --parser-name spike  -o coverage.rpt -e riscof_work/src/fleq_b1-01.S/ref/ref.elf -c riscv-ctg/sample_cgfs/zfa/fleq.s.cgf
    INFO | ****** RISC-V ISA Coverage 0.17.0 *******
    INFO | Copyright (c) 2020, InCore Semiconductors Pvt. Ltd.
    INFO | All Rights Reserved.
Traceback (most recent call last):
  File "/home/cmitrodimas/.local/bin/riscv_isac", line 8, in <module>
    sys.exit(cli())
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/riscv_isac/main.py", line 136, in coverage
    isac(output_file,elf,trace_file, window_size, expand_cgf(cgf_file,int(xlen),int(flen),log_redundant), parser_name, decoder_name, parser_path, decoder_path, detailed, test_label,
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/riscv_isac/cgf_normalize.py", line 565, in expand_cgf
    cgf = utils.load_cgf(cgf_files)
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/riscv_isac/utils.py", line 163, in load_cgf
    safe_yaml.dump(dict(safe_yaml.load(fp)),string_stream)
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/ruamel/yaml/main.py", line 434, in load
    return constructor.get_single_data()
  File "/home/cmitrodimas/.local/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 119, in get_single_data
    node = self.composer.get_single_node()
  File "_ruamel_yaml.pyx", line 706, in _ruamel_yaml.CParser.get_single_node
  File "_ruamel_yaml.pyx", line 724, in _ruamel_yaml.CParser._compose_document
  File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
  File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
  File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
  File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
  File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
  File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
  File "_ruamel_yaml.pyx", line 743, in _ruamel_yaml.CParser._compose_node
ruamel.yaml.composer.ComposerError: found undefined alias
  in "<file>", line 9, column 11

This appear is to be a test-setup issue which exposes warnings that should be suppressed.
The warnings will be fixed in the next PR.


Updated puppet-redirect url attribute

Related to https://github.com/Palindrom/palindrom-redirect/issues/1
I have replaced puppet-redirect with palindrom-redirect, but now, when You're redirecting page, everything is working, but You will get error in console:

@Mihaiii do You know what caused it and how to fix it?

Right now Go back button when creating new content stopped working.

I can't reproduce.
I navigate to http://localhost:8080/content/cms, click on "Create", click "Go back".

Here's my situation:

I see, I can't reproduce it if I run only SignIn + Content, but I can reproduce it with SignIn + Content + Website. I opened an issue for it ( #117 ). I can reproduce it on develop branch also so it shouldn't be related with this PR.

Ok, I'll merge this in that case.