Instructions out of date

Your instructions are a little out of date. Selecting the fast.ai template requires prior approval.
Regards,
Jay

A similar issue to @jayurbain - the instructions for setting up the machines (templates?) seem out of date. I'm not quite sure how to proceed with setting up the environment - I seem to be getting the email approvals from paperspace but these emails do not contain passwords that I can use to set up in Terminal?

I got the following error after running the command "conda env update"
distributed 1.20.2 requires msgpack-python, which is not installed.
spacy 2.0.12 has requirement regex==2017.4.5, but you'll have regex 2017.11.9 which is incompatible.
jupyter-console 5.2.0 has requirement prompt-toolkit<2.0.0,>=1.0.0, but you'll have prompt-toolkit 2.0.5 which is incompatible.

It makes the setup of Jupyter Notebook failed.
I followed the guide and pick P4000, how can I fix that?

I'm running into the same problem.
@ceceshao1 If you chose the US location and the smallest machine, you can setup your account without approval.

A couple of folks have submitted pull requests with some updated instructions.  Can you try again?


[WIP] 201902 feature datafile datatypes

PR opened for commenting, not ready to merge.
This feature breanch is intended to partly implement #981:

add models and views for creating DataTypes
add views for managing a project's registered DataTypes
handle specified DataTypes in the API for file uploads
some default behavior if DataTypes weren't specified during upload

obsolete, see #1026


Issue with Text on web in Expo 48

Description
I'm having trouble using the Text component on web in Expo 48. It's working in Expo 49
Host.ts:38 Uncaught TypeError: Cannot read properties of null (reading 'ref')
    at JsiSkFont.fromValue (Host.ts:38:1)
    at JsiSkCanvas.drawText (JsiSkCanvas.ts:260:1)
    at TextNode.draw (Text.ts:25:1)
    at TextNode.renderNode (DrawingNode.ts:58:1)
    at TextNode.render (RenderNode.ts:254:1)
    at GroupNode.ts:15:1
    at Array.map (<anonymous>)
    at GroupNode.renderNode (GroupNode.ts:13:1)
    at GroupNode.render (RenderNode.ts:254:1)
    at SkiaDomView.renderInCanvas (SkiaDomView.web.tsx:33:1)

Version
0.1.172
Steps to reproduce
# Create expo app
yarn create expo-app skia-expo48
cd skia-expo48/

# Downgrade to Expo 48
yarn add<EMAIL_ADDRESS>npx expo-doctor
yarn expo install expo-status-bar react-native

# Add expo web support
yarn expo install react-dom react-native-web @expo/webpack-config

# Install rn-skia and rn-reanimated
yarn expo install @shopify/react-native-skia react-native-reanimated

# Add postinstall script to setup skia web and add fs, path, and os to canvaskit-wasm
#   "yarn setup-skia-web && node postinstall.js"
vim package.json

# Add test files
cp ../skia/postinstall.js .
cp ../skia/App.js .
cp ../skia/Skia.js .
cp ../skia/Freedom.ttf .

# Install, postinstall, and start web
yarn
yarn web

Snack, code example, screenshot, or link to a repository
https://github.com/onlyanegg/rn-skia-issue

with the same version than on SDK 48?

Not the same version actually. I used the expo-recommended version via yarn expo install @shopify/react-native-skia which was a later version. I guess I could try ignoring the recommended version in favor of a later version.


Add Snakemake Format Checker

@pawel-czyz Have you ever used snakefmt ?
I am enjoying black very much for automatic formation and was looking to have the same for snakemake files.
This package seems to do it and be quite popular.
https://pypi.org/project/snakefmt/
What do you say ?  Shall we try to integrate in pre-commit and github actions ?

I haven't used it yet, but it sounds good to me! I'd however suggest to wait with this issue until we're happy with initial experiments.

Yes, it's low priority for sure. Will do it when there is time to spare.


Update ERC-7746: Move to Review

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

Because you reference ERC-4337, you cannot move into review until that one does.

removed references to 4337


[ENH] Transformer tags

Describe the feature or idea you want to propose
currently whether transformers act on single series or collections, and whether they return time series or scalars, is dictated by the tags
filter_tags={"scitype:transform-input": "Series",
"scitype:transform-output": "Primitives"
I would like to revise these tags
Describe your proposed solution
I want to remove the term "scitype" and add the type "Collection" for Collection transformers. Given the new BaseCollectionTransformer base class, should have very little impact on the legacy code base, and forecasters can still use "Panel" if they wish
Describe alternatives you've considered, if relevant
No response
Additional context
No response

this has been done, e.g. BaseCollectionTransformer
    # tag values specific to CollectionTransformers
    _tags = {
        "input_data_type": "Collection",
        "output_data_type": "Collection",
        "fit_is_empty": False,
        "requires_y": False,
        "capability:inverse_transform": False,
    }


Merge celeste_changes + habit list changes to master

I merged the celeste_changes branch with mine and added a list of habits to the main activity such that when a habit is created it is added to the list and displayed. I also removed the build files from the repo as they don't need to be synced (that's what gradle does) and they make merges/commits annoying.

There aren't any conflicts so I'll go ahead and merge it.


scannet data issue, last two dimisions are None

scannet_base/scan_data/pcd_with_global_alignment/scene0738_00.pth
(array([[0.44174623, 0.48032045, 0.11497073],
[0.46305841, 0.48063248, 0.11281918],
[0.26625684, 0.46335113, 0.13363716],
...,
[7.51774406, 3.60136652, 0.81805444],
[7.51661444, 3.60222292, 0.53582656],
[7.51592398, 3.59875011, 0.62125003]]), array([[36., 28., 15.],
[36., 28., 14.],
[30., 17.,  6.],
...,
[65., 50., 31.],
[54., 45., 27.],
[53., 45., 28.]], dtype=float32), None, None)
Traceback (most recent call last):
File "/home/mi/robotics/embodied-generalist/check_dataset.py", line 44, in
main()
File "/home/mi/robotics/embodied-generalist/check_dataset.py", line 39, in main
scan = load_scannet(id)
File "/home/mi/robotics/embodied-generalist/check_dataset.py", line 19, in load_scannet
for i in range(instance_labels.max() + 1):
AttributeError: 'NoneType' object has no attribute 'max'

The data directory of ScanNet point cloud pcd_with_global_alignment covers all ScanNet scenes, including the test set, which has not been annotated. So, there are 100 scenes (test set) here whose instance annotation is None. In practice, our datasets only concern the training set and validation set of ScanNet scenes, so this issue does not matter.

thanks a lot.


rdmfun transpose redundancy in rsanoiseceiling.m/py?

the default rdmfun behavior is to transpose a (voxel x condition) data matrix and then apply the pdist function to achieve a (condition x condition) RDM. however, in each monte carlo simulation, the signal and measurement variables already come in (condition x voxel) format, requiring each matrix to be transposed when passed to rdmfun() only to be re-transposed immediately afterward via rdmfun().
is there a reason for this double-transpose? if not, for clarity, we should consider removing both by modifying the line which sets the default rdmfun() and the line where rdmfun() is applied to signal and measurement.

No real reason for the double transpose;it's just necessary for everytihng to work out.  It just seems more natural for people to think in terms of "voxels x conditions x trials" as the standard format.   Do you agree?  If not, what do you suggest?


luci-app-statistics: update Simplified Chinese translation

fix some translation mistakes

@yousong , thanks. I've updated the traslation.

Thanks!


Bug: Most validation rules enforce requirement of the field

When using predefined validation rules like alpha, decimal, greater_than and less_than the field can't be optional, since these rules still kick in, even if the field is empty.
Expected behavior and Suggestion
Most of the predefined rules should pass trough if the field is NULL. Then use required to check for empty fields.
There might be issues with 0 numbers / decimals and required (required does not only check NULL - empty(trim($str))) but we could prevent these in custom or more specific rules instead of defining thousands of new rules like decimal_optional.
But we can't check if the Field is NULL before applying rules, because we want to be able to validate against NULL in some rules like required or maybe custom rules. So we have to check for NULL in every rule separately.
Steps to reproduce
Set alpha as validation rule, let the field blank and try to validate. In my opinion the validation error should only occur when using alpha and required together.
Quickfix
As stated in the comments, use the permit_empty rule.
CodeIgniter 4 version
Released 4.0.3
Affected module(s)
Validation\{FormatRules, FileRules} (at least)

Just use permit_empty rule.

This does work, thanks for the quick reply.
Anyway i see the described behavior as a problem (bug or feature 🤷♂), at least it should get discussed.

This behavior was intended.
At this point, any change to the rules that you mentioned would be a BC change, so this will not happen.


Errors (w/screenshot)

Thanks for the project! New to Swift and looking to run this in Xcode. Any idea why pulling the repo and running the simulator causes these errors? Thanks!

Which version of Xcode are you running?
On Mon, Dec 28, 2015 at 9:27 PM -0800, "echezbro"<EMAIL_ADDRESS>wrote:
Thanks for the project! New to Swift and looking to run this in Xcode. Any idea why pulling the repo and running the simulator causes these errors? Thanks!
—
Reply to this email directly or view it on GitHub.


make X-Request-URL header case-insensitive

HTTP headers are case-insensitive

fixes https://github.com/github/fetch/issues/383

Thank you!


JSON deserializer conflict with Spring Boot Starter Web

Hello!
I was instructed on StackOverflow, that I should share my issue here.
In short, when using both the spring-cloud-stream and spring-boot-starter-web libraries, the Consumer from the latter fails to deserialize the incoming JSON messages.
Link to the relevant question with more details.

So, I just generated brand new project and I can not reproduce the issue.
Here is the application code
@SpringBootApplication
public class DemoFunctionApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoFunctionApplication.class, args);
	}

	@Bean
	public Consumer<Person> consume() {
		return v -> System.out.println("RECEIVED: " + v);
	}

	public static class Person {
		private String name;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		@Override
		public String toString() {
			return "PERSON: " + name;
		}
	}
}

and here is the POM (to get the list of dependencies)
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.4.2</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>
	<groupId>oz.function</groupId>
	<artifactId>demo-function</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>demo-function</name>
	<description>Demo project for Spring Boot</description>
	<properties>
		<java.version>11</java.version>
		<spring-cloud.version>2020.0.1</spring-cloud.version>
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-stream-binder-rabbit</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.cloud</groupId>
				<artifactId>spring-cloud-dependencies</artifactId>
				<version>${spring-cloud.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
		</plugins>
	</build>
</project>

I am using Rabbit binder (for my own convenience), but that should not make any difference, since type conversion is not even done by s-c-stream, rather s-c-function, so binder has no affect on it.
Aside from testing it with the current master branch, I also tested it with Hoxton.SR9 and Hoxton.SR8 and so far I receive fully converted Person object.
If you still believe there is an issue, please provide a way to reproduce it. Perhaps small project you can push to GitHub with the bare minimum that reproduces the issue

Sorry for getting back to you this late.
We managed to solve the problem by doing exactly what you have done here, trying to reproduce my problem.
That is, upgrading the springboot version to 2.4.2 from 2.3.5.RELEASE, and spring-cloud version to 2020.0.1 from Hoxton.SR9.
I see you also tried going back to Hoxton.SR9, but maybe the problem is caused by a combination of both of these versions?

Based on your response I am assuming there is no issue to address. Feel free to reopen if closed in error and provide more info


Crash in Release Builds (Both Android & iOS) 🆘 🆘

What's happening?
The camera worked fine when using in development mode. I was even able to scan couple of Barcodes and do everything as expected. But the moment I launch the camera in Release Build it crashes
Without @mgcrea/vision-camera-barcode-scanner it worked fine in release mode to, but after adding it I saw the crash on release mode. Dev mode works fine though.
I'm using "@mgcrea/vision-camera-barcode-scanner": "^0.6.3",
"react-native-vision-camera": "^3.6.4",
And I have "react-native-worklets-core": "^0.2.2",
Here is the code sample
`import {Worklets} from 'react-native-worklets-core';
import {
Camera,
useCameraDevice,
} from 'react-native-vision-camera';
import {
CameraHighlights,
useBarcodeScanner,
} from '@mgcrea/vision-camera-barcode-scanner';
======>
const device = useCameraDevice('back');
const assignBarCodesJs = Worklets.createRunInJsFn(assignBarCodes);
const {props: cameraProps, highlights} = useBarcodeScanner({
fps: 2,
barcodeTypes: [
'ean-13',
'code-128',
'code-39',
'code-93',
'codabar',
'ean-8',
'itf',
'upc-e',
], // optional
//scanMode: "once",
regionOfInterest: {
x: 0,
y: 0.5,
width: 1,
height: 0.2,
},
onBarcodeScanned: codes => {
'worklet';
if (codes.length) {
assignBarCodesJs(codes);
}
},
});
===>Camera component ====>>>
<Camera
style={StyleSheet.absoluteFill}
device={device}
isActive={keepScanning}
audio={false}
{...cameraProps}
/>`
Here is the relevant log output
--------- beginning of crash 10-27 22:35:16.874 32037 32283 E AndroidRuntime: FATAL EXCEPTION: mrousavy/VisionCamera.video 10-27 22:35:16.874 32037 32283 E AndroidRuntime: Process: com.myapp, PID: 32037 10-27 22:35:16.874 32037 32283 E AndroidRuntime: com.facebook.jni.CppException: Compiling JS failed: 1:1:invalid empty parentheses '( )' Buffer size 3 starts with: 280a29 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at com.mrousavy.camera.frameprocessor.FrameProcessor.call(Native Method) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at com.mrousavy.camera.core.VideoPipeline._init_$lambda$0(VideoPipeline.kt:111) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at com.mrousavy.camera.core.VideoPipeline.$r8$lambda$EMriwS_FKhtjTFtppM84Z5V8tiI(Unknown Source:0) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at com.mrousavy.camera.core.VideoPipeline$$ExternalSyntheticLambda0.onImageAvailable(Unknown Source:2) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at android.media.ImageReader$1.run(ImageReader.java:916) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:942) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:226) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:313) 10-27 22:35:16.874 32037 32283 E AndroidRuntime:        at android.os.HandlerThread.run(HandlerThread.java:67) 10-27 22:35:16.884 32037 32283 I Process : Sending signal. PID: 32037 SIG: 9
### Tested on iPhone 13 Pro Max, iPhone 15, Samsung Galaxy S22

Upgrading react-native-worklets-core to 0.2.4 helped me. And dont forget check that you added ["react-native-worklets-core/plugin"], to babel.config.js

@Nandha-d3v I retried a release build without issues. It looks like the issue comes from your JavaScript code so try to remove any custom logic in the callbacks and see if it crashes.
You can also try to build the example (https://github.com/mgcrea/vision-camera-barcode-scanner/tree/master/example) project in release mode to see if you are still experiencing a crash.
Otherwise I will need a minimal reproducible test case to look more into it.


Not switching languages on linux

So my config contains:
(defcfg
  ;; For Linux
  input  (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
  output (uinput-sink "My KMonad output"

    **"/usr/bin/setxkbmap -option grp:win_space_toggle, us,ru")**

  ;; Comment this is you want unhandled events not to be emitted
  fallthrough true

  ;; Set this to false to disable any command-execution in KMonad
  allow-cmd true
)

and "/usr/bin/setxkbmap -option grp:win_space_toggle, us,ru" should switch between ru and us but with kmonad it's not happening.
if
/usr/bin/setxkbmap -option grp:win_space_toggle, us,ru
is run in the command line everything works good but with kmonad it does not.
On starting kmonad with "-l debug" this is the stdout
Opening KeySink
Registering Uinput device
Running UinputSink command: "/usr/bin/setxkbmap -option grp:win_space_toggle, us,ru"
Opening KeySource
Initiating ioctl grab
Launching process: emitter_proc

What is happening is that your command is running before KMonad sets up the output device. To fix this, sleep before your command. E.g. sleep 2; /usr/bin/setxkbmap -option grp:win_space_toggle, us.


Disable simple data writer plugin before test execution

Description
Develop a solution to disable the Simple data plugin from the test plans when the backend listener mode is active.
Solution
Manipulate the JMX file before text execution in order to disable Simple Data Writer plugin.
We can disable the plugin by setting enabled="false" on all the instances of ResultCollector guiclass="SimpleDataWriter"
Example:
<ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector" testname="Simple Data Writer" enabled="false">

I think we could also add more plugins that could be disabled that are related to listeners since they only can be used from Jmeter UI and directly effect the performance of test execution.

Plugin no longer used


Derive Exceptions from StandardError

Thanks for the nice library.
I think that exceptions should be derived from the ruby StandardError. This makes it possible to rescue them in a general rescue block.
It will result in the following code to work as expected:
require 'mqtt'
begin
  MQTT::Client.connect('test.mosquitto.org') do |c|
    c.get('test') do |topic,message|
      puts "#{topic}: #{message}"
    end
  end
rescue
  puts "Something went wrong."
end

I think this is very likely to be a good idea.
However I suspect it may have to be a 'major' version release / API breaking change - some people might be depending on it not being a StandardError in their code.

You're right here.
There won't be an effect for most cases, but I'ts an API change.

+1

+1, this is a change worth making.

:+1: This change would have saved me hours (days?) of debugging.


Submission_Group144_L02_2211893_2212163_2212311

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.


Also added back the SpecificationRepository class

The SpecificationRepository was turned into SpecificationRepositoryTrait in #19.
This is totally fine, however I know at least one implementation that still extends SpecificationRepository.
In order not to break backwards compatibility, I put back the SpecificationRepository class, but let it use the newly added SpecificationRepositoryTrait.

Coverage remained the same at 99.638% when pulling b8ee11151676d071b232880d8390b69be0928332 on add-specification-repository-class into 75cc200edbd029e043aace371ef9ac1225cff352 on master.

Coverage remained the same at 99.638% when pulling b8ee11151676d071b232880d8390b69be0928332 on add-specification-repository-class into 75cc200edbd029e043aace371ef9ac1225cff352 on master.

Coverage remained the same at 99.638% when pulling 771c5f473aa08eb11841a13c53f03648ea503200 on add-specification-repository-class into 75cc200edbd029e043aace371ef9ac1225cff352 on master.

Coverage decreased (-0.003%) to 99.635% when pulling 03558e086d7d36fad3b725c68421bdebc7c231e3 on add-specification-repository-class into 75cc200edbd029e043aace371ef9ac1225cff352 on master.

Coverage remained the same at 99.638% when pulling 03558e086d7d36fad3b725c68421bdebc7c231e3 on add-specification-repository-class into 75cc200edbd029e043aace371ef9ac1225cff352 on master.


Error: Timed out while making data connection

I used the terminal command in FTP to connect to the FTP server, I can normally get/put,

but after using the node-ftp connection to the server using the put error.
Code:
client.put(`${outputPath}/${sourceZip}`, '/Gzip.tar.gz', (err) => {
    if (err) {
        phisay.fail(err);
        console.log(err);
        // reject(err);
    }
    client.end();
});

Error code:
[MSG] [connection] > 'PASV'
[MSG] [connection] < '227 Entering Passive Mode (...).\r\n'
[MSG] [parser] < '227 Entering Passive Mode (...).\r\n'
[MSG] [parser] Response: code=227, buffer='Entering Passive Mode (...).'
[MSG] [connection] > 'ABOR'
[MSG] [connection] < '226 Abort successful\r\n'
[MSG] [parser] < '226 Abort successful\r\n'
[MSG] [parser] Response: code=226, buffer='Abort successful'
[FAIL] Error: Timed out while making data connection
Error: Timed out while making data connection
at Timeout. (/Users/..../git/shell/node_modules/ftp/lib/connection.js:901:12)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)

node-fep version: "ftp": "^0.3.10",


[ValueERR] mutable default <class 'wechaty_puppet.schemas.puppet.PuppetOptions'> for field puppet_options is not allowed: use default_factory

"""doc"""
import asyncio
import logging
from typing import Optional, Union
from wechaty_puppet import FileBox
from urllib.parse import urlparse
def get_host(url: str) -> (str, str, str):
parsed_url = urlparse(url)
return parsed_url.scheme, parsed_url.netloc, parsed_url.path
import urllib3
urllib3.get_host = get_host
from wechaty import Wechaty, Contact
Then Error happened:
Exception has occurred: ValueError
mutable default <class 'wechaty_puppet.schemas.puppet.PuppetOptions'> for field puppet_options is not allowed: use default_factory
File "D:\AI\DingDongBotPy\DingDongBot.py", line 15, in
from wechaty import Wechaty, Contact
ValueError: mutable default <class 'wechaty_puppet.schemas.puppet.PuppetOptions'> for field puppet_options is not allowed: use default_factory
how to solve it ?

You may try Python 3.10


Detect target precision profile

Created profiler_detect_target_2024.py and modified detect_target.py to add timing functionality.
profiler_detect_target_2024.py

added dependencies on timing, pandas, and numpy libraries
Structured on around the main_2024.py file, but removed flight interface related code
Created a profiler.txt file that holds raw data used for analysis
Added indicator to config.yaml to stop the main loop after x seconds have passed (define in the config)
Gets logged data and interprets it, outputting the min, max, average, median and initial times for preprocessing, inference, postprocessing and total elapsed time of the detect_target prediction loop

detect_target.py

If full precision is not overriden to true, it defaults to false (for testing purposes only)
saves timing data to profiler.txt

config.yaml

added profiling_time to set how long you profile for (i.e. 300 = 5 min)

It would also be better to use a dataset that are not all identical images. Perhaps the same as used in repository profile-encode.


Implement App rating review popup for iOS/Android

What's important about this?
The current review collection experience is far from perfect (there is a card on the homescreen that opens the store, going through redirect URL first). By improving the UX we can collect more positive reviews from the users who want to rate the app with a 4-5 star rating and collect feedback from the users who are not satisfied.
What's is the definition of done?
There are rating popups implemented, both on iOS and Android
What's involved in doing this work?
iOS:
Implement rating and reviews components according to Apple's guidelines (if I understand it correctly, no customisation is allowed): https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/ratings-and-reviews/
Android:
Implement reviews according to the documentation: https://developer.android.com/guide/playcore/in-app-review
Open questions:
Can we decide when exactly to trigger the popup?

After playing with this library: it seems that technically we can show the popup whenever we want. So we only need to decide when we want to do so.


Fix race condition in pool.BucketedBytes

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
We're reviewing #3937 and we found a race condition introduced in pool.BucketedBytes.Put(). If the input buffer is larger than the largest bucket size, then p.usedTotal is modified outside the lock.
In this PR I'm rolling back the change done in #3937 which I think was unnecessary. Before the lock only p.sizes and p.buckets[i] are accessed: p.sizes doesn't change and p.buckets[i] (which is a sync.Pool) is thread safe.
Verification
N/A

The Github CI seems broken and failures are not related, so merging this one.


[REF-3160] [VarOps] It is way too easy to pass incorrect kwargs to rx.Var._replace

Describe the bug
This _replace func accepts arbitrary kwargs, pulls out the ones it recognizes, and passes those off to BaseVar constructor. Meanwhile, any remainin unrecognized kwargs are just jettisoned without any errors.
This means if I pass _merge_var_data instead of merge_var_data, it silently does the wrong thing.
To Reproduce
rx.Var.create("foo")._replace(_this_should_fail=True)

Expected behavior
The line of code above should raise some TypeError or similar. Instead it returns a new Var with nothing changed.
REF-3160

Hey @masenf
I noticed in vars.py that the _replace function typically takes class variables of BaseVars, Vars, or ComputedVar as kwargs. I propose a solution to create a custom decorator for verifying kwargs.
In this decorator, we can either pass the class and it will automatically consider the class variables, or we can pass a set of expected kwargs, if the values passes is outside the set it will throw and TypeError. This decorator might be useful at multiple places too .
Let me know your thoughts on this !


Overlapping expectations

Hello James,
I have recently started to use your mockserver and it is a really helpful tool.
Doing the testing I realized there could be an improvement in way you resolve matching of overlapping expectations. For my needs I would prefer the expectation with most of the fields set to kick in.
Please let me know what do you think?
Best Regards,
Jaroslaw Konczak

Sorry I've been working on another project I'll look at this in the next couple of days

James let me know what do you think about this change. It is still hanging here.....

Take a look and let me know. I would love to see it closed one way or another.

Expectation currently don't overlap as there is a strict order condition.  Expectation are matched in the order that are submitted.  If the number of matching properties is take into account the order requirement will be broken.
I have implemented a solution that doesn't complete resort all the expectations on the expectation_matching_specificity branch.  However, I'm still not sure this is a good idea because this version will break the strict order condition within matching expectations.

I have recently added support for a not operator.  This should make it easy to have overlapping expectations and control which expectation is matched for a response (or forward or callback).  I'm going to close this pull request.

James,
We got different use cases. For me mockserver is instance serving proxy for multiple clients at the time.
For example testCase1 is asking mockserver to respond for /foo with responseBody.
At the same time testCase2 is asking to respond /foo with responseBody2.
they those are separate test cases.
For now the only option I see is to run mockserver per test case and make setup on init of the test

Typically I would suggest if you want to run tests in parallel follow the approach specified in http://www.mock-server.com/mock_server/running_tests_in_parallel.html
Basically you need to make something unique about each test then use that when you create the expectations for each for test.
This could be a cookie as per http://www.mock-server.com/mock_server/running_tests_in_parallel.html.
If you are testing an AJAX application you could use a random query string parameter in the page making the AJAX call.  In such an example the Referer header of the AJAX call you include the page URL of the page making the AJAX request.
I've used both approaches successfully before for different applications, it really just depends on how your architecture is put together.

This is exactly the case. I am using header named MDC. It contains generated in testCase id so I could get my unique response from the mockserver.
The trouble is caused by expectations which I have setup for the rest of the system - default happy path.
I do not want to pass this traffic to external service, cutting off out Integration environment out of external dependencies.
That is why I needed rule: "the most specific request wins"
for happy path I got:
/someRest service without MDC header
for test case
/someRest service with MDC set in particular test
unfortunately since general rule was submitted first - it wins and I do not have the specific for the test case response.


Remove new() Method in Favor of Default and From

Motivation
The new() method, while common in OOP for user-friendly initialization, is redundant in this context. Most use cases are covered by the Default trait, and more complex scenarios are handled via From. Removing new() simplifies the codebase and avoids duplication.
Tasks

[ ] Remove all new() method implementations.
[ ] Replace usages with Default::default() or From where applicable.

Hello, we tried to solve the issue.
This is what we did:
Removed the new() method from the Client struct implementation and replaced its usage with Default::default(). Updated the secret() method to take &mut self instead of self to allow method chaining after default initialization.
You can review changes in this commit: https://github.com/mnmnk43434/46ki75-notionrs-88/commit/7086b46693c0cb6056368e058e1edf4fa6488a12.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Add row at index when sorting is active

Hi!
How is it possible to add an row at a specific index when sorting is active?
I get the correct index, but when I want to add the row, the row appears somewhere else.
Whats wrong with my code?
Thanks
Parent:
  addRowSorted(index) {
    let resources = this.state.resources.slice();
    var emptyLine = { id: _.random(-100000000000, 0) }
    resources.splice(index, 0, emptyLine);
    this.setState({ resources }, this.refs.table.added);
  }

  onSortChange(sortName, sortOrder) {
    let resources = this.state.resources.slice();
    this.setState({ resources }, this.refs.table.added);
}

Child:
    this.options = {
            sizePerPageList: [15, 25],
            sizePerPage: 15,
            defaultSortName: this.state.sortName,
            defaultSortOrder: ['asc', 'asc'],
            onSortChange: () => this.onSortChange
        };

onSortChange(sortName, sortOrder) {
        this.props.onSortChange;
    }

Hi again!
I found out that my code works, but the table renders it wrong. Could that be?

where's wrong when table rendering?

For example: I have a Table with my products:

Ordering Number
Product
Price
Add Row

1
Milk
1€
+

2
Coffee
3€
+

3
Chocolate
2,5€
+

4
Tea
0,5€
+

5
Cake
2€
+

When I want to insert an empty row between Milk an Coffee after sorting by ordering number,  the table looks for example like this :

Ordering Number
Product
Price
Add Row

1
Milk
1€
+

2
Coffee
3€
+

3
Chocolate
2,5€
+

4
Tea
0,5€
+

+

5
Cake
2€
+

but it should look like this:

Ordering Number
Product
Price
Add Row

1
Milk
1€
+

2
Coffee
3€
+

+

3
Chocolate
2,5€
+

4
Tea
0,5€
+

5
Cake
2€
+

The empty line appears somewhere else but my data-array is correct ( E.g  Milk, Coffee, “Empty with random id”, Chocolate, Tea, Cake).

so......  how do you insert a new row after sorting... or it's your feature request for adding an empty row after each sorting?
BTW, sorry for lately reply.

I have buttons in each row in my table. I click at my button e.g in row 3 and then a empty row should appear in row 4.
My function is :
addRowSorted(index, row) {
debugger;
let products = this.state.products.slice();
var emptyLine = { id: _.random(-100000000000, 0) }
products.splice(index + 1, 0, emptyLine);
this.setState({
products: products,
})
}
No it´s not a request. I simply want sort my table and after that I need to insert a row at a specific position.
Adding the row without sorting works fine, but after sorting, the empty row appears somewhere else in the table ,though the empty row is at the correct position in my sorted array - only the table shows it somewhere else.
No problem - thank´s for the awesome component :)

ok, I see, some question I still want to confirm

how you handle the sorting? by yourself or react-bootstrap-table itself?
how do you know the sorted array?
could you please share some example value for _.random(-100000000000, 0)?
what column you sort? Ordering Number?

Thanks 👍

Hey.
I found my problem.  My problem was, that I filled my table with random entries (and so with random orderingnumbers) and somehow this causes problems when I want to add a new empty row.
It works fine when I have my static entries :)

OK, let me know if you have any other question, thanks 👍


Issue 41 v2

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Code Style Guide and followed the process outlined there for submitting PRs.
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze or dart analyze) does not report any problems on my PR.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[ ] I am authorized to release this code under the MIT License and agree to do so

UI Change
Does your PR affect any UI screens?

[ ] Yes, the relevant screens are included below.
[ ] No, there are no UI impacts with this PR.

@jpeiffer any update on this?

@jpeiffer Is close to implement all encoders - that work will be abandoned


Health Check for 978 fails

The health check for dump978 fails. The log contains the following text
[2024-12-10 14:22:20.007][piaware] 2320 msgs recv'd from dump1090 (2010 in last 5m); 2320 msgs sent to FlightAware
[2024-12-10 14:22:20.008][piaware] 73 msgs recv'd from the ADS-B data program at dump978/30978 (66 in last 5m); 73 msgs sent to FlightAware

However when running /scripts/healthcheck.sh the output is
Connected to Flightaware, OK.
2320 dump1090 messages sent in past hour, OK.
0 dump978 messages sent in past 2 hours, NOT OK.
Webserver listening on port 80, OK.
Webserver listening on port 8080, OK.

It appears that the ADS-B data program at is messing up the regex in the healthcheck. Also the healthcheck.sh is hardcoded for socat instead of depending on the UAT_RECEIVER_HOST variable

it was always socat until i changed it to remove the unnecessary socat.
but i don't run unnecessary healtchecks so i didn't notice.


Video Skewed (does not maintain aspect ratio)

The video uploaded does not maintain aspect ratio. In the readme it says, " '!' - Keep the same aspect of the image/video, but with the passed dimesion."
My goal is to be able to be able to have the video returned in a square (while maintaining the aspect ratio). Cropping from the center would be ideal, as well.
Any help would be greatly appreciated. I included my code below.
Here is a link to a skewed 500x500! video of my puppy:
http://s3.amazonaws.com/pivotdevelopment/posts/videos/102/square.mp4?1440617576
Here is the non-skewed version for comparison:
http://s3.amazonaws.com/pivotdevelopment/posts/videos/103/square.mp4?1440617933
class Video < Post

  Paperclip.interpolates :id do |attachment, style|
    attachment.instance.id
  end

  #basename/extension is paperclip interpolation from attachment, can write own interpolations as needed

  # have to link /usr/local/bin to the linuxbrew version of ffmpeg
  has_attached_file :video,  path: "/posts/videos/:id/:style.:extension",
  :styles => {
    :square => {:geometry => "500x500!", :format => 'mp4', :streaming => true }
  },
  :processors => [:transcoder]

  validates_attachment :video, :presence => true,
                               :content_type => { content_type: ["video/mp4", "video/mov", "video/mpeg","video/mpeg4", "video/quicktime"] }

  def video_url
    video = self.video
    if video.present?
      return video.url(:square)
    end
  end

end

Currently it's not possible to crop video at all. You can pad video with #, but not crop.
I have the same problem 2 years ago, so forked paperclip-ffmpeg and made a crop instead of pad. You can try https://github.com/attenzione/paperclip-ffmpeg for now.
But i think this behaviour should be implemented in this gem, too.

Thank you! And agreed. But even # doesn't pad the video for me. And it returns the exact same video as 500x500 (without the hashtag).
Any ideas?
 has_attached_file :video,  path: "/posts/videos/:id/:style.:extension",
  :styles => {
    :square => {:geometry => "500x500#", :format => 'mp4', :streaming => true }
  },
  :processors => [:transcoder]

possibly this gem is not finished yet, for padding.

The geometry options are actually totally ignored in this version of the gem. You can see here that the various options are extracted but they are never passed to the output. The only thing the output sees is a sanitized geometry setting which causes the backend to resize to the requested height/width.


bug(modeler): recursive search for forms and element templates

Issue

#451

Description
Collect forms and element templates recursively.
Checklist

Code is easy to understand
No obvious errors or bugs
CI/CD Pipelines did run successfully
Tests were implemented
Documentation was created

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (944412b) 58.21% compared to head (6c4efe8) 58.21%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #483   +/-   ##
=========================================
  Coverage     58.21%   58.21%
  Complexity       60       60
=========================================
  Files            38       38
  Lines           560      560
  Branches         50       50
=========================================
  Hits            326      326
  Misses          185      185
  Partials         49       49

Flag
Coverage Δ

unittests
58.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


IBU: Toggle the automated rollback for postreboot

This commit adds the ability to disable the automated rollback in case of failure for post reboot phase. The module was updated too.

cc @trewest @kononovn


remove shadow no_gaps_when_only

re-disables shadows when only and using no_gaps_when_only (https://github.com/hyprwm/Hyprland/issues/2953)
as a side effect adds shadow as a workspace rule

forgot to update master as well


Implement IJ reporter args json format

{
  reports: [{ic: "path", smap: "path"}, ...],
  modules: [{output: ["path1", "path2"], sources: ["source1", …]}, {…}],
  xml: "path" [OPTIONAL],
  html: "directory" [OPTIONAL],
  include: {
        classes: ["regex1", "regex2"] [OPTIONAL]
   } [OPTIONAL],
  exclude: {
        classes: ["regex1", "regex2"] [OPTIONAL]
   } [OPTIONAL],
}

reports -- list of binary (ic format) reports generated by agent. Reports are not separated by modules, as it is not discoverable whether what module is covered by which report. All the binary reports information is merged.
modules -- list of outputs and sources included into the report. Division into modules just simplifies the structure of the json. Classes in the output directories are the only classes that may be included into the report.
xml -- path to an XML file to be generated
html -- path to a directory to generate HTML
include/exclude -- list of classes to be included/excluded into the report. Note that these filters may differ from the filters passed to the agent, so all the classes in all outputs are iterated and reloaded if new filters include it. List of supported filters will be extended to methods and lines.

Implemented in 0.5.0-RC2


switched prerequisite includes to use new reusable content repo

Learn Build status updates of commit f5e0679:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-support-request.md
:x:Error

Details

docs-ref-conceptual/azure-cli-variables.md
:x:Error

Details

docs-ref-conceptual/azure-cli-vm-tutorial-1.md
:x:Error

Details

docs-ref-conceptual/what-is-azure-cli.md
:x:Error

Details

docs-ref-conceptual/azure-cli-support-request.md

Line 26, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/azure-cli-variables.md

Line 26, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/azure-cli-vm-tutorial-1.md

Line 25, Column 1: [Error: include-not-found] Invalid include link: './includes/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/what-is-azure-cli.md

Line 36, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 8d46cec:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-support-request.md
:x:Error

Details

docs-ref-conceptual/azure-cli-variables.md
:x:Error

Details

docs-ref-conceptual/azure-cli-vm-tutorial-1.md
:x:Error

Details

docs-ref-conceptual/what-is-azure-cli.md
:x:Error

Details

docs-ref-conceptual/azure-cli-support-request.md

Line 26, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/azure-cli-variables.md

Line 26, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/azure-cli-vm-tutorial-1.md

Line 25, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/what-is-azure-cli.md

Line 36, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 305a77a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-variables.md
:x:Error

Details

docs-ref-conceptual/azure-cli-vm-tutorial-1.md
:x:Error

Details

docs-ref-conceptual/what-is-azure-cli.md
:x:Error

Details

articles/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md
:warning:Warning

Details

docs-ref-conceptual/azure-cli-variables.md

Line 26, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/azure-cli-vm-tutorial-1.md

Line 25, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

docs-ref-conceptual/what-is-azure-cli.md

Line 36, Column 1: [Error: include-not-found] Invalid include link: '~/../articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md'.

articles/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md

Line 13, Column 5: [Warning: file-not-found - See documentation] Invalid file link: 'media/cloud-shell-try-it/hdi-launch-cloud-shell.png'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


build: migrate from govendor to go modules

Migrate from govendor to go modules in order to support ES 7
See #2425

This has been addressed in PR#2432


Flesh out anyOf support

Currently support for anyOf is a bit limited. I believe it's just a dropdown that switches child fields based on which "anyOf" option is selected. When a new one is selected, the previous set values persist. These should probably be "cleared out" whenever a new option is selected.
Actually, this would ideally be how the "oneOf" would work and "anyOf" would allow one to select multiple options and set the values for each of these (and clear out associated values when unselected). There are a few complications here to keep in mind - like there can be values for say, an object type, that are not part of the anyOf options. Also the different options could have overlapping values, where we probably want one field for this. Likewise you could have anyOfs without actual properties like outlined in issue #6 .
Probably want to look at how other similar libraries handle this (e.g. (react-jsonschema-form)[https://rjsf-team.github.io/react-jsonschema-form/] and (JSONForms)[https://jsonforms.io/]).

I think the best way to go about "full" anyOf support, would be to replace the current select dropdown with a similar "multiselect" dropdown. SMUI does not currently have a multiselect like this, so we'd have to create custom one, though I don't think this would be too hard (we're already patching the current select component). I've already created something similar for the webgme-taxonomy dashboard search filters.
I think then we could use the existing json-schema-merge-allof dependency to merge all the selected anyOfs with any properties. This would also address #6 . This "merged" schema" would only be present/referenced in the control itself, and not a change made to the schema object as a whole.
When an anyOf item is unselected, we would then recalculate the "merged" schema, then compare all the current property keys with the current data value, removing any keys in data nor present in the new schema.


for #3919: make timeline deletion retryable if it fails uploading index_part or deleting the files

Before this PR, timeline delete was not retryable if it failed with an error earlier. Previously,

if we had failed after uploading the index part but before remove_dir_all, the retry would have failed because IndexPart::deleted_at is already Some().
if we had failed after remove_dir_all, the retry would have failed because the directory doesn't exist.

This PR adds a test case and fixes these two issues.

I don't know why was this PR merged without any reviews, but it seems this chose:

other requests to error while one is uploading instead of doing multiple upload attempts

it is possible that this is fine
dangers very difficult to explain semantics

given how unsure it is for us to know if a previous request had been cancelled

fs not found => need retry

could had been a separate from this
it is what the added test tests


Proposal: restructure examples/ directory

When considering where to put the files needed for issue #641, it became apparent that the examples/ folder would benefit from reorganization.
I'm willing to take on this ticket.
Needs:

to have various examples with:

a CLI program for demonstration purposes, and to collect profiling/traces. (ex: ceno_zkvm/benches/riscv_opcode.rs)
integration tests to verify that the end to end functionality works
benchmarks for preventing regressions

a way to turn a program into a riscv binary (currently done by examples/ and examples-builder/)

Current limitations:

multiple meanings of "example" but only one "examples" folder.

example can mean a CLI, for demonstration purposes and for collecting profiling/traces
example can mean a program to be compiled to an elf file and then proved (ex: examples/examples/ceno_rt_io.rs)

benchmarks and integrations tests probably would benefit from sharing code
there isn't an obvious destination within ceno_zkvm for programs which get compiled to riscv elf files

Proposed solution:

move examples/examples into examples/ceno_rt
make examples/ a cargo workspace with one subproject per example (ceno_rt, fibonacci, is_prime, etc)
subproject structure as follows:

bin/ for CLI programs
lib.rs for code shared between bin/, tests/, or benches/
benches/ for the benchmarks
tests/ for integration tests, which would be similar to a benchmark but include extra checks.
riscv/ for the code to be compiled to a riscv elf file
build.rs to turn the programs in riscv/ into elf files

Also, if one desires for rust-analyzer to check the programs in riscv/ the same way it would in a folder named examples/, one could add this to the Cargo.toml file:
[[example]]
name = "<example_name>"
path = "riscv/<example_name>.rs"

potentially related issues
#606
#602
#353

also potentially related:
#694
#656
the examples can be structured to make it easy to run them from CI.

The overall proposal seems fairly reasonable. Thanks! (Not sure about every last detail.)


fix name of package for package manager

I was advised to use 'me' instead of 'com' since I'm not a company. Are you having issues with the package or is it just about the naming convention?

but you changed it back in your package.json to 'com' that is why I changed that here to represent the documentation

Gonna push a 1.2.1 release soon and will fix the package naming issues as well as the meta file issues.


Display daily test count on top of page

Is your feature request related to a problem? Please describe.
It is hard for an user to read it easily as if how many test were performed for today.
Like we display counts summer for current day on top of the page, it should also displays how many test happened on that day

We added it to the table now. Adding it to the top is not straightforward since there's limited space


GraphQL Causes Bruno to Crash After clicking on a seperate tab then going back to Query

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
I am working with the Salesforce GraphQL API while trying to test different requests. I am getting a generic error saying, "Oops! Something went wrong." This happens every time I execute a request, click into any of the tabs, for example, Auth, then click back into the Query tab.
.bru file to reproduce the bug
meta {
  name: Opportunities Closing Soon (Explicit AND)
  type: graphql
  seq: 8
}

post {
  url: https://my.salesforce.com/services/data/v62.0/graphql
  body: graphql
  auth: inherit
}

body:graphql {
  query opportunitiesClosingSoonExplicitAND($month: Long) {
    uiapi {
      query {
        Opportunity(
          where: {
            and: [
              { StageName: { eq: "Negotiation/Review" } }
              { CloseDate: { CALENDAR_MONTH: { value: { eq: $month } } } }
            ]
          }
        ) {
          edges {
            node {
              Id
              Name {
                value
              }
              StageName {
                value
              }
              CloseDate {
                value
                displayValue
              }
              Description {
                value
              }
            }
          }
        }
      }
    }
  }
}

body:graphql:vars {
  {
      "month": 12
  }
}

Screenshots/Live demo link
I have attached the screenshots in order.

Hi, I wasn't able to reproduce this on my machine. Can you try the bru file given and let me know if the issue persists?
meta {
  name: testGQL
  type: graphql
  seq: 3
}

post {
  url: https://spacex-production.up.railway.app/
  body: graphql
  auth: none
}

body:graphql {
  {
    company {
      ceo,
      name
    }
  }

}

Using the provided bru file, I am unable to recreate the issue. It must have something to do with Salesforce's GraphQL schema after it is introspected. The only way to test and verify it would be to have a developer environment of Salesforce.

Hi @skinnystick22, can you share a screen cast of this issue? Thanks!

Hi @sreelakshmi-bruno I've run into this same issue. It appears there is a memory leak when switching tabs with GraphQL schema defined. When the schema is loaded, the source saved to local storage, however each time the request tab loads, it appears to be running the graphql buildSchema or buildClientSchema methods Souce Link.
This operation is rather costly and with larger GraphQL schemas, will cause nodejs to overflow its allowed memory consumption.
You can remediate this issue by setting the environment variable NODE_OPTIONS=--max-old-space-size=4096, but ultimately this memory leak will cause a crash because at some point the system does run out of memory if you switch between enough tabs.
A recommended fix would be to cache the result of buildSchema/buildClientSchema so that is shared between requests targeting the same endpoint.

Steps to reproduce:

Open Bruno and create a new collection
Create a graphql request
Load a GraphQL Schema from a file
Create another graphql request for the same endpoint as the first request.
Click back and forth between tabs and monitor memory consumption of the Bruno application. You will see memory consumption always go up.

I've captured a similar scenario moving between requests.

NODE_OPTIONS=--max-old-space-size=4096
https://github.com/user-attachments/assets/c122e6f6-979f-4e28-907e-91fd9c0ee32c

We're investigating this. Thanks!


hover effect

can i add hover effect to know more button ? @Anveshreddy18-collab

Yes you can. Thanks for the help.

Can I change the navbar button to navbar icons?? @Anveshreddy18-collab

Can I change the UI of navbar?? @Anveshreddy18-collab

@Anveshreddy18-collab, Raised a PR https://github.com/Anveshreddy18-collab/Anveshreddy18-collab.github.io/pull/11

Merged it! Thanks for the contribution @coder-mezab :)


KeyVaultErrorException when trying to retrieve a secret.

I'm using UserTokenCredentials and trying to retrieve a secret from a Key Vault. I keep getting an exception and not really sure why. I could get the sources and step through the code to see what might be going on, but, thought of first checking if anyone else has seen this before.
Note that, I'm able to use the same UserTokenCredentials object and list the Key Vaults in my subscription. The exception below gets thrown when I call
KeyVaultClient.getSecret(VAULT_URL, SECRET_NAME). I'm using version 1.0.0-beta3 of the azure-keyvault library.
com.microsoft.azure.keyvault.models.KeyVaultErrorException:
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at com.microsoft.rest.ServiceResponseBuilder.build(ServiceResponseBuilder.java:148)
	at com.microsoft.azure.keyvault.KeyVaultClientImpl.getSecretDelegate(KeyVaultClientImpl.java:3023)
	at com.microsoft.azure.keyvault.KeyVaultClientImpl.access$1800(KeyVaultClientImpl.java:94)

/Dev

Made some progress. I was able to get around this problem by extending KeyValueCredentials and acquiring a token user user credentials in the doAuthenticate implementation.

the KeyVault client library is not in this repo anymore, so if this is still an issue, it should go there:
https://github.com/azure/azure-keyvault-java


Use session identity instead of session tokens

This change brings in the update to autumndb that removes direct session handling.
Instead of AutumnDB handling session tokens, it only deals with the identity/actor making requests. Authorization of users should be hoisted up to the route layer at the top of the call stack, where it can eventually be delegated to an external service, such as Ory Kratos.
Change-type: major
Signed-off-by: Lucian Buzzo<EMAIL_ADDRESS>

@balena-ci retest

@balena-ci I self-certify!

@balena-ci republish


Ability to edit existing image occlusion notes

Very difficult to implement with how I/O currently works. As each I/O yields in several different notes, we would first have to find a way to match all notes belonging to one image occlusion. This would be much easier if #2 was implemented.
Even if we find a way to associate all respective notes we would still have to figure out a way to handle changes to the SVG masks. It should be easy enough to update all other textual information, but how do we recognize a modified shape as such? How to preserve the scheduling information for each card? How do we handle new occlusions being added? etc...

Another option would be to create a set of new I/O cards and reschedule them based on the mean ease and interval of the old cards.
As of 196f7086f1ea579c96915b9deb22bd03cf3ab89b, I/O 2 Enhanced is already capable of preserving SVG masks, so it would just come down to figuring out out how to implement this rescheduling.

The right way is probably to pay some attention to SVG element id fields. I think svg-edit preserves the ids when you edit the document. If you store the id of the mask somehow, you'll be able to match the new cards to the old ones. This is all conjecture, I haven't touched this code in ages.

That would probably be a good way to go about this. Though I'd have to make it obvious to the user that each mask element represents a card alongside all of its scheduling information. Otherwise they might do something like move an existing element to cover up a different piece of information which would lead to confusion when that "new" occlusion would suddenly appear as an old card. Maybe one way to do this would be to add some kind of temporary labels to the SVG signifying the interval of each mask, but I'll have to think about this again when I have some more time on my hands.

Another way I've thougt about is to consider two masks equal even if they have the same id. This can be done by parsing the svg code of the mask (It's just xml, you can use the already included ElementTree library), deleting the id field and rendering it into a canonical form (normalizing whitespace, etc, I'm sure this is possible), but preserving all other attributes, including x and y coordinates and then you consider the masks,  and consider the elements equal if these canonical representations match. Alternatively (much harder), you can match the elements if the positions differ by a small amount, but this sounds like something that would open it's own can of worms.

I think both approaches have their advantages and disadvantages. If you go by element IDs you have to make sure to communicate to the user that each shape represents a specific card. OTOH, if you match by geometric attributes you have to find a way to disregard smaller changes to the dimensions and positions of the shapes.
I actually think of this last point this last point as an absolute necessity if we follow the geometric matching route. I don't see people having much use for this feature if they can't tweak existing shapes without losing their scheduling.

Hi,
I've finally managed to implement this. Please feel free to give the new version of the add-on in the dev-branch a spin. I ended up going with the first method you proposed, matching SVG IDs to a Note ID field. The new note generation code is based on Simple Picture Occlusion by @SteveAW, which I stumbled upon more or less by accident.
In any case, I will mark this issue as resolved for now, but I'd love to hear your feedback on the implementation!

I'll look into it tomorrow! Thank you for improving the addon
On Wednesday, October 12, 2016, Glutanimate<EMAIL_ADDRESS>wrote:

Hi,
I've finally managed to implement this. Please feel free to give the new
version of the add-on in the dev-branch
https://github.com/Glutanimate/image-occlusion-enhanced/tree/dev a
spin. I ended up going with the first method you proposed, matching SVG IDs
to a Note ID field. The new note generation code is based on Simple
Picture Occlusion
https://github.com/steveaw/anki_addons/blob/master/simple_picocc/simple_picocc_main.py
by @SteveAW https://github.com/SteveAW, which I stumbled upon more or
less by accident.
In any case, I will mark this issue as resolved for now, but I'd love to
hear your feedback on the implementation!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Glutanimate/image-occlusion-enhanced/issues/1#issuecomment-253363444,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACi5StEtUDKoDHJPiqf9DGAtYrSYkXBPks5qzWWygaJpZM4H858g
.

I haven't looked at the source code but I've tried it and it works great. Some thoughts:

The names you've chosen for the kinds of note the addon generates (Hide all, Reveal one, etc) sound almost my confusing as my original names. I'd suggest changing to something like Hide all, Guess one or Hide all, Ask for one. On the other hand, this is entirely subjective and your names are much better than mine.
If you can show a special edit occlusion button when the user chooses to add the note during the review, can't you also somehow monkey patch the "AnkiMainWindow.onEditcurrent()" method and show the SVG window immediately instead of showing the note editor? I have now idea how feasible this is, but it would be a nice improvement from the user's point of view. The problem I see is that it might break in future Anki version or something. Monkey patching Anki's methods is always risky in theory but it seems to work well in practice.
I've been reading Anki's source and it seem to me that integrating Anki's editor into SVG-edit's window might not be as difficult as I thought it would be. to create a QWidget to encalsulate Editor.outerLayout and in principle, that widget would encapsulate the relevant parts of the editor. It would be mostly cosmetic, and I don't know if it would be worth it, but it certainly seems doable.

Hi again and thanks for the feedback!

The names you've chosen for the kinds of note the addon generates (Hide all, Reveal one, etc) sound almost my confusing as my original names...

Yep, I'm not perfectly happy with them myself. The tooltips on each button somewhat ameliorate this as I think they do a good job of explaining what each occlusion mode does, but I would still like for the labels to be clearer in the first place. Your suggestions are good, but I don't think they hit the perfect spot, either (especially if I consider the new third occlusion mode).

If you can show a special edit occlusion button when the user chooses to add the note during the review, can't you also somehow monkey patch the "AnkiMainWindow.onEditcurrent()" method...

I actually explored that possibility, but it was causing a number of very strange bugs in the reviewer, so I had to revert the commit. In the meantime I've also discovered that quite a few users actually do like to enter note-specific details, so I've more or less abandoned this idea, as appealing as it might be in most usage scenarios.

I've been reading Anki's source and it seem to me that integrating Anki's editor into SVG-edit's window might not be as difficult as I thought it would be...

 However - though I haven't looked into this properly yet - doesn't each Editor have a note assigned to it? I imagine that this might complicate things as we will usually have to create multiple notes. We would also have to hide a lot fields, e.g. the mask and ID fields, from the user.


Cannot depend on pkg/repo in own golang project

Hey guys,
First of all: thanks for you work on this project! I'm a very happy Helm user and find it's a great piece of software. Appreciate it!
Now, I'm trying to set up my first real golang and glide project, so I might oversee something trivial, but I'm running out of own ideas.
I'm trying to use the package "k8s.io/helm/pkg/repo" in my project, which seems to cause problems. I've created a minimal example of what I'm trying to do:
// main.go

package main

import (
	"fmt"

	"k8s.io/helm/pkg/repo"
)

func main() {

	i := repo.NewIndexFile()
	fmt.Println(i)

}

# glide.yaml

package: github.com/0x203/glidetest
import:
- package: k8s.io/helm
  version: ~2.4.2
  subpackages:
  - pkg/repo

When I run glide up in there, it fails with two errors:
[INFO]	Downloading dependencies. Please wait...
[INFO]	--> Fetching k8s.io/helm.
[INFO]	--> Detected semantic version. Setting version for k8s.io/helm to v2.4.2.
[INFO]	Resolving imports
[INFO]	--> Fetching github.com/Masterminds/semver.
[INFO]	--> Detected semantic version. Setting version for github.com/Masterminds/semver to v1.2.3.
[INFO]	--> Fetching github.com/ghodss/yaml.
[INFO]	--> Fetching gopkg.in/yaml.v2.
[INFO]	--> Fetching github.com/BurntSushi/toml.
[INFO]	--> Detected semantic version. Setting version for github.com/BurntSushi/toml to v0.3.0.
[INFO]	--> Fetching github.com/facebookgo/symwalk.
[INFO]	--> Fetching github.com/gobwas/glob.
[INFO]	--> Detected semantic version. Setting version for github.com/gobwas/glob to v0.2.2.
[INFO]	--> Fetching github.com/golang/protobuf.
[INFO]	--> Setting version for github.com/golang/protobuf to 2bba0603135d7d7f5cb73b2125beeda19c09f4ef.
[INFO]	--> Fetching k8s.io/apimachinery.
[INFO]	--> Fetching golang.org/x/crypto.
[INFO]	Found Godeps.json file in /root/.glide/cache/src/https-k8s.io-apimachinery
[INFO]	--> Parsing Godeps metadata...
[INFO]	--> Setting version for github.com/ghodss/yaml to 73d445a93680fa1a78ae23a5839bad48f32ba1ee.
[INFO]	--> Fetching k8s.io/kubernetes.
[INFO]	--> Detected semantic version. Setting version for k8s.io/kubernetes to v1.6.6-beta.0.
[INFO]	--> Fetching github.com/Masterminds/sprig.
[INFO]	--> Detected semantic version. Setting version for github.com/Masterminds/sprig to 2.12.0.
[INFO]	--> Fetching github.com/evanphx/json-patch.
[INFO]	--> Setting version for github.com/evanphx/json-patch to ba18e35c5c1b36ef6334cad706eb681153d2d379.
[INFO]	--> Fetching k8s.io/client-go.
[INFO]	Found Godeps.json file in /root/.glide/cache/src/https-k8s.io-kubernetes
[INFO]	--> Parsing Godeps metadata...
[INFO]	--> Fetching github.com/davecgh/go-spew.
[INFO]	--> Setting version for github.com/davecgh/go-spew to 5215b55f46b2b919f50a1df0eaa5886afe4e3b3d.
[INFO]	--> Fetching github.com/golang/glog.
[INFO]	--> Setting version for github.com/golang/glog to 44145f04b68cf362d9c4df2182967c2275eaefed.
[INFO]	--> Fetching golang.org/x/text.
[INFO]	--> Setting version for golang.org/x/text to 2910a502d2bf9e43193af9d68ca516529614eed3.
[INFO]	--> Fetching github.com/aokoli/goutils.
[INFO]	--> Fetching github.com/huandu/xstrings.
[INFO]	--> Fetching github.com/imdario/mergo.
[INFO]	--> Setting version for github.com/imdario/mergo to<PHONE_NUMBER>c1639d9d78127b7d47c622b5d7b6dc.
[INFO]	--> Fetching github.com/satori/go.uuid.
[INFO]	--> Detected semantic version. Setting version for github.com/satori/go.uuid to v1.1.0.
[INFO]	--> Setting version for golang.org/x/crypto to d172538b2cfce0c13cee31e647d0367aa8cd2486.
[INFO]	--> Fetching github.com/go-openapi/spec.
[INFO]	--> Setting version for github.com/go-openapi/spec to 6aced65f8501fe1217321abf0749d354824ba2ff.
[INFO]	--> Fetching github.com/gogo/protobuf.
[INFO]	--> Setting version for github.com/gogo/protobuf to c0656edd0d9eab7c66d1eb0c568f9039345796f7.
[INFO]	--> Fetching github.com/google/gofuzz.
[INFO]	--> Setting version for github.com/google/gofuzz to 44d81051d367757e1c7c6a5a86423ece9afcf63c.
[INFO]	Found Godeps.json file in /root/.glide/cache/src/https-k8s.io-client-go
[INFO]	--> Parsing Godeps metadata...
[INFO]	--> Setting version for k8s.io/apimachinery to cff8db64dd5b6fb0166dc2cf36e39c7ff4fe48c8.
[INFO]	--> Fetching github.com/howeyc/gopass.
[INFO]	--> Setting version for github.com/howeyc/gopass to 3ca23474a7c7203e0a0a070fd33508f6efdb9b3d.
[INFO]	--> Fetching github.com/spf13/pflag.
[INFO]	--> Setting version for github.com/spf13/pflag to 9ff6c6923cfffbcd502984b8e0c80539a94968b7.
[INFO]	--> Fetching github.com/ugorji/go.
[INFO]	--> Setting version for github.com/ugorji/go to ded73eae5db7e7a0ef6f55aace87a2873c5d2b74.
[INFO]	--> Fetching github.com/emicklei/go-restful.
[INFO]	--> Setting version for github.com/emicklei/go-restful to ff4f55a206334ef123e4f79bbf348980da81ca46.
[INFO]	--> Fetching github.com/spf13/cobra.
[INFO]	--> Setting version for github.com/spf13/cobra to f62e98d28ab7ad31d707ba837a966378465c7b57.
[INFO]	--> Fetching vbom.ml/util.
[INFO]	--> Setting version for vbom.ml/util to db5cfe13f5cc80a4990d98e2e1b0707a4d1a5394.
[INFO]	--> Fetching k8s.io/apiserver.
[INFO]	--> Fetching gopkg.in/inf.v0.
[INFO]	--> Setting version for gopkg.in/inf.v0 to 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4.
[INFO]	--> Fetching github.com/exponent-io/jsonpath.
[INFO]	--> Setting version for github.com/exponent-io/jsonpath to d6023ce2651d8eafb5c75bb0c7167536102ec9f5.
[INFO]	--> Fetching github.com/go-openapi/jsonpointer.
[INFO]	--> Setting version for github.com/go-openapi/jsonpointer to 46af16f9f7b149af66e5d1bd010e3574dc06de98.
[INFO]	--> Fetching github.com/go-openapi/jsonreference.
[INFO]	--> Setting version for github.com/go-openapi/jsonreference to 13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272.
[INFO]	--> Fetching github.com/go-openapi/swag.
[INFO]	--> Setting version for github.com/go-openapi/swag to 1d0bd113de87027671077d3c71eb3ac5d7dbba72.
[INFO]	--> Fetching golang.org/x/net.
[INFO]	--> Setting version for golang.org/x/net to e90d6d0afc4c315a0d87a568ae68577cc15149a0.
[INFO]	--> Fetching github.com/juju/ratelimit.
[INFO]	--> Setting version for github.com/juju/ratelimit to 77ed1c8a01217656d2080ad51981f6e99adaa177.
[INFO]	--> Fetching golang.org/x/sys.
[INFO]	--> Setting version for golang.org/x/sys to 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9.
[INFO]	--> Fetching github.com/docker/distribution.
[INFO]	--> Setting version for github.com/docker/distribution to cd27f179f2c10c5d300e6d09025b538c475b0d51.
[INFO]	--> Fetching github.com/emicklei/go-restful-swagger12.
[INFO]	--> Setting version for github.com/emicklei/go-restful-swagger12 to dcef7f55730566d41eae5db10e7d6981829720f6.
[INFO]	--> Fetching github.com/go-openapi/loads.
[INFO]	--> Setting version for github.com/go-openapi/loads to 18441dfa706d924a39a030ee2c3b1d8d81917b38.
[INFO]	--> Fetching github.com/docker/spdystream.
[INFO]	--> Setting version for github.com/docker/spdystream to 449fdfce4d962303d702fec724ef0ad181c92528.
[INFO]	--> Fetching github.com/docker/docker.
[INFO]	--> Setting version for github.com/docker/docker to b9f10c951893f9a00865890a5232e85d770c1087.
[INFO]	--> Fetching github.com/mitchellh/go-wordwrap.
[INFO]	--> Setting version for github.com/mitchellh/go-wordwrap to ad45545899c7b13c020ea92b2072220eefad42b8.
[INFO]	--> Fetching github.com/golang/groupcache.
[INFO]	--> Setting version for github.com/golang/groupcache to 02826c3e79038b59d737d3b1c0a1d937f71a4433.
[ERROR]	Error scanning github.com/emicklei/go-restful/swagger: open /root/.glide/cache/src/https-github.com-emicklei-go-restful/swagger: no such file or directory
[ERROR]	This error means the referenced package was not found.
[ERROR]	Missing file or directory errors usually occur when multiple packages
[ERROR]	share a common dependency and the first reference encountered by the scanner
[ERROR]	sets the version to one that does not contain a subpackage needed required
[ERROR]	by another package that uses the shared dependency. Try setting a
[ERROR]	version in your glide.yaml that works for all packages that share this
[ERROR]	dependency.
[INFO]	--> Fetching github.com/inconshreveable/mousetrap.
[INFO]	--> Setting version for github.com/inconshreveable/mousetrap to 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.
[INFO]	--> Fetching github.com/pborman/uuid.
[INFO]	--> Setting version for github.com/pborman/uuid to ca53cad383cad2479bbba7f7a1a05797ec1386e4.
[INFO]	--> Fetching github.com/docker/engine-api.
[INFO]	--> Setting version for github.com/docker/engine-api to dea108d3aa0c67d7162a3fd8aa65f38a430019fd.
[INFO]	Found Godeps.json file in /root/.glide/cache/src/https-k8s.io-apiserver
[INFO]	--> Parsing Godeps metadata...
[INFO]	--> Setting version for k8s.io/client-go to 36b51953e6efc7779fe27c14258d78573de4e0de.
[INFO]	--> Fetching github.com/PuerkitoBio/purell.
[INFO]	--> Setting version for github.com/PuerkitoBio/purell to 8a290539e2e8629dbc4e6bad948158f790ec31f4.
[INFO]	--> Fetching github.com/mailru/easyjson.
[INFO]	--> Setting version for github.com/mailru/easyjson to d5b7844b561a7bc640052f1b935f7b800330d7e0.
[INFO]	Found Godeps.json file in /root/.glide/cache/src/https-github.com-docker-distribution
[INFO]	--> Parsing Godeps metadata...
[INFO]	--> Fetching github.com/go-openapi/analysis.
[INFO]	--> Setting version for github.com/go-openapi/analysis to b44dc874b601d9e4e2f6e19140e794ba24bead3b.
[INFO]	--> Fetching github.com/Azure/go-autorest.
[INFO]	--> Setting version for github.com/Azure/go-autorest to d7c034a8af24eda120dd6460bfcd6d9ed14e43ca.
[INFO]	--> Fetching golang.org/x/oauth2.
[INFO]	--> Setting version for golang.org/x/oauth2 to 3c3a985cb79f52a3190fbc056984415ca6763d01.
[INFO]	--> Fetching github.com/Azure/go-ansiterm.
[INFO]	--> Setting version for github.com/Azure/go-ansiterm to 70b2c90b260171e829f1ebd7c17f600c11858dbe.
[ERROR]	Error scanning k8s.io/client-go/util/clock: open /root/.glide/cache/src/https-k8s.io-client-go/util/clock: no such file or directory
[ERROR]	This error means the referenced package was not found.
[ERROR]	Missing file or directory errors usually occur when multiple packages
[ERROR]	share a common dependency and the first reference encountered by the scanner
[ERROR]	sets the version to one that does not contain a subpackage needed required
[ERROR]	by another package that uses the shared dependency. Try setting a
[ERROR]	version in your glide.yaml that works for all packages that share this
[ERROR]	dependency.
[INFO]	--> Fetching github.com/dgrijalva/jwt-go.
[INFO]	--> Setting version for github.com/dgrijalva/jwt-go to 01aeca54ebda6e0fbfafd0a524d234159c05ec20.
[INFO]	--> Fetching github.com/docker/go-connections.
[INFO]	--> Setting version for github.com/docker/go-connections to f549a9393d05688dff0992ef3efd8bbe6c628aeb.
[INFO]	--> Fetching github.com/docker/go-units.
[INFO]	--> Setting version for github.com/docker/go-units to e30f1e79f3cd72542f2026ceec18d3bd67ab859c.
[INFO]	--> Fetching github.com/PuerkitoBio/urlesc.
[INFO]	--> Setting version for github.com/PuerkitoBio/urlesc to 5bd2802263f21d8788851d5305584c82a5c75d7e.
[INFO]	--> Fetching google.golang.org/appengine.
[INFO]	--> Setting version for google.golang.org/appengine to 4f7eeb5305a4ba1966344836ba4af9996b7b4e05.
[INFO]	--> Fetching cloud.google.com/go.
[INFO]	--> Setting version for cloud.google.com/go to 3b1ae45394a234c385be014e9a488f2bb6eef821.
[INFO]	--> Fetching github.com/Sirupsen/logrus.
[INFO]	--> Setting version for github.com/Sirupsen/logrus to 51fe59aca108dc5680109e7b2051cbdcfa5a253c.
[INFO]	--> Fetching github.com/hashicorp/golang-lru.
[INFO]	--> Setting version for github.com/hashicorp/golang-lru to a0d98a5f288019575c6d1f4bb1573fef2d1fcdc4.
[ERROR]	Failed to retrieve a list of dependencies: Error resolving imports

I investigated a bit without being able got get better results. I found k8s.io/client-go/util/clock is now to be found here: k8s.io/apimachinery/util/clock. However, I thought some glide resolves that I need the old version of k8s.io/client-go which contains this missing package.
I've tried and cloned https://github.com/kubernetes/helm directly, checked out the release-2.4 branch and ran make bootstrap build in there. This ran without problems.
Then I've put the exact same main.go from above into this repository root and ran go build ./main.go, which worked perfectly fine. Thus, my small sample code is not the issue :smile:.
There are three major differences I can see between what my minimal example project does and what the main.go within the Helm repo does:

make bootstrap ran glide install, not glide update, so it used some fixed versions. Thus, I've copied all package versions from Helm's glide.lock to my own glide.yaml and adapted the structure to make it match. Of course, I don't really want to do this, but it's a hack leading to a successfull glide up in my project. As far as I understand, this worked since a whole lot of versions where fixed now which glide attempted to upgrade before, and the updated versions introduced the problems. Right? How else can this be fixed?
However, go build ./main.go did failed with a couple of errors.

make bootstrap ran go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go, so I did this as well in my minimal project build container. Still, the build error occured.

make bootstrap calls a script scripts/setup-apimachinery.sh which replaces some packages in the vendor folder:

rm -rf ./vendor/k8s.io/{kube-aggregator,apiserver,apimachinery,client-go}

cp -r ./vendor/k8s.io/kubernetes/staging/src/k8s.io/{kube-aggregator,apiserver,apimachinery,client-go} ./vendor/k8s.io

This didn't helped with the breaking go build.
What am I missing? What do I have to do to be able to use pkg/repo in my own project?
For reference, here are the build errors (after trying to fix difference 3):
# github.com/0x203/glidetest/vendor/k8s.io/client-go/pkg/api
vendor/k8s.io/client-go/pkg/api/helpers.go:55: NonConvertibleAnnotationPrefix redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:69
vendor/k8s.io/client-go/pkg/api/helpers.go:435: TolerationsAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:22
vendor/k8s.io/client-go/pkg/api/helpers.go:439: TaintsAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:26
vendor/k8s.io/client-go/pkg/api/helpers.go:443: SeccompPodAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:30
vendor/k8s.io/client-go/pkg/api/helpers.go:447: SeccompContainerAnnotationKeyPrefix redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:34
vendor/k8s.io/client-go/pkg/api/helpers.go:451: CreatedByAnnotation redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:38
vendor/k8s.io/client-go/pkg/api/helpers.go:455: PreferAvoidPodsAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:42
vendor/k8s.io/client-go/pkg/api/helpers.go:461: SysctlsPodAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:48
vendor/k8s.io/client-go/pkg/api/helpers.go:469: UnsafeSysctlsPodAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:56
vendor/k8s.io/client-go/pkg/api/helpers.go:474: ObjectTTLAnnotationKey redeclared in this block
	previous declaration at vendor/k8s.io/client-go/pkg/api/annotation_key_constants.go:61
vendor/k8s.io/client-go/pkg/api/helpers.go:474: too many errors
# github.com/0x203/glidetest/vendor/k8s.io/helm/pkg/storage/driver
vendor/k8s.io/helm/pkg/storage/driver/cfgmaps.go:71: cannot use "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".GetOptions literal (type "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".GetOptions) as type "github.com/0x203/glidetest/vendor/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".GetOptions in argument to cfgmaps.impl.Get
vendor/k8s.io/helm/pkg/storage/driver/cfgmaps.go:97: cannot use opts (type "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions) as type "github.com/0x203/glidetest/vendor/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions in argument to cfgmaps.impl.List
vendor/k8s.io/helm/pkg/storage/driver/cfgmaps.go:133: cannot use opts (type "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions) as type "github.com/0x203/glidetest/vendor/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ListOptions in argument to cfgmaps.impl.List
vendor/k8s.io/helm/pkg/storage/driver/cfgmaps.go:218: cannot use "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".DeleteOptions literal (type *"github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".DeleteOptions) as type *"github.com/0x203/glidetest/vendor/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".DeleteOptions in argument to cfgmaps.impl.Delete
vendor/k8s.io/helm/pkg/storage/driver/cfgmaps.go:261: cannot use "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta literal (type "github.com/0x203/glidetest/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta) as type "github.com/0x203/glidetest/vendor/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1".ObjectMeta in field value

Thanks for any ideas and help!

This is due to kubernetes vendor munging. We actually have to work around this in both helm and draft with https://github.com/kubernetes/helm/blob/master/scripts/setup-apimachinery.sh. You might want to check out how helm bootstraps itself... vendoring kubernetes client libraries is a mess right now.

I can confirm that I couldn't build Helm after running glide install --strip-vendor on its own; it took running that setup-apimachinery.sh script to force things into place.

Thanks for the clarification. So I've tried to run setup-apimachinery.sh in my own project vendoring helm as well, but it didn't helped there.
So I'm going to install Helm to the GOPATH and let Glide ignore this. For anybody interested, I'm using Docker to don't get messed up with my local GOPATH:
FROM golang:1.8

RUN curl https://glide.sh/get | sh && \
    mkdir -p $GOPATH/src/k8s.io/helm && \
    cd $GOPATH/src/k8s.io/helm && \
    git clone https://github.com/kubernetes/helm.git . && \
    git checkout release-2.4 && \
    make bootstrap build

WORKDIR $GOPATH/src/my/package

# for other dependencies:
COPY glide.yaml .
RUN glide up

COPY main.go .
# and other srcs

CMD ["go", "build"]

And added this to my glide.yaml:
ignore:
- "k8s.io/helm"

So, thanks for your help! I you will remember it, you can add another comment here later if/when it's easier to vendor this.


v3.4.34

Fixing setup.py for windows

@rec Just a hot fix. Turns out you broke setup.py for Windows about a month ago... https://github.com/ManiacalLabs/BiblioPixel/commit/ce8c34b16a93cdb63811e67d3bf4edb1780437e6#diff-2eeaed663bd0d25b7e608891384b7298
Never noticed since I don't really ever pip install it.
In setup.py you cannot initialize variables after you need them on Windows. No idea why, just that it's always been the case.


1090 Enable the SDK to retrieve a record even if a transaction failed

Description:

This PR modifies the following:

adds getReceiptQuery() to TransactionResponse
adds getRecordQuery() to TransactionResponse
adds applicable integration tests to ensure the new methods return their respective queries after a transaction has been executed.

Related issue(s):
Fixes #1090
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Looks great to me @willparks. Can you also refactor the .getReceipt() and .getRecord() methods to use your new getXQuery() methods?

LGTM, but not merging because our current release process keeps PRs own while merging via git directly: hashgraph/hedera-sdk-java#951 The release process is still subject to change, but this is how it works right now.

Thanks! After reading through the release process, it sounds like merging happens all at once for multiple PRs before a release?
Let me know if I should just go ahead and squash merge into release/2.14.0-beta.4 to get that out of the way.


[Bug]: Not able to reuse same spreadsheet importer component in multiple apps

OData Version
OData V2
Draft
Yes
Scenario
Fiori Elements
Environment
BTP ABAP
UI5 Spreadsheet Component
cc.spreadsheetimporter.v0_31_5
What happened?
Not able to reuse spreadsheet importer in multiple apps.docx
I want to use the same spreadsheet importer component in 2 apps. In first app, it is deployed properly. But in the 2nd app, deployment is failed.
Relevant log output
Will be shared upon request

Spreadsheet Component Init
"actions": {
                                        "SpreadSheetController": {
                                            "press": "zsschoice.ext.spreadSheetController.SpreadSheetController.uploadExcel",
                                            "visible": true,
                                            "enabled": true,
                                            "requiresSelection": false,
                                            "text": "Upload"
                                        }
                                    }

Manifest
"componentUsages": {
            "spreadsheetImporter": {
                "name": "cc.spreadsheetimporter.v0_31_5"
            }
        },
        "resourceRoots": {
            "cc.spreadsheetimporter.v0_31_5": "./thirdparty/customControl/spreadsheetImporter/v0_31_5"
        },

Hi @mainakaich
Thank you for your report.
Can you check if the app was actually deployed even with the error message?

Either it was not deployed or I did not fix ther error for you.
Can you check the BSP Application in ADT and check the manifest for the current version?

Hi @marianfoo
It is not deployed successfully. As you can see from attached screenshot, I am opening the fiori app zss_choice where the version is showing 0.29.1 whereas I have maintained 0.31.5 in the zss_choice fiori project manifest.json and package.json and deployed( and it failed during deployment as mentioned in the defect earlier).

@marianfoo yes, I deployed to BTP ABAP Environment

@marianfoo the interesting thing here is if you release a new dummy version e.g. 0.31.6, then system will not complain during deployment since it is treated as a different component.

Hi @mainakaich
i was able to reproduce the error, but i have no solution.
I´d recommend that you create a ticket with SAP because that error has nothing to do with my component but the deployment of nested components.
What has worked for me, however, is the central deployment. Now the namespace really only exists once and the deployment and use in the app has worked.
https://docs.spreadsheet-importer.com/pages/CentralDeployment/
Please try that and report back.
Also if SAP Support was able to help you, i would be very interested in the solution.

Still working with SAP on the case but I already have an explanation why it doesn't work and a possible solution.
By the way, this has nothing to do with my component but only reuse components in general and namespaces in the ABAP system.
In a normal deployment of UI5 apps, libraries and reuse components all have a unique namespace and this cannot be deployed twice.
These are then also present in the app index and are there to be loaded in the launchpad.
If you now deploy the component in the app itself, the namespace of the Spreadsheet Importer component is still globally available in the app index. Therefore, no second app can be deployed with the Spreadsheet Importer, as this namespace is already assigned, hence the error message.
You can easily check this by deploying a component in an app and then calling this URL.
<//ABAPURL//>/sap/bc/ui2/app_index/ui5_app_info?id=cc.spreadsheetimporter.v0_33_0
This means that if you deploy the spreadsheet importer within an app, it is basically the same as a standalone deployment.
So for your second and all other apps that still use the Spreadsheet Importer, you can simply use the instructions for the central deployment, but only if the same version is always used.
https://docs.spreadsheet-importer.com/pages/GettingStarted/#setup-central-deployment
This is the special feature of the ABAP Cloud environment. But it also means that the same problem will land on the on-premise environment, even if it is not there yet.
So far I have recommended in-app deployment, but due to this development I am leaning more towards standalone or central deployment, which was my workaround for this problem anyway.
Why did i say possible solution? Because it seems like there is a bug which prevents this solution to work :/
I´ll keep this issue updated but would recommend to use standalone deployment in the cloud.

@marianfoo,
Thanks so much for your guidance and providing the detailed update. It really helped. As you suggested, I will try out the central deployment now. I will let you know if I face any issue there.

No worries, i will leave the issue open as of now

Why did i say possible solution? Because it seems like there is a bug which prevents this solution to work :/

SAP has recognized an error, after SAP fixed it I will improve the documentation for it

Why did i say possible solution? Because it seems like there is a bug which prevents this solution to work :/

SAP has recognized an error, after SAP fixed it I will improve the documentation for it

SAP has fixed the error, i updated the documentation for it:
https://docs.spreadsheet-importer.com/pages/GettingStarted/#component-deployment


Control-panel in Angular app

Hi
I'm using control-panel in an angular application in a component using Three.js
I get the following error on the console:
core.js:1448 ERROR TypeError: fs.readFileSync is not a function     at new Plate (index.js:29)     at Plate (index.js:15)
Any advice how to resolve this?
Best
stefan

Thanks @rreusser. I was able to get control-panel working with webpack (same issue as #21) . Here's my package.json and webpack.config

Thanks, can confirm this solution worked for me as well!