Getting x-platform-example component inside keychain swift.

Hi,
I would like to know do we have a Calabash-iOS library dependency in MBProgressHUD library. I am getting X-Platform-example component dependency warning during black duck scan. It seems the calabash library is under GNU license. Please confirm.
Library setup method: CocoaPods
Version of the library: Latest
Xcode version: 10.1
OS version. Example: iOS 11.

MBProgressHUD does not have any dependancies outside of standard iOS frameworks.

Hi Matej,
Thank you very much for your response.
Thanks & Regards,
Anand Govindarajan.
On Mon, Jun 24, 2019 at 2:28 PM Matej Bukovinski<EMAIL_ADDRESS>wrote:

MBProgressHUD does not have any dependancies outside of standard iOS
frameworks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jdg/MBProgressHUD/issues/575?email_source=notifications&email_token=AB3AI3EQSXAMIJT3WOFULYTP4CEDLA5CNFSM4H24OQGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYMICCY#issuecomment-504922379,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3AI3FTV5WOBRO6Z3HYUNDP4CEDLANCNFSM4H24OQGA
.


Links that span multiple lines are treated as errors

Although it is disallowed for such syntax to be valid:
{
* My Link
}

and
[
my description
]

This syntax is allowed:
{* My
link}

and
[my
description]

But since both elements allow only a paragraph_segment any newlines are treated as erroneous, therefore breaking things like Neorg's hop module.

This has been since fixed in the dev branch, but I'll only close this once that gets merged :)


[8.x] Fix: when worker sleep value greater than timeout, a timeout exception will be throw

In my opinion, when worker is sleeping, the timeout mechanism shouldn't work

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


Add a search example with filter in README

⚠ This issue is generated, please adapt the example to the repository language.
Related to: https://github.com/meilisearch/integration-guides/issues/136
In the README, we want to add the Custom Search With Filters sub section in the Getting Started section to make the users are aware of filtering.
This should

be placed right after the Custom Search sub section
contain the following content:

---------- beginning of the content
If you want to enable filtering, you must add your attributes to the filterableAttributes index setting.
--- Add an example corresponding to the current repository. See this example in JS:
await index.updateAttributesForFaceting([
    'id',
    'genres'
  ])

--- end of example
You only need to perform this operation once.
Note that MeiliSearch will rebuild your index whenever you update filterableAttributes. Depending on the size of your dataset, this might take time. You can track the process using the update status.
Then, you can perform the search:
--- Add an example corresponding to the current repository. See this example in JS:
await index.search(
  'wonder',
  {
    filter: ['id > 1 AND genres = Action']
  }
)

--- end of example
{
  "hits": [
    {
      "id": 2,
      "title": "Wonder Woman",
      "genres": ["Action","Adventure"]
    }
  ],
  "offset": 0,
  "limit": 20,
  "nbHits": 1,
  "processingTimeMs": 0,
  "query": "wonder"
}

--- end of the content
📣 Example of PR: https://github.com/meilisearch/meilisearch-js/pull/1059/files

So the changes should be made in -
https://github.com/meilisearch/meilisearch-dart/blob/main/README.md
or
https://github.com/meilisearch/meilisearch-js/blob/main/README.md


Add minimal readme

Closes #8
@milkyklim Please review.

I also installed mustache and deleted the subgraph.yml in place of subgraph.template.yml with {{ network }} parameterised. Otherwise, there is no need for a prepare:network command.

Build step appears to be failing - does the .envrc environment variables need to be added to the Github action?

Note the keep example has {{ startBlock }} and {{ address }} parameterised also, but presume we don't need this for this application.

@wirjo we don't need mustache here – it was used to switch between ropsten and mainnet networks. Here we only have mainnet support.
ToDo:

[ ] remove mustache
[ ] remove template.yaml
[ ] update README.md accordingly
[ ] add buttons (CI check, etc) to README

I'll fix CI build myself in a separate PR.

No worries, @milkyklim. All done except add buttons (CI check, etc) to README. Can you do the badges as I am not familiar with the system? ^_^'


Modify stream open logic

Change stream processing through incoming policy id
Delete sleep function between reqeust stream

Closes: #27, #29

Codecov Report
Base: 8.34% // Head: 8.16% // Decreases project coverage by -0.17% :warning:

Coverage data is based on head (90b0074) compared to base (45b6423).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #31      +/-   ##
========================================
- Coverage   8.34%   8.16%   -0.18%
========================================
  Files          7       7
  Lines        647     661      +14
========================================
  Hits          54      54
- Misses       593     607      +14

Impacted Files
Coverage Δ

src/request.rs
0.00% <ø> (ø)

src/subscribe.rs
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


How to update parse-server?

Getting the following issue when trying to interact with Parse--just deployed to Heroku.
[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0)
ERROR 1: Error Domain=Parse Code=1 "{"code":1,"message":"Internal server error."}" UserInfo={error={"code":1,"message":"Internal server error."}, NSLocalizedDescription={"code":1,"message":"Internal server error."}, code=1} [error: {"code":1,"message":"Internal server error."}, NSLocalizedDescription: {"code":1,"message":"Internal server error."}, code: 1]
Anyone know why this is happening and how to fix it?

I saw @40 but not helpful

I’m basically in the same place but one step forward maybe.
That error for me was because the app can’t connect to the DB. I’m using ObjectRocket which needs the IP address whitelisted.
I worked that out by checking $ heroku logs —tail
So now I have added “Fixie” to Heroku so that I can get a static IP, but that still doesn’t solve it because I need to make the parse-server-example app actually use the proxy of Fixie.
And that isn’t turning out to be as simple as it sounds, at least for me (this is my first node experience :)).
Hope that helps!

On 4 Mar 2016, at 10:27, Ben Cormier<EMAIL_ADDRESS>wrote:
Getting the following issue when trying to interact with Parse--just deployed to Heroku.
[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0)
ERROR 1: Error Domain=Parse Code=1 "{"code":1,"message":"Internal server error."}" UserInfo={error={"code":1,"message":"Internal server error."}, NSLocalizedDescription={"code":1,"message":"Internal server error."}, code=1} [error: {"code":1,"message":"Internal server error."}, NSLocalizedDescription: {"code":1,"message":"Internal server error."}, code: 1]
Anyone know why this is happening and how to fix it?
—
Reply to this email directly or view it on GitHub https://github.com/ParsePlatform/parse-server-example/issues/90.

@threegoblins so, to confirm, your MongoDB is not hosted through Heroku?

Correct, hosted by ObjectRocket.
Although I am kinda regretting that as a Heroku hosting probably would have been simpler…
You’re hosted with Heroku? Hopefully you won’t be having the same error then.
But either way checking your app logs on Heroku should reveal more information for you as to why the 500 is happening.

On 4 Mar 2016, at 10:33, Ben Cormier<EMAIL_ADDRESS>wrote:
@threegoblins https://github.com/threegoblins so, to confirm, your MongoDB is not hosted through Heroku?
—
Reply to this email directly or view it on GitHub https://github.com/ParsePlatform/parse-server-example/issues/90#issuecomment-192206196.

perhaps to update, pull the latest .zip of parse-server from the github and replace it with the parse-server folder in node_modules.
not 100% if this is correct.

npm update parse-server might also work, but it filled my node_modules folder with a ton of other stuff too.

I'd recommend editing your package.json file and updating the parse-server entry, then running npm install. If you are hosting on Heroku, the npm install should happen when you git push to your server.

I am getting following error when trying to requestPasswordReset.
My Parse server version is : 1.0.0
{"level":"error","message":"Uncaught internal server error. [TypeError: promiseHandler(...).then is not a function] TypeError: promiseHandler(...).then is not a function\n    at parse/node_modules/parse-server/lib/PromiseRouter.js:286:27\n
also email is not going.


Add rel="noopener" for new window Hyperlinks

Coverage increased (+0.007%) to 90.399% when pulling c25e6d2ca1297e302b16ff76ab79604e83d7c24e on abutterworth/hyperlink-add-noopener into 40227e164b5f6cc22f52ce760f05615169b72320 on master.

Coverage increased (+0.007%) to 90.399% when pulling c25e6d2ca1297e302b16ff76ab79604e83d7c24e on abutterworth/hyperlink-add-noopener into 40227e164b5f6cc22f52ce760f05615169b72320 on master.

Only adding noopener makes sense to me. Also maybe it should only set rel if none is supplied?
if (target === '_blank') {
    // Add this rel attribute to prevent Reverse Tabnabbing
    other.rel = other.rel || 'noopener';

I like other.rel || 'noopener'; but lets be real - no one wants opener and people might accidentally not realize they should add it. Maybe other.rel + " noopener"?

I guess I was thinking that if you specify rel you're taking responsibility into your own hands. Should we allow full control, or force the addition of noopener (taking the attitude that if you wanted explicitly to have an opener then you wouldn't use this component)?

Talk to me about the use case of a Hyperlink user that doesn't want noopener. And also our institutional tolerance for allowing that person to take user security into their own hands.

Correct me if I'm wrong, but reverse tabnabbing is only an issue when it opens cross domain (and to a malicious site). An opener in a window is a potentially useful tool though not one I imagine we will take advantage of. A use case (maybe this is too far out there to bother discussing deeply):
I want to make an in-course tool (maybe a timer, formula sheet, calculator) that I want to open in a new window so the user can manage the course and the tool as separate windows. Maybe the tool needs to be able to manipulate or notify the host page of something. They'd both be hosted on our domain (therefore safe).
I think I'm with you on just forcing it. If you need reference to window.opener you're pretty in the weeds and are doing it on purpose.

You're right that tabnabbing is only a problem cross-domain (unless the attacker is running JS on one of your pages, in which case you already have problems). But that is a pretty common thing we do, e.g. in our forums.
Though, I'm guessing we don't convert  links there into  by any chance?

Although even trusted external sites become a problem on an untrusted network for non-https links...

I don't think the forums are written in React so no worries there. I've updated to force the presence of noopener. It's safer and if someone wants to go off the rails, they can write their own anchor tag.

I've updated the readme. Thanks for the feedback @mikix!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


☂Opt in input model eval

Describe your changes
Currently, if you want to get the evaluation result from input_model, they need to set:

evaluation_only: in this case, olive only evaluate input model without passes run.
or to set metric goal to tell the metric tolerance based on the baseline.

Several customers would love to compare the input model metrics with output model's metrics by default. So in this PR, we make input model is evaluated as long as there is the given metrics.
If user do not need to evaluate input model, they can manually set evalute_input_model as False.
With the PR, the default behaviors. is like:

evaluate input model with given metrics.
if user gives the metric goal, olive read the result in step 1 from cache.
then olive will run search or no_search passes w.r.t given metrics.

Checklist before requesting a review

[x] Add unit tests for this change.
[x] Make sure all tests can pass.
[x] Update documents if necessary.
[x] Format your code by running pre-commit run --all-files
[x] Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
Replace  evaluation_only with evaluate_input_model and set False by default.

(Optional) Issue link

/azp run

In zipfile packaging mode, we have a json file to store metrics called metrics.json. Can you please add input model metric to this file if we both need input model evaluation and zipfile packaging? https://github.com/microsoft/Olive/blob/main/olive/engine/packaging/packaging_generator.py#L122-L125

In zipfile packaging mode, we have a json file to store metrics called metrics.json. Can you please add input model metric to this file if we both need input model evaluation and zipfile packaging? https://github.com/microsoft/Olive/blob/main/olive/engine/packaging/packaging_generator.py#L122-L125

Added

In zipfile packaging mode, we have a json file to store metrics called metrics.json. Can you please add input model metric to this file if we both need input model evaluation and zipfile packaging? https://github.com/microsoft/Olive/blob/main/olive/engine/packaging/packaging_generator.py#L122-L125

 Added

Thanks! Seems accuracy dropped xd

In zipfile packaging mode, we have a json file to store metrics called metrics.json. Can you please add input model metric to this file if we both need input model evaluation and zipfile packaging? https://github.com/microsoft/Olive/blob/main/olive/engine/packaging/packaging_generator.py#L122-L125

 Added

Thanks! Seems accuracy dropped xd

Ahahah, no worries. It is from unit test where we use dummy model with forked value.


Fix a typo in C API documentation

Change "Certain nodes need to ability to measure themselves" to "Certain nodes need the ability to measure themselves".

Thanks!


Host webhook creating hosts with duplicate names

Rancher Versions: Master 2/26
Steps to Reproduce:

Create a host scale 2 named hostname-1
Add the label foo=bar on hostname-1
Create a webhook to scale up 1 for label foo=bar
Run webhook

Results: Creates a host called hostname-2, although it already exist.  We should check all host names and create unique host.

@tfiduccia but creation of hosts with duplicate names is allowed.

@mrajashree - only by some drivers.   Not all host providers allow duplicate names.

Interesting bug. Bit of an edge case. I'd rather not address in 1.5.0

moving out of 1.5
cc @cjellick

problematic driver for example, hetzner
its creating ssh keys based on host name, if the hostname allready exist, anything fails.
if youre scaling 15 host upwards an this error occurs the cpu on rancher will start to get panic and the rancher server is unreachable for some minutes.


Perform variation in alphas using normalized alpha values

title should be clear :-)

Done -- variance is now computed using the normalised alpha values


Changing text position redraws entire app

This is related to https://github.com/danielsaidi/RichTextKit/issues/5
While investigating, I added a random color to parts of the demo app. It turns out that the entire app redraws every time the text position is moved:

This is because the RichTextCoordinator syncs the text field's selectedRange to the RichTextContext when the text position changes, which happens when you move the cursor or type in the text field.
This is horrible for performance, but I don't know how to fix it. The rich text context is synced in full with the text field, which means that views that take the context as observed object will redraw if the range changes, even if they don't use the range.
Any input to help me fix this problem would be greatly appreciated.

I have made selectedRange non-published to mitigate the worst problems. The entire app still redraws whenever some published property changes, but this hopefully leads to increased performance.


Error 500 on any attempt to change settings.

I cannot seem to track this down. Any attempt to edit/add users, mods, packs even logging out generates the error 500 page with this text.
http://pastebin.com/a7rq3a3U
I'm sure it is something simple that I have missed. Any assistance would be greatly appreciated.

try: php artisan migrate

When I run the php artisan migrate it shows an error
SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'minecraft_md5' (SQL: alter table builds add minecraft_md5 varchar(255) not null default '')
Seems that my db isn't set quite right. Going to see if I can work through that now.
I used this guide to help.
https://github.com/TechnicPack/TechnicSolder/wiki/How-To-Install-TechnicSolder-for-Linux-{WIP}

Don't use that guide. It hasn't been updated/checked yet.
If you don't have any data you are worried about. php artisan migrate:refresh will roll everything back and re-migrate.

ok, thanks, that left me with
[ErrorException]
Undefined variable: mojangVersions

nevermined, I got it. odd permissions issue on the server. thanks


How to install py

I can't figure out how can i install python on my machine. Can you help about it?

You can install python from google !


Set propertyName on parent props for config phase.

Ensure propertyName is set by the Annotator even for parent properties.
The side-effect/bug is that an element when it gets configured via simple node._configValue(name, value) the name can be otherwise undefined. See configure.html _distributeConfig() wherein we do var name = x.effect.propertyName;.

LGTM


Remove RefreshIDToken middleware.

@akatsoulas quick r?

Coverage remained the same at 89.014% when pulling 22f2c9b58dfa8b29bd6fa0b6bb51a861329438fc on johngian:fix-auth0-setup into de4114c6aeb421ea6cab99a5b47b82b7236c4f7f on mozilla:master.


Problems when running build-rm.sh

hello! After I build with the cargo command i try to run the build-rm.sh script and I receive some errors. Here is the output of the script when i build it:
  Compiling armrest v0.1.0 (/home/remarkable/armrest)
error[E0433]: failed to resolve: could not find `input` in `libremarkable`
  --> src/app.rs:10:20
   |
10 | use libremarkable::input::ev::EvDevContext;
   |                    ^^^^^ could not find `input` in `libremarkable`

error[E0432]: unresolved import `libremarkable::framebuffer::FramebufferDraw`
 --> src/app.rs:9:5
  |
9 | use libremarkable::framebuffer::FramebufferDraw;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------
  |     |                           |
  |     |                           help: a similar name exists in the module: `FramebufferIO`
  |     no `FramebufferDraw` in `framebuffer`

error[E0433]: failed to resolve: could not find `input` in `libremarkable`
 --> src/input.rs:4:20
  |
4 | use libremarkable::input::multitouch::MultitouchEvent;
  |                    ^^^^^ could not find `input` in `libremarkable`

error[E0433]: failed to resolve: could not find `input` in `libremarkable`
 --> src/input.rs:5:20
  |
5 | use libremarkable::input::wacom::{WacomEvent, WacomPen};
  |                    ^^^^^ could not find `input` in `libremarkable`

error[E0432]: unresolved import `libremarkable::input`
  --> src/app.rs:11:20
   |
11 | use libremarkable::input::{InputDevice, InputEvent};
   |                    ^^^^^ could not find `input` in `libremarkable`

error[E0432]: unresolved import `libremarkable::input`
 --> src/input.rs:6:20
  |
6 | use libremarkable::input::InputEvent;
  |                    ^^^^^ could not find `input` in `libremarkable`

error[E0432]: unresolved import `libremarkable::framebuffer::FramebufferDraw`
 --> src/ui/canvas.rs:7:34
  |
7 | use libremarkable::framebuffer::{FramebufferDraw, FramebufferIO};
  |                                  ^^^^^^^^^^^^^^^
  |                                  |
  |                                  no `FramebufferDraw` in `framebuffer`
  |                                  help: a similar name exists in the module: `FramebufferIO`

error[E0432]: unresolved import `libremarkable::framebuffer::FramebufferDraw`
  --> src/ui/screen.rs:11:34
   |
11 | use libremarkable::framebuffer::{FramebufferDraw, FramebufferRefresh};
   |                                  ^^^^^^^^^^^^^^^
   |                                  |
   |                                  no `FramebufferDraw` in `framebuffer`
   |                                  help: a similar name exists in the module: `FramebufferIO`

error[E0432]: unresolved import `libremarkable::framebuffer::FramebufferDraw`
 --> src/ui/widget.rs:7:5
  |
7 | use libremarkable::framebuffer::FramebufferDraw;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------
  |     |                           |
  |     |                           help: a similar name exists in the module: `FramebufferIO`
  |     no `FramebufferDraw` in `framebuffer`

error[E0603]: enum `PartialRefreshMode` is private
  --> src/ui/screen.rs:10:42
   |
10 | use libremarkable::framebuffer::refresh::PartialRefreshMode;
   |                                          ^^^^^^^^^^^^^^^^^^ private enum
   |
note: the enum `PartialRefreshMode` is defined here
  --> /root/.cargo/git/checkouts/libremarkable-e1fa5419bec94e16/7ec11d2/src/framebuffer/refresh.rs:10:34
   |
10 | use crate::framebuffer::{common, PartialRefreshMode};
   |                                  ^^^^^^^^^^^^^^^^^^

warning: unused import: `crate::ui::Region`
 --> src/dollar.rs:5:5
  |
5 | use crate::ui::Region;
  |     ^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused import: `Point`
 --> src/ui/text.rs:6:29
  |
6 | use rusttype::{point, Font, Point, PositionedGlyph, Scale};
  |                             ^^^^^

error[E0282]: type annotations needed
  --> src/app.rs:56:23
   |
56 |         let (tx, _) = mpsc::channel();
   |                       ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `channel`
   |
help: consider specifying the generic argument
   |
56 |         let (tx, _) = mpsc::channel::<T>();
   |                                    +++++

error[E0282]: type annotations needed
  --> src/app.rs:77:36
   |
77 |         let (input_tx, input_rx) = mpsc::channel();
   |                                    ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `channel`
   |
help: consider specifying the generic argument
   |
77 |         let (input_tx, input_rx) = mpsc::channel::<T>();
   |                                                 +++++

error[E0599]: no method named `draw_line` found for mutable reference `&mut Framebuffer` in the current scope
   --> src/app.rs:161:51
    |
161 |                         screen.quick_draw(|fb| fb.draw_line(from, to, 3, color::BLACK));
    |                                                   ^^^^^^^^^ method not found in `&mut Framebuffer`

error[E0599]: no method named `fill_circle` found for mutable reference `&mut Framebuffer` in the current scope
   --> src/app.rs:165:51
    |
165 |                         screen.quick_draw(|fb| fb.fill_circle(to, 20, color::WHITE));
    |                                                   ^^^^^^^^^^^ method not found in `&mut Framebuffer`

error[E0599]: no method named `draw_line` found for mutable reference `&mut Framebuffer` in the current scope
  --> src/ui/canvas.rs:51:30
   |
51 |         canvas.framebuffer().draw_line(
   |                              ^^^^^^^^^ method not found in `&mut Framebuffer`

error[E0599]: no method named `draw_line` found for mutable reference `&mut Framebuffer` in the current scope
  --> src/ui/screen.rs:62:16
   |
62 |             fb.draw_line(
   |                ^^^^^^^^^ method not found in `&mut Framebuffer`

error[E0599]: no method named `clear` found for struct `Framebuffer` in the current scope
   --> src/ui/screen.rs:212:17
    |
212 |         self.fb.clear();
    |                 ^^^^^ method not found in `Framebuffer`

error[E0599]: no method named `fill_rect` found for mutable reference `&'a mut Framebuffer` in the current scope
   --> src/ui/screen.rs:346:21
    |
346 |             self.fb.fill_rect(
    |                     ^^^^^^^^^ method not found in `&'a mut Framebuffer`

warning: an associated function with this name may be added to the standard library in the future
   --> src/ui/text.rs:379:52
    |
379 |         for token in text.split_ascii_whitespace().intersperse(" ") {
    |                                                    ^^^^^^^^^^^
    |
    = note: `#[warn(unstable_name_collisions)]` on by default
    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
    = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method

warning: unused import: `std::hash::Hasher`
  --> src/ui/widget.rs:10:5
   |
10 | use std::hash::Hasher;
   |     ^^^^^^^^^^^^^^^^^

warning: unused import: `Coordinate3D`
  --> src/ml.rs:10:30
   |
10 | use flo_curves::{Coordinate, Coordinate3D};
   |                              ^^^^^^^^^^^^

Some errors have detailed explanations: E0282, E0432, E0433, E0599, E0603.
For more information about an error, try `rustc --explain E0282`.
warning: `armrest` (lib) generated 5 warnings
error: could not compile `armrest` due to 18 previous errors; 5 warnings emitted

Odd! Those errors look like you're using an incorrect version of the libremarkable library, though if you're building armrest the version should be specified by Cargo.lock.

After I build with the cargo command

Which cargo commands have you tried? Do they run successfully?

i try to run the build-rm.sh script and I receive some errors.

Are you running it in this directory? Or have you added armrest as a dep in your own app?

Hello!
The cargo command I tried is : " cargo build --release --target armv7-unknown-linux-gnueabihf $@ " and has ran successfully.
I ran the build-rm.sh script in its directory.
Regarding the libremarkable version I checked it and in the Cargo.lock the version specified is "0.6.1" and the same version is in Cargo.toml file in ../libremarkable directory.

Hmm, it's odd that those two commands would give you different behaviour.
In any case, I've been able to reproduce some of the errors you're seeing! I've pushed a few more changes to master... mind pulling those down and trying again?


add crosslink to advanced topic

Not the strongest fix, but adding a crosslink should help some.
Closes #1336
Signed-off-by: LRubin<EMAIL_ADDRESS>

Thanks, @sanscontext :)


cookbook?

i've started again with highland.js after becoming aware of it like six months ago. back then i had a hard time grasping the usefulness of the entire concept; in the meantime, i've building up pipedreams, a streaming library of my own that mainly provides utility stuff and ways to cope with some rough edges in the event-stream API. that said, it's in sort of a neglected state because deadline on other stuff. but streaming with pipes is great! this technique has greatly helped me, and when things went wrong and i was at a complete loss i struggled for days to fix that—always feeling the effort was worth the while. now i want to give that pipedreams thing a thorough overhaul (any maybe base it on highland.js); coming back i realize how difficult a lot of the highland sample code is for me to dig. it's also somewhat discouraging to search google for highland.js; you basically always get the same small set of URLs no matter what you asked for as long as the string highlandjs appears in the query.
so what i'd suggest is a cookbook of sorts that shows how to do things the streaming way. i have one single example for this in a note-to-myself style how-to; unfortunately, that code is pseudo, so i still want to make it so it becomes a self-contained minimal working example (MWE) which i think is what cookbooks should provide.
i think the first few paragraphs to The introduction to Reactive Programming you've been missing reflect my feelings here quite well. let's make it easier to get started!

I had the exact same thought. In fact, I asked this question on Quora yesterday:
Is there a website showing a comparison between imperative and functional approaches to solving common programming problems?
Some similar concepts:

CoffeeScript Cookbook
Rosetta Code

Rosetta Code uses MediaWiki, while the CoffeeScript Cookbook is hosted on Github (which I would prefer).
For JS it would be cool to see comparisons between the popular functional streaming libraries including Bacon.js. Highland.js and event-stream, as well as LiveScript, Haskell, Scala, Clojure, etc.

a cookbook of sorts that shows how to do things the streaming way - yes, great idea! Would the thing you have in mind be general to streams, or tailored to highland specifically?
A couple related issues: #28 #34. In short - there exists a fair complaint that Highland's examples are often a bit thin, and there aren't many examples of how two or three or four different functions fit together nicely. There are quite a few decent examples floating around here from various discussions, but a place to bring them together and make new ones would be valuable.
One option I like is an examples/ folder on the repo, with fully-independent examples as described in this comment. We could then do a sort of 'Highland Cookbook', either completely auto-generated from that folder, or based heavily on it, pulling in source files etc.
I also like the idea of a comparison sheet, but I'm not sure if it makes sense to do that before we have a collection of examples/operations to compare; maybe something for down the road.

@LewisJEllis "Would the thing you have in mind be general to streams, or tailored to highland specifically?"—i'm thinking of highland specifically, but then i'm moving over from event-stream, and combining the two and maybe highlighting some API differences would be great.

I think this blog post is the closest thing.

Love the idea of adding an examples directory to the repo - I'm also happy to help add some async->highland examples if people think that would be useful? If anyone can point me at some async code that would be good to convert that would be nice.

#171, #192, and this blog post are related. Not sure about any actual (not just examples) code, though, other than that async cookbook post.

+1
Yes, please, I have been a devotee of your async lib from pretty early on, and seeing how some common behaviours would be performed using async vs highland would be really helpful.

:+1:

+1
Highland is powerful and the world should know it

:+1:


Window objects cannot be compared to each other

In Vim I would expect the following print True:
python import vim; print vim.windows[int(vim.eval('winnr()')) - 1] is vim.current.window

. But in NeoVim I can neither use the above code nor compare window.number attribute. This attribute is present at least since vim-7.0.112. Tabpage objects are missing this attribute as well.

fixed except for the number part (#87)


Onyx 15266

Desired Outcome
Run tests against Conjur Enterprise
Implemented Changes

Provision master and follower
Setup policies
Set variable values
Put root.yml in the conjur-intro folder to access
Fetching SSL certs via client
Fetching admin API key from enterprise Conjur
Recreating conjur CLI with admin credentials
Configuring enterprise Conjur via CLI
Fetching Ansible master host credentials from enterprise Conjur through client
Get Access Token in client
Run Ansible container with env variables
Load env variables and run existing nine test_cases

Connected Issue/Story
Please find below Ticket/branch names , these tasks are completed .
ONYX-15261
ONYX-15263
ONYX-15264
ONYX-17971
ONYX_15266
Definition of Done
Deploy Conjur Enterprise in Docker and test Test Cases against Conjur Enterprise . It should be confirmed in Jenkins .
Changelog

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[x] This PR includes new unit and integration tests to go with the code
changes, or
[ ] The changes in this PR do not require tests

Documentation

[x] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[ ] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[x] These changes are part of a larger initiative that will be reviewed later, or
[ ] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[x] These changes are part of a larger initiative with a separate security review, or
[ ] There are no security aspects to these changes

These scripts are a great start. Left some review comments below.
We might want to test the Conjur Host Identity role against Enterprise as well, for full coverage - right now, we're only testing the Lookup plugin against Enterprise.

Hi John, Please talk once regarding this .


Task list for v1.09

[ ] Massive process detection and monitoring rewrite.
[x] Some minor improvements for EGS detection and handling.
[x] Optional: implement a PreGameLaunchWait option for use when not calling a launcher.
[x] Deprecate CommandlineProxy feature (how many people even used this?)

I'm nearing completion on the new asynchronous event-based process detection and monitoring system going into v1.09. These changes will need lots of testing so I'll likely make a pre-release test build in the next few days depending on how much time I have.

I've gotten sidetracked with refactoring of the config file handling code. It's in dire need of an overhaul. I'm still testing the process detection and monitoring system.

Rewrite is 99% done. Just need to write unit tests and squash some async bugs in LaunchLogic before I push out a pre-release beta.

I'll be testing an experimental process tracking system for v1.10. I thought I would have time to implement and test it over the weekend, but this is not going to be the case. I'll finish up writing unit tests for the new config handling code and push a pre-release.

Change of plans. It looks like I need to implement child process tracking in order to solve issues with Diablo 3 and EGL games. I'll also be adding automatic config migration to prevent loss of data for pre v1.09 configs.

Tracking of process (grand)children is in, now just "legacy" (pre v1.09) config migration left to go. I'll probably constrain this migration to existing Path/Arg variables. The new timeouts in v1.09 generally give a better experience for most users, so overriding them makes sense I think.

Both sets of non-standard launching bugs should be fixed in build v1.09c. I've tested against: Diablo 3 (Battle.net), Dauntless (EGL), Apex Legends, and AC: Odyssey (Steam -> UPlay). All check out. I'm just running through some final tests before I push the next build.

I'll give v1.09f a few more days of testing in pre-release before I move it to a full release build. I'll go ahead and close this task ticket now since I'm not aware of any blockers before release.


adding xtensor to rosdep

arch: https://aur.archlinux.org/packages/xtensor
fedora: https://src.fedoraproject.org/rpms/xtensor
ubuntu:

Jammy: https://packages.ubuntu.com/jammy/libxtensor-dev
bionic: https://packages.ubuntu.com/source/bionic/xtensor
focal: https://packages.ubuntu.com/focal/xtl-dev

debian: https://packages.debian.org/sid/main/xtensor-dev
Needed for a new Nav2 controller in the works

From the log:
Error: Package 'xtensor-dev' could not be found for debian buster on amd64
Error: Package 'xtensor-dev' could not be found for debian bullseye on amd64

Indeed, if you take a look at the dashboard link you have in the PR description, the package isn't available for any of the Debian releases that ROS targets.
Since the package isn't available for any released Debian versions, I think it should probably be omitted.

Done
Thanks for pointing that out, I was looking at the logs near the error message, I didn't even think to look at the header :facepalm:

Removed xtl from Focal, I've found this is not the full same package so it doesn't count as xtensor

@ivanpauno could you please take a look at this one ? LGTM


Physical Flow People Involvement: Unable to display People Involvements

Description
It doesn't look like we can display People Involvements on the Physical Flow page. We can add them via the UI, but they do not display.
We can work on a fix

We think this worked when we added the feature a few releases ago, but it does not look like it works anymore. I didn't do a full trace to see if it recently broke or maybe if there were issues from the start. Either way, it's not working at the moment
https://github.com/finos/waltz/pull/6855
Waltz Version
1.57
Steps to Reproduce

Add a Person Involvement to a Physical Flow

Check the 'involvement' table to confirm the entry was added

Try to add it again and you'll get a message that it may have already been added

Refresh the page to view the entry, but it does not display; console shows an error

Expected Result
You should be able to view the involvements that were added
Actual Result
Refresh the page to view the entry, but it does not display; console shows an error
"ServiceBroker::loadData - InvolvementViewService.findAllInvolvementsForEntityByDirection: Server Error - Generic Exception: Cannot determine table fields for entity kind:PHYSICAL_FLOW /"
"Possibly unhandled rejection: {"data":{"message":"Generic Exception: Cannot determine table fields for entity kind:PHYSICAL_FLOW

The error message originates in waltz-data/src/main/java/org/finos/waltz/data/JooqUtilities.java
So I think it's just a matter of adding a case for PHYSICAL_FLOW to make the table available, but it will take some dev work and testing

Thanks for the fix!


Discord Web-hook not working

I have passed the url to the config file but when you run the tool nothing is passed to discord as though the webhook doesn't register, any idea the issue?

I want to see if the other logger queue consumer is working
So try  --log debug
, and look for the log file in your config folder

ok will check that shortly and get back to you

Oh did you pass
--discord normal?

Oh did you pass --discord normal?

I tried that it didn't work, I just tried it again and it started to work again.


Bottle O' Hyper Enchanting not dropping experience when broken

Minecraft Version
1.20.1
Describe the Bug
Bottles of Hyper Enchanting do not drop experience when broken, but the experience inside them can be harvested with an item drain and a pump.
Reproduction Steps
Break a Bottle o' Hyper Enchanting.
Expected Result
I was expecting for the bottles to drop experience
Screenshots and Videos
No response
Crash Report or Log
No response
Other Mods
No response
Mod Version
1.2.16

despite how this bug is maybe not given much showcase of the bug, it is true that this does in fact not drop experience orbs


[Bug] UNDEFINED instances when using 'StoryAbstractions' folder

Current behaviour:
When we have a folder layer called "StoryAbstractions" with re-usable instances e.g. DeviceCommunicationProgressWindow: a pre-wired pop-window, GALADE will not recognise it and set it as UNDEFINED.
Expected behaviour:
It will recognise on GALADE any instances within the 'StoryAbstractions' folder
Steps to reproduce:
Go to DataLink_ALA project's commit - 885b0f72 (Updated Application.cs summary) and try to open XRS2_Favourites diagram and the DeviceCommunicationProgressWindow instance will be undefined due to it being located in the 'StoryAbstractions' folder

Following the reproduction steps doesn't lead to any issues, so this might be due to something else. Will close for now.


Error when installing using official command

🐛 Bug
ERROR: torchvision 0.6.0 has requirement torch==1.5.0, but you'll have torch 1.6.0.dev20200413 which is incompatible.

To Reproduce
Go to: https://pytorch.org/get-started/locally/ and copy-paste the command provided:
pip install numpy
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html

Thanks for opening this issue!
This should (hopefully) be fixed with https://github.com/pytorch/vision/pull/2102


Seems pi-mqtt-gpio exclusively acquires pins

I have other software on raspberry, that uses pins too.
For instance, I have input-pin with pir motion sensor.
When I installed pi-mqtt-gpio, my soft does not receive interruptions from the pir pin more.
Now, I cannot find: is it true, that linux does not allow multiple interruption listeners

Do you use the same pin in different applications? This might not work. But different Pins in different applications should work, i guess.

I'd have to double check, but I seem to recall only one instance of the RPi.GPIO library being able to use the GPIO pins at a given moment. If the underlying library doesn't support concurrent access to the GPIO device, then there's not a lot we can do really. Happy to be proven wrong though!

This article suggests that multiple processes should be able to access the RPi GPIO simultaneously, so I'll add this to the list of things to review before the next release.

Hmm, I've tested this out using two instances of pi-mqtt-gpio on the same pi, with different MQTT client IDs, configured to look for the same pin interrupt and it works fine. I get both interrupts reported:
# I sent this message to turn on an output
pimqttgpio/test/output/jumper_output/set ON

# Both instances responded to say that the output had turned on
pimqttgpio/test/output/jumper_output ON
pimqttgpio/test/output/jumper_output ON

# Both instances received and published the interrupt on the input pin that's
# electrically connected to the output pin with a jumper
pimqttgpio/test/input/jumper_input trigger
pimqttgpio/test/input/jumper_input trigger

I can't speak for your other application, @a-x- but it seems like this one is able to share interrupts at the same time. I'll close this for now, but I'd be happy to see evidence to the contrary , if you can show us.


mime_type is not stored

According to the docs, any of the registered analysis methods can and will be stored as magic attributes. However, when storing a file image the attribute image_mime_type is not set.

that's because it's not an analyser method (imagemagick provides these: http://markevans.github.io/dragonfly/imagemagick/#analysers).
The other ones it sets are "name" and "size" (http://markevans.github.io/dragonfly/models/#magic-attributes)
Do you need it to be set for your use case?

Ah ok. It's not essential, no. Thanks :)


CLI Should NOT Render Decrypted Access or Refresh Tokens

Summary
sfdx force:org:display --verbose, sfdx force:org:display, and sfdx force:user:display commands all expose sensitive information which should not be easily decrypted, specifically Access Tokens and/or Security Tokens.
Quote from Refresh Tokens: When to Use Them and How They Interact with JWTs

Security considerations
Refresh tokens are long-lived. This means when a client gets a refresh token from a server, this token must be stored securely to keep it from being used by potential attackers. If a refresh token is leaked, it may be used to obtain new access tokens (and access protected resources) until it is either blacklisted or it expires (which may take a long time). Refresh tokens must be issued to a single authenticated client to prevent use of leaked tokens by other parties. Access tokens must be kept secret, but as you may imagine, security considerations are less strict due to their shorter life."

A bad actor could easily use the tokens to access an org and reset passwords, manipulate data, etc.
The leaked refresh tokens, may be used to obtain new access tokens (and access protected resources) until they are either blacklisted or they expires (which may take a long time)
The leaked access tokens may be used to manually set passwords via Dev Console, system.setPassword('005xx0000000XXX', 'passwordText'). Imagine admins getting locked out of their own org.

Rendering decrypted OAuth Tokens is not a feature, it is a practice that should be avoided with OAuth.

Follow-up: I reviewed the CLI with our security teams again and everything is working as designed. If a bad actor has access to the machine, consider this:  They could read every file you have access to, including tokens for every other CLI and SSL connection. They could rewrite every script and scripting language tool to do whatever they wanted. If they have more than user access, they could intercept and redirect every single request made on your machine.  They could capture every keystroke (and therefore password) on your machine.
This is precisely why we show warnings when installing CLI plugins not signed by Salesforce. More than that, you should be aware of this with every client-side tool you use. This is why IT restricts the use of certain tools. In addition, good security policies should be used on a Salesforce org using the principle of least privligaes and using extra measures and good practices with connected apps. And if all of that isn't enough, you can disallow the use of the Salesforce CLI in your organization (at least with the default connected app). If that is the case, you will probably want to disallow the use of every other major CLI (npm, was, azure, etc).


Basic Security Set Up for Microsoft 365

Article suggestion
Many Microsoft 365 tenants are set up by non-technical folks these days, especially in small to medium sized businesses. The platform provides so much functionality, across so many different Admin Centers, etc., that is is incredibly overwhelming.
One of the primary concerns these folks have is how to ensure good security basics right off the bat. They don't really want to think about or understand all the ramifications: they just want things set up "right".
What are the basic security settings someone should identify and check as part of start up? Which of those settings is typically configured in a way that typically is not "right"?
Inspired by a chat with @juliemturner and a Facebook thread from @TracyVDSchyff.
Articles like these are TMI:

Disable Basic authentication in Exchange Online
Enable or disable modern authentication for Outlook in Exchange Online

Can we build a good cheat sheet?

Hey @sympmarc, I can take this one :-)

Awesome! Can't wait to see what you come up with, @helloitsliam.

Love this. Thank you @sympmarc , this is very needed!!!

I know, right, @TracyVDSchyff? If there are things you're learning as part of solving your recent issues, please add them here so we can fold them in.
Now that you're here, do you have other ideas? If so, we'd love to have your expertise reflected in the repo! Feel free to grab an issue, contribute a blog post you've already written that may have larger appeal, add an article suggestion: whatever you can contribute.

@TracyVDSchyff  if you do have anything to share or things that you found as you go through the tenant, let me know. Will be putting together a list of items that should be looked at with starter configuration, so could help :-)

It will be great to hear the insights of real world use on what always has to be tweaked or what are the common scenarios small businesses have. We do have some guidance for small businesses already that's not the TMI articles cited above (geez @sympmarc you found the gnarliest articles! As you're putting together your checklist @helloitsliam, it would be great to reference what's already been covered, so we can keep adding on and not duplicate. Check out https://support.office.com/en-us/article/overview-of-microsoft-365-business-security-3274b159-a825-46d7-9421-7d6e209389d1 and anything else in the Small Biz content at https://support.office.com/en-us/smallbusiness that looks helpful. If it doesn't look like stuff you'd use with your customers, let us know and thanks for sharing your experience and knowledge in the Community Docs!

it's a great idea, I found the interesting Microsoft article that Top 10 ways to secure Microsoft 365 for business plans.
https://docs.microsoft.com/en-us/microsoft-365/admin/security-and-compliance/secure-your-business-data?view=o365-worldwide#10-protect-against-phishing-attacks-with-atp-safe-links

I am marking my comment here for feedback on this as I am so very interested in the outcome here.  Looking forward to it!

It will be great to hear the insights of real world use on what always has to be tweaked or what are the common scenarios small businesses have. We do have some guidance for small businesses already that's not the TMI articles cited above (geez @sympmarc you found the gnarliest articles! As you're putting together your checklist @helloitsliam, it would be great to reference what's already been covered, so we can keep adding on and not duplicate. Check out https://support.office.com/en-us/article/overview-of-microsoft-365-business-security-3274b159-a825-46d7-9421-7d6e209389d1 and anything else in the Small Biz content at https://support.office.com/en-us/smallbusiness that looks helpful. If it doesn't look like stuff you'd use with your customers, let us know and thanks for sharing your experience and knowledge in the Community Docs!

Agreed @pamgreen-msft, makes sense to align with existing content as much as possible. :-)

Also see #21 and the article submitted to cover it.


Preference Assessment Form Jumps

The preference assessment form sometimes jumps to the top when working on the bottom after selecting any option which is irritating from a UX perspective.
Presumably, this happens when the cursor is still in a text field at the top of the screen, then it keeps jumping back to that field.
Possible solutions:

Split the preference assessment into several steps using a stepper widget (in the same fashion as is done in the new patient screen). This might also improve the user experience since they user will not be overwhelmed with all questions at once. Additionally, this might help fix issue #28.
Remove the cursor from a text field after text input is done (i.e. "un-focus" the text field).

Fixed with flutter v1.7.8+hotfix.4 (could not reproduce)?


Add anyio dependency

Closes #66

You could consider adding the "Framework :: AnyIO" classifier to setup.py

This should also fix #91.

this looks great, test need fixing. I'll try to get around to it soon if you don't have time.

Done @samuelcolvin :+1:
Thanks for checking this PR! :)

thank you so much.

This does, unfortunately, introduce some type errors. Though I think these may be problems with anyio.
error: Argument "stop_event" to "awatch" has incompatible type "asyncio.locks.Event"; expected "Optional[anyio._core._synchronization.Event]"  [arg-type]


Update product description, problem statement, installation and usage instructions, and add a table of contents in README.md

Issue Descriptions

Product description: The current description of the project is insufficient and needs improvement to better convey its purpose and features to potential users and contributors.
Problem statement: The problem statement is clear and concise; however, the description could benefit from additional information to provide a better understanding of the project's goals and objectives.
Installation guide: The installation guide is lacking a clear prompt that explains what the code would do if the user follows the instructions, leaving the user uncertain about the outcome of their actions.
Usage Instructions: The current README file includes usage instructions for three different cloud providers which can be overwhelming for users and contributors, which might not provide a clear understanding of how to use the code. Additionally, there is no explanation of the code that was put there, which could lead to confusion or errors when trying to use the code.
Table of Contents: I would like to suggest adding a table of contents to the README for better readability and easier navigation for users. This will help users quickly find the information they need and navigate to the relevant sections without having to read through the entire document.

Proposed Solution

Product description: Rewrite the description to include a clear and concise overview of the project's purpose, features, and benefits.
Problem statement:  Expand the problem statement section to provide more information on the project's objectives, including the specific challenges it aims to address.
Installation guide: Add a clear prompt at the beginning of the installation guide that explains what the code will do if the user follows the instructions.
Usage Instructions: To make it easier for users and contributors to understand how to use the product, it would be helpful to reduce the usage examples to one cloud provider and provide detailed explanations of how to use the product before including the code. This will allow users to have a clear understanding of what they are doing and help to prevent errors or confusion.
Table of Contents: Create a table of contents at the beginning of the README, with clickable links to each section of the document. This will make it easier for users to navigate the document and find the information they need quickly.

Additional Information

This change does not affect any existing functionality or code; it only updates the README file.
The CONTRIBUTING.md file would also reflect these changes.

Hey, @Marzz29 glad to have you contributing to this.
Just a few comments and questions, I guess.

That one-liner description above the image of a Bifrost is actually in reference to the fact that Bifrost aims to provide simplicity and so does the description.

However, we can use the Problem Statement section to add more information as needed for anyone to get more clarity on what Bifrost solves.  A suggestion I think will be good for the problem statement is to provide two separate code samples for GCS and Pinata on how to upload a file to their storage in Golang using conventional means and they another code sample to show how Bifrost eases the steps.

There's really no prompt when you do a go get. Except if we're showing logs in the readme which isn't a necessity.

The usage instructions can be better, I agree. But the part of 3 cloud providers is actually going to remain 3 because we are trying to provide documentation for all providers and all methods of each provider since they might vary in a way. But I don't think we should put all the docs inside the readme. Instead, we can have the readme just contain documentation of how to mount a Bifrost bridge to GCS and how to use it to ship a file and then another guide on how to mount a Bifrost bridge to Pinata then we can have links to documentation for each provider. This means inside the package folder of each provider, we can have a file called doc.md which is a growing guide on how to mount a bridge for the provider and how to use each method available for such provider. All the methods actually...(UploadFile, UploadMultiFile, Disconnect, Config, IsConnected, etc...)

Yes, a table of content will do good as well. But this TOC should appear after the Problem Statement section.

I do help every of these make sense and provide more light to help us drive the project forward.

Hey @opensaucerer I'm honored to be contributing.
Thank you for clarifying the purpose of the description and for your input on the Problem Statement section. I will include separate code samples for GCS and Pinata in the README, as well as a code sample for how Bifrost simplifies the process.
I understand your point about including links to packages documentation and agree that it would be better to have a separate doc file for each provider in the package folder.
I would like to point out that I am not proficient in coding in Golang, I do not have the expertise to write code for uploading files to GCS and Pinata storage using conventional means. Therefore, I'm asking if I can use ChatGPT to provide the code samples.

@Marzz29 Of course, you can use ChatGPT for that and when you do open a PR, we can review it to ensure it's the right one and I can also provide code references as well.
Here's a Pinata guide
And here's a GCS guide


Error loading snapshot

snap = cogsworth.hydro.utils.prepare_snapshot("/Users/zzy/snapshot_600.hdf5")
{
	"name": "ValueError",
	"message": "Insufficient particles around center to get velocity",
	"stack": "---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
File ~/miniconda3/envs/cogsworth/lib/python3.10/site-packages/cogsworth/hydro/utils.py:47, in prepare_snapshot(path, halo_params)
     46 try:
---> 47     h = snap.halos()
     48     pynbody.analysis.halo.center(h[1], **halo_params)

File ~/miniconda3/envs/cogsworth/lib/python3.10/site-packages/pynbody/snapshot/simsnap.py:771, in SimSnap.halos(self, *args, **kwargs)
    769         pass
--> 771 raise RuntimeError(\"No halo catalogue found for %r\" % str(self))

RuntimeError: No halo catalogue found for '<SimSnap \"/Users/zzy/snapshot_600.hdf5\" len=35940848>'

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
Cell In[16], line 1
----> 1 snap = cogsworth.hydro.utils.prepare_snapshot(\"/Users/zzy/snapshot_600.hdf5\")

File ~/miniconda3/envs/cogsworth/lib/python3.10/site-packages/cogsworth/hydro/utils.py:55, in prepare_snapshot(path, halo_params)
     53     with warnings.catch_warnings():
     54         warnings.filterwarnings(\"ignore\", message=\".*units.*\")
---> 55         pynbody.analysis.halo.center(snap, **halo_params)
     57 # orient the snapshot face-on and side-on
     58 side_on = pynbody.analysis.angmom.sideon(snap, cen=(0, 0, 0))

File ~/miniconda3/envs/cogsworth/lib/python3.10/site-packages/pynbody/analysis/halo.py:336, in center(sim, mode, retcen, vel, cen_size, move_all, wrap, **kwargs)
    333     tx = transformation.inverse_translate(target, cen)
    335 if vel:
--> 336     velc = vel_center(sim, cen_size=cen_size, retcen=True)
    337     tx = transformation.inverse_v_translate(tx, velc)
    339 return tx

File ~/miniconda3/envs/cogsworth/lib/python3.10/site-packages/pynbody/analysis/halo.py:252, in vel_center(sim, mode, cen_size, retcen, move_all, **kwargs)
    249     cen = sim.gas[filt.Sphere(cen_size)]
    250 if len(cen) < 5:
    251     # very weird snapshot, or mis-centering!
--> 252     raise ValueError(\"Insufficient particles around center to get velocity\")
    254 vcen = (cen['vel'].transpose() * cen['mass']).sum(axis=1) / \\
    255     cen['mass'].sum()
    256 vcen.units = cen['vel'].units

ValueError: Insufficient particles around center to get velocity"
}

The snapshot from https://users.flatironinstitute.org/~chayward/fire2_public_release/core/m11h_res7100/output/, should be as same as in the example, but will go wrong.

Hi @Her00000, thanks for the issue, I think I know what the problem is, it comes from the configuration in pynbody that I forgot to mention in the docs sorry.
Could you please try creating a file called .pynbodyrc in your home directory with the contents of
[gadget-units]
pos: kpc a h^-1

[gadgethdf-type-mapping]
dm: PartType1

And re-run. Let me know if that fixes it!

According to your suggestion, I have solved the problem, thanks again.

This issue is flagged as part of the JOSS review #7400
I had the same problem and your solution solved it, so worth adding it to the docs.

Thanks for the reminder, I'll add this. I may also just add an error catch for this that points to the docs so it makes the error less confusing.


Introduce advance_domain_to_source()

Handle to let a domain advance all its inputs to its frontier.
This comes in handy when a source dictates the timestamps.

Done in 056142220b2a5a3a0689d85b6218f5388429acd0


How to insert the name of the browser in the text message?

Hi
I am trying to use your script as a standalone js to notify user that their browser is out of date. I am using the following. I want to insert the browser name in the html text message. I do not seem to have the option to do so. Please help
  var $buoop = {
    vs: {i:8,f:35,o:25.63,s:7,c:10},  // browser versions to notify
    reminder: 0,                   // atfer how many hours should the message reappear
                                    // 0 = show all the time
    reminderClosed: 150,             // if the user closes message it reappears after x hours
    onshow: function(infos){},      // callback function after the bar has appeared
    onclick: function(infos){},     // callback function if bar was clicked
    onclose: function(infos){},     //
    l: false,                       // set a language for the message, e.g. "en"
                                    // overrides the default detection
    test: false,                    // true = always show the bar (for testing)
    text: "You're using an old version of  BROWSER NAME HERE. We recommend you upgrade your browser for a better experience using this and other websites.";  // custom notification html text
    newwindow: true                 // open link in new window/tab
};
function $buo_f(){
 var e = document.createElement("script");
 e.src = "//browser-update.org/update.min.js";
 document.body.appendChild(e);

};
try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
catch(e){window.attachEvent("onload", $buo_f)}

This is already possible, we will update the documentation soon:
text: "",                       // custom notification html text.
Optionally include up to two placeholders "%s"
// which will be replaced with the
browser version and contents of the link tag.
// Example: "Your browser (%s) is
old.  Please update"
2015-06-05 7:14 GMT+03:00 sbha5516<EMAIL_ADDRESS>
Hi
I am trying to use your script as a standalone js to notify user that
their browser is out of date. I am using the following. I want to insert
the browser name in the html text message. I do not seem to have the option
to do so. Please help
var $buoop = {
vs: {i:8,f:35,o:25.63,s:7,c:10},  // browser versions to notify
reminder: 0,                   // atfer how many hours should the message reappear
// 0 = show all the time
reminderClosed: 150,             // if the user closes message it reappears after x hours
onshow: function(infos){},      // callback function after the bar has appeared
onclick: function(infos){},     // callback function if bar was clicked
onclose: function(infos){},     //
l: false,                       // set a language for the message, e.g. "en"
// overrides the default detection
test: false,                    // true = always show the bar (for testing)
text: "You're using an old version of  BROWSER NAME HERE. We recommend you upgrade your browser for a better experience using this and other websites.";  // custom notification html text
newwindow: true                 // open link in new window/tab
};
function $buo_f(){
var e = document.createElement("script");
e.src = "//browser-update.org/update.min.js";
document.body.appendChild(e);
};
try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
catch(e){window.attachEvent("onload", $buo_f)}
—
Reply to this email directly or view it on GitHub
https://github.com/browser-update/browser-update/issues/248.

Thanks.


Update _buttons.scss

If you do not specify a width, it will be dynamic

Please put more explanation to what this is fixing. Do you have an issue reference? if not, some reproducible code preferably in a codepen or something.


Pbtwrp : Display pb version at home screen

There is already a commit just about to merge into mainstream from ota branch https://github.com/PitchBlackTWRP/android_bootable_recovery/commit/ea5afba33147d2be136b1a515a1afb3a4383b0fe

@manjotsidhu ^

👍


works wrong

Tools makes some wrong

Affixes are all matched but tool show red dots
Idn why,how to fix it

Looks like there are multiple red dots on top of each other. Probably some green as well.
Could you make a screenshot of the other debug images as well?
Especially the one showing the detected affix locations.

Think I found it. It's because the Chinese font is very large.
See the orange arrow in my image? That distance is too big.

Will try to fix this in the next version. Around Friday/Saturday I think.

Maybe you can even solve it yourself if you create a new dot-affixes_1.png and dot-affixes_2.png.
Not working for you:

Might work:

Idea is to make it higher to match your font height.

i find new way too solve the bug

Nice workaround, that will work in a lot of cases. But not every affix will start with a "+".
I found another solution that should work for all cases.
Could you send me a fullscreen screenshot without any red/green dots? Then I can do some tests.

I found that this method does have some small problems

there are two pics

Could you send the complete ingame screenshot as well? Makes it easier to do some tests.

Thank you, will let you know when the new version is ready.

thank you.if i am free i'll snap some zh-cn in 3440*1440 res affixes

3440x1440_SLF_zh-CN.zip
that's zh-cn Tooltips & Types snappings in 3440*1440 res
what can help you to build localization

Thanks that preset made testing easier

Still working on a few other bugs, next version should be ready this weekend.

Regarding your tooltip images, you only need the shift one. Can delete all others.

Fixed in the v<IP_ADDRESS> release.

it seems not perfect

That is another problem caused by the affix location images.
You can ignore my previous example of the dot-affixes_1.png.
The image shouldn't contain as less background as possible.
Correct:

Wrong:

Wrong:

OK PERFECT I snapped and edit with Photoshop then it's working.

npc shop BUG
But the feeling will not affect the use

bag items bug maybe cause by height value

I have some ideas to improve it. Will try it in the next version.

Made some improvements in v<IP_ADDRESS>

1.1.6 seems more smart than before
fast response now
If there is a BUG, I will continue to report back.


Update Application Model

Application model needs to include the status key.

I just saw that AB already wrote the Status key. It is currently commented out but I will close this issue anyways.


Updated to Swift 4.2

Updated to Swift 4.2

@bluesource thanks, would you mind updating the podspec pod version as well, I think 1.5.0 would make sense

@krzysztofzablocki sure, just committed the change.

Thanks!


neurglancer is killed because of requiring too much memory

it causing the aw snap messages in chrome.
It might be related to
  downloadSucceeded() {
    // We can't easily determine the memory usage of the JSON manifest.  Just use 100 bytes as a
    // default value.
    this.systemMemoryBytes = 100;
    super.downloadSucceeded();
    if (this.priorityTier === ChunkPriorityTier.VISIBLE) {
      this.source!.chunkManager.scheduleUpdateChunkPriorities();
    }
  }

possibly related to https://github.com/seung-lab/neuroglancer/issues/93


add  program for  linear  search

Add a program of linear search in  c++ or python or in java  languages don't forget to read rules in readme all valid PR will be accepted

Try to write these program in java and python and c++

Can you assign me to write in java

you can send pr directly no need to get assign and before sending pr pls star and follow me for successful acceptance of pr


Feature/file selection

added the new file type, which is able to multi-select files. See the extended example preferences for config.

TODO:

[ ] Test
[ ] add usage to README
[ ] update CHANGELOG

closes #55

@lacymorrow FYI. Fixed your PR remarks and added the ability to have multi selection for a directory as well.
Closes #81

Merged. FYI @lacymorrow I've had some issues with my OCD with the linting settings, changed these things:

No spaces between parentheses
Always end with semicolon


Release Build failed due to verifyReleaseResources

Execution failed for task ':audio_waveforms:verifyReleaseResources

duplicate of #50

duplicate of #50


Updated place order method in strategy enter position method.

Please check and update issue

Let's close the discussion on the issue first.

Closing this PR as the connected issue could not proceed further.


chore: use example link to specify the directory

thanks for this.
can we merge this pr? :)

can we merge this pr?

Merged


Make doc for password more explicit, group options logically

It may be obvious to some, but I think there's some value in making it more explicit that the password required here is for the remote shadowsocks server and not for a connection to the local proxy. Furthermore, I would suggest moving the password in the form closer to the remove server info, to group them a bit more logically.
I am aware that the shadowsocks local config JSON has the same order of the fields as the form currently does, but regrouping makes it clearer in my view what the password is for. And then you could argue somebody who doesn't know what the password is for is probably not "fit" to use shadowsocks in the first place anyway.

ok for me, I'd remote at
FYI: the move inside the xml has no effect.

FYI: the move inside the xml has no effect.

Why not, it is in the form correctly, not the model?

Why not, it is in the form correctly, not the model?

Would also be my understanding, hence the move.

@mimugmail ping :)

Merged, thanks! ❤


How to delete unused data and scripts from other providers so that the code is clean?

Shopify shopify If I use shopify, how do I delete all the data and scripts from other providers that are not needed to work with shopify???

You can delete what's in the packages folder but we don't use that code at compile time :) Nothing extra gets shipped!


Fix telemetry span not entering properly & enter span in sc-cli

The span was not entering for all the background tasks properly.
Related to https://github.com/paritytech/cumulus/pull/301#discussion_r561880630
Polkadot companion: https://github.com/paritytech/polkadot/pull/2336

Voila, now I think it's perfect :ok_hand:  I wish I would have thought of that earlier :grin:
Review requested

Voila, now I think it's perfect :ok_hand:  I wish I would have thought of that earlier :grin:
Review requested

@bkchr can you approve the polkadot PR? https://github.com/paritytech/polkadot/pull/2336

@bkchr can you approve the polkadot PR? https://github.com/paritytech/polkadot/pull/2336

bot merge

bot merge

bot merge

bot merge


Fetch real CPU cache values for Conv2DCustomBackpropInputOp kernel

This brings about from 4%/5%/7% speedups on cifar10 runs on an
Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz for
MKL-DNN/Eigen-AVX512/Eigen-AVX2 builds, respectively.

Seems fine to me, but Andy added the TODO, so he should review.

It seems that @penpornk has tried this change and seen performance regressions due to it.

I did similar changes last May in conv_grad_filter_ops.cc https://github.com/tensorflow/tensorflow/commit/398a62037eb5f0aa049d3243818d16f2b3a10dec. I saw 10% latency regressions in several benchmarks and reverted the changes in June  https://github.com/tensorflow/tensorflow/commit/261ab05537885556f92d7322017ddf73ea5a7357.

Oh wow, curious. It would help if those were listed on the revert commit, though. Thanks, back to the drawing board here, then.


HigherOrderExtendTypeProvider

I managed to make these tests green. A bit dirty solution, but it works. I've added Service annotation and projectService EP in the plugin.xml. They didn't want to work without it. You can remove them...

Amazing work @adelf! Thanks so much for building this!


Asl

Just for CI; we need other changes first.

Core -> Full Integration Build 13044 outcome was UNKNOWN using a merge of a303702255bdca820678db87153f9191a5ea6158
Summary: Canceled (Tests passed: 4520, ignored: 64; exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 01:12:28

Core -> WildFly Preview Integration Build 12902 outcome was UNKNOWN using a merge of a303702255bdca820678db87153f9191a5ea6158
Summary: Canceled (Tests passed: 2551, ignored: 22; Step 5/6) Build time: 01:13:12

Core -> Full Integration Build 12821 outcome was UNKNOWN using a merge of a303702255bdca820678db87153f9191a5ea6158
Summary: Canceled (Tests passed: 3801, ignored: 50; Step 5/6) Build time: 01:13:16

Superseded by #5683


java.time.* from Java 1.8 is missing

Java 8 has number of convenient Date & Time classes modelled on Joda Time. Would be great to be supported in Scala-JS.
Examples:
java.time.LocalDate
java.time.Period

This requires a huge amount of work to port a BSD- or MIT-licensed implementation of those to Scala. The core team doesn't have the manpower to work on this, but PRs are welcome!

Thanks for looking and keeping it open; I didn't expect an overnight solution to this. But I have an idea / doubt:
Is it possible to provide parts of the Java standard library as a separate Scala JS library? Will that help with the license restriction? (I am assuming there is some automated way to translate existing Java code / Java-byte-code to a Scala-JS compatible library).

Oh yes, you can certainly provide parts of the JDK as separate Scala.js libraries. You just have to configure the build not to bundle the .class files into the .jars, but only the .sjsir files.
There is no automated way to translate Java to Scala.js per se. I know there are a few Java-to-Scala converters out there, but they are known to be imperfect at best. If the Scala code does not depend on other non-supported parts of the library, then they should work with Scala.js out-of-the-box.

@hrj you might be better of writing a scalajs interface to something like http://momentjs.com/ (or using it adhoc as js.Dynamic)

@rparree Thanks for the suggestion, but no, I want to share this code on server and client sides, so that I can be sure they are computing the same results, among other reasons.

Gotcha..i am in the same situation. At this point i am using JSR 310 on the server and momentjs (via some partial traits) on the client (so had to make different case classes for client and server for this feature)

Dumb question: What does the license have to do with it?

I was about to start using scala.js but would specifically need this.

Joda-Time has an Apache license.  Since Apache Harmony has a compatible license, does Joda-Time?

Yes. Joda-Time would have a compatible license. But since it would probably be best to port it in a separate project anyway, this would not really matter.

Maybe I misunderstood, but a separate project wouldn't help people using java.time — right?

No. But someone could implement Joda-Time in a separate project. This would also allow people that still use JDK{6|7} to use it.

Wait what? People who still use JDK{6|7} can just use Joda-Time directly.  Plus, this ticket is about java.time.* support.

As a side note, I am currently working on porting joda-time to Scala/Scala.js. Its already been entirely converted to Scala, I just need to split out the relevant sections and implement stuff like java.util.Locale (also waiting on implementations of `java.util.Arrays and whatnot)
I used http://javatoscala.com/, but its definitely far from perfect, and a lot of code I have had to manually alter/rewrite. Also, there are a lot of constructs that Java has, which Scala doesn't have, which include

labels/break to label
high performant for loop (you can convert this to a while loop thankfully)
break (there is scala.util.control.break._), need to verify this works correctly. Test cases should show this
Nuances in super/constructor (joda-time makes heavy use for this).

And joda-time uses Apache License

@mdedetrich Just a quick note: The Scala.js optimizer will inline foreach into while loops, so you don't have to change them yourself.
We can't port java.time.* using a converter due to licensing issues.

@gzm0 Thanks for the heads up!
Also regard java.time.*, I assume a clean room implementation is perfectly fine? In which case, it would definitely be a lot of work.
Note that I am not a lawyer, but even if you do use converters, none of them will produce 100% correct Scala, so you will always end up heavily altering any converted code

Clean room implementations are fine, of course. That's what we do all the time.
Even if you rework the code produced by a converter, it's not a clean room implementation, though. So yes it's a lot of work.

Cool thanks for letting me know

Hey guys, just letting you know that I have done an early release of Soda-Time, link is here https://github.com/mdedetrich/soda-time. Its still alpha quality, but since a lot of people were asking for it, I released it early

Nobody seems to have mentioned it, but maybe some of you guys know about it: most of the code from jsr310 is actually BSD licensed, it was GPLed after a lot of initial work for its inclusion into the openjdk. I guess the original BSD code can still be found, but what can be of special interest for people who want to take a stab at a Scala.js implementation is that the author of the joda time library took the original BSD code and created a backport for jdk6-7: https://github.com/ThreeTen/threetenbp. Also, by doing a very quick comparison, it seems the GPL code in openjdk is very close to the backport code, so there actually exists a good and robust BSD licensed java lib which implements parts of the jsr.
I am no expert in licenses but I think it is compatible with Scala.js, maybe someone can confirm that.
If this is the case, then it could help people who want to make or review PRs on this issue. For example I see that @ummels did not implement Duration.parse maybe because the parsing is tricky, but the regex used in the openjdk: https://github.com/openjdk-mirror/jdk/blob/jdk8u/jdk8u/master/src/share/classes/java/time/Duration.java#L151, is actually BSD licensed https://github.com/ThreeTen/threetenbp/blob/master/src/main/java/org/threeten/bp/Duration.java#L119, so I guess using it would not violate the Scala.js license (again I might be wrong, so a confirmation would be great, and an additional check should be done for regex since semantics change from java to js, though without unicode class this one seems fine).

@niladic I'm on it. I converted roughly half of it, it's not a big deal with IntelliJ's "Convert Java to Scala" refactoring.

This is now addressed in a separate repo:
https://github.com/scala-js/scala-js-java-time
See also #2039 for an alternative implementation, which is still worth discussing.

Anyone stumbling across this, scala-java-time currently seems to be one of the more compelling options. https://github.com/cquiroz/scala-java-time


Add --host option

Is your feature request related to a problem? Please describe.
I'd like to expose my dev server to other machines, so wish to bind to <IP_ADDRESS> and not localhost.
Describe the solution you'd like
Add a --host option (along side existing --port option).
Describe alternatives you've considered
Port forwarding is butchered on WSL; don't want to deal with it now.
How important is this feature to you?
Somewhat.
Additional context
node_modules/.bin/svelte-kit dev --help

  Description
    Start a development server

  Usage
    $ svelte-kit dev [options]

  Options
    -p, --port    Port  (default 3000)
    -o, --open    Open a browser tab  (default false)
    -h, --help    Displays this message

you can get it bound on <IP_ADDRESS> by editing svelte.config.cjs and configuring vite, like so:
// svelte.config.cjs

module.exports = {
  kit: {
    vite: {
      server: {
        host: '<IP_ADDRESS>'
      }
    }
  }
}

All available options are documented here https://vitejs.dev/config/#server-host

I think svelte-kit dev --host fake.domain.com --open should replace http://localhost:3000 with http://fake.domain.com:3000.
Its good to have, when developing with third party libs, that require a "real" host.

you can get it bound on <IP_ADDRESS> by editing svelte.config.cjs and configuring vite, like so:
// svelte.config.cjs

module.exports = {
  kit: {
    vite: {
      server: {
        host: '<IP_ADDRESS>'
      }
    }
  }
}

All available options are documented here https://vitejs.dev/config/#server-host

@srid Can you confirm this helps you achieve your goal?

Yea, that syntax will work for me too. I don't use svelte at the moment, so can't confirm if that actually works though. If it works, feel free to close this issue.

you can get it bound on <IP_ADDRESS> by editing svelte.config.cjs and configuring vite, like so:
// svelte.config.cjs

module.exports = {
  kit: {
    vite: {
      server: {
        host: '<IP_ADDRESS>'
      }
    }
  }
}

All available options are documented here https://vitejs.dev/config/#server-host

@srid Can you confirm this helps you achieve your goal?

I tried it and didn't help :/


fixes : Hacktoberfest section doesn't works in normal theme [fixes #56]

Related Issue

Hacktoberfest section doesn't works in normal theme [fixes #56]

Proposed Changes

Change 1
Chnage 2

Additional Info

Any additional information or context

Checklist

[x ] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the documentation.
[ ] 🎀 I have updated the documentation accordingly.
[x] 🌟 ed the repo

[ x] 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)

[fixes #56]

Output Screenshots

Screenshot #1
Screenshot #2

Title goes here
Title goes here

Image goes here
Image goes here

Please try to merge before any merge conflicts occurs !


Home Dashboards Device Virtual Servers - Scale update for VS CPU and VS ASM CPU

Describe the bug
Chart scaling needs updated please under Device Virtual Servers.  This was noted during the lab development for the tool.
To Reproduce
Need a BIGIP with a VS handling enough traffic to report CPU utilization viewed via: tmsh show ltm virtual X
Go to: [Home] > [Dashboards] > [BigIP - Device] > Device Virtual Servers
Review the Device Virtual Server CPU Chart and the ASM CPU Chart--the scale is incorrect.
Edit the Virtual Server CPU Utilization chart.
Under Standard Options correct the unit to: Percent (0-100), then change the Min to 1 and the Max to 100 to correct the scaling.
Edit the Virtual Server ASM CPU Utilization chart.
Under standard Options correct the unit to: Percent (0.0-100)
Screenshots
Prior to my changes:

After I made the updates:

Desktop (please complete the following information):
OSX FF
Additional context
Internal UDF environment available for repro

This issue also appears on the Top N page.

Thanks for the info! We will get that updated.

Fix in #64

Complete, v0.7.1


Update MKE Mayor (Cavalier Johnson)

Was re-elected in a special after being appointed temporarily after Barrett resigned.

@NewAgeAirbender Let me know if I should ping anyone else on these, otherwise perhaps we could get a CODEOWNERS that selects the right people for review?

I'm the right one to ping now, but I didn't know about the CODEOWNERS option so will look into that and probably set it up.


Live mode?

Hey,
Really cool tool:)
Will you add a live mode like in glslViewer, so midiGyver will catch when you edit and save the yaml file?
This will make it easier to adjust mapping on the fly, instead of having to restart midiGyver.
The use-case is is to change the mapping from [0, 1] to [-1, 1] to change an input from colors (rgb) to position (xyz).
I realize now typing this, that I can just plus 1 and divide by 2 in my shader or improviz code, but it would still be neat to have in midiGyver.
Best Søren Peter

Hi! Thanks!
I don't know what version are you running but I'm happy to inform that the current version on master have hot-reloading on save : )
Please keep reporting ideas or features you want to see!
All the best
Patricio

I think compiled it on macOS on august 11. I will try to update to the newst version. Will you maybe add it MidiGyver to homebrew like you did with glslViewer to make it easier to install?

Someone did that integration... actually I should check that out because seams to be building an older version.
If you would like to help with that would be awesome. I stop using MacOS at all, so some help there will be super appreciated.

How it went?

just trying out the homebrew version...

Sorry, thjat was confusing. GlslViewer is on the Homebrew... but someone else add it
MidiGyver is not as fat as I know

but compiling from source was just as easy as last time, and the live mode works now:)

yay!!

ah gotcha. I can look into making a brew formular for midiGyver

are you going to make more releases here on github? only one is from august and according to the brew guidelines it will only be accepted if it has a stable, tagged version (i.e. not just a GitHub repository with no versions) https://docs.brew.sh/Formula-Cookbook

oh interesting.. I'm going to make a new realize tag soon. With the hot reloading, UDP out and out to virtual MIDI port.
Still testing and making sure that the YAML format makes sense. I'm making a sequencer from a nanoKontrol2 midi controler https://github.com/patriciogonzalezvivo/MidiGyver/blob/master/examples/sequencer.yaml as a test case. Let me know what you think about it

hmm an easier "solution" than creating and maintaining a homebrew formula would be to just add the install steps for macOS
brew install cmake download and unzip -> Compile and Install

Ok, I made a new release with the documentation you point out https://github.com/patriciogonzalezvivo/MidiGyver/releases/tag/0.8


Deal with null values in vocabulary tables

We ran into a case where a null value in an integer table was recorded as "" in the CSV file, which then generated a complaint about not being able to write a string into an integer column when doing create-vocab.

There might be a DictReader option for this.

I think we may have to move away from CSV. Quoting the docs:

To make it as easy as possible to interface with modules which implement the DB API, the value None is written as the empty string. While this isn’t a reversible transformation, it makes it easier to dump SQL NULL data values to CSV files without preprocessing the data returned from a cursor.fetch* call. All other non-string data are stringified with str() before being written.


Resolve 850 issues

Since I can't re-active 850 in a way that Zube will see I'm using this bug as a surrogate for 850. Please see my comments in https://reviewable.io/reviews/thaliproject/thali_cordovaplugin/850#- and please submit a new PR to fix them. The best outcome would be if the PR was to vNext (since we just need Java changes plus a minor Node change) but if that is too painful then please submit the change to vNext_yarong_417_812.

We have run the PR for this multiple times in CI and they passed but sometimes but they have failed and so @mlesnic wants to run it a few more times to be sure and then he'll create a new clean PR and submit that for review.


Bump deCONZ to 2.13.04 beta

Hi. Version 2.12.04 isn't a beta but a stable. So this PR should have also changed: "channel": "stable".
See: https://github.com/dresden-elektronik/deconz-rest-plugin/releases/tag/v2.13.4

@KebapBoy thanks for the tip, fixing it in #58


react-redux v7 useSelector not re-render

This code used to work in react-redux v7.1.0
This is my demo.
https://codesandbox.io/s/trusting-sun-07mrh
const todo = useSelector(state => state.todo); not re-render
const todo = useSelector(state => state.todo , () => {}); it's re-render

You're mutating in the reducer:
    case "add":
      const { todo } = state;
      todo.push(action.payload);
      return Object.assign({}, state, { ...state, todo });

That is not a proper immutable update.  Don't do that :)
I'd encourage you to ]use the configureStore() function from Redux Starter Kit](https://redux-starter-kit.js.org/api/configureStore), which will throw errors when you mutate.


Give role to user VB.NET

Tried searching forums, but i dont find nothing that works.
For example, i tried this, but it doesn't work Await DirectCast(message.Author, SocketGuildUser).AddRoleAsync("Testrole")

There is no such thing as AddRoleAsync("SomeRole")
It's either AddRoleAsync(RoleId) AddRoleAsync(IRole)``

How do I use AddRoleAsync(IRole) ?

You would need to fetch the role from somewhere first. Either by LINQing from the socket guild or by using the GetRole method.
Also, for non-erroneous issues, please visit us on the DAPI server instead of opening an issue.

Sorry, didnt know that the DAPI server existed. But how do I use GetRole method?
Maybe I didn't explain what I mean with my question correctly, I want to give a person that puts a command, a role, but the bot will be used in 2 servers, so I can't get the id of the role, it should be by its name, and I also tested right now the GetRole method, but I think the syntax im using its incorrect

Found how to do it


Allow updating a client across a genesis restart

Closes: #1152
Description

This PR adds two optional flags to the hermes update client command which allow the update to retrieve blocks from a separate Node when updating a client.
The two flags are:

--archive-address
--halted-height

If one of the flags is set, the other must also be set.
Testing
It is possible to test this solution using the branch luca_joss/setup-with-gm from the forked repo, https://github.com/ljoss17/ICS-testnet/tree/main, with the following instructions https://github.com/ljoss17/ICS-testnet/blob/luca_joss/setup-with-gm/docker/TEST_RESTART.md

PR author checklist:

[x] Added changelog entry, using unclog.
[x] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[x] Updated code comments and documentation (e.g., docs/).
[x] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Excellent work! Thanks so much for figuring out how to test this properly and for the initial implementation! 🚀


Initialization of Large ADT in STAUTDEF

As I user, I would like to access individual fields in an ADT in the initialization of variable in a STAUTDEF.
For example, with
TYPEDEF Point ::= x1,x2, ..., xM :: Int ENDDEF
and p :: Point
I prefer
INIT
       x1(p) := 0;
       x2(p) := 15;
       ...
       xM(p) := 24

over
INIT
       p := Point(0, 15, ... , 24)

since I will get confused in counting the commas to determine that I am at the right field.

In Haskel one can write

In a model to TorXakis transformation, someone should keep track of the field position (and name) and initialize the values at the correct place. This can be quite tricky taking into account that users may initialize part of ADT field values, in different order. A solution to this would be that TorXakis would be able to support the first example that Pierre has mentioned:
x2(p) := 15;
...
xM(p) := 24
, where only specific fields are initialized of all the ADT type.

Note order of accessors / fields should be independent
One should also be able to write
          xM(p) := 24
          ...
          x2(p) := 15;
          x1(p) := 0;

I don't like the option
   x1(p) := 0;
   x2(p) := 15;
          ...
   xM(p) := 24

since it is not clear what would happen with uninitialized fields. That's why option
p{ x1 = 0; x2 = 15; ... ; xM = 24}

seems a superior alternative, since the user has to initialize all fields (albeit in an arbitrary order).

Someone could consider that the fields which are not assigned to values are uninitialized (null). Could give warning at parse level, when a value is not initialized. Moreover, when  a value of a field is not changed, the field value remains the same.
Giving an example:
Somewhere in the model someone would like to assign a new value to the x2 field. Then with the later option he should write:
p{ x1 = 0; x2 = 12 (new value); ... ; xM = 24}, which is not very handy, requiring to repeat value assignments, while increasing the code to be written/maintained.

On transitions using the same notation to change a field is indeed convenient.

We could support updating an initialized structure, but I would prefer not to have null values. If p is a data structure where all the values are defined, I see no reason why we couldn't support a workflow like:
p = Pconstructor {x0 = v0, ... x_{n-1} = v_{n-1}}

-- and upon update:

p = p { xi = vi }

Changed name to reflect Kostas' need not only to read a field (which maps nicely on an accessor function) but also to write to a field (where lenses are used in functional languages).
Kostas needs are cause by his desired to translate ComMa models to TorXakis models.
In ComMa field accessors are not mapped onto functions.
Just like in object oriented languages, it would be nice to have
both read myVar := p.xi and write  p.xi := 3.

Why should fields been treated different than variables? See issue #384 @capitanbatata

For ADTs with a single constructor the solution seems straightforward.
However for ADTs with multiple constructors it is less simple, especially when you also want to support #351.
Also for recursive ADTs there are some challenges.

Note: since
v.y := 13; v.x := 13 can be interpreted as
first assign to v the value made by constructor B and the y field has value 13 (other fields left unspecified)
second assign to v the value made by constructor A and the x field has value 13.
Maybe only an error can be considered when it is written as
v { y := 13, x:= 13 }
Furthermore, I don't know if we want to support change of constructors like
v { y:= x, z := 12}
which implicit changes the constructor from A to B


Correct paths in namespace macro

When the namespace! macro is used like this (2018 edition):
use sophia::namespace;

namespace!(...);

instead of using
#[use_macro]
extern crate sophia;

namespace!(...);

The macro throws an error because the ns_term! is not exported.
This PR fixes this issue by adding the absolute path to macro-calls inside the macros.

Thanks :)


Unexpected Error: bad character range e-b at position 5?

So everytime i try to add a folder to either version in windows 10:
1.6.0-alpha.0: Cole Cash
1.5.5: Scanlan Shorthalt
I get the following error:

I have tried:
To run them with administrator access.
Downloading the files again and unzipped them.
I even installed chocolatey and installed it from there.
Tried several different folders.
Tried moving one of the folders up to the root of the drive to see if maybe it was a folder path length issue.
Nothing I've tried has worked.
I have an older version, ComicTagger v1.1.15-beta that loads the folders just fine. but that version I noticed was actually installed to my program files (x86) folder. it's not a stand alone/portable .exe file like the latest 2 versions that i have tried have been. I'm not sure if that's related. i didn't try any older versions.
the newer versions do work on single comic books. just seems to pull this error if i try to add any folder.
Anyhow I'm not sure how to fix it and looking online didn't pull anything up. so I thought i'd post here.
Thanks,
-Dev

This bug happens because you have this [e-b] in the name of the file you are opening. As a workaround you can put your comics in a folder without brackets and have ComicTagger open the folder instead of the individual comic. A fix will be in the next alpha.

I read this . And we'd like no the folder and test folders don't have brackets the realized my main comics folder is: [Comics] but I do have a a lot of brackets in my folders to tidy them up.. Thanks for the fix in the next alpha release.


bug: emotion transform js panic when target chrome 40

problem
// index.tsx
import { css } from "@emotion/react";

const style = css`
  color: hotpink;
`;

{
  "emotion": true,
  "targets": {
    "chrome": 40
  }
}

panic
thread 'rayon thread 4' panicked at /swc_common-0.32.1/src/source_map.rs:1096:17:
position 0 does not resolve to a source location
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Rayon: detected unexpected panic; aborting
Abort trap: 6

root cause:
mako does preset_env first, then  plugin's transform_js
after preset_env,  css in template string losts its span info which will be replaced as (0,0) dump span ,
then emotion will panic while create source map for css content.


fix support jdk21

What this PR does / why we need it?
fix support jdk21
Summary of your change
Please indicate you've done the following:

[ ] Made sure tests are passing and test coverage is added if needed.
[ ] Made sure commit message follow the rule of Conventional Commits specification.
[ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Codecov Report
Patch coverage has no change and project coverage change: -1.69% :warning:

Comparison is base (b4aa396) 73.25% compared to head (4839031) 71.57%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1896      +/-   ##
============================================
- Coverage     73.25%   71.57%   -1.69%
+ Complexity    21544    20829     -715
============================================
  Files           646      634      -12
  Lines         87412    86675     -737
  Branches      19090    18887     -203
============================================
- Hits          64038    62040    -1998
- Misses        15462    16684    +1222
- Partials       7912     7951      +39

Files Changed
Coverage Δ

...a/fastjson2/internal/processor/JavacTreeUtils.java
0.00% <0.00%> (ø)

... and 83 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fixed stack overflow in UAVCAN process

Not sure when did this change, but the UAVCAN process now requires ~2100 bytes of stack instead of 1700 (tested with GCC 4.8 and 4.9). This changeset increases the UAVCAN stack to 2400 bytes, which fixes occasional crashes due to stack overflow.
At least f290650646e6b8feaec4e4e03c7b1d67f5100d95 should be cherry-picked into stable.
FYI @Aperture-Laboratories

Stable patched, beta updated, thanks!