Highlight proprietary license in app details page

Hi! This is my first PR in this repo, sorry if I did things how you usually wouldn't.
To start with something simple, I went for the second part of #1365, "if a software is proprietary software maybe it could show "Proprietary" in red color and/or with a warning icon".
I tried eyeballing the colors to find a pleasant match that draws attention yet doesn't distract too much, I think I got it alright:

To keep contrast between background and text according to WCAG, I also had to adjust the "subtext" (link/text) color when the ListBox is highlighted.
I was thinking of adding some sort of 🛈 icon that on hover would show a popup that explains the downsides of proprietary software because new users who don't know what proprietary means might be confused. Thoughts?

hey, thanks for looking into this, but I'm not sure if we want it like that. I do have some notes on how this looks etc, but I'm a bit worried about the implications of this.
@ramcq is this something we want? I know that we will always push FOSS apps to be front and center but design like this might lead to non-FOSS apps not wanting to be on flathub

For context gnome software:

The Learn More then leads here https://gitlab.gnome.org/GNOME/gnome-software/-/wikis/Software-licensing

Hi everyone, I have designed this idea trying to address the following concerns:

Inform that the app is proprietary;
Avoid a design that may lead non-FOSS apps not to want to be on Flathub;
Follow the website's current design;
Follow the gnome-software idea

Or, we can just add the word "Proprietary" in front of "License"?

What do you guys think?

Thanks for the mockups @Danielgomesp! Out of these two, I personally prefer the one that has a bit of explainer text. However, I think we could take a bit more inspiration out of the GNOME Software design. Just "You may not be able to contribute to this app" doesn't really explain much, and most people might not even be  interested in contributing to random apps they're using, so they'll think "how does this affect me?". But proprietary software has more caveats than just that, as the GNOME Software tile explains. Would it be possible to incorporate a more detailed explainer to fit with the Flathub design?

Just cause I'm looking at permission code in gnome software right now, it also shows an app as unsafe, due to proprietary licenses.
Not sure if there is anything, that overrides it in some cases.

I can't really answer the design question, but I support highlighting Proprietary software and the potential downsides. I think some more textual description is needed perhaps in addition to a highlight/warning color or icon, rather than just making something red like it's broken. Flathub is after all trying to promote/support/build the free and open source Linux desktop; so we do care about favouring and promoting FOSS > Proprietary. We are just enabling developer and user choices by supporting any (distributable) software.


Use workflows for model spawning

New feature implementation
Implemented feature
This PR brings model loading from a fairly complex state machine involving several marker components and implicit system ordering to workflow. This unlocks the following:

Proper dependency tracking: Arbitrary hierarchies of nested models will now be loaded as part of the root model, if any of the dependencies fails the user will know which dependency fails and the whole model spawning will be aborted.
Flexibility with callbacks: We can use a callback based system to perform actions on a model as soon as it is spawned, removing the need to use marker components and systems querying them for this purpose.
"Quicker" model loading. Since we can do model loading in a series of blocking workflows they all can be executed in a sequence potentially in a single frame without having to wait multiple systems to go through command flushes and change detection (that a marker component based approach would need).
Safer component adding / removing to models that are being spawned, which removes the need for the ModelTrashCan that we introduced before to avoid panics, we can now just do a normal despawn_recursive()

Implementation description
High level
A new workflow for model loading with a command implementation has been added, its inputs are the entity that the model should be spawned in, as well as its asset source.
// Before
let model = Model {
    [...]
};
commands.spawn(model);

// After, we still need to add all the required components, the service only reads an `AssetSource` and spawns a model accordingly
let source = AssetSource[...]
let model = Model {
    source: source.clone(),
    [...]
};
let id = commands.spawn(model).id();
commands.spawn_model((id, source).into());

Workflow details
spawn_model takes a ModelLoadingRequest as an input, which can be default initialized from a (Entity, AssetSource), but also uses a builder pattern so users can provide a Callback<Entity, ()> that will be called on the model if it spawned correctly. This is currently used for workcell editor mode, where we want to do a custom action on the model (for example post-process its hierarchy).
https://github.com/open-rmf/rmf_site/blob/9bde07409be73b6ee0abdaf447dc29f21883e3b5/rmf_site_editor/src/interaction/select/place_object_3d.rs#L477-L478
The workflow itself propagates its request throughout and returns a ModelLoadingResult:
https://github.com/open-rmf/rmf_site/blob/9bde07409be73b6ee0abdaf447dc29f21883e3b5/rmf_site_editor/src/site/model.rs#L63
The result will contain :

Ok(the original request) if successful.
Err(None) if the workflow was aborted but without an error. Currently this happens only if the model was not spawned because it already contains a scene with the requested AssetSource, this could happen if a user called spawn_model several times on the same entity with the same source and avoids unnecessary work.
Err(err)` if it fails for any other reason, asset not found, failed parsing. When this is triggered we add a marker component for model failure and cleanup the model scene.

Marker components for state
Marker components are not fully gone, when a model spawning is requested a component with its Promise will be added to the entity.
https://github.com/open-rmf/rmf_site/blob/9bde07409be73b6ee0abdaf447dc29f21883e3b5/rmf_site_editor/src/site/model.rs#L318-L320
This component can be used in queries to know whether any models are still pending spawning, it is currently used in the SDF exporter to trigger saving when all models either finished or failed loading. When the following query is empty we know that no models are currently being loaded. This could potentially be removed if we made site loading a workflow which itself will only complete when all its models finished loading, however I left this out of this PR to avoid blowing up the size of this refactor.
https://github.com/open-rmf/rmf_site/blob/9bde07409be73b6ee0abdaf447dc29f21883e3b5/rmf_site_editor/src/site/sdf_exporter.rs#L49
Furthermore, a marker component will be added when the workflow fails to load a model:
https://github.com/open-rmf/rmf_site/blob/9bde07409be73b6ee0abdaf447dc29f21883e3b5/rmf_site_editor/src/site/model.rs#L322-L324
This component is currently only used to detect which models failed loading and should be retried when a new Gazebo app API key is set:
https://github.com/open-rmf/rmf_site/blob/9bde07409be73b6ee0abdaf447dc29f21883e3b5/rmf_site_editor/src/site/fuel_cache.rs#L127-L131
But it could also be used, for example, to generate an export log when a site is exported to SDF (for example, reporting to the user that a certain set of models couldn't be loaded and hence might be missing from the world).

https://github.com/open-rmf/rmf_site/pull/238/commits/ad502f032e477ccf78c8b9f0de607c734b45ac77 contains an example of removing the marker component, it will mean that users have to rely on a less obvious component to keep track of which model failed loading but saves some code, I'm happy with both options.


fix: replace assert with ValueError for llm validation

It's absolutely better to use raise ValueError instead of assert. (or maybe someone has a better idea)
If you agree for the next refactors I can implement this method
def check_llm(self):
    if self.llm is None:
        raise ValueError("LLM must be set before using this method")

So by using this method whenever we need to use llm, we can easily call it before that line like
self.check_llm()

thanks a lot for the suggestion and the PR 🙂 ❤. hopefully with #1558 we will be able to fix this but keeping it for v0.3 so as to not break anything
closing this for now but I'm really sorry we couldn't merge it 🙁 but at the same time thanks a million for taking the time to raise this, really grateful too and do checkout this form https://docs.google.com/forms/d/e/1FAIpQLSdM9FrrZrnpByG4XxuTbcAB-zn-Z7i_a7CsMkgBVOWQjRJckg/viewform - our way of saying thank you 🙂


Nodes editor description is only updated when the scene is opened

Godot version
v4.0.alpha8.official [cc3ed63af]
System information
5.17.9-1-MANJARO Linux
Issue description
When you add editor description to a node, you would expect that it would work immediately and show up in a node tooltip. As it stands, you have to reopen the scene for the nodes editor description to take effect.
Steps to reproduce

Create a new project
Add a node (any node inherited from Node, I used Node3D) to the scene tree
Add a description to the node using node inspector
Save the scene (you can also do it after the next step, no difference)
Hover over the node in the scene tree and notice that the description you just added does not show up
Close and open the scene again
Hover over the node again to see description properly showing up

Minimal reproduction project
sample_project.zip
A simple project with one scene with one node that has description applied to it. Any change to that description will only take effect after saving, closing and reopening the scene, as described above.
https://user-images.githubusercontent.com/22421580/170857896-cab6063c-3173-40c8-a8c4-65e59a49f1df.mp4

This has always been an issue – I even noted it in the initial implementation.


feat: use latest 404 api endpoint

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Thanks for contributing!

:tada: This PR is included in version 1.15.0 :tada:
The release is available on:

v1.15.0
GitHub release

Your semantic-release bot :package::rocket:


Build system should not assume everything is vendored and bundled

I think this project should update build system so that it does not assume everything is vendored and bundled. It should support normal methods (such as pkg-config) to detect the required dependencies when they are provided by the system and build using them and install using normal methods.
Preliminary work has been done in #191 but more work is needed.
This is a feature request not a bug report.
Rationale
This feature would make it much easier for either the maintainers of the project, or downstream distributions, to package and distribute this project in a variety of binary formats.
To my knowledge this feature was first suggested a year ago in a comment https://github.com/Murmele/Gittyup/issues/198#issuecomment-1161543223 but I think the feature should be discussed by itself regardless of which binary formats the project chooses to distribute as no one binary format will be universally acceptable to everyone, including #579.

@jmoraleda I agree with you. One big topic is libgit2 where we are using currently a custom branch and not the upstream branch (https://github.com/Murmele/Gittyup/pull/153 ongoing work and patches submitted as PR upstream). I think for the rest only the options must be changed from OFF to ON as it is done in the AUR build (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gittyup)

Just came here to post the same ticket, glad to see it's already being discussed and that upstream is amenable to this.
As regards patches to libgit2 - that will take a LONG time to filter through to released distros unless they are critical security vulnerabilities. Are the custom changes to libgit2 really that necessary or just "nice to have"?

Just came here to post the same ticket, glad to see it's already being discussed and that upstream is amenable to this.
As regards patches to libgit2 - that will take a LONG time to filter through to released distros unless they are critical security vulnerabilities. Are the custom changes to libgit2 really that necessary or just "nice to have"?

Some of the libgit2 are neccessary, some are already merged. For some I did not understand why they are needed.
A summary can be found here: https://github.com/Murmele/Gittyup/pull/153

I second that: trying to port things to Haiku in a VM and always having to move things around to make space for gigabytes of dependencies as submodules when we already have them packaged is… annoying. At least there are less hardcoded ones than gitahead already.


New version: JabRef.JabRef version 5.9.60000

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114986&drop=dogfoodAlpha

@wingetbot run


Re-sync with internal repository

The internal and external repositories are out of sync. This attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging.

Warnings

:warning:

:clipboard: Test Plan - This PR appears to be missing a Test Plan.

:warning:

:clipboard: Release Notes - This PR appears to be missing Release Notes.


Support cognito custom user attributes

Thank you for this library!
AWS Cognito custom user attributes, necessarily, I believe, start with the custom: prefix. It does not appear that it's possible to use this as an attribute in the subclass of CognitoToken, due to the colon.
class CustomTokenModel(CognitoToken):
    custom_value: Optional[str] = None

Do you know if this is possible?

Hello, Im not sure but I think that might be possible with alisases in custom model. By default, models should be populated by alias if alias is defined, else it will use field name. You can check in pydantic documentation
At the moment I don't have time to test this, but as soon as I test this behavior, I will report here. :blush:
Also, if you test it in the meantime, please comment here if you achieved the wanted behavior :blush:

This is possible with current implementation thanks to custom token models and pydantic aliases. I'll add example in docs in next release.


google-cloud-sdk: Add zsh completions

Link the google-cloud-sdk zsh completion functions to the proper
location.

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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 wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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.

Did you test the change? Looks good overall.


⚠ Bofrost.fr has degraded performance

In 3ccc3c5, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1467 ms

Resolved: Bofrost.fr performance has improved in 5dc8176 after 9 minutes.


Avoid two nav bars when navigate from tabs Scene to another Scene

Version

react-native-router-flux v4.0.0-beta.24 (v3 is not supported)
react-native v0.50.4

Expected behaviour
The navigation bars do not stack
Actual behaviour
The navigation bars stacks
Steps to reproduce
So, guys I have this:
  <Router>
    <Modal>
      <Scene key="root">
        <Scene
          tabs
          renderRightButton={} // NAVIGATE FROM THIS BUTTON TO settings
          hideNavBar
        >
          <Scene
            title='tab 1'
          >
            <Scene
              title={'Остановки'}
              panHandlers={null}
              initial
            />
          </Scene>

          <Scene
            title='tab 2'
          >
            <Scene
              panHandlers={null}
              initial
            />
          </Scene>
        </Scene>
        <Scene
          key={'settings'}
          title={'Настройки'}
          // => HERE I HAVE TWO NAV BARS
        />
        <Scene
          hideNavBar
        />
      </Scene>
      <Scene
        hideNavBar={false}
      />
    </Modal>
  </Router>

As you see when I try to navigate from navBar right button to <Scene key={'settings'} /> I see two navBars, how to avoid this? I think I should change my route's structure. But I dont know how.

I'm also experiencing this

See also #2375


Rename Input* to *Input for naming consistency

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


Add eligibilities.csv output

We need to generate eligibilities from input data. This is usually one text field in a CSV.
Headers: id, service_id, eligibility
See the HSDS reference: https://openreferral.readthedocs.io/en/latest/hsds/reference/#eligibility
For the test data mapping, you can add this to the locations segment:
Income standard for eligibility:
  model: eligibilities
  field: eligibility
  foreign_key_name: service_id
  foreign_key_value: Services

closed with #28


Tr/readme

Type
documentation, enhancement

Description

Enhanced documentation for the describe and review tools within the project.
For describe.md, updated the configurations link to be more accessible and clarified the pr_commands execution context.
For review.md, introduced a new section detailing example usage, including both manual and automatic invocation methods. Also, updated the configuration options link and expanded on the automatic invocation setup with configuration examples.

Changes walkthrough
Relevant filesDocumentation

describe.mdImproved Configuration Documentation and Clarity

docs/docs/tools/describe.md
Updated link to configuration options to use an anchor within the document.  Clarified the execution context of pr_commands.

+2/-3

Enhancement

review.mdEnhanced Review Tool Documentation with Usage Examples

docs/docs/tools/review.md
Added a new section for example usage, including manual and automatic invocation.  Updated the configuration options link to use an anchor within the document.  Detailed the automatic invocation process with configuration file examples.

+31/-6

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/review
auto_approve
--pr_reviewer.require_soc2_ticket=true
--pr_reviewer.require_can_be_split_review=true

[pr_description]
extra_instructions=For the title, use the format [type]: [summary]
publish_labels=true
publish_description_as_comment=undefined
generate_ai_title=undefined
use_description_markers=undefined
final_update_message=undefined


Masters - User Info Controllers

GET
- Single User
- Auth User?
POST
- New User
PUT
- Update User
Delete
- Delete user (casecade)

Need to create the delete user functions


Command responses should reply to the !command message

Now apollo can reply to messages, responses to a command should reply to the command message when a bang command (or other text commands like karma increments) is used.

Seems like @Mole1424 merged that one 2 days before this was created which is why it didn't show up in a quick search. Karma was probably missed from that pr


added esp32 images for embeded system developers

added esp32 image for embedded system developers, although might not be well known,  i added cause it a skill set and also cause arduino is also listed as a skill.
couldn't lay hands on a befitting svg image so i tried converting and ended up with this
please accept pull request

Sorry bud, opening PRs about modifying icons aren't allowed; it's clarified on the README.

As per the readme, we do not accept pull requests for icons. Additionally, your added icon(s) don't match the formats of the current iconset. I appreciate your effort to have these icons added, but you'll have to open an issue to request them.


Get Conversations API returns 405 (Method not allowed)

Get Conversations API  returns 405 (Method Not Allowed)
All other APIs with the same auth token seems to works as advertised.

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

ID: c36ddb50-9e44-96e3-2df3-174166efa75d
Version Independent ID: 68ac4b64-6616-2216-3519-e0b33d3a53e4
Content: Bot Framework Connector service REST API reference - Bot Service
Content Source: articles/rest-api/bot-framework-rest-connector-api-reference.md
Service: bot-service
GitHub Login: @erhopf
Microsoft Alias: kamrani

See comments in issue #1759 and the alert at the end of the Conversation operations table.


Automatic updates

It could be great to add a Github Action to update the benchmarks each week/months and to publish automatically a new release if there's changes in the benchmarks.

Hi @bastienrobert,
That is a good idea. I unfortunately have encountered issues in the past where the benchmarking update would fail so there will need to be some redundancy.

Hi @bastienrobert , with the upcoming 2.0.0 release the benchmark updating script has been revised making it easier to potentially be automated in the future.

Hi @TimvanScherpenzeel, is there any roadmap to collaborate on the 2.0.0?

Good news, I have released it this morning! 😄
There are a couple of things we will have to sort out:

How to deal with network failure / incomplete benchmarks (we do not want to publish broken versions)
How to deal with versioning / publishing (I assume we can send updates out as patches)
Investigate the costs / platform to use, for tests I currently use Travis


Develop convenient way to decode transaction inputs

Perhaps ethabi provides something here that we can expose to mappings. Its CLI provides convenient decoding of byte arrays: https://github.com/paritytech/ethabi#examples
If we know the parameter types to a function, we should be able to decode its inputs with e.g. https://docs.rs/ethabi/6.1.0/ethabi/fn.decode.html

@fordN This sounds good. I'd change the the generated code a little bit, not 100% decided what would be best though. But the approach feels solid.

Thanks to @otaviopace we have this now!


How to embed a Highcharts chart to jekyll page?

Hello, thanks for providing your template.
I recently move to minimal mistakes for its features.
I used to play with Hamilton template.
On Hamilton's template, I manage to embed Highcharts chart
But on minimal-mistakes, nothing appears
I also have that error:
highchart.js:76 Uncaught TypeError: $(...).highcharts is not a function
Do you have an idea of what happens? Thank you in advance

I figure out that highchart scripts need to be called after jquery to work. I notice that there is a jquery script in the footer so I put the highchart scripts after.

I figure out that highchart scripts need to be called after jquery to work. I notice that there is a jquery script in the footer so I put the highchart scripts after.


Add support for GET user/activities

Please add support for GET user/activities as described in https://docs.gitlab.com/ce/api/users.html#get-user-activities-admin-only

Please see here for my follow up: https://github.com/michaellihs/go-gitlab/pull/1

This issue is fixed by PR #249


ScrollController listenable maxScrollExtent

Use case: a ListView that supports loading in new items from the top and also from the bottom, like a Twitter timeline or an RSS feed. When dynamically adding new items at the bottom, everything is fine. However, when adding items from the top (in the case of a Twitter or RSS pull-to-refresh or a real time feed), the newly added items, from the perspective of the user, push the scroll position down, because the scroll content height has increased, resulting in a jump (or in the case of an AnimatedList: a slide animation). The user would just expect the scroll position to be at the same item the user is looking at at that moment.
Because Flutter does not seem to have anything for this use case out of the box, a way to fix this issue is to just recalculate the scroll offset when the new items are added and then call scrollController.jumpTo upon an updated state. This is easy when you know the item size in advance. When the items have content dependent heights the calculation can be done using the previous maxScrollExtent and the new maxScrollExtent. However, when to then run this calculation seems to be a harder issue.
I tried invoking it

right after setState, but that seems to be too early, because the maxScrollExtent is not known and not updated at that time
using WidgetsBinding.instance.addPostFrameCallback, which works and sets the scroll offset to the desired position, but seems to do this too late, causing the scroll offset to quickly jump

Being able to listen for when the maxScrollExtent is actually updated could solve this issue. Or would there be an alternative way to do this? Seems like a pretty basic problem any serious social, twitter, news, rss app would run into.

Related or similar #12319

What is the status on the fix for this issue??? This makes my app look very clunky! Please provide a solution for this, Flutter!

If you use a shrink-wrapped ListView with reverse: true, scrolling it to 0.0 will do what you want.
Full Code At Here

I am also impacted by this. It's a very common use case to add items to the top of a list. All possible workaround are not ideal because the list jumps around.
Any solution for this?

I'm making a chat room for multiple users and I'm having this problem. Please let me know if anyone has solved this issue. Thanks!

+1, this would all be fixed by a getOffsetForIndex() API, which is sorely missing right now anyways.
We really shouldn't need to measure previous and current extents in order to just jump to a specific index. If I was at index 0, and loaded 15 new items at the front if my list, I should simply be able to call controller.jumpToIndex(15) or controller.jumpTo(controller.getOffsetForIndex(15)) to maintain scroll position.
Both would be nice :)

@zoechi any updates on this? it's been two years, I'm still struggling with this...
@florisvdg did you fix this?

@florisvdg did you fix this?

I "fixed" it by shaping our requirements to allow for all list items to be of the same height...

This can done with a [CustomScrollView] and two slivers [SliverList]. You'll want to set the [CustomScrollView.center] to the key of the second sliver. Then whenever you content above the screen, add it to the first sliver, and when you want content below the second sliver.
I made an example: https://dartpad.dartlang.org/c3b9b03925cdaaf88c1b8fe78a3b96b0 I also reversed the slivers with [CustomScrollView.reverse] and added 1.0 to [CustomScrollView] to make sure that the initial content is correctly displayed.
@florisvdg @tudor07 Does this solution solve the problem for you? I'll go ahead and close the ticket unless you think otherwise.

While it solves this very specific use case, it does not address.the API limitation of scroll view that was the heart of the issue. Why not give us a simple event when maxExtents changes?

@gskinner-shared - as @florisvdg pointed out, building a solution to this problem around reacting to the update of maxScrollExtent is tricky because the notification comes at layout time and ScrollController.jumpTo(), which - generally speaking - could trigger an additional layout, is going to affect the next frame.
The solution suggested by @perclasson is relatively straightforward and nicely addresses this issue's use-case.
I think we should close this issue upon adding a version of the sample solution to the CustomScrollView API docs.

It's a pretty common use case to need to know the accurate size of the scroll contents. Especially when building scrollbars.
What we do now is basically hack around it using sheduleMicrotask, or create some system where the child tells us it's extent (via Notification or Callback). Seems like a proper event would at least be preferable to that?

@perclasson , I would like to thank you so much for addressing this important topic. I've tried this with SliverAppBar and I couldn't maintain the right behavior as floating = true.
how can I handle SliverAppBar on CustomScrollView in this example?

Also, I would mention one more thing, I am currently using pull to refresh. when I implemented @perclasson approach I lost the trigger to pull and refresh

@perclasson  just FYI, I had some success in embedding SliverAppbar using NestedScrollViews but won't float because the issue  Support Floating+ SliverAppBars in NestedScrollViews #57707
Still have an issue with a jump back to the top of the screen, because with the approach it won't 0.0 it goes with minimize, even using minScrollExtent won't get into all top.

I was successfully able to jump to the top with
_scrollController.position.minScrollExtent - MediaQuery.of(context).size.height;
Actually, I don't the reason exactly just went further than the  minScrollExtent

@HickYeah Looks like you manage to solve the issue!
Here is something similar to what you need, but with the solution of using two [SliverList]s: https://dartpad.dartlang.org/38a9320bb8edd30af3c8543c24df8a21
For future questions, I suggest asking in the discord/slack channel for Flutter, or create a new issue with your feature requests.


[profile] Diagonal profile on large stack of image can be slow

When drawing a profile on a large stack of images (I tested with 1k^3), the diagonal line drawing interaction becomes really slow.
It would be better if the line remains drawn interactively even if the image profile is not updated at the same rate..

Is there a risk of having a displayed profile not corresponding to the drawn line? Current behavior is slow but safe in the sense of what you see is what you get.

Yes if the slice is rendered asynchronously, we need some way to let the user know when the displayed image actually corresponds to the drawn profile line and when it is out-dated.

This seems to came from the commit eb485717e7e5345c1941c2770494d3981065a487.
Indeed if we use PyQt4 + matplotlib on the latest version the is no slow anymore but slow down appears if using PyQt5 instead.

That's going to be fun...
Is it the same version of matplotlib between PyQt4 and PyQt5?

Work with python3 + PySide2

Hope this is fixed for latest PyQt5 version

Should be tested, but with the new profile, the computation is done in a thread pool.
So it maybe mitigate this problem.


React stateless component + children : error Property 'children' is missing in type 'IntrinsicAttributes

[x] Many common issues and suggestions are addressed in the FAQ
https://github.com/Microsoft/TypeScript/wiki/FAQ
[x] Search for duplicates before logging new issues
https://github.com/Microsoft/TypeScript/issues?utf8=✓&q=is%3Aissue
[x] Questions are best asked and answered at Stack Overflow
http://stackoverflow.com/questions/tagged/typescript

-> asked on S/O here http://stackoverflow.com/questions/37189910/react-stateless-component-children-with-typescript-error-property-children no responses so far.
TypeScript Version:
1.8.2
Code
// presentational components
const MsgDisplay = ({msg}) => (

    {msg} // will be more complicated later

)

const RowDisplay = ({data, children}) => (

    ...
    { children }
    ...

)

// container component
public render() {
    return (
      <RowDisplay data={this.props.xyz} >
        <MsgDisplay msg={someMsg} />
      </RowDisplay>
    )
  }

Expected behavior:
Should compile.
Actual behavior:
Complains that error TS2324: Property 'children' is missing in type 'IntrinsicAttributes & { data: any; children: any; }'.
Seems it can't see the children being passed in jsx notation.

I also face this problem, but I go around it by making children optional. Not a good solution though.

I think this issue is similar to #7992 and #6471

Nice to see that this is planned for 2.1. It makes working with React really hard currently.

Does it progress any further? Is it going to be covered by #13618?
I just recently ran to this issue. It's pretty annoying when you components constructed as HOCs.

This looks like a duplicate of https://github.com/Microsoft/TypeScript/issues/13618, we would like to get that addressed in TS 2.3.

Closing in favor of https://github.com/Microsoft/TypeScript/issues/13618


[WIP] bsc 0.66.0-alpha support

This PR contains fixes for once Brighterscript# 0.66.0 lands
The Brighterscript version in package.json will need to be updated to whatever version is correct at the time

Closing this in favor of #96


Question: do you have any plans to provide server render support in order to support SEO?

We are building spa app which has to be able to share on social networks and it requires open graph meta tags prerender. It seems like the only way is to have server render capability in place to render meta tags upfront. So you have any plans to provide this possibilities and if so when do you plan to do it. Thanks!

Introducing Universal will make the seed too opinionated, since we'll have to stop on a BE technology. There's an angular-universal starter which provides the foundation for Angular Universal application on top of express.

@consigliory been working on a universal starter project, hope it helps!
https://github.com/patrickmichalina/fusebox-angular-universal-starter


Update docs: new withdrawal address works already

This restriction is no longer applied by Binance; tested today (BTC and LTC withdrawals).

this is only true in some cases. new accounts may get flagged for id verification if withdrawing too soon after creation.

this is only true in some cases. new accounts may get flagged for id verification if withdrawing too soon after creation.


Expose playlist metadata in playlist response object

Exposing things such as type, url, author, artwork for sources that support it would be a really nice addition.
Lavascr already does a this for it's playlists inside the pluginInfo object but it would be nice seeing a more wide support for all sources natively.

Did you check readme? You can use custom branch for artworks

This is explicitly for Playlists objects, not the tracks, currently, the artwork is exposed only to Tracks, I should also have mentioned @TopiSenpai asked me to open the issue.

url and artworkUrl shouldn't be a problem but not sure about type and it's purpose


Cannot store data after group_by

Hi Xarray!
I really like your Library. But now I am stuck completely.
Code Sample, a copy-pastable example if possible
import numpy as np
import xarray as xr

data = [1,2,3,4,5,6,7,8,9,10]
bins = np.array(range(5)) * 2
xr_data = xr.Dataset({'data': data})
out = xr_data.groupby_bins('data', bins).mean()
out.to_netcdf('/tmp/test')

Problem description
Get Error :
Traceback (most recent call last):
File "/home/volker/workspace/pycharm-community-2018.1.2/helpers/pydev/pydevd.py", line 1664, in
main()
File "/home/volker/workspace/pycharm-community-2018.1.2/helpers/pydev/pydevd.py", line 1658, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/volker/workspace/pycharm-community-2018.1.2/helpers/pydev/pydevd.py", line 1068, in run
pydev_imports.execfile(file, globals, locals)  # execute the script
File "/home/volker/workspace/pycharm-community-2018.1.2/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/volker/workspace/eprofile_wind/eprofile/src/eprofile/sandbox/test_xarray.py", line 12, in
out.to_netcdf('/tmp/test')
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/core/dataset.py", line 1232, in to_netcdf
compute=compute)
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/backends/api.py", line 747, in to_netcdf
unlimited_dims=unlimited_dims)
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/backends/api.py", line 790, in dump_to_store
unlimited_dims=unlimited_dims)
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/backends/common.py", line 261, in store
variables, attributes = self.encode(variables, attributes)
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/backends/common.py", line 347, in encode
variables, attributes = cf_encoder(variables, attributes)
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/conventions.py", line 605, in cf_encoder
for k, v in iteritems(variables))
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/conventions.py", line 605, in
for k, v in iteritems(variables))
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/conventions.py", line 241, in encode_cf_variable
var = ensure_dtype_not_object(var, name=name)
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/conventions.py", line 201, in ensure_dtype_not_object
data = _copy_with_dtype(data, dtype=_infer_dtype(data, name))
File "/home/volker/workspace/eprofile_wind-CRxNsezQ/lib/python3.5/site-packages/xarray/conventions.py", line 139, in _infer_dtype
.format(name))
ValueError: unable to infer dtype on variable 'data_bins'; xarray cannot serialize arbitrary Python objects
Expected Output
The Dataset should be written to file in netcdf
Output of xr.show_versions()

>>> xr.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516]
python-bits: 64
OS: Linux
OS-release: 4.9.0-8-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
LOCALE: de_DE.UTF-8
libhdf5: 1.10.2
libnetcdf: <IP_ADDRESS>
xarray: 0.11.3
pandas: 0.24.1
numpy: 1.16.1
scipy: None
netCDF4: 1.4.2
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: <IP_ADDRESS>
PseudonetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
cyordereddict: None

Try data = np.array(...)

Thanks for the issue.  I think the main problem is that we currently do not have a way of saving an IntervalIndex, which groupby_bins produces, to a netCDF file:
In [7]: out.indexes['data_bins']
Out[7]:
IntervalIndex([(0, 2], (2, 4], (4, 6], (6, 8]],
              closed='right',
              dtype='interval[int64]')

One way to work around this in the meantime is to redefine the bins coordinate before saving things to a file.  See @jhamman's answer to a related StackOverflow question for an example.

Thank you @spencerkclark for the fast response.
I did exactly as you advices and it works fine.
A hint in the documentation may hinder others to fall into this pit.
Also it would be nice to have intervals serialized into netCDF since they are quite common structures.
Cheers,
Volker

A hint in the documentation may hinder others to fall into this pit.

Agreed. Would you like to submit a pull-request?

Also it would be nice to have intervals serialized into netCDF since they are quite common structures.

There are ways to deal with intervals in the CF conventions, but what we really need is a way for xarray to truly understand intervals, which is a much bigger endeavor.

In the longer term, we could move towards supporting IntervalIndex as an in-memory representation of CF-conventions' cell bounds concept. In addition to many other benefits, this would allow us to encode and decode such indices from netCDF files.

Also xref #2844


Redirecting to issue

So the website now on clicking to any issues redirects to that organization repo rather than issue itself, so previous feature of redirecting directly to issue was better.

Hello, you're right. That was my mistake, thanks for pointing it out!


After calling any Db2 LUW 11.5 Stored Procedure, get: "An error occuring during implict system action type "2"..." (-727 error)

Description
Whenever I run any stored procedure on Db2 LUW 11.5,
If I run the same procedure back-to-back, I only get the error the first time it runs.
This has been occurring for the past several releases of community edition.
Note: The procedures I am running do not have a "SELECT COUNT(*) FROM..." clause in them. This is something DBeaver is generating.
Error Window Summary:
Header: Load row count
Summary Message:
An error occurred during implicit system action type "2". Information returned for the error includes SQLCODE "-104", SQLSTATE "42601" and message tokens "CALL|LECT COUNT(*) FROM (|".. SQLCODE=-727, SQLSTATE=56098, DRIVER=4.33.31
Detail Information:
Error executing row count
SQL Error [42601]: An unexpected token "CALL" was found following "LECT COUNT() FROM (".  Expected tokens may include:  "".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.33.31
SQL Error [42601]: An unexpected token "CALL" was found following "LECT COUNT() FROM (".  Expected tokens may include:  "".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.33.31
An unexpected token "CALL" was found following "LECT COUNT() FROM (".  Expected tokens may include:  "".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.33.31
An unexpected token "CALL" was found following "LECT COUNT() FROM (".  Expected tokens may include:  "".. SQLCODE=-104, SQLSTATE=42601, DRIVER=4.33.31
An error occurred during implicit system action type "2". Information returned for the error includes SQLCODE "-104", SQLSTATE "42601" and message tokens "CALL|LECT COUNT() FROM (|".. SQLCODE=-727, SQLSTATE=56098, DRIVER=4.33.31
An error occurred during implicit system action type "2". Information returned for the error includes SQLCODE "-104", SQLSTATE "42601" and message tokens "CALL|LECT COUNT() FROM (|".. SQLCODE=-727, SQLSTATE=56098, DRIVER=4.33.31

DBeaver Version
Community Edition 24.1.5
Operating System
Windows 10
Database and driver
Db2 LUW v11.5
DRIVER=4.33.31
Steps to reproduce

Open the editor window
Issue: call

Additional context
No response

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.

Hi Elizabeth,
Sorry, I saw the previous email and I forgot to respond.
This happened a few minutes ago:
[cid:85f52606-f807-4e6d-94a2-1aa13a783e24]
I executed the stored procedure optim_missing_sensitive_data() stored procedure. All it does is select data from a column in a couple of source tables and compares the result to see if the data is missing from a production table. Any missing data is returned from the SP.
Upon exit of the procedure, it kicks out the message above. My procedure is not executing a call with a ...select count(*) from... statement.
I can run this stored procedure from IBM data studio or command line and not get this message.
CREATE OR REPLACE PROCEDURE OPTIM_MISSING_SENSITIVE_DATA ()
DYNAMIC RESULT SETS 1
LANGUAGE SQL
SPECIFIC OPTIM_MISSING_SENSITIVE_DATA
-- ######################################################################################################
-- # This procedure pulls the unique vaules from the SNSTV_DATA_VALUE_TXT column of the following tables:
-- # EDC_STG_DBASE_COLS
-- # EDC_STG_SEQ_FLDS
-- #
-- # It then compares the values against the OPTIM_SNSTV_DATA_ELMT.OPTIM_SNSTV_DATA_ELMT_NM
-- # values and reports if any of the values are missing from the OPTIM table.
-- #
-- # This procedure should run immediately after each EDC_STG% load process (Sat and Wed evenings).
-- # The output should be sent to someone who can examine the data elements and decide how the
-- # data should be entered into the OPTIM_SNSTV_DATA_ELMT and OPTIM_CNVRT_PROC_SNSTV_DATA_ELMT_RLTN
-- #
-- # This data is required to ensure the sensative fields are properly scrubbed.
 (-727 error) (Issue #35516)
It's been a while since no update here. If the issue is still actual please let me know and provide additional information.
—
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/35516#issuecomment-2434923020, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGO4TMV4IZCOVE2OI6IALA3Z5DFIDAVCNFSM6AAAAABN4UALNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZUHEZDGMBSGA.
You are receiving this because you were mentioned.Message ID: @.***>

Thank you for reply

Markdown is broken when replying by E-Mail. Here's the formatted version of the provided procedure:
CREATE OR REPLACE PROCEDURE OPTIM_MISSING_SENSITIVE_DATA ()
DYNAMIC RESULT SETS 1
LANGUAGE SQL
SPECIFIC OPTIM_MISSING_SENSITIVE_DATA

``######################################################################################################
 -- # This procedure pulls the unique vaules from the SNSTV_DATA_VALUE_TXT column of the following tables:
 -- # EDC_STG_DBASE_COLS
 -- # EDC_STG_SEQ_FLDS
 -- #
 -- # It then compares the values against the OPTIM_SNSTV_DATA_ELMT.OPTIM_SNSTV_DATA_ELMT_NM
 -- # values and reports if any of the values are missing from the OPTIM table.
 -- #
 -- # This procedure should run immediately after each EDC_STG% load process (Sat and Wed evenings).
 -- # The output should be sent to someone who can examine the data elements and decide how the
 -- # data should be entered into the OPTIM_SNSTV_DATA_ELMT and OPTIM_CNVRT_PROC_SNSTV_DATA_ELMT_RLTN
 -- #
 -- # This data is required to ensure the sensative fields are properly scrubbed.


Record with rospy

Given that the current data_bagger uses up to 30% of cpu and the "rosbag record" command uses 0%, I changed the astrobee recorder to call the cmd line.
Removed all the threads, making this single thread.
I basically re-did the astrobee_recorder.cc:

translates record options into a "rosbag record" cmd;
removed the checks that are already done by "rosbag record" -- left only the checkDisk because there are some horror stories on forums of the entire disk being filled and the system unuseable.
does a fork->exec to start the recording process (used popen2 to leave the possibility of reading/writing).

Added some comments to the data_bagger, added some checks, and made the function order match the h-file.

[x] Test on the robot

I tested this remotely on bsharp, I recorded the MobNavDockRAW and it was a breeze, still using close to nothin

g

We will test this with the performance script and tune some parameters before merging this.


add new grouping class: mucopolysaccharidosis or mucopolysaccharidosi…

…s-like disorder
and add new pattern
close #3788

closing - will recreate on a new branch.
see https://github.com/monarch-initiative/mondo/pull/3793


Fix deadlock in testCrashReportWriterConcurrency under Rosetta

Goal
Fixes an intermitted hang / deadlock in -[BugsnagBreadcrumbsTest testCrashReportWriterConcurrency] that can occur when running in an Intel-based Simulator on ARM Macs.
Analysis
Reproduced the hang on an ARM Mac and captured spindump.txt
It shows some interesting threads like com.apple.rosetta.exceptionserver and com.apple.rosetta.debugserver that could cause trouble if suspended, I suspect the deadlock has something to do with these.
Changeset
Modifies the test to only suspend the test's own threads.
Testing
Re-ran the test on the ARM Mac (1000 repetitions, relaunching each time) and could no longer reproduce the hang 🎉

شكرا
في الجمعة، ١١ فبراير ٢٠٢٢ ٧:١١ م Nick Dowell @.***> كتب:

Merged #1293 https://github.com/bugsnag/bugsnag-cocoa/pull/1293 into
next.
—
Reply to this email directly, view it on GitHub
https://github.com/bugsnag/bugsnag-cocoa/pull/1293#event-6052389599, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXXCHSLG5F5ZQ7TTYM5INATU2UYKTANCNFSM5OERHN3A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>


wis2box-webapp station editor blocks the addition of stations with 3-letter names

From Chems :
when manually adding a station through the interface, if its name consists of only three letters, the system blocks the addition because the name must be longer than three letters. For example, in Morocco and Burkina Faso, we have stations like "ZAG", and I've encountered the same issue.

@david-i-berry can this be closed ?

Yes, it was addressed a couple of weeks ago in #41.


update travis badge to use develop branch instead of master

Coverage remained the same at 100.0% when pulling 35f525684f74ce618330aefe35114bef179080ad on jleajones:travis-badge into aeac07deeebeede05ba7cc16efe453ab54f0944b on vutran:develop.

Thanks!

:-)


Font size gets smaller than before, is it a feature or a bug?

I agree and want to create new issue

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[x] Yes, I was on NexT Documentation Site.
[x] And yes, I already searched for current issues and this is not help to me.

Expected behavior
The font size of Home, Archives, Catetories, Tags and About pages should be the same.
主页、分类、归档、标签和关于页面的字体大小应该一致
Actual behavior
The font size of Home, Categories, Tags and About pages is much smaller than before, only Archives and Tags pages font size is as big as before.
主页、分类和关于页面的字体变小，只有归档和标签页面字体和以前保持一致
The pictures blow shows the difference:
下面是差异对比：
Home Page，主页：
Tag v5.1.2:

Latest version:

About Page，关于页面：
Tag v5.1.2:

Latest version:

Steps to reproduce the behavior

Upgrade my theme version from git Tag v5.1.2 to newest  从Tag v5.1.2升级到最新版
Generate my blog 重新生成博客
See the result 查看结果

Link to demo site with this issue: N/A
Link(s) to source code or any usefull link(s): N/A

NexT Information
NexT Version:

[x] Latest Master branch.
[] Latest Release version.
[] Old version -

NexT Scheme:

[] All schemes
[] Muse
[x] Mist
[] Pisces
[] Gemini

Other Information

It is #1880 fix. U can ask @julianxhokaxhiu about this.

You're right. The rule for post-body must be moved to mobile only.
I'll create a PR for this to fix it.

@julianxhokaxhiu no no no, no need to create NEW PR, please. So it in same PR please.

@julianxhokaxhiu oh shed. I forgot it. There is what i'm talking about before: no need to do fast and smalls PR, see it?
Ok, try to fix this issue, ok?

👌🏻


[AIRFLOW-2889] Fix typos detected by github.com/client9/misspell

Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title.

https://issues.apache.org/jira/browse/AIRFLOW-2889

Description
Fixing typos is sometimes very hard. It's not so easy to visually review them. Recently, I discovered a very useful tool for it, misspell.
This pull request fixes minor typos detected by misspell except for the false positives. If you would like me to work on other files as well, let me know.
before
$ misspell airflow/ | grep -v CHANGELOG.txt | grep -v www
2018/08/10 18:14:00 Unable to stat "airflow/www/static/docs": stat airflow/www/static/docs: no such file or directory
2018/08/10 18:14:00 Unable to stat "airflow/www_rbac/static/docs": stat airflow/www_rbac/static/docs: no such file or directory
airflow/contrib/example_dags/example_databricks_operator.py:35:22: "succesful" is a misspelling of "successful"
airflow/contrib/hooks/emr_hook.py:26:47: "neccessary" is a misspelling of "necessary"
airflow/contrib/hooks/azure_fileshare_hook.py:103:21: "direcotry" is a misspelling of "directory"
airflow/contrib/hooks/gcp_dataproc_hook.py:238:60: "compatability" is a misspelling of "compatibility"
airflow/contrib/hooks/bigquery_hook.py:630:40: "paramaters" is a misspelling of "parameters"
airflow/contrib/hooks/qubole_hook.py:128:31: "commmand" is a misspelling of "command"
airflow/contrib/hooks/salesforce_hook.py:56:32: "conenction" is a misspelling of "connection"
airflow/contrib/hooks/salesforce_hook.py:63:41: "SECRUITY" is a misspelling of "SECURITY"
airflow/contrib/operators/gcs_to_bq.py:89:29: "Thsi" is a misspelling of "This"
airflow/contrib/operators/mlengine_operator_utils.py:163:69: "prediciton" is a misspelling of "prediction"
airflow/contrib/operators/qubole_check_operator.py:31:69: "Commmand" is a misspelling of "Command"
airflow/contrib/plugins/metastore_browser/templates/metastore_browser/table.html:31:106: "Atributes" is a misspelling of "Attributes"
airflow/hooks/mysql_hook.py:124:27: "seperately" is a misspelling of "separately"
airflow/operators/hive_to_druid.py:167:19: "compatibilty" is a misspelling of "compatibility"
airflow/sensors/hdfs_sensor.py:91:20: "extentions" is a misspelling of "extensions"
airflow/sensors/hdfs_sensor.py:94:24: "extentions" is a misspelling of "extensions"
airflow/sensors/hdfs_sensor.py:96:55: "extentions" is a misspelling of "extensions"
airflow/models.py:945:71: "acutally" is a misspelling of "actually"

after
$ misspell airflow/ | grep -v CHANGELOG.txt | grep -v www
2018/08/10 18:13:50 Unable to stat "airflow/www/static/docs": stat airflow/www/static/docs: no such file or directory
2018/08/10 18:13:50 Unable to stat "airflow/www_rbac/static/docs": stat airflow/www_rbac/static/docs: no such file or directory

Code Quality

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

hmm, I am not sure if I can fix this.
$ git diff upstream/master -u -- "*.py" | flake8 --dif
fatal: bad revision 'upstream/master'

@feng-tao I created an issue on JIRA. Also, the description of this PR has been updated. https://issues.apache.org/jira/browse/AIRFLOW-2889

Thanks @seratch . lgtm.


(chore): Enhance readability of ContentEnricher.java

Released in v2.0.0-Beta7 -> https://github.com/project-openubl/xbuilder/releases/tag/v2.0.0-Beta7


SecurityProtocol not specified when sending a request

SmartReader does not specify Security Protocols after the creation of HttpClient, this causes a 502 bad gateway response from server.
I solved this problem specifying the SecurityProtocol after the creation of HttpClient:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

Here is a test case:
https://girosa.com.br/politica/empresa-que-presta-servicos-em-osasco-integra-consorcio-do-lixo-investigado-pela-pf

Thanks for indicating the problem.
I will try to fix it this weekend. However, security is complicated, so I will have to research first what combinations of values creates the least problems. It might take sometimes.

I do not think I will fix this issue, but I have added a note about it in the README.
I think that this is the best way because any change on the property ServicePointManager.SecurityProtocol might affect also requests made by other parts of the code (see documentation). This will be unexpected and might cause weird bugs to some user of the library.


multiple select in JfP console

It would be convenient for reloading multiple projects in one go (Refresh from disk) and for unloading a set of projects with dependencies - otherwise one would have to figure out unload order ... and some project dependencies are circular.

Unloading a project uses this code currently:
Rowan
	projectNamed: projectName
	ifPresent: [ :proj | proj unload ]
	ifAbsent: [  ] ].

Is there a Rowan method that will figure out unload order and unload?
(See RowanBrowserService>>unloadProjectsNamed:)

That is the correct method to unload a single project ... JfD allows for multiple select to load/unload projects ... I've used multi-project load in JfD and multi-project unload should be the same as multi-project load, but send unload instead of load to the project set ... ping me if you need more help ...

... so yes there is a way for Rowan to figure out unload order ... ping me and I'll send you details tomorrow ...

It looks like there is a better (Rowan) way to load/unload multiple projects ...


Update push and test flow to include release branches

Also duplicate wasm files with a more readable name for doc and configuration.

ping @kyessenov @mandarjog can I get a review on this?


Packet queue performance can be improved

The base class of the routing kernels, packet_queue, has a lot of branches and accesses data members at runtime that can be otherwise done at compile time. Just running test_tx_rx (Traffic generator to receiver bandwidth test), the baseline is 0.84 B/cycle and wall clock bandwidth is 22.86 MB/s. After changing the if statements to compile time it increased to 0.95 B/cycle and 26.45 MB/s.

@ubcheema sync with Nigel

Yes, I will make the updates after the dependency: power of 2 ring buffer size ticket


no change is allowed if CONSTANCE_CONFIG_FIELDSETS is not set at all

By default, CONSTANCE_CONFIG_FIELDSETS defaults to {} if not set.  It should be optional (as far as I can see in the doc), but the following change introduced in 2.1.0 made it required:
https://github.com/jazzband/django-constance/commit/bbc7db2edc6c70d62e2c795f9c454153d5efb86d#diff-8dc9a022cea95093a348d28ab2dd934d
It should have been checked like this:
https://github.com/jazzband/django-constance/blob/master/constance/admin.py#L255

Fixed with #264

Any news about when you will release a new update to pypi with this fix?


[BUG] Cant copy text on Preview

OS: Windows 11
Extension Version: 3.1.8

Can't copy text in "Preview" mode and in the original "vditor" I can copy
here I tried 'copy' and Ctrl+c and Ctrl+v and it didn't work

+1, Please fix


Review changes to Google Play Developer Program Policies

We need to follow up on program policy changes. We received a message in the Google Play store July 12th: We're introducing new policies and policy updates that need your attention. To learn about all the updates and when they will take effect, visit our Policy Center.

The one item that stood out was:
We're updating the list of example APIs or SDKs that are not approved for use in apps that solely target children as part of our [Families APIs and SDKs policy]
https://support.google.com/googleplay/android-developer/answer/13607332

Duplicate of https://github.com/endlessm/endless-key-content-private/issues/78.


Web UI shows session in January of the Year 1 (A.D.)

Today I am seeing a session for January of the year 1 (12/31/1, 7:03:58 PM). See attached screenshot.

Thank you for the fix!


Wrong modulus being used in Mod

I'm getting a problem where modular operations are being performed with the wrong modulus. An example:
{-# LANGUAGE PolyKinds, RankNTypes #-}

module Main where

import Math.NumberTheory.Moduli
import GHC.TypeNats hiding (Mod(..))

modl :: (forall m. KnownNat m => Mod m) -> Integer -> Integer
modl m n = case someNatVal (fromInteger n) of
  SomeNat p -> getVal (m `asProxyOf` p)

asProxyOf :: f a -> proxy a -> f a
asProxyOf = const

main :: IO ()
main = print $ (fromInteger 127 ^ 31336) `modl` 31337

otherTests :: [Integer]
otherTests =
  [
    (fromInteger 3161 ^ 2267) `modl`<PHONE_NUMBER>20452550503
  , (fromInteger 4 ^ 712) `modl`<PHONE_NUMBER>7565680267
  , (fromInteger 19128 ^ 583658) `modl`<PHONE_NUMBER>63416516807
  ]

(The numbers are arbitrary.)
Running from ghci, main produces the correct answer, 1. When compiled, the answer is (127 ^ 31336) modulo one of the primes in otherTests. If otherTests is commented out, we get the correct answer again. Interestingly, even if only two of the three tests in otherTests are commented out, the program still prints 1.

I can reproduce the issue with GHC 8.6.3 and arithmoi HEAD.
$ ghc -fforce-recomp Mod.hs && ./Mod
1
$ ghc -fforce-recomp -O Mod.hs && ./Mod
6174800926042330116

This is very weird. Thanks for reporting, I'll investigate it after Easter holidays.
In the meantime, please use Math.NumberTheory.Powers.Modular.powMod for modular powers.

Seems to be GHC bug.
Filed as https://gitlab.haskell.org/ghc/ghc/issues/16586

This has been fixed in GHC 8.8. Thanks for reporting.


sox: added enableLibpulseaudio option

Motivation for this change
Added libpulseaudio features to build so pulse sources can be used at runtime.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

most other packages (eg mplayer) call it pulseSupport. Maybe consistent naming makes sense.

All the names in here are a bit nonstandard; I was just trying to maintain file-level consistency. I agree they should be renamed. This PR is merged now though, so I suggest just creating a new PR to change them all, if you're so inclined.

You're right. Just wondering whether it makes sense to introduce a global config.pulseSupport option which can be used by all packages -> then I was told that pulse is going to work with mplayer even without pulse support and that using flags would mean having binary cache misses. Imean there are many packages which can be compiled with gkt/qt (gentoo useflag like). The question is does it make sense to introduce/document such. -> will ask on mailinglist.


Manage unset flag/environment variable

Hi, I noticed a "strange behaviour" with flags and environment variables. This is my configuration:
type Config struct {
	MyRequiredField string `env:"MY_REQUIRED_FIELD" long:"my-required-field" required:"true"`
}

func GetConfig(args []string) Config {
	var c Config
	if _, err := flags.ParseArgs(&c, args); err != nil {
		panic(err)
	}

	return c
}

Now, if I launch program both this way: go run my_program.go --my-required-field=, and this other MY_REQUIRED_FIELD= go run my_program.go I receive no errors.
I know that both flag (first case) and environment variable (second case) are passed to the program, but they are unset. Shouldn't this be an error?

Not the author, but from a logic perspective, no- because the arguments were provided and thus satisfy the required constraint, they're just empty strings. Since the zero value of a string is, well, an empty string, this means that that constraint (at the least in theory) will always evaluate to true/pass.
Implement a second round of validation with something with more flexible options that uses a different tag name. I recommend https://pkg.go.dev/github.com/go-playground/validator/v10 and using the tag validate:"required" or validate:"min=1".
Alternatively, just perform the additional validation yourself (if c.MyRequiredField == "", if len(c.MyRequiredField) == 0, if strings.TrimSpace(c.MyRequiredField) == "", etc.).

For a more visual example of why this happens:
# Ensure a clean test environment.
unset TEST_ENVVAR
# Show that it is not set.
env | grep -E '^TEST_ENVVAR='
# Show that it IS set, just to an empty string.
TEST_ENVVAR= env | grep -E '^TEST_ENVVAR='
# Likewise to display it is, in fact, an actual empty string and not *unset*, as these are different.
export TEST_ENVVAR=
echo "|${TEST_ENVVAR}|"

What might be confusing you is there is a strict distinction between an environment variable not being set vs. being set to an empty string. TEST_ENVVAR= sets it to an empty string, which is in fact a value. (Kind of like in Go, testVar := "" IS still a value, it's just an empty string.)

@nf-brentsaner thanks for your explanation


feat: support stacking icons

This PR aims to support the stacking icons mentioned in #12.
TODO:

[x] Doc this feature in README.md and example.typ
[ ] Check the default parameters of internal box and grid

Current result:

Current doc:

Sorry for the delay! Looks good to me!


Add missing flow field to Camel source CRD validation

Fixes #566
Proposed Changes
Add the flow field to the Camel source CRD validation section.
/cc @nicolaferraro

@googlebot I signed it!

/ok-to-test
/approve
Someone who works with Camel should lgtm, thanks!

LGTM

/lgtm
Thanks @nicolaferraro


tanooki: Add version 1.2

Merge?

Need to sort the manifest.
I recommend using vs code and open the workspace file, it will recommend the extensions needed. Then just right click and sort or save the file to resort it to the spec.


Handle Dark/Light change of Windows?

How can I handle Dark/Light change of Windows for displayed window? After changing the Dark/Light setting for apps in Windows settings, opening a new window follows the new theme, but the old main window is still in old theme.

To me, this seems too complicated to implement and there is IMHO not much demand and use for such a feature...
It would require to keep a list of all controls and then loop through it, setting the colors and perhaps handling potential "special needs" of some of them.
While I recently added a static ConditionalWeakTable to track already processed controls, this cannot be directly used as it does not expose its Keys  and Values collections.

And adding support for switching back to the light theme would add one more level of complexity

Now that you have code to force a theme can you please add an option to handle theme change? I tried to override WndProc and handle WM_THEMECHANGED but the code is never executed. Is changing dark/light mode raising a different message?

ok, the message is called WM_SETTINGSCHANGE and here you need to check the LParam  var stringLParam = Marshal.PtrToStringAuto(m.LParam); if this is set to ImmersiveColorSet (if (stringLParam == "ImmersiveColorSet")) the theme changed via settings app.
Here you also need to update your public bool IsDarkMode as it is currently only assigned at constructor and return wrong values after dark /light change.
Best would be to have an enum with FollowSystemTheme (handle the  WM_SETTINGSCHANGE message and change colors), ForceLightTheme, ForceDarkTheme to force a color no matter what is set in windows.

ok, I had to create a new base Form class and later inherit my forms from this base form class. In the base form class I added the overriding of WndProc and a protected variable protected DarkModeCS dm; which I assign in each constructor base.dm = new DarkModeCS(this); and depending on the return of GetWindowsColorMode() I call dm.ApplyTheme(true); or dm.ApplyTheme(false); and also update the IsDarkMode property.
This works fine so far and the window get redrawn in the now correct colors.

@MagicAndre1981  ..an option to handle theme change..    What do you mean by that?  an event?
Ohh yes, i forgot to update the IsDarkMode prop, thanks for the remind.

This was one of the things that my Pull Request addressed.  In the form you needed to reapply the theme to you could simply call the reference to a DarkModeCS instance and run the ApplyTheme() method.  This would refetch the IsDarkMode property and reapply the theme.  Sorry I didn't elaborate more on what I was using the Pull Request code for at the time.

@BlueMystical I've added a PR for this in #59 Hopefully I haven't missed anything.

Thank you!

ok, update the doc, to include the changes and add the hint to inherit from the new base class.


Install actor for local packages with binary or assets

Extract each assets from the ".dcos" file and store in s3
Update references to assets in PackageDefinition’s resource.json

Migrated.


很多能跑起来的案例也很卡顿啊，有些是没有界面显示但是终端在跑，有没有像文生图那种保存视频的看看的

“有些是没有界面显示但是终端在跑” Add -v to the startup parameters and It should work. "文生图那种保存视频" to #30

“有些是没有界面显示但是终端在跑” Add -v to the startup parameters and It should work. "文生图那种保存视频" to #30

跑之前看了一下代码的，需要的我加了的，不需要的没加

“有些是没有界面显示但是终端在跑” Add -v to the startup parameters and It should work. "文生图那种保存视频" to #30

thanks

Could you please list some examples that should have displayed a viewer but failed in your terminal?

Could you please list some examples that should have displayed a viewer but failed in your terminal?

就是终端这边在提示多少fps，最后一直到结束那个显示界面都一直是黑的，正常像那个龙、碰撞案例都是有个简单动画嘛，对这个我也是外行，暂时不弄这个了，真有啥好的展示可以踢我一下

We greatly appreciate your interest in Genesis! Access to the generative framework will be rolled out gradually in the near future. We will continue to provide updates in #6, so stay tuned!


Display resource load errors seperately from list of items

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>fixes #4192
fixes #2683

Workloads Overview page also suffers similar problem:
https://user-images.githubusercontent.com/40840436/141814015-63388708-d3d6-4cc0-a6d9-b132871640d9.mov
maybe this should be a separate issue/PR?

maybe this should be a separate issue/PR?

sure

maybe this should be a separate issue/PR?

sure

#4344

Warning icon placement looks a bit off to me, would close to X item make more sense?

Warning icon placement looks a bit off to me, would close to X item make more sense?

I initially, during development, had it there but thought it looked worse because it was so large and has a higher contrast level than the text.
Also, it is related to the namespace selector because that is where the user picks where to load from.

This is seen upon first connection to the cluster, and "All namespaces" is the setting that was loaded from local storage (user can access default namespace only, and can list namespaces. The list should show the pods in the default namespace)

If it has been saved to local storage then this is working as intended. Given that the user has selected "All namespaces" (explicitly) we load from cluster scope.
If you think that we should fall back to listing individually in this case, maybe. But I don't think that should be part of the PR.

This is seen upon first connection to the cluster, and "All namespaces" is the setting that was loaded from local storage (user can access default namespace only, and can list namespaces. The list should show the pods in the default namespace)

If it has been saved to local storage then this is working as intended. Given that the user has selected "All namespaces" (explicitly) we load from cluster scope.
If you think that we should fall back to listing individually in this case, maybe. But I don't think that should be part of the PR.

But how does this work?
https://user-images.githubusercontent.com/40840436/141849682-0f5986f6-4249-4cf2-a140-3afab8c5cc75.mov

Another minor point, It might be nice if the warning tooltip didn't obscure the namespace selector. Can it be lowered and still look appropriately associated with the warning icon?

Another minor point, It might be nice if the warning tooltip didn't obscure the namespace selector. Can it be lowered and still look appropriately associated with the warning icon?

We can move it to any of the corners or any of the sides surround the mount point. Do you think that left or bellow would be better?

Another minor point, It might be nice if the warning tooltip didn't obscure the namespace selector. Can it be lowered and still look appropriately associated with the warning icon?

We can move it to any of the corners or any of the sides surround the mount point. Do you think that left or bellow would be better?

I like below, as long as it doesn't look "orphaned". Going to the left is left for when there's not enough room to the right, right?

This is seen upon first connection to the cluster, and "All namespaces" is the setting that was loaded from local storage (user can access default namespace only, and can list namespaces. The list should show the pods in the default namespace)

If it has been saved to local storage then this is working as intended. Given that the user has selected "All namespaces" (explicitly) we load from cluster scope.
If you think that we should fall back to listing individually in this case, maybe. But I don't think that should be part of the PR.

But how does this work?
Screen.Recording.2021-11-15.at.3.27.37.PM.mov

That "works" because we don't clear the store on load failure, the items are still around from the last load. Do you think they should be cleared?


Fails to load on PostgreSQL 16

Problem
See:
postgres=# create extension fio;
2023-12-14 00:49:45.136 -05 [1450661] ERROR:  could not find function "fio_writefile" in file "/nix/store/3hph38kkhw879xc8cz26dx411vpzan8s-postgresql-and-plugins-16.0/lib/fio.so"
2023-12-14 00:49:45.136 -05 [1450661] STATEMENT:  create extension fio;
ERROR:  could not find function "fio_writefile" in file "/nix/store/3hph38kkhw879xc8cz26dx411vpzan8s-postgresql-and-plugins-16.0/lib/fio.so"

I can confirm it loads fine on PostgreSQL 11, 12, 13, 14 and 15.

Hm, how does fio.c link writefile.c if there's no writefile.h? Not sure how that worked for pg < 16 but that seems to be the issue, the same goes for the other modules.
https://github.com/csimsek/pgsql-fio/blob/7e880f6683bacf5b6e750a782c448ad217075a60/src/fio.c#L30-L51


[bug] CSS  prefered color scheme is not preserved on windows sleep and wakeup

Describe the bug
I think this problem is similar to #8180.
So basically the prefered color scheme is dark. After Windows (11 in my case) goes into sleep mode and then wakes up it is set to the light color scheme

Reproduction

Use Windows 11

Create a tauri project with multiple color schemes (that are also different)

Select one as the default color scheme

Start the programm

Go into sleep mode

Wake it up and observe the changes

Expected behavior
The color scheme should stay the same
Platform and versions
[✔] Environment
    - OS: Windows 10.0.23580 X64
    ✔ WebView2: 119.0.2151.44
    ✔ MSVC: Visual Studio Professional 2022
    ✔ rustc: 1.72.0 (5680fa18f 2023-08-23)
    ✔ cargo: 1.72.0 (103a7ff2e 2023-08-15)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.5.1
    - npm: 10.2.2

[-] Packages
    - tauri [RUST]: 1.3.0
    - tauri-build [RUST]: 1.3.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.5.1
    - @tauri-apps/cli [NPM]: 1.5.6

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

NVM. This is already mentioned in #5802


Journalism: LevelCompletedCount feature

A per-level feature.
The value is an integer counting the number of times the given level was completed across all sessions.
This only runs at the population level.

726f399b8c6e20a69536a480f6de0fd6d95125aa


Refine Game Design and Mechanics

I'd like to suggest fixing some bugs related to the game, such as a single appearing letter being highlighted yellow multiple times (See attached screenshot). This can lead to confusion and isn't in line with the actual wordle game. A few changes in the main game mechanics should fix the same. I would also like to add a mechanic so it chooses random words from the dictionary every time instead of from the "target" words.

I'd like to rectify the same, please assign this issue to me! :)


Force export on the Mac always writes to src

I've just upgraded to the latest version and when I execute a force export, it always writes to a src directory rather than any name I specify. The pattern is that it either writes to a directory named 'src' in my home directory, regardless of my location/directory parameter specified, or if there is an existing src directory either as a child of current directory or in the ancestors, it will write it there.

Yeah, I am not pleased with this behavior. It's a side effect of trying to
support both a metadata directory and a src directory as those two are
generated by various other MDAPI clients such as the Force.com IDE.  I am
trying to reason how to make this client play better with the Salesforce DX
CLI which provides yet another possible location for metadata to end up.
I am looking for suggestions as to how the behavior should be.  Currently
the Force CLI has no dependency or expectations about where it is invoked
from, and this means that it needs to try to figure out what you want,
absent the target destination flag.
On Thu, Mar 2, 2017 at 11:31 PM, keirbowden<EMAIL_ADDRESS>wrote:

I've just upgraded to the latest version and when I execute a force
export, it always writes to a src directory rather than any name I specify.
I haven't figured out the pattern exactly, but it either seems to go to a
directory named 'src' in my home directory, regardless of my
location/directory parameter specified, or if there is an existing src
directory either as a child of current directory or in the ancestors, it
will write it there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/heroku/force/issues/379, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHGHv7aEXPnM1oC8qdmIMiMKPD1z2-Fks5rh8G-gaJpZM4MR8pR
.

--
Thanks,
Dave

There are two issues here.  The first is that export ignores the dir parameter.  It looks like this bug was introduced in b8d8e738ebe6bc88888ea6908b52cbc814bd5f6f.  GetSourceDir() is always called to find the src or metadata directory.
I opened #400 to fix this.
The second issue that GetSourceDir walks all the way up to the filesystem root looking for a src or metadata directory, and if one is not found, it creates the src directory and metadata symlink in the current directory.
I'm inclined to only look for the src or metadata directory in the current directory, but this would be a backwards-incompatible change.  One option would be to limit how many directories we ascend when looking for the src or metadata directory.  See 507ff3edc46cc0891a50f081477e669038c10fe7 for an example.  There's still the possibility of finding the wrong directory, but it's at least reduced.


Set payload equal to error if payload is instanceof Error

I already made a note of this in #43, but I wanted to promote it to its own issue.
I personally think that if you pass an error in as the payload, it should bypass your custom payloadCreator logic and just set the payload equal to the passed-in error. Otherwise, you have to add an error check in each of your action creators to achieve the same effect.
Example:
const createCoolAction = createAction(COOL_ACTION_TYPE, spec => {
  const {zipCode, id} = spec;
  return {body: {zipCode, id}};
});

So, if I do something like, createCoolAction(new Error('Something bad happened')), the payload will be set to {body: {zipCode: undefined, id: undefined}} instead of just the error object itself. To fix this, I could add an error check, but I don't want to have to do this in every one of my action creators.
I'd be happy to make an MR for this.

I agree. Just made a PR, see #66

Wasn't this closed by https://github.com/acdlite/redux-actions/commit/b9d5eb7daec5e29cb02c34dfb855c51183051f71, and a duplicate of https://github.com/acdlite/redux-actions/issues/82?


Study MVVM

Read about MVVM, help other implement their code according to this pattern.
Example materials:

Pluralsight 1
Pluralsight 2

Related to:
#1

I have learned the basic concepts of MVVM. I am currently studiyng the commands and processes and ViewModel communication.


essy-test-branch

Description:
Explain the purpose of the PR.
Checklist:

[ ] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[ ] Have you lint your code locally prior to submission?

test branch - ignore


[enhancement] Need to update serverpod_flutter_auth dependencies

https://github.com/serverpod/serverpod/pull/380

You have done a great job, but at least two dependencies are still very outdated: #421

This should be done. Let me know if I still missed something. Will release the next version tomorrow hopefully.


Add Edge Identity test and Update Readme files

Add Edge Identity test and Update Readme files
Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Ready to be reviewed again.

@emdobrin @cdhoffmann, thanks for the review comments.  I updated them in the latest commit.


Importing Yokogawa/KIT data

I try to import data from Brainstorm tutorial: http://neuroimage.usc.edu/brainstorm/Tutorials/Yokogawa and get an error. However, I can import it in Brainstorm. My MNE version 0.15.2
I run this code:
import mne
mne.io.read_raw_kit('SEF_000-export.con')

output:
Extracting SQD Parameters from SEF_000-export.con...
Creating Raw.info structure...

error:
IOError: Unknown FLL type: 300

@christianbrodbeck any idea how we add support for this site?

Implementation of the SQD reader is dependent on information on the file format, which is unfortunately not complete. It looks like the relevant component of brainstorm is compiled without source code (https://github.com/brainstorm-tools/brainstorm3/tree/master/external/yokogawa).


Issue on page /tutorials/rv.html

Hi, I have been reading the excellent case studies using exoplanet in order to figure out some issues with my own problems. One thing that has been bugging me, and is present in your examples, is the reparameterisations of variables.
For example, in the exoplanet examples, often the prior is specified for the log of a parameter. However there is no line that incorporates the jacobian for this change of variables, i.e. through pm.Potential.
Should the jacobian be present, or is not required in these cases?

Whether or not you want to include the Jacobian would depend on what prior you're targeting. I would normally actually prefer a logarithmic prior (like the ones you're referring to) for any parameter with units, so the lack of a Jacobian here is intentional. If you wanted to specify your prior in linear space, I'd recommend just using the linear parameter directly, rather than explicitly including a Jacobian. Hope this helps!

Thanks for responding! Having spent some time thinking about what you said, I think I finally get why/when the Jacobian needs to be included.


Focus Caral Camera

Description
Hi,
is there any way to focus the cam? so when running the classify Script the image is in focus?
Regards
Click to expand!
Issue Type
Support
Operating System
Mendel Linux
Coral Device
Dev Board Mini, Coral Camera
Other Devices
No response
Programming Language
Python 3.7
Relevant Log Output
No response

Hello @RaphaelPiatek  Auto foucs is enabled by defualt for Coral Camera !!


API Versioning - Aggregation

Problem description
Using Major Versions only in the API path is going to break ASPs when there's aggregation across CSP implementations (using different minor versions). i.e. minor versions are not forward compatible.
Expected behavior
An ASP should not have different fields or formats coming from the same endpoint depending on the CSP.
Alternative solution
Add the minor version in the API path, patch release should just include documentation changes which don't affect the usage of the API.
Additional context
Raised in https://github.com/camaraproject/QualityOnDemand/issues/179

Hi @chrishowell
Can you clarify your concern?
Is is that a v1.0 client might get different response structures from v1.0 and v1.1 CSP implementations? If semantic versioning is being used properly for production releases (v1 onwards), this should not happen. v0 releases are pre-production, so I don't think it matters if semantic versioning rules are being properly applied there or not (in fact, they cannot be, as the major version number must remain 0 for pre-production releases).
If all CSPs have v1.1 implementations, then it should not matter if the ASP clients are using v1.0 or v1.1 implementations. The response structure should be the same for the same request (assuming semantic versioning is being properly followed). Obviously the client needs a v1.1 implementation for v1.1 functionality, but the point is that the ASP does not need to know the client version.
If a given CSP only has a v1.0 implementation, and an ASP is accepting v1.1 client requests, then passing a v1.1 request to a v1.0 implementation should result in an error (assuming v1.1 functionality was being requested), and not a 2XX response but with different fields or formats.
I don't see CSPs maintaining separate v1.0 and v1.1 implementations in production. They will have a "v1" implementation, and the ASP should know if that is v1.0 or v1.1 compliant through update announcements from the CSP and the ASP's own testing. Requests from v1.1 clients should not be sent to v1.0 implementations.
So are you just looking for a "simple" way for the ASP to determine if the client request is a v1.0 or v1.1 request, rather than parsing the request path / body itself to work it out, or otherwise liaising with their clients to know the client version being used?
And if an ASP receives a v1.1 client request that needs to be fulfilled by a CSP that only has a v1.0 implementation, would the ASP return an error to that client, or would they "extract" the v1.0 compliant parts of the request, pass them to the CSP's v1.0 implementation and then return that response to the client?

This just doesn't make any sense - a /v1 aggregated api cannot have backends of /v1.1 or /v1.0 depending on the CSP... a v1.0 request is unlikely to be accepted by a v1.1 endpoint that requires an extra field.
So an aggregator would have to only expose the v1.0 API spec, which would make any minor version upgrades by downstream CSPs irrelevant.

My suggestion is that:

Aggregation happens at the minor version e.g. v1.1 or v1.0...
The versions published by each CSP are published in a well known location
CSPs support minor versions according to some agreed lifecycle

Hi @chrishowell
Well, possibly I'm not understanding your problem or your proposal. Maybe things are different at Vonage, but usually the purpose of raising an issue is to discuss and clarify the problem, and then agree on solutions.
So let me clarify my questions so that maybe they make more sense to you. I am using the term "v1.1 client" to mean "a client that is capable of sending v1.1 requests" rather than "a client whose every request is not v1.0 compliant". So I am trying to understand exactly how you would use the minor version information if included in the path.
Let's consider an example.
With the current basepath proposal, a "v1.1" client could request:
POST /api/v1/endpoint-that-was-already-in-v1.0
and it could also request:
POST /api/v1/endpoint-that-was-added-in-v1.1
Now my expectation (maybe mistaken) is that the first request could be handled by either a v1.0 or v1.1 implementation, but the second requires a v1.1 implementation. So the first request could be passed on to a v1.0 implementation (despite originating from a "v1.1 client") but the second clearly could not. This could be "known" by comparing the v1.1 API definition to the v1.0 definition to see what is new in v1.1 and what was already there, so does not require the minor version number to be included in the path.
But, alternatively, we could explicitly put the minor version in the path, and I'm thinking maybe this is why you want that.
So we could have:
v1.0
POST /api/v1/0/endpoint-that-was-already-in-v1.0

v1.1
`POST /api/v1/0/endpoint-that-was-already-in-v1.0`
`POST /api/v1/1/endpoint-that-was-added-in-v1.1`

So is that your proposal?
Or do you want to exclusively tie v1.0 clients to v1.0 implementations and v1.1 clients to v1.1 implementations? So the minor version number would identity both client and implementation version, and instead we would have:
v1.0
POST /api/v1/0/endpoint-that-was-already-in-v1.0

v1.1
`POST /api/v1/1/endpoint-that-was-already-in-v1.0`
`POST /api/v1/1/endpoint-that-was-added-in-v1.1`

And the CSP would need to support both v1.0 and v1.1 implementations.
Or is it something else?
To be clear, these are all questions, not proposals.

We (TEF) share same concerns as @eric-murray. We need to better circumscribe the scope of the problem, and the points you expect to be agreed upon.

Making some reading for next TSC (October 19th) where we plan to discuss about release management;
May I ask you @chrishowell to take a look on @eric-murray questions on your proposal in order to make our next meeting more fruitful. Thanks
(cc: @shilpa-padgaonkar @jordonezlucena )

Sorry I missed this - the problem is not with adding new endpoints, but making changes to existing endpoints, like adding new fields or renaming fields or changing types, these have all happened in v0; it's not possible to make a v0 SDK.
When we get to v1 we should not be making non-breaking changes in minor versions of course.


organizeImports does not respect pragma

VSCode Version: 1.30.0-insider
OS Version: macOS Mojave 10.14 (18A391)

Steps to Reproduce:

Clone this repo.

Open src/app.tsx.
NOTE The keyword jsx in the import statement is not greyed out, suggesting some part of VSCode recognizes it as a used import.

Save the file.
Expected Result
/** @jsx jsx */

import { css, Global, jsx } from '@emotion/core';

Actual Result
/** @jsx jsx */

import { css, Global } from '@emotion/core';

Does this issue occur when all extensions are disabled?: Yes

I know I can work around this by changing my import to
- /** @jsx jsx */
+ /** @jsx Emotion.jsx */

- import { css, Global, jsx } from '@emotion/core';
+ import * as Emotion from '@emotion/core';

... but that means all my other imports from that module need the module prefix, which breaks some syntax highlighting for embedded CSS in tagged template literals: for example, css`background: red;` would highlight correctly but Emotion.css`background: red;` would not.

Checked existing issues and could not find any duplicates. Searched open & closed with "organizeImports" and "pragma".


Change MaxBy/MinBy to return all extrema elements (#328)

This PR addresses #328.

Overall looks good to me. I have just one doubt: Now that this metod returns multiple elements, it could be deferred? Or in other words, why make execution immediate?

@fsateler That's a fair point. I'll revise the methods to use deferred execution semantics.

However, if the purpose of returning this lazy list is to allow downstream operators to optimize, why not return IList<T> directly?

How do you propose to do that lazily? Perhaps I'm not seeing something you are. An IList<> is what was being returned before it was made lazy. Are you suggesting to change the return type? The optimisation usually rely on the run-time type so they'll kick-in nonetheless.

Why simple not follow the same approach as CountBy  and ScanRight:

@leandromoh Good suggestion and addressed in f6586bcc76409d2bc898a8c7c95b018499c9b9f0.

LGTM. When do you plan to merge?


Modifies github workflow to run tests/linting on pushes to current

This apparently has a syntax error - https://github.com/project-vagabond/covid-green-backend-api/actions/runs/195051745

This properly runs tests and verifies linting on

All Pull Requests
Pushes to current branch


[QUESTION] Are all the C# classes are generated automatically now?

As I understand, the P/Invoke code SkiaApi.generated.cs and all the C# classes are now generated automatically, thanks to this PR:
https://github.com/mono/SkiaSharp/pull/992
Question:
Why do we still need to manually modify the generated C# classes like this?
https://github.com/mono/SkiaSharp/commit/29d87a1a932cb2c716ba9449ac1402641221351b
I think the manual modifications will be lost when the C# classes are generated again?

So, this is partially true - the C# interop is generated, but not the classes.
As I mentioned in #1003, I would like to have a magical tool to do the work, but I will need to first create it. That will take some time.
But, another (probably more important) consideration is compatibility. So far, nobody really had major issues using later versions of SkiaSharp in their apps, but the underlying C++ API has changed considerably. This is all thanks to the custom C# API that absorbs all the wild changes that Google has made in order to create this great graphics library. If the C# API is 100% generated, this may be harder to preserve. This doesn't mean that it will be impossible, but it does mean the generator has to be smarter.
We could generate the basic API in C# and then extend it with what we want, but again, this is work.
At the end of the day, this goes back to the reality of me being the sole maintainer of SkiaSharp (with several community contributors). The work is going to take a fair amount of time away from the actual library - and other libraries I am working on as well. This is why I have been changing the build system frequently as I work. I am trying to make this repo easier to contribute to and work with so that the community can step in where I am not able to at the moment and help out.


Let YCSB connect to only one server

Hi All,
I am using YCSB to benchmark a Cassandra cluster (Consistency Level = One) with one server located in Asia, one in the US, and one in Europe. I gave one IP address as hosts to YCSB client -- the server located locally with the client. However, the throughput is extremely low and latency varies greatly from 2 ms to 0.1 s. I am worried about the YCSB client is using all three nodes as coordinators, i.e. let remote servers accept client's read and write requests. My question is how to let one single node as the coordinator.
Thanks,
Roger

Here is an typical output:
[OVERALL], RunTime(ms), 740325
[OVERALL], Throughput(ops/sec), 81.04548677945498
[TOTAL_GCS_PS_Scavenge], Count, 8
[TOTAL_GC_TIME_PS_Scavenge], Time(ms), 58
[TOTAL_GC_TIME_%PS_Scavenge], Time(%), 0.007834397055347313
[TOTAL_GCS_PS_MarkSweep], Count, 0
[TOTAL_GC_TIME_PS_MarkSweep], Time(ms), 0
[TOTAL_GC_TIME%PS_MarkSweep], Time(%), 0.0
[TOTAL_GCs], Count, 8
[TOTAL_GC_TIME], Time(ms), 58
[TOTAL_GC_TIME%], Time(%), 0.007834397055347313
[CLEANUP], Operations, 8
[CLEANUP], AverageLatency(us), 277893.375
[CLEANUP], MinLatency(us), 4
[CLEANUP], MaxLatency(us), 2224127
[CLEANUP], 95thPercentileLatency(us), 2224127
[CLEANUP], 99thPercentileLatency(us), 2224127
[INSERT], Operations, 60000
[INSERT], AverageLatency(us), 96903.59283333333
[INSERT], MinLatency(us), 260
[INSERT], MaxLatency(us), 793599
[INSERT], 95thPercentileLatency(us), 198655
[INSERT], 99thPercentileLatency(us), 198911
[INSERT], Return=OK, 60000


Security scan

 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.:x: jonathanxallen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Deletes a file after moving it to another folder

Error: ENOENT: no such file or directory, rename 'H:_\Без названия3.md' -> 'H:___\Без названия3.md'
at async Object.rename (node:internal/original-fs/promises:779:10)
plugin:consistent-attachments-and-links:585
After disabling the plugin, the error disappears.

I have the same error, i didn't look at the code but maybe the attachment is deleted before moving/renaming it?
Anyway, I installed v3.11.0 (https://github.com/dy-sh/obsidian-consistent-attachments-and-links/releases/tag/3.11.0) manually (check here if you don't know how to: https://www.reddit.com/r/ObsidianMD/comments/tpodka/how_can_i_manually_install_plugins/) in a sandbox and it worked!
It could be a temporary solution until fixing the bug (don't forget to backup your vault!).

Unfortunately it did not work in my personal vault, in v3.11.0 (not the latest so probably not related) when I move a note i have this error (it didn't move or delete the attachments, nor the links) :
TypeError: Cannot read properties of undefined (reading 'start')
at eval (plugin:consistent-attachments-and-links:693:56)
at async eval (plugin:consistent-attachments-and-links:600:11)
at async runWithTimeout (plugin:consistent-attachments-and-links:613:10)
at async retryWithTimeout (plugin:consistent-attachments-and-links:596:3)
at async getBacklinksForFileSafe (plugin:consistent-attachments-and-links:682:3)
at async getBacklinks (plugin:consistent-attachments-and-links:1843:20)
at async processRename (plugin:consistent-attachments-and-links:1764:23)
at async handleRename (plugin:consistent-attachments-and-links:1677:7)
Sorry I didn't create another issue because it is related to my previous comment.
By the way, how can I make the plugin work with excalidraw attachments? Is it even possible with this plugin?

Fixed in https://github.com/dy-sh/obsidian-consistent-attachments-and-links/releases/tag/3.13.0


:clock3: Add reception and surgery opening times

Moved GP Count logic from renderer to middleware.
Exposed opening times on profiles page.

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:warning: deployment of 52 for nhsuk/profiles failed

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net

:rocket: deployed to http://profiles-pr-52.dev.c2s.nhschoices.net


Determine lapack fortran linking convention in CMake

LAPACK functions are often decorated in different ways by the compiler. Currently, dlib attempts to determine the correct decoration by testing the compiler flags in fortran_id.h. However, this fails when using CLAPACK on windows as this package uses decorated (trailing underscore) function names whereas the platform FORTRAN compiler does not.
This commit explicitly looks for decorated and undecorated versions of the function in CMAKE and, if detected, sets a preprocessor definition which is detected in fortran_id.h. The old detection approach is still used if this search fails. This definition is propagated using target_compile_definitions(dlib INTERFACE ...)

Thanks for the comments - I've now modified the code to add the preprocessor switches correctly and added them to config.h.in

Cool, looks good.  Thanks for the PR :)