Mouse scrolling not working

For some reason whenever I have a window in focus that has a scrollbar (vertical), using the mouses' scroll wheel does not scroll the window. I can however click and drag the scrollbar to move it. Is there something extra I have to do to enable this? This is on MacOS, haven't tested it on Windows though. Using the latest stable build of pyimgui.

What is the window management API that you use (glfw, pyglet, sdl2, etc )? Did you correctly map the scrolling event to imgui io .mouse_wheel and io.mouse_wheel_horizontal?
I am only able to check it on Windows 10 but have you a code example that reproduces your problem?

I'm using Pyglet, and I did not know I had to link the mouse wheel events?

Normally, if you use the proposed integration in imgui.integrations.pyglet you shouldn't have to set it yourself. Unfortunately, I am not that familiar with pyglet and can only test it on Windows where everything looks fine for vertical scrolling (pyglet 1.5.14). I did however check the integration code to check for anything fishy and what I found is that the scrolling callback was defined as:
def on_mouse_scroll(self, x, y, mods, scroll):
        self.io.mouse_wheel = scroll

In pyglet documentation (latest release) I can see that they suggest to use:
def on_mouse_scroll(x, y, scroll_x, scroll_y):
    pass

I don't know if your problem might somehow link to this. As I understand it the vertical scroll scroll_y is passed as the fourth parameter. Pyimgui gets the scroll value as its fourth parameter as well and uses it for vertical scrolling which seems alright. But I don't know why we use parameters mods instead of scroll_x (probably an ancient artifact of old code). In any case, nothing is done for horizontal scrolling which is definitely a bug. A more correct implementation would look like this:
def on_mouse_scroll(self, x, y, scroll_x, scroll_y):
        self.io.mouse_wheel_horizontal = scroll_x
        self.io.mouse_wheel = scroll_y

I'll create a push request for this but I would prefer that we found the origin of your problem before in order to not forget anything important.
Can you confirm that the implementation code that you have looks like what I have shown here please? Could you test that callbacks are correctly called with reasonable values? Is it possible for you to test it on another machine to check that the same problem reproduces? (Note: the implementation code is in imgui/integrations/pyglet.py. You should be able to copy/past it to create your custom integration for testing and import create_renderer() from it as in example code.)

The integration file has this in it:
def on_mouse_scroll(self, x, y, mods, scroll):
    self.io.mouse_wheel = scroll

Which seems wrong to me? I can however verify that when I print scroll by editing the integration file, I do get values when scrolling. But the actual ImGui windows are not being scrolled. I've also noticed that there's a print in _on_mods_change which is quite annoying and spamming my console whenever I press any of the modifier keys (should I create a separate bug report for this? I guess I could fix this myself and do a pull request if that's ok).

Mmh, I think it would be a problem with imgui if the correct data is passed through io.mouse_wheel. IO properties assignations are directly mapped to C pointer ImGuiIO properties assignation. For now, I have no clue what could cause your issue, I'll have to take a deeper look but I can't promise to do it quickly. Unfortunately, I do not have a lot of spare time these coming days. I suppose that you have the same problem with other integration codes like glwf?
Concerning the print statement in _on_mods_change I think that it already has been removed since I can't see it in the master  branch (but can definitely see it in the latest release). So I don't think that there is a need for another bug report for this one.
You are more than welcome to propose a cleanup version of pyglet integration code. I don't think that it has been updated for a long time and I don't know that anybody has planned to do it. Thanks for your help!

Sorry for the double post but it quickly crossed my mind that IO should be cleared after a call to end_frame(). Dear imgui use inputs during the new_frame() call. Thus if IO are set between new_frame() and end_frame() they should be ignored. This clearly seems to be incompatible with the callbacks implementation with Pyglet (and possibly other integration code). However I do not see any use of end_frame() which seems wrong to me. I will have to take a closer look at that.

You might be on to something! I'll try to dig into the code a little deeper and try and understand how it all works. The way it's set up now in the integration file is like you say, it's doing it whenever a pyglet event is triggered. So I guess the integration should cache it and send it over once end_frame() is called. Is there a way to know if we're in between end_frame() and new_frame()?

My bad, the end_frame() is automatically called at the end of render(). Thus it is not a problem with the integration code (I added an edit to my previous message).
Yes, I think it could be cached and sent to imgui once per frame. It is not yet part of the master branch but in #192 the integration code has a process_inputs() method that should be called before the new_frame() call (It is used to update delta time). So my suggestion would be to cache inputs in the PygletMixin object when a callback is triggered and send it once per frame to imgui in process_inputs().

Also worth noting that mouse presses and keyboard clicks seem to work fine, which would also be sent just whenever and could also lie in-between new_frame() and end_frame() if I'm not mistaking?

Indeed the same problem should occur with mouse presses and keyboard clicks. I think we should be careful and verify "somehow" that this is the origin of the problem and that it should be changed.

One more thing, so I just have a imgui.begin() and imgui.end() and in between some imgui.text(). Enough to get a scrollbar. Is there anything else I need to do to make sure that scrollbar will work while scrolling? I've made sure the window is "active/focused", and it still doesn't work.

I think you got it and that should work just like that. It should also work without window focus (but may depend on your os).


Discontinue this package – point folks to pkg:vm_service_lib

This package is not maintained.
We should be telling folks to use https://pub.dev/packages/vm_service_lib
Blocked by:

[ ] https://github.com/dart-lang/coverage/issues/245

FYI @mit-mit – another package we can drop.

https://pub.dev/packages?q=dependency%3Avm_service_client
test and friends have already been migrated.
https://pub.dev/packages/chronosgl seems to be the only other user here.


Ctrl-Enter does not work in "add document" web interface

Title says it all. I am using Linux, the 2.7 preview version on Ubuntu 15.04 or today's devel version, in the chrome browser. Firefox 40 the same.

I can confirm that for Chrome on Windows. There's also a bug report by pluma IIRC about some other broken hotkeys.


docs: Add information about running Kubernetes

Instruction how to run the local Kubernetes cluster
which will be able to work with virtlet.

This change is

LGTM


Updated README

fix #2428

Imho the readme should provide some very basic commands that can be used to quickly play with Epinio, so
I would add something like:

Installation
To install Epinio on your Kubernetes cluster you can use Helm:
helm repo add epinio https://epinio.github.io/helm-charts
helm repo update

helm install --namespace epinio --create-namespace epinio epinio/epinio \
    --set global.domain=mydomain.example.com

To install the Epinio CLI you can use brew, or download a binary from the release page:
brew install epinio

For more detailed instructions check the documentation.

Maybe I would leave the developer documentation in a different section (or in the contributing?).

Addressed comment above with f1d74ba40b84e11bf0f6178357b1cd1945c3d052

Awesome! I was thinking about two small improvements.
Maybe the logo should be a little bit smaller and on the left (see: https://github.com/kubernetes/kubernetes and https://github.com/rancher/fleet).

Done with 03a77357c5951f1bc069c0e3576f1a524fd8d534 (I hope)

And I would add the Go Report Card after the Go Doc, since we have an A+ tada

Done with d333907ccd730b972624048d24c8da877b645063


feat(storage-node): support aws rds instance

Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?

Codecov Report

Merging #342 (6ee75c0) into main (3f4177c) will increase coverage by 0.71%.
The diff coverage is 48.09%.

@@            Coverage Diff             @@
##             main     #342      +/-   ##
==========================================
+ Coverage   39.59%   40.30%   +0.71%
==========================================
  Files          44       47       +3
  Lines        4685     5019     +334
==========================================
+ Hits         1855     2023     +168
- Misses       2703     2858     +155
- Partials      127      138      +11

Impacted Files
Coverage Δ

...perator/pkg/controllers/compute_node_controller.go
6.72% <ø> (ø)

...e-operator/pkg/reconcile/storagenode/aws/aurora.go
0.00% <0.00%> (ø)

...here-operator/pkg/reconcile/storagenode/aws/aws.go
0.00% <0.00%> (ø)

...rator/pkg/reconcile/storagenode/aws/rdsinstance.go
16.00% <16.00%> (ø)

...ator/cmd/shardingsphere-operator/manager/option.go
46.36% <19.23%> (-5.33%)
:arrow_down:

...perator/pkg/controllers/storage_node_controller.go
68.01% <67.43%> (+68.01%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

#271


Add option/code to output imu/motion data to rs-convert

| Camera    | D455           |
| Firmware | <IP_ADDRESS>   |
| OS           | Win 10        |
| SDK         | <IP_ADDRESS>57 |
Issue Description
Having an option in rs-convert to output imu/motion data to an ASCII file would be a welcome addition to the program based on the many issues regarding access to imu/motion data that I have seen o GitHub/IntelRealSense/librealsense.  Given that the realsense-viewer displays the accel and gyro data on screen as it is collecting, could not the code in viewer that generates the values be modified and incorporated within rs-convert as there is imu/motion data in the bag file.?

Hi @jimmek   The SDK tool rs-data-collect can store and serialize D435i IMU data to a text-based .csv file that is compatible with spreadsheet software such as Excel.
https://github.com/IntelRealSense/librealsense/tree/master/tools/data-collect
The documentation does not refer to D455 but as the program seems to auto-configure the data collected based on the hardware features of the detected camera model, it may work similarly for the IMU-equipped D455 as it does on D435i.
In the Windows version of the SDK that is installed by the installer file from the Assets file list on the SDK Releases page, a pre-built executable of rs-data-collect can be found in the SDK's Tools folder (the same one where rs-convert can be found).  It can be launched in the Windows Command Prompt using a textual command input (described in the link above).

Thank you for the reference to rs-data-collect. I did run it to see what the output looked like. I was able to see gyro data output but got an error messages regarding the accelerometer. Here is the command line,  configuration file content, and a screenshot of the Accel error message for the D455.
rs-data-collect.exe -c data-collect.cfg -f rs-data-collect.out -t 10 -m 1000
ACCEL,0,0,62,MOTION_XYZ32F
GYRO,0,0,200,MOTION_XYZ32F

Where I had previously suggested that portions of the viewer code be incorporated into an enhanced rs-convert, it would seem more appropriate to use a portion of the rs-data-collect code within rs-convert. Program rs-data-collect is more of demonstration program where data collection is limited to a time or frame limit that assumes this is know for the data collection situation. An enhanced rs-convert that reads bag files would not have this limit and thus be more flexible in the application of the IMU data.

Hi @jimmek   I note that RealSense team member @ev-mp has added an Enhancement tag (i.e a feature request) to this case.  So @ev-mp would be best able to comment on the possibility of IMU data logging in a csv file being added to rs-convert in the future.

In looking at the bag files from rs-data-collect, I can see the references to the Accelerometer data but not the Gyro data. Is it written to the bag file?   In also looking at viewer generator bag files, I also do not see a reference to the gyro. Can you check into this?

My above message is confusing. Sorry. Let me restate in an easy to reply manner.  Can you confirm that both Accel and Gyro files are written to the bag files from rs-data-collect and viewer program? As you can see from above, I got gyro data from rs-data-collect but not accel data due to possible cfg file error. In another bag file output by viewer, I do see Geometry_msgs/ Vector3 and Quaternion.

No problem  :)   rs-data-collect writes IMU data to text-based csv file.  The RealSense Viewer can write IMU data (both gyro and accel) to a bag file.
The SDK Sample Data page has a selection of sample bag files as downloadable zips.  It has an outdoor scene zip that contains two bags that contain gyro and accel data.
https://github.com/IntelRealSense/librealsense/blob/master/doc/sample-data.md

MartyG
In regard to the above comment on the error in running rs-data-collect as shown in the console screen capture, the two line configuration file content for the ACCEL and GYRO streams, and the command line do you see anything wrong that would have generate the error message? I used the samples in the rs-data-collect document as the guide for the configuration file content. Output file did have gyro data and no ACCEL data.
rs-data-collect.exe -c data-collect.cfg -f rs-data-collect.out -t 10 -m 1000
ACCEL,0,0,62,MOTION_XYZ32F
GYRO,0,0,200,MOTION_XYZ32F

Hello Marty,
Resolved problem getting ACCEL data. Sample rate should be 63 not 62.

Thanks very much for the update of your success @jimmek !

Still looking for responses regarding enhancement suggestion for rs-convert to also output IMU data.  Are there any other users of rs-convert that would want this enhancement added to rs-convert?

Hi @jimmek   An official feature request has been filed with Intel for the addition to rs-convert of support for IMU information extraction.  There is not a time estimate that can be provided regarding implementation of this request though.  This case will be kept open whilst the feature request is active.

Thank you MartyG.  I think the users of the RealSense cameras with IMU will appreciate this feature as it provides a complete picture of what is contained in the BAG file.

Hi @jimmek   Support for serializing IMU and Pose data into rs-convert was added in SDK version 2.47.0.

Though the feature has been released, please keep this case open for a further time period.

This case is now able to be closed.  Thanks again @jimmek   :)


VideoJS 5 demo broken on iOS

It seems the videoJS 5 demo is broken on iOS. The 4 demo does work.
If desired, I could hook my iPhone up to my laptop and find out console output.

the css class from videojs vjs-using-native-controls is hiding the poster of videojs (probably because is IOS videojs hides the poster) and our black poster (to fix some issues we having in some old browsers) is blocking the click. I will check was is the best solution

sorry closed the issue automatically with the commit. Should be fixed when I updated the demo page.

I updated the demo for videojs5x, let me know if is fixed or if you find any other issue

Yep it works now :)


Change something related to exit

Fixed builtin exit() method with SystemExit (can be tested without Lib).
Added os.exit() method and os.EX* constants

This PR relates to #1459 and #1413.


Implement Quaternion Editor with temporary Euler

Imprement https://github.com/godotengine/godot-proposals/issues/5021.
Fixes #39229.
Implement a GUI to edit the quaternion by inputting a temporary Euler value.

This feature differs from EnumSuggestion in that the quaternion is not completely hidden and there is no Accept/Cancel button. This is due to the fact that the viewport needs to be updated even while the temporary Euler value is being edited.
Incidentally, Node3D has RotationMode, so this editor is disabled.
Be aware that temporary Euler values can be corrupted immediately by regenerating the Editor, Undo, Redo, or directly entering a value. But at least it is not corrupt during grabbing.
As a premise, Quaternion is not corruptible. If you key an animation in a Quaternion with this GUI, it will be keyed as a Rotation3D track or a ValueTrack in the Quaternion.
https://user-images.githubusercontent.com/61938263/185789533-ac519d7a-5733-45f5-821d-6c82e07de0af.mp4

Added suffix.

Can temp euler be made read-only somehow? This would prevent at least one failure case (and btw, what do you mean by "regenerating the editor"?)

Considering the needs of #39229 and #60023, making TmpEulerEditor read-only would make the PR's existence pointless. The least that can be do is to have a stronger warning on ToolTips, etc. that Euler will be corrupted.
"regenerating the editor" means folding and unfolding TmpEulerEditor.
The video demonstrates the destruction:

13 sec: Corruption by Undo/Redo
24 sec: Corruption by regenerating
27 sec: Corruption by direct input

Corruption by direct input may be prevented, but the SpinBox signal may need to be further subdivided. However, the Euler is still not stored in the object and will be corrupted immediately.
I recommend using Viewport's Gizmo to edit the Quaternion, and this feature is just an extra feature that implies that the Euler and the Quaternion are different things.

Added warning.

Changed warning text.

Thanks!


Use location of composer.json for PHP project path too

Fixes #1923
Dupplicate of #2202

Cheers! :beers:


Compile failed when i use "default" keyword as an attribute

It looks like that default is a reserved keyword in cython or something like that  because when I change default to any other keyword such as defaults it works fine
my pxd file :
cdef class A :
    cdef:
        #other attributes
        public object default # here's the problem

my pyx file :
cdef class A :
    def __init__(self,#other attributes,object default = None):
        # other attributes
        self.default = default

default is a C keyword so we can't use it in C code.
We do actually try to mangle C keywords if people use them:
https://github.com/cython/cython/blob/d833d432e56937f488d2d1f8b9f5ca8eebed4a21/Cython/Compiler/Symtab.py#L37-L43
However, cdef public disables it. I'm not 100% sure that this is right - public has two meanings in Cython:

This entity should be available unaltered to C (for which case we should present names to C exactly with no changes, so it's right to disable the mangling).
This attribute should be available to Python .

I think only the second meaning applies here so it's shouldn't disable the mangling. But i'm not completely sure.

We don't distinguish between the two meanings of public, for better or for worse. Changing this may result in backwards incompatibility (I'm not sure). A workaround is to call it readonly if you only need to access it from Python, or to use properties to access/set a member of a different name.

readonly is not working too so Is there any workaround for this or I have to change the name ?

However, using @.***`,

I suspect there's a copy-paste error there and you meant to say something about "c name specifications" https://cython.readthedocs.io/en/latest/src/userguide/external_C_code.html#resolving-naming-conflicts-c-name-specifications - i.e. use put an alternative name for the generated C code in quotes.

Sorry that got mangled, I meant using the property decorator. da-wood suggestion of using a c name specification is even better.


Transaction Effect

Transactions should be their own wrapper, around Effect.
Tentative: newtype InTransaction t = InT (Effect t)

I'll need to learn a bit more about Haskell/Purescript :\
A few attempts I did at this didn't quite work right... on one foot, should it be a MonadEffect

For the sake of clarity - the idea for this issue is to be able to catch, on the type/compiler level, the error which occurs when trying to create a loop outside of a transaction.
The loop functions (e.g. newCellLoop / loopCell) could perhaps be required to run in something like a TransactionEffect - and runTransaction could accept that as its callback.
As it is right now - the error is only caught at runtime, though the sodium js library catches it immediately


Trivial README fixes.

Pull Request Test Coverage Report for Build 40

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 98.952%

Totals

Change from base Build 39:
0.3%

Covered Lines:
661

Relevant Lines:
668

💛  - Coveralls


missing plugin 'entity'

There is a require statement for entity in info-dev.js that can't find an associated module in node_modules.
I removed the require, and now the system isn't angry at me (seemingly) but the web interface is empty.
So I npm installed seneca-entity": "0.0.1, that was removed as a dependency in a prior commit, and added back the require, and all is fine and happy.
So not sure if this is going to be replaced, or we really do need it. I remember seeing a tweet about seneca 2.0 moving entity to a separate package (I think)

Might be my fault :D


Unable to install crouton

Please paste the output of the following command here: sudo edit-chroot -all
chronos@localhost /usr/local $ sudo edit-chroot-all
sudo: edit-chroot-all: command not found
chronos@localhost /usr/local $

-----------
Below is output from continuation of install.  I had to reboot as my keyboard froze during initial install at the point where it asks for a login name.

hronos@localhost /usr/local $ sudo enter-chroot
Entering /media/removable/chrome-32/chroots/trusty...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] y
Preparing chroot environment...
Installing target core...
Preparing environment...
Preparing software sources...
 Done
Ensuring system is up-to-date...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version.
ca-certificates is already the newest version.
sudo is already the newest version.
wget is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Syncing timezone...
Installing target audio...
Fetching CRAS (branch 0dac4acd30b69f02498ca4696f5660800ec848be)...
--2016-07-25 14:52:55--  https://chromium.googlesource.com/chromiumos/third_party/adhd/+archive/0dac4acd30b69f02498ca4696f5660800ec848be.tar.gz
Resolving chromium.googlesource.com (chromium.googlesource.com)... 2607:f8b0:400e:c04::52, <IP_ADDRESS>
Connecting to chromium.googlesource.com (chromium.googlesource.com)|2607:f8b0:400e:c04::52|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: '/tmp/crouton-cras.RCQady/adhd.tar.gz'

     0K .......... .......... .......... .......... ..........  205K
    50K .......... .......... .......... .......... ..........  431K
   100K .......... .......... .......... .......... ..........  506K
   150K .......... .......... .......... .......... .......... 1.36M
   200K .......... .......... .......... .......... ..........  709K
   250K .......... .......... .......... .......... .......... 1.37M
   300K .......... .......... .......... .......... ..........  785K
   350K .......... .......... .......... .......... .......... 1.30M
   400K .......... .......... .......... .......... .......... 1.76M
   450K .......... .......... .......... .......... .......... 2.02M
   500K .......... .......... .......... .......... .....      1.88M=0.8s

2016-07-25 14:52:58 (701 KB/s) - '/tmp/crouton-cras.RCQady/adhd.tar.gz' saved [558107]

Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-utils is already the newest version.
libasound2:i386 is already the newest version.
libspeexdsp1:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
gcc-multilib is already the newest version.
gcc-multilib set to manually installed.
pkg-config is already the newest version.
Suggested packages:
  glibc-doc:i386 manpages-dev:i386 speex:i386
Recommended packages:
  gcc:i386 c-compiler:i386
The following NEW packages will be installed:
  libc6-dev:i386 libspeex-dev:i386 libspeex1:i386 libspeexdsp-dev:i386
  linux-libc-dev:i386
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2515 kB of archives.
After this operation, 13.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libspeex1 i386 1.2~rc1.1-1ubuntu1 [87.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev i386 3.13.0-92.139 [771 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev i386 2.19-0ubuntu6.9 [1559 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libspeex-dev i386 1.2~rc1.1-1ubuntu1 [56.3 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main libspeexdsp-dev i386 1.2~rc1.1-1ubuntu1 [42.1 kB]
Fetched 2515 kB in 3s (632 kB/s)
Selecting previously unselected package libspeex1:i386.
(Reading database ... 44950 files and directories currently installed.)
Preparing to unpack .../libspeex1_1.2~rc1.1-1ubuntu1_i386.deb ...
Unpacking libspeex1:i386 (1.2~rc1.1-1ubuntu1) ...
Selecting previously unselected package linux-libc-dev:i386.
Preparing to unpack .../linux-libc-dev_3.13.0-92.139_i386.deb ...
Unpacking linux-libc-dev:i386 (3.13.0-92.139) ...
Selecting previously unselected package libc6-dev:i386.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_i386.deb ...
Unpacking libc6-dev:i386 (2.19-0ubuntu6.9) ...
Selecting previously unselected package libspeex-dev:i386.
Preparing to unpack .../libspeex-dev_1.2~rc1.1-1ubuntu1_i386.deb ...
Unpacking libspeex-dev:i386 (1.2~rc1.1-1ubuntu1) ...
Selecting previously unselected package libspeexdsp-dev:i386.
Preparing to unpack .../libspeexdsp-dev_1.2~rc1.1-1ubuntu1_i386.deb ...
Unpacking libspeexdsp-dev:i386 (1.2~rc1.1-1ubuntu1) ...
Setting up libspeex1:i386 (1.2~rc1.1-1ubuntu1) ...
Setting up linux-libc-dev:i386 (3.13.0-92.139) ...
Setting up libc6-dev:i386 (2.19-0ubuntu6.9) ...
Setting up libspeex-dev:i386 (1.2~rc1.1-1ubuntu1) ...
Setting up libspeexdsp-dev:i386 (1.2~rc1.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
libc6-dev:i386 set to automatically installed.
libspeexdsp-dev:i386 set to automatically installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc6-dev:i386 libspeex-dev:i386 libspeex1:i386 libspeexdsp-dev:i386
  linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
Suggested packages:
  libasound2-doc:i386
The following NEW packages will be installed:
  libasound2-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 59.2 kB of archives.
After this operation, 479 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libasound2-dev i386 <IP_ADDRESS>-3ubuntu7 [59.2 kB]
Fetched 59.2 kB in 0s (76.3 kB/s)
Selecting previously unselected package libasound2-dev:i386.
(Reading database ... 45283 files and directories currently installed.)
Preparing to unpack .../libasound2-dev_<IP_ADDRESS>-3ubuntu7_i386.deb ...
Unpacking libasound2-dev:i386 (<IP_ADDRESS>-3ubuntu7) ...
Setting up libasound2-dev:i386 (<IP_ADDRESS>-3ubuntu7) ...
libasound2-dev:i386 set to automatically installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
patch is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling CRAS (i386)...
Installing CRAS...
Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-utils is already the newest version.
libasound2 is already the newest version.
libspeexdsp1 is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
libspeexdsp-dev is already the newest version.
pkg-config is already the newest version.
libc6-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libasound2-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
patch is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling CRAS (native)...
Installing CRAS...
Installing target extension...
Reading package lists... Done
Building dependency tree
Reading state information... Done
x11-utils is already the newest version.
xclip is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing dependencies for /usr/local/bin/croutonwebsocket...
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
libc6-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling /usr/local/bin/croutonwebsocket...
Installing target xiwi...
Canceled hold on xserver-xorg-video-dummy.
Reading package lists... Done
Building dependency tree
Reading state information... Done
xserver-xorg-video-dummy is already the newest version.
xorg is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
i3 is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installing dependencies for /usr/local/bin/croutonfbserver...
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
libx11-dev is already the newest version.
libc6-dev is already the newest version.
libxext-dev is already the newest version.
libxext-dev set to manually installed.
libxfixes-dev is already the newest version.
libxfixes-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  x11proto-damage-dev x11proto-record-dev
The following NEW packages will be installed:
  libxdamage-dev libxtst-dev x11proto-damage-dev x11proto-record-dev
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 64.4 kB of archives.
After this operation, 375 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main x11proto-damage-dev all 1:1.2.1-2 [8286 B]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libxdamage-dev amd64 1:1.1.4-1ubuntu1 [5450 B]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main x11proto-record-dev all 1.14.2-1 [33.6 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libxtst-dev amd64 2:1.2.2-1 [17.0 kB]
Fetched 64.4 kB in 1s (61.2 kB/s)
Selecting previously unselected package x11proto-damage-dev.
(Reading database ... 45285 files and directories currently installed.)
Preparing to unpack .../x11proto-damage-dev_1%3a1.2.1-2_all.deb ...
Unpacking x11proto-damage-dev (1:1.2.1-2) ...
Selecting previously unselected package libxdamage-dev:amd64.
Preparing to unpack .../libxdamage-dev_1%3a1.1.4-1ubuntu1_amd64.deb ...
Unpacking libxdamage-dev:amd64 (1:1.1.4-1ubuntu1) ...
Selecting previously unselected package x11proto-record-dev.
Preparing to unpack .../x11proto-record-dev_1.14.2-1_all.deb ...
Unpacking x11proto-record-dev (1.14.2-1) ...
Selecting previously unselected package libxtst-dev:amd64.
Preparing to unpack .../libxtst-dev_2%3a1.2.2-1_amd64.deb ...
Unpacking libxtst-dev:amd64 (2:1.2.2-1) ...
Setting up x11proto-damage-dev (1:1.2.1-2) ...
Setting up libxdamage-dev:amd64 (1:1.1.4-1ubuntu1) ...
Setting up x11proto-record-dev (1.14.2-1) ...
Setting up libxtst-dev:amd64 (2:1.2.2-1) ...
libxdamage-dev set to automatically installed.
libxtst-dev set to automatically installed.
Compiling /usr/local/bin/croutonfbserver...
Installing dependencies for /usr/local/bin/croutonfindnacld...
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
libc6-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386
  libspeexdsp-dev:i386 libxdamage-dev libxtst-dev linux-libc-dev:i386
  x11proto-damage-dev x11proto-record-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling /usr/local/bin/croutonfindnacld...
Download Xorg dummy driver...
--2016-07-25 14:55:29--  http://xorg.freedesktop.org/releases/individual/driver//xf86-video-dummy-0.3.7.tar.gz
Resolving xorg.freedesktop.org (xorg.freedesktop.org)... failed: Name or service not known.
wget: unable to resolve host address 'xorg.freedesktop.org'
Failed to complete chroot setup.
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in trusty
Unmounting /media/removable/chrome-32/chroots/trusty...
Sending SIGTERM to processes under /media/removable/chrome-32/chroots/trusty...

Please describe your issue:
I am trying to install the crouton on a 32GB SD card which I formated to ext2
As per this article https://tomwwolf.com/chromebook-14-compedium/chromebook-crouton-cookbook/
I did the link between the local and media card as per above:
“sudo mkdir /media/removable/chrome-32/chroots”
“sudo ln -s /media/removable/chrome-32/chroots/ chroots”
I used this to install:   sudo sh ~/Downloads/crouton -r trusty -t xfce,xiwi
I'm using a Toshiba with Celeron
If known, describe the steps to reproduce the issue:
I"m not sure what to do next.  Should I delete everything in usr/local folder and restart?
Please advise!

What I get trying to enter-chroot
chronos@localhost /usr/local/chroots/trusty $ sudo enter-chroot
Entering /media/removable/chrome-32/chroots/trusty...
UID 1000 not found in trusty
Unmounting /media/removable/chrome-32/chroots/trusty...
chronos@localhost /usr/local/chroots/trusty $

deleted what was in the local folder and tried again and got the result below
I used this to install: sudo sh ~/Downloads/crouton -r trusty -t xfce
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xterm/xterm_297-1ubuntu1_amd64.deb  Could not resolve 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xorg/xorg_7.7+1ubuntu8.1_amd64.deb  Could not resolve 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Failed to complete chroot setup.
/media/removable/chrome-32/chroots/trusty not found.
chronos@localhost /usr/local

Those look like transient network errors...


5.9.2 version

Hi, i have Unity.Configuration 5.9.2 version which one depends on Unity.Container 5.9.5 version which one depends on Unity.Abstractions 4.0.3
so Unity.Configuration 5.9.2 -> Unity.Container 5.9.5 -> Unity.Abstractions 4.0.3
Also i have Unity.Abstractions 4.1.0
So that i get runtime error, Unity.Abstractions 4.0.3 cannot be found

Why would you upgrade one but not the other?


Add options to minify/compress php page html output

I am looking for a options that can minify my php page html output like google page speed does. This can removes about 30% of the page size by turning the html code into one line, no tabs, no new lines, no comments.

"Note, never use this method with pre or textarea tags. It's not that trivial to deal with such tags as it may seem at first sight. For this case you should consider using HTML Tidy Project instead."
If the limit about note above, I think this code is exclude pre or textarea

maybe, but there is already a working implementation that covers it (tidy) so why should we reinvent the wheel?


Expected identifier - IE8 Compilation Issue

Hi,
When the following template expression is processed, the result is an "Expected identifier" error on line 552.
Cause of error:
$.template("PlayerContentTemplate", "

{{=content!}}

");
Line 552:
ret = new Function( "$data, $view", code.slice( 0, -1) + ";return result;\n\n}catch(e){return views.err(e);}" );
This works fine with IE9, the latest FF and Chrome. To get into IE8 mode using IE9, simply press F12 and select IE8 from the "Browser Mode:" top menu, located on the right hand side of the developer tool window.
Hope you're able to look into this soon, or provide a work around.
Thanks for a great plug-in.
Kaine

Yes, a fix is on its way within a few days I hope...

That's fabulous. Thx Boris.


Can't run flutter_acrylic_example.exe

I double-click exe but no window is displayed，do I need to install flutter on my computer to run flutter_acrylic_example.exe?

I double-click exe but no window is displayed，do I need to install flutter on my computer to run flutter_acrylic_example.exe ?

Do you see some error? Windows build & version?

@alexmercerind
My Windows build version is 22621,  and I can't see any error message box when I double-click the exe😕

22000 can run exe😇

The issue seems (was) to be in bitsdojo_window not here.


ValueError: Cannot feed value of shape (64, 4) for Tensor 'targets/Y:0', which has shape '(?, 3)'

Run id: pygta5-car-fast-0.001-alexnetv2-5-epochs-300K-data.model
Log directory: log/
---------------------------------
Training samples: 2950
Validation samples: 50
--
Traceback (most recent call last):
  File "C:\Users\robot\Desktop\tutorial\Part 8-13 code\train_model.py", line 25, in <module>
    model.fit( X, Y, n_epoch=1,validation_set=(test_x,test_y),snapshot_step=10, show_metric=True, run_id=MODEL_NAME)
  File "C:\Python36\lib\site-packages\tflearn\models\dnn.py", line 216, in fit
    callbacks=callbacks)
  File "C:\Python36\lib\site-packages\tflearn\helpers\trainer.py", line 339, in fit
    show_metric)
  File "C:\Python36\lib\site-packages\tflearn\helpers\trainer.py", line 818, in _train
    feed_batch)
  File "C:\Python36\lib\site-packages\tensorflow_core\python\client\session.py", line 956, in run
    run_metadata_ptr)
  File "C:\Python36\lib\site-packages\tensorflow_core\python\client\session.py", line 1156, in _run
    (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (64, 4) for Tensor 'targets/Y:0', which has shape '(?, 3)'

Is anyone facing with same issue. All i did is copy/paste and could not find a proper solution to fix that on google

Well this is a shape error.  The model is expecting a shape with 3 on the y, but what you're feeding in has a shape of 4 on the y, which is causing the error.

This repo is also pretty old, so it has a lotta bugs, I would recommend maybe using something similar to how sentdex gets his data, but definitely changing the model.


[Fonts] Icon request: percent

Hi @GinilabDev, the percent icon already exists in stable 2.10.3 under the name percent. The material icons site just hasn't been updated yet. Closing as the icon already exists. Thank you


allow objects with __toString method as withHeaders array value

Not sure how common of a use case this is, but it is an issue I ran into.
All tests pass, except for the one mentioned in #169.

LGTM.

Thanks!


If the "tour" is finished, a server error occurs

follow the tout (reachable from code4space and the lab's start page). After the last step, a server error occurs. The tutorial is not affected. After clicking "ok", the lab session runs as usual.

the error occurs in Project#transformProgram(). This method is triggered by the close of the simulator (BTW: why does the close trigger the generation of sim code? BTW: when the simulation is initiated, the simulation code is generated twice). The program xml, that is given to the JaxbHelper.xml2BlockSet method, is incomplete. Exception is:
javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 123; cvc-complex-type.2.4.b:
Content des Elements 'block_set' ist nicht vollständig.
'{"http://de.fhg.iais.roberta.blockly":instance}' wird erwartet.]

It's likely, that the error was introduced by changes in the XML.

(due to other changes?) the call to Project#transformProgram() has been removed and the error vanished ... .


Switch bug

What version of Go are you using (go version)?

$ go version
go version go1.12.3 darwin/amd64

Does this issue reproduce with the latest release?
In reflect.Kind case switch not working properly
i write example code switch statement code
there program exited without print something
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/gearintellix/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/gearintellix/Sites/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.3/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fw/zkl81fnd2d966l2_jvddn0gw0000gn/T/go-build252307363=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you expect to see?
that must be
OK 50

What did you see instead?
nothing

In Go, the switch statement doesn't have automatic fallthrough like in C. See: https://tour.golang.org/flowcontrol/9
In your example, v is an Int but your Int case in the switch is empty, so nothing is printed. Do this:
switch val.Kind() {
	case reflect.Int:
		fmt.Println("OK", v)

and you'll see "OK" printed.
Closing here, since this is not  Go bug.


Unable to get filename in binary multipart/form-data

Steps to reproduce the problem:

mitmproxy -p 8888
 curl -X POST "http://google.com/upload" -H 'Content-type:multipart/form-data; boundary=----------a8ba1f6ad84944199d5346f69bb14140' --data-binary $'------------a8ba1f6ad84944199d5346f69bb14140/\r\nContent-Disposition: form-data; name="file"; filename="error.log.zip";\r\nContent-Type: application/octet-stream\r\n\r\nx\x9c\xbd\x96\xddR\xab0\x10\xc7\xaf\xedS\xe4\xc2\r\n------------a8ba1f6ad84944199d5346f69bb14140--\r\n' -x localhost:8888
Check request data, only "file" field without filename

System information

Mitmproxy: 4.0.3
Python:    3.6.5
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Linux-4.9.4-galliumos-braswell-x86_64-with-Ubuntu-16.04-xenial

+1 That would be a good feature. It would help to find out which one of the multipart entry is the uploaded file.
Having also the content-type of each file would be great.


Fresh Install - Checkout Summary Blank

Hey.
Great work.
I have 3 separate issues regarding a brand new install.

The Cart doesn't transfer into the Checkout (no checkout summary visible).
The Shipping Address / Billing Address are saved as NULL when I enter in all information as a guest, and I get an error:

Uncaught (in promise) TypeError: Cannot read property 'firstName' of null
at AddressSummary (index.tsx:12)
So the checkout isn't updating nor being created successfully from what I gather. I have no idea where to start with this!

The login creates a GraphQL permissions issue when I attempt to log into a newly created account:

Uncaught (in promise) Error: GraphQL error: You do not have permission to perform this action
Please advise.
steveconstantine!

Hey @steveconstantine, thanks for reporting! We're in the middle of rethinking the entire checkout architecture. I have to admit that current implementation isn't perfect, but that's why we're still considering this project of beta quality. I'd recommend holding on with using it for now and waiting until the next release in January in which we're planning to fix all of those issues.

About the third issue - this is a problem in our backend, I'll open an issue in Saleor repository.

Hello,
I'm run problem in this issue again,
Step to reproduce :

Install saleor v2.9.0 (using docker method) & saleor-dashboard v2.0.0 ( everything fine )
clone saleor-storefront & checkout to v0.7.0
npm install
npm start:worker
visit localhost:3000
clicked checkout icons, then blank

chrome console log
Uncaught TypeError: Cannot destructure property `node` of 'undefined' or 'null'.
    at utils.ts:13
    at Array.reduce (<anonymous>)
    at Object../src/components/CartProvider/utils.ts.exports.getTotal (utils.ts:12)
    at Cart.tsx:94
    at Object.children (queries.tsx:94)
    at finish (react-apollo.esm.js:348)
    at Query../node_modules/react-apollo/react-apollo.esm.js.Query.render (react-apollo.esm.js:352)
    at finishClassComponent (react-dom.development.js:14742)
    at updateClassComponent (react-dom.development.js:14697)
    at beginWork (react-dom.development.js:15645)
(anonymous) @ utils.ts:13
./src/components/CartProvider/utils.ts.exports.getTotal @ utils.ts:12
(anonymous) @ Cart.tsx:94
(anonymous) @ queries.tsx:94
finish @ react-apollo.esm.js:348
./node_modules/react-apollo/react-apollo.esm.js.Query.render @ react-apollo.esm.js:352
finishClassComponent @ react-dom.development.js:14742
updateClassComponent @ react-dom.development.js:14697
beginWork @ react-dom.development.js:15645
performUnitOfWork @ react-dom.development.js:19313
workLoop @ react-dom.development.js:19353
callCallback @ react-dom.development.js:150
invokeGuardedCallbackDev @ react-dom.development.js:200
invokeGuardedCallback @ react-dom.development.js:257
replayUnitOfWork @ react-dom.development.js:18579
renderRoot @ react-dom.development.js:19469
performWorkOnRoot @ react-dom.development.js:20343
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
react-dom.development.js:17118 The above error occurred in the <Query> component:
    in Query
    in Unknown (created by Context.Consumer)
    in NetworkStatus (created by Online)
    in Online (created by Cart)
    in div (created by Overlay)
    in div (created by Overlay)
    in Overlay (created by Cart)
    in Cart (created by Context.Consumer)
    in OverlayManager (created by App)
    in App (created by Route)
    in Route (created by Context.Consumer)
    in Switch (created by Context.Consumer)
    in CartProvider (created by Context.Consumer)
    in Unknown (created by Checkout)
    in Checkout
    in Provider (created by Route)
    in Route (created by withRouter(Provider))
    in withRouter(Provider)
    in Query
    in Unknown (created by ShopProvider)
    in ShopProvider
    in CredentialsProvider (created by SaleorProvider)
    in SaleorProvider
    in ApolloProvider
    in Route (created by QueryParamProvider)
    in QueryParamProvider
    in Router
    in Unknown (created by HotExportedComponent)
    in AppContainer (created by HotExportedComponent)
    in HotExportedComponent
    in Unknown
    in Provider
    in I18nProvider
    in Unknown
    in ThemeProvider

React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ react-dom.development.js:17118
logError @ react-dom.development.js:17154
callback @ react-dom.development.js:18095
callCallback @ react-dom.development.js:16434
commitUpdateEffects @ react-dom.development.js:16473
commitUpdateQueue @ react-dom.development.js:16464
commitLifeCycles @ react-dom.development.js:17365
commitAllLifeCycles @ react-dom.development.js:18737
callCallback @ react-dom.development.js:150
invokeGuardedCallbackDev @ react-dom.development.js:200
invokeGuardedCallback @ react-dom.development.js:257
commitRoot @ react-dom.development.js:18949
(anonymous) @ react-dom.development.js:20419
unstable_runWithPriority @ scheduler.development.js:255
completeRoot @ react-dom.development.js:20418
performWorkOnRoot @ react-dom.development.js:20347
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
react-hot-loader.development.js:247 TypeError: Cannot destructure property `node` of 'undefined' or 'null'.
    at utils.ts:13
    at Array.reduce (<anonymous>)
    at Object../src/components/CartProvider/utils.ts.exports.getTotal (utils.ts:12)
    at Cart.tsx:94
    at Object.children (queries.tsx:94)
    at finish (react-apollo.esm.js:348)
    at Query../node_modules/react-apollo/react-apollo.esm.js.Query.render (react-apollo.esm.js:352)
    at finishClassComponent (react-dom.development.js:14742)
    at updateClassComponent (react-dom.development.js:14697)
    at beginWork (react-dom.development.js:15645)
error @ react-hot-loader.development.js:247
componentDidCatch @ react-hot-loader.development.js:2183
callback @ react-dom.development.js:18096
callCallback @ react-dom.development.js:16434
commitUpdateEffects @ react-dom.development.js:16473
commitUpdateQueue @ react-dom.development.js:16464
commitLifeCycles @ react-dom.development.js:17365
commitAllLifeCycles @ react-dom.development.js:18737
callCallback @ react-dom.development.js:150
invokeGuardedCallbackDev @ react-dom.development.js:200
invokeGuardedCallback @ react-dom.development.js:257
commitRoot @ react-dom.development.js:18949
(anonymous) @ react-dom.development.js:20419
unstable_runWithPriority @ scheduler.development.js:255
completeRoot @ react-dom.development.js:20418
performWorkOnRoot @ react-dom.development.js:20347
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
utils.ts:13 Uncaught TypeError: Cannot destructure property `node` of 'undefined' or 'null'.
    at utils.ts:13
    at Array.reduce (<anonymous>)
    at Object../src/components/CartProvider/utils.ts.exports.getTotal (utils.ts:12)
    at Cart.tsx:94
    at Object.children (queries.tsx:94)
    at finish (react-apollo.esm.js:348)
    at Query../node_modules/react-apollo/react-apollo.esm.js.Query.render (react-apollo.esm.js:352)
    at finishClassComponent (react-dom.development.js:14742)
    at updateClassComponent (react-dom.development.js:14697)
    at beginWork (react-dom.development.js:15645)
(anonymous) @ utils.ts:13
./src/components/CartProvider/utils.ts.exports.getTotal @ utils.ts:12
(anonymous) @ Cart.tsx:94
(anonymous) @ queries.tsx:94
finish @ react-apollo.esm.js:348
./node_modules/react-apollo/react-apollo.esm.js.Query.render @ react-apollo.esm.js:352
finishClassComponent @ react-dom.development.js:14742
updateClassComponent @ react-dom.development.js:14697
beginWork @ react-dom.development.js:15645
performUnitOfWork @ react-dom.development.js:19313
workLoop @ react-dom.development.js:19353
renderRoot @ react-dom.development.js:19436
performWorkOnRoot @ react-dom.development.js:20343
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
react-dom.development.js:17118 The above error occurred in the <AppContainer> component:
    in AppContainer (created by HotExportedComponent)
    in HotExportedComponent
    in Unknown
    in Provider
    in I18nProvider
    in Unknown
    in ThemeProvider

Consider adding an error boundary to your tree to customize error handling behavior.
 This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in Cart (created by Context.Consumer)
    in OverlayManager (created by App)
    in App (created by Route)
    in Route (created by Context.Consumer)
    in Switch (created by Context.Consumer)
    in CartProvider (created by Context.Consumer)
    in Unknown (created by Checkout)
    in Checkout
    in Provider (created by Route)
    in Route (created by withRouter(Provider))
    in withRouter(Provider)
    in Query
    in Unknown (created by ShopProvider)
    in ShopProvider
    in CredentialsProvider (created by SaleorProvider)
    in SaleorProvider
    in ApolloProvider
    in Route (created by QueryParamProvider)
    in QueryParamProvider
    in Router
    in Unknown (created by HotExportedComponent)

anyone can help?

Hello,
I'm run problem in this issue again,
Step to reproduce :

Install saleor v2.9.0 (using docker method) & saleor-dashboard v2.0.0 ( everything fine )
clone saleor-storefront & checkout to v0.7.0
npm install
npm start:worker
visit localhost:3000
clicked checkout icons, then blank

chrome console log
Uncaught TypeError: Cannot destructure property `node` of 'undefined' or 'null'.
    at utils.ts:13
    at Array.reduce (<anonymous>)
    at Object../src/components/CartProvider/utils.ts.exports.getTotal (utils.ts:12)
    at Cart.tsx:94
    at Object.children (queries.tsx:94)
    at finish (react-apollo.esm.js:348)
    at Query../node_modules/react-apollo/react-apollo.esm.js.Query.render (react-apollo.esm.js:352)
    at finishClassComponent (react-dom.development.js:14742)
    at updateClassComponent (react-dom.development.js:14697)
    at beginWork (react-dom.development.js:15645)
(anonymous) @ utils.ts:13
./src/components/CartProvider/utils.ts.exports.getTotal @ utils.ts:12
(anonymous) @ Cart.tsx:94
(anonymous) @ queries.tsx:94
finish @ react-apollo.esm.js:348
./node_modules/react-apollo/react-apollo.esm.js.Query.render @ react-apollo.esm.js:352
finishClassComponent @ react-dom.development.js:14742
updateClassComponent @ react-dom.development.js:14697
beginWork @ react-dom.development.js:15645
performUnitOfWork @ react-dom.development.js:19313
workLoop @ react-dom.development.js:19353
callCallback @ react-dom.development.js:150
invokeGuardedCallbackDev @ react-dom.development.js:200
invokeGuardedCallback @ react-dom.development.js:257
replayUnitOfWork @ react-dom.development.js:18579
renderRoot @ react-dom.development.js:19469
performWorkOnRoot @ react-dom.development.js:20343
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
react-dom.development.js:17118 The above error occurred in the <Query> component:
    in Query
    in Unknown (created by Context.Consumer)
    in NetworkStatus (created by Online)
    in Online (created by Cart)
    in div (created by Overlay)
    in div (created by Overlay)
    in Overlay (created by Cart)
    in Cart (created by Context.Consumer)
    in OverlayManager (created by App)
    in App (created by Route)
    in Route (created by Context.Consumer)
    in Switch (created by Context.Consumer)
    in CartProvider (created by Context.Consumer)
    in Unknown (created by Checkout)
    in Checkout
    in Provider (created by Route)
    in Route (created by withRouter(Provider))
    in withRouter(Provider)
    in Query
    in Unknown (created by ShopProvider)
    in ShopProvider
    in CredentialsProvider (created by SaleorProvider)
    in SaleorProvider
    in ApolloProvider
    in Route (created by QueryParamProvider)
    in QueryParamProvider
    in Router
    in Unknown (created by HotExportedComponent)
    in AppContainer (created by HotExportedComponent)
    in HotExportedComponent
    in Unknown
    in Provider
    in I18nProvider
    in Unknown
    in ThemeProvider

React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError @ react-dom.development.js:17118
logError @ react-dom.development.js:17154
callback @ react-dom.development.js:18095
callCallback @ react-dom.development.js:16434
commitUpdateEffects @ react-dom.development.js:16473
commitUpdateQueue @ react-dom.development.js:16464
commitLifeCycles @ react-dom.development.js:17365
commitAllLifeCycles @ react-dom.development.js:18737
callCallback @ react-dom.development.js:150
invokeGuardedCallbackDev @ react-dom.development.js:200
invokeGuardedCallback @ react-dom.development.js:257
commitRoot @ react-dom.development.js:18949
(anonymous) @ react-dom.development.js:20419
unstable_runWithPriority @ scheduler.development.js:255
completeRoot @ react-dom.development.js:20418
performWorkOnRoot @ react-dom.development.js:20347
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
react-hot-loader.development.js:247 TypeError: Cannot destructure property `node` of 'undefined' or 'null'.
    at utils.ts:13
    at Array.reduce (<anonymous>)
    at Object../src/components/CartProvider/utils.ts.exports.getTotal (utils.ts:12)
    at Cart.tsx:94
    at Object.children (queries.tsx:94)
    at finish (react-apollo.esm.js:348)
    at Query../node_modules/react-apollo/react-apollo.esm.js.Query.render (react-apollo.esm.js:352)
    at finishClassComponent (react-dom.development.js:14742)
    at updateClassComponent (react-dom.development.js:14697)
    at beginWork (react-dom.development.js:15645)
error @ react-hot-loader.development.js:247
componentDidCatch @ react-hot-loader.development.js:2183
callback @ react-dom.development.js:18096
callCallback @ react-dom.development.js:16434
commitUpdateEffects @ react-dom.development.js:16473
commitUpdateQueue @ react-dom.development.js:16464
commitLifeCycles @ react-dom.development.js:17365
commitAllLifeCycles @ react-dom.development.js:18737
callCallback @ react-dom.development.js:150
invokeGuardedCallbackDev @ react-dom.development.js:200
invokeGuardedCallback @ react-dom.development.js:257
commitRoot @ react-dom.development.js:18949
(anonymous) @ react-dom.development.js:20419
unstable_runWithPriority @ scheduler.development.js:255
completeRoot @ react-dom.development.js:20418
performWorkOnRoot @ react-dom.development.js:20347
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
utils.ts:13 Uncaught TypeError: Cannot destructure property `node` of 'undefined' or 'null'.
    at utils.ts:13
    at Array.reduce (<anonymous>)
    at Object../src/components/CartProvider/utils.ts.exports.getTotal (utils.ts:12)
    at Cart.tsx:94
    at Object.children (queries.tsx:94)
    at finish (react-apollo.esm.js:348)
    at Query../node_modules/react-apollo/react-apollo.esm.js.Query.render (react-apollo.esm.js:352)
    at finishClassComponent (react-dom.development.js:14742)
    at updateClassComponent (react-dom.development.js:14697)
    at beginWork (react-dom.development.js:15645)
(anonymous) @ utils.ts:13
./src/components/CartProvider/utils.ts.exports.getTotal @ utils.ts:12
(anonymous) @ Cart.tsx:94
(anonymous) @ queries.tsx:94
finish @ react-apollo.esm.js:348
./node_modules/react-apollo/react-apollo.esm.js.Query.render @ react-apollo.esm.js:352
finishClassComponent @ react-dom.development.js:14742
updateClassComponent @ react-dom.development.js:14697
beginWork @ react-dom.development.js:15645
performUnitOfWork @ react-dom.development.js:19313
workLoop @ react-dom.development.js:19353
renderRoot @ react-dom.development.js:19436
performWorkOnRoot @ react-dom.development.js:20343
performWork @ react-dom.development.js:20255
performSyncWork @ react-dom.development.js:20229
interactiveUpdates$1 @ react-dom.development.js:20496
interactiveUpdates @ react-dom.development.js:2171
dispatchInteractiveEvent @ react-dom.development.js:4883
react-dom.development.js:17118 The above error occurred in the <AppContainer> component:
    in AppContainer (created by HotExportedComponent)
    in HotExportedComponent
    in Unknown
    in Provider
    in I18nProvider
    in Unknown
    in ThemeProvider

Consider adding an error boundary to your tree to customize error handling behavior.
 This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in Cart (created by Context.Consumer)
    in OverlayManager (created by App)
    in App (created by Route)
    in Route (created by Context.Consumer)
    in Switch (created by Context.Consumer)
    in CartProvider (created by Context.Consumer)
    in Unknown (created by Checkout)
    in Checkout
    in Provider (created by Route)
    in Route (created by withRouter(Provider))
    in withRouter(Provider)
    in Query
    in Unknown (created by ShopProvider)
    in ShopProvider
    in CredentialsProvider (created by SaleorProvider)
    in SaleorProvider
    in ApolloProvider
    in Route (created by QueryParamProvider)
    in QueryParamProvider
    in Router
    in Unknown (created by HotExportedComponent)

anyone can help?

i've the same problem..
you already found a solution?
thanks

Hey, can you describe the issue more precisely? Especially sixth step, because I'm not able to reproduce the problem.


Add curry & uncurry to PlutusTx Prelude

We've been expanding HLint to support Plutus and found the lack of these functions. Hope this addition will be useful in general.
Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[ ] Reviewer requested

Thanks!


Fix maintenance margin calculation

Description

Maintenance Margin will be calculated using current securities price
and not the acquisition price.
Adding unit and regression tests

Related Issue

Closes https://github.com/QuantConnect/Lean/issues/3763
Motivation and Context

Improve margin modeling
Requires Documentation Change

N/A
How Has This Been Tested?

Unit and regression tests
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Testing showed that Maintenance Margin is a func(Current Asset Price) versus func(Acquisition Asset Price) as in master today.
Example:
State 0
TotalPortfolioValue 1M = 1M cash | 4x leverage
State 1
We buy AAPL shares for 4M in value. Lean will subtract the total amount of cash we spent and leave us with -3M (the loan):
TotalPortfolioValue 1M = 4M assets current value - 3M cash (loan)
Margin Used = assets current value * margin requirement = 4M * 25% = 1M
Margin Remaining = TPV - Margin Used - UnsettledCashBook.TotalValueInAccountCurrency (0 for this test) = 0
State 2A - Price goes up 25%
TotalPortfolioValue 2M = 5M assets current value - 3M cash (loan)
Margin Used = assets current value * margin requirement = 5M * 25% = 1.25M
Margin Remaining = 2M - 1.25M = 0.75M
State 2B - Price goes up 25%
TotalPortfolioValue 0M = 3M assets current value - 3M cash (loan)
Margin Used = assets current value * margin requirement = 3M * 25% = 0.75M
Margin Remaining = 0M - 0.75M = -0.75M
This case will get margin called when MarginRemaining < 0 https://github.com/QuantConnect/Lean/blob/master/Common/Securities/DefaultMarginCallModel.cs#L93
IB live test
Portfolio

Margin calculations

References:
IB Maintenance Margin Calculation – Securities @ https://www.interactivebrokers.com/en/index.php?f=1232

IB  Maintenance requirement for US stocks @ https://www.interactivebrokers.com/en/index.php?f=26658&hm=us&ex=us&rgt=1&rsk=0&pm=1&rst=101004100808


EKS heptio authentication using IAM without AWSCLI

Hi , i followed getting started on aws EKS, and kubectl and this tool is all we need right? do i still need to set something on my box for AWS role?
i get this
kubectl get all could not get token: NoCredentialProviders: no valid providers in chain. Deprecated. 	For verbose messaging see aws.Config.CredentialsChainVerboseErrors could not get token: NoCredentialProviders: no valid providers in chain. Deprecated. 	For verbose messaging see aws.Config.CredentialsChainVerboseErrors could not get token: NoCredentialProviders: no valid providers in chain. Deprecated. 	For verbose messaging see aws.Config.CredentialsChainVerboseErrors error: the server doesn't have a resource type "cronjobs"

https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html

@softwarecoolie to echo what @jrnt30 said, you should be able to use anything in the default aws credential chain, which includes the environment variables and config files.

Thank you @nckturner @jrnt30  , i was able to get it to working but missing the whole point... getting started EKS says no need of AWSCLI, proved the role etc info to heptio and it would authenticate for kubectl.. didnt work.. following worked

created user with EKS admin and added iam get role and iam pass role
created role with above user as trusted entity
in awscli credentials i had save access key and secret..  ( basically anyone who gets hold of my credentials they can have fun whatever crazy role setup i do on console)

may be i am missing something!

So the only things that matter in terms of authenticating to your cluster with kubectl are that your IAM identity that heptio authenticator is using is the same as the one that was used to create the cluster, and that your kubeconfig correctly specifies the cluster name, the endpoint, and the ca cert of the cluster.  Which user did you use to create the cluster?

Sounds like you used a different user to create and access the cluster.  The cli is not required, but you do need aws credentials from your environment.  To add users, you will need to modify create and modify the config map as per the docs.

To add users, you will need to modify create and modify the config map as per the docs.

@nckturner Can provide a URL to the docs?

For the least perspicacious such as myself, if you created the EKS cluster with an IAM User (with usename and pass) through the AWS console, you'll need to click on that user and hit "Create access key". The keys that are generated can then go into your ~/.aws/credentials file in order for kubectl & co. to pick them up when doing things from the command line.

Hi everyone,
I'm following the instructions here:https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html
But still get the issue above.

 Warning  CleanupLoadBalancerFailed  <invalid> (x809 over 2d)  service-controller  Error cleaning up load balancer (will retry): error getting LB for service default/dev-clients-app-svc: NoCredentialProviders: no valid providers in chain. Deprecated.            For verbose messaging see aws.Config.CredentialsChainVerboseErrors
is any one came across this bug?

So here's an interesting bit, I am getting the error mentioned in this issue, I created the EKS cluster while logged into the AWS console but not as a regular IAM User. I'm logged in via SSO SAML2.0 connection where my org is the identity provider. So essential my AWS account has no created users, just role arns so in that case how do I get this to work 😂

So here's an interesting bit, I am getting the error mentioned in this issue, I created the EKS cluster while logged into the AWS console but not as a regular IAM User. I'm logged in via SSO SAML2.0 connection where my org is the identity provider. So essential my AWS account has no created users, just role arns so in that case how do I get this to work 😂

This resolved it Edit trust relationship of user


Specify modal selector in data attribute with backward compatibility.

Fixes #682.
Instead of hijacking the href attribute of an anchor tag to indicate a selector of a modal that we'd like to display on it being clicked. We can rather make use of a data-modal attribute to indicate the selector of the desired modal.

This is the same as #730, rebased and squashed.

+1


Add forbid NestJS cron jobs rule

🔎 Description

One sentence - explain the bad practice you want to kill with a new rule

Forbid using NestJS cron jobs (with methods decorated with @Cron()), as they can entail performance and/or concurrency issues, and recommend using the platform's dedicated way to run cron jobs instead.
📜 Before asking for reviews

[ ] 👁🗨 Link to the bug analysis: N/A
[x] This rule does not exist in standard eslint plugins
[x] I have added a test to prove my rule works
[x] The CI checks all passed

❌ Wrong code samples :
class MyController {
  @Cron(CronExpression.EVERY_DAY)
  async myCronJob() {}
}

✅ Good code samples :
class MyController {
  @MyDecorator()
  async looksLikeAJCronobButIsNot() {}
}

🖼 Playground Screenshot

📣 When merging, inform people to update bug-shield !
Please inform everyone to upgrade bug-shield plugin to benefit from your piece !
Tell them to run
yarn upgrade @hokla/eslint-plugin-bug-shield
# or
npm update @hokla/eslint-plugin-bug-shield

👏 praise: Quel boss !


Updated link of license

Pull Request Template
title - Added license link in readme
What have you Changed
I haven't changed anything in codebase i have changed readme
Issue no. - https://github.com/Py-Contributors/cybel-discord.py/issues/13
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder
[x] I have added proper comments

Join Us on Discord:- https://discord.gg/JfbK3bS
acknowledgement

I have read and understood the above instructions. your pull request will be counted as open-source pull request and will be distributed under the MIT license.

Hi @codePerfectPlus you haven't merged it
Mate if you're feeling this pr isn't adding any value feel free to close it :)


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.15 to before v4.19.224",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7d5cb45655f2e9e37ef75d18f50c0072ef14a38b",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=407c8708fb1bf2d4afc5337ef50635cf540c364b"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "7d5cb45655f2e9e37ef75d18f50c0072ef14a38b",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "407c8708fb1bf2d4afc5337ef50635cf540c364b",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "i2c: validate user data in compat ioctl\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.19.224 by commit 407c8708fb1bf2d4afc5337ef50635cf540c364b, it was introduced in version v4.15 by commit 7d5cb45655f2e9e37ef75d18f50c0072ef14a38b. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000026


Landsat multi-band spectral clustering

@jbednar, I think I've got this working now for multiple bands.  I've committed with a smaller sample to help with debugging the labels plot at the end.
@jlstevens Can you take a look at the labels plot at the end of the notebook.  The artifacts we saw earlier seem to be a plotting issue. Note, the matplotlib version looks good.

@jlstevens I think I've figured it out.  I was a problem with regrid which I don't think we need.  PR updated.

@mmccarty As you noticed, to don't have to use regrid but you should be able to. @jbednar Any idea why regrid might cause such artifacts? Seems very likely that something is funny with the datashader output...

Right; regrid should be safe in general; it should just resample, and with a uniform pattern like on the lake area it should have very little effect.  It would be nice to pull out a more specific test case that we can investigate.

@jbednar @jlstevens I'll trying to come up with a minimal example that reproduces the problem.


upgrade byteorder to 1.2

I do not know any other practically feasible criteria. In this case I need a feature of byteorder 1.2 (48bit integers) in Hammersbald, that is then used together with this library in bitcoin-spv. If this project would not move then it would force downstream projects to include several versions of the same lib. Best is not to have dependencies, but that is in many cases even more uneconomical.


ci: allow Mergify to merge PRs that modify the mergify configuration

The new allow_merging_configuration_change option can be enabled to

Allow merging Mergify configuration change.

Which is useful for a more automated process when preparing for a
release.
See-also: https://docs.mergify.com/workflow/actions/merge/#parameters
Signed-off-by: Niels de Vos<EMAIL_ADDRESS>

@mergifyio queue


add THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA for Dovecot

It will be great if we can add THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA ad default or optional.
for postfix,  please consider add discard_ehlo for localhost.
In /etc/postfix/main.cf:
smtpd_discard_ehlo_keyword_address_maps = hash:/etc/postfix/discard_ehlo

and in /etc/postfix/discard_ehlo:
<IP_ADDRESS> starttls,silent-discard
<IP_ADDRESS> starttls,silent-discard

THREAD=ORDEREDSUBJECT, THREAD=REFERENCES and SORT extensions are already enabled by default. For quota support, it's in the roadmap ;)
openssl s_client -connect mail.domain.tld:993 -tlsextdebug

. login<EMAIL_ADDRESS>password
. OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in
. logout
* BYE Logging out
. OK Logout completed.

for postfix, please consider add discard_ehlo for localhost

Good idea, I'll add it.

What is going on?

Can you provide some errors/warning messages from docker logs command ?
I fixed a misktake in 0727134 commit, now everything should work with the last commit 6b6129a.

Nothing on server-side; all clients running on localhost return that STARTTLS is not supported by this server (Rainloop, Isso...). Removing this commit was the solution.

I rollback to previous commit, problem solved.


About the sidebar font size can be customized appeal

Type: Feature Request
Currently, the sidebar can't customize the font size, and although it can be solved by mouse zoom, it's always inconvenient and you have to do it once every time. I want to be able to configure the custom font size.
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes:

If you uncheck the Zoom Per Window setting and set Zoom Level to something greater than zero, you shouldn't need to update the zoom level at all:

Does this work for you?

version: 1.87.2
Modify the contents of the file'workbench.desktop.main.css':

search .monaco-workbench .part>.content
Modify the'fontSize: 13px '- >' 16px' on the right.
Save

Now the above method will cause the vscode layout to be disordered, resulting in the settings page not being displayed normally

the zoom level feature doesn't really work.. it makes the font size of the editor too big and still the font size of the sidebar is ridiculous small...let's do this :)

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

duplicate of https://github.com/microsoft/vscode/issues/519

@benibenj Yes, it's a duplicate, but have you solved the problem? Is there any real action? If you solved the problem, why do users keep asking questions?

@benibenj Yes, it's a duplicate, but have you solved the problem? Is there any real action? If you solved the problem, why do users keep asking questions?

Can you reply to me? @benibenj  You can easily close this issue and presumably solve this actual problem very easily, right?


Is this repo still being supported or not?

Is this repo still being supported or not?
Or if not, what are the replacements for it?

yes it is


--testnet command copies over extra fields

Describe the bug

When running yarn run cli beacon init --testnet altona, the resultant beacon.config.json also contains these parameters:
  "templateConfigFile": null,
  "testnet": "altona"

Expected behavior

I would expect to see the config created without those 2 parameters mentioned above.

Additionally, the following options that are specified in the altona.ts are not copied over to the resultant beacon.config.json when running the same command as above:
  "api": {
    "enabled": true,
    "namespaces": ["beacon", "validator"],
    "host": "<IP_ADDRESS>",
    "port": 9596,
    "cors": {
      "origin": "*"
    }
  },
...
"bootMultiaddrs": [
      "/ip4/<IP_ADDRESS>/tcp/9000/p2p/16Uiu2HAkwVT363kpFmupwJBH5tkhnaNZPQSY7zANnPGB63ikD1Wp",
      "/ip4/<IP_ADDRESS>/tcp/9000/p2p/16Uiu2HAmHV1UA1SBnNK7Ztp8ACQ8DzHwNnR49VDEPBavCU33PtVE"
    ],
...
"localMultiaddrs": ["/ip4/<IP_ADDRESS>/tcp/30607"]

resolved in #1301


FIX Prefer stable if available, otherwise use unstable

Looks good. Will merge once cwp recipe release confirms it's a good fix. :)


feature: rewrite to Composition API

I know it's a lot of changes...  I didn't change any logic, just an attempt to add typings and Composition API

Why Vue version upgraded? To be able to use defineModel
Why getDefault moved to the utils.ts - there's an important limitation to keep in mind: defineProps() (and similar functions like defineEmits() or useSlots()) cannot reference locally declared variables within the same

@daniil4udo wow! that's huge & looks promising. thanks for your help!
Before we can merge, could you revert the formatting changes in vue-tel-input.vue? I assume it came automatically from your IDE and could be turned off? Just so it's easier for me to validate the actual changes. Thanks!

Did for the template. Not sure I can do it inside the script tag

@daniil4udo that's awesome! thanks a heap!

@daniil4udo there are some errors when I try npm run build. could you help, please? thanks!


`Uncaught TypeError: Cannot read property 'length' of undefined due to text-editor-component.js:2286:3

I just fresh hot issue again, as request, i open this new ticket for you
Uncaught TypeError: Cannot read property 'length' of undefined C:\Users\chao.wang\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-component.js:2286 Hide Stack Trace TypeError: Cannot read property 'length' of undefined     at TextEditorComponent.screenPositionForPixelPosition (C:\Users\chao.wang\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-component.js:2286:33)     at HTMLElement.screenPositionForPixelPosition (C:\Users\chao.wang\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-element.js:247:32)     at TextEditor.module.exports.TextEditor.screenPositionForPixelPosition (C:\Users\chao.wang\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor.js:3658:38)     at showExpressionType (C:\Users\chao.wang\.atom\packages\atom-typescript\dist\main\atom\tooltipManager.js:52:31)     at C:\Users\chao.wang\.atom\packages\atom-typescript\dist\main\atom\tooltipManager.js:41:59 The error was thrown from the atom-typescript package. This issue has already been reported.
It is latest version Atom 1.19.0 ia32. that is not beta version. I got it from automatic update. in the previous version, the same project works well and not issue thrown, it happened very frequently in this version.

Same issue.
Uncaught TypeError: Cannot read property 'length' of undefined
C:\Users\owner\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-component.js:2286

TypeError: Cannot read property 'length' of undefined
at TextEditorComponent.screenPositionForPixelPosition (C:\Users\owner\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-component.js:2286:33)

at TextEditorComponent.screenPositionForMouseEvent (C:\Users\owner\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-component.js:1878:23)

at TextEditorComponent.didMouseDownOnContent (C:\Users\owner\AppData\Local\atom\app-1.19.0\resources\app\src\text-editor-component.js:1694:39)`

@tywang2006 @whqkdhfh13 Can you update to Atom 1.19.1 to see if that resolves the issue? We fixed some regressions in the editor in that hotfix release.

I did get new updated from automatically update. Our company IT policy doesn't give me admin, so it is only way to update from automatically update:d

I just found my version was updated to 1.19.1. so far it seems to have no error raised. I guess it has been fixed on this version. thanks mate

@tywang2006 Thank you for the update :bowing_man:  I am going to close this since it looks like it has been fixed but if you run into this again then please comment with the full stack trace and I can reopen.

hi there. i am getting this error with atom 1.19.4

@lwasser Can you please open a new issue with the full stack trace and steps to reproduce, thank you :bowing_man:


Error in Avnav log file

Hi,
The log file of Avnav filled up 8GB of memory in 6 hours up to the point where the memory was full.
It writes an error up to 6 times per milliseconds, here it is:
2022-09-29 22:47:54,534-724-1307-Plugin: builtin-Sail_Instrument-ERROR-inconsistent data , found normal value and dict with key signalk.environment.outside
2022-09-29 22:47:54,535-724-1307-Plugin: builtin-Sail_Instrument-ERROR-inconsistent data , found normal value and dict with key signalk.environment.outside
2022-09-29 22:47:54,535-724-1307-Plugin: builtin-Sail_Instrument-ERROR-inconsistent data , found normal value and dict with key signalk.environment.outside
2022-09-29 22:47:54,535-724-1307-Plugin: builtin-Sail_Instrument-ERROR-inconsistent data , found normal value and dict with key signalk.environment.outside
2022-09-29 22:47:54,535-724-1307-Plugin: builtin-Sail_Instrument-ERROR-inconsistent data , found normal value and dict with key signalk.environment.outside
Do you know if there a way to fix this error ?
Best regards.
Romain

see my answer in wellenvogel/avnav/issues
regards klaus

A new release with the proposed workaround for this issue is now available. Would be nice if you can check if this solves the problem.
regards klaus


Mixtral: Mixture of Experts quantization

BIG NOTE: Pending more perplexity numbers. Looking to see if we can optimize before merging.

FP16: Perplexity 4.137
First iteration: Perplexity 6.469 581b416
Second iteration: Perplexity 5.165 240fdc8
Third iteration: Perplexity 4.294 075822c

Referring to your code, I implemented Mixtral (transformers==4.36.2) in AutoAWQ 0.1.7 as a single file gist. The all FFN of the MoE has post_attention_layernorm as the previous operation at transformers.models.mixtral.modeling_mixtral#L748. In your code, is there a specific reason why the remaining expert has a previous operation as the last ffn layer at the previous expert?

Referring to your code, I implemented Mixtral (transformers==4.36.2) in AutoAWQ 0.1.7 as a single file gist. The all FFN of the MoE has post_attention_layernorm as the previous operation at transformers.models.mixtral.modeling_mixtral#L748. In your code, is there a specific reason why the remaining expert has a previous operation as the last ffn layer at the previous expert?

I have the similar implementation and got the ppl result like this

model
wikitext-2
ptb
c4

fp16
4.135127067565918
15.207035064697266
8.126235008239746

int4-rtn
4.332545280456543
15.017653465270996
8.374772071838379

int4-awq
4.277602672576904
15.137899398803711
8.237201690673828

To my surprise, just using rtn can get a very strong performance.

I checked right before, and I actually think that using RTN alone produces better results too. Thanks for your share.

Referring to your code, I implemented Mixtral (transformers==4.36.2) in AutoAWQ 0.1.7 as a single file gist. The all FFN of the MoE has post_attention_layernorm as the previous operation at transformers.models.mixtral.modeling_mixtral#L748. In your code, is there a specific reason why the remaining expert has a previous operation as the last ffn layer at the previous expert?

Thanks for a reference implementation. I have been exhausting GPU credits trying to scale this model effectively. There is no specific reason other.
Do you want to raise a PR to merge your changes into this branch/PR so we can merge it into AutoAWQ? I can also do it if you don’t mind.

Referring to your code, I implemented Mixtral (transformers==4.36.2) in AutoAWQ 0.1.7 as a single file gist. The all FFN of the MoE has post_attention_layernorm as the previous operation at transformers.models.mixtral.modeling_mixtral#L748. In your code, is there a specific reason why the remaining expert has a previous operation as the last ffn layer at the previous expert?

I have the similar implementation and got the ppl result like this
model	wikitext-2	ptb	c4
fp16	4.135127067565918	15.207035064697266	8.126235008239746
int4-rtn	4.332545280456543	15.017653465270996	8.374772071838379
int4-awq	4.277602672576904	15.137899398803711	8.237201690673828
To my surprise, just using rtn can get a very strong performance.

I updated the code with the new quantization of layers, I got Perplexity 4.294. What did you do differently from the current implementation?

I checked your commit, and it's fine to use it as is. Feel free to use it.

Did you guys run a MMLU benchmark on the quantized model? I'm a bit disappointed. getting 60 vs 71
did not have such a discrepancy with the mistral instruct.

Did you guys run a MMLU benchmark on the quantized model? I'm a bit disappointed. getting 60 vs 71 did not have such a discrepancy with the mistral instruct.

Did you evaluate with fused modules?

Well I'm using OpenNMT-py but I benchmarked (speed-wise) your code and in fact the only 2 big things are fasttransformer (that I replaced by flash2 with kv cache doing the same stuff) and "your" RMSnorm kernel, both of them making the nice speed. btw gemv works fine for batches > 1, just a little slower than gemm but works ok.

Well I'm using OpenNMT-py but I benchmarked (speed-wise) your code and in fact the only 2 big things are fasttransformer (that I replaced by flash2 with kv cache doing the same stuff) and "your" RMSnorm kernel, both of them making the nice speed. btw gemv works fine for batches > 1, just a little slower than gemm but works ok.

Nice, I have been looking to replace FasterTransformer modules with Flash Attention. The kernels that are in AutoAWQ are imported from other projects to maximize inference speed and to create generalized modules. GEMV is great in many cases, especially for local models!

False alarm, I am getting 67.1 using the right Rope Theta. btw don't forget to make it an option bc @younesbelkada is already tagging this PR :)

Thanks @vince62s you mean in the transformers integration for fused modules?

yes here: https://github.com/casper-hansen/AutoAWQ/blob/main/awq/modules/fused/attn.py#L224
@casper-hansen knows because he mentioned this in an issue but in case some people already tries this PR.

Ah yes makes sense, thanks for the heads, will update once I raise the PR in transformers!

I ran Mixtral8*7b-v0.1 model.quantize error!
File "/data1/apps/miniconda3/envs/Mixtral/lib/python3.10/site-packages/awq/modules/linear.py", line 79, in from_linear
qweight[:, col] |= qweight_col << (i * awq_linear.w_bit)
IndexError: index 0 is out of bounds for dimension 1 with size 0

for the sake of completeness, I ran my same mmlu script on the HF model from @casper-hansen
ACC-all: 0.6682
So the calibration impact on PPL is clear but the impact on the MMLU benchmark is nil. I am wondering whether the actual output is better or not after calibration.

I am using my own adaptation (for OpenNMT-py) of this script https://github.com/FranxYao/chain-of-thought-hub/tree/main/MMLU which is almost the original implementation of the MMLU (slightly different of lm_eval harness used by HF leader board).
In MMLU you expect one token being A, B, C, D. If the output is "Doe" instead of [A, B, C, D] then wrong answer, HF Leader board will take the best score out of [A, B, C, D] so there is always an answer. Anyway just a slight difference and the above script is way faster.


⚠ Bofrost.at has degraded performance

In 0109d21, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1971 ms

Resolved: Bofrost.at performance has improved in f328a16 after 13 minutes.


changed title and dialogTitle for selection of theme in settings

The settings always show the menu item "Dark Theme", no matter which theme is actually selected. The same applies to the title in the theme selection dialog (see screenshot).

This PR replaces title and dialogTitle with a separate string resource.

Actually the idea was that later i wanted to add other themes, and each theme would have 2 subthemes, light and dark.
But i agree with you that it might not be clear when showing only dark theme as title...

Maybe you could add another setting for choosing the theme then. That way there would be one entry for selecting the theme and one for switching between light and dark mode.


run as k8s cronjob using Workload Identity

If gcpdiag is installed in a container ran runs as a pod in a GKE cluster, can it run using Workload Identity ?

Yes, it should. Just make sure that you give the needed permissions to the service account (Viewer and
Service Usage Consumer).
Please open an issue in case it doesn't work.


Capitalize, uppercase not working with Russian characters

Ref: Conversation #765 / Alexey

Ref: Conversation #3400 / René

Done


Template HTTP download causes crash, where same asset as FILE works

Description
Using the latest release of Nexrender, I have a job which requires http download of the AEP template. This causes a crash. Manually downloading the AEP and adding it as a file in the same job json solves the issue and renders OK.
Environment

Nexrender 1.42.3
Using win64 CLI in a testing environment
I have tried this on both the downloaded binary from "Releases", and one I compiled myself.
Running on Windows Server 2022 datacenter (this is an EC2 instance)

Expected behavior
I expected the job to render with a downloaded file, and the cli process to exit normally
Screenshots
This job json did not render:

Here is the crash report:

This job json rendered

Here is the cli output

I have the same error, I am still looking for the solution

If you don't use cache comment this part of code works (in download.js) :
/*
const cachePath = settings.cache === true ?
path.join(settings.workpath, "http-cache") :
settings.cache;
if(!asset.params) asset.params = {};
// Asset's own `params.cachePath` takes precedence (including falsy values)
asset.params.cachePath = Object.hasOwn(asset.params, 'cachePath') ?
    asset.params.cachePath :
    cachePath;
*/

Thank you for the suggested workaround.

@backbeatmedia Can you share the JSON as a text file so I can try and replicate this on my end?

Sure - here it is
job.zip

This is only happening with the prebuilt binaries, npm installed version works fine.
@inlife In the implementation I used Object.hasOwn which is not available in node 14 but available in node 16, we can either refactor that out or futher upgrade the bundled node version to node 16 (node 14 EOL is this April anyway so I'd prefer the upgrade).

Got it, upgrade it is, will work on that soon.

Published new version https://github.com/inlife/nexrender/releases/tag/v1.42.4
Upgraded to node18

Hello thank you for the update to node18. Now my issue is that the app will not build. It reports
> Error! No available node version satisfies 'node18'
However when I look in the ~/.pkg-cache folder I see node18 binaries right there.

Hello - thank you the new version has successfully downloaded http assets. Issue closed.


Icon doesn't shows

hi there,
you have issue for icon on this line:
https://github.com/dagronf/DSFDropFilesView/blob/9819b2c2711de63bb8c5f7835d4012f2fe0aad85/Sources/DSFDropFilesView/DSFDropFilesView%2BSwiftUI.swift#L173
should be
showIcon = (nsView.icon != nil)
if update icon on fly it hides

Ah thank you! I don't know how I overlooked that one.
I've updated the code - if you use the 3.1.1 tag you'll see your fix in there.


Contextual events

Let me get the PRs in for the Core and Adobe Analytics extensions in before merging this.

Coverage increased (+0.3%) to 95.475% when pulling 9e0fac3a162a36485fc09ce670eb9d0093d0e9e8 on contextual-events into 42c031c13acc295e84472b0ac9a7d071243cb144 on master.


How to query database directly instead of reporting errors when redis is abnormal

I have a question ,when my redis is error ，the query returns the result of an exception,How to configure to avoid this

Should a low level library catch exceptions and suppress them? No.  crashes and excretions are very good things. they will help you to understand something is wrong and upper level layers should catch them or don't. when an app is not able to connect to a backend, it should crash and there is nothing wrong with it.


How to fullscren automatically when playing

Be sure to search for your issue before opening a new one.
Current Behavior
Have to click for fullscreen
Expected Behavior
Want to make it fullscren automatically when mobile users click play video
Any way of do that?

What URL are you trying to play?