fix gerrit project name calculation

when a gerrit host has a path and git uses ssh, then the project name
calculation was off resulting in a REST query looking for an invalid
project name

Thanks for your work. Can you please squash your two commits and then force-push into the same branch in order to update this PR with one commit?

done

Thanks. Merged (but into branch intellij14 which is the oldest supported IntelliJ version).


All calls return generic huobi endpoint object

It appears that all API calls seem to return a rather generic object relating to the call used, as an example:
<huobi.rest.endpoint.HuobiRestEndpointResult object at 0x000001EE06F26D30>
Not sure what is causing this issue exactly but it is a problem with the official Huobi api as well, at least on my end.

same here


String interpolation in component arguments

Is it possible to do something like this?
{{>myComponnent option="foo:{{#if foo}}yes{{/if}}{{#else}}no{{/else}}"}}

or
{{>myComponnent option="foo:{{foo}}"}}

I am writing my components in Jade so there I can at least use this
+myComponnent(option="foo:#{foo}")

but obviously I don't want them to be tied to any syntax or transpiler logic
I didn't find any documentation so maybe you can help me find an answer to this.

No. This is not possible in Blaze. It is also probably too much logic for Handlebars pure separation of concerns.
You can do:
{{>myComponnent option=option}}

class myComponent extends BlazeComponent
  option: ->
    "foo:#{if @data().foo then 'yes' else 'no'}"

Yea I was guessing that.. I was just wondering why I could do some string interpolation in Jade but not in spacebars since the Jade implementation of meteor only uses Jades lexer and syntax..
I will just have the people build this logic into their templates.
Thx for the answer.
Issue can be closed.


Refresh doesn't remember what you were listening to or the position

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed: https://github.com/GetStream/Winds/issues

Description
When pressing Ctrl+R to refresh the interface the page your on stays the same, but the podcast stops playing and the position you were at is lost.
Steps to Reproduce

Star a podcast
Ctrl+R

Expected behavior: Podcast resumes from where you were before refreshing
Actual behavior: Podcast stops
Reproduces how often: 100%
Versions
2.0.47 (Linux)

@kenhoff potential fix - localStorage?


Image Load from a memory buffer

Hi everyone!
Here's my case: I plan to make a simple game using ImGUI. Since I'm very, very new to OpenGL, this library did catch my eye as a good, more understandable way to handle my simple 2D rendering needs.
I'm still researching theoretically (e.g., I didn't clone the code yet), and I cannot find a way to load an image using a memory buffer. Instead, it requires just a filename (which, under iOS/Android, may cause an issue).
Is there a way to modify/extend the lib to supply it with a memory buffer (where a PNG file's contents lie)? I couldn't find the IMG_Load source...
I really appreciate any help you can provide.

You're correct. It's not currently in simple2d but SDL does have support for it. The code loading images calls out directly to SDL_image library's IMG_Load function, (https://wiki.libsdl.org/SDL_image/IMG_Load). IMG_Load is only a light wrapper around SDL_RWops facilities, (https://wiki.libsdl.org/SDL2/SDL_RWops), and there is a helper even for handling loading from memory, SDL_RWFromMem (https://wiki.libsdl.org/SDL2/SDL_RWFromMem).
It would be simple but not completely trivial to add this functionality to simple2d.
For android/etc, SDL has special support for these platforms. I've not experimented with it myself but you can look into how the file handling is done on android here: https://github.com/libsdl-org/SDL/blob/8719a7653565443772b26c9e68025bc3a72d45f1/src/core/android/SDL_android.c#l681


Makefile builds are not setting the version string

I "borrowed" the Makefile from this project for a new project I'm working on. While updating the Makefile to reflect the new project I noticed that the version string is not being set as expected.

https://github.com/atc0005/bridge/blob/8364ae05022f9d29981119cf41340df6ec6662e4/config/config.go#L47
https://github.com/atc0005/bridge/blob/8364ae05022f9d29981119cf41340df6ec6662e4/Makefile#L29

This article covered it:
https://goenning.net/2017/01/25/adding-custom-data-go-binaries-compile-time/

If we have the following package.
package info

var (
	BuildTime string
	CommitHash string
)

We could then change it by using the full package path, like this:
go build -ldflags "-X github.com/goenning/hello-go/info.BuildTime=$(date +"%Y.%m.%d.%H%M%S") -X github.com/goenning/hello-go/info.CommitHash=$(git log -pretty=format:'%h' -n 1)"

Just remember that as we are writing a package that is intended to be imported somewhere else, our variables need to start with a capital letter. Another option would be leaving them as internal and implement some sort of encapsulation to have access to them from outsite your package.

This bit stands out:
-X github.com/goenning/hello-go/info.CommitHash

The fully-qualified package path to the variable is required, which is what I failed to do with the Makefile build command.


e2e testing

I'm pretty proud of this PR since it has been useful to benchmark and stress Capsule and I'm feeling confident we're reaching the production-grade phase.
I noticed some odd behaviors due to the high frequency of test run, mostly regarding flakiness and resources update conflicts: this is the reason for dropping the NamespaceReconciler and let the Tenant one handle everything since we're relying on the OwnerReferences.
What we're still missing is to automate this kind of tests (CI), since we need an up and running Capsule installation, but I guess it can be easily achieved with a Make recipe and encapsulated in a GitHub Actions.

Tests can be run issuing ginkgo -tags e2e from the e2e folder.
output
=== RUN   TestAPIs
Running Suite: Controller Suite
===============================
Random Seed:<PHONE_NUMBER>
Will run 24 of 24 specs

••••••••
------------------------------
• [SLOW TEST:22.322 seconds]
changing Tenant managed Kubernetes resources
/home/prometherion/Documents/capsule/e2e/tenant_resources_changes_test.go:36
  should reapply the original Limit Range resources upon third party change
  /home/prometherion/Documents/capsule/e2e/tenant_resources_changes_test.go:178
------------------------------
• [SLOW TEST:13.240 seconds]
changing Tenant managed Kubernetes resources
/home/prometherion/Documents/capsule/e2e/tenant_resources_changes_test.go:36
  should reapply the original Network Policy resources upon third party change
  /home/prometherion/Documents/capsule/e2e/tenant_resources_changes_test.go:198
------------------------------
• [SLOW TEST:16.367 seconds]
changing Tenant managed Kubernetes resources
/home/prometherion/Documents/capsule/e2e/tenant_resources_changes_test.go:36
  should contains all Resource Quota resources
  /home/prometherion/Documents/capsule/e2e/tenant_resources_changes_test.go:220
------------------------------
••••••••
------------------------------
• [SLOW TEST:5.165 seconds]
exceeding Tenant resource quota
/home/prometherion/Documents/capsule/e2e/resource_quota_exceeded_test.go:37
  should block new Pods if limit is reached
  /home/prometherion/Documents/capsule/e2e/resource_quota_exceeded_test.go:134
------------------------------
•
------------------------------
• [SLOW TEST:9.145 seconds]
creating namespaces within a Tenant with resources
/home/prometherion/Documents/capsule/e2e/tenant_resources_test.go:36
  should contains all Network Policy resources
  /home/prometherion/Documents/capsule/e2e/tenant_resources_test.go:191
------------------------------
•
------------------------------
• [SLOW TEST:7.160 seconds]
creating namespaces within a Tenant with resources
/home/prometherion/Documents/capsule/e2e/tenant_resources_test.go:36
  should contains all Resource Quota resources
  /home/prometherion/Documents/capsule/e2e/tenant_resources_test.go:216
------------------------------

Ran 24 of 24 Specs in 106.564 seconds
SUCCESS! -- 24 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestAPIs (106.56s)
PASS


Which file is the micropython load?

Download Micropython software binary for ESP32
Which of these files?
Standard firmware:
esp32-ppp-fix.bin (latest)
esp32-bluetooth.bin
esp32-20190522-v1.10-372-gc03f81c63.bin
esp32-20190125-v1.10.bin
esp32-20180511-v1.9.4.bin
Firmware with SPIRAM support:
esp32spiram-20190522-v1.10-372-gc03f81c63.bin (latest)
esp32spiram-20190125-v1.10.bin

Yeah, it's confusing with so many different versions. The current release right now is v1.10
https://github.com/micropython/micropython/releases
So I would pick the core version of that unless you have specific needs: esp32-20190125-v1.10.bin


Align deploy and declare cheatcodes with new state implementation

fixes #766

does this fix #766 ?

Also, it would be awesome to hide the logic of this behind the Cheater interface introduced in #776, but I can also do this in separate PR.

I am wondering how should i abstract away this logic into a Cheater - i operate directly on the state here and don't need to store anything else really

Also, it would be awesome to hide the logic of this behind the Cheater interface introduced in #776, but I can also do this in separate PR.

I am wondering how should i abstract away this logic into a Cheater - i operate directly on the state here and don't need to store anything else really

The trick is that I would like to revoke a direct access to the state in Cheatcodes. Okay let's do this in separate PR because this is not fully clear indeed.


analyzer: Using a const instance as the "bitwise or expression" in a relational pattern reports a weird error

Take this slight modification to the Relational pattern example from the spec:

class MyInt {
  const MyInt(int i);

  bool operator <(MyInt other) => false;
}

String asciiCharType(int char) {
  const space = MyInt(32);
  const zero = 48;
  const nine = 57;

  return switch (char) {
    < space => 'control', // error
    == space => 'space',
    > space && < zero => 'punctuation', // error
    >= zero && <= nine => 'digit'
    // Etc...
  };
}

This code (today on DartPad) results in an odd error on the // error lines:

The argument type 'MyInt' can't be assigned to the parameter type 'num'.

I don't understand this message:

I don't think the "bitwise or expression" has to be a num, so I don't know where 'num' is coming from.
I don't think there is any 'MyInt' argument, or any 'num' parameter, in a pattern.

CC @scheglov @munificent

Here we match char against space.
This means matching int < MyInt.
This means invocation of int.<(num).
And we try to pass MyInt where num is expected, so the error.
I don't understand the portion about "bitwise or expression", there are no || anywhere.

This means invocation of int.<(num).

Ah I see. This makes sense. If I change the parameter to MyInt char, then the errors go away.
I still hope we can separate into a different error message, other than "The argument type 'MyInt' can't be assigned to the parameter type 'num'." Perhaps something like "The constant expression type 'MyInt' can't be used in this relational pattern against a 'num'"?
I don't know all of the terms we're using for patterns and errors.

I don't understand the portion about "bitwise or expression", there are no || anywhere.

I don't understand it either, I'm just using the name from the spec. Maybe a typo.

https://dart-review.googlesource.com/c/sdk/+/287940


[PLUGIN REQUEST]  llm.nvim

Field
Description

Plugin
llm.nvim

Homepage
https://github.com/huggingface/llm.nvim

Nixpkgs
https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/applications/editors/vim/plugins/generated.nix#L5618-L5628

Extra Information
not sure if it is the best to implement it as it is or not
it is built on top of another thing called llm-ls not sure if it actually implements lsp protocol
the nvim plugin itself is not in nixpkgs but the llm-ls binary itself is packaged in nixpkgs

Looks like it was in nixpkgs already


[NPU] LlaMa Custom Op

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.yuanwei seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Typedefs Don't Support non-x86

I built on/for an M1 Mac system:
rustup target add aarch64-apple-darwin
cargo check --target=aarch64-apple-darwin

(check won't require a local toolchain, linker, SDKs, etc)
I see errors like this, followed by cascading issues which I think are related:
error[E0432]: unresolved import `crate::defs::Word`
 --> astro-float-num/src/common/buf.rs:4:5
  |
4 | use crate::defs::Word;
  |     ^^^^^^^^^^^^^^^^^ no `Word` in `defs`

I think the crux is snippets like this:
/// A word.
#[cfg(target_arch = "x86_64")]
pub type Word = u64;

// ...

/// A word.
#[cfg(target_arch = "x86")]
pub type Word = u32;

There's no base case, so as soon as you compile for not-x86 everything falls apart. You could add more targets to the list, but you could also use target_pointer_width instead of target_arch to make these decisions.
See: https://doc.rust-lang.org/reference/conditional-compilation.html#target_pointer_width

Thank you for raising the issue. Yes, indeed for now just x86_64 is supported.

The latest version (0.7.0) has recently been tested on aarch64.


can't use nodes on script

Godot version:
3.1 RC2

OS/device including version:

Issue description:
can't use nodes on script on new scenes/nodes
Steps to reproduce:
make a new scene or node, add some children node then try to use then on script, on the image im sending ilustrate this error, sorry for the english
Minimal reproduction project:

Reproduction project would be really useful.

Your anim variable is null, so for some reason it's not properly assigned or it has been freed. Using find_node in onready is a bad idea, and is probably why it doesn't work, as when this scene is ready its parent scene is not yet, so find_node called on the root node might not succeed yet.


[review] possible bug

in include/pipes/base.hpp there is
struct pipeline_base : detail::crtp<Derived, pipeline_base>
{
...
Derived& operator++() { return this->derived(); } // should here be ++this->derived();
...    };

Thanks for bringing this up.
This is supposed to be intentional, as the derived class don't have an operator++. The point of having the base class have one is to make the code of STL algorithms compile, while all the work is done by the operator=.


Refactor documents index into CBV and eliminate is_ajax

Repeat of #7251 (and indirectly #7209), for documents this time.

Looks great @gasman - I ran the code locally & tested a bunch of scenarios, works great. Love that the index & search results are separated now, and both have their own URL name


Refactor Main Artifact Store UI to Single-Select

Currently, we have (broken, I believe, according to @sei-aderr) support for multi-select of models and model versions on the main artifact store page. This is likely a result of mockups that did not perfectly reflect the intent for this page. We should refactor these to be single-select boxes (dropdowns) such that users may only select a single model and model version at a time. This should reflect the logic that is currently implemented anyway (users can currently only select a single model and version) and updates the UI to reflect this.

So yes, the multi-select doesn't work properly at the moment as it isn't clear which model and version is selected to start a new negotiation card or report.
So like I saw you had started, the two divs that are <div class="scrollable-div"> will be converted to <UsaSelect>. Then also as you were doing, you will want to have them call a method when they change. So on the UsaSelect page you can see that the event it emits is update:modelValue, so you will do something like this, @update:modelValue=myMethod(). With myMethod being updateSelectedModels and updateSelectedVersions which both will have to be updated slightly.
Then set the v-model of each select to be selectedModel and selectedVersion respectively to store those values.
(I think) Lastly the deleteVersion and deleteModel will have to be updated.
Typing this out makes me realize this may be a bit of a confusing change to make. If things become too unclear and painful to do, just let me know and I will get it implemented for you.


Welding masks restrict vision

About the PR

Made welding masks (not the welding gas masks) restrict your vision.
Why / Balance

it's realistic and it gives a use to the flipped up welding mask sprites. As for game balance, it's pretty much a nerf, it blinds you completely when it's down and does not protect you when it's up.
Technical details

I don't really understand the code enough to summarize it but I'll try my best.
I moved the flash immunity component from server to shared, so that the welding mask can actually toggle it
The welding mask component stores an invalid entity UID until it is worn then it stores the UID of the wearer until unequipped. Whenever the welding mask component receives a "folded event" it effectively toggles all the fancy things that come with a welding mask.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

https://github.com/space-wizards/space-station-14/assets/20659419/f5dd4a05-d8fb-4f5f-820a-d686b69bd7a0
Breaking changes

Changelog

🆑

tweak: Welding masks can be folded up and will blind wearers when folded down.

Aren't these basically just blindfolds now? Blindfolds too fully blind you while giving you flashres.
SS13 restricted weldermask vision to like a 6x6 square around the character which is much more reasonable than complete blindness.

Yeah this should be it's own vision effect separate from blindness. It shouldnt have grayscale either.

It shouldnt have grayscale either.

Pretty sure SS13 greyscaled and/or dithered the screen when the weldermask is on, might be misremembering though.

give it a cone of vision, like 4 tiles wide and as long as normal vision, but make everything outside of that visible, but not descernable if you know what i mean, like in some ss13 servers wearing a helmet blocks your vision from behind but only viewing objects vision.

it should block blue light or something because thats near UV which its meant to block
also cone would be good

way too restrictive of vision currently

This is an amazing change. Welding mask are supposed to be for welding.
Currently they are only used against revs and malf borgs.
Keep up the great work!

it should block blue light or something because thats near UV which its meant to block also cone would be good

A lowpass filter on the colors (sch that greens look faded and blues look greyscale but reds look normal) and increasing the view size to be a bit larger would improve this.
I would like personally a 3-7 tile (would need to test to see what feels right) diameter circle of vision and an additional cone of vision in front of you similar to the seclight lit area (a bit longer than the normal blue flashlight found in emergency toolboxes and elsewhere)

I would also greatly appreciate the quality of life of being able to flip it up on your head, if nothing else just to be able to eat without juggling this mask item.

I like this change because it provides an incentive for the player to not be wearing the welding mask all the time. I think it would be better if you used a different shader (or slightly increased the radius) and made the tint a color closer to what you would expect from a welding mask. Unfortunately this is also affected by the feature freeze.

best i can do to increase vision range is the breaking bad mexico filter

RESULT NOT SATISFACTORY. CAUSE: <TARGET NOT MET>
<MACBOY2003>,
YOU WILL BE DEPORTED TO THE <SHADER MINES> COLONY FOR <WELDERMASK CODE> RESTRUCTURING UNTIL RESULTS IMPROVE AND MATCH <TARGET RESULTS>.

now that the freeze is over..... could this be reopened so i could get more feedback

the shader mines are a confusing and horrible place

all checks have passed! it works perfectly! (as long as no one presses the tilde key)

Finally! I always thought it was kinda cheap and easy to be immune to flashes and welding damage, so this is huge

No update in a month. It is so joever

drafting this cause fixing it will take a very long time

Re-open if you come back to it.


Usage example

Hi,
first of all I'd like to thank you for great work.
Do you have any simple example how to use this in app? I have really basic experience with Django and I'd like to use this.
Thank you

hmm not currently no but I would like to. I'm contemplating just making an okta developer account and providing a demo for that. I'll leave this open as I think it's important to have this

Okay, I will try to work on this myself and consult it here if you don't mind.
And open-source my example once it's done.

sure thing

Fixed in #38


general term for organism identification - should mention "taxon"?

I think we should discuss here what we want for a general organism identification assay term before submitting to OBI. I had suggested revising the definition of organism identification assay to "An assay that identifies an organism in a specimen with regard to taxon." However, we have placeholder terms that refer to identification of Plasmodium specifically in its gametocyte or asexual stages. So the mention of "taxon" may be too specific, because identifying the life cycle stage can be as important as identifying the taxon. If so, we may want the definition "An assay that identifies an organism in a specimen."

I'd prefer to make the term more general. Besides, I'd like the term can clarify whether identify including both what kind an organism is and how many the organism is in the specimen.

In that case the definition could be "An assay that specifies a type of organism and/or the number of individuals of a type of organism, in a specimen."

related issue: https://github.com/VEuPathDB-ontology/VEuPathDB-ontology/issues/424

organism detection assay: An assay that detects a type of organism and/or the quantity of individuals of a type of organism.

https://github.com/obi-ontology/obi/issues/1633

The term has been merged into OBI. Closing.


Add attribute for major programme information to Person class

As a student looking to pick up a second major, I want to be able to see students from certain majors, so that I can find out more about said major.

Closed with the new PR.


[Grid] wrap='wrap-reverse' is not applying

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When using the wrap prop and setting the value to wrap-reverse as defined in the Grid API documentation, the correct styling does not get applied. The flex-wrap CSS remains wrap.

Futhermore, the code that is causing this is found here. You can see it's expecting the prop's value to be reverse instead of wrap-reverse.  The expected value in the PropTypes is wrap-reverse.
Expected behavior 🤔
What should happen is flex-wrap CSS should be wrap-reverse.
Steps to reproduce 🕹
Steps:

Add <Grid container wrap="wrap-reverse"></Grid>
Inspect the grid and view the css, you will see flex-wrap: wrap instead of flex-wrap: wrap-reverse

Here's a sandbox showing the issue.
Context 🔦
No response
Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Hi. Thanks for the report.
I left a comment in your PR.


Feature request: face detection or PPOI

It would be great to guide the cropping process with some face detection algorithm or maybe just having a simple PPOI admin widget could help with the display of pictures uploaded by general users, so as to fix display problems

Face detection is done by AWS and I guess many other providers. I don't think sorl-thumbnail should detect faces.

I do agree with Uri, this is out of scope for sorl-thumbnail.

I was also mentioning PPOI though


Fix violations

Codecov Report
Base: 70.22% // Head: 70.37% // Increases project coverage by +0.15% :tada:

Coverage data is based on head (a09c768) compared to base (6c2a213).
Patch coverage: 66.66% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #280      +/-   ##
============================================
+ Coverage     70.22%   70.37%   +0.15%
  Complexity      695      695
============================================
  Files           110      110
  Lines          2223     2218       -5
  Branches        267      267
============================================
  Hits           1561     1561
+ Misses          591      586       -5
  Partials         71       71

Impacted Files
Coverage Δ

...du/address/logic/parser/TaskEditCommandParser.java
0.00% <0.00%> (ø)

.../seedu/address/logic/commands/TaskEditCommand.java
81.48% <100.00%> (+6.90%)
:arrow_up:

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

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


Misspelled words

I have found a misspelled word on the nexclipper website. Please look at the word FULL STACK DASHBOARD

Thanks for your comments. We'll fix it.

Thank you for Ur hawkeye.


[6.0.0-next.6] ViewDescriptorService missing

hi, where/how do i configure
ViewDescriptorService.getViewContainersByLocation is not supported. You are using a feature without registering the corresponding service override.
    at ViewDescriptorService.unsupported5 (missing-services.js:220:15)
    at getDefaultViewContainer (views.js:309:35)
    at initLayoutState (views.js:317:103)
    at UniqueContainer.value (views.js:333:5)
    at Emitter._deliver (event.js:677:22)
    at Emitter._deliverQueue (event.js:686:18)
    at Emitter.fire (event.js:703:18)
    at lifecycle.js:55:32
    at _InstantiationService.invokeFunction (instantiationService.js:77:20)
    at startup (lifecycle.js:50:31)

the naive
import getLayoutServiceOverride from "@codingame/monaco-vscode-layout-service-override"
userServices: {
....,
...getLayoutServiceOverride(),
}
does not seem to work

Do you have more context? what are you trying to do?
Also the layout service override has nothing to do with the ViewDescriptorService

i just try to update our editor classic config to the newest preview config
import getConfigurationServiceOverride from "@codingame/monaco-vscode-configuration-service-override"
import getEditorServiceOverride from "@codingame/monaco-vscode-editor-service-override"
import getKeybindingsServiceOverride from "@codingame/monaco-vscode-keybindings-service-override"
import type { languages } from "monaco-editor"
import type { WrapperConfig } from "monaco-editor-wrapper"
import { MonacoEditorLanguageClientWrapper } from "monaco-editor-wrapper"
import { useOpenEditorStub } from "monaco-editor-wrapper/vscode/services"
import { useWorkerFactory } from "monaco-editor-wrapper/workerFactory"
import type { Logger } from "monaco-languageclient/tools"

const setupConfigClassic = (
  url: string,
  languageId: string,
  text: string,
  fileExt: string,
  htmlElement: HTMLElement,
  monarch?: languages.IMonarchLanguage
): WrapperConfig => {
  const loadLangiumWorker = () => {
    console.log(`Langium worker URL: ${url}`)
    return new Worker(new URL(url, import.meta.url), {
      type: "module",
      name: "Our Language Server Worker",
    })
  }
  const langiumWorker = loadLangiumWorker()
  return {
    vscodeApiConfig: {
      userServices: {
        ...getConfigurationServiceOverride(),
        ...getEditorServiceOverride(useOpenEditorStub),
        ...getKeybindingsServiceOverride(),
      },
    },
    editorAppConfig: {
      $type: "classic",
      codeResources: {
        main: {
          text,
          fileExt,
          enforceLanguageId: languageId,
        },
      },
      htmlContainer: htmlElement,
      useDiffEditor: false,
      languageDef: {
        monarchLanguage: monarch,
        languageExtensionConfig: {
          id: languageId,
          extensions: [`.${fileExt}`],
        },
      },
      editorOptions: {
        "semanticHighlighting.enabled": true,
        theme: "vs-dark",
      },
      monacoWorkerFactory: (logger?: Logger) => {
        useWorkerFactory({
          logger,
          workerOverrides: {
            ignoreMapping: true,
            workerLoaders: {
              TextEditorWorker: () => {
                return new Worker(new URL("../libs/monaco-editor-workers/editorWorker-es.js", import.meta.url), {
                  type: "module",
                })
              },
            },
          },
        })
      },
    },
    languageClientConfigs: {
      our: {
        languageId,
        connection: {
          options: {
            $type: "WorkerDirect",
            worker: langiumWorker,
          },
        },
      },
    },
  }
}

export const executeClassic = async (
  htmlElement: HTMLElement,
  url: string,
  languageId: string,
  text: string,
  fileExt: string,
  monarch?: languages.IMonarchLanguage
): Promise<void> => {
  const userConfig = setupConfigClassic(url, languageId, text, fileExt, htmlElement, monarch)
  const wrapper = new MonacoEditorLanguageClientWrapper()
  await wrapper.initAndStart(userConfig)
}

and this gives the error in the first comment.

the build in example in this repo does not seem to use
getEditorServiceOverride(useOpenEditorStub)

viewsConfig is not mandatory in the config. If it is not specified the editor service is used. You don't need to specify getEditorServiceOverride(useOpenEditorStub) yourself, but it should also not break things. habe you updated all monaco-vscode-api packages to 10.1.4?

Yes we use 10.1.4 everywhere. Removing it (the override) solves the problem but we carried it over from a year old example or so

@cdietrich we should mention breaking changes more explicitly in the CHANGELOG or have an upgrade guide (but that is additional maintenance effort). I go with adjusting the CHANGELOG first. 🙂

I'm not sure I follow here, what breaking change are we talking about?

Unfortunately I get the same error in both next.6 and next.7 .
I don't use a service override for the editor so I can't apply this fix.

import { WrapperConfig } from "monaco-editor-wrapper";
import { LogLevel } from "vscode/services";
import {
  BrowserMessageReader,
  BrowserMessageWriter,
} from "vscode-languageclient/browser.js";
import { useWorkerFactory } from "monaco-editor-wrapper/workerFactory";
import testWorker from "./browserServerMain?worker&inline";
import textEditorWorker from "monaco-editor/esm/vs/editor/editor.worker.js?worker&inline";
import textMateWorker from "@codingame/monaco-vscode-textmate-service-override/worker?worker&inline";

export const createWrapperConfig = (
  code: string,
): WrapperConfig => {
  const worker = new testWorker();
  const channel = new MessageChannel();
  worker.postMessage({ port: channel.port2 }, [channel.port2]);
  const reader = new BrowserMessageReader(channel.port1);
  const writer = new BrowserMessageWriter(channel.port1);

  return {
    id: "test",
    logLevel: LogLevel.Info,
    vscodeApiConfig: {
      enableExtHostWorker: false,
    },
    editorAppConfig: {
      $type: "extended",
      htmlContainer: document.getElementById("monaco-editor-root") as HTMLElement,
      monacoWorkerFactory: (logger) => {
        useWorkerFactory({
          workerOverrides: {
            ignoreMapping: true,
            workerLoaders: {
              TextEditorWorker: () =>
                new textEditorWorker(),
              TextMateWorker: () =>
                new textMateWorker(),
            },
          },
          logger,
        });
      },
      codeResources: {
        main: { text: code, fileExt: "test" },
        original: { text: code, fileExt: "test" },
      },
      extensions: [
        {
          config: {
            name: "test",
            version: "1.0.0",
            engines: { vscode: "*" },
            contributes: {
              languages: [
                {
                  id: "test",
                  extensions: [".test"],
                  aliases: ["test"],
                  configuration: "./test-configuration.json",
                },
              ],
              grammars: [
                {
                  language: "test",
                  scopeName: "source.test",
                  path: "./test-grammar.json",
                },
              ],
              themes: [
                {
                  id: "Test Dark",
                  label: "Dark (Test)",
                  uiTheme: "vs-dark",
                  path: "./colorthemes/test-dark.json",
                },
                {
                  id: "Test Light",
                  label: "Light (Test)",
                  uiTheme: "vs",
                  path: "./colorthemes/test-light.json",
                },
              ],
            },
          },
          filesOrContents: new Map([
            [
              "/test-configuration.json",
              new URL("./language-configuration.json", import.meta.url),
            ],
            [
              "/test-grammar.json",
              new URL(
                "./syntaxes/test.tmLanguage.json",
                import.meta.url
              ),
            ],
            [
              "/colorthemes/test-dark.json",
              new URL("./themes/test-dark.json", import.meta.url),
            ],
            [
              "/colorthemes/test-light.json",
              new URL("./themes/test-light.json", import.meta.url),
            ],
          ]),
        },
      ],
    },
    languageClientConfigs: {
      "test-language-client": {
        name: "test",
        connection: {
          options: {
            $type: "WorkerDirect",
            worker,
            messagePort: channel.port1,
          },
          messageTransports: { reader, writer },
        },
        clientOptions: {
        }
      },
    },
  };
};

@pbrostean does npm list confirm you use the same monaco-vscode-api packages?

I think I don't quite understand, which packages do you mean by monaco-vscode-api packages? npm list gives me the following:
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
The project on itself runs perfectly fine in dev mode but as I bundle it and use it in another project im getting this error.

@pbrostean '@codingame/monaco-vscode-editor-service-override' is imported dynamically. Could it be your production build considers that?

Im using inlineDynamicImports in my vite config, could that be the reason?

Don't know. What happens if you don't use it?

Doesn't seem to change anything. Let me try using the editorServiceOverride manually in userServices.

Doesn't seem to change anything. Let me try using the editorServiceOverride manually in userServices.

Strangely enough, this only leads to the fact that I also have the error in development mode and the lsp functionalities also no longer work

@pbrostean I can't reproduce this locally. Also, our vite production build does not have this problem: https://typefox.github.io/monaco-languageclient
Do you init it like this? https://github.com/TypeFox/monaco-languageclient/blob/main/packages/wrapper/src/vscode/services.ts#L53-L56

@kaisalmen I jused it like this:
userServices: {         ...getEditorServiceOverride(useOpenEditorStub)       },
Got this atleast working by now but it doesnt't do more than giving me the same error but now in dev mode aswell.

@pbrostean can you share a repo?

Unfortunately I am not allowed to do this. I forgot to mention that the error always occurs together with another error - perhaps that will allow to draw further conclusions.
Uncaught (in promise) TypeError: o.get(...).startup is not a function
    at tie.value (...)
    at D._deliver (...)
    at D.fire (...)
    at zT.invokeFunction (...)
    at Zbi (...)
    at async yvt (...)
    at async QVi (...)
    at async ZVi (...)
    at async vTi.init (...)

Would you mind sharing your vite config?

@pbrostean the vite config files are located here:
https://github.com/TypeFox/monaco-languageclient/blob/main/
https://github.com/TypeFox/monaco-languageclient/blob/main/packages/examples/


Bug: Pager pagination ( page value in url )

Hi.
i am using a pager library to make pagination  to table in html but  the pagination links not correct at all .
for example :
the expected link like this : http://example.com/posts?page=2
but i got this   http://example.com/posts?page_1594893828=2
i don't know where this random number<PHONE_NUMBER>) come from .
CodeIgniter 4 version
ci_version : 4.0.2
Affected module(s)
Pager
Solution
The solution that i make to fix this error is to go to System/Pager/Pager.php class
Line 500  and  replace this :
'pageSelector' => $group === 'default' ? 'page' : 'page_' . $group,
with this :
'pageSelector' => 'page',
the random number come from $group variable and it's change every time
what i want to know is is that solution that i make is it's correct or not.
Thanks <3

Please upgrade to the latest version - we have v4.0.4 already. Also, I was not able to reproduce this error with the latest relese.

@michalsn
Ok thanks i will try it


cloud-init: no ssh keys created for additional users

This seems to create the 'vagrant' user, but not the ssh keys (note, root had the keys correctly added):
#cloud-config

# Add additional users or set the password/ssh keys for root
users:
- name: "root"
  passwd: "ros"
  ssh_authorized_keys:
  - https://raw.githubusercontent.com/hashicorp/vagrant/main/keys/vagrant.pub
- name: "vagrant"
  passwd: "vagrant"
  shell: "/bin/bash"
  homedir: "/run/vagrant"
  ssh_authorized_keys:
  - https://raw.githubusercontent.com/hashicorp/vagrant/main/keys/vagrant.pub

Originally posted by @mudler in https://github.com/rancher-sandbox/os2/issues/13#issuecomment-1036014304

Opened: https://github.com/mudler/yip/pull/34

This needs a cOS bump


Update releasability default to 1.14

Changes

Updated releasability default to 1.14
Part of #293

/hold for others

/lgtm

/hold cancel


Appium session at http://localhost:4723/wd/hub is unreachable. Make sure your Appium test is running and click this message to retry.

Hi, I am not able run appium ios inspector at all. I ends up throwing this error always:
Appium session at http://localhost:4723/wd/hub is unreachable. Make sure your Appium test is running and click this message to retry.
whereas when I enter http://localhost:4723/wd/hub/sessions in browser i am getting response.
Everything was wrking fine with Apium 1.8 after I upgraded to 1.12 facing this issue.
Appium 1.12
IOS 12.1

Do you see any errors in browser console?

Yes it was CORS error. i got it resolved with the workaround it is working fine. I will close the issue. I got this after upgrading to appium 1.12 so raised this.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Mykola Mokhnach<EMAIL_ADDRESS>Sent: Tuesday, March 26, 2019 9:19 PM
To: mykola-mokhnach/Appium-iOS-Inspector
Cc: Prity Priya; Author
Subject: Re: [mykola-mokhnach/Appium-iOS-Inspector] Appium session at http://localhost:4723/wd/hub is unreachable. Make sure your Appium test is running and click this message to retry. (#38)
Do you see any errors in browser console?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mykola-mokhnach/Appium-iOS-Inspector/issues/38#issuecomment-476712774, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ApCIAQtA_kr_av-YROuDuqQWY3wOf3Avks5vakEhgaJpZM4cLLHQ.

Disclaimer The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.


HubSpot CRM (Independent Publisher) Minor corrections to existing operations, ContactsSearch operation

Changes:

Added ContactsSearch operation to allow searching for a set of contacts using a set of filters
Added optional properties field to ContactsRead to define what fields to return
Fixed issue with requesting specific properties in ContactsList operation
Fixed typo on properties in CompaniesRead operation

@microsoft-github-policy-service agree company="Ricoh DTG"

[[certify-connector]]

Hello @ryanedshannon ,
I hope you are doing well.
Your connector is in production deployment and queued up for the next deployment schedule. This process typically takes 3-4 weeks. Please note that the documentation for your connector will not be generated until the deployment process is in the final steps.
Please let us know if you have any questions.
Thank you very much for working with us.

Hello @Amjed-Ayoub,
I just noticed I accidentally added security definitions for API authorization method (I couldn't get oauth to work with HubSpot).
Should I remove these from this request? Also, should I still be adding to this request or holding off until it is deployed?
Thanks.

@ryanedshannon yes please fix and get this PR ready for the next deployment. I will move forward with it once the current one is complete.

Hello @ryanedshannon ,
I hope you are doing well.
Congratulations, the current deployment of your connector and documentation page was already completed, We have a short survey on the connector certification process that we would like for you to complete. Your feedback is appreciated and will help us improve the program.
Thank you very much for working with us.

@ryanedshannon we will start with the new deployment today :-).

Hello @ryanedshannon
I hope you are doing well.
Congratulations, the deployment of your connector and documentation page was already completed, We have a short survey on the connector certification process that we would like for you to complete. Your feedback is appreciated and will help us improve the program.
Thank you very much for working with us.


Feat: Adds Optional Field for MetadataConfigs

closes #20
This PR adds an optional field to BasicUploadJobConfigs for GatherMetadataJobConfigs and through a field_validator, fills out some of the basic metadata_configs:

overwrites directory_to_write_to as "stage"
fills in metadata_dir (input data)
Creates subject_settings, procedures_settings, and raw_data_description_settings based on required UploadJob fields

@alejoe91 I don't think we're quite ready to move forward with the latest version of aind-data-schema-models. The latest version breaks a lot of other repos. I think aind-data-schema 1.0 will be released soon, and then we can update everything all at once.


[pscustomobject] type accelerator does not work in 7.4.0

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce

Open PowerShell 7.4.0 tab in Windows Terminal
cast a hashtable to pscustomobject type accelerator

Expected results: a new object created
Actual results: nothing  = no new object, no errors, no hashtable
Expected behavior
PS> [pscustomobject]@{one=1; two=2}

one two
--- ---
  1   2

Actual behavior
PS> [pscustomobject]@{one=1; two=2}

Error details
No response
Environment data
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

that's pretty strange, your example works for me on 7.4.0.
PS > [pscustomobject]@{one = 1; two = 2 }
one two
--- ---
  1   2

PS > ([pscustomobject]@{one = 1; two = 2 }).Gettype().Name
PSCustomObject

PS > ([pscustomobject]@{one = 1; two = 2 }).One.Gettype().Name
Int32

PS > $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

It does just work for me:
The only remark I have is that PSCompatibleVersions is displayed trackd shows. {1.0, 2.0, 3.0, 4.0…}
Not showing like {1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0}
But
$PSVersionTable.PSCompatibleVersions

Shows:
Major  Minor  Build  Revision
-----  -----  -----  --------
1      0      -1     -1
2      0      -1     -1
3      0      -1     -1
4      0      -1     -1
5      0      -1     -1
5      1      -1     -1
6      0      -1     -1
7      0      -1     -1

Also check how (in what way) you did install pwsh 7.4:
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4

It works for me as well; do you get anything if you run this, to see if there is an output and it's just being hidden on your terminal somehow:
PS> $x = [pscustomobject]@{one=1; two=2}
PS> $x | Get-Member

Or these, to check if the type accelerator is working?
PS C:\> [pscustomobject]

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     False    PSObject                                 System.Object

PS C:\> [pscustomobject].FullName
System.Management.Automation.PSObject

PS C:\> [System.Management.Automation.PSCustomObject]

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     False    PSCustomObject                           System.Object

yeah, that's a weird issue.
I checked the same on a different Windows 11 23h2 PC and everything works as expected there.
I uninstalled and manually reinstalled 7.4.0 version using MSI (x64) installer on the affected PC - issue is still there.

The OS on the affected PC is freshly installed from ISO a week ago.
The only thing that is different on this PC is that it is managed by company policies pushed via Microsoft Intune.
One of these policies enabled "Constrained Language Audit Mode" (whatever it means).
I guess that this "Constrained Language Audit Mode" is breaking [pscustomobject].
I downloaded x64 ZIP versions 7.4.0 and 7.3.10 to test without installation - results are:

I have a workaround for this problem for me - I will just use a different PC/VM for executing scripts using  [pscustomobject] type accelerator.

The issue is affecting all corporate laptops in our company.
It turned out that somehow corporate policies activate ConstrainedLanguage mode, but only v7.4.0
Strangely, the policies don't affect previous versions (such as 7.3.10)
My fix is to manually switch to FullLanguage mode.

The odd thing is that if you manually put a session in ConstrainedLanguage language mode, an attempt to create a [pscustomobject] literal fails noisily:
# From a regular session (with language mode 'FullLanguage')
# CAVEAT: You won't be able to undo this in the same session.
$ExecutionContext.SessionState.LanguageMode = 'ConstrainedLanguage'
[pscustomobject] @{ foo = 1 }

Curiously, the error message depends on whether at least one such literal was defined earlier, while the session was still in FullLanguage mode:

In the latter case:

InvalidArgument: Cannot convert value "System.Collections.Specialized.OrderedDictionary" to type "System.Management.Automation.LanguagePrimitives+InternalPSCustomObject".
Error: "Cannot convert hashtable to an object of the following type: System.Management.Automation.LanguagePrimitives+InternalPSCustomObject.
Hashtable-to-Object conversion is not supported in restricted language mode or a Data section."

If no [pscustomobject] literal was defined before entering constrained mode:

InvalidArgument: Cannot convert value to type "System.Management.Automation.LanguagePrimitives+InternalPSCustomObject".
Only core types are supported in this language mode.

The fact that hashtable literals alone work fine, and that [pscustomobject] is among the whitelisted types, as well as the fact that the equivalent New-Object pscustomobject -property @{ foo = 1 } does work, leads me to believe that this is indeed a bug - though it isn't specific to 7.4.0 - I see it in 7.3.8 too, and even in Windows PowerShell.
The different symptom in your policy-enforced ConstrainedLanguage scenario needs investigating too.

@shivtorov, note that [System.Management.Automation.PSCustomObject] @{ foo = 1 } never worked - only [pscustomobject] @{ foo = 1 } does, because - confusingly - these aren't the same types ([pscustomobject] is the same type as [psobject], i.e. [System.Management.Automation.PSObject],  but the syntactic sugar only works with [pscustomobject]:

#4344

On further reflection, I think there are two separate bugs:

#20768
#20767


Certain keys are ignored

Keys like <, left, right, up, down are ignored. I think this issue might stem from how we are handling key presses on revery as there might not be handler for some special characters yet?

This actually is caused by missing handlers for neovimProtocol in bin/Oni2

Will close this since the original issue was more that I thought there was a bug but I just needed to register handlers


Fixes for NRF52 SoftDevice Controller

Summary

arch/arm/src/nrf52/hardware/nrf52_ficr.h: add device address types
arch/arm/src/nrf52/Kconfig: fix typos
arch/arm/src/nrf52/nrf52_sdc.c: fix status byte offset
arch/arm/src/nrf52/nrf52_sdc.c: print HCI opcode as hex
arch/arm/src/nrf52/nrf52_sdc.c: remove nedless new lines
arch/arm/src/nrf52/nrf52_sdc.c: add option to register UART H4 device
arch/arm/src/nrf52/nrf52_sdc.c: public device address and static device address support
arch/arm/src/nrf52/nrf52_sdc.c: nxstyle fixes

Impact
NRF52 SDC works with the NuttX BLE Host Layer if public device address is configured.
Works also with static random address if Own_Address_Type = 0x01 (Random Device Address) in HCI_LE_Set_Scan_Parameters
Testing
scan and advertising with apps/btsak on nrf52832-dk and nrf52840-dk

@raiden00pl please rebase your patch.

done

LGTM.


Null safety

I was trying to use a Query widget, and when I filled the builder parameter, there where some errors. The first param is QueryResponse, but when I added the refresh and the fetchNow param. I got an error. Dart says that I have to add 'required', but when I do that, the function signature changes and I can not pass (Query response, required FetchNow fetchNow....)
Is this a bug, or am I making a mistake?
Kind Regards,
Jakob

use v5


Title below image

Hello,
First of all thank You for making this library. I needed to put both title and image there and you saved me! But the text I want to put in is too long to be displayed next to the image. Are you planning to make text below Image possible? It would really help me
Thanks again,
Filip

Hey @w00d3nl3g, thanks for the feedback. And I'm glad that you chose my library. It's just at the moment I can spend very little time working on it due to other work. So probably will take a while before I can add this feature to it, I'm afraid. :(
Will let you know when this is done, though.

Hey,
just issued a pull request on my solution to this problem. Sorry for not letting you work but I really want this feature :D  ( #39 )


Fix license to the SPDX License format

Removes the following warning:

I think this is the exact license you are using: http://spdx.org/licenses/BSD-2-Clause.html

:sparkles:


Feature request: disable cursor blink when terminal window does not have focus

Hello,
Thank you for providing a wonderful tool that I use almost every day! This is a very minor thing, but it would be great if jqp could somehow disable the cursor blinking when the terminal window it's running in does not have focus. My jqp workflow frequently involves toggling between multiple windows on multiple screens and when I see a blinking cursor my brain immediately thinks that window has focus and I'll start typing and entering jqp things that are actually going elsewhere (text editors, web browsers, company Slack channels :man_facepalming: , etc.).
Not sure if this is an upstream bubbletea thing, but it would be great to have if possible. Thanks again!

Hey @cmollet. Thanks very much for the kind words!
Totally know what you mean - have been there before generally typing vim commands into Slack 😆 . I'll do a bit of research in the coming days to see if what you're suggesting is possible 👍


Expand Key Event Options

added key-up and key-down event functionality to text inputs

👍  Looks good. Make sure to do a release once this is merged.


remove the parts of Kafka API, extend to support none kafka system

@Naros thank you review the patch. I have reverted the developed code .

Hey @lqjack, before talking about specifics of the implementation, can we take a step back and clarify what exactly you'd like to achieve here, and why you'd like to do this? Once we have reached agreement on that goal and that it is a worthy one, let's then think about the how. Thanks a lot for providing some context!

@gunnarmorling
why you'd like to do this?
1, We need the CDC feature as a standalone one.  In this way we can construct the Flink connector based on Debezium to support the CDC features without rework them.
2,  The current work is one the way to remove the Apache Kafka related API.  We want to provide the option for user to choose whether they need the feature based on the Kafka platform.

@gunnarmorling
why you'd like to do this?
1, We need the CDC feature as a standalone one.  In this way we can construct the Flink connector based on Debezium to support the CDC features without rework them.
2,  The current work is one the way to remove the Apache Kafka related API.  We want to provide the option for user to choose whether they need the feature based on the Kafka platform.

@lqjack -- Have you seen https://github.com/ververica/flink-cdc-connectors ? It uses Debezium Engine and is very similar to Debezium Server (in fact, it would be cool to see Debezium Server improve such that Ververica's flink-cdc-connectors could be refactored into a proper Debezium Server sink).

@derekm thanks the rely, I will check the repo.


Which board is suit with esidon??

God!
i cant find edison in supported boards

Edison is not supported.

Is there any plan that leads to support

No, no plans. This board was EOLed some time ago.

thanks
i got it


What if the cluster has unreachable node, but without the leader in the quorum?

Hello Mbliski,
Thanks for the nice library.
I have a quick question in the downing logic.
Situation:
You have three nodes [A,B,C] in the cluster, and node C is currently acting as the leader of the cluster.
Then suddenly, the node C becomes unreachable while Node A and B can still talk to each other.
But because the quorum size is 2, node C will down itself after the timeout, and node A and B will remain in the cluster.
Nodes = [A,B,C]
Quorum = 2
Leader = C
Question:
According to the below checkQuorum logic, I have a doubt that Node A and B will not be able to down the Node C, hence, the cluster will NOT be able to achieve the "Gossip Converge" indefinitely.
Let's say the below logic was executed in Node A and B.
It will pass thru the first logic because unreachable size is 1, and the quorum size is 2 (only Node C is unreachable).
It will pass the second logic because reachable size is 2 (A and B are reachable to each other), and the quorum size is 2, hence reachable.size < settings.quorum is false.
It will also pass the last logic because although the "cluster.state.unreachable.nonEmpty"is true, neither of the nodes A and B are the leader.
So even if the below logic results in Node C to down itself, because neither of Node A and Node B is the leader of the cluster, Node C will still remain as "unreachable" to Node A and Node B.
Is my understanding of the logic correct?
If so, isn't this going to be a problem?
Thank,
Joo

  def checkQuorum(): Unit =
    if (unreachable.size >= settings.quorum) {
      log.warning("Downing reachable nodes because of {} unreachable nodes [{}]",
                  settings.quorum,
                  cluster.state)
      reachable.map(_.address).foreach(cluster.down)
    } else if (reachable.size < settings.quorum) {
      log.warning("Downing reachable nodes because of too small cluster {} [{}]",
                  reachable,
                  cluster.state)
      reachable.map(_.address).foreach(cluster.down)
    } else if (cluster.state.unreachable.nonEmpty && isLeader) {
      log.warning("Downing unreachable nodes {} [{}]", unreachable, cluster.state)
      unreachable.map(_.address).foreach(cluster.down)
    }

Hi Joo,
Yes, your understanding is correct, but only in a case when a new leader is not elected when the other nodes observe the current leader as unreachable.
However, in akka cluster when a current leader is unreachable, the other nodes elect a new leader. So he can mark the unreachable node as down (using split brain resolver). See this screencast https://www.youtube.com/watch?v=_uz8QOjVrNQ
You can find the sources for this demo here https://github.com/mbilski/akka-downing-example
Regards,
Mateusz

The screencast is very helpful! Thanks a lot.
Have you considered adding the "else" statement at the last to throw the exception or log the error to indicate what the actual problem is? Right now, that tricky (and perhaps technically impossible) case where the no new leader was elected but the network partition has occurred is not handled anywhere in the method (maybe just for the better readability even if that case is impossible to happen).
Maybe I should create a PR? =)
As well, I am discussing this issue with the Akka team lead from Lightbend at this thread here. They are super responsive and very supportive - probably one of the best channels to speak with the Lightbend team on various technical topics at the moment.
Please feel free to jump in and add your thoughts.
Many thanks!

@lejoow please take a look at #2. I improved verbosity a bit. If it's fine for you, I will close this issue, after merging that PR.

Thank you @mbilski, will take a look shortly!


[Refactor]: Rewrite resolver

What problem does this feature solve?
path resolve

Specifier type supported by now:

Relative Path: './xxx' or '../xxx'
Absolute Path: '/root/xxx' or 'c:\root\xxx'
Configured Alias: '@/pages/xxx'
Package:

Terms:

Node: package.json module

exports: refer to exports, if source is end with '.js', also try to find '.ts' file

browser: refer to package-browser-field-spec

module/main: { "module": "es/index.mjs", "main": "lib/index.cjs" }

Mode of realization
Split module with  export, import, browser,main,module
What does the proposed API look like?

we may need to split current resolve into several sub module to make it more reasonable


Cranelift AArch64: Simplify leaf functions that do not use the stack

Leaf functions that do not use the stack (e.g. do not clobber any callee-saved registers) do not need a frame record; this has been discussed in issue #1148. I am not familiar with the ABIs of other architectures, so I don't know if it is safe to apply the same optimization, and that's why only the AArch64 backend does it.
@cfallin I'd appreciate any feedback on how these changes interact with unwinding; in particular, do we need an Inst::Unwind pseudo-instruction for the simple leaf functions we are optimizing?
cc @abrown @bnjbvr @uweigand

@akirilov-arm I haven't looked into your patch in detail yet, but the s390x back-end already doesn't allocate any stack frame if it is not needed.   The gen_prologue_frame_setup routine always does nothing because I'm handling all frame setup in gen_clobber_save, and there I detect the case by simply noting that the required stack size is zero - computed as
        let stack_size =
            outgoing_args_size as i32 + clobber_size as i32 + fixed_frame_storage_size as i32;

(outgoing_args_size will be zero in a leaf function, clobber_size is zero if no call-saved register needs to be saved, and fixed_frame_storage_size is zero if there's no local stack variables or spill slots.)

I have enabled a couple of additional tests and made some minor changes, but I haven't checked how much work the x64 backend is going to require, which I am going to do next, so, please, do not merge yet.
@cfallin It turns out that there are already tests that use the unwinding information in a suitable way - in particular, traps::test_trap_trace mixes both functions to which the optimization applies and to which it doesn't in the call stack.
As for whether the defaults are sufficient in the AArch64 case - I checked the code that generated the DWARF Common Information Entry (CIE), and it sets the both the Canonical Frame Address (CFA) and the return address correctly (among other things), so an empty Frame Description Entry (FDE) should be fine. In fact, I compiled a simple C function and checked the unwinding information with readelf -wf - it was identical. Concerning Windows, AArch64 is currently unsupported on that platform anyway.

@cfallin It looks like doing this optimization in the x64 backend fails on macOS. I am unable to work on this, so would it be acceptable to submit just the AArch64 part?


RPC to enable / disable grandpa on validator nodes

This will allow developers temporary to turn off finalization of a testnet before submitting any dangerous transactions (e.g. runtime upgrade). If things goes bad, one can revert back and ban the bad transaction (via #2604) and continues. If everything works as expected, use the same RPC to re-enable finalization.
It need to be protected somehow (#2303) or disabled by default to avoid people abuse this.
Related: #2369

Just found out there is already --no-grandpa flag to turn off grandpa so while RPC will be easier to use, I can already achieve the flow I want.

We're also planning on having a runtime module to allow disabling GRANDPA in a decentralized manner (the --no-grandpa flag only works if you control a majority of the authorities).

I'd say it falls under general authorship RPC set here: #2369, closing as duplicate to keep the tracker tidy.


Re-Activate after timeout,  reset time is configurable

Looks good! Will push an update soon with it.


Unwatch files excluded via Karma config.exclude

This is an alternate approach to https://github.com/marvinhagemeister/karma-esbuild/pull/41
What am I trying to accomplish?
This PR adjusts the paths watched via chokidar to respect the configured excludes via karma config.exclude directive.
Previously, chokidar was watching the entire base path. It may be desirable to avoid watching certain files or directories for whatever reason (in my case certain directories were causing errors).
What approach did I take?
I added a call to watcher.unwatch(config.exclude) immediately after starting the chokidar watcher.

Note: I think this approach warrants tests and I am happy to add some but I wanted to get feedback on the approach first.

/cc @marvinhagemeister

@jridgewell and @marvinhagemeister I'm a bit stumped on how to test this. I have a WIP test https://github.com/marvinhagemeister/karma-esbuild/pull/42/commits/0fa9c1732f11a3b8e9840b961585c03d9eade270 but I am having trouble figuring out how to assert that the tests are not triggered by a change to an excluded file. Any ideas?

Thanks @marvinhagemeister let me know if there's anything I can do to help prep a release with this fix in it!
I've prepped a PR to bump the minor version 🤞 https://github.com/marvinhagemeister/karma-esbuild/pull/43


Content: Building Modern Applications - Getting started with cert-manager

Summary of content
A beginners guide to enabling https for web apps using cert manager and lets encrypt
gdoc link
Summary of audiences
Developers looking to publish their application with https access
Level of content

201: "Prototyping / Deploying"

Contributor Checklist

[x] I have added a card to the GitHub Content Backlog and/or moved it to the proper column. See Content Prewriting and Ideation
[x] If contributing via Google Docs: I have added a link to my document to this issue, and set the document's Share settings to "Anyone on the internet with this link can comment".
[x] My content is drafted in accordance with existing style guides and best practices. See Drafting Content
[x] The front matter (metadata) is filled out completely (e.g. description, topics, tags, author, etc - as appropriate for the content type). See Drafting Content
[x] My content has been reviewed by my team for technical accuracy. See Editing Content
[x] My content has beed reviewed and edited by a copy editor. See Editing Content
[x] If applicable: My content has gone through a legal review (VMware Employees Only). See Editing Content
[x] If applicable: I have tested my content locally and everything passes. See Testing Content
[x] Optional: I have filled out the Social Media request form (optional) (VMware Employees Only). See Next Steps
[x] If applicable: I have created an author page and opened a pull request to get it added. See Next Steps

Reviewer Checklist

[x] Review if the content is a good fit for the Tanzu Developer Center. See Content Prewriting and Ideation
[x] There this GitHub issue has been added to the content backlog project
[x] Ensure with the author that the content has been reviewed for technical accuracy.
[x] Ensure with the author that the content has been through copy editing.
[x] If applicable: Ensure with the author that the content has been through Legal review.
[x] Review fit with the Tanzu Developer Center Style Guide and the VMware Style Guide (VMware Employees Only).

[x] If applicable: Review additions to custom_dict.txt.
[x] Ensure with the author they have reviewed the staging site for correctness. The reviewer should review this too.
[x] If applicable: Review any new Team pages.
[x] Optional: Ensure the author has provided copy for Social Media distribution.\
[ ] If contributing via Google Docs: Send the staging link to the author to review. The reviewer should review this too. Get the final 👍 from the author to push the content public.

Live: https://tanzu.vmware.com/developer/guides/cert-manager-gs/


where can I find the .fits files referenced in the examples?

where can I find the .fits files referenced in the examples.?
e.g.

HeNeAr.0030b.fits
05may31.0035r.fits

I don't think its online anywhere at the moment, but I'm planning to put a PR in to the new specreduce-data repo with it as available test data for benchmarking specreduce with


[media-common] Fixes HELM error on extraIngresses

Signed-off-by: Waldemar Faist<EMAIL_ADDRESS>Special notes for your reviewer:
Currently HELM is not able to process the chart if extraIngresses is used:
install.go:172: [debug] Original chart version: ""
install.go:189: [debug] CHART PATH: [stripped local path]/radarr

Error: template: radarr/charts/radarr/templates/ingress.yaml:67:8: executing "radarr/charts/radarr/templates/ingress.yaml" at <include "media-common.labels" .>: error calling include: template: radarr/charts/radarr/templates/_helpers.tpl:38:18: executing "media-common.labels" at <include "media-common.chart" .>: error calling include: template: radarr/charts/radarr/templates/_helpers.tpl:31:25: executing "media-common.chart" at <.Chart.Name>: nil pointer evaluating interface {}.Name
helm.go:94: [debug] template: radarr/charts/radarr/templates/ingress.yaml:67:8: executing "radarr/charts/radarr/templates/ingress.yaml" at <include "media-common.labels" .>: error calling include: template: radarr/charts/radarr/templates/_helpers.tpl:38:18: executing "media-common.labels" at <include "media-common.chart" .>: error calling include: template: radarr/charts/radarr/templates/_helpers.tpl:31:25: executing "media-common.chart" at <.Chart.Name>: nil pointer evaluating interface {}.Name

The reason is the used . inside of a range which does not resolve to the top level scope anymore and refered .Chart becomes nil in media-common.chart. Fixed by using $ which always refers to the top level. Change is not breaking, since HELM was not able to process the chart otherwise.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [radarr])

Unsure if I need to bump all other umbrellas? @DirtyCajunRice

@CuBiC3D Thanks for your contribution!


Undocumented thread (un)safety

As I commented in #18714 we have some basic concepts of thead safety documented in the docs.
I've been working on a procedural generator and trying to speed-up the generation. I decided to use multithreading but I have several doubts/problems.
context: I'm working using C++ GDN.

I'm using std::thread and OpenMP pragmas, does it have implications compared to the use of godot::Thread in relation to interacting with the engine API?

I have the following code to generate some meshes:

Spatial *meshes_node = new Spatial;
//#pragma omp parallel for
for (int i = 0; i < meshDataArray.size(); i++) {
	const Array &arr = meshDataArray[i];
	MeshInstance *meshInst = new MeshInstance;
	meshInst->set_material_override(material);

	Ref<ArrayMesh> mesh_ref(new ArrayMesh);
	mesh_ref->add_surface_from_arrays(Mesh::PRIMITIVE_TRIANGLES, arr);
	meshInst->set_mesh(mesh_ref);
	meshes_node->add_child(meshInst);
	meshInst->add_to_group(TERRAIN_MESH_GROUP_NAME);

}
m_world->root_node->add_child(meshes_node);

If I uncomment the #pragma it only generates the meshes processed by one thread. That's the reason of that? Do I have to generate it only with the main thread? Can that behaviour be circumvented using Nodes or the VisualServer?

Other code example, in this case is for collision generation:

Spatial *collisions_node = new Spatial;
//#pragma omp parallel for
for (int i = 0; i < meshDataArray.size(); i++) {
	const Array &arr = meshDataArray[i];
	Ref<ConcavePolygonShape> shape(new ConcavePolygonShape);
	shape->set_faces(arr[Mesh::ARRAY_VERTEX]);
	StaticBody *body = new StaticBody;
	int owner_id = body->create_shape_owner(body);
	body->shape_owner_add_shape(owner_id, shape);
	collisions_node->add_child(body);
	body->add_to_group(BODIES_GROUP_NAME);
}
m_world->root_node->add_child(collisions_node);

After removing the comment in the pragma te generation of concave collisions is way faster (without multithreading takes some seconds to complete) but the generation is unrealiable, it sometimes finishes and sometimes crashes with the following error:

ERROR: get: Condition ' !id_map.has(p_rid.get_data()) ' is true. returned: __null
At: core/rid.h:155.
ERROR: shape_set_data: Condition ' !shape ' is true.
At: modules/bullet/bullet_physics_server.cpp:146.
ERROR: get: Condition ' !id_map.has(p_rid.get_data()) ' is true. returned: __null
At: core/rid.h:155.
ERROR: body_add_shape: Condition ' !shape ' is true.
At: modules/bullet/bullet_physics_server.cpp:503.
handle_crash: Program crashed with signal 11

What's the cause of this error? Do I need to use the PhysicsServer in order to have a safe concurrent access?
This class is being loaded as a Singleton and the docs say it's safe to access the server in that case. What about nodes as in my examples?

m_world->root_node->add_child(meshes_node);
Is m_world inside the main scene tree? If it is, then remember docs explain it's not thread-safe.

I've found the answer to the second point, the project settings contains Rendering/Thread/thread_model which is defined as Single-Safe by default, that's why trying to instance from multiple threads isn't working.
There is a problem: mesh_ref->add_surface_from_arrays(Mesh::PRIMITIVE_TRIANGLES, arr); seems to require synchronization, adding #pragma omp critical to prevent misbehaviour kills the performance gain of using multiple threads.

I wonder if there is an option to check in project settings for servers to be truly thread-safe?

This should be addressed out of the box in 4.0 thanks to https://github.com/godotengine/godot/pull/45852.

I got this error in a similar context, I'm constructing ArrayMeshes and Shapes in several threads and I send them to the main thread which take care of the scene tree. (I use the Mono Task library to spawn my threads).
Sometimes things work flawlessly, sometimes I got the exact same errors as OP in my terminal and sometimes the game crashes. I tried to set the rendering in "Multi-threaded" but it doesn't seem to work.
Until now I admitted that nodes and resources instantiation in parallel threads is simply not possible in Godot. But is that really the case ? The doc about the thread-safe API seems to be telling something different about resources :

Modifying a unique resource from multiple threads is not supported. However handling references on multiple threads is supported

Can someone explain the exact mechanics that happen under the hood and cause these "casual" errors and crashes ? Thanks.


Add nodeaffinity to prevent scheduling on virtual-kubelet nodes

Describe the solution you'd like
[A clear and concise description of what you want to happen.]
Add nodeaffinity to prevent the CSI driver pods from being scheduled on virtual-kubelet nodes.
Using type: virtual-kubelet label.
affinity:
  nodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
        - key: type
          operator: NotIn
          values:
          - virtual-kubelet

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
We should approach this by adding an affinity field in the values.yaml and then setting this affinity by default in the values file.
Environment:

Secrets Store CSI Driver version: (use the image tag):
Azure Key Vault provider version: (use the image tag):
Kubernetes version: (use kubectl version):
Cluster type: (e.g. AKS, aks-engine, etc):

I am working on this

Closed with https://github.com/Azure/secrets-store-csi-driver-provider-azure/pull/486


Bot panics on receiving CallbackQuery

When I press InlineKeyboardButton in the message I sent with InlineQueryResult, my bot panics with the following error:

thread 'main' panicked at 'called Result::unwrap() on an Err value: Error(Raw(Json(Error("missing field message", line: 2, column: 262))), State { next_error: None, backtrace: Some(stack backtrace:
0: error_chain::make_backtrace::h29dcad393cd2622f (0x55cf07fca4c9)

Full backtrace:
https://gist.github.com/mvlabat/0be7553ef658f9e34fe592cdc48a9643

Could you publish your code somewhere for further investigation? I wasn't able to pinpoint where the error is coming from with only the backtrace

@gugahoa, sure!
https://github.com/mvlabat/mirtrs


Resulting files carved with 1048576 block size when using "--dd" option

I noticed that smart signatures format has been changed from {file-size}/{adjust-offset} to {size}/{adjust}.
I am trying to port some of my old signatures and {size} doesn't seems to work the same way I used it before.
Example signature file:
0    string    file     file header
>4	belong x {size:%d}size: %d
>8	belong x {adjust:%d}offset: %x

Extract example:
$binwalk -m custom --dd "file header:bin:" firmware.bin
963           0x3C3          file header size: 43776 offset: 382
44791         0xAEF7          file header size: 790016 offset: ae82
834859        0xCBD2B         file header size: 93696 offset: cbc82

I expect extracted 3C3.bin file to be 43775 bytes, but it is 1048576 instead.

It seems that it is not about smart signatures, but about "-dd" option carving files with "1048576"(1024*1024) block size.
If {size} in signature result is bigger then (10241024), then resulting file will be 2097152(10241024*2). I quickly searched the code, but I can't find the place where I can define carving block size.

This was a bug in the binwalk.modules.extractor._dd method, which rounded up to the nearest block size. Latest commit should fix this.

Thanks for fixing that


Automatically configure managed network interface

If the managed network interface is not configured, Gatekeeper should configure it with some sensible defaults:

IP <IP_ADDRESS>/16
enable IPv4 forwarding in the kernel
set up NAT masquerade

This was completed in 1fb5091de38327eb80b4bd28a7c79fbe4233ac01 . The masquerade is set up in a pretty cool way that allows Gatekeeper to mess with the traffic. It could, for example, intercept DNS queries to public DNS servers & do transparent ad blocking.


a bug in php file width Chinese char

What character is this in beginning of the 3rd line? Docblockr repeats all white space characters at the beginning of the line. I don't quite see the problem yet. I don't understand Chinese though.

just a normal space

This is actually wanted behavior and I don't think it has to do with the Chinese characters. It ensures comments like this work:
/*
 * The first line is indented by one space
 * The second line should be too
 * @param foo A comment for some param...
 *            ... that could span multiple lines
 */


deps: update to use pyyaml 6

fixes #104
relates to https://github.com/yaml/pyyaml/issues/601

This has to be >=6.0.1 I think, per https://github.com/yaml/pyyaml/pull/702 . I've shipped that and a couple changes that were waiting as v4.32.

This has to be >=6.0.1 I think, per yaml/pyyaml#702 . I've shipped that and a couple changes that were waiting as v4.32.

hmm, how is that different from ^6.0?

^6.0 is equivalent to >=6.0, <7.0, which allows 6.0.0, which doesn't force the Cython version to be less than 3 (the change introduced in 6.0.1).

that is fair.


[Event Request] table 5902 "Service Line" - Event for trigger OnValidate() Field "Service Item No."

Can we change the following event for the "Service Line" table: OnServiceItemNoOnOnValidate
 trigger OnValidate()
            var
                ///
                IsHandled: Boolean; ///NEW
            ///-
            begin
                TestField("Quantity Shipped", 0);
                TestField("Shipment No.", '');
                if "Service Item No." <> '' then begin
                    if "Document Type" in ["Document Type"::Invoice, "Document Type"::"Credit Memo"] then
                        ///
                        IsHandled := false; ///NEW
                    OnServiceItemNoOnOnValidate(Rec, IsHandled); ///NEW
                    if IsHandled then ///NEW
                        ///-
                            exit;
                    ServItemLine.Reset();
                    ServItemLine.SetRange("Document Type", "Document Type");
                    ServItemLine.SetRange("Document No.", "Document No.");
                    ServItemLine.SetRange("Service Item No.", "Service Item No.");
                    ServItemLine.Find('-');
                    Validate("Service Item Line No.", ServItemLine."Line No.");
                end;

                if "Service Item No." <> xRec."Service Item No." then begin
                    if "Service Item No." = '' then
                        Validate("Service Item Line No.", 0);
                    Validate("No.");
                end;
            end;

   [IntegrationEvent(false, false)]
    local procedure OnServiceItemNoOnOnValidate(var Rec: Record "Service Line"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

"We noticed that the proposed change would modify the logic of the base app. It should be implemented differently, but we actually don't need this event anymore as we can just use the standard onAfterValidateEvent."


Get the WDL stats for a position

This function allows the user to get Stockfish's win/draw/loss statistics for the current position. The WDL stats are another way of communicating the evaluation of a position. They describe the number of wins, draws, and losses that the side to move would approximately get out of 1000 games. More details on this can be found in Stockfish's source code, at the win_rate_model function of uci.cpp.

Thank you :) Well done 👍🏻


Move from the kubernetes cluster to oc cluster up cluster

Right now e2e tests on semaphore CI run on a Kubernetes cluster running in a VM, we should move to Kubernetes cluster which is spawned using oc cluster up, so that adding tests for openshift objects become easier.

So first test right now seems to fail (I believe because we cannot create multiple namespaces using kubectl with the OpenShift cluster...)
--- FAIL: Test_Integration (0.03s)
    --- FAIL: Test_Integration/Testing_configMap (0.02s)
        e2e_test.go:398: namespace "configmap" created
        e2e_test.go:404: error running kedge: error running "command: create -n configmap -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/configmap/db.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/configmap/web.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "configmap"
    --- FAIL: Test_Integration/Testing_secret (0.04s)
        e2e_test.go:398: namespace "secrets" created
        e2e_test.go:404: error running kedge: error running "command: create -n secrets -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/secrets/db.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/secrets/web.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "secrets"
    --- FAIL: Test_Integration/Test_portMappings (0.04s)
        e2e_test.go:398: namespace "portmappings" created
        e2e_test.go:404: error running kedge: error running "command: create -n portmappings -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/portMappings/wordpress.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/portMappings/mariadb.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "portmappings"
    --- FAIL: Test_Integration/Test_jobs (0.04s)
        e2e_test.go:398: namespace "jobs" created
        e2e_test.go:404: error running kedge: error running "command: create -n jobs -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/jobs/job.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "jobs"
    --- FAIL: Test_Integration/Testing_health (0.16s)
        e2e_test.go:398: namespace "health" created
        e2e_test.go:404: error running kedge: error running "command: create -n health -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/health/db.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/health/web.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "health"
    --- FAIL: Test_Integration/Normal_Wordpress_test (1.14s)
        e2e_test.go:398: namespace "wordpress" created
        e2e_test.go:404: error running kedge: error running "command: create -n wordpress -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/examples/wordpress/wordpress.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/examples/wordpress/mariadb.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "wordpress"
    --- FAIL: Test_Integration/Testing_healthChecks (1.34s)
        e2e_test.go:398: namespace "healthchecks" created
        e2e_test.go:404: error running kedge: error running "command: create -n healthchecks -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/healthchecks/db.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/healthchecks/web.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "healthchecks"
    --- FAIL: Test_Integration/Testing_includeResources (1.53s)
        e2e_test.go:398: namespace "include-resources" created
        e2e_test.go:404: error running kedge: error running "command: create -n include-resources -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/includeResources/app.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "include-resources"
    --- FAIL: Test_Integration/Testing_single_file (1.60s)
        e2e_test.go:398: namespace "singlefile" created
        e2e_test.go:404: error running kedge: error running "command: create -n singlefile -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/single_file/wordpress.yml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "singlefile"
    --- FAIL: Test_Integration/Testing_customVol (1.00s)
        e2e_test.go:398: namespace "customvol" created
        e2e_test.go:404: error running kedge: error running "command: create -n customvol -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/customVol/db.yaml -f /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/docs/examples/customVol/web.yaml"
                 fork/exec /home/wikus/dropbox/dev/go/src/github.com/kedgeproject/kedge/kedge: permission denied
        e2e_test.go:237: successfully deleted namespace: "customvol"
FAIL
exit status 1
FAIL    github.com/kedgeproject/kedge/tests/e2e 2.253s
Makefile:82: recipe for target 'test-e2e' failed
make: *** [test-e2e] Error 1

@cdrage login to the cluster as system:admin, a normal user cannot create multiple ns in openshift by default.

@cdrage login to the cluster as system:admin, a normal user cannot create multiple ns in openshift by default.

don't do that ;-) it is like running commands as root.
Normal user can create multiple namespaces/project, using oc new-project

@surajssd @kadel
Already tried using oc login, doesn't do anything / still can't create namespaces.

@kadel the test suite uses client-go so it creates namespaces and there is no going away from it, because all things happen after that and are heavily dependent on namespace.

@surajssd
hmm :-( than the only option might be to switch to system:admin as you said.
But please make sure that you switch back to regular user after namespace is created.
I think that some permission setting will be also required for newly created namespace.
Please don't run tests as system:admin

After some discussion we are going to split-up the tests to run in two separate instances.

1: Using minikube
2: Using minishift or oc cluster up

Both using the same set of examples (with the exception of OpenShift-specific ones using DeploymentConfig).

Since we have descent test framework on semaphore CI for both kubernetes and openshift and it takes less time too. are we done with this issue ? can we close this ? @surajssd @cdrage @kadel

Yeah, this is good now :+1: Kubernetes is being ran under minikube with --vm-driver=none (using Docker) and OpenShift is using minishift with --vm-driver=virtualbox.
Tests are also passing in less than 20 minutes which is better than what we had before (over 45 minutes!)


help me

start gekko and error

You should give the full error first. It probably has to do with a failed api call or something before this.


[5.1] Adjustment to allow setContentTags to handle escaping of tags

updated to use 5.1 version

removed setEchoFormat function and $echoFormat variable
adjusted compileRegularEchos function
adjusted setContentTags function
adjusted setEscapedContentTags function

I could find no other use in the existing code for the setEchoFormat, so I'm assuming it was in to allow to change to support the old way content tags were being escaped or not.
This fixes the setContentTags to support setting tags to be escaped or not.
In the function setContentTags($openTag, $closeTag, $escaped) the original $escaped flag only changed the tag name, nothing to really do with if the specified tag is escaped or not.
Default in setContentTags function for $escaped is true, this keeps the default of the content tags being escaped.
This change allows the developer to set the standard content tags to be escaped or not and makes the function more in line with how it reads.
Example:
setContentTags('[[', ']]') - would work just like the default tags, they would be escaped
setContentTags('[[', ']]', false) - would set the tags to not be escaped

Tests are failing.

Ok, I will adjust the code for the cs.
I looked at the test failure and that is because of the removal of the setEchoFormat function. Not sure what I should do about that.

Not sure what I should do about that.

Write new tests for your changes (including modifying the existing ones).

I finally was able to get a local working copy with the tests running. I updated the test that was failing.
As far as I can tell, the existing tests are checking the code that has changed. I'm new to phpunit, so I could be wrong.
Thanks for taking the time to look at this.

I can't figure out what is being attempted here.

@taylorotwell This proposal fixes the setContentTags to handle if the tags specified for the content tags are or are not escaped. This can be accomplished right now with the function setEchoFormat but it is cumbersome.
To overwrite the default of escaping the content tags, you would do something like this.
Blade::setEchoFormat ('%s');
Blade::setContentTags('{{','}}');

The change removes the setEchoFormat and allows the escaped or not to be set on the setContentTags function, similar to how it reads.
With the changes, I can do this to set the content tags to not be escaped. It is true by default that keeps the standard of them being escaped.
Blade::setContentTags('{{','}}', false);

This makes it easier to change the default tags to be or not be escaped. Which is helpful when sending templates to JavaScript frameworks that do not want the content escaped or in my case where I am assembling several small templates to make a bigger template then saving that for use in the cms. So I turn on and off the escaping of the tags at random times, using the preset escaped tags causes other problems for me.
The other think it does it make the function make better sense.
Currently this is the setContentTags function.
/**
     * Sets the content tags used for the compiler.
     *
     * @param  string  $openTag
     * @param  string  $closeTag
     * @param  bool    $escaped
     * @return void
     */
   public function setContentTags($openTag, $closeTag, $escaped = false)
    {
        $property = ($escaped === true) ? 'escapedTags' : 'contentTags';

        $this->{$property} = [preg_quote($openTag), preg_quote($closeTag)];
    }

To me that reads as if I set the $escaped to true then the tags specified would be escaped, but instead it switches the variable to escapedTags and then sets the tags specified to that variable, the content tags doesn't change.
Why would I use the contentTags to set the escapedTags when there is a escapedTags function to do that?
Which I also adjusted as it was calling the setContentTags function but only with the $escaped = true.
With the changes, the setContentTags now sets the contentTags variable with the option to escape or not escape the tags. The setEscapedContentTags only changes the tags used for the escapedTags.
I hope that explains it better. Perhaps you can reconsider the request.

@taylorotwell I added in a explanation as to the reason behind the change I'm assuming that you haven't time to take another look or have I not explained it well enough?

@GrahamCampbell, @taylorotwell Any chance of someone taking another look at this?

Changes Unknown when pulling df6549fc71a6ffd0b151c31dbb925144d0da303a on TerrePorter:5.1_bladefix into ** on laravel:5.1**.


cons_j should be using the jvp form

v = zero(x)
v[j] = 1
input .= Dual{DeivVecTag}.(x, v)
jthjaccolumn = f(input)

for computing the jth column without computing the whole Jacobian.

Is this still relevant, given https://github.com/SciML/GalacticOptim.jl/pull/61 ?

I don't think so.


Zooming in cuts off code.

Problem Description
Sometimes when zooming into the editor I can't scroll down enough to see all my code. For some reason it is not easy to
reproduce. I have to play around zooming in and out and then suddenly it happens.
What steps reproduce the problem?

Write something (at least a couple of lines).
Zoom in and out with ctrl+ + or ctrl+ mose wheel until error happens.

What is the expected output? What do you see instead?
After zooming in I should be able to scroll down far enough to see all code lines.
Instead I can only scroll down only a certain amount after which I can't see the rest of the code.
Versions

Spyder version: 4.20
Operating System name/version: Windows 10

Hi @MFRIbrahim thanks for the feedback! I was unable to reproduce this but maybe a workaround for you could be to use ctrl + 0 to reset the zoom (let us know if that helps).
Also, If you manage to find a way to reproduce this in a more consistent way let us know! without that is quite difficult to give more help or try to check a fix for the issue, sorry :/

Hi @MFRIbrahim thanks for the feedback! I was unable to reproduce this but maybe a workaround for you could be to use ctrl + 0 to reset the zoom (let us know if that helps).
Also, If you manage to find a way to reproduce this in a more consistent way let us know! without that is quite difficult to give more help or try to check a fix for the issue, sorry :/

Thanks for the reply! Yes I immediately fixed the problem by going to default zoom level with ctrl + 0 and then zooming in again.
But I thought I should probably report this weird bug even though one can fix it by zooming out and in again.
I will try to find a more reliable way to reproduce the error.

I found that simply just doing what I did in the following GIF is enough to reproduce the error. As you can see, the bar on the right is already all the way down but I can't see the rest of the code.

@MFRIbrahim I have been unable to reproduce this issue unfortunately :/ but I noticed that you are using 4.2.0. Could you try to update and check again first, please? And also, does this behavior happen with files where each line is not making a syntax error? and is this happening only for you with untitled files or saved files too? Let us know!

@dalthviz  I reproduced the error even with Spyder 4.2.1 and using a named file with zero syntax errors.

I have encountered this problem. Version 4.1.5.
Zooming out considerably and adding some newline (pressing the Enter or Return key) at the end of the code resolves it when you zoom in again. This is probably not a good solution.


Handle _time as a timestamp field

TA currently uses timestamp, need to also handle _time

Completed in v2.0.0


Modernize vnpy/trader/app

Continue the porting process described in #818
Run futurize --stage1 -w on the vnpy/trader/app directory:

print() is a function in Python 3
new style exceptions
from six import text_type instead of unicode()
bypass reload() on Python 3

挺好，尽快合入基线版本吧

@vnpy is there a problem with this PR?


Is there a way to customize moment to only use the langs i need?

Is there a way to customize moment to only use the langs i need?
That way i can shrink the size of my JS considerably.
Thanks.

https://medium.com/@michalozogan/how-to-split-moment-js-locales-to-chunks-with-webpack-de9e25caccea

This is not a solution for people not using webpack. I don't see any reason that hundreds of KBs of locales that 99% of developers will never use are included by default.


Following packages needs to be updated.

Following packages needs to be updated.
proxycap.fireeye
dnspy
metasploit.flare
poshc2.fireeye
SysAnalyzer.flare
Watson.fireeye
Either new packages have been released or removed from the website.

Yes please. Where is author?


espnetv2 and enet head

Hi,
In espnetv2 and enet models I am troubling to find the classifier head for adjusting it to my DataSet.
Thank you very much for the implementation of all the models.

enet head: https://github.com/LikeLy-Journey/SegmenTron/blob/master/segmentron/models/enet.py#L54 https://github.com/LikeLy-Journey/SegmenTron/blob/master/segmentron/models/enet.py#L105
espnetv2 head: https://github.com/LikeLy-Journey/SegmenTron/blob/master/segmentron/models/espnetv2.py#L31-L33 https://github.com/LikeLy-Journey/SegmenTron/blob/master/segmentron/models/espnetv2.py#L51-L52
num class of your dataset: https://github.com/LikeLy-Journey/SegmenTron/blob/master/segmentron/models/segbase.py#L21
actually, i only collect many models from others repo.

Thank you very much. Can i use your code for my personal project?
I think that I will need to refactor a bit of your code, so maybe I'll fork it.

of course, you can do anything with it. it is my pleasure if this repo can help you.

Of course, you can do anything with it. It is my pleasure that this repo can help you.