JSON Conversion Spec

I didn't realize the Java Edition has an in-built mechanism that converts JSON <=> NBT, I thought the concept behind that was just a mechanic of users working with NBT data outside of the game itself, like with third-party projects like yours truly.
JSON and NBT - Minecraft Wiki
If this does have a specific intended behavior for converting to and from NBT and JSON primitives, then this is a spec that NBTify itself should also follow. As of yet, I decided to essentially only make safe conversions for working with JSON itself, without any implied value range inferences, say for example whether a value is small enough to fit inside of a TAG_Byte, that shouldn't dictate that it's type is indeed that size, because when the game loads that file, it might be expecting a different number type. This concept was worrisome to me, so I went with what seemed like the least opinionated route, where it would only convert types when they safely could assumed to be such. For example, going from JS booleans to TAG_Byte is okay, because this is what NBT itself does too. However, converting a TAG_List of TAG_Byte values to a TAG_Byte_Array doesn't seem as straightforward, so I don't do that.
If this behavior is expected though, then it is something that NBTify should allow for too. Personally, I think for general JSON out in the world, the current NBTify implementation for conversion works well for that, because it doesn't assume anything to be safe coming in. However, in an expected scenario of data coming in from the game, and you know where it's reading into (like player data for example), then if the game is okay with key-value pairs being of different types, then conversion doesn't seem to be much of an issue.

Discussions from Discord

Offroaders123
Right now I just cast to a broader type when converting to JSON, hence meaning the same data won't be the same data types after going through a file conversion.

// SNBT
{
  Hello: 0b,
  Nice: true,
  Hi: {
    Heya: [B;0b,1b,2b,3b,4b,5b]
  }
}

// ... to JSON
{
  "Hello": 0,
  "Nice": true,
  "Hi": {
    "Heya": [0,1,2,3,4,5]
  }
}

// NBT (represented here as NBT)
{
  Hello: 0.0d,
  Nice: 0b,
  Hi: {
    Heya: [0.0d,1.0d,2.0d,3.0d,4.0d,5.0d]
  }
}

Offroaders123
Part of my concern for what the Wiki describes doing, is that if the game expects a specific key-value to be of a certain type, sometimes it will invalidate the entire file if something isn't correct.

vhebert
Where is that stated?

Offroaders123
Of course you wouldn't want to mass-convert NBT files to JSON (and back), but I also don't want to make it seem like it should be done at all.

Offroaders123
One time I was editing the level.dat in Bedrock, and I set the type of one of the keys to something different by accident, and it didn't load the file.
I think it was NetherScale, but I don't remember for sure.
I have only made a few things to try editing those outright, and that was one of them.

vhebert
By that you mean the world itself didn't load?

Offroaders123
I did manage to open, but it either just made a new level.dat or it used the level.dat_old version instead.
Might need to debug this more, it was a little while back.
It was a surprise though.

Further discussions from Discord

vhebert
Java edition does sometime similar if certain information cannot be found, though in a lot of cases there's a fallback value the game typically refers to in those cases.
But I have not tinkered around with bedrock enough to test how they handle things.
But obviously you're going to need to preserve the type data in order for things to work when putting data back into minecraft.
Although, it is worth mentioning that you sometimes don't need to keep the typing depending on the context of the snbt.
Java edition commands, for example, will figure out the required type for a key-value pair implictily, as nbt is not defined by a type->value pairs, but by string->value pairs.

vhebert
For example:
/summon minecraft:creeper ~ ~ ~ {Health:1}
Will summon a creeper with half a heart of health. Health is TagFloat in java edition.

Offroaders123
So it does allow converting TAG_Int to TAG_Float implicitly?

vhebert
But I could just as easily do:
/summon minecraft:creeper ~ ~ ~ {Health:1L}
And it will still work the same as the previous command.

Offroaders123
Very interesting okay, I didn't know the premise of that.

vhebert
Commands typically use snbt, as that's what map makers have used for almost a decade to make command block stuff with.

Offroaders123
Now I'm curious if it does this same thing for NBT files, or if it will error when reading them.

vhebert
Yeah, I have not tested that. That would be interesting.
I'm inclinded to think it would not work.

Offroaders123
Yeah me too.
I'm also curious whether this is intended behavior with the concept for SNBT/NBT, or if it's more of a side-effect and or fallback for commands.
Because if it's intended to work that way, then I would do it too.
But if it would only safely do that on Java, and not Bedrock or LCE, then I would stick with the safe-casting one.

vhebert
I don't think LCE even has anything related to snbt afaik.

Offroaders123
But in terms of expected NBT types, say if someone used Dovetail to edit an LCE NBT file, would LCE allow for the changing of a key-value primitive type? That's the part I'm unsure of.

vhebert
For standard nbt data you should preserve the typing of the data you get.


Generate a list of all names of the specific Create 3 open source GPL components for source code requests

In order to get GPL source code your company forces me to provide a list of component names... so you can charge me $5 per component.
https://github.com/iRobotEducation/create3_docs/issues/221#issuecomment-1278000817
Please use the Yocto Linux GPL compliance scripts to generate a list of said components and share it with the community so that we may make the requests in the format you require. We can't possibly know all the components you use because you are treating the system as closed.
https://github.com/iRobotEducation/create3_docs/issues/222
You've created a bad faith stop gap, and gate keeping method as a means to hide the open source internals of your product. Please assist the community in confirming to your unrealistic wishes so that we may access the source code.
In fact please provide a list of ALL components for ALL iRobot models so that an exhaustive request can be made.

Let us have a look at a couple sections of the GPL:
`6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.

b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.

c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source.  This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.

d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge.  You need not require recipients to copy the
Corresponding Source along with the object code.  If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source.  Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.

e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.`

`  10. Automatic Licensing of Downstream Recipients.

Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.`
This seems rather straightforward; provide the open source software being used under GPL as obligated. Charging per item per disc seems like a stall tactic on the surface; in the modern world, it should not be a burden to produce code that is being used under a license which requires such an ability.  Section 6b(1) says -all- software covered by this license (GPL) should be provided, so it is arguable that charging for separate copies of media for each piece of GPL software would be a violation in and of itself.

Oh man... the crows sure came home to roost here eh!? Have the security and legal team re-watch this talk from Patrick Doyle in full, from this point on: https://youtu.be/t54T9uemiRU?t=1662

Closed out here: https://github.com/iRobotEducation/create3_docs/issues/221#issuecomment-1287326822


Complete one app rails-react project with webpack

Completed Project
In this project I achieved the following

[x] Implemented a connection between a Ruby on Rails back-end and React front-end.
[x] Understood the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.

Hi @principlebrothers
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that  does not follow proper Gitflow and does not have the updated microverse readme template,
Kindly use the updated version  of the microverse readme template for your readme,
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @prolajumokeoni.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

@prolajumokeoni, thank you for the review. I have fix the README.md and the git-flow now.

Hello @Davidosky007, can you please explain it to me feature on the git-flow because, I have read the documentation and I followed by working on feature branches before merging it to the dev branch

Hello @Davidosky007, can you please explain it to me feature on the git-flow because, I have read the documentation and I followed by working on feature branches before merging it to the dev branch

Your pull request should be opened from your feature into your dev branch

Hi @principlebrothers 😃,
As much as I appreciate your hard work on this project, I'm afraid that I can't perform a review on this pull request.
Invalid Submission

As explained to you, please make sure that the submitted PR is requesting a merge into dev from feature branch

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready. 🙏
Cheers and Happy coding!👏👏👏
Feel free to mention @MahmoudBakr23 to leave any questions or comments in the PR thread if something is not 100% clear.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

@Davidosky007 and @MahmoudBakr23 I don't understand. There is no way I can added linter and make a pull request for it to be approved. I only have one pull request how then can I submit every feature  I develop?

Please  help to understand  because  I don't  understand  the logic you are proposing?

@principlebrothers Can you see the main from dev on the picture down below!
Please make it dev from (any branch name)

@principlebrothers Can you see the main from dev on the picture down below! Please make it dev from (any branch name)

@MahmoudBakr23 if I change main to dev, how do I maintain the same pull request because as soon I change the dev to something else, this pull request will close?


Well I've realized over the course of time that one of the great issues with this bot is the guy who wrote it ! Apos , not only he insists on putting lame advertisements & google analytics tags to track you in the bot but also he made the same bot into a feeder-clone which in return gotten into wrong hands and started the clone/bot frenzy in agar.io and that crippled servers with lag soo bad that moneyclip needs to release patch after another to stop that . .
So , now comes up the Ermiya guy , and fixes the phantoms ( YAY !! ) so I get all hyped up that finally I came around some wits and we can work together..However I find quick enough that it won't be possible as well . . .
I HAVE BRILLIANT IDEAS AND I NEED A CODER !!!
Right now my bot "Little Smart Dot" provides :
Immaculate flawless control over up to 4 cells
Improved wall code
All new Corner code
Split to eat system
Evasion mechanics (purge or split to evade death at situations)
Dynamic enemy threat assessment (decides threat level of enemies by a few factors instead of just their size)
Dynamic virus threat assessment (pretty much same as above)
All new smart food code ( Won't eat food under or near viruses , or in the enemies path , or near the corners etc. etc. also when eating players it decides whether to chase them or not according the situation)
All new Re-Unite and Re-Merge code
All new Rapid Growth system which splits to many pieces to feed if there are loads of food around and no threats
I've done all that without knowing too much of coding, almost by trial and error let's say .. But hey , I've done all that , it works perfectly right now I can demonstrate !
So , I need someone to work with me so we can push it further and further ...
Please pretty please , if you can code javascript well and you would be interested email me<EMAIL_ADDRESS>thanks in advance :)

Make one yourself on Github then. Stop whining.

ermm . .how about we stop telling others what to do ??


✋ [MEMBER] - johnfraney

Why do you want to join?
I'm looking to get back into Django development after a few years' hiatus, and contributing to open-source projects would be a great way to do that while giving back to the community. I respect the mission of Django Commons and it would be cool to be a part of it!
Which project(s) are you looking to contribute to?
Any! I'm happy to contribute CI, type hints, unit tests, bugfixes, or maintenance tasks.
Code of Conduct

[X] I agree to follow Django Commons's Code of Conduct

Welcome to the commons @johnfraney! Sorry for the delay, we had to review why there was an extra user in your PR 🤔 All good now though!
You'll get an invite email from GitHub. You'll have one week to accept that. If you don't mind, after accepting, can you set your organization membership as public? This helps Django Commons grow.

@tim-schilling Done and done!


[Excel] (Custom functions) Authentication article

@mscharlock FYI, I've re-titled this PR to add a space between [Excel] and (Custom Functions) so this string won't get rendered as a hyperlink.

OPS Build status updates of commit a298286:
:clock10: Preparing: average preparing time is 44 sec(s)

(Closed my mistake; immediately re-opened.)

OPS Build status updates of commit a298286:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit a298286:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-authentication.md
:white_check_mark:Succeeded

docs/images/Authdiagram.PNG
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


luci-app-statistics: rework openvpn.js definition to support VPN client/server (multi-users)

Modified openvpn.js definition to work for both OpenVPN client and server.
It still displays Compression & Traffic graph for OpenVPN client and displays one graph per connected User on an OpenVPN server instance. I've also added a graph displaying Total number of connected users

Any updates here? @jdd272

Yes, I believe it works as expected; tested on 2 ramips devices - one on SNAPSHOT and the other on 23.05.5; See screenshot below


[Feature] [nRF] Add Bridge example app demo

Feature description
Hello,
We already have the following examples:

CHIP ESP32 Bridge App Example
CHIP Linux Bridge Example
Matter Telink Bridge Example Application

Will you add an bridge example app demo for nRF Connect soon?
Platform
nrf
Platform Version(s)
No response
Anything else?
No response

Actually does that make sense? Since all nordic products have bluetooth and thread or wifi support, there is really no point in it being a bridge device as You can directly build examples with an nrf device. Bridge is for devices that have proprietary or non-matter communication protocols no? So I don't think it makes sense to focus on this.

I would like to build a Zigbee bridge to Matter. I will need this example to start development.
I don't think I'm the only one in this case.

@lboue We're not planning to contribute the bridge example to this repository, but if you're still interested, Matter to BLE bridge application is now part of our SDK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/protocols/matter/overview/bridge.html. That application employs abstractions that may help replacing BLE with other transport protocols.
Please use https://devzone.nordicsemi.com/ for other requests or questions related to the bridge application and close this issue if that's OK with you :)
@adminy I think the bridge is a valid use case for manufacturers that have already developed non-Matter products that users might be more attracted to if they could be used with Matter ecosystems.

Thanks.


Ibackus/feature/docstrings

Add significant documentation to WhyLogs
Changes

Complete, reformat, and fix the doc strings.  Everything except the cli is well documented now.
Update sphinx configuration
Add code example gallery to docs using sphinx-gallery.

Notes

We cannot build the WhyLogs package in readthedocs, which therefore means we cannot run any code examples in sphinx-gallery.  Additionally, some internal auto-generated documentation examples may break (anything which calls/imports WhyLogs in sphinx to run code snippets)

@dangitandy the docs are building, but with some minor issues.
A wonderful thing about sphinx is that we can dynamically generate content by calling python and interacting with the package.  This can be used to generate examples and capture the output (for example, the plotly docs: https://plotly.com/python/) and can be used to document dynamically generated content.
I've disabled executing the example scripts, but there are a fair amount of code snippets within the code which currently break.  I can disable those for now, but we are definitely limiting our documentation ability by not being able to interact with WhyLogs in the documentation building environment.
As I guess you've noticed, we cannot get WhyLogs working in the readthedocs environment due to the dependency on protoc for building WhyLogs.  I played around with installing protoc in the readthedocs containerized environment at build time, but without root permissions it wasn't going to be straightforward.
For now, I'll close this PR and re-open it once I've removed all code snippets.
I think we may want to explore building (and publishing) our docs natively in github.  Github pages will host the docs, and we could treat the doc building as another build stage.

As I guess you've noticed, we cannot get WhyLogs working in the readthedocs environment due to the dependency on protoc for building WhyLogs. I played around with installing protoc in the readthedocs containerized environment at build time, but without root permissions it wasn't going to be straightforward.

The the Plotly example you showed (https://github.com/plotly/plotly.py/blob/doc-prod/doc/apidoc/conf.py) actually uses sphinx. They pull plotly into the doc via requirements.txt (so separate package building from documentation building) - which I guess is fine but will require some monitoring and coordination.

That seems like a reasonable approach.


Deny bevy subcrate imports in examples

          existing CI is

https://github.com/bevyengine/bevy/blob/612897becd415b7b982f58bd76deb719b42c9790/.github/workflows/ci.yml#L418-L438
it currently only checks for bevy_internal imports, it could be extended to others
Originally posted by @mockersf in https://github.com/bevyengine/bevy/issues/15317#issuecomment-2362251757

I very much would like this.


vim command line's position is incorrect

Describe the bug
when enter to vim mode in terminal, and use down arrow quickly, then quit and enter again and again, the command line's position is incorrect ,some lines is missing at the bottom
Expected behavior
the command line's position should fixed at the bottom of the terminal view, the lines in the bottom should display normal
btw:
if I enter the full screen and then resume, all the things become right. I guess this operation change the terminal size and refresh the terminal view. so maybe the  render speed of terminal chars is slow than operation speed  by hand, may this will help for you.
I am sure it is not the issue of ssh lib, because I change two ssh libs ,this issue  exists in both of them
Screenshots

Desktop (please complete the following information):

OS: macOS 14.5

Additional context
Add any other context about the problem here.

it is my code's problem, close it.

it is my code problem, fixed it


Can't launch my react-native app on my phone with adb

Ok so here's the situation.
I'm working on an application in react-native.
So far, I used my phone to see how it works.
using react-native start then react-native run-android
But when i do react-native run-android here is what I get

My environmment infos:

System:
OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine)
CPU: (4) x64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Memory: 119.08 MB / 7.66 GB
Shell: 5.7.1 - /usr/bin/zsh
Binaries:
Node: 12.16.3 - /usr/bin/node
Yarn: Not Found
npm: 6.14.4 - /usr/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 11.0.7 - /usr/bin/javac
Python: 2.7.17 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found

I tried to do adb kill-server and adb devices. It works and when I do so, in the list of devices there is my phone.
But for some reasons, when it come to react-native run-android it won't work.
I can install the app with react-native run-android when I first boot my computer, but react-native start will gave me the 8081 port error.
I followed the steps as said in the documentation:

sudo lsof -i :8081
kill -9

It's at this moment that I can't run react-native run-android.
The most disturbing thing is that a few hours ago, it worked perfectly.
How can I fiw this problem ?

System:
OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine)
CPU: (4) x64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
Memory: 119.08 MB / 7.66 GB
Shell: 5.7.1 - /usr/bin/zsh
Binaries:
Node: 12.16.3 - /usr/bin/node
Yarn: Not Found
npm: 6.14.4 - /usr/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 11.0.7 - /usr/bin/javac
Python: 2.7.17 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found

Try this one cd android && ./gradlew clean

Try this one cd android && ./gradlew clean

Thank you, that's worked 💜

Try this one cd android && ./gradlew clean

Thank you, that's worked 💜


Reinstate #1874 "Added additional url params in JdbcDatabaseContainer"

Reverts testcontainers/testcontainers-java#2775

Currently trying to figure out how #1874 was green before merge but red after. It looks like the gradle build cache contained a hit for the :test task, and as a result the test execution was skipped.
This build should have failed but instead a gradle cache hit occurred (inexplicably) and the test task was skipped.


Support for string view?

Is there any support for a string view handled by tiny-utf8? I did not find an implementation for string view, maybe that would be nice to have (tiny_utf8::string_view) as a drop in replacement for std::string_view.
Currently I'm using std::string_view view(tinyutf8str.c_str()); but creating a temporary std::string_view is not the best for performance.

Hey, just wanted to let you know: I already started working on it, but I will still need more time, since the change is far from trivial (e.g. a string_view cannot have a Look-Up-Table) and I'm in the process of switching jobs, so that is a pain :D
Hope you are doing well.
Jakob

Hi, has any progress been made on this, including conversion to and from {std, tinyutf8}::string_view? Thanks very much for this library :)

Hi Benjamin, yes, I'm sorry, I didn't have time yet to do it.. I have been busy for quite a while now and I hope it gets better in february. Thank you for your message Ben, I'll let you know, when there is progress 👍
Jakob

Hi! Just wanted to express my interest for a string_view class as well, it's the only thing keeping me from fully diving into this library.
I don't mean to rush of course, take however much time you need, and thank you for your work :)!


Add EXTERNAL_IMPORT_ENABLED environment variables

What type of PR is this?

/kind feature
What this PR does / why we need it:
Add EXTERNAL_IMPORT_ENABLED environment variables it indicates whether the scheduler should enable the function to import from an existing cluster.
Eventually, we would like to implement https://github.com/kubernetes-sigs/kube-scheduler-simulator/issues/41 .
Which issue(s) this PR fixes:

Relates #41
Special notes for your reviewer:
/label tide/merge-method-squash

/assign @sanposhiho

/ok-to-test

Thank you for the review! I fixed it.

@sanposhiho Thanks! Fixed it.


Error Using TS Version With Cloud Functions

I keep getting the same error trying to upload the functions to firebase. The errors point to the ts parts of this package.
node_modules/getstream/lib/client.d.ts:97:35 - error TS1005: ',' expected.

97     deleted_foreign_ids: Array<[id: string, time: string]>;
                                     ~

node_modules/getstream/lib/client.d.ts:97:57 - error TS1005: ';' expected.

97     deleted_foreign_ids: Array<[id: string, time: string]>;
                                                           ~

node_modules/getstream/lib/client.d.ts:97:58 - error TS1131: Property or signature expected.

97     deleted_foreign_ids: Array<[id: string, time: string]>;
                                                            ~

node_modules/getstream/lib/client.d.ts:97:59 - error TS1109: Expression expected.

97     deleted_foreign_ids: Array<[id: string, time: string]>;
                                                             ~

node_modules/getstream/lib/client.d.ts:98:8 - error TS1109: Expression expected.

98     new: Array<Omit<Activity<ActivityType>, 'actor'> & {
          ~

node_modules/getstream/lib/client.d.ts:100:7 - error TS1005: '(' expected.

100     }>;
          ~

node_modules/getstream/lib/client.d.ts:101:12 - error TS1109: Expression expected.

101     app_id?: string;
               ~

node_modules/getstream/lib/client.d.ts:102:10 - error TS1109: Expression expected.

102     feed?: string;
             ~

node_modules/getstream/lib/client.d.ts:103:15 - error TS1109: Expression expected.

103     mark_read?: 'all' | 'current' | Array<string>;
                  ~

node_modules/getstream/lib/client.d.ts:103:50 - error TS1005: '(' expected.

103     mark_read?: 'all' | 'current' | Array<string>;
                                                     ~

node_modules/getstream/lib/client.d.ts:104:15 - error TS1109: Expression expected.

104     mark_seen?: 'all' | 'current' | Array<string>;
                  ~

node_modules/getstream/lib/client.d.ts:104:50 - error TS1005: '(' expected.

104     mark_seen?: 'all' | 'current' | Array<string>;
                                                     ~

node_modules/getstream/lib/client.d.ts:105:18 - error TS1109: Expression expected.

105     published_at?: string;
                     ~

node_modules/getstream/lib/client.d.ts:106:1 - error TS1128: Declaration or statement expected.

106 };
    ~

gz#11776

@ferhatelmas we usually upgrade to the last typescript version and use the latest features which is breaking for older ts compilers. @nhannah what do you think?

I ran into this issue today too. I have down graded my typescript dependency version, and I am able to build and run my cloud function.
I would not not like have to downgrade Typescript.


feature: pre and post job execution hooks

this would be useful for when there's need to perform setup at before execution of a job and cleanup post execution.

Thanks for the request @alabdao. Can you say more about what you'd like these hooks to do? I.e. to help us figure things out like: do they need to run at the same compute node that's executing the job?


Update create-apps-for-teams-meetings.md

added userRole property

Docs Build status updates of commit 095af57:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Following the Getting Started instructions results in ButtonGroup and other styles failing

Describe the bug
I have followed the instructions at https://flowbite-svelte.com/pages/getting-started#Install_Tailwind_CSS to install a svelte-vite tailwind project as follows:
npm create vite@latest myapp -- --template svelte
cd myapp
npm install

npx svelte-add@latest tailwindcss
npm i

npm run dev
npm i flowbite flowbite-svelte classnames @popperjs/core
Replacing contents of tailwind.config.cjs with
const config = {
  content: [
    "./src/**/*.{html,js,svelte,ts}",
    "./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",
  ],

  theme: {
    extend: {},
  },

  plugins: [
    require('flowbite/plugin')
  ],
  darkMode: 'class',
};

module.exports = config;

and then replacing App.Svelte contents with

<Alert>
Info alert! Change a few things up and try submitting again.
</Alert>

<ButtonGroup>
<Button>Profile</Button>
<Button>Settings</Button>
<Button>Messages</Button>
</ButtonGroup>

gives a perfect alert box but the button group buttons are all rounded, and unjoined as per the image below.  Some other flowbite-tailwind components are similarly affected, such as tabs and menus.

Reproduction
As above.
Flowbite version and System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
    Memory: 54.43 GB / 63.92 GB
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 112.0.5615.86
    Edge: Spartan (44.19041.1266.0), Chromium (112.0.1722.48)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    flowbite-svelte: ^0.34.9 => 0.34.9
    svelte: ^3.55.1 => 3.58.0
    vite: ^4.2.0 => 4.2.1

I confirmed the bug. Thanks.
https://stackblitz.com/edit/vitejs-vite-k6v8vw?file=src/App.svelte

What do you have in app.css.
Can you change the content of app.css to the following?
@tailwind base;
@tailwind components;
@tailwind utilities;

Please read the Customization page.
I close the issue for now.
Thank you for your contribution.
Please feel free to open a new issue.


CTY header is not set for JWE

I'm using the following code to issue my JWEs:
var signCreds = new SigningCredentials(new SymmetricSecurityKey(Encoding.ASCII.GetBytes(Configuration["Jwt:SigningKey"])), SecurityAlgorithms.HmacSha256);
var encryptionCreds = new EncryptingCredentials(new SymmetricSecurityKey(Encoding.ASCII.GetBytes(Configuration["Jwt:Encryptionkey"])), SecurityAlgorithms.Aes128KW, SecurityAlgorithms.Aes128CbcHmacSha256);

var handler = new JwtSecurityTokenHandler();

var jwtSecurityToken = handler.CreateJwtSecurityToken(
  Configuration["Jwt:Issuer"],
  Configuration["Jwt:Audience"],
  new ClaimsIdentity(claims),
  DateTime.UtcNow,
  expiresIn,
  DateTime.UtcNow,
  signCreds,
  encryptionCreds);

But it doesn't specify "cty" header of the token - just only alg, enc and typ. If I understand correctly, the header must be set for encrypted JWT so I have an issue while parsing the token in golang because of the headers absence.
I also tried the following ways to issue JWE:
var signCreds = new SigningCredentials(new SymmetricSecurityKey(Encoding.ASCII.GetBytes(Configuration["Jwt:SigningKey"])), SecurityAlgorithms.HmacSha256);
var encryptionCreds = new EncryptingCredentials(new SymmetricSecurityKey(Encoding.ASCII.GetBytes(Configuration["Jwt:Encryptionkey"])), SecurityAlgorithms.Aes128KW, SecurityAlgorithms.Aes128CbcHmacSha256);

var handler = new JwtSecurityTokenHandler();

var tokenDescriptor1 = new SecurityTokenDescriptor
  {
     Audience = "you",
     Issuer = "me",
     Subject = new ClaimsIdentity(claims),
     EncryptingCredentials = encryptionCreds
};

var tokenDescriptor2 = new SecurityTokenDescriptor
  {
     Audience = "you",
     Issuer = "me",
     Subject = new ClaimsIdentity(claims),
     EncryptingCredentials = encryptionCreds,
     SigningCredentials = signCreds
};

var tokenDescriptor3 = new SecurityTokenDescriptor
  {
     Audience = "you",
     Issuer = "me",
     Subject = new ClaimsIdentity(claims),
     EncryptingCredentials = encryptionCreds,
     SigningCredentials = signCreds,
     AdditionalHeaderClaims = new Dictionary<string, object> { { "cty", "JWT" } }
   };

var enc = handler.CreateEncodedJwt(tokenDescriptor1);
var encSigned = handler.CreateEncodedJwt(tokenDescriptor2);
var encSignedWithCty = handler.CreateEncodedJwt(tokenDescriptor3);

But have the same result:

Hi @DShauchuk-IBA, you should be able to leverage AdditionalHeaderClaims using JsonWebTokens library.
You could use the tokenDescriptor3, just replace
var handler = new JwtSecurityTokenHandler(); with
var handler = new JsonWebTokenHandler();
Now, looking at the spec:

In the case that nested signing or encryption is
employed, this Header Parameter MUST be present; in this case, the
value MUST be "JWT", to indicate that a Nested JWT is carried in this
JWT.

, it looks like the library is not enforcing this rule both on creation and validation side.
I'm marking it as a bug for now.
Thank you for reporting the issue. Btw, which go library are you using?

Thank you for the quick answer.
I'm using go-jose library for parsing JWT.

@DShauchuk-IBA we are fixing this in our next release

@DShauchuk-IBA we are fixing this in our next release

@DShauchuk-IBA when we create the JWE, we don't set the 'cty' because the payload is just json. It is not an actual JWT {with three parts}. We don't have a way to determine what the 'cty' should be.

@DShauchuk-IBA when we create the JWE, we don't set the 'cty' because the payload is just json. It is not an actual JWT {with three parts}. We don't have a way to determine what the 'cty' should be.

@DShauchuk-IBA @RojaEnnam What we decided is that for JsonWebTokenHandler we should add a new API similar to: this for EncryptingCredentials. This will allow the caller to set the CTY by adding a value to additionalHeaderClaims.
For the JwtSecurityTokenHandler and JsonWebTokenHandler we should set 'cty == JWT' when we create the JWE as we are setting the payload to a JWS.
The code in JsonWebTokenHandler will need to give priority to a 'cty' value found in additionalHeaderClaims as this would have been set deliberately. Call graphs using JwtSecurityTokenHandler do not seem to use AdditionalHeaderClaims, we should check that.

@DShauchuk-IBA @RojaEnnam What we decided is that for JsonWebTokenHandler we should add a new API similar to: this for EncryptingCredentials. This will allow the caller to set the CTY by adding a value to additionalHeaderClaims.
For the JwtSecurityTokenHandler and JsonWebTokenHandler we should set 'cty == JWT' when we create the JWE as we are setting the payload to a JWS.
The code in JsonWebTokenHandler will need to give priority to a 'cty' value found in additionalHeaderClaims as this would have been set deliberately. Call graphs using JwtSecurityTokenHandler do not seem to use AdditionalHeaderClaims, we should check that.

@RojaEnnam @DShauchuk-IBA what we decided is that we should

Add a new api similar to: this with EncryptingCredentials.
For JwtSecurityTokenHandler and JsonWebTokenHandler set 'cty==JWT' when they create a JWE. As the payload is a JWS.
We know that JsonWebTokenHandler can make use of AdditionalHeaderClaims, if the 'cty' value is found in that collection, we should set the value of 'cty' to that value.
Check call graphs of JwtSecurityTokenHandler to ensure AdditionalHeaderClaims are used, if so do the same as 3. above.

@RojaEnnam @DShauchuk-IBA what we decided is that we should

Add a new api similar to: this with EncryptingCredentials.
For JwtSecurityTokenHandler and JsonWebTokenHandler set 'cty==JWT' when they create a JWE. As the payload is a JWS.
We know that JsonWebTokenHandler can make use of AdditionalHeaderClaims, if the 'cty' value is found in that collection, we should set the value of 'cty' to that value.
Check call graphs of JwtSecurityTokenHandler to ensure AdditionalHeaderClaims are used, if so do the same as 3. above.

Perhaps a silly question, but does this code mean a cty header will always be present when creating a JWT?
https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/src/System.IdentityModel.Tokens.Jwt/JwtHeader.cs#L389-L404
        internal void AddAdditionalClaims(IDictionary<string, object> additionalHeaderClaims)
        {
            if (additionalHeaderClaims?.Count > 0 && additionalHeaderClaims.Keys.Intersect(DefaultHeaderParameters, StringComparer.OrdinalIgnoreCase).Any())
                throw LogHelper.LogExceptionMessage(new SecurityTokenException(LogHelper.FormatInvariant(LogMessages.IDX12742, nameof(additionalHeaderClaims), string.Join(", ", DefaultHeaderParameters))));

            if (additionalHeaderClaims != null)
            {
                if (!additionalHeaderClaims.TryGetValue(JwtHeaderParameterNames.Cty, out _))
                    Cty = JwtConstants.HeaderType;

                foreach (string claim in additionalHeaderClaims.Keys)
                    this[claim] = additionalHeaderClaims[claim];
            }
            else
                Cty = JwtConstants.HeaderType;
        }

since that is being called in the ctor


Scroll not resizing

I am having an issue using the example for resizing the menu on scroll. I have a delegate hooked up and all that jazz, it is working except it is not actually resizing the menu. It is just scrolling up and it gives the appearance the child view controller is scrolling over half the menu.
Please let me know if you need more info or anything. Thanks :)

I also have a question on the following method from the Unsplash example...
`func pagingViewController(_ pagingViewController: PagingViewController, isScrollingFromItem currentPagingItem: T, toItem upcomingPagingItem: T?, startingViewController: UIViewController, destinationViewController: UIViewController?, progress: CGFloat) {
guard let destinationViewController = destinationViewController as? ImagesViewController else { return }
guard let startingViewController = startingViewController as? ImagesViewController else { return }
// Tween between the current menu offset and the menu offset of
// the destination view controller.
let from = calculateMenuHeight(for: startingViewController.collectionView)
let to = calculateMenuHeight(for: destinationViewController.collectionView)
let height = ((to - from) * abs(progress)) + from
updateMenu(height: height)

}`
If you aren't sure what type the destination and starting view controllers are going to be, how would you handle that? Let me know if you need more info. :)

Hi @cwestMobile! It's a bit hard for me to tell without looking at your code. The Unsplash example should work, so maybe you can cross-reference your implementation to that one? These examples are just to illustrate what you can do with Parchment and are not actually part of the framework itself. I'm trying to keep Parchment as generic as possible, so it's up to you to figure out how this should work in your app.


Array dimensions reversed

Kind 2 treats the the declaration int^3^2 as an array of size 3 each of whose elements are arrays of size 2. This is backwards from Lustre and SCADE.
cf. Scade Language Primer, Section 5.3, Multidimensional Operators:

Array types are unidimensional: it is not possible in Scade to directly define
multidimensional arrays. A matrix is encoded by an array of arrays, as in:
type SpaceLinearMorphism = real ^ 4 ^ 6 ;
mat : SpaceLinearMorphism ;
This defines a matrix of six arrays of four elements each. Selecting an element in this array
by the expression mat[i][j] first checks whether i belongs to interval [0..5] then that j
belongs to [0..3]. Notice the order of index declaration is the reverse from the
one used for selection.

Thanks for the bug report. I've fixed it in the arrays branch.


Update the Babel toolchain

Closes #35
Closes #36
Closes #37
Closes #38
Closes #39

Pull Request Test Coverage Report for Build 196

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.734%

Totals

Change from base Build 193:
0.0%

Covered Lines:
71

Relevant Lines:
76

💛  - Coveralls


Doesn't work at all

It doesn't work. Like, at all.
I've installed trix and angular-trix using bower. Works.
Then I included the scripts using requirejs. Works too.
Then I required the angularTrix requirejs-module. Works as well.
Then I required the angularTrix angular module. Still works fine.
Then I added this to my page:
<trix-editor angular-trix ng-model=foo></trix-editor>

Which doesn't do anything. It just renders in the DOM as:
<trix-editor angular-trix="" ng-model="foo" class="ng-pristine ng-untouched ng-valid ng-scope ng-isolate-scope ng-empty"></trix-editor>

So not much at all.
I get no errors in the console. No network errors. No security errors. Nothing.
Angular 1.6.4, Requirejs 2.3.3, Firefox 52 & Chrome 57.

same issue I am too facing

@thany
Can you create a Plunker with your code..?

sorry cant. but it is not showing anything on page

Found why this is happening. Angular-trix doesn't require trix. Doesn't support any type of AMD system at all. That explains. Too bad it doesn't say anything about trix.js not being present.
However, I'm now facing a huge number of CSP errors.

Almost a year later, I'm having a similar issue with version 1.0.2.  Everything seems to work except that nothing is ever comitted to the model. I even added the ng-model-options="{updateOn:'blur'}" like the plunker showed, and still nothing. Moving on to a different directive/control that actually works.


Added Ascertia to list

Added Ascertia (https://www.ascertia.com/) to the list

Made the requested changes.


Not an Issue, I just don't know how to comment on github

I am creating a pack that requires this shader to work, could I have permission to have it already in the pack so that people don't need to download extra things (obviously leaving credit and a link in the description of it), or would you rather me just leave a link to the github page in the description and make the user download both packs?

Oof- I didn't realize you commented here. Yeah, you have permission to have it already in the pack, as long as you leave credit and such.


pod can not find in docker when upgrade to latest version

After upgrade to latest 0.12.0 today, kind up k8s cluster can not find the created pod in docker using crictl ps
Describe the bug
can not find the container name of pod in node using crictl ps
I am sure it works before I upgrading to this version.
To Reproduce
Steps to reproduce the behavior:

kind create cluster

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  ipFamily: ipv4  # macos only supported v4
nodes:
- role: control-plane
  image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
  labels:
    role: master

create deployment from yaml
docker exec into container of the node
crictl ps and no pod name with this deployment

Expected behavior
expect to find the container of deployment, such as k8s-scheduler,controller
Screenshots

Logs
Attach log files by opening OrbStack's Help menu and clicking “Show Logs”, or email them for privacy.
PLEASE ATTACH THE ENTIRE LOG FILE WITHOUT REMOVING ANY LINES. There is usually important context earlier in the log.
Info report

OrbStack info:
  Version: 0.12.0 (120000)
  Commit: 6e3826111e0aedbe7f5b3b8a1a12c969ba087ccd (v0.12.0)

System info:
  macOS: 12.5.1 (21G83)
  CPU: arm64, 8 cores
  CPU model: Apple M2

Additional context
kind v0.18.0 go1.20.2 darwin/arm64

the pod only be visible when it is running.


Drag the Map from the right border to the left border 4 times . The right half of the map cannot be drawed on

This happend on below official example.
http://openlayers.org/en/latest/examples/draw-and-modify-features.html
Drag the whole map from righ side to left side 4 times. right side can not be drawed, but left side works.

Draw coordinates will be different when you shift the world across several date lines. We recommend to configure a view extent to avoid date line shifts across several worlds when using drawing tools. Something like
new ol.View({
  extent: ol.proj.get('EPSG:3857').getExtent(),
  // ...
});


afterDone callback not working as shown in readme

I tested the code from the readme and the last section contains the code
<script>   $('#timepicker').pickatime({     autoclose: false,     twelvehour: false,     afterDone: function(Element, Time) {         console.log(Element, Time);     }   }); </script>
After testing the callback, undefined is returned for both Element and Time.
Is there a callback for when someone completes the picking process?

Same problem

There are missing parameters in function call. Replace line 1508 with following line:
raiseCallback(this.options.afterDone(this.input, submit));
Now, informations will be returned ;)


Create firdose

sample test file do not merge

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can one of the admins verify this patch?


Missing tracks from HLS manifest (no DRM)

Have you read the FAQ and checked for duplicate open issues?
Yes
If the problem is related to FairPlay, have you read the tutorial?
Not related to FairPlay.
What version of Shaka Player are you using?
4.8.0
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Tried both, same issue.
If custom app, can you reproduce the issue using our demo app?
Yes.
What browser and OS are you using?
Chrome on Windows 11.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
I didn't tried on embedded device.
What are the manifest and license server URIs?
I'm using an HLS video, no DRM/license needed:
https://live02-seg.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/index.m3u8
I think it only works in Italy though (geo blocked otherwise).
What configuration are you using?  What is the output of player.getConfiguration()?
We can refer to the demo player using the m3u8 linked above:
https://nightly-dot-shaka-player-demo.appspot.com/demo/#audiolang=it-IT;textlang=it-IT;uilang=it-IT;asset=https://live02-seg.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/index.m3u8;panel=CUSTOM CONTENT;build=uncompiled
What did you do?
Just start the video.
What did you expect to happen?
In the manifest, there are 3 bandwidths for 1080p: 4231000, 5185000 and 7517000.
I expect to be able to use the track with the higher bandwidth.
What actually happened?
With Shaka player, only the first one is available.
I tried various players, online and offline, and I see that some players can use the higher bandwidth. Not sure if I can say names, but JWPlayer, from the demo page, shows the 3 1080p resolutions and it allows to select one of those based on the bandwidth.
If you can't open the m3u8, these are the lines for 1080p:
#EXT-X-STREAM-INF:BANDWIDTH=4655000,AVERAGE-BANDWIDTH=4231000,CODECS="mp4a.40.5,avc1.64002A",RESOLUTION=1920x1080,FRAME-RATE=50,VIDEO-RANGE=SDR,AUDIO="audio-aach-96",CLOSED-CAPTIONS=NONE
c5-clr-video=3899968.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=5704000,AVERAGE-BANDWIDTH=5185000,CODECS="mp4a.40.5,avc1.64002A",RESOLUTION=1920x1080,FRAME-RATE=50,VIDEO-RANGE=SDR,AUDIO="audio-aach-96",CLOSED-CAPTIONS=NONE
c5-clr-video=4800000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=8269000,AVERAGE-BANDWIDTH=7517000,CODECS="mp4a.40.5,avc1.64002A",RESOLUTION=1920x1080,FRAME-RATE=50,VIDEO-RANGE=SDR,AUDIO="audio-aach-96",CLOSED-CAPTIONS=NONE
c5-clr-video=7000000.m3u8

The shaka-player demo reports only the resolution, but using the Chrome developer options I can see that the loaded file is indeed 3899968.m3u8.

I have more info, the same channel is available using DASH:
https://live03-col.msf.cdn.mediaset.net/live/ch-c5/c5-clr.isml/manifest.mpd
This has the same info (3 bandwidths for 1080p).
In this case, however, I can see all the track with, for example 'player.getVariantTracks();'. The demo player also starts with the higher track, 'id="video=7000000".
However, when the user select 1080p from the UI view, the track is downgraded to 'id="video=3899968"'.
When the track id="video=7000000" if forced from code (e.g. player.selectVariantTrack(track, true)) the UI reports that 'automatic resolution' is set.
As I said, this is the case with DASH: with HSL, I didn't found a way to select this track even from javascript.

The content is geoblocked and I don't have a VPN to try in Italy. Please unblock Spain so I can try. Thanks!

The content is geoblocked and I don't have a VPN to try in Italy. Please unblock Spain so I can try. Thanks!

I can't unblock that stream, but I found some examples online that should be visible from Spain. For example:
https://dash.akamaized.net/dash264/TestCases/1b/qualcomm/1/MultiRatePatched.mpd
It is not the same case explained earlier in this issue, but it has the same symptoms so I think it is related.
This manifest has the same 1280x720 resolution defined with 3 different bitrates: when loaded with the demo player, there is no option to change it. From the Chrome dev tools, I can see it is loading the first one (lower bitrate) for me but I don't know if this is due to adaptive mechanisms or if it just sees the first one.
Using JWPlayer (the demo website) I can see the 3 tracks:

The shaka.ui.ResolutionSelection element specifically only shows one video track per resolution. According to a comment, it considers all other tracks of the same resolution as "duplicates".
https://github.com/shaka-project/shaka-player/blob/a2f26351c0d230006c89b1361235fceb183fa734/ui/resolution_selection.js#L109-L125
I'm not sure what the logic behind this decision was, though. I can definitely see the value in showing multiple bandwidths of the same resolution.
Perhaps we can change this, and put the old behavior behind a UI config in case someone actually wanted it.

Thank you for this!
Do you think it makes sense now to also include the bandwidth on the reported string on the UI?
https://github.com/shaka-project/shaka-player/pull/6536/commits/e8befe52d9abe60462ef6e3fe37cdf529864505d#diff-db81155ab24ca3eb75017cdb7fde712e6879488499d1a19e12033b5ea410be68R167
I think it is now reported only for 'audio only' tracks (which I didn't tested):
https://github.com/shaka-project/shaka-player/pull/6536/commits/e8befe52d9abe60462ef6e3fe37cdf529864505d#diff-db81155ab24ca3eb75017cdb7fde712e6879488499d1a19e12033b5ea410be68R165
but if we now can select multiple tracks with the same resolution, it would make sense to report this bandwidth value on the UI as well (similar to the screenshot I posted above).
I could of course change this only in my instance.

Yeah, that's something we should also be doing. I'll re-open the issue.


testing ci - success

Signed-off-by: Christina Tempelaar-Lietz<EMAIL_ADDRESS>

Please ignore this PR, testing whether it triggers CI jobs.

Tested CI auto-invoked by PR with passing and failing commits.


Will you bring ROS2 Lifecycle node support?

Hello i'm using this package and i want to error or warning handler for lidar node. When i get the error , i will restart the node. But i can not this function for using regular node in the package. If used lifecycle node in this package this be so functionality and what i'm talking about can be doable. Do you think bring ROS2 Lifecycle Node support for this package?

+1 to this request


Using .env in Azkfile.js

Hi,
I have a .env on the root of my project folder with the Azkfile.js.
How can I use this variables inside the Azkfile.js without duplicating them plz?
thanks!

Try ${env.ENV_NAME}.
Gullit Miranda
Em 1 de out de 2016 10:47, "Jonathan Asquier"<EMAIL_ADDRESS>escreveu:

Hi,
I have a .env on the root of my project folder with the Askfile.js.
How can I use this variables inside the Askfile.js without duplicating
them plz?
thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/azukiapp/azk/issues/691, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8L9iDuZKL9XN4KN9yWFpBxbrikCUEhks5qvmSGgaJpZM4KLwgF
.

Still getting
azk: List of deprecations:
azk: - `${}` is deprecated, use `#{env.ENV_NAME}` instead of `${env.ENV_NAME}` on `shooout-api.ports.http`

azk: ↑ starting `api` system, 1 new instances...
azk: ✓ checking `node:latest` image...
azk: ⎘ syncing files for `api` system...
azk: An error occurred. It will stop all instances already running. See details below.

azk: System `api` not running
azk: TypeError: Cannot read property 'protocol' of null

Same error with #{env.ENV_NAME} but without the deprecation

@jonathanasquier Did you figure this out? I'm having this problem also.

Nope, I ended up using docker-compose + volumes + pm2 for a fully
dockerized dev workflow. Works like à charm.
Le mar. 20 févr. 2018 à 02:09, Johnny Hauser<EMAIL_ADDRESS>a
écrit :

@jonathanasquier https://github.com/jonathanasquier Did you figure this
out? I'm having this problem also.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/azukiapp/azk/issues/691#issuecomment-366839183, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAvsh8uWc6fijxle2FBhgp0w5RA0ahjbks5tWhtJgaJpZM4KLwgF
.


PHP 5.4 compatibility at minimum

I guess that's somewhat of an requirement, not everyone has PHP 5.6 running.

Solved as of 77e1150


Pocket Network integration

Overview:
Currently TezosJ_SDK supports connecting to the network via a centralized provider. In this issue the Pocket Network team would like to propose an integration between Pocket Core MVP and TezosJ_SDK, allowing developers to utilize the Pocket Core MVP network of nodes (currently 6 different infrastructure providers) to connect to the Tezos blockchain using a trusted decentralized network of nodes via random access across different requests.
Scope of the integration:

Modification of the Tezos Gateway to support both centralized providers and Pocket Network.
Update interfaces using the TezosGateway class.
Expose configuration options for Pocket Network usage.

References:
Website: pokt.network
Developer Portal: docs.pokt.network
Pocket Core MVP: Click here

We are thrilled with your intention to participate in TezosJ_SDK development. Thank you for your support and trust.


Updated Stopover texts for German and English

As discussed in the forum, I changed stopover to waypoint and "Zwischenziel" to "Wegpunkt". I haven't touched the other languages. Should we change anything for the other languages?

Mhm, why did Travis said that this build was successfull if you look at the logs it failed...?

Mhm, why did Travis said that this build was successfull if you look at the logs it failed...?

Do you mean the problems reported in #1102? There should be two builds, one for jdk8 and one for 9 and only jdk8 is required to succeed I think ... uhm, but it looks like jdk8 is missing!?

Ah, no. We have both IMO:
matrix:
  fast_finish: true
  include:
    - jdk: oraclejdk9
....
jdk:
  - oraclejdk8

Sorry for the late reply, somehow I missed the update here.
Look at this travis build, the maven test failed but travis reported test completed successful.

The problems are fixed via #1102, see https://travis-ci.org/graphhopper/graphhopper/builds/249286195

The problems are fixed in #1102

Not sure if this was the issue. The build I referenced failed, because I forgot to change a String in a test. So the fail was correct. Travis did not show that it failed, but you can see that it failed in the console output.

I think so, as the build with jdk8 was not triggered and only jdk9 was run but this is allowed to failed (for now)

I think so, as the build with jdk8 was not triggered and only jdk9 was run but this is allowed to failed (for now)

Ah ok, sorry I missed that. Now it makes sense, thanks for explaining.


Support Regex in module value, function in rename value when selecting module

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on source code for the plugin configuration here.
I needed to make exact matches to module names (instead of the current matching where it looks for the config-provided module name anywhere in the module name string) so that I could remove a specific module but not modules whose names included that module name, so I added Regex support in the module name.
I also needed to modify the relative path to modules programmatically when renaming them, not only replace module names one-for-one, so I added the ability to provide a function that receives the full raw module source path and returns a new full raw module source path.
Here is the diff that solved my problem:
diff --git a/node_modules/rollup-plugin-import-manager/README.md b/node_modules/rollup-plugin-import-manager/README.md
index f1bbebd..b13192a 100644
--- a/node_modules/rollup-plugin-import-manager/README.md
+++ b/node_modules/rollup-plugin-import-manager/README.md
@@ -162,7 +162,7 @@ This is where the plugin comes to life. Here is the place where units are gettin
 ---

 #### `module` <samp>[option for units]</samp>
-Type: `String`
+Type: `String` | `RexExp`
 Default: `null`

 Selects a unit by its module name. Each import has a name object. This is constructed from the module.
@@ -353,10 +353,10 @@ An option to target an alias of a [selected](#select-option-for-actions) `defaul

 ##### `rename` <samp>[option for actions]</samp>
-Type: `String`
+Type: `String` | `(moduleSourceRaw: string) => string`
 Default: `null`

-This option is used to rename a [selected](#select-option-for-actions) specific part (`defaultMember`, `member`, `module`). The value is the new name of the selected part. See this [example](#changing-the-module).
+This option is used to rename a [selected](#select-option-for-actions) specific part (`defaultMember`, `member`, `module`). The value is a string of the new name of the selected part. See this [example](#changing-the-module). If the selected part is `module`, the value could alternatively be a function accepting the whole raw module source (ex: `"./module-name"` including quotes) and returning the whole new name (ex: `"./newmodule-name"` including quotes).

 ##### `modType` <samp>[option for actions]</samp>

This change corresponds to https://github.com/UmamiAppearance/ImportManager/issues/47
Please let me know if you would like me to submit a pull request with these changes.
This issue body was partially generated by patch-package.

Hi.
This is a great idea. Regex support would enhance module selection by a lot. Please submit a pull request. I have already created a new branch:
regex-module-selection

Created pull request https://github.com/UmamiAppearance/rollup-plugin-import-manager/pull/55

I think we are good to go. I additionally introduced a method to match the module via the raw source.
Your example has found its place here. It is narrowed down to the particularities of using a function.
RegExp  has its own example here.
Any final objections?

I think that's great!! Thanks for the great support and help. The ImportManager dependency needs to be updated whenever you publish that first, though, right?

Thanks for your contribution. This is a real enhancement. 👍

The ImportManager dependency needs to be updated whenever you publish that first, though, right?

Yes.

Resolved in #56


Linux downloads not shown

I was just told that there exists an architecture switch on the download page. This doesn't seem to work on Linux (Debian 8, Iceweasel/Firefox 38). Inspecting the page, all platforms are greyed out instead of showing the Linux bit.

Info from http://mybrowserinfo.com:
Your Browser User Agent String is Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1
Operating System:
    Linux
Platform:
    UNIX
Internet Browser:
    Firefox 38.0

This was fixed last year in #258


Add Computing as a stand-alone subject

38 candidates have entered 'Computing' as their degree subject.
Whilst "Computing and information technology" is in the list, as does "Information technology", "Creative computing", "Applied computing", "Parallel computing", "Neural computing", "High performance computing", "Business computing", "Computer science", and so on... - "Computing" is not listed as a standalone subject.
Examples of undergraduate courses which use 'Computing' as degree title:

https://www.gre.ac.uk/undergraduate-courses/ach/computing-bsc-hons
https://www.imperial.ac.uk/study/ug/courses/computing-department/computing-beng/
https://www.port.ac.uk/study/courses/bsc-hons-computing

The HESA code 100367 (Computing and information technology) is reused as this is likely the closest match.

There's already an entry for HECOS 100367. I think this should have a comment for why there's a duplicate and why the string is different.
Possibly for @alaric-dfe - if these have the same HECOS code and other services consume this data, how would they know which item was picked of these two with the same code?

@edwardhorsford added a comment to explain the duplicate.

There's already an entry for HECOS 100367. I think this should have a comment for why there's a duplicate and why the string is different.
Possibly for @alaric-dfe - if these have the same HECOS code and other services consume this data, how would they know which item was picked of these two with the same code?

Well, if the downstream service asks for a HECOS code, then they are effectively declaring they don't care which different entry was chosen if it produces the same HECOS code. If they DO care, then they need to take our raw IDs rather than HECOS codes, as that's the ID that makes this finer distinction.


Add scripted generation of pnc_cli/swagger_client/

I want to add stuff to the codegen templates, and that's difficult to do at the moment:

There's no in-repo documentation of what to use in generating the files for pnc_cli/swagger_client/
There's no easy way of reproducing the current python files. If I run swagger-codegen without making any changes to the templates, there are changes that come in from elsewhere.

To fix this I have made several changes to clean-generation.sh, including:

Standardised the downloading and execution of swagger-codegen-cli.jar.
Stored a copy of swagger.json in git, so it can be reused even after the live copy on the PNC instance changes.
Moved all misc. files into a common directory: swagger-codegen/

This is how you synchronise the API with the new script:
$ ./clean-generation.sh http://orch.pnc.example.com/
Downloading new copy of swagger-codegen/swagger.json
######################################################################## 100.0%
Downloading new copy of swagger-codegen/swagger-codegen-cli.jar
######################################################################## 100.0%
+ rm -rf pnc_cli/swagger_client
+ java -jar swagger-codegen/swagger-codegen-cli.jar generate -l python -i swagger-codegen/swagger.json -t templates -o pnc_cli
+ grep -E '(WARN|ERROR)' swagger-codegen/swagger-codegen-cli.log
[main] WARN io.swagger.codegen.DefaultCodegen - generated unique operationId `push_0`
[main] WARN io.swagger.codegen.DefaultCodegen - generated unique operationId `get_all_for_project_0`
+ rm -rf pnc_cli/.gitignore
+ rm -rf pnc_cli/.swagger-codegen-ignore
+ rm -rf pnc_cli/.travis.yml
+ rm -rf pnc_cli/docs/
+ rm -rf pnc_cli/git_push.sh
+ rm -rf pnc_cli/requirements.txt
+ rm -rf pnc_cli/setup.py
+ rm -rf pnc_cli/test-requirements.txt
+ rm -rf pnc_cli/test/
+ rm -rf pnc_cli/tox.ini
+ rm -rf pnc_cli/.swagger-codegen
+ rm -rf pnc_cli/swagger_client/api/
+ patch -p1 -i swagger-codegen/patches/supportlevelpage.patch
patching file pnc_cli/swagger_client/models/support_level_page.py
/home/aszczucz/dev/pnc-cli/pnc_cli

and this is how you reuse the existing inputs:
$ ./clean-generation.sh
Using local copy of swagger-codegen/swagger.json
Using local copy of swagger-codegen/swagger-codegen-cli.jar
+ rm -rf pnc_cli/swagger_client
+ java -jar swagger-codegen/swagger-codegen-cli.jar generate -l python -i swagger-codegen/swagger.json -t templates -o pnc_cli
+ grep -E '(WARN|ERROR)' swagger-codegen/swagger-codegen-cli.log
[main] WARN io.swagger.codegen.DefaultCodegen - generated unique operationId `push_0`
[main] WARN io.swagger.codegen.DefaultCodegen - generated unique operationId `get_all_for_project_0`
+ rm -rf pnc_cli/.gitignore
+ rm -rf pnc_cli/.swagger-codegen-ignore
+ rm -rf pnc_cli/.travis.yml
+ rm -rf pnc_cli/docs/
+ rm -rf pnc_cli/git_push.sh
+ rm -rf pnc_cli/requirements.txt
+ rm -rf pnc_cli/setup.py
+ rm -rf pnc_cli/test-requirements.txt
+ rm -rf pnc_cli/test/
+ rm -rf pnc_cli/tox.ini
+ rm -rf pnc_cli/.swagger-codegen
+ rm -rf pnc_cli/swagger_client/api/
+ patch -p1 -i swagger-codegen/patches/supportlevelpage.patch
patching file pnc_cli/swagger_client/models/support_level_page.py
/home/aszczucz/dev/pnc-cli/pnc_cli

In commit fac2e33, I wasn't able to exactly reproduce the files that are in git, but I have managed to reduce the size of the diff substantially. I think any remaining changes are due to changes in the snapshot version of swagger.json.
I also discovered that there were many obsolete python files, so I added a feature to automatically clean them up in commit 57f32b3.

Will review this PR shortly!

This PR was rebased, updated and merged separatly. Thank you Alex for it.


sections: Make sure the invalid widget has an ID before focusing

Some widgets, like InputRange, do not have an ID (and cannot have one, as the library used does not allow to set it), but they can be invalid. To automatically scroll to the invalid question, we make sure the input has an ID before focusing on it. Otherwise, we use the other code path that just scrolls the page to make the widget visible.

@samuel-duhaime  This will fix https://github.com/chairemobilite/od_mj_2023/issues/313

I'm curious, why we don't have an html ID for each question ? That would be something good to have no?

I'm curious, why we don't have an html ID for each question ? That would be something good to have no?

Evolution has an ID for each question. But the input widget associated with each widget sometimes come from an external library, like the react-input-range. And they do not support an id for their input element. It's out of our control

I'm curious, why we don't have an html ID for each question ? That would be something good to have no?

Evolution has an ID for each question. But the input widget associated with each widget sometimes come from an external library, like the react-input-range. And they do not support an id for their input element. It's out of our control

I might be missunderstand, can we wrap each one with a div or something so we have something to anchor?

I might be missunderstand, can we wrap each one with a div or something so we have something to anchor?

Yeah, can we try that before?

We do have a div with an ID, but the if that is modified here puts the focus in the input so that you can edit it right away, like type the text in, which won't happen if you just anchor to the div, which is what the fallback (the else) does.

(for more context, you can expand down the code in the review to see the else that is called when the ID is not there


Generator: Update SDK /services/mongodbflex

Generated from GitHub run<PHONE_NUMBER>8

Closed in favor of https://github.com/stackitcloud/stackit-sdk-go/pull/784


Get latest humble bundle dev!

This is not related to prog-o-meter directly, but is a great resource!!
https://www.humblebundle.com/software/python-dev-kit-bundle
Not affiliated, nor an affiliate link.  However, there is a LOT of great stuff in there, so spend the $20 and get everything.  Totally worth it for the training videos, software, and everything.

Nice suggestion. @elheffe80 when the humble bundle sale is over, will you close the issue? :)

The humble bundle is over.
i think this issue should be closed.

As stated- bundle completed. Closing issue. Hope people got value from it.


New job loads very slowly

Fixes #169

Codecov Report
Attention: Patch coverage is 0% with 82 lines in your changes are missing coverage. Please review.

Project coverage is 37.32%. Comparing base (8397d2a) to head (379e2f2).

Files
Patch %
Lines

aoget/view/main_window_files.py
0.00%
73 Missing :warning:

aoget/web/queued_downloader.py
0.00%
9 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
- Coverage   37.59%   37.32%   -0.27%
==========================================
  Files          59       59
  Lines        4275     4271       -4
==========================================
- Hits         1607     1594      -13
- Misses       2668     2677       +9

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


[Tag expressive] Carbon tag expressive design spec

Do we have a functional spec issue for this yet?


Multi-line copies from tmux scrollback buffer strips newlines

Windows Terminal version
1.14.2281.0
Windows build number
10.0.19044.0
Other Software
tmux 3.3a-1~bpo11+1 (inside WSL2, from Debian bullseye-backports)
Steps to reproduce

From within a tmux session, execute something which generates multiple terminal heights in output
Working path

from Terminal, select to copy some multi-range text at the bottom of output
paste text into target application of choice, note that newlines are preserved - good

Error path

enter scrollback mode in tmux, scroll up to earlier output
from Terminal, select to copy some multi-range text towards the top of the output
paste text into target application of choice, note that all newlines are stripped and the output is combined as a single long line - bad

Scrolling up a full page or more is the easiest way to observe this, but careful observation shows that when scrolling less than a page up the scrollback buffer (so some originally viewable text is retained), copying the text that was originally viewable retains newlines, while copying text retrieved from the scrollback buffer strips the newlines. In fact, doing a multi-line selection across the boundary of original view pane results in stripped newlines only up until the original viewable content is encountered, at which point newlines are retained.
Expected Behavior
Copying multi-line selections through Terminal always retains newlines, even from alternate buffer and tmux scrollback buffer
Actual Behavior
New lines are stripped from multi-line selection copied text

There are a few fuzzy things that probably need to be described. I have been pulling my hair out on this one too...

Do you have "Automatically copy selection to clipboard" (copyOnSelect)?
Do you have mouse support enabled in tmux?
Follow-up, do you hold shift while selecting selecting the text (to avoid tmux grabbing the mouse click)?
How exactly are you copying? Right mouse button, ctrl+insert, ctrl+shift+c? Are you holding shift while clicking the right mouse button?
What version of windows ("ver" command) and terminal? (for me it's win 10.0.22000.856, terminal 1.14.2282.0)

In my testing, holding shift while right clicking always strips out the newlines, even in a cmd.exe shell!
If I select the text with shift+lmb then copy with the keyboard shortcut everything is good. Also, doing a block select works (holding alt+shift).

Do you have "Automatically copy selection to clipboard" (copyOnSelect)?
Do you have mouse support enabled in tmux?
Follow-up, do you hold shift while selecting selecting the text (to avoid tmux grabbing the mouse click)?

Yes, yes, and yes

How exactly are you copying? Right mouse button, ctrl+insert, ctrl+shift+c? Are you holding shift while clicking the right mouse button?

I hold shift and select with the left mouse button. Once text is selected, copyOnSelect does its thing and I paste in my destination of choice. In order to copy again, I have to press Esc to clear the previous selection and then again hold shift and select with left mouse button.
Anything with the right mouse button attempts to paste copied content.

I guess my issue is different, then! If you search through the terminal issues for "paste" you will find tons of problems about newlines. But out of solidarity I tried to reproduce your issue :-). I installed a fresh debian in WSL. First I tried stretch tmux (2.3-4) but failed to reproduce. Then I added bullseye-backports to /etc/apt/sources.list and updated:
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
$ sudo apt update && sudo apt upgrade

My debian-foo is rusty so I'm not really sure how you got 3.3a-1~bpo11+1 installed into stretch. I assume you build it from source? So I tried:
$ apt source -t bullseye-backports tmux
$ sudo apt build-dep -t bullseye-backports tmux
--> failed with  "builddeps:tmux : Depends: debhelper-compat (= 13) but it is not installable"
$ sudo apt install debhelper libevent-dev libncurses5-dev libutempter-dev pkg-config build-essential
$ cd tmux-3.3a
$ dpkg-buildpackage
--> failed with same debhelper-compat error
(so I manually built)
$ ./configure --enable-utempter && make

How I tried to reproduce:

My ~/.tmux.conf contains just set-option -g mouse on
Changed my windows terminal to enable copyOnSelect
I started tmux and generated pages of output with while [ 1 ]; do echo -e 'line1\nline2\nline3'; done
I entered scrollback mode with ctrl-B + [, scrolled up with pgup (see something like [672/1850] in the corner)
Copied multiple lines with shift + left mouse button drag
Hit ctrl-c to leave tmux scrollback mode
Typed echo '<PASTE>' | xxd and see the newlines are in the output correctly (not necessary to use xxd, but it is easy to spot runs of 20s).
My TERM before entering tmux is xterm-256color, inside tmux is screen-256color
My shell is bash
I do note that our Windows Terminal versions are different.
Sometimes I get garbled output when looking at my echo command line + paste in bash, but the output is correct. Weird. Looks like line1> line3.

The only time I got added spaces was when I accidentally copied the line counter where tmux prints [n/total] in the upper right corner. Hah! I tried mixing alternate screen and not by doing lots of echo then entering a long man page (man iptables) and then scrolling back up to the prints in tmux. But still no luck.
Maybe make a video? You can record pretty quickly with xbox game bar (win+g key). Good luck!

Pretty sure this looks like #8976


Added 3 skills of mine

✍  Skills developed

Cakewalk - A starter template for beginners
Touristy - Tells info about tourist places of Australia
Hello world - my hosted skill

@tarunnsingh

Hey @garimasingh128 , please add according to these guidelines.
If you push the ZIP folder, then you'll be exposing your Skill IDs too.

@tarunnsingh please check again and approve!

@garimasingh128 As mentioned in the guidelines, you are required to extract the contents from the zipped folder.
For example your cakewalk skill should be created as a folder here:
alexa-skills/skills-by-the-team/GarimaSingh/cakewalk within which you have assets, interactionModels, lambda folders.
The Zipped Binary is not useful as its contents cannot be viewed directly on GitHub.
Please make these changes and PR will be approved.

Ok sorry for bothering. I will update it.


Query Records by empty or non-empty values

Need a way to get a list of records based on whether they have a property assigned or not and not based on the actual value of the property.  Tried to query with null, empty string, undefined, and false using the MongoDB adapter with no success.
Example use case:  I have a collection of Invoices with a property of "paidDate".  I want to get all Invoices with no paidDate set (unpaid invoices).

I'd like to resurrect this issue if nobody objects. This seems to be very useful functionality and several people have shown interest both in this thread and in stackoverflow #27682106.

My proposal is to use a criteria modifier, empty, so one could query for empty like:

model.find( field: { empty: true } )

We also need to consider how this would behave in schemaless DBs where the field may not exist at all. If we want to be more specific we could add another criteria modifier to cover the case where the field doesn't exist at all such as exists:

model.find( field: { exists: false } )

Any opinions about this?

+1. Any workaround?

Reopening until someone submits a PR to the roadmap for this feature.

+1

Reopening until someone submits a PR to the roadmap for this feature.

Reopening until someone submits a PR to the road map for this feature.

It's on the road map.

Is this functionality implemented or still on the road map


camera preview not visible when part of Swiper

Steps to reproduce

put camera on a swiper card from react-native-swiper along at least one other:
<Swiper>
     <Camera ...>
     <View...>
</Swiper>

run the app
Expected behaviour
The preview should show what the camera sees
Actual behaviour
The preview shows up with a seemingly random color, i.e. black or white in my tests, probably from some other style
Environment

Node.js version: v7.5.0
React Native version: 0.37.0
React Native platform + platform version: iOS 10.2

react-native-camera
Version: 1.0.0-alpha, but also with older versions

since react-native-swiper seems to be very popular I guess this could be a big issue for anyone wanting to "swipe to camera" like instagram etc.

ok, digging now. i just found out that when put into the swiper the camera view seems to be created twice (for whaterver reason). I could imagine that being a problem, since the view is actually created only once, as is the preview layer.

interestingly that does not happen to the mapbox view...

btw, i am currently blabbering about this both here and on react-native: https://github.com/facebook/react-native/issues/12262

Hey, happened to me too when I was trying to make a snapchat clone. What worked for me was having loadMinimal={true} as a prop in the Swiper.
For example:
<Swiper ref='swiper' horizontal={false} loop={false} showsPagination={false} index={0} loadMinimal={true}></Swiper>

ok, that works too it seems, thanks!
still leaving this open as it should work anyhow. My plan of triaging it was to make a completely new native view and bit by bit copy code in from the camera view. but now i will postpone that I guess :)

Why would you want to leave this as open @maddanio ? This feels like it belongs as a problem of the Swiper implementation?

Not convinced, since other views have no such problems, including mapbox

This issue is closed because of inactivity.
Furthermore RCTCamera is deprecated now, use RNCamera instead. If this issue is also related to RNCamera, please open a new one.

@maddanio could seem like <Swiper loadMinimal> does the trick.


Docs for extending serializer/adapter are wrong?

Hi and sorry in advance if I am doing something wrong. I am using the latest version of everything I think and need to extend the adapter. My application is working fine using the default ember data RESTAdapter. I now need to add in drf support and do the following in accordance with the docs:
ember g drf-adapter application
My application now immediately errors out in the console with a message of
Error while processing route: home Could not find module my-sample-app/adapters/drf Error: Could not find module my-sample-app/adapters/drf
A similar issue happens when I attempt to make a customer serializer, any help would be greatly appreciated. That's a bit of a snipped traceback but it seems pretty obvious what the issue is.

Hmm, possibly a bug.  What version of ember-cli are you using?

It looks like ember-cli 0.2.0-beta has introduced some breaking changes for addons—which we will need to address.  Assuming that's what you are using, you may want to use the latest stable version of ember-cli for now (0.1.15) while we work on support for 0.2.0.

I'm actually on 0.1.11

I actually had issues with 0.1.11 myself.  Can you try upgrading to 0.1.15 and see if the problem persists?

@jschneier are you still seeing this in recent versions of ember-cli?

Nope, working now. Thanks for your help!

i have the same problem with ember-cli 0.2.3....

Thanks for reporting.  Any way you can see if #81 helps?

Please reopen if this issue persists.


Problem with Rails 3.2 and strong_parameters

Seems that :without_protection is not being set if you're trying to migrate to strong_parameters and passing in a hash to the fabrication.

Nevermind, it was something inside my fabricator that was wrong. Sorry!


Package overview not showing all packages

When I'm browsing through the package list via https://mychocosrv/chocolatey/Packages the overview does not show all packages. Is this a bug or caching problem? If I'm using 'choco list' all packages from the repository are shown correctly...
Any ideas?

It only shows the first 50 packages.
Try this to see the next 50
https://yourchocoserver/chocolatey/Packages?$skip=50"

Better not to use that - what you are browsing to is likely making it look nice but it is just XML (Atom feed) and not meant for looking at. Use ChocolateyGUI hooked up to the source if you want a good view of it. HTH


Setup Golint GH Action for this repository

Setup Golint GH Action for this repository

Setup and all issues fixed already.


Mlm update

PaymentTypeId is not a string anymore: Backend services need for instructions paymentType detail which may NOT be necessarily a PaymentTypeId in v1 (for example 7eleven)
Payment identification in groups service for MLM is not a strict paymentMethodId anymore. This affects how we retrieve images, for example: we were retrieving "7eleven" logo in groups with id "7eleven_ticket", but  that id was changed by "bancomer_7eleven", so images would not show.

-Forcing PaymentMethodTypeId will fail because of these changes. With MLM me may get a "PaymentTypeId" like "7eleven" which is not a paymentTypeId in the SDK
[] I'll run a regression test for MLA and MLB just in case

PR deprecado. Nuevos cambios se impactan en RyC Revamp.


Coupler-specific Interface

TBD and approved at the next coupler meeting
A formal coupler-specific interface is missing. We need to re-introduce concepts from CouplerMachine.jl to formalize the coupling and information passing between different models for the ClimaCore-related codebases.
Current Design

ComponentModelSet: struct (or Tuple), listing all required model components

struct ComponentModelSet{M} <: AbstractComponentModelSet
    models::M
end

CouplerSimulation: coupler and component model simulation info. coupler_fields  is optional and may contain any relevant fields or their subsets (e.f. boundary fields)

struct CouplerSimulation{CS, CF, RW, S, L} <: AbstractSimulation
    coupler_solver::CS
    coupler_fields::CF
    regrid_weights::RW
    simulations::S
    logger::L
end

CouplerSolver: time stepping information, unknown by the model components. Current implementation stepping = Leapfrog() and mode = Sequential()

struct CouplerSolver{T, TS, S, M} <: AbstractSolver
    dt::T
    timespan::TS
    stepping::S
    mode::M
end

init: iterate over all component models' init functions, with externally customizable ICs, BCs, dt (requirement for ClimaAtmos, ClimaSLM, Oceananigans)

function init(cm:: ComponentModelSet)
    # iterate over all component models' init functions
        # spatial info (domain / spaces / models, etc)
        # specify BCs
        # specify ICs
        # init integrators
    # check compatibility
        # dt for each model not to exceed CFL
        # unit checks
    # regridding init (if applicable)
        # generate all regridding weight maps
    #@showinfo
    return CouplerSimulation
end

push!: pushes onto coupler storage - use sparingly only for fields that cannot be extracted from the ModelComponents (e.g., when accumulating fluxes within the coupler). Each item in targets or sources needs to have the field (and eventually units) and associated model attached to it, so that the correct regridding weights.

function push!(m::ModelComponent, targets, sources)
    # iterate over all source/target pairs
    target = regrid(source)
    # perform coupler-internal accumulations
end

pull: each model /coupler pulls out and regrids what it needs from elsewhere before it steps

function pull(m::ModelComponent, target, source)
    # iterate over all source/target pairs
    target = regrid(source)
    # include any necessary (e.g. unit) conversions
end

run: time integration loop what loops over all component models

function run(::CouplerSimulation, :: ComponentModelSet, ::Sequential)
    # timer start
    # loop
        pull()
        step!()
        push!()
        logger() # diagnostic . metrics
    # timer end
end

conservation_checks

function conservation_checks(s::CouplerSimulation)
    # s.logger()
    # global_energy_conservation(s)
    # global_mass_conservation(s)
end

Caveats

ClimaAtmos interface is changing. It is unclear whether it will converge to the Oceananigans-based CimaSimulations interface. The best option is to develop on the basis of what all previous options have in common and keep as few interface layers as possible.

Suggested assignees

Ben, Lenka

Suggested reviewers

Akshay, Simon

push!: pushes onto coupler storage - use sparingly only for fields that cannot be extracted from the ModelComponents (e.g., when accumulating fluxes within the coupler). Each item in targets or sources needs to have the field (and eventually units) and associated model attached to it, so that the correct regridding weights.

https://github.com/CliMA/ClimaCoupler.jl/blob/1be239bc0d2912e5caf00b01e07ca6f54eea2625/src/CouplerState/coupler_state.jl#L106
push!: pushes coupled fields into the coupler from model. Use for all coupled fields that a component needs to provide to other models, accumulated or otherwise. All coupled fields must go through the coupler, which handles all regridding and other standard coupling operations.
Wraps coupler_put!s which put a single field in the coupler and look something like:
https://github.com/CliMA/ClimaCoupler.jl/blob/1be239bc0d2912e5caf00b01e07ca6f54eea2625/src/CouplerState/coupler_state.jl#L125-L132

pull: each model /coupler pulls out and regrids what it needs from elsewhere before it steps

https://github.com/CliMA/ClimaCoupler.jl/blob/1be239bc0d2912e5caf00b01e07ca6f54eea2625/src/CouplerState/coupler_state.jl#L83
pull!: extracts all needed boundary fields from the coupler (regridded, etc) and updates model's boundaries. model should be step-ready after a pull!.
Wraps coupler_gets which get a single field from the coupler and look something like:
https://github.com/CliMA/ClimaCoupler.jl/blob/1be239bc0d2912e5caf00b01e07ca6f54eea2625/src/CouplerState/coupler_state.jl#L93

Keeping track of target/source pairs is not explicitly needed -push!/pull! are one-way connectors between a model and the coupler.

CouplerSimulation: coupler and component model simulation info. coupler_fields is optional and may contain any relevant fields or their subsets (e.f. boundary fields)
struct CouplerSimulation{CS, CF, RW, S, L} <: AbstractSimulation
    coupler_solver::CS
    coupler_fields::CF
    regrid_weights::RW
    simulations::S
    logger::L
end

I think we should call this a CoupledSimulation. The regrid weights and coupled fields can be stored together in a Coupler object:
https://github.com/CliMA/ClimaCoupler.jl/blob/1be239bc0d2912e5caf00b01e07ca6f54eea2625/src/CouplerState/coupler_state.jl#L28-L35

It's not clear to me yet what the best way to set up the CouplerSolver will be yet. We definitely want to support the ability to switch between different schemes eventually, though I'm not sure how soon we will want this.
We should discuss what scheme to use for AMIP - Leapfrog? Sequential?

On the ClimaAtmos note - meeting the ClimaSimulations interface is a requirement that the coupler is imposing on the model components. This is so there is a standard way of stepping models in the coupled timestepper. I don't think that the refactoring they are doing should affect this, as it is higher level.

to be continued on #211


Unable to open empty remote workspace using vscode scheme URL

Does this issue occur when all extensions are disabled?: Yes - though you couldn't really open a remote URL without a plugin.

VS Code Version: 1.91.1
OS Version: Windows 11

When the main application is handling URL's with the vscode protocol, there are two strategies for determining the remote authority. If the URL contains an openable path, then getWindowOpenableFromProtocolUrl will transform a URL like vscode://vscode-remote/wsl+ubuntu/mnt/c/GitDevelopment/monaco to something like vscode-remote://wsl+ubuntu/mnt/c/GitDevelopment/monaco. If the URL does not contain a path after the authority (i.e. only one slash, like vscode://vscode-remote/foo+bar, then the remote authority is computed using the getRemoteAuthority, which does not handle URI's whose scheme is not already vscode-remote, so a vscode://... URL will always result in no remoteAuthority.
This may just be a question, if there's a way to construct a URL that will allow opening an empty remote workspace; otherwise, the logic in that handler may be buggy, and either it shouldn't defer to getRemoteAuthority (because we don't expect the URL to have the right scheme), or getRemoteAuthority should be more flexible, something like this:
export function getRemoteAuthority(uri: URI): string | undefined {
    if (uri.scheme === Schemas.vscodeRemote) { return uri.authority; }
    if (uri.authority === Schemas.vscodeRemote) {
        // ... extract the authority from the path, the same way `getWindowOpenableFromProtocolUrl` does it...
    }
    return undefined;
}

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.

Thanks @VSCodeTriageBot, I did omit the final 1 from my initial comment, but I meant 1.91.1.

getRemoteAuthority is not to be used for protocol URIs. I think it's a bug to use it in the shouldOpenInNewWindow  clause,
The fix is to be done in getWindowOpenableFromProtocolUrl to also support protocol uris that like vscode://vscode-remote/foo+bar