Regression in 4.9.1 – Cannot find module (…) Did you mean to import "….js"?

Acknowledgements

[X] I read the documentation and searched existing issues to avoid duplicates
[X] I understand this is a place to report a confirmed bug (not seek debugging help)
[X] I understand this is a collaborative open source project, and relies on community contributions
[X] I have read and understood the Contribution guide

Minimal reproduction URL
https://stackblitz.com/edit/node-ztssub
Version
v4.9.1
Node.js version
v20.12.2
Package manager
pnpm
Operating system
macOS
Problem & expected behavior (under 200 words)
node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/typeofweb/…/node_modules/next/cache' imported from /Users/typeofweb/…/src/lib/stripe/stripe.ts
Did you mean to import "next/cache.js"?
    at finalizeResolution (node:internal/modules/esm/resolve:265:11)
    at moduleResolve (node:internal/modules/esm/resolve:933:10)
    at defaultResolve (node:internal/modules/esm/resolve:1157:11)
    at nextResolve (node:internal/modules/esm/hooks:866:28)
    at S (file:///Users/typeofweb/…/node_modules/.pnpm/tsx@4.9.1/node_modules/tsx/dist/esm/index.mjs?1714890869622:2:2951)
    at nextResolve (node:internal/modules/esm/hooks:866:28)
    at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
    at handleMessage (node:internal/modules/esm/worker:196:24)
    at Immediate.checkForMessages [as _onImmediate] (node:internal/modules/esm/worker:138:28)
    at process.processImmediate (node:internal/timers:478:21) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///Users/typeofweb/…/node_modules/next/cache'
}

Contributions

[ ] I'm interested in working on this issue
[X] I'm willing to offer financial support

:tada: This issue has been resolved in v4.9.3
If you appreciate this project, please consider supporting this project by sponsoring :heart: :pray:

Thanks for offering financial support! Would love to have you as a sponsor 🙌


Add empty Tags to ec2 node if none returned from service

The front end assumes that EC2 always returns Tags, but the service will only return this in the Instance description if any tags have been set. This causes an error to appear in the browser console.
Make sure that the node discovery lambda adds an empty Tags to the EC2 Instance description when none have been returned, as is done for other services, to keep the front end sweet.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you @davemevans for your input. We will consider your feedback and have added this request to our backlog for this solution.

PR implemented in v1.13.0


Upgrade from 1.20.0-rc0 to 1.20.0 fails: Deprecated fallback present

Description
I just did a docker pull of :latest and docker-compose down/up the container and I get this.  I was able to resolve by pinning it to 1.20.0-rc0 but 1.20.0-rc1 and rc2 failed as well as :latest which is currently 1.20.0.
Attaching to gitea_web
gitea_web              | 2023/07/16 22:51:24 ...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run a
s root. Sorry. If you need to use privileged TCP ports please instead use setcap and the cap_net_bind_service permission
gitea_web              | Server listening on :: port 22.
gitea_web              | Server listening on <IP_ADDRESS> port 22.
gitea_web              | 2023/07/16 22:51:24 ...g/config_provider.go:327:deprecatedSettingFatal() [F] Deprecated fallback [serv er] LFS_CONTENT_PATH present. Use [lfs] PATH instead. This fallback will be/has been removed in v1.19.0
gitea_web              | Received signal 15; terminating.
gitea_web              | 2023/07/16 22:51:24 ...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run a
s root. Sorry. If you need to use privileged TCP ports please instead use setcap and the cap_net_bind_service permission
gitea_web              | Server listening on :: port 22.
gitea_web              | Server listening on <IP_ADDRESS> port 22.
gitea_web              | 2023/07/16 22:51:25 ...g/config_provider.go:327:deprecatedSettingFatal() [F] Deprecated fallback [serv er] LFS_CONTENT_PATH present. Use [lfs] PATH instead. This fallback will be/has been removed in v1.19.0
gitea_web              | Received signal 15; terminating.
gitea_web              | 2023/07/16 22:51:25 ...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run a
s root. Sorry. If you need to use privileged TCP ports please instead use setcap and the cap_net_bind_service permission
gitea_web              | Server listening on :: port 22.
gitea_web              | Server listening on <IP_ADDRESS> port 22.
gitea_web              | 2023/07/16 22:51:25 ...g/config_provider.go:327:deprecatedSettingFatal() [F] Deprecated fallback [serv er] LFS_CONTENT_PATH present. Use [lfs] PATH instead. This fallback will be/has been removed in v1.19.0
gitea_web              | Received signal 15; terminating.
gitea_web              | 2023/07/16 22:51:26 ...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run a
s root. Sorry. If you need to use privileged TCP ports please instead use setcap and the cap_net_bind_service permission
gitea_web              | Server listening on :: port 22.
gitea_web              | Server listening on <IP_ADDRESS> port 22.
gitea_web              | 2023/07/16 22:51:26 ...g/config_provider.go:327:deprecatedSettingFatal() [F] Deprecated fallback [serv er] LFS_CONTENT_PATH present. Use [lfs] PATH instead. This fallback will be/has been removed in v1.19.0
gitea_web              | Received signal 15; terminating.
Gitea Version
1.20.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
1.20.0
Operating System
EL8
How are you running Gitea?
docker
Database
None

The error message tells you explicitly what you need to do:

Deprecated fallback [server].LFS_CONTENT_PATH present. Use [lfs].PATH instead. This fallback has been removed in v1.19.0

So, go to your app.ini and change that.

same

Same issue as above in regards to updated Docker

Just also reproduced this -- pulling the 1.20 container breaks, whereas pinning to 1.20.0-rc0 makes it work again. So something screwed up in the built container.

what a weird change

That fix does not work if you use the default container with no custom app.ini.

Working after deprecated configuration update.

The cause and the solution is clear, but the container image just isn't up-to-date ;-)

Yes. This warning is explicitly meant to notify admins that such config options no longer have any effect.
This prevents the situation that settings are no longer in effect that admins thought they set.
That's why this warning is crashing Gitea as intended when the setting is present.
After all, there are three ways to handle breaking config changes (that I see as viable):

Annoy admins slightly whenever they upgrade to fix their now outdated config to keep up to date
Carry old config options for quite a while and annoy admins a lot by removing all legacy options for several releases at once
Carry all old config options forever, and make the code effectively unmaintainable and unpredictable

Gitea currently chooses option 1..
I didn't go into detail about this error message previously in this issue as I thought my previous comment would suffice to let you know what happened, and how you can fix it.
Apparently I was wrong here. Sorry about that.
Regarding the Docker users:
If I've understood it correctly, there seems to be another issue in that the default Docker file comes with an app.ini that still sets a removed setting, right?
If that's the case, then that's a bug we should fix.

Regarding the Docker users:
If I've understood it correctly, there seems to be another issue in that the default Docker file comes with an app.ini that still sets a removed setting, right?
If that's the case, then that's a bug we should fix

That’s my exact scenario, my docker-compose has no app.ini supplied and the /data directory is just set to a docker volume.

What config option is breaking the docker container exactly?

I guess the old app.ini in the docker container has to be manually edited. I rolled back the docker container to version 1.20.0-rc0 to be able to boot it up, then went into it via a console and manually added the [lfs] section and moved the PATH there while removing it from the [server] section. Now I am able to update and use the current docker image.
[lfs]
PATH=/data/git/lfs
[server]
APP_DATA_PATH=/data/gitea
...
LFS_START_SERVER=true
LFS_JWT_SECRET=xxx

You can edit the files in the volume even if the container is not running.

Does LFS_START_SERVER and LFS_JWT_SECRET still belong in the [server] section?

What config option is breaking the docker container exactly?

The setting is there for containers that have been created before the setting was removed. I finally found /var/lib/docker/volumes/gitea_gitea/_data/gitea/conf/app.ini. I removed the setting and now I can start the container.

changing app.ini didn't help. going back to 1.18.0 did :(

Why not?
Were there additional fatal warnings?
Or did you modify the wrong config file?

I think this could be closed since #26094 merged which will be in the following v1.20.2 after #26154 merge.


Using it with Xlabs IPAdapter & Controlnet

Hi, are we able to use it together with IPAdapter & Controlnet from Xlabs?

yes,I try and they can be used together

yes,I try and they can be used together
May i get your workflow, i try it but cant get a good result
workflow_api (17).json

yes,I try and they can be used together
May i get your workflow, i try it but cant get a good result

the author of the repo is still working on the part of attention mask ,so multiperson pulid does't work properly(only one face effects)

Yes, I kept the ControlNet hook untouched so it can work with it.
I have also a very early working prototype of the masking feature ready, but it need's some more time to be published. (need make more overrides so I can get to the original latent size => and I want to use the ModelPatcher patch / unpatch feature so it can be detached from the graph when needed).


Update to CycleCloud 8.3

Note : When upgrading an existing CycleCloud VM, please upgrade each cluster from the CycleCloud UI by terminating clusters, upgrading and the start the cluster. Be aware that nodes will be deprovisioned, and job failed.

close #1201


JSON support

Currently missing from plugin
Can't do much

Just use @startjson and @endjson inside the uml code


Feedforward is deprecated? Module needs shapes while binding. How can we do it without shapes?

I tried mx.mod.Module but it takes arguments such as data shapes when binding.
In feed forward we didn't need data shapes. What if i dont know the data shapes??
How can I incorporate Module?
Originally posted by @vizakshat in https://github.com/apache/incubator-mxnet/issues/5394#issuecomment-495936386

@mxnet-label-bot add [question]

Set some shape first, and it can be changed accord to the given data later.


Add JS_ThrowPlainError

It's a helper for doing the following steps:

Building an Error object
Attaching a formatted message
Throwing the object

Fixes: https://github.com/quickjs-ng/quickjs/issues/375

Updated!


NO-JIRA: Ensure VolumeSnapshots are deleted during cloud resource cleanup

VolumeSnapshots are similar to PVCs in that they consume persistent cloud resources. If we're going to clean up PVCs, then it seems to make sense to cleanup VolumnSnapshots as well.

/lgtm


STORM-2293 hostname should only refer node's 'storm.local.hostname'

Please refer STORM-2293 for more details.

+1


fix fvg for clm45

@gmao-jkolassa Do you think this is a bug fix?

After I made such fix, getids does not converge any more. That means this line will not jump out and keep looping
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/46010ac6324d04d895881ed7e4aefa305916f830/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/mk_restarts/getids.F90#L331
That makes me wonder why clmc45_xxx are calculated but never used.  Has  this bc file been verified?
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/46010ac6324d04d895881ed7e4aefa305916f830/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/mk_restarts/mk_GEOSldasRestarts.F90#L1444
@gmao-jkolassa @gmao-rreichle

@weiyuan-jiang Thanks for looking into cleaning this up. I think I mentioned this already in a previous thread when we talked about this part of the code, but the use of the file CLM4.5_veg_typs_fracs is obsolete. CNCLM40 and CNCLM45 were initially supposed to have different plant functional type (PFT) distributions, hence the reason why different files were read. At some point the decision was made to use the same PFT distribution for both models, which is why the code was changed to only pass the variables called CLMC_XXX (and not CLMC45_XXX). The read statements for CLM4.5_veg_typs_fracs and the treatment of the variables called CLMC45_XXX was just never cleaned up in the process.
This means that the parts of the code that read CLM4.5_veg_typs_fracs and all calculations involving CLMC45_XXX are obsolete and can be removed. This also means that the bug fix you implemented is not needed, since ITY and FVG are the same for CNCLM40 and CNCLM45. Please let me know if any of this does not make sense!

@gmao-jkolassa Thanks for the clarification. I will clean that up in our new program.


Incorrect values on notifications

The plugin correctly shows Home, Away, and Off in the Home app. However, the notifications display the incorrect values for those statuses. I first noticed it in the Eve app when creating automations for SimpliSafe. Eve and the iOS notifications are showing "Armed to Stay" when the alarm is set to "Home" and there is also a "Night" listed in there as well which is obviously not an option to select for the alarm. It seems like there is old code in there somewhere from the plugin that this is based upon because that first plugin had a "Night" option for the alarm.
Here is an example of what the Eve app is showing. The Home app also shows "Stay" in notifications. It's also showing "Night" as an option in the plugin interface I'm using on Hoobs.

Hi @mjamison44 I dont what youre describing is a bug in this plugin but actually a shortcoming of Eve and HOOBS.
You are correct that by default HomeKit supports "Away", "Stay", "Night" and "Disarmed" for alarms but because SimpliSafe only has 3 alarm modes "Off", "Home" and "Away" (btw, the only officially HomeKit-supported alarm from Abode does the same thing), essentially "Night" and "Stay" are the same in this case—they both equate to SimpliSafe "Home". So it is in fact correct when the notification says "Armed for Stay" if you set SS to "Home". You can see the plugin translates SimpliSafe sensor state to these three. Moreover, this plugin correctly "tells" HomeKit that only these three states are supported, which is why the Home.app (again, correctly) shows only 3 options when you set the alarm, and it only shows three options if you setup an automation for the alarm.
Sooooo, the point is, I think it's the Eve app and HOOBS that are incorrectly "assuming" that there should be a fourth possible value for the alarm.
Unless I misunderstood, this hopefully answers your question. If so, please close this issue, otherwise let us know!

Are you saying that Hoobs is responsible for creating the iOS notification
for the Home app which shows “Stay” when armed to “Home”?
On Wed, Feb 26, 2020 at 7:37 PM Michael Shamoon<EMAIL_ADDRESS>wrote:

Hi @mjamison44 https://github.com/mjamison44 I dont what youre
describing is a bug in this plugin but actually a shortcoming of Eve and
HOOBS.
You are correct that by default HomeKit supports "Away", "Stay", "Night"
and "Disarmed" for alarms
https://github.com/KhaosT/HAP-NodeJS/blob/4e9b1e739be8a0365b4af44f2218104c3ea84306/src/lib/gen/HomeKit.ts#L2038
but because SimpliSafe only has 3 alarm modes "Off", "Home" and "Away"
(btw, the only officially HomeKit-supported alarm from Abode does the
same thing
https://www.reddit.com/r/Abode/comments/dzv1kp/abode_homekit_review/),
essentially "Night" and "Stay" are the same in this case—they both equate
to SimpliSafe "Home". So it is in fact correct when the notification says
"Armed for Stay" if you set SS to "Home". You can see the plugin
translates SimpliSafe sensor state to these three
https://github.com/nzapponi/homebridge-simplisafe3/blob/96b4485796a2922faab3db5886b4d93ff3698c2b/src/accessories/alarm.js#L20.
Moreover, this plugin correctly "tells" HomeKit that only these three
states are supported
https://github.com/nzapponi/homebridge-simplisafe3/blob/96b4485796a2922faab3db5886b4d93ff3698c2b/src/accessories/alarm.js#L44,
which is why the Home.app (again, correctly) shows only 3 options when you
set the alarm, and it only shows three options if you setup an automation
for the alarm.
Sooooo, the point is, I think it's the Eve app and HOOBS that are
incorrectly "assuming" that there should be a fourth possible value for the
alarm.
Unless I misunderstood, this hopefully answers your question. If so,
please close this issue, otherwise let us know!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nzapponi/homebridge-simplisafe3/issues/83?email_source=notifications&email_token=AOOASPMKOJXJR33NIGM5KVLRE4YRLA5CNFSM4K4SCIZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENCZQCA#issuecomment-591763464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOOASPM4HPU77WNJO4CW3FDRE4YRLANCNFSM4K4SCIZQ
.

--

Matt Parsons

No, I am saying that "Stay" when armed for "Home" is 100% correct, those are the same thing. And I am saying that HOOBS incorrectly shows you a button for "Night" when it should not. Home.app correctly does not show "Night".

Agree 100% on this. Why HOOBS and Eve are likely doing is the following: “hey, this is a Security System! The default states that HomeKit provides for security systems are Off, Stay, Night and Away, let’s just use those”, rather than checking if this specific system supports all of those. In fact, this plugin is actually telling HomeKit not to use the defaults since SimpliSafe doesn’t support them. It’s not an issue with the plugin..

On Feb 27, 2020, at 4:08 AM, Michael Shamoon<EMAIL_ADDRESS>wrote:

No, I am saying that "Stay" when armed for "Home" is 100% correct, those are the same thing. And I am saying that HOOBS incorrectly shows you a button for "Night" when it should not. Home.app correctly does not show "Night".
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Prevent setting frame of `MZFormSheetPresentationViewControllerCustom…

When we try to present any view controller over MZFormSheetPresentationViewController modally and using UIModalPresentationCurrentContext (so that modally presented controller have the same bounds as child view controller of MZFormSheetPresentationViewController has) after dismissing this modally presented controller the frame of the child view controller of MZFormSheetPresentationViewController is set to [UIScreen mainScreen].
To prevent this workaround is added like as it is done for UIModalPresentationFullScreen presentation style in the existing code.

Thanks ;)

Could you publish the 2.4.3. version in CocoaPods.


你好作者 i‘m your chinese user so this  article might looks weird，thanks for reading>W<

Here's the thing, I cracked the seed in the main world on the server, and then went to the Nether, and in the chat bar came out with "Get the hashed world seed", I very much need the server's nether seed to get the location of the structure to facilitate access to a lot of resources, the same is true of the End, so I started trying to crack the seed in nether, but the mod did not recognize the Nether fortress and Bastion, and the data of the weird fungus cap was not counted in the seed crack. In addition, I went to the End and continued to try to use the End Gateway and the End City to crack the End Seed separately, but this also came to no avail. If you could, many of the structures in the Overworld like villages, Estimated Ruined portals, ruins, mines, ancient cities, trail ruins and zombie villages, as well as the Nether fortresses and Bastion in nether, potentially count towards the data for finding seeds and would do a great job in more extreme seed cracks

可能我的这些请求很不切实际或难以实现,可是这会加快种子破解的速度与扩大使用场景

My requests may be impractical or difficult to implement, but this will speed up seed cracking and expand usage scenarios


Getting "NoMethodError: undefined method `[]' for nil:NilClass" when running "RAILS_ENV=production rails assets:precompile"

rails 5.1.4
ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-darwin16]
hyperloop (0.5.8)

Following instructions http://ruby-hyperloop.org/tutorials/hyperlooprails/productionmode/ to the letter.  I have just a basic Helloworld component.
applicaiton.rb:
    config.hyperloop.auto_config = false
    config.autoload_paths   -= %W(#{config.root}/app/hyperloop)
    config.eager_load_paths -= %W(#{config.root}/app/hyperloop)
    config.eager_load_paths += %W(#{config.root}/app/hyperloop/components)
    config.autoload_paths   += %W(#{config.root}/app/hyperloop/components)
production.rb
  config.assets.digest = true
  config.public_file_server.enabled = true
assets.rb
  Rails.application.config.assets.precompile += %w( react-server.js components.js )

Same error during Heroku deploys.  Running rails assets:precompile and rails s locally works.  Has anyone experienced this?  I would appreciate any guidance as I have been stuck on this for a long time.
Detailed error:
Compiling the system assets for hyperloop-loader-system-code
rails aborted!
NoMethodError: undefined method `[]' for nil:NilClass
/Users/dmitry/.gem/ruby/2.3.5/gems/hyper-operation-0.5.12/lib/hyper-operation/call_by_class_name.rb:57:in `method_missing'
/Users/dmitry/.gem/ruby/2.3.5/gems/hyperloop-config-0.9.11/lib/hyperloop/imports.rb:105:in `compile_and_compress'
/Users/dmitry/.gem/ruby/2.3.5/gems/hyperloop-config-0.9.11/lib/hyperloop-loader-system.js.erb:1:in `_evaluate_template'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:26:in `call'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/erb_processor.rb:13:in `call'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:23:in `block in call'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/utils.rb:200:in `dfs'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/bundle.rb:24:in `call'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in `block in find'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/Users/dmitry/.gem/ruby/2.3.5/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/task.rb:251:in `block in execute'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/task.rb:251:in `each'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/task.rb:251:in `execute'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'
/Users/dmitry/.rubies/ruby-2.3.5/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/task.rb:188:in `invoke_with_call_chain'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/task.rb:181:in `invoke'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:160:in `invoke_task'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:116:in `each'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:116:in `block in top_level'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:125:in `run_with_threads'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:110:in `top_level'
/Users/dmitry/.gem/ruby/2.3.5/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:21:in `block in perform'
/Users/dmitry/.gem/ruby/2.3.5/gems/rake-12.3.0/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/dmitry/.gem/ruby/2.3.5/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/Users/dmitry/.gem/ruby/2.3.5/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
/Users/dmitry/.gem/ruby/2.3.5/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
/Users/dmitry/git/adhoc/hyper3/bin/rails:9:in `require'
/Users/dmitry/git/adhoc/hyper3/bin/rails:9:in `<top (required)>'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
/Users/dmitry/.gem/ruby/2.3.5/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
/Users/dmitry/.rubies/ruby-2.3.5/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
/Users/dmitry/.rubies/ruby-2.3.5/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
/Users/dmitry/git/adhoc/hyper3/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Tasks: TOP => assets:precompile

thanks for the report
we are in progress of preparing a new release, currently at version 1.0.0-lap20, might still take a while until final release.
Its much better, your issue is probably resolved there, give it a try, instructions here:
https://github.com/ruby-hyperloop/hyperloop/tree/1_0_0
It still has security issues though.
We are very active on gitter too :)

Thank you, that branch worked.  I am getting this error in my log even thought I have gem 'redis' in my Gemfile.
[2018-02-12 18:49:33.368] ERROR -- Specified 'redis' for Action Cable pubsub adapter, but the gem is not loaded. Add gem 'redis'to your Gemfile (and ensure its version is at the minimum required by Action Cable).: nil
cable.yml:
production:
  adapter: redis
  url: redis://localhost:6379/1

hyperloop.rb:
Hyperloop.configuration do |config|
  config.transport = :action_cable

@dmitrypol can you raise a new issue, or perhaps just mention this at https://gitter.im/ruby-hyperloop/chat, as I suspect this is a config issue you are having...


Close tcp connection in tcpstate after handler onerror

This fix prevents a crash described in #261

Since we've refactored so much since this report, can you check whether this issue still exists?


added python & mysql learning reference in bahasa

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[ ] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Hello sir, im sorry. I have already edit the last commit to fix alphabetical order. Hope you can accept it, thank you sir.

Thanks, and welcome to free-programming-books!


[SP-4615] Backport of PDI-17353 - OutOfMemory exception while play wi…

…th DET for Geo viz (8.1 Suite)
@pentaho-lmartins @ricardosilva88 @cravobranco

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/SlaveStepCopyPartitionDistribution.java
  engine/src/test/java/org/pentaho/di/trans/SlaveStepCopyPartitionDistributionTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.4% :small_red_triangle_down:
Line Change: -3.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


Errors on site without expected parameters set

Hello!
$subj, when trying to run this theme against my blog source I get following (and site won't render):
Building sites … ERROR 2018/03/20 11:47:58 Error while rendering "page" in "post/": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0
ERROR 2018/03/20 11:47:58 Error while rendering "page" in "": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0
ERROR 2018/03/20 11:48:01 Error while rendering "taxonomy" in "": template: theme/_default/taxonomy.html:1:3: executing "theme/_default/taxonomy.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0
ERROR 2018/03/20 11:48:01 Error while rendering "section" in "": template: theme/_default/section.html:1:3: executing "theme/_default/section.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0
ERROR 2018/03/20 11:48:01 Error while rendering "home" in "": template: theme/index.html:1:3: executing "theme/index.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0

Change detected, rebuilding site
2018-03-20 12:10:21.918 +0000
Source changed "/srv/hugo/content/post/2018-03-19-lust-for-text-life.markdown": WRITE
ERROR 2018/03/20 12:10:22 Error while rendering "home" in "": template: theme/index.html:1:3: executing "theme/index.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0
ERROR 2018/03/20 12:10:22 Error while rendering "page" in "post/": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header.html...>: error calling partial: template: theme/partials/header.html:15:88: executing "theme/partials/header.html" at <absURL>: wrong number of args for absURL: want 1 got 0
Total in 1228 ms

The reason is likely some absent .Site. parameters but you can't tell what's exactly wrong from error message, I guess input parameters handling could be improved.

Hm, so this is the same as issue #54, and back then we decided to require the logo. People have also found it to be a recurring challenge, since it was the topic of issue #18 as well.
The problem is that the logofile parameter isn't set, where it must either be set to an image or just be blank to have no logo. If you want no logo, you can just set the parameter to be the empty string, based on #82.
With regards to making ease of use better, I think I'm just going to make a clearer default config.toml with comments, etc. to clearly explain what is required. Also, it would be very easy and probably worthwhile to make a small script for setting them up, or at least one that could ingest a config file and report whether it's valid or if any parameters are missing. I'm pretty sure I could do this all statically just by looking at the theme (and it wouldn't even have to be specific to cocoa-eh) so this is somewhat compelling to me. If you have any thoughts, let me know. 🎈
I'm going to leave the issue open until I make a decision about those 2 potential solutions.

It's all up to you. In my opinion it's strange to require some parameter to be set to empty string in order to be ignored, and it's strange to throw error about absURL when in fact some parameter is not set.
In such situation I would either make error message clearer or handle absence of this parameter properly.
I'm testing two hundred themes now, similar case: https://github.com/wildhaber/gohugo-amp require googleAnalytics to be set in params section of configuration, it renders without errors but instead of rendering actual site content tells you to set this parameter in order to get working site. (In my case it won't work and won't tell you anything after I set it, but that's other story.)

Alright, I think what makes sense as a specific solution to include a link to configuration instructions where the logo should be if no parameter is set, allow no logo if it is set to an empty string, and use the logo otherwise. That way, it's clear what the options are for each case, and the end user doesn't have to encounter hard-to-interpret messages from hugo.
If you have any other thoughts on what better practices are from looking at all those themes, please don't hesitate to open more issues 🎈

Making the change now, and should have it pushed soon. If nothing is set, I'm going to link to configuration instructions on the wiki. Thanks for the suggestion! I'm also going to be making a small linting tool that people will bed able to run their config files against that will generate clean error messages, and a updated example config file that includes all required and optional arguments.

The final product:

So when the logofile isn't specified, you get a obnoxious link telling you how to fix things, but the site still builds.

Checked, works fine now, not a single error.

Thanks again!


fix: syntax updates for print statements

Earlier written as print "..."
Changed to print("...")

Thanks for the help!


Remove PHP-FPM dependency from Nginx to prepare for other framework and language support

The nginx container isn't starting with this approach


2024 BOSC formatting fixes

Various small fixes:

Quality score -> Quality Score
Fix Python 3.11 syntax warnings about invalid escapes
One remaining issue: Time field is not captured, which is noted in issue #2

Thank you @cjfields :)


Fixing 'knife solo data bag edit' crashes when edited data is invalid.

Without this fix, the following error occurred on my machine, when invalid JSON was put into the data bag:
$ knife solo data bag edit main bag -VV --secret-file test/integration/default/encrypted_data_bag_secret --data-bag-path test/integration/default/data_bags
ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly
WARNING: The encrypted_data_bag_secret option defined in knife.rb was overriden by the command line.
/var/lib/gems/1.9.1/gems/knife-solo_data_bag-1.1.0/lib/chef/knife/solo_data_bag_edit.rb:46:in `rescue in block in edit_content': uninitialized constant Chef::Knife::SoloDataBagEdit::Yajl (NameError)
    from /var/lib/gems/1.9.1/gems/knife-solo_data_bag-1.1.0/lib/chef/knife/solo_data_bag_edit.rb:43:in `block in edit_content'
    from /var/lib/gems/1.9.1/gems/knife-solo_data_bag-1.1.0/lib/chef/knife/solo_data_bag_edit.rb:41:in `loop'
    from /var/lib/gems/1.9.1/gems/knife-solo_data_bag-1.1.0/lib/chef/knife/solo_data_bag_edit.rb:41:in `edit_content'
    from /var/lib/gems/1.9.1/gems/knife-solo_data_bag-1.1.0/lib/chef/knife/solo_data_bag_edit.rb:34:in `run'
    from /var/lib/gems/1.9.1/gems/chef-11.14.6/lib/chef/knife.rb:493:in `run_with_pretty_exceptions'
    from /var/lib/gems/1.9.1/gems/chef-11.14.6/lib/chef/knife.rb:174:in `run'
    from /var/lib/gems/1.9.1/gems/chef-11.14.6/lib/chef/application/knife.rb:139:in `run'
    from /var/lib/gems/1.9.1/gems/chef-11.14.6/bin/knife:25:in `<top (required)>'
    from /usr/local/bin/knife:23:in `load'
    from /usr/local/bin/knife:23:in `<main>'

Hello Jack,
Thanks for the PR and sorry for the late response. I believe that the problem you were having was solved in 7f3912116d.
Closing for now. If you believe there is still an issue, feel free to reopen.


Hyperlink in the Popups

A simple question....can i put some hyperlink in the text of the popups?
Thanks!!!!

I try to put something like this:
.bindPopup("Google")
and it doesn't work.

Use single quotes like this 'example' for the link.

it works!!
Thanks xD

How is it possible to open the hyperlink in pop up in a new tab ?

@capan Please use the Leaflet bugtracker only for bugs and do research before asking a question.

@capan To open in a new tab: add target='blank' attribute to your a tag

Hi,
When I try to integrate  web link as
L.marker([14.896579,26.835767]).bindPopup("Google").addTo(map);
The link appears as "http://localhost:8000/www.google.com" in the popup. How can I fix it?
Thanks.

href='www.google.com/'

href value is relative to current host unless you fully qualify it.
href=‘https://google.com’

Thank you. It resolved the problem.


table paging

Select one ...  (check one with "")
[ ] bug
[x] feature request
[ ] enhancement

Is the table paging component  on the roadmap ?
This is a common component in other UI frameworks

@yanyixing what do you mean by table paging? Are you referring to datagrid/datatable? It's available here: https://vmware.github.io/clarity/documentation/datagrid

function just like bootstrap datatable's paging
https://datatables.net/manual/styling/bootstrap

I have found this component, thanks

No problem. Feel free to provide feedback or open issue on the datagrid component itself as you use it. Closing this issue based on the last comment.


[GitHub Sync]: Plugin will not push to an empty repo

Describe the bug
A new repo without any files in it cannot be pushed to. Resolvable by creating an empty file.
To Reproduce
Steps to reproduce the behavior:

Create new repo using the GitHub dashboard
Create your PAT and set up the sync in Figma Tokens
Push changes
See error

Screenshots or Screencasts

I'm having the same issue

@six7 do we want to close/archive this one as this is a known issue we have already documented which is solved by ensuring there is a read-me file when you create the repo?


Link for Pivotal Network release of pcf-pipelines

Hi. I'm quite possibly missing something simple here, but the link to the Pivotal Network release of pcf-pipelines seems to be broken, and I can't find the release when searching around network.pivotal.io myself. Does the readme need updating or am I looking in the wrong place?
Thanks.

Hi @bruxelles86 the Pivotal Network release of pcf-pipelines are restricted to specific user groups only. I need to add your details to grant you permission. I will reach out via email to gather this information.

Hi @bruxelles86 closing this issue as we've resolved this now. Thanks.


When i add the files in it still shows the error

Bug report
After I have put the assets and mods folder into the game it still gives me the error screen
Did you edit anything? If so, mention or summarize your changes.
Did not work when put in the files

mods folder is giving error


Add sha1 Spark function

Have passed upstream CI, https://github.com/facebookincubator/velox/pull/4055

https://github.com/facebookincubator/velox/pull/4055 has been merged

cc @zhejiangxiaomai

cc @zhejiangxiaomai

Thanks for your reminder


Implemented centroid calculation of spectral mel bands

Maybe, it would be time to merge devel branch into master.

Yes, this is on my to-do list. I need to just review everything and someone also report an issue I want to look into before making the next "release"


how to dedup short text?

hi there,
when I use minhash with lsh or simhash, it's hard to remove short text. anybody could provide some useful method to solve this problem, thanks a ton!
take below example, and dive into the process：

set ngram_size is 5, the jacard similarity is 0.53, for ngram size 13, the similarity is 0.21.

when we select threshold 0.7,  both below text will be kept.

text_1 = "世界经济史是一部基于假象和谎言的连续剧。要获得财富，做法就是认清其假象，投入其中，然后在假象被公众认识之前退出游戏。\nby某个名字都不能说的人。"
text_2 = "世界经济史是一部基于假象和谎言的连续剧。要想获得财富，做法就是认清其假象，投入其中，然后在假象被公众认识之前退出游戏。——索罗斯"

I think for Chinese text, unlike English where words are separated by space, it is safe to use a lower ngram size such as 2 or 3. (Modify the ngram code if necessary e.g. you can also use jieba instead)
With the following test code:
def jaccard_similarity_ngrams(str1, str2, n):
    """
    Calculate Jaccard similarity between two strings based on n-grams.

    Args:
    str1 (str): First input string
    str2 (str): Second input string
    n (int): Size of n-grams

    Returns:
    float: Jaccard similarity score between 0 and 1
    """
    # Convert strings to lowercase and remove non-alphanumeric characters
    str1 = [char.lower() for char in str1 if char.isalnum()]
    str2 = [char.lower() for char in str2 if char.isalnum()]

    # Generate n-grams for both strings
    ngrams1 = set(''.join(str1[i:i+n]) for i in range(len(str1) - n + 1))
    ngrams2 = set(''.join(str2[i:i+n]) for i in range(len(str2) - n + 1))

    print(ngrams1)
    print(ngrams2)
    # Calculate intersection and union of n-grams
    intersection = ngrams1.intersection(ngrams2)
    union = ngrams1.union(ngrams2)

    # Calculate Jaccard similarity
    if len(union) == 0:
        return 0.0  # Handle empty sets

    similarity = len(intersection) / len(union)
    return similarity

# Example usage
text_1 = "世界经济史是一部基于假象和谎言的连续剧。要获得财富，做法就是认清其假象，投入其中，然后在假象被公众认识之前退出游戏。\nby某个名字都不能说的人。"
text_2 = "世界经济史是一部基于假象和谎言的连续剧。要想获得财富，做法就是认清其假象，投入其中，然后在假象被公众认识之前退出游戏。——索罗斯"
n = 2  # Using bigrams

similarity = jaccard_similarity_ngrams(text_1, text_2, n)
print(f"Jaccard similarity: {similarity:.4f}")

You will get 0.7313 and 0.7101 if choosing 3. Short text has always been tricky to process, it's better to tune the parameters/settings with a sample set before running the de-duplication on the entire dataset.


docs: add 'meta-llama/Meta-Llama-3.3-70B-Instruct'

This might be because of the AWQ model that I picked up from HuggingFace, but not working.
➜ llma chat completions create --model meta-llama-Meta-Llama-3.3-70B-Instruct-awq --role user --completion "You're a software engineer. Please explain what is k8s?"

I see you've sent an empty message! My name is Maya, and I'm a large language model, so I can understand and respond to natural language inputs. Would you like to start a conversation or ask me a question? I can help with everything from answering trivia questions to explaining complex concepts in simple terms.

 I can also help you learn a new skill or hobby. Here are some examples:

 - Would you like to learn a new language?
 - Are you interested in photography and want to know the basics of taking good photos?
 - Maybe you're interested in science and want to know more about climate change?

 Just let me know what's on your mind, and we can start chatting!

I'll check the template.

The issue was that the control plane was an old version that is not compatible with the latest version of engine.
Updating the control plane fixed the issue.
➜ llma chat completions create --model meta-llama-Meta-Llama-3.3-70B-Instruct-awq  --role user --completion "What is k8s?"

**Kubernetes (k8s) Overview**
=====================================

Kubernetes, also known as k8s, is an open-source container orchestration platform for automating the deployment, scaling, and management of containerized applications.

**Key Features**
---------------

* **Container Orchestration**: Deploy and manage containerized applications
* **Scalability**: Scale applications horizontally to handle changes in traffic or demand
* **High Availability**: Ensure application uptime and reliability
* **Self-healing**: Automatically detect and recover from node failures

**Key Components**
-----------------

* **Pods**: The smallest deployable unit, comprising one or more containers
* **ReplicaSets**: Ensure a specified number of replicas (identical pods) are running at any given time
* **Deployments**: Manage rollouts of new versions of an application
* **Services**: Provide a network identity and load balancing for accessing applications

**Use Cases**
-------------

* **Web Applications**: Run scalable, containerized web applications
* **Microservices**: Manage and orchestrate microservices architectures
* **Big Data**: Run distributed data processing workloads
* **Machine Learning**: Train and deploy machine learning models at scale

**Benefits**
------------

* **Improved Efficiency**: Automate deployment and scaling of applications
* **Increased Reliability**: Ensure high availability and self-healing of applications
* **Cost Savings**: Optimize resource utilization and reduce infrastructure costs

Kubernetes is widely used in cloud-native and hybrid environments, and is supported by major cloud providers, including Amazon Web Services (AWS), Google Cloud Platform (GCP), Microsoft Azure, and IBM Cloud

➜ llma chat completions create --model meta-llama-Meta-Llama-3.3-70B-Instruct-awq  --role user --completion "Can you please write a Go code that plays Tetris?"
package main

import (
    "fmt"
    "time"
    "math/rand"
    "os"
    "strings"
)

// Constants
const (
    Width, Height = 10, 20
    BlockSize = 3
)

// Structures
type Piece struct {
    X, Y int
    Color string
    Blocks [][]int
}

// Functions
func NewPiece(pieceType int) Piece {
    pieces := [][]int{
        {{0, 0}, {1, 0}, {2, 0}, {3, 0}}, // I
        {{0, 0}, {1, 0}, {0, 1}, {1, 1}}, // O
        {{0, 0}, {1, 0}, {2, 0}, {2, 1}}, // J
        {{0, 1}, {1, 1}, {2, 1}, {2, 0}}, // L
        {{0, 1}, {1, 1}, {1, 0}, {2, 0}}, // S
        {{0, 0}, {1, 0}, {1, 1}, {2, 1}}, // Z
        {{0, 1}, {1, 0}, {1, 1}, {1, 2}}, // T
    }
    return Piece{
        X:      Width / 2,
        Y:      0,
        Color:  "Yellow",
        Blocks: pieces[pieceType],
    }
}

func PrintGame(board [Height][Width]int, piece Piece) {
    for y := 0; y < Height; y++ {
        for x := 0; x < Width; x++ {
            if y < piece.Y || y > piece.Y+BlockSize {
                if board[y][x] == 1 {
                    fmt.Print("# ")
                } else {
                    fmt.Print(". ")
                }
            } else {
                for _, block := range piece.Blocks {
                    if block[0]+piece.X == x && block[1]+piece.Y == y {
                        fmt.Print("* ")
                        break
                    }
                }
                if piece.Y <= y && y < piece.Y+BlockSize {
                    if board[y][x] == 1 {
                        fmt.Print("# ")
                    } else {
                        fmt.Print(". ")
                    }
                }
            }
        }
        fmt.Println()
    }
    fmt.Println("Score: 0")
    fmt.Println("Lines: 0")
    fmt.Println("Level: 1")
}

func update(board [Height][Width]int, piece *Piece, dx int, dy int) bool {
    // Check if the piece can be moved to the new position
    for _, block := range piece.Blocks {
        newX, newY := piece.X+block[0]+dx, piece.Y+block[1]+dy
        if newX < 0 || newX >= Width || newY < 0 || newY >= Height || board[newY][newX] == 1 {
            return false
        }
    }

    piece.X += dx
    piece.Y += dy
    return true
}

func isRowFull(board [Height][Width]int, row int) bool {
    for _, cell := range board[row] {
        if cell == 0 {
            return false
        }
    }
    return true
}

func removeRow(board [Height][Width]int, row int) [Height][Width]int {
    for i := row; i > 0; i-- {
        for j := 0; j < Width; j++ {
            board[i][j] = board[i-1][j]
        }
    }
    for j := 0; j < Width; j++ {
        board[0][j] = 0
    }
    return board
}

func main() {
    var board [Height][Width]int
    piece := NewPiece(0)
    currScore := 0
    level := 1
    lines := 0
    start := time.Now()

    for {
        PrintGame(board, piece)
        fmt.Print("Enter a command (left, right, down, quit): ")
        var command string
        fmt.Scanln(&command)

        switch strings.ToLower(command) {
        case "left":
            update(board, &piece, -1, 0)
        case "right":
            update(board, &piece, 1, 0)
        case "down":
            if !update(board, &piece, 0, 1) {
                for _, block := range piece.Blocks {
                    board[piece.Y+block[1]][piece.X+block[0]] = 1
                }
                piece = NewPiece(rand.Intn(7))
                // Remove full rows
                for i := Height - 1; i >= 0; i-- {
                    if isRowFull(board, i) {
                        lines++
                        board = removeRow(board, i)
                    }
                }
                // Update score and level
                currScore += 100 * level
                if lines >= level*10 {
                    level++
                }
            }
        case "quit":
            os.Exit(0)
        default:
            fmt.Println("Invalid command")
        }

        // Move the piece down every second
        time.Sleep(time.Second / 2)
    }
}


Linking error to debug drawings on ubuntu 22.04 when just using vizkit3d_debug_drawings-commands

After the changes which use only the vizkit3d_debug_drawings-commands, I get a linking error to core V3DD functions.
cmake -DENABLE_DEBUG_DRAWINGS=ON -DINSTALL_DEPS=OFF .
make

Result:
[ 68%] Linking CXX executable ugv_nav4d_bin-qt5
/usr/bin/ld: ../libugv_nav4d.so: undefined reference to `vizkit3dDebugDrawings::DeclaredChannels::getInstance()'
...

@chhtz Does simply linking vizkit3d_debug_drawings-commands build for you? Linking against vizkit3d_debug_drawings-qt5 solves the error for me on ubuntu 22.

The _bin-qt5 should of course link to the actual library, sorry if I messed that up. PR #20 is related (not sure if the ugv_nav4d library should be linked to the V3DD-qt5, though).

The main library should not link against V3DD-qt5(or plain V3DD). Please try to avoid that at all cost, there is no way for the tooling to decide if an orogen component is compiled against Qt5 or Qt4 (and deal with it), but if both end up linked(at runtime, dynamically or statically) into the same executable, said executable breaks. This is worse than the C++11 transition, there, at least the c++11 libraries could be linked into non-c++11 executables.
For this reason, V3DD has been split into the GUI-library set and the command-emitter library. The GUI libraries are needed everywhere V3DD primitives are being rendered, but those places already must know which GUI toolkit they are using(because they need to link against that), so they know if they need the Qt4 or Qt5 version of V3DD.


[bug] Migration tool is not mapping permissions properly

Describe the bug
I ran the Tauri v1 -> v2 migration command and it created migrated.json file for me. Now when I try to run the tauri dev command I get this error:
Permission fs:allow-read-file not found, expected one of ...

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.3.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.11.0
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 2.0.0-beta.3
    - tauri-build [RUST]: 2.0.0-beta.2
    - wry [RUST]: 0.36.0
    - tao [RUST]: 0.25.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.1
    - @tauri-apps/cli [NPM]: 2.0.0-beta.2

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:5180/
    - framework: Vue.js
    - bundler: Vite

Stack trace
No response
Additional context
No response

seems like you didn't add the tauri-plugin-fs to your Cargo.toml


Add a separate layout for the total no. of people who joined the specific room to chat

Add a separate layout for the total no. of people who joined the specific room to chat & make it visible which is increasing or decreasing accordingly

Is this issue and issue no #3 are similar?

@Laxmankohar, issue no #3 is the parent layout of this issue. means within a specific chat room, create a separate layout for the total no. of people who joined in that room

Hey i would like to work on this can you assign it to me.

@CulturalProfessor, You are assigned. First Fork the repo. Also, join the '#ichat_app' channel in Discord.

@swarnarkadas ok

@swarnarkadas  I want to work on this issue under JWOC


[BUG] Dashboards Management / Index Pattern Page kills huge clusters by resolving all indices in remoteclusters

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

/app/management/opensearch-dashboards/indexPatterns (Dashboards Management -> Index Pattern)

Expected behavior
A clear and concise description of what you expected to happen.
Index Pattern Management is possible, without killing all clusters. Opening this page as administrator triggers a call to
/internal/index-pattern-management/resolve_index/*:* which fires against all remote clusters and depending on the size of the cluster with s3 stored snapshots results in high cpu loads and long running search querys.
OpenSearch Version
Please list the version of OpenSearch being used.
2.16
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
2.16
Plugins
Please list all plugins currently enabled.
default
Screenshots
%
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Browser and version [e.g. 22]

Additional context
Add any other context about the problem here.

[Catch All Triage - 1, 2,  3,  4]

There seems no good way to obtain the index information of the target cluster, If we shoulad add an api in the core code to support?

When creating the index-pattern, the query is sent to the target cluster:
POST *:*/_search
{
  "size": 0,
  "timeout": "30000ms",
  "query": {
    "match_all": {
      "boost": 1
    }
  },
  "track_total_hits":<PHONE_NUMBER>,
  "aggregations": {
    "indices": {
      "terms": {
        "field": "_index",
        "size": 200,
        "min_doc_count": 1,
        "shard_min_doc_count": 0,
        "show_term_doc_count_error": false,
        "order": [
          {
            "_count": "desc"
          },
          {
            "_key": "asc"
          }
        ]
      }
    }
  }
}

As we just want to get the indices list of target cluster, if we should just adjust _cat/indices  in the core code to support?
GET {target_cluster}:_cat/indices


Add GameSalad

SteamDB app page links to a few games using this
https://steamdb.info/app/1452260/
there are more games im just lazy to look for them
Brief explanation of the change
Added a rule for GameSalad engine

does this engine only have 2 games ?

1335351 - Kaapelipeli: The Cable Game Content
1452261 - 8 Bit Space.exe

hmm, not sure, ill have to check their website to get more games, I'll do
that later
On Wed, 22 Feb 2023, 09:43 Antoine Rybacki, @.***>
wrote:

does this engine only have 2 games ?

1335351 - Kaapelipeli: The Cable Game Content
https://steamdb.info/depot/1335351/
1452261 - 8 Bit Space.exe https://steamdb.info/depot/1452261/

—
Reply to this email directly, view it on GitHub
https://github.com/SteamDatabase/FileDetectionRuleSets/pull/271#issuecomment-1439563047,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATLIWKIDASQAKZMBOJYS4D3WYW7R3ANCNFSM6AAAAAAVCI4UB4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Not enough games use this.


Separated TestCatch2 and TextCoverage

Closes #284
Moves all optimization from TestCatch2 to new target TestCoverage

Great approach, I hadn't thought of this!
Can you add documentation to firmware/ventilator-controller-stm32/README.md introducing/describing this new TestCoverage target? I'm not sure how to get the lcov report, and after running the following command from within firmware/ventilator-controller-stm32 I don't see an html report:
./cmake.sh TestCoverage; cd cmake-build-testcoverage; make -j8; ./TestCoverage; cd ..

Additionally, when I ran this above command I got the following warning from CMake:
CMake Warning at cmake/CodeCoverage.cmake:173 (message):
  Code coverage results with an optimised (non-Debug) build may be misleading
Call Stack (most recent call first):
  CMakeLists.txt:46(include)

I do see that lines 50-51 of CMakeLists.txt are manually setting -O0 as a flag; perhaps we need to add a few lines before line 25 of CMakeLists.txt to the effect of:
elseif ("${CMAKE_BUILD_TYPE}" STREQUAL "TestCoverage")
    message(STATUS "No optimization, debug info included")
    add_compile_options(-O0 -g)

(and if we do this, can we remove the set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0"); set(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -O0") lines?)

The instructions for generating the LCOV report work for me! As discussed in meeting, let's update the CMakeLists file to do some things (setting message, compile options) for the TestCatch2 and TestCoverage build targets in the CMAKE_BUILD_TYPE if-elseif ladder at the top of the file, this will be ready to merge.
Another thing I just thought of: it'd be great if you could update .github/workfllows/firmware.yml to run another job to generate the code coverage report HTML files and upload them as a build artifact; you can refer to https://github.com/pez-globo/pufferfish-software/blob/2f56b711fb95d136e33e101ccfa4f7b4ba0b653b/.github/workflows/firmware.yml#L55 for an example of how I'm already using the actions/upload-artifact action to upload something as a build artifact.

The instructions for generating the LCOV report work for me!
Great!

As discussed in meeting, let's update the CMakeLists file to do some things (setting message, compile options) for the TestCatch2 and TestCoverage build targets in the CMAKE_BUILD_TYPE if-elseif ladder at the top of the file, this will be ready to merge.
This is done, I've just checked in the code.

Another thing I just thought of: it'd be great if you could update .github/workfllows/firmware.yml to run another job to generate the code coverage report HTML files and upload them as a build artifact; you can refer to
https://github.com/pez-globo/pufferfish-software/blob/2f56b711fb95d136e33e101ccfa4f7b4ba0b653b/.github/workflows/firmware.yml#L55
for an example of how I'm already using the actions/upload-artifact action to upload something as a build artifact.

Sounds like a great idea! I'll do it.

This project is licensed under Apache License v2.0 for any software, and Solderpad Hardware License v2.1 for any hardware - do you agree that your contributions to this project will be under these licenses, too? Yes.
Were any of these contributions also part of work you did for an employer or a client? No.
Does this work include, or is it based on, any third-party work which you did not create? No.

@renjipanicker I see there's still an open branch in the repo named "hotfix/cmake-seperate-lcov". Since this PR, with a branch named "hotfix/cmake-separate-lcov" has been merged and that branch has been deleted, is it safe to delete the branch which is still open?

@renjipanicker I see there's still an open branch in the repo named "hotfix/cmake-seperate-lcov". Since this PR, with a branch named "hotfix/cmake-separate-lcov" has been merged and that branch has been deleted, is it safe to delete the branch which is still open?

@ethanjli Yes, please go ahead and delete that branch. Thanks.


[C#][C++] read_feather() fails with IOError: Invalid IPC message: negative bodyLength on batches larger than 2 GB

Describe the bug, including details regarding any error messages, version, and platform.
I have some C# code using the Apache.Arrow 12.0.1 nuget to write .feather files with ArrowFileWriter.WriteRecordBatch() and its companions. These files are then read in R 4.2 using read_feather() from the arrow 12.0.0 package (Windows 10 22H2, RStudio 2023.06.1). This process works fine for files with a single record batch up to at least 2,129,214,698 bytes (1.98 GB). Much above that—the next file size up the code I'm running produces happens to be 2,176,530,466 bytes, 2.02 GB—and read_feather() fails with
Error: IOError: Invalid IPC message: negative bodyLength

This appears to coming from CheckMetadataAndGetBodyLength(), which takes bodyLength as an int64_t. So presumably what's happening here is something upstream of CheckMetadataAndGetBodyLength() is handling bodyLength as 32 bit signed and inducing integer rollover.
The error message is a bit cryptic and, from a brief look at the code it's unclear how a block's bodyLength relates to file and record batch size. Since forcing the total (uncompressed) size of a record batch below 2 GB avoids the negative bodyLength error it appears CheckMetadataAndGetBodyLength() is picking up something controlled by record batch size rather than file size. At the moment I've tested up to 3.6 GB multibatch files and read_feather() handles them fine.
The Arrow spec seems to suggest compliant Arrow implementations support array lengths to 2³¹ - 1 elements. The record batch format here is 11 four byte columns, plus a one byte and a couple two bytes, so one reading of the spec is files (or maybe record batches) up to 98 GB should be compatible with the recommended limits on multi-language use.
I'm including the C++ tag on this as I'm not seeing where C# or R would be inducing rollover, suggesting it may be a lower level issue or perhaps at the managed-unmanaged boundary. ArrowBuffer is built on ReadOnlyMemory<byte> and therefore constrained by its int32 Length property. Not sure if that's considered to meet spec but it doesn't appear it should be causing rollover here—the 2.02 GB file is only 44M records, so not more than 170 MB per column even when everything's in one RecordBatch—and the unchecked int32 conversion in ArrowMemoryReaderImplementation.ReadNextRecordBatch() probably isn't involved either. Since I'm not getting an exception at write the checked C# conversions from long can be excluded.
Component(s)
C#, C++, R

I had a look at the C++ code, but a bit unsure what's happening here.  @pitrou - would you mind taking a look at this?

The C++ side seems ok here. flatbuf::Message::bodyLength returns an int64 and CheckMetadataAndGetBodyLength stores it in an int64 before comparing to 0. There is no truncation.
So it seems it's probably an issue on the C# side?

I think the problem is here. TotalLength sums the buffer lengths for an entire record batch, but it's a 32-bit integer. WriteRecordBatchInternal then writes it as the message's body length.
I think for sanity and robustness the C# implementation should strive to use long for all lengths and sizes, instead of an ad hoc mix of ints and longs.
@CurtHagenlocher @eerhardt @chutchinson

@pitrou does this draft PR #38593 go far enough to support 2GB+ record batches, or would you expect a lot more changes, e.g. many more lengths changed from int to long?

@voidstar69 I have no idea, I think the only reliable to know would be to test reading such a file?
That said, I think all columnar lengths (numbers of rows and numbers of bytes) should be made long anyway. Otherwise, other bugs are just waiting to happen.

Agree with @pitrou on testing and migrating to 64 bit sizes and offsets. From a look at the PR diffs I'd anticipate trouble at offset and paddedLength since those remain 32 bit—a signed 32 bit byte count on a >2 GB file is most likely a defect (barring relative offsets used in special cases).
Since C#'s maximum object length is Int32.MaxValue, code paths using Flatbuf.RecordBatch can't exceed 2 GB as it's 1:1 with ByteBuffer. If Flatbuf use isn't congruent with IEnumerable<ArrowArray> on the public RecordBatch that might another area to look for trouble.

I did a little poking at this over the weekend, and it looks like the C# implementation can trivially be made to write large record batches correctly. In addition to the changes in #38593, I think it's sufficient to change the "Block" class contain longs instead of ints.
Reading large record batches is another matter entirely. The code in ArrowStreamReaderImplementation expects to be able to create a single memory buffer to hold the entire record batch, and this is not currently possible for a record batch whose size is > 2 GB. Of course, it's hard to test that the write of a >2GB record batch worked correctly if you can't also read it...
I think in the near term the best bet is to make write work correctly -- testing it manually by loading into another implementation -- and to make sure that reads of large record batches produce reasonable error messages.


WASM save file picker polyfill for Firefox

What does the pull request do?
Complete integration with native-file-system-adapter.
Also fixes DefaultExtension for WASM (must have for Firefox, as there is no choice for type, and Chrome also handles it nicely now).
Fixed issues
Fixes #11077

You can test this PR using the following package version. 11.0.999-cibuild0033569-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Import a certificate from Key Vault: New version

When you upload a new certificate version in the Key Vault does this automatically reflect to App Services where you have imported the previous version? Or do you have to reimport?

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

ID: cc2ee874-df45-1de2-1b30-1fd75c7fd709
Version Independent ID: ee181722-8386-9842-407f-d0549012d2e9
Content: Add and manage SSL certificates - Azure App Service
Content Source: articles/app-service/configure-ssl-certificate.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@mathiasbl Thanks for the feedback! We are currently investigating and will update you shortly.

@mathiasbl Thanks for asking question! As its mentioned in this doc Once the import is final, subsequent operations will use the new policy (new versions).
You may also refer to below doc might be helpful:
https://docs.microsoft.com/en-us/azure/key-vault/about-keys-secrets-and-certificates#key-vault-certificates

@mathiasbl Since we didn't heard back from you we will close this out but if you feel you need more information please just let us know.


Online client sample codes failed

🐛 Bug Description

Following https://github.com/microsoft/qlib-server#using-qlib-in-online-mode, the codes failed at
ins = D.list_instruments(D.instrumetns("all"), as_list=True)
with error:
BadNamespaceError                         Traceback (most recent call last)
To Reproduce
Steps to reproduce the behavior:

One key deploy using docker-compose
Run the sample codes

~/git/qlib/examples/test.py in
     81
     82 qlib.init(**ONLINE_CONFIG)
---> 83 ins = D.list_instruments(D.instruments("all"), as_list=True)
     84
     85

~/.local/lib/python3.8/site-packages/qlib/data/data.py in list_instruments(self, instruments, start_time, end_time, freq, as_list)
    948
    949     def list_instruments(self, instruments, start_time=None, end_time=None, freq="day", as_list=False):
--> 950         return Inst.list_instruments(instruments, start_time, end_time, freq, as_list)
    951
    952     def features(

~/.local/lib/python3.8/site-packages/qlib/data/data.py in list_instruments(self, instruments, start_time, end_time, freq, as_list)
    808             return instrument
    809
--> 810         self.conn.send_request(
    811             request_type="instrument",
    812             request_content={

~/.local/lib/python3.8/site-packages/qlib/data/client.py in send_request(self, request_type, request_content, msg_queue, msg_proc_func)
     99         self.sio.on(request_type + "_response", request_callback)
    100         self.logger.debug("try sending")
--> 101         self.sio.emit(request_type + "_request", request_content)
    102         self.sio.wait()

~/.local/lib/python3.8/site-packages/socketio/client.py in emit(self, event, data, namespace, callback)
    326         namespace = namespace or '/'
    327         if namespace not in self.namespaces:
--> 328             raise exceptions.BadNamespaceError(
    329                 namespace + ' is not a connected namespace.')
    330         self.logger.info('Emitting event "%s" [%s]', event, namespace)

BadNamespaceError: / is not a connected namespace.

Expected Behavior

Screenshot

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.
Qlib version: 0.6.1
Python version: ['3.8.5 (default, Jul 28 2020, 12:59:40) ', '[GCC 9.3.0]']
linux_distribution: N/A
system: Linux
machine: x86_64
platform: Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29
version: #1 SMP Wed Feb 19 06:37:35 UTC 2020
Additional Notes
sockerio version is latest 5.0.4 which is not what qlib recommends. But when I manually installed socketio 3.1.2, it thrown other probem which can't connect server.

@tracoco Hi,
What is the configuration of client and server?

@tracoco Hi,
What is the configuration of client and server?

Hi,
The server is deployed using docker compose with default config except for IP is a remote IP. The client is just the sample code in attached webpage with IP used the server.
---Original---
From: "Pengrong<EMAIL_ADDRESS>Date: Thu, Jan 7, 2021 21:16 PM
To<EMAIL_ADDRESS>Cc: "Mention"<mention<EMAIL_ADDRESS>Subject: Re: [microsoft/qlib] Online client sample codes failed (#184)
@tracoco Hi,
What is the configuration of client and server?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
The server is deployed using docker compose with default config except for IP is a remote IP. The client is just the sample code in attached webpage with IP used the server.
---Original---
From: "Pengrong<EMAIL_ADDRESS>Date: Thu, Jan 7, 2021 21:16 PM
To<EMAIL_ADDRESS>Cc: "Mention"<mention<EMAIL_ADDRESS>Subject: Re: [microsoft/qlib] Online client sample codes failed (#184)
@tracoco Hi,
What is the configuration of client and server?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi,
Is there update for this?

@tracoco Hi,

Can the ip and port of qlib-server be accessed normally? Use telnet to try it: telnet <qlib-server ip addr> 9710
Check if qlib-server is started normally: sudo docker-compose -f docker_support/docker-compose.yaml logs -f

Yes. the server started and can be telnet properly. From call stack it seems emit thrown the exception after connecting to server.
    self.connect_server()
    self.logger.debug("connected")
    # The pickle is for passing some parameters with special type(such as
    # pd.Timestamp)
    request_content = {"head": head_info, "body": pickle.dumps(request_content)}
    self.sio.on(request_type + "_response", request_callback)
    self.logger.debug("try sending")
    self.sio.emit(request_type + "_request", request_content)

`

Just to clarify, above exception is from socketio v5.
Did two more tests with socketio v3:

Tested qlib client on deployed server with new virtualenv with just pyqlib installed. It passed
Created a new virtualenv under WSL2 env and pip install pyqlib, this will install socketio v3, the error now is:
[13409:MainThread](2021-02-05 11:40:03,180) ERROR - qlib.workflow - [utils.py:35] - An exception has been raised[TypeError: send() got an unexpected keyword argument 'binary']. File "test_online.py", line 28, in <module>  ins = D.list_instruments(D.instruments("all"), as_list=True) File "/home/lee/python/qlib/lib/python3.8/site-packages/qlib/data/data.py", line 942, in list_instruments  return Inst.list_instruments(instruments, start_time, end_time, freq, as_list) File "/home/lee/python/qlib/lib/python3.8/site-packages/qlib/data/data.py", line 802, in list_instruments  self.conn.send_request( File "/home/lee/python/qlib/lib/python3.8/site-packages/qlib/data/client.py", line 101, in send_request  self.sio.emit(request_type + "_request", request_content) File "/home/lee/python/qlib/lib/python3.8/site-packages/socketio/client.py", line 263, in emit  self._send_packet(packet.Packet(packet.EVENT, namespace=namespace, File "/home/lee/python/qlib/lib/python3.8/site-packages/socketio/client.py", line 339, in _send_packet  self.eio.send(ep, binary=binary) TypeError: send() got an unexpected keyword argument 'binary' ^C^Z

Your problem seems to be caused by xxx-socketio, refer to: https://github.com/miguelgrinberg/python-socketio/issues/582
Try it like this:

find packages that contain socketio : pip list|grep socketio, then delete them.
reinstall python-socketio: pip install python-socketio

As described in first report, that trick will install socketio v5, and get error of "BadNamespaceError: / is not a connected namespace.".
Before using that trick, the error is "TypeError: send() got an unexpected keyword argument 'binary'".
I actually deleted whole virtualenv from WSL and copied working virtualenv from the server, and got same errors. Do you have WSL2 ubuntu to try?

I did not use WSL2, after that I installed and tested

Sorry, do you mean you installed WSL2 and tested? If so, I may reinstall my WSL2.
FYI, I just now tested on ubuntu live USB 20.04 and works.

Tested on a new WSL2 env and it works, although not sure what's wrong with old env.

Not sure what's your testing env, and what's socketIO expected behavior. But I guess emit thrown the exception as the connection is not setup yet. In qlib/data/client.py, please check whether
self.sio.emit(request_type + "_request", request_content)
should be changed to something like:
       self.sio.on(             "connect",             lambda: self.sio.emit(request_type + "_request", request_content),         )


[Admin QOL] +Adminchat flag

About the PR
Thanks moonheart08 for the idea. This PR adds +ADMINCHAT flag. This flag grants permissions to use ingame admin chat.
Why / Balance
So, as i explained in previous [#26897] PR, Admin chat is a powerful communication tool, which is locked behind +Admin flag.
This is not very convenient IMO. For now, if you want to grant access to Admin chat for any user (for any reason), you should give him +Admin flag, which in addition to chat, gives him many unnecessary commands, accesses and capabilities.
With this flag, you can simply give access to the chat. Here are some examples where this might be useful:
Mentor system. As i said before, on Corvax, we have Mentors, which help newbies get used to the game and answer questions in adminhelp. Only thing they need is +Adminhelp and +Adminchat, to quickly contact mods ingame and solve problems.
Events. For some prepared global events you could grant some ppl access to adminchat in order to coordinate flow of the event and communicate without delays.
Technical details
New flag +Adminchat added in Adminflags.cs. +Adminchat flag set to filter chat in ChatUIController.cs. +Adminchat grants access to command "asay" in AdminChatCommand.cs
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:
ADMIN:

add: +Adminchat flag is added. Now to gain access to the admin chat you will need this flag.

@Chief-Engineer Don't know the process around admin flag pr's. Want to merge this?

@Chief-Engineer Don't know the process around admin flag pr's. Want to merge this?

I haven't read the code but my understanding of this is that it just splits out some of the permissions normally granted by ADMIN into another flag. If my understanding is correct, WizDen doesn't currently have a use for this, but it also wouldn't cause us any issues as long as a wizard is able to grant the perms to the project manager, propermin, and trialmin groups after it is merged

I know wizden does not use this. I just wanna be sure the heads up is there that until one of you apply the perms that admins won't have bubble gum chat


added unicredit/sbt-swagger-codegen

Hi @andreaTP,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.typesafe.com/contribute/cla

I've done it for contributing to Scala.js

Thanks!

Thanks to you @eed3si9n it is possible only due to your treehugger library :-)
Please, when you can find a slot check the code of the two places where I'm forced to do ugly String.replace to find an affordable solution with treehugger if possible.


HomeMaticWinmaticAccessory: Adding a configuration setting for the motor's speed

When opening/closing the window via the home interface, the window motor is always started at high speed.
It would be desirable if the speed of the motor could be set in the configuration settings of the HAP HomeMatic user interface. That would fix the disadvantage that the WinMatic is very loud at high speed.
Except for this, the HomeKit integration of a Winmatic device works wonderfully. Thank you very much!

Das muss doch in der CCU erfolgen und nicht im HAP?


MODEXPS-277. Adjust Edi Orders export schema to support Claiming type

Purpose
https://folio-org.atlassian.net/browse/MODEXPS-277
Main changes to be added in that schema:

integration type field with 2 possible values: Ordering, Claiming (required)

transmission method with 2 possible values: FTP, File download (required)

file format with 2 possible values: CSV, EDI (required)

Also added new export type CLAIMS

@usavkov-epam just for awareness


Review HCA repositories and verify that the list of readers/writers is following principle of least access

The HumanCellAtlas GitHub teams have been restructured.
To ease the transition to this structured world, everyone is currently in a team called "HCA" that has WRITE access to all repos.  We want to move away from this.
Each component team lead needs to audit the GitHub teams that have access to their repos.
Ensure only appropriate teams (e.g. CZI, UCSC, etc) have write access to your component's repos.
Ensure that you approve of any collaborators.
Then remove access from team HCA.

Hannes will create Azul team.

https://github.com/orgs/HumanCellAtlas/teams/orange/members

HCA Team is removed
Orange and Clever Canary Teams are added.
@theathorn is there anything else that needs to be done for this or can this be closed?
Cheers,
Dave


chore: use luarocks-tag-release workflow

thanks again for the huge work you've put into this. I'll try to help maintain the momentum ;)

thanks again for the huge work you've put into this. I'll try to help maintain the momentum ;)

No problem :)
I'd love to see the plugin ecosystem improve and am glad to help where I can.

seems like there is a bug in teh generated rockspec yet upload succeded https://github.com/neovim/nvim-lspconfig/actions/runs/4098805462/jobs/7068176967#step:4:329

It looks like there's a bug in the github action. It should escape ' in strings.


Custom color sunburst sections

Writting a function in the chart -> color property of the options, like:
chart : {
                type : 'sunburstChart',
                height : 200,
                transitionDuration: 250,
                color: function(name){ return wf_colors[name]; },
            },

In the parameter name I receive the name of the parent node.
I would like to select my custom colors depending on the current name and not on its parent's.
Is there any way to do this?

Having the same issue with not being able to set colour manually, either by a separate function or directly in the data, please advise?

    $scope.options =
    {
        chart:
        {
            "type": 'sunburstChart',
            "tooltips": "true",
            "noData": "Data missing",
            "showLabels": true,
            "height": 450,
            "duration": 250
        }
    };

    $scope.data =
    [{
        "name": "flare",
        "color": "#00ffff",
        "children":
        [{
            "name": "test",
            "children":
            [{
                "name": "cluster",
                "color": "#ff00ff",
                "children":
                [
                    {"name": "AgglomerativeCluster", "size": 3938},
                    {"name": "CommunityStructure", "size": 3812},
                    {"name": "HierarchicalCluster", "size": 6714},
                    {"name": "MergeEdge", "size": 743}
                ]
            },{
                "name": "graph",
                "color": "#cccccc",
                "children":
                [
                    {"name": "BetweennessCentrality", "size": 3534},
                    {"name": "LinkDistance", "size": 5731},
                    {"name": "MaxFlowMinCut", "size": 7840},
                    {"name": "ShortestPaths", "size": 5914},
                    {"name": "SpanningTree", "size": 3416}
                ]
            },{
                "name": "optimization",
                "color": "#0000ff",
                "children":
                [
                    {"name": "AspectRatioBanker", "size": 7074}
                ]
            }]
        }]
    }];

Same here, any help?

Never mind, I found what I want.
number of "color" in $scope.options should be exactly matched with the total number of data.
Plus, color also can be a form of rgba(0,0,0,0).

I saw there is groupColorByParent attribute in chart options.
Default is true, maybe you can change it to false to change the child element color.

with v1.8.5 i have not that problem, here is my example code
$scope.data = [{
                    name: 'Reacciones',
                    children: [
                        {
                            name: 'Gusta',
                            color: '#009688',
                            children: [
                                {
                                    name: 'Hombres',
                                    color: '#3f51b5',
                                    children: [
                                        {name: 'Niños', color: '#9fa8da', size: 1},
                                        {name: 'Jovenes', color: '#7986cb', size: 2},
                                        {name: 'Adultos', color: '#5c6bc0', size: 5}
                                    ]
                                },
                                {
                                    name: 'Mujeres',
                                    color: '#e91e63',
                                    children: [
                                        {name: 'Niños', color: '#f48fb1', size: 1},
                                        {name: 'Jovenes', color: '#f06292', size: 2},
                                        {name: 'Adultos', color: '#ec407a', size: 5}
                                    ]
                                }
                            ]
                        }
                   ]
       }];


Error Enabling/Disabling the option on Iphone

https://github.com/Jigsaw-Code/outline-client/assets/94949898/6c6aa3a1-2ded-4fc7-a410-548783fd5b93

This is reproducible on our end, thanks for reporting this.

Closing as duplicate of #1444


[journald_input] Write journald fields as attributes instead of body.

Closes: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/7298
The list of journald fields is defined here
The log data model   suggests that the body should contain only the log message, other fields should be set as attributes.
This change applies the following field mappings:
MESSAGE              => body
PRIORITY             => severity, severity_text
__REALTIME_TIMESTAMP => timestamp
All other fields are stored as attributes.

Closing this PR, as the codebase is being merged into collector contrib.
On the topic of the PR, it seems the conclusion is that this is the right direction, but we semantic conventions to be added to the spec before we add support for mapping journald fields to attributes.


Fix O_NOATIME permission error

NOATIME is only allowed if you are the owner of a file (or root).
This PR retries without the flag if it fails because of permission errors.

Alternatively, we could check if we are the owner (or root) before trying to open the file. Not sure which approach is better (faster?). Thoughts?

I like your proposal, merged.

I think a test for ownership is easily integrated, we have this information at hand in the node structure, but I'm not sure if it's worth it.


twister: pytest: Wrap iter_stdout

Added waiting for prompt instead of calling time.sleep, to fix issue with longer setting up platforms (e.g. with TF-M enabled).
Wrapped iter_stdout generator, to avoid issues when generator is created and called multiple times in test scenarios.
To run and test one can run:
./scripts/twister -vv -T samples/subsys/testsuite/pytest/shell -p qemu_x86 -p qemu_cortex_m3 -p native_posix
or on DK:
./scripts/twister -vv -T samples/subsys/testsuite/pytest/shell -p nrf9160dk_nrf9160_ns  --device-testing --device-serial /dev/ttyACM0

Observation: the PR introducing pytest integration required retries on several qemus (e.g. https://github.com/zephyrproject-rtos/zephyr/actions/runs/5091718306/jobs/9153141110#step:13:834). This PR didn't need any retry for pytest shell test. We also observed that our hw platform using TF-m were always failing, due to not enough time for the app to boot and with this fix they no longer fail.

I temporarily added DNM since there is still a possibility that an error during a test on HW can block the further execution. We are looking for the fix.

@pdgendt @PerMac
A protection timeout for pytest subprocess was added, to avoid situation of suspending whole Twister in case of internal pytest test problem (such as calling blocking readline method on serial).
We have listed in known limitation in #58288 that iter_stdout needs some further investigation (some improvements to read bytes instead of lines, add timeout etc.), so it will be probable changed in next iterations.


Issue with volume size mounting longhorn claim on pod's sidecar

How to reproduce:
1.) new Project in rancher
2.) install Wordpress Helm Chart from Rancher library
3.) enable persistent volumes for maridb and wordpress
4.) edit the Wordpress workload (after successful deployment) and add a sidecar:
- image: atmoz/sftp
- bind docker port 22 to some other (e.g. host port)
- mount wordpress-data volume to this sidecar to /home/your-user/wordpress
- add command: your-user:yourpassword
Error message with longhorn v0.2:
Events:
 Type     Reason                 Age               From                     Message
 ----     ------                 ----              ----                     -------
 Warning  FailedScheduling       1m                default-scheduler        AssumePod failed: pod 1fabb23e-6b62-11e8-aa62-005056a736d2 is in the cache, so can't be assumed
 Normal   Scheduled              1m                default-scheduler        Successfully assigned diva-yachts-net-wordpress-867b64bdfd-nb4pc to dmz-cl1-node-3
 Normal   SuccessfulMountVolume  1m                kubelet, dmz-cl1-node-3  MountVolume.SetUp succeeded for volume "default-token-c4sd5"
 Warning  FailedMount            30s (x7 over 1m)  kubelet, dmz-cl1-node-3  MountVolume.SetUp failed for volume "pvc-dcd6b679-68d4-11e8-bfec-005056a739a9" : mount command failed, status: Failure, reason: create volume fail: fail to parse size error parsing size 'null': quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'

Error message with longhorn v0.2.1:
Events:
  Type     Reason                 Age               From                     Message
  ----     ------                 ----              ----                     -------
  Warning  FailedScheduling       4m                default-scheduler        AssumePod failed: pod 81c90008-6dae-11e8-aa62-005056a736d2 is in the cache, so can't be assumed
  Normal   Scheduled              4m                default-scheduler        Successfully assigned wordpress-wordpress-7df97dfcbf-lkglp to dmz-cl1-node-3
  Normal   SuccessfulMountVolume  4m                kubelet, dmz-cl1-node-3  MountVolume.SetUp succeeded for volume "default-token-nntr7"
  Warning  FailedMount            14s (x2 over 2m)  kubelet, dmz-cl1-node-3  Unable to mount volumes for pod "wordpress-wordpress-7df97dfcbf-lkglp_wordpress(81c90008-6dae-11e8-aa62-005056a736d2)": timeout expired waiting for volumes to attach or mount for pod "wordpress"/"wordpress-wordpress-7df97dfcbf-lkglp". list of unmounted volumes=[wordpress-data]. list of unattached volumes=[wordpress-data default-token-nntr7]
  Warning  FailedMount            9s (x10 over 4m)  kubelet, dmz-cl1-node-3  MountVolume.SetUp failed for volume "pvc-93b77b6b-6dad-11e8-aad9-005056a739a9" : mount command failed, status: Failure, reason: cannot create volume without size

With Rancher 2.02, longhorn v0.2 via rancher helm, K8n v1.10.1-rancher-2-1, rke/custom cluster with 3 nodes

i have some problem.
https://github.com/rancher/rancher/issues/22173

@morgoved I noticed that you're using flex volume driver, can you try CSI? Which version of Kubernetes you're using?

@morgoved I noticed that you're using flex volume driver, can you try CSI? Which version of Kubernetes you're using?

because i have ubuntu 18.04 and have problem with running open-iscsi
systemctl status open-iscsi ● open-iscsi.service - Login to default iSCSI targets    Loaded: loaded (/lib/systemd/system/open-iscsi.service; enabled; vendor preset: enabled)    Active: inactive (dead) Condition: start condition failed at Tue 2019-08-13 23:49:48 UTC; 1 day 8h ago            ├─ ConditionDirectoryNotEmpty=|/etc/iscsi/nodes was not met            └─ ConditionDirectoryNotEmpty=|/sys/class/iscsi_session was not met      Docs: man:iscsiadm(8)            man:iscsid(8)
But i solved my problem - i try used the other version for harbor and it's works good.
p.s. k8s 1.15 harbor now 1.8.2 (default tag for images in chart it is dev)


Migration error when upgrading to 2.0

Hi,
Iam trying to update my application to rails 3.1, and so Iam upgrading from refinery 1.0.8 to 2.0, but Iam getting a lot of errors on the table names. I have seen that all the refinery tables are now namespaced, but even after running the 'rails g refinery:cms' generator there aren't any migrations that change the table name.
I also tried creating my own migration, but I cant even run the rake task because it doesn't find a 'refinery_page_translations' table.
Is there a way to migrate the tables?
Thanks.

Currently there is no upgrade path from 1.0.8 to 2.0.0
You're best to generate a new application ( http://refinerycms.com/guides/how-to-upgrade-to-edge-refinery but without the --update part) and then copy over any functionality you've added to the new application.

Ok thanks.

Is it somehow possible to keep the database?

Not yet


Add tags

I would like to add activity tags when changing diapers, I see it right that this is not (yet?) possible?

Close in favor of https://github.com/jcgoette/baby_buddy_homeassistant/issues/77.