Sample dockerfile added

Docker file using code from getting started guide
Signed-off-by: Jesse C. Antoszyk<EMAIL_ADDRESS>

Image builds can be automated via travis/GH/docker hub. Let me know if you need any help in this department

Why are you using just last commit from default branch?
Alternative ways:

reset to commit
zip-archive of commit (no need git)
release from release tab (no need git)

How about adding Dynomite and Elaticssearch to the image?

@v1r3n I was assuming running the sample server would make a large number of use cases simply testing the server. If you have a main.js that used elastic search + dynamite, I'm happy to make a docker image that uses that, otherwise it will just be bloat.
I was going to move this to docker-compose for the conductor + DynomiteDB once I had something working on that.
@leominov Thanks for the input. I'm not sure how this will fit into the pipeline. Ideally docker hub can be triggered to build an image on a release event (which would allow us to tag with release names as well). We could do that and have a default flow that pulls the latest release for people building locally. I need to look more into the GH APIs for that.

@jcantosz I have created a server module and details on how to configure it and use it.
https://netflix.github.io/conductor/server/
It uses an embedded Jetty container for the server - you might want to update your Dockerfile with this instead of test-harness.
Server module is evolving, as I think it needs more fine grain controls (thread pool size etc.) for production readiness, feel free to suggest/send PR if you think it can be done better.
I would suggest also updating the documentation with instructions on how to use docker image (I have a section on the link above that can be updated).
Thanks

Closed in favor of PR #37


Code generation for nonlinear pipelines

Currently, the codegen implementation returns a list of a pipeline's component graph. This doesn't work when the component graph is a dictionary, so with PR #1543 this will raise an error as a short term solution. The long term solution should be to support pipeline component graphs that are dictionaries.

First step: confirm that codegen works for linear pipelines.
Next step: try a nonlinear pipeline and see what is it about codegen which breaks.

Note: this will be resolved by #2332!


Markdown content gets escaped twice

Found this when working on #27. If you try with that content on line 18 you can see the apostrophes escaped to ' by metalsmith-markdown, then &apos; by metalsmith-prism.
Seems like the only way to make Prism not escape them is to use Prism's hooks and metalsmith-prism doesn't really have them exposed.

After some digging I opened a PR in Availity/metalsmith-prism#6 to avoid highlighting all together for inline code blocks where language is not specified. Seems like that would fix the issue of double escaping in these blog posts.

Thank you!

Cant find any escaping issues after using the newly released metalsmith-prism :dancers: Close this @fhemberger?

Yay, great! Thanks for looking after this issue.


Drawer not openning when center view is a UISplitViewController (Portrait only)

Drawer does not open when the center view is a UISplitViewController. (iPad, portrait mode)
Works fine when rotated to landscape.

Found a workaround (applicable only for iPad, portrait mode).
MMDrawerController *mm_drawerController = (MMDrawerController *)self.splitViewController.parentViewController;
[mm_drawerController toggleDrawerSide:MMDrawerSideLeft animated:YES completion:nil];

self.splitViewController.mm_drawerController should also be the same reference there.


Logging has stopped working

There appears to be no logging, however the file has been created

The issue seems to be that the logger is used before the custom configuration for the logger has been created, therefore it's being ignored

This was introduced in issue #8, as the reading of the configuration was moved into the inner loop


🐛Cannot convert lass com.google.mlkit.vision.face.Face to jsi::Value

What's happening?
I tried to write a face detection frame processor plugin and I currently focus on Android using MLKit Vision, I'm able to get faces from MLkit (I log them in the Logcat successfully) but when I return them over the bridge I get the following error: Frame Processor Error: Exception in HostFunction: Received unknown JNI type "class com.google.mlkit.vision.face.Face"! Cannot convert to jsi::Value., js engine: VisionCamera.
According to the docs: Return values will automatically be converted to JS values, assuming they are representable in the "Types" table. So the following Java Frame Processor Plugin so I guess there is a bug for some reason.
I also tried to convert the WritableArray like regular native module but got the same error:
Frame Processor Error: Exception in HostFunction: Received unknown JNI type "class com.facebook.react.bridge.WritableNativeArray"! Cannot convert to jsi::Value., js engine: VisionCamera
Reproduceable Code
The android code:

class FaceDetector {
    companion object {
        private val TAG: String = "FaceDetector"
        private val FACE_DETECTION_OPTIONS = FaceDetectorOptions.Builder().setLandmarkMode(FaceDetectorOptions.LANDMARK_MODE_ALL).build()

        fun detectFaces(image: InputImage): Task<List<Face>> {
            Log.d(TAG, "in detect faces")

            val detector = FaceDetection.getClient(FACE_DETECTION_OPTIONS)
            val taskCompletionSource = TaskCompletionSource<List<Face>>()

            Log.d(TAG, "after getting detector $detector")

            detector.process(image)
                .addOnSuccessListener { faces ->
                    faces.forEach { face -> Log.d(TAG, "face object: $face") }
                    taskCompletionSource.setResult(faces)
                }
                .addOnFailureListener { error -> taskCompletionSource.setException(error) }
                .addOnCompleteListener { Log.d(TAG, "done process") }

            return taskCompletionSource.task
        }
    }
}

class FaceDetectorFrameProcessorPlugin(proxy: VisionCameraProxy, options: Map<String, Any>?): FrameProcessorPlugin() {
  companion object {
    private const val TAG = "FaceDetectorFrameProcessorPlugin"
  }

  override fun callback(frame: Frame, arguments: Map<String, Any>?): Any? {
    return try {
      Tasks.await(FaceDetector.detectFaces(getInputImageFromFrame(frame)))
    } catch (e: Exception) {
      null
    }
  }

  private fun getInputImageFromFrame(frame: Frame): InputImage {
    val image = frame.image
    val rotationDegrees = 0 // TODO: calculate it later

    return InputImage.fromMediaImage(image, rotationDegrees)
  }
}

The react native code:
const plugin = VisionCameraProxy.initFrameProcessorPlugin('detectFaces');

// TODO: put type here!!!
export function detectFaces(frame: Frame) {
  'worklet'
  if (plugin == null) {
    throw new Error("Failed to load Frame Processor Plugin!");
  }
  return plugin.call(frame);
}

export const CameraScreen: FC = () => {
  const device = useCameraDevice('front');

  const frameProcessor = useFrameProcessor(frame => {
    'worklet';

    const result = detectFaces(frame);

    console.log('the result is', result);
  }, []);

  if (!device) return <DeviceNotFound />;

  return (
    <Camera
      isActive
      style={styles.fullScreen}
      device={device}
      frameProcessor={frameProcessor}
      pixelFormat="yuv"
    />
  );
};

export const styles = StyleSheet.create({
  fullScreen: {
    flex: 1,
  },
});

In the babel.config.js:
module.exports = {
  presets: ['module:@react-native/babel-preset'],
  plugins: ['react-native-worklets-core/plugin']
};

### Relevant log output

```shell
Android:
2024-02-10 09:51:29.079 30315-30419 FaceDetect...ssorPlugin com.cameratry                        D  Got face from the model - Face{boundingBox=Rect(685, 245 - 1113, 680), trackingId=-1, rightEyeOpenProbability=-1.0, leftEyeOpenProbability=-1.0, smileProbability=-1.0, eulerX=3.0604274, eulerY=83.78829, eulerZ=88.48733, landmarks=Landmarks{landmark_0=FaceLandmark{type=0, position=PointF(1014.8454, 392.491)}, landmark_1=FaceLandmark{type=1, position=PointF(934.7279, 444.18445)}, landmark_3=FaceLandmark{type=3, position=PointF(855.9822, 597.48425)}, landmark_4=FaceLandmark{type=4, position=PointF(862.48254, 425.0186)}, landmark_5=FaceLandmark{type=5, position=PointF(971.47156, 416.07233)}, landmark_6=FaceLandmark{type=6, position=PointF(940.79266, 377.3722)}, landmark_7=FaceLandmark{type=7, position=PointF(939.3011, 409.4529)}, landmark_9=FaceLandmark{type=9, position=PointF(901.4224, 576.6362)}, landmark_10=FaceLandmark{type=10, position=PointF(859.82404, 412.73965)}, landmark_11=FaceLandmark{type=11, position=PointF(990.2341, 424.16638)}}, contours=Contours{Contour_1=null, Contour_2=null, Contour_3=null, Contour_4=null, Contour_5=null, Contour_6=null, Contour_7=null, Contour_8=null, Contour_9=null, Contour_10=null, Contour_11=null, Contour_12=null, Contour_13=null, Contour_14=null, Contour_15=null}}

React Native:
Frame Processor Error: Exception in HostFunction: Received unknown JNI type "class com.google.mlkit.vision.face.Face"! Cannot convert to jsi::Value., js engine: VisionCamera

Camera Device
{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "maxExposure": 20,
  "supportsLowLightBoost": true,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "minFocusDistance": 10,
  "minExposure": -20,
  "name": "FRONT (1)",
  "hasFlash": false,
  "hasTorch": false,
  "position": "front",
  "id": "1"
}

Device
Samsung S22 (Android 12)
VisionCamera Version
3.8.2
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

The error message say
Received unknown JNI type "class com.google.mlkit.vision.face.Face"! Cannot convert to jsi::Value.

Which tells you that a Face cannot automatically be converted to a JSI Value.
The docs say:

Return values will automatically be converted to JS values, assuming they are representable in the "Types" table.

Which is also pretty self explanatory in my opinion as the "Types" table tells you exactly which types you can use.

There is no mention of a WritableArray here. If you want to return an array, look into the 4th row of the "Types" table which tells you to use List<Object>.
In my opinion I made those docs very self explanatory, but if you think they aren't clear enough please open a PR to make the docs even clearer.

haha no worries


[README] Fixed: Slack Badge

Description
Slack Badge Fixed
This PR fixes #165
Notes for Reviewers
Ready to merge!
Signed commits

[x] Yes, I signed my commits.

@pablochocobae : LGTM! :partying_face:


Add client connect cancel

I've found a need to allow a user to cancel an active client connection attempt.
For now, I've just direct called ble_gap_conn_cancel() which does the job and causes a NimBLEClient::connect() to abort.
It would be nice, but not necessary, to add something like NimBLEClient::cancel() or similar so abstractions are preserved.

Hi @gkoh, that's a good idea and would be very easy to implement.


Cannot get it work with gulp-rev-all

I am using https://www.npmjs.com/package/gulp-rev-all to generate a manifest of the built files. However, no files are emitted when piping the revAll. RevAll works with other transforms though
Code to reproduce
src('src/app.js')
    .pipe(
      gulpEsbuild({
       outfile: 'app.js',
        bundle: true,
      })
    )
    .pipe(revAll.revision())
    .pipe(revAll.manifestFile())
    .pipe(dest('public'))

Ignore me. It works fine. There was an issue with my code


[ISSUE #496] fix the ClassCastException

Fixes ISSUE#496
Modifications
Adjust the package path of ConsumeMessageConcurrentlyService,  because eventmesh wants to override it in rocketmq.

Codecov Report

Merging #499 (ec8427f) into develop (f545bae) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #499   +/-   ##
==========================================
  Coverage      11.05%   11.05%
  Complexity       328      328
==========================================
  Files            229      229
  Lines          10976    10976
  Branches         924      924
==========================================
  Hits            1213     1213
  Misses          9665     9665
  Partials          98       98

Impacted Files
Coverage Δ

...nector/rocketmq/consumer/RocketMQConsumerImpl.java
0.00% <ø> (ø)

...pl/consumer/ConsumeMessageConcurrentlyService.java
0.00% <ø> (ø)

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 f545bae...ec8427f. Read the comment docs.


Introspect in 2.11.0 changes all updatedAt properties' types to timestamptz and comments them out

Bug description
Using the latest release, 2.11.0, introspect will change all updatedAt properties' types to timestamptz and comment them out.
How to reproduce
Given a PostgreSQL table:
CREATE TABLE IF NOT EXISTS "contact" (
  "id" uuid NOT NULL DEFAULT uuid_generate_v4(),
  "updatedAt" timestamp(6) with time zone NOT NULL DEFAULT now(),
  PRIMARY KEY ("id")
);

Model prior to introspection:
model contact {
  id                 String              @id @default(dbgenerated())
  updatedAt          DateTime            @default(now()) @updatedAt

Model after introspection:
model contact {
  id                 String              @id @default(dbgenerated())
  // This type is currently not supported.
  // updatedAt       timestamptz         @default(dbgenerated())

Expected behavior
Expect introspect to not change the schema.
Environment & setup

OS: Windows
Database: PostgreSQL
Node.js version: 12.16.1
Prisma version: 2.11.0

I can confirm the behaviour change between 2.10 and 2.11.
We will need to look into this more for details

Hey @kennytraction, thanks for reporting this.
During our work on the new native types feature we also looked into time and date types in Postgres. While doing this we discovered that our libraries in our Rust stack do not fully support types with timezone information. Before 2.11 we introspected both timestamp with timezone as well as timestamp as Datetime. That was not correct and lead to unexpected behavior when storing types with timezones. Since we are not able to cleanly support types with timezone information at the moment we decided to comment them out during introspection. Normal timestamp still works as expected though.
One workaround I could see for you is to migrate the db column to just plain timestamp and do the conversion from and into your timezone before handing over the timestamps to the client. I know this is inconvenient, but we looked into supporting types with timestamp and currently this is not possible for us in a correct way.

Would it be possible to suppress the warnings with a flag and restore the old behavior? It's reasonable to warn about the use of timestamptz if they lead to unexpected behavior but for apps that were working before it would be nice to have an upgrade path without having to migrate the database. I would expect a lot of people using postgres would be using timestamptz since their docs explicitly suggest it over timestamp.

Could we just keep the old behavior if user didn't enable the nativeType preview feature?

same discussion is also happening here, https://github.com/prisma/prisma/issues/2417


examples: add param to console_log build

This PR adds the +nightly param to the console_log build.sh file.
I don't know if this is a problem only in my PC, but when I tried to run without the +nightly param it didn't work.
Sorry if I'm making a PR in wrong format, but I really didn't find instructions about PRs.

Thanks for the PR! This I don't think should be required any more because the example compiles on stable Rust, but can you gist an error message you were getting without this change?

Hi @alexcrichton, when I ran without +nightly I got this https://gist.github.com/piiih/9a9a4608077e0a7d526ee89c80375a10

Ah ok, if you run rustup target add wasm32-unknown-unknown does it solve that issue?

@alexcrichton Oh yes, my bad, I forgot that I added wasm just for nightly, closing...


Pr build

This branch has been created for testing the Jenkins automation job.
This brunch should be built first, then merged with master.
We will see a lot of re-trigger attempts here. It's just an educational challenge

@berezinsn Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Interface does not translate - HA language not detected

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I have installed all the update for a couple of months and though the language translation issue will be solved.
Now I guess it's time to report this issue.
My HA interface is in French but the add-on labels are in English.
Looking at the SRC folder, there is a file for french translation and inside the sunsynk-power-flow-card.js file I can found the french strings.
I have no clue what could be wrong.
Steps To Reproduce
No response
Expected behaviour
Card strings should translate
Card Version
2.10.0
Home Assistant Version
2023.10.0
Configuration
type: custom:sunsynk-power-flow-card
cardstyle: full
panel_mode: false
large_font: false
show_solar: true
show_battery: true
inverter:
  modern: true
  colour: lightgrey
  autarky: power
  model: sunsynk
  auto_scale: true
battery:
  energy: 0
  shutdown_soc: 20
  invert_power: true
  colour: '#f06292'
  show_daily: true
  animation_speed: 6
  max_power: 2000
  full_capacity: 100
  empty_capacity: 0
  show_absolute: true
  auto_scale: false
solar:
  colour: orange
  show_daily: true
  mppts: 2
  animation_speed: 9
  max_power: 4920
  pv1_name: Ouest
  pv2_name: Est
  auto_scale: false
load:
  colour: '#5fb6ad'
  show_daily: true
  show_daily_aux: true
  show_aux: true
  invert_aux: false
  animation_speed: 8
  max_power: 5000
  aux_name: Surplus (V.E.)
  show_absolute_aux: true
  aux_type: default
  aux_colour: lightblue
  aux_off_colour: lightgrey
  aux_loads: 0
  aux_load1_name: Véhicule
  aux_load1_icon: mdi:car-electric-outline
  aux_load2_name: Piscine
  aux_load2_icon: mdi:pool
  additional_loads: 0
  load1_name: Secouru
  load1_icon: mdi:power-plug-battery-outline
  auto_scale: false
grid:
  colour: '#488fc2'
  no_grid_colour: rgb(192,0,0)
  show_daily_buy: true
  show_daily_sell: true
  show_nonessential: true
  nonessential_icon: default
  nonessential_name: Gros consommateurs
  additional_loads: 0
  load1_name: Non essentielles
  load1_icon: mdi:washing-machine
  invert_grid: false
  animation_speed: 8
  max_power: 6000
  auto_scale: false
entities:

Relevant log output
No response

Hi. This does work if you explicitly set you HA Dashboard language

The problem is the translation does not look good and needs some work to fix alignment

Hi splix06,
Thanks for your quick reply.
I had the language set under Parametres > System > General

but the add-on always displays English strings

Any idea what could be wrong ?
French is wordy so we need to find some shortcuts.
It could be something like :
    "common": {
        "description": "Une carte Home Assistant pour émuler les flux d'énergie affichés à l'écran des onduleurs Sunsynk ",
        "version": "Version",
        "runtime_to": "AVANT D'ATTEINDRE",
        "battery_floating": "BATTERIE FLOTTANTE",
        "charge": "CHARGE",
        "to": "À",
        "daily_load": "CHARGE DU JOUR",
        "daily_aux": "CHARGE AUX DU JOUR",
        "daily_grid_buy": "ACHAT CE JOUR",
        "daily_grid_sell": "VENTE CE JOUR",
        "daily_solar": "PRODUCTION DU JOUR",
        "daily_solar_left": "PRODUCTION / RESTANT (JOUR)",
        "daily_charge": "CHARGE DU JOUR",
        "daily_discharge": "DÉCHARGE DU JOUR",
        "ratio": "Ratio",
        "timer_off": "Prog. M.",
        "timer_on": "Prog. A.",
        "priority_batt": "Batterie en 1er",
        "priority_load": "Charges en 1er",
        "nonessential_name": "Non Essentielles",
        "aux_name": "Auxiliaire",
        "load1_name": "",
        "load2_name": "",
        "pv1_name": "PV1",
        "pv2_name": "PV2",
        "pv3_name": "PV3",
        "pv4_name": "PV4",
        "essential": "Essentielles"
    },

Thanks I will update with your suggestions.
You need to set the language under your profile for the card translation to work.

Thanks for the hint but it was already the case.

So what I did was to select Deutsche and the translation worked,.
I selected back French and it worked.
I logout and login again but the card is back in English.
Look like you must re-select language each time you login.

Thanks for confirming the solution. That might be a HA bug or maybe your browser is caching some files. I'm not sure. You can try clear your browser cache or double check in a new incognito window........or just don't log out :)

Hi, I already did the test using an other browser (Edge instead of FF)  and this is how I found the strange behavior.
Clearing the browser cache reset the language selection. You must stay logged after changing the user's language.
Many thanks for you nice add-on. I run it for a DEYE 5K.

Oups, timer_off/on inverted in my French translation.
I suggest the following to solve this issue. THX
        "timer_off": "Prog. Off.",
        "timer_on": "Prog. On",

Where "Autarky" can be translated to "Autoconso" ?
Could decimals of "energy_cost_buy" be selected 0-2 ?

Thanks I will fix that. I want to leave the term Autarky as it is a concept of self sufficiency that could get lost in translation. I will add an additional attribute to the Grid section, energy_cost_decimals: 2 so you can customise the number of decimal places for energy cost buy and sell

Oups, timer_off/on inverted in my French translation. I suggest the following to solve this issue. THX
        "timer_off": "Prog. Off.",
        "timer_on": "Prog. On",

Where "Autarky" can be translated to "Autoconso" ? Could decimals of "energy_cost_buy" be selected 0-2 ?

@adnovea  Fixed and added in v2.12.0

Thanks for you quick support and for your work.

I think this should be added to the main page FAQ, it's not the expected behaviour and it's very rare that people track down a closed issue on GitHub

When you log a bug report I do ask that you please check open and closed issues

If more people trip over this I'll add it to the main page.

Well, I am aware and I did search, but couldn't find it. So will many that will come after me.
Also since this is the only add-in that doesn't get translated properly I believe the issue is NOT resolved, and should be investigated more and not closed.
Maybe it happens only to who updated the card, and not on fresh installs. Anyway I don't think it's normal.

@tigers75 I've made some updates to the translation logic.  Can you test 3.1.0 if it solves the issue

I also encountered this issue and I am staying logged in. In Fully Kiosk Browser on my Huawei Tab, the language in my profile is set to German but the cad shows English, while on my Desktop, the card shows German. So this is not resolved.

@jzielke84 can you try changing your language to English and then back top German on you tablet.

@slipx06 This worked, but wth 😳  Why did all other cards show up correctly? Doing this would have never occoured to me. Thank you!


Integration tests: Increase verbosity to get full diffs

pytest still truncates the diff output when --verbosity is specified
only once, hopefully twice is enough to always get full diffs from the
CI.
Signed-off-by: Till Maas<EMAIL_ADDRESS>

Coverage remained the same at 69.87% when pulling d38ca7259d43c2a2bbf1c6b86553b3aa2c0e9004 on tyll:pytest_vv into bd7730da0639eead8f23db13fb40a137a6ef7e18 on nmstate:master.


add security groups to droplet

The droplets should not be available on the internet. Security groups should restrict traffic from the outside to only the load balancer.
SSH should be accessible only via some sort of bastion.
The Load Balancer should serve https.

closed by #2


Added new rule: jsx-no-multiline-js

Fixes #4

See here for the proper syntax for closing issues via PR descriptions: https://github.com/blog/1506-closing-issues-via-pull-requests

Needs more thorough testing, like multiline expressions inside JSX attributes.

Looks good to me!

@davidlipo please submit another PR to add this rule to the README


AdminController with redundant code should be removed

AdminController appears to have redundant code and is not required.
Under closer inspection it appears AdminController is only used for 2FA sendcode and verfiycode actions for 2FA and these should really live in the AccountController so not to have any dependency on the AdminController.
Suggestion is to move the 2FA code needed by the AccountController to the AccountController and remove AdminController with the redundant code completely.

@duncangoodall any update on this?


Update readme

Now that the legacy code is gone, update the readme to only reference the angular code. Add a sidenote that if you desperately need the legacy code you can browse the git history somehow

Done


How to use multiple output nodes in cpp

Using gluon, I've created a net similar to ResNet used in AlphaGo Zero (there are two output nodes processed by policy head and value head). And I just return two results in one line like below:
return policy, value
Then I exported the model and there are '.json' for the architecture and '.params' for parameters.
After that, I use API in CPP to do inference, however, I can't get two different results trough setting different indexes in function
int MXPredGetOutputShape(PredictorHandle handle,                                    mx_uint index,                                    mx_uint** shape_data,                                    mx_uint* shape_ndim);

@mxnet-label-bot [Question, C++]

The problem come out as I've used the parameters saved with save_parameters() instead of export() and I just used the model exported by export()


Disable default vc option in edit user dialog

Will this default cluster select by default?

Will this default cluster select by default?

It will be selected by default because every user has access to it.


Noto Fonts CJK fails to build

Describe the bug
When building my NixOS configuration, w5r4h4cn7i6yk3xjhhvd7zv28xbbjydj-noto-fonts-cjk-sans-2.004.drv failed to build.
I’m using nixos-unstable as my nixpkgs branch.

 Error logs (click to expand)
error: builder for '/nix/store/wx4spfncy8jfxirzqr1izj242p3dgywv-source.drv' failed with exit code 1;
       last 10 log lines:
       >                                  Dload  Upload   Total   Spent    Left  Speed
       > 100   162  100   162    0     0    154      0  0:00:01  0:00:01 --:--:--   154
       > 100  413M    0  413M    0     0   323k      0 --:--:--  0:21:50 --:--:--  317k
       > unpacking source archive /build/9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d.tar.gz
       >
       > gzip: stdin: unexpected end of file
       > tar: Unexpected EOF in archive
       > tar: Unexpected EOF in archive
       > tar: Error is not recoverable: exiting now
       > do not know how to unpack source archive /build/9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d.tar.gz
       For full logs, run 'nix log /nix/store/wx4spfncy8jfxirzqr1izj242p3dgywv-source.drv'.
error: 1 dependencies of derivation '/nix/store/w5r4h4cn7i6yk3xjhhvd7zv28xbbjydj-noto-fonts-cjk-sans-2.004.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bdnwibjnj6xwwf1hd85nshsjn2l9d9mn-fc-00-nixos-cache.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9cw9clp87vgxk768gfmnwirk5plz5s10-xserver.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/krbb4hzw6ca5c9icqx3nwd5nncz54lx5-fontconfig-conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a0k1z3aybp3y8bzad3g2b84f9n24rkbg-unit-display-manager.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dqm0ygz05dn7xscdcpv1049q3n5i75s3-fontconfig-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wbilm4sk2gkxgq3njar7bapwjbfswddh-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dfzfg8ypkbh3jmfxf3l17cms5al50ac0-nixos-system-buggeryyacht-nixos-22.05.20220119.6d82152.drv' failed to build

Steps To Reproduce
Build the flake github:schuelermine/nixos-configuration/81c34993dff48950d17ab476f4a09f8f39596001
Expected behavior
The system is buildt
Notify maintainers

@mathnerd314
@emilazy
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
0 /etc/nixos $ nix run nixpkgs#nix-info -- -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.16.0, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.6.0pre20211217_6e6e998`
 - channels(root): `"nixos, nixpkgs"`
 - channels(anselmschueler): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Looks like a download error, the fonts built fine locally for me.

For full logs, run 'nix log /nix/store/wx4spfncy8jfxirzqr1izj242p3dgywv-source.drv'.

That might be helpful.
But more importantly IMO is that the builds are failing on Hydra due to the Github archive download being too big.  CC @midchildan
Maybe there is some way to limit tar to extracting only the stuff we care about.

I’ve re-run the thing at least thrice now, it consistently fails

Is tar run before checking the hash or after?

It's fetchzip, it unpacks and then hashes.

Hm. I’m still getting the error…

Hm. It’s still erroring out…

The font package itself is the same in nixos-unstable and nixpkgs

@schuelermine I too believe you're having problems with the download. The size of download indicated by your initial log output is 413MB, while in the next screenshot, it goes down to 274MB. Both are far too small considering that the total size of the unpacked archive is around 4GB. For reference, Hydra downloaded around 2.9GB.

I see. I will try again later, maybe the internet was too spotty.

Since the combined size of Noto Sans CJK and Noto Serif CJK is roughly 300MB, it would probably be best to download the files individually. I could create a PR for this, but first I would have to get some sleep ;-)

I am currently having the same issue with the same packages not downloading correctly.

After this https://github.com/NixOS/nixpkgs/pull/135881 merged, this kind of problems can be largely solved by using sparseCheckout.

IIRC for GitHub http is preferred to git, because it's somewhat faster (git has more protocol overhead). But in general sparseCheckout could be useful.


yarn ios 报错 #import <React/RCTBridgeDelegate.h> 1 error generated.

In file included from /Users/fanfan/zfeng/myproject/AwesomeProject/ios/AwesomeProject/main.m:3:
/Users/fanfan/zfeng/myproject/AwesomeProject/ios/AwesomeProject/AppDelegate.h:1:9: fatal error: 'React/RCTBridgeDelegate.h' file not found
#import <React/RCTBridgeDelegate.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/fanfan/Library/Developer/Xcode/DerivedData/AwesomeProject-behbdbsrowiiumdkidxohvkqdpue/Build/Intermediates.noindex/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/main.o /Users/fanfan/zfeng/myproject/AwesomeProject/ios/AwesomeProject/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  AwesomeProject

the same as me


Enemy aggro

enemies should be aggroed and attack even though they are out of engage radius

i propose that the enemy chases endlessly unless player have been within engangeradius?


Update to README.md

Add Cloud Vision to Beta supported list

Thanks @vam-google.  Understood.  I don't know why it wasn't listed... I note that Speech and NL are also not there.  @garrettjonesgoogle do you know if there is a reason why?

Coverage decreased (-0.004%) to 81.485% when pulling 584bbf421f6b22d00ccf7f77e57a24635e53d1c7 on danoscarmike-patch-1 into 59459fc62bf649f8c1f4c3a0a6e625f5869e9b2a on master.


logger: add module for storing runtime logs in a file

This adds a way to store runtime logs in a file and in a structured way. The logs are stored using logfmt format so it's easy to post process them to analyze the behavior of the system. For example, it can be used to analyze the delays between consecutive computations of LH2 positions, even if there are multiple dotbots connected.

Codecov Report

Merging #85 (99bdf85) into main (64ad1bc) will decrease coverage by 0.21%.
The diff coverage is 65.38%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   78.24%   78.03%   -0.21%
==========================================
  Files          17       18       +1
  Lines        1466     1489      +23
==========================================
+ Hits         1147     1162      +15
- Misses        319      327       +8

Impacted Files
Coverage Δ

dotbot/tests/test_main.py
100.00% <ø> (ø)

dotbot/controller.py
37.55% <47.05%> (+0.81%)
:arrow_up:

dotbot/logger.py
100.00% <100.00%> (ø)

dotbot/main.py
100.00% <100.00%> (ø)

dotbot/lighthouse2.py
48.38% <0.00%> (-0.65%)
:arrow_down:

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


Future request: Also support DocumentDb's TCP protocol connection mode.

DocumentDbHttpParser supports only HTTP protocol. I usually use TCP of ConnectionPolicy.ConnectionProtocol.
Current develop branch's DocumentDbHttpParser is wonderful.
Thank you.

Hello there,
Any news about this ?
Also, the recommended way of using cosmos with aspnetcore is by making the cosmosclient a singleton. However, it seems that this makes the correlation wrong.

@NatMarchand No update on this and no one from Application Insights team is working on this.
This feature, along with any other new collections will come via OpenTelemetry route in the future.


Updated some broken doc links

Thank you! This is already fixed in the local branch and will go out with the next pushes!


Update form fields for adding new service parameters to display placeholders instead of values

Description:
$subject
Suggested Labels:

Suggested Assignees:

Affected Product Version:
v0.9.24071813
OS, DB, other environment details and versions:
Steps to reproduce:

Create a project.
Add a proxy service.
Go to edit the proxy service.
Try to add a new service parameter.

Related Issues:

The latest release v1.1.1 has resolved this issue. Please reopen if the problem persists.


How to mock a StateNotifier with Mockito or test StateNotifierProvider

Is your feature request related to a problem? Please describe.
I see there are ways to override providers like StateProvider and Provider with a mocked value and we can use mockito to create a mock so that we can verify if a function of the mock class has been called or not, but what about StateNotifierProvider? I tried to use a mockito generated mocks for a StateNotifier, and override a StateNotifierProvider with this value but it does not seems to work because definitely under the hood there are functions like addListeners that cannot be stubbed.
A typical use case would be having a button in a screen that calls ref.read(anyStateNotifierProvider.notifier).func() and I would like to verify if func() in anyStateNotifierProvider has been called or not with mockito.
So my question is, what is the recommended way to use mockito with StateNotifierProvider or StateNotifier?
Describe the solution you'd like
Describe alternatives you've considered
Additional context

You can do:
class MyNotifier extends StateNotifier<int> {
  ...
}

class MyNotifierMock extends StateNotifier with Mock implements MyNotifier {
  MyNotifierMock(int initialValue): super(initialValue);
}

This should allow you to override the provider with a mock


Wireless edit issue

A few weeks on latest master branch with QCA9880 (with ath10k and ath10k-ct) i can't configure it from LUCI:
When i click on ADD or EDIT from Firefox, i get:

From Chrome or Windows Edge i get:

But when i enable it - open network is discovered and i can join, so - wireless card is working good, when i click on EDIT, i get:

LuCI Master (git-19.282.66222-6fb5fd3) / OpenWrt SNAPSHOT r11215-bba6646b5c

I forgot to write — system is x86-64, config:
`config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/c98491b1-328b-41d8-a6a4-1f4a70f3dfa1/pcia6a4:00/a6a4:00:00.0'
option htmode 'VHT80'
option disabled '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'`

Please provide the output of ubus call iwinfo info '{ "device": "radio0" }' and ubus call iwinfo info '{ "device": "wlan0" }'

root@OpenWrt:~# ubus call iwinfo info '{ "device": "radio0" }'
Command failed: Not found
root@OpenWrt:~# ubus call iwinfo info '{ "device": "wlan0" }'
{
"phy": "phy0",
"ssid": "OpenWrt",
"bssid": "04:F0:21:0F:4A:16",
"country": "US",
"mode": "Master",
"channel": 44,
"frequency": 5220,
"frequency_offset": 0,
"txpower": 23,
"txpower_offset": 0,
"quality_max": 70,
"noise": -100,
"encryption": {
"enabled": true,
"wpa": [
2
],
"authentication": [
"psk"
],
"ciphers": [
"ccmp"
]
},
"htmodes": [
"HT20",
"HT40",
"VHT20",
"VHT40",
"VHT80"
],
"hwmodes": [
"ac",
"b",
"g",
"n"
],
"hardware": {
"id": [
5772,
60,
0,
0
],
"name": "Qualcomm Atheros QCA9880"
}
}

The first failing command is triggering the ui problem.
Can you please install strace and provide the output of strace iwinfo radio0 freqlist ?

The underlying issue is likely fixed now by https://github.com/openwrt/openwrt/commit/57b834281b586839b5e2cb00d7907de50c68ebcc

Thank you, now all works good! )


abstract model types for better redefinition behavior

This PR introduces automatic generation of abstract model types, which take the defintions for js_methods(), js_watch().
All (re)definitions of a modeltype are then subtypes of that new abstract type.
Usage
Old style defintions
@reactive! mutual struct HHModel <: ReactiveModel
    a::R{Int} = 1
    b::R{Float64} = 2
end

are replaced with
@modeltype MyDashboard begin
    a::R{Int} = 1
    b::R{Float64} = 2
end

All the rest will just stay the same. ReactiveTools will work the same as well, except that now js_methods don't need to be redefined after a redefinition of the model.
Internals
The @modeltype macro defines an abstract type MyDashboard <: ReactiveType and a concrete type MyDashboard! <: MyDashboard. As with @reactive! MyDashboard! is a constant which refers to the latest generated model type.
Note that MyDashboard! never needs to be used by the end user, because init(MyDashboard) will realise that MyDashboard is an abstract type and initialise MyDashboard! instead.
The advantage is that definitions like
js_methods(::MyDashboard) = """
    mysquare: function (x) {
        return x^2
    }
    myadd: function (x, y) {
        return x + y
    }
"""

will remain valid after a redefinition of the model type and don't need to be redefined.

This PR solves #143

refactored all macros to support any kind of expressions
added @mix_in, usage @mix_in DownloadsMixin or @mix_in plot::PlotWithEvents
removed variable definition when executing macros

earlier @in a = 12 failed because a was defined (Html.a())
therefore definitions like @in const date = today() are not supported anymore
@in x is still supported and gives a warning when x is not defined

@essenciary I think I succeeded. @reactive! has been rewritten to apply the modes correctly.
I currently use @vars
@vars MyDashboard begin
    a::Real = 12
end

to define a type, but I'm not sure whether that's optimal. It's then difficult to do an @add_vars MyDahboard <...> end.
Maybe we introduce storages for all models ...?
Anyhow, it's much cleaner now, and we don't depend on Mixers anymore.

@add_vars needs a fix, sorry

fixed it and added @add_vars for models, e.g.
Stipple.@vars HH begin
    a::Int = 13, PRIVATE, NON_REACTIVE
    b::String = "Hello"
end

defines the model type and
Stipple.@add_vars HH begin
    a::Int = 13, PRIVATE
    b::String = "Hello"
end

expands the model, completely without a storage variable 😄
I use almost the same code as for the @mixins in order to generate a storage from the type. Then I merge the storages and redefine the type. - I learned a lot about macro programming.
So, in principle, we could get rid of the storage and keep only the type cache. But I like the storage a lot, because it's more readable, if you want to inspect the storage. The storage now contains the AUTOFIELDS, that's the price for changing to the new private/readonly handling and getting rid of Mixers.

Finally, I implemented abstract models also for the REACTIVE_STORAGE and cleaned up a bit. Still some more cleanup is desireable, but it should be functional now.
I am wondering, whether we should unify the API a bit more, i.e.
@in s::String = "hello", NON_REACTIVE

rather than
@in non_reactive s::String = "hello"

That would allow us to also define
@in MyDashboard s::String = "hello"

and
@in MyDashboard s::String = "hello", NON_REACTIVE

It's not super important, as there is
@add_vars MyDashboard s::String = "hello"

and
@add_vars MyDashboard s::String = "hello", NON_REACTIVE

From a UX and API design perspective, my goals were to:
1/ allow users to tag their existing variables and expose them (make them reactive)
2/ hide away the concept and associated complexity of the reactive model
So IMO, anything that has references to MyDashboard breaks these goals and it's more of an advanced, lower-level API.

I understand the goal of ReactiveTools. I thought, we'd support both the module-based approach as well as the model-based approach. I can well imagine a situation where I want to define several models in one module if these two models want to exchange information. Therefore I developed an API that would be very similar to the ReactiveTools API but that would take the name of the model. And I wanted to have a solution that would not setup as many model types as variables.
I admit that for such applications we don't necessarily need the @in, @out macros, because advanced developers could design their models with the @vars macro where everything is in one place.
Concerning non-reactive fields I'm hesitating. I like the syntax without [], but the longer I think about it, I could also live without bare fields. They provide an easy way of establishing client_data with an initial value, e.g. password fields that should not be sent during typing but only upon a click. If we get rid of non_reactive fields, we should probably keep the no_front_end_watcher option.
So how do we go on here? Any good advice? What do you think about the main features:

abstract models
@vars and @add_vars
@mixin and @mix_in
access right storage in _modes field
js model.push(field) method

@hhaensel I understand.
As a matter of principal it's OK to bundle more complex and low-level APIs for advanced users. There is the added complexity of maintaining this code but support for multiple models sounds useful. Setting up less models is definitely great.
I think let's merge and see how it goes. If some of the advanced features are not used/popular and they make the code hard to maintain and debug, we can deprecate and remove or move into a separate package.

As I'm still not familiar with the total ReactiveTools API, could I ask you to test one of your more complicated new apps?
Or is there any test app we can run for testing?
Two more points:

How far did you get in automated testing?
Should we add a folder with examples of the new API to StippleDemos?

@hhaensel Yes, I'll run some tests on a few demos we have.

end-to-end testing - we've had moderate initial success with porting Playwright using PyCall but eventually ran into some issues and didn't come up with a working solution. @AbhimanyuAryan can you share the status of this?
new demos - we also talked about it internally. Looping in @PGimenez and @cpalumbo to sync re demos and documentation.

@hhaensel Yes, I'll run some tests on a few demos we have.

Cool, I've moved parse_expression() and find_assignments() to reactive.jl and delayed type generation in case there are no pages (yet). So there's some chance that less models are generated in case the models are defined before the pages.
You can always check how many models have been created by calling subtypes(@type())

end-to-end testing - we've had moderate initial success with porting Playwright using PyCall but eventually ran into some issues and didn't come up with a working solution. @AbhimanyuAryan can you share the status of this?

You may want to have a look at PythonCall instead of PyCall. Some things are solved in a nicer way there.
Finally, you may want run the tests with page updates. I think the abstract model should already do the handling automatically. Then we would only create a new model type when it is really used. For this just comment out the lines in the new update_storage() routine.
function update_storage(m::Module)
  clear_type(m)
  # isempty(Stipple.Pages._pages) && return
  # instance = @eval m Stipple.@type()
  # for p in Stipple.Pages._pages
  #   p.context == m && (p.model = instance)
  # end
end

Did you try with elevated user rights?
Did you try manually calling these steps on a python console?

Fixed two of the page macros and now everything is working fine even without the need of modifying the pages. Reloading triggers route.action(), which initialises the the model, which forces a new type beforehand.

@init() needed to be wrapped in an @eval in order to force the update the type.
After having fixed two issues in Genie/Html.jl everything runs smoothly and damn fast.

Some lines to demonstrate the efficiency of abstract models:
branch: master
julia> using Stipple, Stipple.ReactiveTools

julia> @in hh1 = "Hello"
"Hello"

julia> T = @type
var"##Main_ReactiveModel#314"

julia> client_data(::T) = Stipple.client_data(hh = "Hello World")
client_data (generic function with 2 methods)

julia> client_data(@model)
Dict{String, Any} with 1 entry:
  "hh" => "Hello World"

julia> @in hh2 = "world!"
"world!"

julia> client_data(@model)
ERROR: MethodError: no method matching client_data(::var"##Main_ReactiveModel#315")
Closest candidates are:
  client_data(::var"##Main_ReactiveModel#312") at REPL[4]:1
  client_data(::var"##Main_ReactiveModel#314") at REPL[13]:1
Stacktrace:
 [1] top-level scope
   @ none:4

branch: hh-abstract-models
julia> using Stipple, Stipple.ReactiveTools

julia> @in hh1 = "Hello"
"Hello"

julia> T = @type
[ Info: Main_ReactiveModel
Main_ReactiveModel

julia> client_data(::T) = Stipple.client_data(hh = "Hello World")
client_data (generic function with 1 method)

julia> client_data(@model)
Dict{String, Any} with 1 entry:
  "hh" => "Hello World"

julia> @in hh2 = "world!"
"world!"

julia> client_data(@model)
[ Info: Main_ReactiveModel
Dict{String, Any} with 1 entry:
  "hh" => "Hello World"

I think we should add macros for the js_methods etc., but otherwise the branch is probably ready to be merged.

Agree, no benefit delaying for the macros, we can add later. Please merge when you see fit.

So did you do some tests from your end? Or is there any larger test for the new API?

Some fixes needed to be done. Now OscarsExplorer runs without errors both as is and and with the new @vars API.
So I think we can really merge this branch now.


Version in package.json doesn't match distribution

Small but annoying issue: currently, the package.json file lists the version as "1.7.0" while the latest download is "1.7.1"

It does now as of v2.1.0.


DOC: add serialization instructions

Hi @Xiaoyan-Li, I added some instructions for serializing Stock and Flow models using the ACSets machinery.

Hi @Xiaoyan-Li, I added some instructions for serializing Stock and Flow models using the ACSets machinery.

Merged, and thank you very much!


Accordion Form: Fix card state implementation

This is a pretty straightforward PR, the main update is to add cardsState as a dependency for the sectionNextClick React.useCallback. This is because the useCallback memoizes the function, and only updates when its dependencies update. So, I've added cardsState as a dependency, so that when cardsState updates, the updated version is used by sectionNextClick!
I will note that the previous implementation did work, but this was only when using useState improperly. It would work when updating the same cardsState object rather than returning a new one. However, it is best practice to return a new object, so "React Magic" works as expected. See here for info on why that is bad practice: https://blog.logrocket.com/a-guide-to-usestate-in-react-ecb9952e406c/#usinganobjectasastatevariablewithusestatehook
Two other small commits I've snuck in are simply removing a console.log(), and changing from == to the generally recommended === (info).
Also, just wanted to mention that you can indeed check out and merge this PR without copying it into a new one, even though the branch is on my own repo. The easiest way to do that is using the Code button in the top right (gh pr checkout 301). Please use this PR so that I can better track its status!
Thanks!

Oh, I also noticed that the Storybook's Accordion Form example does not work, at least when I tested it on your current main branch. It is possible that this PR fixes it!


WM_PARENTNOTIFY formatting and content issues

WM\_PARENTNOTIFY https://docs.microsoft.com/en-us/previous-versions/windows/desktop/inputmsg/wm-parentnotify

Title (not heading, actual title) has a backslash in it
actual text [!Important] in 3rd paragraph
Contradiction: Parameters -> LOWORD(wParam) -> WM_CREATE -> Meaning: “lParam is a handle to the child window” contradicts “Contains the point location of the pointer”; it was way more clear in the old version (https://docs.microsoft.com/en-us/previous-versions/ms632638(v%3Dvs.85))

Thanks for bringing this to my attention - although this content is in the section that we don't update very often, I've gone in and made the suggestion corrections. Hopefully they'll show up soon! Thanks again.


Memmap v3

v3:
Now with proper tests. Some other issues pointed by @lpereira were also addressed. Issues found by tests addressed as well =D
To have the tests, some modifications on run-fbp-tests were necessary: TEST-PRECONDITION and TEST-EXTRA-ARGS. Tests are disabled for compile, as they touch file system, and for valgrind, as double mappings fail on it (some NaNs appear).
v2:
Issues pointed on v1 should be addressed, highlights:
On json map, using offset 0 will indicate that we should calculate offset based on previous entry;
Some doc;
Able to handle int with arbitrary number of bits, up to 64;
Using sol_arena to simplify allocations and deallocations;
Using sol_token_to_slice
Fixes on build;
store_only_val fixes;
Still missing proper tests, will be addressed soon.
This series moves persistence node backing storage functions to lib/io, so they can be used anywhere, adding some helpers to write double our sol_drange and introduces a new backing storage: memmap.
This storage fits media where we only have a block to write stuff. To associate what is where on the media, a map should be provided. It can be created via C API or sent to sol-fbp-generator (or runner) via -m option. On the first, the output C file will contain the mapping, on the later it will be loaded on the fly.
There's doubt if we should keep the separated option for this map file, or if it should be part of conffile. Let's hope that with this PR, people can settle on a conclusion.
It includes also a commit that shall not be integrated: one for those who really want to test (or see how it should be used) the new features.

v4 on #778


Support the runner-requested-split path for SDF

This does not include adding dynamic splitting of work - instead, this only means setting up the data/request path with a pre-provided split manager like in FnApiRunnerTest.

@pabloem you can assign to me

@valiantljk I will get some pointers to look at this : )


Is the latest version of AutoTranslator IL2CPP not compatible with the latest BepInEx?

As some other people reported, their AutoTranslation folder does not appear, I looked into the log and stuff, and BepInEx doesn't even load the plugin (0 plugins loaded).
Is this related to the fact that "Builds after 6.0.0-be.577 use updated tooling and .NET 6 for Il2Cpp."
Sadly for some newer games, only the latest BepInEx can run on it.

Got this issue too on newly release game
BepInEx version 6.0.0-be.670 (Other version doesn't work with this newly release game, game would crash, not load)
The log,
Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   :   BepInEx] Running under Unity 2021.3.21f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 0 plugins to load
All of the AutoTanslator IL2CPP files are correctly sitting in the BepInEx\plugins

You can give my fork a shot, we use this on a Unity 2021.3 game with one of the newer BepInEx 6 builds.
https://github.com/Kevga/XUnity.AutoTranslator

You can give my fork a shot, we use this on a Unity 2021.3 game with one of the newer BepInEx 6 builds. https://github.com/Kevga/XUnity.AutoTranslator

can you make a downloadable release? i dont know how to compile myself

You can give my fork a shot, we use this on a Unity 2021.3 game with one of the newer BepInEx 6 builds. https://github.com/Kevga/XUnity.AutoTranslator

Can you pack a finished product?

Thanks for the fix, but the folder doesn't appear...
What am I doing wrong?
Or where to dig?
[Info   :Il2CppInteropGen] Done! [Info   : Preloader] 0 patcher plugins loaded [Info   : Preloader] 0 assemblies discovered [Message:AssemblyPatcher] Executing 0 patch(es) [Message:   BepInEx] Chainloader initialized [Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute! [Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain [Info   :   BepInEx] 2 plugins to load [Info   :   BepInEx] Loading [XUnity Auto Translator 5.2.0] [Error  :   BepInEx] Error loading [XUnity Auto Translator 5.2.0]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.  ---> System.MissingMethodException: Method not found: 'System.String BepInEx.Unity.IL2CPP.Preloader.get_IL2CPPInteropAssemblyPath()'.    at XUnity.AutoTranslator.Plugin.BepInEx.AutoTranslatorPlugin..ctor()    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)    --- End of inner exception stack trace ---    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)    at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)    at System.Activator.CreateInstance(Type type)    at BepInEx.Unity.IL2CPP.IL2CPPChainloader.LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 129    at BepInEx.Bootstrap.BaseChainloader1.LoadPlugins(IList1 plugins) in /home/runner/work/BepInEx/BepInEx/BepInEx.Core/Bootstrap/BaseChainloader.cs:line 411 [Info   :   BepInEx] Loading [XUnity Resource Redirector 2.0.0] [Message:   BepInEx] Chainloader startup complete

Oh, I wasn't aware of this. I built XUAT against a BepInEx build from this pull request, which publicizes a property that was needed by AutoTranslator: https://github.com/BepInEx/BepInEx/pull/611
You'd need to either

build and use that version of BepInEx
wait for it to be merged into master and included in an official build
modify XUAT to get access to that property in a different way (BepInEx publicizer or reflection)

Oh, I wasn't aware of this. I built XUAT against a BepInEx build from this pull request, which publicizes a property that was needed by AutoTranslator: BepInEx/BepInEx#611 You'd need to either

build and use that version of BepInEx
wait for it to be merged into master and included in an official build
modify XUAT to get access to that property in a different way (BepInEx publicizer or reflection)

https://github.com/bbepis/XUnity.AutoTranslator/issues/394#issuecomment-1647704857

Please integrate a modified version, many games are now unrecognizable with 5.20

Oh, I wasn't aware of this. I built XUAT against a BepInEx build from this pull request, which publicizes a property that was needed by AutoTranslator: BepInEx/BepInEx#611 You'd need to either

build and use that version of BepInEx
wait for it to be merged into master and included in an official build
modify XUAT to get access to that property in a different way (BepInEx publicizer or reflection)

Please integrate a modified version, many games are now unrecognizable with 5.20

哦，我不知道这一点。我根据此拉取请求针对 BepInEx 构建构建了 XUAT，该请求公开了 AutoTranslator 所需的属性：BepInEx/BepInEx#611 你需要要么

构建并使用该版本的 BepInEx
等待它合并到 master 并包含在正式版本中
修改 XUAT 以以不同的方式访问该属性（BepInEx 宣传器或反射）

Please integrate a modified version, many games are now unrecognizable with 5.20

The combination of BepInEx-Unity.IL2CPP-win-x64-6.0.0-be.672 and XUnity.AutoTranslator(v5.3.0) also work correctly...)))


Fix incompatibility with Laravel 4.2

Fixed Declaration of RouterWrapper::resource() incompatible with Illuminate\Routing\Router::resource() for laravel 4.2

@egi Maybe you need phpvim/phpcd.vim


Make Features/Shortcuts More Visible

Description of the current difficulty
I accidentally pressed Alt-Shift-D thinking it would open the Settings UI (currently in preview).
I had previously put the recommended value in the settings.json at the bottom so a quick glance at the last value showed this shortcut.
Obviously this is wrong as it is the shortcut to split the pane; but I couldn't work out what was correct nor how to close the split pane.
I opened the settings.json again to look for the correct value to open the settings ui when I coincidentally saw // To learn more about panes, visit https://aka.ms/terminal-panes
Scrolling to the end of that web page I found the way to close the pane.
This is quite a cumbersome way to work out how to use the application.
Description of the new feature/enhancement
Add an easier way to find out how to use the application within the application rather than having to open a browser and read a large page of documentation.
Suggestions:

Add a context menu in the terminal window
Add a context menu in the tab
Add a keyboard shortcut window

An equivalent of the last option in VSCode is:

File - Preferences - Keyboard shortcuts

Big picture, the plan is just to have the Settings UI enabled by default, and have the keybindings all listed in there. So when you click on the settings button, you'll just get the Settings UI.
We've also already got:

Request: Right-click menu inside TerminalControl (w/ Copy & Paste?) #3337
Feature Request: Context Menu for  #1912
Feature request: Keyboard shortcut to show all keyboard shortcuts #4695

Sound good?

Sounds good.
I'm not sure how you managed to find those when I couldn't when I searched for them.
Its probably due to the wrong search terms.

Probably some combination of:

Github issue search is pretty awful
I work 40 hours a week in this repo, so I have a pretty good recollection of what things we're already tracking ☺


[BUG] 'NoneType' object has no attribute 'reserve_partitioned_swap_space' with params offloading to nvme enabled

Describe the bug
A clear and concise description of what the bug is.
Exception
'NoneType' object has no attribute 'reserve_partitioned_swap_space' with params offloading to nvme enabled
To Reproduce
Steps to reproduce the behavior:
With this configuration:
{
  "train_batch_size": 15,
  "fp16": {
    "enabled": true,
    "min_loss_scale": 1,
    "opt_level": "O3"
  },
  "zero_optimization": {
    "stage": 3,
    "offload_param": {
      "device": "nvme",
      "nvme_path": "/home/deepschneider/deepspeed",
      "buffer_count": 5,
      "buffer_size": 1e8,
      "max_in_cpu": 1e9
    },
    "offload_optimizer": {
      "device": "nvme",
      "nvme_path": "/home/deepschneider/deepspeed",
      "buffer_count": 4,
      "pipeline_read": false,
      "pipeline_write": false,
      "pin_memory": true
    },
    "allgather_partitions": true,
    "allgather_bucket_size": 5e8,
    "contiguous_gradients": true,
    "overlap_comm": true,
    "aio": {
      "block_size": 1048576,
      "queue_depth": 8,
      "thread_count": 1,
      "single_submit": false,
      "overlap_events": true
    }
  },
  "optimizer": {
    "type": "AdamW",
    "params": {
      "lr": 5e-05,
      "betas": [
        0.9,
        0.999
      ],
      "eps": 1e-08
    }
  },
  "scheduler": {
    "type": "WarmupLR",
    "params": {
      "warmup_min_lr": 0,
      "warmup_max_lr": 5e-05,
      "warmup_num_steps": 100
    }
  }
}

I'm getting the following exception

This configuration works fine:
{
  "train_batch_size": 15,
  "fp16": {
    "enabled": true,
    "min_loss_scale": 1,
    "opt_level": "O3"
  },
  "zero_optimization": {
    "stage": 3,
    "offload_optimizer": {
      "device": "nvme",
      "nvme_path": "/home/deepschneider/deepspeed",
      "buffer_count": 4,
      "pipeline_read": false,
      "pipeline_write": false,
      "pin_memory": true
    },
    "allgather_partitions": true,
    "allgather_bucket_size": 5e8,
    "contiguous_gradients": true,
    "overlap_comm": true,
    "aio": {
      "block_size": 1048576,
      "queue_depth": 8,
      "thread_count": 1,
      "single_submit": false,
      "overlap_events": true
    }
  },
  "optimizer": {
    "type": "AdamW",
    "params": {
      "lr": 5e-05,
      "betas": [
        0.9,
        0.999
      ],
      "eps": 1e-08
    }
  },
  "scheduler": {
    "type": "WarmupLR",
    "params": {
      "warmup_min_lr": 0,
      "warmup_max_lr": 5e-05,
      "warmup_num_steps": 100
    }
  }
}

Expected behavior
Both configurations should work fine.
ds_report output
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
cpu_adam ............... [YES] ...... [OKAY]
cpu_adagrad ............ [YES] ...... [OKAY]
fused_adam ............. [YES] ...... [OKAY]
fused_lamb ............. [YES] ...... [OKAY]
sparse_attn ............ [YES] ...... [OKAY]
transformer ............ [YES] ...... [OKAY]
stochastic_transformer . [YES] ...... [OKAY]
async_io ............... [YES] ...... [OKAY]
transformer_inference .. [YES] ...... [OKAY]
utils .................. [YES] ...... [OKAY]
quantizer .............. [YES] ...... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/home/deepschneider/PycharmProjects/gpt-neo-fine-tuning-example/venv/lib/python3.8/site-packages/torch']
torch version .................... 1.10.0+cu113
torch cuda version ............... 11.3
nvcc version ..................... 11.3
deepspeed install path ........... ['/home/deepschneider/PycharmProjects/gpt-neo-fine-tuning-example/venv/lib/python3.8/site-packages/deepspeed']
deepspeed info ................... 0.5.6+43e6432, 43e6432, cpu-adam/fix-scalar-compile
deepspeed wheel compiled w. ...... torch 1.10, cuda 11.3

System info (please complete the following information):

OS: Ubuntu 20.04
GPU: 1xA6000
Interconnects (if applicable) [e.g., two machines connected with 100 Gbps IB]: no
Python version: 3.8.10

Launcher context
Are you launching your experiment with the deepspeed launcher, MPI, or something else?
Huggingface Trainer

Thanks for opening a new issues. Can you also share the command-line to run?

Well, you can run this script from the repo, here is the requirements.txt file
I used Huggingface Trainer, so I'm not sure about cmd

@dredwardhyde, thanks I am able to repro this issue, thanks for the help. I will keep you updated with progress.

@dredwardhyde, can you please test the PR?

@tjruwase I think it works absolutely fine now, thank you!

@dredwardhyde, thanks for the update.
I am curious if you are able to successfully run your model e2e. On my V100-32GB, it OOM'd in the first backward pass. I traced that to high memory usage because model construction without zero.Init context manager. Is that your experience?

@tjruwase yeah, this is exactly what I've got
So it's not possible to run this model using Huggingface Trainer, right?

@tjruwase ah, ok, I'll try this approach, thank you so much for the help!

@dredwardhyde, thanks for confirming your experience. Actually, this 6B model should easily run using Huggingface Trainer with the parameter and optimizer offload configurations. I think a few things could help:

The model is constructed as fp32. Is this intentional?
zero.Init context manager should be used during model construction to ensure that the parameters are offloaded to cpu or nvme.

We can help with getting this finetuning working, so can you please open a new issue for that purpose. Thanks.

@tjruwase thank you, tomorrow I'll try to use torch.float16 and zero.init as described in this guide
I'll open a new issue if I get any errors)

@dredwardhyde, please see this HF guide as well. I am confused now but it seems you should not use zero.Init() directly because your script is constructing the model outside the HF Trainer.


Documentation for negative prompts

Documentation for pull lstein#661, and splits prompt docs into a separate file since they're going to get big quickly with these features.

Make a pull request to my PR instead. I can just add it there. Thank you.

Make a pull request to my PR instead. I can just add it there. Thank you.

Thanks, will do in a few hours when I land. (Working on airplane wifi, and I can't figure out how to make a PR to your branch without re-uploading the images, which took forever.)

Make a pull request to my PR instead. I can just add it there. Thank you.

Thanks, will do in a few hours when I land. (Working on airplane wifi, and I can't figure out how to make a PR to your branch without re-uploading the images, which took forever.)

You will probably need to reupload. Pull my PR from here, fork it and make your doc changes and make a PR to me. I'll approve them.

Do not make the other PR. That has already been merged. I'll take a look at these docs and approve.

Oh shoot. Sorry. I did not realize this was pending.

Oh shoot. Sorry. I did not realize this was pending.

It's all god Lincoln. You can merge this too. It's good to go.

@lstein  It's good to go. Merge it up. :)


'alarmo.trigger' service

Checklist

[✅ ] I checked for similar existing requests (both open and closed) before posting.
[✅ ] My request is generic, other users may benefit from it too.

Proposal
I would like to have a 'alarmo.trigger' service to trigger the alarms via automations or scripts.

The whole idea of alarmo is that triggering occurs automatically based on sensors.
Why would you want/need to trigger it manually?

In my opinion would this feature allow users to do even more custom stuff with this service available^^
I for exampe have a reed sensor that has a problem that it Switches now and then for a short amount of time (less than a second) while the door is still closed. This triggers the alarmo alarm even when noone opened the door. With the default alarm i was able to trigger the alarm only if the sensor was switched for a choosen amount of time so that this Problem that the sensor has wont fault trigger the alarm.

I have a custom alarm control station in my house using esphome (with Display, keypad, rfid sensor, ...) and this device also triggers the alarm when someone entered the wrong code 3 times in a row. (I know at least one more that has something like this https://github.com/docteurzoidberg/esphome-alarm-keypad )
With alarmo i am currently only able to trigger the alarm via a custom entity that i can turn on or off and add this one as a sensor in alarmo. But it would be so simpler to just trigger a service that does everything for me^^

I recommend you to create a (template) binary_sensor per device, as this is easy to manage within Alarmo and better for tracing back the source of triggering or arming failure.
I will see if I can implement some alarmo.trigger feature in the near future.

So I have another use case for this.  I have an IQ4 Panel and it is monitored by my alarm company.  However, I can't trigger fire alarms from my Z-Wave smoke detectors in the IQ4.  I have them connected to Home Assistant and am having them send a triggered alarm to my IQ4 panel.  I need to sync the 2 panels together so I have that being done through an automation that looks for arm, disarm, etc and mirrors it to Alarmo so I can use either the panel or a HA Tablet/Phone.  However, if I trigger an alarm on the IQ4, I can't sync that status to the Alarmo app w/o the trigger command.


[Feature Request]: Add Customer Managed key option to CARML deployment

Description
Many customers require a customer managed key for all resources.  If the option to enable a customer managed key could be enabled in the module that would be very helpful.
Thank you

Hi @mcarter106 thanks a lot for opening an issue.
We have CMK implemented for some modules already (e.g. storage accounts, automation accounts, data factory) and we're in the process of extending the coverage [Ref: e.g. issues #792, #1590 ].
Is there a module missing CMK implementation you are referring to in particular?

Databricks is missing CMK. its a tricky situation, since CMK for Databricks workspaces must be enabled AFTER the creation of workspace

Issue needs to be split up. One issue per module that is missing CMK. First step would be to assess, which modules are missing CMK implementation. After the assessment and the creation of issues per module, this one can be closed


x/pkgsite: module version in pkg.go.dev still hasn't updated over a year after github version update

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/okta/okta-jwt-verifier-golang
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Screenshot

What did you do?
Okta has released several versions on GitHub since the last update.  I tried all three methods listed under adding a package to get it to update on the pkg site, no dice.
What did you see happen?
Still on Version: v1.3.1 after over a year.
What did you expect to see?
The version number and updated information for v2 and later on the pkg site
Latest versions on GitHub

go treats different major versions as independent modules. the banner at the top indicates there's a newer major version.
closing as working as intended


Rules dont ban functions like nameof() for storing data.

A string that is constructed using "" has a token-count that depends on its size. I would assume that this is done to avoid freely storing lots of data.
This token cost can be avioded by putting your data in the name of a function, and then returning nameof() within that funtion.

Sience a name is a single token, could You in theory make the stockfish neural network wheights and biases into a single string and load that for the first round and use that as your evaluation?

That's a great point thank you. I'll add it to the rules!

Dammit, I was thinking of abusing this with an emulator (not that it was going to fit, I'm surprised how much I fit in though). BTW, this isn't unbounded, it is merely a more than intended.


Invalid content /en/testnets/cardano/tools/faucet/

Server error, not connect

Thanks for sharing your feedback! The faucet has been fixed and is working well now. The receiving address is also working. In case the issue occurs in testnet Daedalus, please raise an issue with IOHK Support - https://iohk.zendesk.com/hc/en-us


Question regarding MITgcm code comment on "coefficient 4 changed"

There is a note here:
http://wwwcvs.mitgcm.org/viewvc/MITgcm/MITgcm_contrib/high_res_cube/matlab-grid-generator/map_xy2xyz.m?view=markup#l73
regarding coefficient 4 changed -0.00895884801823 to -0.01895884801823.
Does anyone have any idea why that was done there?
@christophernhill @jm-c @ali-ramadhan

I did notice that and might have asked about it but I don't remember why it was done.
With that change for coefficient $A_4$ I think the $B$ coefficients for $Z(w)$ in map_xy2xyz.m are actually wrong since the $B$ coefficients are obtained by inverting the Taylor series for $W(z)$ with the $A$ coefficients. The coefficients in this repo should be correct since we have a test that checks that they are correct and they match table B1 of Rančić et al. (1996).

Sure. But if there is a typo in Rancic paper then the tests would still be passing. :)

Seems like GFDL's FV3 also uses -0.0189....
https://github.com/NOAA-GFDL/FRE-NCtools/blob/83acb799f47dfa27b433a131e9f7c1310767cc59/tools/make_hgrid/create_conformal_cubic_grid.c#L272

Nice locating the FV3 code!

I reached out to Alistair to see if he remembers why that extra digit was added in coefficient $A_4$. He came back with a plot of the two versions of the coefficients. If one had to guess from the plot you'd say that Alistair's version is the correct.
using CubedSphere, GLMakie

A_Rancic = deepcopy(CubedSphere.A_Rancic)

A_Alistair = deepcopy(CubedSphere.A_Rancic)
A_Alistair[5] = -0.01895883606818

k = 3:11

fig = Figure(fontsize=28)
ax = Axis(fig[1, 1], xlabel = "k", ylabel = "log10(- Aₖ)")
scatter!(ax, k .- 1, log10.(-A_Rancic[k]), label="Rancic", markersize=20, marker=:diamond)
scatter!(ax, k .- 1, log10.(-A_Alistair[k]), label="Alistair", markersize=16)
axislegend(ax)
display(fig)

However, I followed Rancic et al (1996) steps to compute the coefficients. I created a script and when I follow Rancic iterative method, after 30 iterations I converge to coefficients exactly as reported in the 1996 paper. (See table in https://github.com/CliMA/CubedSphere.jl/pull/18).
I'm trying to reconcile the figure above with the fact that iterative method gives me exactly the coeffs that Rancic reported back in 1996. (I'm drafting some notes to explain the method by Rancic and will post here soon.)

Here are some notes regarding how I computed the conformal map coefficients. Seems like my method agrees with the coefficients reported by Rancic. However, the plot above with the $A_4$ corrected by Alistair seems too pretty to be wrong...
CubedSpheranigans.pdf

I think it's pretty likely we can write an entirely independent and much more efficient remapping using rational functions.  What are the absolute tolerances you want to actually compute the remapping to?  And does the rest of the code just require the forward and backwards maps as functions, or also the local scaling and local orientation? Or are those computed upstream via finite differences?

Here's an independent algorithm using least squares fitting and rational functions ("lightning" rational approximations) to compute the forward and inverse maps: https://github.com/kburns/conformal_cubed_sphere.
The resulting maps match those from this repository using the original Rancic coefficients to full precision.  The algorithm is much simpler than Rancic, but in the end it looks like you still need about as many coefficients to store the map to full precision (although we may be able to improve on this using log-lightning approximations).  So it's not clear it would offer any performance benefits to switch implementations, but at least it confirms the original coefficients.  Modifying A[4] results in an O(1e-5) error in the maps.


Throw exception if input video file doesn't exist.

Current behavior
When the input video path doesn't exist, VidStab throws IndexError: pop from an empty deque (see error message in #70 for example)
Desired behavior:
If the input video doesn't exist VidStab should throw an exception notifying the user that video doesn't exist.

I am unable to get past this error.
raise " FileNotFoundError(f'{input_path} does not exist')"
I verified the path and file exist with os.path.isfile().   The file is there and is being properly fed.  I initally thought maybe it was a unicode string issue, but I have even tried hard coding the file path into VidStab.py, but still cannot seem to make it past this error.   Is there specific file type limitations?
Or is this a versioning issue?   I am running Python 3.5.1 +  vidstab 1.60

I forgot to mention, this is poping up as a invalid syntax err
https://user-images.githubusercontent.com/25994608/60456663-b3a57e80-9bee-11e9-86c5-a055859f33a3.JPG

I was able to get past this error by changing the string formatting to old method from 3.5.1
raise FileNotFoundError('%s does not exist' % input_path)
https://www.python.org/dev/peps/pep-0498/

Given the syntax error and that it was fixed by converting the string interpolation to the % method, I'm questioning if the Python 3.5.1 installation was running the code or if a lingering 2.x installation was.
Could you try running the below code snippet using the same method you were using to call the failing vidstab process?  It should prove out the versioning.  Additionally, if the error persists, we'll be working from the same input video which should make debugging easier.
import sys
import vidstab

print('Python version')
print(sys.version, end='\n\n')

print('vidstab version')
print(vidstab.__version__)

test_video_path = 'ostrich.mp4'
vidstab.download_ostrich_video(test_video_path)

stabilizer = vidstab.VidStab()
stabilizer.stabilize(input_path=test_video_path, output_path='test_output.avi')

P.S. Notifications for comments on closed issues are quieter than notifications of opening up a new issue.  In this case, I noticed your comment, but it would be easy for it to slip through the cracks.  In the future, if you remember, please open a new issue so I won't accidentally leave your issue unattended.  Thanks for reporting the issue!

@studiophile any follow-up on this issue?  Doing some clean-up and I plan to close this soon if no response.


Teams package doesn't have a helpful description

Describe the bug
Microsoft.Bot.Components.Teams package has this description:
This library implements .NET support for adaptive dialogs with Microsoft Teams
Not very accurate, should be more comprehensive and likely along similar lines to Microsoft.Bot.Components.AdaptiveCards but more detail as to why I should consider using it:
Composer triggers and actions for working with Adaptive Cards.

Shiproom - lets fix this in a patch


BUG: fix issue when parsing $ sign as special markdown syntax

This PR fixes an issue when using $ sign in text. When multiple $ chars are used in markdown they are interpreted as math. To fix this the extension escape $ using \$ when writing any text into markdown cells.

@mmcky I was having trouble with using this inside of code formatting (i.e., double-backticks) in text mode. But it works fine in "normal" text usage.

@arnavs can you post an example? Inside of code blocks is usually un-processed text.


Kubeip using a lot of CPU

Hello !
Recently we deployed doitintl/kubeip-agent:2.1.7 and observed all the pods are using 1 CPU each. After successfully assigning an ip to the node, the pod will keep using 1 CPU. Just to watch if the ip node has changed this seems a lot, is it normal ? (see attached screenshot)

@aimbot31 I'm unsure how K9s calculates CPU usage, but I think it's wrong.
You set CPU limit to 100m (it should be enough). The KubeIP CPU usage is shallow (below 5% one core)

Fixed #144


Update the ROS 2 roadmap.

Mark items as complete, add in new items, and update time
estimates.
Signed-off-by: Chris Lalancette<EMAIL_ADDRESS>

@Mergifyio backport rolling

@Mergifyio backport rolling


Token error

Hi,
I am trying to get the Eufy Security Add-on working and I get the following log:
2021-11-19 20:39:27.076  INFO Authentication properties changed, invalidate saved cloud token.
2021-11-19 20:39:27.090  INFO Eufy Security server listening on port 3000
2021-11-19 20:39:27.846  INFO Switching to another API_BASE (https://security-app-eu.eufylife.com/v1) and get new token.
2021-11-19 20:39:27.901  ERROR Status return code not 200
{
status: 204,
statusText: 'No Content'
}
2021-11-19 20:39:27.904  ERROR Token error
Any idea what to do?

Please create an issue over here: https://github.com/bropat/eufy-security-ws

Hi fuatakgun,
Why do you ask to create an issue for the eufy-security-ws when I am using your Eufy Security Add-on version 0.5.3?

That repository is source of error. My add-on is just a wrapper around eufy security ws


Install fails when project uses rails/tailwindcss-rails

Precheck

Do not use the issues tracker for help or support, try Stack Overflow.
For bugs, do a quick search and make sure the bug has not yet been reported
If you found a security bug, do not report it through GitHub. Please send an e-mail to<EMAIL_ADDRESS>instead.
Finally, be nice and have fun!

Environment

Ruby 3.0.0
Rails <IP_ADDRESS>
Simple Form 5.1.0
tailwindcss-rails 2.0.21

Current behavior
Using tailwindcss-rails causes install to fail. Output:
❯ rails generate simple_form:install

[Simple Form] Simple Form is not configured in the application and will use the default values. Use `rails generate simple_form:install` to generate the Simple Form configuration.
SimpleForm 3 supports Bootstrap and Zurb Foundation 5. If you want a configuration that is compatible with one of these frameworks, then please re-run this generator with --bootstrap or --foundation as an option.
      create  config/initializers/simple_form.rb
       exist  config/locales
      create  config/locales/simple_form.en.yml
Could not find "_form.html.tailwindcss" in any of your source paths. Your current source paths are:
/Users/claudioramos/.rvm/gems/ruby-3.0.0/gems/simple_form-5.1.0/lib/generators/simple_form/templates

This can be reproduced by creating a new project using Tailwind and installing simple form.
rails new simple-form-tailwind-demo --css tailwind && cd simple-form-tailwind-demo
echo "gem 'simple_form'" > Gemfile
bin/bundle
bin/rails generate simple_form:install

Expected behavior
rails generate simple_form:install is expected to identify the template engine correctly and run successfully.
Workaround
Specify the template engine(erb, haml, or slim) in the install command.
Example: rails generate simple_form:install -e erb

This is caused by tailwind-rails setting the template engine as tailwindcss. I've opened an issue there.
https://github.com/rails/tailwindcss-rails/issues/246

@dinclas thanks for reporting this! I'm closing this since it's not simple_form's issue.


Use atomics to Get/Set Ctx

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Move ovirt-ansible-* rpm installation from post script to rpm requires

Since oVirt 4.4 is now GA, installing ovirt-ansible-* rpms can be done through manageiq rpm "requires". It's currently done in post script: https://github.com/ManageIQ/manageiq-appliance-build/blob/master/kickstarts/partials/post/ovirt_ansible.ks.erb
3 things need to be done:

Update rpm 'requires': https://github.com/ManageIQ/manageiq-rpm_build/pull/58
Remove from appliance kickstart: https://github.com/ManageIQ/manageiq-appliance-build/pull/428
Remove from manageiq-base image (https://github.com/ManageIQ/manageiq-pods/pull/548)

@Fryguy this is ready for review


Change to text on the Application confirmation page (with the reference number)

Is your feature request related to a problem? Please describe.
We need to make the text on this page dynamic and fit the requirements of the requirements of each exercise.
Describe the solution you'd like
We would like a place in Admin for the team to compose the text that displays.
Describe alternatives you've considered
Hard coding text with dynamic fields such as dates and process populated based on the exercise information
Additional context
Comments from colleague
The confirmation message once candidates have submitted their application gives inaccurate information. It tells candidates we will now decide whether to shortlist them for the role and we will email them either way to let them know in April 2020. We need a different message to candidates if possible. The next stage in this exercise will be for us to let them know whether they need to sit a QT as a first stage of shortlisting in March. This will depend on whether we get a sufficient number of applicants to justify running a QT.

Alternative text to be provided by team.

@Rebecca-mcknight1991 moved this to Blocked as looks like we may be waiting for input from the team... plus I think the ticket could be tidied up a bit

@warrensearle I will tidy this up but I don't think we need input from teams on this - essentially the text needs to basically say what actually comes next in the timeline. I can discuss with ya.


Cannot import /work/ComfyUI/custom_nodes/ComfyUI-TCD module for custom node

Cannot import /work/ComfyUI/custom_nodes/ComfyUI-TCD module for custom nodes: cannot import name 'calculate_sigmas' from 'comfy.samplers' (/work/ComfyUI/comfy/samplers.py)

Have you checked the comfyui version?
calculate_sigmas is at this location comfy/samplers.py#L669


Kiosk Mode

I have this installed on Unraid using an assigned macvlan address. <IP_ADDRESS>, for example.
So to get to it I go to http://<IP_ADDRESS>:8080. Works great from there.
However, I am unable to get kiosk mode to work correctly. If I check kiosk mode it will switch but I am unable to force it into kiosk mode from a URL. Any new call to the url or refresh kicks it out of kiosk mode.
If there a trick to this?
Maybe an alternative port could be utilized for kiosk mode?

You have to modify the URL slightly to use kiosk mode. It's a manual action because you can't click the "Copy Link" button once you're in kiosk mode. It's documented in the Readme

The URL modification in the Readme is not working. Perhaps I was unclear about that in my initial comments.
I get an error:
Cannot GET /&kiosk=true

If your not also using a permalink then it's /?kiosk=true since it's the only URL parameter.

I found this issue and fixed my install from unRAID. If you would not mind adding that into the readme, that would be great, as I was putting in "&kiosk=true" as well and getting the same error. Hopefully it would help others that might not think to look for the issue.
It is now working great inside of an iframe on my selfhosted dashboard!

I swear I tried http://<IP_ADDRESS>:8080/?kiosk=true multiple times and it didn't work...but now it is. ¯\_(ツ)_/¯

What would a URL look like with Kiosk and Widescreen in it? When I check ✅ Widescreen, it does not affect the PERMALINK(at least on the unRAID docker).


"Could not open requirements file"

After this command in a venv
python -m pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.11/latest pyside2 --trusted-host download.qt.io
I can't find the 'requirements.txt' for the command 'pip install -r requirements.txt'
Thanks.
Edit, on Ubuntu 16.04

Ah sorry, I should've mentioned git clone https://github.com/PierreRochard/node-launcher && cd node-launcher, adding that now thank you @coinsmith ! Let me know if it's the right solution.
Btw this will definitely have bugs in linux because I haven't tested it there yet at all, keep me posted!

Ah sorry, I should've mentioned git clone https://github.com/PierreRochard/node-launcher && cd node-launcher, adding that now thank you @coinsmith ! Let me know if it's the right solution.
Btw this will definitely have bugs in linux because I haven't tested it there yet at all, keep me posted!

Ah, good to know it isn't me goofing up because of a lack of python knowledge.
The 'pytest tests' gives a bunch of syntax errors, I've put them in a pastebin file.
https://pastebin.com/SvQ8dVtk

Ah yeah you're using python 3.5, I'll update the readme to be 3.6+ as f-strings don't work in 3.5

Do you have a way of upgrading to 3.6? might no be possible on ubuntu

Ah, I think so, I've installed Anaconda once on an old offline laptop. Will try that on the other machine & keep you posted.

Ah, I think so, I've installed Anaconda once on an old offline laptop. Will try that on the other machine & keep you posted.

Results with python3.7
a few failed tests and a segmentation fault upon running 'python3.7 run.py'
https://pastebin.com/MyHuRXiL

I don't use Linux on desktop/laptop so it is not currently supported, hopefully someone comes a long with a pull request to fix that! I'd be happy to merge it in


Load more count is broken

The load more total count always shows the count for all posts, even when you select a category or other filter.

Tried it on my instance with posts with / without categories on different views (top & pending). After cleaning my cache (subs manager ^^), the total count showed me on each view/categories the amount expected.
How did you get to this?

I noticed this while working on Crater. I'll pay attention next time to see when exactly it's happening.

I faced this issue too!
It comes from the difference between what the client filter and what's published: terms.selector passed to the list container & selector used on the client are different. Classic meteor coder problem? :trollface:

Total count being calculated server-side, the app tells us that there are more post for us.
Well if I may quote you:

So we’re hoping Meteor gets some new pagination features in the near future, and that this blog post becomes obsolete soon!

Apart from this silly acknowledgement of failure, I'll play with that next week while moving PostsLists to Apollo and use their native pagination feature: https://medium.com/apollo-stack/pagination-and-infinite-scrolling-in-apollo-client-59ff064aac61#.k18y5obkb

Haha. I thought I would've made sure this didn't happen… But yeah I agree that Apollo would be better!

I'll play with that next week

*Two months later...*👯
I've made something functional, and will clean it up to use fetchMore (apollo docs) 👍

The count is back 👍 Some pagination work is next step now 👍


Show Explain Analyze results in the Editor

Right now, running a explain analyze query in the editor just returns an "empty table", instead of the response that is get from the API.
From SB/4764650

We should design an specific view for this, and allow to do an explain analyze of a query with a button.

Hey, me too: https://github.com/CartoDB/cartodb/issues/2295

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Updated docker image fails second step: nom run test

Following the directions at the bottom of https://github.com/quicktype/quicktype the first step succeeds but the second step ( npm run test ) fails:

● Validation Error:
Module ts-jest in the transform option was not found.
 is: /quicktype

I updated to the latest docker ( Docker version 19.03.8, build afacb8b ) and pulled the latest source from https://github.com/quicktype/quicktype master branch and then ran:
script/dev as directed but the instructions.  Lots of output with various messages but nothing obviously "FAILED" or "ERROR" and it completed successfully and was launched by Docker.
This is on macOS X 10.15.4.
More detailed log:

root@aa778246e515:/quicktype# npm run test --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test', '--verbose' ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm verb run-script [ 'pretest', 'test', 'posttest' ]
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>test /quicktype
jest && script/test

● Validation Error:
Module ts-jest in the transform option was not found.
 is: /quicktype
Configuration Documentation:
https://jestjs.io/docs/configuration.html
npm verb lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
npm verb lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/quicktype/node_modules/.bin:/app/node_modules/.bin:/root/.sdkman/candidates/kotlin/current/bin:/root/.cargo/bin:/app/swift-4.1.3-RELEASE-ubuntu16.04/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
npm verb lifecycle<EMAIL_ADDRESS>CWD: /quicktype
npm info lifecycle<EMAIL_ADDRESS>Failed to exec test script
npm verb stack Error<EMAIL_ADDRESS>test: jest && script/test
npm verb stack Exit status 1
npm verb stack     at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
npm verb stack     at emitTwo (events.js:126:13)
npm verb stack     at EventEmitter.emit (events.js:214:7)
npm verb stack     at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at emitTwo (events.js:126:13)
npm verb stack     at ChildProcess.emit (events.js:214:7)
npm verb stack     at maybeClose (internal/child_process.js:915:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npm verb pkgid<EMAIL_ADDRESS>npm verb cwd /quicktype
npm verb Linux 4.19.76-linuxkit
npm verb argv "/usr/bin/node" "/usr/bin/npm" "run" "test" "--verbose"
npm verb node v8.17.0
npm verb npm  v6.13.4
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test: jest && script/test
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm timing npm Completed in 324ms
npm ERR!  Second time it looks to have died here:

Step 47/56 : RUN curl -sL "https://keybase.io/crystal/pgp_keys.asc" | apt-key add -
---> Running in 6115ac5043ec
gpg: no valid OpenPGP data found.
The command '/bin/sh -c curl -sL "https://keybase.io/crystal/pgp_keys.asc" | apt-key add -' returned a non-zero code: 2
Unable to find image 'quicktype:latest' locally
docker: Error response from daemon: pull access denied for quicktype, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

Did a re-run and get other errors.  This all seems pretty flakey.

Tried this again and got that same error. ¯_(ツ)_/¯
Haven't had this kind of trouble with any other docker images.  This one is more complex than most it seems like (so many languages etc).

Curious if anyone can get this docker image to work on macOS 10.15.4 using Docker version 19.03.8, build afacb8b


⚠ Unifi Controller has degraded performance

In fb6d002, Unifi Controller (https://unifi.vflits.com/) experienced degraded performance:

HTTP code: 200
Response time: 4617 ms

Resolved: Unifi Controller performance has improved in d33a22d after 16 minutes.


Notify users of new updates

like this

I think this could also be used to help developers locate help and our github. One way of doing this is to have a message.json that is checked into the repo.... that makes updating this quite easy. We could take it one step further and have the client callout (if allowed and able) to the version of message.json currently on main or hosted elsewhere....

think more about

compatibility between releases
confidence about non-breaking changes in new releases
downgrade support

The way that pip does it is by fetching pypi's package info. We can use that to nudge users to upgrade.
Using pypi will not help us with version compatibility - I have a WIP PR for creating a compatibility matrix that can be published and used for version compatibility between local clients (Persistent/Ephemeral) and remote clients (Http and Cloud) - this will knock 1) and 2) from the above list.
Regarding downgrade support, what is your mental model here? Somehow, advise users how to downgrade versions?