bug: Topic API TypeError: exceptions must derive from BaseException

Bug Report
YDB GO Python version:
ydb==3.2.2

Current behavior:
    result = future.result(timeout=self._endpoint_config.start_wait_timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 445, in result
    return self.__get_result()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/Users/kbespalov/workspace/billing_venv/lib/python3.9/site-packages/ydb/_topic_writer/topic_writer_asyncio.py", line 158, in wait_init
    return await self._reconnector.wait_init()
  File "/Users/kbespalov/workspace/billing_venv/lib/python3.9/site-packages/ydb/_topic_writer/topic_writer_asyncio.py", line 259, in wait_init
    raise self._stop_reason.exception()
TypeError: exceptions must derive from BaseException

Expected behavior:
Check for None ?

Steps to reproduce:
Try to create producer for non-existent topic
  File "/Users/kbespalov/workspace/billing_venv/lib/python3.9/site-packages/ydb/_topic_writer/topic_writer_asyncio.py", line 636, in _start
    resp = await stream.receive()
  File "/Users/kbespalov/workspace/billing_venv/lib/python3.9/site-packages/ydb/_grpc/grpcwrapper/common_utils.py", line 199, in receive
    issues._process_response(grpc_message)
  File "/Users/kbespalov/workspace/billing_venv/lib/python3.9/site-packages/ydb/issues.py", line 197, in _process_response
    raise exc_obj(_format_response(response_proto), response_proto.issues)
ydb.issues.SchemeError: message: "no path \'local/topic\', Marker# PQ15" issue_code: 500017 severity: 1 (server_code: 400070)

Method
    async def wait_init(self) -> PublicWriterInitInfo:
        while True:
            if self._stop_reason.done():
                raise self._stop_reason.exception()

            if self._init_info:
                return self._init_info

            await self._state_changed.wait()

This exception appears when trying to write to a non-existent topic.
To reproduce the issue run following snippets separately one after another (different exception is raised when running individual parts as a single script):

import ydb
db = ydb.Driver(
    connection_string="grpc://localhost:2135?database=/local",
    credentials=ydb.credentials.AnonymousCredentials(),
)

writer = db.topic_client.writer(
        "/local/topic",  # <------------------------ non-existent topic
        producer_id="producer-id",
    )
ii = writer.wait_init(timeout=10)

Expected result:
Traceback (most recent call last):
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode
    coro = func()
  File "<input>", line 1, in <module>
  File "/Users/pltnkv/code/ydb-python-sdk/ydb/_topic_writer/topic_writer_sync.py", line 94, in wait_init
    return self._caller.unsafe_call_with_result(self._async_writer.wait_init(), timeout)
  File "/Users/pltnkv/code/ydb-python-sdk/ydb/_topic_common/common.py", line 83, in unsafe_call_with_result
    return f.result(timeout)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 445, in result
    return self.__get_result()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/Users/pltnkv/code/ydb-python-sdk/ydb/_topic_writer/topic_writer_asyncio.py", line 158, in wait_init
    return await self._reconnector.wait_init()
  File "/Users/pltnkv/code/ydb-python-sdk/ydb/_topic_writer/topic_writer_asyncio.py", line 259, in wait_init
    raise self._stop_reason.exception()
TypeError: exceptions must derive from BaseException


Automated deployments from the master branch

This PR adds a CD for master.
It creates 3 deployments on push to master:

Cambodia https://prism-master-cambodia.surge.sh/
Mozambique https://prism-master-mozambique.surge.sh/
RBD https://prism-master-rbd.surge.sh/

Those deployments are not triggered by a pull request:

We could also look into creating composite actions for our common tasks
See https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
Again, not a priority but could be interesting to explore


Documentation and API stubs

Closes #26

I settled on a combination of functional options and "data" options.
See https://news.ycombinator.com/item?id=16503839

Config structs are nice but make the default case verbose and don't read very nicely compared to a varidiac of options.


Implement to-do

[ ] Type casting with type hints
[ ] Verbose usage --help
[ ] Parse docstring
[ ] Flags (args without value like --enable_foo --enable_bar)
[ ] Subcommands (low priority)
[ ] More abbreviation patterns (e.g. -ef for --enable_foo)

also i am implementing your lib into my own called cookie. I havent yet, however I will out your name in my LICENSE file since I am building off of your work.

put your name**

also ill add you as a contrib

@PyDever you'll find my name in my profile page and I'm happy to see it in your work, but there are several questions.

I don't know what you want to do but simply, why did you make an issue #2 which requests me to implement new feature? I adopted MIT license so yes, you can copy and redistribute it, but it looks strange. If you request that feature you can do: 1. wait for it to be implemented  2. fork it, and send PR back to mine. I don't suspect you at this time but IF you copy that new feature from my commits in future, that's really not appreciated even if MIT License permits you to do so.

MIT License requests you to "include copyright notice in all copies or substantial portions" . Thus, if you copied my work, you must include my original copyright notice in your LICENSE file.

MIT License

Copyright (c) 2017 Takumi Sueda

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

okay I would like to seperate work. I also respect your worm and will paste your copyright notice into my LICENSE.

work not worm lol

hey and by the way I see how that could be fishy. That is not at all my intent.  I am trying to implement this feature, i just wanted to let you know you should too. sorry about that.

Just finished. Your name is on the frontpage of the project, in the license, and in the AUTHORS file.

Well your copyright notice and name are in the license.

https://github.com/PyDever/cookie


ref singleton fix

Fixed issue with ref singleton

Codecov Report

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

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   93.40%   93.40%
=======================================
  Files          30       30
  Lines         758      758
=======================================
  Hits          708      708
  Misses         50       50

Impacted Files
Coverage Δ

deltas/tokenizers/wikitext_split.py
100.00% <ø> (ø)

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 ac0a8f2...88a12ea. Read the comment docs.


Does not work on Android

I followed every step in the manual instructions and tried react-native link. Does not work. I can properly get it to work on iOS.
undefined is not an object (evaluating 'RN18n.getLanguages')

I realized it was my mistake, I had to "getPackages" in MainApplication, one inside of new ReactNativeHost(this) { and the other under NavigationApplication.  I just made the first one empty (it still needs getPackages) then added   new RNI18nPackage(), to the second one.

import android.app.Application;
import android.support.annotation.Nullable;

import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import com.reactnativenavigation.NavigationApplication;

import java.util.Arrays;
import java.util.List;

import com.AlexanderZaytsev.RNI18n.RNI18nPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.evollu.react.fcm.FIRMessagingPackage;

public class MainApplication extends NavigationApplication {

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    public boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
          new RNI18nPackage(),
          new VectorIconsPackage(),
          new FIRMessagingPackage()
      );
    }
  };

  @Override
  public ReactNativeHost getReactNativeHost() {
    return mReactNativeHost;
  }

  @Override
  public void onCreate() {
    super.onCreate();
    SoLoader.init(this, /* native exopackage */ false);
  }

  @Override
  public boolean isDebug() {
    return BuildConfig.DEBUG;
  }

  @Nullable
  @Override
  public List<ReactPackage> createAdditionalReactPackages() {
    return null;
  }
}

same error here, but no luck..

When I downgrade into 2.0.4, error message is turn into undefined is not an object (evaluating 'RN18n.languages'), same as another linking problem.. And I cant downgrade to 1.0.0 due to SDK Build Tools version is too low.

FYI, I cant find RNI18n in NativeModules.
More than 20 times checked manual instructions..
And I didnt used Create React Native App.
I completely removed Android Studio and installed again.

After many efforts, I commented out
https://github.com/AlexanderZaytsev/react-native-i18n/blob/master/index.js#L12
but in this case, no longer need to use whole react-native-i18n.
So I decided to use core only.
https://github.com/fnando/i18n-js
then problem is gone.
ex)
import I18n from 'i18n-js'
import tools from '~/utils/tools'
import translations from '@/locales'

I18n.fallbacks = true
I18n.translations = translations
I18n.defaultLocale = 'en'
I18n.locale = tools.getLocale()

export default I18n

tools.js
  getLocale() {
    let locale = null
    if (this.isIOS()) {
      locale = NativeModules.SettingsManager.settings.AppleLocale
      switch (locale) {
        case 'zh-Hant_US':
          locale = 'zh_tw'
          break
        case 'zh-Hans_US':
          locale = 'zh_cn'
          break
        case 'ko-Kore_US':
          locale = 'ko'
          break
        default:
          locale = 'en'
      }
    } else {
      const rawLocale = NativeModules.I18nManager.localeIdentifier
      locale = rawLocale.substr(0, 2).toLowerCase()
      if (locale === 'zh') {
        locale = rawLocale.substr(0, 5).toLowerCase()
      }
    }
    return locale
  }

locales.js
export default {
  "en": {
    "m": {
      "mypage": {
        "language_and_currency": "Language & Currency"
      }
    }
  },
  "ko": {
    "m": {
      "mypage": {
        "language_and_currency": "언어 및 화폐"
      }
    }
  },
  "zh_cn": {
    "m": {
      "mypage": {
        "language_and_currency": "语言及货币"
      }
    }
  },
  "zh_tw": {
    "m": {
      "mypage": {
        "language_and_currency": "語言及貨幣"
      }
    }
  }
}

To avoid this error, we have to install Android build tools 25.0.2 like the doc has described.
Then if this error happens again, rebuild the app and reinstall(By reinstall I mean remove the existing installation and install freshly).


Error building AlphaFill on Ubuntu 20.04.5 LTS

Hi,
Great work on AlphaFill, this is really helping with some large-scale structure-function studies we always wanted to do. I am not much of a computer guy, but I am trying to use alphafill as a part of my PhD. I would greatly appreciate your help!
I am trying to build alphafill on Ubuntu 20.04.5 LTS using cmake. I followed the instructions in README.md step by step. I encounter the following error. Any idea why this error comes up and how to fix this?
ubuntu@xx:~/alphafill_code/alphafill/build$ sudo cmake --build .
Scanning dependencies of target webpack
[  6%] Generating ../docroot/scripts/index.js
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'run'
make[2]: *** [CMakeFiles/webpack.dir/build.make:67: ../docroot/scripts/index.js] Error 1
make[1]: *** [CMakeFiles/Makefile2:888: CMakeFiles/webpack.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

Thanks,
Veda.

Hi Veda,
Did you install yarn? The one from https://yarnpkg.com/

Hi @mhekkel
Thank you so much for your quick response!
Yes, I had installed yarn using node.js and figured the binary is named 'node.yarn'. I now created a symbolic link to this as '/usr/bin/yarn' and run the setup again. It worked!
Thanks a lot!
Veda.


App quite after pressing volume keys on macOS Catalina

Expected Behavior

Press volume keys without quit.
Current Behavior

After press volume keys, the entire app would quit immediately.
Just like command + Q.
Possible Solution

N/A
Steps to Reproduce (for bugs)

git clone electron and yarn
yarn add iohook
start
Press key volume up
Quit

Context

/Users/pisces/workspace/demos/elet/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron exited with signal SIGILL
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Your Environment

"dependencies": {
    "iohook": "^0.7.2",
     "electron": "^11.3.0",
  },
  "iohook": {
    "targets": [
      "node-83",
      "electron-85"
    ],
    "platforms": [
      "win32",
      "darwin"
    ],
    "arches": [
      "x64",
      "ia32"
    ]
  }

node.js v14.15.5
macos Catalina v10.15.6

Having the same issue on bigSur, not only on volume keys but all the media keys

Same issue on Big sur, also for all the media keys

Can anyone provide a stacktrace?

Further to what @ash0x0 asked, can you provide pics of the keyboard you are seeing this on and details on keyboard model? (Is it Apple official? 3rd party? Built into Macbook?). Unable to repro here on several Apple & generic/3rd party keyboards that I've tested on. Some media keys get trapped by iohook and others seemingly ignored, but no crashes here.

I crashes for me when using touch bar media controls (volume, play/pause). However, this happens only when running the app through a terminal with electron app.js. When the app is built using electron-builder I've experienced it once or twice, but cannot reproduce every time.
Environment:

macOS Catalina 10.15.7,
MacBook Pro 16",
iohook running in Electron 11 on Node 14 in the main process.


Gracefully skip serialization of properties backed by non-serializable objects

I am using this library to serialize value objects provided by commerceguys/addressing, that is, a library I do not maintain in-tree.
One of the properties of the object I am serializing is defined as
/**
 * Gets the subdivision children.
 *
 * @return ArrayCollection|LazySubdivisionCollection The subdivision children.
 */
public function getChildren(): Collection
{
    return $this->children;
}

None of these classes has the kind of typed return values object-hydrator is looking for, so it fails with Unable to serialize object on the parent object being serialized. It would be nice if the library could gracefully skip properties which are not serializable for whatever reason. I understand that in many cases failing early would be preferable (that is, when writing your own code that needs to be symmetrically serializable. But in other cases, such as using this library to predictably serialize value objects of various types, we can be a little more liberal.
If I owned the code in question then I could annotate the properties to be skipped. But since this is out-of-tree, I need to be able to handle this condition from outside. I'm going to experiment with a customized service(s) to DefinitionProvider to do something like this?

So messing around with this for a while, I've found that DefinitionProvider is final, so no overriding its methods. It seems there's no way to do what I'm discussing by passing a custom implementation of any of its dependent services (as passed to the constructor) but what about an extra argument to the constructor to say, skip any property for which a type cannot be determined? We could keep the current behavior the same (fail early) while maintaining some flexibility around serializing objects that can't be annotated.
By the same token, it would be nice to be able to skip serialization of entire parameters through some type of setting to omit any member that is of a certain class (in this example, Collection) or particular named properties? I think this is related in spirit to https://github.com/EventSaucePHP/ObjectHydrator/issues/47.

I ended up implementing a custom serializer for the object type in question, but I think there's still room for the ability to skip a serialization without being able to annotate the object in question.

Hi @bradjones1, there is a DoNotSerialize attribute to prevent a property from being serialized, would that have helped you out?

After re-reading it I see that my suggestion is not an option.

@bradjones1 coming back to this. For the next version I've extracted an interface, which should help with the class being final. That said, the current definition provider has a DefaultSerializerRepository and a DefaultCasterRepository which allows you to assign casters and serializer based on a type. Wouldn't that fit your situation?


Find a method can set the waypoint directly in QGroundControl

I need this feature very soon. But I cannot find any action can trigger QGroundControl to send a message (SET_GLOBAL_POSITION_SETPOINT_INT ( #53 ) or any similar message).

We had finished this feature in current master branch


Bounding box and infered image isn't be display at infering coco-dog in digits6.1.1

I trained coco-dog model in digits6.1.1.  I test a single image 000074.jpg,bounding box isn't be display. But i select "Raw Data" Method,i can see  bbox-list [[ 37. 411. 372. 587. 3.0449219] ,I think inference is success.  I copy trained model to jetson nano，bounding box is displayed.
How to reslove it!thanks.
OS：ubuntu 16.04

I am also facing a similar issue. I work on DIGITS6. have trained my model with an mAP of 37. When testing with single image, bounding box is not displayed. In the raw method, bounding box is displayed but the inference image is also not displayed.


ntech: prepare abstract of skybox demo

The abstract for ntech is supposed to be one page and it is due by July/19 (Fri).
The content will be mostly from my previous presentation.
But probably I should include more background information for people who are not familiar with Slang.

When I contacted Johannes who is the implementor of skybox demo, he showed an interest of presenting it by himself.
We discussed how to proceed and decided that I write an initial draft of the abstract and Johannes will continue from it.
I sent an email with half filled draft based on the provided NTECH abstract template
I think my role for this task is done, but I will wait for him to reply and see if he needs more assistance.

Johannes submitted the abstract for ntech.
Closing as done.


Importer refactor

Refactor some 3k lines of code from the class definition (nested 3
indentation levels) to static functions or out-of-line
definitions. Reduces some of code browsing burden of the class, though
I hope to do more cleanup to the file as a whole.

Move helper methods off of the Impl and into CFTypeInfo.h, where we
have the other CF type reasoning logic.

Many of the Impl's methods are relevant to only one file or task. Make
more of them static, and when possible, move them off of the Impl
class.

NFC

Resolves SR-NNNN.

@swift-ci please test

@swift-ci please smoke test

@shahmishal any reason why I can't merge this after it passed all tests?

I am doing the master-next merge so the tree is locked. I sent out an announcement to apple-swift-dev on Friday.
Michael

On Sep 11, 2016, at 10:46 AM, Michael Ilseman<EMAIL_ADDRESS>wrote:
@shahmishal https://github.com/shahmishal any reason why I can't merge this after it passed all tests?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/apple/swift/pull/4706#issuecomment-246193294, or mute the thread https://github.com/notifications/unsubscribe-auth/AAee3xlr84K3vSmI9aCfbrwFrcgycLCPks5qpD58gaJpZM4J54PO.


[Revise subclass] MONDO:0016587, arrhythmogenic right ventricular cardiomyopathy

Mondo term (ID and Label)
MONDO:0030062 'arrhythmogenic right ventricular dysplasia, familial, 14'
Suggested revision and reasons
Should this be a direct child of MONDO:0016342 'familial isolated arrhythmogenic right ventricular dysplasia' rather than a sibling?
Your nano-attribution (ORCID)
0000-0001-7451-4467

Yes, I believe so. This is how it is classified in Orphanet, not sure why it wasn't done this way in Mondo - I will fix.
Thanks @maglott

agreed, but can you look a bit deeper here @nicolevasilevsky?
There should be a logical axiom connecting fiARVC and ARVC. I believe it should be fiARVC = ARVC and has-characteristic isolated
(Note ARVC is already inherited: https://www.cardiomyopathy.org/arrhythmogenic-right-ventricular-cardiomyopathy/intro )
AFAICT the only non-isolated form is Naxos.
The PS appears to collect only the isolated forms
https://omim.org/phenotypicSeries/PS107970
Thus the PS xref should move down to the fi form.
Can you also fix the parents of MONDO:0007152?

@matentzn - we should connect the isolated dp to some kind of annotation check, not sure how to implement, e.g. semantic similarity threshold... or maybe isolated Xs should also always be accompanied by disjointness axioms?


consent management faq

🚀 Deployed on https://66e25968198403cb2424f1bc--cozy-fox-0defec.netlify.app


Deny shoots referencing absent DNS provider secrets

How to categorize this PR?

/area robustness
/kind enhancement
/kind api-change
/priority normal
What this PR does / why we need it:
This PR makes the ResourceReferenceManager admission plugin check if referenced DNS provider secrets (shoot.spec.dns.providers[*].secretName) exist in the project namespace.
Which issue(s) this PR fixes:
Fixes #2736
Release note:

Gardener now checks if referenced DNS provider secrets (.spec.dns.providers[*].secretName) exist in the project namespace during shoot creation and update requests. Requests will be denied if the referenced secret is not available.

Sorry @rfranzke, I accidentally pushed to the wrong branch which took away your approval.


[SPARK-48679]Upgrade checkstyle and spotbugs version

What changes were proposed in this pull request?

Why are the changes needed?

After the initial PR for operator builder analysis tasks - new versions for a few builder tasks have been released with features and bug fixes. This PR aims to promote dependencies to the latest versions.
Does this PR introduce any user-facing change?

no.
How was this patch tested?

pass the CIs.
Was this patch authored or co-authored using generative AI tooling?

no

Hi @dongjoon-hyun - can you please help to review this ?


Fix that message-boxes can extend off the screen (should wrap if too long)

Example:

Create a node with this text: (from here)

Introduction: The Diablo Canyon Power Plant is the only operational nuclear plant in California. At the start of this debate, its two nuclear reactors are set to be decommissioned in 2024 and 2025 respectively. However, there are efforts to extend the life of the power plant. This paper details the different positions that various stakeholders' take on the issue of whether the plant should remain open or closed. We have collected over 5,000 arguments, claims, and pieces of evidence from the different points of view we discovered. Parts of this collection are incomplete and need more research and analysis. In some positions you will only see "one side," when in a later version of this all for and against arguments will be linked together. Please excuse the work in progress, this collection was released early due to legislative activities. To see background information about this topic, click on this sentence and "unpack."

Right-click the node and press "Unlink".
The dialog that shows up will extend (far) off the screen; instead, the dialog should be at most the same width as the viewport, and the text should wrap to fit within that (although it should only wrap if necessary, so should use css white-space: pre-wrap, as explained in more detail here).

This is now mitigated by having the "title" of a message-box not affect the dialog's sizing.
Can still happen if the content/"message ui" itself forces the dialog to become too large though. (though this is easier to manage case by case for now, by having a max-width on the root message-ui element)


Additional enhancements for --customruleset

Additional enhancements for #24

I agree with @bswatson on both counts: let's keep it simple and go with --ruleset and no short version of the option.

Long parameter names still look weird to me. :)

There are still a few lingering references to --customruleset, but other than that looks good :+1:

@daveross my apologies that I apparently missed your last push after my comment last week. Didn't mean to leave you on the edge of your seat :)
Thank you for the PR!


[Bug]: Improve performance of showing partial Pipelines / associated Pipeline Runs

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When we show "the first 5" Pipelines or Pipeline Runs under a pipeline -- we don't actually filter this by network. We fetch as much as the API will allow us and just try to client side sort and manage.
Expected Behavior
This is roughly what we need to do:

Filter the call to the "max count" -- which is 5 today, but we should use the same constant value throughout
Sort the response on created -- we want the latest created Pipeline or Pipeline Run -- we have other pages for them to investigate the more items that are older

This should impact these areas:

Project Pipelines
Project Pipelines' Runs
Global Pipelines' Runs

Steps To Reproduce
Setup:

Create 6 Pipelines
Inside a Pipeline create 6 Runs

View the UI in those areas and make sure your 6th one is gone and the "view more" link is available.
Workaround (if any)
No response
What browsers are you seeing the problem on?
No response
Open Data Hub Version
Dashboard: v2.10.0

Anything else
Somewhat related to https://github.com/opendatahub-io/odh-dashboard/issues/1223

/assign @uidoyen

/assign


无法发送图片

没进filebox的if，直接走进了最后的else 抛异常

"file-box": "^0.8.24",
"puppet-padchat-patch": "^0.1.11",
"wechaty-puppet-padchat": "^0.17.15",

Need More Information
Sorry, you did not follow the ISSUE Template, and there's not enough information about your problem.
In order to help us to find the problem out, you should provide all the detail information about the issue. Please make sure you are following the ISSUE Template, answer all the question, and the more important: provide the steps to reproduce the problem.
I'll close this issue. Please re-submit a new issue to provide the information that needed.


TimeLine  error

`buffers: {
size_kb: 63488
fill_policy: RING_BUFFER
}
buffers: {
size_kb: 8192
fill_policy: RING_BUFFER
}
data_sources: {
config {
name: "android.packages_list"
target_buffer: 1
}
}
data_sources: {
config {
name: "android.gpu.memory"
}
}
data_sources: {
config {
name: "linux.process_stats"
target_buffer: 1
process_stats_config {
scan_all_processes_on_start: true
proc_stats_poll_ms: 1000
}
}
}
data_sources: {
config {
name: "android.surfaceflinger.frametimeline"
}
}
data_sources: {
config {
name: "android.game_interventions"
}
}
data_sources: {
config {
name: "android.packages_list"
}
}
data_sources: {
config {
name: "linux.sys_stats"
sys_stats_config {
meminfo_period_ms: 1000
vmstat_period_ms: 1000
stat_period_ms: 1000
stat_counters: STAT_CPU_TIMES
stat_counters: STAT_FORK_COUNT
}
}
}
data_sources: {
config {
name: "android.heapprofd"
target_buffer: 0
heapprofd_config {
sampling_interval_bytes: 4096
#process_cmdline: "tech.autra.auto"
#continuous_dump_config {
#    dump_phase_ms: 1000
#    dump_interval_ms: 10000
#}
shmem_size_bytes: 8388608
block_client: true
}
}
}
data_sources: {
config {
name: "linux.ftrace"
ftrace_config {
#buffer_size_kb: 16384
#drain_period_ms: 150
ftrace_events: "binder/*"
ftrace_events: "sched/sched_switch"
ftrace_events: "sched/sched_wakeup"
ftrace_events: "sched/sched_wakeup_new"
ftrace_events: "sched/sched_waking"
ftrace_events: "power/suspend_resume"
ftrace_events: "power/cpu_frequency"
ftrace_events: "power/cpu_idle"
ftrace_events: "power/gpu_frequency"
ftrace_events: "gpu_mem/gpu_mem_total"
ftrace_events: "power/gpu_work_period"
#ftrace_events: "raw_syscalls/sys_enter"
#ftrace_events: "raw_syscalls/sys_exit"
ftrace_events: "mm_event/mm_event_record"
ftrace_events: "kmem/rss_stat"
ftrace_events: "ion/ion_stat"
ftrace_events: "dmabuf_heap/dma_heap_stat"
ftrace_events: "kmem/ion_heap_grow"
ftrace_events: "kmem/ion_heap_shrink"
ftrace_events: "sched/sched_process_exit"
ftrace_events: "sched/sched_process_free"
ftrace_events: "task/task_newtask"
ftrace_events: "task/task_rename"
ftrace_events: "lowmemorykiller/lowmemory_kill"
ftrace_events: "oom/oom_score_adj_update"
ftrace_events: "ftrace/print"
        atrace_categories: "sync"
        atrace_categories: "am"
        #atrace_categories: "adb"
        #atrace_categories: "aidl"
        #atrace_categories: "dalvik"
        #atrace_categories: "audio"
        #atrace_categories: "binder_lock"
        #atrace_categories: "binder_driver"
        #atrace_categories: "bionic"
        #atrace_categories: "camera"
        #atrace_categories: "database"
        atrace_categories: "gfx"
        #atrace_categories: "hal"
        atrace_categories: "input"
        #atrace_categories: "network"
        #atrace_categories: "nnapi"
        #atrace_categories: "pm"
        #atrace_categories: "power"
        #atrace_categories: "rs"
        #atrace_categories: "res"
        #atrace_categories: "rro"
        #atrace_categories: "sm"
        #atrace_categories: "ss"
        #atrace_categories: "vibrator"
        atrace_categories: "video"
        atrace_categories: "view"
        atrace_categories: "webview"
        atrace_categories: "wm"
        atrace_apps: "*"
    }
}

}
duration_ms: 15000
write_into_file: true
file_write_period_ms: 2500
max_file_size_bytes: 500000000
flush_period_ms: 10000
incremental_state_config {
clear_period_ms: 5000
}`
this is my perfeto config
using cmd to run : ~/perfetto/record_android_trace -c auto.pbtx
and run Success
Pulling into /home/huan.wang/traces/2024-01-24_15-22-4c116b.pftrace
pull /data/misc/perfetto-traces/2024-01-24_15-22-4c116b.pftrace /home/huan.wang/traces/2024-01-24_15-22-4c116b.pftrace
/data/misc/perfetto-traces/2024-01-24_15-22-4c116b.pftrace: 1 file pulled, 0 skipped. 40.5 MB/s (46403079 bytes in 1.093s)
shell rm -f /data/misc/perfetto-traces/2024-01-24_15-22-4c116b.pftrace
Opening the trace (/home/huan.wang/traces/2024-01-24_15-22-4c116b.pftrace) in the browser
but  perfetto timeline likethis:

2024-01-24_15-22-4c116b.zip

This is working as intended and comes from the fact that we automatically zoom into the region of the trace containing ftrace data (if it exists) as that's the part that most people care about.
If you zoom out, then you'll see the rest of the trace contains counters corresponding to the "linux.process_stats" data source. Because you are putting this source into a different buffer, it will naturally cover a different (larger) time range to ftrace.

The trace is different of normal  perfetto UI.
and what means 18:42:58 ?  which time is  18:42:58  mean?
android sometime the trace timeline is  normal ,  sometime the trace is exception

The trace is different of normal perfetto UI.

That might be because the config is different to your "normal" traces. I don't see anything wrong from our side.

what means 18:42:58 ? which time is 18:42:58 mean?

The time since the start of the trace. Looks like it's been 18ish hours since the trace started.

the trace only capture  60 second.
android the same config sometimes work good , sometime  work wrong.
I doubt the buffer config lead to this.
can you send the issue to some people who response  buffer config.

@stevegolton can you ptal at this?

There is a single expected frame timeline event about 19h before every other event in the trace.
Because of that the trace looks like:
[1 event].....................19 hours of nothing.......................[the rest of the trace]
We do not know why this occurs in your set up, it is not something we have encountered to my knowledge.

Maybe there is time sync mechanism in your system, for example ptp
Which may cause your timestamp jump forward or backward
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: Hector Dearman @.>
发送时间: Friday, January 26, 2024 2:17:42 AM
收件人: google/perfetto @.>
抄送: Subscribed @.***>
主题: Re: [google/perfetto] TimeLine error (Issue #689)
Closed #689https://github.com/google/perfetto/issues/689 as completed.
―
Reply to this email directly, view it on GitHubhttps://github.com/google/perfetto/issues/689#event-11600887313, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARLQZAWQZSN3IEDNKCEO7ITYQKOUNAVCNFSM6AAAAABCIIOU7GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGYYDAOBYG4ZTCMY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


[SIS-036] Add activity card page

As a user of the Sistema Lesson Planner, I want to be able to search for activity cards while in the lesson plan editor to add to my lesson plan.

Technical Information:
Inside packages/mobile/src/editor/screens/:

[ ] Create a new screen
[ ] Add dummy back button (icon and "Back" text shoudl be one button surrounded by a TouchableOpacity)
[ ] Add title and subtitles
[ ] Add TagFilter button component. Fill the screen with dummy tags for now.
[ ] Implement a dummy search box. You are welcome to use a package if that will make things easier. Currently, there doesn't need to be any dropdown that appears and searching doesn't have to work.

Anything that's reusable or takes too much code, like the TagFilter or Searchbar can be put into the components folder inside /editor/components.
By dummy, we mean onPress doesn't have to do anything.
Figma wireframe. Here's the designer's design for the Add Activity Card page (you don't have to implement the follow-up page, only this one linked). Please also add more padding/margin between the components as you see fit since it's kinda squished together on the wireframe.

Good Resources:
View
TouchableOpacity
Flexbox for centering
Stylesheet
ScrollView
SVG docs -- for icons

Go to the Figma hi-fidelity wireframe to export the icons as SVGs. On the right sidebar, Design > Export > SVG.
See example usage of SVGs here.

TextInput -- for search bar input; you're also welcome to use a package if that'll be easier, just make sure it's relatively customizable because we'll need to implement the searchbar more fully later

Update! Tags that you can include now are:

Warm Up
No Equipment
Beginner
Quick
Scale
Rhythm
Note Reading
Group Activity


SMACSS architecture

Hi,
I am working with Drupal 8 and it utilizes the SMACSS philosophy(https://smacss.com) which basically means that the styles are split into smaller files and are loaded only when needed, compared to the old "one-file-for-everything" approach.
I am looking at the structure of sass files(f6) and I am not sure how to achieve this since it looks to me like the smaller files only hold mixins, mostly, and everything is being mixed in the main file.
What would you recommend to achieve the SMACSS structure?

OK, so I think I figured this out. I have basically created scss file for each include defined in foundation.scss file and in it I have included component with the same name and called it so the resulting css file would contain the content of the mixin.
There are 4-5 files for which the mixins do not exist or are named differently. I think it was drilldown vs drilldown-menu, visibility vs visibility-classes and so on. Fixing this was easy.
Then I have noticed that many scss files are missing dependencies on variables. It turned out the solution for this was always including the settings scss file with each scss file with all variables uncommented.
Then there was issue with global styles, I had to copy all variables from the file into the setting file and it solved the issue.
The last issue I faced was improper order of variables in the setting file. I had to move the global styles at the beginning of the file and base typography before tooltip, which i had to move above joyride.
So right now it compiles just fine. I would welcome if the order of these would be fixed so I would not have to do this next time and also the global styles should be included in the setting file as well.

Hey friend, sorry for not replying to this sooner. Foundation 5 wasn't quite built with this kind of modularity in mind, and now that v5 is at end-of-life we won't be making any big architectural changes like this to it.
However, in Foundation 6 we made some good advancements in terms of how components are imported and exported. The framework itself is brought in with one @import statement, but it doesn't print any CSS by default. To export the default CSS for a component, you use an @include statement.
@import 'foundation';

@include foundation-global-styles;
@include foundation-grid-classes;
// ...

This makes the CSS a lot more portable; it can not only be put inside another partial (to pair it with your own CSS), it could also be namespaced within another class or ID.
We also flattened the dependency tree of the components. All components rely on global, button groups rely on buttons, and that's it. Everything else is completely self-contained.
Our Sass documentation goes into more detail about how the code is architected.
Thanks for using Foundation! :)


[Task] Plugin hot reloading.

Description

Develop the front-end page and provide an entry point for uploading plugins.
The backend implements hot reloading of plugins without restarting the service.
Write a document to tell everyone how to use it

Please assign it to me , I can try to implement this feature


regression in getChainTips test

What happened:
Test failing due to regression.
Test CI Logs https://github.com/DeFiCh/jellyfish/pull/323/checks?check_run_id=2713213400
Test summary
Summary of all failing tests
FAIL packages/jellyfish-api-core/__tests__/category/blockchain/getChainTips.test.ts (9.21 s)
  ● ChainTips › should getChainTips

    expect(received).toBeGreaterThan(expected)

    Expected: > 0
    Received:   0

      20 |     for (let i = 0; i < chainTips.length; i += 1) {
      21 |       const data = chainTips[i]
    > 22 |       expect(data.height).toBeGreaterThan(0)
         |                           ^
      23 |       expect(typeof data.hash).toStrictEqual('string')
      24 |       expect(data.hash.length).toStrictEqual(64)
      25 |       expect(data.branchlen).toBeGreaterThanOrEqual(0)

      at __tests__/category/blockchain/getChainTips.test.ts:22:27
      at fulfilled (__tests__/category/blockchain/getChainTips.test.ts:5:58)
          at runMicrotasks (<anonymous>)

Test Suites: 1 failed, 138 passed, 139 total
Tests:       1 failed, 989 passed, 990 total
Snapshots:   0 total
Time:        669.067 s
Ran all test suites in 13 projects.
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
Error: Process completed with exit code 1.

/triage accepted
/priority urgent-now


All instances have the same name

Feature Request
Allow parameters in the ARM to set names of the instances. Its confusing with everything called "bigiq1"
Possible Fix:
Its likely the ARM is using the easy start api, and the hostname can be a value of that.

Fixed


Fix component ID

This document uses two different component IDs for Visual Studio core editor.
From my testing, it seems that Microsoft.VisualStudio.Component.CoreEditor is the correct one, not Microsoft.VisualStudio.CoreEditor.

@drewnoakes,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks!


license of punkt in nlt_data

Hi
Is it possible to use punkt for commercial in nltk_data?
I cannot find out License information.

Indeed, I didn't find any license information in the punkt models provided in https://github.com/nltk/nltk_data/blob/gh-pages/packages/tokenizers/punkt.zip. I guess it will depend on the specific languages you want to use.

At least you have the corpus used to train the models.

Please see https://github.com/nltk/nltk_data/issues/188


[gui] Renaming a method to something that would match a keyword breaks the intellisense functionality for that method

The title is kind of verbose, but it summarizes the issue as best as possible. I run preference settings where I would attempt to deobfuscate anything that's less then 3 characters long (the default), so that I would afterwards rename the methods, variables, and etc. to proper names after figuring out what they're doing. In poor judgement, I had renamed a single method to assert, which corresponds to a keyword in java.

As a result, jad-gui now considers the method to be a keyword, and I am no longer able to perform any intellisense operations (such as find usages, rename, go to declaration) on that method, and any callers of that method.

In addition, the tool prevents reverting this action.

Looking at the logs, they do not seem to provide anything besides the bad byte error.
https://pastebin.com/M8W6DbGN

@Dragas I add a check before rename to forbid not valid java identifiers.


Create kanban Board

Project link
Team Members: 3 people

@PinkMoon25  = Team member 3
@ChrispaixK  = Team member 1
@bienvenuushindi  = Team member 2

STATUS: APPROVED :green_circle: :clap:
Hi @bienvenuushindi , @ChrispaixK and @PinkMoon25 🙋♂,
Your kanbanboard is setup correctly!  There is nothing else to say other than... Great job 👏
Highlights

Link to their GitHub project ✅
Information about the number of people in their group ✅
Create card with the number of points in the [Xpt] ✅
All tasks added successfully ✅

HAPPY CODING AND GOOD LUCK WITH THE COMMING ONES :crossed_fingers: :four_leaf_clover:

Cheers and Happy coding!👏👏👏

Thank you @Bondok6 for the review :+1:


Binding to localhost exclusively

I'm running k3s v0.3.0 on a small Ubuntu 18.04 VPS that is directly exposed to the internet, with no way to use cloud firewalls or the like.
It makes for a really neat dev environment, but I've noticed that port 6443 is reachable on the public interface, which I get is useful for reaching the cluster from the outside, but I'd still prefer to expose just 22 for SSH and have everything else listen on localhost, to be forwarded as necessary.
Filtering everything but ssh on the public interface with ufw causes all sorts of things within the cluster to break, apparently the kubernetes API isn't reachable from within the cluster anymore, so that doesn't seem to be an option.
Is there any way to configure k3s to bind to <IP_ADDRESS> exclusively? Preferably using the curl-sh-combo from https://k3s.io?

Please see;
https://github.com/rancher/k3s#open-ports--network-security
Port 6443 must be open on the server. And you must anyway firewall the VXLAN port, so an extra rule for external access to 6443 should not be too hard IMHO.

Please see;
https://github.com/rancher/k3s#open-ports--network-security
Port 6443 must be open on the server. And you must anyway firewall the VXLAN port, so an extra rule for external access to 6443 should not be too hard IMHO.

I thinks @flxs just want to open the port on the special ip (such as <IP_ADDRESS>, localhost), and not for <IP_ADDRESS> (all the ip adresses on the server).
The duplicate issue: https://github.com/rancher/k3s/issues/214

Yes, that's exactly what I want, I definitely wouldn't want to expose this sort of thing to the whole internet. I've filtered the port for now (turns out I botched the ufw config previously). Thanks for pointing out the existing issue for this!

@flxs That issue (#214) has been resolved and is ready to test with our latest RC (v0.4.0-rc1). Can you give it a try and let me know?

I'm facing the same issue as @flxs, I need to bind all k3s ports to <IP_ADDRESS>.
I tried k3s v1.18.8 on Ubuntu Server 20.04.1 LTS with the following command line:
$ k3s server --disable=metrics-server --kube-controller-manager-arg=bind-address=<IP_ADDRESS> --kube-apiserver-arg=bind-address=<IP_ADDRESS> --kube-scheduler-arg=bind-address=<IP_ADDRESS> --tls-san=<IP_ADDRESS> --bind-address=<IP_ADDRESS>

The ports 6443, 6444 and 10010 are then bound to <IP_ADDRESS>.
However, ports 10251 and 10252 are still publicly available, and I can fetch metrics from http://<IP_ADDRESS>:10251/metrics without authentication.
Am I missing something obvious here? Is there a built-in way how the services on these ports can be secured without interfering with iptables or ufw settings?

I tried but when you read the log of k3s you see kubelet refusing to use localhost ip.

$ k3s server --disable=metrics-server --kube-controller-manager-arg=bind-address=<IP_ADDRESS> --kube-apiserver-arg=bind-address=<IP_ADDRESS> --kube-scheduler-arg=bind-address=<IP_ADDRESS> --tls-san=<IP_ADDRESS> --bind-address=<IP_ADDRESS>

i've tryed to use dummy interface, but i'm face to k3s that wait infinitly the readynes of kubeproxy...

Think the only practically viable and efficient enough way to get this working is via k3s in docker.
For me solution was to base on https://raw.githubusercontent.com/k3s-io/k3s/refs/heads/master/docker-compose.yml.
NB: There are even k3s components that do not allow to use localhost address space at all. You might solved this by having a virutal inerface (veth) with a routable address bound to but it's way more efficient to spin up the docker stack locally.
All best!

If you bind the apiserver to localhost, how are you supposed to access it from within the cluster? It needs to be exposed on the node IP so that it is reachable within pods.

@brandond Were you referring to my suggestion :question:
In my case and in the case of others, the use case is to use k3s on one system/node only.
Hence "other" nodes as it were are further docker containers (workers) on the same node.
By that the apiserver is not really directly bound to the localhost address, only the server docker container does expose the apiserver port on localhost address. The apiserver is in the container bound to some other non-localhost address.

I was referring to the larger conversation on this issue. Running K3s is a container with an isolated network namespace is definitely one way to prevent it from needing to bind to IPs on the host itself.

you can have server with two interface, one public and one private, it's legitime to be abel to bind on private interface all the internal network mecanic, and bind only service, node port/load balancer on public interface.
is safe by default network approch, is better than using firewall to bloc api/vxlan or other thing like prometheus metric...
and for single host usage, it's preferable to not expose by default the internal network port....


[PROPOSAL] Twig - Nest.land's Arweave API Service (private)

What
An API for internal use by X (node) and API (rust). It will perform everything related to Arweave (transactions, signing) etc.
This will not be public and only be used by the public services internally.
Why
Now that we have a Rust API coming up, the major issue is to integrate an Arweave client in Rust. We already have x-node which uses arweave-js as the client.
Instead of having 2 different client doing almost the same job..why not have one central service to do that for both of them?
How
Twig should be a Node service similar to:
https://github.com/samcamwilliams/hooverd
Other
I'm proposing this after spending 3 days of trying to integrate Arweave with Rust...It will not only make our lives easy..We will have a central service for Arweave related stuff.
The name? It's related to nest lol

@divy-work I really like this idea for its flexibility. In the near future, we're planning to implement the option for users to use their own Arweave wallets on nest.land instead of uploading through ours. I think that the concept of twig will make this easier since the Arweave uploading is kept separate from the public APIs

Closing this issue, as it is no longer a proposal 👍


Upgrade to latest liboauth2

To get the fix for this 🎉 : https://github.com/zmartzone/mod_oauth2/issues/27
See:
https://github.com/zmartzone/liboauth2/releases
https://github.com/zmartzone/mod_oauth2/releases

Testing this now…


Result on VOT2018

I trained the network according to paper and got  AUC 56.2%  on LaSOT dataset. But the EAO on the VOT2018 dataset only 0.31. I don't know the reason. Is there something special I need to notice? The setting of the training env:
Pytorch1.1.0, CUDA10.0,
GPU：4*2080Ti
use fulldata.
Besides, the result of using the vot evaluation of this code is lower than using official code（i.e., matlab code） by 0.07. For example, when I test the VOT dataset using the model you offered, the evaluation of this code gives 0.35 EAO, but if I put the tested result into the official evaluation code, the result is 0.42 which is similar to the paper. Why?
Expect for your explanation, thanks~

@xi-mao Various factors contribute to this degradation of result as is mentioned here.
The offered results was produced with some older version of packages (opencv / pytorch / numpy / etc.). VOT results are extremely sensitive to these due to its nature of restart mechanism. We consider it not appropriate for research and prefer to keep the dependencies' version free from the restriction needed by the reproduction of the result on this benchmark.

@MARMOTatZJU  Thanks for your explanation, VOT is indeed sensitive to hp. For the second question,  below is the tested results on VOT2018 by using the mode（i.e., siamfcpp-googlenet-vot-md5_f2680ba074213ee39d82fcb84533a1a6.pkl） this code offer
. It shows 0.35 EAO. However, if I put the tested result into the official evaluation code, the result is 0.42 which is correct . Is there something working in the evaluation code?
|    Tracker Name    | Accuracy | Robustness | Lost Number |  EAO  |
| siamfcpp_googlenet |  0.436   |   0.187    |    40.0     | 0.358 |
The tested env is under pytorch1.4, cuda10.1.

I tested the model with the latest master branch, the result is

Tracker Name
Accuracy
Robustness
Lost Number
EAO

siamfcpp_googlenet
0.581
0.173
37.0
0.427

You can try the latest code from master branch.

The tested env is under pytorch1.4, cuda10.1.

There are several breaking changes for pytorch from 1.1.0 to 1.4.0, which are likely to contribute to this misalignement of performance.

PyTorch version
e.g. Type Promotion between 1.2.0 and 1.3.0, see Type Promotion on PyTorch release notes.

Again, VOT is too sensitive in terms of benchmarking. Even the digit truncation of hyper-parameters (which you may see in our yaml config) can lead to a significant fluctuation of EAO.

@MARMOTatZJU  I also test under pytorch1.1, cuda10.0, it still shows 0.35EAO, but if I use the official evaluation code, it is 0.42.
The vot2018.json comes from ..
The dataset is from ..  I'm confusing.

@lzx1413
I try the lt branch, it still shows 0.35EAO, but if I use the official  code to evaluate the tested result,  it is 0.42. The vot2018.json comes from here. The dataset is from here.  I'm confusing.

@xi-mao  can you provide  the version of other packages, such as numpy, numba, opencv

@lzx1413  I test on two version env.
First：
python=3.6
pytorch=1.1.0
torchvision=0.3.0
cuda=10.0
numpy=1.18.5
numba=0.45.0
opencv=3.4.2
llvmlite=0.32.1
scipy=1.2.1
cpython=0.27.3
colorama=0.3.7
gcc version 7.5.0

Second:
python=3.7
pytorch=1.4.0
torchvision=0.5.0
cuda=10.1.24
numpy=1.18.5
numba=0.45.0
opencv=4.2.0
llvmlite=0.32.1
scipy=1.2.1
cpython=0.27.3
colorama=0.3.7
ipython=7.16.1
gcc version 7.5.0

@lzx1413
Besides, cause the json file doesn't contain the key of 'width' and 'hight', I change this line a random digital（500，300). This should not influence accuracy.
https://github.com/MegviiDetection/video_analyst/blob/62db6ea739c9cee153a4c47473d72d69c3100b01/videoanalyst/evaluation/vot_benchmark/pysot/datasets/vot.py#L119

@xi-mao  we have offered one vot18 json file at https://github.com/MegviiDetection/video_analyst/blob/master/videoanalyst/evaluation/vot_benchmark/vot_list/vot2018/VOT2018.json, please use this one for test. It has the key of width and height

@lzx1413  Thanks, this solves my problem.
I have another question, do u search the best model or hyperparameters for VOT after training? I have train twice in different PyTorch version. Now the best result  EAO on VOT2018 is 0.37 without search model and hyperparameters.

@xi-mao  Yes, if you want to report one better result than other papers, searching the best model or hyperparameters for VOT is a necessary step.

@xi-mao Would you mind provide the package list which can reproduce the exact VOT result (with pip freeze to print that)? We consider provide Docker image in the future to address the reproduction issue.


[BUG] Docs side nav needs to have a select/dropdown for mobile

Description
Currently the side nav is hidden for mobile and there is limited horizontal space. There needs to be a select/dropdown added for mobile on the docs pages
Screenshots
No response
Additional information
No response

I can work on it

We don't need 2 drop downs 👍
When the side nav is hidden due to the screen size being small, the existing Select component should be shown with a list of doc pages at the top of the page
Sure I will assign it to you @IxBahy


Phrank leeng week1211

Checks

[ ] Your YAML file has required fields as listed in Specs
[ ] All checks have passed yaml-lint passed
[ ] You agree to contribute your work under MIT license

You are supposed to submit novel hunt books, not copy class examples.
Very disappointed. Closing.


Fix sticky_cache_size gauge behavior

sticky_cache_size is broken for some time and is published only during eviction from the sticky cache.
This PR fixes it and covers with a test.

@bergundy not with the current tally interface. We should get rid of tally at some moment and get direct access to micrometer interfaces which are very nice. For example, you can just register something on a gauge and it will just periodically calculate a new value.


Uncaught Error: spawn jekyll ENOENT

I get this error in console when Attempt to start the Jekyll server from within Atom.of course i had add the jekyll path C:\ProgramFiles\Ruby21-x64\bin; to my sytem path.And get this picture.

Also i can run jekyll serve -w in my system console. It's no error.

Sounds like you need to set the Jekyll binary in settings.
Atom doesn't use the system/user PATH so some commands need to be given as the complete path to the binary.

But when i type  process.env.PATH in Atom console line I can find C:\ProgramFiles\Ruby21-x64\bin; Is it mean that the path is reachable in Atom ? if not how can i do to set the Jekyll binary in settings?

I had many weird issues with PATH working/not working which is why I added the setting for the Binary Path.
If you go into settings, packages, jekyll you should see all the settings listed there.
There is currently a bug where the settings wont appear until after a package has been activated, the work around for now in jekyll-atom is to open the toolbar before going into settings.

Ok,get it,An other question , how can i press command key in windows ?

Also,when i click stop server ,i still can access the <IP_ADDRESS>:4000 although it show Stopping Server....kill(7712)

When i upgrade the Atom to the most version,may be some api changed as it shows

Seems the issue is that this commit https://github.com/Arcath/jekyll-atom/commit/f82bc8ccbada42f518308aca3ded5a0be69faef4 isn't in the apm release. I've just pushed 0.4.3 which should be fix that issue.

Has updating to 0.4.3 solved your issues?

It still could not stop the server by clicking the stop server botton

Sounds like issues with being able to handle child processes on windows, will do some testing as soon as I can

Now that 1.0.0 doesn't use a persistent child_process this should not be an issue any more


An idea - Receive webhook alerts from TradingView

Just an idea. It would be useful to connect your code to TradingView Webhook alerts to then automate buy/sell signals
thanks for your work on this.
pietro

Here is my attempt thus far at incorporating TradingView webhook alerts and AWS lamda, but I've not been successful. I've used TradingView webhook alerts, Chalice/AWS/Lambda, AWS Secrets Manager with Alpaca quite successfully, but I'm having a lot of trouble with Coinbase!
Feel free to review and definitely let me know if you find a way to make it work.
Main.txt (rename it to Main.py) is my main trading file, and config.JSON is my AWS config file. I used Rhett's cb_auth.py and util.py files in addition to mine. I also attached my TradingView JSON payload as well.
Let me know if you have any luck!
main.txt
requirements.txt
config.json
tradingview.JSON

Okay guys, I figured it out! I am successfully trading tradingview webhook alerts, AWS Lamda and Coinbase with the following:

TradingView webhook alerts (running 4 crypto under the same bot)
WSL - Created new AWS Lamdba project using Chalice (chalice new-project "name")
Updated the JSON.config (you'll need to change the name of the IAM user that you create with permissions for Lamda)
Added a chalicelib folder
Added a coinbase_advanced_traded folder under chalicelib
Add the following files in this folder:  init.py (empty file), cb_auth.py (modified), coinbase_client.py (modified), portfolio_detais.py (new file I created), utils.py (modified)
Created a new main trading bot script that handles TradingView webhook alerts for long buy and sell orders
Updated the requirements.txt file for use with webhook alerts

I use a Heiken Ashi candle ATR Trailing stop strategy that basically swing trades, printing buy and sell signals (and alerts - webhook messages) that I then receive on AWS Lamda (after deploying with chalice deploy in WSL).
I've attached .txt versions of all files I'm using. Feel free to ask questions, and happy trading!
cb_auth.txt
coinbase_client.txt
config.json
utils.txt
app.txt
tradingview webhook alert.json


⚠ Bofrost.be has degraded performance

In d4ca230, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1514 ms

Resolved: Bofrost.be performance has improved in 8cfde62.


Update sbt-scoverage to 2.0.8

About this PR
📦 Updates org.scoverage:sbt-scoverage from 1.9.3 to 2.0.8 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-major, commit-count:1

Codecov Report
Patch coverage has no change and project coverage change: +0.26 :tada:

Comparison is base (9c72b11) 91.06% compared to head (2ec8471) 91.32%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
+ Coverage   91.06%   91.32%   +0.26%
==========================================
  Files          10        9       -1
  Lines         347      346       -1
  Branches       13       39      +26
==========================================
  Hits          316      316
+ Misses         31       30       -1

see 7 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Superseded by #124.


SERVERBIN: match host_os_name on *-gnu before bsd to catch kfreebsd-gnu's

Debian's kfreebsd-gnu architectures (kfreebsd-amd64 and kfreebsd-i386) work as Debian/GNU systems, hence with a /usr/lib/cups SERVERBIN, not a /usr/libexec/cups.

Debian kfreebsd-amd64's host system type is x86_64-pc-kfreebsd-gnu
FreeBSD's CUPS build log shows that it is amd64-portbld-freebsd13.0 for FreeBSD.

Yeah, I don't see a better way of doing this either, let's go with it.


500 null pointer error from /blocks

Mod Version: 0.4.0
Minecraft Version: 1.16.5
I'm managing to cause a null pointer exception when PUTting blocks to the /blocks endpoint with the following data:

~0 ~0 ~0 minecraft:gold_block
~1 ~0 ~0 minecraft:iron_block
~2 ~0 ~0 minecraft:diamond_block
~3 ~0 ~0 minecraft:oak_stairs[facing=east, half=top, waterlogged=true,]

The client is written in C#, so not sure how useful the offending code to you is but I've written a min-repro:
/// <summary>
/// Push the given blocks to the server to be set
/// </summary>
public static void SetBlocksSync()
{
    using (WebClient webClient = new WebClient())
    {
        string body = "\n~0 ~0 ~0 minecraft:gold_block\n~1 ~0 ~0 minecraft:iron_block\n~2 ~0 ~0 minecraft:diamond_block\n~3 ~0 ~0 minecraft:oak_stairs[facing=east, half=top, waterlogged=true,]";
        string address = "http://localhost:9000/blocks?x=4&y=76&z=1";
        Debug.Log(address);
        Debug.Log(body);

        string result = webClient.UploadString(address, WebRequestMethods.Http.Put, body);
    }
}

I have set up a nodejs proxy to get some more visibility of what happens in the hopes that helps but nothing seems out of the ordinary.  The log should be fairly self-descriptive, but I can provide the proxy for reference if that's useful:
Proxying for client to: /blocks?x=4&y=76&z=1
With body '
~0 ~0 ~0 minecraft:gold_block
~1 ~0 ~0 minecraft:iron_block
~2 ~0 ~0 minecraft:diamond_block
~3 ~0 ~0 minecraft:oak_stairs[facing=east, half=top, waterlogged=true,] '
and headers  {
  'content-length': '165',
  expect: '100-continue',
  host: 'localhost:3000'
}
 and method PUT
Got proxied request response
.
Response: Internal server error: java.lang.NullPointerException
Status: 500 Internal Server Error

I haven't been able to reproduce in other clients but using the chrome console have seen behaviour where the server never returns a full response, if you think this is related I can provide that code

Just realised this seems to happen with any blocks and with the simpler syntax for a single block.
Proxying for client to: /blocks?x=4&y=76&z=1
With body ' minecraft:stone '
and headers  {
  'content-length': '15',
  expect: '100-continue',
  host: 'localhost:3000'
}
and method PUT
Got proxied request response
.
Response: Internal server error: java.lang.NullPointerException
Status: 500 Internal Server Error

@Slord6 Thanks for the detailed bug report!
I was able to reproduce the issue (I use Unity myself, so the code was very useful).
The problem is that the interface naively expects an 'Accept' header to exist (for the new json functionality), so when it doesn't exist... NullPointerException. Kind of an oversight on my side, but in my defense many clients/http libaries set the Accept header automatically.
So for now you can just add the line webClient.Headers.Set("Accept", "*/*"); in your C# code to fix the issue, until I get around to make a new release which fixes the issue on the backend.

Ah, great - thanks!

Fixed in 0.4.1 release


numerical value of an enum?

Hello, how can I specify in the JSON Schema the numerical value for an enum?
E.g. I want to achive something like that:
enum Foo { Value1=1, Value2=2,....}
Thanks,

We don't have that feature yet.  What's your use case?

We have a protocol description and the protocol is bad (in terms of Json Schema). Instead of
real Json enums it uses integers for WeekDays and we wanted to convert those integers to enums
(e.g. Monday=1, Tuesday=2, etc.). Yes I know the protocol itself should have been fixed, but it is
out of scope currently.

One thing is that not we don't even represent enums numerically in some of our target languages, such as JavaScript.  But that's a minor issue.
Which particular target languages do you need this for?  For most this should be fairly straightforward to implement via type attributes.  Would you consider contributing?

It is C++. I’ll check the link you have sent and will come back with regards to the contribution [I have anyhow changed the C++ renderer heavily for our use; transformed structs to classes, added getters/setters, etc.]

It would be great if could contribute your modifications that would be useful to other users, too :-)

Here is how we specify alternate names for enum members:
    "enum": {
      "type": "string",
      "enum": ["red", "green", "blue"],
      "qt-accessors": {
        "red": "fire",
        "green": "grass"
      }
    },

Numerical values should do something similar, such as
"qt-enum-values": { "red": 1, "green": 2, "blue": 4 }

Yups, this is exactly what I started to check, a bit buffled by the accessorNamesAttributeProducer, can't yet figure out the meaning of the "union" / "cases" usage in the implementation (e.g. whether it's relevant for me or not), will keep you posted how I progress.

No, it shouldn't be. forType is what you need.

Great, it works, can you help me out with regards to one thing?
What do I have to use instead of the "???" below?
I want to access name's "string" representation, e.g. really the enum name, and not
the SimpleName object itself...
Thanks,
this.forEachEnumCase(e, "none", name => {
if (caseNames.length > 0)
caseNames.push(", ");
caseNames.push(name);
if (enumValues !== undefined) {
const enumvalue = EnumValues_1.getEnumValue(enumValues, name.???????);
if (enumvalue !== undefined) {
caseNames.push(enumvalue);
this.emitLine("xxxx ", enumvalue);
}
}
});

Awesome it works perfectly.
enum DrawDayNo { FRIDAY = 5, MONDAY = 1, SATURDAY = 6, SUNDAY = 7, THURSDAY = 4, TUESDAY = 2, WEDNESDAY = 3 };

That's wonderful! Could you submit a PR? I'll likely have some coding convention issues with it, but I'm happy to fix them if you can't be bothered. Please include a test case, too. There's currently no way to test that those enum values are actually produced, but we compare the output of every PR to the last master, so if it changed we'd at least notice.  Please also make sure that the whole test suite runs with your changes.
FIXTURE=cplusplus,schema-cplusplus npm test

aok, will give it a go keep you posted

Ok, solution merged


speculative fix for multi-coordinator bootstrap

Scope & Purpose
in case multiple coordinators were used, the one that won the cluster
bootstrap race created the "root" user and was fine afterwards. other
coordinators however were not notified of the new user, and were denying
all incoming requests with an HTTP 401 "not allowed to execute this
request" response.
the change in this PR triggers an increase of the UserVersion counter
in the agency, so that other coordinators eventually get aware of the
root user being added.
It looks like in 3.5 this change is actually not needed, as the coordinators
start fine. But the "fix" doesn't do any harm.

[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)

Related Information

[x] There is an internal planning ticket: https://github.com/arangodb/release-3.6/issues/13

Testing & Verification
Start a cluster with 2 coordinators and authentication, and poll /_api/version for both of them repeatedly, e.g.
while true; do curl --insecure --user "root:" -X GET http://<IP_ADDRESS>:8530/_api/version -v --dump - 2>&1; done
while true; do curl --insecure --user "root:" -X GET http://<IP_ADDRESS>:8531/_api/version -v --dump - 2>&1; done

With and without the fix, both should eventually return HTTP 200.
This can also be verified via the driver tests in our Jenkins.
https://<IP_ADDRESS>/view/PR/job/arangodb-matrix-pr/7586/

Should coordinators not wait until the first one created everything? Was the Startup order changed in devel?

Coordinators all wait for the cluster bootstrap, which creates the initial collections.
But the root user seems to be created after the collection creation, and the coordinators not responsible for the bootstrap miss the creation of the root user. And as the creation of the root user does not increase Sync/UserVersion, a viable fix seems to be to make creation of the root user increase that value too.

Tests blue


Importing createCardExtension from @backstage/plugin-home-react

Hi friends!
Feature Suggestion
Several of the plugins in this repo implement support for Home plugin cards. They have a dependency on @backstage/plugin-home to get access to createCardExtension. That export is deprecated, and should now instead be taken from @backstage/plugin-home-react.
Context
When reviewing https://github.com/backstage/backstage/pull/19827 I noticed that the old version of rjsf weas kept around in the lockfile because of some third party dependencies on older versions of the home plugin. And I'm on a bit of an overall mission to get rid of plugins-depending-on-plugins, which should be avoided. So remember to remove the old package.json deps!

I've submitted a PR #1140 to resolve this as it's impacted our ability to upgrade to the latest version of Backstage


Updating README.md wiki links to the new wiki.

Satisfactory have officially migrated from fandom to wiki.gg.
The links should be updated to refer to the new wiki to make sure it is accurate and maintained with any new information.

Thanks for the PR!


dateparser.parse('365 days') returns 364 days, while dateparser.parse('1 year') returns 365 days

dateparser.parse('365 days') returns 364 days, while dateparser.parse('1 year') returns 365 days
>>>print((datetime.now() - dateparser.parse('365 days')).days)
364
>>>print((datetime.now() - dateparser.parse('1 year')).days)
365
>>>print((datetime.now() - dateparser.parse('365 days', settings={'RELATIVE_BASE': datetime.now() - timedelta(seconds=1)})).days)
365
>>>print((datetime.now() - dateparser.parse('1 year', settings={'RELATIVE_BASE': datetime.now() - timedelta(seconds=1)})).days)
366

It seems to me that the root cause of the complexity/problem is that when parsing a time delta string, dateparser.parse returns a datetime object, rather than a datetime.timedelta object.
Thank you for the great package. It has helped me tremendously, already.
Operating System: Windows 10

Hey @dshefman1!  Thank you for the feedback!
dateparser.parse('365 days') doesn't returns "364 days", it returns "the datetime for 365 days ago". However, when you are doing: datetime.now() - dateparser.parse('365 days'), the first expression ("now") is calculated a fraction of a second before the second expression, so when you substract them, there is a small difference. Let's illustrate it:
>>> d = datetime.now() - dateparser.parse('365 days')
>>> d.days
364
>>> d.seconds/3600  # hours
23.99972222222222

So, as you can see, the difference is almost 365 days (354 days + 23.999 hours).
To handle this, I made a proposal (https://github.com/scrapinghub/dateparser/pull/623) for a new function called parse_timedelta() (which is not finished), but I didn't receive any feedback. You can see here the difference:
>>> str(datetime.now()-parse('13 min ago'))
'0:12:59.993999'
>>> str(parse_timedelta('13 min ago'))
'0:13:00.000139'

>>> str(datetime.now()-parse('yesterday'))
'23:59:59.997510'
>>> str(parse_timedelta('yesterday'))
'1 day, 0:00:00.000182'

The idea would be to improve that function to round the microseconds to get a cleaner result.
If you want this feature, please, comment here or in the PR, and I would try to find a moment to work on it. In the meanwhile, if you need a solution, you could do something like this, where we round the seconds:
>>> seconds = (datetime.now() - dateparser.parse('365 days')).total_seconds()
>>> timedelta(seconds=round(seconds, -1)).days
365

Let me know what you think :slightly_smiling_face:

Hi @noviluni Thank you for the assistance.
Is there an elegant/simple way to use dateparser to create the result in days: parse_func('365 days') == parse_func('1 year')
When I use your solution below, with '1 year' I get 366, which is undesirable for my usecase:
>>> seconds = (datetime.now() - dateparser.parse('1 year')).total_seconds()
>>> print(timedelta(seconds=round(seconds, -1)).days)
366

Hey @dshefman1!
It's returning 366 days because the current year is a leap year (February had 29 days), so when you use "1 year" it takes "1 year ago" that was exactly 366 days ago. If you run the same the next year you will get 365 days.
You can't do "365 days == 1 year" directly because it depends on the year.
If this is not what you expected you should search for another workaround. It's hard for me to give you an alternative without knowing the context.
You can inverse the operation if you specify in the settings that you want a date in the future, for example:
>>> seconds = (dateparser.parse('1 year', settings={'PREFER_DATES_FROM': 'future'}) - datetime.now()).total_seconds()
>>> timedelta(seconds=round(seconds, -1)).days
365

but of course, this will fail in 2023, as it will use again a leap year (2024) to calculate it.
You could also use a fixed date from a non-leap year + a relative_base:
>>> seconds = (datetime(2019, 1, 1) - dateparser.parse('1 year', settings={'RELATIVE_BASE': datetime(2019, 1, 1)})).total_seconds()
>>> timedelta(seconds=round(seconds, -1)).days
365

In this way, you will receive always 365, however, if you use "4 years" or more, you will receive the day for the leap year (Example: when using "4 years" it will return 1461 instead of 1460 (365*4)).
Let me know if any of these workarounds work for you.

Yes. Both of these solutions worked for me. Thank you.


fix(bulk balance): Adding flag to turn off cache

:tada: This PR is included in version 1.4.3 :tada:
Your semantic-release bot :package::rocket:


Update example app for RN 0.35, fix Gmaps bug for 0.35

Update the example app for RN 0.35.0.
Also fix the same bug that #680 fixes but for AIRGoogleMapMarker.
Also update the React dependency to 15.3.1, which is required for RN => 0.34.
to: @lelandrichardson @gilbox @felipecsl

cc: @christopherdro

Hello,
I am trying to display a simple map on my app with react native. But still got the error. So this is my step that I got the error.

I run the react-native to initiate the project
npm init mapPlay1
2.Then I cd into the project
cd mapPlay1
Then I run the npm install reactive-map
npm install react-native-maps --save
Then I run react-native link
react-native link
Then I change directory to ios
cd ios
Then I create a Podfile
touch Podfile
Then I copy the Podfile from [https://github.com/airbnb/react-native-maps/blob/master/example/ios/Podfile] and change the target to mapPlay1
Then I run
pod install
Then I go back a directory
cd ../
Then I copy the AirMaps from [https://github.com/airbnb/react-native-maps/tree/master/ios/AirMaps]
I have this as my index.ios.js:
`
import React, { Component } from 'react';
import MapView from 'react-native-maps';
import {
AppRegistry,
StyleSheet,
View,
} from 'react-native';

export default class mapPlay1 extends Component {
render() {
return (

<MapView
style={styles.map}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
/>

);
}
}
const styles = StyleSheet.create({
container: {
...StyleSheet.absoluteFillObject,
height: 400,
width: 400,
justifyContent: 'flex-end',
alignItems: 'center',
},
map: {
...StyleSheet.absoluteFillObject,
},
});
AppRegistry.registerComponent('mapPlay1', () => mapPlay1);
 12.Then I open the project mapPlay1/ios/xcworkspaceopen  mapPlay1/ios/xcworkspace13. Then I press the build and run button in xcode 14. Then I got this error : root/mapPlay1/node_modules/react-native-maps/ios/AirMaps/AIRMapMarker.m:212:58: No visible @interface for 'RCTImageLoader' declares the selector 'loadImageWithURLRequest:size:scale:clipped:resizeMode:progressBlock:completionBlock:'`

so I tried to do
rnpm link
then run
`react-native run-ios
and it doesn't work .. nothing display only red border

Can you please help? How can I make the map display?
Thank you

@Peakdrum can you verify that you're using<EMAIL_ADDRESS>

and also<EMAIL_ADDRESS>


update SDK build-push script to dynamically determine the example image path list

Summary
Currently, the paths to the example images are hardcoded in the build-push workflow and passed to the script. This means when adding a new or updating an existing example, a developer needs to make changes at two places, the example folder and the workflow YAML file. We can't guarantee that we always remember to update both, e.g. https://github.com/numaproj/numaflow-python/pull/186
If we can update the script to dynamically construct the list, it will solve the problem. The script can search the example folder looking for Dockerfiles to determine the image path list. This can be done for Go, Python, and Rust. Java is a bit different but we can also investigate.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@ayildirim21 wdyt?

As discussed with @KeranYang as well, we might want to add a --verify/--check flag which help to verify the sanity.
And if required can even do everything apart from the final push to the repository to verify

The script (at least for Go SDK) has a function that can dynamically determine all example paths:
function traverse_examples () {
  find pkg -name "go.mod" | while read -r line;
  do
      dir="$(dirname "${line}")"
      echo "$dir"
      cd "$dir" || exit

      for command in "$@"
      do
        if ! $command; then
          echo "Error: failed $command in $dir" >&2
          exit 1
        fi
      done

      cd ~- || exit
  done
}

This will produce (if we were to print out dir):
pkg/reducestreamer/examples/sum
pkg/reducestreamer/examples/counter
pkg/sideinput/examples/sideinput_function
pkg/sideinput/examples/sink_sideinput
pkg/sideinput/examples/map_sideinput
pkg/sideinput/examples/map_sideinput/udf
pkg/sideinput/examples/simple_sideinput
pkg/sideinput/examples/simple_sideinput/udf
pkg/sideinput/examples/reduce_sideinput
pkg/sideinput/examples/reduce_sideinput/udf
pkg/sideinput/examples/simple_source_with_sideinput
pkg/sessionreducer/examples/sum
pkg/sessionreducer/examples/counter
pkg/mapper/examples/retry
pkg/mapper/examples/forward_message
pkg/mapper/examples/flatmap
pkg/mapper/examples/tickgen
pkg/mapper/examples/even_odd
pkg/sourcetransformer/examples/event_time_filter
pkg/sourcetransformer/examples/assign_event_time
pkg/reducer/examples/sum
pkg/reducer/examples/counter
pkg/sinker/examples/redis-sink
pkg/sinker/examples/fallback
pkg/sinker/examples/log
pkg/mapstreamer/examples/flatmap_stream
pkg/sourcer/examples/simple_source

So I think we can invoke a flag to run this method and then dynamically populate the dockerfile_paths variable. I will investigate this further. @KeranYang @kohlisid


mod in yuzu

The problem is that the mod does'nt ask for an ip when it is launched. Consequently, you cant play multiplayer...

Same, pls fix!!!

This is not an issue that we can solve ourselves, the cause is on Yuzu's end. If you're going to ask for it to be fixed, ask the Yuzu devs instead.


rbd: remove topologyConstrainedPools parameter

Describe what this PR does
This commit removes the topologyConstrainedPools parameter from PV volumeAttributes as it is not required.
Related issues
Fixes: #4497
Future concerns
List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.
Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[x] Reviewed the developer guide on Submitting a Pull Request
[x] Pending release notes updated with breaking and/or notable changes for the next major release.
[x] Documentation has been updated, if necessary.
[x] Unit tests have been added, if necessary.
[x] Integration tests have been added, if necessary.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)

verified that topologyConstrainedPools has been removed.
[pm@dhcp53-176 examples]$ k get pv pvc-5aaf7aef-fda5-4a57-af7c-abbb737d77bb -o jsonpath='{.spec.csi.volumeAttributes}' | jq
{
  "clusterID": "rook-ceph",
  "encryptionKMSID": "azure-kms",
  "encryptionType": "block",
  "imageFeatures": "layering",
  "imageName": "csi-vol-1292393c-b86a-4ff7-abb7-52750879d83a",
  "journalPool": "replicapool",
  "pool": "rp",
  "storage.kubernetes.io/csiProvisionerIdentity": "1710418563048-5228-rook-ceph.rbd.csi.ceph.com"
}

@mergifyio rebase

@mergifyio queue

/retest ci/centos/mini-e2e/k8s-1.29

/retest ci/centos/mini-e2e/k8s-1.29

spurious failure, the logs show that an image was not cleaned up (yet?):
[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 0

/retest ci/centos/mini-e2e/k8s-1.29

spurious failure, the logs show that an image was not cleaned up (yet?):
[FAILED] backend images not matching kubernetes resource count,image count 1 kubernetes resource count 0

i think we need to update the validation function to print rbd info and rbd status of each images to get more clarity what happened. it looks like the image is opened by someone but not closed? not sure who

@mergifyio queue


Add editor vital redraws only option

When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes contain dynamic content they will continuously issue redraw_requests.
This can be fine on high power desktops but can be an annoyance on lower power machines / laptops where it will eat battery.
This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.
An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:

Update Continuously
Update All Changes
Update Vital Changes

Fixes #16397
Implements https://github.com/godotengine/godot-proposals/issues/942
See for instance #40499

(There is no requirement to have a quick changeable setting in the spinner menu, I've added this for discussion, but it would also be perfectly feasible to have the editor settings option only.)
Notes

We can do a similar PR for 4.0 when we've agreed on names etc.
The naming is preliminary and admittedly not very good, I'd appreciate all suggestions for naming for these variables / options / editor setting. We could potentially rename the existing update when changed menu item on the spinner to make the three settings more consistent if necessary.
I had been meaning to make such a PR for a while now, it is particularly important for those such as myself who have a low power / fanless PC. I usually have to close background scene tabs as a hack to prevent continuous updates, this PR will make life much easier.
This is also particularly useful for those people whose GPU etc struggles drawing the editor.
This can also make the editor more responsive. If it is taking, say 1/10th second to draw an update, it cannot respond to keypresses during this period, and therefore lags. By not doing these background updates, it means the editor is ready to respond immediately to keypresses etc.
Ideally it would be nice to just store this editor setting as an enum with 3 values, but that would break compatibility in 3.x. However we could do this properly in 4.x.
I've updated the mechanism for debugging the redraw_requests to support the DEV_ENABLED flag. Now no recompile is necessary on DEV builds, you can place the breakpoints immediately in _changes_changed().

Supported so far

Shaders using TIME
AnimationTree
AnimationTreePlayer
Particles
CPUParticles
Particles2D
CPUParticles2D
GIProbe

Review comments aside, I think this is worth merging for 3.5. This will need a separate implementation for master, as the core concept is still useful even with a Vulkan renderer (which may not run optimally on all hardware).

Review comments aside, I think this is worth merging for 3.5. This will need a separate implementation for master, as the core concept is still useful even with a Vulkan renderer (which may not run optimally on all hardware).

Have given this a final pass with fresh eyes and tried to improve where possible. One thing I did change is that now all the names in the editor and code to vital_updates_only, as this may be easier to follow than having vital_updates in the editor and low_priority_updates in the code.
Am still happy to either have it on the spinner or just in the editor settings, but I've changed the wording on the spinner now as I think this works better:

Update continuously
Update all changes
Update vital changes

Thus the old "Update When Changed" has become "Update All Changes". I think this makes more sense to disambiguate the two (if we are having them both on the spinner menu).

I think this is OK as a stopgap measure but it still doesn't seem satisfying to me, as most users will still experience the issue it is trying to assess until they discover this new setting somehow (typically by opening a bug report and being told to enable that option).
I think the only satisfactory solution to this issue would be to actually fix the problem - if nothing needs to be changed visually, nothing should be redrawn. Things like shaders in a hidden tab using TIME could should likely stop processing when not visible in the editor (and maybe have an option to always process for people who really want to do work on real-time VFX without pause). But until this is done, an opt-in stopgap is better than nothing I suppose.

I think the only satisfactory solution to this issue would be to actually fix the problem - if nothing needs to be changed visually, nothing should be redrawn. Things like shaders in a hidden tab using TIME could should likely stop processing when not visible in the editor (and maybe have an option to always process for people who really want to do work on real-time VFX without pause). But until this is done, an opt-in stopgap is better than nothing I suppose.

The editor doesn't redraw if the object being drawn with a shader containing TIME is not visible (e.g. because you are in another tab or the object is offscreen). Are there any places that are forcing redraws when not useful?
The reason the update spinner is turning during editing a script is because of the flashing cursor in the script editor. If you look closely, you can see that the updates happen in time with the cursor flashing. These updates happen regardless of whether you have a scene open or not.
AFAIK for regular use the editor is smart about when it should not be updating. This proposed option just allows users to almost never have updates (except for on input) which may be desirable for people who have dynamic content in their scenes, but are currently not working on that dynamic content. Accordingly, it should be left as an opt-in (as users will likely opt-in and opt-out depending on what they are working on).

AFAIK for regular use the editor is smart about when it should not be updating. This proposed option just allows users to almost never have updates (except for on input) which may be desirable for people who have dynamic content in their scenes, but are currently not working on that dynamic content. Accordingly, it should be left as an opt-in (as users will likely opt-in and opt-out depending on what they are working on).

Yes that's the general idea. :+1:
I do suspect there are some remaining points which ask for redraws when they are not selected in the editor tab (probably as a result of the server macros), which we can improve too, but the fact it helps with this is more of a useful side effect rather than the primary intention - which as @clayjohn says is to allow you to edit dynamic scenes without having constant redraw.
On mine this makes the difference between using around 75% of my CPU core at idle versus about 10%. So still not perfect, but a large relative improvement, and for example on laptops this should have a significant improvement for battery life. The idle CPU usage of 3.x (outside of redraws) has crept up a bit in the last couple of years, and we may be able to improve this further, but that is another PR.

Accordingly, it should be left as an opt-in (as users will likely opt-in and opt-out depending on what they are working on).

Yes it's quite easy to turn on and off in the spinner menu and defaults to off (setting is saved in the editor settings so is preserved when you restart).

The reason the update spinner is turning during editing a script is because of the flashing cursor in the script editor. If you look closely, you can see that the updates happen in time with the cursor flashing. These updates happen regardless of whether you have a scene open or not.

This is a very good point, I have my caret blink disabled in editor settings. We could potentially shortcut the blink to off when vital redraws only is set? Does that sound a reasonable move? I can see how easy this is to do, it may be worth doing as part of the PR.

We could potentially shortcut the blink to off when vital redraws only is set? Does that sound a reasonable move? I can see how easy this is to do, it may be worth doing as part of the PR.

If someone turns on vital redraws only, we can probably safely assume he wants as few redraws as possible, so yes.

If someone turns on vital redraws only, we can probably safely assume he wants as few redraws as possible, so yes.

This is done now, I've added a is_caret_blink_active() function to EditorSettings with the logic for this. It could do with double checking as I'm tired, just to check the EditorSettings will always be available in builds it is used (I think they are wrapped in TOOLS_ENABLED).

Just making a small modification to this to allow particle systems to update in vital only mode when there are frame updates, this will ensure they show up when loading a fresh scene.

Thanks!

I wonder if the vital redraws only option could be automatically enabled when the project is running (and then disabled when the project is stopped). This would fix performance issues when running a project while an animation is being displayed in the editor. There's a FPS limiter when the editor is unfocused right now, but it doesn't always suffice on slower hardware.

Yeah we can certainly have a look at this. :+1:


Screenshots and fornix module failed for subject

Hi,
After I ran the qatools for some Freesurfer subjects.In the output folder of qatools.py,screenshots folder is empty and cc.png cannot find.
ERROR：screenshots module failed for subject
ERROR：fornix module failed for subject
Please let me know how to resolve such issue?
Thank you very much.
Yang

I install scikit-image==0.19.2 not skimage.Will this affect the running of the code?

Hello,
I think this is basically the same, so I would not expect problems.

About the screenshots / fornix module failures: it is a bit hard to tell how to fix it without further information; does it happen for many cases, or just a few ones?

Hello,
I think this is basically the same, so I would not expect problems.

About the screenshots / fornix module failures: it is a bit hard to tell how to fix it without further information; does it happen for many cases, or just a few ones?

I had tried run 224 cases,all of them are same results.

About the screenshots / fornix module failures: it is a bit hard to tell how to fix it without further information; does it happen for many cases, or just a few ones?

what further information do you need .I can provide them

About the screenshots / fornix module failures: it is a bit hard to tell how to fix it without further information; does it happen for many cases, or just a few ones?

What further information do you need? I can provide them.

OK, thanks for the information. Maybe could you also let me know which FreeSurfer version you are using?
Apart from that, I can see three potential sources for the error: the data, the environment/dependencies, or the scripts themselves:
The easiest way forward might be if you could send one example case so that I can try to replicate the issue; I could provide an upload link for that purpose. But I see that it may not be possible to share any of the data; in that case we'll need to think of another solution.
About the environment/dependencies: we typically recommend to run the scripts within a virtual environment (e.g. using virtualenv) because this gives more control / flexibility about which external libraries are installed. I imagine that this could also help in identifying the problem.
Lastly, there could also be an error within the scripts themselves, but I have to admit that I did not see it with our local test cases so far - so I'd need to think about that more.

好的，谢谢你的信息。也许你也可以让我知道你正在使用哪个FreeSurfer版本？
除此之外，我可以看到错误的三个潜在来源：数据，环境/依赖项或脚本本身：
最简单的方法可能是，如果您可以发送一个示例案例，以便我可以尝试复制该问题;我可以为此目的提供上传链接。但我看到可能无法共享任何数据;在这种情况下，我们需要考虑另一种解决方案。
关于环境/依赖项：我们通常建议在虚拟环境中运行脚本（例如使用），因为这可以更好地控制/灵活地安装哪些外部库。我想这也有助于确定问题。virtualenv
最后，脚本本身也可能存在错误，但我不得不承认，到目前为止，我还没有在我们的本地测试用例中看到它 - 所以我需要考虑更多。

好的，谢谢你的信息。也许你也可以让我知道你正在使用哪个FreeSurfer版本？
除此之外，我可以看到错误的三个潜在来源：数据，环境/依赖项或脚本本身：
最简单的方法可能是，如果您可以发送一个示例案例，以便我可以尝试复制该问题;我可以为此目的提供上传链接。但我看到可能无法共享任何数据;在这种情况下，我们需要考虑另一种解决方案。
关于环境/依赖项：我们通常建议在虚拟环境中运行脚本（例如使用），因为这可以更好地控制/灵活地安装哪些外部库。我想这也有助于确定问题。virtualenv
最后，脚本本身也可能存在错误，但我不得不承认，到目前为止，我还没有在我们的本地测试用例中看到它 - 所以我需要考虑更多。

I use the FreeSurfer 7.2. I run qatools in the ubuntu 20.04.3 LTS amd64
This link is the result of freesurfer for one of the patients:
https://drive.google.com/drive/folders/1t_o7lo69JBV6DNJonWkqMCU9LNkAtzd7?usp=sharing
Do you need any other information？

Thanks for the upload; I've deleted the message because the link is no longer needed.
I've run the scripts with that case on a Ubuntu 20.04 installation and using FreeSurfer 7.2. I created a virtual environment using virtualenv, downloaded the scripts, used pip3 install -r requirements.txt to install the required python packages, plus a separate installation of scikit-image.
With this setup, I could not see any errors, i.e. all output files were present.
Thanks for reporting your observation, I think it's important and it would be good to know the reason. My best guess is that it's some depencency / environment issue, but at the moment I can't really tell the exact source of the problem. Please let me know if it persists or if you have additional information.

scikit-image

Sorry, it is my fault.I do as you said，sudo apt install virtualenv，pip3 install -r requirements.txtscikit-image.
The code can be run successfully.I used to run the code directly on ubuntu.Your guess is right and it's some depencency / environment issue.So I create a new environment to run the code.The qatools has greatly improved my efficiency in checking images.

Thanks for the feedback, that's good to know.


Display domains as all lowercase

Uppercase i and lowercase L can easily be mistaken for each other.
Adding an option to display the domain names as all lowercase could fix this issue. Copying the link however would still copy the mixed case domain name.
e.g.
DomAln.cOm/AsfFdgasdf => domaln.com/AsfFdgasdf

I think this should also turn all characters to their punycode variants
i.e. https://www.аррӏе.com/ would be displayed as https://www.xn--80ak6aa92e.com/

@pajlada close this?


CAMEL-20833 Add a recursive option for polling files and subdirectories

Description
Target

[x ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x ] I checked that each commit in the pull request has a meaningful subject line and body.

[x ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

@cunningt did you get a chance to update this PR

Sorry about that!   Removed the default value for the path, added a null check on path.


Added alias to class-name for Eiffel

(and bringing branch up-to-date)

Hi!
Your contribution is integrated to https://github.com/PrismJS/prism/pull/471
Thanks ;)