Action after clicking an image

Hi,
I'm new in littlevgl.
Is there a way to make action after clicking in an image, or a container?
I know, it is possible to make it clickable with lv_obj_set_click(... , ...) but I don't know how to associate an action.
With button or buttonMatrix, I can use lv_btnm_set_action( ..... ) or lv_btn_set_action( ..... ) , but with an image or a container, what can I do?
Please help me please
Thank you very much

Hi,
Right now there no simple way to add action to an image.
lv_icon is a planned new object type which will make exactly this.
Now you can create a  button with transparent style and create an image on it.
Now for the image lv_obj_set_click(img, false) because the background button should be clicked.

Thank you for your answer,
How to add a personalised image to a button? or Should  I just place the image above the transparent button?

    lv_obj_t * btn1 =  lv_btn_create(lv_scr_act(), NULL);
    lv_btn_set_fit(btn1, true, true);                        /*Automatically increase the size to involve all children (now only the image)*/
    lv_btn_set_style(btn1, LV_BTN_STYLE_REL, &lv_style_transp_tight);   /*Transparent style for released button*/
    lv_btn_set_style(btn1, LV_BTN_STYLE_PR, &lv_style_transp_tight);   /*Transparent style for pressed button*/
    lv_btn_set_action(btn1, LV_BTN_ACTION_CLICK, lpr_test);
    lv_obj_t * img = lv_img_create(btn1, NULL);                         /*Create the image on 'btn1'*/
    lv_obj_set_click(img, false);                                  /*Don't let to click to the image (click the background button instead)*/

Oh my God it work,
Thank you very much
I have another question but I wanna create a new issue because may be it help another persons
Thank you, Thank you

Great! :)
Okay, I will check it!

I just had this same issue but already came to this conclusion. What is the reason for allowing an object to be clickable when there is no way to set an action? Seems redundant to me!

"clickable" is a more general attribute the "actions". For example:

It is required to scroll an lv_page. You need to be able to click on the scrollable part to scroll it.
If you have multiple layers (or a pop-up) then the layer's background should be clickable too. It ensures not the objects on the back layer will be clicked.

Thanks for the explanation :+1:


Add csv reader config on Hadoop segment creation job

On pinot-admin CreateSegment command has -readerConfig option.
But pinot-hadoop SegmentCreation command doesn't have it.

Closed this PR due to 6 months inactivity. Reopen if needed.


Can't delete last element (v3.0.2)

Problem was on this version: v3.0.2
Composer: "webchemistry/forms-multiplier": "^3.0"
When I want to remove all elements with remove button, it's impossible to do that with the last element.

Component with name 'multiplier_remover' already exists.
Throws: Nette\InvalidStateException

`/** @var \WebChemistry\Forms\Controls\Multiplier $multiplier */
$multiplier = $form->addMultiplier('multiplier', function (Nette\Forms\Container $container, Form $form) {
$container->addTextArea('value');
}, 0);
    $multiplier->setValues($defaultValues);
    $multiplier->addCreateButton("Add")->addClass('btn_add');
    $multiplier->addRemoveButton("Remove")->addClass('btn_remove');`

On version 2.x it works.

Bug was solved in last commit. I release new version

Thank you for quick reply. I updated multiplier to last version and I don't see this error, but there is still error with the last element.
Now I can delete last element, but when I want to send this form, I can't do that, because it generates new required element with text:

Please select a valid option.

I haven't used setRequired method.
Now it works with empty prompt: ->setPrompt('')

Can you try last commit? If it don't help, please send me code.


Allow optional reason arguments to be surrounded by smart quotes in addition to straight quotes

The report and scan options support passing an optional reason for reporting posts in "quotes". However, that option only works for "straight quotes", and not  “smart quotes” (unique characters for beginning and ending quotes).
On Windows and Linux computers, and Android devices, this isn't much of an issue, as the keyboard types in straight quotes by default. However, Apple devices (both macOS and iOS) type smart quotes by default: in order to type a straight quote on iOS, one must tap and hold the quote key as if typing a special character. The two types of quotes are hard to tell at first glance, so it's not completely clear why a report command fails for some reason if this happens. (This isn't merely an Apple issue: users of other platforms can easily configure their systems to type smart quotes, if they'd like to use those for some reason.)
Can we please make SmokeDetector's report and scan commands recognize and accept smart quotes for the optional reason argument, and not just straight quotes?

I think they can be turned off on Apple devices, too; I certainly don't suffer much from them (though the text replacement feature on IOS insists on switching to (not so) smart quotes when expanding a canned phrase).
A complication is that different languages use different quote marks, though I don't know if the "smart" quotes are quite so smart.  See e.g. https://jakubmarian.com/map-of-quotation-marks-in-european-languages/

I have experienced this issue before, but this can be easily fixed on iOS:

Go to Settings
General
Keyboard
Turn off "Smart Punctuation"

I don't think we need to make this a feature.

Looks like consensus on this is agreed so I'll close it.


Double tapping record button throws error

Platform: Darwin Bella.tardis 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Kap Version: Version 1.0.1 (<IP_ADDRESS>)
Steps to reproduce
Double tap record button
Current behaviour
Throws error
Expected behaviour
Recording to be cancelled before it starts
Workaround
N/A

Thanks, I forgot to fix this!

Fixed in #239 🎉


Typo in Codelab

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-classes-and-objects?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-classes-and-objects#6
In which task and step of the codelab can this issue be found?
Section Reuse superclass code in subclasses with the super keyword of the codelab
Describe the problem
a typo of "teh" for "the"

To call the overridden method in the superclass from teh subclass...

Steps to reproduce?

Go to the Section as said
It is in the second paragraph

Versions
Android Studio version:  Not specified
API version of the emulator:  Not specified
Additional information

Hi @Desjajja
Thank you for bringing this to our attention.
The lesson has been updated and will be republished again in the near future.
Hope you are enjoying the course!
Regards.


fix: snirf length units

I noticed this because the mne-bids CI failed. These are probably reasonable fixes, wdyt @rob-luke?
https://github.com/mne-tools/mne-bids/runs/6338742975?check_suite_focus=true#step:15:400

I implemented the same fix in #10611, so I think it's a pretty good fix 😉. But let's get this merged as it might be faster than getting my pr approved that had a few other things that might have a review cycle.

Do we need a changelog entry?

Thanks @sappelhoff


add remaining pktinfo consts/structs for the other BSDs

This continues the work from https://github.com/rust-lang/libc/pull/980, adding a more complete set of supported platforms for the "I want to know what destination this UDP packet had" problem.

@bors: r+

:pushpin: Commit 6f0e67a has been approved by alexcrichton

:hourglass: Testing commit 6f0e67abb9d976aed0eb5a87775b3386e5686306 with merge 3054d3e0eb272276300e6825ea31eaa1ed8a6f84...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 3054d3e0eb272276300e6825ea31eaa1ed8a6f84 to master...


Unimplemented intrinsic: bitreverse

bitreverse is not supported at the moment.
It appears CBMC does not have available the bitreverse builtin according to the irep IDs definitions. I will talk to CBMC folks to see what can be done about this, but another approach here is to implement the logic for bit reversal it in RMC.

I have created https://github.com/diffblue/cbmc/pull/6581, which does require further work until it can be merged, but might already suffice to clarify the interface for RMC to use.


Ignores React prop types for createClass between modules

Flowtype only checks prop types for pre-0.13 React classes defined in the same file.
See this short and simplified example below for details.
welcome.jsx
/* @flow */

var React = require('react');

var Welcome = React.createClass({
  propTypes: {
    name: React.PropTypes.string.isRequired,
  },

  render: function(): any {
    return {this.props.name};
  },
});

module.exports = Welcome;

main.jsx
/* @flow */

var React = require('react');

var Welcome = require('./welcome');

var WelcomeLocal = React.createClass({
  propTypes: {
    name: React.PropTypes.string.isRequired,
  },

  render: function(): any {
    return {this.props.name};
  },
});

type PropTypes = {
  name: string,
};

class WelcomeLocalClass extends React.Component<any, PropTypes, any> {
  render() {
    return {this.props.name};
  }
};

var Main = React.createClass({
  render: function() {
    return

      <Welcome />
      <WelcomeLocal /> {/* only this one fires */}
      <WelcomeLocalClass />

;
  },
});

flowtype
[...]/main.jsx:32:7,22: React element: WelcomeLocal
Error:
[...]/main.jsx:8:3,11: property name
Property not found in
[...]/main.jsx:32:7,22: type parameter D of React element: WelcomeLocal

Found 1 error

Expecting errors should include all three components: Welcome, WelcomeLocal and WelcomeLocalClass.

CC @avikchaudhuri, who I believe worked on React support for Flow

For the imported Welcome component, I can confirm that prop checking stops working across module boundaries (it does work within the same file).
Regarding your WelcomeLocalClass implementation, I am able to get type checking with this equivalent construction:
class WelcomeLocalClass extends React.Component {
  props: PropTypes;
  static defaultProps: {};

  render() {
    return {this.props.name};
  }
};

Curiously, the React.Component subclass does type check across module boundaries. Not sure what's going on there.

Thanks @samwgoldman for your response! Prop types in components based on ES6 classes do in fact type check correctly with the syntax you suggested. Interestingly enough if that defaultProps declaration is required for this to work.
I also found out that flow is okay with specifying undeclared props, eg.
<Welcome noSuchProp="lorem ipsum" />

does not raise errors.

Yeah, you need to declare defaultProps until #398 is resolved.
Regarding undeclared props, that's expected, just as var x: { y: number } = { y: 1, z: 2 } is legal.
There is still the issue of createClass proptype checking between modules, so please keep this open. :)

I tested this against a recent commit on master and the last remaining issue here appears to be resolved.

This is fixed in 0.13. Please reopen if you continue to have issues after upgrading.

@samwgoldman Maybe I am missing something but how does this work with ES6 classes?
Here is my test case
Test.js
/* @flow */
import React from 'react';

class Test extends React.Component {
  render(): React.Element {
    return
{this.props.name}

  }
}

Test.propTypes = {
  name: React.PropTypes.string.isRequired
}

export default Test;

Test2.js
/* @flow */
import React from 'react';
import Test from './Test';

class Test2 extends React.Component {
  render(): React.Element {
    return
<Test />

  }
}

export default Test2;

I get No Errors from Flow.

@samwgoldman any chance to take a look at this :) ?

or should i open a new issue to not clutter this one?

@joelbeales Yeah, open up another issue. I don't think Flow even processes the propTypes data for class-based components, favoring annotation with Flow types instead.


#143493101 Add landing page to project

What Does This PR Do?
This PR sets up the UI environment to build upon and the landing page of the project
Description of Task to be Completed
The task sets up REACT UI environment, webpack with configurations to compile and bundle sass files, transpile and bundle react's javascript source files; Add slanding page for project.
Any Background Context You Want to Provide?
N/A
How Can This be Manually Tested?
Open your terminal:

Clone this repo git clone https://github.com/andela-iamao/iamdocuman.git
Navigate to folder cd iamdocuman
Install dependencies npm install
Run tests(optional) npm test
Start server npm start

Open your browser and navigate to http://localhost:5000/app/
Screenshot(s)

What Are The Relevant pivotaltracker Stories
#143493101 - Users should see an effective and simplistic landing page

Coverage decreased (-0.3%) to 93.735% when pulling 35085f0ae98970d946b98c38cb9ac6f73c005b2c on feature/143493101/add-landing-page into 80a8c12ac46347221861286f061ee8aa3eb46fae on development.


Support Carthage by marking scheme as shared

Currently only Cocoapods is supported for dependency management however it would be great in order to provide support for other dependency management systems including Carthage.
Supporting Carthage is usually relatively straightforwards and should only require marking the project's scheme as shared which is what this PR does.
Thanks for creating this project 🙏

@gringoireDM If possible, would it be ok to take a look at this PR for adding Carthage support? I think supporting another dependency management system would really open your library up to a wider audience and the change required to do so is quite a small one. Thanks again 🙏🏻

LGTMT. Thanks

Appreciate it - thanks! 🙏


:bug: Refactor task state to icon mapping

Follow the mapping used by the drawer with following changes:

use PauseCircleIcon also for QuotaBlocked state
use TaskIcon for Ready state (instead of CheckCircleIcon)
use CheckCircleIcon for state Succeeded

Part-of: #1969


correctly access operation name

Fixes https://github.com/comigor/artemis/issues/20
cc: @amadeu01

Looking forward Dart's NNBD!

Released as https://pub.dev/packages/artemis/versions/1.0.2


fix: add customeriocommon podspec to cocoapod deployment

Problem
Deployment to Cocoapods failed because the module CustomerIOTracking depends on CustomerIOCommon and this module is missing in the deployment workflow. Because CustomerIOTracking could not be published, subsequent podspecs dependent on it also could not get deployed.
Here is the error screenshot for reference.

Fix:
Updated workflow and added CustomerIOCommon podspec. Note that the series of podspecs to be run is important. Because CustomerIOTracking depends on CustomerIOCommon, this is why CustomerIOCommon is added to the start of push list followed by other podspecs.
Steps to get PR merged
Complete each step to get your pull request merged in. Learn more about the workflow this project uses.

[x] Assign members of your team to review the pull request.
[ ] Wait for pull request status checks to complete. If there are problems, fix them until you see that all status checks are passing.
[ ] Wait until the pull request has been reviewed and approved by a teammate
[ ] After pull request is approved, and you determine it's ready add the label "Ready to merge" to the pull request. A bot will squash and merge the pull request for you after the label is added.

Pull request title looks good 👍!
If this pull request gets merged, it will cause a new release of the software. Example: If this project's latest release version is 1.0.0. If this pull request gets merged in, the next release of this project will be 1.0.1. This pull request is not a breaking change.
All merged pull requests will eventually get deployed. But some types of pull requests will trigger a deployment (such as features and bug fixes) while some pull requests will wait to get deployed until a later time.
To merge this pull request, add the label Ready to merge to this pull request and I'll merge it for you.

This project uses a special format for pull requests titles. Expand this section to learn more (expand by clicking the ᐅ symbol on the left side of this sentence)...

This project uses a special format for pull requests titles. Don't worry, it's easy!
This pull request title should be in this format:
<type>: short description of change being made

If your pull request introduces breaking changes to the code, use this format:
<type>!: short description of breaking change

where <type> is one of the following:

feat: - A feature is being added or modified by this pull request. Use this if you made any changes to any of the features of the project.

fix: - A bug is being fixed by this pull request. Use this if you made any fixes to bugs in the project.

docs: - This pull request is making documentation changes, only.

refactor: - A change was made that doesn't fix a bug or add a feature.

test: - Adds missing tests or fixes broken tests.

style: - Changes that do not effect the code (whitespace, linting, formatting, semi-colons, etc)

perf: - Changes improve performance of the code.

build: - Changes to the build system (maven, npm, gulp, etc)

ci: - Changes to the CI build system (Travis, GitHub Actions, Circle, etc)

chore: - Other changes to project that don't modify source code or test files.

revert: - Reverts a previous commit that was made.

Examples:
feat: edit profile photo
refactor!: remove deprecated v1 endpoints
build: update npm dependencies
style: run formatter

Need more examples? Want to learn more about this format? Check out the official docs.
Note: If your pull request does multiple things such as adding a feature and makes changes to the CI server and fixes some bugs then you might want to consider splitting this pull request up into multiple smaller pull requests.

:tada: This PR is included in version 1.2.0-alpha.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use default fg and bg2 CSS variables in json-tree and schema-tree

Fixed #144. By removing the color property it will inherit --fg from host instead. Also remove the color property from object, otherwise the opening curly bracket will have the wrong color.
Before change:

After change:

I have read the CLA Document and I hereby sign the CLA

Awesome I'm merging this in, it will be automatically released in 1.0.x as soon as the merge build is complete.


OCSP support

OpenXPKI should support OCSP.

Work in progress. We have chosen to integrate the Cloudflare CFSSL OCSP responder due to extremely low footprint and high performance.
OpenXPKI will precompute the OCSP responses and write them to its database (todo).
The standalone Cloudflare CFSSL OCSP responder is able to directly serve precomputed OCSP responses from the OpenXPKI database schema. This already works with the new OpenXPKI schema in the release/v2 branch.

OCSP support is available as commercial add on


Smoother transitions for the selected cover

Hello again!
I added some code to make the sliding animation smoother for the 5 different views, hope you'll like it !
I will submit this to HexFlow LUC too.

Hi @Axce , man you've got some skills!!
The animation is really smooth!
It works great when using the D-Pad, the only thing is it gets a bit blurry when using the analogue stick to scroll quickly.
I'm excited to see what you come up with next, it's great you've taken an interest in the project.
I'm not a fulltime developer, I've struggled with some bits.

About the blurriness, I don't know what can be done for that. Maybe animate less when the stick is used, but it would less pretty I think.
About the wide covers, I will try to take a look at it! It's striking when using the "flat, zoomed out" view, right? I find it not so bad in the other view types.

The blurry thing is tricky.
I think you're on the right lines, maybe while the analogue stick movement is detected, the zoom for the selected cover could be reduced?
I just tried the Aurora dashboard on my Xbox 360, it seems like they are doing something along those lines, difficult to tell.

I made a pretty good attempt of fixing he N64 spacing awhile ago, I'll send it to you guys when I get a sec. I stopped on it because it feels kind of disorienting when you move from a N64 to a non-N64 and vice-versa so I stopped messing with it

New try !
I added a variable to check if we are using the stick, that is smoothed the same way as targetX. It prevents zooming while the stick is pushed. It's pretty nice now.
I'd like to make it work with the triggers and arrow-spamming too, by just detecting when we are moving "fast". But I'm still really confused about what the variables base_x, p, and master_index are.
I also used the space variable instead of 1, as @BlackSheepBoy69 suggested, it's a detail but it really feels nicer in some views.

I haven't tried this new version, just clearing up some "esoteric" knowledge.
p is position
master_index is a remnant from SwitchView UI v0.1.2... for people that don't know, HexFlow Launcher (the official one) is based on SwitchView UI v0.1.2 secretly. Their code is almost identical. It doesn't really have a use in HexFlow or RetroFlow since it's always equal to variable p or something like that. master_index is where the camera is basicly. It's used in HexFlow LUC for SwitchView and Grid View (unreleased feature).
base_x is a variable that could probably be coded out completely if someone knew what they were doing and just use master_index instead. Formula for base_x is approximately: base_x = (curTotal - master_index + 1) * space
targetX is based on base_x and is used to calculate smooth movements ("drift"). If the app is going at 60 frames per second, then 60 times per second targetX will be made to be 10% closer to base_x. In Hexflow LUC, once it gets within 0.0001, it will stop calculating and just make them equal to save memory.

@Axce I think it's better than before, what do you think?
I tried a couple of edits to make it feel a bit more responsive:
https://pastebin.com/FN0LeWSA
Slowed down the analogue scroll speed slightly to help with the blur, and made the smooth animation a bit quicker.
Not sure what you think, better or worse?

@jimbob4000 please make a whole index.lua I want to try it out but am too lazy to find the 3 places where the code goes 👉👈

@BlackSheepBoy69 here you go
index.zip

@BlackSheepBoy69 , you may need to install the nightly build, then add the new attached index.lua
https://github.com/jimbob4000/RetroFlow-Launcher/releases/tag/Nightly

Yes, 1.7 definitely feels snappier!
About the scroll speed, I don't really feel the difference, but I can easily spot a game when I'm scrolling with the analog.
Should I add it to the pull request?
Kinda want to use the analog stick to control the scrolling speed now haha

Try this I think it's a huge improvement on left-side view.
https://i.imgur.com/WBI7olT.jpg

Cool, I'll have another look at the scroll speed change tomorrow to see if it makes a difference.
No need to update the pull request unless you make some cool edits or fixes.
I definitely think it's worth adding to the app. I'll probably add a setting to turn it off
in case some people don't like it as much as us, but will have it on by default.
Thanks so much for this, I really love it 👍

Smooth scrolling has been added to the nightly build:
https://github.com/jimbob4000/RetroFlow-Launcher/releases/tag/Nightly
It can be turned off by going to the theme settings.
I didn't change the scroll speed of the analogue sticks after all.
Thanks again @Axce

One more thing, @Axce
Is this French translation okay?
Défilement fluide :

Yes perfect !

Upgraded left side view with a tiny bit of extra zoom.

        -- left side view         space = 1.5         zoom = -0.6         extray = -0.3         camX = 1         if x > space then             rot = -0.5             extraz = x * 0.8333				 --@@ (abs_side_factor + x) / 2 -----Simplify-----> x * 0.8333             extrax = 0.6         elseif x <= space and x > 0 then             rot = -0.5 * abs_side_factor             extraz = x * 0.8333 * dezoom_factor		 --@@ (abs_side_factor + x) / 2 -----Simplify-----> x * 0.8333             extrax = 0.6 * abs_side_factor         elseif (x < -space) or (x >= -space and x < 0) then             rot = 0.5 * abs_side_factor             extrax = -abs_side_factor         end

It looks good, just not sure about the angle of the box on the left.
I was playing around with views too, and made this camera perspective one, it didn't make the release as it was more of an experiment. It's based on the default view, but with the camera position changed.
Video:
https://streamable.com/6sj4te
Pastebin:
https://pastebin.com/Q8FqPvKX

To try it out making them all facing the same way, I think it would be like this for the last 4 lines:
        elseif (x < -space) or (x >= -space and x < 0) then
          --rot = 0.5 * abs_side_factor
            rot = 0.5 * side_factor
            extrax = -abs_side_factor
        end

I'm not a fulltime developer, so there's some parts of the HexFlow code I haven't figured out and tend to avoid.
I really wanted better box spacing for N64 and SNES games so they don't overlap (they look especially bad in the the 'All' category view), but I couldn't figure it out.

EVERYTHING related to this n64 fix is marked with "n64_fix"
https://streamable.com/801hgx
https://www.mediafire.com/file/9x996jd3apno4dd/n64_fix_HexFlow_Custom_v.<IP_ADDRESS>.9_ENGLISH_ONLY_toggle_with_select_button.vpk/file
There is a variable that might need some fine tuning which if I remember right was named something like n64_fatness.
Please note: this version is literally 99% ready for release. The only thing really missing is collections which I gotta bugtest, it's not in this version but it is all coded up.
It has the extreme-optimized grid view, it has loose cover match mode for Retro games, it has mass download of covers for every category and it reads in binary the PSP/PS1 game's ID just-in-time instead of using OneLua.


Add com.google.analytics.enhanced-ecommerce/impression/jsonschema/1-0-0

As per https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#impression-data

Added hyphen into enhanced-ecommerce to be consistent with Google spelling


Issue with k8s.io/fr/docs/getting-started-guides/fedora/

Unfortunately, this page (https://kubernetes.io/fr/docs/getting-started-guides/fedora/) is empty
:-(
regards

/language fr
/area localization

Putting my analysis below for benefit of other contributors looking at this:
The getting-started-guides has been removed from the main website (lang/en as part of PR #6012). Plus the main site has redirect added for https://kubernetes.io/docs/getting-started-guides/ to https://kubernetes.io/docs/setup/ (Refer redirect logic)
At the very least we should get rid of all the contents in content/fr/docs/getting-started-guides/
/kind cleanup

/remove-kind cleanup
/kind bug

/assign

Changes to address this issue have been merged as part of #40333
/close


Added SyncMate 5 (latest) cask

Added SyncMate 5 cask

Fixed, squashed and removed trillian-beta branch duplicity

This is borderline nitpicking :smiling_imp:, should I remove all empty lines?

No, just that one. Casks follow a style, and things are grouped for a reasons: to make them easier to update. If every one stars adding empty lines and indenting willy-nilly, casks will be inconsistent and harder to parse for maintainers.

Done

Thank you. Looks great.


Test: Remove unnecessary error

What this PR does / why we need it:
CreateDefaultCloudInitNetworkData returns an error that needs to be handled. There is mostly no better action than panic so let's just do it and reduce the awkward error handling. This will also differ from normal test failure.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

This seems to got stuck for a few months now.
Any chance it can be continued?

/retest
@cc @AlonaKaplan

Maybe @phoracek can have a quick look.

/approve


Increment version for webpubsub releases

Increment package version after release of Azure.Messaging.WebPubSub

API change check
API changes are not detected in this pull request.


[WIP][SPARK-20774][SQL] Cancel all jobs when QueryExection throws.

What changes were proposed in this pull request?
When the sql query failed, all related jobs are canceled to reap resources.
see https://issues.apache.org/jira/browse/SPARK-20774?filter=12340455
How was this patch tested?
TODO.
cc @zsxwing

Can one of the admins verify this patch?

I think a patch should at least be manually tested @liyichao.

Sorry about that, I will test it when I have time.

Can one of the admins verify this patch?


location command redirected to rev

The latter is a super set of the former. Doing so may also reduce the work in future maintenance/refactoring/development, as LoC is reduced and there is one less place to search/replace in case there is a change.

Agreed. LGTM.
In fact, I've always thought about this.


Search Designations

We need to be able to search different recognition types by the authority. For example, number of municipal designations, number of provincial designations, number of community heritage register listings, etc.
Brett to provide possible solution to ensure confidence in overcoming search issue - but resolution does not have to be implemented for mvp.

This is related to Fossils cross-resource search model

Test cross-resource search after new release


upgrade anyway postgres DB + postgis to latest stable version

create backup from prod
upgrade DB + restore on dev
test throughly on dev - anyway team will do that
if ok - create backup from prod
upgrade DB + restore on prod

@OriHoch this is a priority right now since tests are failing

In addition, postgres version should be newest, unless there is a technical difficulty with it.

Thanks :)

@atalyaalon done on dev, please test and let me know when I can proceed to prod

@OriHoch please proceed to prod and let me know when it’s done

@OriHoch
Will there be a downtime? What version did you upgrade to?

yes, there will be ~2 hours down time

postgres 15.1 + postgis 3.3.2

Great, please upgrade, just let me know in advance before downtime starts

Also, I assume this file will be also updated? https://github.com/hasadna/anyway/blob/dev/db_docker/Dockerfile

Great, please upgrade, just let me know in advance before downtime starts

I will try to do it today in the evening

Also, I assume this file will be also updated? db dockerfile

yes, db dockerfile is updated in hasadna/anyway#2300

starting upgrade

upgrade complete

@OriHoch thank you very much


Test Issue

Hi Krista, thanks for your response to my questions - do you get this message even if I don't specifically tag you in it?  Take care, Caly

Got it; thanks. I'll close this issue.


chore(*): deprecate Option.elim'

Use Option.elim instead.

@YaelDillies Do you want to open a Lean core RFC about that?

Some data:

X.elim with x : X as the first argument: Nonempty.elim (core), Or.elim (core), Not.elim (core), Ne.elim (core), Exists.elim (core), Option.elim (core), Or.elim3 (Mathlib),
X.elim with x : X as the last argument: And.elim (core), Iff.elim (core), Sum.elim (Batteries)

@YaelDillies Do you want to open a Lean core RFC about that?

I don't really have time to gather all the relevant discussions right now, but if you don't do it before 10 days I can do it

I prefer to wait for you to do it.

Let me label this awaiting-author: as I understand it, this is waiting on gathering the data to decide which name is preferred.

The question is about the order of arguments, not the name.

I have now opened lean#5096


Three-click edit text styling

Hello,
I've noticed another bug - when I try to mark a text in cell by three-times click on it and style it, then style is applied to two cells instead of one.
Demo: https://i.imgur.com/DAsV8tA.gifv
Sandbox: https://codesandbox.io/s/suneditor-three-click-npm-9mwt9
Regards,
Adrian

The 2.28.1 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


BTC~USD price shown is grossly incorrect

1 BTC shown in the app as 4.918.40 USD while the price on coinmarketcap.com is 3.280.1 USD. What service is used for price discovery?

Hello,
We use the blockchain.info ticker API for price discovery (https://blockchain.info/ticker) which as of now shows a price of 3,289 USD.
The price is regularly refreshed (when the app starts, and every 20 min after that), though if you do not have access to the internet, or if for whatever reason your device cannot reach the blockchain.info API, the app will use the latest price it knows, which in your case is 4,918 USD.

You can leave the issue open, it's not a bug per se but it's bad UX and there are a few things that can be improved. Thanks.


Any plans to add support for examples from CRD schemas?

Given a rabbitmqcluster CRD installed via https://github.com/rabbitmq/cluster-operator, rather than using k explain rmq to discover the schema, do you think that it would be a good idea to have kubectl example rmq generate an example based on this schema?
cc @mkuratczyk

I've linked the exact context where I tried using it. Larger context & bird's eye view: TGIR on YouTube.

hey @gerhard , if you're looking for a tool to generate examples from CRD schemas, you might want to check a plugin I wrote -  kubectl-creyaml. It's also on krew.

@gerhard you may create an example in resources folder and create a PR.


Server Error (500) >> OperationalError at /login/ no such table: leads_user

I've followed this tutorial to the last until the project is deployed where my issue arises.
After deploying the project with DEBUG=FALSE, I get a Server Error (500) when I login. I then changed the debug setting to true so I can see the error message and it says OperationalError at /login/ no such table: leads_user. I viewed the database schema on my terminal and the table leads_user is present. Running migrations also doesn't solve it.
I finally tried logging in through your deployed project(https://crm.justdjango.com/) and I got a Server Error (500) so I'm assuming this is a problem a lot have faced.
Anyone know what the fix is?

I have the same issue on the same exact spot. Spent the whole day trying adjustments. Any ideas?

I deployed to heroku so I fixed this by running migrations on my heroku console heroku run python manage.py migrate


[FEATURE] Make installable artifacts available for download

Is your feature request related to a problem?
Plugins cannot be installed in an offline/firewalled/airgapped deployment of the minimum distribution.
What solution would you like?
Make available the built artifacts and dependencies for offline install on the https://opensearch.org/artifacts page or in the github releases page.
What alternatives have you considered?
The artifacts can be extracted manually and installed offline from the tar.gz opensearch release.

Hi, I apologize, we should have updated the releases pages, but plugins should be available for download through the tags page here https://github.com/opensearch-project/index-management/tags
Does this meet your use case?

I tried your suggestion and got this result:
$ wget -O /tmp/<IP_ADDRESS>.zip https://github.com/opensearch-project/index-management/archive/refs/tags/<IP_ADDRESS>.zip
$ sudo /usr/share/opensearch/bin/opensearch-plugin install file:///tmp/<IP_ADDRESS>.zip
-> Installing file:///tmp/<IP_ADDRESS>.zip
-> Downloading file:///tmp/<IP_ADDRESS>.zip
[=================================================] 100%
-> Failed installing file:///tmp/<IP_ADDRESS>.zip
-> Rolling back file:///tmp/<IP_ADDRESS>.zip
-> Rolled back file:///tmp/<IP_ADDRESS>.zip
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/opensearch/plugins/.installing-4082858646057834380/plugin-descriptor.properties
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:371)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:422)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
	at java.base/java.nio.file.Files.newInputStream(Files.java:156)
	at org.opensearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:229)
	at org.opensearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:811)
	at org.opensearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:870)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:275)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:249)
	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:100)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
	at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
	at org.opensearch.cli.Command.main(Command.java:101)
	at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)

I think this is because the release you linked is a source code zip file and not a built artifact.

@downsrob I think I do not have permission to reopen the issue.

Sorry, about that, you are completely right.
We are working on getting plugins published to a more available place, and that is being tracked here https://github.com/opensearch-project/opensearch-build/issues/184
The current method that you can follow to do this will be to get the manifest for the version you want from maven, using a url like this https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.3/latest/linux/x64/tar/dist/opensearch/manifest.yml
From that manifest you will see the locations of the core artifacts, ex:
  - name: index-management
    repository: https://github.com/opensearch-project/index-management.git
    ref: '1.3'
    commit_id: dae81c5f33060a986136df98dbd2f79015680f11
    location: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.3/3878/linux/x64/tar/builds/opensearch/plugins/opensearch-index-management-<IP_ADDRESS>.zip

You will be able to download the plugin from the location listed there

This is great, thank you.  I'll watch that task for the published solution, but this gets me a functioning workaround until that's ready.
Closing as duplicate of opensearch-project/opensearch-build#184.


Importing 3.0 projects with ~bw / ~color resources fails

I just tried importing a project that's working well with version 3.0-dp3 of the native SDK into CloudPebble. My project uses per-platform resources:

When packing resources into a Pebble project, the SDK will look for any files with special suffixes and use those in preference to those without. The suffixes ~color and ~bw are currently supported. If one of these files is found, it will be used instead of any other matching file name without the suffix for platforms that support those colors.

CloudPebble doesn't seem to support this, as I received the following error when importing:

Error: "There is no item named u'resources/dial_base.png' in the archive"

It's correct that there is no resources/dial_base.png, but there is a file called dial_base~bw.png in the resources/ directory that should get picked up for Aplite instead.
My project is currently configured to build only for Aplite, but I also tested an archive that provides dial-base~color.png as well so that both platform-specific files exist, which generated the same error message.

I can confirm this problem.  It appears that while color and B&W bitmap resources are saved to the zip file, the color resources are discarded when importing into a new project and so all bitmap resources must be added again manually.


Sowmitranalla/pp 226 upgrade to hapi v17

this PR adds compatibility for Hapi v17
All the build tooling has decayed and needed updating
Bumps Node.js to LTS
Bumps all dependencies
This is a SemVer MAJOR update
migrated from yarn to npm
removed coveralls

I'll modify the repo to require squash and merge


Files under an allocation are no longer viewable

Version
Docker Imageiverberk/nomad-ui:0.1.0 with ID c9e53b2c481a
Description
If I follow the linkss to the "Files" tab of an allocation, and then try to follow the path /alloc/logs to view the stderr and stdout files, those files in the "Path" box are no longer "clickable", and their contents do not show up under the "File" box.
This was working before the 0.1.0 tag.

@dvusboy is there any error visible in the Docker container logs or in the browser console? Can you reproduce this?

It is reproducible.
Nomad is v0.4.0, installed by way of a custom-built RPM. Here's a snippet of the log from docker logs:
2016/08/18 18:13:24 Stopped watching alloc with id: 1978980d-d86e-65e7-f542-137766dbaf28
2016/08/18 18:13:32 Started watching alloc with id: 906c2c4f-abd4-25a6-9906-c8ad7a4c0b59
2016/08/18 18:14:00 Unable to stream file: Unexpected response code: 404 (Invalid method)

There doesn't seem to be anything obviously off in the Nomad log, and it doesn't seem to be telling me what's causing the 404.
 I've updated the file viewer to stream contents to the browser. However, this requires 0.4.1 of Nomad. I've not handled the version compatibility with Nomad server well yet. This will be fixed asap. Any possibility for you to upgrade to 0.4.1 in the mean time?

That's quick! I'm sorry, but I'd have to wait for the official release of 0.4.1. Thanks.

I understand, it probably won't be long. Like I said, this was a mistake and will be fixed properly soon. The main difference is mostly in the architecture (a dedicated backend with websocket connection) so I think you should still be able to use the old version until things settle down.

In case you missed it, 0.4.1 is released: https://groups.google.com/forum/#!topic/nomad-tool/i936vj7yZmA


Support PHP 8

Blocked by:
https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4702

@Jean85 @stayallive Good evening guys, can you help me with PHPStan error because in the local machine all good.


Get minimal velocity

Codecov Report

Merging #38 (78c40cc) into master (ead0998) will decrease coverage by 0.22%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   74.30%   74.07%   -0.23%
==========================================
  Files          43       42       -1
  Lines        2868     2878      +10
==========================================
+ Hits         2131     2132       +1
- Misses        737      746       +9

Impacted Files
Coverage Δ

src/joints/rotational.jl
85.71% <0.00%> (-2.29%)
:arrow_down:

src/joints/translational.jl
88.60% <0.00%> (-2.31%)
:arrow_down:

src/main_components/equalityconstraint.jl
82.14% <0.00%> (-2.27%)
:arrow_down:

src/ConstrainedDynamics.jl

src/solver/newton.jl
68.18% <0.00%> (+3.03%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding IRCAM's binaural FIR node

I'm working on a sonification project that uses a lot of spatialization. Previously I'd just been doing all the base Web Audio API coding myself, but a separate project helped me realize that p5 solved all my problems, save one.
I'm using IRCAM's BinauralFIR node, which sounds a lot better than the base API's 3D panner. I tried adapting it to the p5 class structure, using p5.panner3d as my base, and it more or less looks the same. I put both the p5.binauralPanner adapter code (below) and the base file for the node itself (as binaural.js) in src, then added the necessary lines for it in the gruntfile. But when I run grunt, it seems like the files are getting ignored; I don't see the word "binaural" anywhere in the compiled p5.sound.js files, though the build reports "Done, without errors." I'm new to requireJS and compiling with grunt, so I'm sure I'm missing something, I'm just not sure what. Any ideas?
(I'm not using time anywhere because the node already has a crossfadeDuration property.)
src/binauralPanner.js
'use strict';

define(function (require) {
	var p5sound = require('master');
	var Effect = require('effect');
	var BinauralFIR = require('binaural');

	p5.BinauralPanner = function(hrtf, xfade) {
		Effect.call(this);

		this.panner = new BinauralFIR({
			audioContext: this.ac
		});
		this.panner.HRTFDataset = hrtf || 0;
		this.panner.setCrossfadeDuration(xfade);
		this.panner.connect(this.output);
		this.input.connect(this.panner);
	};

	p5.BinauralPanner.prototype = Object.create(Effect.prototype);

	p5.BinauralPanner.prototype.process = function(src) {
		src.connect(this.input);
	}

	p5.BinauralPanner.prototype.set = function(azi, ele, dist, xfade, time) {
	    this.azimuth(azi,time);
	    this.elevation(ele,time);
	    this.distance(dist,time);
	    this.crossfade(xfade,time);
	    return [this.panner.getPosition().azimuth,
              this.panner.getPosition().elevation,
              this.panner.getPosition().distance,
              this.panner.getCrossFadeDuration()];

	};

	p5.BinauralPanner.prototype.azimuth = function(azi, time) {
		var t = time || 0;
		if (typeof azi === 'number') {
			this.panner.setPosition(azi, this.panner.getPosition().elevation, this.panner.getPosition().distance);
		}
		return this.panner.getPosition().azimuth;
	};

	p5.BinauralPanner.prototype.elevation = function(ele, time) {
		var t = time || 0;
		if (typeof ele === 'number') {
			this.panner.setPosition(this.panner.getPosition().azimuth, ele, this.panner.getPosition().distance);
		}
		return this.panner.getPosition().elevation;
	};

	p5.BinauralPanner.prototype.distance = function(dist, time) {
		var t = time || 0;
		if (typeof dist === 'number') {
			this.panner.setPosition(this.panner.getPosition().azimuth, this.panner.getPosition().distance, dist);
		}
		return this.panner.getPosition().distance;
	};

	p5.BinauralPanner.prototype.crossfade = function(xfade, time) {
		var t = time || 0;
		if (typeof xfade === 'number') {
			this.panner.setCrossfadeDuration(xfade);
		}
		return this.panner.getCrossFadeDuration();
	};

	p5.BinauralPanner.prototype.hrtf = function(hrtf, time) {
		var t = time || 0;
		// if (typeof dist === 'number') {
		this.panner.HRTFDataset = hrtf;
		// }
		// return this.panner.getPosition().distance;
	};

	p5.BinauralPanner.dispose = function() {
		Effect.prototype.dispose.apply(this);
		if (this.panner) {
			this.panner.disconnect();
			delete this.panner;
		}
	};

	return p5.BinauralPanner;
});

src/binaural.js
'use strict';

define(function (require) {
	/* the contents of the BinauralFIR node, available here:
            https://github.com/Ircam-RnD/binauralFIR/blob/gh-pages/binaural-fir.min.js
        */
}

Oof, figured it out! binauralFIR is on npm, so I was able to add it to the project and struggle my way through grunt/require from there.
Would this be something you all would be interested in seeing added to the codebase? It's not commented right now, but I could if it's not totally out of the question. Or would it be more prudent to release the resulting source code as an optional plugin for p5-sound?

hi @thely sorry about this stale issue, right now we are reducing the scope of the library, so we won't be implementing that for now, maybe the good folks at Tone.js would be interested? thanks!!


app: Felvisning och omladdning

Every content hook exposes one method:

reload()

...and three properties:

data: The data returned from cache or API - gets rendered
status: The status of the api call, cal be pending | loading | loaded | error
error: Any error encountered in the api call

If an error occurs in the api call (including the parsing step), the hook will retry. This is done three times before giving up. While the retries happen, the error property gets set but status remains as loading.
The following functionality should be added:

When we load data (ie. `state === 'loading'), this should be inicated. The indication should be subtle since data might already be displayed from cache.
When an error occurs (ie. error !== undefined), this should be indicated. The indication should be subtle since we still haven't given up.
When we reach a failed state (ie. `status === 'error'), this should be indicated more prominently.
On pulling down the scroll area, the reload() method should be called.

Is this still the case?

PR #514 solves the reload part.


added missing rake task alias

@sachin21 syntax fixed, pls check

@sachin21 closing this PR and giving new PR  with changes


Remove data library section

Related to https://app.clubhouse.io/cartoteam/story/108441/redirect-data-library-to-spatial-data-catalog

I'm gonna rebase master and make a new deployment to staging

Staging at https://rm-data-library-gallery.carto-staging.com

This is a removal of a page we are already not displaying, the 'good old' data library. Most of the removal is frontend, but some ruby is also deleted.


Updates "jsdoc" version in "peerDependencies"

The "jsdoc" version in "peerDepenecies" causes fail builds using CI (e.g.: Travis CI) with dependency errors, because of the strict versioning (no tilde).
This commit:

updates the version to the most recent "jsdoc" version (which is "3.3.0-alpha10")
adds a tilde range for new, future versions

Note: please increase the release/version tag on GitHub after the accepted merge and republish on npm to signal the updates.
Thank you in advance!

I pinned that version on purpose because things don't work properly with any versions past that.
Please run the tests against the latest version and I'm inclined to update this


Why we can't update CURLOPT_RETURNTRANSFER for GuzzleHttp\Client?

Q
A

Bug?
no

New Feature?
no

Version
Current

I want to set a new value for CUROPT_RETURNTRANSFER for GuzzleHttp\Client, I saw it only supports default value and no way to set. Maybe I'm wrong, can anyone help me to solve it or explain why?
Thanks.

Does http://docs.guzzlephp.org/en/stable/faq.html#how-can-i-add-custom-curl-options answer your question?

Yes, thank you!

@simpo
I'm not sure by above answer, coz I've used the old library at the time I asked this question.
So I provide my way to modify CURLOPT_RETURNTRANSFER. Hope it can help you.
$httpClient = new Guzzle\Http\Client(['http_errors' => true]);
$request = $httpClient->delete();
$request->getCurlOptions()->set(CURLOPT_RETURNTRANSFER, true);

Found the answer, posted here https://stackoverflow.com/a/52930054/519333


Missing link to Github repository

[Enter feedback here]
The page is missing the link to the github repository for the sample

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fbf41872-597e-d846-0e54-e6e84f00ac72
Version Independent ID: 19da55b4-6887-cb39-a87e-bb71c433de8b
Content: Getting Started with EF Core and Xamarin - EF Core
Content Source: entity-framework/core/get-started/xamarin.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @codemillmatt
Microsoft Alias: masoucou

@420tech are you sure? I see a prominent link at the top. I checked and it works. Can you please confirm?

@420tech are you sure? I see a prominent link at the top. I checked and it works. Can you please confirm?

Thanks. I missed it

Thanks. I missed it


Adding "?" parameter on url @@ http://localhost/api/search/user?firstname=&lastname=

HI, I am having trouble on the router.
How could I allow it to cater for example:
http://localhost/api/search/user?firstname=&lastname=
Hope you could help me. Btw, nice framework.. :) awesome

What is the problem?
$app->get('/api/search/user', function ($request, $response) {
    $firstname = $request->getParam('firstname');
    $lastname = $request->getParam('lastname');

    // do things with $firstname and $lastname

    return $response;
}

exact


Feature request: an option to download a particular verison of kubectl proactively

This would be useful for rancher desktop, which normally uses the k8s API. Right now it calls kubectl cluster-info, for the side-effect of getting kuberlr to verify the current version is present, and to download it if it isn't.

What about adding a kuberlr get <version of k8s> command?

Yes, that would work.

This is now part of the v0.4.0 release


Return a more verbose message when an edit fails.

This is from: https://github.com/GeoNode/geonode/issues/1903.
When editing in map view against a layer with a field length limit that is relatively short, if you try to enter in a value that is longer than the allowable field length and then save the feature, you get a generic error and cannot save the feature until you figure out which field you’ve over-entered in. Should be more detailed, I am guessing PostgreSQL returns a specific error that could be parsed.

Are you able to give me a layer to test it with?

This issue doesn't appear to be layer specific.  Find a layer on any GeoSHAPE instance, find the column length of one of its attributes and try inputing a longer value than that in the feature editor in maploom.


Option to force the creation of new objects / disable the use of existing instances

Hi,
When randomizing an object with a list, I noticed that random-beans creates and puts around 10 new objects into a list and then starts to reuse existing objects, e.g. as the 11th element it puts a reference to object 3 into the list.
My problem is that I need to persist the randomized objects. After randomizing everything except the ID, I use Hibernate for assigning auto-generated (unique) IDs, but the 11th element will have the same ID as the 3rd, as they point to the same object. This causes a duplicate key exception.
I guess random-beans shows this behaviour for performance reasons, but is it (already) possible to force the creation of new objects?

After getting deeper into the Code, the reason seems to be the OBJECT_POOL_SIZE  of PopulatorContext which is 10.
So I either need an option to disable caching at all or (some kind of workaround) to set the pool size by myself. Any thoughts on this? :)

Hi,
How come I didn't gave you a feedback earlier ?? I'm really sorry about that.
Yes, as you pointed out in issue 186, I'm planning to make the object pool size configurable.
I'll keep you informed once the addition is published.
Kind regards
Mahmoud

@benas I'm just about to submit a pull request with this feature.

Support for this was added with https://github.com/benas/random-beans/pull/196 Just set maxObjectPoolSize to a sufficiently big value.

Hi @MarvinWyrich
I've published version 3.3.0-SNAPSHOT which contains the fix for this issue (Many thanks to @PascalSchumacher for the patch).
You can set the object pool size with the maxObjectPoolSize parameter.
It would be great to give it a try and keep us informed if it's ok for you.
Kind regards
Mahmoud

Thank you @benas and @PascalSchumacher.
Works fine!

Cool. Thanks for taking time to test!


Tesseract LSTM 4.0: letters repeat in recognized text

When I run tesseract command line program (Windows prebuilt binary, 4.0.0 alpha) on this image in LSTM mode, I get:
LoOrenm 1pPpSsSUlI
Why letters repeat? Stuttering?
In Tesseract mode (oem=0), I get correct text: Lorem ipsum

This might be one more example where the old 3.x recognizer produces better results than 4.x with LSTM. See here for the related discussion.

I dug into this and found that letter bboxes are narrower than they should be.
Debugged hand-built Tess4 on another platform so output is a bit different from above but PageIterator::BoundingBox returns bbox narrower than actual as shown below. Seems like the same glyph image is recognized a couple of times while horizontal scan striding shorter than it should:
letter L BoundingBox=(2, 48, 375, 230)
letter o BoundingBox=(484, 76, 521, 236)
letter O BoundingBox=(521, 76, 559, 236)
letter r BoundingBox=(559, 76, 1043, 236)
letter e BoundingBox=(1119, 76, 1438, 236)
letter I BoundingBox=(1527, 76, 1564, 230)
letter n BoundingBox=(1564, 76, 1611, 230)
letter m BoundingBox=(1611, 76, 1658, 230)
letter n BoundingBox=(1658, 76, 1890, 230)
letter 1 BoundingBox=(2182, 1, 2436, 230)
letter p BoundingBox=(2607, 76, 2645, 295)
letter P BoundingBox=(2645, 76, 2682, 295)
letter p BoundingBox=(2682, 76, 2784, 295)
letter S BoundingBox=(2784, 76, 2826, 295)
letter s BoundingBox=(2999, 76, 3036, 237)
letter S BoundingBox=(3036, 76, 3129, 237)
letter U BoundingBox=(3186, 74, 3390, 236)
letter l BoundingBox=(3390, 74, 3548, 236)
letter I BoundingBox=(3548, 74, 3582, 236)
letter M BoundingBox=(3790, 76, 4172, 230)

I also noticed double characters in the output, but they disappear (although not completely) as soon as the model gets better (~ < 0.1%).

I drew bounding box around each recognized letter in this image. While some are spot on but many off even though text is correctly recognized as "Simple Test". Note boxes are intentionally drew off at top and bottom to minimize a chance of box overlaps.

This is probably because LSTM engine trains on text lines rather than separate letters.
@theraysmith can clarify.

I cannot reproduce the issue with latest Tesseract and with release 4.1.1. Both produce Lorem 17S tira which is not correct, but does not show duplicated characters.


Lost connection to HA

Lost completely connection with HA. System was at first very slow to respond to automation to turn lights on. Some lights didn't turn on, voice prompt failed to play.
Unable to access via web or app, with message Failed to load.
Restarting HA didn't solve the issue. All integrations responded with "loading takes too much time".
First goal is tog rt everything back up, then to try figure out what did happen.

I haven't discovered what was the issue here. Maybe some system process (as disk checks, AV check or indexing) was hogging up the Synology in such a way that HA become completely unresponsive.
Restarting of HA didn't help at that point and even restarting Synology which I do rarely.
Issue just fixed it self after few HA restarts from Docker.


when revolves the "pie" chart's bug in the android

Hi ,The "pie" charts  Shows wrong charts,
￼￼

any update on this?
Anybody know how to fix the pie problem? here it always uses the same color.

can you show your codes?

This issue isnt't from react-native-chart. It's coming from ART lib. If you try other module like react-native-pie-chart, you will get the same issue

I published a PieChart component works on both iOS and Android perfectly
https://github.com/nihgwu/react-native-pie

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.


Recent Update

On Recent Update
On the recent build of the plugin it will not let you join the server and kicks you off with no kick message this however is not the case with Immersive-portals-survival-adaptation-0.4.0.jar where I can join only updating to 0.4.1 breaks it
only Immersive portals survival adaptation 0.4.1+1.17 contains this bug which means you cannot join the server
Log Below is Without 0.4.1 and is with 0.4.0
Password is 000123
https://pastebin.com/LhTYgVU5
This is without 0.4.0 and is on 0.4.1
https://pastebin.com/XVmRKf0b
as you can see I cant join and just get kicked with no error but only when running the newest download

I can recreate the kick, im trying to fix that.

Will be fixed in the next release

Bug still present in new release cannot join server and get kicked with no reason


Use a hash-bundle name for ziti-browzer-css

...otherwise updates to the CSS in new releases do not get reflected on client-side due to browser cache.

shipped in 0.59.0


Update istio download script

Release artifacts don't have istio-1.7.0-linux.tar.gz. It always appends architecture for Linux artifacts istio-1.7.0-linux-amd64.tar.gz.
The old scripts will always fail in the first attempt because istio-1.7.0-linux.tar.gz never exists.
Downloading istio-1.7.0 from
https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux.tar.gz ...Failed.

It then retires by appending arch.
Trying with TARGET_ARCH. Downloading istio-1.7.0 from
https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux-amd64.tar.gz ...

Which is not required, and we can directly call downloading istio with arch for Linux.
Old output:
$ curl -L https://istio.io/downloadIstio | sh -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   102  100   102    0     0    112      0 --:--:-- --:--:-- --:--:--   112
100  3888  100  3888    0     0   2869      0  0:00:01  0:00:01 --:--:--  2869
Downloading istio-1.7.0 from https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux.tar.gz ...Failed.

Trying with TARGET_ARCH. Downloading istio-1.7.0 from https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux-amd64.tar.gz ...

Istio 1.7.0 Download Complete!

New output:
$ curl -L https://istio.io/downloadIstio | sh -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   102  100   102    0     0    112      0 --:--:-- --:--:-- --:--:--   112
100  3888  100  3888    0     0   2869      0  0:00:01  0:00:01 --:--:--  2869

Downloading istio-1.7.0 from https://github.com/istio/istio/releases/download/1.7.0/istio-1.7.0-linux-amd64.tar.gz ...

Istio 1.7.0 Download Complete!

@shamsher31: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
1f3e1d76530c7dfc173c10fb919d9460a367d981
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shamsher31: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
1f3e1d76530c7dfc173c10fb919d9460a367d981
link
/test lint_istio

gencheck_istio
1f3e1d76530c7dfc173c10fb919d9460a367d981
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shamsher31: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
82dfbc73110cad13bb4bc7a0d992d8dca6a27bff
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shamsher31: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
82dfbc73110cad13bb4bc7a0d992d8dca6a27bff
link
/test lint_istio

gencheck_istio
82dfbc73110cad13bb4bc7a0d992d8dca6a27bff
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shamsher31: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
82dfbc73110cad13bb4bc7a0d992d8dca6a27bff
link
/test gencheck_istio

lint_istio
3adce810bd8664f69156328e3fe216281ad08bdd
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@shamsher31: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
3adce810bd8664f69156328e3fe216281ad08bdd
link
/test lint_istio

gencheck_istio
cf87aa86dc26f2337e6040cd52f957a638d0d285
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


error while installing spotx

🧐 Have you read the FAQ and viewed similar issues?

[ ] I have read the FAQ
[ ] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
India
What is your Spotify Plan?
Free
Do you have Spicetify installed?
Yes
ℹ Computer information
- Spotify: <IP_ADDRESS>5.gd61a8f5c
- Windows: 11
- PowerShell: 5.1.22621.963

📝 Description
Hi i was using spotx previously and had no issues with it until a few hours ago spotify stopped working so i uninstalled that version of spotify and did a clean installation. I then tried running Install_New_theme.bat and it showed an error. I tried running the other types but they all showed the same error. im attaching the screenshot of the error. please help me resolve this issue
thanks
📸 Screenshots

Duplicate https://github.com/SpotX-CLI/SpotX-Win/issues/233


Add cropping example

Adds an example of the Canvas::crop method part of #1

:tada: congratulations on your first contribution!


JS failing to Serialize form during SaveOrder function call

During SaveOrder call there is an issue with Serialization if Agreement form exists. var params become a string and not an object as per my screenshot.

Posible solution working example here:
http://jsbin.com/pumapuheje/1/edit?html,js,output
Thank you.

@nicklera1 - can you please reach out to the merchant and confirm if the commit (https://github.com/amzn/amazon-payments-magento-plugin/commit/28b20b4f179903dfe97cc8b46479c1b056555022) resolves the issue?


Slight memory reduction

closes #54
Doing a basic get showed a slight reduction in objects created.
Using:
require 'rubygems'
require 'memory_profiler'
require 'tzinfo'

MemoryProfiler.report(ignore_files: 'rubygems') {
  TZInfo::Timezone.get('America/New_York')
}.pretty_print

Before:
allocated memory by gem
-----------------------------------
   1294730  tzinfo
        40  concurrent-ruby-1.0.2
        40  other

After:
allocated memory by gem
-----------------------------------
   1225130  tzinfo
        40  concurrent-ruby-1.0.2
        40  other

5.38% lower memory usage

Thank you for submitting this pull request. I've merged it into master.


Integrate fpc-validation as compiled validator

What this PR does / why we need it:
This PR integrates FPC custom validation into the peer without using go plugins.

Add FPC Validator, ERCC Validator, and ERCC Decorator to handler library using FPC build tag
Rename ecc-vscc to fpc-vscc
move to validation folder

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing changes and/or breaks backward compatability?:

This still relies on the plugin framework and so doesn't really help getting rid of plugins and will also require changes once fabric does get rid of plugins.  So imho technically moderately meaningful. But if that puts us Gary off the back, so be it.
From looking at evaluateModeAndLoad in .../library/registry.go, this should work also for all four plugin types, , so we should do conversion of our other two plugins at the same time.  We should definitely get rid of the symlinks (see separate discussion above).

@g2flyer Thanks for the comments, I added back the comment in README.md. For other feedback see inline review comments. I squashed and ready to merge (once travis made it through).


Feature Request: Table Component

Check the typography page, there is a table in there.

While it's true there is a table "example" in the Typography that looks like this:
export function TypographyTable() {
  return (

              King's Treasury

              People's happiness

              Empty

              Overflowing

              Modest

              Satisfied

              Full

              Ecstatic

  )
}

But probably if meant to be a "ready to use component", it will be like this:
export function TableExample() {
  return (

        <TableHead>
          <TableRow>
            <TableHead>King's Treasury</TableHead>
            <TableHead>People's happiness</TableHead>
          </TableRow>

          <TableRow>
            <TableData>Empty</TableData>
            <TableData>Overflowing</TableData>
          </TableRow>
          <TableRow>
            <TableData>Modest</TableData>
            <TableData>Satisfied</TableData>
          </TableRow>
          <TableRow>
            <TableData>Full</TableData>
            <TableData>Ecstatic</TableData>
          </TableRow>

  );
}

While it's true there is a table "example" in the Typography that looks like this:
export function TypographyTable() {
  return (

              King's Treasury

              People's happiness

              Empty

              Overflowing

              Modest

              Satisfied

              Full

              Ecstatic

  )
}

But probably if meant to be a "ready to use component", it will be like this:
export function TableExample() {
  return (

        <TableHeader>
          <TableRow>
            <TableHead>King's Treasury</TableHead>
            <TableHead>People's happiness</TableHead>
          </TableRow>
        </TableHeader>
        <TableBody>
          <TableRow>
            <TableData>Empty</TableData>
            <TableData>Overflowing</TableData>
          </TableRow>
          <TableRow>
            <TableData>Modest</TableData>
            <TableData>Satisfied</TableData>
          </TableRow>
          <TableRow>
            <TableData>Full</TableData>
            <TableData>Ecstatic</TableData>
          </TableRow>
        </TableBody>

  );
}

Indeed, a Table component offers more advanced features such as column sorting, pagination, and possibly the ability to use custom Row/Column Templates with the items passed as parameters, making it distinct from the simple table example in the docs.
+1

@tcortega It can also starts simple with styling first, without any particular feature. Like what Flowbite has here: https://flowbite.com/docs/components/tables
If need more functionality (not just a styling) then will need to integrate with existing table library such as TanStack Table: https://tanstack.com/table/v8

@tcortega It can also starts simple with only the styling first, without any particular interactive feature. Like what Flowbite has here: https://flowbite.com/docs/components/tables
If need more functionality (not just a styling) then will need to integrate with existing table library such as TanStack Table: https://tanstack.com/table/v8

I'll use TanStack Table in the meanwhile, didn't know about it, thankssssssss

@tcortega Sure thing, you're welcooome

Hey there! If you're searching for something a bit more advanced, you might enjoy exploring Material UI Data Grid: https://mui.com/x/react-data-grid/ this is what i use for now but having a hard time customizing it to fit the UI design, It would be fantastic to see it integrated as a feature in the future! 😊

+1 a table component that would allow filtering/pagination/sorting would be very useful

I'd love to see that too!
I've already combined some of the table styles from the typography page with tanstack table.
Has anyone some ideas, which parts of the tanstack table api a component should cover? I'd PR one.

I'd love to see that too!
I've already combined some of the table styles from the typography page with tanstack table.
Has anyone some ideas, which parts of the tanstack table api a component should cover? I'd PR one.

I think this ends up being a pretty personal answer, but, I'd pretty much just use filtering support (global/custom filtering, not filtering per column), column sorting, pagination and that's pretty much I guess?

There is a PR for this: https://github.com/shadcn/ui/pull/248

There is a PR for this: #248 feat(Table): Add Table component

I'd say that this table is pretty solid but also too simple

| I'd say that this table is pretty solid but also too simple
Yeah, @shadcn said:
| This looks great. I've been testing tanstack-table integration. I'll give this a try with this component and report back.

As an alternative to Tanstack, I would also like to recommend Adobe's React Aria, which has an accessibility-first philosophy and would probably be a better fit for Radix.

As an alternative, I would also like to recommend Adobe's React Aria, which has an accessibility-first philosophy and would probably be a better fit for Radix.

Just realized this is much nicer.
Probably:

Simple table -> upcoming shadcn UI Table, MUI Table
More featured table -> React Aria useTable
Full featured complex table -> TanStack Table

As an alternative, I would also like to recommend Adobe's React Aria, which has an accessibility-first philosophy and would probably be a better fit for Radix.

Just realized this is also nice.
Probably:

Simple table -> upcoming shadcn UI Table, MUI Table
More featured table -> React Aria useTable, MUI DataGrid
Full featured complex table -> TanStack Table

To be honest, I don't see the necessity of using intermediate tables like React Aria's or MUI's. TanStack already offers accessibility and is extremely user-friendly. It provides optional features that work seamlessly across various browsers. I've built and tested it using the same style as shadcn.
Typically, there are two scenarios: displaying a small amount of data in a tabular format, or displaying a small or large dataset with filtering, sorting, and pagination capabilities for users. Given that React Aria's table lacks pagination, I find the middle option redundant.

To be honest, I don't see the necessity of using intermediate tables like React Aria's or MUI's. TanStack already offers accessibility and is extremely user-friendly. It provides optional features that work seamlessly across various browsers. I've built and tested it using the same style as shadcn.
Typically, there are two scenarios: displaying a small amount of data in a tabular format, or displaying a small or large dataset with filtering, sorting, and pagination capabilities for users. Given that React Aria's table lacks pagination, I find the middle option redundant.

@tcortega Yes, you're corret. To clarify, actually I was not specifically talking about Table in shadcn UI. But rather some options people can choose at the moment. Therefore, the necessity will depends on the person needing the components.

TanStack already offers accessibility and is extremely user-friendly

@tcortega Actually TanStack does not offer accessibility (straight from its author), so if we want to follow the same philosophy as Radix, we would need to code accessibility ourselves. I have no idea what that would entail, if it's just a few lines of code, or hundreds.

Whoa and what just shipped is also the Data Table with TanStack Table
https://ui.shadcn.com/examples/tasks
https://ui.shadcn.com/docs/components/data-table


Add .netrc file to CLI Docker image

When using Drone CI, Drone tries to write data to /root/.netrc file. That returns error because CLI container is run by kontena user and permission is denied. This PR adds .netrc file into /root directory and gives access to kontena user to it.
Related discussion on Drone forum: http://discourse.drone.io/t/netrc-permission-denied/171

Should we just switch to root? /cc @jnummelin

I think using root makes life much easier, there might be other similar uses for Kontena CLI in the future. I think the only "real" issue using root is that when user mounts something to the container. But mounting your private stuff into random container is always potential user-error.


Token: Seller Onboarding Modal

Sellers will be guided through the process of enabling Web3, learning about commissions, and potentially acquiring tokens. The mocks are here, and there are four states that the tutorial may be in:

[x] overview
[x] connecting
[x] connected
[x] get/learn

The current priority is to build and style these components without real functionality.

First iteration resolved by https://github.com/OriginProtocol/origin-dapp/pull/460 ✅


Paper about stratification on multi-label data

http://lpis.csd.auth.gr/publications/sechidis-ecmlpkdd-2011.pdf
This paper should help when using Kfold method.

paper downloaded.


Typescript Major Change 2.0

HI Everyone,
We're porting this package to typescript and adding a whole new API so that it feels more like React than just a wrapper.
I'm working on this in a seperate repo, so check it out if you wish: https://github.com/waynevanson/react-sortablejs-typescript
I'll be appending features to this issue that we will be looking to address as I write this over the next few days:

[x] Add some features to this section
[ ] Sortable plugin compatibility
[x]  Use components as the wrapping element of a sortable instance
[x] Provide the newly changed state, not just the order it should be in, so changing state is super simple
[ ] Flexible nested compatibility
[ ] A Nested Component?

Please advise if you have any questions or concerns regarding the new API:
Options
All of the options will be available as props.
<ReactSortable
  onAdd={(evt) => console.log(evt)}
/>

onChange >>> setState
onChange will now be called setState like a useState() hook to avoid conflicts in the API with options.onChange

setState now takes return the actual state of you items, instead of just the order.
state is required as a prop, which is the list of items you'd like to render
state must be an array of objects. Objects of any other type should cause an error.
state must have an id property of a string. This is to avoid using the index as a key, which causes issues on state changes.

Community / Your Turn
Is there anything you'd like to see? Throw us a comment and we'll see what we can do :)

Reference: https://github.com/SortableJS/react-sortablejs/issues/83


CSS

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

Added CSS style sheet and an updated HTML file for the Prework Study Guide application.


Invalid s value in Signature

This issue is to track the need to decide on how best to handle the situation, it's possible that reth will remove this zero check (per speaking with them at the Paradigm frontiers event).
The alloy-primitives crate, when the k256 feature is enabled, will do a check for zero values in the signature.  On our invalid transactions we put the sender in the s value of the signature, and this fails the check.  Currently, the translator/consensus client do not enable the k256 feature on alloy, but when running all the components together in the e2e test within telos-reth repo, the k256 feature is enabled by reth, and this breaks the translator trying to construct the Signature with a zero s value.
Currently, if we use 0xff to pad the s value, it passes the k256 check but changes the block hashes such that they are different than 1.5 and therefore we cannot match reth vs 1.5 RPC hashes.
If we want to revert this behavior, even just in a build to use for matching against 1.5, the changes are in this commit.

Currently it seems we have added more reth crate dependencies to the consensus client which now cause the consensus client to panic on zero s value, even when the consensus client is built on it's own (not part of the integration test on reth)

It seems that alloy version 0.3.x resolves this issue and does not enforce the zero check.  We need to update telos-reth to the latest v1.0.6 version and then we can update the alloy dependency in the consensus client to 0.3.x to resolve this.


Go back elementum

Hello, first of all congratulate you on the plugin, it looks very good.
Unfortunately, after having it installed several days, I have never achieved a good download speed and the video stops, either with the memory option selected or the file.
For this reason I have decided to go back quasar again, although I will carefully monitor the progress of Elementum.
My problem is that when installing elementum in the options I chose to migrate from quasar to elementum. Previously I had chosen that the library folder was the same as quasar and after deactivating elementum I can not execute movies added to the library.
Something is broken ...
Do you have any idea how I can make my old library work again with quasar?
regards

I have the same problem when the number of seeders is high. The download speed is low. Using a Raspberry Pi.

Yep, exact same here. Latest version. Shield TV.

Something is broken ...
Nothing is broken. When you choose to migrate - Elementum is deleting moving library items from Quasar to Elementum to avoid further duplicates.
You should re-add items to Quasar library. There is no other way to revert.

Quasar migration was removed from settings. Because it creates more questions and does not allow moving back to Quasar.
Perfect solution would be to use separate directory for Elementum and sync your library with Trakt.


Spelling Error

[Enter feedback here]
Hi Guys
Just a small thing, there is a smelling error under Personas for Fusion Development, Bellow should be Below.
Thanks

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3cc1b143-7a86-2db1-3d08-5e0f066f78f3
Version Independent ID: 3cc1b143-7a86-2db1-3d08-5e0f066f78f3
Content: fusion development in Power Platform - Power Platform
Content Source: power-platform/developer/fusion-development.md
Service: power-platform
Sub-service: developer
GitHub Login: @marcelbf
Microsoft Alias: marcelbf

Thanks for your comment, @MichaelChadbourne. This issue has been assigned to the doc author for review.

Thanks @MichaelChadbourne  and @RedsGT


Stiff Scroll Effect

Description of the Bug
I would like to use Stiff Scroll Effect together with RecycleView.
The problem that after having a certain amount (?) of items I get an RecursionError: maximum recursion depth exceeded in comparison  error.
It belongs to the Stiff Scroll Effect because when I uncomment that line, the error goes away.
What I would like to achive not to have overscroll effect.
traceback.txt
Code and Logs
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.recycleview import RecycleView
from kivymd.stiffscroll import StiffScrollEffect

Builder.load_string(
    """
<RV>:
    viewclass: 'Label'
    RecycleBoxLayout:
        default_size: None, dp(56)
        default_size_hint: 1, None
        size_hint_y: None
        height: self.minimum_height
        orientation: 'vertical'
"""
)

class RV(RecycleView):
    def __init__(self, **kwargs):
        super(RV, self).__init__(**kwargs)
        self.effect_cls = StiffScrollEffect
        self.data = [{"text": str(x)} for x in range(100)]

class TestApp(App):
    def build(self):
        return RV()

if __name__ == "__main__":
    TestApp().run()

Versions

OS: Windows 10
Python: v3.8.3
Kivy: v2.0.0rc3
KivyMD: master

Thanks for your help!

@mozesa Yes. There is such a bug on Python 3.8


x/vuln: package slices is not in GOROOT

When using vuln with go v1.20.14 it fails to install because slices is not in the standard library. The vuln docs, and go.mod, claim to be compatible with go 1.18 and later.
https://github.com/osbuild/weldr-client/actions/runs/9542027269/job/26296139660?pr=139
Setup go version spec 1.20.x
Found in cache @ /opt/hostedtoolcache/go/1.20.14/x64
Added go to the path
Successfully set up Go version 1.20.x
/opt/hostedtoolcache/go/1.20.14/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.20.14/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Cache is not found
go version go1.20.14 linux/amd64

Run go install golang.org/x/vuln/cmd/govulncheck@latest
  go install golang.org/x/vuln/cmd/govulncheck@latest
  shell: /usr/bin/bash -e {0}
go: downloading golang.org/x/vuln v1.1.2
go: downloading golang.org/x/telemetry v0.0.0-20240522233618-39ace7a40ae7
go: downloading golang.org/x/mod v0.18.0
go: downloading golang.org/x/tools v0.22.0
go: downloading golang.org/x/sync v0.7.0
Error: ../../../go/pkg/mod/golang.org/x/vuln@v1.1.2/internal/openvex/handler.go:12:2: package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices)
Error: Process completed with exit code 1.

Similar Issues

x/tools/gopls: broken build with x/vuln@latest #59837
x/vuln: govulncheck is confused when go command version doesn't match that used to build it #55045

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

The Go Release Policy  states that each major Go release is supported until there are two newer major releases.
Since go 1.22 was released back in February it has been a couple months that Go 1.20 does not receive any kind of security update.
Plus you are installing the most recent commit of vuln (@latest) which is unlikely to work anyway with Go 1.20.
My advice is that you should update to a supported release.

The go.mod argument is valid, we should probably change it to go 1.21.

cc @golang/vulndb

Looking a bit more into it, the only place that imports slices was added 2 weeks ago in https://go-review.googlesource.com/c/vuln/+/575859.
I wonder if we should have used x/exp/slices instead.

We have been discussing as a team what our strategy should be for keeping the go.mod go lines up to date across all the x repositories, we should probably just manually update this one for now as that conversation progresses.
It would be ironic to expend effort to make a vulnerability tool compile with a vulnerable version of go, we definitely don't plan to support building with any version of go except the most recent security patch of actively supported versions!

Understood. I'm stuck on an older version until RHEL 9 tooling updates so that's why it's using v1.20

Understood. I'm stuck on an older version until RHEL 9 tooling updates so that's why it's using v1.20

Had the same issue. The two options are: install v1.1.1 of the tool or patch it so it doesn't use slices

[PATCH] Remove slices package
diff --git a/go.mod b/go.mod
index 1412cb1..dd7e820 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module golang.org/x/vuln

-go 1.21
+go 1.18

 require (
        github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786
diff --git a/internal/openvex/handler.go b/internal/openvex/handler.go
index b5e43aa..8553743 100644
--- a/internal/openvex/handler.go
+++ b/internal/openvex/handler.go
@@ -9,7 +9,7 @@ import (
        "encoding/json"
        "fmt"
        "io"
-       "slices"
+       "sort"
        "time"

        "golang.org/x/vuln/internal/govulncheck"
@@ -153,16 +153,8 @@ func statements(h *handler) []Statement {
                statements = append(statements, s)
        }

-       slices.SortFunc(statements, func(a, b Statement) int {
-               if a.Vulnerability.ID > b.Vulnerability.ID {
-                       return 1
-               }
-               if a.Vulnerability.ID < b.Vulnerability.ID {
-                       return -1
-               }
-               // this should never happen in practice, since statements are being
-               // populated from a map with the vulnerability IDs as keys
-               return 0
+       sort.Slice(statements, func(i, j int) bool {
+               return statements[i].Vulnerability.ID < statements[j].Vulnerability.ID
        })
        return statements
 }

FWIW, newly released govulncheck v1.1.3 now requires go1.21 and newer.

Understood. I'm stuck on an older version until RHEL 9 tooling updates so that's why it's using v1.20

Had the same issue. The two options are: install v1.1.1 of the tool or clone the repo and patch it so it doesn't use slices
[PATCH] Remove slices package

Same here. We are stuck to 1.19 for windows use. v1.1.1 works.
keep in mind that https://go.dev/doc/tutorial/govulncheck indicates that works from 1.18. Should be changed?

keep in mind that https://go.dev/doc/tutorial/govulncheck indicates that works from 1.18. Should be changed?

Should be addressed now.


www.slideshare.net だけ CORS policy 設定が反映できない

Facebook, Twitter, Hatena の embedded はうまくいったのに、なぜか www.slideshare.net の embedded だけが対応できない。どうしたものかなぁ... 🤔 (もしかして: SlideShare が HTTPS 対応していないのが関係している?)

Access to Font at 'http://public.slidesharecdn.com/fonts/fontawesome-webfont.woff2?v=4.3.0?cb=1481840525' from origin 'http://www.slideshare.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.slideshare.net' is therefore not allowed access.

SlideShareが返してるヘッダー全部小文字だから弾かれるのかな、Safariだと問題ないですね＞CORS

access-control-allow-credentials:false
access-control-allow-headers:*
access-control-allow-methods:GET
access-control-allow-origin:*
access-control-max-age:86400

いたるところで「a case-sensitive match」になってるけど、RecommendationだからSafariは気にしてないって感じかなぁ🤔

If the value of Access-Control-Allow-Origin is not a case-sensitive match for the value of the Origin header as defined by its specification, return fail and terminate this algorithm.
Cross-Origin Resource Sharing https://www.w3.org/TR/cors/

結論: こちら側での対応は難しそう。回避するか無視するかのどっちかかな🤔

こちらでできるのはSlideShareへの問い合わせぐらいですね

ダメ元で問い合わせしておきました! 📨

Hi, I have found that slideshare.net wrongly uses 'access-control-allow-origin: *' in the header. According to the specification, it should be case-sensitive.

If the value of Access-Control-Allow-Origin is not a case-sensitive match for the value of the Origin header as defined by its specification, return fail and terminate this algorithm.
Cross-Origin Resource Sharing https://www.w3.org/TR/cors/

Because of this problem, for example, when you visit https://coderdojo.jp with Google Chrome, your console says the following error:

Access to Font at 'http://public.slidesharecdn.com/fonts/fontawesome-webfont.woff2?v=4.3.0?cb=1481840525' from origin 'http://www.slideshare.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.slideshare.net' is therefore not allowed access.

I hope this will be fixed soon.
Best,
Yohei

うーん、まぁ前例もあるからあまり期待してなかったけど、やっぱり対応してもらえなさそうでした😭 (SlideShareを使わないようにするのが早いかもなぁ🤔)

Hi Yohei,
Thank you for contacting me about having issues with our SlideShare API. SlideShare's API is available free for non-commercial use. Visit our Developers & API page for more information and to apply for an API Key. (http://www.slideshare.net/developers)
In the future, please get in direct contact with their Partner Engineering representative rather than using help.linkedin.com as we do not provide personalized support for the general developer community beyond the resources we make available on http://www.slideshare.net/developers or developer.linkedin.com (e.g. the FAQ, documentation, etc.)
All the best,
Allison
LCS Support Specialist - Mobile

頑張ってアレコレ必死に伝えたら、とりあえず escalation してもらえるようになった 😸

Thank you for the information and as stated, this particular issue will need to be escalated to our internal research team. I understand this may be frustrating but as soon as I get an update, I'll let you know.

(あとは向こうの判断にお任せかな🤔)

こちら側でできるところことは全部やれたので、向こう側が対応することを祈りつつ、Issue としては閉じようと思います 🙏 (こちら側でできることはもう無さそうなので)

Good day. Is this already resolved? I am also encountering the issue. Thanks.


Teensy MicroMod support

I know the T4.1 was never fully supported with this library, as the original T4.x support was implemented for the 31 pins on the T4.0
But I just tried to run a simple example on a Teensy MicroMod and it doesn't even reboot.
After flashing the Teensy I get 9 blinks on the program led.
From the PJRC website under the T4 bootloader page:

9 Blinks = ARM JTAG DAP Init Error
The ARM JTAG DAP was detected (4 blinks) but could not be initialized. This error is rather unlikely!

`#include "Snooze.h"
#include "FlexCAN_T4.h"
#define canRx 30
FlexCAN_T4<CAN3, RX_SIZE_256, TX_SIZE_16> Can0;
SnoozeUSBSerial usb;
SnoozeDigital digital;// this is the pin wakeup driver
SnoozeBlock config_teensy(usb, digital);
void setup() {
pinMode(13, OUTPUT);
digitalWrite(13, HIGH);
Can0.begin();
Can0.setClock(CLK_60MHz);
Can0.setBaudRate(500000);
//Can0.enablInterrupt();
Can0.onReceive(canSniff);
}
const int loopDelay1 = 5;
unsigned long timeNow1 = 0;
const long SleepTimer = 30000; // Time to go to sleep
unsigned long startTime = 0;
void loop() {
if (millis() > startTime + SleepTimer)
{
hibernateTeensy();
}
else{
if (millis() > timeNow1 + loopDelay1){
timeNow1 = millis();
}
}
}
void hibernateTeensy(){
Serial.println("...Time to Sleep....");
digitalWrite(13, LOW);
digital.pinMode(canRx, INPUT_PULLUP, RISING);
//Snooze.deepSleep( config_teensy );
//Snooze.sleep( config_teensy );
Snooze.hibernate(config_teensy);
}
void canSniff (const CAN_message_t &msg){
startTime = millis(); // Resets the go to sleep clock at the beginning of the loop
}`
I will test the code on a T4 and 4.1 and see if it can be replicated there as well.

Fixed by setting function
startup_early_hook into FLASHMEM


master build version is lesser than the latest released version

Describe the bug
See $SUBJECT
To Reproduce
Steps to reproduce the behavior:
$ make bin
go build -i -v -o gitops -ldflags="-s -w -X github.com/rhd-gitops-example/gitops-cli/pkg/cmd/version.Version=v0.0.2-10-g7dd5183" cmd/gitops-cli/gitops.go

$ ./kam version
kam version v0.0.2-53-g946070d

Download latest release - https://github.com/redhat-developer/kam/releases/tag/v0.0.4
$ ./kam_darwin_amd64 version
kam version v0.0.4-0-gcf34b16

Expected behavior
master build version should not less than latest release version. For example here the master version would be something like  v0.0.4-0-<last_commit_sha>
Screenshots
NA
Additional context
NA

By the looks of things, you're using an out of date checkout?
$ make bin
go build -i -v -o kam -ldflags="-s -w -X github.com/redhat-developer/kam/pkg/cmd/version.Version=v0.0.4-7-g946070d-dirty"

$ ./kam version
kam version v0.0.4-7-g946070d-dirty

$ ./kam version
kam version v0.0.5-10-ga29421d

Looks good.
My origin repo was somehow referring to the old gitops-cli deprecated repo. I cleaned up then version looks good now 👍
/close


[blazor] Not to hard code blazor component property names in RenderTreeBuilder

Is it possible not to hard code blazor component property names in RenderTreeBuilder?
Instead:
builder.AddAttribute(2, "Title", "How is Blazor working for you?");
to have:
 builder.AddAttribute(2, SurveyPrompt.Title, "How is Blazor working for you?");
protected override void BuildRenderTree(RenderTreeBuilder builder)
        {
            builder.AddMarkupContent(0, "
Hello, world!
");
            builder.OpenComponent<SurveyPrompt>(1);
            builder.AddAttribute(2, "Title", "How is Blazor working for you?");
            builder.CloseComponent();
        }

This will have two benefit:

If developer is manually building blazor component using RenderTreeBuilder, it will be easier to work with class properties rather than hard coded names.

I do blazor source mangling using mono.cecil and when I rename property names, hard coded names stay same because mono.cecil does not know about it and blazor is breaking.

If we will do some manipulations on blazor dlls in future (obfuscating/mangling and etc) it will be better not to have hard coded property names.
I can add logic and if try hard I can find and replace this hard coded names too, but it will be much easier if compiler will do it for us.
https://github.com/Lupusa87/BlazorSourceMangler/blob/master/BlazorSourceMangler/Mangler.cs#L74
For more details re Blazor Source Mangler you can check repo or video

If developer is manually building blazor component using RenderTreeBuilder, it will be easier to work with class properties rather than hard coded names.

Wouldn’t nameof accomplish this?

@chucker

Wouldn’t nameof accomplish this?

Sure it will but it is optional and developer can continue hard coding if they don't know why to use nameof and it is not required by compiler.
In ideal case compiler should complain if it sees hard coded names.
It will be hard to achieve because builder.addattribute is receiving string parameter but maybe there can be some way.
If developer is manually building render tree he/she can be advised from documentation to use nameof instead of hard coded names and it can be enough but for razor compilation need to be changed hard coded names to class properties maybe using nameof as easiest option.

Thank you for this feedback. This is not something we plan to invest in given the complexity involved the impact on our ability to evolve the implementation going forward.

I think it is not hard razor compiler to generate:
builder.AddAttribute(2, nameof(SurveyPrompt.Title), "How is Blazor working for you?");
Instead of:
builder.AddAttribute(2, "Title", "How is Blazor working for you?");
Hard will be compiler to require not to hard code name in manual buildRenderTree use and I am ok if we don't go in this direction, because it could be lot work.
But I ask to estimate using nameof(SurveyPrompt.Title) istead "title" and if it is easy to do please do it.


ScriptBundling dose not work

Hi Friend,
I published some website by serenity and it's good working thanks you,
but they have some problem for example ScriptBundling dose not work or minify  script , css ......
I try to use web.optimize from MVC but conflict by serenity
can help me please!?

See
https://volkanceylan.gitbooks.io/serenity-guide/content/howto/how_to_enable_script_bundling.html
Best Regards


"Asuaju de Sus" and "Asuaju de Jos" are listed in the drop-down menu

Description:
"Asuaju de Sus" and "Asuaju de Jos" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Asuaju de Sus" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Asuaju de Sus, MARAMUREȘ (Asuaju de Sus)" and "Comuna Asuaju de Sus, MARAMUREȘ".