Superfluid minimum viable version implementation

Closes: #XXX
Description

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

:exclamation: No coverage uploaded for pull request base (superfluid_module@d349cf5). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head adc5d9b differs from pull request most recent head fbe7f34. Consider uploading reports for the commit fbe7f34 to get more accurate results

@@                 Coverage Diff                  @@
##             superfluid_module     #587   +/-   ##
====================================================
  Coverage                     ?   20.24%
====================================================
  Files                        ?      187
  Lines                        ?    24688
  Branches                     ?        0
====================================================
  Hits                         ?     4997
  Misses                       ?    18878
  Partials                     ?      813

Continue to review full report at Codecov.

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

Per call: Advocating for just merging this PR. Lets write a list of the breaking changes to existing modules at least, so we can know what to double check to ensure nothing existing is broken


ShopChest PlayerTeleportEvent Console Error

Hi, with the new version of ShopChest i got this error in the console when starting the server :
http://pastebin.com/di8Xf6L3
I see shopchest and citizen2, should i see in the citizen2 side for this error ? It happen only with the new version of shopchest 1.10.1
Also lag start to appear only when selling items (maybe is just the mysql part that i have misconfigurated)
Spigot version :  CraftBukkit version git-Spigot-1e4dd71-5e5cf84 (MC: 1.10.2)
Thank you in advance for your help

No this is my mistake, because I didn't check if the worlds are the same before measuring the distance of the player and the shop, and of course, you can't measure a distance when the locations are not in the same world.

Ok, i will just wait the next version of the plugins ! :+1:

Hi, with version 1.10.2 i got another PlayerTeleportEvent, i link it here
http://pastebin.com/4dc4gRwv
The work that you provide on this plugin is amasing
Regards

This is fixed in the next version (c8f4e89)


Front End of Data Repository does not have information fields

Is your feature request related to a problem? Please describe.
While registering a data resource, the definitions/descriptions of the fields to be filled are not available. For example, I was confused what should I write in the field for Publisher, as the data I was going to upload was not already published anywhere. Actually for base-repo, the meaning for this field is "the person or the entity publishing this information on the repository (base-repo)". Such information is available for the fronend of MetaStore, but not for base-repo, at least on the NFDI-MatWerk Data Repository
Describe the solution you'd like
Information/Description about the fields should appear beneath them/ or with an information (i) button.
Additional context
Image of the interface for data resource:

vs
Image for registering metadata for metadata schema:

Descriptions are also available for all fields of repo-management in the current main branch and will be available for all instances of frontend-collection after updating them.


Downgrade node-sass (fixes #319)

node-sass indirectly depends on<EMAIL_ADDRESS>which seems to have gotten unpublished.

Maybe file an issue with node-sass too?


Create test_generalized_fish_game.py writing tests using pytest for generalized_fish_game.py file

Tests plotting functions to ensure they produce plots. Test cases cover a variety of scenarios and edge cases to ensure robust testing of the generalized_fish_game,py

closes https://github.com/IMMM-SFA/msd_uncertainty_ebook/issues/122


Merge main into develop

Description

when installing the package via git there seems to be some discrepancies causing runtime errors, this was made to help find out why

Closes

ended up being https://github.com/cofin/litestar-granian/issues/9


 To the north there is the Air army, to the east the Water army, to the south the Earth army, and to the west the Fire army. Each level adds increasingly more enemies in each room. But you have one advantage: The spirit Orb; providing an endless supply of golden power for you to absorb. But watch out for the deadly mist that protects the enemy territories, and remember to make regular trips back to the Orb to recharge.
Point down the features
Controls
Move: Arrows
Jump/Fly: Space
Fire: M
Absorb: N
Push: B
Pickup/Drop: V
Pause: P
Hold down the Space key in mid-air to fly.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @S-ishita !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @S-ishita ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


feat: kubeflow component for model version update

Describe your changes
Issue ticket number and link
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] If it is a core feature, I have added thorough tests.

Codecov Report
Base: 71.26% // Head: 70.35% // Decreases project coverage by -0.91% :warning:

Coverage data is based on head (927886a) compared to base (7b90840).
Patch coverage: 10.25% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   71.26%   70.35%   -0.92%
==========================================
  Files          55       56       +1
  Lines        2631     2678      +47
==========================================
+ Hits         1875     1884       +9
- Misses        756      794      +38

Impacted Files
Coverage Δ

.../wanna/components/kubeflow/upload_model_version.py
10.25% <10.25%> (ø)

src/wanna/core/services/notebook.py
56.78% <0.00%> (-0.36%)
:arrow_down:

src/wanna/core/deployment/monitoring.py
77.77% <0.00%> (-0.28%)
:arrow_down:

src/wanna/core/models/notebook.py
100.00% <0.00%> (ø)

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

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


Auth: Tighten JWT validation of channel-issued tokens with certificate signature

Fixes https://github.com/microsoft/botbuilder-dotnet/issues/3961

Failing on Linux testing. I'll exclude these tests from the linux pipeline shortly.


Improve joining existing clusters

improve joining existing clusters by updating embetcd in vendor deps
extend the default graceful startup timeout
set etcd initial cluster token
extend go test timeout

that force push was just rebasing with master ^


Editor/Wizard unknown about identity change in Wizard/SubWizard

The example where it now is going wrong is in the IED Editor when the IED is edited and the name is changed.
The IED Editor doesn't know the name changed and tries to find the IED using the old name.
In the IED Editor there is a short-time solution to select the first IED, so the screen doesn't produces a error.
But it would be nice if the IED Editor gets the new name and can use that to select the correct IED again.

@dlabordus do you think this issues can be solved with the new Update action?

The update action can be used

We can use the Update Action in both the SLD Editor and IED Editor, but than we also need to change what is remembered by the selector (IED/Substation).
As a work-around we saved the name of the IED/Substation that was selected, but we now change this back to the Element that is selected. Because of the update the element stays the same and can then again be used to determine which IED/Substation was selected before editing the IED/Substation.


[RouteFactory] Passing generic type to RouteFactory

Description
This will solve the problem when passing type argument through onGenerateRoute but only dynamic can be returned.
Tests that affected by this changes have been updated. But some cases such as removeRoute test in navigator_test definitely needs to be change.
Example
Please try this with https://github.com/AlexVincent525/flutter_test_app , in Test generic type route page I've provided a method with the push button that wants pushNamed return a boolean type of result. It failed on master because onGenerateRoute doesn't carried T with it.
Related Issues
Might be related to #50629 .
Tests
Add Passing generic type to onGenerateRoute test case in navigator_test.
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
I'm not sure whether it's a breaking change, but after this, various of test case that implemented onGenerateRoute needs to be update, so I think it might be.

[ ] No, no existing tests failed, so this is not a breaking change.
[x] Yes, this is a breaking change.

[ ] I wrote a design doc: https://flutter.dev/go/template
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[x] I wrote a migration guide.

cc @HansMuller

Seems some code were changed by dartfmt, plz ignore them if they're not necessary to be fixed.

Please help me review this PR when you guys have time. ❤ @HansMuller @dnfield @xster

Please revert any dartfmt related changes - we don't use dartfmt in this repository.
You also have some merge conflicts to resolve.
This will require at least a migration guide.  I'm fairly certain this will also require internal changes in Google's repo.
@chunhtai - how does this fit in with other planned changes for navigator?
/cc @goderbauer

Please revert any dartfmt related changes - we don't use dartfmt in this repository.
You also have some merge conflicts to resolve.

Will done these ASAP.

This will require at least a migration guide. I'm fairly certain this will also require internal changes in Google's repo.

Is there a migration guide I can follow? Or I need to wait for your guys feel good to process with this PR?

There are a number of examples at https://flutter.dev/docs/release/breaking-changes - the git repo for that is https://github.com/flutter/website.git

Too many 'revert' commit for now, I'll open up a new PR for this.

There are a number of examples at https://flutter.dev/docs/release/breaking-changes - the git repo for that is https://github.com/flutter/website.git

Done with migration guide.

/cc @chunhtai

This will solve to problem when passing type argument through onGenerateRoute but only dynamic can be returned.

dynamic allows you to return whatever you want. You can cast it to whatever type you like. While some stronger static type safety may be desirable here, I don't understand what problem this is solving. Can you elaborate what this enables you to do that you couldn't do before to desired whether this breaking change is worth it?

Also: There are many failing tests on cirrus.

@AlexVincent525 @goderbauer
see my workaround and repro in https://github.com/flutter/flutter/issues/50629#issuecomment-606130758

While some stronger static type safety may be desirable here, I don't understand what problem this is solving. Can you elaborate what this enables you to do that you couldn't do before to desired whether this breaking change is worth it?

Let's have a quick look about what methods does Navigator have currently, using named route:
Future<T> pushNamed<T extends Object>
Future<T> pushReplacementNamed<T extends Object, TO extends Object>
Future<T> popAndPushNamed<T extends Object, TO extends Object>
Future<T> pushNamedAndRemoveUntil<T extends Object>
They all goes to Route<T> _routeNamed<T> eventually.
So from my point of view we need to unify the use of these methods with generic type provide cause the base method has generic type carried with.
Imaging that a user wants a fixed type returned when pushing, why he/she needs as someType rather than pushNamed<someType>? The generic type is design for this scenario.
Another scenario is add-to-app. Using as someType will increase the size of apps according to avoid_as from linter, which they do care about.
While you can only use as someType for now, it's really an ugly workaround for a type cast. There's nothing that cannot be done now, but this breaking change means better, though Flutter (I mean official side) should provide a good example about method usage.

see my workaround and repro in #50629 (comment)

Yes it did work, but it's still a workaround.

Also: There are many failing tests on cirrus.

These test cases are updated too fast, I will solve them after the proposal of this PR is approved or it's stable.

I don't think it make sense to define type at app level. For example, showdialog can push page with arbitrary results depends on the use case. This approach does not solve that use case.

For example, user might have different name route with different return type for custom form response.

This change requires the generic type parameter is passed when define onGenerateRoute, please see the migration guide.

For example, user might have different name route with different return type for custom form response.

This change requires the generic type parameter is passed when define onGenerateRoute, please see the migration guide.

No, you are right. I overlooked part of the design

I have been thinking about what make the most sense. We are actually in the middle of refactoring entire routing system for name route. See Navigator 2.0
and Router
Once router widget is landed, we will encourage people to migrate to the new system.
I can see this pr fixes some obvious errors. However, a lot of apps will have to migrate after this pr lands. I find it a bit uncertain to make people migrate their apps to an API that will become legacy in the future and they have to migrate again.
Since there is workaround. I suggest we hold off this fix. @AlexVincent525 How do you think?

Once router widget is landed, we will encourage people to migrate to the new system.

Will this widget land in next stable release or next quarter? If not I think we can continue to push the implementation, since it has been four months when last stable (major version) release. According the release recently with hotfix, I suspect that this won't land until next year :P

I find it a bit uncertain to make people migrate their apps to an API that will become legacy in the future and they have to migrate again.

Althought it breaks most cases related to navigator currently, the migration can be done easily, which is significant helpful for apps and packages that rely on named route.

  There are a large number of users who will experience this as a difficult breakage because of packages they don't control getting broken.
The next stable is coming soonish.  But either way we should treat everything we commit to master as if it is ready for stable tomorrow.

@chunhtai About your workaround, is it possible to using push rather than as T?

During lunch break I quickly browsed the API documentation based on the master branch, and found nothing related to the new navigator or the new router, when will this plan start to deploy? Again if it will take a long term I suggest that we can push this implementation land.

I left a comment on https://github.com/flutter/flutter/issues/50629#issuecomment-608571875 to show another way that the issue can be fixed in user code.
Thinking about this more, I don't think it is appropriate to give onGenerateRoute a generic because by design the method needs to return Routes with different generic types. Let's say in my app I have two routes, one returns the date that a user has selected in a datepicker and another one returns true/false to indicate whether the user wants to perform a certain action. I would defines these routes as follows:
class DatePickerRoute extends Route<DateTime> {
  // implementation of Route that returns a selected DateTime.
}

class ConfirmDialogRoute extends Route<bool> {
  // implementation of Route that returns whether the user wants to perform an action.
}

If onGenerateRoute now takes a generic T, I wouldn't be able to return any of those Routes from my onGenerateRoute because both of them are not of type Route<T>. The analyzer would complain:
error: A value of type 'DatePickerRoute' can't be returned from function 'onGenerateRoute' because it has a return type of 'Route<T>'. (return_of_invalid_type at <>)
error: A value of type 'ConfirmDialogRoute' can't be returned from function 'onGenerateRoute' because it has a return type of 'Route<T>'. (return_of_invalid_type at <>)

(Currently not working, will be AFK for 1 or 2 days.)

Sorry for the delay. Just back to work today.

If onGenerateRoute now takes a generic T, I wouldn't be able to return any of those Routes from my onGenerateRoute because both of them are not of type Route<T>.

I try this with the same error occurred, and by using as Route<T> this error solved. But that comes to the origin problem, whether we use as or generic type there must be somewhere that should force casting a route to a specific type. That's kinda chaos.
class DatePickerRoute extends Route<DateTime> { }

onGenerateRoute: <T>(RouteSettings settings) {
  return DatePickerRoute() as Route<T>; // It only worked with force casting.
},

Thought about the type force convert again...users MUST known the exactly type when they're trying to generate (or push) a new route, that means that no matter whatever the type they specified as defined, it should be as the same type as the generic type eventually, otherwise it'll throw an error. I'm not sure what kind of design proposal is in here by official team.

why not just change
typedef RouteFactory = Route<dynamic>? Function(RouteSettings settings);

to
typedef RouteFactory = Route<T>? Function(RouteSettings settings);

and then, we can pass the generic type to screen and enforce the return type from that screen
Some screens can have a generic type to reduce duplicate code, like SearchScreen and SearchScreen, but now we can't even pass the generic type via Navigator.of(context).pushNamed


Implement logic for Population Service

Creates SpannerPopulationsService
Implements Create, Get, And Stream methods
Creates tests

This change is


[Bug]: Inconsistent Behavior When Launching Empty Duplicated App

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When creating an empty app, then duplicating it, the two (2) apps have different behavior when launched.
When launching the original app, it displays this screen:

When launching the duplicated app, it displays this screen with Resource not found error:

Steps To Reproduce

Create a new app and rename it as desired.
Duplicate the app.
Launch the original app.
Launch the duplicated app.
Notice the difference in behavior.

Public Sample App
No response
Version
Cloud  v1.6.17-SNAPSHOT

not reproducible in v1.18


Support for Emoji 3.0

Hey, here is an update for Emoji 3.0. Data files were updated with ones from http://www.unicode.org/Public/emoji/3.0/ and EmojiData was build with rake task. So far - seems to work well!

This is awesome! Would you mind adding a couple tests that cover the 3.0 emoji?

I went ahead and did this while I was checking out the changes. Thanks again!


Platform Accessories check

Hi,
I am trying to create a dynamic platform which fetches once on home bridge startup all available devices from a specific server. To identify these devices they have a unique ID assigned to them.
How would the logic inside the plugin work for it to fetch all devices, check if they already exists, remove the ones that don't exist on the server but exists on homebridge, and add devices that exist on the server but don't exist on homebridge.
How can I check in the didFinishLaunching the devices that already exist?
Thanks,
Beno

Solved it by using newAccessory.context.sceneId = sceneId; and comparing it after the didFinishLaunching

@bgottsch Can you expand on this technique a bit?

@jdtsmith sure!
I was creating a plugin to interface with my ISY-994i (for Insteon devices). I wanted to take advantage of the dynamic plugin features avaliable in homebridge.
I sumbled upon many different answers and approaches to solve it, and found a solution by using the accessory.context property. With that property, I can save the ISY-994i ID (defines internally by ISY), and check it at startup with the newly discovered ones.
To better explain:

first time I run the plugin (no accessories registered): it fetches all devices registered in the config file and creates them. For every created accessory, the property accessory.context.sceneId is set with the internal ISY-994i ID. Once registered, homebridge saves those accessories internally (.context property is preserved).
Start the plugin after it has already been started before: it will read the config file and compare it with the already registered accessories inside homebridge. For the comparison logic, I use the property accessory.context.sceneId and compare it to the scene ID in the config file. If the device is matched to the config, it skips it and simply initializes it. If the device is new, it registers it as a new accessory. And if it is found in homebridge, but not in the config, the accessory is deleted.

This is done to maintain persistance across restarts. Also, it is useful to manage, add, edit and delete devices (as with the delete logic, if data, such as name has cahnged from the config to the registered devices, it will delete and readd the edited device).
I did this implementation some time ago so I´m not 100% sure if that was all. Back then I remeber this issue was way more complicated than needed. This was the solution I found to implement what seemed like the correct implementation of a dynamic plugin.
For reference, check my ISY-994i plugin, inside the platform.js file: https://github.com/bgottsch/homebridge-isy994i
Let me know if I wasn´t clear in my explanation.
Best regards,
bgottsch

Thanks, this is very useful, and sounds like what I want to do (except with Denon receivers and a uniq "boot id" for each of them).  There is sadly such limited information on dynamic platforms.
Couple of questions: when you say "read the config file", you mean an auto-generated and stored config file, yes (not /etc/homebridge/config.json)?  Do you also merge in user config via that path should they choose to set anything?   Are they passed in separately if you recall?
Also, suppose the devices available dynamically changes (e.g. someone unplugs a device, or they get a new network address), do you query for them during runtime and add/remove devices, or only when homebridge starts?
Thanks again.

@jdtsmith
I agree, information on it is scarse, unfortunatelly.
1- when you say "read the config file", you mean an auto-generated and stored config file, yes (not /etc/homebridge/config.json)?
I read the homebridge config.json file (depending on your install, located at /etc/homebridge/config.json). This file will have all the devices I as a user chose to add (before runtime).
2- Do you also merge in user config via that path should they choose to set anything? Are they passed in separately if you recall?
It is possible to handle user configs, but for my plugin all I needed was a user, password, IP address and port. Since ISY-994i has a REST API, I call http requests on it, to fetch the status and control devices. Take a look at my config.json example in the plugin I mentioned above. There, "global" variables and devices are all part of the json.
3- Also, suppose the devices available dynamically changes (e.g. someone unplugs a device, or they get a new network address), do you query for them during runtime and add/remove devices, or only when homebridge starts?
I do not query the devices at all. It would be unecessarilly complicated to query them everytime (although that would be the best practice). I read them from the config.json file and thats it. When I refer to the devices stores in homebridge, I refer to the devices saved in the persistentStore folder, located inside .homebridge folder.
To update the device info, should it change a name or whatever property, I delete it and add a new one. For the deletion logic, I first compare each device on the persistentStore to each device in the config.json, and if they don´t match, I delete the unmatched case from the persistentStore. Than, I add all the new ones found in the config.json, but not found in the persistentStore.
I know it seems like a hacky or not elegant way to implement the dynamic plugin features, but that was the solution I found.
There are a number of plugins that handle runtime discovery and updating of devices, though I could not implement it (for the time I had on this project).
Regards,
bgottsch

I see.  I know the Nest plugin for example requires "no config", and then discovers and presumably stores pertinent configuration with the cached accessories themselves.  I haven't looked closely, but it must also check if they are still valid on reload from cache.  But it can also take user-specified config to override discovered information.
An example I'm considering: I can use uPnP to find all connected receivers, and query them to find out the name of all inputs on each.  But the user may want to override that list in some way (e.g. if they don't use several of them).  So on auto-discovery of devices, if the user config mentions such a named device, I'd like to allow their config options to override the automatically discovered data.  And so on.  And this information may change, so even if a given accessory is cached, it may need some of its configuration updated (at the user's request via config.json, or because the information on the receiver end actually changed — e.g. a given input was renamed).
For now I put a note at the top of the most relevant wiki page... it needs serious help!  Really appreciate your assistance.  I do also wonder what light @ebaauw could shed on all this, as I know he's put considerable energy into a dynamic Sonos platform that does auto-discovery and presumably had to deal with syncing up configurations via config.json and what is discovered automatically in the "real world".
Thanks again!

@jdtsmith
You´re welcome! Glad to help.
I think your proposed solution can work, and with some logic in the event handler methods, you could automate the addition, removal and updating of devices.
I also made a Spotify Connect plugin (inspired by @ebaauw´s Sonos plugin), but I stripped away the auto-discovery feature for a config.json based approach, and have to manually add the devices that I want to be discovered.
There was a plugin for Harmony Hub (I think it´s deprecated now) that implemented the auto-discovery feature in a LAN environment. It was very reliable and I remember it beign really useful (until Logitech changed their APIs, unfortunatelly).
Honestly, homebridge is wonderful but has ways to go before becoming an intuitive and user-friendly solution. Homekit is a complex topic and I can imagine the hassle it was to develop this platform (and HAP-NodeJS).
Ideally, plugins should have a better way to register devices, while keeping in sync with homekit. I think the dynamic features of a plugin came to solve this issue, but it´s a very complex approach.
My homebridge instance running for a few years now, and it works as expected. But things should be updated, or else they will be forgotten/replaced.
I believe Homekit is now open-source for non profit use cases. Therefore, even with this amazing accomplishment, the open-source solutions are extremely limited.
In a perfect world, we woudl ahve the abiltiy to install an app that acts as a Hub for a variety of plugins, each with it´s own configuration page, in a dedicated UI. I know there are homebridge plugins that try to create a UI to customize the config.json, but it feels like a hacky solution, rather than a production ready approach.
Just my 2 cents on the topic (glad to discuss more about homebridge and Homekit, if you or anyone is interested).
Best regards,
bgottsch

I also have a number of dynamic plugins, that work with a minimal configuration file.  All it has in it is alias mapping between the device ID and the name I want to use in HomeKit.
I also implemented device auto discovery on startup, that creates accessories for new devices during startup.
For approach, I use the didFinishingLaunching event to perform auto discovery of new devices and the configureAccessories function to refresh my existing devices.
What I have found missing from the homebridge/hap-nodeJS codebase, is the ability to lookup an accessory by name or UUID.  When I do my device auto discovery, to prevent duplicate existing devices I need to consult I list I need to build in memory rather having an API check.  A little bit painful.
My other rant, is the get Event.  To ensure we have responsive devices, the get Event needs to be deprecated, and plugins forced to use updateValue to update status.

Thanks both.  I'm trying to reopen an issue over on homebridge, so it'd be great if you each could comment there on what is needed to document and fully use dynamic platforms.  Very useful info about didFinishLaunchingbtw.

@jdtsmith For a recent example with didFinishLaunching, take a look at this https://github.com/NorthernMan54/homebridge-connex

Thanks, will take a look.  Hopefully we can get this documented so anyone can have access to the dynamic style of plugin development!


Add Netbird client to AVM Fritz!OS

Is your feature request related to a problem? Please describe.
I'm always frustrated about the tedious work when I have to set up VPN connections for SoHo-Fritz!Boxes manually.
It would be great to integrate AVM Fritz!Boxes into Netbird.
Describe the solution you'd like
AVM Fritz!OS supports Wireguard since version 7.50.
I suggest a co-operation with AVM to integrate the Netbird client into AVM Fritz!OS.
This would allow to easily set up a mesh-VPN with hundreds of SoHo-Fritz!Boxes.
It would also set an example for other router vendors to integrate Netbird.
Describe alternatives you've considered
Setting up AVM Fritz!Box VPNs manually.

It should be possible using custom firmware like FreetzNG and then building the client for i386-mipsel (which go supports out of the box iirc)
It is definitely possible to do it yourself, but it wouldn't be easy

@oskardotglobal
FreetzNG would be quite a complicated solution which would break Fritz!OS updates.
One can do this on a single Fritz!Box, but it's way to complicated for average joes or if you want to roll out a bigger mesh VPN.

Just saying, if you really need to you should be able to

AVM has no 3rd party software on its boxes. So this won't happen, even if Netbird was willing.

@TBT-TBT
That's why I suggested a co-operation with AVM. ;-)

As I said. AVM doesn't cooperate with anybody, so they certainly will not do so for a controller-based Wireguard VPN.
You don't need to wait for something that is never going to happen , as you can set up a gateway to your network (e.g. on a Raspi or a small VM) following https://netbird.io/docs/how-to-guides/network-routes right now, with the same effect as if you had Netbird support on the router.


Add script to automate pushing the package to OBS

Question: Since the script takes an env var to set the API server, have you tested this with IBS? Will it work with ssh-key based authentication?

Hum... that is a good question. No I haven't tested that yet.


Fixed tooltip location for data layers button

A quick (possibly temporary) fix for tooltip placement. Currently, the OpenStreetMap data button under the Map Data > Data Layers menu is cut off by the menu heading.

Thanks @thomas-hervey, this is a good find - the "top" placement really does look bad here:


Level are gaming core experience! Let's create experience_bar pleeeaseeee :v

Here's my design

Challenge accepted 🎮
Done ✔

Challenge accepted 🎮
Done ✔


Upgrade amp version to 2.0.3

5.x will no longer be supported after v<IP_ADDRESS>, and the require minimum version of PHP is 7, so amp versions are upgraded

Amp v2.x diff v1.x is \Amp\xxx to \Amp\Loop::xxx, example amp v1.x Amp\run() modify amp 2.x Amp\Loop::run()


Add nearForm favicon

As discussed yesterday, we want Clinic tabs to be identifiable and branded amid many other tabs - but the logos for Doctor and other Clinic products aren't especially recognizable at 16px x 16px. The nearForm favicon is recognisable at this size, so we agreed to use that.

LGTM


how to free gpu used

i use ollama for flux ,and flux is large,so is there a way to clean gpu used or some method to free ?

clean gpu usage after using ollama node?

clean gpu usage after using ollama node?

yes. 4070TIS,use flux and ollama model,sometimes out of memory

Yes please for the love of god add .to("cpu") in the code for the model at end but then also have to add moving back to gpu before it does it's thing or it will fail on 2nd run
This is very lazy memory management on your end. Keeping ~11gb VRAM loaded is unusable

@inferno46n2 do i work for you?

@inferno46n2 do i work for you?

Not with code like this you don’t

🤣😂, feel free to share your god coding skills with all of us and make a PR to handle this.

🤣😂, feel free to share your god coding skills with all of us and make a PR to handle this.

Already told you how to handle it

Your comment don't make any sense and 0 understanding on what the nodes do. Move on child.

@Chengym2023 By the way, you can have this behavior by setting keet_alive = 0 in the node. ollama will remove the model after usage. make an update I change the keep alive to work with step 1 instead of 5 so you can set it to 0 now.


Curl output to ffuf

Hello, I'm currently using ffuf in conjunction with burp. I usually start writing my query in burp and I go to ffuf to execute the fuzzing.
My plan is to take the curl request output format and transform it to a ffuf query, by directly specifying the fuzzed parts inside the file.
I was planning to create a lua file to do this conversion, but after thought, a ffuf option would definitely be better.
I can create a first draft proposal if you like the idea. Else, I will create a small function to do the conversion.
Cheers !

would be very handy indeed

Hello, I started working on a lua script to do this feature, while waiting for a feedback by the fuff maintainers:

https://github.com/danymat/ffufify


Kubernetes ServiceAccounts Integration with NATS Authorization

In last release, it was added support for authorization using a custom secret where the credentials are defined in JSON, but we might be able to simplify this by using the service accounts already present in Kubernetes.
Below a full example of a manifest creating 2 pods, one binding to the default service account and the other to a new service account, then a couple of custom ServiceRoles (new CRD managed by the operator) created to define the pub/sub permissions. A NATS client running in one of the pods would be able to use the token provided by the service account, and in case of changes the configuration would be reloaded with the new authorization rules.
# Container using a new service account
nats-sub -s nats://demo-nats-service-account:`cat /var/run/secrets/kubernetes.io/serviceaccount/token`@demo-nats:4222 SANDBOX.hello

# Container using the default service account
nats-sub -s nats://default:`cat /var/run/secrets/kubernetes.io/serviceaccount/token`@demo-nats:4222 SANDBOX.hello

Example manifest of how this would work:
---
apiVersion: nats.io/v1alpha3
kind: NatsCluster
metadata:
  name: demo-nats
spec:
  size: 3
  version: "1.1.0"
  pod:
    enableConfigReload: true
  auth:
    enableServiceAccounts: true
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: demo-nats-service-account
---
apiVersion: nats.io/v1alpha3
kind: ServiceRole
metadata:
  name: demo-nats-role
  namespace: default

  # Specifies which NATS cluster will be mapping this account,
  # (have to create a service role with permission per cluster).
  labels:
    nats_cluster: demo-nats
spec:
  serviceAccountName: demo-nats-service-account
  permissions:
    publish: ["foo.*", "foo.bar.quux"]
    subscribe: ["foo.bar"]
---
apiVersion: nats.io/v1alpha3
kind: ServiceRole
metadata:
  name: demo-nats-default-role
  namespace: default

  # Specifies which NATS cluster will be mapping this account,
  # (have to create a service role with permission per cluster).
  labels:
    nats_cluster: demo-nats
spec:
  serviceAccountName: default
  permissions:
    publish: ["SANDBOX.>"]
    subscribe: ["SANDBOX.>"]
---
apiVersion: nats.io/v1alpha3
kind: ServiceRole
metadata:
  name: default
  namespace: default
  labels:
    nats_cluster: demo-nats
spec:
  serviceAccountName: demo-nats-service-account
  permissions:
    publish: ["foo.*"]
    subscribe: ["foo.bar"]
---
apiVersion: v1
kind: Pod
metadata:
  name: demo-nats-client-pod
spec:
  serviceAccountName: demo-nats-service-account
  restartPolicy: Never
  containers:
    - name: nats-ops
      command: ["/bin/sh"]
      image: "wallyqs/nats-ops:latest"
      tty: true
      stdin: true
      stdinOnce: true
---
apiVersion: v1
kind: Pod
metadata:
  name: demo-nats-client-pod-default-account
spec:
  # No account means using the default service token
  restartPolicy: Never
  containers:
    - name: nats-ops
      command: ["/bin/sh"]
      image: "wallyqs/nats-ops:latest"
      tty: true
      stdin: true
      stdinOnce: true

Rather than using the service account secret, instead looking into using the TokenRequest API that was built into Kubernetes v1.10 to issue a token with a different audience so that can't be used against the API server.
https://github.com/nats-io/nats-operator/pull/58

Fixed via #58


✨ Initial commit for koa-liveness-ping

Closes https://github.com/Shopify/quilt/issues/92
@TheMallen what are your thoughts on the API? In particular, how do you feel about the user supplying the ping endpoint? I figure that's one way to make this less tied to our internal deployment stack?

@TheMallen I've updated this PR to include your suggested API changes. I also added a test to confirm that the middleware works with mount.


Edge side stream analytics job doesn't seem to work.

Hi, I deployed the ASA to intercept tempSensor, but it doesn't seem to work.
Here are the ASA logs
netiotroot@netiot-linedge-ga-03-vm:~$ sudo iotedge logs -f netiot-edge-ga03-asajob
Asa module - Initialization
Using transport Mqtt_Tcp_Only
Asa module - Opened module client connection
asa getting path: https://netiotedgega03store.blob.core.windows.net/netiotedgega03storeagecontainer/EdgeJobs/b646918d-80f8-4b63-818f-85dda7236c8d/0e6a1084-4aa9-4815-8ffe-afb7d8678ad5/ASAJobInfo.txt?sv=2017-04-17&sr=b&sig=SYC0RUbL6wOsEqu6mInellA8kHU8eRIQk%2FgzZqQU688%3D&st=2018-07-22T09%3A26%3A22Z&se=2021-07-22T09%3A36%3A22Z&sp=r
[ASA Intialization-netiot-edge-ga03-asajob] Enable verbose log...
[ASA Intialization-netiot-edge-ga03-asajob] Configuring Logging setting...
[ASA Intialization-netiot-edge-ga03-asajob] Configuring metrics setting...
[ASA Info-netiot-edge-ga03-asajob] ActivityName:AsaEngine.IntializeMetricsAndLogging, TraceName:BaseMetricsPublisher.Initialize, TraceId:00010002, startTime:07/22/2018 09:37:47, elapsedMilliseconds:3, message:EdgeMetricsPublisher initialized, FxVersion: 1.2.63025.26
Initialized ASA Engine
ASA module registered message endpoint : [temperature]
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:OutputEvents, Value:0
[ASA Metric-netiot-edge-ga03-asajob] Metric Name:InputEvents, Value:0
Something missing ?
/Girish BK

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

ID: 6c6c2a4f-2979-8420-115c-852bee17e43b
Version Independent ID: 01b5c8c0-4f08-53f7-7be7-a22038ad6988
Content: Tutorial - Deploy ASA jobs to Azure IoT Edge devices
Content Source: articles/iot-edge/tutorial-deploy-stream-analytics.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Corresponding ... tempsensor logs..
rature":21.061448593419719,"humidity":26},"timeCreated":"2018-07-22T10:04:00.3860963Z"}]
07/22/2018 10:04:05> Sending message: 846, Body: [{"machine":{"temperature":101.66508710974151,"pressure":10.1896934681984},"ambient":{"temperature":20.841365213664883,"humidity":24},"timeCreated":"2018-07-22T10:04:05.3890842Z"}]
07/22/2018 10:04:10> Sending message: 847, Body: [{"machine":{"temperature":101.31548966831335,"pressure":10.149865911580001},"ambient":{"temperature":21.160680644987469,"humidity":26},"timeCreated":"2018-07-22T10:04:10.3924158Z"}]
07/22/2018 10:04:15> Sending message: 848, Body: [{"machine":{"temperature":101.23509129380597,"pressure":10.140706603091818},"ambient":{"temperature":20.91672469974343,"humidity":25},"timeCreated":"2018-07-22T10:04:15.3916737Z"}]
07/22/2018 10:04:20> Sending message: 849, Body: [{"machine":{"temperature":101.60352590964358,"pressure":10.18268016692142},"ambient":{"temperature":20.602903108626094,"humidity":25},"timeCreated":"2018-07-22T10:04:20.3913546Z"}]
07/22/2018 10:04:25> Sending message: 850, Body: [{"machine":{"temperature":101.1080359914845,"pressure":10.126231948396969},"ambient":{"temperature":20.740172836110077,"humidity":26},"timeCreated":"2018-07-22T10:04:25.3940005Z"}]
07/22/2018 10:04:30> Sending message: 851, Body: [{"machine":{"temperature":101.26787235297648,"pressure":10.144441154136562},"ambient":{"temperature":20.54496848818146,"humidity":26},"timeCreated":"2018-07-22T10:04:30.3970183Z"}]

Hi Mike, Please ignore this ticket. There was error in routing and is fixed.  ASA works now !

From: Mike Ubezzi<EMAIL_ADDRESS>Sent: Sunday, July 22, 2018 8:54 PM
To: MicrosoftDocs/azure-docs
Cc: BK, GirishKumar; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Edge side stream analytics job doesn't seem to work. (#12169)
@girishkumarbkhttps://github.com/girishkumarbk Thanks for the feedback. We are actively investigating and will get back to you soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/12169#issuecomment-406874530, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGdImgS7w5phnRrSGgsgvbwIA6j8_Rw3ks5uJJkOgaJpZM4VZ8CT.

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


Apply Plugin to Specify Entry Point

Clear and concise description of the problem

Apply vite or rollup plugins to specify entry

Suggested solution
for example index.html as entry
<html>
<head>
    <title>vite</title>
</head>
<body>

    <script type="module" plugins="rtlcss, autoprefixer">
        // plugin attribute which means these plugins apply just to this specified entries
        import './app.scss'
        import './app.js'
    </script>

    <script type="module">
        import './another.js'
    </script>
</body>
</html>

Alternative
build.rollupOptions

Additional context
already create discussion and have a test case, if you not interested in this feature request please check the discussion link
thanks

@antfu @wheatjs @patak-js
any suggestion for this problem ?
I'm a normal developer I just mention this feature

These are the ways that come to my mind:
1.multiple vite config file: vite.config.js and vite.rtl.config.js
2. vite javascript api
which I don't know how to use both ways
second-way doesn't have quite a documentation (for newbies)

I am not sure if this is something we'd like. To me, this adds much more complexity and I don't see it really useful (there will have a lot of internal plugins for both vite core and 3rd party plugins, which I don't think it make sense to list them all).
FYI, vite.config.ts does allow to export a function to provide different setup based on the environment. Meanwhile, you can also use plugin to serve custom index.html or entry to fit your need.
I'd think we could close this. Thanks.

Thanks for response but
A simple vite config example would be nice

https://vitejs.dev/config/#conditional-config


A* Algorithm in python

The A* algorithm is one of the most effective path finding algorithms used to find the shortest path between two points

I have created pull request..look in to it please

Hey brother how much time you will take to review the and merge it..please do it fast

Move this inside DSA/DSA-Python/Sorting Algo directory


AngleSharp 0.9.9 not installed to VS2017 project

Hello,
I am using AngleSharp 0.9.9 in my several VS2017 projects.
But, I am facing a strange symptom.
Some of the projects, I can successfully install AngleSharp 0.9.9 and it works fine.
But, in some of the projects, when I install AngleSharp 0.9.9 by nuget,
no error messages are shown and installation successfully done.
But, in the solution explorer, there is no AngleSharp 0.9.9 reference.
Then, I downgrade it to AngleSharp <IP_ADDRESS> by nuget, it is shown in the referense list.
So, I am using AngleSharp <IP_ADDRESS> and it works fine.
But, I want to know why I can not install 0.9.9 in my some of the projects.
If you can find the solution, please let me know.

Sounds strange to me - have you checked with NuGet that this is no bug? What does VS2017 projects refer to? Projects created with VS2017 or projects running in VS2017? Also what is the patch level of both, VS2017 and NuGet?

Hello,

have you checked with NuGet that this is no bug?
In VS2017, NuGet Package Manager is automatically installed.
So, I think that NuGet I am using is the latest one.
What does VS2017 projects refer to?
Sorry. I want to mean VS2017 C# projects.
They are mainly ASP.NET MVC projects or class library projects.
Also what is the patch level of both, VS2017 and NuGet?
VS2017 Community Ver 15.5.2
NuGet Package Manager 4.5.0

I have ever experienced a similar symptom in VS2015 with another package that is not AngleSharp.
At that time, problem was solved by updating NuGet.
But, this time, I have no idea what to do.

Hi @hiromi3 thanks for providing the detailed info. Unfortunately on my VS2017 installation (I am on the latest preview 15.5 preview 5) I cannot reproduce. Maybe I find a machine with 15.5.2 to try it out. Maybe someone from the NuGet team could help you / us here? If its something with the AngleSharp package then my NuGet knowledge may be also too low to provide a solution.

Hi FlorianRappl,
Thank you for your reply.
If VS2017 ver 15.6 is released, I will install it and test the problem again.
I will report the result to you.
In my VS2017 ver 15.5.2 , the following procedure will reproduce the problem.
Create C# New Console Project with .NET Framework 4.7 .
Add AngleSharp 0.9.9 by NuGet Package Manager.
The messages in output window show that the installation was successfully done, but AngleSharp is not listed in reference.
Then I downgrade it to <IP_ADDRESS> , AngleSharp is shown in reference list.
Then, I upgrade it to 0.9.9, it is removed from the list.
So, it is very strange!
Anyway, currently I am using <IP_ADDRESS> and it is enough for me.

The messages in output window show that the installation was successfully done, but AngleSharp is not listed in reference.

I think placing an issue on the official GitHub repo would be super!

Hello,
I reported the symptom to NuGet official github.
https://github.com/NuGet/Home/issues/6347
I hope the problem will be fixed.

Thanks for the info! Let's see what comes out.


Build Error: Cannot find module ‘./utils/verifyTypeScriptSetup’

Is this a bug report?
Yes

Did you try recovering your dependencies?

Yes
Environment

System:
OS: Linux 3.10 Debian GNU/Linux 9 (stretch) 9 (stretch)
CPU: (40) x64 Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Browsers:
Chrome: Not Found
Firefox: Not Found
npmPackages:
escape-string-regexp: ^2.0.0 => 2.0.0 (1.0.5, 1.0.5)
express: ^4.17.1 => 4.17.1
react: ^16.8.6 => 16.8.6
react-dom: ^16.8.6 => 16.8.6
react-ssr-scripts: 2.1.3 => 2.1.3
npmGlobalPackages:
create-react-ssr-app: Not Found
Steps to Reproduce

Use a Linux distribution
Try to build a previously created project using npm run build

Expected Behavior

Build finishes without errors
Actual Behavior

Build failed with error:

@nicolasmn can you try and update the react-ssr-scrips package? yarn add react-ssr-scripts

@maxparelius Facing the same problem when try to run npx create-react-ssr-app my-app from my linux machine. I have node 12.5.0 installed. Also tried with yarn, but no luck.
Output:
npx create-react-ssr-app my-app
npx: installed 65 in 9.12s

Creating a new React SSR app in /media/sim/DevHouse/lab/my-app.

Installing packages. This might take a couple of minutes.
Installing express, react, react-dom, and react-ssr-scripts...

><EMAIL_ADDRESS>postinstall /media/sim/DevHouse/lab/my-app/node_modules/core-js-pure
> node scripts/postinstall || echo "ignore"

+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 1371 packages from 723 contributors and audited 902220 packages in 82.435s
found 0 vulnerabilities

internal/modules/cjs/loader.js:628
    throw err;
    ^

Error: Cannot find module './utils/verifyTypeScriptSetup'
Require stack:
- /media/sim/DevHouse/lab/my-app/node_modules/react-ssr-scripts/scripts/init.js
- /media/sim/DevHouse/lab/my-app/[eval]
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/media/sim/DevHouse/lab/my-app/node_modules/react-ssr-scripts/scripts/init.js:24:31)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:683:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/media/sim/DevHouse/lab/my-app/node_modules/react-ssr-scripts/scripts/init.js',
    '/media/sim/DevHouse/lab/my-app/[eval]'
  ]
}

Aborting installation.
  node  has failed.

Deleting generated file... node_modules
Deleting generated file... package.json
Done.

@maxparelius reinstalling the package didn't help

@nicolasmn @sh4hids try removing create-react-ssr-app and installing again with npm uninstall -g create-react-ssr-app and then npx create-react-ssr-app my-app

@maxparelius Tried removing and installing again, but same problem remains.

Same here, updated react-ssr-scripts to 2.1.4 and the error keeps happening

@maxparelius  I believe I found the issue:
Here you are importing the verifyTypeScriptSetup from './utils/verifyTypeScriptSetup' (s of script is Capital).  But the actual file name is verifyTypescriptSetup.js (s of script is small).
I Hope, we are getting a fix soon...

@maxparelius Hey Max, will you please approve my PR for the fix above, or make the fix specified in the comment above? Thank you!

@nicolasmn @sh4hids @SanKlein Thanks for the help guys sorry for delays been on vacation. The issue is fixed and published.


[skip ci] Prepare for Py 3.10 support

*Issue #973 *
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: cdc641fabddf13d19d6e04207d45f12b127e8d5a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Improve the look and feel of the web site

Motivation:

Source Code Pro is a great font, but it is too wide, making our
documents look somewhat distracting.
Our site javadoc is well-styled, but other javadocs generated by
individual projects do not use the custom stylesheet.
Our javadoc does not link to all external classes

{@code ... }
 doesn't work well with @Override
annotations in the code snippet.

Modifications:

Switch from Source Code Pro to Inconsolata which is slimmer.

Use the same Javadoc style for all generated API documentation.

Improve the Javadoc style a little bit by tweaking table cell widths
and padding, etc.

Add some JavaScript into the generated Javadoc so that the following
is possible:

Automatic syntax highlighting of the code snippet wrapped by

{@code ..}

The script automatically strips the leading '> ' so that it's
possible to use @Override annotation with
{@code ... }. For
example:
/**
 *
{@code
 * > @Override
 * > public void hello() { ... }
 * }

 */

Add more links to the external Javadocs

Use the -linkoffline option for faster build

Result:

Our web site, API documentation and Xref will look better.

Thanks for reviewing. I made some additional changes after your reviews but ended up self-merging this given that it's pretty much cosmetic stuff.


[Crash] After updating to Version 1.12.2-<IP_ADDRESS> from 1.12.2-<IP_ADDRESS>

Mod Version: 1.12.2
Forge Version: <IP_ADDRESS>68
Link to crash log (if applicable): https://pastebin.com/S3EQUqPB
Description: Crashed after new update

After deleting the mod this will came
http://prntscr.com/lhzhsm

I'm having the same problem.

For some reason there are two coremods in the 1.12.2 mod directory:
  DynamicSurroundingsCore (DynamicSurroundings-1.12.2-<IP_ADDRESS>-core.jar)
  DynamicSurroundingsCore (DynamicSurroundings-1.12.2-<IP_ADDRESS>-core.jar)

Navigate to the 1.12.2 subfolder in your mods directory and delete both instances of the DS core mod.  Then start your client.

That fixed it!. Thanks.

okay that is fixed but maybe you need to fix it by your own because when someone updates this will happen

Yeah.  Forge policy wants us to have the coremod seperate and embedded in the JAR.  However, it doesn't cleanup its own cache so this happens.    Lemme know how it goes.  You will need to delete the older coremod from the mods/1.12.2 folder.  Going forward the coremod should find its way into the memory_repo folder and be managed properly.  Yay.

It's there....https://github.com/OreCruncher/DynamicSurroundings/blob/1.12.2/CHANGELOG.md

oh.
I'm just dumb, sorry!

lol.  No worries.  I've been having similar moments as of late.  Maybe it's the season. :)

I'm tired. Too much university, too much work! :D


Add Flutter version and branch as accessible global values inside of a Flutter app.

It would be useful to be able to access the version of Flutter that an app was built with, as well as the channel that it was built from.
Since the tool already knows this information, it should be easy to add dart defines that would then be referenced from globals inside of Flutter.
This would enable showing the version in the about box, predicating running skipped tests on the version number, showing a "beta" banner, or other uses.
On the master channel, the branch should be filled out, but the version is the empty string, since master versioning is not determinate.  On unknown branches, the channel should be "unknown", and the version will be the empty string.

I believe we specifically declined to add this feature in the past

Right, see https://github.com/flutter/flutter/issues/26037#issuecomment-749143370 for past iterations of this.

The use case I have is the following.  Perhaps it's enough to change the past opinion, perhaps not.
There tests in the flutter/packages repo (which runs its tests on both stable and beta) that I would like to be skipped only until the Flutter version is past a certain version (so that a feature that is required for the test to pass is in stable), and then start running them, so that they automatically "unskip" when they are now able to pass. Alternatively, it could just fail the test once it's past the value so that we can re-evaluate the skip when the roll to the new version happens.
In addition, it would be nice to be able to allow people to see the Flutter version/branch that an app was built on in the About dialog to help with reporting.

Unassigning myself pending consensus that we should actually implement this

I'm going to close this.  We'd probably end up regretting adding it.


Kino Explorer - new api and data summary

This PR updates #42 to the new Explorer api and adds the summary.

I talked to @cristineguadelupe and we decided to keep Kino.Explorer in Kino for now, to ease development, BUT we should extract it out before a new Kino version is out.


update

          1 Warning

:warning:
Code style violations detected.

Code Style Check

Code style violations detected in the following files:

ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h

If you have not install clang-format, you can install clang-format by npm install -g clang-format
Then Execute one of the following actions and commit again:

Run clang-format -i  on the offending files
Apply the suggested patches with git apply patch.

If you use Xcode,you can also use clang-format plugin: https://github.com/travisjeffery/ClangFormat-Xcode
ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h
--- ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h
+++ ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h
@@ -24,4 +24,3 @@
 @property (nonatomic, strong) NSString *instanceId;

 @end
-

  Generated by :no_entry_sign: Danger

          1 Warning

:warning:
Code style violations detected.

Code Style Check

Code style violations detected in the following files:

ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h

If you have not install clang-format, you can install clang-format by npm install -g clang-format
Then Execute one of the following actions and commit again:

Run clang-format -i  on the offending files
Apply the suggested patches with git apply patch.

If you use Xcode,you can also use clang-format plugin: https://github.com/travisjeffery/ClangFormat-Xcode
ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h
--- ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h
+++ ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h
@@ -24,4 +24,3 @@
 @property (nonatomic, strong) NSString *instanceId;

 @end
-

  Generated by :no_entry_sign: Danger


Addon upgrade only apply needed addons

Why is this PR needed?
If some addon(s) need upgrades, other addon(s) will get upgraded also.
For example, if gangway addon needs to upgraded (manifest version from 1 to 2), the rest addons (psp, cilium, dex, kured) will get upgraded also since the comparison logic includes the same manifest version.
What does this PR do?
Correct comparing manifest version, upgrade the addon(s) only on the current manifest version less than the latest manifest version.
Anything else a reviewer needs to know?
N/A
Info for QA
This is info for QA so that they can validate this. This is mandatory if this PR fixes a bug.
If this is a new feature, a good description in "What does this PR do" may be enough.
Related info
https://github.com/SUSE/skuba/pull/769
Status BEFORE applying the patch

Deploy a cluster.
Edit the configmap skuba-config, decrease one of addon manifest version to 1 (for example, gangway ManifestVersion from 2 to 1).
skuba addon upgrade planAddon upgrades for 1.15.2:
  - gangway: 3.1.0-rev4 -> 3.1.0-rev4 (manifest version from 1 to 2)

skuba addon upgrade apply -v 5, all the addons got upgraded.I1014 10:24:09.254818    3836 addons.go:226] applying "psp" addon
I1014 10:24:12.429159    3836 addons.go:141] "psp" addon correctly applied
I1014 10:24:12.429209    3836 addons.go:226] applying "kured" addon
I1014 10:24:15.090280    3836 addons.go:141] "kured" addon correctly applied
I1014 10:24:15.090334    3836 addons.go:226] applying "cilium" addon
I1014 10:24:19.084159    3836 addons.go:141] "cilium" addon correctly applied
I1014 10:24:19.084220    3836 addons.go:226] applying "dex" addon
I1014 10:24:19.296739    3836 config.go:39] loading configuration from "kubeadm-init.conf"
I1014 10:24:23.099774    3836 addons.go:141] "dex" addon correctly applied
I1014 10:24:23.099842    3836 addons.go:226] applying "gangway" addon
I1014 10:24:23.592167    3836 config.go:39] loading configuration from "kubeadm-init.conf"
I1014 10:24:26.866602    3836 addons.go:141] "gangway" addon correctly applied
[apply] Successfully upgraded addons

Status AFTER applying the patch

Deploy a cluster.

Edit the configmap skuba-config, decrease one of addon manifest version to 1 (for example, gangway ManifestVersion from 2 to 1).

skuba addon upgrade plan
Addon upgrades for 1.15.2:
  - gangway: 3.1.0-rev4 -> 3.1.0-rev4 (manifest version from 1 to 2)

skuba addon upgrade apply -v 5, only the modified addon(s) got upgraded, skipping the rest addon(s).
I1014 10:27:05.353393    4541 addons.go:146] skipping "psp" addon apply
I1014 10:27:05.353428    4541 addons.go:146] skipping "cilium" addon apply
I1014 10:27:05.353433    4541 addons.go:146] skipping "dex" addon apply
I1014 10:27:05.353438    4541 addons.go:226] applying "gangway" addon
I1014 10:27:05.715253    4541 config.go:39] loading configuration from "kubeadm-init.conf"
I1014 10:27:08.812274    4541 addons.go:141] "gangway" addon correctly applied
I1014 10:27:08.812340    4541 addons.go:146] skipping "kured" addon apply
[apply] Successfully upgraded addon

Docs
N/A
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

@jenting good catch, I believe some unit tests can be enhanced.

I ran skuba addon upgrade plan against GM caaspv4 with additionally added  (post bootstap) staging15 registry mirror - there should be only gangway image present but it says following:
thehejik@myhost/cluster> skuba addon upgrade plan
** This is an UNTAGGED version and NOT intended for production usage. **
Current Kubernetes cluster version: 1.15.2
Latest Kubernetes version: 1.15.2

Addon upgrades for 1.15.2:
  - cilium: 1.5.3 (new addon)
  - kured: 1.2.0 (new addon)
  - dex: 2.16.0 (new addon)
  - gangway: 3.1.0-rev4 (new addon)
  - psp: 1.0.0 (new addon)

So I'm not changing the manifest versions and it doesn't work as described.

@thehejik that is a corner case, when you bootstrapped with skuba 1.0.2 (GM) and upgrade addons with a newer version all of them will "look" new to the newer skuba version, because the configmap that holds every addon version does not exist. This will only happen the first time you run skuba addon upgrade apply with a newer skuba version when you bootstrapped with the old version, and only once.

@thehejik This PR address an issue when deploying a new cluster with skuba built from master branch skuba, and one of the addon version got bumped in the future.

@ereslibre ok, I thought this PR is addressing that as well.


Improve handling when using NERDtree with a mouse

To correct the very annoying "jumping-cursor-behavior" when switching between windows/buffers via mouse NERDtree should include the following snippet:
augroup NO_CURSOR_MOVE_ON_FOCUS
  au!
  au FocusLost * let g:oldmouse=&mouse | set mouse=
  au FocusGained * if exists('g:oldmouse') | let &mouse=g:oldmouse | unlet g:oldmouse | endif
augroup END

Taken from http://vim.wikia.com/wiki/How_to_not_move_cursor_when_selecting_window_with_mouse

This behavior seems to have been implemented sometime in the last 5.5 years. Closing.


Home page is not loading css

Current behavior
Home page (after login) is not loading any CSS (sometimes) and showing errors in the console.
I have deployed this in azure app service.
Steps to reproduce
complete initial setup, then close the browser and hit the URL.
Expected behavior
Should not give any errors in the console and should load all the CSS.
Screenshots

Closing this issue, It is been 4 years, I am not expecting any reply now 😁


Fix typos

mezannineDebt typo may be more serious?

Since this isn't a core extension and since we haven't yet finalised the PPP extension (which relies on this extension) I think it is OK to fix the typo in the mezannineDebt code
@timgdavies does that sound right to you?

Ping for 1.1.1 release, @duncandewhurst

Merged. As a non-core extension, this was non-blocking for 1.1.1 - as the docs just link out here, rather than any documentation for this extension being embedded in 1.1.1


added: cli arguments for both the port and host

@shubham1172, I resolved the comments. Thanks.

updated

closes #40


One of the two Mohamed Al-Tablawi recitations is 404

https://quranicaudio.com/quran/89 is 404 while https://quranicaudio.com/quran/91 works.

interesting - it works for me so that means one of the servers must be 404-ing. if it still happens for me, can you send me the ip of the box? otherwise i'll try them all in sha' Allah.

Are you sure it's working? It's a clear 404: https://download.quranicaudio.com/quran/mohamed_al-tablawi/001.mp3
That folder isn't even present: https://download.quranicaudio.com/quran/

fixed, jazakumAllah khairan - removed the extra one. sorry it took 3 years and change 😞


Make hostname and IP address part of the config file

As part of the registration GUI, the user must specify the host name and IP address of the system as part of the SMP registration.  Please put this in the config file, so that we can create custom Docker images that contain this information already because we include a COPY ../smp-server.properties ...
of a custom config file that contains these values.  This removes a step where the AppOps person has to log on as an administrator and then manually enter these values.

Moved to different project


community: add VolcEngine Maas V3 support

Description:
This PR adds support for VolcEngine Maas V3 to the LangChain community package. It introduces new classes VolcEngineMaasLLMV3 and VolcEngineMaasChatV3 that allow users to interact with the VolcEngine Maas V3 API for both LLM and chat functionalities. The implementation includes methods for generating and streaming responses with support for handling stop tokens.
Issue:
This PR does not fix a specific issue but adds a new feature to the community package.
Dependencies:

volcengine-python-sdk for interacting with the VolcEngine Maas V3 API.

 Please provide your Twitter handle.
Add tests and docs

Added unit tests for VolcEngineMaasLLMV3 and VolcEngineMaasChatV3 to ensure the new integration works as expected.
Included an example notebook in docs/docs/integrations directory demonstrating the usage of the new VolcEngine Maas V3 integration.

Lint and test

Ran make format to format the code.
Ran make lint to ensure code quality.
Ran make test to run all tests and ensure everything works correctly.

Additional guidelines followed:

Optional dependencies are imported within functions.
No new dependencies were added to pyproject.toml.
Changes are backward compatible.
The new integration was added to the community package without re-importing in the main langchain package.

为啥v3中把temperature参数去掉了？

@efriis Hi, could you help me to review this PR again?

@mrichie sdk 文档中好像就没有提供这个参数吧？

https://www.volcengine.com/docs/82379/1298454
v2的有这个参数，v3就缺少了，直接测试发送的数据中也没有传递temperature参数


CM2 b100 Crash on game startup

Crash Log
I get this crash on game startup each and every time.
Mod Version: b100
Forge Version: <IP_ADDRESS>1

Having the same problem here
Heres my log

Sorry about that. Uploading a fixed version to curse now. Should be available soonish.


Unused import deleted

@ailisp Probably added by accident, it breaks the build.

Sorry, I failed to catch this accident


builtin package "reflect" undefined

What version of CUE are you using (cue version)?

$ cue version
cue version v0.4.3 linux/amd64

Does this issue reproduce with the latest release?
yes
What did you do?
try use "github.com/kyverno/kyverno/api/kyverno/v1"
by importing go structs to cue first
go get "github.com/kyverno/kyverno/api/kyverno/v1"
cue get go "github.com/kyverno/kyverno/api/kyverno/v1"

What did you expect to see?
I expected to be able to use the definitions
import kyvernov1 "github.com/kyverno/kyverno/api/kyverno/v1"

match: kyvernov1.#MatchResources

What did you see instead?
builtin package "reflect" undefined:
    ../../../cue.mod/gen/github.com/sigstore/k8s-manifest-sigstore/pkg/util/mapnode/node_go_gen.cue:7:8

This appears to be a duplicate of https://github.com/cue-lang/cue/issues/648 :)


Transparent status and navigation bar

[x] Make status bar transparent
[x] Update status bar icon's color based on theme
[ ] Consider navigation bar transparent
[ ] Consider updating navigation bar icon's color based on theme

Translucent navigation bar is looking nice, so settling for it now.


[BUG] graphscope.framework.errors.GRPCError: 'RPC failed, the engine might have crashed: rpc create_interactive_engine: failed with error code StatusCode.UNKNOWN, details: Exception calling application: <urlopen error [Errno 111] Connection refused>'

Describe the bug
graphscope.framework.errors.GRPCError: 'RPC failed, the engine might have crashed: rpc create_interactive_engine: failed with error code StatusCode.UNKNOWN, details: Exception calling application: <urlopen error [Errno 111] Connection refused>'
To Reproduce
Steps to reproduce the behavior:
import os
import graphscope
from graphscope.framework.graph import Graph
from graphscope.framework.loader import Loader
import vineyard
graphscope.set_option(show_log=True)  # enable logging
graphscope.set_option(initializing_interactive_engine=False)
sess = graphscope.session()  # create a session
print(sess)
graph = sess.g()
print(graph)
interactive = sess.gremlin(graph)
print(interactive)
Expected behavior
graphscope session should be able to interact with GIE server .
Screenshots
If applicable, add screenshots to help explain your problem.
I0729 14:14:31.375777    84 grape_instance.cc:110] Loading graph, graph name: graph_a37JncCH, graph type: ArrowFragment, type sig: e33529e80839a2064a804ce453c761a9483aa7ab775bcfddc1a1f9da63dcb521
I0729 14:14:31.372226    89 grape_instance.cc:110] Loading graph, graph name: graph_a37JncCH, graph type: ArrowFragment, type sig: e33529e80839a2064a804ce453c761a9483aa7ab775bcfddc1a1f9da63dcb521
I0729 14:14:32.171826    84 property_graph_frame.cc:107] [worker-1] loaded graph to vineyard ...
I0729 14:14:32.180032    89 property_graph_frame.cc:107] [worker-0] loaded graph to vineyard ...
graphscope.Graph
ARROW_PROPERTY
Traceback (most recent call last):
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/graphscope/client/rpc.py", line 47, in with_grpc_catch
return fn(*args, **kwargs)
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/graphscope/client/rpc.py", line 169, in create_interactive_engine
response = self._stub.CreateInteractiveInstance(request)
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/grpc/_channel.py", line 946, in call
return _end_unary_response_blocking(state, call, False, None)
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Exception calling application: <urlopen error [Errno 111] Connection refused>"
debug_error_string = "{"created":"@1627539272.263514146","description":"Error received from peer ipv4:<IP_ADDRESS>:31281","file":"src/core/lib/surface/call.cc","file_line":1066,"grpc_message":"Exception calling application: <urlopen error [Errno 111] Connection refused>","grpc_status":2}"

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/graphscope/client/session.py", line 1135, in gremlin
engine_params=engine_params,
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/graphscope/client/rpc.py", line 54, in with_grpc_catch
) from exc
graphscope.framework.errors.GRPCError: 'RPC failed, the engine might have crashed: rpc create_interactive_engine: failed with error code StatusCode.UNKNOWN, details: Exception calling application: <urlopen error [Errno 111] Connection refused>'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "test.py", line 12, in
interactive = sess.gremlin(graph)
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/graphscope/client/utils.py", line 156, in wrapper
return_value = func(*args, **kwargs)
File "/root/.pyenv/versions/3.6.8/lib/python3.6/site-packages/graphscope/client/session.py", line 1140, in gremlin
raise InteractiveEngineInternalError(str(e)) from e
graphscope.framework.errors.InteractiveEngineInternalError: "'RPC failed, the engine might have crashed: rpc create_interactive_engine: failed with error code StatusCode.UNKNOWN, details: Exception calling application: <urlopen error [Errno 111] Connection refused>'"
2021-07-29 14:14:33,525 [INFO][coordinator:635]: Coordinator close interactive instance with url[http://xx.xx.xx.xx:8080/instance/close?graphName=11355625130038992&podNameList=gs-engine-juyknj-284dr,gs-engine-juyknj-bz2gf&containerName=engine&waitingForDelete=False]
2021-07-29 14:14:33,528 [ERROR][coordinator:639]: Failed to close interactive instance: <urlopen error [Errno 111] Connection refused>
2021-07-29 14:14:33,528 [ERROR][coordinator:639]: Failed to close interactive instance: <urlopen error [Errno 111] Connection refused>
Environment (please complete the following information):
GraphScope version: 0.5.0
OS: Ubuntu 20.04.2
Kubernetes Version v1.20.5
python3: version3.6.8
Additional context
Add any other context about the problem here.

@346057177 , Thanks for interesting in GraphScope.  It looks like the endpoint in Urlopen is not correct. Try export GRAPHSCOPE_PREFIX=/usr/local before run test again.

hi thanks for replying me.  we need to research graphscope and findout if it fits into our product with large graph data analysis requirement.
after we tried export GRAPHSCOPE_PREFIX=/usr/local, the issue still persists.  we are running in local mode , pod with GIE are dynamically autocreated by container image, endpoint with port no. is also dynamically generated.

@346057177 From the output logs, Is it correct for the host of  http://xx.xx.xx.xx:8080?

2021-07-29 14:14:33,525 [INFO][coordinator:635]: Coordinator close interactive instance with url[http://xx.xx.xx.xx:8080/instance/close?graphName=11355625130038992&podNameList=gs-engine-juyknj-284dr,gs-engine-juyknj-bz2gf&containerName=engine&waitingForDelete=False]

xx.xx.xx.xx:8080 is  not correct.   it's different from Engines' pod host ip list.   I am also puzzled where it comes from? How is generated?

xx.xx.xx.xx:8080 is not correct. it's different from Engines' pod host ip list. I am also puzzled where it comes from? How is generated?

hi, @346057177 ,could you try again without the set_option command  graphscope.set_option(initializing_interactive_engine=False)

@346057177 hi, Were you run the code in https://try.graphscope.app/ and get the error ?

yes , demo got no error.   demo is  Container image "registry.cn-hongkong.aliyuncs.com/graphscope/graphscope:0.4.0" , we are using  Container image "registry.cn-hongkong.aliyuncs.com/graphscope/graphscope:0.5.0"

yes , demo got no error. demo is Container image "registry.cn-hongkong.aliyuncs.com/graphscope/graphscope:0.4.0" , we are using Container image "registry.cn-hongkong.aliyuncs.com/graphscope/graphscope:0.5.0"

thanks for your reply, I will try to reproduce the error.

@346057177 hi, I try with graphscope 5.0 and image "registry.cn-hongkong.aliyuncs.com/graphscope/graphscope:0.5.0". run as expected.

kubectl get ns
gs-syqqgi                 Active   8s
kubectl -n gs-syqqgi get pods
coordinator-rplroa-84b6cd8c6c-r68d4       0/1     Running   0          29s
gs-engine-rplroa-4dr2z                    2/2     Running   0          17s
gs-engine-rplroa-9xj5f                    2/2     Running   0          17s
gs-etcd-rplroa-0                          1/1     Running   0          17s
gs-graphmanager-rplroa-55768999dc-wstws   2/2     Running   0          23s

kubectl get ns
gs-syqqgi Active 8s
kubectl -n gs-syqqgi get pods
coordinator-rplroa-84b6cd8c6c-r68d4 1/1 Running 0 2m24s
gs-engine-rplroa-4dr2z 2/2 Running 0 2m12s
gs-engine-rplroa-9xj5f 2/2 Running 0 2m12s
gs-etcd-rplroa-0 1/1 Running 0 2m12s
gs-graphmanager-rplroa-55768999dc-wstws 2/2 Running 0 2m18s
pod-12595529519442291 2/2 Running 0 87s
between, what is your kube-config file when run image 0.5.0.

it seems your graphmanager pod is launch success, but can't connect it from coordinator. that's weird.

we are using k8s v1.20.5  with rancher RKE cluster.

can't not reproduce with GraphScope 5.0 + k8s, seems its k8s environment problem, not GraphScope bug

close

already fixed by 0.6.0


Read device to cloud messages

I am unable to find device to cloud reading messages sketch.
Where i provide endpoint connection string, event hub name and start monitoring the data.
I am successfully running this in python. But i am unable to find the sketch in java.

Hi @omersalam, thank you for posting the question.
You can find our developer documentation linked from the repos root README.md, which points to https://azure.github.io/azure-sdk-for-java/index.html.
The Event Hub SDK documentation, including examples of how to connect and start consuming events from event hubs is available here:
https://azuresdkdocs.blob.core.windows.net/$web/java/azure-messaging-eventhubs/5.1.2/index.html
I'm resolving this issue as closed, but feel free to reactivate or post a new issue if I misunderstood your original question or if you have any new questions/issues, respectively.
Thanks,
Josh


Update to kotlin version 1.3.31

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1618   +/-   ##
=========================================
  Coverage     79.53%   79.53%
  Complexity     1955     1955
=========================================
  Files           333      333
  Lines          5493     5493
  Branches       1008     1008
=========================================
  Hits           4369     4369
  Misses          591      591
  Partials        533      533

Continue to review full report at Codecov.

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


file is included in sys.path

It appears that this changed some time in between 2.7.4 and 2.7.5. It is causing a failure in trace.fullmodname.
Running (note that there are no slashes in the name):
ipy ipy2_issue_736.py

causes the following error:

IndexError: index out of range: 17

Where ipy2_issue_736.py is as follows:
import trace
trace.fullmodname("ipy2_issue_736.py")

From https://github.com/IronLanguages/ironpython2/issues/99#issuecomment-684672862.

Started occurring in https://github.com/IronLanguages/ironpython2/commit/0a73ebfd6b5304caeeb673ff89147ac0e0b86700


Missing documentation on TridentBackendConfig

From the README it is unclear to me what I can configure in a TridentBackendConfig CR. Some examples:

What can I use for .spec.storageDriverName?
What is the meaning of .spec.backendName, .spec.networkInterfaces?
How do I provide credentials? There's .spec.credentials but there's no explanation of the expected format or what that name refers to (I suppose a Secret?).
What do the values in .spec.storage.* mean? Do they set the behaviour of the storage provisioner? Are they just informational?
...

Hi @makkes
Thank you for your questions and feedback regarding the TridentBackendConfig CR. I have updated the README and sample files to provide more clarity.
I recommend reviewing the updated README and sample files to see if they address your concerns. Please feel free to reach out if you have any further questions or require additional clarification.


[Feature Request] Save all file before run the code

As the title

@Mark4551124015  Pleace check last commit


Upgrade x25519-dalek to 2.0.0-pre.1

The changes from the currently-used version are trivial, but they're required to upgrade to the latest version of zeroize in dependent crates.

Oh, looks like rand is part of the public API of that crate. I'll look into updating rand usage.

It is, also that tag/release has been in the pre state for quite a while: https://github.com/dalek-cryptography/x25519-dalek/releases/tag/2.0.0-pre.1.

Yeah it has, but I think we're better off with a release that's stable but declared "pre" rathen than a proper release that's constantly causing issues (albeit only at build time).

What kind of issues are we talking about?

Not being able to upgrade other dependencies because they require zeroize >=1.4. Also cargo outdated doesn't work inside the matrix-sdk workspace, probably because of one such dependency.

sigh looks like we'd also need to use https://github.com/dalek-cryptography/ed25519-dalek/pull/160 (through our own fork, I guess). I would still prefer that to the current state of things, but I understand if you don't want to go that route. Let me know if I should continue.

sigh looks like we'd also need to use dalek-cryptography/ed25519-dalek#160 (through our own fork, I guess). I would still prefer that to the current state of things, but I understand if you don't want to go that route. Let me know if I should continue.

I think curve25519-dalek will need to get the same treatment.
I would let that simmer a bit longer, maybe something happens: https://github.com/WebAssembly/wasi-crypto/issues/63.

curve25519-dalek seems to also have a pre-release using the latest version of rand_core. So we'd only need to have one fork.

Alright, let's see where this goes: https://github.com/RustCrypto/elliptic-curves/issues/497#issuecomment-1211822232
I'll close this for now.


Unable to edit on ipad

It is impossible to work with habridge on ipad with new version

Don't use safari, download chrome for iOS....

On My iPad Pro same behaviuor with chrome

You are not able to grab the lower right corners of the edit boxes to expand on an iPad? Don't know if I'll get around to changing anything to work on tablets for the editor. Using your laptop or desktop would be better for now.

using Edge on windows 10 has a similar problem

I think Chrome on iOS still uses webkit. It's a shame it only works on Chrome

This will be fixed in 5.0.0


Audio visualizer

praying everyday for this to be possible

test

I don't personally see a way forward on this. I'll release it in case anyone else wants to work on it and/or has ideas on how to approach it.

I don't personally see a way forward on this. I'll release it in case anyone else wants to work on it and/or has ideas on how to approach it.

I would ask vortex but he keeps on donowalling, no clue why but I'll leave it for you to ask him about tampermonkey. You can dm me on dc if I should contact him personally or not. Closing for now

reopened for discussion

cydj client


[LEARNER-4238] Upgrade to Android Studio 3+and SDK 27

Description
LEARNER-4238
Hello guys, I've been working these days to upgrade the builds tools and Android Studio to the latest version and I made some progress. On the overall, almost all dependencies updated and I spend some time dealing with the breaking changes and making AAPT2 work.
Notes
I still need to fix some tests that depend on greenrobot EventBus getting ignored and some tests falling for some bug with RoboGuice.
The EventBus dependent tests are passing but AS counts him has ignored.

Thanks for the pull request, @mgambati! I've created OSPR-2339 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.
We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation.     If you like, you can add yourself to the AUTHORS      file for this repo, though that isn't required.     Please see the CONTRIBUTING     file for more information.

Great! Thanks for the PR we'll definitely give it a look very soon.
Please note that Travis Tests aren't running on our repo's OSPRs currently, that's a pre-requisite that we'll be fixing first before starting the review on any new OSPRs.
Ticket to track that issue with details is https://openedx.atlassian.net/browse/LEARNER-4338.
Sorry, for the inconvenience.

Any news on this?

We'll be working on this https://openedx.atlassian.net/browse/LEARNER-4338 in our current sprint and will hopefully be getting back to OSPRs after that.

Hello!
How did you go through an AAPT2 errors?
I have a couple of them:
error: duplicate value for resource 'attr/font' with config ''.
Message{kind=ERROR, text=error: duplicate value for resource 'attr/font' with config ''., sources=[C:\Users\User.gradle\caches\transforms-1\files-1.1\appcompat-v7-25.3.1.aar\fa6a88f1aaaabdb0779b8a160897de8e\res\values\values.xml:203:5-69], original message=, tool name=Optional.of(AAPT)}
error: resource previously defined here.
Message{kind=ERROR, text=error: resource previously defined here., sources=[C:\Users\User.gradle\caches\transforms-1\files-1.1\appcompat-v7-25.3.1.aar\fa6a88f1aaaabdb0779b8a160897de8e\res\values\values.xml:203:5-69], original message=, tool name=Optional.of(AAPT)}

@mgambati I apologize for the delay, but could you please sign and send in the Contributor Agreement mentioned in one of the earlier comments? This will allow us to review your code and any future changes you make to the platform.
Thanks!

Hi @mgambati, thanks for creating this PR. We are actively working on updating libraries these days.
Great to see your PR, much of the work you have already done.
Can you please rebase master onto it and resolve the conflicts, so i could start reviewing it.
Also it will be great if we could fix the test case issues and make them successfully run on travis.

Sorry for the delay, I'm working with some other projects right now and
it's taking some time from me.
I will rebase the branch and try to review any bugs found soon as I can.
Em qua, 4 de jul de 2018 11:54, Muhammad Farhan Khan <
<EMAIL_ADDRESS>escreveu:

Hi @mgambati https://github.com/mgambati, thanks for creating this PR.
We are actively working on updating libraries these days.
Great to see your PR, much of the work you have already done.
Can you please rebase master onto it and resolve the conflicts, so i could
start reviewing it.
Also it will be great if we could fix the test case issues and make them
successfully run on travis.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/edx/edx-app-android/pull/1090#issuecomment-402515558,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxoS91Ps633GK41J7O75cQh5N5Xgbalks5uDOU9gaJpZM4TYRLp
.

@mgambati thanks for all your contribution.
Your PR has been properly reviewed, after taking fixes inspiration from it we have done all the libraries and gradle updation task in this PR https://github.com/edx/edx-app-android/pull/1125
Thanks and kudos to you for your contribution, keep it up @mgambati 🌟
cc: @marcotuts , @staubina , @MirzaMubasharBaig , @miankhalid

@farhan It looks like #1125 is merged. Can you close this one? Thanks!

@jaimeohm Will close it once Roboelectric update PR will be merged i.e. https://github.com/edx/edx-app-android/pull/1141


Get the Replies of a Tweet

Hello,
I was wondering how does one fetch the replies from a given tweet?
Does anyone know?
There's no getReplies method within the API and I think I'm missing something to get the replies for a specific tweet.

Twitter API 1.1 doesn't have replies anymore. IIRC, one way to get replies is probably to search for tweets with a specific username and filter by tweets using the in_reply_to_status_id property.

Ohh... didn't knew that the API wouldn't provide the tweet replies query.
I'll do some tests, in regard of what you've suggested.
Thanks

Hmm this is kinda tricky!
There should be an easy way to query Twitter, where the reply_tweet_id could be queried

this kinda sums what you've said 🙃


Non-deterministic hanging when evaluating log-likelihoods

[this was copied from a bitbucket issue created by Manny]
On [a large server], evaluating log-likelihoods seems to hang sometimes. It does complete quickly as expected at times, but the chance that it hangs seems to increase as batch_size increases. Running htop during this process indicates the 40 cores are all at full usage even after the computation should be finished, but the memory usage doesn't change much.
<stream features> | gogmm -g <model_file> -b <batch_size>
If you try writing the output to stdout, it seems to write a good portion of the results before hanging. Looking at the code, the log-likelihoods are computed entirely before being written to the output. This makes this bug even more confusing.
This has never manifested on my local machine (Dell XPS running Arch Linux), and the OpenBLAS library statically linked to the binary was built on each machine separately (i.e. the binary I use on tetra is linked to the library I built on tetra)

I have never experienced this bug ... but would note that we tend to use fairly small batch sizes and link to single-threaded ATLAS BLAS.

See if you can reproduce this with the more updated compilations and BLAS. This was definitely the most mystifying bug I've ever seen.


DynamicPawn can get stuck underground if flying with speed multiplier

This can be reproduced in any Cesium level with a DynamicPawn. (I used 04_MAIN_CesiumSubLevels)

Fly out far away, enough that you can almost see the entire globe
Start flying back towards the globe, but speed up the zoom using the scroll wheel.

When you maintain that speed, the camera will phase through the ground, and because there's no terrain underneath to raycast, it's really hard to get back above ground again.
This seems to happen even with moderate speed-up, like "half a scroll wheel" of input.

I wonder if this can be solved by just turning off raycasts if higher than a certain threshold?
For example, at 100km above the earth, just use our height above the ellipsoid. A raycast isn't going to hit anything that's going to change this distance in a significant way.


Server-side rendering

          Also, does it support server-side rendering?

Originally posted by @Zonalds in https://github.com/vizzuhq/vizzu-lib/issues/147#issuecomment-1447582597

Hi @Zonalds,
Unfortunately, we don't have out-of-box support for server-side rendering. We had a test branch earlier based on an old version (0.3.3): https://github.com/vizzuhq/vizzu-lib/tree/nodejs, what we wanted to use for our test environment, but it did not make it to the main branch. We ended up using selenium-chromedriver to render the tests on server-side.
If there is a need, we can revisit this topic. I am curious about what would be your use case for server-side rendering.

nodejs branch:

build cvizzu (project/cmake/weblib/emcc.txt) with wlags:
EXPORT_ES6=0
ENVIRONMENT='node'
a script replace import/exports during the build
in not generated js files in the api if/else statements for env specific parts (vizzu.js, render.js htmlelement, performance, document)

rollup version:

in rollup cfg cjs
build cvizzu (project/cmake/weblib/emcc.txt) with wlags:
EXPORT_ES6=1
ENVIRONMENT='node'
import/exports will be good, not needed to replace during build
in not generated js files in the api if/else statements for env specific parts (vizzu.js, render.js htmlelement, performance, document)
it could place the wasm with async load in base64