mkgmap-splitter: 598 -> 642

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for mkgmap-splitter is: "Utility for splitting OpenStreetMap maps into tiles"
meta.homepage for mkgmap-splitter is: "http://www.mkgmap.org.uk"
meta.changelog for mkgmap-splitter is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/ndn0j3zr9mmxpr08v6j0w26qyxr0bppl-splitter-642/bin/splitter passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 642 with grep in /nix/store/ndn0j3zr9mmxpr08v6j0w26qyxr0bppl-splitter-642

found 642 in filename of file in /nix/store/ndn0j3zr9mmxpr08v6j0w26qyxr0bppl-splitter-642

directory tree listing: https://gist.github.com/ab67405f1d2b24a8a0b90d7754676a13

du listing: https://gist.github.com/5865e73af0a15b393f54e45ea088b7b1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
mkgmap-splitter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ndn0j3zr9mmxpr08v6j0w26qyxr0bppl-splitter-642 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mkgmap-splitter https://github.com/r-ryantm/nixpkgs/archive/13911f0cc4d67936dabcd4c6cd48911b249211fe.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ndn0j3zr9mmxpr08v6j0w26qyxr0bppl-splitter-642
ls -la /nix/store/ndn0j3zr9mmxpr08v6j0w26qyxr0bppl-splitter-642/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

mkgmap-splitter

Maintainer pings
cc @sikmir for testing.

Result of nixpkgs-review pr 137486 at 13911f0c run on x86_64-linux 1

1 package built successfully:

mkgmap-splitter

3 suggestions:

warning: missing-phase-hooks
checkPhase should probably contain runHook preCheck and runHook postCheck.
Near pkgs/applications/misc/mkgmap/splitter/default.nix:57:3:
   |
57 |   checkPhase = "ant run.tests && ant run.func-tests";
   |   ^

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/applications/misc/mkgmap/splitter/default.nix:53:3:
   |
53 |   buildPhase = "ant";
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/applications/misc/mkgmap/splitter/default.nix:59:3:
   |
59 |   installPhase = ''
   |   ^


refactor(sneak): Move to feature project

This consolidates all the moving parts of the sneak functionality (the model, updater/'store connector', view, and global mutable state), and silos it into a Feature_Sneak project.
Less cross-cutting concerns, and more can be tucked away behind the Feature_Sneak interface as implementation details.

/azp run


Set query parameter for array of primitive types

Just a rebase of #886  onto the latest changes in master.
Fixes #883

Failing tests seem to be because of a network hiccup 😅

thanks @dhruvCW … is it an addition to #927? if yes, then I think some things can be refactored, especially stuff from the array_param_type method, or is it an rebase mistake?

it indeed builds on top of #927 specifically handling the case when an array parameter is incorrectly mapped as formData even when it's part of a GET request. This PR also fixes the problem wherein array parameters always default to formData (this was missed in #927)

I think some things can be refactored, especially stuff from the array_param_type method, or is it an rebase mistake?

could you point them out please 😅 I just rebased the change so I haven't given the implementation itself much thought 😅

thanks @dhruvCW

thanks for merging the change ❤ . Could we get a release soon ? This and the previous PR would help fix a long standing issue with the generated swagger docs.

released


swaggerv2doc error: for tag in api_desc['tags']: KeyError: 'tags'

tags is an optional field, and it happens to be missing in my Swagger file. So the extension fails with a KeyError:
Unable to process URL: http://localhost:8000/swagger.json
Traceback (most recent call last):
  File "c:\users\moigagoo\projects\job\ref_sdp_api\.venv\lib\site-packages\sphinx_swagger\swaggerv2_doc.py", line 151, in run
    groups = self.group_tags(api_desc)
  File "c:\users\moigagoo\projects\job\ref_sdp_api\.venv\lib\site-packages\sphinx_swagger\swaggerv2_doc.py", line 125, in group_tags
    for tag in api_desc['tags']:
KeyError: 'tags'

I tried working around this by adding:
if 'tags' not in api_desc.keys(): return groups

and the error does not pop out this way, but there's no output as well. I haven't tried other approaches yet.

UPD: Adding tags to the top level works around the issue, but there are other points where similar mistake leads to an error:
Unable to process URL: http://localhost:8000/swagger.json
Traceback (most recent call last):
  File "c:\users\moigagoo\projects\job\ref_sdp_api\.venv\lib\site-packages\sphinx_swagger\swaggerv2_doc.py", line 159, in run
    section += self.make_method(path, method_type, method)
  File "c:\users\moigagoo\projects\job\ref_sdp_api\.venv\lib\site-packages\sphinx_swagger\swaggerv2_doc.py", line 118, in make_method
    swagger_node += self.make_parameters(method['parameters'])
KeyError: 'parameters'

I was able to get it to work by providing a swagger V2 spec as follows:
top level - a list of tag objects
...
"tags" : [
      {
         "name" : "category"
         ...
      },
...

operation level - a list of tag names (find Operation Object / Fixed Fields in the swagger specs)
"/category/{id}/" : {
         "get" : {
            ...
            "tags" : [
               "category"
            ],
            ...
         },
...


Problem Adding .AARS Dependency

Issue details
I want to use CMUSphinx in conjunction with libgdx to add voice recognition to the game. In order to use the CMUSphinx library, I need to create a new .aars module in the project. However, when I tried to compile the module in the core build.gradle as a dependency, I got the following error from android/build.gradle:

Module 'ZombieBird:core:1.0' depends on one or more Android libraries but is a jar.

I have tried to compile the module within the android build.gradle and it works fine, I could use methods  etc. in CMUSphinx library in the android module. However, I still can't use them in the core module.
Reproduction steps/code

Create a libgdx project

Create (import) new .AARS module with name 'aars'

Compile the .AARS module in core build.gradle with the following code:
dependencies {
compile project(':aars')
}

Version of LibGDX and/or relevant dependencies
1.9.5
Stacktrace
N/A
Please select the affected platforms

[X ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[ ] MacOS

Thank you in advance for your help.
-Justinus

Shouldn't the .AARS module go in the Android project? Why are you trying to add Android-specific libraries to the core project?

Yes, I actually created an AARS module in the root project. However, I need to reference it in the core module, as I want to add voice recognition to the game. I created a voice input handler class in the android module, but for some reason every time I reference an object in the core module, the game crashes. Therefore I thought the input handling should be done within the core.

Sound like you want to interface with platform specific code.

Hello! I'm very happy to find someone trying to mix pocketsphinx with libgdx, I'm doing it too..
We could help each other, what I did was paste the aars and models folder in the android folder .. then simply import the two projects
File> New> New module and choose Import Gradle Project (in android studio)
Then in build.gradle (android) copy those projects into dependencies ..
dependencies {
compile project(':aars')
compile project(':models')
}
Obviously this can only be accessed from the android module, That's where my question comes from, why do you want to access from the core? As I have researched pocketsphinx should be run through a thread while the game (libgdx) is "running normally", I mean that pocketsphinx is specific to android .. we could listen pocketsphinx through an interface.
If you manage to do it the way you are posing please tell me how, i have like 1 months trying to make pocketsphinx-demo with an libgdx ui.

@MobiDevelop Thank you, that might be it! I'll try it tonight and give an update.
@josemiguelgames Same here! I have searched and searched for hints but it seems no tutorial exist out there specifically for pocketsphinx interface with libgdx at the moment (or any Android game voice command tutorial). As you have said, I managed to compile pocketsphinx into the android module, albeit through a slightly different method. I am also utilizing my own grammar instead of the one provided in the demo, but the rest is the same.
I have tried a couple approaches of trying to make it to work:

I simply copy pasted the code in the android launcher, with some adjustments to not disrupt the launcher itself. Using this method, I successfully made the code "work" with voice recognition thread running. However, the game becomes laggy.
I tried to create a voice input helper class and pasted the demo code in it. However, whenever I called it in the launcher, the game crashed upon initialization.

I have a couple questions, if you don't mind:

How did you implement the demo code in your libgdx project? Did you modify any part of the demo code (besides using different assets)?
How did you reference an object from the core so that it could be affected by the result of the voice command? Whenever I try to reference an object in the android launcher (after initialization), the game crashes...

That's all I have in mind for now, I am totally open for working together, it's so exciting to finally find someone out there working on similar topic! I will also push my code to github tonight and send the link here.
Thank you!

Forgot to mention: the game I'm working on is Flappy Bird-esque (beginner), which is why the game being laggy is an issue.

Honestly I'm worried that you tell me that your game is laggy, yesterday I was thinking a way to implement the demo and apparently it works (now im hoping it doesnt lag the game).. let me explain what i did:

Create an interface in the core:

public interface SphinxToGdx {
void onCommand(String command);
}
*in Main class (in core, the one which extends Game class) implements the interface
*create PocketSphinx class in android module:
public class PocketSphinx implements RecognitionListener {
private static final String DIGITS_SEARCH = "digits";

private SpeechRecognizer recognizer;

private SphinxToGdx sphinxToGdx;

private Context context;

private Boolean initialized;

public PocketSphinx(SphinxToGdx sphinxToGdx, Context context){
    this.sphinxToGdx=sphinxToGdx;
    this.context=context;
    initialized=false;

    sphinxToGdx.onCommand("Preparing the recognizer");

    // Check if user has given permission to record audio
    /*int permissionCheck = ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.RECORD_AUDIO);
    if (permissionCheck != PackageManager.PERMISSION_GRANTED) {
        ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.RECORD_AUDIO}, PERMISSIONS_REQUEST_RECORD_AUDIO);
        return;
    }*/
    runRecognizerSetup();
}

private void runRecognizerSetup() {
    // Recognizer initialization is a time-consuming and it involves IO,
    // so we execute it in async task
    new AsyncTask<Void, Void, Exception>() {
        @Override
        protected Exception doInBackground(Void... params) {
            try {
                Assets assets = new Assets(context);
                File assetDir = assets.syncAssets();
                setupRecognizer(assetDir);
            } catch (IOException e) {
                return e;
            }
            return null;
        }

        @Override
        protected void onPostExecute(Exception result) {
            if (result != null) {
                sphinxToGdx.onCommand("Failed to init recognizer\n" + result);
            } else {
                initialized=true;
                sphinxToGdx.onCommand("Say up, down, left, right, forwards, backwards");
                reset();
            }
        }
    }.execute();
}

public void dispose() {
    if (recognizer != null) {
        recognizer.cancel();
        recognizer.shutdown();
    }
}

/**
 * In partial result we get quick updates about current hypothesis. In
 * keyword spotting mode we can react here, in other modes we need to wait
 * for final result in onResult.
 */
@Override
public void onPartialResult(Hypothesis hypothesis) {
    if (hypothesis == null)
        return;
        String text = hypothesis.getHypstr();
    if (!text.equals(DIGITS_SEARCH))
        sphinxToGdx.onCommand("Say up, down, left, right, forwards, backwards\n"+
                "                   "+text);
}

/**
 * This callback is called when we stop the recognizer.
 */
@Override
public void onResult(Hypothesis hypothesis) {
    if (hypothesis != null) {
        String text = hypothesis.getHypstr();
        makeText(context, text, Toast.LENGTH_SHORT).show();
    }
}

@Override
public void onBeginningOfSpeech() {
}

/**
 * We stop recognizer here to get a final result
 */
@Override
public void onEndOfSpeech() {
    reset();
}

private void setupRecognizer(File assetsDir) throws IOException {

    recognizer = SpeechRecognizerSetup.defaultSetup()
            .setAcousticModel(new File(assetsDir, "en-us-ptm"))
            .setDictionary(new File(assetsDir, "cmudict-en-us.dict"))
            .setRawLogDir(assetsDir)
            .setKeywordThreshold(1e-25f)
            .getRecognizer();

    recognizer.addListener(this);

    File digitsGrammar = new File(assetsDir, "digits.gram");
    recognizer.addKeywordSearch(DIGITS_SEARCH, digitsGrammar);

}

@Override
public void onError(Exception error) {
    sphinxToGdx.onCommand(error.getMessage());
}

@Override
public void onTimeout() {

}
private void reset()
{
    if(recognizer!=null) {
        recognizer.stop();
        recognizer.startListening(DIGITS_SEARCH);
    }
}

}
*in AndroidLauncher make this:
private PocketSphinx recognizer;
@Override
protected void onCreate (Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
	//initialize Libgdx
	MainClass game=new MainClass(this);
    //initialize PocketSphinx
	recognizer = new PocketSphinx(game,this);
	//play
	initialize(game, config);
}

*in digits.gram just paste something like this(Obviously i'm trying to spotting Keywords Search):
up /1e-1/
down /1e-1/
left /1e-1/
right /1e-1/
forwards /1e-1/
backwards /1e-1/

Everything is good for now.. because i'm only reading through scene2d what pocketsphinx listen.. i hope when i implemented it in the game it doesn't gets laggy... oh i almost forgot i also make another interface for example when libgdx call dispose PocketSphinx shutdown..
public interface GameToAndroid {
void resume();
void pause();
void dispose();
}
complete AndroidLauncher class:
public class AndroidLauncher extends AndroidApplication implements GameToAndroid{
private PocketSphinx recognizer;
@Override
protected void onCreate (Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
	//initialize Libgdx
	MainClass game=new MainClass(this);
    //initialize PocketSphinx
	recognizer = new PocketSphinx(game,this);
	//play
	initialize(game, config);
}

@Override
public void resume() {

}

@Override
public void pause() {

}

@Override
public void dispose() {
	recognizer.dispose();
}

@josemiguelgames
Sorry for the delay. I just tested your method, so far it works! That is as far as running pocketsphinx concerned, I haven't tried implementing any command yet. This actually meets my expectation in terms of adhering to OOD principle so I will try to go with it. I will still try the other method suggested above, but running out of time today.
To be noted, the game did lag just a little bit, but definitely noticeable. This doesn't break the game, but I will have to see if this affects the game's responsiveness to command. Will send an update tomorrow.

@josemiguelgames
@JustinusKevin
The subject is interesting and I don't want to be rude but why don't you guys create your own GitHub repository for your POC ? you could create several branches and continue discussion in your own issue tracker. I don't think this concern  LibGDX core. You can always keep LibGDX community informed about your progress on the LibGDX forum http://www.badlogicgames.com/forum/.

@mgsx-dev You're right, thank you for the reminder.
At this point, I will move the discussion to other platform as I think my issue is resolved.
@josemiguelgames If I found a way to make the game less laggy with voice recognition running, I will let you know. Thank you for your help!


Makefile xargs -r argument not supported on macosx

There are three xargs commands in the "clean" steps at the end of the Makefile that don't work on macosx.  The xargs command in BSD does not support the -r (--no-run-if-empty) option.
...
#= CLEANUP
...
clean:
	find . \( -name \*~ -o -name \*.bak \) -print0 | xargs -0r rm
...
cleaner: clean
	rm ...
	find . \( -name \*.pyc -o -name \*.orig -o -name \*.rej \) -print0 | xargs -0r rm
	find . -name __pycache__ -print0 | **xargs -0r rm -fr**

If the -r option is dropped it works fine since the BSD version does not run the command when empty.
I'm not sure of the best workaround, but macosx users are likely to hit this causing mild frustration and delay in getting started for some.

Here are workarounds for Mac OS:
https://stackoverflow.com/questions/17402345/ignore-empty-results-for-xargs-in-mac-os-x
Options:

Drop -r... but this means that running make clean twice will fail (because rm will get no arguments)
Tell Mac OS folks that they need to use a Linux virtual machine. (This also provides a workaround to separate annoyances with docker on Macs.)
Implement the heinous workarounds in the stackoverflow answers.
Add -r when not on Mac OS only. Downside: Mac users will get an error when cleaning a clean directory.

The last of these is easy and has no downsides on the primary target environment (linux). Let's do that.

Here's the hacky testing on my machine:
$ make -n clean
find . \( -name \*~ -o -name \*.bak \) -print0 | xargs -0r rm

$ make -n clean UNAME=Darwin
find . \( -name \*~ -o -name \*.bak \) -print0 | xargs -0 rm

@larrybabb Please pull master and try make clean. It will fail if your directory is already clean, but should otherwise work.
P.S. Here's the test of the failure:
# first time 'round works:
snafu$ make clean
find . \( -name \*~ -o -name \*.bak \) -print0 | xargs -0r rm

# With -r flag on linux, second time works too
snafu$ make clean
find . \( -name \*~ -o -name \*.bak \) -print0 | xargs -0r rm

# But, without -r, cleaning a clean directory results in an error that I assume will be similar on mac OS:
snafu$ make clean UNAME=Darwin
find . \( -name \*~ -o -name \*.bak \) -print0 | xargs -0 rm
rm: missing operand
Try 'rm --help' for more information.
make: *** [Makefile:109: clean] Error 123


Update snarkVM version - v0.11.1

Motivation
This PR simply bumps the snarkVM version to v0.11.1

Merging. There is 1 flaky networking test in CI that is being reviewed in the meantime.


Why policy loss is negative?

In train.py, the code for updating the policy loss is
 policy_loss = policy_loss - \
                log_probs[i] * Variable(gae) - 0.01 * entropies[i]

According to the original paper, I think it should be
 policy_loss = policy_loss + \
                log_probs[i] * Variable(gae) + 0.01 * entropies[i]

In the paper, the equations are written assuming gradient ascent. As we use gradient descent optimisers, the equations have to be negated.


Twitter ( X ) api dont work

hello,
I see that the twitter ( X ) not send my notifications to my account. Is there a bug or is twitter ( X )  disconnect the API function.
I'am running PagerMon 0.3.12-beta

You have to pay 5k pre month for the api access for x are you willing to pay that much?


Toggling concurrency to all min and applying breaks the concurrency toggle

If I try to toggle back to 'min' and apply I get an internal sever error (500) for this LES

Posting backtrace:
App backtrace
-------------

 - app/models/installed_technology.rb:105:in `electrical_capacity='
 - app/models/installed_technology.rb:138:in `performance_coefficient='
 - app/models/technology_list.rb:26:in `block (2 levels) in from_hash'
 - app/models/technology_list.rb:25:in `block in from_hash'
 - app/models/technology_list.rb:24:in `from_hash'
 - app/controllers/testing_grounds_controller.rb:129:in `calculate_concurrency'
 - bin/rails:8:in `<top (required)>'
 - bin/spring:16:in `<top (required)>'


ZWave: Add reset service to meters

Description:
This adds a reset_node_meters service to zwave that can let the user reset values in the command_class_meter class. (I.e. kWh meter) This "button" will be present at index 33 of the values if the node supports it.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2674

Why index 33? Could you point to documentation?

https://github.com/OpenZWave/open-zwave/blob/master/cpp/src/command_classes/Meter.cpp#L344-L355
Which points to: https://github.com/OpenZWave/open-zwave/blob/master/cpp/src/command_classes/Meter.cpp#L66

Even though it looks like we'll only ever have the one, I think it's probably worth adding to zwave/const.py. At least then it can have a name.

You cant reset only one index of the command class. The button resets all meters of the instance.

I just meant adding METER_RESET_INDEX = 33 to zwave/const.py, and then referencing that instead of just 33 in here.


Rebuild web site

The site for this project is no longer accurate, but should contain similar details, e.g.,:

A list of successfully transformed ontologies
Edge/node counts
Links back to BioPortal

This will require:

the build process to produce total_stats.yaml (count of all ontologies) and onto_stats.yaml (nodes and edges for each, if successful)
upload the above to kghub.io/kg-bioportal/
upload the list of all BP ontologies to kghub.io/kg-bioportal/
run web site build script for GH repo here


Task list

[Ekta] PlotGadgetAll: plotgadgetall.py
-add total density profile
-add total potential profile
-add comments
[Ekta] PlotGadget: plotgadget.py
-add comments
-add density profile
-add potential profile
-[Ekta + Nico] New Class: add functions to view specific regions — rotate around some region to look for overdensities
-[Nico] New Class: coordinate transformations in a new class: this should include Aitoff projections for density, dispersions, beta
-[Nico/Ekta] move COM functions to a new script that will be in the new shared repository [include MW_LMC_particles, CM_disk_potential, CM, velocities_r15]

[Nico/Ekta] move octopus orbit functions to new script [compute orbits in another script]
[Nico/Ekta] move shapes.py to new repo
[Nico] move halotools/physical_properties to new repository

PEP8:
-class names, file names
-breaks before binary operations
-use double quotes in all triple commented strings
-no spaces with ()
-follow order of operations for functions

Learn how to include tests in this repository


python-3.6 and psycopg2 (Error: pg_config executable not found.)

I'm trying to setup an environment with nanobox python engine. If I use python-2.7 and then install a psycopg2 package (pip command within a container or with a requirements.txt) it works ok. But when I switch to python-3.6 I got an error "Error: pg_config executable not found.". This is a well known issue but I can't solve it with a nanobox container. I can't install any dependencies (python3-dev or libpq-dev) since there is none of these in Nanobox pkgsrc and even can't find a path to pg_conf.
Is there any way to use python3 with psycopg2 with nanobox?
My starting config:
run.config:
    engine: python
    engine.config:
        runtime: python-3.6
    extra_packages:
        - nodejs
    cache_dirs:
        - client/node_modules
    extra_path_dirs:
        - client/node_modules/.bin
    build_triggers:
        - server/requirements.txt
        - client/package.json
        - client/package-lock.json
    extra_steps:
        - cd server && pip install -r requirements.txt
        - cd client && npm install
    fs_watch: true
data.postgresql:
    image: nanobox/postgresql
    config:
        version: 9.6
`

in extra_packages, declare pkgin as a new dependency.
After that, write nanobox run in your command line, and write in pkgin install postgresql93-plpython'.  Then write pkgin export > pkgin_dependencies.txt' or whatever extension is your notepad application.  Then declare in extra_steps:
'pkgin im pkgin_dependencies.txt -y'

That should resolve your issue, hopefully.

Note that pkgin is already installed, since it's the package manager installing extra_packages in the first place, so you can skip adding it to your configuration.


[$1000] IOS - Chat - Focus is lost if user inserts emoji in edit mode using emoji picker

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Launch App and open any chat
Post message in chat
Long tap on message and select 'Edit message'
Insert emoji in message using emoji picker

Expected Result:
Emoji inserted and focus is in composer
Actual Result:
Emoji inserted and focus is lost
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/234439091-1dae0e73-c7f4-4846-b019-3a93462cc9c7.mp4
https://user-images.githubusercontent.com/93399543/234439097-17cdae48-6d8b-403a-8bca-f6813391c6ba.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01186303df75f9ce05
Upwork Job ID:<PHONE_NUMBER>455336448
Last Price Increase: 2023-07-19

Triggered auto assignment to @sophiepintoraetz (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Closing and adding to the tracking issue.

This might also be solved by this https://github.com/Expensify/App/issues/15992

Issue is reproducible in mWeb/Safari. Build <IP_ADDRESS>
https://github.com/Expensify/App/assets/78819774/009520c2-17a9-4541-bb4d-bceaa09683dc

@mountiny, you referred to the same issue. Is it the correct link?

@perunt Sorry, QA linked to this issue https://github.com/Expensify/App/issues/18001

@mountiny - are you talking about this PR? https://github.com/Expensify/App/pull/22731

wtf either I had a breain stroke or something was off with the copy past
https://github.com/Expensify/App/pull/22542 this PR or https://github.com/Expensify/App/pull/22529

All right, @mountiny so you're looking for @perunt to confirm whether https://github.com/Expensify/App/pull/22542 this PR or https://github.com/Expensify/App/pull/22529 introduced a regression that led to this issue being created?

In theory, it could be the case because I changed the method of copying the reference we use for this purpose. However, I did have a test for this in QA

Test Case 3: Focus Functionality
-Switch between the text box and the emoji picker multiple times, and verify that the focus is correctly switched each time.
-Verify that the text box regains focus when coming back from the emoji picker.

@kosmydel Sounds great, can you also confirm if this works if you open multiple edit messages?

Assigned you @kosmydel

@kosmydel Sounds great, can you also confirm if this works if you open multiple edit messages?

Yes, it looks like it works. In the PR I will make a video for that.

PR

Coming from https://expensify.slack.com/archives/C02NK2DQWUX/p1689854072758689?thread_ts=1689852445.808529&cid=C02NK2DQWUX, I'd like to take this as C+

@ntdiary your issue doesn't happen on main composer?

Here, we're cloning main composer behavior into edit composer as edit composer is also one of main components in the app and we're trying to make it much better as a quick solution.
The solution without setTimeout workaround can still be discussed but it takes time for approval.

PR actively under review.

Payouts due:
Issue Reporter: $250 NA
Contributor: $1000 @kosmydel
Contributor+: $1000 @situchan (offer sent - I'll release payment once the checklist is done!)
Eligible for 50% #urgency bonus? @mountiny - I don't think this one is eligible for a bonus, right? @kosmydel was assigned 20 Jul and the PR was merged on 11 Aug

No PR caused regression. This was default iOS behavior in RN modal.
The solution applied here was actually workaround which inherits main composer's setTimeout solution.
This workaround was completely removed in #13922 by fixing iOS native code in RN modal and I will add full regression test step in that issue.
So we can simply skip checklist here.

Yeah no bonus here I imagine

Payments done!


github pages isn't being published from main

github action for publishing docs fails, fix it

Still a problem


rados: thrash-eio- restructure downstream/singleton

Signed-off-by: Rachanaben Patel<EMAIL_ADDRESS>

http://pulpito.ceph.redhat.com/racpatel-2020-05-19_14:04:05-rados:downstream:singleton-nautilus-distro-basic-argo/


Update jetty-client, jetty-http, ... to 9.4.44.v20210927

Updates

org.eclipse.jetty:jetty-client
org.eclipse.jetty:jetty-http
org.eclipse.jetty:jetty-runner
org.eclipse.jetty:jetty-server
org.eclipse.jetty:jetty-servlet
org.eclipse.jetty:jetty-util

from 9.4.43.v20210629 to 9.4.44.v20210927.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.eclipse.jetty" } ]

labels: library-update

0.22


Conflict Touch with Viewpager

I have s ViewPager in CardView, How to touch to move the card. It is conflicted touch event between Viewpager swipe and Cardview swipe left and right

Hmm, you may need to be clear what the card is for. It is for representation, not complicated interaction. That is to say, Why not launch a detailed view for your interactions?

https://github.com/wenchaojiang/AndroidSwipeableCardStack/issues/56


Order for process, component, function in website

This bugs me more than it should.  :-)
We (but mostly me) are inconsistent about the order of the GO aspects in different parts of the site.  I'd like to make things consistent.  Which order should we pick?
In the "Genome status" menu and in the "Slim with" menu on the results pages I used the order MF, BP, CC.
But on the front page I used:
GO Overviews: Process ● Component ● Function

In the docs (here and here) we have: BP, MF, CC

The only reason I put process first in the docs is because it's been around so much longer than the other two ... I thought people might have got used to seeing it made prominent. I don't really have a strong preference, though; maybe just a slight inclination not to plunk CC in the middle.
If you & Val prefer anything other than BP, MF, CC, I'll happily edit the docs to match.

OK, let's go MF, BP, CC
because
a) that's  probably a more logical order
b) follows the order on the gene page
c) let's confuse our users and shake them up a  little bit ;)

I've changed the front page and it will be live in 10-ish minutes.

Thanks Midori.


Allow selecting devices by device name substrings

See https://github.com/bastibe/PySoundCard/issues/41.

This was implemented by f3f0996458e68f8084623de0c8a475ef7f81bd5d.


Add speed typing test.py

This is simple speed typing test made with GUI library.

Merge speed typing test.py


fix over-indentation in test file

Codecov Report

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

@@           Coverage Diff           @@
##           master     #305   +/-   ##
=======================================
  Coverage   90.93%   90.93%
=======================================
  Files          31       31
  Lines        2448     2448
=======================================
  Hits         2226     2226
  Misses        222      222

Continue to review full report at Codecov.

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


create function to read workbook metadata

currently we keep calling read_xlsx to read different sheets from the workbook, once we have decided what needs to be kept in the workbook we should implement a function that reads the entire workbook at once, this data structure will then be called by each of the add_* functions
Proposed:
metadata <- edi_read_workbook("path_to_workbook.xlsx")

# return the dataframe needed by the add_license function
metadata$license

Added this as part of the workflow on vignette!


Running Remove-ProfileData.ps1 as Logon/Logoff script not working

Hi Aaron,
we were trying to configure your script as a logon/logoff script via GPO but it's not working. I followed your description (https://docs.stealthpuppy.com/docs/fslogix/profile) and edited the script.
The script never launches and fails with an error in eventlog:
_Source: GroupPolicy
Event ID: 1130
Logoff script failed.
GPO Name : xxx
GPO File System Path : \domain.intranet\sysvol\domain.intranet\Policies{E62ED9F0-9D5D-4EED-8720-17B7B9AE9F62}\User
Script Name: Remove-ProfileData.ps1_
It still works if we launch the script manually within the user session. Also other scripts are running fine in our environment.
Do you maybe have any hint for us?
Regards,
Philipp

Hi, just wanted to let you know that I was able to work around this by creating a simple batch file which is calling the powershell script. So instead of using the powershell script as logon script I'm using the batch file.
Regards,
Philipp

Great to hear. Thanks for posting the update.


NavBar not consistent across entirety of Sprikipedia

Describe the bug
Suggest maintaining the navbar experience across the entire Sprikipedia subsite
To Reproduce
Steps to reproduce the behavior:

Navigate to main sprikipedia page.
Click on any of the working links to subpages.

Expected behavior
Consistent navbar experience across the entire flow of pages.
Actual behavior
There is a distinct and different navbar experience once you click into one of the sublinks.
Screenshots

vs

In my opinion, it is consistent, all subpages have the same navbar, only the home page changes because the structure is different from the subpages


bump sqlite3 3.23.1

Coverage remained the same at 68.447% when pulling d4680fe41a3cbd19533d3b977dab6ea730d5d14b on upgrade-3.23.1 into 397c95cd5e2ee9c1d83ecf8160d9a0738c85b32a on master.


🎨 Improve Button component stylesheet; removed duplicate styles

Updated Button component inspiration. Refactored code takes advantage of Platform Specific Code, as we want to re-use as much code as possible.
Test Plan

Import Button component
Button should work the same

Related PRs
N/A
Release Notes
[GENERAL] [ENHANCEMENT] [Button] - Uses spread operator for platform specific code in creating styles

Creating a new PR to avoid rebase issue. https://github.com/facebook/react-native/pull/19752


FreeBSD find: -printf: unknown primary or operator

Hello!
Trying deploy project to FreeBSD server, got error:
SSHKit::Command::Failed: find exit status: 1
find stdout: Nothing written
find stderr: find: -printf: unknown primary or operator

There is no -printf option for 'find' utility on FreeBSD.
Please, check my merge request for this issue: https://github.com/ekho/capistrano-git-with-submodules/pull/8

Thanks


Single alloc gpu

Instead of allocating GPU memory at the beginning of each time step and freeing the GPU memory at the end of each time step, now if the compiler flag SINGLE_ALLOC_GPU is defined the memory is only allocated at the beginning of the first time step and freed at the end of the simulation.
This was only implemented for VL_3D.
The main changes are:

Make GPU memory pointers ( dev_conserved, Q_L, Q_R, etc. ) global on VL_3D_cuda.cu file, so that once its values are set at the first time step the pointers remain the same for the entire simulation, instead of redefining them every time step.
Use a boolean flag "memory_allocated" which is Null the fisrt timestep allowing the GPU memory to be allocated the first time step and setting  memory_allocated to true after the memory is allocated. The next time steps the memory is not allocated since memory_allocated==true
Create a function Free_Memory_VL_3D() which is called at the end of the simulation and frees the GPU memory allocated for VL_3D
If the compiler flag SINGLE_ALLOC_GPU is not defined the GPU memory is allocated and freed every time step.

Tested new code on a 256^3 sound wave test. Everything seems to be working correctly, but oddly, on a P100 the version without memory allocation every time step is slower (by about 35ms) than the version with memory allocation every step. I'm going to do some more testing of timing before merging this change into master.

I found that when using 256^3 per gpu the single_alloc change made it slower, but it made it faster when using 128^3 per gpu, if your test was on a single P100, then longer time when single_alloc would be consistent with my tests. Have you tested for 128^3?

Yeah, I did a little digging and figured out the issue. When the memory is allocated during the first time step, subsequent time steps are still calling the sub grid splitting function, which looks at the free memory, and concludes that it's full because of the pre-allocated arrays, so then you end up splitting into sub grid blocks, allocating the CPU buffers, etc. etc. This is only an issue for bigger block sizes, because if you're using a 128^3 block there's room for two of them without sub grid splitting. I've done a quick fix on my local version to test it, and when that bug is fixed, the version without array allocation is significantly faster - something like 50% on the P100 with a 256^3 block. I'm going to put together a more robust version of the fix this weekend and then I'll push it to master. I think in that case we don't need to use a flag, it can just be the default because it should always be faster.

Excellent!


Vision suppourt base64

Hi
I notice on the OpenAI Doc
we can upload image as base64
but on library only allow url
import base64
import requests

# OpenAI API Key
api_key = "YOUR_OPENAI_API_KEY"

# Function to encode the image
def encode_image(image_path):
  with open(image_path, "rb") as image_file:
    return base64.b64encode(image_file.read()).decode('utf-8')

# Path to your image
image_path = "path_to_your_image.jpg"

# Getting the base64 string
base64_image = encode_image(image_path)

headers = {
  "Content-Type": "application/json",
  "Authorization": f"Bearer {api_key}"
}

payload = {
  "model": "gpt-4o",
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "What’s in this image?"
        },
        {
          "type": "image_url",
          "image_url": {
            "url": f"data:image/jpeg;base64,{base64_image}"
          }
        }
      ]
    }
  ],
  "max_tokens": 300
}

response = requests.post("https://api.openai.com/v1/chat/completions", headers=headers, json=payload)

print(response.json())

could you add suppourt for base64 ?

On the example you provided looks like it is expecting an URL
          "image_url": {
            "url": f"data:image/jpeg;base64,{base64_image}" // <------- URL
          }

You can easily convert the base 64 string in to a URL like this:
let url = URL(string: "data:image/jpeg;base64,\(base64String)")


Added pins 27 - 40 for Raspberry Pi 2

Added information on the Raspberry Pi's pins 27 - 40.

Hi this looks really good, can you just add a sign-off line to all your commits? (here is the contributing doc - http://iotdk.intel.com/docs/master/mraa/contributing.html) Thanks

To make this simpler for me, I am going to just redo these commits in a different fork, then submit a new pull request with the sign-off line to the commits.


View frame time doesn't work properly with Metal renderer.

Tested versions
Happens in v4.4.dev.custom_build e3550cb as well as a previous custom 4.3 build with the metal renderer
System information
MacOS 15.1 - Godot 4.4.dev - Metal 3.1 - Forward+ - Using Device #0: Apple - Apple M2 Pro (Apple8)
Issue description
The view frame time toggle doesn't properly show the GPU time and FPS when using the metal renderer

Steps to reproduce
open any scene, and enable view frame time:

Minimal reproduction project (MRP)
N/A

This is a known issue, as Godot's frame timing is not compatible with TBDR GPUs (mobile and Apple M-series). Working on some ideas to resolve it.


Updated images for PowerToys

@dedavis6797 @crutkas FYI
Addressing e.g. #8181
Updated a couple of (outdated) images and GIFs. Removed unused images.

@niels9001 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

GTG


Unable to import cloudflare_ruleset resource into terraform remote state

Confirmation

[X] This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
[X] I have searched the issue tracker and my issue isn't already found.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
terraform version - 1.3.7
cloudflare provider version - 3.29.0, 4.1.0, 4.0.0, 4.8.0
Affected resource(s)
cloudflare_ruleset
Terraform configuration files
resource "cloudflare_ruleset" "terraform_managed_resource_<ruleset_id>" {
  kind    = "zone"
  name    = "default"
  phase   = "http_request_firewall_custom"
  zone_id =
  rules {
   ////
}

Link to debug output
https://gist.github.com/amanlightspeed/bd71d474dd30a5b18dc2ac8965c9d029
Panic output
No response
Expected output
import succesfull and can see the resource imported in state
Actual output
terraform doesnt import the required resource in remote state
Steps to reproduce

terraform import  'cloudflare_ruleset.terraform_managed_resource_' 'zone/'

doesnt import the required resource
Additional factoids
I had used cf-terraforming tool to generate manifest wrt to cloudflare ruleset, now i want to import the resource so that i dont have to reapply the resource config in cloudflare
References
No response

Found the issue, as cloudflare_rulset is a list of rules while importing have to mention
terraform import 'cloudflare_ruleset.terraform_managed_resource_sdsda[0]' 'zone/<zone-id>/ruleset-id'


Storybook component update

In progress, not ready to merge.

@danalvrz I think this PR is very interesting, even in its current shape.
I think it's a bad idea to place the mock image in the src/static, maybe you could find its place in another location, more "test-related" ? Or even use an external hosted image, that would work as well.

@tiberiuichim thanks for the comments! I actually noticed the folder's bad placement, but forgot to move it. Its new location should be better.

@sneridagh I think this is ready. Leaving it for you to merge in case there's anything you want us to do differently.


This is probably an easy fix problem

I am having trouble figuring out what a bearer token and user id is, and how I can find them. Everything else works perfectly normal. If you could help me out by telling me how to find them and sniff a phone server, or even just giving me a link to a tutorial that would be nice. Thank You.

gjacob314's https://github.com/gjacobs314/HQTrivia has two sample bearer tokens and user IDs you can use.


chore: bdd-nh-1585924120 to 0.0.1

chore: Promote bdd-nh-1585924120 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Missing dependency: device-tree-compiler

I'm following the installation guide, but there seems to be dependencies missing form the instructions.
The step apt-get install device-tree-compiler as mentioned at https://github.com/riscv/riscv-isa-sim#build-steps is missing.

Also, I couldn't not build spike with clang12 (got warnings in boost source code). But building with gcc worked fine.
Example error from clang build:
In file included from ../riscv/sim.cc:3:
In file included from ../riscv/sim.h:9:
In file included from /usr/include/boost/algorithm/string.hpp:19:
In file included from /usr/include/boost/algorithm/string/trim.hpp:19:
In file included from /usr/include/boost/range/as_literal.hpp:22:
In file included from /usr/include/boost/range/iterator_range.hpp:13:
In file included from /usr/include/boost/range/iterator_range_core.hpp:27:
In file included from /usr/include/boost/iterator/iterator_facade.hpp:14:
In file included from /usr/include/boost/iterator/iterator_categories.hpp:17:
In file included from /usr/include/boost/mpl/placeholders.hpp:24:
In file included from /usr/include/boost/mpl/arg.hpp:25:
In file included from /usr/include/boost/mpl/aux_/na_assert.hpp:23:
/usr/include/boost/mpl/assert.hpp:174:20: error: expected a qualified name after 'typename'
template< typename P > struct assert_arg_pred
                   ^
/sw/riscv/riscv-isa-sim/build/../riscv/decode.h:177:11: note: expanded from macro 'P'
#define P (*p)

I have pushed a fix for the docs on this branch. Will be merging soon.
Regarding spike with clang build,  I guess that is a question best posted at the riscv-isa-sim repository.

new docs fix this.. hence closing this.


BetterAnimations Could not be compiled

Plugin:
🎞 BetterAnimations
What version of BetterDiscord are you using?
1.10.2
What version of the selected plugin(s) are you using (if applicable)?
1.1.19
What client are you using?
🔵 Stable
Describe the bug
An error was encountered while trying to load this plugin.
Additional comments
TypeError: Cannot destructure property 'Route' of 'WebpackModules.getByProps(...)' as it is undefined.
    at plugin (betterdiscord://plugins/BetterAnimations.plugin.js:126:28)
    at eval (betterdiscord://plugins/BetterAnimations.plugin.js:2010:16)
    at eval (betterdiscord://plugins/BetterAnimations.plugin.js:2011:7)
    at eval (betterdiscord://plugins/BetterAnimations.plugin.js:2012:3)
    at N.requireAddon (betterdiscord/renderer.js:5:28601)
    at N.loadAddon (betterdiscord/renderer.js:5:6221)
    at N.loadAddon (betterdiscord/renderer.js:5:26269)
    at N.loadAllAddons (betterdiscord/renderer.js:5:9278)
    at N.initialize (betterdiscord/renderer.js:5:3093)
    at N.initialize (betterdiscord/renderer.js:5:25382)
    at Object.startup (betterdiscord/renderer.js:5:408589)

I have read and agree to the following:

[X] I have searched existing/closed issues to confirm that this hasn't been solved already.
[X] I've already tried to disable all other plugins (or themes) to confirm this issue is related to the plugin.
This isn't necessarily required

Fixed in 2df4bfa866fe105c93e6c19d3ba3a009cedfaed8

deu certo , vlw @arg0NNY  👍🏼 :)


Bug - scheduled test

during scheduled test, throws error during push.
Push changes to repo 0s
Run ad-m/github-push-action@master
with:
branch: refs/heads/main
github_url: https://github.com
push_to_submodules: on-demand
directory: .
/home/runner/work/_actions/ad-m/github-push-action/master/start.sh: line 18: Missing input 'github_token: ${{ secrets.GITHUB_TOKEN }}'.: bad substitution
Push to branch refs/heads/main
Error: Invalid exit code: 1
at ChildProcess. (/home/runner/work/_actions/ad-m/github-push-action/master/start.js:30:21)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1
}
May I ask what exactly pushes and where? Why is this step needed. Using the github token on a scheduled background activity without me knowing, looked very fishy. I am sure it's not, but can we have a detailed explanation of what's going on here? thank you

You can remove test.yml from the repository after a fork.
The token is used to access an entry in the repository


Update Blog “it-is-getting-easier-to-stay-up-to-date-with-pharmacy-informatics-new-rss-feed”

Automatically generated by Netlify CMS

👷 Deploy Preview for cool-toffee-ab3b21 processing.

Name
Link

🔨 Latest commit
e50736518db4e161e4a1cd048d2cd8bf524b5c29

🔍 Latest deploy log
https://app.netlify.com/sites/cool-toffee-ab3b21/deploys/63ec4f7aae54fa0008c1ef0c


Bump version

Hi,
The installer has had a few improvment that make it less prone to error. Espacially by specifying  ext-bz2 as a requirement.
Can you bump a new version, please?

Hey!
There is only one commit on-top/ahead of the current version 2.1.1-p08 and that is an update to the Changelog. I don't want to bump version for that tiny change.
Regarding the ext-bz2 requirement:  it landed with 2.1.1-p01 - 2016-04-12. You should be fine, when you require any version above 2.1.1-p01.

I didn't notice that versions "-pXX" were ahead of 2.1.1.
In my composer.json I'm on "~2.1.1" and composer is not able to update by itself to the last version.  According to semver where""X.Y.Z" is the current version, for patches like that, I think you just should increment "Z" by 1 instead of doing -pXX, not sure about the last statement because I actually never used this syntax.

Yes, well know issue: https://github.com/jakoch/phantomjs-installer/issues/39
Yes, the -pXX version are indeed ahead of 2.1.1, see also SemVerChecker. I don't know why Composer doesn't resolve them.
I've tried to explain the version hack i use in the Readme.
Basically, the 2.1.1 signals the version of the PhantomJS installer you are trying to install,
It's two versions in one ;)
I can't increase the Patch level version to 2.1.2, because that PhantomJS version doesn't exist.

Thanks for explanation @jakoch,  that makes a lot of sense now.
I'm not sure I fully understood the spec, but according to semver documentation, it looks like build meta data have always a lower precedence than the same version without build metadata. See 10 and 11
I think the solution to make it more constant in the repository is to not use build meta data free version.
For instance for version 2.1.2 you could stard with 2.1.2-p01 instead of 2.1.2 alone.

Thank you for diving into the SemVer Spec and finding the relevant sections.
Ok, let's see... Section 10 (build metadata) says

Build metadata MAY be denoted by appending a plus sign and a series of dot separated identifiers immediately following the patch or pre-release version.

We don't have a plus sign, so it's not build meta data.
I think it's Section 9. The version we have is a pre-release version denoted by appending a hyphen.
Maj.Min.Patch-PreReleaseIdentifier = 2.1.1-p01
Yes, that explains why their precedence is always lower that the main version.

For instance for version 2.1.2 you could stard with 2.1.2-p01 instead of 2.1.2 alone.

Ok, then we only release pre-release versions, without having a stable version.
Hmm, that might work, but would also need a stability lowering to dev, right?
Composer wouldn't resolve to higher pre-release versions, if you resolve with "stable".
Sidenote: i think we won't get a 2.1.2 release of PhantomJS.
The PhantomJS project has no maintainer and is pretty much dead.
The community will not step in, because it's C++/Qt and hard to build.
I think there will be tech transition to Chrome in headless mode, when it becomes stable cross-platform.
There was also a fork using Phantom on top of Chromium Embedded Framework (CEF).

@jakoch thanks for the details, I didn't notice the plus sign. Not sure but I think that in our case that should be something like: 2.1.1+1
Yes I agree with you that phantomjs is slowly dying and there are only a few chances it gets news upgrades.
For the side note: In addition of headless chrome (that still lacks the maturity it deserves and has a few blocking bugs) there is slimerjs based on gecko (but I didn't try it by myself).


web/Download component has moved - update tutorial

Hi!
I'm going through the tutorials these days and needed to change a URL because the Download component has moved into a new directory.
I have tested that the new URL works with the example in the tutorial.

/assign @chensun

Ok it seems the bot took care of reviewers, so I'll unassign chensun. I'm new here as you might have guessed :)
/unassign  @chensun

/unassign @chensun

My PR is a duplicate of #3127 so I'll go ahead and close this one, but it would be nice to get the other one merged.

No I'm sorry, that other PR was for the v1 SDK, while mine is for the v2 SDK. Reopening.

/close


UIEvents misbehave with nested scenes

mouseover UIEvents are only added to Scene 1 but Scene 2 also tries to capture events for some reason.
You can find source code for the above example here.

I think it's still Scene 1 capturing the events, since Scene 2's DOMElement is a descendent of Scene 1's DOMElement (in the DOM, I mean).  So that's kind of right in the DOM sense, of events bubbling up... but not sure exactly how we should ideally be handling these kinds of cases :)  I guess the event handler should detect if events are bubbling up from a DOMElement in a different Scene and ignore them?  I'm trying to think if there's any case where we wouldn't want to do that.

We at least know error shouldn't be thrown there.
I think we need a way to control whether events get bubbled up or get discarded at the scene level. Bubbling up may be a sensible default here.

I think two scenarios:

Currently Scenes are not agnostic to the web platform because the constructor needs a DOM selector argument. WIth this method of creating scenes, it makes sense that events shouldn't propagate since we can't guarantee that the selected DOM element is inside a Famous scene graph.

It'd be super nice if the Scene API was completely agnostic to the web platform (Famous can handle that behind the scenes). In this ideal scenario (@michaelobriena @zackbrown @DnMllr @marklu), the API might look like this:

var target
if (FamousEngine.isWeb) { // in the web
  target = FamousEngine.getTarget($('body')[0]) // returns a Target instance.
}
else if (FamousEngine.isIOS) {
  target = FamousEngine.getTarget(referenceToSomeIPhoneWidgetOrSomething) // returns a Target instance.
}

var node = FamousEngine.createScene(target) // pass the Target instance into the scene constructor
  .addChild()

var scene2 = FamousEngine.createScene(node)
// ^ where/how this scene is rendered is handled internally by Famous. It might be on a DOMElement, or some native container, etc, but we know it's a child of a node. We only care about the Target for the root node.

Now we know that scene2 is explicitly a child of node and don't care what what type of things it is rendered in (a DOMElement? a native container of some sort? Who knows).
But in this case it'd make explicit sense for the parent node to know of the child scene2's events.
There could be an option for events to be isolated:
var scene2 = FamousEngine.createScene(node, {bubble: false}) // or similar

@pilwon Looking into this.

Interestingly enough, this is what you get when you add UIEvent to scene 2 instead. (scene 2 is still nested under scene 1) I'm still trying to understand what this means.

This is because events from scene 2 are bubbling up to scene 1 because of standard DOM conventions.  We use the path on the element as metadata when we pass it back to the application layer but because that path does not have a registered event in scene 1 our lookup fails.
I think bigger picture we need to decide if nesting scenes is something we want to support as it was not a usecase that we really deemed a viable pattern.

I'd say yes to supporting nested scenes if famous encourages its engine being integrated with Angular/React/Meteor/etc and widely adopted.
In a perfect scenario, the integration should allow developers freely enter and leave the famous land. With some workarounds discussed here and there something like the following is already (sort of) working:
--
Component 1
<Scene>
  <Node>
    <DOMElement>
      <Component2/>
    </DOMElement>
  <Node>
</Scene>

Component 2

    <SomeComponent/>

  <OtherComponent>
    <Scene>
      <Node/>
    </Scene>
  </OtherComponent>

Naive fix landed in https://github.com/Famous/engine/tree/v0.5.1

@michaelobriena Could you please link PR or commit instead of tag? This is very difficult for the community to track code changes. Also we'd need to start keeping a changelog.

I think it's 9d4c05e79fe60a242c00583fa544d91d42762a3d.


[Feature Request] save colors in the colors palette

When I add a new non default color, save it to the palette for easy reuse.

It would be great to be able to customize the color palette.

Hello,
Are there some news for that FR ?
Thanks !

Yep its coming soon 🚀

Thanks for your reply @ad1992, it's a great news :)

closed via https://github.com/excalidraw/excalidraw/pull/4843


Retry redfish requests

Description

It is not common, but HTTP requests can fail due to connection issues, e.g. network or SSL droped request in case of th Redfish implementation that allows to ignore SSL.
In order to mitigate such situations and also improve logging, this PR enhances the Redfish request handling by adding an execution flow for re-trying HTTP requests; the retry happens only if the global settings redfish.retries is set to 1 or more retries; default is of 2 (two). One can disable the retries by setting redfish.retries to 0 (zero).
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

How Has This Been Tested?

Configured a test environment to ignore SSL while using HTTPS for Redfish requests. In such cases, IOExcetions will happen on a higher frequency than any other setup due to the exception javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake.
Following is one of the requests on the staging environment that was possible only after a few retries.
Failed to execute HTTP GET request [URL: https://oob-redfish.net/redfish/v1/Systems/]. Executing the request again.
Retry HTTP GET request [URL: https://oob-redfish.net/redfish/v1/Systems/], attempt 1/2.
Failed to execute HTTP GET request retry attempt 1/2 [URL: https://oob-redfish.net/redfish/v1/Systems/] due to exception javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
Retry HTTP GET request [URL: https://oob-redfish.com/redfish/v1/Systems/], attempt 2/2.
Successfully executed HTTP GET request [URL: https://oob-redfish.net/redfish/v1/Systems/].
Retrieved System ID 'System.Embedded.1' with request 'GET: https://oob-redfish.com/redfish/v1/Systems/'
Retrieved System power state 'On' with request 'GET: https://oob-redfish.com/redfish/v1/Systems/System.Embedded.1'

Note: Ignoring SSL is not ideal but the redfish out-of-band driver works fine in such case (we have been using it for a couple of months already). However, SSLHandshakeException (grandchild class of IOException) exceptions can be thrown. Nonetheless, ADMINS should have the freedom to still use Refish requests in such cases therefore it was and it has been working OK.

@blueoragutan package

@blueorangutan package

@GabrielBrascher a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2093

Merging based on Travis tests, changes are strictly in redfish oobm plugin that can't be tested with kvm/smoketest.


h2o: moved to Homebrew/Homebrew

Stable release means this has moved from head-only to Homebrew/Homebrew:
https://github.com/Homebrew/homebrew/commit/1b687cb6186fc9235edde87d47973371d01dc527

Closed by https://github.com/Homebrew/homebrew-head-only/commit/d1efb0594f84b50497793efb3dbd1796b835d5a6, apparently.


feat(SetTheory/Surreal/Division): define the field structure on the Surreal numbers

define the field structure on the Surreal numbers

[x] depends on: #14463
[x] depends on: #14600
[x] depends on: #14517

In this PR, we prove that the inverse defined in SetTheory/Game/Basic is indeed a multiplicative inverse. The bulk of the proof is in the new file SetTheory/Surreal/Division. Right now, the proof is a bit repetitive as there are usually many similar cases which differ only in small places like Left vs Right. Suggestions for how to improve the proof are welcome.

Looking pretty good structurally, but I haven't read the proofs at all.
Would someone from amongst @timotree3, @FR-vdash-bot, @vihdzp, who have been thinking about games and surreals recently, be able to give a review?
Particularly useful would be checking that the proofs look reasonable, and perhaps suggesting names for lemmas. (I'm a little uncomfortable with eq1 etc and onag in names, but perhaps just making these private is good enough, or even the fact that they are already well namespaced.)

I must admit that I've never actually read ONAG past the first few pages. My interest of games in Lean was motivated foremost by the fact their API is very similar to that of ordinals (in fact, ordinals are just games when you remove either left or right options!), which is a topic I'm much more familiar in. That said, I really don't want this PR to rot over the following months. I'll try reading up to surreal division throughout the next week or so, and if no one else has stepped in by then, I'll give a proper PR review.

I opened #15779 which should help golf down the results on normalization a bit.


Suggestion

I just noticed that the transparent background of the image views (like arrow/mic) in the search_view.xml are visible to user when clicked. That looks weird.
Even though background attribute is set to
android:background="?attr/selectableItemBackground"
The transparent part of the image shows up when it is clicked.
A better alternative would be to replace the background attribute with this :
android:background="?attr/selectableItemBackgroundBorderless"
This will not only make the images selectable but this will also give it a rippling effect when it is clicked..
(Rippling effect is the same effect you get when you click an icon on actionbar like search/share..etc)
Hope it gets merged in next release.

Sure, I will add it.


Fusion brain API url

Is there any documentation with urls for the fusion brain API? Where can I find the endpoints? I searched on google but couldn't find anything

Is there any documentation with urls for the fusion brain API? Where can I find the endpoints? I searched on google but couldn't find anything

Because it's based on web scraping just wait 2 hours and I will publish the new version

update to the latest version 0.1


Unable to set default elevation for MuiPaper

Setting the default elevation for MuiPaper in the theme using the documented method does not work. I can set other default properties of MuiPaper and they do work.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate. However i did find a relevant issue and commented on it but it was marked as off-topic.

Steps to Reproduce 🕹
const theme = createMuiTheme({
  props: {
    MuiPaper: {
      elevation: 10,
      square: true
    }
  }
});

https://codesandbox.io/s/fancy-bird-ekr8b?fontsize=14&hidenavigation=1&theme=dark
Your Environment 🌎

Tech
Version

Material-UI
v4.8.3

React
16.11.0

Browser
Chrome 78

TypeScript
no

@jpodpro Not sure if this will help you but Card uses a different default prop than Paper.
Try adding this:
    MuiCard: {
      elevation: 0
    }

@KyruCabading thanks

 MuiPaper: {
        defaultProps: {
            elevation: 4,
        },
        styleOverrides: {
            root: {
                borderRadius: '1rem'
            }

        }
    }


chore(release): publish package

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implement UART for sercom

This adds structs and corresponding serial::{Read, Write} impls for a UART on each sercom.
This works as is but needs some improvement to fully support all the features available on the samd21. Currently this is:

Only asynchronous
Only Arithmetic baud mode is supported
Only 8N1
Both TX/RX are always on

@wez

Many thanks for this!  I'll have some time to properly review on saturday.
Hmm, looks like the travis CI bits might need updating for more recent changes in rust.

👌 thanks @wez I'll probably update this a bit this weekend as well so no rush, at the very least I want to add a UART example but I need to clean up some of my code.

I also pinned the nightly version to 2018-05-16 (which was the version I was developing on) to fix some the upstream build issues. I was able to fix the panic_implementation errors by upgrading panic-abort but then got a bunch of proc-macro issues which seem to need upstream changes to get merged in cortex-m-rtfm so I just went with rolling back nightly.

@wez any chance you've had some time to take a look at this?

@zklapow sorry for not getting back to you already; I'll look at this tomorrow!

I've been using this branch, seems to be okay on a samd21g18a. Is there a reason that core::fmt::Write isn't implemented for the blocking variant?
The version which I'm using is (the struct is only there to get around the orphan issue):
struct BlockingWrite<W>(W) where W: hal::hal::blocking::serial::Write<u8>;
impl<W: hal::hal::blocking::serial::Write<u8>> core::fmt::Write for BlockingWrite<W> {
    fn write_str(&mut self, s: &str) -> core::fmt::Result {
        match self.0.bwrite_all(s.as_bytes()) {
            Ok(()) => Ok(()),
            Err(_) => Err(core::fmt::Error),
        }
    }
}

@djmcgill glad its working for you! I actually had a commit with implemented the core::fmt side of things that I just forgot to push, should be there now. I think I managed to avoid the intermediate struct by moving some imports around.


Provide feedback for EN regarding beta website

Please put draft feedback in this thread, so that I can collate it and eventually send it to EN.
The website can be found here:  https://pds.mcp.nasa.gov/portal
Feedback topics include (but are not limited to):

Text box funtionality (I've noticed that "enceladus plumes", "huygens ringlet", and other terms give very unsatisfactory results)
Architecture, graphic size, user narratives, etc.
@dstopp, does the website conform to all of the accessibility guidelines we've been working on?  I asked about this during the MC Telecon on Wednesday 10/16, and Mike Newcomb said that he thinks it does.

Note: I asked during the MC Telecon on Wednesday 10/16 about the harsh red-and-blue color scheme, and Jordan said that those are NASA colors and that that decision was made at a level above PDS.

@mace-space, @mseritan, @mit3ch, and @rfrenchseti:  I'm not assigning this issue to you unless you want me to do so.  Nevertheless, you might be interested.


[HxAccordionItems] are not collapsed correctly (not tracking DOM state?)

I found a problem when using the HxAccordion component, This Accordion displays a collection of items that need to be sorted as per user request.
These items have sub items that are displayed when the HxAccordionItem component is expanded.
The problem comes after sorting the items, some times there are more than one item expanded when it's supposed that only one should be displayed as expanded.
I have created a small project to test this, and the steps to reproduce the error are these:
1.- Expand any item, but the first one, in the Teams to Sort section.
2.- Click the Sort DESC button.
3.- Expand the first Item in the list
4.- Click the Sort ASC button.
5.- You should see two expanded items displayed.
These is another way to reproduce the issue:
1.- Expand the first item
2.- Click the Sort Desc button
3.- Expand the element in the first position after sorting the items.
4.- Two items should be displayed as expanded.
I found other different ways to reproduce the issue but I wasn't able to reproduce them in order to explain the steps to follow.
In this link  you could find the small project I created for this.
This is how the 2 items look as expanded

Thanks

The current HxAccordion implementation does not track DOM state. When user expands/collapses any item, the Blazor-HxAccordionItem is not aware of it. When re-rendering, Blazor identifies and applies only some DOM differences and the reported behavior occurs.
The solution is to track DOM state in HxAccordion, or better to track DOM state in HxCollapse na and refactor HxAccordion to use HxCollapse internally (#79).
The only thing we are afraid od is the cost of DOM state tracking (listening to hidden/shown events). This might bring some performance costs. We will consider adding TrackState parameter to such components (HxDropdown is another example).

@pepe-marba We are still refactoring the HxAccordion and trying to make it better, but for now, you can resolve your issue by setting<EMAIL_ADDRESS>for HxAccordionItem.

In the end, after refactoring HxAccordionItem to HxCollapse, we decided to go for @key requirement in dynamic scenarios. We might change this in future (won't be breaking change).
https://github.com/havit/Havit.Blazor/blob/8b716945bbf9a6e83319cc87545b87a6c786c671/Havit.Blazor.Components.Web.Bootstrap/Accordions/HxAccordionItem.razor.cs#L76-L86

this approach worked for me, thanks for your help


Get base64 buffer only

hi,
I am aware a newer version exist but in my case it does not work in Chrome 41. This plugin works just fine.
I wanted to know if its possible to just return the buffer only instead of writing it to a element.

I need it too.


chore(i18n): remove potentially copyrighted translation content

Removed all existing English and Chinese translations due to concerns about potential copyright issues.
This commit only retains the i18n structure for future contributions.

Thanks.
Recently, I cannot have time for Genshin Dictionary so much and I may need a bit long time to include your code. Thanks for your patience.

Ready to merge? 🤔

I think it’s a better idea to manage i18n in a dedicated folder 🤔


Run webpack only for first example that needs it

Related to #2801
Description
Run webpack only for first example that needs it, rather than for every suite run, independent of need
Using ENV because I didn't find a better way to share state between
before(:suite) and before(:example) blocks
Could omit the inititializaton to "false", but then an existing envvar
could override and prevent the behavior. I'll leave that until it's
required/desired.
Could also make the conditional shorter by relying on string
un/truthiness, but I opted for explicitness/clarity.
Type of change
DevX improvement—speed up spec runs which don't include type: :systemexamples
How Has This Been Tested?
Manual, CI

Works for me!

Rebased onto main 744e9e89

Awesome! :)


Fix potential hang in right join

What problem does this PR solve?
Issue Number: ref #6528 #6692
Problem Summary:
#6576 introduce a potential bug that for a right join, if probe thread meet error, some probe thread maybe hang forever.
What is changed and how it works?

fix potential hang bug in right join
refine the sync logical in join for both build and probe.

Check List
Tests

[ ] Unit test
[x] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge

/run-unit-test

/run-integration-test

/run-integration-test

/run-integration-test

/run-integration-test

/run-integration-test


2.1.4 Implement logic to ensure the created room is accessible to other users and initiate the game start within the specified range of players.

46548a02806e4693c171578af75eda763ae86162


Bump BQ revision

BQ revision 431 (https://developers.google.com/resources/api-libraries/documentation/bigquery/v2/java/latest/com/google/api/services/bigquery/Bigquery.Models.html) includes a new Model API.

@stalbot I do indeed! Merging now.


i installed as said but nothing happens?

wondering if theres something missing. anyone can help?

Hello!

Did you install both the BepInEx mod loader and the mod itself?
Can you check that the folders look like in the guide? https://plateuptools.com/kitchen-designer/how-to-install
If you run the game, does an additional console window appear?
If the console window appears, are there any errors?

so i did check . eveyrthing looks like exactly like the photo. but i just now got it to work. someone helped me do it properly. there was a step that i didnt do correctly.

thnk you for responding. your awesome

Just curious - what was the problem? So that I can maybe improve the instructions.

I too would have liked to know what was done incorrectly. I have installed and uninstalled at least 5 times. The only difference between my folder and the instruction folder is that mine is missing the winhttp.dll app extension in my game folder. I looked to see if I needed to actually install the BepInEx but I did not see anything.

I too would have liked to know what was done incorrectly. I have installed and uninstalled at least 5 times. The only difference between my folder and the instruction folder is that mine is missing the winhttp.dll app extension in my game folder. I looked to see if I needed to actually install the BepInEx but I did not see anything.

Hello, you actually need the winhttp.dll file because that's the one that makes it possible to load the mod loader (bepinex) and the loader then loads Kitchen Designer. It's possible that your antivirus is blocking that file because it should be in the zip archive that includes BepInEx. The file can probably be a false positive for some antivirus programs because it does something a bit weird as it can load other programs that can be executed before the game itself.


I cannot understand how to separate file bundles

Description
I want to separate dropbox/zxcvbn, a pretty large module, into a separate bundle. However, after meddling with javascript.joinTo in brunch-config.js I cannot get it to work.
Expected behavior
I expected that this configuration would separate zxcvbn into different bundle:
javascripts.joinTo = {
  'js/lib.js': [/^(?!app)/, /^(?!.*zxcvbn.*)$/],
  'js/app.js': [/^app/],
  'js/zxcvbn.js': [/zxcvbn/]
}

Actual behavior
zxcvbn is bundled into lib.js.
I started with this:
{
  'js/lib.js': [/^(?!app)/],
  'js/app.js': [/^app/],
  'js/zxcvbn.js': [/zxcvbn/]
}

While zxcvbn.js properly contains zxcvbn, a copy of the module still exists at lib.js. The following regexes to "eliminate" zxcvbn do not work:
/(?!zxcvbn)/
/^(?!.*zxcvbn.*)$/

Building in production does not solves the problem (I thought it would be eliminated away).
Environment

Brunch: 2.10.9
Node.js: 8.0.0
NPM: 5.0.3
Operating system: Windows 10
Code editor: VS Code

package.json contents
{
  "name": "kardus",
  "version": "0.3.1",
  "description": "Tag-based image archive website",
  "private": true,
  "scripts": {
    "clean": "del-cli public/** !public logs/**",
    "watch": "npm-run-all --parallel watch:*",
    "watch:app": "brunch watch",
    "watch:server": "nodemon server.js --inspect --ignore app/ --ignore public/",
    "lint": "npm-run-all lint:*",
    "lint:js": "standard",
    "lint:pug": "pug-lint views",
    "lint:scss": "stylelint **/*.scss",
    "test": "flow && nyc ava",
    "build": "brunch build --production",
    "knex": "knex"
  },
  "engines": {
    "node": ">=7.6.0",
    "npm": ">=5.0.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/tkesgar/kardus.git"
  },
  "keywords": [],
  "author": "Ted Kesgar<EMAIL_ADDRESS>(https://tkesgar.com)",
  "contributors": [
    "Ted Kesgar<EMAIL_ADDRESS>(https://tkesgar.com)"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/tkesgar/kardus/issues",
    "email"<EMAIL_ADDRESS>  },
  "homepage": "https://github.com/tkesgar/kardus#readme",
  "devDependencies": {
    "auto-reload-brunch": "^2.7.1",
    "ava": "^0.19.1",
    "babel-brunch": "^6.1.1",
    "babel-preset-env": "^1.5.2",
    "bootstrap": "^4.0.0-alpha.6",
    "brunch": "^2.10.9",
    "clean-css-brunch": "^2.10.0",
    "css-brunch": "^2.10.0",
    "del-cli": "^1.0.0",
    "font-awesome": "^4.7.0",
    "javascript-brunch": "^2.10.0",
    "jquery": "^3.2.1",
    "nodemon": "^1.11.0",
    "npm-run-all": "^4.0.2",
    "nyc": "^11.0.2",
    "postcss-brunch": "^2.0.5",
    "postcss-cssnext": "^2.11.0",
    "pug-lint": "^2.4.0",
    "pug-lint-config-clock": "^2.0.0",
    "sass-brunch": "^2.10.4",
    "sqlite3": "^3.1.8",
    "stylelint": "^7.11.1",
    "stylelint-config-standard": "^16.0.0",
    "tether": "^1.4.0",
    "uglify-js-brunch": "^2.10.0",
    "xo": "^0.18.2",
    "zxcvbn": "^4.4.2"
  },
  "dependencies": {
    "body-parser": "^1.17.2",
    "bunyan": "^1.8.10",
    "connect-redis": "^3.3.0",
    "cookie-parser": "^1.4.3",
    "csurf": "^1.9.0",
    "dotenv": "^4.0.0",
    "express": "^4.15.3",
    "express-rate-limit": "^2.8.0",
    "express-session": "^1.15.3",
    "gm": "^1.23.0",
    "helmet": "^3.6.1",
    "jstransformer": "^1.0.0",
    "jstransformer-marked": "^1.0.2",
    "knex": "^0.13.0",
    "marked": "^0.3.6",
    "mkdirp": "^0.5.1",
    "moment": "^2.18.1",
    "morgan": "^1.8.2",
    "multer": "^1.3.0",
    "mysql": "^2.13.0",
    "nodemailer": "^4.0.1",
    "passport": "^0.3.2",
    "passport-local": "^1.0.0",
    "pug": "^2.0.0-rc.2",
    "rate-limit-redis": "^1.1.0"
  },
  "xo": {
    "semicolon": false,
    "space": true,
    "rules": {
      "import/no-unassigned-import": "off"
    },
    "overrides": [
      {
        "files": "app/*.js",
        "envs": ["browser"]
      }
    ]
  },
  "stylelint": {
    "extends": "stylelint-config-standard",
    "ignoreFiles": [
      "**/*.css"
    ]
  }
}

brunch config contents
module.exports = {
  files: {
    javascripts: {
      joinTo: {
        'js/lib.js': [/^(?!app)/, /^(?!.*zxcvbn.*)$/],
        'js/app.js': [/^app/],
        'js/zxcvbn.js': [/zxcvbn/]
      }
    },
    stylesheets: {
      joinTo: 'css/app.css'
    },
    templates: {
      joinTo: 'js/app.js'
    }
  },
  npm: {
    globals: {
      Tether: 'tether',
      jQuery: 'jquery'
    }
  },
  plugins: {
    sass: {
      options: {
        includePaths: ['node_modules']
      }
    },
    postcss: {
      processors: [
        require('postcss-cssnext')([
          'Chrome >= 35',
          'Firefox >= 38',
          'Edge >= 12',
          'Explorer >= 10',
          'iOS >= 8',
          'Safari >= 8',
          'Android 2.3',
          'Android >= 4',
          'Opera >= 12'
        ])
      ]
    },
    cleancss: {
      level: 2
    }
  }
}

Notes
I don't understand how joinTo works; does it work like a whitelist, blacklist, or something else?

Your Brunch Config tells Brunch to join all Javascript Files which are outside the app Folder. Both your vendor files and zxcvbn.js are outside the app folder. At the moment, I can think of only one solution, you can change the directory level of any one of your files

Try putting the zxcvbn.js file inside your app Folder and modify brunch-config to point to the new location, then it should be bundled separately.

Instead of telling Brunch to bundle all files outside your app folder in lib.js, you could try telling it to bundle only the files inside a particular folder, eg. node_modules. Of course this will only work if all your vendor or library files are inside one folder (in my case, they always are).

And these are just workarounds, I feel there should be better ways to modify the way Brunch works.

Thank you for the help.
I managed to solve the problem by listing the folders (your second suggestion) since I still use some scripts in vendor, and specifically excluding zxcvbn from lib.js:
{
      joinTo: {
        'js/lib.js': [/^.*node_modules(?!zxcvbn).*$/, /vendor/],
        'js/app.js': [/app/],
        'js/zxcvbn.js': [/zxcvbn/]
      }
    }

I think it should be noted that supplying an array for joinTo works like an "OR" operator; if any of the pattern/glob matches, then it will be included (regardless of whether it has been included elsewhere).


Share audio with screen sharing

How can I take advantage of this chrome and edge feature with Eyeson.

I have added audio: true to enable the Share audio option. But it is not heard in the remote video.
getDisplayMedia() {
    if (FeatureDetector.hasGetDisplayMedia()) {
      return navigator.mediaDevices.getDisplayMedia({
        audio: true, // new line
        video: {
          width: { max: 1920 },
          height: { max: 1080 },
          frameRate: { max: 15 }
        }
      });
    }
    // .........
}

But doing it like this it works
let videoElement = document.querySelector('video');
let audioElement = document.querySelector('audio');

let audioTrack, videoTrack, stream;
window.navigator.mediaDevices.getDisplayMedia({video: true, audio: true})
.then(async displayStream => {
    videoElement.srcObject = displayStream;
    videoElement.play();
})
.catch(console.error);

Hi. Thanks for your feedback!
Unfortunately it's a bit more complex to add system audio in our application.
This feature is currently not supported.
Best regards,
Stefan


I'v got "The search query is invalid; Check the search query."

I can’t run actions by this error.

Searching for issues...
The search query is invalid; Check the search query.

I’ve got this error on action’s log.
This is my workflow file.
name: Monthly issue metrics
on:
  workflow_dispatch:

permissions:
  issues: write
  pull-requests: write

jobs:
  build:
    name: issue metrics
    runs-on: ubuntu-latest

    steps:

    - name: Run issue-metrics tool
      uses: github/issue-metrics@v2
      env:
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        SEARCH_QUERY: 'repo:owner/repo created:2023-05-01..2023-05-31'

    - name: Create issue
      uses: peter-evans/create-issue-from-file@v4
      with:
        title: Monthly issue metrics report
        token: ${{ secrets.GITHUB_TOKEN }}
        content-filepath: ./issue_metrics.md
        assignees: theMistletoe

Maybe, I missed how to wrire SEARCH_QUERY on workflow, but I can’t understand hot to fix that.
Tell me about something mistake or misunderstanding.

Does your workflow file really have "repo:owner/repo" in the search query? Or does it list an actual repo?

@zkoppert

Does your workflow file really have "repo:owner/repo" in the search query?

Yes, this is the very workflow file that was actually used in the error.
Should I specify the specific owner and repository name of the repository to be measured here?

@theMistletoe yes, go ahead and replace that with the repository owner and repository name that you are interested in measuring. Let me know if that works for you.

Closing this one for now. Please reopen if you discover this doesn't fix your issue.

@theMistletoe yes, go ahead and replace that with the repository owner and repository name that you are interested in measuring. Let me know if that works for you.

This worked fine!
Thank you for helping me with a simple problem!
@zkoppert


Add Python, Perl and Pylint to output_env.sh

Description
Add the versions of Python, Perl, and Pylint to the version dump provided by the output_env.sh script.
This is useful for when trying to diagnose CI or Dockerfile problems, particularly in the migration from Python 2 to Python 3.
Once this PR has been reviewed and approved, I'll provide backports.
Status
READY
Requires Backporting
Yes
Which branch?
mbedtls-2.16 and mbedtls-2.7
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

Thanks @dgreen-arm and @jainvikas8! That really helps!

I've signed off the commits as suggested by @jainvikas8 and have provided a fix for finding the pylint version.
Now ready for re-review, @dgreen-arm and @jainvikas8.

CI failures are the missing apache2.0.txt file in the Mbed OS build test.

I'm not sure I know what you mean @jainvikas8. Do you mean the fact a single commit, 9693ea2490b7, fails CI?

Passing CI (with understood exceptions), two passing reviews, and has backports, so promoting to 'ready for merge' and review by a gatekeeper.

I'm not sure I know what you mean @jainvikas8. Do you mean the fact a single commit, 9693ea2, fails CI?

I mean, Is there a need for 2 commits here?

So as a team, we used to have a policy of only adding commits to fix issues, versus reworking existing commits. This followed a certain philosophy on reviews and commit structure, so you only have to review new commits to see issues fixed, and didn't have to review the whole commit again.
That seems to have changed, as I see people combining their commits, and reworking them, and is best discussed offline.
For this PR, I don't think it's worth changing.

CI merge job is passing. Good to merge.


Use Maven Spotless plugin in postprocessor to handle all code formatting

This PR removes usage of Google format in favor of having the postprocessor using Maven Spotless plugin with an Eclipse format configuration perform formatting. This removes our managed dependency and uses a format configuration that could be shared so that all formatting is the same.

For fluent CI, I think it fails due to https://github.com/Azure/autorest.java/pull/2364#discussion_r1371032869
For typespec CI, you first need to move them to Java 11 as well https://github.com/alzimmermsft/autorest.java/blob/UseSpotlessInPostProcessor/eng/pipelines/ci-typespec-java.yaml#L30
(nightly-build CI as well)
Then this issue https://github.com/Azure/autorest.java/pull/2364#discussion_r1371063630

@alzimmermsft  May I know the benefit of this change, is it due to https://github.com/Azure/autorest.java/issues/2321#issuecomment-1743477724 the javadoc issue? Is there any other benefits?

@alzimmermsft May I know the benefit of this change, is it due to #2321 (comment) the javadoc issue? Is there any other benefits?

One thing is about the google java format. It is built from our own fork (and we actually built 2 of them :-)) and never released to maven. Using package outside of maven could be a security risk.

Closing in favor of #2369 as it shows the code changes plus on regeneration change to make the review easier.


Allow ruff to be used as a formatter

Until https://github.com/astral-sh/ruff/issues/659 is implemented, it could still be helpful to use ruff to format the signatures.
Feel free to close the PR if you believe the perf impact is too big when spanning multiple subprocesses.

Thanks! I tried it in a project that renders quite a lot of docstrings, and I don't see any flagrant perf hit.

Thanks! I tried it in a project that renders quite a lot of docstrings, and I don't see any flagrant perf hit.

Something might be missing though: the signatures aren't actually formatted :sweat_smile: Does it work on your side?

Once I add and use the _find_ruff util, I then get this process error:
CalledProcessError(2, ['/media/data/dev/griffe/.venv/bin/ruff', 'format', '--config "line-length=60"', '--stdin-filename', 'file.py', '-'])

Its stderr is:

'error: unexpected argument '--config "line-length' found\n\n  tip: a similar argument exists: '--config'\n\nUsage: ruff format --config <CONFIG_OPTION> [FILES]...\n\nFor more information, try '--help'.\n'

OK working with the suggestion above. Let me re-check the perfs.

Before merging the PR (if that goes through), the documentation needs to be updated (and some of the docstrings) to reflect that now it can also use ruff when black is not found.

Thanks! Looking great :slightly_smiling_face: I just noticed a "bug" within the code that handles cross-references in signatures: the code currently replaces **kwargs with a unique id. The issue is that Ruff then sees something like _FRmWcKw, and will complain that it doesn't have a default value while following other parameters with default values. Black doesn't seem to care about this.
def xxxxxxxxxxxxx(_N8CL: _8E, _CaOSB3U7V0pPKKf: _r9 | None = None, _qIcd: _cE3[_uQ] | None = None, _iaxfH: _pI = 'en', _kCT1PbcXbF3Nhl5kcSLp: _cIW | None = None, _FrMwcKw: _LW): pass

error: Failed to parse file.py:1:163: Parameter without a default cannot follow a parameter with a default

We should fix this before merging :thinking: I'll do this in another commit/PR. We'll probably have to modify the param_crossref Jinja macro in _base/expression.html.jinja to leave star characters outside of cross-references. Or maybe the unique ids could simply keep stars.

Done, merging!

Thanks again @DarkaMaul :rocket:

Happy this is moving along - was just thinking about this


Empty bibliographies with Quarto website

I'm trying to write a Quarto website and use this filter to produce a list of publications. I tried to follow the README, and must be doing something wrong because the bibliographies aren't rendered at all in the html output. Quarto doesn't output any particular error message. I installed this filter with quarto install extension pandoc-ext/multibib.
In _quarto.yml, I have
project:
  type: website

website:
  title: "My Website"
  navbar:
    left:
      - href: index.qmd
        text: Home
      - publications.qmd

filters:
  - multibib

format:
  html:
    theme: cosmo
    css: styles.css
    toc: true

I'm not using any other filter.
In publications.qmd, I'm testing the filter with
---
title: "Publications"
bibliography:
    articles2020: articles2020.bib
    articles2019: articles2019.bib
validate-yaml: false
---

## 2020

::: {#refs-articles2020}
:::

## 2019

::: {#refs-articles2019}
:::

When the html is rendered, the sections "2020" and "2019" of the publications page are empty. What am I doing wrong?

I believe that Quarto has changed the order in which filters and the citeproc citation processing tool are run, but I didn't have time yet to look into that. Maybe try to set citeproc: false.

Thank you for the quick reply. No luck with citeproc: false (I tried putting it in _quarto.yml and in publications.qmd as it's never clear to me where it should go).

Thanks for checking. I'll have a look, but it might take a while, as I'm more time constrained than usual right now.

It may not be a Quarto issue. If I use publications.qmd above (with or without validate-yaml: false) and run
pandoc --lua-filter _extensions/pandoc-ext/multibib/multibib.lua publications.qmd -t markdown

from the command line, I get
[WARNING] Could not deduce format from file extension .qmd
  Defaulting to markdown

## 2020

### Journal Articles

::: {#refs-articles2020}
:::

## 2019

### Journal Articles

::: {#refs-articles2019}
:::

I must be doing something wrong?!

As I suspected, the problem was between the chair and the monitor. I forgot to add nocite: "[@*]" to my yaml header:
---
title: "Publications"
bibliography:
    articles2020: articles2020.bib
    articles2019: articles2019.bib
validate-yaml: false
nocite: "[@*]"  # <---
---

Sorry for the noise, and thank you for a great extension!!!


lastRatingChangeTimestamp

added some info for lastRatingChangeTimestamp

Thanks! Just two quick fixes before we merge.

btw. all fixed now (I hope) ;)

Looks good; thanks!


MWPW-132671: Load Milo's locales for config

Supports: MWPW-132671
Requires: https://github.com/adobecom/milo/pull/880
Test URLs:

Before: https://use-milo-locales--dc--adobecom.hlx.live/ar/acrobat/online/word-to-pdf
After: https://use-milo-locales--dc--adobecom.hlx.live/ar/acrobat/online/word-to-pdf?milolibs=import-locales--milo--hparra

@peller See https://github.com/adobecom/milo/pull/880 and the issue it links to for context. I'll recreate this PR against staging if/when that lands.


Allow editing of public notes

Is your feature request related to a problem?
I want to share a note with a person but they cannot edit it.
Describe the solution you'd like
I want to share a grocery list and have my gf add her items.
Additional context
No response

This is a huge feature. Collaborative notes are far more valuable. Ideally, each note could be shared with specific users, but even making the note editable by all workspace users would be useful.

Really? Not planned?


Update Bundler Contributor Guidelines README

Thanks so much for the contribution!
To make reviewing this PR a bit easier, please fill out answers to the following questions.
What was the end-user problem that led to this PR?
The problem was...
...the contributor guide was is too long and too confusing. It was difficult to determine what information needed to be reviewed in what sequence. We wanted to make the guidelines easy to read and easy to follow.
What was your diagnosis of the problem?
My diagnosis was...
...to condense the information
What is your fix for the problem, implemented in this PR?
My fix...
to condense the information presented and truncate the number of sections. See changes:

Why did you choose this fix out of the possible options?
I chose this fix because...
...it's a quick win!

@hmistry per your comments I've made the requested updates. Thank you!

Thanks! @bundlerbot r+


⚠ Bofrost.fr has degraded performance

In 717051c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1970 ms

Resolved: Bofrost.fr performance has improved in c804a4e after 306 days, 19 hours, 19 minutes.


TTL Not working

When I use TTL, the leveling system doesn't apply to created tools (tool forge, etc.) but works when I spawn the tools?

Try reproducing with only mantle, tic and ttl. Seems to work fine.

If it would matter I could give you the mediafire link to the mods that I have running. I'm also using a sponge server.

Okay, apparently I have to make a full tool out of a material, then replace the parts of the tool to make it how I'd like? Weird quirky workaround but it works.

The issue probably stems from a different mod you're using, or sponge. The sponge guys are great, but they change a lot under the hood which can sometimes cause weird side effects. Check if it happens in singleplayer without sponge.

Hello,
I have the same problem in my Modpack.
(MC: 1.12.2, Forge 2775, 153 Mods)

Edit: create a new config -> fixed