Add enhanced support for long running callback handlers.  Add additional grpc options

This PR is linked to https://github.com/tsloughter/grpcbox/pull/50
The changes originate from use cases encountered at helium and in integrating this lib into the helium stack. That said I believe the changes are general purpose enough to become part of the mainline branch
Change Summary

Updated service behaviours definitions, added {continue, grpcbox_stream:t()} response to streamed behaviours.  Adds init/1 and handle_info/2 callbacks.

Support generation of PB files to use Maps or Props rather than enforcing Maps only

Add support for additional overrides:

proto_files:  Allows a list of protos to be specified and used for PB and service behaviour generation, rather than defaulting to all protos in the directory specified by the "protos" option.  If proto_files is not specified then defaults to using "protos"
create_services:  boolean flag to determine whether or not to generate service behaviours.
beam_out_dir:  allows a directory to be specified to where the beams including PBs and service behaviours will be outputted
keep_beams:  the plugin builds the beams for the various proto modules and outputs to the 'ebin_dir'.
If this flag is set to true, these beams will be deleted after generation of the services.  This is useful for example if the application wishes to generate erl files only and build all as part of the application build process

superseded by https://github.com/tsloughter/grpcbox_plugin/pull/14


Event sortstart not triggered

I have three lists that are connected with each other. Also i have bind the sortstart event to every list but it is not triggered.
$('#todolist, #inprogresslist, #donelist').sortable().bind('sortstart', function(e, ui){
    console.log("test");
});
$('#todolist, #inprogresslist').sortable({
    connectWith: 'connected'
});
$('#inprogresslist, #donelist').sortable({
    connectWith: 'connected2'
});

Item 1

Item 2

Item 3

Item 1

Item 2

So in the console there should be the 'test' output if i start dragging on any list, but it doesn't.
If i change the event to dragstart, it works.
$('#todolist, #inprogresslist, #donelist').sortable().bind('dragstart', function(e, ui){
    console.log("test");
});

Tested with Firefox and Chrome.

Hey @on-delete the problem is in how you initialize the sortables.
When you do this
$('#todolist, #inprogresslist, #donelist').sortable().bind('sortstart', function(e, ui){
    console.log("test");
});
$('#todolist, #inprogresslist').sortable({
    connectWith: 'connected'
});
$('#inprogresslist, #donelist').sortable({
    connectWith: 'connected2'
});

What you do is to setup the sortable with a bind, than reset it (read delete everything you just did) and set it up without a bind, than reset #inprogresslist again and set it up again.
TL;DR every time you call sortable on an element if it was a sortable before, it is reset first. So you need to move the bind into the definitions.


[FEAT]: Add New OpenAI model to Workspace Agent LLM provider and ability to enter any model name

What would you like to see?
Add new OpenAI model to Workspace Agent LLM provider:
Model: gpt-4-turbo-2024-04-09
Pointer to the latest version: gpt-4-turbo
However, this needs to manually happen every time they add or update models.
Why not either grab the models list from the API, or just give ability to write any model name?
And then this is maintenance free?
Thanks!

So, why is it not on the list?
v1.5.0

OpenAI Playground:

Shows up for me
Docker

Desktop 1.5

in WorkSpace LLM provider, I was just using System default (using LM Studio)
If I select OpenAI there, the model shows up

But if I go to the Agent Config
Its not there:

huh?

gpt-4-2024-04-09 does not work with tool-calling. It is intentionally omitted to prevent people from filing issues saying it is broken when it is not supported even with OpenAI docs say it is. We tested it explicitly, but it does not work and says that function is not available via the API.
This is where we intentionally omit it while it is unavailable: https://github.com/Mintplex-Labs/anything-llm/blob/b50f1e747908085bd12dccc94cdb8ee15353fd88/frontend/src/pages/WorkspaceSettings/AgentConfig/AgentModelSelection/index.jsx#L9

gpt-4-turbo-preview does work, for some reason.


0.62.2: android build can't resolve modules

Description
I am running a react-native app with expo sdk38 for android. This was the result of the eject process from an expo project.
When I try to bundle the JS file or when I try to run react-native start the bundler can't seem to resolve my modules:
[Tue Jul 21 2020 20:18:15.511]  BUNDLE  ./index.js
error: Error: Unable to resolve module `expo` from `index.js`: expo could not be found within the project.

Expo is installed correctly.
In the same way, if I change my index.js to start with an import from my own source code, it doesn't resolve either:
[Tue Jul 21 2020 20:30:39.936]  BUNDLE  ./index.js
error: Error: Unable to resolve module `./src/HOC/DataLoader.jsx` from `index.js`:

I can't progress to 0.63.1 as it seems to be incompatible with expo sdk 38.
React Native version:
System:
    OS: macOS High Sierra 10.13.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
    Memory: 341.02 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.18.0 - ~/.nvm/versions/node/v12.18.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.6 - ~/DOCS/GIT_REPOS/dispersao/DispersaoApp-2/node_modules/.bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.5.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    Android SDK:
      API Levels: 23, 26, 27, 28
      Build Tools: 23.0.1, 23.0.2, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.3, 30.0.1
      System Images: android-23 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
    Xcode: 10.1/10B61 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_171 - /usr/bin/javac
    Python: 2.7.16 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ~16.11.0 => 16.11.0
    react-native: ~0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

create a simple project with the structure:

android/
ios/
node_modules/

expo/
react-native (0.62.2)

src/
index.js

On index.js write as the first line: import { registerRootComponent } from 'expo';

execute react-native start&& react-native run android OR react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

Expected Results
it should have resolved the paths to the source code and node_modules

I realized the problem was the metro resolver extensions
Adding jsx to it soled the issue


Add pulsar-client-cpp

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I'm not actually the original author (see)

This should already be done! https://github.com/NixOS/nixpkgs/commit/d59d843f217ccbeea57938be1eca3a15bdd71cb9

Thanks


Add Latitude and Longitude to the Constants file

References user story #237
Latitude and Longitude aren't going to change, but adding them to the constants file will reduce the "magic number" factor of their use

completed in PR #268


Update README.md

Codecov Report

Merging #18 (0c9207d) into main (5928133) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #18   +/-   ##
=====================================
  Coverage   7.64%   7.64%
=====================================
  Files         39      39
  Lines       4959    4959
=====================================
  Hits         379     379
  Misses      4580    4580

Flag
Coverage Δ

unitNumber
7.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Latest node-sass (4.6.0) breaks watcher

I was debugging why my .scss didn't get re-rendered as expected and found out that node-sass 4.6.0 has an issue with the watchers.
Maybe should specify dep version in package.json to avoid troubles like these?

FYI, workaround:
Install node-sass with older version
npm install --save-dev<EMAIL_ADDRESS>

This also happened for me, thanks for finding @denkan !  I agree it would be a good idea to specify dep version in package.json.

Hi @peterkrieg @denkan . The fix is available in v1.3.3.

Just to mention it here too so everyone involved knows, this issue was fixed 2 days ago in node-sass: https://github.com/sass/node-sass/pull/2151/files
Thank you!


Finding support for class arrow functions

Currently we have to prebind all our member functions in the constructor for each class.
This is tedious. We could change our classes to primitive objects, add transpilers, or its possible there is a new version of chrome that we can build via electron to have arrow function support.
I would like to avoid using transpilers because its slow development and complexity.
I don't want to turn classes into primitive objects because I likely suspect their will be draw backs.

https://stackoverflow.com/questions/45785117/arrow-functions-within-classes-are-not-supported-in-chrome-but-work-fine-through

search for "js creating bound objects":
good links: https://ponyfoo.com/articles/binding-methods-to-class-instance-objects

I don't think you'll be able to get arrow function methods without Babel at this point :(
You could do something hacky with a super class that auto-binds all methods of a class that extends it...
https://gist.github.com/nderscore/00896f2d7f06e3a0bad47bc436a8c0b1
But, is it really necessary to pass around class methods by reference? It would be a lot easier to just pass a reference to the instance so that context isn't lost. And in the few scenarios where you really need to, just wrap the method in an arrow function...
For example: setTimeout(() => this.method(), 10)

``function Person(name) {
// constructor
this.name = "";
set_Name = () => {
this.name = "Michael";
}
}``
the above actually works fine, omenking fears this might break things

fixed it, is it still global scope?

It would populate global

The autobind libraries should work but they fail to get around getters and setters and they will go on to bind them which will effectively break their binding. There's no apparent way to detect if a function is a getter or a setter so to skip these cases. There's suppose to be but getOwnPropertyDescriptor isn't returning get or set as documented. So it must not work in our version of chrome

found a new solution here: https://javascript.info/bind
for (let key in this)
  if (typeof this[key] == 'function')
    user[key] = user[key].bind(this);

the above binds all (current) methods to the object. definitely this is better than 20 lines of bindings

the newest solution doesnt work everywhere. i've been having issues with the autobinding through the above method in the playfield_cursor. i suspect it has to deal with the controls.js.
it could also be that the constructor doesnt add all of the this bindings quickly enough or out of order so that some methods start calling even tho they dont have a binding yet.

this problem will either remain unsolved or shouldnt matter once we switch to typescript.


Zod: root object should not be marked as .optional() in case of response

What version of kubb is running?
kubb/2.2.0 darwin-arm64 node-v18.17.0
What platform is your computer?
macOS
What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)
No response
What steps can reproduce the bug?
Current issue relates to https://github.com/kubb-project/kubb/issues/763
That previous issue was only related to query parameters and not response. In query params, we can request like so some/api?foo=1 or just some/api if foo is defined as optional in API like so
      "get": {
        "operationId": "SomeName",
        "summary": "",
        "description": "Some description",
        "parameters": [
          {
            "name": "foo",
            "required": false,
            "in": "query",
            "schema": { "minimum": 1, "format": "int32", "default": 1, "type": "integer" }
          }
        ]
      }

However, when it comes to responses, we can't mark object as .optional if all of it's properties are optional
e.g.
    "some/api": {
      "get": {
        "operationId": "SomeName",
        "responses": {
          "200": {
            "description": "some response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "importantProperty": {
                      "type": "object",
                      "properties": {
                        "foo": { "type": "string" }
                      }
                    }
                  },
                  "required": ["importantProperty"]
                }
              }
            }
          }
        }
      }
    },

is generated into
/**
 * @description some response
 */
export const SomeNameQueryResponseDTO = z.object({
  importantProperty: z
    .object({
      foo: z.string().optional(),
    })
    .optional(), // note optional here despite `importantProperty` is explicitly marked as `required` in OpenAPI
});

How often does this bug happen?
Every time
What is the expected behavior?
/**
 * @description some response
 */
export const SomeNameQueryResponseDTO = z.object({
  importantProperty: z.object({
    foo: z.string().optional(),
  }),
});

Swagger/OpenAPI file?
    "some/api": {
      "get": {
        "operationId": "SomeName",
        "responses": {
          "200": {
            "description": "some response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "importantProperty": {
                      "type": "object",
                      "properties": {
                        "foo": { "type": "string" }
                      }
                    }
                  },
                  "required": ["importantProperty"]
                }
              }
            }
          }
        }
      }
    },

Additional information
No response

@kopach I see that you are using version 2.2.0, can you try with 2.3.0?
I tried this locally and I'm not having that issue you have.

hi @stijnvanhulle, indeed, in 2.3.0 it's also not reproducible to me anymore. Thanks for your support.


ViteJS + react  not provide an export named 'default'

When you created a project with ViteJS + React, we have this error:
Uncaught SyntaxError: The requested module '/node_modules/scrolly-video/dist/ScrollyVideo.jsx' does not provide an export named 'default'

@AnthonY-Dole do you mind sharing your vite.config.js file?

Off course this is my vite config fil. It's just th default config file
`import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
});
`

That should fix it, I've bumped it to version 0.0.13 and have added an esm bundled version.
If you upgrade to the latest and import it with import ScrollyVideo from 'scrolly-video/dist/ScrollyVideo.esm.jsx'; it should work.

working perfectly thanks


[feature 🔖] - Check if generated list "match" with registered domain

Hello
i am wondering if that could be interesting to add a feature on ail-typo-squatting.
What ?
Ok we can check DNS status of generated domain list. But it could be interesting to perform check of a domain has been recently generated  (like 24h ago, or 7days) and check for domain that can just don't have any dns record yet.
How ?
Algorithmically speaking, it's just a fetch of a database, and a match between the generated list / dump of recent register domain
User
User infra: a cron task (or a github action) that run every morning a notify him if a new suspicious domain has been registered
idk if that is a good idea, but that can be useful for real-time threat detection ☺

Update
I have done some research, it's easy to do.
Anyway a dedicate tool for that seems more appropriate.
Don't hesitate to paste the link here for us to contribute and use it too.
Best.


Simplify epoch number

📚 Context
The definition of an epoch is a bit complicated because it depends both on the block timestamp and whether the epoch contains inputs or not. For instance, if a given epoch does not contain inputs, it will be finalized after it receives the first input.
✔ Solution
Simplify the epoch logic in the dispatcher. It should be something like epoch_number  = block_number / epoch_length, which is simple to calculate and doesn't depend on the state of the validator.

This will be redone in the new node implementation in Go.


add kubebuilder validation to the state enum

Add validation enums to the state field in status, and remove the state
info struct as it is a bit redundant per current API def, and it makes
the state more visible.
Testing Done:
make all target pass.

LGTM


Can't insert line breaks / new lines

Hello,
First of all: thank you for your tool, it's very useful.
I'm currently using your UE4LocalizationsTool 2.1 version to translate a game.
The game has lots of wrapped text inside dialogue boxes
When I edit these lines, then save the .locres and pack it, the game ignores formatted text, showing the "code"
Here's an example:
This is the line inside UE4LocalizationsTool:
Journal:<lf><lf>Today's board meeting could be interesting. I look forward to finally making a move on the acquisition. They're ripe for the taking.
If left unedited it shows like this in game (as it should):
Journal:

Today's board meeting could be interesting. I look forward to finally making a move on the acquisition. They're ripe for the taking.

But as soon as I translate the line, the game shows:
Journal:<lf><lf>Today's board meeting could be interesting. I look forward to finally making a move on the acquisition. They're ripe for the taking.
showing <lf>. the same happens with other formatting symbols like <q></> and <k></>
I already tried adding \r\n, \n, <br> to wrap text but they just show in game as they are
Thank you for your help

@pepperonzo
i'm sorry about that, download it again and try it
v2.1

Wonderful, it worked!
now  wraps text correctly. Thank you so much for your quick response!


want to add ight dark mode

you can assign that task to me under gsso-ext and Hacktoberfest label..

hey @1Shubham7  can you assign this issue to me . I am ready to contribute in this repo.

sure @dheerajsingh01 please be sure to create a figma design and verify it from me before you apply the design :  )

Here is the design of light mode or dark mode . can you verify it

It's looks something like this

hey @1Shubham7  please verify it or i can the design if you want.


UX-UI Improvements: Hand tool

Implement the new tool to allow an easy view of content on the canvas: Hand Tool. The tool should be available on the left panel and should be enabled when the icon is clicked:

AC1: GIVEN Ketcher user working with canvas content WHEN clicking the Hand tool on the panel THEN the tool icon should be presented as selected and cursor presentation changes to Hand icon when hovering over the canvas AND content of the canvas is not changing and selections, highlights, and other canvas objects are not changing
AC2: GIVEN Ketcher user working with canvas content with Hand tool enabled WHEN clicking on the left mouse button over the canvas THEN cursor icon should be changed to Hand compressed icon:

AC3: GIVEN Ketcher user working with the canvas content with scrolls presented with Hand tool enabled WHEN clicking on the left mouse button over the canvas AND moving the mouse THEN Ketcher canvas content should be moved like the canvas was dragged by the hand to the direction of the mouse move AND canvas content should be presented as if scrolls were moved AND scrolls position should be updated and scrolls should hide if the move has resulted in displaying all canvas content in the window
AC4: GIVEN Ketcher user working with the canvas content without scrolls presented with Hand tool enabled WHEN clicking on the left mouse button over the canvas AND moving the mouse THEN Ketcher canvas content should be moved like the canvas was dragged by the hand to the direction of the mouse move AND srolls may appear if the move results in hiding part of the canvas content
AC5: GIVEN Ketcher user working with the canvas content with Hand tools WHEN clicking on any object on the canvas THEN this object should not be changed, selected or moved

Open question: can we do the animation for the Hand -> Compressed Hand pointer transition.

Hotkey SPACE added for the new tool

Hotkey Ctrl + H replacing SPACE. Space will be reserved for using Hand tool with hold  - will be implemented via separate issue.


Form with multiple Entities

First of all: Thank you for this bundle.
I have an issue with a form. I use 3 Entities, for each page another.
Everything seems to be work, but if i click on finish, an error appears.

An exception occurred while executing 'INSERT INTO Insurance (nsr_cover, nsr_bonus_cover,
nsr_xenon, nsr_parking_harm, nsr_baggage, nsr_occupants, nsr_help_point_plus, nsr_comment)
VALUES (?, ?, ?, ?, ?, ?, ?, ?)' with params [null, null, null, null, null, null, null, null]:

I think the error could be by binding the entities to the form.
class CreateInsReqFlow extends FormFlow
{
    protected function loadStepsConfig()
    {
        return array(
            array(
                'label' => 'person',
                'type' => new PersonType(),
            ),
            array(
                'label' => 'vehicle',
                'type' => new VehicleType(),
            ),
            array(
                'label' => 'insurance',
                'type' => new InsuranceType(),
            ),
            array(
                'label' => 'confirmation',
            )
        );
    }
    public function getName()
    {
        return 'createInsuranceRequest';
    }
}

class InsuranceRequestController extends Controller
{
    public function newAction(Request $request)
    {
        $formData['person'] = new Person();
        $formData['vehicle'] = new Vehicle();
        $formData['insurance'] = new Insurance();

        $flow = $this->get('nuvox.form.flow.createInsReq');

        $flow->bind($formData);

        $form = $flow->createForm();

        if($flow->isValid($form)){
            $flow->saveCurrentStepData($form);

            if ($flow->nextStep()) {

                // form for the next step
                $form = $flow->createForm();
            } else {

                // flow finished
                $insuranceRequest = new InsuranceRequest();
                $person = $formData['person'];
                $vehicle = $formData['vehicle'];
                $insurance = $formData['insurance'];

                $em = $this->getDoctrine()->getManager();
                $em->persist($person);
                $em->persist($vehicle);
                $em->persist($insurance);

                $insuranceRequest->setPerson($person);
                $insuranceRequest->setVehicle($vehicle);
                $insuranceRequest->setInsurance($insurance);

                $em->persist($insuranceRequest);
                $em->flush();

                $flow->reset(); // remove step data from the session

                return $this->redirect($this->generateUrl('home')); // redirect when done
            }
        }

        return $this->render('NuvoxMyBundle:Form:CreateInsReqFlow.html.twig', array(
                'form' => $form->createView(),
                'flow' => $flow,
            ));
    }
}

Thank you for any help.

Create a dedicated form data class containing your entities. Or maybe you can just use your InsuranceRequest for that. See #28.

I found the issue. i forgot to register the form also as service and link it to the flow. spent so many hours to find the issue. Thank you anyway for help and for this great bundle!

I apologize for re-opening the issue, but I would really appreciate some help.
@birdnestman, I am trying to create a similar thing with the form flow and multiple entities in it. My code is basically the same as yours, but I am stuck on how to access the corresponding entity to each step (i.e. form type). The data bound to the form is the whole array $formData, which results in wrong type of form view data (an array instead of an instance of the class). How did you "select" the right entity (Person/Vehicle/Insurance) from the array $formData to then display it in the form flow? Maybe it's something trivial I overlooked, I can't seem to find a (right) way.
Thank you in advance. :)

Hey, sorry for the late reply... I'm not sure if I understand it right, but i will share my code with you.
class CreateInsReqFlow extends FormFlow
{
    protected $formType;

    protected $allowDynamicStepNavigation = true;

    public function setFormType(FormTypeInterface $formType) {
        $this->formType = $formType;
    }

    protected function loadStepsConfig()
    {
        return array(
            array(
                'label' => 'Person',
                'type' => $this->formType,
            ),
            array(
                'label' => 'Fahrzeug',
                'type' => $this->formType,
            ),
            array(
                'label' => 'Versicherung',
                'type' => $this->formType,
            ),
        );
    }
    public function getName()
    {
        return 'createInsuranceRequest';
    }
}

@birdnestman
Can you show all worked code with multiple entities and multiple steps?
Controller, Entities, FormTypes, services.yml, etc.
Very big thanks :)

Hey i'm having a big mess with that.
I'm trying to use the @andreybolonin Approach C but i also have to dynamically generate data into a form (like Subcategories populated from Categories)
Anyone who did that ??


Subject with square brackets [ ] in name cannot be renamed or deleted

Describe the bug
Putting square brackets in a subject name prevents deletion or renaming of subject
To Reproduce
Steps to reproduce the behavior:

Create a new recognition subject with square brackets in the name, like "[test]".
From the [test] personal profile, click the delete icon.

Expected behavior
Subject is deleted
Error:
<!doctype html>HTTP Status 400 – Bad RequestHTTP Status 400 – Bad Request
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: 1.0.1

Additional context
I tried using curl with various ways to escape the brackets but that didn't work either.
-X DELETE "http://localhost:8000/api/v1/recognition/subjects/[test]"
-X DELETE "http://localhost:8000/api/v1/recognition/subjects/[test]"

thanks for reporting, I'll create a bug for this

please correct the bug. I have to delete the app and recreate to remove subjects with [ ] :(


You can perform a castle when in check

This is not allowed, when a king is in check you cannot perform a castle


Remove Unnecessary Pages: "Tutorial Basics" and "Tutorial Extras"

Is your feature request related to a problem? Please describe.
The site needs to do away with the default Docusaurus pages and begin to adopt and and add pages that are related to the purpose of the site.
Pages like "Tutorial Basics", "Tutorial Extras" and "Blogs" are some of those pages.
Describe the solution you'd like
Complete removal of the pages including the routes to them. If in the future we need information about something, we can refer to https://docs.daily.dev/ or https://docusaurus.io/ for information on how to do certain tasks.

Describe alternatives you've considered
No response
Additional context
No response

@tobySolutions assign me, i have to remove "Tutorial Basics", "Tutorial Extras" and "Blogs" pages right?


The rules.ncats.cyber.dhs.gov site should return an HSTS header

🐛 Bug Report
The rules.ncats.cyber.dhs.gov site does not return an HSTS header.  It should be returning an HSTS header specifying a max-age of at least 31536000.  This header can be inserted using Lambda@Edge.
Thank you to @climber-girl for pointing this out!
See also:

#284
#309

To Reproduce
$ curl -I http://rules.ncats.cyber.dhs.gov
HTTP/1.1 301 Moved Permanently
Server: CloudFront
Date: Thu, 14 Jan 2021 18:01:46 GMT
Content-Type: text/html
Content-Length: 183
Connection: keep-alive
Location: https://rules.ncats.cyber.dhs.gov/
X-Cache: Redirect from cloudfront
Via: 1.1 d19e64e406af1f88f7f96d9dcb2393ca.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: IAD89-C2
X-Amz-Cf-Id: 1331-8NvvTqJOeb5Zt2UsuudRoe80Uv8t_JLgAnHud6JdGByJ7MHMw==

Expected behavior
The curl output should include a line that looks like Strict-Transport-Security: max-age=31536000.

If we're going to be using Lambda@Edge anyway for the HSTS header, we should strongly consider letting the Lambda compile the list of IPs as well.  That way the page will automatically update as we add and remove instances and we never need to worry about updating the page manually.  This will pay more and more dividends as Con-PCA comes online, we revamp CyHy to include autoscaling, etc.

If we're going to be using Lambda@Edge anyway for the HSTS header, we should strongly consider letting the Lambda compile the list of IPs as well.  That way the page will automatically update as we add and remove instances and we never need to worry about updating the page manually.  This will pay more and more dividends as Con-PCA comes online, we revamp CyHy to include autoscaling, etc.


send nodeagent update of testing time

In case of changing RemainingTestTime (we change it about every 10 seconds) we do not send any updates to the cloud after #2371.

Hey @giggsoff -- was the comment @eriknordmark suggested ever added? I think it would be super heflpul to do that since it is confusing otherwise to see it like that.

LGTM


example and describe to use

Hi
Is it possible for an example to use this code?
This code sends a wave to port and gives text?
can use lm re-scoring and give 10-best transcript?
what are differences between this code and TCP decoding code in Kaldi?
best regards

Is it possible for an example to use this code?

Yes, you run the server like this:
./asr_server.py
then you run any amount of clients in parallel:
./test.py test.wav

This code sends a wave to port and gives text?

Not just text but json with words, timestamps and decoding variants.

can use lm re-scoring and give 10-best transcript?

Yes

what are differences between this code and TCP decoding code in Kaldi?

It can be load-balanced properly
Ot properly implements parallel decoding with model sharing and async IO.

Is it possible that send raw wave from microphone to the port? Do you have any example?
best regards

Some examples here https://github.com/alphacep/api-samples


Ship MRTK release packages to the Unity asset store

Readme / Landingpage on Github states:
Unity packages for each release will be published to the Unity asset store.
What? Where? When? Just searched the asset store for Mixed, reality, toolkit, mixedreality, microsoft etc. Did not find anything. Wrong information?

This is part of the roadmap and we are very close to doing this. We need to sign binaries in order for us to ship these packages. Will use this issue to track that work.

Pretty sure this is a duplicate?

Definitely on my radar for the May release (2<IP_ADDRESS>)

are there any news?

Good question.

Still on the radar... I will try to make it happen for the 2<IP_ADDRESS> release

@davidkline-ms remember to name it HTK not MRTK in the asset store for the 2<IP_ADDRESS> release

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


SRVB: Clear metadata links

Metadata links are cleared during serialization

Is this field available in lower releases, too? If not, it would dump

Is this field available in lower releases, too? If not, it would dump

Yes, the links are available. It is just like other fields which we were clearing

welcome to abapGit as a contributor 🎉


porting cxxnet data science bowl 1 example to mxnet

I am trying to port  to mxnet the example code in cxxnet for Kaggle data science bowl (1)  https://github.com/dmlc/cxxnet/tree/master/example/kaggle_bowl
I have most things working but I do not understand something in the bowl.conf for cxxnet. (excuse my ignorance but I am new to deep learning, I am a marine biologist with interests in image classification).
Although images are scaled to 48x48, the bowl.conf file has "input_shape = 3,40,40", why is that?
In mxnet, I have rescaled all images to 48x48 but if I use
data_shape = (3, 48, 48)
when I define the ImageRecordIter as:
def get_iterator(args, kv):
   data_shape = (3, 48, 48)
   train = mx.io.ImageRecordIter(
       path_imgrec = args.data_dir + "tr.rec",
       mean_img    = args.data_dir + "mean.bin",
       data_shape  = data_shape,
       batch_size  = args.batch_size,
       rand_crop   = True,
       rand_mirror = True,
       max_rotate_angle=180,
       max_aspect_ratio = 0.5,
       max_shear_ratio = 0.3,
       min_crop_size=32,
       max_crop_size=48,
       num_parts   = kv.num_workers,
       part_index  = kv.rank)

   val = mx.io.ImageRecordIter(
       path_imgrec = args.data_dir + "va.rec",
       mean_img    = args.data_dir + "mean.bin",
       data_shape  = data_shape,
       batch_size  = args.batch_size,
       num_parts   = kv.num_workers,
       part_index  = kv.rank)
    return (train, val)

I get train/val accuracies of 0.44/0.59  while if I use a data_shape=(3,40,40) I get 0.58/0.59
I guess it is something to do with the crop sizes, could someone explain how to set the correct data_shape?
Thanks ,
Angel
this is the network structure I am using (translated from bowl.conf):

def get_symbol(num_classes = 121):
    input_data = mx.symbol.Variable(name="data")
    conv1 = mx.symbol.Convolution(
        data=input_data, kernel=(4, 4), stride=(1, 1), num_filter=48,pad=(2,2))
    relu1 = mx.symbol.Activation(data=conv1, act_type="relu")
    pool1 = mx.symbol.Pooling(
        data=relu1, pool_type="max", kernel=(3, 3), stride=(2,2))
    ###############
    conv2 = mx.symbol.Convolution(
        data=pool1, kernel=(3, 3), pad=(1, 1), stride=(1, 1), num_filter=96)
    relu2 = mx.symbol.Activation(data=conv2, act_type="relu")
    conv3 = mx.symbol.Convolution(
        data=relu2, kernel=(3, 3), pad=(1, 1), stride=(1, 1), num_filter=96)
    relu3 = mx.symbol.Activation(data=conv3, act_type="relu")
    pool2 = mx.symbol.Pooling(data=relu3, kernel=(3, 3), stride=(2, 2), pool_type="max")
    ###############
    conv4 = mx.symbol.Convolution(
        data=pool2, kernel=(2, 2), stride=(1, 1), num_filter=128)
    relu4 = mx.symbol.Activation(data=conv4, act_type="relu")
    conv5 = mx.symbol.Convolution(
        data=relu4, kernel=(3, 3), stride=(1, 1), num_filter=128)
    pool3 = mx.symbol.Pooling(data=conv5, kernel=(3, 3), stride=(2, 2), pool_type="max")
    ##
    flatten = mx.symbol.Flatten(data=pool3)
    fc1 = mx.symbol.FullyConnected(data=flatten, num_hidden=256)
    dropout1 = mx.symbol.Dropout(data=fc1, p=0.5)
    fc2 = mx.sym.FullyConnected(data=dropout1, num_hidden=num_classes)
    softmax = mx.symbol.SoftmaxOutput(data=fc2, name='softmax')
    return softmax

Hi @Gelu74,
I will probably make an example in of original sample today and post it at here.  After you successfully run it, I recommend to try example here: https://github.com/auroraxie/Kaggle-NDSB

Thanks @antinucleon
Look forward to it, yes the solution by auroraxie was my next step, I am trying to understand the simpler model first.

@Gelu74
Here is a new example. Also you may find MXNet document to be very useful: https://mxnet.readthedocs.org/en/latest/

Forgot the link: https://github.com/dmlc/mxnet/tree/master/example/kaggle-ndsb1

Thanks a lot @antinucleon for taking the time to write the example.
Works great except the second sed command that in my system throws an error, I think it should be:
sed -n '20001, 30337p' train.lst > va.lst (i.e without the "p" after 20001)
The training runs ok but I am reaching very different accuracies from run to run. I guess it is due to the random initialization of the network and reaching some local minimum
These are my results for 5 consecutive runs:
INFO:root:Epoch[34] Train-accuracy=0.539437
INFO:root:Epoch[34] Time cost=105.434
INFO:root:Epoch[34] Validation-accuracy=0.576292
INFO:root:Epoch[34] Train-accuracy=0.065096
INFO:root:Epoch[34] Time cost=103.263
INFO:root:Epoch[34] Validation-accuracy=0.061150
INFO:root:Epoch[34] Train-accuracy=0.570038
INFO:root:Epoch[34] Time cost=36.997
INFO:root:Epoch[34] Validation-accuracy=0.604167
INFO:root:Epoch[34] Train-accuracy=0.065096
INFO:root:Epoch[34] Time cost=36.892
INFO:root:Epoch[34] Validation-accuracy=0.061150
INFO:root:Epoch[34] Train-accuracy=0.601637
INFO:root:Epoch[34] Time cost=36.978
INFO:root:Epoch[34] Validation-accuracy=0.630112

That's strange and should not have such a great gap. Are you using cudnn? Which card are you using?

Yes cudnn.
Some info of my system:
lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.3 LTS
Release:	14.04
Codename:	trusty
lspci | grep -i nvidia
02:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40m] (rev a1)
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17

cudnn may make different output but not in such a great gap. Could you try to add this line at the beginning of the file? mx.random.seed(8964)

With that random seed, I did not get the low accuracy results in four runs. Although I am still getting quite some variability:
INFO:root:Epoch[34] Train-accuracy=0.550869
INFO:root:Epoch[34] Time cost=37.199
INFO:root:Epoch[34] Validation-accuracy=0.598765
INFO:root:Epoch[34] Train-accuracy=0.510184
INFO:root:Epoch[34] Time cost=37.007
INFO:root:Epoch[34] Validation-accuracy=0.547164
INFO:root:Epoch[34] Train-accuracy=0.460114
INFO:root:Epoch[34] Time cost=37.002
INFO:root:Epoch[34] Validation-accuracy=0.502990
INFO:root:Epoch[34] Train-accuracy=0.538588
INFO:root:Epoch[34] Time cost=36.958
INFO:root:Epoch[34] Validation-accuracy=0.580633
I thought that by setting the random seed there wouldn't be any variability.. where does the randomness come from?

Try to build without CuDNN. CuDNN doesn't grantee to reproduce result.
Also, in iterator, we should set a seed as we are using random
augmentation.
On Wed, Jan 6, 2016 at 4:53 PM, Angel Lopez-Urrutia <
<EMAIL_ADDRESS>wrote:

With that random seed, I did not get the low accuracy results in four
runs. Although I am still getting quite some variability:
INFO:root:Epoch[34] Train-accuracy=0.550869
INFO:root:Epoch[34] Time cost=37.199
INFO:root:Epoch[34] Validation-accuracy=0.598765
INFO:root:Epoch[34] Train-accuracy=0.510184
INFO:root:Epoch[34] Time cost=37.007
INFO:root:Epoch[34] Validation-accuracy=0.547164
INFO:root:Epoch[34] Train-accuracy=0.460114
INFO:root:Epoch[34] Time cost=37.002
INFO:root:Epoch[34] Validation-accuracy=0.502990
INFO:root:Epoch[34] Train-accuracy=0.538588
INFO:root:Epoch[34] Time cost=36.958
INFO:root:Epoch[34] Validation-accuracy=0.580633
I thought that by setting the random seed there wouldn't be any
variability.. where does the randomness come from?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/1143#issuecomment-169501991.

sorry, there must have been an error with my cudnn installation and I guess mxnet was not using cudnn.
I am trying to reinstall now but I am encountering some errors building mxnet with CUDNN support. I will open a separate issue.
thanks!

No it is not your problem, for CuDNN fastest mode, it is known that the result is not deterministic.

ummm, I am now not sure whether I was running with cudnn at all... I have reinstalled my system and  I am not able to compile with cudnn support now.. see https://github.com/dmlc/mxnet/issues/1207


Add delete/exclude() to DatumInContext

What:
I'm not going to submit this as a pull request, but below is an example of what I'm looking for.
https://github.com/jbcurtin/python-jsonpath-rw/commit/545eecae74c5c574685f2ae78d01b54756f48a82
Why:
Working with postgresql, I'm coming across the need to mask-json data in SQL. I'm going to use this library to write a quick-and-dirty function to do this. By adding the delete/exclude method I can mutate data in a stream using SQL queries.
Cheers!

This seems like a good feature request.


discord image logger

hello, i have a problem, im doing all with instruction and i still doesnt know how to run this etc. Help me please :**

Follow the instructions, couldn't possibly be any clearer


World Anchor and tap to placement

I just want to build a scene like this,but I have several problems:

tap my finger in the real world, there will be a cube Instantiated at the cursor hit point; but when I want to instantiate more cube , the cube position wasn't the cursor hit point, them were at the previous cube position. I tried to disable  "World Anchor Manager.cs"and "Tap To Place.cs"  in unity ,there were what I wanted, but I cannot tap and place the cube any more;
tap my finger on the cube (which was instantiated),that I can put it any where I wanted in the real world.SomeTimes they worked not very well, you should restart the scene several times that can worked well;
placed the cube,adjusted the button on UI to controll the cube to move to every directions and rotate to every directions;but when I click the button ,there is no reaction,I had tried disabled the "World Anchor Manager.cs"and "Tap To Place.cs" after placed the cube,  but the button was no reaction either;
4.when I used model with a big scale (the count is only one),the machine running very card; but when I do it as the Academy Holograms 101, without holotoolkit 1.5.6 ,there is no problem;
PS: you can also contact with me by email<EMAIL_ADDRESS>

Is there anybody who can help me ?

Do you have a sample scene and repository we may view to help debug your issues?

@Ziugy   May I get you email adress ,I will send you what I had built project.

I would prefer a public fork or repository so that others may be able to help diagnose the issue too. This would also help others who may be running into similar issues. Thank you very much!

@Ziugy OK, I had push my project into github. the adress is https://github.com/TinyTangS/test.  Thanks very much.

Related to https://github.com/Microsoft/HoloToolkit-Unity/issues/567

Thanks very much! The issue of #567 can solve the first and second problem. How about the others? I also read #571 .But when the customer wanna use tap to place for put the cube,and then use the button to adjust the cube position very accurate.For this moment need I clear the anchor store after it placed? if I clear the anchor store but the customer wanna tap to place the cube again, Am I need add the anchor store?  I think that is very complicate. Is there any way to deal with it?

Pretty sure the script was updated to use this.


Conditional Autons

Tested on sim

Line 162 on autoRunner.py is for sim use only and needs to be commented out before robot testing.


Add a way to force a local build

See original issue on GitLab
In GitLab by [Gitlab user @tcanabrava] on Sep 23, 2020, 10:08
For testing reproducibility builds we need to forbid access to the remote cache,
the easiest way to do this is block internet access, currently that's not trivial.
the options currently are either using unshare or creating a special library
that drops connections and LD_PRELOAD it, the problem is that neither of those
options are a good approach, but a hack.

In GitLab by [Gitlab user @coldtom] on Sep 23, 2020, 10:17
For what it's worth, on master you can achieve this using bst -r <string that doesn't resolve to a domain> build, see https://gitlab.com/celduin/buildstream-bazel/burn-sdk/-/blob/master/.gitlab-ci.yml#L50 for an example, where I wanted to disable pushing a full disk image into the cache.

In GitLab by [Gitlab user @tristanvb] on Sep 24, 2020, 07:17
marked this issue as related to #1240

In GitLab by [Gitlab user @tristanvb] on Sep 24, 2020, 07:19
This is all the same issue, let's discuss this on the original issue.

In GitLab by [Gitlab user @tristanvb] on Sep 24, 2020, 07:19
marked this issue as a duplicate of #1065

In GitLab by [Gitlab user @tristanvb] on Sep 24, 2020, 07:19
marked this issue as related to #1065


Simplify strings comparison with Ordinal option

No functional changes. Actually the == operator is a little bit faster because does not need to check comparison type.
see https://source.dot.net/#System.Private.CoreLib/String.Comparison.cs,739 and https://source.dot.net/#System.Private.CoreLib/String.Comparison.cs,643.

Convention to use string.Equals for ordinal comparison does not bring benefits. Usage of == brings:

less verbosity, so improves code readability
consistency with convention how other types are compared, e.g. integers are compared with == instead of Equals method (list.Count == 1 instead of list.Count.Equals(1))
about 30%-40% faster operation

|              Method |     Mean |     Error |    StdDev | Ratio |
|-------------------- |---------:|----------:|----------:|------:|
|              Equals | 3.957 ns | 0.0182 ns | 0.0161 ns |  1.00 |
| DoubleEqualOperator | 2.612 ns | 0.0154 ns | 0.0120 ns |  0.66 |

The purpose of this PR is to change the convention in the whole library as, to me, brings more benefits.

@lechu445 wrote some additional tests using benchmark and i didn't see a as big of a difference.
see: benchmark code

Interesting.
The current version of JIT is able to inline the Equals without StringComparison code and produce asm with direct call of System.SpanHelpers.SequenceEqual. For Equal with provided StringComparison JIT is not smart enough and calls string.Equal that calls System.SpanHelpers.SequenceEqual underneath. So, usage of string.Equals(a, b) or == reduce one method call.
https://sharplab.io/#v2:C4LghgzgtgPgAgJgIwFgBQcDMACR2DC2A3utmdgA4BOAlgG5jACm2NAdsNgPpsCuUDADa8mEANyly1eoxYBjAPZsIndpx68AnlEEKFFCNgC82JAAYLZiWnKVaDZrnPcA5rxoATY9gDi7jwB0AHJMAO5+ngAUAJQBACoKAMrAtGwuMda20g4sVExgHkqCmk5mrv4I3hGBIeH+MfFJKezp0daSZFi4ACzYyakuAKIAjrxgghAA8lQe7OMxHcSLtgBmClTYkWqs3lY7ADzcfNq6+uKsANQX0cu25DQrm3DmASNjE5Fcbp4ANOWeCD+/Ra+AUUAoYFoECUAWmszY42iNxsd1Rtg0AnGIggV0y5AAvuhFl04L1gWk3uMIAsUWQSLS7msNlsODsTHsaNhDhoTnoDGJLtdbqiHk8XpSPl9/H8pQCkcK0WQMUJsbjFoS0MScKTsBKIHqabZ6YqmZttpz2QLOdzjjo+ecaFdkYrbKLPt8vEYTLKPAhnS7UcqsaI1QyNfigA==
In my spare time I will run the benchmarks on some runtimes.
The note in documentation is a strong argument. I think it's a matter of choice between simplicity and preciseness.
Even .NET library breaks it https://source.dot.net/#System.Private.Xml/System/Xml/Core/XmlReader.cs,781 😄

@lechu445 my tests have shown a big improvement by just dropping the parameter: StringComparison.Ordinal.
Would it make sense to modify this PR to just drop the parameter?
Rebase against current dev and then drop in?

@brentschmaltz yes, it totally makes sense to just drop StringComparison.Ordinal.
Working on it. The rebase will be ready in max 1 hour.

@brentschmaltz Done. I also found more places where StringComparison.Ordinal could be removed from string.Equals

@lechu445 Thanks!


Updated k8s scripts for benchmarking efforts

Contains the following updates:

Improvements for multiple clusters under the same project
Can create more nodes than vttablets
Added vtgate benchmarking templates (for GOMAXPROCS)
Retry logic when setting node labels
Can specify number of VTGate replicas
Default vtgate template to use external load balancer.
Newrelic monitoring (mysql plugin not currently used, breaks replication)

@enisoc @henryanand

LGTM

LGTM!


Support Hot Reload, Hot Restart and build without cleaning with projects built with Redux

From what I understand, the way hot reload works isn't built to work with the way redux manages state. This means a hot reload does nothing, and neither does a hot restart, (in my case at least) no matter what channel I'm on, I have to stop the application, run flutter clean and then build in order for any changes to show up.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.14.1 18B50c, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
[✓] VS Code (version 1.28.2)
[✓] Connected devices (1 available)
• No issues found!

Hot reload works fine in my project with built_redux. I don't see why it wouldn't with redux as well.
You need to be more specific about what the current and expected behavior is and what exactly is not working as expected.

OK. The project I'm in uses flutter_redux I think it's called. I don't know
how to reproduce it. I don't know Redux well, so I can't reproduce it
myself. Is there anything else I can provide to give more details?
On Wed, Oct 31, 2018, 12:46 AM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

Hot reload works fine in my project with built_redux. I don't see why it
wouldn't with redux as well.
You need to be more specific about what the current and expected behavior
is and what exactly is not working as expected.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/23763#issuecomment-434591316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV-HfVvcQIFRAANCgQJfFBrFVdyB70plks5uqVVogaJpZM4YDVV_
.

From what I understand, the way hot reload works isn't built to work with the way redux manages state.

I'm pretty sure that is not true.
If you have to run flutter clean then it's not related to hot reload anyway.
There were some similar issues reported.
You could check if it works better with Flutter master channel.

I tried it on all channels and I had the same issue. I don’t see what the issue could be. I’d like to troubleshoot, but whatever the issue is is deep since only a clean fixes it

On Oct 31, 2018, at 1:33 PM, Günter Zöchbauer<EMAIL_ADDRESS>wrote:
From what I understand, the way hot reload works isn't built to work with the way redux manages state.
I'm pretty sure that is not true.
If you have to run flutter clean then it's not related to hot reload anyway.
There were some similar issues reported.
You could check if it works better with Flutter master channel.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/flutter/flutter/issues/23763#issuecomment-434837304, or mute the thread https://github.com/notifications/unsubscribe-auth/AV-HfTPnjqqpr7KFxjKPlGl0dDUueMSsks5uqgkBgaJpZM4YDVV_.

It works with the master channel now, thank you

But subsequent builds don't reflect changes made without a flutter clean

I assume this is Android only, right? Or have you tried on iOS as well?
Is this the same with emulator and real device?

When running flutter run from the terminal, I'm already at 8 successful hot reloads without issue.
I also noticed this success when using the emulator and running the project from the terminal.

@zoechi, here's a new example project. Same issue. After hitting hot restart, it hangs and the crashes. (the debugger)
https://github.com/ThinkDigitalRepair/flutter_redux_example
Same on Android or iOS.
Unhandled exception:
TimeoutException: Request to Dart VM Service timed out: _flutter.runInView({viewId: _flutterView/0xafeb4f8c, mainScript: file:///data/user/0/software.thinkdigital.flutterreduxexample/cache/flutter_redux_examplePSRNNK/flutter_redux_example/lib/main.dart.dill, packagesFile: file:///data/user/0/software.thinkdigital.flutterreduxexample/cache/flutter_redux_examplePSRNNK/flutter_redux_example/.packages, assetDirectory: file:///data/user/0/software.thinkdigital.flutterreduxexample/cache/flutter_redux_examplePSRNNK/flutter_redux_example/build/flutter_assets})
#0      VM.invokeRpcRaw (package:flutter_tools/src/vmservice.dart:842:9)
<asynchronous suspension>
#1      VM.invokeRpc (package:flutter_tools/src/vmservice.dart:859:49)
<asynchronous suspension>
#2      VM.runInView (package:flutter_tools/src/vmservice.dart:925:12)
#3      FlutterView.runFromSource (package:flutter_tools/src/vmservice.dart:1425:20)
<asynchronous suspension>
#4      HotRunner._launchInView (package:flutter_tools/src/run_hot.dart:402:24)
#5      HotRunner._launchFromDevFS (package:flutter_tools/src/run_hot.dart:417:19)
<asynchronous suspension>
#6      HotRunner._restartFromSources (package:flutter_tools/src/run_hot.dart:483:11)
<asynchronous suspension>
#7      HotRunner.restart (package:flutter_tools/src/run_hot.dart:546:46)
<asynchronous suspension>
#8      AppInstance.restart (package:flutter_tools/src/commands/daemon.dart:812:19)
#9      AppDomain.restart.<anonymous closure> (package:flutter_tools/src/commands/daemon.dart:479:18)
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
...

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.10.2-pre.121, on Mac OS X 10.14.1 18B75, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
[✓] VS Code (version 1.28.2)
[✓] Connected device (2 available)
• No issues found!

This same project is now running without a hitch. Maybe it's something in the code...

So this is still an issue. It's probably not redux related, as you've said, but it's with the same project. I get old code if I don't flutter clean in between builds. After a few hot reloads, it'll hang and if I don't clean, it won't show new changes. Not even changes done after the build and a subsequent hot reload.

Flutter 1.0.0 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5391447fae (5 weeks ago) • 2018-11-29 19:41:26 -0800
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)


WFLY-20068 Upgrade wildfly-clustering to 5.0.3.Final.

Also, WFLY-20090 Distributed timer scheduling can fail due to unmarshallable metadata (as this would otherwise fail more often if left unaddressed)
https://issues.redhat.com/browse/WFLY-20068
https://issues.redhat.com/browse/WFLY-20090
Change of note in wildfly-clustering 5.0:

Dependency alignment with WF35
Permits concurrent session access on a single cluster member at a time by default
Segment-based cache iteration optimizations

Team City overview for this: https://ci.wildfly.org/project.html?projectId=WF_PullRequest&branch_WF_PullRequest=pull%2F18509

Thanks @pferraro and @rhusar


Crop section shows some console logs

Something like the following:

Is this from uppload? or its dependencies?
Thanks for this awesome uploader btw. ❤
EDIT: BTW the vue wrapper package.json seems out of dated.

Hi @chanlito, thanks for reporting this! I pushed an update to cropping yesterday and must've left these in by mistake. I'll push a new release today with fixes to both these issues.


user service tests + course controller tests + fixed minor dto changes

user service tests + course controller tests + fixed minor dto changes

[x] Code

[x] Testing

[x] My code follows the code style of this project.

[x] All new and existing tests passed.

[x] My changes generate no new warnings

[x] The title of my pull request is a short description of the requested changes.

@Abhishek-kumar09 the complete mockup unit tests implementation of user service and initiliisation of course controller unit tests.
This PR is in continuation of PR #90


Add log for each Sub

log.debug("Starting Sub 'subname'.") for main path
log.trace("Starting Sub 'subname'.") if in loop

Should do "Ending Sub 'subname'." also


Refactor service architecture for better visibility.

This is a proposal for a new service architecture to gain visibility.
It should not break the previous configuration of the bench.

Closes, superseded by https://github.com/spacetelescope/catkit2/pull/254.


Options

I frequently include images in comments (because we share final output in PRs for product team to review) and missing the file upload makes me turn the whole thing off. The ability to enable/disable features would be awesome.
Nice work!

@lloydwatkin You can just drag and drop images, that's still working. The extension just removes the buttons which are not really necessary when you already know Markdown and GitHub.


[tool_crash] FileSystemException: Cannot create link, OS Error: File exists, errno = 17

Command
flutter pub get --no-example

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot create link, OS Error: File exists, errno = 17
#0      _Link.throwIfError (dart:io/link.dart:339:7)
#1      _Link.createSync (dart:io/link.dart:267:5)
#2      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#3      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#4      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:985:12)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:907:5)
#6      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1022:5)
<asynchronous suspension>
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:379:5)
<asynchronous suspension>
#8      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:383:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)

[✓] Flutter (Channel stable, 3.24.3, on macOS 14.6.1 23G93 darwin-x64, locale en-VN)
    • Flutter version 3.24.3 on channel stable at /Users/kien.ngo/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (6 days ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/kien.ngo/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/kien.ngo/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.93.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.96.0

[✓] Connected device (3 available)
    • SM A505F (mobile) • R58M72N9BFH • android-arm64  • Android 11 (API 30)
    • macOS (desktop)   • macos       • darwin-x64     • macOS 14.6.1 23G93 darwin-x64
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 128.0.6613.138

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 2663184aa79047d0a33a14a3b607954f8fdd8730
Plugins
flutter_webview_plugin-0.4.0
url_launcher-6.3.0
url_launcher_android-6.3.10
url_launcher_ios-6.3.1
url_launcher_linux-3.2.0
url_launcher_macos-3.2.0
url_launcher_web-2.3.3
url_launcher_windows-3.1.2

Hi @tms-kienngo, do you get this issue every time you run the app or was it a one time occurrence? If it reproduces consistently, can we get the full output of flutter pub get --no-example -v?
Thank you


How do I specify Content Rating, Application Type, Category using 'Supply'?

New Issue Checklist
I am using 'supply' for Android.  How can I specify the Content Rating, Application Type and Category that is required to upload a NEW application to the play store?

[ x] Updated fastlane to the latest version
[ x] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used
INSERT OUTPUT HERE

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# INSERT CONTENT HERE

Environment
fastlane version (run fastlane -v):
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?

@LovesBruins Thanks for reaching out. Did you follow the steps on this page to get initialized? https://github.com/fastlane/fastlane/tree/master/supply
Thanks!

Hi Todd,
Yes I did follow the steps.  Coincidentally I did not see the FeatureGraphic downloaded.  Even in the instructions there is no way to specify these parameters.

Thanks @LovesBruins! Can you show me the contents of your Fastlane dir? I want to make sure that is setup right 👍 Do you have a metadata path set?

It is not possible to upload a NEW application the Play Store with supply (Google does not expose that ability via API). You can only make updates to an existing one. 👍

Hi Andrea,
Thank you so much for this information.  I was leaning toward that answer
anyway.
/Loren
On Thu, Jun 2, 2016 at 4:11 PM, Andrea Falcone<EMAIL_ADDRESS>wrote:

It is not possible to upload a NEW application the Play Store with supply
(Google does not expose that ability via API). You can only make updates to
an existing one. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/4845#issuecomment-223407321,
or mute the thread
https://github.com/notifications/unsubscribe/AQR8KfSevW3DoZsoZs5ATxdPc34PiFKvks5qHzjggaJpZM4ImqO5
.

--
*Loren Rogers *| Android Developer
Retrieve Technologies
100 Commercial Street | Manchester, NH 03101
*Twitter https://twitter.com/retrievetech | Facebook
https://www.facebook.com/retrievetech/?fref=ts | LinkedIn
https://www.linkedin.com/company/retrieve-technology | Website
http://www.retrieve.com/ *

Going to close this issue for now. 🌷


"Process could not be started" during docker build

I can see following error in Docker logs that appears every time I execute 'docker build -t IMAGE_NAME .':
UPDATE: Same error when doing 'docker run'...
Feb 03 09:44:22 naboo docker[1649]: time="2015-02-03T09:44:22+01:00" level="info" msg="POST /v1.16/build?rm=1&t=openshift%2Fsti-image-builder"
Feb 03 09:44:22 naboo docker[1649]: time="2015-02-03T09:44:22+01:00" level="info" msg="+job build()"
Feb 03 09:44:23 naboo docker[1649]: time="2015-02-03T09:44:23+01:00" level="info" msg="+job allocate_interface(05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5)"
Feb 03 09:44:23 naboo docker[1649]: time="2015-02-03T09:44:23+01:00" level="info" msg="-job allocate_interface(05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5) = OK (0)"
Feb 03 09:44:23 naboo docker[1649]: time="2015-02-03T09:44:23+01:00" level="info" msg="+job log(start, 05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5, centos:centos7)"
Feb 03 09:44:23 naboo docker[1649]: time="2015-02-03T09:44:23+01:00" level="info" msg="-job log(start, 05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5, centos:centos7) = OK (0)"
Feb 03 09:44:28 naboo docker[1649]: time="2015-02-03T09:44:28+01:00" level="info" msg="+job release_interface(05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5)"
Feb 03 09:44:28 naboo docker[1649]: time="2015-02-03T09:44:28+01:00" level="info" msg="-job release_interface(05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5) = OK (0)"
Feb 03 09:44:28 naboo docker[1649]: time="2015-02-03T09:44:28+01:00" level="info" msg="+job release_interface(05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5)"
Feb 03 09:44:28 naboo docker[1649]: time="2015-02-03T09:44:28+01:00" level="info" msg="-job release_interface(05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5) = OK (0)"
Feb 03 09:44:28 naboo docker[1649]: time="2015-02-03T09:44:28+01:00" level="error" msg="Warning: error unmounting device 05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5: UnmountDevice: device not-mounted id 05f15f34998f4d01973bf4097bc1b6a6479294d75daac7ef8737a02d4ae086b5\n"
Feb 03 09:44:28 naboo docker[1649]: Process could not be started
Feb 03 09:44:28 naboo docker[1649]: time="2015-02-03T09:44:28+01:00" level="info" msg="-job build() = ERR (1)"

The docker info output:
Containers: 3
Images: 71
Storage Driver: devicemapper
 Pool Name: docker-8:3-17071968-pool
 Pool Blocksize: 65.54 kB
 Data file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
 Data Space Used: 4.027 GB
 Data Space Total: 107.4 GB
 Metadata Space Used: 4.895 MB
 Metadata Space Total: 2.147 GB
 Library Version: 1.02.92 (2014-11-28)
Execution Driver: lxc-1.1.0
Kernel Version: 3.18.5-1-ARCH
Operating System: Arch Linux
CPUs: 4
Total Memory: 7.532 GiB
Name: naboo
ID: NZI2:LBG7:K7IA:7U4J:2P3I:Q5XS:IJX6:QFHE:Z6OQ:JFAM:BVFI:HLAF
Username: mfojtik
Registry: [https://index.docker.io/v1/]
WARNING: No swap limit support

This is reproducible with the latest master as well. Removing /var/lib/docker/* does not help either.

see https://gist.github.com/mfojtik/065ce07a6398fde8b242 for additional info

also, this appears to be the same as #4036 but on 01b46c2 and udev sync shows to be true :-(

conversation https://botbot.me/freenode/docker-dev/msg/31111573/

Two possible workarounds here:

Use 'native' driver which seems to work
Downgrade to lxc < 1.1.0 which seems to fix this problem as well

@mfojtik , at this point lxc-1.0.7 is the supported version. Feel free to submit patches to make docker more compatible with lxc-1.1.0. Thanks for posting the issue.

Closed, since it was fixed with #10527


support InputDialog.value as an expression

#2867

Pull Request Test Coverage Report for Build 93045

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 78.344%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Input/InputDialog.cs
6
80.95%

Totals

Change from base Build 92948:
-0.4%

Covered Lines:
17600

Relevant Lines:
22465

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3


Compile error - AVX2 and fma features

I am running postgresql16 on ubuntu 22.04 with a 14900k cpu.
I have followed the instructions to compile from source on this page https://github.com/timescale/pgvectorscale/blob/main/DEVELOPMENT.md and am getting the following errors
Could you advise on how to proceed, please?
cargo pgrx install --release
       Using PgConfig("pg16") and `pg_config` from /usr/bin/pg_config
    Building extension with features pg16
     Running command "/home/linux/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo" "build" "--release" "--features" "pg16" "--no-default-features" "--message-format=json-render-diagnostics"
   Compiling pgrx-pg-sys v0.11.4
   Compiling pgrx v0.11.4
   Compiling vectorscale v0.2.0 (/tmp/pgvectorscale/pgvectorscale)
error: On x86, the AVX2 feature must be enabled. Set RUSTFLAGS="-C target-feature=+avx2,+fma"
 --> src/access_method/distance.rs:4:1
  |
4 | / compile_error!(
5 | |     "On x86, the AVX2 feature must be enabled. Set RUSTFLAGS=\"-C targe...
6 | | );
  | |_^

error: On x86, the AVX2 feature must be enabled. Set RUSTFLAGS="-C target-feature=+avx2,+fma"
  --> src/access_method/distance_x86.rs:10:1
   |
10 | / compile_error!(
11 | |     "On x86, the AVX2 feature must be enabled. Set RUSTFLAGS=\"-C targ...
12 | | );
   | |_^

error: On x86, the fma feature must be enabled. Set RUSTFLAGS="-C target-feature=+avx2,+fma"
  --> src/access_method/distance_x86.rs:16:1
   |
16 | / compile_error!(
17 | |     "On x86, the fma feature must be enabled. Set RUSTFLAGS=\"-C targe...
18 | | );
   | |_^

error: could not compile `vectorscale` (lib) due to 3 previous errors

can you try
RUSTFLAGS="-C target-feature=+avx2,+fma" cargo pgrx install --release

Thanks, that has helped move me forward but I have encountered new problems with the installation procedure.
With the new command I got a new error about a missing library
RUSTFLAGS="-C target-feature=+avx2,+fma" cargo pgrx install --release

error: linking with `cc` failed: exit status: 1
...
/usr/bin/ld: cannot find -lopenblas: No such file or directory
          collect2: error: ld returned 1 exit status

I fixed this issue by installing libopenblas
sudo apt-get install libopenblas-dev

Now compilation succeeds, but the copying of the file fails due to lack of permissions.
   0: failed writing `/home/linux/pgvectorscale/pgvectorscale/vectorscale.control` to `/usr/share/postgresql/16/extension/vectorscale.control`
   1: Permission denied (os error 13)

So I copied this file manually using sudo.
sudo cp vectorscale.control /usr/share/postgresql/16/extension

and then ran this SQL in pgadmin
CREATE EXTENSION IF NOT EXISTS vectorscale CASCADE;

and got the following error.
ERROR:  extension "vectorscale" has no installation script nor update path for version "@CARGO_VERSION@"

I figured the permissions issue out. I've added the necessary steps below in case anyone else is having the same issue.
change permissions on postgres extensions folder to allow postgres user access
sudo chown postgres -R /usr/share/postgresql/16/extension/
sudo chown postgres -R /usr/lib/postgresql/16/lib/

compile the code as the postgres user and specify target features
sudo -u postgres -i
RUSTFLAGS="-C target-feature=+avx2,+fma" cargo pgrx install --release

The following SQL should now work
CREATE EXTENSION IF NOT EXISTS vectorscale CASCADE;

Regarding that last permissions error, is there an easy solution here which doesn't require modifying the permissions for those two folders?


"Vendor" folder

Let’s wait until somebody asks before implementing but.. I think a vendor folder that just gets copied into the output could be a useful escape hatch. For example, if you have a global script that isn’t UMD-friendly, you want to have some way of importing it. With a vendor folder, you could just put it there, reference it from index.html, and read from window in your bundle.

Another option is for them to just require it in their main if they have one:
import {render} from 'react-dom';
import Routes from '../components/Routes';

require('./plugins.js');

if(__DEV__) {
  // Put the React object into the global window for easy debugging
  window.React = require('react');
}

render(Routes, document.getElementById('app'));

This way it will be part of the common bundle, so long at least as there is a shared parent bundle for every page.

This would also be useful for files referenced solely in index.html, like manifest.json, or apple-touchìcon.png, and scripts like web workers and service workers.

This would also be useful for files referenced solely in index.html, like manifest.json, or apple-touchìcon.png, and scripts like web workers and service workers.

Yep.

Hi there, I just bumped into this issue.
I am trying to implement this using copy-webpack-plugin but I can't figure out how to test my branch.
Are there are notes on doing this?
Ciaran

Does this help? https://github.com/facebookincubator/create-react-app#contributing
Also, we’d need to solve #21 first because this change will also have implications for it.

vendor doesn't seem like the right name here. Seems more like it should be something like "assets".  i.e. this is about serving files that don't need building, not necessarily files that have been vendored in.

Yeah, I agree it’s a bad name. (I don’t like assets because people will immediately think it’s the place to put their CSS and images in.. which it is not.)
Maybe we should just use html-loader and make it that <link href> is automatically rewritten and those files are also processed by webpack. I feel like this could solve the majority of cases (e.g. touch icons or vendor CSS sheets), and even use webpack’s features like content hashes.

I've been using static for some time now, with good understanding from the rest of the team(s) about it containing purely copied, unprocessed assets. It has been a useful crutch for when a resource path is dynamically generated and/or webpack processing is not required/wanted.

I like the name static - it's the folder name Django encourages, and it is also a pretty accurate description of what goes there - the files that are not dynamically generated by some process, but are just a static copy of what's in your filesystem. As opposed to assets which implies that it has to be some sort of image or media asset.

static looks like a better name than vendor or assets.

I love static, working on a PR now! 🚢

I actually agree with not having a special directory at all. All the
compiled files will be static assets anyway. I think just having babel load
resources referenced by html files would be better. This also gives you
more freedom in your folder structure.
On Tue, Jul 26, 2016 at 7:57 PM Héliton Nordt<EMAIL_ADDRESS>wrote:

static looks like a better name than vendor or assets.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/facebookincubator/create-react-app/issues/28#issuecomment-235351234,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtA1c3w9cK6QqOkQrYcv_Y2gq9yzE7Jks5qZkp4gaJpZM4JQQtC
.

Also worth noting that in general static assets should not go in this directory – they should just be imported and dealt with by webpack loaders. I.e. this is the wrong way to pull in e.g. Bootstrap CSS.

Bringing this up for discussion as noted in the Readme re:images
I think this style of loading images works for most cases
import logo from './logo.png';
<img src={logo} alt="Logo" />;

I worked on a project pre create-react-app where I had to work with roughly 5000 images.
The images were in directories roughly in this style img/large/building_type/texture_type/colour
Given x # of buildings and x # of colours the path to the images had to be dynamic
The filenames were all provided so this looks more complicated than it was but ... I ended up with this
const path = `${assetPath}/img/large/${buildingPath}`
const clad = `${path}cladding/amB${toTitleCase(building)}C_DR_${cladObj.file}.png`

For Local dev assetPath was '' for Prod it was roughly '/client/myapp/'
Bit crazy but it's a real world use case (perhaps a one off and not to worry about).
Creating import statements in such a case wouldn't make any sense.

In this case for prod I could easily  add the domain and get it to work but locally I don't think that would work with Webpack dev server.

Wasn't sure if I should even bring this up as it's not a typical setup but figured I should at least mention such a case.
Something like a Photo Gallery might be a more typical use case.

@timarney I sort of feel that for this use case you’re better off serving them from a local static server on a different port, and deploying them to a CDN in production.

@gaearon ya I think your right.  It's really only a problem for local dev and it fairly trivial to work around as you suggest.

i'm in the same kind of issue than @timarney , we have like sentry dns ... or api url  or other config key that depend on the server / env. It would be cool to be able to "load" a and external js/json/something file to "configure" our app at run time.

You have access to environment variables. This is documented in the usage guide in this repo. Does that help?

@gaearon yes I saw it... but it seems to help only for the dev version.. not for the builder one... Or I'm missing something?... I don't want those config variables into my compiled bundle... Because it change with every deployment

Do you mean that you want to deploy the same build output to different servers, and making a separate build for each environment separately would be a pain?

Hum... Didn't think about that... might be possible but not really practical... And the tooling to make the multiple builds for dev/prod has to be made...
But wat if i want to distribute as compiled bundle but still with configurable parts...
 Just sharing my current workflow/issues

You could post-process HTML for this like described here.
<head>
  <script>
    // $CONFIG
  </script>

You can replace // $CONFIG with something like window.CONFIG = { something: 42 } depending on environment before deployment, and you can have a fallback in your code if window.CONFIG doesn’t exist.

I’m closing because I’m coming to the conclusion that this is either unnecessary or out of scope of CRA.  We also give a single way to include images and other assets. I would prefer to keep it this way, and address other use cases on a case by case basis (e.g. #558).

I drafted a proposal to solve this in https://github.com/facebookincubator/create-react-app/pull/703. Unless we find some fatal flaws, it should come out in 0.5.0. Let me know what you think!

This is now supported in 0.5.0.
Read about using the new public folder.
See also migration instructions and breaking changes in 0.5.0.

Hi gaearon,  I'm still looking for what you asked in the op which was the ability to bring a pre-minified javascript file into the bundle without it passing through webpack's minifier.  Would it be possible to put this back on the to do agenda?

@gaearon

Possible workarounds are to delay the firing of "ReactDOM.render of  on #root until vendor files have loaded.  This would mean include the vendor files in public, and linking to them in public/index.html and have them fire events off the window after each of them have loaded

Hi gaearon, I'm still looking for what you asked in the op which was the ability to bring a pre-minified javascript file into the bundle without it passing through webpack's minifier. Would it be possible to put this back on the to do agenda?

Not into the bundle, but it's possible to put it into the public folder and load as a separate <script> tag. Does that help?

Thats what I meant in the post just before your reply.  It does mean figuring out a way to prevent the bundle from running before the other scripts have loaded

Can also bring the script in and let it pass thru the web pack minification again and hope it is fine (it should be theoretically)

The main bundle will always run last as far as I know. The bundle script is appended to the end of the document body.

The calls are made asynchronously so bundle can start running before one of the earlier scripts has returned its called

JS scripts wait for each other to execute. If your earlier script needs to do something async then you should export a global that lets the other script to wait:
// myscript.js
window.waitForThingsToHappen = function() {
  return fetch(/* ... */).then(/* whatever */);
}

// index.js
window.waitForThingsToHappen().then(() => {
  ReactDOM.render(<App />, root);
});

Got it. Thanks @gaearon


Modal on top of Aside

Is there a way to have a modal on top of the Aside.  When I try and click a modal it opens below the aside.

Please check z-index values.

Hi @dbtek ... I'm sorry but I was wondering if you could help me a little more with this.  I tried adding the following the the $uibModal.open:
backdropClass: 'modal-on-modal',
And added the following to my css file:
.modal-backdrop.modal-on-modal { z-index: 20000; }


Issue: Setup AWS Load Balancer Controller on Fargate Chapter

Error when create the CRD's for the Target Group Biding:
Error:
zsh: no matches found: github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master

Solution:
kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller/crds?ref=master"

Instead of:
kubectl apply -k github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master

Hi lusoal,
Thanks for posting the issue. I have ran the same setup as mentioned in eksworkshop in a cloud9 environment.
However, it did not give any error.

In case you are using a different bash shell/environment details - please let me know.


the latest tool can not show the pkl file correctly

Lossing the name and shape information of node, thelatest version(7.8.4 exe) can not show the pkl file correctly,  which is not existing in old version.

@SKTZ-ER can you please share a sample file and provide repro steps for this issue.


no network any more

Windows Version
Microsoft Windows [Version 10.0.22621.2715]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Start WSL
Expected Behavior
network access available
Actual Behavior
no network access (presumably since update KB5032007 or KB5032190)
Before network access worked
.wslconfig in user folder not present
Now I first got error message "Fehler beim Konfigurieren des Netzwerks (networkingmode NAT)". wsl2 did not reach command prompt at all
Then I tried different settings in .wslconfig for wsl2.networkingMode: NAT and mirrored
With these settings in .wslconfig wsl2 reaches command prompt but there is no network connection
command 'ip link show' shows only lo but no eth
Diagnostic Logs
No response

/logs

Same, my computer auto-updated last night and apparently installed WSL <IP_ADDRESS>. I receive this error this morning:
Failed to configure network (networkingMode Nat). To disable networking, set `wsl2.networkingMode=None` in C:\Users\gregz\.wslconfig

Logs attached
WslLogs-2023-11-18_11-59-10.zip
I also checked HyperV Firewall settings as suggested by jtabox. My settings were:
Enabled               : True
DefaultInboundAction  : Block
DefaultOutboundAction : Allow
LoopbackEnabled       : True
AllowHostPolicyMerge  : True
Changing it to this did not resolve the issue (no reboot done, is reboot required?)
Enabled               : True
DefaultInboundAction  : Allow
DefaultOutboundAction : Allow
LoopbackEnabled       : True
AllowHostPolicyMerge  : True
Also this setting does not work
Enabled               : False
DefaultInboundAction  : Allow
DefaultOutboundAction : Allow
LoopbackEnabled       : True
AllowHostPolicyMerge  : True

Reinstalling VM Platform as described in the link below solved this issue.
https://github.com/microsoft/WSL/issues/10755#issuecomment-1813569202
Reconfiguring HyperV Firewall was not necessary, WSL2 works for me with initial Firewall settings after reinstalling VM Platfrom

Could you please follow the steps below and attach the diagnostic logs? This is new script to scrape better logs.  https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues

I have this issue after windows updates today. I have uninstalled Hyper-V completely and still cannot launch WSL.


passedPrerequisitesForCourse

This function will check whether a student can choose a course.
But the passed course must pass before this semester.
This function doesn't know what semester is now. How could I check the passedPrerequisitesForCourse
Just ignore the time and check the score of the student directly?

If the student has any course score record that is passed (>=60 or PASS), then he has passed the course.

Duplicate with https://github.com/NewbieOrange/SUSTech-SQL-Project2-Public/issues/39.


Definition provider not able to detect modules in multi require/import/use syntax

I'm using the last version of the plugin (0.13.0) but it seems that somehow the package elixir_sense is not correctly updated.
The symptom I have is not being able to go to the definition of multiple uses:
defmodule A do
  use B.C.{D, E}
end

I can click on D and correctly go to its definition but not on E.
The strange thing is that if I add :elixir_sense (from its master on github) on my app deps, I get a lot of warnings on the ElixirLS output panel:
[Warn  - 10:56:15 PM] warning: redefining module ElixirSense.Providers.Suggestion (current version loaded from /home/user/.vscode-insiders/extensions/jakebecker.elixir-ls-0.13.0/elixir-ls-release/elixir_sense-2.0.0.ez/elixir_sense-2.0.0/ebin/Elixir.ElixirSense.Providers.Suggestion.beam)
  lib/elixir_sense/providers/suggestion.ex:1

but then the "Go to definition" command starts to work. After cleaning up that dep on my app the broken behavior comes back.
It seems like the plugin is using an outdated version of :elixir_sense but I can't figure out how that is possible...
Unfortunately I cant get the commit sha of :elixir_sense from the .ez archive

@lukaszsamson, hi! It doesn't work for aliases as well. At least with newest version (elixir 1.17.3-otp-27).
For example, in freshly generated phn.gen.auth code, in line alias MyApp.Accounts.{User, UserToken, UserNotifier}, the last UserNotifier alias doesn't work: doesn't perform go to, and doesn't show docs on mouse hover. While the rest (all previous) aliases in multi-expression do work well.


[feature]add arrow type for streamload

Proposed changes
add arrow type for streamload
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

The writeRecord method of DorisStreamLoad or DorisBatchStreamload will splice lineDelimiter characters (\n). Will it have any impact when arrow format writing is enabled?

Only RowDataSerializer has been modified. Is it because other Serializers cannot obtain the written data type?

The writeRecord method of DorisStreamLoad or DorisBatchStreamload will splice lineDelimiter characters (\n). Will it have any impact when arrow format writing is enabled?
Will not be affected because lineDelimiter will be set to null when using arrow.

Only RowDataSerializer has been modified. Is it because other Serializers cannot obtain the written data type?

Yes


[Feature]: support .tool-versions in parent directories

asdf supports creating a .tool-versions in some directory. These versions are used in this directory and all sub-directories (see)
1. Your usage scenarios?
create following structure
test
- .tool-versions => nodejs 21.x
- foo
- - .tool-versions => nodejs 22.x
- bar
- - no tool-versions

If I access ~/test/bar I always want to have Node Versoin 21.x active. At the moment the previous node version is active

2. What is your expected outcome?
The idea is that I can automatically activate the respective version for certain folder structures without having to actively maintain this in each directory.

Relatedly, when no .tools-version is present in the parent directory hierarchy:
   test-parent
   - test
   - .tool-versions => nodejs 21.x

When in test one expects, nodejs 21.x, but when in test-parent one expects node to be missing, but instead it depends on how you've traversed the directories.
So for example, the output of these commands in a new shell is not consist in the test-parent directory:
cd test-parent
node --version
cd test
node --version
cd ..
node --version

The output is:
shell: node not found
nodejs 21.x
nodejs 21.x

Expecting:
shell: node not found
nodejs 21.x
shell: node not found

Thank you for such detailed advice!
Related #228.
The current behavior is

if you have a .tool-version in your project (project/.tool-versions), that version will be used in the current shell, regardless of whether you switch directories or not, the version is not changed until the next .tool-versions file is encountered, or vfox use command is executed manually.

Given the need for real users who want this functionality, I'm considering aligning vfox to behave as described in the current issue. ;)


New Contribution

Contributor: [contributor information - Optional]
SSH Public key: [contributor SSH public key (if you don't have one, submit the issue to receive instructions)"- Required]
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMOmLCgJN9mReSRhHdgH+R/nqmdgMHH+BLXdpDR2HCXk


Calendar example has TypeError at dominstr.js 116

The calendar example () throws this exception for all mouse clicks:
14:23:05.566 TypeError: can't redefine non-configurable property "innerText"
DOMInstr/this.start() dominstr.js:116
opts.hooks.willRedraw() calendar.html:70
u.execAll/<() util.js:64
forEach() self-hosted:216
u.execAll() util.js:63
redraw() view.js:195
call() util.js:110
1 dominstr.js:116:1

FireFox: 44.0.2 on Windows 10.0.10240.

huh. i wonder if they moved which prototype innerText lives on.
works okay for me in Firefox 45 (current). can you please verify?

ah, that's right, it's non-standard Microsoft stuff. Looks like Mozilla just added it in 45 [1]
i didn't notice this whole time cause i'm usually on Nightly which is already at 48.0a1.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText

it should actually just be removed. innerText is not used anywhere in the lib. i think when i was writing the instrumentor i wanted it to just be generic so figured i would cover all DOM manip methods.
if you want to PR the removal, i'll merge it. otherwise give me a bit.

I don't mind doing the PR. I've not done one before (gasp), so be merciful. But I looked into the code already to track down the source.
I have the latest production FF pending update; came down about half an hour ago, but I haven't restarted it yet.

dont worry about it.
done in https://github.com/leeoniya/domvm/commit/e8ed270556d78dc3118a2f28f62558f7b3a89c02


For #23600 #23598 #23597 #23594 #23592 #23591

#23590

@balhoff If these were not pH 7.3, would the PR fail?

It's supposed to. Although I just updated the pH 7.3 file after you merged this, so hopefully nothing slipped through. If it did, we will start seeing errors on any new PRs.


Check Box Title

How do we set title to the button? So the user can either click on the checkbox or the title of the check box.
Thanks before hand!

My Solution: I give the action to the button and here is the snap of code:

@IBAction func StudentAction(_ sender: Any) {
var CheckBoxEnable = false
if CheckBoxEnable {
StudentCheckBox.isSelected = false
StudentEnable = false
} else {
StudentCheckBox.isSelected = true
CheckBoxEnable = true
}
}


Adding code of conduct to reference knative/community's CoC

@dprotaso @evankanderson could I please get a lgtm for this PR ?


Update JDK14 to use zip installer as Jenkins has stopped support

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Update JDK14 to use zip installer as Jenkins has stopped support
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/2604
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Note that I have made adjustment to the archive.
I have removed the 1st level of subdirectory so after extraction it will appear as bin  conf  include  jmods  legal  lib  man  release  test and is ready to use from the start.
The autoinstaller will do this for you but for zip archive installer it will not do so. Therefore I manually strip the 1st level subdirectory and upload to ci.opensearch.org.

Original tar: https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.2%2B12/OpenJDK14U-jdk_x64_linux_hotspot_14.0.2_12.tar.gz

Also as we mentioned before since this is only used for gradle check, it has only the linux version of the JDK.

Added new logs:
Unpacking https://ci.opensearch.org/ci/dbc/tools/OpenJDK14U-jdk_x64_linux_hotspot_14.0.2_12.zip to /var/jenkins/tools/hudson.model.JDK/openjdk-14 on EC2 (Amazon_ec2_cloud) - jenkinsAgentNode-Jenkins-Agent-Ubuntu2004-X64-C524xlarge-Single-Host (<>)
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] echo
Install openjdk-14
[Pipeline] sh
+ ls /var/jenkins/tools/hudson.model.JDK/openjdk-14/..
+ grep openjdk-14
openjdk-14


[Video] add a video export button

From this issue: https://github.com/Inria-Asclepios/music/issues/585
This PR adds an export button at the bottom right of the app.
I tried a lot of cases before finding this one. Indeed, in order to export a 4D volume or mesh, i use vtkOggTheoraWriter (need access to VTK), and it needs to get screenshots of the current view (access to Workspace/View) thanks to the medTimeLineParameter (access to View). And, it was not ergonomic enough to create a toolbox for that purpose. So, the best thing at the end was to create a button next to the screenshot button, and add a process plugin in musicPlugins (NB moved now in medinria-public).
We need to compile VTK with a video parameter: https://github.com/Inria-Asclepios/medinria-superproject/pull/17

:m:

Add time and shift display from https://github.com/Inria-Asclepios/music/issues/606

The core application code should not use a process from an external plugin.  The export video plugin should be in the core plugins, not in musicPlugins.

I'm still working on this topic right now (adding rotating meshes), but ok, i take into account your comment

Ok (if this isn't ready for review, remember to put the invalid tag)

in fact i could add an other PR, that's why i did not put this PR at invalid, this code is not invalid :). I'll see if i add the second recording feature here or in an other PR at the end

Done \o


Update hello.cpp

Hi!
Sorry but this PR doesn't add or fix anything relevant.

Ok
On Tue, Oct 15, 2019, 2:18 PM James<EMAIL_ADDRESS>wrote:

Hi!
Sorry but this PR doesn't add or fix anything relevant.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/memsharded/hello/pull/2?email_source=notifications&email_token=ALLKOIWY3EXTAHYGN6KAY4TQOV7XLA5CNFSM4JAYD7N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBH6VKI#issuecomment-542108329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLKOIUXOI5ZTGFL6GT6RVTQOV7XLANCNFSM4JAYD7NQ
.


Update project to support python 3.9

Now, Apache Beam's Python SDK supports Python 3.9. Thus, we should target this python version.
To this end, we need to update our tox versions, CI, setup.py file, etc.

hey sir  can i work on it ...?
i think i go through this steps like

Update tox.ini
Update CI Configuration
Update setup.py
like this if some  require i can fix it

I’d talk to @mahrsee1997 or @deepgabani8  to see what the best implementation path is at this point.