add : getTxByBlockHashAndIndex

Implement getTxByBlockHashAndIndex
Time spent on this PR: 0.1
Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?
Unimplemented
Issue Number: N/A
What is the new behavior?
Returns a Transaction struct when given a block hash and index
Does this introduce a breaking change?

[ ] Yes
[x] No

Other information
Please treat this PR carefully, as I'm new to contributing, Rust, and this codebase. I thus may have made mistakes

I added a hurl example in the rpc-call-examples folder and ran cargo test --all, which succeeded. Is this what you meant ?

I meant to try and run cargo run --package  kakarot_rpc and then in another terminal hurl rpc-call-examples/transactionByBlockHashAndIndex.hurl
you'd have to install hurl

Nice PR! Ready to merge, you'll have to resolve conflicts first:)

Not sure what's happening

Making a new, cleaner PR


removed unnecessary tabs from /usr/sbin/policy-rc.d, and /sbin/initctl for mkimage.sh debootstrap

contrib/mkimage.sh debootstrap creates a debian image which
has unnecessary tabs in /usr/sbin/policy-rc.d, and /sbin/initctl.
% sudo contrib/mkimage.sh debootstrap --arch=amd64 --variant=minbase --components=main stable http://ftp.jp.debian.org/debian
+ mkdir -p /var/tmp/docker-mkimage.kqap1CTM6d/rootfs
+ debootstrap --arch=amd64 --variant=minbase --components=main stable /var/tmp/docker-mkimage.kqap1CTM6d/rootfs http://ftp.jp.debian.org/debian
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
:
(snip)
:
Removing intermediate container 735f944a4e73
Successfully built cdea84963ea8
+ rm -rf /var/tmp/docker-mkimage.kqap1CTM6d
% docker run --rm cdea84963ea8 cat /usr/sbin/policy-rc.d
	#!/bin/sh

	# For most Docker users, "apt-get install" only happens during "docker build",
	# where starting services doesn't work and often fails in humorous ways. This
	# prevents those failures by stopping the services from attempting to start.

	exit 101
% docker run --rm cdea84963ea8 cat /sbin/initctl
	#!/bin/sh

	# For most Docker users, "apt-get install" only happens during "docker build",
	# where starting services doesn't work and often fails in humorous ways. This
	# prevents those failures by stopping the services from attempting to start.

	exit 101

This pull request removes those tabs.
% git checkout fix/debootstrap
Switched to branch 'fix/debootstrap'
Your branch is up-to-date with 'origin/fix/debootstrap'.
% sudo contrib/mkimage.sh debootstrap --arch=amd64 --variant=minbase --components=main stable http://ftp.jp.debian.org/debian
+ mkdir -p /var/tmp/docker-mkimage.uePTXpg4pc/rootfs
+ debootstrap --arch=amd64 --variant=minbase --components=main stable /var/tmp/docker-mkimage.uePTXpg4pc/rootfs http://ftp.jp.debian.org/debian
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
:
(snip)
:
Removing intermediate container f51d632cb42d
Successfully built d21a4c46d84d
+ rm -rf /var/tmp/docker-mkimage.uePTXpg4pc
% docker run --rm d21a4c46d84d cat /usr/sbin/policy-rc.d
#!/bin/sh

# For most Docker users, "apt-get install" only happens during "docker build",
# where starting services doesn't work and often fails in humorous ways. This
# prevents those failures by stopping the services from attempting to start.

exit 101
% docker run --rm d21a4c46d84d cat /sbin/initctl
#!/bin/sh

# For most Docker users, "apt-get install" only happens during "docker build",
# where starting services doesn't work and often fails in humorous ways. This
# prevents those failures by stopping the services from attempting to start.

exit 0

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "fix/debootstrap" git@github.com:minimum2scp/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

Sined and force pushed. Is it OK?

LGTM

cc @jfrazelle

@minimum2scp the CI is failing because the .validate-spaces PR got merged. Would you mind rebasing on master?

OK, rebaed on master (3bed92a), and force pushed.
But CI is still failing...?

Rebased on master(f08e9f4), and force pushed.

Huh, you're right... well then I believe that validation script is too pedantic.
Anyway, this PR is simple and good. So LGTM

Should I rebase on latest master?

Sure :)

Rebased on master(a0cfe83), and force pushed.

Thanks for your contribution @minimum2scp !

Thanks!


feat(module:divider): support standalone component

PR Checklist
Please check if your PR fulfills the following requirements:

[✔] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[✔] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[✔] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
What is the new behavior?
Updated Divider component to work as a standalone component.
Does this PR introduce a breaking change?
[ ] Yes
[✔] No

Other information

LGTM


elm-package.json uses outdated elm 0.15.1 dependencies.

Please update the elm-package.json template to support elm 0.16.
I have included my version below.


Major update with changes from other python-rocksdb forks

Credit goes to @NightTsarina, and many others, for aggregating and maintaining all these commits!
Upon further review, I'll need to edit a few things before we can merge this. Things like the README, and build workflows aren't identical to what's configured for this repo.

Can you please fix the conflicts?

@wbarnha do you want to do a release to pypi? I can add you as a maintainer to this repo

Sure, I'll do a release on PyPi later today. Please add me as a maintainer when you get the opportunity.

what is your pypi id?

My ID on PyPi is also wbarnha


Disqus

Is there any more configuration for discqus other than putting your disqus shortname in the _config.yml and _includes/disqus_comments files?
thank you

Set comments: true In the YAML Front Matter of each post you want comments on. If you want another behavior it's easy enough to change the Liquid if statement in the layout to do whatever you want (ie: comments enabled on all posts, not at all, etc)

is there any way to add disqus as a default using remote-theme? Not to add each.


Provide example for @config

[x] I think it would be nice to point out what part of xstate createMachine call this mirrors.
[x] It expects hash within a hash (at least for actions), which is not that intuitive syntax, so an example would be nice.

Fixed in #195.


Annotation drawing

This PR will add annotation manipulating features to the viewer app.  The changes were first done by @iamyle0710  and I made more changes to make sure it can be merged with master.
There are a lot of changes in this branch so I'm not exactly sure how we should go about reviewing this PR, but I will try to summarize the changes in the following list:
Chaise (non-viewer) changes:

Modified inputSwitch directive to support a more general case. The existing directive is working in a special mode. I didn't want to completely change the select-all implementation, so now the inputSwitch is used in two different modes (it's determined by the passed attributes):

select-all: doesn’t have an initial value. The value that is stored and displayed is not necessarily what will be sent and we’re using an extra translation layer.
normal field (used in viewer): can have initial value and the stored value is exactly what will be sent.

When I said "sent" I didn't mean sent to ermrestjs. No matter what we’re still going to have a translation layer that is called populateSubmissionRows. So the problem with select-all case is that it has an EXTRA translation layer.

Fixed the implementation of markdown preview in the inputSwitch directive.

The code was naively clicking on a button in recordedit page to show the markdown preview. I modified it to directly call the showModal Function that we have. This way it can be used in other places as well. While doing this, I also refactored the code a bit (removed the markdownPreview.js and moved the implementation to modal.js) and removed other unused packages (angular-datepicker, rzslider.)

Moved some of the functionalities of recordedit app to the common recordCreate.js  file. So both recordedit and viewer can use them for showing the form.

Fixed the failing test cases.

Viewer related changes

Removed the viewer.css and moved the new styles that were added to the _viewer-app.scss.

Removed alerts and other old/unused services that were specific to the viewer app in favor of the general Chaise versions.

Added a new viewerConstant constant attribute so it's easier to update.

Refactored viewer.app.js by removing unused code and making the use of Reference API.

Changed the HTML structure of viewer app to be aligned with the rest of Chaise.

Fixed the spacing issue in the popup (it was because of the missing DOCTYPE definition.)

Added edit/create forms to the viewer app using the same directive/servies that recordedit is using.

The focus of this PR was to get the annotation drawing feature to a point that is "mergable". After merging this PR, I should spend some time refactoring the code (You might notice the TODOs that I left in the code.) We also are not properly supporting logging in this app (which should be addressed later).

@jrchudy I addressed your comments and pushed another change to address the performance issue that we were seeing on the page.
I tried to explain this in my commit, so In the following, I will copy what I wrote in there:
There are three different events that happen that should be ordered properly:

(1) When all the requests are done and iframe location is updated, so we tell the viewer app that its "displayReady".
(2) When we initially set the height of the bottom-container.
(3) When we show the iframe.

With the previous approach, we were doing (3) as soon as the HTML page loads. Then (1) and (2) together. Since we were doing (1) and (2) together, by the time that (2) was done, the page wasn't still showing anything and therefore it couldn't set proper height. So the iframe would show up with a small height. If the iframe had to load a lot of images, the lag would delay the logic to update the height and the user could see the small iframe for a few seconds.
I modified the code to do (1) and in the second digest cycle, it would do (2) and (3) together. So by the time that we're setting the initial height the rest of the page is properly displayed and the initial height is what we want. And we're also going to show the iframe at the end of this second digest cycle, so you won't see a small iframe on load.


export 'InjectiveStargate' (imported as 'InjectiveStargate') was not found in '@injectivelabs/sdk-ts' (module has no exports)

After importing InjectiveStargate like
 import { InjectiveStargate } from '@injectivelabs/sdk-ts';
i my code i get lot's of error like
Module not found: Error: Can't resolve './core' in '/../../cypher/groot/node_modules/@injectivelabs/sdk-ts/dist/esm'
Did you mean 'index.js'?
BREAKING CHANGE: The request './core' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
Can anybody help me resolve it

Same issue here. From version 1.14.7 to version 1.14.11 the InjectiveStargate is not exported anymore. This is a major breaking change I would say. Doesnt seem intentional. Even if it would be intentional, the docs do not reflect this change either. See using keplr

Import it from @injectivelabs/sdk-ts/dist/exports

Import it from @injectivelabs/sdk-ts/dist/exports

How is that a proper solution for the fact that your semantic versioning is wrong? It can cost people quite some time to figure out this issue. I would deprecate the release, fix your exports and then create a new proper release.

We will update the version once the chain upgrade is completed.
Until then, you can use an old version of the packages.
We are stil figuring out how to do proper semantic releases as there are tons of moving components related to the version of the packages.

We've published new stable versions:
@injectivelabs/exceptions: 1.14.12
@injectivelabs/networks: 1.14.12
@injectivelabs/sdk-ts: 1.14.12
@injectivelabs/ts-types: 1.14.12
@injectivelabs/utils: 1.14.12
@injectivelabs/wallet-ts: 1.14.12


fairOS-dfs linux binary panics on gh-action

Describe the bug
fairOS-dfs (v.8.2-rc6) linux binary panics on gh-action while trying to connect to local running bee node.
Most probably it is due to cgo enabled build from goreleaser-cross.

Fixed in https://github.com/fairDataSociety/fairOS-dfs/releases/tag/v0.8.2-rc7


update controller-tools

update controller-tools

We need version 0.9.2 which goes with operator-sdk 1.26.  This can get specified with "go get<EMAIL_ADDRESS> Clarification on why we need this:  it is for downstream builds.  We need the controller-tools cached and adding them as a go dep is the only way we know how to do it.


Feature questions

Forgive me if any of these exist here already:

[x] automatic text wrapping*
[x] font size (and outline?), % growth option for text and icons (especially in buttons)
[ ] traditional menu bar. Also detecting what is being used (like Gnome vs other DEs or whenever using no-CSD)
[ ] tray menu. (or maybe that'd be a different package)

*=this is actually the most important one for me now, because I wanted attempt to make a digital choose-your-adventure system.

Text Wrapping: I added the line_wrap field to the Label widget, which can be used to wrap text. There is also an example for how to use it.
Text Styles: Font size, outline and icon size options seem like something which should be controlled by a theme (= CSS stylesheet). It is currently not possible to set a stylesheet for an app, but I will probably add this feature at some point. Changing the size of icons is already possible using the pixel_size field, the unit of this value is pixels however.
Menus: Since I find traditional menu bars quite cumbersome, I personally do not have interest in supporting menus. I do however recognize that CSDs look weird in DEs that do not use them (i.e. I will probably not implement this). The ideal solution would be to have a unified API which automatically detects the users preferred menu style (e.g. based on the used desktop environment) and creates the corresponding menu/header bar/popover from a single specification. Since such an API is not trivial to design, a simpler solution would be to create an extension (separate module, e.g. owlkettle/ext/menus) for building non-CSD menus.
Tray Icons: The GTK API for creating system tray icons seems to be deprecated. So a separate library might be a better solution here.

Thank you for the quick textwrap addition.

Font size, outline and icon size options seem like something which should be controlled by a theme

Well, as I've said the issue for me is that that buttons (and other elements) scale but their contents don't. It looks weird having a bigger button with text/icon staying the same.
Though for any sort of text-based app it'd be useful for a user to just quickly change size. Outline (aside from aesthetic) is more useful when your text isn't on a set background (games or some other kind of HUD).

Menus

Not sure if it's what you meant by cumbersome, but my setup is ultra-minimal (12px titlebar) and maximized windows hide their titlebar (XFCE tweak). GNOME-style takes up more space.
I don't think hamburger menus are always terrible, but I don't think it's suited for really complex applications. For instance I'm sure most people who use any kind of design application (Krita, Inkscape, Blender etc) would definitely not want a hamburger menu there.

Scaling
In most user interfaces I am aware of, buttons only scale/expand in at most one direction. Its content just stays at a constant size. This can be accomplished in owlkettle by setting the expand attribute:
Box:
  Button {.expand: false.}:
    icon = "list-add-symbolic"

Do you have a specific example where a button needs to expand in both directions?
Menus
What I mean by cumbersome is that it is very hard to find the items you are looking for in a large menu. Look at GIMPs menu for example: It contains a lot of different items, submenus and even submenus of submenus. Finding a specific filter you want to apply is therefore quite time consuming (e.g. try to find the "difference clouds" filter).
Hamburger Menus do not solve these problems. But because of their inherent simplicity, they require the application designer to find better solutions to the design problems at hand (instead of a filter menu, you might have a "Apply Filter" tool which allows you to search a single list of filters).
Blender is actually also an interesting case study here, since it does not have a large global menu (and the still existing global menu could just as easily be a hamburger menu + a header bar). The individual panes actually have something quite similar to a HeaderBar. E.g. the HeaderBar of the 3d view contains buttons to switch the rendering mode, dropdowns for configuring snapping and a "Popover" for configuring viewport overlays. Although I am not a frequent Blender user, at least from what I have seen, this design was received quite well by the community.
Hamburger Menus can of course also be used incorrectly. This might happen when they are used as a direct replacement for traditional menus. Just moving all of the complexity into another submenu just makes the user experience worse.
Please keep in mind, that I am not a user interface designer. I just happen to have a few strong opinions about how user interfaces should work ;)
As I have said before, I am not opposed to support menus in owlkettle, but I just do not have a personal interest in implementing them (and the necessary free time). My use for owlkettle is to develop applications which target the GNOME desktop environment where the use of menus is discouraged.

Do you have a specific example where a button needs to expand in both directions?

The most specific would just be having buttons that end up really small and thus could use the extra space for readability. Otherwise, it just seems like a waste of space and is aesthetically ugly.
Seems like it'd be nice to have more control here similar to x/y alignment (assuming I understand that correctly). Define what % the buttons can grow, and also define what % their contents can grow. I'd probably go with 50% (maybe less depending on original button size) and 75% respectively.

More:

I have a scrolledwindow with a lot of text in it now, when the application is ran it is scrolled to the bottom already. Is there a way to configure this, or is it a bug?

I haven't done much yet, but I already find it annoying needing to use boxes just to get multiple widgets even before organizing things. Particularly due to spacing (and I'm using single spaces!). Window(box(label, scrolledwindow(box(label, box(row of buttons)))))

I have added support for custom stylesheets, which allow you to modify the theme of your application. This example shows how to include a stylesheet. I am not sure if GTK's CSS dialect allows you to scale font sizes proportionally to the parent element however (it seems like this is not possible with standard CSS). The example results in the following app:

You can also set the font style for individual labels/parts of labels using the Label.use_markup field. This example shows how you can use it. A full documentation of the available text style attributes can be found here.
Regarding 1: This just seems to be the default GTK behavior. I think that it happens, because GTK will try to show the selected/focused widget to the user. So when you have a button below a large label in a scrolled window, the button is the first focusable widget in the window and GTK scrolls down to show it. I have tried to manually set the initial scroll position to 0, but GTK ignores this and scrolls down anyways. Making the first label in the scrolled window focusable does not work either, because it messes up keyboard navigation. So I am currently not sure how to "fix" this.
Regarding 2: Currently owlkettles widgets map (nearly) directly to GTK widgets. Since GtkWindow, GtkScrolledWindow, ... (→ GtkBin) cannot have multiple child widgets, owlkettle's Window, ScrolledWindow, ... widgets also only allow a single child widget. Automatically generating a GtkBox when adding multiple children to a widget is theoretically possible, but would be quite complex to maintain. There is also the issue of not being able to specify the attributes/fields of this implicit Box widget.
If you notice that your view code becomes to complex, it is always possible to split it into multiple components as shown in this example. In your example, you might want to refactor the box(label, box(row of buttons)) into a new widget.

Making the first label in the scrolled window focusable does not work either, because it messes up keyboard navigation. So I am currently not sure how to "fix" this.

It's still a silly work-around, but it does work simply to put a button either at the top of the scrolledwindow or even above it.

CSS and markup

That's cool and helpful for what I was trying, but yeah still not seeing the scaling I wanted.
I am not too knowledgeable with CSS but I looked it up and did see vw and vh for scaling based on viewport size... however this setup does not support that and instead will not run at all. Error: unhandled exception: style.css:43:21'vw' is not a valid unit. [IOError]
Also, another useful option would be calc, for instance one example I found: font-size: calc(4vw + 4vh + 2vmin); with quote: "Using calc in combination with vw and vh units for font-size to create text that always fills the viewport. No matter what ratio." (though personally testing on a wysiwyg editor, I'd go with 2vw and 2vh respectively)
Not sure how literal viewport is here, though given buttons scale this way (if enabled) it does seem like what I'm looking for.
Sidenote about your CSS example: you should set your font colors, too. On my system I have tweaked theme colors (dark theme), so the default color is inverted and thus the label text is unreadable.

Regarding 2: Currently owlkettles widgets map (nearly) directly to GTK widgets

That's unfortunate... one idea I had for making things cleaner (more declarative?) would be if you split box into vbox and hbox (or maybe x_box and y_box / box_x and box_y). Though that doesn't help by much when it comes to needing to use boxes over and over again for a simple vertical arrangement.

There is also the issue of not being able to specify the attributes/fields of this implicit Box widget

Maybe you could set the orientation (and maybe some of the other attributes) globally (though I'm not sure why you'd want/need to design an entire application horizontally) or a use-last(/inherit) system that still takes an orientation input. Though I still think vertical default makes the most sense.

In your example, you might want to refactor ... into a new widget

Yeah... still seems a bit clunky though, even just from a usage standpoint.

I fixed the colors in the css example, it should now render correctly on systems which use a dark theme.
I am sadly unable to change the feature set of the CSS dialect, since it is implemented by GTK. If calc, vw and vh are not supported, I therefore cannot add them. At this point it looks like the best way to achieve what you want to is to render the text using a DrawingArea. I will however have to add a few features to the cairo wrapper before this is possible.
Regarding the Box: I have decided against implementing something like this for now, but while exploring how an implementation would look like, it occured to me, that you can actually just add this behavior yourself if you need it. Adding the following lines to the top of your program should enable you to add multiple children to Bin widgets:
const
  DEFAULT_SPACING* = 6
  DEFAULT_ORIENTATION* = OrientY

proc add(bin: Bin, child: Widget) =
  if bin.has_child:
    if not (bin.val_child of Box):
      let box = Box(
        has_spacing: true,
        val_spacing: DEFAULT_SPACING,
        has_orient: true,
        val_orient: DEFAULT_ORIENTATION,
      )
      box.add(bin.val_child)
      bin.val_child = box
    Box(bin.val_child).add(child)
  else:
    bin.has_child = true
    bin.val_child = child

This solution is a bit hacky, but it seems to work for the cases I tried.

@can-lehmann forgive me if overstepping, but for CSS have you looked into contributing upstream? (though I can absolutely understand management/communication issues making that unlikely)
Also as far as actual programming goes I feel as if I'm trying to learn on grass and thus cannot do more than fall over. But I am trusting that this works. Can you integrate you hack here as an option like easytree or some other 1-line plus an external module(exported function)? Also adding the node differentiation, as if you know vboxes are automatically used it'd make sense for the user to manually add hboxes explicitly.
Forgive me if you've thought about that or if you don't really feel comfortable without a userbase to poll on the opinion.

To be honest, I have next to no idea how GTK actually works internally (especially all the gobject stuff. They have a custom class system for doing OOP in C for example). I have only ever used the public GTK API. This makes it very unlikely that I will find the time to contribute to GTK directly any time soon.
I do not think that this solution actually works when you put it into a separate module (because it relies on the fact, that the overload priority of add is higher when it is defined in the same module; this is also why I call this solution hacky), but I will see what I can do. I have outlined my reasoning for not including it by default before.
HBox and VBox is currently difficult to implement (without resorting to hacks), because owlkettle uses a somewhat custom OOP system which does not allow setting property defaults of parent classes. This might be added in the future.

Another feature question/suggestion: is there a way to get a dynamic grid of  based on available space and best fit?
For instance if I have 4 groups (each 1 button+1 label) I may want 4x1, 1x4, 2x2, or 3+1/1+3, 1+1+2 etc depending on the available width and how much room content takes up.

This sounds very similar to GTK's FlowBox. Since I wanted to add support for this widget anyway, I just implemented it and you can try it out yourself to see to what extent it fulfills your requirements. The documentation can be found here.

Flowbox

Given that simply changing a box to a flowbox doesn't seem to work, I'm not quite sure how I'm supposed to use this. I looked into using seq but am still not sure how that works with child nodes.
If I have to also use a seq for every box that I'm using or create them dynamically that's pretty annoying.

Since my reasoning for not automatically creating boxes does not apply to ListBoxRow and FlowBoxChild, I decided to make ListBoxRow and FlowBoxChild optional.


Feat/transition update

• added HeadlessUI Transition
• used it in Modal. Animations should be more fluid now.
⚠ ! breaking change
<Transition> component has been removed from this library in preference for the HeadlessUI transition component, which does a much better job anyway.
if you use Transition component In your app, please replace
import { Transition } from '@supabase/ui'

with
import { Transition } from '@headlessui/react'

:tada: This PR is included in version 0.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix macOS CI after #724

https://github.com/bazel-contrib/rules_oci/actions/runs/11564798863/job/32190695142
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

In #724 it looks like I broke macos CI because that particular step is not run as part of the PR builds. I introduced a genrule which requires access to the docker daemon, while previously it was only used in test rules.
Adding the env var to the docker host to the action graph should maybe fix this?

@thesayyn Check this out for fixing CI :)


Some buttons in the 'selection keypad' can't rapid-fire.

This applies to, for example,

That reverse-backspace-key (normal backspace can rapid-fire)
The white/invisible keys, (which, if intended to do what they're currently doing, need some visual indication)
The enter-button
The paste-button. This is the most unfortunate to not be able to rapid-fire.

Also, all the buttons in the 'selection keypad' only seem to have white popups ... should I create an issue for this as well?

@Glitchy-Tozier , Please do create an issue for that white popups.

Actually, as there are no Popups with multiple options, all buttons should be able to rapid fire when held.

I have changed code to make the following buttons repeatable:

forward Delete button
paste button
Enter button

Great work!
Hey, could we also fix that:

Actually, as there are no Popups with multiple options, all buttons should be able to rapid fire when held.

Or do you want me to create a separate issue?

The white popups is a separate issue, and will need a new issue. I think that is going to be a common issue for all the button based keyboards.

I meant the "Let all the special-character-buttons rapid-fire"-request.

well, after the update following buttons can't "rapid fire" :

cut
copy
switch highlight
switch to xpad
select all

It make no sense to have rapid fire on any of them.

I absolutely agree with you on that one. What I was talking about were those though. ;)

(And the other special keyboards)

ahh got it.

you think all keys should be repeatable?

Pretty much, yeah. Except for the switch keyboard-bottons of course.
It won't be a very commonly used feature, but i can't really see any reasons for not implementing it.

understood. In hind sight it seems obvious.

What do you think about Space being able to rapid-fire?

everything rapid fires on long press on button keypads.

I meant the circle on the x-pad.

possible... but difficult.
Can you raise a new issue for that ?
On Tue, 15 Dec 2020, 11:33 Glitchy-Tozier<EMAIL_ADDRESS>wrote:

I meant the circle on the x-pad.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/flide/8VIM/issues/83#issuecomment-745073770, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABX5WRZOXKT7D5X7UJZ4BILSU33Z3ANCNFSM4TKMYXGA
.

Done https://github.com/flide/8VIM/issues/142


x/crypto/ssh/terminal: missing functions on Solaris

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7.4 solaris/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="solaris"
GOOS="solaris"
GOPATH="/home/whorfin/golang"
GORACE=""
GOROOT="/opt/local/go"
GOTOOLDIR="/opt/local/go/pkg/tool/solaris_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build169225177=/tmp/go-build -gno-record-gcc-switche
s"
CXX="g++"
CGO_ENABLED="1"
What did you do?
Attempted to build fzf on OmniOS
https://github.com/junegunn/fzf
If possible, provide a recipe for reproducing the error.
on OmniOS, with golang installed, do:
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
I hoped it would work
What did you see instead?
Fail on missing functions:
terminal.MakeRaw
terminal.Restore
terminal.GetState
terminal.GetSize
Fixed by implementing these functions, which are missing from golang.org/x/crypto/ssh/terminal/util_solaris.go

Proposed fix:
https://go-review.googlesource.com/c/41297/


Feature request: add ability to rebind shift in inventories

I have a custom mechanical keyboard with a pretty non-standard keyboard layout and this mod is really great for me. However it would be super useful to be able to rebind shift clicking items to something else. I have already changed my sneak key to ' because that's what I have in the place of my left shift key. My shift key is in a pretty convenient position as well but it would be better if this mod could rebind inventory shift clicking to some custom key + click or alternatively sneak key + click.
Btw this wiki page could be useful for checking what bindings can't be changed by this mod.

I forgot to close this when the version the added this was released 4 months ago. Though I'm releasing an update tonight that fixes a pretty major problem (the one linked above)


Unable to build project locally

Hello, I was wanting to contribute to this project. However, I am unable to build this project. I have followed all steps in Hacking.md and tried doing my own research but have gotten nowhere. Here is what I am getting:
git lfs step:

hackatom.wasm: OK
ibc_reflect.wasm: OK

yarn install step:
yarn install
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @cosmjs/amino@workspace:packages/amino doesn't provide jasmine-core (p3b488), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/cosmwasm-stargate@workspace:packages/cosmwasm-stargate doesn't provide jasmine-core (p4bb4d), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/crypto@workspace:packages/crypto doesn't provide jasmine-core (p39c2c), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/encoding@workspace:packages/encoding doesn't provide jasmine-core (p56d68), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/faucet-client@workspace:packages/faucet-client doesn't provide jasmine-core (p1ee44), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/json-rpc@workspace:packages/json-rpc doesn't provide jasmine-core (pe3fca), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/math@workspace:packages/math doesn't provide jasmine-core (p00bbe), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/proto-signing@workspace:packages/proto-signing doesn't provide jasmine-core (p8d482), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/socket@workspace:packages/socket doesn't provide jasmine-core (paca33), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/stargate@workspace:packages/stargate doesn't provide jasmine-core (p3bbdc), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/stream@workspace:packages/stream doesn't provide jasmine-core (pc3b6f), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/tendermint-rpc@workspace:packages/tendermint-rpc doesn't provide jasmine-core (pf034a), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/utils@workspace:packages/utils doesn't provide jasmine-core (pd0a2f), requested by karma-jasmine-html-reporter
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ protobufjs@npm:6.11.3 must be built because it never has been before or the last one failed
➤ YN0007: │ node-hid@npm:2.1.1 must be built because it never has been before or the last one failed
➤ YN0007: │ usb@npm:1.7.1 must be built because it never has been before or the last one failed
➤ YN0009: │ protobufjs@npm:6.11.3 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/bt/648wjlvd52s7810qjqs8zf600000gn/T/xfs-e0b0e5c9/build.log)
➤ YN0009: │ node-hid@npm:2.1.1 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/bt/648wjlvd52s7810qjqs8zf600000gn/T/xfs-16fc607b/build.log)
➤ YN0009: │ usb@npm:1.7.1 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/bt/648wjlvd52s7810qjqs8zf600000gn/T/xfs-0d8ae5f8/build.log)
➤ YN0000: └ Completed in 0s 656ms
➤ YN0000: Failed with errors in 0s 924ms

and further, if I enter the logs I get this from the protobufjs error:
# This file contains the result of Yarn building a package (protobufjs@npm:6.11.3)
# Script name: postinstall

node:internal/errors:484
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_LOADER_CHAIN_INCOMPLETE]: "file:///Users/garrettparris/Documents/cosmjs/.pnp.loader.mjs 'resolve'" did not call the next$
    at new NodeError (node:internal/errors:393:5)
    at ESMLoader.resolve (node:internal/modules/esm/loader:849:13)
    at async ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:7)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12) {
  code: 'ERR_LOADER_CHAIN_INCOMPLETE'
}

Node.js v18.11.0

love the project, cant wait to contribute.

Hey @garrettparris! Thanks for reaching out. I was having issues with Node.js 18 as well before (https://github.com/cosmos/cosmjs/pull/1240). I did not look into it in detail. I think you can work around it by using Node.js 14 or 16.

visit the official COSMOS page to start a chat with an agent on a live chat support to report this for review and for further assistance via LIVE CHAT

Facing the same issue here too. NodeJS 16 doesn't help.

Ah, this might be this bug https://github.com/yarnpkg/berry/issues/4778 which started with node.js 16.17. Will upgrade yarn to fix it.

@webmaster128 I'm getting the same or a similar issue on MacOS Ventura 13.3 (Apple Silicon) running yarn 3.8.0 and node v20.9.0.
yarn install output:
➤ YN0000: ┌ Resolution step
➤ YN0002: │ @cosmjs/amino@workspace:packages/amino doesn't provide jasmine-core (p3b488), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/cosmwasm-stargate@workspace:packages/cosmwasm-stargate doesn't provide jasmine-core (p4bb4d), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/crypto@workspace:packages/crypto doesn't provide jasmine-core (p39c2c), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/encoding@workspace:packages/encoding doesn't provide jasmine-core (p56d68), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/faucet-client@workspace:packages/faucet-client doesn't provide jasmine-core (p1ee44), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/json-rpc@workspace:packages/json-rpc doesn't provide jasmine-core (pe3fca), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/math@workspace:packages/math doesn't provide jasmine-core (p00bbe), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/proto-signing@workspace:packages/proto-signing doesn't provide jasmine-core (p8d482), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/socket@workspace:packages/socket doesn't provide jasmine-core (paca33), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/stargate@workspace:packages/stargate doesn't provide jasmine-core (p3bbdc), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/stream@workspace:packages/stream doesn't provide jasmine-core (pc3b6f), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/tendermint-rpc@workspace:packages/tendermint-rpc doesn't provide jasmine-core (pf034a), requested by karma-jasmine-html-reporter
➤ YN0002: │ @cosmjs/utils@workspace:packages/utils doesn't provide jasmine-core (pd0a2f), requested by karma-jasmine-html-reporter
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ usb@npm:1.9.2 must be built because it never has been before or the last one failed
➤ YN0009: │ usb@npm:1.9.2 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/v6/k2lclw6n65929tythngrq5qw0000gn/T/xfs-e711461c/build.log)
➤ YN0000: └ Completed in 3s 308ms
➤ YN0000: Failed with errors in 3s 547ms

Build log mentioned above:
# This file contains the result of Yarn building a package (usb@npm:1.9.2)
# Script name: install

(node:31005) [MODULE_NOT_FOUND] Error: node-gyp-build tried to access node-gyp, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
(Use `node --trace-warnings ...` to show where the warning was created)
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | arm64
gyp info find Python using Python version 3.11.5 found at "/Users/sturdy/.pyenv/versions/3.11.5/bin/python3"
(node:31007) [MODULE_NOT_FOUND] Error: debug tried to access supports-color (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.

Traceback (most recent call last):
  File "/Users/sturdy/.pyenv/versions/3.11.5/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sturdy/.pyenv/versions/3.11.5/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sturdy/.pyenv/versions/3.11.5/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2b
ERROR:root:code for hash blake2s was not found.
Traceback (most recent call last):
  File "/Users/sturdy/.pyenv/versions/3.11.5/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sturdy/.pyenv/versions/3.11.5/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sturdy/.pyenv/versions/3.11.5/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2s
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CC(target) Release/obj.target/libusb/libusb/libusb/core.o
  CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
  CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
  CC(target) Release/obj.target/libusb/libusb/libusb/io.o
../libusb/libusb/io.c:2300:30: warning: comparison of integers of different signs: 'int' and 'nfds_t' (aka 'unsigned int') [-Wsign-compare]
                for (i = internal_nfds ; i < nfds ; ++i) {
                                         ~ ^ ~~~~
1 warning generated.
  CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
  CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
  CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
  CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
  CC(target) Release/obj.target/libusb/libusb/libusb/os/darwin_usb.o
../libusb/libusb/os/darwin_usb.c:55:29: warning: macro 'ATOMIC_VAR_INIT' has been marked as deprecated [-Wdeprecated-pragma]
_Atomic int32_t initCount = ATOMIC_VAR_INIT(0);
                            ^
/Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/stdatomic.h:51:41: note: macro marked 'deprecated' here
#pragma clang deprecated(ATOMIC_VAR_INIT)
                                        ^
1 warning generated.
  LIBTOOL-STATIC Release/usb.a
  CXX(target) Release/obj.target/usb_bindings/src/node_usb.o
In file included from ../src/node_usb.cc:1:
In file included from ../src/node_usb.h:14:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node_buffer.h:25:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node.h:73:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8.h:24:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-array-buffer.h:12:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-local-handle.h:12:
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS)
                             ^
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:465:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
PER_ISOLATE_EXTERNAL_POINTER_TAGS(CHECK_NON_SHARED_EXTERNAL_POINTER_TAGS)
                                  ^
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:466:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:693:61: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    static_assert(kJSObjectType + 1 == kFirstJSApiObjectType);
                                                            ^
                                                            , ""
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:694:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    static_assert(kJSObjectType < kLastJSApiObjectType);
                                                      ^
                                                      , ""
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-internal.h:695:63: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    static_assert(kFirstJSApiObjectType < kLastJSApiObjectType);
                                                              ^
                                                              , ""
In file included from ../src/node_usb.cc:1:
In file included from ../src/node_usb.h:14:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node_buffer.h:25:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node.h:73:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8.h:24:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-array-buffer.h:13:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-object.h:9:
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-maybe.h:106:45: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'?
  template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
                                       ~~~~~^~~~~~~~~~~~~~~~~~~~~
                                            is_lvalue_reference
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_reference.h:26:29: note: 'is_lvalue_reference' declared here
struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { };
                            ^
In file included from ../src/node_usb.cc:1:
In file included from ../src/node_usb.h:14:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node_buffer.h:25:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node.h:73:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8.h:24:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-array-buffer.h:13:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-object.h:9:
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-maybe.h:106:69: error: expected '(' for function-style cast or type construction
  template <class U, std::enable_if_t<!std::is_lvalue_reference_v<U>>*>
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-maybe.h:123:43: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'?
template <class T, std::enable_if_t<!std::is_lvalue_reference_v<T>>* = nullptr>
                                     ~~~~~^~~~~~~~~~~~~~~~~~~~~
                                          is_lvalue_reference
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/is_reference.h:26:29: note: 'is_lvalue_reference' declared here
struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { };
                            ^
In file included from ../src/node_usb.cc:1:
In file included from ../src/node_usb.h:14:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node_buffer.h:25:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node.h:73:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8.h:24:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-array-buffer.h:13:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-object.h:9:
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-maybe.h:123:67: error: expected '(' for function-style cast or type construction
template <class T, std::enable_if_t<!std::is_lvalue_reference_v<T>>* = nullptr>
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from ../src/node_usb.cc:1:
In file included from ../src/node_usb.h:14:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node_buffer.h:25:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/node.h:73:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8.h:33:
In file included from /Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-function.h:11:
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-function-callback.h:151:66: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
                kReturnValueDefaultValueIndex - kReturnValueIndex);
                                                                 ^
                                                                 , ""
/Users/sturdy/Library/Caches/node-gyp/20.9.0/include/node/v8-function-callback.h:153:50: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
                kIsolateIndex - kReturnValueIndex);
                                                 ^
                                                 , ""
../src/node_usb.cc:118:2: warning: 'libusb_set_debug' is deprecated [-Wdeprecated-declarations]
        libusb_set_debug(usb_context, info[0].As<Napi::Number>().Int32Value());
        ^
../libusb/libusb/libusb.h:1324:1: note: 'libusb_set_debug' has been explicitly marked deprecated here
LIBUSB_DEPRECATED_FOR(libusb_set_option)
^
../libusb/libusb/libusb.h:89:49: note: expanded from macro 'LIBUSB_DEPRECATED_FOR'
#define LIBUSB_DEPRECATED_FOR(f) __attribute__((deprecated))
                                                ^
23 warnings and 4 errors generated.
make: *** [Release/obj.target/usb_bindings/src/node_usb.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/sturdy/Programming/cosmos/cosmjs/.yarn/unplugged/node-gyp-npm-9.4.0-ebf5f5573e/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Darwin 22.4.0
gyp ERR! command "/Users/sturdy/Library/Application Support/fnm/node-versions/v20.9.0/installation/bin/node" "/Users/sturdy/Programming/cosmos/cosmjs/.yarn/unplugged/node-gyp-npm-9.4.0-ebf5f5573e/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/sturdy/Programming/cosmos/cosmjs/.yarn/unplugged/usb-npm-1.9.2-7362a49b80/node_modules/usb
gyp ERR! node -v v20.9.0
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok

Spent a good hour trying various fixes found by googling errors above but no luck. Any ideas?

@apollo-sturdy I had a same issue. And I switch to Node 18 using nvm and it works now

@apollo-sturdy I had a same issue. And I switch to Node 18 using nvm and it works now

Thanks a lot! It worked :)


[go] Make go implementation consumable via go.mod

Description
As a go developer, I need to be able to consume alog via go.mod so that I can use it in my go project.
Acceptance Criteria

[ ] An example go project can consume alog
[ ] Import and naming semantics feel native to go without unnecessary indirection in the file path

Finally got the release process up and running! https://github.com/IBM/alchemy-logging/actions/runs/1113803477


Is there a way to set NO_PROXY on the SpeechConfig

I need to set NO_PROXY for some of the endpoint azure uses, because of our infrastructural setup, is there a way to do that?
I am using a the JAVA SDK

Hi, the SDK does not support NO_PROXY or a similar environment variable at the moment. The SpeechConfig.setProxy() method [https://docs.microsoft.com/en-us/java/api/com.microsoft.cognitiveservices.speech.speechconfig.setproxy?view=azure-java-stable] can be used for proxy configuration; the default setting is no proxy.

Do you plan to support it?

@maczikasz can you say why SpeechConfig.setProxy() is not sufficient?

Because in my setup I need to use proxy for some on the endpoints that you use but not for all of them

@maczikasz  -
you create a recognizer from a config without a proxy defined, you create another recognizer from a config with a proxy defined ...
why wouldn't this work?

Because this is not the problem I am facing :) we have a setup with express route to MS azure, and all requests to cognitive services endpoint should NOT go through the proxy but rather the express route, but all other requests to quota check, login, etc should go through the proxy

@maczikasz  -
Sorry, I'm not exactly sure what you need or even what you are asking.
By default, the SDK is not using any proxy configuration. It is just doing an HTTP Connect to the endpoint.
If you define a proxy through the SpeechConfig.setProxy, then (and only then) the SDK tries to connect through this proxy to the endpoint.
If you would specify NO_PROXY, how would you expect the SDK to behave? By default it is already NOT using a proxy.
can you please clarify?

Generally most libraries ask for 3 (optionally 5) parameters for proxy settings
proxy host : proxy port
(optionally uname/pwd)
and noproxy hosts
noproxy hosts is a list of hosts for which the proxy is NOT used to connect. In my case we had a direct connection with some tcp routing magic to  https://$region.stt.speech.microsoft.com/speech/recognition, but not to login.ms.com or any other MS site that the SDK would access. So I would set proxyhost and port to my proxy settings and noproxy hosts to  https://$region.stt.speech.microsoft.com/speech/recognition

The SDK is just accessing *.speech.microsoft.com resources for standard speech to test. It is just creating an HTTPS connection and then upgrading it to a websocket connection. Some text to speech services might use REST endpoints with some different URL scheme.
as we are just using *.speech.microsoft.com connections, why would you need the NO PROXY  option?  The SDK isn't accessing login.ms.com etc ....

Is there an error using the SpeechSDK without setting a proxy in your environment?

please reopen if still an issue with info.

I want to reopen this issue
Our setup have changed significantly and we are back to trying to use the speech sdk from on premise, but with a private endpoint peering setup.
Basically I have the problem that we have the private endpoint "wss://test.cognitiveservices.azure.com" which is available from our on-prem setup without proxy, but for every other kind of outgoing connections we need to use our corporate proxy.
If i set the proxy connections on the speech SDK the connection fails when trying to connect to 'wss://test.cognitiveservices.azure.com', but if i don't set the proxy the connection fails when trying to get the CLR from azure
Can you please advise

The client SDK will need access to the Azure CRL / OCSP distribution points.
The location of these is listed here: https://docs.microsoft.com/en-us/azure/security/fundamentals/tls-certificate-changes#next-steps

The SDK in fact has access to that IF i set the proxy. If i dont it wont. But if i set the proxy then all the calls to our private endpoint for the speech service will go through the proxy, and this is not correct, this is where having NO_PROXY would normally come in

As the situation with NO_PROXY support is unchanged from what it was a year ago, I've created a backlog item about bypassing the configured proxy for select addresses - to be considered and prioritized. Since this seems to be the only such request so far, I'll quote @oscholz from another issue:

Could you put this feature request in our Feedback portal, please?
https://feedback.azure.com/forums/932041-cognitive-services
Also feel free to open a support request in the Azure portal (log in to portal.azure.com, open your Speech or Cognitive Services resource, then click on New support request in the lower left). This way we can have a more direct/non-public conversation with you about this request, and potentially get a better understanding of your use case to help us prioritize this request.

We'll update here with actual release information when available. Please open a new issue if you need any other support on specific topics.

Ok thanks, i opened an azure issue, since this is actively blocking our progress


Add a couple of indexes for layers

@rafatower please review

Frontend tests were OK :+1: (details)

:+1:

Frontend tests were OK :+1: (details)

I'm gonna test this in staging, merge and deploy to production as requested by santana


cloudflare_zone_settings_override gives "Error: Invalid value for zone setting ciphers (1007)" for valid ciphers.

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
│ Error: Invalid value for zone setting ciphers (1007)
│
When trying to use the ciphers "AEAD-AES128-GCM-SHA256", "AEAD-AES256-GCM-SHA384", "AEAD-CHACHA20-POLY1305-SHA256", error 1007 is returned from the API, despite the fact that the ciphers are declared to be supported.
https://developers.cloudflare.com/ssl/reference/cipher-suites/supported-cipher-suites/
There is a note on the page saying they're automatically supported, so can the provider just ignore these values if they're present? Or give some kind of useful feedback?
Affected resource(s)
cloudflare_zone_settings_override
Terraform configuration files
# cloudflare_zone_settings_override.dev-banked-com will be updated in-place
  ~ resource "cloudflare_zone_settings_override" "dev-acme-com" {
        id                       = "var.id"
        # (6 unchanged attributes hidden)

      ~ settings {
          ~ ciphers                     = [
              + "ECDHE-ECDSA-AES128-GCM-SHA256",
              + "ECDHE-ECDSA-CHACHA20-POLY1305",
              + "ECDHE-RSA-AES128-GCM-SHA256",
              + "ECDHE-RSA-CHACHA20-POLY1305",
              + "ECDHE-ECDSA-AES128-SHA256",
              + "ECDHE-RSA-AES128-SHA256",
              + "ECDHE-ECDSA-AES256-GCM-SHA384",
              + "ECDHE-ECDSA-AES256-SHA384",
              + "ECDHE-RSA-AES256-GCM-SHA384",
              + "ECDHE-RSA-AES256-SHA384",
              + "AEAD-AES128-GCM-SHA256",
              + "AEAD-AES256-GCM-SHA384",
              + "AEAD-CHACHA20-POLY1305-SHA256",
            ]
            # (50 unchanged attributes hidden)

            # (3 unchanged blocks hidden)
        }
    }

Link to debug output
none required
Panic output
No response
Expected output
Modifications complete after 9s
Actual output
│ Error: Invalid value for zone setting ciphers (1007)
Steps to reproduce
terraform init
terraform apply
then comment out the AHED ciphers, and try again, where it works.
Really frustrating, some decent documentation would be useful.
Additional factoids
No response
References
..

Still broken, please reopen.
curl --request PATCH \
  --url https://api.cloudflare.com/client/v4/zones/{zone_id}/settings/ciphers \
  --header 'Authorization: Bearer {token}' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": [
    "AEAD-CHACHA20-POLY1305-SHA256",
    "AEAD-AES256-GCM-SHA384",
    "AEAD-AES128-GCM-SHA256",
    "ECDHE-RSA-AES256-GCM-SHA384",
    "ECDHE-ECDSA-AES256-GCM-SHA384",
    "ECDHE-RSA-CHACHA20-POLY1305",
    "ECDHE-RSA-AES128-GCM-SHA256",
    "ECDHE-ECDSA-CHACHA20-POLY1305",
    "ECDHE-ECDSA-AES128-GCM-SHA256"
  ]
}'

results in:
{"success":false,"errors":[{"code":1007,"message":"Invalid value for zone setting ciphers"}],"messages":[],"result":null}%


Potential feature: electrostatic interaction with Ewald method

Thanks for developing this promising library. I am quite new to the JAX framework so I am not sure if it can accommodate algorithms like the smooth particle mesh Ewald method (for which a GPU implementation is described here https://pubs.acs.org/doi/10.1021/ct900275y).
Is it a reasonable feature to request for this library?

Thanks for asking about this, and sorry for the late reply! That is a very reasonable feedback request; I looked through the paper and it definitely seems as though implementing particle mesh Ewald sums is possible within XLA. Unfortunately, I don't have a timeline for when we might actually be able to implement it but contributions would certainly be welcome here.
When we do have time to implement particle mesh Ewald sums I'll circle back around to this thread.


Keyboard Manager

Description of the new feature / enhancement
There doesnt seem to be a way to remap a key to left mouse click.  If this is not available at present, it would a very useful feature to have.
Scenario when this would be used?
Have difficulty in clicking mouse
Supporting information
No response

/dup #3364


ReviewNinja

Coverage remained the same at 100.0% when pulling 2f898f064c26d733a083cdc60a4da06fa31d2968 on ReviewNinja into 3356f575463e9107d7476c5548723ac40d2e56b3 on master.

Current coverage is 100.00%

Merging #10 into master will not affect coverage as of 2f898f0

@@            master     #10   diff @@
======================================
  Files           10      10
  Stmts          122     122
  Branches        12      12
  Methods          0       0
======================================
  Hit            122     122
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 2f898f0

Powered by Codecov. Updated on successful CI builds.

Coverage remained the same at 100.0% when pulling c7fd824ff554230fd74eb739e32f4074b410874c on ReviewNinja into e1d7c9d4aa56c49ec637edaa6f99d0a7002e2005 on master.


createForm function added

Issue: 87
Short description of what this resolves:
Changes proposed in this pull request and/or Screenshots of changes:

@BuddyLongLegs I have made a change please check

@BuddyLongLegs yep done


Feature: Options allow compact output: custom indent, newline, space …

#46 from me now, see e.g. #38 from someone before.
So I guess you don't want more options. I guess it's okay to share this as a new lib then so people can get it?

Not something we're interested in having here, unfortunately.

Why not add this option? This is very useful.


Support using different shard keys and indexes when tiered storage is enabled/disabled

Won't do since I find that we don't need to support enabling/disabling tiered storage currently.


Allow leaders to be able to /hidetext at any time

I feel rangeban makes more sense because this has less to do with rooms. As for this, either way is fine by me.

@TheImmortal  yea it doesn't really matter


work on capston project

completed my capstone project
Use React documentation.
Use React components.
Use React props.
Use React Router.
Used API
Use store, actions, and reducers in React.
Use styles in a React app.

[x] When I try to search a City, there's no filtering that occurs. For example, I wanted to search London, but when I type in the search box, all the cities are still displayed. See screenshot below:

Kindly fix your filtering to provide just the data being searched.

It works by searching the name

Hit Enter or click on the search icon
The city would be added

Also, details are working properly


Decoder's encoder_attention_mask input should be called decoder_attention_mask

The exported decoder feed name says encoder_attention_mask but I think it should be called decoder_attention_mask. The same applies for the init decoder.
https://github.com/Ki6an/fastT5/blob/20441b33394e71f7612f39f228ecbe1925cd10ae/fastT5/onnx_exporter.py#L215
The behavior is correct, I was just confused on how to set the mask correctly for the decoder.

Looks like it really is the encoder attention mask? At least the network fails when I try to use the decoder's.


kanjidraw: init at 0.2.3

Motivation for this change

New package.
Dependency of newer versions of jiten (which is already in nixpkgs, maintained by me, which I'd like to update soon).
I'm the upstream author; and also working on an official Debian package.
I'd also like to maintain it for NixOS :smile_cat:
(It's also available on PyPI.)

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg eval
(Sorry, ofborg's certs recently had an issue, meaning that it was unable to
react to PRs. This has been fixed, but all PRs filed in this period will need
ofborg to be manually kicked off.)


ios-webkit-debug-proxy: Fix checkver

Simply extract version numbers from the latest .zip file to skip some versions without windows build.
https://github.com/google/ios-webkit-debug-proxy/issues/316

Where to download?

@kennblvnp scoop bucket add extras
then install as normal.

I still get the error even after using the most current instructions.
PS C:\Users\OPT> scoop bucket add extras
Checking repo... ok
The extras bucket was added successfully.
PS C:\Users\OPT> scoop install ios-webkit-debug-proxy
Updating Scoop...
Updating 'extras' bucket...
WARN  Scoop configuration has been migrated from '~/.scoop'
WARN  to 'C:\Users\OPT\.config\scoop\config.json'
WARN  The main bucket of Scoop has been separated to 'https://github.com/ScoopInstaller/Main'
WARN  You don't have the main bucket added, adding main bucket for you...
Checking repo... ok
The main bucket was added successfully.
'lastupdate' has been set to '2019-11-26T09:38:15.7859191-08:00'
Scoop was updated successfully!
WARN  Bucket '' not installed. Add it with 'scoop bucket add ' or 'scoop bucket add  <repo>'.
Couldn't find manifest for 'ios-webkit-debug-proxy'.
PS C:\Users\OPT>

@kennblvnp scoop bucket add extras
then install as normal.

Thank you @kennblvnp

@kennblvnp scoop bucket add extras
then install as normal.

Thank you @kennblvnp

this worked . Thanks

I still get the same error even after running scoop bucket add extras

Thank you

@kennblvnp Thank you.
Incase running 'scoop bucket add extras'  does not work also, then try removing extra by running 'scoop bucket rm extras'


no documentation

I was not able to find any documentation in README file about how to install and run the tool, only its description. Adding some steps may be a good idea.

This is a great idea!

how the hell to run the tool ? that's what I'm asking myself as well ...

I'm not sure, but instead of pip install it - I just copied this link into a file: https://github.com/mgedmin/findimports/blob/master/findimports.py - and run
./findimports.py src/main.py

But the list is only for the imports in main, I don't see how I can request it to be recursive ... ?

Did pip install fail for you?  It worked for me:
$ virtualenv /tmp/wtf
$ /tmp/wtf/bin/pip install findimports
$ /tmp/wtf/bin/findimports --help
Usage: findimports [options] [filename|dirname ...]

FindImports is a script that processes Python module dependencies.  Currently
it can be used for finding unused imports and graphing module dependencies
(with graphviz).

Options:
  -h, --help            show this help message and exit
  -i, --imports         print dependency graph (default action)
  -d, --dot             print dependency graph in dot (graphviz) format
  -n, --names           print dependency graph with all imported names
  -u, --unused          print unused imports
  -a, --all             don't ignore unused imports when there's a comment on
                        the same line (only affects -u)
  --duplicate           warn about duplicate imports
  -v, --verbose         print more information (currently only affects
                        --duplicate)
  -N, --noext           omit external dependencies
  -p, --packages        convert the module graph to a package graph
  -l PACKAGELEVEL, --level=PACKAGELEVEL
                        collapse subpackages to the topmost Nth levels
  -c, --collapse        collapse dependency cycles
  -T, --tests           collapse packages named 'tests' and 'ftests' with
                        parent packages
  -w FILE, --write-cache=FILE
                        write a pickle cache of parsed imports; provide the
                        cache filename as the only non-option argument to load
                        it back

But something somewhere is clearly wrong, since neither pipx run findimports nor pipx install findimports works right.

The pipx problem I had was probably https://github.com/pipxproject/pipx/issues/56.


Roundup: [oss-security] CVE-2016-10228: glibc iconv program can hang when invoked with the -c option

Here is a report from the oss-security mailing list for Vulnerability Roundup 27.
Skip to First Email
Instructions:
Identification
Identify if we have the software, in 16.09, 17.03, and unstable. Then determine if we are vulnerable, and make a comment with your findings. It can also be helpful to specify if you think there is a patch, or if it can be fixed via a general update.
Example:
unstable: we are not vulnerable (link to the package)
17.03: we are vulnerable (link to the package)
16.09: we don't have it packaged

IMPORTANT: If you believe there are possibly related issues, bring them up on the parent issue!
Patching
Start by commenting on this issue saying you're working on a patch. This way, we don't duplicate work.
If you open a pull request, tag this issue and the master issue for the roundup.
If you commit the patch directly to a branch, please leave a comment on this issue with the branch and the commit hash, example:
fixed:

release-16.09: abc123

Skip to First Email
Upon Completion ...

[ ] Update Graham's database

Info
Triage Indicator:
-needs-triage +roundup27 thread:0000000000003f25

File Search: https://search.nix.gsc.io/?q=-c&i=fosho&repos=nixos-nixpkgs
GitHub Search: https://github.com/NixOS/nixpkgs/search?utf8=✓&q=-c+in%3Apath&type=Code

Should the search term be changed from -c? Suggest a new package search by commenting:
-suggested:-c +suggested:correctPackageName thread:0000000000003f25

Known CVEs: CVE-2016-10228

Skip to End
Wed, 1 Mar 2017 17:57:23 +0100 Florian Weimer <fweimer-at-redhat.com><EMAIL_ADDRESS>The iconv program (not the iconv function) provided by glibc can hang
(enter an infinite loop) when invoked with the -c option and an invalid
multi-byte sequence is encountered in the input:

   https://sourceware.org/bugzilla/show_bug.cgi?id=19519

We have received an independent report of this issue, so we are treating
this as a (minor) security bug now on the glibc upstream side.

(Note to Red Hat Product Security: We already have a couple of product
bugs for this.)

Thanks,
Florian

Skip to End

I would just wait for the next glibc update.

Agreed, not really important issue since it is only enables a DoS. Hasn't been fixed upstream yet.


SD_MMC works but after a random time fails until I power it off (IDFGH-3477)

Hardware

ESP32_Wroover B
uSD 32GB
LAN8720
IDE Arduino
Upload Speed  921600
Flash 80Mhz

Description
I follow the instructions of the connection on the next link.. https://github.com/espressif/esp-idf/tree/master/examples/storage/sd_card#note-about-gpio12

D2   - GPIO 12 (PULL_UP by code => pinMode(12, INPUT_PULLUP)
D3   - GPIO 13 (10Kh pull-up)
CMD -GPIO 15 (10Kh pull-up)
VSS   -GND
VDD  -3.3V
CLK   -GPIO 14 (10Kh pull-up)
VSS   -GND
D0    -GPIO2  (10Kh pull-up)
D1    -GPIO4  (10Kh pull-up)

When I try just the SD_MMC it works great without problem, I tasted 7 days continuously, but when I add Ethernet (LAN8720) after 2 or 3 days the SD stops working, I have to restart the ESP by  powering off other ways such as restarting by code doesn’t initialize the SD and it fails from the beginning .
I try also with SPI_SD protocol and happens more less the same, after some days the SD fails.
Steps to reproduce.
Use SD_MMC with Ethernet Connection, append some data on a file and wait until it fails
The LAN8720 connection is the follow...
https://sautter.com/blog/ethernet-on-esp32-using-lan8720/
Debug Messages
E (30975) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (30975) diskio_sdmmc: sdmmc_read_blocks failed (263)
E (32012) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (32012) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (32023) diskio_sdmmc: sdmmc_read_blocks failed (263)
E (33082) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (33082) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (33093) diskio_sdmmc: sdmmc_read_blocks failed (263)
[E][vfs_api.cpp:265] VFSFileImpl(): fopen(/sdcard/dbin.csv) failed
Code
`
void setup(void)
{
Serial.begin(9600);
pinMode(12, INPUT_PULLUP);
if(!SD_MMC.begin()){
    Serial.println("Card Mount Failed");
    return;
}

WiFi.onEvent(WiFiEvent);
ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE);
InitServer();
InitWebSockets();
}
long contador=0;
long previousMillisSD=0;
#define Minuto 60000
void loop(void)
{
unsigned long currentMillis = millis();
if (currentMillis - previousMillisSD >=Minuto*10) {
previousMillisSD = currentMillis;
appendFile(SD_MMC, "/hello.txt", "World!\r\n");
}
}
void appendFile(fs::FS &fs, const char * path, const char * message){
Serial.printf("Appending to file: %s\n", path);
File file = fs.open(path, FILE_APPEND);
if(!file){
    Serial.println("Failed to open file for appending");
    return;
}
if(file.print(message)){
    Serial.println("Message appended");
} else {
    Serial.println("Append failed");
}

}
`

Hi @hepa94meca, if restarting the ESP doesn't help, and you need to toggle the power, then it is likely that the SD card has entered a state where it doesn't respond to commands anymore. Do you have sufficient power supply and decoupling for all the components in the circuit (SD, Ethernet, ESP)?
When the issue happens, can you capture the exchange between the ESP and the SD card (using a logic analyzer) after resetting the ESP?

@igrr thanks for answer soon, I was doing some tests and I  realize that if I put a
potentiometer to measure it with a GPIO and then disconnect the pot , the SD fails, I think that as you say is the power supply. Do you reccomend me to put some extra filters or something related in order to make more reliable the signal apart form increase the power supply.
Unfortunately I don´t have a logic analyzer I will buy one, and upload the pictures.

@hepa94meca Thanks for reporting, would you please share if any updates for the issue? Thanks.

@hepa94meca Thanks for reporting, would you please share if any updates for the issue? Thanks.

The problem was solved by increasing the power supply. Thank you so much.
El lun, 11 de ene. de 2021 a la(s) 19:49, Alvin1Zhang (
<EMAIL_ADDRESS>escribió:

@hepa94meca https://github.com/hepa94meca Thanks for reporting, would
you please share if any updates for the issue? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/5436#issuecomment-758340005,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL3WHBUSGEIDULRIJGOMIQDSZOTBTANCNFSM4N3SMBPA
.

The problem was solved by increasing the power supply. Thank you so much.
El lun, 11 de ene. de 2021 a la(s) 19:49, Alvin1Zhang (
<EMAIL_ADDRESS>escribió:

@hepa94meca https://github.com/hepa94meca Thanks for reporting, would
you please share if any updates for the issue? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/5436#issuecomment-758340005,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL3WHBUSGEIDULRIJGOMIQDSZOTBTANCNFSM4N3SMBPA
.

Hello @hepa94meca,
thank you for reporting this issue. At Espressif we really appreciate it when our users report issues as it helps us make our products better. We see that your issue was resolved by increasing the power supply and because of that we are closing this issue to keep our backlog manageable.
If you don't agree with this decision, please feel free to reopen the issue or contact me directly.
Regards,
Tomas


Add TOML formatting with Taplo

Add Taplo config.
Format TOM config files.
Add Taplo step to CI.

The config options look good now. Still two things though:

The CI step should not have backticks, they won't be converted into CSS.
One TOML file needs adjustment to pass the CI. 😆

Huh, I really thought I'd fixed both.

the indentation size to 4 spaces

Why go with something different than what cargo itself generates? That's just going to be an ongoing conflict with other tools. TOML is not Rust, I would suggest 2 space indent to match other tools that edit the manifest and lock files in the Rust toolchain.

Well we had far more 4 spaces already for one.
I am curious though which cargo command generates indents? I know Cargo.lock has them, but there it's only a single space.

The Rust Style Guide has a page called Cargo.toml conventions. It states:

Use the same line width and indentation as Rust code.

So there you go, the Rust docs seem to agree with our chosen options of 100 and 4 spaces.

So there you go

Indeed. I guess I'll take my beef upstream to cargo tooling that doesn't do that. Something I just bumped into a couple weeks ago was reformatting my manifest and I wasn't too happy about it. Maybe it was cargo edit or cargo set-version. I'll check it out.
In any event if that's what the Rust style guide suggests, then unless/until that gets changed upstream I'd say carry on! I'll likely adjust my own taplo usage to match if that's really the case.


feat(orderUpdate): Support returnInfo field

Summary
This PR resolves #7 - it adds a basic support for returnInfo field.
Description
I added a returnInfo action builder together with tests which should check basic use cases.
I also added a test for a case when no update actions are generated and I did some refactor in several places.
Reviewers

[ ] Reviewer 1 has approved the PR
[ ] Reviewer 2 has approved the PR

TODO

Tests

[x] Unit
[x] Integration
[ ] Acceptance

[x] Documentation

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #13   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines          85    107   +22
=====================================
+ Hits           85    107   +22

Impacted Files
Coverage Δ

src/orders-update.js
100% <100%> (ø)
:white_check_mark:

src/build-order-actions.js
100% <100%> (ø)
:white_check_mark:

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 7d23bd8...b5e4591. Read the comment docs.

@hisabimbola - Probably it does not belong to this PR but still I was wondering if it is correct that we swallow errors here: https://github.com/commercetools/orders-update/blob/master/src/orders-update.js#L59
If there is any error it will be saved in a summary and then it returns undefined into next .then() function. We should put there return Promise.reject(error) if we want to pass it further.


How To Debug The Plugin?

I ran the example successfully, but I don't know how to debug the plugin?

As I wrote in the readme, you can use https://github.com/lvsti/Cameo (or other webcam-using apps that can be run from Xcode) for debugging. The plugin runs in the same process, thus you can debug the plugin in the same way as you debug Cameo.

Open Cameo in Xcode
Open SimpleDALPlugin sources you want to debug in the same window
Add some breakpoints
Launch Cameo in the Xcode window

@seanchas116 What do you mean by "Open the plugin sources you want to debug in the same window". I got the Cameo running but how will it hit the breakpoints in SimpleDALPlugin project? Can you please simplify the steps? I tried attaching the to process id of Cameo but that did not work. Thanks!

Got the answer: Just add the project to the cameo project. Breakpoints will hit.

Can somebody explain more in detail? How to run Cameo from xcode -- I cannot make breakpoints hit. Do I need to copy the debug build of the DAL plugin every time? Can we do it automatically in two xcode projects?


Value

Error value:more than one value to unpack

run the swt.py
output:
SWTS [] DONESWTS Traceback (most recent call last):   File "swt.py", line 371, in <module>     final_mask = SWTScrubber.scrub(local_filename)   File "swt.py", line 32, in scrub     word_images = cls._find_words(swts, heights, widths, topleft_pts, images)   File "swt.py", line 296, in _find_words     swt_tree = scipy.spatial.KDTree(np.asarray(swts))   File "~/anaconda2/lib/python2.7/site-packages/scipy/spatial/kdtree.py", line 235, in __init__     self.n, self.m = np.shape(self.data) ValueError: need more than 1 value to unpack
cannot know why

you can see here: https://stackoverflow.com/questions/28551279/error-running-scipy-kdtree-example

I meet the same problem,the above link is invalid,can someone else offer anther one? thx!

i don't know how the embed link doesn't work, you can copy & paste above link to web browser to see.

thx every much!! But I still con not run this code sucesseful. Because the "swt = cls._swt(theta, canny, sobelx, sobely)"  return a NULL value which cause the above problem.

run debug and check your input data again, it should run well.

The issue persists. and by debugging i found out the lines which have issues
    // This line returns a 2D-array. where all values are
    // np.Infinity. Hence this issue propagate to other functions too. i.e the line below where shapes
    // dict is empty
    swt = cls._swt(theta, canny, sobelx, sobely)
    shapes = cls._connect_components(swt)

Now by looking inside the swt function, the main variable swt is initialized with np.Infinity. which i think is supposed to change in the code below. but no change is happening to the swt 2D-array. i checked at the end of that function (swt==np.Infinity).all() which returned True
Any idea what is happening here?

One different thing is, i am using OpenCV 3.1.0. if that by chance has anything to do with it

@QaisarRajput Did you managed to solve this error?

You got the problem from the beginning of program, so i guess that your input data for the function _swt(theta, canny, sobelx, sobely) was wrong somewhere. You see lines:
if diagnostics:             cv2.imwrite('edges.jpg',edges)             cv2.imwrite('sobelx64f.jpg', np.absolute(sobelx64f))             cv2.imwrite('sobely64f.jpg', np.absolute(sobely64f))             # amplify theta for visual inspection             theta_visible = (theta + np.pi)*255/(2*np.pi) cv2.imwrite('theta.jpg', theta_visible)
you simply set "diagnostics = True" at line 16 and will see what function _create_derivative output (images: edges.jpg, sobelx64f.jpg, sobely64f.jpg, theta.jpg)

I tried several case and it looked to me the _swt method always made either rays or layers for shapes input zero list. those diagnostics files were there but swt.jpg would always looks empty.

May be your input data was empty? Look at the ending part of code and replace
file_url = 'http://upload.wikimedia.org/wikipedia/commons/0/0b/ReceiptSwiss.jpg local_filename = hashlib.sha224(file_url).hexdigest()
by one jpg file on your local computer.
You can read my comments here and try with the version i uploaded: [https://github.com/mypetyak/StrokeWidthTransform/issues/1]. Hope it helps.

Hi @truongtd6285
I tried #1 but a strange thing there and needed to figure out. Originally I didn't Canny the picture from weblink but directly call class on a local image file but error happened on _create_derivative by "Assertion Failed", then I went back to the original code and the output would be always SWT on that local image file and return the same result as original git of mypetyak's one. Would you advise possible cause so I can keep debugging, thank you.

The problem cause by the type of cur_x and cur_y are float in _swt function.
So the program will into the exception every time and get a empty swt image.
Solution:
      cur_x = int(math.floor(x + grad_x * i))
      cur_y = int(math.floor(y + grad_y * i))


Issue with back button/pdf docs in browser

I have tried a couple of websites where I'm trying to download documents from, it does pretty good job at identifying the docs but then after opening a doc it fails to go back to download more.
Starting page:
https://louisville.edu/purchasing/bids
Next page: this works as expected
https://louisville.edu/purchasing/bids/RP-026-22
Next page: this is where it should download the document but instead it click on the doc which opens a pdf in the browser and then things fail
https://louisville.edu/purchasing/bids/rp-026-22-document
Error
Invalid argument type: Expected a number for argument "elementId", but got ""B186503E38A0DCEF54EB2C9C31EE4177"".
The user requests the following task:
Download all open bids details that I need to submit my proposal
You have already taken the following actions:
I should click on each bid to access its details
click(469)
I should click on all the related documents to download the details
click(476)
Current time: 3/30/2023, 6:11:06 PM
Current page contents:

Response
I should download the PDF file
click("B186503E38A0DCEF54EB2C9C31EE4177")
Action
{
"error": "Invalid argument type: Expected a number for argument "elementId", but got ""B186503E38A0DCEF54EB2C9C31EE4177""."
}

Very weird. Could you also post the "Prompt" section of the last action?

i will try to recreate it but basically it just fails every time you click on a link that opens a pdf. Not fails per say bit it just doesn't know what to do after that, maybe it consider that pdf doc a new website?


Add logging

Towards #280. Still couldn't get defmt-or-log to work, but was able to have it working with just log.
Using log adds about 1 KB of overhead when using the no_std example (cargo size --target='thumbv7em-none-eabihf' --no-default-features --features="crypto-cryptocell310, ead-authz, rtt" --release)
This branch:
   text    data     bss     dec     hex filename
  66928       8    1120   68056   109d8 lakers-no_std

main:
   text    data     bss     dec     hex filename
  65852       0    1112   66964   10594 lakers-no_std

Note that a user can still make this zero cost in the binary / at runtime by enabling the log/release_max_level_off feature, so I wouldn't worry about the cost here.
Do we need to defined policy around whether the security critical (hax compiled) parts may log? If critical parts don't log, that makes it easy on the safety/privacy aspects, because code outside that (even though being in the same crate) should probably not get access to secrets anyway. (We may want to vet debug impls for that though). If we log from critical code, is there a log level that is guaranteed not to contain key material? I'm unsure of the answer because while logged keys and secrets are useful during plug tests, they are a no-go in production systems. Not sure whether setting up cfg flags around it helps.

make this zero cost by enabling the log/release_max_level_off feature

Thanks for the heads up, added a way to set it from the application.
As for the policy, yes that's important. As a first step, I was first looking into adding some sort of skip directive for the Debug derives in the state structs (e.g. to avoid logging secrets), but it turns out it is still not supported in Rust.

We can start with very basic logs just to "know where it went wrong", and build on top of it. Pushed a commit in that direction. Results look like this:
$ RUST_LOG=debug cargo run --bin coapserver
     Running `target/debug/coapserver`
[2024-05-29T07:09:37Z INFO  coapserver] Starting EDHOC CoAP Server
Waiting for CoAP messages...
Received message from <IP_ADDRESS>:33736
[2024-05-29T07:09:40Z INFO  lakers] Initializing EdhocInitiator
[2024-05-29T07:09:40Z INFO  lakers] Enter process_message_1
[2024-05-29T07:09:40Z DEBUG lakers_shared::edhoc_parser] Enter parse_message_1
[2024-05-29T07:09:40Z DEBUG lakers_shared::edhoc_parser] Enter parse_suites_i
[2024-05-29T07:09:40Z INFO  lakers] Enter prepare_message_2
Received message from <IP_ADDRESS>:36994
Received message 3
Found state with connection identifier ConnId(3)
[2024-05-29T07:09:40Z INFO  lakers] Enter parse_message_3
[2024-05-29T07:09:40Z DEBUG lakers_shared::edhoc_parser] Enter decode_plaintext_3
[2024-05-29T07:09:40Z INFO  lakers] Enter credential_check_or_fetch
[2024-05-29T07:09:40Z INFO  lakers] Enter verify_message_3
EDHOC exchange successfully completed

This level of "entering this function now" is usually called "tracing", and there is https://docs.rs/log/latest/log/macro.trace.html for that.
AIU non-application crates should not meddle with log features. If you still think we need the new feature, maybe document as:
"This has a global effect of disabling all logging through the log crate. Only set this from the application crate; it is a shortcut through adding a dependency to log and disabling all logging there."

@chrysn I changed the level to trace!, and moved the log dependency to the application, so that the library doesn't need an extra flag for that.


Add "Generate form code for human interactions" command in the BPMN VS Code extension

Add the form generation command to the BPMN VS Code extension using the "jbpm-form-generator" package introduced in  https://github.com/apache/incubator-kie-issues/issues/1493. The command should be named "Generate form code for human interactions". It will use the compiled JSON Schemas to generate the form code into the "src/resources/forms" folder.
The command should be interactive, giving the user the option to generate a Patternfly or Bootstrap code. Also, it should give the option to select which human interactions are desired.

@ljmotta hi, thank you, I would like to ask about the command name:

will it be somehow clear it is a command that belongs to KIE VSCode extension? I mean some prefix maybe? 'KIE: ....' ?
is there a reason the command name dos not contain keywords like 'jbpm', 'bpmn', 'workflow', is that because it may be used for generating forms of 'anything'

I do not have a strong opinion about the points I bring. I am probably fine if we do not change the name. However, sharing the fact, that me, I would try to search in list of VSCode commands by keywords mention in first or second point.

@ljmotta thank you, the last proposal KIE BPMN Editor: Generate form code for human interactions from jBPM project sounds to me quite long. I mean, would it fit the menu [1]? However, I am not an expert in other extension commands, maybe it is totally common to use also long command name. I like the proposal to contain a lot of information, what the command actually does and if it fits the menu [1], then I am fine with it.
For example, Devbox: Generate a Dockerfile from devbox.json is 46 characters long while KIE BPMN Editor: Generate form code for human interactions from jBPM project is 76 characters long.
[1]

@jomarko The command with the purposed name was trimmed down as we can see in image below:

I'll keep it with the "Apache KIE™ BPMN Editor: Generate form code for human interactions"

@jaimeizuz Hi! Sorry for the late response.
We can create a separate issue for DMN, as we need to make this feature from scratch. The BPMN form code generation already existed as a CLI tool which is being moved to the BPMN VS Code extension.

@ljmotta thank you for the screenshot, I agree with your shortening.


chore: upgrade redux-saga to 0.12

Close #129

After upgrade redux-saga to 0.12, file size change from:
-rw-r--r--   1 chencheng  staff   296K Oct  8 17:56 dva-min.js
-rw-r--r--   1 chencheng  staff   439K Oct  8 17:56 dva.js

to:
-rw-r--r--   1 chencheng  staff   299K Oct  8 17:55 dva-min.js
-rw-r--r--   1 chencheng  staff   443K Oct  8 17:55 dva.js

Coverage remained the same at 93.976% when pulling e85564bf1e23dc37f39cfcf6fc0f98b31490e92b on upgrade-redux-saga into 39bdd2f2e5c1ad601a852cb4ded79dc0f76a3a0e on master.

Coverage increased (+0.2%) to 94.152% when pulling a2e887cf83d8c5be353b02014ef2754e7c07f47c on upgrade-redux-saga into 39bdd2f2e5c1ad601a852cb4ded79dc0f76a3a0e on master.

After require internal file in redux-saga, the file size is reduced.
-rw-r--r--   1 chencheng  staff   295K Oct  9 12:40 dva-min.js
-rw-r--r--   1 chencheng  staff   439K Oct  9 12:40 dva.js

Coverage increased (+0.2%) to 94.152% when pulling 75d0d214b627cd242a1fd8922316a575e1c55429 on upgrade-redux-saga into 39bdd2f2e5c1ad601a852cb4ded79dc0f76a3a0e on master.


GEODE-5617: FIxing a race in AutoBalancerJUnitTest

This test asserted that execute was invoked exactly twice by a
background timer task. But that task could invoke execute more times
than that if the main test thread is slow.

@kirklund - I agree - we should get rid of jmock.


Value emit diff

retest this please

This comment can be used to re-trigger CI, since I was confused by the failure.

retest this please


after source the script, "nvcc -V" show the switched version while nvdia-smi didn't

Hi, thank you for your great work!
I got 2 versions of Nvidia toolkit: 12.2 and 11.3 on my ubuntu20.04 device, and the original one is the 12.2 version. After I run the source switch-cuda.sh 11.3, it output that the version has switched to 11.3, and nvcc -V shows 11.3 also. But nvidia-smi still shows the version of tookit be 12.2
How can I fix it?
Looking forward to your reply!

nvidia-smi does not show your present cuda version. It shows the latest version your driver support


intrinsic matrix

How do I get the intrinsic matrix of my own image?

Although I did not try, the readmehaspointedout this https://en.wikipedia.org/wiki/Camera_resectioning