Update config.py

Description
The purpose of this PR is to change the SPARC app host to the new staging URL.

Closing because it will be handled as an environment variable.


[Bug] Sync pending stuck

Trying to sync my account with two installations of insomnia, however it says sync pending 0% and it has been there for hours, so I guess something is wrong.

Insomnia Version: 6.6.2
Operating System: Ubuntu 18.04.3 LTS (both OS)

Hi @MatteoGioioso, can you send an email to<EMAIL_ADDRESS>from your account email so I can take a look?

@gschier Hey, thanks for the answer.
Just to make one thing clear, if the trial period is expired, does the sync still works? Or is it only available for the paid plan?
Thanks

Sync is the core features of the paid plan so it will stop working once the trial has expired.

Ok, then in this case it works as expected since my plan just expired. Thanks for clarifying.


[BUG] Calls with double /

When I create a Configuration object like that:
Configuration(base_url="http://localhost:8080")
Internally the host is called http://localhost:8080/api/ but the endpoints are written as /tasks for example, so the call is made to http://localhost:8080/api//tasks and fails.

It would be solved in the next Pull Request #163


Theme submission: Pyxill2

Theme submission
Please make sure that you have read the theme submission guidelines before submitting a theme. The guidelines provide all relevant information and requirements that have to be fulfilled before the submission. We strongly suggest that you test your theme with the Hugo Themes Build Script before submitting the theme for review. If a submission does not meet the criteria mentioned in the README it will be closed. You may re-submit once you fix the problems with your submission. However, please note that we have limited resources and can not provide help for general web development issues. For Hugo support questions please refer to the dedicated support forum.
Please tick the relevant boxes for your theme in the checklist below:
Link to my theme repository: https://github.com/IcpMoles/pyxill2
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[ ] in case I'm using a customized demo via the exampleSite folder that

[ ] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[ ] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample

[x] screenshots have been added in the images/ folder with the required dimensions
[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

N.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. If a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
New themes will usually be promoted on Hugo's official Twitter account. If you would like to be mentioned in the tweet please add your Twitter username to this submission.
**Link to my Twitter account (optional): https://twitter.com/icpmoles
Feel free to ask questions. We're glad to help.

Hello Iacopo,
thank you for sharing this theme with the Hugo community 👍 While reviewing your theme I noticed a few issues:

right now embedded fonts can't be loaded if the website if hosted in a subdirectory, e.g. as in www.example.com/blog. This is the case with demos on www.themes.gohugo.io. Instead of using absolute paths in the stylesheet(s) that would always point to www.example.com, make the fonts relative to the stylesheet by prepending the path with ../font/font.woff.
since your theme is based on the pixyll theme it would be helpful for users if you could add a small section to the README that states what changes have been made compared to the original theme.
links to a privacy policy and credit page are hard-coded in the footer. Users of your theme might don't need such pages or want to link custom ones. Hence I suggest to use Hugo's menu feature to make links more flexible.
your theme links to an apple touch icon and a favicon over here but those files can't be found in the repository.

@digitalcraftsman
Thanks for the review. I think I fixed every you listed.


Space between the declare statement and parenthesis

brace CS fixer is adding needless space between the declare and parenthesis. I was able to reproduce this behavior on version 1.11.6.
Expected:
declare(strict_types=1);

Actual:
declare (strict_types=1);

Please, could you check 1.12@dev ?

Seems fine on 1.12.

Works on master also 👍


Fix iomanip not found issue

Fixes error such as
fusion-engine-driver/./utils/conversion_utils.hpp:187:41: error: ‘setprecision’ is not a member of ‘std’
  187 |     oss << degree << std::fixed << std::setprecision(2) << minute << "," << direction;

Thanks for the patch. Would you be able to revert the format changes in your PR?


chore: add dependabot configuration (#265)

See Configuring Dependabot version updates for more info.

Added https://github.com/fi3ework/vite-plugin-checker/pull/311/commits/f6201867a936ebacf02db98789790670003660be to also fix #264 @fi3ework.

Github has added directories now: https://github.blog/changelog/2024-04-29-dependabot-multi-directory-configuration-public-beta-now-available/. So I'll change this PR accordingly.

I added the directories option now so that it'll automatically check all package.jsons of this repo. @fi3ework if you want to have a look, it can also be reduced to the main directories (e.g. exclude the playground ones).

Thanks you! It's seems general good for now, we could change if needed in the future.

Thanks for the merge @fi3ework! Nice to see some action again on this repo. Adding the dependencies label would make sense now as the dependabot tries to apply it and can't find it.


ISPN-7184 Server startup can fail after the upgrade to JGroups 4

https://issues.jboss.org/browse/ISPN-7184
Re-add support for empty messages as a signal for missing fork channels
both in embedded mode and in server mode.
The server uses an empty message to signal that the fork channel with
that name is not running on a remote node.
ISPN-6970 made some changes to response unmarshalling and broke that.

FYI: I tested this and it seems to work.

Hrmm looks like build hung.  Have you seen an issue with FullSyncUseSynchronizationTotalOrderTest before @danberindei ?
https://gist.github.com/wburns/6a83f5ee9e88f40afc2cd876b89b9528

@wburns Yes, I even have a fix :)
https://github.com/infinispan/infinispan/pull/4663

Integrated into master, thanks @danberindei !


Convert all css code to scss

A preprocessor is one of the best ways to style a project as it gives additional features and enhances code readability. This involves converting all existing css code which is used for styling to scss code.

@sharmaaditya570191 I am a GSSOC participant and I would like to work on it. Please assign me this issue.

hey can u please assign it to me for GSSOC . I need to work on this issue.

please assign me this issue @sharmaaditya570191


Improve header style on macOS

This also adds support for customizing the stylesheet for different platforms in a future version.

Hmm, it looks like this on my machine:

Doesn't seem to be better than default style?

I thought it looked better that way, but if you don’t like it, I can change it 😀

Closing this since I think the default style is good enough.


chore: update vscode

This PR updates VS Code after @code-asher pushed a fix to our fork related to the build
Related https://github.com/cdr/code-server/issues/4436

Will update after https://github.com/cdr/vscode/pull/10 is merged

@code-asher nooo! What am I doing wrong? Think it's cached?
    browserType.launch: Failed to launch webkit because executable doesn't exist at /home/runner/.cache/ms-playwright/webkit-1492/pw_run.sh
    Try re-installing playwright with "npm install playwright"

This is old...we've updated VS Code in other PRs so closing this.


Added Waterfall.md in Software_Engineering

Added information about the Waterfall methodology, including an introduction, when to use it, and the pros/cons
Created a new file structure named ./Topics/Software_Engineering for files
Updated ./Topics/Software_Engineering.md to include a link to Waterfall.md

@MicheleMassa802 fixed TOC links

Issues fixed, very clean submission. No complaints from me, therefore I am merging the PR.


How to skip the loading screen (downloading configuration updates...) when change to Game Mode or Boot.

How to skip the "Downloading Configuration Updates" Screen, it's always appear when enter Game Mode or boot into system. Like give user a config menu item to skip, and request updates manual?

What is the issue with the screen? Usually it is just checking if an update exists which only takes a few seconds.
Without it, we cannot apply changes to Steam configuration.
It allows us to dynamically set game configurations to enable games to work without making new OS releases.
Having manual updates wouldn't make much sense.

Sometimes, I just wanna fast boot my machine, and play game inmediately, don't care about system update. Emmm, like Windows system update, not always notify me to updates at it boot. Not a big problem, but if user can decide it will be better.

Agree with Op sometimes it feels like it take too long. I would also rather omit this screen, can we maybe download said configurations in background?

Steam does not allow us to modify its configuration while it is running. So downloading in the background means we would have to apply fixes on the next boot. This could cause confusion and unnecessary support requests.

What config/files exactly is this screen loading? It can take like 15~20sec in my machine some times. Does it make sense to be this slow? Can we speed it up somehow?

What config/files exactly is this screen loading? It can take like 15~20sec in my machine some times. Does it make sense to be this slow? Can we speed it up somehow?

yes, 15-20s, at least 3s-5s.

Steam does not allow us to modify its configuration while it is running. So downloading in the background means we would have to apply fixes on the next boot. This could cause confusion and unnecessary support requests.

Force downloading things when my machine use my phone hotspot, not sounds good. I dont want to update my system every time I open it, I can accept update next time. If I face the emergency situation, I want update it manual.

It is checking for updates on the chimera-data repo (https://github.com/chimeraOS/chimera-data) and downloading a zip of the repo contents if it has changed. This file is ~130 KB
If it is taking 15-20 seconds, then it is waiting for the network to come up, which Steam would have to do anyway.
These are not system updates. It is just small configuration updates so we can deliver an optimized experience for users even without doing a new release of the OS, for example, when a new game is released that needs some specific configuration to work. The chimera-data repo/files are not modified that often.

Maybe reducing the frequency it runs then like only once per week, but put some mechanism is place to force the update manually

We are discussing potentially hooking this up to Steam's update system where OS and Steam client updates currently happen. My only concern is it could be confusing as people will see update notifications, apply the update, restart, and see no version changes.

We are discussing potentially hooking this up to Steam's update system where OS and Steam client updates currently happen. My only concern is it could be confusing as people will see update notifications, apply the update, restart, and see no version changes.

at least, skip when machine offline? Only update when online.

We are discussing potentially hooking this up to Steam's update system where OS and Steam client updates currently happen. My only concern is it could be confusing as people will see update notifications, apply the update, restart, and see no version changes.

at least, skip when machine offline? Only update when online.

It is skipped when offline. Most of that screen is just waiting to for the WiFi adapter to initialize. This needs to happen whether or not you are online because it's the only way to know if the machine has an active Internet connection or not.
Simply put the splash screen is there to stop questions related to longer than expected "black screens" while waiting for steam to start up. On the Steam Deck you see the Steam Logo while Valve does the same stuff in the background.

The configuration updates that are pushed are extremely small in size and is not pushed every reboot. I suppose the current splash screen wording used is a bit misleading. It's waiting for the network to initialize and starting up steam. It simply checks to see if any updates are available.
These configuration updates are for games that would otherwise be broken due to games expecting Steam Deck hardware. Simply turning this off would mean users would need to add launch parameters for many games by themselves and we'd get tons of help requests asking why a game works on Steam Deck and not ChimeraOS.
I'm not sure forcing a "check for update" input that would also trigger Steam client/OS upgrades is a better solution because if I just want to play my game now that would slow that process down because now I'm waiting for much more than just a few kilobytes of configuration updates.

After years of using ChimeraOS, I've been noticing this stage of the startup taking a REALLY long time. In the past it only took a few seconds, but now I'm finding myself waiting up to 10 minutes, if not longer.
I'm not sure what changed and if it's software or my internet or some sort of weird cdn routing, but it's odd and pretty frustrating when just switching back and forth between desktop and game mode.
If there's any particular logs I can get pointed to that might provide insight on this, I'd take a look.

After years of using ChimeraOS, I've been noticing this stage of the startup taking a REALLY long time. In the past it only took a few seconds, but now I'm finding myself waiting up to 10 minutes, if not longer.
I'm not sure what changed and if it's software or my internet or some sort of weird cdn routing, but it's odd and pretty frustrating when just switching back and forth between desktop and game mode.
If there's any particular logs I can get pointed to that might provide insight on this, I'd take a look.

Can you try disabling chimera temporarily and see if it boots faster again?
systemctl --user stop chimera

After years of using ChimeraOS, I've been noticing this stage of the startup taking a REALLY long time. In the past it only took a few seconds, but now I'm finding myself waiting up to 10 minutes, if not longer.
I'm not sure what changed and if it's software or my internet or some sort of weird cdn routing, but it's odd and pretty frustrating when just switching back and forth between desktop and game mode.
If there's any particular logs I can get pointed to that might provide insight on this, I'd take a look.

Can you try to upgrade to ChimeraOS 46 (unstable)? We have reworked the splash screen so that it displays more details of what is happening. It should hopefully reveal what is taking so long in your case.

Can you try to upgrade to ChimeraOS 46 (unstable)?

Yah. Is there a changelog somewhere? While I'm normally fine jumping into pre-releases, this setup is used by my kids so stability and generally having expectations on the changes are super important for this setup.


Port the Objective-C version of Realm's Swift tests to Swift 3

The Realm tests written in Swift (not to be confused with Realm Swift's tests) need to be ported to work with Swift 3, and re-enabled.

Duplicate of https://github.com/realm/realm-cocoa/issues/3842


INITIAL_COLUMN_ID is not found

I get this error while running the workflow.
 /usr/bin/docker run --name c9e03634bd76b72f7e4bca8e4547cecee59639_533e14 --label c9e036 --workdir /github/workspace --rm -e MY_GITHUB_TOKEN -e INPUT_PROJECT -e INPUT_COLUMN_NAME -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/design/design":"/github/workspace" c9e036:34bd76b72f7e4bca8e4547cecee59639  "https://github.com/orgs/wonderflow-bv/projects/1" "Backlog"

INITIAL_COLUMN_ID is not found.

I tried both GITHUB_TOKEN and a custom token but i get the same result. Here my config:
name: Auto Assign to Projects

on:
  issues:
    types: [opened, labeled]
  pull_request:
    types: [opened, labeled]
env:
  MY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
  assign_one_project:
    runs-on: ubuntu-latest
    name: Assign to One Project
    steps:
      - name: Assign NEW issues and NEW pull requests to Wanda project
        uses<EMAIL_ADDRESS>        if: github.event.action == 'opened'
        with:
          project: "https://github.com/orgs/wonderflow-bv/projects/1"
          column_name: "Backlog"

Yes. It was the column name. I think the error message can be misleading

Same problem here. Proj board:

Workflow def:
jobs:
  assign_one_project:
    runs-on: ubuntu-latest
    name: Assign to UA Project
    steps:
    - uses<EMAIL_ADDRESS>      with:
        project: 'https://github.com/orgs/dotnet/projects/xxx'
        column_name: 'Dev In Progress'

Does this action work on private projects?


How can I set an initialValue for FormBuilderSignaturePad field?

Describe your question
How can I set an initialValue for FormBuilderSignaturePad field? Or, in other words... when I first load the page, I want to have a value displaying in the signature pad.
I think this is likely a misunderstaning on my part.
Expected:
The Uint8List is displayed as a signature.
Actual:
The field is blank.
WHAT I HAVE TRIED
I am populating an initialValue Uint8List from either the form-level or field level. (deserialized from json)
Thoughts:
The code below (github permalink: https://github.com/flutter-form-builder-ecosystem/form_builder_extra_fields/blob/3cf217f6553f4d46b636034d92bedac811675d0b/lib/src/fields/form_builder_signature_pad.dart#L88)
... seems to indicate that any difference between an initialValue and the current state will result in a blank pad.
Perhaps I need to somehow programmatically also populate the fieldState and trigger a didChange or something?
What is intended?
image:
                          (null != initialValue && initialValue == state.value)
                              ? DecorationImage(
                                  image: MemoryImage(state.value!),
                                )
                              : null,

VERSIONS:
form_builder_extra_fields: 8.3.0
running on Android 11.

Same problem here.
The FormBuilderFormSignaturePad is go into this line: MemoryImage(state.value!),
but the image will blank.
In another place, the same showable value (Uint8List) in another DecorationImage was showed, so not the value is blank.

@jdar
if you can, change the code this way, it is works now.
Only one condition have to change:
child: (initialValue == null || initialValue != state.value)
and not
child: state.enabled
So, if you have initialValue this will show and not show the "Signature" widget, nbut is you don't have initialValue, the "Signature" widget will shown.
If you have initialValue and you want to sign again, you must first push the clear button (will do empty the state.value), and the "Signature" widget will show immadiately.
                  Container(
                    height: height,
                    width: width,
                    decoration: BoxDecoration(
                      border: border,
                      image: (null != initialValue && initialValue == state.value)
                          ? DecorationImage(
                              image: MemoryImage(state.value!),
                            )
                          : null,
                    ),
                    child: (initialValue == null || initialValue != state.value)
                        ? GestureDetector(
                            onHorizontalDragUpdate: (_) {},
                            onVerticalDragUpdate: (_) {},
                            child: Signature(
                              controller: state.effectiveController,
                              width: width,
                              height: height,
                              backgroundColor: backgroundColor,
                            ),
                          )
                        : null,
                  ),

@jdar if you can, change the code this way, it is works now. Only one condition have to change: child: (initialValue == null || initialValue != state.value) and not child: state.enabled
So, if you have initialValue this will show and not show the "Signature" widget, nbut is you don't have initialValue, the "Signature" widget will shown. If you have initialValue and you want to sign again, you must first push the clear button (will do empty the state.value), and the "Signature" widget will show immadiately.
                  Container(
                    height: height,
                    width: width,
                    decoration: BoxDecoration(
                      border: border,
                      image: (null != initialValue && initialValue == state.value)
                          ? DecorationImage(
                              image: MemoryImage(state.value!),
                            )
                          : null,
                    ),
                    child: (initialValue == null || initialValue != state.value)
                        ? GestureDetector(
                            onHorizontalDragUpdate: (_) {},
                            onVerticalDragUpdate: (_) {},
                            child: Signature(
                              controller: state.effectiveController,
                              width: width,
                              height: height,
                              backgroundColor: backgroundColor,
                            ),
                          )
                        : null,
                  ),

This is a nice behavior to have. @fehernyul or @jdar you can create a pull request with this, will be awesome!
Thanks


nvcc issue because -std=c++11 appears twice

Got this compilation error nvcc fatal   : redefinition of argument 'std' when compiling cuda examples with nvcc. I think it is related to that commit 11e29e0f98dc776fb3d2babc3ebd269974b55a9f

hpx adds -std=c++11 to your flags, so you must not manully add it anywhere. The commit 11e29e0f98dc776fb3d2babc3ebd269974b55a9f does the same for the installed version, so if you have added -std=c++11 anywhere, then you should remove it. The c++ compiler doesn't mind if you add it twice, but nvcc does. it's very annoying. I think the commit is correct, but if you've got problems then please suggest a fix.

I'm not sure but when you are in the hpx build treehpx_add_target_compile_option(${CXX_FLAG}) in file https://github.com/STEllAR-GROUP/hpx/blob/master/CMakeLists.txt line 945 is already putting the flag. Out of the hpx build tree (ex : when using an installed hpx), this flag disappears. Was the reason why ${CXX_FLAG} has been added in https://github.com/STEllAR-GROUP/hpx/blob/master/cmake/templates/HPXConfig.cmake.in and without disturbing the C++ compilation as it only touches nvcc flags

@biddisco Convinced?


[Feature Request] Add Stack and Queue Operations

🚀 Stack and Queue Data Structure
Stacks and Queues are both important linear data structures with specific usage patterns that make them essential in various programming scenarios. Each serves different purposes based on how they allow elements to be accessed and manipulated.

Would you like to work on this feature?

[x] Yes

I would like to work on it. Can you please assign me and add gssoc-ext label

Solved it #228


(re)adding existing Team owners

If the Request includes adding a Team owner (or secondary owner) who also happens to have created the template, the HTTP request to add the owner fails because that user is already present.
How might that error be best avoided/suppressed?

I have a non-user account (think service account) that is the owner of the template.  therefore applying the new ownership to the group will never get that issue.  Also you can add an HTTP call to remove the template owner from the group since that will be cloned as well.  I have some code below I used to remove the template owner from the newly created group.
HTTP call to remove template owner from new group ownership
{     "inputs": {         "method": "DELETE",         "uri": "https://graph.microsoft.com/v1.0/groups/@{outputs('Strip_Team_ID_from_Location_Response')}/owners/<ObjectId for Template Group owner>/$ref",         "headers": {             "Authorization": "Bearer @{body('Parse_JSON')?['access_token']}"         }     } }
HTTP call to remove template owner from membership of new group
{     "inputs": {         "method": "DELETE",         "uri": "https://graph.microsoft.com/v1.0/groups/@{outputs('Strip_Team_ID_from_Location_Response')}/members/<ObjectId for Template Group owner>/$ref",         "headers": {             "Authorization": "Bearer @{body('Parse_JSON')?['access_token']}"         }     } }
Hope this helps

I'll need to add some logic to determine if the template creator is not selected as an owner/member before deleting them using John's actions.


Add Series[T] and DataFrame[T, ...] type hint

This PR proposes an alternative take for https://github.com/databricks/koalas/pull/437. The main diff is that:

In python 3.7, hacks __class_getitem__ from Generic at DataFrame. Here, it just wraps the given types into a tuple type, which is existing variadic generic.

In python 3.6 and python 3.5, similarly it wraps by a tuple type too; however, the logic is defined in metaclass. So, it should be wrapped in a different way from python 3.7's

Looks we need a way to specify type hint in order for them to be set when we run Python native functions via, for instance, apply(func). For DataFrame, groupby(..).apply(func) needs it if we implement it. Consider this example:
def func(pdf) -> DataFrame[...]
    return pdf

df.groupby.apply(func)

We already have a way in case of Series (previously Col). I renamed and refactored it to Series.
The new type hints are used as below:
def func(...) -> Series[np.float]:
    ...

def func(...) -> DataFrame[np.float, int, str]:
    ...

Note that:
def func(...) -> DataFrame[np.float, int, str]
    ...

Seems we cannot specify field names. I currently gave some default names c0, c1, ... cn.

Codecov Report

Merging #453 into master will increase coverage by 0.11%.
The diff coverage is 84.21%.

@@            Coverage Diff             @@
##           master     #453      +/-   ##
==========================================
+ Coverage   93.12%   93.23%   +0.11%
==========================================
  Files          28       28
  Lines        3448     3446       -2
==========================================
+ Hits         3211     3213       +2
+ Misses        237      233       -4

Impacted Files
Coverage Δ

databricks/koalas/series.py
92.16% <100%> (+0.04%)
:arrow_up:

databricks/koalas/__init__.py
89.65% <100%> (-3.45%)
:arrow_down:

databricks/koalas/namespace.py
90.35% <100%> (ø)
:arrow_up:

databricks/koalas/frame.py
94.77% <100%> (+0.01%)
:arrow_up:

databricks/koalas/typedef.py
83% <76%> (+2.5%)
:arrow_up:

Continue to review full report at Codecov.

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

The downside of the current PR is:

We should add a hack for each version of Python until variadic generic is officially supported. Note that at some points it might be impossible for us to hack anymore
This kind of hack might tie up with possible corner holes (like namedtuple hack in pyspark) forever.

Nevertheless, Koalas can support neat return hint like:
def test(...) -> ks.DataFrame[int, str]:
    pass

Which way do you guys prefer? I prefer this way experimentally considering Koalas is still premature.

The thing is for vast majority of functions this won't apply right? Because the output type depends on the input type, which is not known statically.

Yup, in case of DataFrame this only applies to APIs that should be implemented via Grouped Map Pandas UDF for now where the types should be specified.
In case of Series, it applies to other APIs that should udf Pandas UDFs, for instance, [DataFrame|Series].[transform|apply], and pandas_wraps.
Additionally people might use this to note the return types of a function, for instance,
def read_csv() -> DataFrame[str, int]:
    ks.DataFrame(spark.schema("a strint, b int").csv())

For this case, it's just something optional and pretty.

BTW, we're encouraging to use type hints. Providing a proper way to specify types for our DataFrame and Series might be a good idea.

@HyukjinKwon thank you for fixing this, I wanted to unify Col and Series but could not find a way to do that properly. A couple of thoughts:
Do not attempt to recreate a full annotation system like in scala, because in practice it is not that useful and there are workarounds:
workarounds: python is flexible enough that I think you can do something like:
MyReturnType = StructType([StructField(...), ...])

def f() -> DataFrame[MyReturnType]: raise

(not tested)
not that useful: in practice, people want to be able to type functions and Series, not DataFrames. DataFrames in ETL keep having columns being added and deleted. All the business logic is done by taking a Series and transforming it into another Series, or a structure.
Regarding variadic types. I think that we can resolve them, based on the inputs. If you write something like this:
T = type()
def f(x: Series[T]) -> Series[T]: pass

You should be able to recover the annotations of x and then infer the final type. This is main case I can think of. This improvement is good for another PR.

MyReturnType = StructType([StructField(...), ...])

def f() -> DataFrame[MyReturnType]: raise

I wonder if this is possible ..I quickly tested:
    Traceback (most recent call last):
      File "/Applications/PyCharm.app/Contents/helpers/pycharm/docrunner.py", line 140, in __run
        compileflags, 1), test.globs)
      File "<doctest _infer_return_type[2]>", line 1, in <module>
        def func() -> ks.Series[1]:
      File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 251, in inner
        return func(*args, **kwds)
      File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 824, in __class_getitem__
        params = tuple(_type_check(p, msg) for p in params)
      File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 824, in <genexpr>
        params = tuple(_type_check(p, msg) for p in params)
      File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/typing.py", line 139, in _type_check
        raise TypeError(f"{msg} Got {arg!r:.100}.")
    TypeError: Parameters to generic types must be types. Got StructType(List(StructField(a,StringType,true))).

Let me take another look and see if I can do similar stuff for that but from a cursory look, I am pretty sure that we will need another hack like this one ...
DataFrame[np.float, int, str]

This annotation isn't completely new because Tuple[str, int, ...] is already supported in this way which is pretty similar instance with DataFrame. Considering we tried to represent Row as a tuple before in Spark side (https://github.com/apache/spark/blob/eec1a3c2862955bf2620d4cc5116fbd86e29952e/python/pyspark/sql/types.py#L1405), this wouldn't be that crazy.
FWIW, I found similar attempt here https://github.com/python/typing/issues/193#issuecomment-479484916

ping, what do you guys think about this?


zammad: move to pkgs/by-name/, use stdenvNoCC and format with rfc-style

Move Zammad to pkgs/by-name/
Use stdenvNoCC for Zammad because it does not need a C compiler
Format Zammad with nixfmt-rfc-style

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@ofborg build zammad
@ofborg test zammad


Update AGP 8.2.0

https://developer.android.com/build/releases/gradle-plugin#8-2-0

Closes #1038

Closing, in favor of

#1123


Remove top bar

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

This is just a POC. We will close this branch this weel


feat: parse post args in bodystream

What type of PR is this?
feat
What this PR does / why we need it (English/Chinese):
en:
zh:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zouxiaotian seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


qemu: Move from qemu-lite to qemu-cc binary

Because we want to run Clear Containers on the most recent and
maintained version of qemu-lite, we are going to rely on qemu-cc
binary which is the packaged version of qemu-lite-q35 (or most
commonly known as 2.9.0).
Basically we are moving from qemu-lite 2.7 to 2.9.
Fixes #407

Coverage remained the same at 55.39% when pulling ec1d0e51a785e199384df3e484906933ed7ede8b on sboeuf/move_qemu-lite_to_qemu-cc into 2eeb4f49cb4aa60a76bfedc6442dc142131fa054 on master.

@grahamwhaley @jodh-intel @mcastelino @devimc we need an approval on this one for when Semaphore will be able to pass because everything else will be merged.

lgtm
Just for completeness, the new qemu build comes from the tree here: https://github.com/clearcontainers/qemu/tree/qemu-lite-v2.9.0
We got an odd Semaphore failure (system power down) - I'll see if a 'label wiggle' will restart it...

ah, there is a hint that maybe @sboeuf stopped the semaphore build (or the logs could be misleading). Anyway, I'll let @sboeuf rekick semaphore as and when necessary

Coverage remained the same at 55.39% when pulling 1cfc5125d0f4dc539a3424c581b7b49bc4760920 on sboeuf/move_qemu-lite_to_qemu-cc into 2eeb4f49cb4aa60a76bfedc6442dc142131fa054 on master.

@gorozco1 just updated it :) Thanks for the review

Coverage remained the same at 55.39% when pulling 0e830dcedfa86f60ba0d3036b8815e4d02f2e59a on sboeuf/move_qemu-lite_to_qemu-cc into 5dea7cbe5041755038941373dc9f16ee9205b596 on master.

After running tests with this new qemu-cc some cri-o failures appeared. More information on https://github.com/clearcontainers/tests/issues/364 .
Closing this PR for the moment as we are not moving with qemu-cc until all problems are resolved.


Feature/databse adding

this was when we met up friday afternoon

Have a look through the individual commits again, some of this is from last wednesday, i think we should just keep the image.js  file and revert the rest. Some of the consts are getting reverted to vars, we should rebuild the code for the comments uing the new format as a template, and remember how to do this part.
var imageSchema = require('./image').schema;

...
    images: [imageSchema],
...


Updated Column colors to match graph

Adding screenshot for reference

Appreciate the PR! This seems to be decreasing readability, however, so closing it. It would be nice if you could open an issue with the suggestion before working on the PR, it's hard to see PRs close without merges. Thanks :)


Packer 1.5 support

Packer 1.5 has made some breaking changes and this plugin needs to be updated in order to work.
See: https://www.packer.io/guides/hcl/component-object-spec

thanks for the reference; hoping to have some bandwidth for this after the new-year. In the meantime if anyone wants to do a PR, please feel free to do so


"Horizontal mode" for game tree, keyboard shortcuts

Having spent over a decade with SGF editors such as CGoban, PandaGo, etc. before Sabaki existed, I have a very engrained muscle memory for traversing an SGF tree "horizontally"; that is, lines move from left to right, and variations branch up/down.
One of the only frustrating things about using Sabaki for me is that I have to flip my mental model 90°, using up/down to go down a line and left/right to switch branches. I often accidentally revert to the old way, and lose my place in the tree.
I would love to be able to toggle (perhaps in the config JSON) between horizontal mode and vertical mode. The main changes would be:

Rotate the tree viewer 90°
Potentially move it from the vertical top-right pane to a horizontal pane below the board, so that you can see more of it at once in this alignment
Remap all the relevant keyboard shortcuts to ones that make sense horizontally

I have a branch on my fork where I started doing this. So far I've only solved 1. on the list above; I couldn't figure out how to remap shortcut keys dynamically in Electron, so I gave up. But maybe @yishn has some ideas on how/if to accomplish it. It doesn't technically need to be dynamic, we could easily just require a restart to switch modes.

Switching between a horizontal and vertical tree requires to add a complexity to Sabaki (particularly point 2 and 3, also some menu item labels need to be changed, the slider should change orientation too) which I don't want to trade for the mere addition of a horizontal tree. However, feel free to add this functionality in your own fork, Sabaki is open source after all. I'm closing this issue, but if you have any questions, don't hesitate to ask.
As for how to remap shortcut keys dynamically, the easiest way is to rebuild the menu by calling
ipcRenderer.send('build-menu')

in the renderer process. This will invoke the function buildMenu() in main.js which will take menu.json and turn it into an actual menu. I would add some appropriate logic in there that determines which keyboard shortcut to use depending on which orientation the tree has.


Could not spawn popup

Describe the bug
When I run power-options-gtk on my Ubuntu laptop (HP Spectre X360) - I get the following:
tsutsumi@yusuke-hp:~$ sudo RUST_BACKTRACE=1 power-options-gtk
thread 'main' panicked at crates/frontend-gtk/src/main.rs:84:20:
Could not spawn popup: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
   0: rust_begin_unwind
             at /build/rustc-Px5Ywq/rustc-1.75.0+dfsg0ubuntu1/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /build/rustc-Px5Ywq/rustc-1.75.0+dfsg0ubuntu1/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /build/rustc-Px5Ywq/rustc-1.75.0+dfsg0ubuntu1/library/core/src/result.rs:1653:5
   3: frontend_gtk::main

To Reproduce

install power options via the process explained in other-distros.

System Info:

OS: Ubuntu 24.04

tsutsumi@yusuke-hp:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"

Kernel Version: Linux yusuke-hp 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
power-options version

Clone from head: ```
tsutsumi@yusuke-hp:~$ sudo RUST_BACKTRACE=1 power-daemon-mgr --version
power-daemon-mgr 1.0.0

 - The output of `power-options-mgr print-system-info` (attached)
[out.txt](https://github.com/user-attachments/files/17455331/out.txt)

 - The full/recent logs of the `power-options.service` systemd daemon.

Oct 20 21:37:42 yusuke-hp systemd[1]: Started power-options.service - power-options daemon.
Oct 20 21:37:42 yusuke-hp power-daemon-mgr[2471]: thread 'main' panicked at crates/power-daemon/src/lib.rs:371:44:
Oct 20 21:37:42 yusuke-hp power-daemon-mgr[2471]: Could not read config: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Oct 20 21:37:42 yusuke-hp power-daemon-mgr[2471]: note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Oct 20 21:37:42 yusuke-hp systemd[1]: power-options.service: Main process exited, code=exited, status=101/n/a
Oct 20 21:37:42 yusuke-hp systemd[1]: power-options.service: Failed with result 'exit-code'.
Oct 20 22:19:43 yusuke-hp systemd[1]: Started power-options.service - power-options daemon.
Oct 20 22:19:43 yusuke-hp power-daemon-mgr[5170]: thread 'main' panicked at crates/power-daemon/src/lib.rs:371:44:
Oct 20 22:19:43 yusuke-hp power-daemon-mgr[5170]: Could not read config: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Oct 20 22:19:43 yusuke-hp power-daemon-mgr[5170]: note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Oct 20 22:19:43 yusuke-hp systemd[1]: power-options.service: Main process exited, code=exited, status=101/n/a
Oct 20 22:19:43 yusuke-hp systemd[1]: power-options.service: Failed with result 'exit-code'.

**Additional context**
Add any other context about the problem here.

Check if you yad installed in your system as it is a required dependency for popups. Note that the daemon also fails because it can't find any configuration files, I'm assuming this is because the setup process couldn't finish, also likely due to the yad dependency missing. If installing yad fixes the gtk frontend panic, rerun sudo power-daemon-mgr setup to complete the failed setup process.


Not working anymore

Auto update functionality stopped working for me. My installation of Yuzu EA has been stuck at version 3507 for a couple of weeks now.

you can download from here
https://github.com/pineappleEA/pineapple-src/releases

Same for me the auto update seems to be broken, im stuck to Yuzu EA version 3507 like you @rwdsji.
It's not auto updating anymore

I know as our main contributor has quit and we don't have the source code anymore. Quick fix is incoming!


Enhancing error message in case of invalid registry credentials

Signed-off-by: zed-rishabh<EMAIL_ADDRESS>

@kalyan-nidumolu Please take a look.


Convert AWS SES raw email to AWS SES html templated emails

Currently, the email invites for agent and monitor users are plain-text emails. AWS has an HTML template email feature and this would be provide a more professional appearance. Submit a pull-request that changes the code for the plain-text email and provides an on-going design for the use of HTML template emails.

This was implemented by me @dlwhitehurst and I had disregarded the ticket until now. Closed.


No support for Opera Mobile

As of yesterday, after 17 hours the last change was committed, I was testing EasyWebsocket chat demo on my Nexus One with Android 2.3.6. It works on the native browser, FF and FF Aurora 9.2 alpha, but unfortunately not on Opera Mobile 11.5, which I consider to be the best browser for Android. Sometimes some user login messages and messages are displayed and repeated, but others just dropped.

So, it looks like some messages not going through from and to Opera Mobile. Should I better address this issue over at socket.io?


operations: datetime: Add operation to output current date

Reference the Meta Static Analysis example to create a new operations in dffml/operation/datetime.py . Add the file and make two operations, one which returns datatime.datetime.now() and another which takes the output of the first operation and formats the date in the same format as https://intel.github.io/dffml/master/examples/integration.html#training-our-model

Hello @pdxjohnny, I want to work on this issue.

I am working on this.

So do we also have to add the tools,plans etc or only the operations? @pdxjohnny .

hiii..I am new in open source ...I want to  contribute ..
can you please help me how to approach ?

I can try to help @Lily-Ananya what exactly do you need help with?

Hey,
I am interested in this issue

hey is this issue still open? Can you help me with all the prevailing issues that are open here in order of priority?


OpenGL backend does not disable ScissorTest when performing clClear calls

The OpenGL backend does not disable ScissorTest when performing glClear calls. As a result glClear calls are dependent on the last state change (either pipeline or ResolveTexture) for scissor test involvement in clear calls. All other backends will clear the entire buffer.

Fixed on master.


Should revert when try to transfer NFT to itself

If try to transfer NFT to itself, should revert it.
Rightnow the code will cause an infinite loop when run ownerOf in _approve in _updateOwnerAndClearApprovals.

Great catch! Will fix soon.
Thanks @Ayuilos !

Fixed on this commit


Changes for v0.1.0

Waiting on:

[ ] Continuous integration using Github Actions to validate pull requests
[ ] Documentation of wordle_strategies


add support for time-dependent fields and unify the interfaces of trace and trace_full

Adding support for time-dependent fields. Adding abstract type AbstractField and struct Field.
Unifying the interfaces of trace and trace_full. Adding two types of Tuple.
Adding related tests.
Improving performance.

Thanks to henry2004y. And the work for the interfaces is finished.

Benchmark Results
A ratio greater than 1.0 denotes a possible regression (marked with :x:), while a ratio less than 1.0 denotes a possible improvement (marked with :whitecheckmark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds).

ID
time ratio
memory ratio

["trace", "analytic field", "in place"]
0.70 (5%)
0.63 (1%) :whitecheckmark:

["trace", "analytic field", "out of place"]
0.73 (5%)
0.61 (1%) :whitecheckmark:

["trace", "numerical field", "in place"]
0.80 (5%)
0.69 (1%) :whitecheckmark:

["trace", "numerical field", "out of place"]
0.80 (5%)
0.68 (1%) :whitecheckmark:

More details can be found in the log.


Typos in the Azure SQL Data Warehouse Page

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://azure.microsoft.com/en-in/services/sql-data-warehouse/
Problem:
Typos in the content.

Error: Lighting-fast performance
Suggestion: Lightening-fast performance

Closing since this issue no longer repros. The page has probably changed since then.


InnerPool not dropped when a Pool is created and discarded in quick succession

Bug Description
The maintenance tasks spawned by the InnerPool prevent it from being dropped when a pool is created and dropped in quick succession. If an application uses code that creates and "quickly" discards a pool without manually closing the pool, connections in the pool will be leaked.
I think that the following are probably related to this:

#1824
#1862

And these may be related:

#2294
#2249
#1928

Minimal Reproduction
use sqlx::{
    postgres::{PgConnectOptions, PgPoolOptions},
    query, Connection, PgConnection, query_scalar,
};

#[tokio::main]
async fn main() {
    let pg_options = PgConnectOptions::new()
        .host("<IP_ADDRESS>")
        .port(5432)
        .database("postgres")
        .username("postgres")
        .password("postgres");

    tokio::spawn({
        let options = pg_options.clone();
        async move {
            let pool = PgPoolOptions::new()
                .min_connections(10)
                .max_connections(10)
                .connect_with(options.application_name("leaky_connections"))
                .await
                .unwrap();

            query("SELECT 1").execute(&pool).await.unwrap();
        }
    })
    .await
    .unwrap();

    let mut conn = PgConnection::connect_with(&pg_options).await.unwrap();

    let count: i64 = query_scalar("SELECT COUNT(*) FROM pg_stat_activity WHERE application_name = $1")
        .bind("leaky_connections")
        .fetch_one(&mut conn)
        .await
        .unwrap();

    println!("{count} connections left open"); // prints 10 connections left open
}

[dependencies]
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "postgres"] }
tokio = { version = "1", features = ["full"] }
futures = "0.3"

Info

SQLx version: 0.62
SQLx features enabled: "runtime-tokio-rustls", "postgres"
Database server and version: postgres 14.7
Operating system: macos
rustc --version: 1.67.1

In fact the problem is much simpler. There's nothing to notify the maintenance task that the last handle to the pool has been dropped because you're not calling .close(). We recommend doing that anyway, but we should also check on-drop of Pool if it's the last handle and if so call .close().

Even so, without calling .close().await you will still have connections hanging around for as long as the TCP keepalive timeout on the server, because dropping Pool can't perform a graceful termination as that requires each connection sending a Terminate message to the server. I'd recommend being sure to call .close().await either way.

I think that either having Pool perform the check on drop or updating the documentation to recommend manually closing the pool would work.
Right now, the wording of the documentation makes the manual close call seem optional or at least doesn't give the impression that omitting it would leave the pool's connections open.

Yeah, it shouldn't leak connections for sure but it's important to be aware that they may not be closed immediately.


fixed bindable IsScanning property to be settable multiple times (#496)

This change fixes some open issues. One of them is #496
The IsScanning property of the ScannerView Control is bindable, but once you switched it off an on, the scanner didn't work again, because the camera was no never re-initialized.
Furthermore, when scanning was disabled, and you left the page via a Navigation.PushAsync, the camera was setup again via a RefreshCamera call. However, this should not do anything if the camera is not initialized, because then the NonmarshalingPreviewCallback event listener was not attached again.
There is an existing pull request that has some of the changed of this pull request (#725) but this one fixes some more scenario's
edit:
I've added a commit to avoid the camera to be setup multiple times. In our app, we have a scannerview on our main page. When we disable scanning, and navigate to a different page, and open an external app via startactivityforresult, and then return to the app, the SurfaceCreated is called again. This causes the "SetupCamera" method to be called, and forces the SurfaceView into scanning mode, even when we disabled it before. The extra commit avoids this method from being called multiple times.

@Redth
Could you give me some feedback on this? We are currently using a forked build of the component containing this fix, because otherwise we cannot properly use the scannerview component. This fix makes the component much more usable. I might be a good idea to merge this pull request and create a new release containing the latest fixes. I think it would help a lot of people.

@Redth
Any way to get your attention? This pull requests fixes several issues and I would really like to have this merged. Besides this, we have some other issues I cannot seem to find the cause of. We'd like to have these issues fixed, and I'm willing to put in the work to have it fixed, however, I need your help to point me in the correct direction. We we need some sign of life from you.....

@Redth
I know you are probably busy, but we're still waiting for a sign of life.....

Apologies, not much time to work on this project lately, but I am hoping to have some very soon.  I'll have a look at this PR shortly

@Redth
Great! As soon as we get to the point that this PR is merged, I can demonstrate a different issue we are still having using an repro-project, that we can't seem to resolve. Right now, i cannot demonstrate it, because without the fixes in this PR we cannot get to the point of the issue, because the components stops working at an earlier point.
I am willing to put in the effort myself in fixing the issue and creating the PR, but I need some guidance in what direction to search for the issue, since we can't seem to figure out why it is happening. But we'll cross that bridge once we get there.

@Redth
Still waiting for that review....
Meanwhile, I've added an extra fix for the issue I mentioned earlier we were unable to find. We managed to find it after all and fixed is. The issue was that on android 7, the SurfaceView wasn't removed from the activity when using the Forms version of the scannerview. This caused a scannerview on a second page not being visible because the surfaceview of the scanner of the other page was rendered on top of it. The scanning worked fine though :)
As a fix for this, the surfaceview is now hidden when scanning i stopped, and made visible again when the scanning starts again.

@Redth
What does a guy have to do to get some attention? This pull request fixes loads of issues with the forms component. I know you're probably busy, but I think you'll be helping a lot of people I you spend a little time (as you stated half a year ago!) to review these changes and merge them if you agree.

Apologies, I really have little time to work on this these days.  I'm going to try and collect a few PR's and roll them up into a release though.  Thanks!

@Redth
It's almost a year later, and there is still no new release. Is this project dead? If so, is there an alternative?


Does chilipie-kiosk support Raspberry PI 3B?

Readme states that 3B+ is not supported yet but what about 3B?

@jareware answered f2f

3 works, 3B untested, 3B+ does not work


fixing issues in ACIMode system-test case

Instead of default, adding custom tenant.

LGTM other than minor comments


Fix issue 43

Related Issues or bug
Fixes: #43
Proposed Changes

added visual question answering model

Additional Info

added model, requirements,model_readme and result image

Screenshots

Original
Updated

original screenshot
**updated screenshot **

@UppuluriKalyani please review


write migration guideline from 0.7.0 to 0.8.0 (refactored model)

We created a wiki page which serves as a guideline.


Do PomBase identifiers have root type values in minerva?

It's possible to enter various PomBase names or identifiers into Noctua but then they don't display on the Noctua form table. because minerva doesn't have the information about the root type of PomBase entities.  The values/ids are there.
This is related to https://github.com/geneontology/noctua-form/issues/122
Perhaps the neo journal loaded into minerva is not up-to-date?
@kltm @balhoff - can you take a look/advice?
Discussed with @tmushayahama on a workbenches call

@balhoff minerva production is running as: --arachne -g http://skyhook.berkeleybop.org/go-lego-reacto.owl --set-important-relation-parent http://purl.obolibrary.org/obo/LEGOREL_0000000
The operative thing being: http://skyhook.berkeleybop.org/go-lego-reacto.owl. This is the same as noctua-dev.

Also see possibly quite relevant PomBase GPI issue: https://github.com/geneontology/noctua/issues/727#issuecomment-908775024

@kltm isn't there more to the command line? Like --ontojournal, etc.?

Of course--and a lot of other stuff--but I trimmed out anything local or not related.

Okay. http://skyhook.berkeleybop.org/go-lego-reacto.owl doesn't have genes; we need NEO for that. But anyway maybe the GPI change will fix the issue.

Pausing temporarily while we sort: https://github.com/geneontology/noctua/issues/727#issuecomment-909694414 .
When done, I'd like to bounce noctua-dev to see if the issue gets cleared on a complete rebuild of the datastores on the server.

This looks to be fixed on production.  See:  http://noctua.geneontology.org/workbench/noctua-form/?model_id=gomodel%3A60ff660000001748


Can you add a format for date-time

when specifying date as yyyy-mm-dd and reload you get a longer date rendered with zero time.  As date form should resolve this.

This is really important an issue I'm facing.
My "date" fields are getting parsed and trashed by Prose. If there's no superpowered datetime field, at least they should let my date fields be free texts.

If you just need dates in a particular format, you can make it a text field. Prose should leave that alone.

Actually no, js-yaml will parse any field with a value that resembles a date, like 2017-06-28, and turn that into a Javascript Date object. Then Prose will use that value in the field, so it will get printed as Wed Jun 28 2017 10:55:25 GMT-0300 (BRT). It's awful. I was trying to send a PR fixing that behavior, but I couldn't find a way, since it's js-yaml that's causing it and there's no way around it -- there is also no other YAML parser available for Javascript.

The only solution is to magically turn any fields with a Date value into magical datepicker fields by default -- or maybe by explicit configuration in the metadata field. There could be also a "format" option to define how the selected date would be saved back to YAML.

I agree that a date picker with formatter would be ideal.
I'm having trouble re-creating this behavior. From my observation, js-yaml is only used to parse content in the raw metadata editor and textarea fields. If you specify a text field in your configuration, Prose seems to leave that alone.
As an example, see the date metadata field I've saved in my text fork.

Oh, that's because you had quotes around the "2016-11-15" value. Why didn't I thought of that? I was doing date: 2016-11-15 directly in YAML, the on Prose that would be parsed and displayed as a date.


It doesn't work

The queue does not advance. Please fix it.

Hey, thanks for reporting this. This appears to be some weird case I've not encountered before
in MyAnimeList's data, fixed in https://github.com/Arctice/anime-birb-uk/commit/06f880f28fa0d7375d40e830e82fc07d4dba9747.


if hide and then show whole sidebar, open files never there.

I typically use a tall, relatively narrow screen for coding.  Frequently hiding the sidebar gives me just enough room to see whole lines without scrolling.  Then when showing the sidebar to find another open tab, the pane is missing.  The only way to get it back that I have found is to exit atom and restart.
By the way, this is a really useful package.  Because of the narrow width of my screen, if there are more than 6 or 7 tabs open, the names in the tabs are truncated to the point it is difficult to recognize their names.  Having the pane at the top of the sidebar is really convenient.

Also missing the open files pane after toggling the tree view.
As mentioned above, you can restart atom to get it back, or just disabling and re-enabling the package.
But it would still be a lot more helpful, if the pane could remain in place when toggling the tree view.

This also happens when toggling the the side of the tree view.

Seems the problem is on lines 21-25 in tree-view-open-files.coffee.  The if statement is supposed to detect whether the tree view is visible after a tree-view:toggle event, but is not doing so.
Fortunately, the tree-view:show event is being handled correctly by this package, so I've added the following to my keymap.cson file to mostly fix the problem.
'.platform-win32, .platform-linux':
    'ctrl-\\': 'tree-view:show'
    'ctrl-|': 'tree-view:toggle'

In order to display the tree view with the open files, press ctrl-.  To hide them, press ctrl-shift-\ (or ctrl-|).  The second command is really a toggle since there's no built in command for tree-view for hiding the tree-view (at least that I'm aware of).
This really should be an easy fix for @postcasio, and I know it almost kept me from using this package the first time I tested it out.

+1

This is a duplicate of https://github.com/postcasio/tree-view-open-files/issues/27
This pull request solves the issue for me: https://github.com/postcasio/tree-view-open-files/pull/30


README: add JuiceFS to the distributed file systems list

Thank you for creating this repo. I’m one of the maintainers of JuiceFS, an open-source cloud-native distributed file system, released under the Apache License 2.0. Our project has 9.6k stars on GitHub. We’d like to add our project to the distributed file systems list.
Here’s an introduction about the project:
JuiceFS is designed for high-performance computing needs, commonly utilized in AI & machine learning for training, inference, model distribution, as well as in big data processing and analysis. Within industries such as generative AI, autonomous driving, quantitative trading, and bioinformatics, JuiceFS serves as a unified storage solution in users' data pipelines.
Thanks for considering us.

@okhosting PTAL. Thanks.

Hello @CaitinChen thanks for your contrubution, JuiceFS seems like a fine project, thanks!


Feature idea: Render async with ActiveJob & ActionCable

Rendering with ActiveJob & ActionCable would allow for long performing background jobs to push view content when finished.
Rough Flow:

Render async called in view, which also creates ActionCable client subscription
Controller action immediately queues background job for processing
When job completes, content is broadcasted to client
Client inserts content into page from the subscription success callback

Use Case:
We have some long running queries in our admin interface around reporting. Since this is internal, it's not that big of a deal that a response takes 10 seconds, especially since it's only used a few times a day. We'd rather focus dev optimization effort on the customer facing part of the application.
However, this request can cause timeouts for the rest of the application, especially if requests are simultaneous. Pushing the processing to the background and rendering when ready would allow it be truly non-blocking for other requests.

Hey, @mnort9! Thanks for submitting an issue, the idea sounds great. I was thinking of this some time ago myself but never wound up drafting a PR.
Let me know if this is something you'd like to participate in, I'd be more than glad to help!
Also, if others are interested in seeing this feature, react with 👍

This would be awesome, and it could use the new StimulusReflex


Update package index with latest published versions

Update package index with latest published versions

@weshaggard I don't see updates for the C/C++ packages.  Do we need to do those manually?

@RickWinter There should automatically update if there are any updates. Are there any updates you feel are missing?


wallet.h: change from bitcoin to dogecoin #ifndef

Proposed change for header guards naming from BITCOIN_WALLET... to DOGECOIN_WALLET... in this header file.  May change other header files, if necessary.

Looks like this PR reverts part of 9c6af6d84179e46002338bb5b9a69c6f2367c731 inadvertently. Can you rebase atop the most recent commit for 1.14.5-dev please?

I have no strong opinion about this change, but note:

there are almost 200 defines with the literal string BITCOIN in the 1.14.5-dev source code that could use a similar change
changing defines will make it slightly more difficult to cherry-pick, rebase, or merge changes from Bitcoin source that would otherwise apply cleanly

Is the 1.21 series more appropriate for such a change perhaps?

Is the 1.21 series more appropriate for such a change perhaps?

Hi,
Yes, 1.21 is more appropriate.  Just brought it forward for future consideration.


Grammar error under Select WSDL URL

Description:
The following needs to be fixed in the UI.

Change "WSDL will be validate upon submit" to "The WSDL will be validated upon submission"
Change "validate WDSL url" to "Validates WDSL URL"

Affected Product Version:
M16
Tested with pack that will be released as M16
Related Issues:
https://github.com/wso2/product-apim/issues/2652

Fixed with https://github.com/wso2/carbon-apimgt/pull/5023

@tmkasun the UI has not been changed entirely based on the following feedback that I gave previously.
Change "validate WDSL url" to "Validates WDSL URL"
When changing this sentence you can future improve the suggestion as follows:
Change "validates WDSL url" to "Validates the WDSL URL"

Please refer my last comment for the reason as to why I am reopening this Git Issue.

This is fixed in

APIM 3.0.0 m35


[FLINK-32811][runtime] Add port range support for "taskmanager.data.bind-port"

What is the purpose of the change
Adds port range support for taskmanager.data.bind-port, which can be helpful in a restrictive network setup.
Brief change log

Changed taskmanager.data.bind-port opion type from Integer to String.
Introduced PortRange utility to be able to carry the port range string and its generated iterator together.
Updated NettyConfig to handle a PortRange instead of a port as the port of the server.
Updated NettyServer to be able to initialize itself from a PortRange.
Adapted relevant code pieces and documentation.

Verifying this change
This change added tests and can be verified as follows:

Added NettyServerFromPortRangeTest to test Netty server init from a port range.
Manually verified by setting taskmanager.data.bind-port to a port range (e.g. 55000-55100) while taskmanager.data.port is set to 0, then TM should bind to the first available port from the given range both locally and externally.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

I run this locally, it makes sense to add this improvement. It would be great if we could make it explicit in the logs (maybe adding an extra log line) that the following is for the data bind port:
2023-08-26 21:30:45,211 INFO  org.apache.flink.runtime.io.network.netty.NettyConfig        [] - NettyConfig [server address: localhost/<IP_ADDRESS>, server port range: 55000-55100, ssl enabled: false, memory segment size (bytes): 32768, transport type: AUTO, number of server threads: 1 (manual), number of client threads: 1 (manual), server connect backlog: 0 (use Netty's default), client connect timeout (sec): 120, send/receive buffer size (bytes): 0 (use Netty's default)]
2023-08-26 21:30:45,246 INFO  org.apache.flink.runtime.io.network.NettyShuffleServiceFactory [] - Created a new FileChannelManager for storing result partitions of BLOCKING shuffles. Used directories:
        /var/folders/yh/t9bt8gwj4zsd949jnr55vx980000gn/T/flink-netty-shuffle-9c342614-dc5f-467f-9a9d-1736246bdc62
2023-08-26 21:30:45,280 INFO  org.apache.flink.runtime.io.network.buffer.NetworkBufferPool [] - Allocated 128 MB for network buffer pool (number of memory segments: 4096, bytes per segment: 32768).
2023-08-26 21:30:45,289 INFO  org.apache.flink.runtime.io.network.NettyShuffleEnvironment  [] - Starting the network environment and its components.
2023-08-26 21:30:45,309 INFO  org.apache.flink.runtime.io.network.netty.NettyClient        [] - Transport type 'auto': using NIO.
2023-08-26 21:30:45,310 INFO  org.apache.flink.runtime.io.network.netty.NettyClient        [] - Successful initialization (took 20 ms).
2023-08-26 21:30:45,312 INFO  org.apache.flink.runtime.io.network.netty.NettyServer        [] - Transport type 'auto': using NIO.
2023-08-26 21:30:45,341 INFO  org.apache.flink.runtime.io.network.netty.NettyServer        [] - Successful initialization (took 30 ms). Listening on SocketAddress /<IP_ADDRESS>:55000.

I'm not sure where you think it would be appropriate. I think Netty specific classes are too general to add that info explicitly, what can be done easily is to highlight the listening port explicitly when the connection is successfully established (last line is the newly added log):
2023-08-27 09:42:16,255 INFO  org.apache.flink.runtime.taskexecutor.TaskManagerRunner      [] - Starting TaskManager with ResourceID: localhost:59695-945f3f
2023-08-27 09:42:16,286 INFO  org.apache.flink.runtime.taskexecutor.TaskManagerServices    [] - Temporary file directory '/var/folders/wp/ccy48gw1255bswh9bx9svxjc0000gn/T': total 460 GB, usable 125 GB (27.17% usable)
2023-08-27 09:42:16,287 INFO  org.apache.flink.runtime.io.disk.iomanager.IOManager         [] - Created a new FileChannelManager for spilling of task related data to disk (joins, sorting, ...). Used directories:
        /var/folders/wp/ccy48gw1255bswh9bx9svxjc0000gn/T/flink-io-6c07c533-5a9f-42e2-abeb-a3b35042bd57
2023-08-27 09:42:16,291 INFO  org.apache.flink.runtime.io.network.netty.NettyConfig        [] - NettyConfig [server address: localhost/<IP_ADDRESS>, server port range: 55000-55100, ssl enabled: false, memory segment size (bytes): 32768, transport type: AUTO, number of server threads: 1 (manual), number of client threads: 1 (manual), server connect backlog: 0 (use Netty's default), client connect timeout (sec): 120, send/receive buffer size (bytes): 0 (use Netty's default)]
2023-08-27 09:42:16,324 INFO  org.apache.flink.runtime.io.network.NettyShuffleServiceFactory [] - Created a new FileChannelManager for storing result partitions of BLOCKING shuffles. Used directories:
        /var/folders/wp/ccy48gw1255bswh9bx9svxjc0000gn/T/flink-netty-shuffle-2e98bd72-3306-4ddc-b551-3d3c77d95cfa
2023-08-27 09:42:16,345 INFO  org.apache.flink.runtime.io.network.buffer.NetworkBufferPool [] - Allocated 128 MB for network buffer pool (number of memory segments: 4096, bytes per segment: 32768).
2023-08-27 09:42:16,352 INFO  org.apache.flink.runtime.io.network.NettyShuffleEnvironment  [] - Starting the network environment and its components.
2023-08-27 09:42:16,374 INFO  org.apache.flink.runtime.io.network.netty.NettyClient        [] - Transport type 'auto': using NIO.
2023-08-27 09:42:16,374 INFO  org.apache.flink.runtime.io.network.netty.NettyClient        [] - Successful initialization (took 21 ms).
2023-08-27 09:42:16,376 INFO  org.apache.flink.runtime.io.network.netty.NettyServer        [] - Transport type 'auto': using NIO.
2023-08-27 09:42:16,395 INFO  org.apache.flink.runtime.io.network.netty.NettyServer        [] - Successful initialization (took 19 ms). Listening on SocketAddress /<IP_ADDRESS>:55000.
2023-08-27 09:42:16,395 INFO  org.apache.flink.runtime.taskexecutor.TaskManagerServices    [] - TaskManager connection initialized successully; listening internally on port: 55000

The other option would be to log it before the process IMO, but since the whole thing is started by the TaskManagerRunner, it would be more like redundant information beforehand. Tying the actual internal listening port to the TM explicitly can be useful and make things moe obvious.
WDYT?

Thanks, this makes sense imho. Unless there are any objections I will merge this tomorrow.


Django Material Admin Support for Django 2.2 and Python 3.6

We started using Django Material since from Django 1.9 where the Django Material has supported for Django Admin, currently, we are upgrading the Python 2.2 to 3.6 and Django 1.9 to 2.2, where we are facing issues related to Material design which is not supporting the Django Admin, as we have done lot many customizations in Admin based on the material design, we won't be able to revert back or change to any other admin designs of Django, Please let me know that whether Django Material Admin supports Python 3.6 and Django 2.2, if so please guide me the process how to update the Django material admin to support the Python 3.6 and Django 2.2. Please revert me back as soon as you can.

Due to missing paid customers for this feature, admin support was removed a long ago #373


Bootstrap 5 close buttons not closing form popup

If you want the popups to close in Bootstrap 5, you need to change data-dismiss to data-bs-dismiss. There's 3 instances of this in the src/dataTables.altEditor.free.js file.

Maybe we can add both of them, so that it's backward compatible?
Il gio 8 lug 2021, 20:15 Jacob Fliss @.***> ha scritto:

If you want the popups to close in Bootstrap 5, you need to change
data-dismiss to data-bs-dismiss. There's 3 instances of this in the
src/dataTables.altEditor.free.js file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/186, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLII2B25NT6MEND3T2EFWTTWXTLNANCNFSM5ABH5OKQ
.

my fix
              var modal = `

Modal title

                      <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>

`;

fix secondary button style, change:
btn-default button secondary   -> btn-secondary
full src: https://www.codepile.net/pile/bQL1JOdN
work in progress... will be nice you help)

@erfg12 Thanks.


Canvas spinner

Fixes #206

Coverage decreased (-1.1%) to 57.797% when pulling ab2c370be5d6a44c20d724695b82c5e10dd62bd7 on James-Crean:canvas_spinner into 765a128784d6c8d05eb63e96e2ca71fab2c0b0ad on UV-CDAT:master.


Add perspective.el support

see: #86

Hi @kaiwk :wave:, thanks for your contribution :+1:
I'll review the changes in the near future and get back to you.


Comment here to be added as a collaborator

Comment below - you can say anything
We will all be using this repository today. Even though it's public, you will not be able to make changes until you're given the correct permissions. We've automated this process via the GitHub API and some fancy chatops. Once you comment, you'll be added as a collaborator.
You'll also start to receive a lot of emails. (:exclamation:) You can slow these down immediately by clicking the 'unsubscribe' button.

hello! 👋

Hi Briana!

Hey hey.

:tada: @SamFailbetter and @liamwelton are now  repository collaborators. :balloon:

where's the any key

Howzit!

Hello!

:tada: @MacFBG, @FailbetterBarry, and @AdamFBG are now  repository collaborators. :balloon:

hello

:tada: @henryfailbetter is now a repository collaborator. :balloon:

late to the party

:tada: @paularendt is now a repository collaborator. :balloon:

test


updating urlpatterns doc for new Django url syntax

When using Django latest version (2.1.7 at the moment), documentation about DRF_simplejwt usage is not correct, because the URL dispatcher syntax has changed. (See https://docs.djangoproject.com/en/2.1/topics/http/urls/)
This is a tiny update of the README file to make it work.

done

up


Bump phoenix versoin to 1.1 and phoenix_html to 2.3

👍

This should be good for 1.0 or 1.1, please update and I'll merge. Thanks!

any progress on this?

@chrismccord I already have bumped phoenix version to 1.1
https://github.com/programisti/phoenix_haml/commit/08b8a60c68ea6285f59fa80381e219451ca32746#diff-6023be6004fce4718dad3dafb576d258R27


[CLI] Shouldn't --wit-dir also change the place where we look-up for wkg.(toml|lock)?

Hello!
I have a repo with multiple WIT packages, I use this option, so I can build my different package.
I noticed that we use the default (Lock|Config)::load(), but should we instead use this function to load from the dir passed to --wit-dir?
If so, I would be happy to contribute back a quick MR! ❤

I've gone back and forth on what the best behavior and location would be here. Other .lock files are almost always at the top level of a project, but also, wit is kinda half way between a vendor/node_modules dir and configuration. The other use case I see here is where you do want things at the top level (current behavior), but your wit directory is not in the standard location.
@joonas @calvinrp curious if you have any thoughts here

If that may bring any perspective, in my specific use-case, I have different packages in a repository.
What you describe "things at the root" sounds more like the equivalent of "workspaces" in Cargo and go modules.

Yeah for sure @raskyld! That is what I am trying to tease out. I've seen people use it both ways. Just trying to figure out where the right place would be to store it and why.


Add  Energy management built in types to ZAP tool

As part of Spring 2024 we are targetting new Energy Management clusters which have introduce 4 new types (like epoch_s):
This spec PR has added new changes to Data-Model.adoc:
https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/7830/files#diff-05653d18812836190adf870ff988791e0e3901478a63ab1eca4c3e9df0168a8c
                 | Power                       s| <<ref_DataTypePower, power-mW>>          | int64     | 0xD9 | 8 bytes
                 | Amperage                    s| <<ref_DataTypeAmperage, amperage-mA>>    | int64     | 0xDA | 8 bytes
                 | Voltage                     s| <<ref_DataTypeVoltage, voltage-mW>>      | int64     | 0xDB | 8 bytes
                 | Energy                      s| <<ref_DataTypeEnergy, energy-mWh>>       | int64     | 0xDC | 8 bytes

[[ref_DataTypePower, Power]]
==== Power
This type, derived from int64, represents power measured in milliwatts.
[[ref_DataTypeAmperage, Amperage]]
==== Amperage
This type, derived from int64, represents amperage measured in milliamps.
[[ref_DataTypeVoltage, Voltage]]
==== Voltage
This type, derived from int64, represents voltage measured in millivolts.
[[ref_DataTypeEnergy, Energy]]
==== Energy
This type, derived from int64, represents energy measured in milliwatt-hours.
https://github.com/project-chip/zap/blob/346129357ae10897c17be991b6220989e3f3d7bf/zcl-builtin/matter/data-model/chip/chip-types.xml#L57
These need to be added to ZAP tool to unblock chip repo Issues:
https://github.com/project-chip/connectedhomeip/issues/30665
and it's PR: https://github.com/project-chip/connectedhomeip/pull/30701

I may withdraw this issue - since it looks like the logic is in chip repo and possibly not needed here...

@jamesharrow this requires a xml change in the Matter GSDK. What we have in ZAP is just default meta data which allows zap to be tested. Actually xml/json meta data should be retrieved from the GSDKs. Are there any other concerns here or is it ok to close this issue here?

I think this issue can be closed now - it was raised during development of 1.3 and we now have that working.


common/malloc.h has commented lines

When compiled with g++ 4.8 and "-Wall" parameter, the commented lines are causing "error: multi-line comment [-Werror=comment]" issues. It is not possible to ignore this in the code using gcc ignore pragmas. If not needed, these may be removed ?

This is an issue that I would personally like to see fixed, but it hasn't been a priority for us because it hasn't "been in the way" of us making progress.
A couple of months ago, I tried making the code compile with "-Wall -Werror -pedantic", but (-Wall especially) found THOUSANDS (!) of problems, where almost every file had multiple things wrong in it. At the time, I had decided to not pursue that work through to its finish because a large subset of errors were in our apps/ directory, knowing that I was going to go in and revamp most of our apps at a later time. Now that the apps rework has mostly happened in devel, I will look at this again and see if it's easier to accomplish.
Out of curiosity: are you compiling OSPRay inside another CMake project which has "-Wall" enabled, or did you turn it on manually when compiling OSPRay on its own?
Cheers,
Jeff

I am compiling OSPray code from another CMake based project and the default setting is Wall.
Cheers,
Ahmet

This should be fixed in our latest v1.1.0 release. As always, please let us know if you have any issues moving forward.


error

Hi. Thank you so much for sharing the code.
I followed the instruction in the readme to start Virtuoso service. However, when I run the python3 fix_freebase_literal_format.py
It gives me this error.
subj, pred, obj, rest = line.split("\t")
TypeError: a bytes-like object is required, not 'str'
could you please help?

are you using the provided virtuoso db files (downloaded via a Dropbox link)? If so, you don't need to run the fix_freebase_literal_format.py at all

Thank you so much... skipped that.
However, when I run this
python3 virtuoso.py start 3001 -d virtuoso_db
it keeps giving me this message
The VDBMS server process terminated prematurely
after opening the database.
Any suggestion?

Thank you I skipped that. However, when I try to run the SPARQL query, the Sparql editor returns nothing.


Consider moving the worker around (run engine) into a separate microservice

We should strive to avoid bloat like with GDA and possibly those microservices could be deployed separately.
graph TD
    CLI[CLI Tool] -->|Submits jobs| A[FastAPI Frontend]
    CLI -->|Previews IoT devices| IoT[IoT Device Representation in ophyd-async]
    CLI -->|Listens to| D[Message Bus]
    A -->|Reads jobs| B[Job Queue]
    B --> C[Worker Service]
    C -->|Emits results| D
    D --> E[Result Processing Service]
    C -->|Protobuf| F[Other Microservices]
    style CLI fill:#fff,stroke:#000,stroke-width:2px
    style A fill:#fff,stroke:#000,stroke-width:2px
    style B fill:#fff,stroke:#000,stroke-width:2px
    style C fill:#fff,stroke:#000,stroke-width:2px
    style D fill:#fff,stroke:#000,stroke-width:2px
    style E fill:#fff,stroke:#000,stroke-width:2px
    style F fill:#fff,stroke:#000,stroke-width:2px
    style IoT fill:#fff,stroke:#000,stroke-width:2px

The subprocess already does some of this. We could separate the management and worker processes out completely, I'm not opposed to that. See also #371
What is the IoT device service for?

Yeah that inaccurate but basically ophyd async

Are the ophyd-async devices instantiated twice? Once in the worker service and once in the IoT service? There's no arrow between them.

I was not precise, now I changed it from 'service' to 'representation' to be more abstract. in essence this would entail splitting of the context:

@dataclass
class BlueskyContext:
    """
    Context for building a Bluesky application.

    The context holds the RunEngine and any plans/devices that you may want to use.
    """

    run_engine: RunEngine = field(
        default_factory=lambda: RunEngine(context_managers=[])
    )
    plans: dict[str, Plan] = field(default_factory=dict)
    devices: dict[str, Device] = field(default_factory=dict)
    plan_functions: dict[str, PlanGenerator] = field(default_factory=dict)

    _reference_cache: dict[type, type] = field(default_factory=dict)

we would keep the devices and plans (as everything available on the beamline) and only send 1 plan with the devices needed there to the worker service. The worker service would keep the RunEngine.

I think I'm going to need even more precision, what out of the following objects lives in which process?

RunEngine
Plan functions
Plan metadata
Device objects
Device metadata

worker service

RunEngine
the current plan function
plan metadata
devices instantiated for this plan

REST gateway

all the plans for a beamline
DeviceModel s for devices on a beamline

the metadata part is less familiar to me, not sure.

So devices are instantiated lazily (when a plan that needs them is run)? And then destroyed when the plan finishes?

not sure, it's a parameter independent of whether RE is separate or not. I haven't got the picture in that details

@stan-dot How about this?
graph TD
    CLI[Client] -->|Submits jobs| A[FastAPI Frontend]
    D[Message Bus] -->|Provides results| CLI
    A -->|Protobuf| C[Worker Service]
    C -->|Emits results| D
    D --> E[Result Processing Service]
    style CLI fill:#fff,stroke:#000,stroke-width:2px
    style A fill:#fff,stroke:#000,stroke-width:2px
    style C fill:#fff,stroke:#000,stroke-width:2px
    style D fill:#fff,stroke:#000,stroke-width:2px
    style E fill:#fff,stroke:#000,stroke-width:2px

I've chopped out the IoT service because it is out of scope, but it can be added later.

That's left vague on purpose because it is a case-by-case thing. In reality there will be many downstream services that do things to the data, and that is out-of-scope for this project, our job is just to provide data in a nice, well-known format (a.k.a. event-model)
I think we're beginning to get a design out of this thing though, which is good. Another important detail is hot reloading. We've found this to be a very useful feature on current blueapi. When we change a plan, we just need to poke an endpoint to reload the code into blueapi (~5s), where before we had to restart the pod (~30s). We get this via the subprocess arrangement at the moment and are keen not to lose it.

I mean we wouldn't lose that the logic would just be carried over like everything else.

focusing on different things at the moment


PR title check failing

Describe the bug
PR title check stopped working correctly from today. Most likely pr.title has an issue since another check depending on it is also not running.
To Reproduce
I have the following action in cm repo:
  label_missing_jira_info:
    if:
      - {{ not (has.jira_ticket_in_title or has.no_ref_in_title) }}
    run:
      - action: add-label@v1
        args:
          label: "missing jira"
          color: {{ colors.red }}
      - action: request-changes@v1
        args:
          comment: |
            This PR is missing a Jira ticket reference in the title.
            Please add a Jira ticket reference to the title of this PR or use `NO-REF`.

has:
  jira_ticket_in_title: {{ pr.title | includes(regex=jira.pattern) }}
  no_ref_in_title: {{ pr.title | includes(regex=r/NO-REF/) }}

jira:
  pattern: 'r/\b[A-Za-z]+-\d+\b/'

Now each time this action runs it executes the action and requests changes, even if PR title is correct, like 'ABC-123 some title'.
We didn't change the action, it worked correctly last week.
Expected behavior
Action should not execute if PR title matches the regex.
Screenshots

I can confirm that we have a similar issue: a rule using regexp matching in PR title and PR description started to fail. It used to work just fine last week.
The config is below:
  label_missing_jira_info:
    if:
      - {{ not is.dependabot }}
      - {{ not is.publicRepo }}
      - {{ not (crossref.jiraInTitle and crossref.jiraInDescription) }}
    run:
      - action: add-label@v1
        args:
          label: 'cm: missing-jira'
          color: {{ colors.danger }}
      - action: request-changes@v1
        args:
          comment: |
            This PR is missing a reference to Jira ticket

...

is:
  publicRepo: {{ repo.visibility | match(term='public') }}
  dependabot: {{ (branch.name | includes(term="dependabot")) and (branch.author | includes(term="dependabot")) }}

...

crossref:
  jiraInTitle: {{ pr.title | includes(regex=pattern.jira_ticket_id) }}
  jiraInDescription: {{ pr.description | includes(regex=pattern.jira_ticket_url) }}

pattern:
  jira_ticket_id:     r/\[\s*\w{1,}-\d{1,}(\s+\w{1,}-\d{1,})*\s*\]\s*$/
  jira_ticket_url:    r/-\s+https:\/\/org\.atlassian\.net\/browse\/\w{1,}-\d{1,}\b/

Hi @korya and @bartkuzio, thanks for reporting this bug
We are looking into it. It seems like there is a problem with the regex interpreter and the team is working to fix it. I will update here when it is resolved

@PavelLinearB Thanks for the update! Great to hear that you are on top of it!

It works now, thanks for quickly fixing the issue!


Error

In the Add cluster dialog box, enter https://help.kusto.windows.net, then select Add.
=>
Principal 'msauser=***************************************' is not authorized to perform operation 'Access the Kusto service' on 'https://help.kusto.windows.net:443/'.

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

ID: 5e0fe92a-90be-c666-9d29-fe3d4eb68b27
Version Independent ID: db56e6c1-c71b-7d84-4e38-1c555db1fa67
Content: Quickstart: Query data in Azure Data Explorer
Content Source: articles/data-explorer/web-query-data.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: v-orspod

However I can do it in Opera (instead of Chrome)

And then:
Add Cluster
Please enter the URI
URI
https://myclusterxxxx.westus.kusto.windows.net
Authorization has been denied for this request.
Something is wrong with this application...

@mgblythe, please fix if needed.

Thanks for the feedback @mcurko in this issue and the other one. Looking into both of these.

@mcurko We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

I am the Azure Data Explorer Admin in the portal.
I am unable to connect the Azure Data Explorer from Kusto Explorer tool and PowerBI tool.
While i am trying to connect from the Kusto Explorer Tool, i am getting the error -
code": "Forbidden",
"message": "Caller is not authorized to perform this action",
"@type": "Kusto.Common.Svc.Exceptions.UnauthorizedOperationException",
"@message": "Principal<EMAIL_ADDRESS>is not authorized to perform operation 'VersionShowCommand' on 'https://manjuadxcluster.centralus.kusto.windows.net:443/'.",
I have installed the Kusto Explorer Tool in the local system.
I have provided my self the IAM access to the Azure Date Explorer Cluster.
In Kusto Explorer Tool, Logged with the same azure account.
While trying to connect. i am getting the above mentioned error.
And while connecting the Data Explorer from PowerBI, getting the error -
Access to the Resource is forbidden.
I have installed the PowerBI in the local system. While connecting to Data Explorer getting the error -
Access to the Resource is forbidden.

Getting this error when attempting to use both Kusto Web UI and Kusto Explorer desktop app. However accessing it through portal.azure.com works (luckily). Is there a fix or workaround for this? Or a permissions setting that needs to be changed on my Azure AD account?

@stevenhurwitt - the documents no longer reside in this location. Best practice is to open new feedback on the page so it can be addressed. In your situation, since this is a product question, please post your question on Stack Overflow. Thanks!


ValueConversion for DateTimeOffset is not working

I am using following value conversion for DateTimeOffset with SQLite:
var dateTimeOffsetConverter = new ValueConverter<DateTimeOffset, long>(
    dateTimeOffset => dateTimeOffset.ToUnixTimeMilliseconds(),
    unixTime => DateTimeOffset.FromUnixTimeMilliseconds(unixTime).ToLocalTime());

With version 2.2.2 I get following warning:
warn: Microsoft.EntityFrameworkCore.Query[20500]
      The LINQ expression 'where ([dde].Timestamp <= Convert(__toDate_1))' could not be translated and will be evaluated locally.

The conversion is working as excepted with version 2.1.8.
Further technical details
EF Core version: 2.2.2
Database Provider: Microsoft.EntityFrameworkCore.Sqlite
Operating system: Windows 7 SP1
IDE: Visual Studio 2017 Version 15.9.7

@christianheld Can you post the shape of your entity types and the LINQ query you are executing?

Here is a minimal repro program:
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Microsoft.Extensions.Logging;

namespace DateTimeOffsetSample
{
    public class Entity
    {
        public int Id { get; set; }
        public DateTimeOffset? Timestamp { get; set; }
    }

    public class DataContext : DbContext
    {
        public DataContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<Entity> Entities { get; set; }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            var converter = new ValueConverter<DateTimeOffset, long>(
                dateTimeOffset => dateTimeOffset.ToUnixTimeMilliseconds(),
                unixTime => DateTimeOffset.FromUnixTimeMilliseconds(unixTime).ToLocalTime());

            modelBuilder.Entity<Entity>()
                .Property(e => e.Timestamp)
                .HasColumnType("BIGINT")
                .HasConversion(converter);
        }
    }

    public class Program
    {
        public static void Main(string[] args)
        {
            var loggerFactory = new LoggerFactory();
            loggerFactory.AddConsole();

            var options = new DbContextOptionsBuilder<DataContext>()
                .UseSqlite("Data Source=test.db")
                .UseLoggerFactory(loggerFactory)
                .EnableSensitiveDataLogging()
                .Options;

            using (var context = new DataContext(options))
            {
                context.Database.EnsureCreated();
                DateTimeOffset? now = DateTimeOffset.Now;
                var result = context.Entities
                    .Where(e => e.Timestamp <= now)
                    .ToList();
            }
        }
    }
}

Note for triage. This is likely due to the intentional change we made to stop server-evaluating for DatetTimeOffset on SQLite since it gave the wrong results--see #14082. However, in this case the value is being converted to a long, which would make this correct on the server, but is now falling back to client evaluation anyway.

@smitpatel to find related issue where we will determine translation based on store type.

Related #10434

Verified fixed in current master.
Executed DbCommand (1ms) [Parameters=[@__now_0='1590437610521' (Nullable = true) (DbType = String)], CommandType='Text', CommandTimeout='30']
      SELECT "e"."Id", "e"."Timestamp"
      FROM "Entities" AS "e"
      WHERE "e"."Timestamp" <= @__now_0


Add thrown exception phpdoc in BaseActiveRecord save method

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
-

Fixed issues
#15501

That's not strictly correct. It returns false on save failure. It may or may not throw an exception if underlying layers do but since  usually nothing could be done about these exceptions, there's no need to declare it in the phpdoc.


feat(result): new module result

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7382b12) to head (e6656f5).

Additional details and impacted files
@@            Coverage Diff             @@
##              main       #49    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           73        75     +2
  Lines         1189      1316   +127
==========================================
+ Hits          1189      1316   +127

Flag
Coverage Δ

gi
100.00% <ø> (ø)

optional
100.00% <ø> (ø)

result
100.00% <100.00%> (?)

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

coverage: 100.0%. remained the same
when pulling e6656f5ea056d98d673b5dbd997303cbe0513c32 on feature/result
into 7382b1208dc4711207362e89c4e387ca1c54fd1c on main.


Fix zsh completion.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Fixes https://github.com/Homebrew/brew/issues/4514.

Thanks @reitermarkus!


how can i change the index which the dashboard is using --the latest version

Hi ,
after installing the lastest version of the Json file on the content packs, im having this issue:
how can i change this?
While retrieving data for this widget, the following error(s) occurred:
Elasticsearch exception [type=index_not_found_exception, reason=no such index []].
if i query from the cli , elasticsearch. with the correct index i get an answer , (nothing has changed in the elasticsearch)

While retrieving data for this widget, the following error(s) occurred:
Elasticsearch exception [type=index_not_found_exception, reason=no such index []].

okay this is fixed now.  i had to change the highlighted value to match my Fortigate_syslog index and that was it.


fix: [ORI-1804] properly return full error code in error message.

Submit a pull request
Description of the pull request
Fix bug with error message format
Add tests

In the example:
{"success":false,"error":{"type":"validation_error","detail":{"code":"required","message":"This field is required.","field_name":"data.image_url"}}}
We would also want to include field_name along this the message