AttributeError: 'module' object has no attribute 'AbstractModule'

Matplotlib required for plot()
Traceback (most recent call last):
  File "evaluate.py", line 26, in <module>
    import meta
  File "/Users/tomato/Sites/learning-to-learn/meta.py", line 32, in <module>
    import networks
  File "/Users/tomato/Sites/learning-to-learn/networks.py", line 31, in <module>
    import preprocess
  File "/Users/tomato/Sites/learning-to-learn/preprocess.py", line 26, in <module>
    class Clamp(snt.AbstractModule):
AttributeError: 'module' object has no attribute 'AbstractModule'

$ python -V
Python 2.7.13
$ pip -V
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)

Sorry, I can't reproduce this. I've just reinstalled both TensorFlow and Sonnet and everything works as expected. Are you running this from a folder that contains a 'sonnet' subfolder by any chance?  I have the same issue.
python train.py --problem=mnist --save_path=/tmp/mnist_opt
Traceback (most recent call last):
  File "train.py", line 28, in <module>
    import meta
  File "/Volumes/ExtraDiskSpace/Documents/learning-to-learn/meta.py", line
32, in <module>
    import networks
  File "/Volumes/ExtraDiskSpace/Documents/learning-to-learn/networks.py", $
ine 31, in <module>
    import preprocess
  File "/Volumes/ExtraDiskSpace/Documents/learning-to-learn/preprocess.py"$
 line 26, in <module>
    class Clamp(snt.AbstractModule):
AttributeError: 'module' object has no attribute 'AbstractModule'

Working on OSX (10.11.6) in a venv. python (2.7.10).
And yea, installed sonnet (0.1.6) via pip.
Also, the original issue mentions matplotlib. Not sure if it's related, but I had to manually set the backend for matplotlib to be happy. https://stackoverflow.com/questions/29433824/unable-to-import-matplotlib-pyplot-as-plt-in-virtualenv

Here's how I fixed the problem for my environment:
pip uninstall sonnet pip install dm-sonnet

I also have this problem, and I tried a lot of ways, still cannot work, did you solved this?
Matplotlib required for plot()
Traceback (most recent call last):
File "/home/huyuezhi/tts-train/deng/train-tts-voicenet/voicenet-master/src/run_tts.py", line 30, in
from models.tf_model import TfModel
File "/home/huyuezhi/tts-train/deng/train-tts-voicenet/voicenet-master/src/models/tf_model.py", line 27, in
class TfModel(snt.AbstractModule):
AttributeError: 'module' object has no attribute 'AbstractModule'

I also got the same error, but thanks to davidsketchdeck@, it works!


Textbox widget panics when appending text on windows

The Textbox widget panics when text is added at the end.
This only seem to happen on Windows, and I traced it back to code in piet-direct2d, specifically line 622 in the hit_test_text_position function.
&self.text[0..text_position]

The issue seems to be that text_position at line 622 increases when you type a character, but self.text doesn't update yet, causing an out of bounds panic.

#275 fixes this, but there might be a better solution in the works.

Ah ok, I'll close this issue then


Update/Add CPython 3.9.0 beta 1

Tool information

Tool name: CPython
Tool license: Python Software Foundation License
Add or update? Add
Desired version: 3.9.0b1 (for CPython, "beta" == "library devs should test with this")
Approximate size:

Area for Triage:
Python
Question, Bug, or Feature?:
Feature
Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[x] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[x] Windows Server 2019

(Older Ubuntu and Windows is fine too if it's easier, but I don't consider them blocking.)
Can this tool be installed during the build?
Only on Windows via a Nuget package. You can build from source during build for other platforms, which I assume only takes 3-4 minutes (based on our CI running on the same images).
Tool installation time in runtime
Should be under 1 minute
Are you willing to submit a PR?
Sure! Though hopefully this is fairly mechanical, since there's very little difference between how 3.8 is treated and how 3.9 should be treated.

Since this is an in-development version of Python, I would put this under the same issue: https://github.com/actions/setup-python/issues/20
The v2 version of setup-python can now JIT download and install specific versions of Python from the actions/python-versions repo so ideally we should add all in-development versions there.

@zooba , as a possible solution, you can build Python 3.9.0 once and cache it using https://github.com/actions/cache. Restoring from cache will take seconds after first build

@maxim-lobanov I work on CPython itself - I don't need the solution. I'm filing it because everyone else needs it, and someone needs to raise the notification that 3.9.0 beta 3 is now out.

@konradpabjan @maxim-lobanov I think it makes sense to support latest pre-release via setup-python.

Beta 5 is scheduled for release on July 20, so it would be great if this could come soon so we can begin testing our packages on GH actions. Thanks for the hard work!
Ideally it would be cool to just generally support the latest nightly like Alejandro hinted above.

Hello @jadchaar ,
We are working on this request right now. We are not planning to pre-cache pre-release versions on image but they will be available for installation on-flight via actions/setup-python with minor latency (15-20 seconds). I think we will finish this request in a week (we have to rework some internal logic to support it).

With https://github.com/actions/setup-python/issues/20#issuecomment-660026867 I suppose this can be closed? (cc @konradpabjan)

Yep, Python 3.9.0 beta 4 is available with latest release of actions/setup-python. Please find details on https://github.com/actions/setup-python/issues/20#issuecomment-660026867

Will this also come to the Azure environments?

How do I use actions/setup-python on Azure pipelines? Or is there another way to activate 3.9 on the Azure images?

@mattip , as far as I know, no way for Azure Pipelines.
actions/setup-python can download versions on-flight and download 3.9.
AzDO UsePython task can't do that. I have logged issue for that some time ago: https://github.com/microsoft/azure-pipelines-tasks/issues/13319
But looks like it is not implemented yet.


Dockerization for ubuntu base image needed?

Hi,
in our corporate environment we require to use a selection of docker base images (perl not being part of them), which have monitoring and some other basics included. Especially the mysql stuff needed some modifications to make it work with the images since mysql_install_db has been deprecated.
My plan was to just submit a Dockerfile-Ubuntu, but I had to modify the docker-install.sh and entrypoint.sh as well, so I don't really see a good way to make a PR.
If anyone has similar requirements you can clone the fork at HTLocal/Seccubus.
Cheers and thanks for your work on this project.

@HTlocal the newest seccubus images (:latest) is now alpine based.


Fail under but per file and not global

Is your feature request related to a problem? Please describe.
If the projects has a huge numbers of tests and with 95% of coverage, if someone creates a new file without any tests the coverage goes to 94%, but this specific file has 0% of coverage. The objective of this proposal is to have an option to change fail_under from global to per file if necessary.
Describe the solution you'd like
Allow the fail_under configuration be per file or global.
Describe alternatives you've considered
Running coverage for each file individually, and that may be terrible to manage.
Additional context
Nops.

Is this the same or different than #1018?

Yep, same thing.

Check the other issues for examples of standalone tools that do this, including https://nedbatchelder.com/blog/202111/coverage_goals.html


fix(docs): API reference links

Summary
This PR fixes the API reference links.

Merging this fix as part of https://github.com/cdk8s-team/cdk8s-plus/pull/1233


fix: enableUnattendedUpgrades not honored

Reason for Change:
linuxProfile.enableUnattendedUpgrades is not honored nor persisted in the output API Model.
By default, enableUnattendedUpgrades is set to true. In practice, this bug affected those users that set the value to false. In that case, the false value was ignored and unattended upgrades were not disabled.
This fix should effectively disable unattended upgrades for those customers that would like to disable it (air-gapped environments most likely).
Issue Fixed:
Fixes #44
Credit Where Due:
Does this change contain code from or inspired by another project?

[x] No
[ ] Yes

/azp run


Is the implemented MACD strategy behaviour correct?

I'm submitting a ...
[X ] bug report
Hello.
If I'm understanding correctly the code, the MACD strategy issues a long position when:

The MACD histogram is > than the configured up threshold
And, this lasts for a number of candles >= than the configured persistence threshold

So, I'm asuming that, if I configure the thresholds as:
[thresholds]
down = 0
up = 0
persistence = 1

Then, Gekko will have always an active position: When the histogram is > 0, a large position. And when the histogram is < 0, a short position.
But this is not the case looking at the entry and exit times of the backtest roundtrips. From trade to trade there are some time with no active position.
Please, take a look at the pictures.
The same happends with the PPO strategy.

Ok, I see now where is the problem. This is completely related to my other question: https://github.com/askmike/gekko/issues/2236
And the answer is NO, Gekko will NOT have always an active position, because seems actually Gekko can not open short positions, only buy and sell. @askmike, in my humble opinion, in the bear market we are living from beginning of year, that Gekko can maintain a short position should be a priority now.


Test circleci fix two

Motivation
(Write your motivation here)
Test Plan
(If you changed any code, please provide clear instructions on how you verified your changes work.)
Related PRs
(Link any related PRs here)

Closing as we completed testing on this setup.


Handle KVM based runtimes with selinux

This handles kvm based runtimes for new and old versions of the selinux packages.  If the container_kvm_t label exists, then we use them, if not, we clear the process label.
Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Thanks @crosbymichael
Heads up @amshinde

/test pull-cri-containerd-node-e2e

Humm, weird error coming from e2e.  I'll look into it, does not look related but who knows when you are dealing with selinux

LGTM


chore(portability): Support all platforms without 64 bit atomics

Notably, RISC-V 32 for ESP32-C3 chips. Fixes #201. Closes #202.

Ah, yes. It very much depends on the support from that Github Action you use, which I’m not super familiar with.
The target I actually use, riscv32imc-esp-espidf, is Tier 3 and I’m not sure it’ll be supported (among other things, it requires building the std lib), the closest would be riscv32imc-unknown-none-elf but it is a no-std target so it makes no sense here…
I’ll put out a commit with riscv32imc-esp-espidf in the list and we’ll see how it goes, can you allow the CI to run once it’s here ?

I’ll put out a commit with riscv32imc-esp-espidf in the list and we’ll see how it goes, can you allow the CI to run once it’s here ?

Yep. Will do. Thanks.

Also note, you will need to sign off your commits, see failing CI step.

Just triggered a CI run.

Just triggered a CI run.

Thanks. And it fails, as I feared the target needs the rust-std component and it’s nightly only… But you have powerpc and wasm32 which are 32-bit platforms, so it should be ok.
Should I just drop that CI commit and we go as is ?


[SOLVED] No ACK signal after readReg(unit8_t reg)

After a read from the slave, master doesn't set ACK bit low. This causes I2C slave to hang.
Master: RPi 3 raspbian + mraa 1.7.0 git build + python2.7
Slave: ATSAMD21 + mbed
To test that communication actually works, I tried writing to a register and this yielded success. After that I tried reading from another register which seemingly succeeds but following reads fail. Here is a simple program and its output.
Master program:
from mraa import I2c

node = I2c(0)
node.frequency(0)
node.address(0x10)

print("write: {}".format(node.writeReg(0xf0, 0x99))) # write: 0
print("read 1: {}".format(node.readReg(0xfa))) # read 1: 16 // correct

# if next row is uncommented, previous row generates "read 1: 255" and next generates Unknown error in mraa.py, line 862.
# print("read 2: {}".format(node.readReg(0xfa)))

Since I had a logic analyzer at my hand, I had a look at low level and had something to see. After successful write, and read, master doesn't set the ACK back low.

I also tested on Intel Edison running debian so this shouldn't be platform issue (x86/armhf).
Is this a desired behavior or a bug/issue? I haven't been able to solve this issue on slave side.

Please invalidate this issue.
Rubber-duck hw debugging at it's finest... After this issue report I remembered that logic analyzer has no pull-up resistors and that it might be causing the issue. And yeah, disconnecting it made the program work as I expected.

Thanks for coming back with the fix ;-) Good luck with the rest of your project!


fix typo in README.md

styes -> styles

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   89.38%   89.38%
=======================================
  Files          22       22
  Lines         113      113
=======================================
  Hits          101      101
  Misses         12       12

Continue to review full report at Codecov.

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

Thanks @sseletskyy !

no problem ;) @supnate


Add builder methods to Transform

Objective
Make it easier to construct transforms. E.g.
Transform::from_xyz(0.0, 0.0, 10.0).with_scale(Vec3::splat(2.0))

I found myself writing an extension method to do this so I don't have to write:
Transform {
  translation: Vec3::new(0.0, 0.0, 10.0),
  scale: Vec3::splat(2.0),
  ..Default::default()
}

Solution
Add builder style methods to Transform.
Methods:

with_translation
with_rotation
with_scale

I also added these methods to GlobalTransform. But they are probably less useful there.

bors r+


feat: adds options to opt out of AND/OR in filtering

This PR adds a options to make AND and OR configureable
Before this PR there was no way to disable this feature globally.
One would have to create all customer FilterInputTypes or create a type interceptor to remove the fields from the types.
BREAKING CHANGE

This PR adds two new members to the IFilterConvention interfaces. This would break exisiting implementation of this interface. As filtering is normally extended by extending FilterConvention, i do not think this interface was ever used directly.

Is this one ready?

Is this one ready?

@michaelstaib  yes but it is breaking? it breaks a interface.. so, v12?

@michaelstaib  yes but it is breaking? it breaks a interface.. so, v12?

Ah ... I did forget this. OK, lets keep it for now and see in the next meetings when we start work in V12.

Ah ... I did forget this. OK, lets keep it for now and see in the next meetings when we start work in V12.

@michaelstaib  i think this one can go into 12


i18n(tr): update ui translations

Description
Updated missing UI translations for Turkish.

Hello! Thank you for opening your first PR to Starlight! ✨
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any issues you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🤩

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.


Fail on conflicting dependencies but not circular dependencies

I'd like to use pipdeptree to detect conflicting dependencies - those that will cause problems with pkg_resources when imported or are otherwise not meeting their declared requirements. For that, this tool provides --warn fail. However, this option also causes the tool to fail on circular dependencies, which happens as a matter of course for a project that requires jaraco.text or jaraco.collections (as they depend on each other).
Probably pipdeptree should take --on-circular and --on-conflicting parameters, each accepting pass, fail, or warn.

I think the failure is up to pip, if pip does not fail we should not either.


Style-vars-2 v-bind feature doesn't work with Composition API

Version
3.0.11
Reproduction link
https://codesandbox.io/s/epvsl
Steps to reproduce
With the following template:
<template>

{{ size }} {{ color }}

</template>

1 - Create a component using dynamic CSS style based on the Options API.
export default {
  data: () => {
    return {
      size: "100px",
      color: "green"
    }
  }
}

2 - Create a component using dynamic CSS style based on the Composition API.
export default {
  setup() {
    const
      size = "100px",
      color = "red"

    return {
      size,
      color
    }
  }
}

What is expected?
CSS v-bind feature should work using both Options and Composition API.
What is actually happening?
CSS v-bind feature doesn't work with the Composition API.
The following error is printed:
Uncaught (in promise) ReferenceError: _unref is not defined
    __injectCSSVars__
    setVars

I'm having this very issue running vue 3.2.4
package.json: "vue": "^3.2.4"


chore(master): release 1.3.0

:robot: I have created a release beep boop
1.3.0 (2024-01-07)
Features

插件新增PLUGIN_INITIALIZE方法 (65d0b16)
新增导出农历插件的PLUGIN_KEY (bbabd58)
新增组件导出方法getMarks,获取完整的日期标记 (d89b375)

Bug Fixes

skyline: 解决viewFixed遗漏 (b498c78)
skyline: 调整年度面板初始位置变量 (fdf8361)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/lspriv/wx-calendar/releases/tag/v1.3.0 :sunflower:


Remove unused .env variables

Remove all unused env vars to avoid errors on the app.
Currently the var NEXT_PUBLIC_SOROSWAP_BACKEND_ENABLED is causing errors in soroswap frontend.

[ ] Review and understand the use of all variables.
[ ] Remove unused variables from the .env.example.
[ ] Remove unused variables from the Readme.md file.
[ ] Remove unused variables from the code.
[ ] Test app on mainnet/testnet with new .env.

Could I take on this issue?

May I take care of this?

Hello. Can I get assigned this task? I would make the necessary changes and run test. PR few hours after assignment

Can I take this task?

I’d like to help with this. I think i can help in this by reviewing and studying whole code base and making the necessary changes  by removing  unused variables  and  testing it on testnet/mainnet.It would be my first time contributing to this project

Is it okay if I tackle this?

May I pick this up?

Let me handle this issue!
may i work on this issue?

I'd love to work on this!

is this issue still available? can I get assigned to it?

I'd like to work on this one. I'll start by reviewing the entire codebase and look for all existing env variables and how they're being used. NEXT_PUBLIC_SOROSWAP_BACKEND_ENABLED is causing errors, so I'll remove it and check if its working, then update the .env.example and readme.md. Will also check the same for all other vars and test on testnet.
ETA: 12 hours

Would love to tackle this! I am a full stack developer.

HI @esteblock please can i be assigned to this issue

Hi @esteblock , Please can I be assigned this? I am ready to work.

Let me work on this please @esteblock

Can I work on this

Can i work on this? @esteblock

Hello @esteblock ser, can I fix this issue? I commented on Discord already and will create a draft pr today.

Holla @esteblock I'm a frontend and blockchain dev and I would like work on this issue
Kindly assign :)
Thanks

@esteblock please can I be assigned this issue

@martinvibes assigned, please push PR not later than tomorrow


How to organize the indentation of icons (shortcuts)

Good afternoon  Thank you so much for developing such a useful integration!  I created a custom-card, added shortcuts, assigned icons to them, added a style command: style: '.shortcuts {left: 6px;  top: 15px;  right: 5px;  distance: 10px}' and I have very close icons (shown in the attached screenshot).  Can you please tell me how to set the indentation command between the shortcuts icons?  Thank you very much!

Use gap: in style section. Example below
style: >-
  .header {top: 6px; right: 5px} .mode {position: absolute; top: 0px; right:
  5px} .shortcuts {left: 6px: top: 6px; right: unset; display: flex;
  flex-direction: row; gap: 10px; opacity: 0.7; background: rgba(0, 0, 0, 0.25);
  border-radius: 5px}

Thank you, very much!


Fix(DomEvent): DomEvent.off should return this

Following docs DomEvent.off() should return this but it was broken in 14c5f1602cdd337df14c37ea8df777578219f744. Leaflet 1.1.0 is affected by this but.

See https://github.com/Leaflet/Leaflet/issues/5594#issuecomment-311919846 for a potential gotcha regarding ES6 modules and this.

https://github.com/yafred/leaflet-responsive-popup is also broken by this issue.


Tutorial 4: Question about about packed padded sequences

In tutorial 4, packed padded sequences are not used on the decoder side. Is there any specific reason for doing so?
Thank you.

The main reason to used packed padded sequences is so we don't have to run our RNN/LSTM/GRU over padding tokens as it is basically wasted computation - a padding token contains no information that will help you translate a sentence. You can only really do this if you have the entire sequence beforehand.
We cannot do this when generating our predicted output sequence as we do not have the whole sequence at the beginning of the generation. We have the target sequence - what the output sequence should be - but there is no guarantee that the sequence output by the model will be exactly the same.


[#8] [Android] [Integrate] As a user, I can log in to the app - 1/2: Integration

#8

What happened 👀

Integrate to call Login API when clicking on the Log In button with loading progress.

If successful, navigate the user to the Home screen.
If failed, show the error message.

Map JsonApiException from the network layer & show the error as Toast.
Check & navigate to the Home screen next time after logging in.
Add necessary unit tests.
🚧  UI tests on LoginScreen will be done in part 2 🚧

Insight 📝

I created injectLoading operator to inject showing/hiding loading progress step into Flow execution in ViewModel.
We need to navigate to the Home screen from the Login screen with popUpTo & popUpInclusive to replace the Login backstack with Home.
We need to create necessary backend components to check the login state in LoginViewModel
I use MockK for test mocking in Android tests.

Proof Of Work 📹

Log In error

https://user-images.githubusercontent.com/16315358/209323267-2ad054fd-115f-499e-bdb9-8024417192c4.mp4

The login state is persisted with the app.

https://user-images.githubusercontent.com/16315358/209322862-a5784327-fbd9-44c5-b7ec-317ab615d0e0.mov

Codecov Report

Merging #52 (c300613) into chore/add-codecov-and-update-readme (b76883e) will decrease coverage by 0.12%.
The diff coverage is 8.98%.

@@                           Coverage Diff                           @@
##           chore/add-codecov-and-update-readme      #52      +/-   ##
=======================================================================
- Coverage                                10.41%   10.28%   -0.13%
=======================================================================
  Files                                       29       31       +2
  Lines                                      432      486      +54
  Branches                                    66       76      +10
=======================================================================
+ Hits                                        45       50       +5
- Misses                                     387      434      +47
- Partials                                     0        2       +2

Flag
Coverage Δ

unittests
10.28% <8.98%> (-0.13%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...uongvo/kmm/survey/android/ui/base/BaseViewModel.kt
0.00% <0.00%> (ø)

.../kmm/survey/android/ui/navigation/AppNavigation.kt
0.00% <0.00%> (ø)

...o/kmm/survey/android/ui/screens/home/HomeScreen.kt
0.00% <0.00%> (ø)

...kmm/survey/android/ui/screens/login/LoginScreen.kt
0.00% <0.00%> (ø)

.../survey/android/ui/screens/login/LoginViewModel.kt
0.00% <0.00%> (ø)

...vn/luongvo/kmm/survey/android/util/ErrorMapping.kt
0.00% <0.00%> (ø)

...ongvo/kmm/survey/domain/exceptions/ApiException.kt
0.00% <0.00%> (ø)

...o/kmm/survey/data/repository/AuthRepositoryImpl.kt
90.00% <50.00%> (-10.00%)
:arrow_down:

...ngvo/kmm/survey/data/extensions/ResponseMapping.kt
60.00% <55.55%> (-6.67%)
:arrow_down:

...gvo/kmm/survey/domain/usecase/IsLoggedInUseCase.kt
100.00% <100.00%> (ø)

... and 3 more

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

Looks good. Please note that the UI from Figma for the Login screen has a blurred background, while the POW has a non-blurred background.

@blyscuit Your eagle eyes 😂 However, Jetpack Compose's blurry API does not work on Android 11 and lowers (only from Android 12) and unfortunately, the POW has been made on my Pixel 2 XL (Android 11). You can check out the POW on Pixel 6 (Android 13) in this PR #49 💪


Maven plugin: classpath issues, shouldn't depend on gatling-app

Closed by https://github.com/gatling/gatling-maven/commit/4a8e3e1e522f5bc0ec484b93c8eab1b97a656de1


Formatting issue on FinAid FAQ

Page URL: https://us.pycon.org/2019/financial-assistance/faq/
Text to copy/paste: **Q. Is there a bank where I can cash my financial aid check without a fee?
Issue: This should be bolded.

appears resolved.


Initial implementation

No addEventListener? That's the one way I know to get the response.

I like that it's not send :: IsSendable a => a -> Eff (xhr :: XHR | eff) Unit, like Affjax was doing.
Feels a little weird that browser API is just one function, whereas this wrapper splits it into a few.
An alternative idea is to use Variant:
send :: Variant (doc :: Document, bodyInit :: BodyInit)
  -> Eff (xhr :: XHR | eff) Unit
BodyInit :: Variant
   ( blob :: Blob, bufferSource :: BufferSource
  , formData :: FormData, urlSearchParams :: URLSearchParams
  , readableStream :: ReadableStream, usvString :: USVString
  )

But that would be a bit awkward to use. :)

There’s a coercion to EventTarget.

Having different functions is no different than taking a variant or an ADT.

Right, I think nobody will care about 3 functions for it. I was just predicting a JS POV, I imagine they look at this and think, "Browser has just 1 send function - why are there 3 here?"
I can't figure out the EventTarget thing right now - I'll spend more time later. I'd guess we'd get issue requests about it. Could maybe satiate by just showing how to use it in a unit test.

addEventListener is currently an interface in ps-DOM for EventTarget. So anything that works with addEventListener must first be cast. That’s what xmlHttpRequestToEventTarget does.

Moved implementation to Web.XHR.XMLHttpRequest.
Reexport from Web.XHR.

Remove unsafeResponseType
Added arrayBuffer response type


nvim-web-devicons is disabled

Describe the bug
I can't get the icons to work, I am using a NF, my tmux session shows icons from fonts ok, but can't make it work in neovim. I am using the default config from kickstart, didn't modify nothing in the init.lua file. I am using MesloLGS NF font.

-- Useful for getting pretty icons, but requires a Nerd Font.
      { 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font },

Desktop

OS: pop!_OS 22.04 Kernel: 6.8.0-76060800daily20240311-generic
Terminal:  zsh 5.8.1

Neovim Version

NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Hi. I have no experience with this font and can't find any details on it to know whether or not it would in fact support web devicons.
Could you please try with a more common Nerd font like firacode and see if you have success?  Thank you!

@paulobarros You're in good company :) I was there when they made this change and totally forgot about it myself :)


bin/fontbakery-family-html-snippet.py added.

Generate a test html snippet for a family hosted on fonts.google.com.
This script works well for quickly producing jsbin tests. I've been using this script extensively in our bug fixing spree, https://github.com/google/fonts/issues/1092#issuecomment-316697019.
@felipesanches shall I move the constants into the constants.py module? It feels strange moving them since they're only used here.

Ah I forgot to update the README. I'll add that now.

No. Please don't move things to external modules unnecessarily :-)


Training Advice

I've been trying to use this code for inference of top view mice videos and I've been using the Full Model pretrained data set with 415000 steps. I've also tried using different pretrained models to see if I can get better results, but the Full Model has given me the best results. I am looking for some advice on how to get better results, like, is it better to train the model more than 415000 steps or is it more worthwhile to use the provided tools to create a dataset from our own data? Our data has a few objects in the environment with the mouse and this program is really promising because it has worked on data that includes mice and extra objects. Currently it predicts the mouse's position about 30% of the time but am unable to figure out how to do better. I was curious if there was a way we could discuss over zoom or some other medium? I would really appreciate any help/advice!

Generally, adding in your own data should have the best result. This is a rather tiny network compared to others (say U-Net) and learns rather quickly.
This is most likely a distribution shift in the visual appearance between training (our data) and inference (your data). Introducing your data to be trained on should allow the network to adapt. This could be either training exclusively on your data or on a mix of ours and your data.
There are 2 other things that could potentially be done to see if they improve performance:

Adjust training augmentation. This could be a real hit-or-miss. I conducted a small hyperparameter scan of the augmentation strengths and as such the default settings are optimal for our data. I didn't expose these values in the command line calls, but they're located here. Also, since I originally wrote this code, TF and other deep learning libraries have added a lot of newer augmentation approaches, such as input masking or color inversion which could be added.
Alter inference input to more closely match averages in the training data. We happen to record using a target brightness of 190 instead of a typical camera default of 128. If you're using the segmentation based approach, you could do this by changing this line to something like frame = np.uint8(next(im_iter)*128/190). The network does apply per-image standardization, so this may not do much. However, other methods of altering the visual appearance to be closer to ours could work. The 2 distinct arena appearances present in the full model are a white floor with gray walls and gray floor with white walls.

Thank you for the response, let me try these few things and I'll comment again when I get some results.


Moving forward

So I have been keeping busy with few of my projects and really don't want to stop the maintenance of this project. I really want to improve this module moving forward. The TODO currently includes:

improve the development experience by better code, removing grunt (and replacing it with npm scripts)
fix the bugs
make the features optional and provide an option for custom build. tree shaking will do too.
ES2015
Start work on Angular 2.

I would really welcome contribution and collaboration on this. I would also like to welcome @robman87 as a collaborator and would be hopefully investing more time on this in the near future. Thanks.

Thank you @ritz078 , I like this project and will try to help out now and then. Sounds like a good plan 👍

@ritz078 I took a look at your excellent emoji-js project.
Why not use that as a dependency and integrate the vanilla JS version with AngularJS?

Reasons:

It uses many libraries like fetch, fetch-jsonp which are not needed in Angular.
certain utility functions are already available in Angular.
I don't need promises in angular due to the 2 way data binding.

So If I use that here, there will be lot of extra code that is not needed. I also plan to change that library to something like babel which uses different features by the help of plugins.


Not working with Laravel 5.5

[ReflectionException]                                                              Method Hesto\MultiAuth\Commands\MultiAuthInstallCommand::handle() does not exist
Is it supports Laravel 5.5 yet?

The Same issue is happening on my end.
Laravel Framework 5.5.2
PHP 7.1.5

php artisan multi-auth:install user -f

[ReflectionException]
Method Hesto\MultiAuth\Commands\MultiAuthInstallCommand::handle() does not exist

uninstall package and install again (new version 2.0 for laravel 5.5)

@Hesto & @dneykov Thank you for the new version update, it working with Laravel 5.5.


Allow to use the Toolimage specified in the provided buildconfig

This PR proposed to honor the configurationBuild field that can be used to provide a custom builder image.
Currently we provide a field ToolImage that can be used to specify the image used by the builder. In the code, we specifically ignore the provided image and impose the operator image.
The proposed changes will only use the operator image if the ToolImage field is not specified.
In our current settings, it is actually the same behaviour that was expressed: we use the operator image as the ToolImage field.
We could also deprecate the ToolImage field to express that the usage will not be honoured.
Release Note
NONE

Thanks for the insight. Could we then deprecate, and eventually remove,  the ToolImage field in the BuildConfiguration?
It seems, from my understanding, that there is no use for it.
We explicitly assign the value as the operator image in one and only one place.

Thanks for the insight. Could we then deprecate, and eventually remove, the ToolImage field in the BuildConfiguration? It seems, from my understanding, that there is no use for it.
We explicitly assign the value as the operator image in one and only one place.

We can't. We don't know ahead of time which is the container/version the operator is running. With this design, we read it at runtime and make sure that it is always the same for which the operator is running.


feat: sdk v1 upgrade to v2

Ran tf-sdk-migrator v2upgrade
Resolve go-getter cve

Will do further dep updates after this update.


Add vim motions cw, ce, cc, S, and QOL modal bind gf

[x] Added an entry to CHANGELOG.md if this change could be valuable to users

This PR adds the following keybindings:

C W and C E: Change word (delete_word_and_insert)
Shift+S and C C: Change line (delete_line_and_insert) (keeps indentation)
G F: Alternative to easily show quick fixes in normal mode (not vim default)

This contributes to closing #700 and #772 (but does not close them fully!)

Codecov Report

Merging #1760 (0b8cc92) into master (3130a9c) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #1760      +/-   ##
=========================================
- Coverage    6.54%   6.53%   -0.01%
=========================================
  Files         127     127
  Lines       54143   54176      +33
=========================================
  Hits         3541    3541
- Misses      50602   50635      +33

Impacted Files
Coverage Δ

lapce-core/src/command.rs
0.00% <ø> (ø)

lapce-core/src/editor.rs
29.70% <0.00%> (-0.76%)
:arrow_down:

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

Thanks!


StatusCode Unauthenticated. Request had invalid authentication credentials

After a period of random time, the service stops working and I have to restart the service to get it to start working again.
Screenshot of output attached below;

Unsure what could be causing that. please let me know if you require any more information.
Thanks ,
Pete

Thanks for the report! Are you using the Assistant API or the Cloud Speech API?
How long is the period of time approximately? eg is it minutes or hours or days? We'll try to reproduce it here.

Hi There @drigz I have using Assistant API.
I would guess at ~ 1 hour - 2 hours I will be able to extract more approximate information when I take a look at it later.
Cheers
Pete

@VR6Pete, have you figured anything out about how to reproduce this?
I saw this two or three times while doing a demo a few days ago, but when I tried to reproduce it on the next day, I couldn't. The cube has been running about 24 hours and still works...

That was the same with me but unfortunately it's not happened again since the bug report.


Make test specific to HPX_WITH_SHARED_PRIORITY_SCHEDULER

This addresses the issue mentioned in #4405

@biddisco please rest assured, I'm not bored. I'm trying to not leave things behind that take 5 minutes to fix. As for the test, yes please go ahead and add it.


When antibody bundle with no argumens the error log is too verbose

Instead it shoud put an usage response.
Also needs a --help flag to show help.

Fixed in https://github.com/caarlos0/antibody/releases/tag/v0.2.2


Rename update User By Session Interface

The SecurityContextHolder holds a static copy of the user from the moment he logged in. So we need to get the current instance from dao.

:+1:


MariaDB 10.x support?

Does your plugin support MariaDB 10.0 and higher or only the drop-in replacement MariaDB 5.5.x?

The drop-in replacement works, but I am not sure about MariaDB 10.0 and higher.

Could you check it, please? And what about the upcoming versions? Do you think they will be supported by your plugin in the future?


add 'Kali Linux CTF Blueprints' to Create

Kali Linux CTF Blueprints is a book by Cameron Buchanan on creating your own CTF's with Kali Linux. See it here [https://doc.lagout.org/security/Packt.Kali.Linux.CTF.Blueprints.Jul.2014.ISBN.1783985984.pdf]

Thanks!


Update dependency uuid to v10

This PR contains the following updates:

Package
Type
Update
Change

uuid
dependencies
major
9.0.1 -> 10.0.0

@types/uuid (source)
devDependencies
major
9.0.8 -> 10.0.0

Release Notes

uuidjs/uuid (uuid)
v10.0.0
Compare Source
⚠ BREAKING CHANGES

update node support (drop node@12, node@14, add node@20) (#750)

Features

support support rfc9562 MAX uuid (new in RFC9562) (#714) (0385cd3)
support rfc9562 v6 uuids (#754) (c4ed13e)
support rfc9562 v7 uuids (#681) (db76a12)
update node support matrix (only support node 16-20) (#750) (883b163)
support rfc9562 v8 uuids (#759) (35a5342)

Bug Fixes

revert "perf: remove superfluous call to toLowerCase (#677)" (#738) (e267b90)

Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Self-Hosted Renovate Bot. Find all logs here.

 You will not get PRs for any future 10.x releases. But if you manually upgrade to 10.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Bad example?

At the time of writing, the example doesn't look valid to me:
@{navigationLink=@{uri=http://go.microsoft.com/fwlink/p/?LinkId=113302; linkText=Format-List}; #text=System.Management.Automation.PSObject[]}

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

ID: 64ee4119-15f0-28b0-171e-da91a788054e
Version Independent ID: 6cb284c5-9bb1-f1ee-1e6c-0610af0105bb
Content: Disconnect-VpnUser (remoteaccess)
Content Source: docset/windows/remoteaccess/disconnect-vpnuser.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

@AndyChips
Upon your feedback, We have updated the content with relevant changes accordingly. Thanks.

@officedocsbot close


Copying a page creates two entries for the copied page in recent edits section

Issue Summary
Copying a page creates two entries for the copied page (neither entry is for the original) in the "Your most recent edits" section.
Steps to Reproduce

Navigate to any page in the admin and select "copy" from the list of options in the "More" dropdown.
When prompted, change the slug. You can change the title or not, the result will be the same.
Navigate to the admin root where "Your most recent edits" are listed. There are two entries.

This was confusing for one of our users who deleted the page further down in the "Your most recent edits" listing, thinking it was the original page.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no.

Technical details

Python version: Python 3.9.18
Django version: 4.1.10
Wagtail version: 4.1.6
Browser version: Chrome 120

Hi @bbusenius, thank you for the report. I’m able to reproduce this on a fresh Wagtail site. Here’s the recent edits implementation for reference.
I created a "Potato" page, then copied it to two separate pages (one as draft, one as published), and get the following entries in "your most recent edits":

Clamato (potato copy, published)
Tomato (potato copy, draft)
Potato
Tomato (potato copy, draft)
Clamato (potato copy, published)

It looks like ordering is also incorrect.

would like to investigate it.

Thanks to @elhussienalmasri for investigating this (in #11448). To summarise:

The intent of this panel is to show the list of pages the user has most recently edited, omitting duplicates (in the case that the user has made multiple edits to one page), and showing the date of that most recent edit
To do this, it retrieves the user's edits from the revisions table, groups them by page ID, annotates those with max(timestamp of revision) and orders them by timestamp descending - giving a result set of (page id, timestamp of most recent edit) records.
It then retrieves all page revisions matching those timestamps, on the assumption that a timestamp uniquely identifies a revision. (Side note: this all happens in a single query, with a subselect.)
This assumption is invalid, because copying a page copies its revision history, keeping the timestamps intact.

@elhussienalmasri's solution is to run a final pass over the queryset in Python, removing the duplicates. However, I would prefer to address the root cause of the problem: we shouldn't be using timestamp as a unique key.
There's also another quirk that happens here as a result of the revision history being copied: if user A edits a page, then user B copies it, then the copy will show up in user A's recent edits even though they've never touched it. In this case the recent edits query is not at fault - the revision history really does record a revision by that user, with a timestamp that's among their most recent edits.
I suggest that we update this panel to query the audit log, rather than revision records, since those correctly correspond to actual user actions and don't get duplicated on page copy - if the audit log had existed when this panel was built, we would certainly have used it in the first place...
Proposed approach:

Use the same logic as before to obtain a table of (page id, timestamp of most recent edit) records, but use the PageLogEntry table (filtered by user ID and type=edit) instead of PageRevision
In a separate query (to avoid the subselect and thus the special case for MySQL), retrieve the page objects with those IDs
For each of those objects, look up corresponding timestamp from the first query and set it as a custom attribute user_last_edited_at
Sort on that attribute (in Python), and render the resulting list


add permanent link

[x] Add anchor to posted date
[x] Add view link to comments grid view on the manage comments page.

Resolved by commit a164f2cc63dda0ed2d44df671f4701bc55a28ea1


Changing Week Number (WeekNo)

Being new to Javascript I may have missed this but is there a way to change where Week Numbers (WeekNo) start like Week One = January 14? My use case would be to count university weeks in a semester. I saw the WeekNo variable but I must not be using it right....

Hi @macedits ,
well, printing standard week days has nothing to do with JS... and there is a standard called ISO 8601 that describes how to print dates and also describes how to calculate week days. So, I didn't consider to change this or make it optional...
Other than that, this date picker is flexible enough to show your own things (not only University weeks) when it's rendering. This can be done in the renderCallback() where you get the container the calendar sits in and you can add more stuff you need...
The weekNo variable is inside template and just describes a template part for rendering week days.


As a use, I want the option to sort interventions by author or title of annotated work so I can look at them in different ways.

Design indicates they should also be sortable by number of annotations, but I don't know what that means.

@kevinglover sort may already be styled fine once you remove the placeholder form and finish the styles for #105, but I'm going to go ahead and leave this open and assign to you to confirm.

Tested and this works.

@araiffe your other comments indicated you weren't able to get to the intervention search, so I'm not sure how you could have tested it.  Did you misread it or close it by mistake?

@rlskoeser I went to Reference List, clicked "Contains Annotations" as a filter, and sorted using "Author of cited work" and "Title of cited work". I didn't realize I was sorting based on search results using the search bar…

@araiffe sorry it wasn't clear - this is about sorting interventions search results (which I don't think you've seen yet) rather than the references.  Thanks for explaining the steps you took.

This is kind of weird, but if you search for all interventions (nothing in the search bar, "Interventions" selected, push enter), the system shows 29 results for Heidegger. But then when you check Heidegger and push submit, it gives 0 results.

The filters have been integrated properly into the filter bar, and the author filter looks to me like it's working properly.

I retested this and now it works properly.


UUID not available in datatypes for class config

uuid and uuid[] not available in 3.0.0-beta.20
Will the available datatypes match those from the docs here: https://weaviate.io/developers/weaviate/config-refs/datatypes?

Hi Michael, thanks for raising this! I somehow completely missed this from the API 😅 I will add it now to the next beta release!

Thanks! Excited to check out the new ts-client!

Have released v3.0.0-beta.21 with this fix!


Avoid boilerplate of rules: xpath, html, css

I think this is a kind of boilerplate of rules which should avoid.
return {
  ...
  xpath: createXpath(element),
  css: getComputedStyle(element),
  html: element.outerHTML,
};

Close in favour of #20


Fix intermittent test failure in tests/test_message_meta.py

Description
We had two tests that set values on row 3, however we now randomly duplicate the index, causing a situation where 3 might not exist in the index.
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


Improve documentation around production Kubernetes considerations

This is a...

[x] Bug Report

Problem:
Based on a conversation from SO, we'd like to make the documentation around production Kubernetes clusters more descriptive.
Proposed Solution:
Review and update the docs!
Page to Update:

[ ] https://kubernetes.io/docs/tutorials/kubernetes-basics/cluster-intro/
[ ] https://kubernetes.io/docs/admin/high-availability/building/

/assign @justaugustus
/cc @mhausenblas

This seems sort of related: #1733

Go for it, @justaugustus!

cc @kubernetes/sig-cluster-lifecycle-feature-requests

the HA and HA-ETC documentation received an overhaul in 1.11:
https://kubernetes.io/docs/setup/independent/high-availability/
https://kubernetes.io/docs/tasks/administer-cluster/setup-ha-etcd-with-kubeadm/
all the new edits were the result of combined SIG efforts and based on existing proposals for improvements.
closing until further notice.
/close


various enhancement

@xscript,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Codecov Report

Merging #43 into master will increase coverage by 0.05%.
The diff coverage is 93.1%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage    80.9%   80.95%   +0.05%
==========================================
  Files          39       39
  Lines        1194     1192       -2
  Branches      125      125
==========================================
- Hits          966      965       -1
+ Misses        179      178       -1
  Partials       49       49

Impacted Files
Coverage Δ

...com/microsoft/azure/maven/function/DeployMojo.java
83.72% <ø> (ø)
:arrow_up:

...om/microsoft/azure/maven/function/PackageMojo.java
85.18% <ø> (ø)
:arrow_up:

...osoft/azure/maven/function/AzureStorageHelper.java
84.61% <ø> (ø)
:arrow_up:

...oft/azure/maven/function/AbstractFunctionMojo.java
78.57% <ø> (ø)
:arrow_up:

...va/com/microsoft/azure/maven/function/AddMojo.java
81.29% <100%> (+1.59%)
:arrow_up:

...a/com/microsoft/azure/maven/AbstractAzureMojo.java
61.42% <75%> (ø)
:arrow_up:

...va/com/microsoft/azure/maven/function/RunMojo.java
94.91% <87.5%> (-0.61%)
:arrow_down:

Continue to review full report at Codecov.

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


N23: Added bevy_midi and bevy_config_cam

Part of #677

I'm going to do a scorched earth operation (new pr), because my IDE is not very cooperative.


Complete FastLinear.load parameters in OPTDecoder initialization

What does this PR do?

FastLinear.load requires 4 parameters, but in the following only 3 are given. This PR fix this.
# server/text_generation_server/models/custom_modeling/opt_modeling.py
        if config.word_embed_proj_dim != config.hidden_size:
            self.project_out = FastLinear.load(
                config, prefix="model.decoder.project_out", bias=False
            )
        else:
            self.project_out = None

        if config.word_embed_proj_dim != config.hidden_size:
            self.project_in = FastLinear.load(
                config, prefix="model.decoder.project_in", bias=False

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

Can you provide an example of how to trigger this bug ?

Thanks for all those other fixes. For this PR, I'd like to confirm the bug and the fix if possible (I'm guessing some models have the config that triggers this)

Thanks for your review.
Opt-350m model will trigger this bug,  because opt-350m will entry the following "Ture" branches according to its architecture and it has decoder.project_out.weight and decoder.project_in.weight modules.  But opt-1.3b will not.
# server/text_generation_server/models/custom_modeling/opt_modeling.py
class OPTDecoder(OPTPreTrainedModel):
        .......

        if config.word_embed_proj_dim != config.hidden_size:
            self.project_out = FastLinear.load(
                config, prefix="decoder.project_out", bias=False
            )
        else:
            self.project_out = None

        if config.word_embed_proj_dim != config.hidden_size:
            self.project_in = FastLinear.load(
                config, prefix="decoder.project_in", bias=False
            )
        else:
            self.project_in = None

Command
$ text-generation-launcher --model-id ~/Projects/Models/opt-350m/ --port 8080

It should be noted that, all the prefix model. in the file opt_modeling.py should be remove before run the above command, because the official opt-350m checkpoint file doesn't include prefix model. But opt-1.3b does.
model.decoder.embed_positions.weight => decoder.embed_positions.weight
model.decoder.xxx => decoder.xxx
Log Info
2023-09-27T03:15:12.863747Z  INFO text_generation_launcher: Args { model_id: "/home/zhangsibo/Projects/Models/opt-350m/", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: None, dtype: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_length: 1024, max_total_tokens: 2048, waiting_served_ratio: 1.2, max_batch_prefill_tokens: 4096, max_batch_total_tokens: None, max_waiting_tokens: 20, hostname: "<IP_ADDRESS>", port: 8080, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: None, weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, env: false }
2023-09-27T03:15:12.863857Z  INFO download: text_generation_launcher: Starting download process.
2023-09-27T03:15:16.362819Z  WARN text_generation_launcher: No safetensors weights found for model /home/zhangsibo/Projects/Models/opt-350m/ at revision None. Converting PyTorch weights to safetensors.

2023-09-27T03:15:17.700655Z  INFO text_generation_launcher: Convert: [1/1] -- Took: 0:00:01.334988

2023-09-27T03:15:18.668278Z  INFO download: text_generation_launcher: Successfully downloaded weights.
2023-09-27T03:15:18.668538Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0
2023-09-27T03:15:22.243870Z  WARN text_generation_launcher: We're not using custom kernels.

2023-09-27T03:15:22.247175Z  WARN text_generation_launcher: Could not import Flash Attention enabled models: No module named 'vllm_cache_ops'

2023-09-27T03:15:23.906797Z ERROR text_generation_launcher: Error when initializing model
Traceback (most recent call last):
  File "/home/zhangsibo/miniconda3/envs/py39/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/cli.py", line 82, in serve
    server.serve(
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/server.py", line 195, in serve
    asyncio.run(
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/server.py", line 147, in serve_inner
    model = get_model(
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/__init__.py", line 237, in get_model
    return OPTSharded(
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/opt.py", line 60, in __init__
    model = OPTForCausalLM(config, weights)
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/custom_modeling/opt_modeling.py", line 749, in __init__
    self.model = OPTModel(config, weights)
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/custom_modeling/opt_modeling.py", line 691, in __init__
    self.decoder = OPTDecoder(config, weights)
  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/custom_modeling/opt_modeling.py", line 446, in __init__
    self.project_out = FastLinear.load(
TypeError: load() missing 1 required positional argument: 'weights'

2023-09-27T03:15:24.974048Z ERROR shard-manager: text_generation_launcher: Shard complete standard error output:

Traceback (most recent call last):

  File "/home/zhangsibo/miniconda3/envs/py39/bin/text-generation-server", line 8, in <module>
    sys.exit(app())

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/cli.py", line 82, in serve
    server.serve(

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/server.py", line 195, in serve
    asyncio.run(

  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)

  File "/home/zhangsibo/miniconda3/envs/py39/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/server.py", line 147, in serve_inner
    model = get_model(

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/__init__.py", line 237, in get_model
    return OPTSharded(

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/opt.py", line 60, in __init__
    model = OPTForCausalLM(config, weights)

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/custom_modeling/opt_modeling.py", line 749, in __init__
    self.model = OPTModel(config, weights)

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/custom_modeling/opt_modeling.py", line 691, in __init__
    self.decoder = OPTDecoder(config, weights)

  File "/home/zhangsibo/Projects/text-generation-inference/server/text_generation_server/models/custom_modeling/opt_modeling.py", line 446, in __init__
    self.project_out = FastLinear.load(

TypeError: load() missing 1 required positional argument: 'weights'
 rank=0
2023-09-27T03:15:25.072529Z ERROR text_generation_launcher: Shard 0 failed to start
2023-09-27T03:15:25.072549Z  INFO text_generation_launcher: Shutting down shards
Error: ShardCannotStart

@OlivierDehaene Wdyt ?
This can go in, but I'm not sure adding full support for opt-350m (the weight renaming is worth it)


Feature/allow mapping of children types

Hey @dallincoons - what is the benefit of this feature (also mind explaining the feature in the description for others)?
If the only benefit is aliasing child types to more readable names, I would probably hold off on this. It widens the codebase without providing a ton of value IMO.
Maybe we hold off on this and see if anyone else has the need too?
Also, feel free to just PR the test cleanups you have - that would be helpful.

Right now I'm working off of my fork that implements this feature, because I have tables with existing type columns that aren't class names. I also don't particularly like storing class names in the database. It's a little too tied to the code. Also the assumption with storing class names is that you will only use the type column for this specific implementation of single table inheritance, but there can also be other uses for the type column in addition to that.
Anyone who is including this package into an existing codebase with pre-existing type columns is probably going to need this.

Ah, ok - I could see that. I'll pull it in and add some Docs for it. Thanks

v0.4-alpha now has the feature. I changed the property name and added functionality for setting the column to the alias on creation.

Awesome, good to hear 👍

Speaking of doc updates, are you planning to update the readme to reflect the latest release version?


ci/docker: Add !operator dir into Dockerfile.dockerignore

Description
This commit is to add operator directory in Dockerfile.dockerignore file to fix below issue
../pkg/aws/endpoints/resolver.go:18:2: cannot find package "." in:
#12 9.053       /go/src/github.com/cilium/cilium/operator/option

Signed-off-by: Tam Mach<EMAIL_ADDRESS>Full log can be found here https://github.com/cilium/cilium/runs/1417805368
Testing
Testing was done locally only as I just realise that image job in github action is kicked off only for master and tag (maybe we don't want to override the image in docker registries)

make -C images cilium-image
$ make -C images cilium-image
make: Entering directory '/home/tammach/go/src/github.com/cilium/cilium/images'
ROOT_CONTEXT=true scripts/build-image.sh cilium-dev images/cilium linux/amd64,linux/arm64 "type=image" "$(cat .buildx_builder)" docker.io/cilium
will build cilium-dev:80e7f0642-dev as it has dev suffix
building cilium-dev:80e7f0642-dev
+ run_buildx
+ build_args=("--platform=${platform}" "--builder=${builder}" "--file=${image_dir}/Dockerfile")
+ '[' true = false ']'
+ build_args+=("${root_dir}")
+ '[' false = true ']'
+ docker buildx build --output=type=image --tag docker.io/cilium/cilium-dev:80e7f0642-dev --platform=linux/amd64,linux/arm64 --builder= --file=images/cilium/Dockerfile /home/tammach/go/src/github.com/cilium/cilium
WARN[0000] invalid non-bool value for BUILDX_NO_DEFAULT_LOAD:
[+] Building 32.3s (26/26) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 75B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 35B                                                                                0.0s
 => resolve image config for docker.io/docker/dockerfile:1.1-experimental                                                                                4.0s
 => CACHED docker-image://docker.io/docker/dockerfile:1.1-experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44           0.0s
 => => resolve docker.io/docker/dockerfile:1.1-experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44                      0.0s
 => [linux/arm64 internal] load metadata for docker.io/cilium/cilium-runtime-dev:bf6abb13718b26668af89df742b7c91507154a97                                3.8s
 => [linux/arm64 internal] load metadata for docker.io/cilium/cilium-builder-dev:5c69f48a672124827e6513db5f560f60b4a476ba                                3.7s
 => [linux/amd64 internal] load metadata for docker.io/cilium/cilium-runtime-dev:bf6abb13718b26668af89df742b7c91507154a97                                3.8s
 => [linux/amd64 internal] load metadata for docker.io/cilium/cilium-builder-dev:5c69f48a672124827e6513db5f560f60b4a476ba                                3.8s
 => CACHED [linux/amd64 stage-1 1/4] FROM docker.io/cilium/cilium-runtime-dev:bf6abb13718b26668af89df742b7c91507154a97@sha256:4eeb5f3b1327250585b833188  0.0s
 => => resolve docker.io/cilium/cilium-runtime-dev:bf6abb13718b26668af89df742b7c91507154a97@sha256:4eeb5f3b1327250585b8331883823343ce64a4818b8959f25262  0.0s
 => CACHED [linux/amd64 builder 1/4] FROM docker.io/cilium/cilium-builder-dev:5c69f48a672124827e6513db5f560f60b4a476ba@sha256:5e8dc417a3209df3dc9b247b6  0.0s
 => => resolve docker.io/cilium/cilium-builder-dev:5c69f48a672124827e6513db5f560f60b4a476ba@sha256:5e8dc417a3209df3dc9b247b66f891aff61d2978e6550e47a4c7  0.0s
 => [internal] load build context                                                                                3.8s
 => => transferring context: 615.17MB                                                                                3.8s
 => CACHED [linux/arm64 stage-1 1/4] FROM docker.io/cilium/cilium-runtime-dev:bf6abb13718b26668af89df742b7c91507154a97@sha256:4eeb5f3b1327250585b833188  0.0s
 => => resolve docker.io/cilium/cilium-runtime-dev:bf6abb13718b26668af89df742b7c91507154a97@sha256:4eeb5f3b1327250585b8331883823343ce64a4818b8959f25262  0.0s
 => CACHED [linux/arm64 builder 1/4] FROM docker.io/cilium/cilium-builder-dev:5c69f48a672124827e6513db5f560f60b4a476ba@sha256:5e8dc417a3209df3dc9b247b6  0.0s
 => => resolve docker.io/cilium/cilium-builder-dev:5c69f48a672124827e6513db5f560f60b4a476ba@sha256:5e8dc417a3209df3dc9b247b66f891aff61d2978e6550e47a4c7  0.0s
 => [linux/amd64 builder 2/4] RUN --mount=type=bind,readwrite,target=/go/src/github.com/cilium/cilium --mount=target=/root/.cache,type=cache --mount=t  12.3s
 => [linux/arm64 builder 2/4] RUN --mount=type=bind,readwrite,target=/go/src/github.com/cilium/cilium --mount=target=/root/.cache,type=cache --mount=t  12.3s
 => [linux/amd64 builder 3/4] RUN --mount=type=bind,readwrite,target=/go/src/github.com/cilium/cilium   cd /go/src/github.com/cilium/cilium/plugins/cil  0.2s
 => [linux/arm64 builder 3/4] RUN --mount=type=bind,readwrite,target=/go/src/github.com/cilium/cilium   cd /go/src/github.com/cilium/cilium/plugins/cil  0.1s
 => [linux/arm64 builder 4/4] RUN --mount=type=bind,readwrite,target=/go/src/github.com/cilium/cilium   cd /go/src/github.com/cilium/cilium/contrib/pac  0.2s
 => [linux/amd64 builder 4/4] RUN --mount=type=bind,readwrite,target=/go/src/github.com/cilium/cilium   cd /go/src/github.com/cilium/cilium/contrib/pac  0.1s
 => [linux/arm64 stage-1 2/4] COPY --from=builder /out/linux/arm64 /                                                                                0.7s
 => [linux/amd64 stage-1 2/4] COPY --from=builder /out/linux/amd64 /                                                                                0.7s
 => [linux/arm64 stage-1 3/4] WORKDIR /home/cilium                                                                                0.0s
 => [linux/amd64 stage-1 3/4] WORKDIR /home/cilium                                                                                0.1s
 => [linux/arm64 stage-1 4/4] RUN groupadd -f cilium   && echo ". /etc/profile.d/bash_completion.sh" >> /etc/bash.bashrc                                 0.2s
 => [linux/amd64 stage-1 4/4] RUN groupadd -f cilium   && echo ". /etc/profile.d/bash_completion.sh" >> /etc/bash.bashrc                                 0.2s
 => exporting to image                                                                                6.5s
 => => exporting layers                                                                                6.4s
 => => exporting manifest sha256:071eb779e484e4b4370711a91e308a9e408ec869dc1d54bdace698d478d9c0f9                                                        0.0s
 => => exporting config sha256:3ed26b0da3cd719ca5a81fbe2c725aa5c1a0422e9c49897ed4612f5f7f1e77de                                                          0.0s
 => => exporting manifest sha256:b1389e24cba6c03d84e936200d17093439b249b41c85f5abb9f977f5a70e0806                                                        0.0s
 => => exporting config sha256:37a3d2ffcd6656410cc84720e50db2767d3049825aca444833f5c5facb4a0735                                                          0.0s
 => => exporting manifest list sha256:349b9fd3f0c5a8b715bd3a4a822ecb243f3952f5339dcb0e88c75f5b95b1bd17                                                   0.0s
make: Leaving directory '/home/tammach/go/src/github.com/cilium/cilium/images'

ci/docker: Add operator dir into Dockerfile.dockerignore

Full CI is not required in my opinion, otherwise we could have caught this in related PR.


[FEATURE] Upload the finished builded Jarfiles for Ported Wildlife Gender Mod pls

I Know this is not the right place for creating a issue but since its a direct port only Pull Requests are Possible so I wanted to ask here if it would be possible for you to do that :>

.. You could've also just commented this on the PR in question.
(and, for the record, you could've also downloaded it from my repo's github actions.)


Missing ability to create Github Runner group

According to the resources exported, there is no possibility to create Github Actions runner group  resources.

implemented in https://github.com/crossplane-contrib/provider-upjet-github/pull/121


Event bit mask undocuments

The enumeration EventLoop_IoEvents is not documented. How do I use EventLoop_Input = 0x01? I want an event ever time a GPIO input line goes from low to high. How do I register this?

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

ID: 9b9d7077-1cb0-da2c-8f9a-4c81e6f51b07
Version Independent ID: e65bb220-daa5-dfbb-2d48-04b4f7d087be
Content: EventLoop_RegisterIo function - Azure Sphere
Content Source: AzureSphere/articles/reference/applibs-reference/applibs-eventloop/function-eventloop-registerio.md
Product: azure-sphere
GitHub Login: @esalc
Microsoft Alias: azurespheredocs

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

@clarkebowers Here is the documentation for EventLoop_IoEvents. Please check and let us know if that helps.

The text "The descriptor is available for read operations." is not helpful. The referenced sample does not use the EventLoop_RegisterIo function, so it is no help.

@clarkebowers  I have assigned the issue to the content author @esalc  to evaluate and update the doc with samples as appropriate.

@clarkebowers Thank you for your feedback. The EventLoop API supports only file descriptor events. Support for interrupts on the GPIO file descriptors is not currently available.
If this feature is critical to your scenarios, please submit product feedback or new feature requests.

@clarkebowers I hope that answers your question. Please create a feedback entry in the user voice and provide your feedback.
All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Missing menu to choose pre-existing agent

Describe the bug
CLI no longer offers menu of agents
To Reproduce
Steps to reproduce the behavior:
memgpt run --no_verify
Expected behavior
User is presented with list of agents to choose from (if any exist)
Actual behavior
New agent always created unless user specifies with --agent
Additional context
after running configure:
ubuntu@ip-172-31-40-1 ~/MemGPT (main) [SIGINT]> memgpt run --no_verify --model dolphin-2.1-mistral-7b
Creating new agent...
Created new agent agent_3.
Hit enter to begin (will request first MemGPT message)^C
Aborted.
ubuntu@ip-172-31-40-1 ~/MemGPT (main) [1]> memgpt run --no_verify --model dolphin-2.1-mistral-7b
Creating new agent...
Created new agent agent_4.
Hit enter to begin (will request first MemGPT message)

How did you install MemGPT?

With git clone git@github.com:cpacker/MemGPT.git and pip install -r requirements.txt

Your setup (please complete the following information)

Your OS (Linux, MacOS, Windows)

Ubuntu 22.04

Where you're trying to run MemGPT from

Terminal

Your python version (run python --version)
3.10.12
If you installed with pip install pymemgpt:
pymemgpt version (run pip list | grep pymemgpt)
If you installed from source:

Your current git commit (run git describe --tags)
1ef9e91

Local LLM details
If you are trying to run MemGPT with local LLMs, please provide the following information:

The exact model you're trying to use (link to the HuggingFace page you downloaded it from)

We need the EXACT model name, including quantization scheme, e.g.: dolphin-2.1-mistral-7b.Q6_K.gguf (not just dolphin-2.1-mistral)
dolphin-2.2.1-mistral-7b unquantized

The local LLM backend you are using (web UI? LM Studio?)

webui

Your hardware for the local LLM backend (local computer? operating system? remote RunPod?)

AWS EC2 g5.2xlarge

Your hardware for the MemGPT command (same computer as the local LLM backend?)

ditto

The full output (or as much as possible) of where the LLM is failing

If you can include screenshots, even better!
see above

Closing b/c I don't think this is an issue in the current version, please reopen if I'm mistaken


Chip Screening Assessment Process improvement

Need to exload memory datas(result datas) under some satuations

Achieved in commit 404041af2f4368c8cef1d4db9799f01b56f27f90
Date:   Mon Jul 29 14:26:17 2024 +0800

Unexpected file overwrite for multiple runnings

Fix result file overwrite in commit b378bf3cfe100d9fb917f21c6361ad523c0c619c
Date:   Mon Jul 29 18:39:57 2024 +0800


Protoc error : type is already defined

Hi,
My proto is importing types from another proto, in this case validate.proto.
validate.proto is in the same folder as my own proto.
syntax = "proto3";

package myPackage;

import "validate.proto";

When running a gRPC test in JMeter, the following error happens:
2023-06-06 13:27:15,062 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2023-06-06 13:27:15,063 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2023-06-06 13:27:15,063 INFO v.z.b.GRPCSampler: testStarted
2023-06-06 13:27:15,063 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2023-06-06 13:27:15,089 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2023-06-06 13:27:15,089 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2023-06-06 13:27:15,089 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2023-06-06 13:27:15,089 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false
2023-06-06 13:27:15,089 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2023-06-06 13:27:15,090 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2023-06-06 13:27:15,090 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1
2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: Protoc invocation failed with status: 1
2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc log] protoc-jar: protoc version: 3.21.4, detected platform: windows-x86_64 (windows 10/amd64)

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc log] protoc-jar: embedded: bin/3.21.4/protoc-3.21.4-windows-x86_64.exe

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc log] protoc-jar: executing: [<my temp folder>\protocjar12497784094249105875\bin\protoc.exe, C:\myProject\jmeter\definitions\my-proto.proto, C:\myProject\jmeter\definitions\validate\validate.proto -IC:\myProject\jmeter, -IC:\<my temp folder>\polyglot-well-known-types14402902449483302310, -IC:\myProject\jmeter\definitions, --descriptor_set_out=C:\<my temp folder>\descriptor11307984515117174399.pb.bin, --include_imports]

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log] definitions/validate/validate.proto: "validate.FieldRules.type" is already defined in file "validate.proto".

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log] definitions/validate/validate.proto:37:27: "validate.FieldRules.message" is already defined in file "validate.proto".

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log] definitions/validate/validate.proto:40:23: "validate.FieldRules.float" is already defined in file "validate.proto".

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log] definitions/validate/validate.proto:41:23: "validate.FieldRules.double" is already defined in file "validate.proto".

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log] definitions/validate/validate.proto:42:23: "validate.FieldRules.int32" is already defined in file "validate.proto".

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log] definitions/validate/validate.proto:43:23: "validate.FieldRules.int64" is already defined in file "validate.proto".

2023-06-06 13:27:15,341 ERROR v.z.b.c.p.ProtocInvoker: [Protoc error log
...

Do you know how to solve this?
Maybe it's due to the include_imports parameter that is set when calling protoc.exe?
Can I set this somehow in the plugin?
I have also tried to place validate.proto in a subfolder but then I had the problem that I have to reference validate.proto using a relative path which I couldn't get to work in the protobuf definition.

I had many similar proplems, but everything fixed itself when I moved my proto directory from inside directory with my scenario.

Can you please elaborate on the files you had to move and into which directory to get this to work. I am running into the same type of errors "File not found" even though the proto files are there and "already defined in" errors

As I can see protoc.exe uses scenario dir as it's current dir. So to have less conflicts you need to put your proto files somewhere not under scenario directory.
I myself have such dir structure:
bin - jmeter binaries
...
scenarios - here are my jmxes
proto - here are my protos

Not sure if this helps.
Anyway just look at protoc.exe command from j-meter error console and you may find what's wrong, that helped me.
But first of all before you begin you need to be sure your proto file structure is valid and compilable by protoc, I knew that already so I was not expecting any errors at all.

Can you please elaborate on the files you had to move and into which directory to get this to work. I am running into the same type of errors "File not found" even though the proto files are there and "already defined in" errors

As I can see protoc.exe uses scenario dir as it's current dir. So to have less conflicts you need to put your proto files somewhere not under scenario directory. I myself have such dir structure:
bin - jmeter binaries
...
scenarios - here are my jmxes
proto - here are my protos

Not sure if this helps. Anyway just look at protoc.exe command from j-meter error console and you may find what's wrong, that helped me. But first of all before you begin you need to be sure your proto file structure is valid and compilable by protoc, I knew that already so I was not expecting any errors at all.

Thank you for your response, how do you know if the protoc file structure is compatible, we are able to build it in VS

Thank you for your response, how do you know if the protoc file structure is compatible, we are able to build it in VS

Exactly by building it in VS with Grpc.Tools nuget as Client.
For example in my csproj I have such settings
   <Protobuf Include="Proto\myservice\v1\*.proto" ProtoRoot="Proto\myservice\v1\" OutputDir="$(Protobuf_OutputPath)\myservice\v1\" AdditionalImportDirs="Proto" GrpcServices="Client" />
and in GRPC sampler I set proto directory as
..\proto\myservice\v1
in jmeter console I see protoc command where all my .proto files are passed one by one, and "-IC" parameter has my "scenarios" and "..\proto\myservice\v1" directories among other.
You can also unpack protoc from plugin's jar and debug further using just protoc.exe and that command from console.

Thank you for your response, how do you know if the protoc file structure is compatible, we are able to build it in VS

Exactly by building it in VS with Grpc.Tools nuget as Client. For example in my csproj I have such settings  <Protobuf Include="Proto\myservice\v1\*.proto" ProtoRoot="Proto\myservice\v1\" OutputDir="$(Protobuf_OutputPath)\myservice\v1\" AdditionalImportDirs="Proto" GrpcServices="Client" /> and in GRPC sampler I set proto directory as ..\proto\myservice\v1
in jmeter console I see protoc command where all my .proto files are passed one by one, and "-IC" parameter has my "scenarios" and "..\proto\myservice\v1" directories among other.
You can also unpack protoc from plugin's jar and debug further using just protoc.exe and that command from console.

Thanks, good call. Yes we are seeing some inconsistencies in the import statements with and without the proto root. Hence the not found errors

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.


Unix Time in tooltip

Hello and thanks for this nice plugin,
I don't know if this is a question or a feature request.
i have made a couple of Line graphs using the example Time series with moment.js
so my data is given as an array of objects just as in the example. x time values in UNIX time and y is my data.
The problem is that the tooltip plugin shows both x (time) and y values. The time is in UNIX time so it is not very informative.
I would rather show it in a formatted manner or do not show it at all.
Any help is welcome

I guess I haven't seen the tooltipFnc in the options. Nice option, i was able to edit the tooltip content to my needs.


AI Integration: Fixes event generation for failed requests

Description
Right now, High Latency and Request Failures are generating event with same name i.e LatencyOverThreshold, It is confusing for customer for latency threshold was not crossed but was request failure due to some reason.
As part of this PR, Generating event with event name as FailedResponse id there is request failure.
Type of change

[] Bug fix (non-breaking change which fixes an issue)

Closing issues
To automatically close an issue: closes #3972

Yes, initially event name was quite generic then we separated out them into, Latency vs Error(or exception), that's where we should have made this change also.


[Proposal] Single Particle Distribution Interface

⚠ This PR uses the current dev-branch of QEDprocesses.jl, especially ParticleStateful. It should considered for merging after the used functionality is released.
⚠ There is a file add_QEDprocesses_dev.jl which is called in the CI and adds the dev-version of QEDprocesses.jl to enable proper unit tests. For similar reasons, the doc-building is broken.
With this PR we add the interface for sampleable distributions in the context of QEDevents.jl. This adopts and uses the structures from Distributions.jl. The main differences are the element types, where we use ParticleStateful (and eventually PhaseSpacePoints) and different variant forms. The latter is necessary because univariate (== one particle in our case) is based on full momentum information (via the particle-stateful) instead of single floats.
In favor of the new interface, this PR removes the sampler_interface.jl, because it is not driving forward the sampling on particle properties and blocks the usage of Distributions.jl.
TODOs

[ ] remove add_QEDprocesses_dev.jl and respective line in .gitlab-ci.yaml
[x] implement tests for weight functionality

@AntonReinhard how do we proceed with this one and the follow-up PR #24 in the context of the current refactoring?
I suggest to merge #23 and #24 to dev and then start the refactoring process for QEDevents.jl (opting out QEDbase.jl and moving the interfaces)

I suggest to merge https://github.com/QEDjl-project/QEDevents.jl/pull/23 and https://github.com/QEDjl-project/QEDevents.jl/pull/24 to dev and then start the refactoring process for QEDevents.jl (opting out QEDbase.jl and moving the interfaces)

Yes, sounds good.


release-1.12 linux vm live migration ping  lost more than 10 seconds

Bug Report
release-1.12 vm live migration ping  lost less than 3 seconds
Expected Behavior
release-1.12 vm live migration ping  lost more than 10 seconds
Actual Behavior
Steps to Reproduce the Problem

Additional Info
we have fixed this, pr will be later

Kubernetes version:
Output of kubectl version:
(paste your output here)

kube-ovn version:
(paste your output here)

operation-system/kernel version:
Output of awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:
Output of uname -r:
(paste your output here)

kubevirt 侧在热迁移过程中，需要暴露一些 annotation，以便让 kube-ovn 对 lsp 设置以及清理 migrator options。

默认 vpc 场景 测试结果

创建三个 pod 在不同的 node， 同时 ping 0.1 迁移状态中的虚拟机， 虚拟机热迁移三次，查看是否丢包

[root@euler-x86-70 pods]# kgp | grep ping
kube-system    euler-x86-70-pinger                                     1/1     Running             0          5s      <IP_ADDRESS>    euler-x86-70   <none>           <none>
kube-system    euler-x86-71-pinger                                     1/1     Running             0          5s      <IP_ADDRESS>    euler-x86-70   <none>           <none>
kube-system    euler-x86-73-pinger                                     1/1     Running             0          5s      <IP_ADDRESS>    euler-x86-70   <none>           <none>

[root@euler-x86-70 pods]# kgp | grep vm-m
zal            virt-launcher-zal-vm-m-b6pf6                            1/1     Running             0          138m    <IP_ADDRESS>   euler-x86-70   <none>           1/1

[root@euler-x86-70 ~]# kgp | grep vm-m
zal            virt-launcher-zal-vm-m-b6pf6                            0/1     Completed           0          147m    <IP_ADDRESS>   euler-x86-70   <none>           1/1
zal            virt-launcher-zal-vm-m-rp67c                            1/1     Running             0          2m15s   <IP_ADDRESS>   euler-x86-71   <none>           1/1
[root@euler-x86-70 ~]#
[root@euler-x86-70 ~]#
[root@euler-x86-70 ~]# k delete  po -n zal            virt-launcher-zal-vm-m-b6pf6
pod "virt-launcher-zal-vm-m-b6pf6" deleted        # 删除 complete 状态的虚拟机也会触发 options             : {} 的 重置，这个操作一般都是人为手动删的。所以不会影响
[root@euler-x86-70 ~]#
[root@euler-x86-70 ~]#
[root@euler-x86-70 ~]#  kgp | grep vm-m
zal            virt-launcher-zal-vm-m-rp67c                            1/1     Running             0          2m35s   <IP_ADDRESS>   euler-x86-71   <none>           1/1
[root@euler-x86-70 ~]#

#### 第一次测试，丢包持续 <= 0.5s

3755 packets transmitted, 3750 packets received, 0% packet loss  # 丢 5个包
round-trip min/avg/max/stddev = 0.094/0.322/2.159/0.171 ms
root@euler-x86-73-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
4710 packets transmitted, 4706 packets received, 0% packet loss # 丢 4个包
round-trip min/avg/max/stddev = 0.104/0.311/21.394/0.346 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
4462 packets transmitted, 4458 packets received, 0% packet loss # 丢4个包
round-trip min/avg/max/stddev = 0.117/0.347/21.338/0.361 ms
root@euler-x86-71-pinger:/kube-ovn#

#### 第二次测试，丢包持续 <= 0.8s

^C--- <IP_ADDRESS> ping statistics ---
735 packets transmitted, 728 packets received, +22 duplicates, 0% packet loss # 丢 7个包
round-trip min/avg/max/stddev = 0.037/0.463/7.571/1.040 ms
root@euler-x86-73-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
699 packets transmitted, 691 packets received, +21 duplicates, 1% packet loss # 丢 8个包
round-trip min/avg/max/stddev = 0.038/0.497/7.467/1.059 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
664 packets transmitted, 656 packets received, +21 duplicates, 1% packet loss # 丢 8个包
round-trip min/avg/max/stddev = 0.038/0.488/7.227/1.076 ms
root@euler-x86-71-pinger:/kube-ovn#

#### 第三次测试，丢包持续 <= 0.5s

^C--- <IP_ADDRESS> ping statistics ---
1917 packets transmitted, 1912 packets received, 0% packet loss # 丢5个包
round-trip min/avg/max/stddev = 0.105/0.350/2.434/0.180 ms
root@euler-x86-73-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1960 packets transmitted, 1955 packets received, 0% packet loss # 丢5个包
round-trip min/avg/max/stddev = 0.095/0.249/1.495/0.133 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1920 packets transmitted, 1915 packets received, 0% packet loss # 丢5个包
round-trip min/avg/max/stddev = 0.066/0.287/2.390/0.201 ms
root@euler-x86-71-pinger:/kube-ovn#

#### 连续切换5次，平均 丢包持续 <= 0.5s

^C--- <IP_ADDRESS> ping statistics ---
4917 packets transmitted, 4892 packets received, 0% packet loss # 丢25个包
round-trip min/avg/max/stddev = 0.086/0.438/109.496/2.169 ms
root@euler-x86-73-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
4908 packets transmitted, 4883 packets received, 0% packet loss # 丢25个包
round-trip min/avg/max/stddev = 0.085/0.450/109.385/2.166 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
4899 packets transmitted, 4874 packets received, 0% packet loss # 丢25个包
round-trip min/avg/max/stddev = 0.082/0.460/109.474/2.172 ms
root@euler-x86-71-pinger:/kube-ovn#

vlan 场景测试结果

#### 虚拟机 ip

[root@zal-vm-m ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:00:00:86:a7:52 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/26 brd <IP_ADDRESS> scope global dynamic noprefixroute eth0
       valid_lft 86313330sec preferred_lft 86313330sec
    inet6 fe80::200:ff:fe86:a752/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[root@zal-vm-m ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS> U     100    0        0 eth0
[root@zal-vm-m ~]# ip route add default via <IP_ADDRESS>
[root@zal-vm-m ~]#
[root@zal-vm-m ~]#
[root@zal-vm-m ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>         <IP_ADDRESS>   <IP_ADDRESS>         UG    0      0        0 eth0
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS> U     100    0        0 eth0
[root@zal-vm-m ~]#
[root@zal-vm-m ~]#
[root@zal-vm-m ~]#
[root@zal-vm-m ~]# [root@euler-x86-70 vlan]#
[root@euler-x86-70 vlan]#
[root@euler-x86-70 vlan]#
[root@euler-x86-70 vlan]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=0.863 ms

#### pinger

[root@euler-x86-70 vlan]# kgp| grep pinger
kube-system    euler-x86-70-pinger                                     1/1     Running             0          25m     <IP_ADDRESS>   euler-x86-70   <none>           <none>
kube-system    euler-x86-71-pinger                                     1/1     Running             0          25m     <IP_ADDRESS>   euler-x86-70   <none>           <none>
kube-system    euler-x86-73-pinger                                     1/1     Running             0          25m     <IP_ADDRESS>   euler-x86-70   <none>           <none>

#### 第一次测试，0.1s 间隔 ping， 0丢包

^C--- <IP_ADDRESS> ping statistics ---
2178 packets transmitted, 2178 packets received, +1 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.023/0.117/2.328/0.109 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
2137 packets transmitted, 2137 packets received, +1 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.023/0.117/2.432/0.109 ms
root@euler-x86-71-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1958 packets transmitted, 1958 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.023/0.113/2.082/0.108 ms
root@euler-x86-73-pinger:/kube-ovn#

#### 第二次测试，0.1s 间隔 ping， 0丢包

^C--- <IP_ADDRESS> ping statistics ---
995 packets transmitted, 995 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.038/0.208/5.550/0.502 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1035 packets transmitted, 1035 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.038/0.222/5.539/0.533 ms
root@euler-x86-71-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1093 packets transmitted, 1093 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.039/0.217/5.589/0.522 ms
root@euler-x86-73-pinger:/kube-ovn#

#### 第三次测试，0.1s 间隔 ping， 0丢包
^C--- <IP_ADDRESS> ping statistics ---
1535 packets transmitted, 1535 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.023/0.268/85.838/2.559 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1527 packets transmitted, 1527 packets received, +1 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.023/0.298/80.868/2.585 ms
root@euler-x86-71-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
1535 packets transmitted, 1535 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.022/0.182/32.376/0.830 ms
root@euler-x86-73-pinger:/kube-ovn#

#### 全新连续切换5次，0.1s 间隔 ping， 0丢包， 平均 dup <=0.5ms

^C--- <IP_ADDRESS> ping statistics ---
4866 packets transmitted, 4866 packets received, +25 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.036/0.230/5.397/0.375 ms
root@euler-x86-70-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
4861 packets transmitted, 4861 packets received, +24 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.037/0.243/9.979/0.414 ms
root@euler-x86-71-pinger:/kube-ovn#

^C--- <IP_ADDRESS> ping statistics ---
4859 packets transmitted, 4859 packets received, +25 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 0.035/0.231/4.682/0.371 ms
root@euler-x86-73-pinger:/kube-ovn#

vlan 场景下丢包率更低

pr has add support of  ovn lsp migration options settings，but it only work for pod with MigrationSourceAnnotation and MigrationTargetAnnotation annotation both set, which is kubevirt's duty. but i have not found MigrationSourceAnnotation  been set in kubevrit latest source code(main branch with 055c6e0491fa93befa6372ca4d367916cabcb5af), how the upper test done?

@Longchuanzheng will you please commit the code to the kubevirt in kube-ovn, thanks!

@Longchuanzheng will you please commit the code to the kubevirt in kube-ovn, thanks!

OK, I will upload the functional code first, although there are still some unit tests that are not completed

@bobz965, @anyfeel  https://github.com/kubeovn/kubevirt-dpdk/pull/1

@bobz965 referencing our thread on Slack, is this problem fixed? I'm seeing a lot of duplicates on some migrations and 10s+ of drops when migrating on 1.13.0

@SkalaNetworks do you apply the patch in kube-virt? this problem is fixed, but you need kubevirt to set the annotation to make kube-ovn to activate the ovs port in the destination node.

Are you referencing https://github.com/kubeovn/kubevirt-dpdk/pull/1 ? That's a pretty big patch and it's attached to the DPDK repository, are there particular plans to push it upstream? I'll see if I can try it
-------- Original Message --------
On 10/25/24 08:04, bobz965  wrote:

@.***(https://github.com/SkalaNetworks) do you apply the patch in kube-virt? this problem is fixed, but you need kubevirt to set the annotation to make kube-ovn to activate the ovs port in the destination node.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@bobz965 yes, you should use kubeovn/kubevirt-dpdk#1 to test this feature, which has some tests in it. you can try, if you have some better advice to make the code more simple, please tell us!
thanks!

kubevirt 侧在热迁移过程中，需要暴露一些 annotation，以便让 kube-ovn 对 lsp 设置以及清理 migrator options。
kube-ovn 测：

kube-ovn 识别出迁移出的 target vm， 设置 migrator lsp 标签。
迁移完毕后 reset migrator lsp 标签。
由于虚拟机 pod force delete 会导致 vm 重新调度，migrator lsp 标签会导致网络不通，所以 vm pod delete 的时候需要清理 migrator lsp 标签。

@bobz965  这些需要再  ovs侧 有什么特殊设置吗？  我在测试过程中 设置 migrator lsp 标签，后网络就不通了，直到迁移完成才恢复网络。

ovs 本身不需要直接操作


Too many HTTP requests

We have

snapshot
historical quotes (price)
Options quotes

I try to show the data as we receive it, but 3 HTTP requests is quite a lot. Having a server constantly scrape data and return it is probably the way to go, but that means we need to set up a server...

Got it down to 2 (options, historical), and they happen in parallel


PartialEq for toml::de::Error

toml::ser::Error implements the PartiqlEq Trait. The de::Error does not. Any particular reason for that? The trait is useful if you are managing errors with your own type.

I don't know if there was a specific reason, but I think it should be fine to have the same traits as ser::Error.  Feel free to post a PR!

Shouldn't you derive the trait for ErrorKind and ErrorInner too? I think maybe that was the issue? @alexcrichton  might gives us a clue here?

Yes, it will be required for all 3 struct/enums.