Right side don't work

hi, i followed the tutorial, the left side of the keyboard is correct but the right side is not detecting the keys

Is it a wired keyboard? If so, did you check connectivity on the TRRS cable? Did you check soldering issues on the TRRS connector? On the Pro Micro? Did you try the pro micros before installing (especially the one that's not working)? Did you burn the firmware on both pro micros?

I did all the procedures, I installed it correctly, I checked the connectivity, I burned the firmware on both pro micro, only the right side doesn't work, it lights up the led but the keys don't work

Are you using I2C or serial for connecting the two halves? On the latest builds of QMK there seems to be an issue with I2C.
In any case the most common type of issue is with the hardware. Please check for cold joints and/or soldering issues on the board especially around the TRRS connectors.

I tested the connection of the TRRS between the sides and it is normal

can I use serial instead of i2c without rgb?

RGB only works with serial since one of the wires of the trrs cable is used to carry the data signal for RGB. This is explained nere.


How to solve the '[W NNPACK.cpp:53] Could not initialize NNPACK!' under apple silicon M2 MAX chip?

After trying the input autocut -d 2023-03-06, I received the following message:
[autocut:transcribe.py:L37] INFO   Transcribing 2023-03-06/230115.mp4
Using cache found in /Users/.cache/torch/hub/snakers4_silero-vad_master
[W NNPACK.cpp:53] Could not initialize NNPACK! Reason: Unsupported hardware.
zsh: segmentation fault  autocut -d 2023-03-06
Is the failure happening because of the M2 chip since the message mentioned Unsupported hardware?
Thanks!

I tested in M2 and did not find any such errors. Perhaps more information is needed


Snarkyjs foreign field operations

companion to https://github.com/o1-labs/snarkyjs/pull/985

Closing - this PR didn't end up being necessary


adb connect returns "no route to host"

Describe the bug
Hi, I tried your script as I was having trouble at the 'adb connect IP:5555' stage of connecting scrcpy wirelessly (I was receiving error message "no route to host"). Your script didn't work for me, but I'm hoping you might be able to decipher the error message I've received and be able to tell me what the issue might be on my end?
To Reproduce
Steps to reproduce the behavior:
'./ethernally.sh'
Expected behavior
Was expecting/hoping scrcpy would open and I could disconnect USB.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Linux
Version Ubuntu 20.04.5 LTS

Smartphone (please complete the following information):

Device: Onyx NoteAir 2
OS: Android
Version 10

Additional context
Here is the full log I receive in the terminal after executing the script
$ ./ethernally.sh
Running script from /opt/ethernally
touch: cannot touch '/opt/ethernally/last_working_device.conf': Permission denied
./ethernally.sh: 29: cannot create /opt/ethernally/debug.log: Permission denied
Attempting to discover any attached devices..
List of devices attached
B6B0D475               device usb:3-2 product:NoteAir model:NoteAir device:NoteAir transport_id:3
Disconnecting adb devices..
DEBUG> killing adb server..
There are no WiFi devices automatically detected/attached - as reported by ADB.
connected: false
Trying last known working device. Please have patience... (max 1 minute)
There is no last known working device.
./ethernally.sh: 462: cannot create /opt/ethernally/debug.log: Permission denied
socket: null
connected: 0
Wi-Fi seems to be turned off or ADB debugging not enabled on device.
Could not connect via WiFi, switching to USB mode
!!! READ CAREFULLY !!!

Please plug USB cable and enable USB debugging (To unlock the hidden Developer tools/options menu, go to Android Settings > About > Press on 'build number' 7 times. Then go to android settings > developer tools/options and enable 'USB debugging')

You should also check 'Disable adb authorization timeout' so that the adb authorization for systems that have not reconnected within the default (7days) is not revoked, thus to be able to reconnect in the future without interaction.

If asked, allow USB debugging on your Android device by allowing your computer's RSA key fingerprint. Also check the 'Always allow from this computer' checkbox to allow future connections

Checking if USB cable is connected and USB debugging enabled and authorized..
......
DEBUG> killing adb server..
restarting in USB mode
device(s) connected via USB cable: NoteAir
usb_device_serial: B6B0D475
Checking root..
/system/bin/sh: su: inaccessible or not found
Your device needs to be rooted for allowing permanent WiFi connectivity through ADB
./ethernally.sh: 100: cannot create /opt/ethernally/debug.log: Permission denied
Device is not rooted. Moving on..
restarting in TCP mode port: 5555
Attempting to start Wi-Fi on the device..
new socket: <IP_ADDRESS>:5555
./ethernally.sh: 218: cannot create /opt/ethernally/debug.log: Permission denied
Connecting via wifi..
unable to connect to <IP_ADDRESS>:5555: No route to host
connected: true
./ethernally.sh: 127: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 130: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 134: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 138: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 142: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 146: cannot create /opt/ethernally/last_working_device.conf: Permission denied
Device ready!
./ethernally.sh: 250: cannot create /opt/ethernally/debug.log: Permission denied
./ethernally.sh: 127: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 130: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 134: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 138: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 142: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device '<IP_ADDRESS>:5555' not found
./ethernally.sh: 146: cannot create /opt/ethernally/last_working_device.conf: Permission denied

Yes, I had both devices on the same wi-fi network when I ran it.. it's a large university network so I'm really not sure about any of the details of the IP configuration. But I got that same IP address both by checking the network settings on the device manually, and by pinging it from the command line on my PC.

I ran ethernally today on my home network and it worked. I'll paste the text from my terminal below in case it gives any clues to what the issue is on the university network. If your hunch is correct that the port 5555 is blocked by a firewall in the university network, do you have any suggestions for workarounds to get scrcpy working wirelessly on that network?
$ ./ethernally.sh
Running script from /opt/ethernally
touch: cannot touch '/opt/ethernally/last_working_device.conf': Permission denied
./ethernally.sh: 29: cannot create /opt/ethernally/debug.log: Permission denied
Attempting to discover any attached devices..
List of devices attached

daemon not running; starting now at tcp:5037
daemon started successfully
B6B0D475               device usb:3-2 product:NoteAir model:NoteAir device:NoteAir transport_id:1

Disconnecting adb devices..
DEBUG> killing adb server..
There are no WiFi devices automatically detected/attached - as reported by ADB.
connected: false
Trying last known working device. Please have patience... (max 1 minute)
There is no last known working device.
./ethernally.sh: 462: cannot create /opt/ethernally/debug.log: Permission denied
socket: null
connected: 0
Wi-Fi seems to be turned off or ADB debugging not enabled on device.
Could not connect via WiFi, switching to USB mode
!!! READ CAREFULLY !!!

Please plug USB cable and enable USB debugging (To unlock the hidden Developer tools/options menu, go to Android Settings > About > Press on 'build number' 7 times. Then go to android settings > developer tools/options and enable 'USB debugging')

You should also check 'Disable adb authorization timeout' so that the adb authorization for systems that have not reconnected within the default (7days) is not revoked, thus to be able to reconnect in the future without interaction.

If asked, allow USB debugging on your Android device by allowing your computer's RSA key fingerprint. Also check the 'Always allow from this computer' checkbox to allow future connections

Checking if USB cable is connected and USB debugging enabled and authorized..
......
DEBUG> killing adb server..
cannot connect to daemon at tcp:5037: Connection refused
restarting in USB mode
device(s) connected via USB cable: NoteAir
usb_device_serial: B6B0D475
Checking root..
/system/bin/sh: su: inaccessible or not found
Your device needs to be rooted for allowing permanent WiFi connectivity through ADB
./ethernally.sh: 100: cannot create /opt/ethernally/debug.log: Permission denied
Device is not rooted. Moving on..
restarting in TCP mode port: 5555
Attempting to start Wi-Fi on the device..
new socket: <IP_ADDRESS>:5555
./ethernally.sh: 218: cannot create /opt/ethernally/debug.log: Permission denied
Connecting via wifi..
already connected to <IP_ADDRESS>:5555
connected: true
./ethernally.sh: 127: cannot create /opt/ethernally/last_working_device.conf: Permission denied
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
./ethernally.sh: 130: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 134: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 138: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 142: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 146: cannot create /opt/ethernally/last_working_device.conf: Permission denied
Device ready!
./ethernally.sh: 250: cannot create /opt/ethernally/debug.log: Permission denied
./ethernally.sh: 127: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 130: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 134: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 138: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 142: cannot create /opt/ethernally/last_working_device.conf: Permission denied
./ethernally.sh: 146: cannot create /opt/ethernally/last_working_device.conf: Permission denied
Attempting screen mirroring..
######################################
You may unplug the USB cable if previously inserted.
######################################
Enjoy a smooth wireless experience!
######################################
scrcpy 1.24 https://github.com/Genymobile/scrcpy
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 0.8 MB/s (41159 bytes in 0.049s)
[server] INFO: Device: ONYX NoteAir (Android 10)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 20.0.8
INFO: Trilinear filtering enabled
INFO: Initial texture: 1400x1872
NoteAir:/ $ ../src/intel/isl/isl.c:1988: FINISHME: ../src/intel/isl/isl.c:isl_surf_get_ccs_surf: CCS for 8BPP textures with 3+ miplevels is disabled, but support for more levels is possible.
[server] INFO: Device screen turned off


/emergency/  is not showing all contacts

/emergency_contact/ is showing all the saved contacts, but /emergency/ is not showing any at first. I think it's another bug. Can you please assign that task to me? Label it for DWoC.

I have fixed this problem also. Please check my PR.

I have fixed this problem also. Please check my PR.

Issue has been resolved by @djm-1

Issue has been resolved by @djm-1


PseudoBlockchain

Student, group: Untila Artyom, 3530901/90202
URL: https://github.com/Artyom-IWT/PseudoBlockchain
Any comments: TBD, Java Sockets

`+


Study custom placement of modules in an YARN cluster

As a developer, I'd like to study the possibilities of module placement in an YARN cluster, so I can place the module (via: criteria contract) at a cluster-node of my choice. This gives the flexibility for use-cases that require maximum utilization of cluster resources.

In PR per #55


[BugFix] Fix bug can not query information_schema when table name contains spe…

…cial char
Fixes #29179
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 22 / 26 (84.62%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
14
17
82.35%
[405, 494, 657]

:large_blue_circle:
com/starrocks/common/PatternMatcher.java
5
6
83.33%
[162]

:large_blue_circle:
com/starrocks/service/InformationSchemaDataSource.java
3
3
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Magic link not invalidated by email confirmation (Low)

This issue is imported from pivotal
It was found that the web application is not invalidating the magic link for a new user. This causes the first magic link associated with the user to maintain its validity after consumption. Although the user is offered the same magic link to authenticate to the system, it does not cover the case where a user is only consuming the link once.

@phavekes I don\'t fully understand this issue. When you receive the magic link after a new registration you still need to confirm your account otherwise no authn response is send. And when you re-use this link in a different browser you\'ll get a session lost. I\'m probably missing something, but I can\'t reproduce this. (Okke Harsta - Feb 16, 2020)

@okkeh This is defense-in-depth; There is no direct way to misuse this behavior, but it could be used in combination with another attack. As mentioned in the report:

It is recommended to invalidate all consumed magic links for both registration and login.
By doing so, it is assured that a user can rely on the fact that all once used magic links
are automatically invalidated. This will nullify any advantage extracted from exposed and
previously consumed magic links.

I think it's a good idea to always invalidate all magic-links once they have been used. (Peter Havekes - Feb 17, 2020)

But that is what I'm doing: https://github.com/OpenConext/OpenConext-myconext/blob/master/myconext-server/src/main/java/myconext/security/GuestIdpAuthenticationRequestFilter.java#L214. Also there is a cleanup cron job that deletes all expired links every X minutes: https://github.com/OpenConext/OpenConext-myconext/blob/master/myconext-server/src/main/java/myconext/cron/ResourceCleaner.java. I do not know what I could do more;-) (Okke Harsta - Feb 17, 2020)

I'll try to reproduce this. (Peter Havekes - Feb 18, 2020)


CI trigger

Tests are not passing locally for me, so triggering tests

These ones take much longer (stuck indefinitely?) on windows/mac compared to linux:
https://github.com/SciML/NonlinearSolve.jl/actions/runs/7430099659/job/20219416626?pr=348
This one fails on mac:
https://github.com/SciML/NonlinearSolve.jl/actions/runs/7430099659/job/20219417053?pr=348
Then there are a couple groups that fail all os.
@avik-pal can you take a look?

Let's hope #345 fixes all of these. I don't have a mac or windows to test locally.


Incorrect quirks mode check in sce.js

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Neither. UA sniffing and either comments or quirks mode test is invalid.
    // Support: IE 9-11 only
    // Prereq: Ensure that we're not running in IE<11 quirks mode.  In that mode, IE < 11 allow
    // the "expression(javascript expression)" syntax which is insecure.
    if (enabled && msie < 8) {
      throw $sceMinErr('iequirks',
        'Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks ' +
        'mode.  You can fix this by adding the text <!doctype html> to the top of your HTML ' +
        'document.  See http://docs.angularjs.org/api/ng.$sce for more information.');
    }

Testing for an IE version < 8 is not the correct test for quirks mode. Assuming that msie is based on the documentMode property, the correct check would be:
if (enabled && msie == 5) {

Since IE10, there is "Quirks" mode and there is "IE5 Quirks mode". But I think this comment is just inaccurately using "Quirks mode" to refer to IE <8, because the mentioned vulnerability (CSS expressions) is present in versions up to IE7.
So, the code works as expected, but the comment and the corresponding error page could be improved.
PRs welcome :smiley:

Right, MS is using "quirks mode" incorrectly to mean IE < 8. Never noticed that before.
As for Angular, adding a doctype isn't the correct advice either. Suppose the correct advice is to get out of IE 7 or either of the quirks mode compatibility views. Assume neither of those are supported.
Will issue a PR.

Latest Angular versions do not support IE <9, so this shouldn't be a big concern. This is either a leftover form a very, very old version that did support IE <8 or just an attempt to be extra cautious on security-related matters.
Looking forward to the PR :smiley:


Feature request: dynamically handle api endpoints from k8s server version spec

Description of problem
Maintaining charts with valid API versions for all kubernetes versions is difficult. The documentation on this topic is quite short, and implies that maintainers need to do all of this work manually.
To help out, there is a project called kubepug that downloads the swagger.json for a given k8s version and reports problems about endpoints that has been deprecated or removed from the spec.
Proposed feature improvement
It would be awesome if helm provided the reciprocal of kubepug: the ability to insert the default api endopint for the server version without having to template out .Capabilities.KubeVersion.Version semver comparison blocks.
For example, instead of having:
# templates/_apivers.tpl
{{- define "apiVersion.Ingress" -}}
{{- if semverCompare "^1.14-0" .Capabilities.KubeVersion.Version -}}
networking.k8s.io/v1beta1
{{- else -}}
extensions/v1beta1
{{- end -}}
{{- end -}}

kind: Ingress
apiVersion: {{ template "apiVersion.Ingress" . }}

We could have something like:
kind: Ingress
apiVersion: {{ template ".builtins.Ingress" . }}

Where builtins would dynamically handle inserting the relevant API endpoint for the server version that the template is being generated for. (This suggestion is just a pseudo-code idea, the implementation details are wide open for discussion.)

This sounds like a good candidate for a library chart.


Fix: Upgraded compile SDK version to 25

The error reported by @juergensturm in #162 shows up because of the new version of Android_10 in rosjava_mvn_repo, which corresponds to this PR.
Compile SDK version was set to 22 when App Compat was contributed to Android Core because version 25 had some problems (see discussion here). The thing is that using version 22 broke some apps in Android extras repository, and the original problem caused by using SDK 25 in Android Core was fixed, so the version was finally reverted to 25.
This PR updates the SDK version to for the application, allowing to build it using the upgraded dependencies. This should get rid of the error in #162 .

@jubeira
Great！ It works!

I merged this with #152 but I still get the following error:
09:34:22.351 [DEBUG] [org.gradle.model.internal.registry.DefaultModelRegistry] Project :app - Registering model element 'tasks.transformClassesWithDexForDebug' (hidden = false)
09:34:22.359 [ERROR] [org.gradle.BuildExceptionReporter]
09:34:22.360 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
09:34:22.361 [ERROR] [org.gradle.BuildExceptionReporter]
09:34:22.361 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
09:34:22.361 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred configuring project ':app'.
09:34:22.361 [ERROR] [org.gradle.BuildExceptionReporter] > java.lang.NullPointerException (no error message)
09:34:22.361 [ERROR] [org.gradle.BuildExceptionReporter]
09:34:22.361 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
09:34:22.362 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
09:34:22.362 [ERROR] [org.gradle.BuildExceptionReporter]        at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)

@smits that error you posted is only while building the android project via catkin like you explain in #152 or does it also happen with the existing (pre- #152) instructions?

I ask because I think the two issues are independent. That error seems to indicate something else is missing in #152 (I agree with you on that), but I think this patch is necessary anyway, regardless of #152

I second that this PR is not directly related to the errors I have on
#152.  The error I posted did not happen with the pre-#152 as there we
always build the app from Android Studio.
On Tue, Feb 28, 2017 at 12:40 PM Julian Cerruti<EMAIL_ADDRESS>wrote:

I ask because I think the two issues are independent. That error seems to
indicate something else is missing in #152
https://github.com/Intermodalics/tango_ros/pull/152 (I agree with you
on that), but I think this patch is necessary anyway, regardless of #152
https://github.com/Intermodalics/tango_ros/pull/152
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Intermodalics/tango_ros/pull/163#issuecomment-283017204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAG0m1Un5LipDmR3PCf6BBvuvWBor_MAks5rhAePgaJpZM4MKYBS
.

--
Ruben Smits, Roboticist - Founder
+32 479 511 786
Intermodalics - Gaston Geenslaan 9, 3001 Heverlee - BELGIUM
www.intermodalics.eu


Blocking using unless grabbed?

Fairly new but I'm not seeing a built in bool or something similar to block an item from being 'used' without it being in a grabbed state.
For example in the examples with guns you can fire them without having to pick them up.  While somewhat realistic I suppose it's a little weird until you add the correct force to such items so that they go flying in the 'for every action there is an equal and opposite reaction' direction.   A hand grenade to use another violent example would be almost impossible to pull the pin from IRL without it being grabbed.
Just curious if such a flag might be on the roadmap to be implemented in the base code?  With such active development I don't necessarily want to start forking it for personal use and then have to go back and merge awesome new features back into mine.

You could for now just create your own script to handle this. Register against the events on the object to check for when its grabbed/released, and set the using flag based on whether its picked up or not. Pretty simple script.

I would agree with @mimminito on this one. You'd check the grabbed status in your script that inherits the interactable object. It's more sensible to do it this way as you'd only ever have this issue if you were extending the core functionality anyway.
Otherwise we could end up having an option to support everything :)


mouseover on element is not fired if there is a tip hidden on that position

changing the way you show or hide your tooltip from opacity (0 or 1) to display (block or none)

I suspect this is a duplicate of #94.

Triaging issues.  If this is still an issue could you please provide a working example?


Downloads can fail, but still not return in error

Author Name: Roy Keene (Roy Keene)
Original Redmine Issue: 3727, https://dev.opennebula.org/issues/3727
Original Date: 2015-03-30
Original Assignee: Javi Fontan

If the downloader.sh script is used in a pipeline, as is common:
$DUMP | ssh host dd...
Then the exit status of the pipeline is the exit status of the last command in the pipeline (ssh, in this case) which often is not sufficient.
Downloading from the Marketplace can or other URLs can fail (for a variety of reasons) and this error will go unreported, since "ssh" did not fail.
To workaround this, "set -o pipefail" should be done before calling this idiom.
Attached is a patch that does this in the places I could find it.

Original Redmine Comment
Author Name: Roy Keene (Roy Keene)
Original Date: 2015-03-30T19:32:28Z

The originally included patch does not work, testing errors out.
A new patch will be tested and attached to this ticket.

I believe this is not issue anymore, the fix was introced by https://github.com/OpenNebula/one/commit/bdda84262f2447c9f6bfe946bfdf1ad42785aa44. Closing.


feat: [DO NOT MERGE] support customer managed instance configurations

DO NOT MERGE: Depends on changes in the client library that have not yet been released.
Adds samples for working with user managed instance configurations for Cloud Spanner.

cc @rahul2393

Closing this one, cherry picked here https://github.com/googleapis/python-spanner/pull/672


[ts] Property 'log' does not exist on type 'IDebug'.

When I attempt to set
import debug = require("debug");
debug.log = console.info.bind(console);

I get an error on the second line saying [ts] Property 'log' does not exist on type 'IDebug'.
I believe this is due to the type definition missing the .log property on the uppermost function.

Yup looks like it.  We should get a PR going on the typescript definition to update it to the latest interface

Correct me if I'm wrong but it looks like it's been there from the very beginning https://github.com/DefinitelyTyped/DefinitelyTyped/commit/fe09ccfd68e9fcab455b584e5b2d82f40cd95ae4#diff-b39fd593e361bdd01107cbe98ee055bdR22.

Hmm that's strange.  Totally didn't see this


Adding css snippet to make moving gradient backgrounds

Description
A simple and elegant gradient background that moves in a smooth and continuous manner
Screencast

If this gets approved can you add the hacktoberfest-accepted label?


Simplify fcorr build

Existing Sample Changes
Description
The maxloc reduction step (using the oneDPL max_element function) was added to the fcorr_1d_buffers.cpp example. This example code now uses both oneMKL and oneDPL. The README file was updated to reflect this change.
The GNUmakefile was also modified to simplify the Linux compilation command. The -qmkl=parallel option is used instead of explicitly linking the necessary libraries.
External Dependencies
oneDPL
Type of change

[X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

[X] Command Line

Please add /EHsc flag in "makefile" not in "GNUmakefile"
it should look like
DPCPP_OPTS=-DMKL_ILP64  -I"%MKLROOT%\include" /Qmkl sycl.lib OpenCL.lib /EHsc


Install a previous version(0.13.3) of yeogurt.

My project had an requirement to use nodejs, mongodb, express and swig. So chose yeogurt(0.13.3) to build my whole project. Now i am trying to setup my project using yo yeogurt and its a completely new setup. Can someone help me to get the previous version of yeogurt.

npm install -g<EMAIL_ADDRESS>That should get you to the last version that supported your previous project setup.


incorrect API usage for GitHub Dependency Snapshot in entrypoint.sh

Issue in line 189 - curl command uses -u flag for authentication when authentication should be passed as the following header
-H "Authorization: token {TOKEN}"
Ref: https://docs.github.com/en/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository

Thanks it seems that it has changed since the initial release. Would you be interested in submitting a PR, @chejn?

Fixed with https://github.com/aquasecurity/trivy-action/pull/162


Something wrong with version <IP_ADDRESS>0

With this version problems started.

You have to be more specific.
An error that occures for me is that sometimes when the track changes OnTrackChange returns a new song that is not null, but the values are.

@SomeOneMore what kind of problems? Can they be replicated in the example application in this repo?
@Gruhlum does that happen with podcasts or with normal songs? If it's podcasts, then it's expected behaviour.

@aleab normal songs. And no specific ones, the same song can work one time and the next it's broken again.

@Gruhlum I think it's better if you create another issue until @SomeOneMore gives more info on theirs.

Example app still works for me, and I don't understand the issue at all...

Yes the problem seems to be fixed now.


reading log message from standard input

Hi,
Prompt "reading log message from standard input", always stuck in the interface, what is the reason?
Thanks & best regards.

This happens when there are no commits in the repo. Easily reproduced with:
$ mkdir /tmpx && cd /tmp/x
$ git init
Initialized empty Git repository in /tmp/x/.git/
$ git shortlog -s -n --all
(reading log message from standard input)

It happens when you have commit history before,

It is' waiting for "input", you can enter directly in terminal.
At the end you have to send an  character.
On Mac OS it's CTRL-D to send.


Consider preferring StrongBox-based keys when available

StrongBox support is implemented, so it just needs to be determined if it has any significant advantages / disadvantages for this use case.

This will be done once it's ready.


Initialize the active window's active view at startup

For #18, where already-open views do not trigger the language server to startup (only toggling events or opening other views works).
In limited testing on OS-X, the non-active window had an activated event fired on its view once I changed to it, so only the active_window's active_view needed a manual startup.

I'd rather suggest to initialize all visible views.
def start_active_view():
    for window in sublime.windows():
        for group in range(window.num_groups()):
            view = window.active_view_in_group(group)
            if view and is_supported_view(view):
                initialize_on_open(view)

Unfortunately even though initialize_on_open(view) is called for all visible views, LSP handles diagnostics for the last view only. Is this an issue with stdin/stdout communication or may it be a limitation of the python-language-server?

There might be an issue calling initialize_on_open -> get_window_client multiple times in a row while the client is starting.
It should be sufficient to didopen_after_initialize.append(view) with the 2nd, 3rd etc. view.
Focusing the 2nd view triggers the on_activated_async event, we can look at activating all visible views once the issue you found is fixed!


Atom randomly disables my Wacom tablet

Prerequisites

[YES] Can you reproduce the problem in safe mode?
[YES] Are you running the latest version of Atom?
[YES] Did you check the debugging guide?
[YES] Did you check the FAQs on Discuss?
[YES] Are you reporting to the correct repository?
[YES] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
Recently, Atom started randomly preventing my Wacom tablet from being able to click or select anything. It works fine if I just stay in Atom, but if I switch to another program, then back to Atom, the tablet stops functioning normally.
This only happens when I have Atom open, but it effects all applications. For example, if I start Atom, switch to Chrome, then back to Atom, then back to Chrome, I now can't click/select anything with the tablet in any app (not just Atom).
When I don't have Atom open, the issue does not occur.
Steps to Reproduce

Open Atom
Switch to another application
Switch back to Atom (Wacom tablet will now not click or select anything)

Versions
Atom: 1.12.7
Mac: Sierra, 10.12

Can anyone who has a Wacom tablet reproduce this problem?

Tried to reproduce this with my old Wacom Bamboo tablet (MTE-450), but everything works fine. Also when switching between other applications. But only tried it like 5mins.

@folosophy Atom started randomly preventing my Wacom tablet from being able to click or select anything.

Does hovering still work? Like when moving over a button/link or so, does the cursor change, or is it completely unresponsive?
Might also be worth trying with the latest drivers?
Atom    : 1.14.0-dev-ef99fbc
Electron: 1.3.9
Chrome  : 52.0.2743.82
Node    : 6.5.0
OS: macOS 10.12.2

Thanks for contributing!
We haven't gotten a response to our questions in our comment https://github.com/atom/atom/issues/13485#issuecomment-272380321. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.

I can reproduce this problem in my setup.
I can't click or select anything when I'm back to Atom from another application.
But hovering on screen elements still working.
After few attempts my tablet woke up and the click function start to work again.
Atom 1.14.3 x64
Mac Pro: OSX El Capitan 10.11.5

I'm having the exact same issue. Sometimes ATOM won't recognise wacom's pen click on a open document. The project folders view is always clickable.
Mac OS 10.10.5
Wacom CTL 480 Driver 5.3.7-6 (10.9x - 10.12x)
Atom 1.12.6

Exactly the same problem here :(
Pen click works on project folder view and PlatformIO terminal, and all other UI elements, but doesn't work with opened document tabs or the content inside the tab. However it also works in Settings tab. Had vim-mode-plus, autocomplete-python and kite installed, now all disabled, still won't work. The touch function on the Wacom tablet works though. Weird.
Mac OS 10.12.4
Atom 1.15.0 x64

In my case, I don't think this is a problem with Atom. After much testing, it seems to be caused by Adobe products (Illustrator, in specific, though I'm not 100% sure).
Strangely enough, problems start occurring when I use the pen with Illustrator, then switch to Chrome, then back to Atom. No idea why, but this causes pen "clicks" to stop registering.
Bizarrely, if you hit one of the shortcut buttons on the tablet, this seems to clear the problem temporarily, but it soon becomes completely unresponsive when you switch to another app.
SO... I don't think this is a problem with Atom. I think Wacom is just buggy as hell, and if anything, it's Adobe that's causing issues (at least for me).

In my case I don't have any Adobe apps running. :( Just Chrome, PyCharm (launched via JetBrains toolbox app), Sublime Text 3 and Terminal.
I just tested. With the above mentioned apps running, I opened Atom, closed the welcome tab, typed a few letters then opened a new tab, typed another few letters - the pen clicks stops working from then on. Switched back and forth apps, hit the shortcut buttons, didn't resolve temporarily.
All the other UI elements seem to react just fine, it's only the editor section, as well as the tab title bar (sorry I don't know the term for it) that's not reacting, so I can't switch editor tabs with pen click - settings tab work though. I can also click on and change the encoding and language highlight.
The touch pad function of my tablet always worked.
I tried the buttons on my pen, which I have assigned to right click and middle click, they both worked, with right click bringing out the context menu at correct positions. I re-assigned one of the button to left-click, the normal pen tip click into right-click, the button didn't work, whereas the normal pen tip brings out the context menu normally.
My guess is that some of my behaviour combinations have triggered either Atom or the driver or both into thinking I might have wanted to do some controls other than just left-clicking. I've set up an application profile with different double click distance/ tip firmness settings for Atom in Wacom's driver/control center, problem remained.
Haven't encountered any similar issues with any other apps yet. Never got problems with text selection in Chrome so far as well.

Should I open a new issue? As what I'm experiencing now is not exactly the same as OP - the pen click works in other applications.

I have the same issue - pen click not working when in Atom, but works as soon as I switch out to other apps.

I too experience the same issue, but it has even occurred just within Atom without my switching to another program. I'll have just finished editing selected text—text that I selected using my Wacom Intuos Pro—when I try to select another line of characters within the application, only to have it fail to do so.
My feeling is that it's more to do with the tablet than Atom, though, because I've seen random buggy behavior in other programs. For example, hovering over menus with drop-downs will not result in the menu expanding (Chrome, Firefox, etc.) at times while using the tablet, and other times the menu does expand.

Same problem, but it only started happening when I made custom settings for Atom in the Wacom Tablet settings panel. Deleted custom settings, now works fine with Global Settings.

Similar to @aaronpctv , what solved it on my side was Selecting Default for ExpressKeys in All Other:


Add anime-pictures.net source

What version of the program are you using? On what operating system?
5.5.0 on  Windows 10
Not exactly an issue. Just noticed that I cant add anime-pictures.net to the grabber
Maybe Because it is a different site type?
Just thought of mentioning this issue cause the site has a lot of Good pics
and i cant just sit all day to download it. =p
Thought of Adding it to the Grabber but couldnt
Can ya add that site to the Grabber Too??
(Pretty Please ;_;)
Site URL Below:
https://anime-pictures.net

At first I expected to say that it's a bad source. But I looked better and found that it is really good.
Pluses:

more then 500 000 images
No need registration to view images
High-res images with original source info
Good tag system
Booru-looks-like site(not some wallpepper trash site)
IQDB do search in it, I guess that means existing of suitable API

Minuses:

It's not a booru after all
Since last few weeks it don't refreshes on IQDB for some reason(same as sankaku)

And I don't really know, but maybe this issue can be connected to https://github.com/Bionus/imgbrd-grabber/issues/917

Thanks For the Info! =D

After a first quick look it looks like it could be integrated in Grabber, I'll see what I can do.

Tried new settings set for anime-pictures.net - indeed, it works fine.
Some source impressions:

80 images per page
no tag groups
images md5 seems the same with other sources, which is great.
I don't know why, but images filesize isn't shown for images from this source

Is there are ability to search via md5 on anime-pictures?
STRANGE
I figured out that some images from anime-pictures.net in preview window shows sample image instead of original image, but image data in details(md5 for example) and image data in window header are from the original one. Moreover, if you will md5search shown image, it will have MD5 different from MD5 from details window.  So it's strange.

@Bionus 40-50% of images from from anime-pictures.net doesn't contains tags, even if they searched for some tag, Looks like it's because of I'm not logined. I tried to log it via source settings in grabber but failed, any ideas how to solve it?
Normal work

Missing tags

Also it's still shows sample images in preview instead original for many images.
Also images filesize still not calculates for some reason

Is there are ability to search via md5 on anime-pictures?

Not that I know of.

@Bionus 40-50% of images from anime-pictures.net doesn't contains tags, even if they searched for some tag, Looks like it's because of I'm not logined. I tried to log in via source settings in grabber but failed, any ideas how to solve it?

 You have to register there and login in Grabber to fix this. Note that the login form in Grabber should work, I just tried and it showed the tags with no issues. Here's the "Login" tab if necessary:

Note that the login form in Grabber should work, I just tried and it showed the tags with no issues.

I don't know, what's wrong, but my login fails, but through the site I log in without problems.

The fact that you hid the "Username" and "Password" settings  in your screenshot lead me to think that you put your credentials in the wrong tab here. These are the form settings, you're not supposed to change them. They decide which fields Grabber will fill in the login form.
You're supposed to put your credentials in the "Credentials" tab :smile:

The fact that you hid the "Username" and "Password" settings in your screenshot lead me to think that you put your credentials in the wrong tab here. These are the form settings

Completely right, Sherlock! :squirrel: The case is closed now! It works indeed.
But seriously, tabs names can easily cause a misunderstanding. Better to rename those two.
credentials - is a bad word for it, and login fits better for username and password than for form settings.

I suggest to rename "credentials" tab to "accaunt" or "autorization" or "login"
And rename "login" tab to something more technical, like "form settings" or "request"
To make it more clear to understanding for user.

Also, your anti-sample commit didn't solve the samples problem:

You have to update your model file.

As for "credentials", it's a very common way for stating these kind of identifiers. And since it could be either an API key, some OAuth token or simply a login/password couple, that's the most fit name:

[ C ] a piece of information that is sent from one computer to another to check that a user is who they claim to be or to allow someone to see information

The request settings tab title could be changed though.

yep, now all problems with anime-pictures.net succesfully solved.
Well done! Thanks for adding another good source)

Just updated Grabber to 5.5.1
but I cannot see anime-pictures.net in the sources =(
Hmm maybe i shud clean uninstall the it and reinstall
Maybe It'll fix the problem

Anime pictures.zip
put this folder to
C:\Users\username\AppData\Local\Bionus\Grabber\sites
It should help

Yep Fixed it
Thanks A Ton!!!

hey, I hope you know about our API? Anyway, just ask me @stalkerg because I am the author.

@stalkerg yes Grabber uses the JSON API for searching, but at the time I implemented it I only found it by looking around, I didn't see any doc so it might not be the most efficient usage. Is there a reference somewhere? (or at least a list of the endpoints?)
The implementation is here if you want to have a look:
https://github.com/Bionus/imgbrd-grabber/blob/master/release/sites/Anime pictures/model.ts
I just checked, and it seems that Grabber's implementation for example doesn't use the JSON API for view_post, only for view_posts. I'll see to update that! (I don't think it was there last year when I added it)

do you need API for comments?


loading BTF invalid BTF type kind 19

Seems I got it since I update the kernel to version 6.0
I thought it was something related to libbpf bindings and tried to re generate the bindings using the last version of libbpf from upstream git repo, but seems to not solve the issue.
@dave-tucker said on Discord that it's related to new btf enum64 type.

Hitting the same on 6.1.12-arch1-1 on main#56c143831e8f056ac77bb5282a340c1a545eb0f2.

This was fixed in https://github.com/aya-rs/aya/pull/453


Updating Combiners.Top PTransform Documentation

Fixes #19819.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

r: @tvalentyn

Run Python_Runners PreCommit

per https://github.com/apache/beam/issues/19819#issuecomment-1367446140 we should remove references to compare instead of adding new ones.
also, Beam is  Py3 only now.

manually checked that docs, lint and formatter precommits passed.


Redisson and leap second

Hello,
I am using redis and redisson for my service deployed on Amazon server. Server has older kernel version that suffers from leap second bug. Will it affect redis or redisson lock in any manner? If so what is the possible solution to it?

leap second bug

What you mean? it it a bug in linux kernel?

Yes.

Can't say anything about this problem. Sorry


genquery.py double-executes & fetches completed queries

Current genquery.py row_iterator always performs a single extra msiGetMoreRows after all rows are consumed (continue index is already <= 0) (https://github.com/irods/irods_rule_engine_plugin_python/blob/master/genquery.py#L81). This appears to cause the query to be re-executed.
The auto-closing code (https://github.com/irods/irods_rule_engine_plugin_python/blob/master/genquery.py#L101) then has to fetch all query results again, since we are always left with an open query.
The issue does not occur when a query is aborted (i.e. a break or exception occurs before all rows have been yielded), since the query is never re-opened then.
Based on testing against genquery.py of https://github.com/irods/irods_rule_engine_plugin_python/pull/34 (because I was very curious why there was a performance difference),  I see a 1.94x performance difference for a query with 9308 result rows, when all rows are consumed (test rule, data).

the new Query iterator class handles this cleanly now.   thanks!   closing.


Allow Provider to Edit Node Definition.

Not sure if this is something you all are interested in, in particular it allows for non-wasm providers .

(unrelated) Make stream_logs available to providers that don't use Pod/RuntimeHandle.
Create builder pattern for constructing node definitions.
Implement basic defaults for node definition.
Populate builder with calculated values and values from config.
Give Provider an opportunity to edit the node definition.
Move wasm-specific taint/architecture to example providers.

Another alternative is to pass a mutable reference to the k8s_openapi Node instead if the builder pattern is too clunky here.

I would also be in favor of adding more types to the kubelet::node module to increase the type safety of the builder methods (vs all Strings). I didn't want to overcomplicate the API though.

Hi @kflansburg, can you elaborate on the purpose of this PR? Krustlet is not intended as a generic node; it is specifically for Wasm providers. What kinds of scenarios are you thinking about here? That will help us expand our thinking. :-)

Hey @squillace, I don't see any reason to place that limitation on the API, but regardless it doesn't hurt to give providers the option of modifying these values, and customizing these values / moving away from the JSON definition to use k8s_openapi::Node has already been discussed in #45 .

I actually like all the features! But my attention is drawn to in particular it allows for non-wasm providers . I'm fine with this, in a general sense. But I do not want anyone to be distracted from Wasm work because we now have the ability to use non-wasm providers.
Now, all that said in a nice firm tone -- in truth, I'm not opposed to it, but I want to hear about specific ideas and use cases first. If we can't come up with one, then we can't be thinking about this. Make sense? If we got some, then it sounds like a great idea. :-) Lemme hear the ideas! I'm good on everything else here, and love the contribution! (I betchya @thomastaylor312 merges you no problem. :-) )

Sure. I think there is value in the community being able to extend this work to other novel workloads, or traditional containers. This project does not have to implement these providers (I've been working on my own here https://github.com/kflansburg/krustlet-cri which implements the Kubernetes CRI to talk to containerd et. al). I understand if developers here want to stay focused on WASM, and I've tried to limit my changes to things that improve this API and not just address my downstream needs.

Oh, great! You know that we did investigate implementing a CRI version for quite a while before falling back to a kubelet due to gRPC and container-laden overhead which we felt was an obstruction to the experiment, right?
BUT: just to be clear, we do not take any particular position on what I'll call the eventual community implementation of "wasi in k8s". For example, several contributors to containerd have chatted about doing that work (https://twitter.com/tiborvass/status/1248294294508756992?s=20) and we had started by having a look at https://github.com/dmcgowan/containerd-wasm. I've also chatted with Chris Crone of docker about where this functionality will end up, and he too was looking at it from that pov. If you're not already wired up with them, I'd be happy to put you in contact. Our main take away from that work was: "CRI is way too container-centric, and go+gRPC is not really the most productive language ecosystem for this work, despite it's obvious strengths."
I think it's possible the runtime functionality will end up being hosted elsewhere. :-) Don't let ANY of this convo here distract you from pursuing your project!!!!

Interesting, I can see how CRI is too container centric. I've had a pretty good experience using Rust + gRPC using tonic. My project is not WASM related, however, it is a Krustlet Provider implementation which talks to existing container runtimes over CRI. So far I've only implemented basic pod creation / deletion and logs.

That sounds great. Feel free to ask the peeps here about CRI work and issues; I'm sure they'd be happy to help you along where they can. :-)

Although there is a lot of code here, the feature is very narrow in scope, so I am ok with pulling this into 0.2


OPT in TP or PP mode

Is there a way to inference OPT models in TensorParallel or PipelineParallel mode?
As I understand:

BLOOM uses llm provider which loads the model weights as meta tensors first and then assigns devices during checkpoint loading in ds-inference.

OPT uses hf provider with 🤗 pipeline and directly loads checkpoint weights on a specific device.

However, only MP is supported from 🤗 side (using accelerate). Is there a way to inference OPT with llm provider?

Hi @volkerha, thanks for using MII! If you take a look here, you'll see that regardless of the provider the models are processed by the DeepSpeed Inference Engine. This allows any of the models to be run on multi-GPU setups (using TP). To enable this, just add "tensor_parallel":2 to your mii_config dict passed to mii.deploy(). Some of our examples demonstrate this: https://github.com/microsoft/DeepSpeed-MII/blob/main/examples/local/text-generation-bloom-example.py

Here's an example for an OPT model that I just tested on 2 GPUs:
import mii

mii_config = {"dtype": "fp16", "tensor_parallel": 2}
name = "facebook/opt-1.3b"

mii.deploy(
    task="text-generation",
    model=name,
    deployment_name=name + "_deployment",
    mii_config=mii_config,
)

I tested facebook/opt-6.7b on 8 GPUs with TP=8, FP16. I takes around 28GB per GPU which looks like it's loading the full model parameters (6.7B * 4 bytes ~= 27GB) on every GPU in FP32 (maybe because fp16 is only applied after model loading?).

@volkerha you are correct, currently with the huggingface provider, we load the full model onto each GPU here. Once we call deepspeed.init_inference on this line, the model gets split across multiple GPU.
I can see how this would be problematic if you don't have enough memory to load the full model on each GPU. We have a workaround that uses meta-tensors (like with the llm provider), but I don't think it's compatible with how we load other huggingface models. @jeffra thoughts on this?

Hi I'm having CUDA OOM errors when loading a EleutherAI/gpt-neox-20b model onto 8 GPUs with TP=8, FP16. Each GPU has 23GB. Is this expected? Thanks!

@Tianwei-She responded to your other issue with a solution (#99).
@volkerha I've made some changes to how we load models in #105. This doesn't completely address the issue of needing to load multiple copies of a model when using tensor parallelism, but we do have plans to address this further. I'll leave this issue open for now and file it under "Enhancment".

#199 adds supported for loading models other than BLOOM (including GPT-NeoX, GPT-J, and OPT) using meta tensors. This resolves the problem of loading the model into memory multiple times.


Dataloader error

Dear author,
I get errors during the training process. Is there any solution for that?
File "/home/anaconda3/envs/economic_grasp/lib/python3.7/multiprocessing/queues.py", line 236, in _feed
obj = _ForkingPickler.dumps(obj)
File "/home/anaconda3/envs/economic_grasp/lib/python3.7/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "/home/anaconda3/envs/economic_grasp/lib/python3.7/site-packages/torch/multiprocessing/reductions.py", line 312, in reduce_storage
metadata = storage.share_filename()
RuntimeError: unable to open shared memory object </torch_56101_3288978151> in read-write mode
Another error I have is about loading the graspness labels. The program cannot read the graspness npy file sometimes.
In addition, it takes me about 20h instead of 8h to train. I do not know the reason.
Thank you very much.
Best regards

I am sorry that I haven't seen that type of training error before. Have you trained successful once? If you can successfully train sometimes, there may be some problems in running out memory. The label loading problem may also be the memory issue and you can check the memory in your machine (using htop in linux).
About the training time, it is different in different environment. My training time is tested in an empty machine with a RTX3090. Because the data loading needs a lot of memory and CPU calculation, it will be highly affected  by how many other processes running in the same machine.
Although the training time may be different, you can compare my training time with GSNet in the same environment, and you can see the speed up.

Yes, I try economic grasp and it is indeed much faster than GSnet. The error may be from limited CPU memory.


switch to rollup to tackle large bundle size

This would switch from browserify to rollup and only bundle neccessary code from crypto.

node js 6 & 8 build still fail , see https://travis-ci.org/github/puleos/object-hash/builds/701670409

node js 6 & 8 build still fail , see https://travis-ci.org/github/puleos/object-hash/builds/701670409

Yep, rollup needs Node 10+: https://github.com/rollup/rollup/pull/3346 Which makes things tricky.. I guess you'd want to "build" on 10/12, but then test the output on 6, 8, 10 etc, so you'd need to change the Travis config to do that.

To be honest, I would probably release this as a semver-major change anyway. You might as well drop unsupported Node.js versions from the CI matrix.

then it be better to completely drop gulp in favor of npm scripts and rollup

Yeah, I’m definitely okay with that too. But really, I’m just glad to accept PRs here :)

Hi. I see that this PR is present here for some time. Any ETA on when this great improvement is going to be merged and released?

There are still issues with this pull request. i'm unable to find the time to fix this right now, feel free to contribute.


Avoid extra String copies in the FFI backend

For Prism.parse_file the file contents would be read as native, then converted to a Ruby String, then converted to a native String for pm_serialize_parse().
Refactor the logic to always use a pm_string for the source code and pass that to other native functions.
Part of #2402

Mmh, using pm_string_constant_init doesn't quite work on JRuby because the native String is only guaranteed alive during that call and not after. I'll use a FFI Pointer and copy the String there instead then.


Page transition in Next.js, component flash when change route.

I try to implement page transition in Nextjs.
I follow your demo with react-router-dom and it works fine.
https://codesandbox.io/s/1xjj3mqqj
But when I move to nextjs look like animation always flash when I change the route.
http://test-router.surge.sh/
https://github.com/rainstormza/next-route-animation
Not sure what's wrong, but when I use this config animation not flash, but still not as smooth as react-router-dom
  from={{
              opacity: 0,
              position: 'absolute',
              width: '100%',
              height: '100%'

            }}

@CosmaTrix
I tried your way but the result still the same.
There are two things that I mention here.
The first thing about a flash component when change page. (https://github.com/drcmda/react-spring/issues/322)
The second thing about when chage page the previous item still remain. (wthout position: 'absolute',),
not sure why I have to use absolute.
Anyway, I look into this repo (https://github.com/xavczen/nextjs-page-transitions/blob/master/pages/_app.js), they use react-spring v5 everything seem ok.
I try to navigate that demo animation won't flash (or remain) (https://page-transitions.now.sh/)
thanks for your help.

@CosmaTrix It works.
You are correct about items, and position relative and width: 100% make page not jumping.
Anyway, about jumping I tried to remove position: relative but everything still ok.
Does it involve about page jumping really?

This doesn't work super well if you use the useRouter hook from nextjs. as the props there are all the props for the new page being rendered, so thinks like dynamic pages dont work unless you store the old value with something like react-use's usePrevious


Setup mocking library using Sinon.js

Summary
Currently Monika doesn't have a mocking library for testing. I recommend to install and setup Sinon.js as a mocking library

It already has chai-spies. Although it is not as powerful as Sinon, I think it is sufficient for our use case.
Or should we change to Sinon?
reference: https://www.chaijs.com/plugins/chai-spies/

I've been seen the reference, yes I think chai-spies is enough in the current use case, thanks!


About training speed

I test MaskDiT and DiT training on LSUNChurch dataset. But only find the training speed almost the same, but FID much worse.
Both set num_classes to 1, to imitate unconditional training. Any idea about this?

Hi, num_classes should be 0 for unconditional training. Regarding the training speed, you may want to identify which part of the code is the speed bottleneck. In principle, MaskDiT processes only half tokens and thus should be faster.


SOLR-16877: Update BackupManager.java to prevent NPE on empty zk node

https://issues.apache.org/jira/browse/SOLR-16877
Description
Prevent NPE upon trying to write empty zk node to file.
Solution
ConfigSetService.downloadFileFromConfig is allowed to return null (I reverted my first approach to prevent this return of null). With latest approach, BackupManager.downloadConfigToRepo(...) is updated to detect data==null and replace it by an empty byte[].
Tests
No tests added. Only functional test executed.
Checklist
Please review the following and check all that apply:

[ x ] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[ x ] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[ x ] I have developed this patch against the main branch.
[ x ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

I couldn't push to this branch, because it's an organization fork, not an individual's. But that's ok. I added a changelog entry and pushed to main. Wish this showed as "merged" though. oh well. Thanks for the contribution @Paul-Blanchaert !


Reasoning behind using template.js tog generate a files for each migration?

I'm submitting a...

[ ] Bug report
[ ] Feature request
[x] Question

I was just wondering why we need to generate a new .js file for every migration? I think almost 99% of the code of each generated
.js file is identical? On a project with a lot of migrations this behaviour results in a very long and repetitive folder full of js files of almost the same content.
In respect to "Chesterton's fence" I would like to just kindly ask what the reasoning behind that design decision could have been?
Thank you. Sven

this is an open source project, we're not due you a reasoning. If you think you can improve something, go ahead work on it and open a PR.

I completely understand your answer. Thank you. Now I know why you use the templates.


setting boolean value is always storing as undefined

I am trying to save a boolean value and tried using set and useMMKVBoolean but in both cases value is being stored as undefined:
Storage instance
import { MMKV } from 'react-native-mmkv'

export const storage = new MMKV({
  id: 'cheese-storage',
})

Usage
export const useValidateAccount = () => {
  const { mutate, isPending } = useMutation({
    mutationKey: ['validateUser'],
    mutationFn: validateAccount,
    onSuccess: data => {
      storage.set('validation-token', data.data.validatetoken)
      storage.set('first-time-user', data.data.first_time_user)
    },
  })

  return { mutate, isPending }
}

Note: It works as expected when I try to save it as string instead of boolean

"react-native-mmkv": "^3.1.0",
"react-native": "0.76.1",
platform: iOS

Hey - I just tried to reproduce this and for me it works.
const storage = new MMKV()
storage.set('somebool', true)
console.log(storage.getBoolean('somebool')) // true

I think it is your useMutation hook that might be writing/reading booleans wrong.


关于标题的建议

期望出现的结果(Desired results)

实际出现的结果(The actual results)

希望可以在各级标题前显示标题是几级标题，谢谢！(I hope that the title can be displayed in front of the title of each level, thank you!)

Could you provide an english version of you issue?

Closing as it looks like the last Typora release fixed this


Scale tests added

What type of PR is this?
/kind feature
What this PR does / why we need it:
Added necessary files for scale testing with tube-burner

/test

lgtm
@mkumatag pls trigger a /test

/ok-to-test

/retest

Updated with pause container image.
Yet to be tested on kubernetes cluster.

/retest

Updated with pause container image.
Yet to be tested on kubernetes cluster.

were you able to test the scale with pause container? wondering if we can merge this PR :)


Will there ever be a 1.3.0 release?

The title basically says all. Last commit on master is about a year old, the 1.3.0 milestone is due for over a year now. Does it even make sense to build a web application relying on DataMapper now? I’ve always preferred DataMapper to ActiveRecord, but given the stalled development this does not seem a good choice anymore.
Valete.

I just noticed ardm was mentioned here. We're still actively developing ardm because our main app is locked in to DataMapper (we've hacked up to rails4 but otherwise we're in the same boat as many others).
My hope is that we can almost completely shim datamapper on top of active record. We've had a lot of success so far. I urge you to contact me directly or file issues on engineyard/ardm (even if they're just "wtf?" issues) and I'll do my best to answer them and improve documentation.

I noticed some commits on the last days. So maybe we will have a a 1.3.0 version after all :)
https://github.com/datamapper/dm-core/blob/master/lib/dm-core/version.rb

@basex yeah we're trying to get crucial gems to a releasable state. I already managed to merge release-1.2 branch to master in dm-core and got rid off unfinished virtus integration. The build is passing on MRI 1.9-2.2 and rbx/jruby. There's still quite some work to be done in dm-types to merge release-1.2 into master and make sure all specs are passing but I'll get to it soon. I don't have much time for DM but I should be able to get dm-core, dm-types and dm-migrations 1.3.0 to a releasable state. If people can help with the rest we could push 1.3.0 release.
Regarding migration path to ROM, things started to clarify. I'm working on a rom-dm adapter and slowly porting an app from rails/dm to rails/rom. The adapter simply allows you to use DM as a backend for ROM (which is a natural way of using ROM so it's not any kind of a nasty hack or anything).

As far as fixing all the dm-* projects for release, I've already done that here for most of them: https://github.cob/ar-dm/
I did take some liberties in making this all work. For example I chopped out a few ruby versions, but they could be added back in. For the most part the ardm-* are very honest attempts to get all of the pending work on datamapper merged and released. Engine Yard Cloud is currently running on these versions and they pass on all rubies through 2.1.5 (and the tests are the only reason dm-core isn't working on 2.2, the code itself works fine as do most of the dm- projects).
If you'd like my help porting these over as dm- releases, let me know. I also suggest anyone who wants to help to try changing the names of dm-* gems to ardm-* in your gemfile and rebundle. If all tests pass then try again with the versions loosened to ~> 1.2 to grab newer versions that I've released since.

That's good to know. What I did, which was important, was reverting
half-baked virtus integration. Then we merged release-1.2 branches into
master in most important projects.
We should probably look at ar-dm changes and port them to main projects if
it makes sense.
I guess we could push 1.3.0 of main projects (core, migrations, types,
validations and maybe a couple more) once all specs are passing and a bunch
of people confirmed it all works in their apps :)
On Sat 4 Apr 2015 at 01:59 Martin Emde<EMAIL_ADDRESS>wrote:

As far as fixing all the dm-* projects for release, I've already done
that here for most of them: https://github.cob/ar-dm/
I did take some liberties in making this all work. For example I chopped
out a few ruby versions, but they could be added back in. For the most part
the ardm-* are very honest attempts to get all of the pending work on
datamapper merged and released. Engine Yard Cloud is currently running on
these versions and they pass on all rubies through 2.1.5 (and the tests are
the only reason dm-core isn't working on 2.2, the code itself works fine as
do most of the dm- projects).
If you'd like my help porting these over as dm- releases, let me know. I
also suggest anyone who wants to help to try changing the names of dm-*
gems to ardm-* in your gemfile and rebundle. If all tests pass then try
again with the versions loosened to ~> 1.2 to grab newer versions that
I've released since.
—
Reply to this email directly or view it on GitHub
https://github.com/datamapper/dm-core/issues/257#issuecomment-89462744.

It's great working with dependencies with bugs that get fixed but you can't reliably get them into the project...

I can make the tests work in some of the dm gems.
Can someone approve the pull requests?

@basex that would be lovely

I started pushing PRs with the changes needed to modernize the dm gems based on ardm-* for dm-active_model and dm-aggregates so far. The process is fairly simple. Pull down datamapper version at master, grab my ardm- version for that gem, then start with dm master version and rebase ardm/master version on top and fix the conflicts (usually based around changes I made for ardm naming). Then make sure all the ardm references are removed as you go, push and PR. I'll do more when I have a few more minutes. It takes about 20-30 minutes per gem all together.
Another thing of note is that I was able to break the strict dependencies between version of datamapper that required lock-stop versioning. For example, dm-aggregates works fine against dm-core 1.2 or (my version) of dm-core 1.3. We don't have to have such strict versioning so these newer versions can be released as they come along, not all at the same time.

I'm currently in the process of attempting to close PRs and issues in preparation for a dm-core 1.3.0. Any help from anyone on this thread would be much appreciated!


Ideas for App Framework 2

Hello everybody,
App Framework 2 is in the pipe ... please find here the list of planned features:
https://github.com/scriptPilot/app-framework/blob/v2parcel/README.md
Feel free to add your ideas as an issue or as response to this thread :-)
Dennis

Is there anything going forward on v2?
To me, the most important thing would be the addition of Framework7-vue2, since structure of F7-pages changed quite a bit and there are many new / great additions to Vue2 lately.
Any info on this? (I already offered help & money 😉 )
andy

Is the focus of v2 going to be implementing framework7/vue v2 features? Would it safe to see we can work on v2 framework7 and then implement it into v2 when it is ready?

I understand your situation with your availability, but is there at least a preliminary timeline? I can also contribute a beer or two. ;)

Support for Firebase Cloud Filestore would be great!

Feature: Use custom Cordova (and other?) plugins. #788

Hi Dennis,
Congrats for excellent work on v1.
I'm new for app-framework and just developed my first app using app-framework v1.
Since Framework7 v2 and Framework7 Vue v2 libraries had major and significant improvements I decided to migrate to the new versions.
Is there anything going forward on v2 in this sense that I should wait for?
What should be the best way to proceed with my updates regardless the timeline for the app-framework v2? Can I simply follow the instructions in 'Update vendor folder'?
Thanks in advance for evaluating these questions and for your help.

Started to work on App Framework V3 - all your ideas are now part of single issues. Feel free to open new issues for your ideas.


IAM:PassRole not working on self-managed node group

What happened:
Deploying via Terraform did not succeed. During the apply action, we received the following error message:
Error: [0m Error: [ERROR] failed to create cluster: POST https://api.spotinst.io/ocean/aws/k8s/cluster?accountId=***: 400 (request: "176e8002-0820-4901-8841-e426bb3177bf") GENERAL_ERROR: Can't create instances
│ POST https://api.spotinst.io/ocean/aws/k8s/cluster?accountId=***: 400 (request: "176e8002-0820-4901-8841-e426bb3177bf") UnauthorizedOperation: You are not authorized to perform this operation. User: arn:aws:sts::(redacted):assumed-role/Spotinst-Onboarding-Role/spotinst.session.1722375230779 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::(redacted):role/ocean_demo_self_eks_ng-node-group-20240730182840577400000001 because no identity-based policy allows the iam:PassRole action.

What you expected to happen:
The Terraform should deploy successfully. It may be that we missed a step somewhere.
How to reproduce it (as minimally and precisely as possible):
Run Terraform apply.
Anything else we need to know:
Relevant Terraform code:
provider "spotinst" {
  alias   = "ocean_demo"
  token   = var.spotinst_token
  account = var.spotinst_account
}

module "ocean_aws_k8s" {
  source  = "spotinst/ocean-aws-k8s/spotinst"
  version = "1.4.0"

  depends_on = [
    module.ocean_controller
  ]

  providers = {
    spotinst = spotinst.ocean_demo
  }

  cluster_name                = module.ocean_demo_eks.cluster_name
  region                      = var.aws_region
  subnet_ids                  = module.vpc.private_subnets
  worker_instance_profile_arn = module.ocean_demo_eks.self_managed_node_groups["ocean_demo_self_eks_ng"].iam_instance_profile_arn
  security_groups             = [module.ocean_demo_eks.node_security_group_id]

  max_scale_down_percentage = 100

}

module "ocean_controller" {
  source  = "spotinst/ocean-controller/spotinst"
  version = "0.54.0"

  spotinst_token   = var.spotinst_token
  spotinst_account = var.spotinst_account

  cluster_identifier = module.ocean_demo_eks.cluster_name
}

Environment:
development/GitHub

Terraform version: 1.9.3
Module version: 1.4.0
OS: GitHub runner
Kernel: GitHub runner
Others: GitHub runner

I'm having the same issue here:
worker_instance_profile_arn = local.eks_managed_node_group_iam_role_arn
I get the error:
for parameter iamInstanceProfile.name is invalid. Invalid IAM Instance Profile name
I suspect that this parameter needs to be the name of the iam profile rather than the ARN


Added Iris.to

Describe the changes you have made in this PR
Added Iris.to to Discover page
Link this PR to an issue [optional]
Fixes #ISSUE-NUMBER
Type of change
(Remove other not matching type)

fix: Bug fix (non-breaking change which fixes an issue)
feat: New feature (non-breaking change which adds functionality)
feat!: Breaking change (fix or feature that would cause existing functionality to not work as expected)
docs: Documentation update

Screenshots of the changes [optional]
Add screenshots to make your changes easier to understand. You can also add a video here.
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist

[ ] My code follows the style guidelines of this project and performed a self-review of my own code
[ ] New and existing tests pass locally with my changes
[ ] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

no need to merge unless we want apps without lightning.

thanks, is the image properly compressed?


⚠ GitLab Server has degraded performance

In 974123d, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6198 ms

Resolved: GitLab Server performance has improved in 96bf5d5.


Timeout with device containing many instances

I often have issues with a Panasonic light system device (with 50 switch instances) not starting up correctly 50%+ of the time.

It used to work in my old fork but not in new version.
By doing some testing with various versions, I tracked it down to 136176c06cacf (which relate with timeout handling).
I didn't investigate the code in detail yet, but from a very quick glance, maybe what happens is:

before it used to retry a specific step (so if device instance 20 failed, it would restart from instance 20)
now, if it fails at any point, it passes exception to HA, mark it as failed, and try again but from instance 0
So as a result, it fails much more easily because to succeed, all instances 0 to 50 need to not have a single failure/timeout during a single pass?

here's the pseudo code:
// OLD? (robust, if an instance fails, it tries again same isntance, restart from there and usually can recover)
foreach (var instance)
{
     // async_update_data (with internal retry loop)
     for (int tries = 0; i < 4; ++i)
     {
          try
          {
             // echonet query
          }
          catch
          {
          }
     }
}

// NEW? (easy to fail, it just takes one single failure per global try)
// top level home assistant retry loop
for (int tries = 0; i < X; ++i)
{
    try
    {
        foreach (var instance)
        {
             // async_update_data (without retry loop)
             // echonet query
        }
    }
    catch
    {

    }
}

Sorry @xen2  my poor old single HVAC instance makes me a not the idea candidate to test with, maybe @nao-pon can assist.

I also don't own a device with this many instances, so I can't debug it accurately. But I'm very interested in solving this problem.

@xen2 I cherry-picked the commit in your repository to master. Thanks! 👍


avatar picture/icon container size mismatch

How to adjust automatically the size of the social/academia icon container to that of the avatar image specified in content/authors/admin/_index.md?

Hello @mpieropan
I didn't get you, do you want to set a custom size? explain

Hello @tfsomrat, I would like the template to automatically adjust the size of the set of icons below the profile photo.

It should be center automatically, did you change any code? please share your live site URL with me to inspect it and give you a solution.


UnifiedNlp standalone (no μG nor GAPPS) in OmniROM?

I used to have μG on my system, but because it causes lots of apps to crash (while they work without it), I removed it and want to go UnifiedNlp only (that’s the feature for which I really care).
I’ve installed it (NetworkLocation.apk) in /system/priv-app, but under “Network location provider support” it says that “Your system does not support this UnifiedNlp package.”. This is the only box not ticked, and I don’t know what to do for this.

It seems that network location is working anyway (according to SatStat), but I see issues in UnifiedNlp as described in https://github.com/microg/android_packages_apps_UnifiedNlp/issues/164#issuecomment-462034255.


fix: change codeowner

Description
Change codeowner

Is it an intentional modification that @kokeshiM0chi is no longer the codeowner?

@Mdaiki0730 Thank you for confirming. For now, I have temporarily deleted myself because I think there is little direct involvement.


987 add language tag support to the tbox csv generator

Small changes to TBox Generator

Added handling of language tags on strings in comments and labels. In excel can input "my string"@en but due to csv standards will have to put """my string"@en"" if open with text editor
Fixed bug that rdfs:isDefinedBy points to a string of a URL rather than the URL itself
Minor refactoring of private methods to make maintenance a little easier

Need to change tests to align with these changes

Need to change tests to align with these changes

Current changes produce an extended ontological model, so the previous tests fail. That means we have to update the reference ontological model.

Need to change tests to align with these changes

Current changes produce an extended ontological model, so the previous tests fail. That means we have to update the reference ontological model.

Made the necessary changes and now tests are running as intended

Refine the list of parameters in the comments in all the methods where you have removed the range. For example, the following comment still has a range in it.
/**
* Decides the type of logical formula needs to be created.
* Currently, it supports formulae with the following two quantifiers:
* - for all (only)
* - for some (some)
* - exactly 1
* - maximum 1
* - minimum 1
*
* @param objectProperty
* @param classExpression
* @param quantifier
* @param singleDomain
* @param range
* @throws JPSRuntimeException
*/
private void decideToAddTypeOfLogicalFormula(OWLObjectProperty objectProperty, OWLClassExpression classExpression,
String quantifier, String singleDomain) throws JPSRuntimeException {

Refine the list of parameters in the comments in all the methods where you have removed the range. For example, the following comment still has a range in it.
/** * Decides the type of logical formula needs to be created. * Currently, it supports formulae with the following two quantifiers: * - for all (only) * - for some (some) * - exactly 1 * - maximum 1 * - minimum 1 * * @param objectProperty * @param classExpression * @param quantifier * @param singleDomain * @param range * @throws JPSRuntimeException */ private void decideToAddTypeOfLogicalFormula(OWLObjectProperty objectProperty, OWLClassExpression classExpression, String quantifier, String singleDomain) throws JPSRuntimeException {

Good catch! Addressed in 7c35ea2


Update epic-sounds

Hi, I'm Jaesung Huh. I'm a PhD student at the University of Oxford.
Could you update our dataset statistics on your website if you have time, please?
I tried to run update.py, but it doesn't seem to work. I got the following error message.
Traceback (most recent call last):   File "/Users/jaesung/Documents/Codes/dcase_datalist/update.py", line 208, in <module>     sys.exit(main(sys.argv))   File "/Users/jaesung/Documents/Codes/dcase_datalist/update.py", line 187, in main     item_rendered = jinja_template.render(**data)   File "/Users/jaesung/anaconda3/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render     self.environment.handle_exception()   File "/Users/jaesung/anaconda3/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception     raise rewrite_traceback_stack(source=source)   File "templates/sounds_template.html", line 3, in top-level template code     {% include 'parts/head_item.html' %}   File "/Users/jaesung/anaconda3/lib/python3.10/site-packages/jinja2/loaders.py", line 218, in get_source     raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: parts/head_item.html
Let me know if you need something on this.
Best wishes,
Jaesung

Some files were missing from the repository, they are added now and this solves this issue. Thanks for contributing this interesting dataset to the community!


Fix blogger API sample.

Now the blogger API sample is actually working.

Is it worth recording any more information about this in the commit log? When it broke, how it broke, why it broke, and/or whatnot?
Thanks for the fix!

I have no idea why it was broken. It just didn't work..... ;) It looks like the product of some sweeping search-and-replace which went wrong and was never tested.

Okay. Thanks much!


color focused points on scatter plots

Closed; this feature is in https://github.com/cmpolis/datacomb/commit/e97deb196fe89093620bbff61ae20c061a6603c6


Cannot run capa from IDA Pro 7.7

installed capa via pip
Created python script to run IDA plugin
Version 4 of capa rules
Python version 3.8

ERROR:capa.ida.plugin.form:Failed to render results (error: unexpected rule scope: Scope.INSTRUCTION)
Traceback (most recent call last):
  File "C:\Users\mar\AppData\Local\Programs\Python\Python38\lib\site-packages\capa\ida\plugin\form.py", line 825, in load_capa_results
    self.model_data.render_capa_doc(self.doc, self.view_show_results_by_function.isChecked())
  File "C:\Users\mar\AppData\Local\Programs\Python\Python38\lib\site-packages\capa\ida\plugin\model.py", line 512, in render_capa_doc
    self.render_capa_doc_by_program(doc)
  File "C:\Users\mar\AppData\Local\Programs\Python\Python38\lib\site-packages\capa\ida\plugin\model.py", line 497, in render_capa_doc_by_program
    raise RuntimeError("unexpected rule scope: " + str(rule.meta.scope))
RuntimeError: unexpected rule scope: Scope.INSTRUCTION
INFO:capa.ida.plugin.form:Analysis failed.

Version 4 of capa rules

would you please clarify how you downloaded the rules at version four? we're currently trying to improve our documentation to avoid issues like this and i'd like to double check that its working.
this looks like a version mismatch problem (maybe capa v3 with rules v4). what version of capa do you have installed?

this may be similar to #1154 or was just fixed this week (unreleased), can you please try again and/or provide additional information?

Please reopen if this issue still exists and additional information is available.


issue during docker build

#12 2.341 Installed /usr/lib/python3.8/site-packages/chatGPT-0.8.2-py3.8.egg
#12 2.346 Processing dependencies for chatGPT==0.8.2
#12 3.381 error: SQLAlchemy 2.0.9 is installed but SQLAlchemy<2,>=1 is required by {'langchain'

Can you try editing the last line of the Dockerfile from this:
RUN python setup.py install

to this:
RUN pip install -e .

Re-run and see if that fixes the issue?

thanks @thehunmonkgroup , it kinda helped but docker logs of container show this:
`----- Please follow these steps -----

Run command docker exec -it chatgpt-wrapper-container /bin/bash -c \"chatgpt\"
Follow the instructions to create the first user
Have a nice chat
Traceback (most recent call last):
File "chatgpt_wrapper/gpt_api.py", line 5, in
from chatgpt_wrapper.backends.openai.api import OpenAIAPI
ModuleNotFoundError: No module named 'chatgpt_wrapper'

----- Please follow these steps -----

Run command docker exec -it chatgpt-wrapper-container /bin/bash -c \"chatgpt\"
Follow the instructions to create the first user
Have a nice chat
Traceback (most recent call last):
File "chatgpt_wrapper/gpt_api.py", line 5, in
from chatgpt_wrapper.backends.openai.api import OpenAIAPI
ModuleNotFoundError: No module named 'chatgpt_wrapper'`

Duplicate of #276


[FeatReq] Allow to upload html code and continue to develop

Users can start with an existing html code. It will be great to OpenUI allows to upload a code and allow Human and AI  collaboratively  develop the code.

You can do this today.  Click the code edit button for any existing component and paste your html.  Then you can ask the LLM to make changes and it will use that html as context.

You can do this today. Click the code edit button for any existing component and paste your html. Then you can ask the LLM to make changes and it will use that html as context.

That's indeed possible. Thanks so much.


Remove file path prefixies in NUnit XML

We found some NUnit XML contains file path prefix like <test-suite type="Assembly" name="C:\Works\Project1\calc.ddl}" …>.  But subset command in the NUnit plugin doesn't include those file paths. To resolve this miss much, I implemented removing file prefixes for record build … nunit … command.

@kohsuke I fixed it. Please review again.


Add option to select IO range for ACIA cartridges

Add a way to select the IO range used to access ACIA cartridges (SwiftLink, Turbo232, Ultimate II/II+/64), either $DE00 or $DF00

Added in 423fa0b


Broken in Govcloud

Description
Upgrading an existing govcloud deployment, breaks when trying the recommended
manage_master_user_password = true

If your request is for a new feature, please use the Feature request template.

[x] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version [Required]:

❯ terraform -version
Terraform v1.3.7
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v4.64.0
+ provider registry.terraform.io/hashicorp/helm v2.9.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.20.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
+ provider registry.terraform.io/hashicorp/template v2.2.0

Reproduction Code [Required]
module "rds-aurora" {
  source  = "terraform-aws-modules/rds-aurora/aws"
  version = "8.0.2"

  name           = format("rds-%s-%s", local.stage, local.layer)
  engine_version = "13.8"
  engine         = "aurora-postgresql"
  instance_class = "db.r6g.large"
  instances = {
    1 = {
    }
  }
  vpc_id = data.terraform_remote_state.network.outputs.vpc_id

  create_db_subnet_group = true
  db_subnet_group_name   = format("rds-%s-%s", local.stage, local.layer)
  subnets                = data.terraform_remote_state.network.outputs.database_subnets
  create_security_group  = true
  security_group_rules = {
    cidr_ingress_ex = {
      cidr_blocks = [data.terraform_remote_state.network.outputs.vpc_cidr_block]
    }
  }
  storage_encrypted   = true
  apply_immediately   = true
  monitoring_interval = 10

  master_username             = "gitlabadmin"
  database_name               = "gitlabhq_production"
  manage_master_user_password = true

  db_parameter_group_name         = aws_db_parameter_group.gitlab.id
  db_cluster_parameter_group_name = aws_rds_cluster_parameter_group.gitlab.id

  enabled_cloudwatch_logs_exports = ["postgresql"]

  tags = {
    Name = format("rds-%s-%s", local.stage, local.layer)
  }
}

resource "aws_db_parameter_group" "gitlab" {
  name        = format("rds-%s-%s", local.stage, local.layer)
  family      = "aurora-postgresql13"
  description = format("rds-%s-%s", local.stage, local.layer)
  tags = {
    Name = format("rds-%s-%s", local.stage, local.layer)
  }
}

resource "aws_rds_cluster_parameter_group" "gitlab" {
  name        = format("rds-%s-%s", local.stage, local.layer)
  family      = "aurora-postgresql13"
  description = format("rds-%s-%s", local.stage, local.layer)
  tags = {
    Name = format("rds-%s-%s", local.stage, local.layer)
  }
}

Expected behavior

Actual behavior

Terminal Output Screenshot(s)
ManageMasterUserPassword isn't supported in this AWS Region

Additional context
Attempting to upgrade existing deployment into 8.x release

I don't believe this is technically "broken" but rather, the feature is not supported in Gov Cloud

It no longer works OOTB in a valid AWS partition, where 7.x did.  The changelog for the breaking change did not cover that either. However you want that reported is how I'll report it.
Thanks.


[ ] Deploy Terraform changes when changes are detected.
[ ] Deploy changes to frontend when changes are detected
[x] Deploy changes to backend when changes are detected

Partial fixes #291 , #288

We will not deploy terraform changes automatically. Terraform changes must be manually applied. Wit that said, we should check that no terraform changes need to be applied.

not in current scope


Investigate rpy2 package error

@watronfire noticed a potential connection issue when trying to run the package through rpy2

Function call: countries <- getAdmn0()

@watronfire Do the other functions work in rpy2?


Allow bypassing authentication

Description
Closes #3459.
Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[x] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[x] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

we always store every new username-password group in the connection pool.

Pools.

But we don't cleanup the pool, right?

Right, we don't clean-up pools.

E.g. if 100 users connect with different usernames and passwords, we will store them all unless FerretDB is stopped?

If there are 100 valid username/password combinations, then yes,  in that case we store 100 strings and 100 pointer. Each pointer point to a pool of connections which automatically scales down to zero: https://github.com/FerretDB/FerretDB/blob/6737d3260e4059182e8fe59af64a3549dcb2ecf9/internal/backends/postgresql/metadata/pool/uri.go#L28-L31

Why would this cause authentication bypass

Authentication is bypassed when ConnInfo's (object representing client connection information) field BypassAuth is set to true. It is not set for normal connections, but needed for background workers such as capped collection clean-up (#3459).


ebooks start failure: EADDRNOTAVAIL: Can't assign requested address - connect(2)

I kept getting this error when I tried to run ebooks start. I traced it to a TCP connection issue with version 5.15.0 of the twitter gem: https://github.com/sferik/twitter/issues/709
My workaround was to uninstall v. 5.15.0 of the twitter gem, and install 5.14.0, which fixes it. I understand this isn't an issue with your repo specifically, but wanted to make it easier for other people to find a workaround.

twitter_ebooks 3.1.1 now explicitly requires twitter ~> 5.15, thanks :)

wait, I misread that, sorry. hmmmm

twitter_ebooks 3.1.2 now explicitly requires twitter 5.14, until such time as there's a 5.16 >_>

:+1:


Cannot create app with non-english name through API

What App Center service does this affect?
App Center API
Describe the bug
I cannot create an App that contains a non-english character in the "name" field using the API. When imported from HockeyApp or using the App Center web interface it will translate a Chinese character to the pronunciation (EG: zheng1-ba4-ji2) but it does not work with the API
To Reproduce
Steps to reproduce the behavior:

Use the '/v0.1/orgs/{org_name}/apps' POST API

use this for the request data:
{
"description": "test description ",
"display_name": "api - test - display name",
"name": "争超漫-test",
"platform": "Unity",
"os": "Android"
}

Notice the error returned is:
{
"error": {
"code": "BadRequest",
"message": "Validation error: Validation is failed"
}
}

Not only does it fail - it does not tell you exactly why it failed.

Use the same API with this data:
{
"description": "test description ",
"display_name": "api - test - display name",
"name": "english-test",
"platform": "Unity",
"os": "Android"
}
Notice how it successfully creates the App

Expected behavior

Using a non-english character in the name should still allow the app to be created.
Validation error should be more descriptive as to what failed and why.

Desktop (please complete the following information):

OS: Mac OSX 14.14
Browser: Firefox
Version: 66.0.4

Additional context
Also happens if you use arabic language instead of the chinese characters

@devinkav I believe this is correct behavior. The content of the name field has to be URL-compatible, i.e. basically ASCII.
If you want the behavior from the web UI, try passing in just the display_name, that should create convert the Chinese characters to the pronounceable version automatically.
For 3., we can definitely look into improving the error message here 😅

Thanks for the quick response. I've tested using display_name without a 'name' and it seems to work. I'll go ahead with using that. Thanks for the help!


OwnHub Tutorial

In this tutorial, we should show full life cycle of building a solution, sandboxing, creating its flist, uploading it to local hub and starting a container from that flist.
Depends on https://github.com/threefoldtech/jumpscaleX/issues/651
A person running this tutorial will provide the pre-provisioned zero-os. Make sure to point to tutorial on how to do that if missing.
Example for web developers how to use gedis

example html app with e.g. vue.js using the generated javascript client from gedis
create example gedis + model
show how to connect using python client
show how to connect/use gedis using javascript in app
show how to use vuejs which shows a form which is bound to the gedis client

Current Progress

own hub:
-- added option to install locally insystem or on a zos container
-- interactively shell untill you reach a ready ownhub container and running website
TODO
Add an ownhub client to directly sandbox builders flists on it.
Add an example for a builder life cycle -build, install, sandbox, start, stop-

Done at: https://github.com/threefoldtech/tutorials/tree/master/tutorials/ownHub
The flow is:

Verification steps:

install tutorial
jsx modules-install --url=https://github.com/threefoldtech/tutorials

run Ownhub tutorail:
j.tutorials.ownhub.run()

and follow the instructions .


Remove the trailing Ratio in RatioRatio

test this please
a random test failed on jdk 8

Merging even though the build failed - PassiveSyncTest needs investigation


[BUG]: AppData\Local\GitHub CLI\extensions\gh-classroom\gh-classroom.exe: %1 is not a valid Win32 application

Thanks for taking the time to fill out this out! :bow:
By submitting this issue, you agree to follow our Code of Conduct.
What happened?
What did you do? What happened? What did you expect to happen?
I installed the github cli on my laptop, which is running windows 11. Then I installed the gh classroom extension, which is the one I need for grading, but I always get this error and I don't know how to fix it. I was expecting to see my classroom list to then clone some repos.
Versions
What versions of the relevant software are you running?
For example: gh v2.37.0, gh-copilot v0.5.2-beta
latest version
Relevant terminal output
Please copy and paste any relevant terminal output.
Please check your output before submission to ensure sensitive information is redacted.
AppData\Local\GitHub CLI\extensions\gh-classroom\gh-classroom.exe: %1 is not a valid Win32 application

@andyfeller thank you for the suggestions! Closing as stale and done.


Docs: Python integration doc needs update

https://docs.lakefs.io/integrations/python.html
Due to code changes, we need to go over the guide and update the code snippets.
One example:
branch1 = lakefs.repository("example-repo").branch("experiment1").create(source_reference_id="main")

For branch creation parameter name was changed from source_reference_id to source_reference.

closed by @N-o-Z in https://github.com/treeverse/lakeFS/pull/8273


feat(analytics): adding analytics for transactions history

Description
This PR adds the following analytics for the transaction history:

timestamp
lookup address: address for the history
project_id
transactions_count: number of transactions in a history reply
latency_secs
transfers_count: total number of transfer objects
fungibles_count: total number of fungible objects
nft_count: total number of nft objects
origin
region
country
continent

Resolves #361
How Has This Been Tested?
Not tested, only successful build test.
Due Diligence

[ ] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update
[x] Requires adding to the data lake

For address age , Can we  get the the date of the oldest tx ?

@dnul We are getting the history from the Zerion and with pagination in descending order, so we need to paginate to the last to get this. So it would be tricky.