SebDaBaBo's Hackpad

I had some problems with uploading my missing files to my old PR, so I created a new one.
A few weeks ago I bought my first custom Keyboard which was a huge achievement after typing for a long time on the keyboard that came with my PC. I loved the typing experience: The feeling of pressing the Gateron Switches and the sound! Since then I always wanted to build a macropad to make my life easier when using the PC with shortcuts. I never knew where to start and I watched dozens of videos. With an opportunity like this I put in all my energy and effort to get this done on the last weekend of the event, cause my PC was malfunctioning! The Hardest challenge I encountered, was trying to learn and create everything in the 6 hours I had on the weekend. There was a lot of trouble-shooting and experimenting involved. I would like to have another Macropad/keyboard event or maybe general HID devices...

Which BOM is the relevant one? This one or the one in the forms?


When video starts in 'paused' state the onProgress event does not fire on Android

Bug
onProgress callback does not fire on Android when video starts paused.
Platform
Which player are you experiencing the problem on:

Android ExoPlayer

Environment info
React native info output:
❯ ./node_modules/react-native/cli.js info
info Fetching system and libraries information...
System:
    OS: macOS 10.15.3
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 393.53 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.17.0 - /var/folders/4n/nd5y3s7x00gbr3mk4fq0jv4c0000gn/T/fnm-shell-2410913/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.13.6 - /var/folders/4n/nd5y3s7x00gbr3mk4fq0jv4c0000gn/T/fnm-shell-2410913/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /Users/dylanjhaveri/.rvm/gems/ruby-2.5.1/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Java: 12.0.2 - /usr/bin/javac
    Python: 2.7.17 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 5.0.2
Steps To Reproduce
Loom video recording: https://www.loom.com/share/0a903fc33c644ca9a7cb7c9747587997

Start video in 'paused' state
Play video
onProgress callback does not fire on Android (it does fire on iOS)

Expected behaviour

When video starts out 'paused' the onProgress event should still fire

Reproducible sample code
See simple demo app here:
https://github.com/dylanjha/react-native-video-bugs

@cobarx I was surprised by this bug, any ideas if I'm doing something that is causing it. I thought maybe it was specific to my application but I was able to reproduce it in a sample app (github link above). Any help would be greatly appreciated 🙏
I'm trying to get an SDK out for Video QOS monitoring with his player (https://mux.com/data), but this is a blocker. I'm happy to work on a patch for it it, I started digging through the source code but I wasn't able to find an obvious fix (I'm also new to react-native world so there's a bit of a learning curve there)

@dylanjha : Yes I am able to reproduce that. It is happening when we pass pause value true and it doesn't give use progress event.

@dylanjha : Just find out that it was working fine in my project but I have seen one thing in your repo that paused value is hardcoded in code that is true. But I think that based paused video player play and pause.
So you need to update the paused value with video current playing status in case if you are using custom controls over a player then you need to manage paused value and provide it to player.
But in your repo you are using default controls that comes with react-native-video which internally handle state so you don't need to pass it in first place. But still you want to manage video state from outside player control then you should provide proper value too paused attribute. Means false when video player is playing video and pause when video player is not playing video.
I had clone you bug repo and added two button play and pause which update paused attribute and if default paused value is set to true but when you click on play custom button it changes to false and video start playing and you will start receiving progress event. here is your updates code.
`import React, {useState} from 'react';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
Button,
} from 'react-native';
import {Colors} from 'react-native/Libraries/NewAppScreen';
import Video from 'react-native-video';
const App: () => React$Node = () => {
const [showVideo, setShowVideo] = useState(false);
const [isPause, setPauseStatus] = useState(true);
const onProgress = () => {
// iOS - always gets logged
// Android - if video starts in 'paused' state, this does not get logged [BUG]
console.log('debug onProgress');
};
const onSeek = () => {
// iOS - never gets logged
// Android - gets logged [BUG]
console.log('debug onSeek');
};
return (
<>

{global.HermesInternal == null ? null : (

Engine: Hermes

)}

<Button
title={showVideo ? 'Hide' : 'Show'}
onPress={() => setShowVideo(!showVideo)}
/>
{showVideo && (

<Video
style={styles.video}
source={{
uri:
'https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8',
}}
onSeek={onSeek}
onProgress={onProgress}
paused={isPause}
controls
muted
/>
<Button title="Play" onPress={() => setPauseStatus(false)} />
<Button title="Pause" onPress={() => setPauseStatus(true)} />

)}

</>
);
};
const styles = StyleSheet.create({
scrollView: {
backgroundColor: Colors.lighter,
},
video: {
width: 400,
height: 500,
},
engine: {
position: 'absolute',
right: 0,
},
body: {
backgroundColor: Colors.white,
},
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
},
sectionTitle: {
fontSize: 24,
fontWeight: '600',
color: Colors.black,
},
footer: {
color: Colors.dark,
fontSize: 12,
fontWeight: '600',
padding: 4,
paddingRight: 12,
textAlign: 'right',
},
});
export default App;
`

Interesting, thank you @jariwalabhavesh I can see what this code is doing.
To make sure I understand:

But in your repo, you are using default controls that come with react-native-video which internally handle state so you don't need to pass paused in the first place. But still, you want to manage video state from outside player control then you should provide proper value to the paused attribute. Means false when the video player is playing video and pauses when the video player is not playing a video.

This makes sense, but what is the recommended way if I want to use the default player controls, but start the player off in the paused state (in other words to not autoplay the video?).

For example, by default this video will autoplay:
<Video source={{uri: "background"}} />

If I want to not autoplay the video it seems like I should be able to do this:
<Video source={{uri: "background"}} paused />

However, based on this explanation it seems like I can only do that if I implement my own custom controls.

Furthermore, since this behavior in inconsistent on iOS vs. Andriod, so should that be considered a bug?

@dylanjha : It looks like a bug if we consider using default player controls and want to keep the paused value as true hardcode.
But my opinion is that default controls are very basic. so the majority of users are using a third party control package. In my case, I had created custom control on a player from react-native.
But as of now, I think the workaround that I had provided in my last comment in your code should be enough to start working on that.
Maybe it will get fixed in future releases.

@jariwalabhavesh Thanks for confirming that you are seeing this bug, leaving this issue open with the hopes it gets some attention

Has this been solved yet?

@sjonchhe not to my knowledge

I also noticed that the video may sometimes keep playing when you set paused = true right after you used the seek function. So looks like there's no reliable synchronization between the native player and the RN wrapper.

This issue shall be fixed by https://github.com/react-native-video/react-native-video/pull/2664


feature request: Auto import dependencies

Can VSCode support automatically import dependencies just link eclipse(ctrl+shift+o)?

@wxqqh Any specific languages you have in mind?

en, such as TypeScript~~~ I haven't tried any other languages.
Just like this, the workspace:
root(workspace root)
  │
  ├ route
  │  │
  │  ├ index.ts
  │  ...
  ├ util
  │  │
  │  ├ utilsubdir <-- this
  │  │  │
  │  │  ├ util1.ts
  │  │  ├ util2.ts
  │  ├ util3.ts
  │ ...
  │
  ...

In index.ts, if need to use module util1, util2, i must
import * as util1 from "../util/utilsubdir/uitl1.ts";
import * as util2 from "../util/utilsubdir/uitl2.ts";

In this process, it's easy to get wrong.

It maybe to write the wrong path utilSubDir. It can run smoothly on window, but not in *nux.
Or I want to rename the directory to otherutil. All files that use these module must be modified.
Of course, the same as dependencies modules which written in package.json

So, if VSCode can support this feature, it will be very easy to resolve by just press the shortcut key.
Or show the import suggession/content assist message when i write code util1.xxx().

This would be a really cool feature. I'm currently using Webstorm for Angular 2 development - there you can just type util1 in your code and then hit ALT+ENTER which would suggest adding an import... Something like this would be quite nice!

It is a hot feature!
I suspect, it will speedup the adoption of the VSCode itself.
Desired behavior for TypeScript:

Identify all project *.ts and *.d.ts files including referenced ones
Collect all exported names from those files
When identidier is not resolved suggest importing it from the list of possible files
On import maintain import {member1,... memberN} from "../../relative/path" for project files and import {member1,... memberN} from "module/path" for node modules

This scenario is not suited well for CommonJS export = smth style exports, nevertheless, it would be great for the new ES6 module style exports that eventually replace the old style.
@dbaeumer you are our hope!

@Artazor the actual implementation of that feature has to come from the TS team which maintain the tsserver which we use for TS language smartness. They have several bugs for this:

provide quick fixes on unresolved imports
provide code complete in import statements (e.g. the module / file part)

The repository is: https://github.com/Microsoft/TypeScript

@Artazor the actual implementation of that feature has to come from the TS team which maintain the tsserver which we use for TS language smartness. They have several bugs for this:
provide quick fixes on unresolved imports
provide code complete in import statements (e.g. the module / file part)

Why / how is Webstorm able to do it? That seems to work pretty fine.

@Artazor didn't make myself clear enough: this is not a technical problem. The TypeScript team is working on addressing it. I moved the issue since the coding of that feature has to happen in this https://github.com/Microsoft/TypeScript and not in VS Code itself. We use the tsserver from that repository via npm inside VS Code.

Is there any progress on this?

See Microsoft/TypeScript#188 CC @jbrownson.

So now that https://github.com/Microsoft/TypeScript/issues/188 has been closed and a bunch of extensions already provide autoimport for TS, will this be baked into VSCode? Or will it remain something from userland?

Yeah, I'm very interested to know that as well. Along with VSTS integration it's the most important missing feature I believe.

Just for the record.  Microsoft/TypeScript#188 will not solve this request.  Microsoft/TypeScript#188 is about code complete in file name in import statements. It will not automatically add imports like Ctrl+Shift+O in Eclipse.
Microsoft/TypeScript#188 will very likely land in the next VS Code release

Potentially solved by this plugin https://github.com/soates/Auto-Import

@OliverJAsh I use this and it's great. However, I don't think it supports removing unused imports and sorting them. I could be wrong though.

@OliverJAsh and @caseyhoward  Have you guys tried Typescript Hero?

This is of dup of the Orange code assist example. The item it adds is the cleanup of unused imports.

@dbaeumer Is there any place where "auto-importing" is being tracked as an issue?

Yes, @waderyan knows which I forgot to ping in my last comment.

Okay, but will THIS issue solve it? Or what issue will solve it? Why do we need extensions for such a basic feature? https://github.com/Microsoft/vscode/issues/2635#issuecomment-253156974

@roblourens Clearly, you didn't read into the rest of the comments.

I believe this is the correct issue - https://github.com/Microsoft/TypeScript/issues/7849

It is annoying writing code without this feature, I've tried typescript-hero, seems that it doesn't import symbols in module declaration in d.ts.

I think that now Typescript 2.2 and Visual Studio Code 1.10 allow adding missing imports as stated on the blog:
https://blogs.msdn.microsoft.com/typescript/2017/02/22/announcing-typescript-2-2/
And the Code support:
https://code.visualstudio.com/updates/v1_10#_languages
So, should this issue be closed?

what we request is different with what they stated, I don't want to select or move cursor to every symbols to   fix missing imports, fixing every missing import automatically with one single command is better.

Is there a way to say for auto-import to use single quotes?

@ng-state This is being tracked upstream: https://github.com/Microsoft/TypeScript/issues/13270

Yes, VScode 1.10 added a quick fix for imports but as @fightingcat notes, we do not automatically apply these fixes and I believe that is what this issue is tracking. This feature would likely behave like eslint'/tslint's autoFixOnSave option.
We will only be able to auto fix symbols that have a single potential import. Otherwise, you will still have to manually apply the quick fix and select the correct import to use. We also want to make sure this does not get in the way while you are working on a file

@mjbvz it was opened in Jan 3 and still not fixed.. forcing devs to correct each import by hand :(

What is missing - intellisence. E.g. when using AutoImport plugin you begin to write class name and you can pick it from the list, once picked import is added automatically. With current implementation developer needs to know exact class name to get yellow bulb for import.

In my view, this feature is much more urgent than others, could save much time.

Can we have this also for javascript?

Having this feature for .net would be great..

Adding to the October iteration plan. This will depend on https://github.com/Microsoft/TypeScript/pull/19069 which should land in TypeScript 2.6

@mjbvz As I'm not sure it's a TS or VS Code problem, please see Microsoft/TypeScript#19417 about an important problem with this new feature.


transparency issues

screenshots aren't transparent like the clear color
does making the window transparent cause a frame rate drop? (feels like it) if so, disable it when the clear color has an alpha of 1

WARN bevy_winit::system: Winit does not currently support updating transparency

open an issue in bevy for 1
https://gist.github.com/tomara-x/f2f24c47b23e94b961fd8913807bd155

this is whatever to me, and i also worry bevy folks might think it's also whatever, it is whatever


WSO2 APIM-3.1.0: "Character length exceeds the allowable limit" in API name and context

Describe your problem(s)
While creating an API in the publisher portal, if the API name or context is too long an error message saying "Character length exceeds the allowable limit" is displayed in both error notification in UI as well as in the wso2carbon logs. If the maximum character limit can be displayed in the error message it would be more meaningful and will guide the user with the naming/context policies.
Describe your solution

Create an API using any method(new REST API, openapi definition) in the publisher portal
Enter a very large value for name/context. E.g: testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
Click on Create/ Create and Publish button
You will end up with the following message in the UI error box and in wso2carbon.log

[2020-07-08 04:16:29,084] ERROR - ApisApiServiceImpl Error while adding new API : null-testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest-test - Character length exceeds the allowable limit
org.wso2.carbon.apimgt.api.APIManagementException: Character length exceeds the allowable limit

How will you implement it
Modify the error message with maximum character length.
E.g: Character length(provided value's length) exceeds the allowable limit(max character length)

@saranki  It is not required to mention the affected product version in the issue title. The affected version will be anyway recorded via a label, the information will be duplicated. The users not having write access to repo can add the "affected version" as a suggested label in the issue description.


Solid: [nx g @nxext/solid:app solid-app] TypeError: implementation is not a function

Describe the bug

To Reproduce
bunx create-nx-workspace --pm bun
cd my-app
bun add @nxext/solid -d
nx g @nxext/solid:app solid-app

Expected behavior
solid-app created
Additional context
bun package manager

The problem is, there are no default exports among all @nxext/... generators.
When I add the default export like this

Everything works fine.
Will fix it.

@sudokar it is done :)

@sudokar remember to create the workspace with any preset (Angular, React, what ever...) except None (ts/js) - it is because almost all both official and unofficial plugins do not support it.

Thanks @pawel-twardziak , Have just tested it resulted in an error. I think, it is not related to the nxext plugin or your changes. It is something from Nx itself, I think.

Thanks @pawel-twardziak , Have just tested it resulted in an error. I think, it is not related to the nxext plugin or your changes. It is something from Nx itself, I think.

Hi @sudokar yep, this comes from NX itself. There is a new default preset for workspace which is --preset=ts.
As I mentioned above, you need to select any other preset excet ts while creating a workspace.

I think we should re-introduce e2e tests for all packages, that would let us catch this kind of issue. Now only capacitor, ionic-react, and ionic-angular are fully tested.

yes.... there are many custom implementation details that are incompatible with the new NX20.
Currently I am manually testing and fixind all packages. But you are totally right - we need e2e tests to have it automated 👍


Sets text

@garciadelcastillo file updated.

Yuhuuuu, nice! 🎉 🎉
Merging! ⏫
Also @sonomirco , do not forget to update your current fork, to reflect changes that are happening in parallel! :)


Icons don't show in Vivaldi Browser

Icons don't show in the Vivaldi Browser - <IP_ADDRESS> (Developer Build) (64-bit).
Screenshot of getmdl.io page in browser:

As you can tell, we don’t support Vivaldi right now. Out of curiosity: Could try out this fix and tell me if it changes anything?

@surma Thanks for the response! Using the ligature actually works great in Vivaldi! I'll use that for now. Thanks a ton for your help!

Glad to hear :)


Allow to define a mandatory remote context at the project level

Motivation
There is at the moment no restriction when creating a resource and users are able to create resources of any type, any shape.
This change will allow to limit this a bit by forcing them to work with a given context and avoid some client related bugs and data related issues
Acceptance criteria

When a user creates/updates a resource, an error is thrown if this one does not contain this mandatory context if one is defined
If no mandatory context, no check is enforced

Closed in favour of #4525


(B3) Restart a node with different restart type

Mission:
All restart types must be executed. Measure the time it takes to catch-up and note down the current chain length.

restart a node using local DB
restart a node with --no-block-state-import
restart a node with --listen-grpc-port set to 9999 and start Concordium Client connecting to port 9999

Submission:

submit node ID
submit logs of startup sequence
provide feedback on measured time and chain length

Node ID
andrste
Logs will be submited

Node id - c998ab7b1c90cbd3
Weednigga
Full logs will be submitted

Node ID:
87d2f01db8d708eb
Full logs will be submitted
Node Name: xaochuk

Node ID: 076bd2a1bd4044a9
Full logs will be submitted

Node ID: Id: c5d124a969c5c7c1
Full logs will be submitted

Node ID: dffc35c76091ef28
Full logs will be submitted

Node ID
Logs will be submited

Name : preacher
Node id : ecd0a62d9160772d
Full logs will be submitted

Reserved

Node ID: Id: a5b03a5f223c4d99
Full logs will be submitted

Node ID: Id: 0d84e1f4f49382ae
Full logs will be submitted

node ID : dbd207ceb4bfdbc4
full logs will be submitted

Name: mrdaddy
Id: 93dcd872424fabf0
full logs will be submitted

Node ID: bc2de4c5285d3c08
full logs will be uploaded

Node ID : 49fdb7942847ee08
Node ID : 08801395abf8606a
full logs will be uploaded

Node ID: ce08d5145d5a0054
full logs will be uploaded

Node ID: 6fe8980a7725931a
Full logs will be submitted

Node ID: d30e8aeb7a633916
Full logs will be submitted

Node ID: a9c6033f7434f8f6
Full logs will be submitted

Node Id: 5b291dca7a4b5841
full logs will be uploaded

Node Id: 71c5e68705ee298d
full logs will be uploaded

Node Id: c575960f33c93f07
full logs will be uploaded

Node ID: 225411261eb488e8
Full logs will be submitted

Node ID:d7c1a503f310932f
Full logs will be submitted

Node ID: a6f14eff6e5e9204
Full logs will be submitted

node id: d5347e1737b50364
full logs will be submitted

Node Id: d4ace0e3ed903879
full logs will be uploaded

node id: 2838f783996f4c55
full logs will be submitted

Node Id: b1a710ac032a367f
full logs will be uploaded

Node Id: 8d8524f50c5ce09f
full logs will be uploaded

Node ID: 2268d9ccd6c00633
Full logs: [TODO]

Node ID : aae804235fb5a39e
full logs will be uploaded

Node ID: 9292a8c7c27ac33d
Logs : to be uploaded

Node ID:2cb1caa6ffabaacf
Full logs : to be submitted

Node ID: a716a8bf551f969e
full logs will be uploaded

Node ID : 1d3b0e7d15b7be69
name : angin
Full logs will be uploaded

Node name: alidemirel
Node ID:      cb9be1e8633bf93b
Full logs will be submitted

Node name : zeybek_omer
Node ID : 12f2711780683226
Full logs will be submitted

Node name : mrcnode
Node ID : 101ae99baf5b7843
Full logs will be submitted

Node ID: 19a6be158ad592f1
Full logs will be submitted

Node Name: BeytullahE
Node ID: Id: 31e7c56c49370691
Full logs will be submitted

Node ID: 654436cf379fc1d0
Full logs will be submitted

Node ID: 876d534cf6fa9f7b
Full logs will be submitted

Node name : bozzard
Node ID : 9b710cb25ef7c9ad
Full logs will be submitted

Node ID: 973acce424dbca3d
Full logs will be submitted

Node ID: 6e54c3091f81fc55
Full logs will be submitted

Node ID: d3f0897e637ff9ce
Full logs will be submitted

Node Name : mgsnn
Node Id : bd4734b63de8e19a
Full logs will be submitted

Node id: 50ff67b9b6d89248
Baker ID: 934

Node id: 73d3428cbde56927
Baker ID: 682

Node ID: cdf1400135749adc
Full logs will be submitted

Node ID: ac580bd551910bdf
Full logs will be submitted

Node Name : MinatoFund
Node ID : b37234959a375b35
https://dashboard.testnet.concordium.com/node/b37234959a375b35
Full logs will be submitted

Node ID: 5bbdaa9fd9d3f13d
Full logs will be submitted

Node ID: 04da7a8399c95de4
Full logs will be submitted

node ID:   d6decaa28e70c084
logs of startup sequence +  time and chain length
SUBMITTED to my repository

node ID:   d6decaa28e70c084
logs of startup sequence + time and chain length
SUBMITTED to my repository
https://github.com/MVPLA/Testnet3-Challenges/commit/845159613d5bf0e6702e7afca342d3db4e8e35b0

Node ID: 24d92aac7617a140
aokannn2
Full logs will be submitted

Node Name : edrolu
Node ID : bd35a764b4caa77f
https://dashboard.testnet.concordium.com/node/bd35a764b4caa77f
Full logs will be submitted

Node ID: f831ab99788ead80
Full logs will be submitted

Node ID   :   824c52c634fa7881
Full logs will be submitted

Düğüm numarası: 0b0fc0a2720f974f
https://dashboard.testnet.concordium.com/node/0b0fc0a2720f974f
tomruk başlatma dizisi + zaman ve zincir uzunluğu

Node Id : 8d01fe08ba949291
Node name : esmir
Full logs will be submitted
https://dashboard.testnet.concordium.com/node/8d01fe08ba949291

Node name: mgsnucr
Node ID: f19cc2517b1e9b37
Full logs will be submitted

Node name: Tagpesa
Node ID: 1d0d43818a001831
Link: https://dashboard.testnet.concordium.com/node/1d0d43818a001831
Full logs will be submitted

Node Name: tugba88
Node id: 881651fcdfdfc927
Full logs will be submitted
https://dashboard.testnet.concordium.com/node/881651fcdfdfc927

Node name :Ayşe55aLP
Node ID  :   59eddc588e6924d8
Full logs will be submitted
https://dashboard.testnet.concordium.com/node/59eddc588e6924d8

Node name : miniconcorde
Node ID : d105d00749efe743
Node Link : https://dashboard.testnet.concordium.com/node/d105d00749efe743
Full logs will be submitted

Name: Maje
Id: 345d9d66c25c94b1
https://dashboard.testnet.concordium.com/node/345d9d66c25c94b1
Full logs will be submitted

Node name : wxl2578
Node ID : 3111d8a5ab8f5220
Full logs will be submitted
https://dashboard.testnet.concordium.com/node/3111d8a5ab8f5220
note:
normal:
--no-block-state-import

Node ID: cc13e70de9984ba2
Node Name: breenline
Address: 4d46o4XE4yPXg4TJfSXT9FRxTBVEGqxMkqNbBohJCWqCVtSnZc
Link: https://dashboard.testnet.concordium.com/node/cc13e70de9984ba2
Logs will be submited soon


boards: arm: mimxrt1064_evk: Fix display support

Delete wrong LVGL_BITS_PER_PIXEL config and add mimxrt1064_evk
to the lvgl sample platform whitelist.
Signed-off-by: Loic Poulain<EMAIL_ADDRESS>

lgtm, I assume you tested this on a mimxrt1064_evk board?

Yes, mimxrt1064_evk with lvgl sample.


Bug/queue url validation too specific

Pull Request Test Coverage Report for Build 81

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 36.052%

Totals

Change from base Build 76:
0.0%

Covered Lines:
160

Relevant Lines:
377

💛  - Coveralls


chore: document supported APIs

I was thinking that it might be helpful to have an overview of the supported APIs by this Python module

Thanks for your PR! I think that there is no need to have such table, because work is still in progress and current project documentation show what we have currently - https://quickbuild.readthedocs.io/en/latest/

https://github.com/pbelskiy/quickbuild/issues/9


Angular 15

Description
Can we add angular 15 to supported peer dependencies?
Proposed solution
Add angular 15 to supported peer dependencies
Alternatives considered
None
Do you want to create a pull request?
Yes

Yes


Switching to use ethers and accept RPC url for token gating validation

📦 Pull Request
Updating to not require users to pass in a web3 object, and switching to use ethers.js library
✅ Fixed Issues

🚨 Test instructions

⚠ Don't forget to add a semver label!

:rocket: PR was released in v2.3.0 :rocket:


Update to Minecraft 1.21.3

Update Gradle wrapper to latest version (8.10.2)
Update to Minecraft to 1.21.3

Here is the compiled mod: inventory-tools-1.0-SNAPSHOT.zip


Release the checkpoint

Dear Authors,
I am impressed by your strong performance on pcqm4mv2. Considering the training cost, do you have any plan to release the checkpoints for further research use?
Best Regards

Yes, we plan to publicly release the weights of the trained models on the
PCQM4Mv2 dataset soon.
On Thu, Jun 9, 2022 at 2:29 AM Shufang Xie @.***> wrote:

Dear Authors,
I am impressed by your strong performance on pcqm4mv2. Considering the
training cost, do you have any plan to release the checkpoints for further
research use?
Best Regards
—
Reply to this email directly, view it on GitHub
https://github.com/shamim-hussain/egt_pytorch/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZG6XV6KPCUL74GTVWZR7LVOGFMBANCNFSM5YI4KIHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[stable/fluent-bit] Fix rbac api version

Signed-off-by: Jan Knipper<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR fixes rbac api version in fluent-bit template. Currently it always returns rbac.authorization.k8s.io/v1.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped

/ok-to-test
/assign

/lgtm


3 cost optimization runbooks

Three AWS Runbooks around cost optimization

@amit-chandak-unskript runbooks added without sanitization - so they should be good once the action is completed


WIP: JMS

Starts on JMS instrumentation #584

added producer but need tests and compatibility checks

looks like there's no appetite for JMS 2 in normal activemq, but there is in artemis.
http://activemq.2283324.n4.nabble.com/Discussion-JMS-2-0-API-support-tt4681089.html#a4697806
So, I'll swap the libraries and use normal activemq as an invoker test to ensure we don't accidentally depend on JMS 2.
Footnote: it is interesting so little interest in JMS 2, maybe this wasn't worth looking into, but anyway having gotten this far I'll complete it.

For those who regularly give back to zipkin community, in forms of support, advice or just being sympathetic.. here's a free look at how to instrument JMS! I've noticed none of you do, yet, so should save you quite a lot of time I hope.
@felixbarny from https://github.com/elastic/apm-agent-java
@nicmunroe from https://github.com/Nike-Inc/wingtips
@bogdandrutu from https://github.com/census-instrumentation/opencensus-java
@xylus from https://github.com/naver/pinpoint
@ivantopo from https://github.com/kamon-io/Kamon
@wu-sheng from https://github.com/apache/incubator-skywalking

next step is to pull out invoker test to force a clean classpath to check JMS 1.1 strictly, then write README, then pretty much done

invoker tests now run, but normal tests have junk in the log due to artemis config.. I'll sort that out and write readme after lunch

polished and ready to go. PTAL!

I can give it a go once it is ready in my local environments to see if there are any surprises.

self note: forgot unit tests for jms message header utility. forgot benchmarks

Tested on WebLogic JMS 12.2 https://github.com/jeqo/poc-brave-jms-weblogic and looking good!
Wondering if brave will also cover JMSConsumer and JMSProducer APIs introduced on JMS 2.0 also? reference: https://www.oracle.com/technetwork/articles/java/jms20-1947669.html

@jeqo sure will give a go. Thanks for the link

@jeqo I think 2.0 support implies wrapping the JMSContext, as otherwise when people call something like JMSConsumer.receiveBody() you might not know what the destination was..

switching "jms.destination" to "jms.topic" and "jms.queue" as destination has no common format which renders it useless for search

need to look into if there is any way to continue a tracing using JMSConsumer.receiveBody() as it isn't obvious how you'd hook into the message...

looks like internally activemq implements like this:
   @Override
   public <T> T receiveBodyNoWait(Class<T> c) {
      try {
         Message message = consumer.receiveNoWait();
         context.setLastMessage(ActiveMQJMSConsumer.this, message);
         return message == null ? null : message.getBody(c);
      } catch (JMSException e) {
         throw JmsExceptionUtils.convertToRuntimeException(e);
      }
   }

doing the same is fine, but I don't think we can because it will interfere with the ack tracking..

or we can just ack on close like they do..

nah can't interfere as implementations like qpid have a lot more logic.. https://github.com/apache/qpid-jms/blob/052125c5c5f1f4ea43ff9de5481a7de2a81bff7a/qpid-jms-client/src/main/java/org/apache/qpid/jms/JmsMessageConsumer.java#L229

even if we did, we couldn't continue the trace. For example, receiveBody returns an object. There's no rendezvous we can easily use to continue a trace. There's no thread context (as this is a return value). Maybe we could stuff.. something in a thread local, but there's no reason to expect someone to check there later.
For now, best thing I can think of is document that the "receiveBody" helper methods are unsupported and will result in traces breaking. Someone who later figures out a solution will at least have notes to help along the way.

current thought is to discourage use of JMS 2.0 receiveBodyX methods if observability is a priority. There's no clean way to hook into this and it is not adding much value to call sites over receive(), message.toBody(). Considering many drivers are commercially licensed, we won't be able to OSS all the possible hooks.
Another way is to make a receive(), message.toBody() decorator that users can opt-into. Will wait for demand on that.

ok waiting for feedback on JMSxxx 2.0 stuff before backfilling tests and benchmarks cc @jorgheymans @jeqo

PS It might be less work to create a TracingSession.. vs wrapping producers and consumers individually. Have to see how this fits with things like spring-jms first..

added more wrap than...
anyway if someone would like to try using JmsTracing.connection or connectionFactory would be grand. I can do more gruntwork after this feels it works (tons of tests etc)

Tested with JMS 2.0 APIs.
I'm very happy with the current API :+1:  thanks @adriancole !!

internally there's still too much copy/paste in message production side... this is due to a large inheritance tree. I'll try an enum command dispatch approach to... dispatch this problem

started tree'ing out the tests. Note: I'm not going for 100% coverage, but will make sure the dodgy areas are covered, particularly method dispatch. Planning on wrapping this up today

@jeqo thanks for all the testing.. it is really important!

OK by the way.. the radio silence was due to realizing JMS libraries commonly implement types "flat" meaning for example, connection factory also implements queue connection factory etc. The previous code path of treeing out the hierarchy actually interfered with that, masking based on what was passed in. Now, the code works more like artemis (activemq) by having some dispatch approach instead.

OK I will merge work in progress so that folks can test using snapshots which is ever more easy than using custom builds. test and polishing is easy as all the types are hidden except "JmsTracing"

On our snapshot repo (http://oss.jfrog.org/oss-snapshot-local) 5.3.0-SNAPSHOT should publish soon, including this feature


az datafactory pipeline create-run failed with an unexpected error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az datafactory pipeline create-run Extension Name: datafactory. Version: 0.7.0.
Errors:
The command failed with an unexpected error. Here is the traceback:
cannot import name 'DeserializationError' from 'azure.core.exceptions' (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\core\exceptions.pyc)
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 112, in handler
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\generated\_client_factory.py", line 44, in cf_pipeline
    return cf_datafactory_cl(cli_ctx).pipelines
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\generated\_client_factory.py", line 14, in cf_datafactory_cl
    from azext_datafactory.vendored_sdks.datafactory import DataFactoryManagementClient
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\__init__.py", line 9, in <module>
    from ._data_factory_management_client import DataFactoryManagementClient
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\_data_factory_management_client.py", line 15, in <module>
    from . import models
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\models\__init__.py", line 9, in <module>
    from ._models_py3 import AccessPolicyResponse
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\models\_models_py3.py", line 14, in <module>
    from .. import _serialization
  File "C:\Users\xxxx\.azure\cliextensions\datafactory\azext_datafactory\vendored_sdks\datafactory\_serialization.py", line 51, in <module>
    from azure.core.exceptions import DeserializationError, SerializationError, raise_with_traceback
ImportError: cannot import name 'DeserializationError' from 'azure.core.exceptions' (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\core\exceptions.pyc)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az datafactory pipeline create-run --factory-name {} --name {} --resource-group {}

Expected Behavior
Environment Summary
Windows-10-10.0.19045-SP0
Python 3.10.4
Installer: MSI

azure-cli 2.37.0 *

Extensions:
authV2 0.1.2
datafactory 0.7.0
storage-preview 0.8.3

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

@mike-f50 Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@mike-f50 Could you please update your Azure CLI version to the most recent version and check if that helps ?

@mike-f50 I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@mike-f50 The action is pending on you to try the above suggestion. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Shayda.022

https://github.com/tlack/snaphax/blob/1086791d88faaf222594273379549ca402b4ad3a/examples/fetch_all_new_photos.php#L20

Hey I was wondering are you able to hack a Snapchat for me?


prepare inital release used by xclim

clisops version:
Python version:
Operating System:

Description
Things to do:

prepare PR for xclim with clisops
use clisops in rook
update docs
optional: add notebook examples
upload to pypi
optional: conda package

see #31


[zd3d12] fixed RenderTargetWriteMask default to be ALL

According to https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_render_target_blend_desc
RENDER_TARGET_BLEND_DESC.RenderTargetWriteMask is the type of COLOR_WRITE_ENABLE and defaults to ALL.
This explains why there were a bunch of extra pso_desc.BlendState.RenderTarget[0].RenderTargetWriteMask = 0xf in our samples, while other d3d12 hello triangles used the default BLEND_DESC, which in turn used default RENDER_TARGET_BLEND_DESC

Thanks


monitor: Ctrl-]/Ctrl-t + Ctrl-f stopped working (IDFGH-9686)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v.4.4.3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Wroverkit V1
Power Supply used.
USB
What is the expected behavior?
According to the help menu in the idf.py monitor when I press Ctrl-t followed by Ctrl-f, the device should be reflashed. Similarly when pressing Ctrl-] in monitor mode, the mode should exit returning me back to the shell.
What is the actual behavior?
I (309) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Hello world!
This is esp32 chip with 2 CPU core(s), WiFi/BT/BLE, silicon revision 1, 2MB external flash
Minimum free heap size: 295104 bytes
Restarting in 10 seconds...
Restarting in 9 seconds...
Restarting in 8 seconds...
Restarting in 7 seconds...
Restarting in 6 seconds...
Restarting in 5 seconds...
Restarting in 4 seconds...
Restarting in 3 seconds...

Traceback (most recent call last):
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 361, in <module>
    main()
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 352, in main
    monitor.main_loop()
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 155, in main_loop
    self._main_loop()
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 259, in _main_loop
    super()._main_loop()
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 195, in _main_loop
    self.serial_handler.handle_commands(data, self.target, self.run_make, self.console_reader,
  File "/home/listout/esp/esp-idf/tools/idf_monitor_base/serial_handler.py", line 173, in handle_commands
    run_make_func('encrypted-flash' if self.encrypted else 'flash')
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 141, in run_make
    with self:
  File "/home/listout/esp/esp-idf/tools/idf_monitor.py", line 135, in __enter__
    self.console_reader.stop()
  File "/home/listout/esp/esp-idf/tools/idf_monitor_base/stoppable_thread.py", line 67, in stop
    self._cancel()
  File "/home/listout/esp/esp-idf/tools/idf_monitor_base/console_reader.py", line 97, in _cancel
    fcntl.ioctl(self.console.fd, termios.TIOCSTI, b'\0')
OSError: [Errno 5] Input/output error
idf_monitor failed with exit code 1

Steps to reproduce.

Build any example (such as hello_world)
Flash esp32 device using idf.py -p /dev/ttyUSB0 flash monitor
Try exiting the monitor using Ctrl-]

Debug Logs.
No response
More Information.
Could be related to https://github.com/espressif/esp-idf/pull/1209

aha. I'm also on 6.2.2

This does the trick for now, but it really should be moved to a different approach as this busy waits; this matches the approach in Windows in this file.  (I could see opening a pipe between the two threads and sending data such that the select gets it, or by using a signal to cause the read() system call to exit.)
diff --git a/tools/idf_monitor_base/console_reader.py b/tools/idf_monitor_base/console_reader.py
index b0ff5bd103..e8fe2d90fe 100644
--- a/tools/idf_monitor_base/console_reader.py
+++ b/tools/idf_monitor_base/console_reader.py
@@ -7,6 +7,7 @@ import queue
 import time

 from serial.tools.miniterm import Console
+from select import select

 from .console_parser import ConsoleParser
 from .constants import CMD_STOP, TAG_CMD
@@ -50,6 +51,13 @@ class ConsoleReader(StoppableThread):
                         while self.alive:
                             time.sleep(0.1)
                         break
+                    elif os.name == 'posix':
+                        while self.alive:
+                            r, _, _ = select([0], [], [], 0.1)
+                            if 0 in r:
+                                break
+                        if not self.alive:
+                            break
                     c = self.console.getkey()
                 except KeyboardInterrupt:
                     c = '\x03'
@@ -67,6 +75,8 @@ class ConsoleReader(StoppableThread):
             self.console.cleanup()

     def _cancel(self):
+        return
+
         # type: () -> None
         if os.name == 'posix' and not self.test_mode:
             # this is the way cancel() is implemented in pyserial 3.3 or newer,

@tim-nordell-nimbelink Thanks for the patch, can confirm that it's working. Can you create a PR with this patch? I really don't wanna downgrade my kernel or rebuild my kernel.

I have also encountering this issue on Linux 6.2.6-gentoo.
Can confirm that patch from @tim-nordell-nimbelink works for me!

Hi, thank you for reporting the issue, we were able to reproduce it and we will work on providing the fix.
If you are having the same issue, provided workaround seems to be working, but I wouldn't recommend using it with an interactive terminal because it does not support escape sequences - some useful features (such as navigation using arrows, autocomplete, etc.) will be missing.

@tim-nordell-nimbelink Thanks for providing the additional fix! This works for me on newer and older kernels and also in interactive and standard modes of the monitor.
You can create a PR to esp-idf-monitor and take credit for your contribution. We can make it work with minor tweaks. If you are not interested in creating PR, let me know, and I will do it.

The fix is linked and is included in esp-idf-monitor==1.0.4 bundled with ESP-IDF v5.1 or newer. For older ESP-IDF versions we will backport the fix separately. The fixes will be linked similarly.

so, I can "pip install esp-idf-monitor" and get 1.0.4 "installed" on my v4.4.4 environment, but idf.py monitor still runs the old version, and there doesn't appear to be any binary installed, the wrappers have obviously changed in v5+

The fix for the v4.4 branch is not yet merged.


API Update form schema to be more responsive to dynamic form changes

Required for https://github.com/silverstripe/silverstripe-asset-admin/pull/280

Current coverage is 70.11% (diff: 53.57%)

Merging #6119 into master will decrease coverage by 0.12%

@@             master      #6119   diff @@
==========================================
  Files           416        416
  Lines         35711      35727    +16
  Methods        4688       4689     +1
  Messages          0          0
  Branches          0          0
==========================================
- Hits          25083      25049    -34
- Misses        10628      10678    +50
  Partials          0          0

Powered by Codecov. Last update a08a854...1d42ae5

with this.submitApi is getting more complex, it'd be good to apply some unit tests for some of the expected actions that need to happen.

Fixed @flamerohr

Cool, this passes my review 👍

I need to rebase.

Rebased. :)

I've rebased; Will merge on green, since this has been reviewed and approved by the team.


daemon.js: Shouldn't run stockmaster if started by autopilot

At the moment, it does, leading to some unnecessary confusion where the second copy of stockmaster opens tail for the first one.

This was a bug in a change I pushed a few hours ago. It's fixed now


Add Cython coverage plugin

This only works with a small patch to Cython.
You can install the patched Cython from my fork with:
pip install git+https://github.com/oscarbenjamin/cython.git@pr_relative_paths

(I am about to open a Cython PR from that branch.)
Then to make a coverage enabled build you need:
meson setup build -Dcoverage=true

Then to run the tests and measure coverage it is:
spin run -- coverage run -m flint.test
coverage report
coverage html

Ideally once Cython is patched we can somehow put this altogether as a spin coverage command to make it nice and easy.
I basically had to rewrite Cython's coverage plugin, largely from scratch. I think that the only part left from the original after I rewrote everything is the parse_cfile_lines function.
For now we can merge this to python-flint but ideally this would be upstreamed to either spin or Cython I think so I will follow up with that after.

Then to make a coverage enabled build you need:
meson setup build -Dcoverage=true

Then to run the tests and measure coverage it is:
spin run -- coverage run -m flint.test
coverage report
coverage html

I've updated bin/coverage.sh to do all of these things.

@GiacomoPope @Jake-Moss
This should make it possible to do coverage measurement with the meson build. For now my patched Cython is needed:
pip uninstall cython
pip install git+https://github.com/oscarbenjamin/cython.git@pr_relative_paths

Then
bin/coverage.sh

should give you the coverage report.
Let me know if it doesn't work.

Oh cool! I'll have a play tomorrow, although now I've added the two types on my TODO list I probably have other implementation things to help people with!

Wonderful work thanks! It's working for me


Anchor Token Example

Adds an example Anchor program demonstrating:

How to create a token mint with metadata
How to mint tokens as rewards for in-game actions
How to burn tokens to "heal" player

updated! appreciate the awesome tool you've built


[Enhancement](alter inverted index) Improve alter inverted index performance with light weight add or drop inverted index

Proposed changes
Issue Number: close https://github.com/apache/doris/issues/19061
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

WIP

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.55 seconds
stream load tsv:          421 seconds loaded<PHONE_NUMBER>9 Bytes, about 169 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230511054404_clickbench_pr_142087.html

run buildall

run p0

run buildall

run buildall

run compile

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.33 seconds
stream load tsv:          446 seconds loaded<PHONE_NUMBER>9 Bytes, about 159 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          60 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          74.4 seconds inserted 10000000 Rows, about 134K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230524153832_clickbench_pr_149918.html

run buildall

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.22 seconds
stream load tsv:          446 seconds loaded<PHONE_NUMBER>9 Bytes, about 159 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          79.1 seconds inserted 10000000 Rows, about 126K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525101223_clickbench_pr_150402.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.2 seconds
stream load tsv:          446 seconds loaded<PHONE_NUMBER>9 Bytes, about 159 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          77.6 seconds inserted 10000000 Rows, about 128K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525101711_clickbench_pr_150411.html

run buildall

run p0

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.06 seconds
stream load tsv:          451 seconds loaded<PHONE_NUMBER>9 Bytes, about 158 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          76.9 seconds inserted 10000000 Rows, about 130K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230526072739_clickbench_pr_151120.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.54 seconds
stream load tsv:          445 seconds loaded<PHONE_NUMBER>9 Bytes, about 160 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.5 seconds inserted 10000000 Rows, about 392K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230526162219_clickbench_pr_151494.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.42 seconds
stream load tsv:          450 seconds loaded<PHONE_NUMBER>9 Bytes, about 158 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.4 seconds inserted 10000000 Rows, about 393K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230527145025_clickbench_pr_151879.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.08 seconds
stream load tsv:          445 seconds loaded<PHONE_NUMBER>9 Bytes, about 160 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.8 seconds inserted 10000000 Rows, about 387K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230527152638_clickbench_pr_151896.html


"terminal.integrated.env.linux" cannot override .bashrc variables

VSCode Version: 1.52.1
OS Version: Manjaro Linux 5.9.11-3-MANJARO

Steps to Reproduce:

set variable already defined in .bashrc to a new value using "terminal.integrated.env.linux" in settings.json
start terminal and do "export | grep {variable}" and it does not override .bashrc value

Does this issue occur when all extensions are disabled?: Yes/No

Duplicate of #47816

Duplicate of #47816


3D model turn black after conversion into gltf/glb

Hi, i have a problem in conversion into gltf and glb.
i have put all the material (.obj , .mtl , .jpg) into one folder then i convert it with basic command like this obj2gltf -i model.obj -o model.gltf
But, the result is like this https://imgur.com/oH5nueG
all side of the object turn into black and seems like the texture and color are not convert well..
is there anything that i miss when converting ?
FYI, this is my files which i want to convert..
https://imgur.com/9zzlG4g

it solved..
my model has the texture and its color..
i should put --materialsCommon after the model name of gltf. So, it should be like this
obj2gltf -i model.obj -o model.gltf --materialsCommon

Good that you solved it. Eventually we will add support for unlit materials https://github.com/AnalyticalGraphicsInc/obj2gltf/issues/130, so in the future you might be using --unlit instead of --materialsCommon.

Hi @fzlavr and @lilleyse ,
I've checked the option --materialsCommon's description out:

The glTF will be saved with the KHR_materials_common extension.

Why the missing of texture is related to this option?
So, every model with texture should be converted with this option in order to keep the texture?

The --materialsCommon option isn't required. The main issue was a Cesium bug where models without normals would get rendered as black. That was recently fixed in https://github.com/AnalyticalGraphicsInc/cesium/pull/6501.
So try without --materialsCommon and load the model in Cesium master, it should render correctly now.

Hello, I'm facing the same problem.
Which program are using to convert?
Thank you


Provide list or examples of acceptable values for parameters [userstudy]

When possible, put the information in the cmdlet reference, otherwise link to the appropriate documentation page for more description
Common issues:
Machine types
Zones
ACL

We did a push on adding cmdlet examples, links, etc. e.g. https://github.com/GoogleCloudPlatform/google-cloud-powershell/blob/c92a451013de4a100c7323442d6ff650c68b1ef2/Google.PowerShell/Storage/GcsBucketWebsite.cs#L23


ModuleNotFoundError: No module named 'overrides'

When I am trying to run the script "run_docred.sh", I got the this error. I unable to solve this issue. like no file named as overrides.
I checked the other python files, no function or classes named overrides found. the error:
  File "./train_balanceloss.py", line 12, in <module>
    from model_balanceloss import DocREModel
  File "/content/DocuNet/model_balanceloss.py", line 8, in <module>
    from element_wise import ElementWiseMatrixAttention
  File "/content/DocuNet/element_wise.py", line 2, in <module>
    from overrides import overrides
ModuleNotFoundError: No module named 'overrides'    ```

How to solve this issue?
Thank you

Hi!
May be you can try to "pip install overrides".

I tried with the above command. It works fine!. thank you

I solved the issue by using the above command. But I got an another issue
while running the script in colab :
(I am using DocRED dataset)
!bash scripts/run_docred.sh --transformer-type roberta
!!bash scripts/run_docred.sh --transformer-type bert
Even, the both the commands threw same error:
I got the following error:
Traceback (most recent call last):
File "./train_balanceloss.py", line 12, in
from model_balanceloss import DocREModel
File "/content/DocuNet/model_balanceloss.py", line 8, in
from element_wise import ElementWiseMatrixAttention
File "/content/DocuNet/element_wise.py", line 8, in
class ElementWiseMatrixAttention(MatrixAttention):
File "/content/DocuNet/element_wise.py", line 22, in
ElementWiseMatrixAttention
def forward(self, tensor_1: torch.Tensor, tensor_2: torch.Tensor) ->
torch.Tensor:
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/usr/local/lib/python3.7/site-packages/overrides/signature.py",
line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static,
method_name
File "/usr/local/lib/python3.7/site-packages/overrides/signature.py",
line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}: {name} is not present.")
TypeError: ElementWiseMatrixAttention.forward: matrix_1 is not present.
Traceback (most recent call last):
File "./train_balanceloss.py", line 12, in
from model_balanceloss import DocREModel
File "/content/DocuNet/model_balanceloss.py", line 8, in
from element_wise import ElementWiseMatrixAttention
File "/content/DocuNet/element_wise.py", line 8, in
class ElementWiseMatrixAttention(MatrixAttention):
File "/content/DocuNet/element_wise.py", line 22, in
ElementWiseMatrixAttention
def forward(self, tensor_1: torch.Tensor, tensor_2: torch.Tensor) ->
torch.Tensor:
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/usr/local/lib/python3.7/site-packages/overrides/signature.py",
line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static,
method_name
File "/usr/local/lib/python3.7/site-packages/overrides/signature.py",
line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}: {name} is not present.")
TypeError: ElementWiseMatrixAttention.forward: matrix_1 is not present.
Traceback (most recent call last):
File "./train_balanceloss.py", line 12, in
from model_balanceloss import DocREModel
File "/content/DocuNet/model_balanceloss.py", line 8, in
from element_wise import ElementWiseMatrixAttention
File "/content/DocuNet/element_wise.py", line 8, in
class ElementWiseMatrixAttention(MatrixAttention):
File "/content/DocuNet/element_wise.py", line 22, in
ElementWiseMatrixAttention
def forward(self, tensor_1: torch.Tensor, tensor_2: torch.Tensor) ->
torch.Tensor:
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 88, in overrides
return _overrides(method, check_signature, check_at_runtime)
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 114, in _overrides
_validate_method(method, super_class, check_signature)
File "/usr/local/lib/python3.7/site-packages/overrides/overrides.py",
line 135, in _validate_method
ensure_signature_is_compatible(super_method, method, is_static)
File "/usr/local/lib/python3.7/site-packages/overrides/signature.py",
line 95, in ensure_signature_is_compatible
super_sig, sub_sig, super_type_hints, sub_type_hints, is_static,
method_name
File "/usr/local/lib/python3.7/site-packages/overrides/signature.py",
line 136, in ensure_all_kwargs_defined_in_sub
raise TypeError(f"{method_name}: {name} is not present.")
TypeError: ElementWiseMatrixAttention.forward: matrix_1 is not present.
I couldn't able to find what is the error means?. I thought that something
is missing when I am running this model. How can I solve this issue?
Thank you.
On Sun, Jun 19, 2022 at 8:27 AM njcx-ai @.***> wrote:

Hi!
May be you can try to "pip install overrides".
—
Reply to this email directly, view it on GitHub
https://github.com/zjunlp/DocuNet/issues/20#issuecomment-1159605791, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AM3FPV326WVQNSVKEM3YSWTVP2ECNANCNFSM5ZBZATZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks & Regards,
Manivannan S
Post Graduate in Computational Biology

Hi, maybe this is caused by the wrong version of python packages.  Please create a virtual python environment and  use pip install -r requirements.txt.


DMG support for AIR SDK

Implemented SdkDMGUnpacker
Fix for #241

Awesome, looks great! Thanks for the PR!

👍

Can I try a version with this fix without building gradlefx myself (still haven't tried to build it on my own)

Sure
Add next line to repositories block
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
Then add -SNAPSHOT to the version, for example
classpath group: 'org.gradlefx', name: 'gradlefx', version: '1.5.1-SNAPSHOT'

works great, thanks!

It doesn't work with Adobe AIR 28 Beta, any simple solution?

Could not resolve com.adobe:AdobeAIRSDK:28.0.
Could not parse Ivy file http://fpdownload.macromedia.com/pub/labs/flashruntimes/air/AIRSDK_Compiler.dmg

Works great with release AIR 28


No viable required status check

From what I can gather, PullRequestHandler determines whether a PR requires a check and skips it if it doesn't. Which is nice, but if I want to use it as a required status check, I run into a problem because all PRs that don't trigger will be waiting for a check that never shows up.
I'm not entirely sure I fully understand what causes the workflow to not fire - the YAML ignores Markdown files and only looks for PR with main as the target, but whenever I run an action that changes the repo such as CreateNewPerformanceTestApp, PullRequestHandler also won't fire even through there are multiple new AL object files.
I'd prefer it if the status check always ran, while still ignoring changes to Markdown files - I at least need a successful test to get past the status requirement.

Edit: I noticed that PullRequestHandler finishes before CI/CD, so I realize that is another oversight. Of course, you could use the standard CI/CD workflow, but that just means any changes that don't trigger that workflow will be stuck.

With the changes currently in preview, this should be fixed.
The PullRequestHandler will be responsible for the actual build.

v3.0 has the new PullRequestHandler


SPARKC-325: Provide an extension for New Driver Types

Allow for extending the fromDriverRow method of columnType. This
extension point should allow for custom cassandra types known by the
driver to be read.

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with failure

Build against Scala 2.10 finished with success

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with failure

Looks good. Will be nice if you add some test :)

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with failure

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with failure

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

+1


Catalyst audit:N-17 unused named return variables

Description
Catalyst and dependencies audit report fixes

Dev
Any explanation for the devs that will review your implementation/code.
Qa
Any guidance or important information for the team that will be testing your solution.

Note: you can add any additional information you think is important for giving context to your PR.

Checklist and Markdown

[ ] Remember you could add any type of formatting to enhance your PR.
[ ] Like this checklist
[ ] And with this markdown format

This PR should be closed IMO


JuiceFS WebDAV backend does not work with Rclone WebDAV server in Windows

What happened:
I can't use JuiceFS with WebDAV served by rclone just as the title indicates
What you expected to happen:
It works
How to reproduce it (as minimally and precisely as possible):

Install WinFSP
Install Rclone and JuiceFS
Setup any rclone remote
Serve a rclone remote using WebDAV
(Optional) Copy a random file to the WebDAV "drive" using any client (mine is using native Windows network drive in explorer) and confirm writing works
Format a WebDAV backed JuiceFS using any metadata engine of your likes. I use Sqlite so that it is the original environment plus it is easier to create
Mount the WebDAV backed JuiceFS to any drive
Try to copy a file to the JuiceFS drive
Expect Failure
(Optional) Repeat step 6 but use a local filestore and compare the result

Anything else we need to know?
It seems like something is wrong with rclone more than juicefs?
2022/02/17 20:39:55 DEBUG : /chunks/0/4/4001_0_4194304: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:39:55 DEBUG : /chunks/0/4/4001_0_4194304: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:39:55 INFO  : /chunks/0/4/4001_0_4194304: PUT from <IP_ADDRESS>:58578
2022/02/17 20:39:55 DEBUG : /chunks/0/4/4001_1_2570038: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:39:55 DEBUG : /chunks/0/4/4001_1_2570038: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:39:55 INFO  : /chunks/0/4/4001_1_2570038: PUT from <IP_ADDRESS>:58579
2022/02/17 20:39:58 DEBUG : /chunks/0/4/4001_0_4194304: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:39:58 DEBUG : /chunks/0/4/4001_0_4194304: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:39:58 INFO  : /chunks/0/4/4001_0_4194304: PUT from <IP_ADDRESS>:58586
2022/02/17 20:39:58 DEBUG : /chunks/0/4/4001_1_2570038: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:39:58 DEBUG : /chunks/0/4/4001_1_2570038: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:39:58 INFO  : /chunks/0/4/4001_1_2570038: PUT from <IP_ADDRESS>:58587
2022/02/17 20:40:02 DEBUG : /chunks/0/4/4001_0_4194304: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:40:02 DEBUG : /chunks/0/4/4001_0_4194304: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:40:02 INFO  : /chunks/0/4/4001_0_4194304: PUT from <IP_ADDRESS>:58592
2022/02/17 20:40:04 DEBUG : /chunks/0/4/4001_1_2570038: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:40:04 DEBUG : /chunks/0/4/4001_1_2570038: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:40:04 INFO  : /chunks/0/4/4001_1_2570038: PUT from <IP_ADDRESS>:58596
2022/02/17 20:40:11 DEBUG : /chunks/0/4/4001_0_4194304: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:40:11 DEBUG : /chunks/0/4/4001_0_4194304: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:40:11 INFO  : /chunks/0/4/4001_0_4194304: PUT from <IP_ADDRESS>:58605
2022/02/17 20:40:15 DEBUG : /chunks/0/4/4001_1_2570038: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:40:15 DEBUG : /chunks/0/4/4001_1_2570038: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:40:15 INFO  : /chunks/0/4/4001_1_2570038: PUT from <IP_ADDRESS>:58611
2022/02/17 20:40:29 DEBUG : /chunks/0/4/4001_0_4194304: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:40:29 DEBUG : /chunks/0/4/4001_0_4194304: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:40:29 INFO  : /chunks/0/4/4001_0_4194304: PUT from <IP_ADDRESS>:58666
2022/02/17 20:40:33 DEBUG : /chunks/0/4/4001_1_2570038: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw-
2022/02/17 20:40:33 DEBUG : /chunks/0/4/4001_1_2570038: >OpenFile: fd=<nil>, err=file does not exist
2022/02/17 20:40:33 INFO  : /chunks/0/4/4001_1_2570038: PUT from <IP_ADDRESS>:58674

I tried both OneDrive and Local filesystem remote in rclone. Both of them fails.
It could be fixed by creating the file if not found before PUT operation maybe? But in most case it should be automatically created, but it is strange why this is not the case.
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version: juicefs version 1.0.0-beta1 (2022-01-13T15:45:45Z 28a42cf)
Cloud provider or hardware configuration running JuiceFS:
OS (e.g cat /etc/os-release): Windows 11
Object storage (cloud provider and region, or self maintained): self-maintained
Metadata engine info (version, cloud provider managed or self maintained): sqlite, just for test
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage): sqlite is local, object storage is "managed" by rclone (so it could go to OneDrive, iCloud, Backblaze, etc...)

I've tested an Rclone Linux WebDAV backend with JuiceFS Windows end. Somehow it works. So it's an Windows only issue.

@stevefan1999-personal Without WebDAV, doest JuiceFS work in your Windows?

@stevefan1999-personal Without WebDAV, doest JuiceFS work in your Windows?
of course

@stevefan1999-personal  Sorry, I didn't reproduce this problem, my test result is that juicefs can use the webdav service exposed by rclone serve webdav as storage.
I recommend compiling the latest executable tests using our main branch, and can first use the webdav service directly as storage for juicefs to rule out possible problems with rclone.

@stevefan1999-personal  Which version of rclone are you using ?   I was using rclone v1.57.0 when testing. It's work.

@stevefan1999-personal Which version of rclone are you using ? I was using rclone v1.57.0 when testing. It's work.

1.57.0

Can't reproduce the issue, close it for now. Reopen it if needed.

@davies Oh because I switched to Linux and it works very well over there...


[Feature request] ExtendedImageGesturePageView can add scroll loop?

Platforms
dart, Android, iOS
Description
I need ExtendedImageGesturePageView add scroll loop, like swiper banner，infinite loop。
Why
No response

no plan, it's not the same thing.

index=index% total, and don't set pageCount


Not implemented Stream methods are expected to throw NotSupportedException

Hi,
As in
https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Compressors/LZMA/LZipStream.cs#L108
all other software expects that to throw a NotSupportedException as a normal condition to detect they cannot seek or get the size, however throwing a NotImplementedException makes other libraries (e.g. DotNetZip) not work properly.
E.g.:
https://github.com/haf/DotNetZip.Semverd/blob/fbad143e71ab3069b1bd7ae17eabb81543747457/src/Zip.Shared/ZipEntry.Write.cs#L1510

Happy to change the exception if you don't mind submitting a PR to clean that exception (and possibly other locations)


100-continue handled incorrectly

Describe the bug
From RFC: https://tools.ietf.org/html/rfc7231#section-5.1.1
Requirement for clients:

A client MUST NOT generate a 100-continue expectation in a request that does not include a message body.

The current code always returns true, even with an empty message body.
Expected Behavior
Change to self._expect_header_set = headers.get('Content-Length') != '0'
Current Behavior
botocore will incorrectly generate a 100-continuation.
Reproduction Steps
Had this bug with minio. I don't have a repro local, but did cite the RFC.
Possible Solution
I'll submit a PR. It's a simple change.
Additional Information/Context
No response
SDK version used
develop
Environment details (OS name and version, etc.)
macos, python 3.9

Thank you for bringing this to our attention
We have had this issue reported a number of times; one of the boto maintainers gave an in depth explanation of the complexity of the issue here.  We currently have an open PR for an experimental opt in header to solve this issue.


[FEATURE REQUEST] google translator also in other blogs too similar to Depression & Suicide blog

Go for it!
but please synk with current changes in repo


Offset problem

The offset problem still exist if the div has several wrappers parent node between , it seems that can be solved by change the the calculate method of scrollTop.

Fix the wrapper offset bug. Now the click can work well even the globe's parent has scroll.


feat: implement 0x38 - CODESIZE Opcode

SinceGroupFrontierEnvironmental InformationIndex 1 is top of the stack. See PUSH.NotesEach instruction occupies one byte. In the case of a PUSH instruction, the bytes that need to be pushed are encoded after that, it thus increases the codesize accordingly.Stack outputsize: byte size of the code.ExampleInputOutput132Reproduce in playground.Error casesThe state changes done by the current context are reverted in those cases:Not enough gas.Stack overflow.

I can work on this.


Where are the config files ?

No submodule, no config.py

Right now you need to create config.py by yourself - an example is in the readme.
I'll think of better guide for newcomers, in the meantime you may check this wonderful guide on Reddit.

this guide is so great.
why is it not in the readme :D?

Because I was too lazy and focused on making it work in the first place :smiley: I'll be cleaning the code soon, and I'll think about a guide then.

Well, let me handle it then :)
I should have a little downtime this weekend, you can focus on more important heatmaps then ;)


Cross validation for CoxTimeVaryingFitter

Just wondering if cross validation can be used in time-varying Cox model. This feature will help select the best parameter values of l1_ratio and penalized. Thanks.

Hi @liaochen1988 - I don't know how to do this, since the CoxTV model can't do prediction!


"gimm1q" on modmenu

hey! i dont know is it issue or not, but I recently downloaded the Mine Cells - Dead Cells Mod with the oωo (owo-lib), and when Iam using them, the "gimm1q" section is appearing on modmenu, with no description, no photo and etc. is ts supposed to be like that?

Yes, Gimm1q is my library that I use in a few of my mods to make things a bit easier for me 😅
It's open source and available here: https://github.com/mim1q/gimm1q
Thanks for bringing this to my attention, I will update it to have a short description so people know it's supposed to be there!


Improve contributing instructions

I tossed in some really basic instructions for contributing but didn't really cover some of the github basics.  Please update to be more complete.

Can i take this @acrosman ?

Resolved by #5


Use ConciseFormatter over custom formatter implementation

Allows overriding the date format in chat logs as before with the system
property "net.md_5.bungee.log-date-format"
Fixes #13

Really sorry, this PR got buried in my notifications. 😭
We were using the ConsiseFormatter before, but it got removed/moved in BungeeCord 1.14 I believe.
4e2e0b4d9b806ff3761f0677ca9f626263a3b136

Yeah you removed it but I'm not quite sure why. The implementation is almost identical, except it fixes #13

Ah ok sorry, I should've gone back to read that issue.
Thank you! :)


JRuby support

Would you be opposed to including equivalent extension code for JRuby? The port should be pretty straightforward: I have done similar for other small extensions like Psych and the code can be nearly a 1:1 match.
rinku is a direct dependency of Discourse, which we would like to support on JRuby.

I would absolutely not be opposed, this would be a delightful addition.
One thing I should mention is that I lack experience with JRuby itself, so I might need to delegate maintenance (if any — this library is pretty stable) to the community.
If this is fine with you, then by all means!

That seems reasonable to me. I will start a port on a fork and we'll see if we can bang this out!

I started doing a port, but then realized it may be easier to wrap an existing library and just make it match rinku's API. So I started that process here: https://github.com/robinst/autolink-java/issues/20
The autolink-java library says in its README that it is "inspired by rinku" so I'm hoping the mapping will be pretty close.

:+1: Neat! Let me know how that goes/if I can give any more assistance on this side!


feat: token mgmt

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?

Changes
Please describe.
How did you test this code?

Please describe.

Codecov Report
Patch coverage: 87.23% and project coverage change: -0.01 :warning:

Comparison is base (583e248) 95.43% compared to head (71b6778) 95.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2436      +/-   ##
==========================================
- Coverage   95.43%   95.43%   -0.01%
==========================================
  Files         963      964       +1
  Lines       27061    26985      -76
==========================================
- Hits        25827    25753      -74
+ Misses       1234     1232       -2

Impacted Files
Coverage Δ

api/app/settings/common.py
87.36% <ø> (ø)

api/audit/tasks.py
96.07% <ø> (ø)

api/environments/permissions/permissions.py
74.11% <ø> (-2.30%)
:arrow_down:

api/projects/permissions.py
88.00% <ø> (-3.75%)
:arrow_down:

...pi/tests/unit/features/test_unit_features_views.py
100.00% <ø> (ø)

...ts/unit/permissions/permission_service/conftest.py
100.00% <ø> (ø)

api/permissions/permission_service.py
81.60% <51.61%> (-16.61%)
:arrow_down:

api/api_keys/user.py
89.65% <89.65%> (ø)

api/api_keys/authentication.py
100.00% <100.00%> (ø)

.../api_keys/migrations/0003_masterapikey_is_admin.py
100.00% <100.00%> (ø)

... and 16 more

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Piston Exploit

*Description of issue: Restricted Blocks by piston movement are reset after server restart
How to reproduce: Place a restricted block, moove block with a piston, restart server, break the restricted block, see the bug.

CONFIG SECTION:
  GOLD_ORE: -1
  IRON_ORE: -1
  COAL_ORE: -1
  LAPIS_ORE: -1
  DIAMOND_ORE: -1
  REDSTONE_ORE: -1
  EMERALD_ORE: -1
  NETHER_QUARTZ_ORE: -1

Server Type (Spigot/Paperspigot/etc): Paperspigot
Server Version (using /ver): git-Paper-143 (1.15.2)

We don't know what you wants with this. There is too little information to know what you want. Is that at all related to Jobs? I don't think so because a block can be moved at any time with a piston.
If you could make a video or GIF, we know what an exploit is. The fact that "see the bug" does not see anything is working correctly.

When PlaceAndBreakProtection is enabled, if a block is placed and is set to -1 in the RestrictedBlock, it should no longer be able to remunerate on a job (with break action).
When a piston move the restricted block, the protection still work and the player receive no remuneration. But after the restart, this same block is no longer protected and pays out again if it's broken.
The problem is that most servers reboot every day.
So players can place blocks and move the RestrictedBlocks with pistons, wait until the next day and receive money.
Please excuse my English, I hope I made myself understood.

Currently seams to be working as it should and block protection is transferred over server restart.


Application Metrics for Swift Documentation Outdated

The documentation on the Learn - Application Metrics for Swift page is currently outdated. SwiftMetrics is now already included when using kitura init, and adding the code as instructed starts a second SwiftMetrics instance leading to the dashboard displaying multiple versions of each metric (e.g. memory, cpu, etc.):

Environment Details
macOS 10.13.5, Swift 4.2.1, Xcode 9.4.1
Steps to Reproduce

Run kitura init to create a new project
Follow the steps on the Learn - Application Metrics for Swift page to add SwiftMetrics to the project
Run the project and access the SwiftMetricsDash from localhost:[port_no]/swiftmetrics-dash
Each metrics graph is duplicated multiple times and are incorrectly displayed.

Moving the issue to https://github.com/IBM-Swift/Kitura.io instead


.NET 5 Support

I haven't yet had a chance to test this. I would guess that the current .NET 3.1 version will run fine, but definitely the plan is to compile Mighty fully under .NET 5 and release a native version at some point soon.

Realise that with new deprecation of old versions of .NET Core this is now urgent. In progress!

To be addressed via #29.


add black_candy

Add BlackCandy,  A self hosted music streaming server.

@aidewoode Thanks for your contributions!


Searching in HLS streams via Firefox in Paella 7.x hangs

When searching in HLS streams ( when using firefox as a browser ) the player tends to "hang" after a couple of clicks on the timeline. We are seeing this same issue for paella 6.x as well. We can only reproduce this in Firefox ( on MacOS and Windows ), when using an HLS.js browser extension to directly play the m3u8 file in the browser there is no issue, searching works fine then.
The browser console shows no errors, warnings or anything like this.

Have you checked if the HLS is well set (with the GOP every two seconds and with a key frame for every GOP)?
That helps a lot with this type of mini-hangs. The other idea is to experiment with the HLS.js parameters in the paella configuration file.

@kristofkeppens I made a pull for HLS.js project on this https://github.com/video-dev/hls.js/pull/4667


forceSimulation: number too small: cx="-3.2056569513393925e-168", Safari 15.4

I created the simplest possible program that reproduces the following endlessly streaming error messages in Safari 15.4:

Error: Invalid value for  attribute cx="-3.2056569513393925e-168"
Error: Invalid value for  attribute cy="1.64703629808156e-168"

The program simply creates 2 nodes, with no links, and runs the simulation. After 1 second, I delete one of the nodes.
After 10 seconds pass, the errors start streaming.
The message stops only when I click on the node with the drag function, which apparently rectifies the values.
I discovered I can fix it in my code like this in the "tick" callback function:
sim.nodes
.attr( "cx", d => ( d.x + 0.0 ) )
.attr( "cy", d => ( d.y + 0.0 ) )
//  .attr( "cx", d => ( d.x + 0.000000001 ) ) // fixed!
//  .attr( "cy", d => ( d.y + 0.000000001 ) )
;
This looks like a JavaScript number parsing problem, where some calculation result is converted to a string, but can't be converted back.
The error does not appear in Firefox.
These are the files:
https://github.com/mthiebaux/D3JSdemo/blob/main/isolate_bug.html
https://github.com/mthiebaux/D3JSdemo/blob/main/isolate_bug.js

This is not a bug with d3-force but with using the values directly as SVG attributes. If there’s a fix here, it’s when you set the attributes (in your code, e.g. by calling number.toFixed instead of relying on the implicit number.toString), but it’s surprising to me that Safari errors here and I’d probably just recommend ignoring the errors.

I appreciate the prompt followup, from Mike Bostock himself!
I see that it's a browser problem, but the error streams. The reason I brought it here is that the value d.x is generated internally.
In this boilerplate chaining expression, the value d.x is generated within d3-force, not the app:
.attr( "cx", d => d.x )
The Safari patch replaces it with this:
.attr( "cx", d => d.x.toFixed( 100 ) )
But this suggests that this patch need apply to all other internal dynamic variables which the app doesn't explicitly set, but passes through.
In context:
d3.forceSimulation()
.on( "tick", () => {
nodes.attr( "cx", d => d.x )
} );


⚠ SceneTime has degraded performance

In a617740, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1467 ms

Resolved: SceneTime performance has improved in ec43ad6 after 6 minutes.


fixFix alter column stats bug.

Encode the min and max value with base64 encoder while inject the column stats.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


update column size

Coverage remained the same at 65.293% when pulling 3b3a464ce1b377c59b9f7e670e2918a3140335d5 on indriHutabalian:dev into 3dfee4cc8f1bef9a8ed2ec26287045c3a79bbe57 on danliris:dev.


[JENKINS-51070] - Caching: Add a warmup call for dependency:get

dependency:get now always gets invoked in the offline mode. If the artifact is missing in the local repo, caching won't work properly
[INFO] --- custom-war-packager-maven-plugin:0.1-alpha-3:custom-war (default) @ artifact-manager-s3-demo ---
Mar 28, 2018 1:39:04 AM io.jenkins.tools.warpackager.lib.impl.Builder buildIfNeeded
INFO: Will checkout jenkins-war from git: git: https://github.com/jglick/jenkins.git, checkout: 2090468d82e49345519a2457f1d1e7426f01540b
[INFO] Scanning for projects...
[WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.147 s
[INFO] Finished at: 2018-03-28T01:39:05Z
[INFO] Final Memory: 7M/106M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been downloaded from it before. -> [Help 1]

https://issues.jenkins-ci.org/browse/JENKINS-51070

Hi @oleg-nenashev I'll pick this one ;-)

::+1:

My first try to build the project ran into the following issue:
[INFO] --- spotbugs-maven-plugin:3.1.12:check (spotbugs) @ custom-war-packager-lib ---
[INFO] BugInstance size is 3
[INFO] Error size is 0
[INFO] Total bugs: 3
[ERROR] Redundant nullcheck of istream, which is known to be non-null in io.jenkins.tools.warpackager.lib.config.Config.loadDemoConfig() [io.jenkins.tools.warpackager.lib.config.Config] Redundant null check at Config.java:[line 92] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Redundant nullcheck of istream, which is known to be non-null in io.jenkins.tools.warpackager.lib.model.bom.BOM.load(Class, String) [io.jenkins.tools.warpackager.lib.model.bom.BOM] Redundant null check at BOM.java:[line 99] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
[ERROR] Nullcheck of stream at line 141 of value previously dereferenced in io.jenkins.tools.warpackager.lib.util.MavenHelper.listDependenciesFromPom(File, File, File) [io.jenkins.tools.warpackager.lib.util.MavenHelper, io.jenkins.tools.warpackager.lib.util.MavenHelper] At MavenHelper.java:[line 141]Redundant null check at MavenHelper.java:[line 152] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE

Is it already known?

Or am I building it with the wrong JDK? 😳

@oleg-nenashev I still cannot figure it out how to reproduce this. Can you please add some details about the test case?


Kind config in kind-cluster-build.sh can't run when the local docker registry is running

Bug Report
What version of Kubernetes are you using?

1.15.6 which is the default version specified in the script.
What did you do?

hack/kind-cluster-build.sh

What did you expect to see?
A new kind cluster should be started.
What did you see instead?
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.15.6) 🖼
 ✗ Preparing nodes 📦 📦 📦 📦
ERROR: failed to create cluster: docker run error: command "docker run --hostname kind-control-plane --name kind-control-plane --label io.x-k8s.kind.role=control-plane --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp --tmpfs /run --volume /var --volume /lib/modules:/lib/modules:ro --detach --tty --label io.x-k8s.kind.cluster=kind --net kind --restart=on-failure:1 --publish=<IP_ADDRESS>:5000:5000/TCP --publish=<IP_ADDRESS>:57565:6443/TCP kindest/node:v1.15.6" failed with error: exit status 125
Command Output: e1e494ee25ecade2a3c919223ccd96305a3db28cef9e8554f0bdeeaf4cccd76f
docker: Error response from daemon: driver failed programming external connectivity on endpoint kind-control-plane (239ac0c526190f879dd8fd564f69335b39ae6f29b1e1120c5b4356d86ddc748a): Error starting userland proxy: listen tcp <IP_ADDRESS>:5000: bind: address already in use.

In short, the port 5000 specified in the extraPortMappings is conflicted with the local docker registry, it's the same in install.sh install_kubernetes_by_kind func. However, the development guide assumes that we run a local docker registry.
I would like to suggest fixing it by the approach that kind recommended: https://kind.sigs.k8s.io/docs/user/local-registry/ I referred to this doc and set up the local env successfully. I can create a PR if it's acceptable.

@namco1992 This a good improvement. Looking forward to your PR!

@cwen0 Thanks! I will work on this.

666

Not stale, will work on it soon, sorry.


[Question] How to reload .vindrc?

Right now I simply close and re-open the app, but is there a way to reload .vindrc? Something like :so %?

You can reload .vindrc with :source or :source ~/.win-vind/.vindrc.
The former syntax reloads the same as the .vindrc loaded at startup. By the way, :source can be abbreviated as :so.
Thanks.

Make sense!


Wayland: how go fullscreen

How to set the screen to go fullscreen with the wayland driver.
There is a top bar with date and time that I want to remove from the screen.
Thanks

@WallaceIT made a major improvement on the Wayland driver.
Francesco, could you take a look?

Hello,
fullscreen has not been implemented yet, though it should not be too difficult. I'll try to take a look at it during the weekend.

Thank you, I will give it a try!

Opened pull request #196 on the subject

The PR is merged so I close thi sissue.


Cannot process the original python manual.

Took it there, log.

I am not sure what do I have to do about it -  if anything. After all kindlegen is closed source maintained by Amazon, may be it make sense to complain to them instead?
"Error(parsing):E3013: More number of characters are hidden using display:none than allowed limit. Limit: 10000  in file: 10000 line: 10000"