[IMPROVEMENT] Configure the log level of other system and user managed components via longhorn manager setting

Is your improvement request related to a feature? Please describe (👍 if you like this request)
Currently, only the log level of longhorn manager is able to change at start time and runtime. Need to apply this change to all longhorn components including start and runtime.
/controller/setting_controller.go#L695-L711
func (sc *SettingController) updateLogLevel() error {
	setting, err := sc.ds.GetSetting(types.SettingNameLogLevel)
	if err != nil {
		return err
	}
	oldLevel := logrus.GetLevel()
	newLevel, err := logrus.ParseLevel(setting.Value)
	if err != nil {
		return err
	}
	if oldLevel != newLevel {
		logrus.Infof("Updating log level from %v to %v", oldLevel, newLevel)
		logrus.SetLevel(newLevel)
	}

	return nil
}

Describe the solution you'd like
Could use RPC way to apply the change at runtime.
Describe alternatives you've considered

Additional context
ref: #5888

Move it to v1.8.0 cc @james-munson @innobead

Longhorn can adjust the longhorn-manager's log level, but there is currently no way to adjust the log level in runtime for other components like longhorn-instance-manager.
Moreover, the log level (debug) is hard coded for those components.
https://github.com/longhorn/longhorn-manager/blob/v1.7.x/controller/instance_manager_controller.go#L1389
cc @derekbit @innobead @james-munson

Just checked the issue with @ChanYiLin. The instance-manager’s log level is currently set to debug. The ticket aims to:

Adjust the default log level to info
Support adjusting the log level at runtime
Update certain log messages to info level instead of debug, as this will help avoid difficulties in troubleshooting.

Besides of the instance-manager, also need to address longhorn-engine, backing-image-manager and share-manager.

Just checked the issue with @ChanYiLin. The instance-manager’s log level is currently set to debug. The ticket aims to:

Update some log messages to info level instead of debug, as this will help avoid difficulties in troubleshooting.

Applied to v1.8.0, v1.7.3 and v1.6.4

Adjust the default log level to info

Applied to v1.8.0, v1.7.3 and v1.6.4

Support adjusting the log level at runtime

Applied to v1.8.0
Besides the instance-manager, also need to address longhorn-engine, backing-image-manager and share-manager.

Please let me know if there is any concern.
cc @james-munson @ChanYiLin @innobead

Applied to v1.8.0 (no need to backport the setting to v1.7 and v1.6)
Besides the instance-manager, also need to address longhorn-engine, backing-image-manager, and share-manager.

Sounds good. BTW, if changing at runtime is infeasible, the share manager pods could scale out along with the number of volumes. At least this can be achieved at the start time.

Here is some data from the analysis of a recent escalation (support bundle not included) covering about two weeks of logs.  Only the instance-manager and longhorn-manager logs amounted to multiple megabytes.  All others were a few K.
$ ll * | grep M
total 24M
-rw-r--r--  1 jmunson jmunson  24M Sep 30 08:57 instance-manager.log
total 33M
-rw-r--r--  1 jmunson jmunson  33M Sep 30 08:57 instance-manager.log
total 25M
-rw-r--r--  1 jmunson jmunson  25M Sep 30 08:57 instance-manager.log
total 23M
-rw-r--r--  1 jmunson jmunson  23M Sep 30 08:57 instance-manager.log
total 27M
-rw-r--r--  1 jmunson jmunson  21M Sep 30 08:57 longhorn-manager.log
-rw-r--r--  1 jmunson jmunson 5.3M Sep 30 08:57 longhorn-manager.log.1
total 27M
-rw-r--r--  1 jmunson jmunson  21M Sep 30 08:57 longhorn-manager.log
-rw-r--r--  1 jmunson jmunson 5.4M Sep 30 08:57 longhorn-manager.log.1
total 51M
-rw-r--r--  1 jmunson jmunson  34M Sep 30 08:57 longhorn-manager.log
-rw-r--r--  1 jmunson jmunson  17M Sep 30 08:57 longhorn-manager.log.1
total 37M
-rw-r--r--  1 jmunson jmunson  18M Sep 30 08:57 longhorn-manager.log
-rw-r--r--  1 jmunson jmunson  19M Sep 30 08:57 longhorn-manager.log.1

Start with the instance-manager logs.  It's not a matter of debug logs flooding (these results are typical of all):
$ grep "level=debug" instance-manager.log | wc
    286    4916   95941

But rather, that a lot of debug output might logged as info:
$ grep "level=info" instance-manager.log | wc
  85050 1017526 25659306

That's out of a total of
$ wc instance-manager.log
   85587  1025418 25814581 instance-manager.log

Here's a script to count the most verbose loggers in the go code:
awk 'match($0, /regex/) {
    print substr($0, RSTART, RLENGTH)
} ' <file>

so
awk 'match($0,/file=".*go:[0-9]*"/) {print substr($0, RSTART, RLENGTH)}' instance_manager.log | sort | uniq -c | sort -rn
  10537 file="replica.go:803"
   5301 file="server.go:255"
   5275 file="server.go:243"
   5274 file="server.go:181"
   5274 file="replica.go:961"
   5274 file="replica.go:863"
   5274 file="replica.go:760"
   5274 file="replica.go:754"
   5274 file="replica.go:748"
   5263 file="server.go:231"
   5263 file="server.go:1339"
   5263 file="server.go:1327"
   5263 file="replica.go:407"
   5263 file="replica.go:366"
   5263 file="replica.go:360"
   4988 file="remote.go:87"
   4988 file="remote.go:108"
   2517 file="snapshot.go:268"
   2502 file="snapshot.go:358"
   2490 file="snapshot.go:24"
   2490 file="control.go:212"
   2490 file="control.go:191"
   2490 file="control.go:189"
    430 file="snapshot.go:399"
    189 file="server.go:342"
    189 file="client.go:110"
    188 file="server.go:346"
    186 file="client.go:171"
     80 file="client.go:149"
...

@PhanLe1010 points me to FilteredLoggingHandler in https://github.com/longhorn/longhorn-manager/blob/e7db6e7adda61b684d4a2d4e247a83ac0935287c/app/daemon.go#L257-L265 for the place where that logging is set in place:
	router = util.FilteredLoggingHandler(map[string]struct{}{
		"/v1/apiversions":  {},
		"/v1/schemas":      {},
		"/v1/settings":     {},
		"/v1/volumes":      {},
		"/v1/nodes":        {},
		"/v1/engineimages": {},
		"/v1/events":       {},
	}, os.Stdout, router)

The implementation is in https://github.com/longhorn/longhorn-manager/blob/e7db6e7adda61b684d4a2d4e247a83ac0935287c/util/util.go#L477-L486:
func (h filteredLoggingHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
	switch req.Method {
	case "GET":
		if _, exists := h.filteredPaths[req.URL.Path]; exists {
			h.handler.ServeHTTP(w, req)
			return
		}
	}
	h.loggingHandler.ServeHTTP(w, req)
}

And it appears to me that the intent was to exclude most GET operations, logging any others.  Unfortunately

The req.URL.Path for a volume is /v1/volumes/<volume-name> so the map lookup doesn't catch specific volume queries, and
Another frequent query is /metrics, which is not in the list.

There are a couple of ways to go here.  One simple thing would be to exclude any GET at all, dispensing with the filter list.  Another slightly more expensive way would be to look for anything in the map as the leading part of the req.URL.Path string, with string.HasPrefix().  That would remain truer to the intent of filtering out routine but not unusual GET requests.

There are a couple of ways to go here. One simple thing would be to exclude any GET at all, dispensing with the filter list.

Keeping it simple is good.
We can suppress GET log messages for log levels above DEBUG, and only print them when the log level is set to DEBUG.

This is the list of items for this issue:

[ ] - Reduce logging of REST calls:
[ ] - Demote noisy instance-manager calls from Info to Debug
[ ] - Demote noisy longhorn-engine calls from Info to Debug
[x] - ~Demote noisy share-manager calls from Info to Debug~  Not necessary.  There aren't any.
[ ] - Remove default "--debug" flags from created pods.
[ ] - Add RPC server methods to longhorn-engine V1 to get/set log level
[x] - ~Add RPC server methods to share-manager to get/set log level~  Not necessary.
[ ] - Add calls in longhorn-manager to RPC clients when global setting changes.

Demote noisy share-manager calls from Info to Debug Not necessary. There aren't any.
Add RPC server methods to share-manager to get/set log level Not necessary.

Why are the two items unncecessary?

Perhaps I should say "low priority" rather than "Not necessary."
In longhorn-share-manager, there are no Info logs that should be demoted to Debug (there are only a couple of dozen log output lines at Info, and all are about "life changes" like mount and unmount, not recurring jobs such as snapshot with the potential to flood the logs.)  And there are only half a dozen logs at Debug level:
pkg/crypto/crypto.go:	logrus.Debugf("Encrypting device %s with LUKS", devicePath)
pkg/crypto/crypto.go:		logrus.Debugf("Device %s is already opened at %s", devicePath, devPath)
pkg/crypto/crypto.go:	logrus.Debugf("Opening device %s with LUKS on %s", devicePath, volume)
pkg/crypto/crypto.go:	logrus.Debugf("Closing LUKS device %s", volume)
pkg/crypto/crypto.go:		logrus.WithError(err).Debugf("Device %s is not an active LUKS device", devicePath)

If we continue to start share-manager pod with the "--debug" flag, those won't add very much to the log load.  If, on the other hand, we remove "--debug" from the pod command line options, then it is true that there is no other mechanism to turn those Debug logs on, in the absence of an RPC command to do so, or a watch by share-manager itself on the global setting.

I have some thoughts
Agree that share manager pods doesn't log much. In my experience, it usually only logs less than 100 lines. Together with the fact that there might be big number of share manager pods, maybe we can skip the share manager for now and focus on the:

longhorn-manager
instance-manager (including engine/replica inside it)
csi plugin
csi side car pod

longhorn-manager and can be changed online when user changes the global log level setting. instance-manager pod need new grpc method
csi plugin and csi sidecar pods might just be deleted and restarted with new logging level because:

It doesn't hurt
We don't own the csi sidecar code to add grpc server

Demote noisy share-manager calls from Info to Debug Not necessary. There aren't any.
Add RPC server methods to share-manager to get/set log level Not necessary.

Why are the two items unncecessary?

Perhaps I should say "low priority" rather than "Not necessary."
In longhorn-share-manager, there are no Info logs that should be demoted to Debug (there are only a couple of dozen log output lines at Info, and all are about "life changes" like mount and unmount, not recurring jobs such as snapshot with the potential to flood the logs.) And there are only half a dozen logs at Debug level:
pkg/crypto/crypto.go:	logrus.Debugf("Encrypting device %s with LUKS", devicePath)
pkg/crypto/crypto.go:		logrus.Debugf("Device %s is already opened at %s", devicePath, devPath)
pkg/crypto/crypto.go:	logrus.Debugf("Opening device %s with LUKS on %s", devicePath, volume)
pkg/crypto/crypto.go:	logrus.Debugf("Closing LUKS device %s", volume)
pkg/crypto/crypto.go:		logrus.WithError(err).Debugf("Device %s is not an active LUKS device", devicePath)

If we continue to start share-manager pod with the "--debug" flag, those won't add very much to the log load. If, on the other hand, we remove "--debug" from the pod command line options, then it is true that there is no other mechanism to turn those Debug logs on, in the absence of an RPC command to do so, or a watch by share-manager itself on the global setting.

Got it. Thank you @james-munson.
Agree with @PhanLe1010's proposal.

To test, on a cluster with at least one volume, tail the instance-manager logs.  A command like
kt 'instance-manager' -n longhorn-system

works well.

Create or delete a snapshot.  Instance-manager and engine will log all the steps at Info level.
Change the log-level setting from the default Info to Warn, either using the UI or kubectl.  After a minute or so, see that the change of level is logged.
Create or delete another snapshot.  Instance-manager will be much quieter.
Reset the log level setting, if desired.

If we use INFO log for v2 data engine, the instance-manager pod log will be overwhelmed by info log messagess from spdk_tgt ... The default spdk_tgt log level is NOTICE. Therefore, we still need a separate setting for spdk_tgt.
[2024-11-26 05:07:03.170581] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.190605] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190634] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190645] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190658] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190670] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190686] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190703] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190716] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190744] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190761] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190779] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190794] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190811] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.190828] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.198585] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.210586] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.218582] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.230587] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.238583] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.250587] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.270606] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270638] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270652] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270666] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270681] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270697] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270715] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270741] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270755] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270770] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270788] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270801] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270818] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.270831] vbdev_lvol.c: 483:vbdev_lvol_store_first: *INFO*: Starting lvolstore iteration at 0x2588a10
[2024-11-26 05:07:03.278589] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.290593] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.298585] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.310587] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.318586] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr
[2024-11-26 05:07:03.330593] vbdev_lvol_rpc.c: 870:rpc_bdev_lvol_get_xattr: *INFO*: Getting lvol xattr

In discussion, we agreed to keep the separate settings and control v2 engine logging independently.  There is too much disparity in the verbosity for the same nominal setting level.

@james-munson All PR are merged. Please update the status of the ticket. Thank you.

This solution has focused on the instance-manager/engine logs, which are the most verbose, and satisfy the current customer need.  For completeness, here is the status of Longhorn-created pods:
longhorn-manager
- Created with --debug flag
- Adjusts itself to log-level setting after startup and when setting changes
longhorn-instance-manager
- Created with --debug flag
- Adjusted to log-level setting after startup and when setting changes (via RPC)
- Does little debug logging.  Mostly info level, which can be verbose
longhorn-share-manager
- Created with --debug flag
- No method to change level
- Does little logging with either Debug or Info.
longhorn-csi-plugin
- Created with no flag, so default log level is Info
- No method to change level
- Does little logging - mostly incoming CSI RPC calls logged at Info
longhorn-driver-deployer
- Created with no flag, so default log level is Info
- No method to change level
- Does minimal logging - just about CSI deployments startup and shutdown
engine-image
- Minimal logging
longhorn-ui
- Minimal or no logging
backing-image-manager/backing-imaage-data-source
- Created with --debug flag
- No method to change level
- Little logging at Debug except for unit tests
CSI sidecars
- Currently started with default logging
- Could be restarted with a -v  switch to change log level, according to README.
- Not very verbose anyway, even at Info.  Next to nothing is logged at Debug

Verified on master-head 20241206

longhorn master-head https://github.com/longhorn/longhorn/commit/6cc47ec5e942f33b10f644a5eaf0970b650e27a7
longhorn-instance-manager master-head https://github.com/longhorn/longhorn-instance-manager/commit/88b6f24e17a8f0618c597b2337b1a498ca0de90f

The test steps
https://github.com/longhorn/longhorn/issues/6702#issuecomment-2487023670
Result Passed


Notification onClick event for IOS

It would be great if IOS supports notification click event just like android:
trackplayer://notification.click

Can you explain a bit more?
iOS should automatically reopen your app when tapping on the notification / controls.

Yes it opens the app, no problem there.
But I mean trackplayer://notification.click should be added to IOS too.
in IOS it doesnt provide specific URL to handle notification open action.

From what I can tell, this is not possible on iOS.
Does anyone else have an idea for how to accomplish this?


New tap 2 run scenes not synchronizing

Govee Device SKU
Different types
Govee2MQTT Version
Last version
Describe the issue
When I create a new scene in Govee it will not be shown in Homeassistant. Restart etc. didn't work
Startup Diagnostics
Already restart and deleted the scenes
Additional Logs
No response
Home Assistant Logs
No response
Anything else?
No response

If I read your process correctly, I think you're restarting HA when you actually want to reload the MQTT integration configuration for the MQTT Broker. Below is a more detailed answer if this is the case.
After I create my own scenes in the Govee app I head over to the MQTT integration (Settings - Devices & Services - MQTT) and under the 3 dots next to configure select reload. After doing this my DIY scenes show up under the effects option on the device. Here are some screenshots to help:
Note: it may take a minute for the device to become available after the reload, if I viewed the device too fast it showed "This entity is no longer being provided by the MQTT integration." (don't freak out, just wait longer and reload the device page)

!Wait until becomes available again!

Hope this helps.

Thank you do much, the reload was the solution
crazytimmy @.***> schrieb am Mo., 28. Okt. 2024, 18:45:

If I read your process correctly, I think you're restarting HA when you
actually want to reload the MQTT integration configuration for the MQTT
Broker. Below is a more detailed answer if this is the case.
After I create my own scenes in the Govee app I head over to the MQTT
integration (Settings - Devices & Services - MQTT) and under the 3 dots
next to configure select reload. After doing this my DIY scenes show up
under the effects option on the device. Here are some screenshots to help:
Note: it may take a minute for the device to become available after the
reload, if I viewed the device too fast it showed "This entity is no longer
being provided by the MQTT integration." (don't freak out, just wait longer
and reload the device page)
Screenshot.2024-10-28.121424.png (view on web)
https://github.com/user-attachments/assets/d66970b2-bed5-4dd7-b91a-8c7bbbb08357
Screenshot.2024-10-28.121450.png (view on web)
https://github.com/user-attachments/assets/6ddde3e4-926a-4525-bc77-11ebba40988e
Screenshot.2024-10-28.122438.png (view on web)
https://github.com/user-attachments/assets/8b5af144-c219-4250-a2f4-e12aa7e10e90
Screenshot.2024-10-28.123640.png (view on web)
https://github.com/user-attachments/assets/27549ad5-4782-42ea-82f2-3351aecc55bb
!Wait until becomes available again!
Screenshot.2024-10-28.122507.png (view on web)
https://github.com/user-attachments/assets/afb58beb-40c5-49ce-bdb0-ab9d4b3fb239
Hope this helps.
—
Reply to this email directly, view it on GitHub
https://github.com/wez/govee2mqtt/issues/299#issuecomment-2442238710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYH7NVN3USSDZ3AOZ7FDZLZ5ZZ4DAVCNFSM6AAAAABQU6OF5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGIZTQNZRGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Great tips. I needed an additional step, so in case it helps anyone else: after I edited scenes, I needed to "Purge Caches" for them to update.
Settings / Devices / Govee to MQTT / Purge Caches "Press"


Rename APB to Bundle

Only make public what needs to be made public, the rest should be private.

Need to make ExtractCredentials, ExtractCredentialsAsFile, ExtractCredentialsAsSecret unexported and then I think this can be closed

because of #7 we are just going to move those functions to runtime. This should be closed then with #32


[Sink] output analyzed data in Dataframe and CSV

Already done https://github.com/lalitpagaria/obsei/issues/106
User can generate CSV  from dataframe


Google API authentication

I'm trying to play around with this tool but I'm stumbling at the first hurdle as I don't seem to be able to authenticate with the google API. I've followed all the instructions and it seems to produce the right output which is a clients secrets file:
{
	"installed":{
		"client_id":"xxxx",
		"auth_uri":"https://accounts.google.com/o/oauth2/auth",
		"token_uri":"https://accounts.google.com/o/oauth2/token",
		"auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
		"client_secret":"xxxx",
		"redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost:4567"]
	}
}

I launch Middleman and I get immediately redirected to google where I authenticate with the same account that I used to set up the above. Authenticate but then get redirected back to localhost:9292....I'm not sure why that url? The .google_drive_oauth2.json is never created and the whole thing fails.
Any idea what the issues might be?
Thanks,
Helen

Hey Helen - did you get this figured out?

Yes apologies, I was meant to add that big of information. After a big of searching around it seems there is an issue with OSX's ruby library at this time (2.2.1):
https://github.com/google/google-api-ruby-client/issues/253
And by adding this:
ENV['SSL_CERT_FILE'] = Gem.loaded_specs['google-api-client'].full_gem_path+'/lib/cacerts.pem'
At the top of my config file, the problem is solved for now...I'm keeping an eye on this and hopefully it can be removed in the future.

I get why RVM/rbenv don't ship one of these, but it seems weird that Apple doesn't just link to the same cacert file that Safari already has, though I suppose it could just be compiled into the bin. FYI I added some commentary to the voxmedia/workstation step that installs one of these files from the Curl maintainers, explaining why it's necessary.

@hhumphrey84 :+1:  thanx  it works for me , i'm using ruby 2.0.0


Declare types for Classic Component

Is it possible to declare alternate types for a component?
This is my attempt:
import TextArea from '@ember/component/text-area';
import Component from '@glint/environment-ember-loose/glimmer-component';
import { TextareaArgs } from '@glint/environment-ember-loose/-private/intrinsics/textarea';

interface CopyTextareaArgs extends TextareaArgs {
  [key: string]: unknown;
}

interface CopyTextareaSignature {
  Element: HTMLTextAreaElement; // TextArea
  Args: CopyTextareaArgs;
}

export default class CopyTextarea extends TextArea {
  readonly = true;

  click(): void {
    (this.element as HTMLTextAreaElement).select();
  }
}

declare module '@glint/environment-ember-loose/registry' {
  export default interface Registry {
    CopyTextarea: Component<CopyTextareaSignature>;
  }
}

Unfortunately, it doesn't seem to work.
app/components/app-badge-row.hbs:4:5 - error TS2344: Type 'null' does not satisfy the constraint 'Element'.

4     <CopyTextarea
      ~~~~~~~~~~~~~
5       class="dw-input badge-markdown-input"
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6       @value={{this.badgeMarkdown}}
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7     />

I don't know if the deprecate() call has landed in Ember itself yet, but RFC 671 deprecates subclassing (or really doing anything in JS/TS space with) built-in components, so that's likely not something we're going to aim to make first-class here.
That said, I think your issue in the snippet you posted is that you're putting an instance type in the registry, not a constructor type. If you use ComponentLike<CopyTextareaSignature> instead (which is a constructor type), I think it should work.

@dfreeman - are you sure subclassing the built-in components is/will be deprecated? I quickly glanced over the RFC and didn't see that? Can you point us to the text please?

Subclassing is called out near the bottom of the "The Problems" section as something that leaks implementation details.
Because of this, the fact that they are implemented as `Ember.Component`
subclasses are highly observable. Some common use cases and consequences are:

1. These classes can be imported for subclassing. For example, an app can
   export a custom subclass of `TextField` at, say, `app/components/my-text-field.js`
   which can then be invoked as <MyTextField>.

<!-- ... -->

These are all opportunities for the internal implementation to leak, therefore
making changes to how the built-in components are implemented – specifically
stop subclassing from `Ember.Component` – will likely be a breaking change for
some, even if the new implementations otherwise supported all documented APIs
perfectly.

In @wagenet's snippet above, accessing this.element is a great example of that—that field is only available because Textarea is an Ember.Component, which is meant to be an implementation detail.

Yes, in this case I understand. But if one subclasses and uses only "public API" stuff... I'm not sure that is a problem. It is actually impossible to prevent that. In any case sorry for the off-topic here.

But if one subclasses and uses only "public API" stuff...

That's exactly the point though—there is no public API for components outside of templates 😄
Even the fact that the component is a class is an implementation detail, since I could equally make a random POJO {} into a component by giving it an appropriate component manager.

I still couldn't figure this out, but I decided to just change stuff to not subclass.


Implement AbstractColumn

Implement the AbstractColumn interface from Tables.jl. Although its possible to directly access the raw columnar data, this will give us higher performance interop with other packages.

.. consider leveraging this for the updated arrow results reader.


POS Printing Windows IoT

Hi,
I have been trying to use the POS Printing sample on Windows IoT running on a Raspberry Pi 2B. It is not clear for me if it is actually supported. I have been using a TM-T20II with ethernet to test this.
I am able to find the printer Id using a device watcher. I also got a message on the raspberry pi that the printer wanted to 'pair'. But when I create a POSPrinter from the printer Id, it returns null. There are no exceptions thrown.
Is there someone who can point me in the right direction?
Thanks in advance!

I've asked the POS Printing team to investigate.

I've tried running the latest checkout of the PosPrinter sample on a Raspberry Pi 2 running Windows 10 IoT 1803 (10.0.17134.1), and the sample works with an Epson receipt printer.  If this is different from your set up, please share so I can update my configuration.
Can you clarify the following:

But when I create a POSPrinter from the printer Id, it returns null.

Does this mean the call to Windows.Devices.PointOfService.PosPrinter.FromIdAsync() returned null or does it mean that the call to DeviceHelpers.GetFirstDeviceAsync() returned null?
After the pairing UI for your printer displayed and you consented to pairing, if you were to try the sample again immediately, does the PosPrinter sample work?


Fence coopExtractGift still has presetCount instead of weaponPresetCount

The airdrop createRandomLoot method was refactored to use weaponPresetCount instead of presetCount. However Fence also utilizes this code for co-op extract reward generation, and the fence JSON wasn't updated to include the new properties
This is resulting in the following error:

Attachments

image.png (72 KiB)

Originally written by DrakiaXYZ

Possibly related to this as well?
https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/609

Originally written by RedOctober

Fixed with https://dev.sp-tarkov.com/SPT-AKI/Server/commit/49f4eda90a3a2a62e0c88526478fab860033c51b

Originally written by chomp


refactor(minifier): only minify on ast node exit

Merge activity

Dec 21, 6:01 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Update lab-example clos02

To be able to configure the lab, I needed to add an address family in BGP and to bring the IP layer up, I had to add the "admin-state".
I also needed to install gnmic and change the password in the script.
This is my first time using Nokia SR Linux, so I hope I did everything correctly. I am happy to discuss the changes and update it.

Thanks @ubaumann, this is a great contribution.
The reason you had to make those changes is because we didn't pin the SR Linux container to a particular version these initial config snippets were tested against.
Would you be able to ping the version in the clab file to 23.3.3 (current latest) so that others won't have the same issues should they appear with later releases?
Thanks!

@hellt @steiler Hope it looks good now. If I can change anything else, please let me know.


No value for $TERM and no -T specified

Before opening a new issue, please read the following
Are you reporting a successful flash?
Please add it to the wiki instead!
Do you have a question about configuring your newly flashed device?
Please ask in your alternative firmware's support channel instead!
Did you have issues getting a device to flash?
Please be sure to include your device name, model, and firmware version as well as your logs!
Please remember to close your issue when the problem has been addressed!

im trying to use the dev branch and im getting the same thing. were you able to figure out the issue?


Improve custom scrollbar styles

https://trello.com/c/S5O0WEsp/705-marginia-scollbareihin
I would have added space with margins, but they seemed to have no effect on the scrollbar. So implemented this with borders instead.

Forgot horizontal scrollbars exist. Now border is added to all sides

I think it would be better to add small padding to the scrollable container in the places where the bars would be next to each other.
The appearance becomes a bit wild with the border as there's now 3 shades of gray in the bar (handle, background, border), and the page background is likely one more shade.

The overview's duplicate vertical scroll didn't make much sense, so I removed that. Check that I didn't mess it up somehow.

Great! horizontal scroll still works as usual so should be ok


CHTUB - GER Notes column and tab name

Describe the task
Add Notes column to GER headers. Notes can contain missing values. Replace Main list tab name with Distribution List - Master. This is the final name.
Purpose
Allow the team to add short notes to their records.
Acceptance Criteria

[ ] Notes column that can contain ~ 5 sentences.
[ ]  Tab name is Distribution List - Master

Additional context
We explained to the team how the upload works. They now know that the tab name should not be changed unless it is very necessary and the Product Owner is notified.

Moved to 326

Hey team! Please add your planning poker estimate with Zenhub @emi-hi @tim738745


google drive has stopped working

hello
google drive has stopped working to download video format from tow days
For examle when run youtube-dl.exe -F  https://drive.google.com/file/d/1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S/view?usp=sharing give only source
[GoogleDrive] 1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S: Downloading webpage
[GoogleDrive] 1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S: Requesting source file
[info] Available formats for 1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S:
format code  extension  resolution note
source       mp4        unknown

and when try to download video 1080p
youtube-dl.exe -f 37 -ciw -o "D:\PS2\b\%(title)s" -v  https://drive.google.com/file/d/1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S/view?usp=sharing
given that error
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', '37', '-ciw', '-o', 'D:\\PS2\\b\\%(title)s', '-v', 'https://drive.google.com/file/d/1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S/view?usp=sharing']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-65201-gd0f56ca, ffprobe N-71157-g7c6b043
[debug] Proxy map: {}
[GoogleDrive] 1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S: Downloading webpage
[GoogleDrive] 1P6nyoLg07xZxUiygjtKIxX4ER2c74F5S: Requesting source file
ERROR: requested format not available
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 808, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 863, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 1636, in process_video_result
youtube_dl.utils.ExtractorError: requested format not available

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

WRITE DESCRIPTION HERE

I face Same Problem Bro Any Solve to Google drive video with all available formats ?


lockbook: init at 0.9.15

👋 Lockbook is an open source secure note taking app. This packages our CLI. Soon we'll have another pr for our desktop app.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thank you for the thoughtful feedback @donovanglover & @pluiedev! Could you guys have another look? I believe I addressed all your feedback (and learned a lot along the way).

Thanks @Aleksanaa, @donovanglover I believe I addressed all your comments, could you take another pass when you have some time?
Having some trouble understanding the permission hierarchy is there someone else I should be tagging for the final merge?

@ofborg build lockbook


[button]: create React wrapper

A React wrapper is not available for this web component and should be made available.
Acceptance criteria

[ ] added to Storybook

@kennylam Seems like we could close this issue, the React wrapper for the Button component and Button group already exist.


Add a new school for education license

@Ahmed4069 rscloud.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


fix: move basic settings down for more reasonable password setting

moves password and basic settings down as the last thing you do before password confirmation and adds the checkbox in confirm password with a warning info

Summary by CodeRabbit

New Features

Simplified configuration setup process with a more intuitive user interface.
Enhanced FederationSettingsForm to conditionally display inputs based on user role.
Introduced a checkbox for confirming password backup in the ConfirmPasswordModal.
Added critical warning messages about password management across multiple languages.

Bug Fixes

Improved user experience by removing unnecessary password validation and checkboxes.

Refactor

Streamlined components by reducing dependencies and simplifying state management.
Reorganized layout for better flow between settings forms.
Expanded language support with new entries emphasizing password management across multiple languages.

ACK


moquette When  Sub Topic = Pub Topic time

I use "mqttv3" Clients subscribe to a "topic1" theme and then the next and then the client sends a message to "topic1", the first time can be successful, but later you will be prompted server response timeout, only to restart the server to release the called "topic1" theme. I'm just a beginner, what place does not welcome that to say, thank you.

Create a client requests a connection
Subscribe to "A" s theme and the "A" theme post a message
Disconnect Clients
Step 4. Re-operation 1,2, the
The server prompts "server response timeout," but does not disconnect the connection

Hi @LiangCan I've created an integration test check your issue (8c14efb7d8409d4959d1237cfd8df13a1fac606e) but it's not reproducible. Perhaps there is something wrong with your client code.

Hi @andsel
I would like to ask the ordinary "4 g" "4 core" single test reached a maximum number of client connections?

Hi @andsel
I would like to ask the ordinary "4 g" "4 core" single test reached a maximum number of client connections?


OCPBUGS-3667: Fix CLOCK_REALTIME going to HOLDOVER in metrics

Signed-off-by: Aneesh Puttur<EMAIL_ADDRESS>

/jira refresh

/cherry-pick release-4.12


New workflow: amendments to exports

Original report on BitBucket by Taina Jääskeläinen.

When I published the first version of the KungPao vocabulary (SL en and TL fi):

the PDF and HTML exports had license logo and license text.

I created a new version of the TL fi, without SL changing. Published the new version of KungPao vocabulary as SL admin:

in the new published version, the PDF and HTML exports did not contain license logo and license text.

So the license logo and text only appear in the first ever published version in the exports.

I am testing this on staging. In editor mode I am trying to export drafts, however export does not work.
Export does not work outside editor also in staging. Please check so that I can test this issue.

found a bug in export of PDF and HTML for DDI Alliance - fixed, not yet merged in the main branch
fixed 2.i, 2.ii, and 2.iii - not yet merged in the main

looks like the 1. was already fixed - SL and TL exports contain new codes

Tested on staging for Analysis unit and Aggregation method - the exported pdf did not contain the license logo. All other things noted in this issue are resolved.
When I do the same on production, the logos are exported - this seems to be an issue only on staging since this logo issues are present throughout the application (see https://vocabularies-staging.cessda.eu). Is this correct @Stifo ?
I believe the exported pdf on production will contain also the license logo? Please correct me if I am wrong, so that I can close this issue.

the problem with logos on dev and stagins is most probably due to missing files in these instances (/content/images/agency/*.jpg) as the logo images were probably uploaded to production only. on dev and staging, requesting logo file gives 404 error:
{
    "timestamp": "2023-10-18T11:38:20.155+0000",
    "status": 404,
    "error": "Not Found",
    "message": "No message available",
    "path": "/content/images/agency/44332555-52c2-48f6-8827-c0548d515985.jpg"
}

See #796

Issue resolved. Ready for release.


Start-Date for events not work

By default, xst_google_events should only list Tasks where the "end-date" is today or in the future.
Currently it list Tasks up from 2018-01
See Demo-Page: http://codebase.xstable.com/xst_google_events/example/

The event from 2018-01-12 is a recurring Event.
It appears, because it hat recurrences which are not yet finished.
I need to add the handling for those repeating events.


Fix activate app

New command exposed to handle activation of app in middle of test
await browser.execute('flutter: activateApp', {
         appId: appID,
         arguments: ['--dummy-arguments'],
      });

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Project cleanup

Organize file structure
I changed the components that are now functional components to .jsx files. Will move the others when the context refactoring is finished (separate branch)
I'm not really sure what the best way to organize all the afram stuff is - should Aframe/, libs, loadder/, misc/, and shaders/ all become folders in some parent folder?

this is a bug I introduced, but could you quickly fix here? Oceanographic => Ocean in the OSOM references 🙏

this is a bug I introduced, but could you quickly fix here? Oceanographic => Ocean in the OSOM references 🙏

So Ocean State Ocean Model, correct? Done!


Logging doesn't work in testing suite

Show log in the testing suite is not working. Need to fix that by initializing the logger.

You can assign this issue to me. I have made a PR for fixing this bug.


Make property nuiClass IBInspectable

@property (nonatomic, retain) IBInspectable NSString* nuiClass;
So it will be a bit easier to set nui class in IB

This has already been accepted and is available on HEAD of the master branch.

Oh, 106 commits since release, didn't notice that. Ok then, will wait for release

No need to wait. You can point CocoaPods to pull from head, which is what I currently do.

I would rather have stable version, rather picking up any changes that might come from head


Fix reporting of test coverage

The environent variables set in circleci are not available when building pull requests, so this pull request makes sure we don't try to report test coverage data to external systems because we would not be able to get our data there.

Thanks!


Mentor

Blogs

https://dojo.ministryoftesting.com/lessons/how-to-train-up-a-new-software-tester
https://dev.to/grappleshark/why-pay-it-forward
https://club.ministryoftesting.com/t/empathy-maps-of-mentees-and-mentors/487
https://tcagley.wordpress.com/2018/01/18/attributes-of-a-good-mentor/
https://tcagley.wordpress.com/2018/01/25/a-mentor-or-coach-which-do-you-need-a-checklist/

What I usually recommend as a good starting point for these introductions is to think about what you want out of an introduction, in an absolutely ideal world. From analysing the reasons people have approached me I have found that people tend to be one of four types when they are looking for mentoring/guidance. I have created the framework below and given some example questions which should help me understand exactly where you’re at (and hence select/attract the right mentors).

Type 1) People that are looking to understand more about their options, either for the short term or long term. These people are typically motivated but unclear on what the options look like. They ultimately need help/guidance in figuring out what their career goals are. These are typical type questions:

What is a CTO’s role really like?
What is the difference between working for a bank or a startup?
I have reached the ceiling in this role and want to progress but don’t know what to do.
I think I want to be a CTO but am not entirely sure whether to become a CTO of an early stage startup or larger company

Type 2) These people have already decided on a goal they are passionate about pursuing (either long term or short term) and are unsure of the best way to get there. They sometimes have a plan in mind they would like to confirm, other times don’t but need guidance on how to reach their goal. Typical Type 2 questions are:

I want to become a CTO and am not sure of the best way to get there
I want to get a job as a Java developer next year and want to do my best to get there
I’d like to get promoted to a team lead within the next 12 months but could do with some help to get there

Type 3) These people don’t necessarily have a clear goal but are really interested in getting better at something. This ‘something’ could be something very specific (e.g. a technology) or a wider topic (e.g. communication). They don’t necessarily have a goal in mind or they’d be closer to Type 2, the goal for Type 3s is simply to become better. Typical questions include:

I really want to learn about Machine Learning
I am a junior with Java and want to become a better developer
I want to learn more about TDD and clean coding

Type 4) These people are seeking mentoring or guidance to deal with a specific challenge. This is sometimes something right in front of their face, sometimes something that they are anticipating but is always related to specific challenges/problems. They often want to speak to someone that is experienced in this subject area/topic that can help them understand the challenge and help work past it. Type 4 people have often already tried to deal with a subject and struggled to conquer it. Typical Type 4 questions include:

I have tried to understand TDD but just can’t wrap my head around it
I have had trouble persuading or inspiring others and am concerned my communication skills aren’t strong enough
I have tried to get a job for the last 3 months but haven’t been able to


.full file load_km() catch a problem when the model is incompleted.

when I run an incomplete model(lack some elements)，the code is forced quit sometimes without exception message or error，then I debug it I found this  ‘Could not load source '<array_function internals>': Source unavailable.’，here is the original model file.
model.zip

Thanks, I'll take a look at this soon.  A bit busy with another project at the moment.

Finally got around to looking at this; sorry for the delay.  It seems you model.cdb contains just the archive file.  Would you mind providing the dat file or the *.full file so I can debug the error locally?

Hi,
here is the *.full file.
model.zip

This seemed to run just fine on my end:
import pyansys
import matplotlib.pyplot as plt

full = pyansys.read_binary('./model.full')
dof_ref, k, m = full.load_km()

plt.spy(k, markersize=1)
plt.show()

Could you please post the script you use that creates the error along with a report from scooby, for example:
import scooby
scooby.Report(['pyansys'])

--------------------------------------------------------------------------------
  Date: Wed Mar 18 16:05:18 2020 MDT

                OS : Linux
            CPU(s) : 8
           Machine : x86_64
      Architecture : 64bit
               RAM : 62.7 GB
       Environment : IPython

  Python 3.7.6 (default, Dec 19 2019, 23:50:13)  [GCC 7.4.0]

           pyansys : 0.39.16
             numpy : 1.18.1
             scipy : 1.4.1
           IPython : 7.10.2
        matplotlib : 3.0.3
            scooby : 0.5.2
--------------------------------------------------------------------------------

Hi,
Thanks for your help, and I tried it in your way, it was forced out sometimes, the scooby did not report anything, I have no idea about it, here is the new *.full file, pls.
PCB30_0.zip

I'm surprised you didn't get anything scooby.  Perhaps try running:
import scooby
print(scooby.Report(['pyansys']))

Again, running:
import pyansys
full = pyansys.read_binary('./PCB30_0.full')
dof_ref, k, m = full.load_km()

Runs just fine.  Can you please post the code you're using here on this issue?

Hi，
Sorry, my mistake, here is the result running scooby.

Thanks for that.  Could you please post the code you're using that's causing the issue here?  I'm unable to reproduce the bug on my end and I'd like to try out your code.

Hi,
here is the source code, it is not occured everytime, try it times.
FULL.zip

Fixed in #231.  I'll have this out in the next patch fix.
Sorry for the delay!


[BUG] 2.x SQL integTest on Windows trying to find zip from releases

Getting the 2.4.0 windows zip from here:
https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.4.0/6230/windows/x64/zip/dist/opensearch/opensearch-2.4.0-windows-x64.zip
Run SQL integTest
* What went wrong:
Execution failed for task ':integ-test:integTest'.
> Could not resolve all files for configuration ':integ-test:opensearch_distro_extracted_testclusters-integ-test-integTest-0-2.4.0-'.
   > Could not resolve opensearch-distribution:opensearch:2.4.0.
     Required by:
         project :integ-test
      > Could not resolve opensearch-distribution:opensearch:2.4.0.
         > Could not get resource 'https://artifacts.opensearch.org/releases/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'.
            > Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'. Received status code 403 from server: Forbidden
      > Could not resolve opensearch-distribution:opensearch:2.4.0.
         > Could not get resource 'https://artifacts.opensearch.org/release-candidates/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'.
            > Could not HEAD 'https://artifacts.opensearch.org/release-candidates/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'. Received status code 403 from server: Forbidden

We should get the artifacts from
https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/<VERSION>/latest/linux/x64/tar/builds/opensearch/dist/opensearch-min-<VERSION>-windows-x64.zip

Thanks.

@peterzhuamazon should this issue be moved to OpenSearch repo?
These artifacts are provided by DistributionDownloadPlugin from OpenSearch. This is where it references artifacts.opensearch.org

@prudhvigodithi does this need to be fixed in OpenSearch?

@peterzhuamazon where are you getting this from? I have disabled integration test for windows and macos for now... The changes were just merged in yesterday. Can you re-run from your side? I am pretty sure you shouldn't be seeing this...

@derek-ho this is an 8-day issue opened when it first started.
Could you confirm it is fixed now then you can close the issue.
Thanks.

Closing as CI is passing now on windows after disabling those sections


Dedicated dotfiles branch

Ex:

.bash_aliases

Introduced at https://github.com/projectdiscovery/actions/commit/d538112ea61a9df1e0cd34e04d4b279e3fcf2584.


Encourage terraform to deploy etcd before master/nodes

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please


Port over Upgrading

I'll do this one as well.

I'm going to remove this portion:  This is different from the existing ember init command. That command tries to reset your project back to a brand new project. It removes all your changes and additions.
In my experience, running ember init is too destructive and tedious.
I'm also going to include the example from ember-cli-update

I totally agree, now that we have such nice alternatives.

closed by merging #13


File uploads

Hi,
Is it possible to support file uploads?
https://ai.google.dev/api/rest/v1beta/files
Thanks!

Hello @asivaneswaran,
Since this feature is currently in beta, I can't include it in the package, but I plan to open a separate branch and develop it there so that beta features can be used by those who want to use them.

A workaround o'm doing currently is to convert PDF files to images and seems to be working temporarily


readme details aren't up to date ?

the readme details need to be updated to include the following:
the location of the css/js files are:

the js function to be added is:
L.control.BigImage().addTo(map)
I think these are the right things (or they are what i had to change them to be in order for them to work)

You used the plugin a little wrong)
If you downloaded it, then everything would have connected successfully
As far as I can see, you tried to connect via a Node js


Revocation memory

This commit creates a two-ported SRAM to be used as revocation tags.
I've tested that regular CHERI code still works but not sure whether the revocation tags themselves work.

In my latest force push I added a basic SRAM test for the revocation memory.


Hang while loading messages; # of messages loading > # of total messages

Hi. I am getting this hang error with an older thread. I get this message: LOADING 207804 / 207785 MESSAGES... and then hang. I'm not sure why there are more messages loading than total messages, but what you answered in other responses seems to indicate this is a GroupMe problem? I was using this tool with no problem back in January but now there are many more messages and thought maybe I was hitting a limit. Yet saw others with 800k messages. Is there a dependence on Java version? I updated my Java on 5/2/2021. Thanks - Denise
UPDATE: I just had another thought. Recently GroupMe added the 'delete' option and now messages can be deleted. There still seems to be a record that the message was deleted even though the original message doesn't show. Wonder if this could be causing the problem and why the message shows loading more messages that the total messages.

Encountered the same issue in one group chat. Hangs on "LOADING 7346 / 7345 MESSAGES..."

Should be fixed now


Update to Unity2019.3.7f1

How about update to Unity 2019.3.7f1?
With this PR, I updated

Updated project to Unity 2019.3.7f1
Updated 2d-extras to e9955e7528762a4ba6cd0471215e2c2135436ebe with auto update
Applyed auto serialization diff to all assets with script.
Updatd README.md

Looks great! Thanks!


Turning on pingInterval on a pubsub channel results in an error

If you turn on pingInterval on a client using pubsub features, the client errors out and returns Error: Cannot send commands in PubSub mode. This is incorrect because PING is one of the allowed commands on a PUBSUB channel.
Environment:

Node.js Version: v18.12.0
Redis Server Version: 6.2.7
Node Redis Version: 4.5.1
Platform: macOS 13.0.1 (22A400)

Duplicate of #2345
See this comment


[Feature] Add more FAQs

Description
I will add more FAQs which will give more assurance to the users and will also help them . I would use correct grammar so that my issue do not conflict with the issue #193.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.
[X] I want to work on this issue.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Please assign this isssue to me, I will add valuable questions which will help users and increase user experience.

hello @CSEdgeOff ,I would like to contribute it under GSSoC'24. Please assign this task to me. As I worked as a BA intern in an organization, I guess I better know what the FAQ can be that will help users to understand the flow of the website.


Control render errors and check imports correctly

SASS render function returns a result with the includedFiles into a “stats” object. This is an array width all file paths.
checkImports function need a new parameter with the css time to compare it.
Additionally, check the error when SASS renders and call a new error function that user can be passed into options object.

LGTM! :+1:
//cc @keithamus

@PauCodina would you kindly write some tests for this?
Otherwise LGTM, but the codebase has kind of left my brain so someone who has looked at this more recently might have some opinions.

Here you go!
A little test for dependence recompilation

:tada:


Fix alias documentation

Change Summary
Fix the note in the Alias documentation.
Related issue number
None.
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review


IntersectionWith error when lines are parallel

Hi,
If you try to get intersection of 2 parallel lines, it will crash with a "NullReferenceException".
In method "IntersectionWith" of Line3d (line 258) :
Point3d p = l.PerpendicularTo(this);
"p" is null and it's not checked in the following line.
[compiled on net7.0 (C# 11.0)]
Best regards,
Jonathan

Thank you! Fixed in latest release.


something wrong with my transaction

hi! i use the http rpc to send transaction to local node. in the documentation https://developers.eos.io/eosio-nodeos/v1.2.0/reference ,it seems i need to use sign_transaction to have the signed transaction first ,but this method is deprecated in v1.2.0. i got the signed transaction,and this transaction can be sent to node. but when i get this transaction from chain,its  actions part is like this:
"actions": [{
          "account":` "eoscrctest12",
          "name": "transfer",
          "authorization": [{
              "actor": "eoscrctest12",
              "permission": "active"
            }
          ],
           "data": "2042c62aa38b30550000000084ab32dd102700000000000004535953000000000f746869732069732061207465737421"
        }
      ]

and the receive account's balance did not changed.  how can i solve this?

you should use push_transaction after using sign_transaction.

you should use push_transaction after using sign_transaction.

i have done that ,and the transaction has been contained in a block ,but when i get it from the chain, i get the abnormal output like above. normal tx like this:
"actions": [
        {
          "account": "eosio.token",
          "name": "transfer",
          "authorization": [
            {
              "actor": "marekvrba111",
              "permission": "active"
            }
          ],
          "data": {
            "from": "marekvrba111",
            "to": "eosbetdice11",
            "quantity": "40.0000 EOS",
            "memo": "90-marekvrba555-"
          },
          "hex_data": "104230e76ea8ae911082422e65753055801a06000000000004454f53000000001039302d6d6172656b767262613535352d"
        }
      ]

It seem nodeos can't get your abi, so it have not unpack data.

@firesWu  how can i fix this,do i need to add some config or what?  i am new to this,can u explain it a little more?

looks like the corresponding abi of eoscrctest12 is missing.

We haven't received any follow up from this.

If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bugs reporting and features tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!


Add MathChain SS58 address type

Taking 39 and 40 for mathchain mainnet and testnet
Signed-off-by: lei dongliang<EMAIL_ADDRESS>

Please make your pr against this file: https://github.com/paritytech/substrate/blob/master/ss58-registry.json

Please make your pr against this file: https://github.com/paritytech/substrate/blob/master/ss58-registry.json

Please make your pr against this file: https://github.com/paritytech/substrate/blob/master/ss58-registry.json

new pr at 7158, thank you!


Bugfixes from Fairseq integration

Divide grads in-place after end of accumulation steps
Constrain atomic_bsz by the user-provided limits before evaluating candidates. This fixes the buggy case of atomic_bsz_range=(B, B) used for achieving accumulation w/o batch scaling.
Additional Tensorboard logging
Use proper device for pinv

Codecov Report

Merging #129 (b5595d3) into master (3453440) will decrease coverage by 0.16%.
The diff coverage is 45.45%.

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
- Coverage   61.38%   61.22%   -0.17%
==========================================
  Files          32       32
  Lines        2530     2535       +5
  Branches      416      417       +1
==========================================
- Hits         1553     1552       -1
- Misses        896      901       +5
- Partials       81       82       +1

Impacted Files
Coverage Δ

adaptdl/adaptdl/torch/parallel.py
62.93% <0.00%> (-2.25%)
:arrow_down:

adaptdl/adaptdl/torch/gradient_noise_scale.py
78.36% <60.00%> (ø)

adaptdl/adaptdl/goodput.py
97.56% <100.00%> (+0.01%)
:arrow_up:

adaptdl/adaptdl/reducer.py
88.00% <0.00%> (-2.00%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Script Name wrapped although it has enough space

Like the image, script name should be in one line.

got it.

will fixed on next version

becuase i did't find API in temir, so there is no way to fundamentally solve this problem.
i expanded the width, maybe it will display correctly in most cases

If it could not showing correctly, PLEASE reopen it.


Normalization modes

Adding these normalization modes:

Sum: Ensure rows sum to 1000.
Reference Sample: Ensure rows sum to whatever the reference sample sums to. This should have as input the sample ID to use as the reference sample, but currently uses the first sample row.
Weight/Volume: Given a weight/volume column, scale each row so that each weight/volume is equal to 100. This should have as input the column name to use as the weight/volume for normalization, but currently uses the first metabolite column.

@subdavis and I talked a bit about this. It appears that only normalization will require inputs (not scaling or transformation), and that single input will for the foreseeable future be a single string. Right now I'd recommend just adding a single normalization_argument string field to the CSVFile model to support this, and passing this through the REST call to the normalize() function.

Taking a look at this now.


fix: Check for balances for address more often

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #6770
[x] Update the balance every 30 seconds

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary

🤖 Generated by Copilot at 9dc9b29
This pull request moves the multiple balance feature from the MultipleBalances component to the Navbar component and adds a timer to update the balance periodically. This improves the user experience and reduces the complexity of the MultipleBalances component.

🤖 Generated by Copilot at 9dc9b29

To show the user's balance in the navbar
We moved some logic from MultipleBalances far
We used a reactive timer
And a blockchain query primer
And cleaned up the timer when we left the car

Like a quickfix good

should it automatically update my transfer page balance if ? if yes, it didn't work
the balance from the sidebar was updated accordingly

if yes, it didn't work
the balance from the sidebar was updated accordingly

It periodically updates the balance
As I mentioned before it a good quickfix though we can use proper Talismans or RPC api to get realtime balance

if yes, it didn't work
the balance from the sidebar was updated accordingly

It periodically updates the balance
As I mentioned before it a good quickfix though we can use proper Talismans or RPC api to get realtime balance

yeah, i waited for the 30 sec and the balance that shows on transfer did not update, only sidebar

if yes, it didn't work
the balance from the sidebar was updated accordingly

It periodically updates the balance
As I mentioned before it a good quickfix though we can use proper Talismans or RPC api to get realtime balance

yeah, i waited for the 30 sec and the balance that shows on transfer did not update, only sidebar

✅ Fixed.
It's related to another issue that the balance on the transfer page would not change any more, even though the balance on the global state has been updated correctly. Thanks for testing.

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 4.49 USD/DOT ~ 11.136 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x055549e1a6e5cf92aa611eef2faa6ee9f51615c7eea383a03cb9669fc9b57e2e
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Remove unnecessary exception throwing for settings update consumers

Signed-off-by: Daniel Widdis<EMAIL_ADDRESS>Description
sendAddSettingsUpdateConsumerRequest() was throwing an Exception (checked) for an empty map.  This required callers to handle the exception.
This was unnecessary as an unchecked IllegalArgumentException would have been a better type to use.  Actual exceptions during the call are handled by the response handler which logs them.
I went further and just ignored the empty map case and made it a no-op.  Happy to put an IllegalArgumentExxception back in if reviewers think it's needed.
Issues Resolved
Fixes #422. (After merge, will submit a PR on AD repo to take advantage of no need for handling.)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #435 (42e18cc) into main (92761d7) will increase coverage by 0.34%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #435      +/-   ##
============================================
+ Coverage     59.94%   60.28%   +0.34%
  Complexity      127      127
============================================
  Files            29       29
  Lines           699      695       -4
  Branches         15       14       -1
============================================
  Hits            419      419
+ Misses          272      268       -4
  Partials          8        8

Impacted Files
Coverage Δ

...main/java/org/opensearch/sdk/ExtensionsRunner.java
66.20% <0.00%> (+1.77%)
:arrow_up:

...ain/java/org/opensearch/sdk/SDKClusterService.java
100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


How to ensure using the same UUID and PARTUUID on each build?

Ask your question or provide your feedback
My Mariner build is intended to have multiple partitions. How can I ensure that, on each build, those partitions use the same PARTUUID and UUID instead of being randomly assigned? I would to use the PARTUUID as identifier for some auotmation
  "Partitions": [
                {
                    "Name": "boot",
                    "ID": "boot",
                    "Flags": [
                        "boot"
                    ],
                    "Start": 1,
                    "End": 400,
                    "FsType": "fat32"
                },
                {
                    "Name": "rootfs",
                    "ID": "rootfs",
                    "Start": 400,
                    "End": 1000,
                    "FsType": "ext4"
                },
                {
                    "Name": "data",
                    "ID": "data",
                    "Start": 1000,
                    "End": 0,
                    "FsType": "ext4"
                }

Thanks!

I don't believe we support that in the standard build tools, but we have a tool that can customize images rather than build them from scratch, which can modify partitions (https://github.com/microsoft/azurelinux/blob/3.0/toolkit/tools/imagecustomizer/docs/configuration.md#resetpartitionsuuidstype-string) @cwize1


remove duplicate code

It seems that get_rigging_home is duplicated.
https://github.com/alibaba/derrick/blob/fd7e5c102313a1a199686c423be595eabff07ef4/derrick/core/common.py#L63-L69

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #35 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage    55.4%   55.46%   +0.05%
==========================================
  Files          45       45
  Lines        1211     1208       -3
==========================================
- Hits          671      670       -1
+ Misses        540      538       -2

Impacted Files
Coverage Δ

derrick/core/common.py
73.21% <ø> (+2.02%)
:arrow_up:

Continue to review full report at Codecov.

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


Deploy your Docker image to Kubernetes

As a developer
I need to containerize my microservice using Docker
So that I can deploy it easily with all of its dependencies
Assumptions

Create a Dockerfile for repeatable builds
Use a Python:3.8-slim image as the base
It must install all of the Python requirements
It should not run as root
It should use the gunicorn wsgi server as an entry point

Acceptance Criteria
Given the Docker image named accounts has been created
When I use docker run accounts
Then I should see the accounts service running in Docker


Support Falcon 180B

Motivation
Do you plan to add support for Falcon 180B?
Related resources
No response
Additional context
No response

Hi, thanks for your attention to lmdeploy
Yes. We'll start it next week. Stay tuned

贵司这么有钱，有资源部署？

LMDeploy中的PyTorchEngine可以部署Falcon模型


ABU: behaviour, strategy and implementation - week 1

🥚 Analyzing Functions:

You can analyze a function written at or near your level. This includes:
[x] Behavior: How would you document the function, what test cases does it pass, and how might you use it in a program
[x] Strategy: Roughly, how could you translate this solution to pseudo-code.
[x] Implementation: What language features were used, and what are some alternate language features that could be used
🥚 Testing Existing Functions:
[x] You can write unit tests for a working function using the describe/it/expect().toEqual() syntax. This includes grouping test cases into logical test suites.
🥚 Function Design:
[x] You can explain the function-design process and can successfully apply it to write 2+ solutions matching the behaviour of a given function (assuming the behavior is at your level). The solutions do not need to implement different strategies, consider edge cases, or check for invalid arguments.
🥚 Generating Documentation:
[x] You can write a correct JSDoc for your functions and use a provided script to generate markdown documentation in a separate file.
🐣 Declarative Programming:
[x] You can explain how Declarative Programming is different from Imperative programming
[x] Tell which paradigm is used in a program.
[ ] Use built-in JS methods to write Declarative solutions to simple coding challenges.
🐣 Array Strategies:
[x] You can determine which of the primary array strategies (map, filter, reduce, every, some) are helpful for a specific problem at your level.
🐣 Higher-Order Functions in Array Methods:
[x] You can explain how a higher order function works, and write a callback for use in the primary array methods (for a problem at your level).
🐣 Prototype Delegation:
[ ] You can inspect a JS value in the browser's debugger/console
[ ] Explain how to find which methods are available for that value.
🐣 Nested Data:
[ ] Given a nested data structure containing arrays, objects and primitive values, you can 1) access a given value 2) update a given entry 3) filter the data
🐣 Test-Driven Development:
[ ] You can write basic unit tests for a problem you understand without having a solution to validate your tests.
[ ] Use your tests as a guide to develop a solution. You do not need to consider edge cases or invalid arguments.
🐣 Fuzz Testing:
[ ] You can interpret random test cases for a challenge to guide your development of a solution.
🐣 Testing Side-Effects:
You can write a suite of unit tests to ensure that:
[ ]  function does not modify it's reference-type arguments
[ ] The function returns a new array/object.
🐣 ECMAScript Modules:
[ ] You can use export const functionName = () => {}; and import { functionName } from './file-name.js' syntax to separate unit tests from the function definition.
🐣 Continuous Integration:
[ ] You can check CI scripts locally to ensure your code will pass CI checks when it is pushed
[ ] Read CI results when conducting a code review.
🐣 Code Review:
[ ] You can use a provided checklist and passing/failing CI checks to review a classmate's function (given the solution is at your level).
🐥 Code Coverage:
[ ] You can explain what code coverage is, why it's important
[ ] Write unit tests for a code challenge with 100% coverage.
🐥 Testing Edge Cases:
[ ] You can identify and write unit tests for tricky edge cases.
🐔 Writing Guards:
[ ] You can write guards for your function parameters that enforce the function's documented parameter types.
🐔 Testing Guards:
[ ] You can use expect(() => ).toThrow() to unit-test your guards' error type and message.

Useful Pages I used

programiz
codecademy

Week 13
Check-In
I Need Help With:
What went well?
I completed about 20 exercises in different ways. I learned how to write functions in more than one template.
What went less well?
Time management didn't go well because my work and also my family. But I tried my best.
Lessons Learned

Funstions
Arrays

Sunday Prep Work

Practicing

What went less well?
Time management didn't go well because my work and also my family. But I tried my best.

We understand. And you are doing very well. Let us know if there is any way we can help!

Thanks @gelilaa  :)


Get shareable link not working.

When I click get shareable link, its nothing happen.

Thank you for creating the first issue in my repository.
I have to say sorry that all feature is not complete yet, like the shareable link, move file, permission. Whenever I will get time I will complete those features.
I hope you will get in touch and keep giving feedback.
Thanks

ok, no problem.

Hello, I would like to contribute to the project and maybe help with the shareable link functionality. Would it be ok if I tried to resolve this issue ? If yes I sure could use some info about how it functions so far and whatnot. Thank you :)

Hello @tonyanant
you are welcome to contribute to my application. at this moment I have done 70% of shareable link feature. in a fresh pull, you will see the shareable link is generating in the modal. now I need a page where the shareable file will show in frontend. I have created the page just need the design and fetch data in the controller.  if you are able to do, you are welcome.

Great, thank you! I will ge to to it then. Just one last question though: How is the page you created called and have you also created a route and a view  for this page ? Thanks in advance!


⚠ Bofrost.es has degraded performance

In c7a2b80, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1491 ms

Resolved: Bofrost.es performance has improved in 4a30927 after 6 minutes.


[Extension][Monster Lobby] Connection violates document's Content Security Policy

Don't know why this is occurring, but it's happening constantly. This leaves the lobby UI saying "SYSTEM Initiating connection."
Refused to connect to 'http://<IP_ADDRESS>:3900/pollen/76561197996863758' because it violates the following Content Security Policy directive: "connect-src 'self' https://steamcommunity.com http://steamcommunity.com https://api.steampowered.com/ http://steamapi-a.akamaihd.net/ https://steamapi-a.akamaihd.net/ http://cdn.akamai.steamstatic.com/ https://cdn.akamai.steamstatic.com/ https://steamcdn-a.akamaihd.net".
XMLHttpRequester.request @ MonsterLobby.user.js:131
codetorex.github.io/SteamMonsterLobby/MonsterLobby.user.js:131 Uncaught SecurityError: Failed to execute 'open' on 'XMLHttpRequest': Refused to connect to 'http://<IP_ADDRESS>:3900/pollen/76561197996863758' because it violates the document's Content Security Policy.

The issue is still there.
OPTIONS http://<IP_ADDRESS>:3900/pollen/76561197974829130 net::ERR_CONNECTION_REFUSEDXMLHttpRequester.request
@ MonsterLobby.user.js:133PollenClient.request
@ MonsterLobby.user.js:201(anonymous function)
@ MonsterLobby.user.js:214
XMLHttpRequester.request.xmlhttp.onerror
@ MonsterLobby.user.js:128

Try click the refresh button on the extension page (for the extension)

this comment isn't helpfull and its even not related to the issue.

your comment itself is not related to the original. the original is due to content security policy, yours is due to the server just being down. please think again! :)

also, my comment is related to the issue as that was what i had done to fix it on my end (if you had recently updated the extension, it needed to be reloaded.)

I also have this issue. I am running chrome Version 44.0.2403.52 beta-m (64-bit)

With the newest version of the script (1.5.1) I am no longer having this issue. Be sure to update your extensions!

still getting this.

It should be declared here:
https://github.com/wchill/steamSummerMinigame/blob/master/chrome_extension/manifest.json#L34
but I don't get it.

@LeonardKoenig delete the extension completely and then install 1.5.1. Delete the extension from chrome and delete the folder that contains the file. That is how I fixed it.

This is a weird solution, didn't work for me anyway.

I know why it won't work with with declaring it in the manifest.js now, I guess. The script tha tries to connect to
http://<IP_ADDRESS>:3900/pollen/*
is not part of the extension as it is loaded from a website itself, too.

chrome_extension/js/background.js#20 seems to not work

We are unable to reproduce.

I have made another issue (referenced) as this one is closed. I will post updates there (eg. my specs).


Clean up types and drop an unused variable

Fixes #1174

[x] Variable added_fnames in cmd_add was only modified, never read
[x] expand_subdir() yielded both Paths and strs. There are now a bit of hints which I used to verify with Mypy that the types are correct. I also managed to avoid some back-and-forth str<->Path conversions by changing which ones are stored in some variables.
[x] correct type(...) == <SomeClass> to  type(...) is <SomeClass>
[x] use raw strings when the string contains backslashes (r"\windows\__init__.py") so Python doesn't try to interpret \w as a control character

Thanks for your interest in aider. I'm not currently looking to add types to this codebase. So it's tricky and time consuming for me to review a PR with all sorts of type annotations.

Thanks for your interest in aider. I'm not currently looking to add types to this codebase. So it's tricky and time consuming for me to review a PR with all sorts of type annotations.

Fair enough, I now reverted the addition of type hints in this PR.

(Regarding type annotations, #1217 (Gradual typing) would remove the need to review type annotations by running Mypy to check them automatically – also the Mypy configuration in #1217 is such a minimal one that the current code base passes the check with virtually no modifications.)

Thanks for this. Nice cleanups.


Update PHP-FPM and Varnish to use Centos8 Base Images

Upstream PHP images are being updated to build atop a EL 8 vs EL 7: https://github.com/davidalger/docker-images-php/pull/6
IUS repositories will no longer be present in upstream base images (as of this writing they were only used to install newer versions of Git and MariaDB which were not available in EL 7 repositories)
Git 2.27 is installed from EL 8 repositories vs Git 2.22 (git222 from IUS)
MariaDB 10.3 client is installed from EL 8 repositories vs MariaDB 10.2 client (mariadb102 from IUS)
The newer curl library in EL 8 will now allow constants for newer curl library features to be used in PHP code (see https://github.com/davidalger/docker-images-php/issues/5 for details)

Testing these has involved building the images from the upstream PR to provide EL8 base php images and then:
./images/scripts/build.sh php-fpm
./images/scripts/build.sh php-fpm/magento2
./images/scripts/build.sh varnish

Once the images are built locally, used a copy of this template to launch a Magneto 2 environment (without pulling during bootstrap to ensure locally built images are used):
warden bootstrap --clean-install --no-pull

After this completes, verify the application is working and operational in a browser, and verify /etc/os-release correctly report use of CentOS 8 vs CentOS 7.

LGTM, have been using this configuration for several weeks now!

Now that the upstream php-fpm images are rebuilt on CentOS 8, I did a few things today to test this as well and everything appears to be A-ok.

Rebuilt the images here on EL 8 base images: https://github.com/davidalger/docker-images-magento
Launched an M2 Demo instance using these pre-built init images leveraging the project here: https://github.com/davidalger/m2demo/ via warden bootstrap --no-pull
Created a from-scratch Magento 2.4 installation using my project template (https://github.com/davidalger/warden-env-magento2) and warden bootstrap --clean-install --no-pull
Created a from-scratch Shopware 6 environment and installed with sample data successfully.

In each case I double checked I was working with EL 8 images by running warden shell and then cat /etc/os-release
Going to get this merged as soon as I can write up a change log entry and upgrade notes regarding this given it is a rather larger change.


No need for a Makefile

Literally every LaTeX distribution comes with a small script latexmk which is already capable of doing everything in your Makefile.
Build (makes all the necessary runs and figures what is needed by itself):
latexmk --xetex --pdf or latexmk --lualatex --pdf
Clean temporary files:
latexmk -c
Clean both temporary and output files:
latexmk -C

Sure, migrated to latexmk in 6750404db703fc478682dc5212fab818a7eaa59b. Thanks for the suggestion.

Just in case someone doesn't have latexmk in their distribution, add it to Dependencies section.

Added in 510270156cbd9503a8b9f4a135abf65308646cad.


Add GetMempoolTx() gRPC

Argument will be a list of txids, return a stream of compact transactions. The lightwalletd must be connected to a synced zcashd.
Requirements:

[x] Ability to stream transactions
[x] Ability to acquire the diff of transactions in the mempool

TODO on Future Tickets:

Constant size chunking of requests

@LarryRuane why does this not have the same metadata leakage problems I described in https://github.com/zcash/lightwalletd/issues/169 ?

Kevin and Pacu need to try it out and make sure it works as expected before we mark it as done.

Kevin and Pacu will review this before merging, may not get to testing before merging.

These changes to not modify existing functionalities and is pretty safe to merge (Larry has tested it). Kevin and Pacu will not likely have time in recent weeks, so let's go ahead and merge it.


Loosen boto version constraints to include Lambda

Is your feature request related to a problem? Please describe.
I want to use awswrangler with the version of boto3 and botocore that's installed in Lambda functions.
awswrangler is a large library. I also need to install other libraries in my lambda. I can't fit them all in. But Lambda comes with boto3 and botocore already, which don't count to the size limit. So I want to use those versions of boto3 and botocore, instead of duplicating those with slightly different versions.
Today, the versions of boto3 and botocore in AWS Lambda are boto3-1.20.32 and botocore-1.23.32. The latest version of awswrangler is  2.19.0. (I want a feature that didn't exist in earlier versions of awswrangler.)
If you try to pip install these together, it doesn't work.
$ pip install botocore==1.23.32 awswrangler==2.19.0
Collecting botocore==1.23.32
  Using cached botocore-1.23.32-py3-none-any.whl (8.5 MB)
Collecting awswrangler==2.19.0
  Using cached awswrangler-2.19.0-py3-none-any.whl (267 kB)
Collecting urllib3<1.27,>=1.25.4
  Using cached urllib3-1.26.14-py2.py3-none-any.whl (140 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting jmespath<1.0.0,>=0.7.1
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of botocore to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install awswrangler==2.19.0 and botocore==1.23.32 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested botocore==1.23.32
    awswrangler 2.19.0 depends on botocore<2.0.0 and >=1.27.11

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

The boto3 and botocore dependencies of awswrangler are defined here:
boto3 = "^1.24.11"
botocore = "^1.27.11"

Why are they those values?
Realistically, not much changes between boto3 and botocore versions. Will awswrangler still work with those slightly older versions?
Describe the solution you'd like
The boto3 and botocore version constraints in pyproject.toml should be loosened to include the versions in the lambda docs here.
Describe alternatives you've considered
I could install duplicate copies of boto3 and botocore in my lambda. That would increase total size above the size limit for lambda zip files.
I could switch to deploying lambda as docker images not zips, which have a larger size limit. But then I lose the ability to use Lambda Layers for my project's shared libraries.
I could use the layer for awswrangler that is already provided by AWS, but then I'd lose the ability to do local unit testing with exactly the files that will be deployed.

I just ran the moto tests with the lambda versions of boto3 and botocore. The tests passed. So the version doesn't need to be as recent as it is in the requirements.

@mdavis-xyz I think it's a reasonable request. @cnfait I see we increased the lower constraint of boto and botocore in your PR do you recall the reason for that (maybe redshift data api support) ?.

There are a number of APIs that require later versions of botocore/boto3 to work. Examples include the Redshift API, Glue Data Quality, Opensearch Serverless and a few more. Our moto tests do not cover those.
My only worry about lowering the constraint is that it might represent a breaking change. Say I am using the Glue Data Quality feature in 2.19.0. I upgrade to 2.20 and pip resolves boto3/botocore to a lower version that does not cover that feature then my scripts would start failing for no good reason.

pip resolves boto3/botocore to a lower version

Why would it do that?
Doesn't pip just maximise versions within the constraints, and we're not changing the upper constraint.

It would do it if the user is trying to install another package besides awswrangler which is constraining the upper version of boto3/botocore. As it's now, it would raise an error as it did for you, but would happily oblige if we lower our constraint.

Having an error where botocore is too low a version, so the user just increases it themselves, sounds like a far better situation for the user than a pip install error refusing to install what they want.
This wouldn't even be a new problem. The current constraints in pyproject.toml are

boto3 = "^1.24.11"
botocore = "^1.27.11"

That includes 162 versions of boto3, and about the same again for botocore. So there are 26 thousand combinations of just those two libraries, compliant with pyproject.toml. You don't currently test all those combinations. Theoretically someone could install awswrangler and another library, and end up with a pair of those that you haven't tested. That's the same issue.
This library already allows a range of boto* versions, not an exact version. Expanding that range doesn't change anything qualitatively, it just expands the risk that's already present.
You could just pin the exact version of boto3 and botocore that you test. But if every library did that to their dependencies, it would be impossible to install any non-trivial dependency tree. In my view libraries should have dependencies as loose as possible, and only applications should have narrow dependencies. This library should have the version constraint set to one above the highest version of boto* that's known to not work, not the lowest version of boto that is known to work.
If the concern is that in the future this library will start to use a feature that's not in the lower version, well can we mitigate that by just running the CICD tests with the lowest versions of botocore and boto3? (And not testing the 26 thousand combinations in between.)
What's the current approach for choosing the existing version constraints? Won't it remain the same?

Latest release (3.0) pins boto3 and botocore to the lambda equivalent versions. Closing as a result


feat(typography): prefix change

Describe pull-request
Updated prefixes in typography to tds, updated to stories to correspond with the new prefix.
Solving issue
Fixes: https://tegel.atlassian.net/browse/DTS-1613
How to test

Check out the branch and run storybook locally.
Check in Foundations ->. Typography
Check that the fonts are correct.

Note: This does PR does not update any components using our css-variables.

Weird, no deploy preview? Or am I blind?

Weird, no deploy preview? Or am I blind? Cos we are not basing this branch on main?

Yeah exactly, only main branch getting the preview


CORE-10051: remove HSMServiceImpl OSGi, and rename to TenantInfoService (step 3 v2)

CORE-10051: remove HSMServiceImpl OSGi, and rename to TenantInfoService
Remove hsmId whereve rpossible, since it only ever has one value ("SOFT")
move CryptoService to from libs/crypto/cipher-suite to  libs/crypto/crypto-core so that it can use declarations in crypto-core

This is inevitably going to impact the "crypto" code in the driver. Can we merge #4251 and #4254 before this one please? Then I can merge release/os/5.1 into the feature/flow-testing branch and defer updating the driver's crypto integration until you have completed your changes.

This is inevitably going to impact the "crypto" code in the driver. Can we merge #4251 and #4254 before this one please? Then I can merge release/os/5.1 into the feature/flow-testing branch and defer updating the driver's crypto integration until you have completed your changes.

These are both merged now.


:sparkles: Create rough draft of map

Fixes #309  #311

You also need to change the curate in Gene and CellMarker:

https://github.com/laminlabs/bionty/blob/main/bionty/entities/_gene.py#L68
https://github.com/laminlabs/bionty/blob/main/bionty/entities/_cellmarker.py#L50

Because of the synonym mappings (sorry duplicated code, will need to refactor)!


Ensure time fields are strings

The DSSAT dates are year then day of year as one int such as 2021130. Mixmasta uses strptime() to generate an epoch time stamp, but strptime() expects a str, not an int. Therefore, Mixmasta fails here. We must update Mixmasta to check the type of the time fields before using strptime().

fixed for time fields


Update storage to use storage blob sdk v10

Blocked by storage v10 sdk breaking change. https://github.com/Azure/azure-storage-java/issues/389

Upgraded to v12.0.


Files unreadable "We can't open this file."/"this is not a valid bitmap file" chan.sankakucomplex.com

What steps will reproduce the problem?
Attempting to download from chan.sankakucomplex.com
What is the expected behavior? What do you get instead?
All images are saved within the right location but all have a filesize of 154Bytes
Every file is also a .jpg, not sure if that means anything.
How often does this problem occur? On which sources?
Any time I attempt to download from chan.sankakucomplex.com, may also happen on idol.sankakucomplex.com but haven't checked!
When opened with notepade this is what's displayed.

<title>302 Found</title>

302 Found

nginx

What version of the program are you using? On what operating system?
Version 5.5.0

Looks like combination of https://github.com/Bionus/imgbrd-grabber/issues/1038 and https://github.com/Bionus/imgbrd-grabber/issues/997 issues, lol

Sankaku has indeed purposedly broken its Grabber integration.
Closing for duplication, see the other issue. :+1:


Histograms as first-class metrics

@beorn7 do you want to write down / link your braindump in here? We should discuss this and make a deliberate decision either way.

Slide deck from Prometheus dev summit.
Discussion on<EMAIL_ADDRESS>This has a lot of crosslinks with the protobuf vs. text format discussion.

Ties in with #4 and I'd definitely like to see this along with extensibility. Storing associative histos, digests and sketches will be really important.

This issue is about fixed bucket histograms that we have for Prometheus. If you want types beyond that, I'd suggest opening a new issue. See also #27

Then I'll +1 this saying that bucketed histos should be a first-class metric.

Consensus: There will be a distribution point of some sorts.

At the risk of being pedantic, I think we should be certain refer to this as a distribution. A histogram is the visual representation of a distribution, not the data itself.


Does not compile on VS 2012 with treat warnings as errors, maximum warning level

I've now updated the code to support /wx /W4


Fix pip version

When using Pipenv pip version is automatically set to ancient 9.0.2

I should probably stop watching this repository. 🤣