[New Feature] Add Multiple direction support for Tooltip

🚀 Feature Request

Feature Description
Tooltip should support a prop for placement, to begin with we can add support for
1. Cardinal Directions
top
bottom
left
right
2. Compound Directions
For offsets or alignment toward corners:
top-left / top-start
top-right / top-end
bottom-left / bottom-start
bottom-right / bottom-end
left-top / left-start
left-bottom / left-end
right-top / right-start
right-bottom / right-end
Tip: The "start" and "end" nomenclature pairs well with bidirectional (LTR/RTL) layouts.
Shall we consider something like this?
{
  position: "top",          // Places the tooltip above the target
  alignment: "start",       // Aligns the tooltip to the left
  strategy: "auto",         // Adjusts position based on viewport space
}

Note: We use Floating UI - If I recall correctly, most of these placements are already supported by the library
https://floating-ui.com/docs/tooltip

floating-ui already has a type for it, import { Placement } from '@floating-ui/react';
It's better to use it then manually keeping track of all the positions


Add sort arrows to table header

@jennyknuth sort arrows are gray by default, and when one of the headers is clicked on, the corresponding ascending or descending arrow turns black


Add ShaderUnmanaged

Hello,
I added the ShaderUnmanaged class for https://github.com/RobLoach/raylib-cpp/issues/299#issuecomment-2204345216, but honestly it didn't really solve the problem with the ownership of Models, Materials and Shader...
IF you are using (Load) Material with Shaders, use NEED to use ShaderUnmanaged or raylib Shader (struct).
Basically the ownership gets transfert to the Material.
Otherwise it's a bit more complicated when you are using Model, see raylib shaders_basic_pbr example:
    // Load old car model using PBR maps and shader
    // WARNING: We know this model consists of a single model.meshes[0] and
    // that model.materials[0] is by default assigned to that mesh
    // There could be more complex models consisting of multiple meshes and
    // multiple materials defined for those meshes... but always 1 mesh = 1 material
    Model car = LoadModel("resources/models/old_car_new.glb");

    // Assign already setup PBR shader to model.materials[0], used by models.meshes[0]
    car.materials[0].shader = shader;

...

    // De-Initialization
    //--------------------------------------------------------------------------------------
    // Unbind (disconnect) shader from car.material[0]
    // to avoid UnloadMaterial() trying to unload it automatically
    car.materials[0].shader = (Shader){ 0 };
    UnloadMaterial(car.materials[0]);
    car.materials[0].maps = NULL;
    UnloadModel(car);

    floor.materials[0].shader = (Shader){ 0 };
    UnloadMaterial(floor.materials[0]);
    floor.materials[0].maps = NULL;
    UnloadModel(floor);

    UnloadShader(shader);       // Unload Shader

Right now you NEED to know when to unload the Material which also unloades the (non-default) Shader, so you also NEED to  "unbind" the Shader from the Material before calling UnloadMaterial.

I personally use raylib for more 2D Projects,  so my experience on 3D with raylib is limited
Maybe there is a way to track the materials/shaders in the Model, to know when to UnloadMaterial (UnloadShader).
I experimenting a bit with the setters of Model: SetShader and SetMaterial, on my own branch to control the ownership.
Model.hpp
enum class ModelMaterialShaderOption : uint8_t {
    NoUnload = 0,                                      ///< Do Nothing when UnloadingModel, manage materials and shaders on your own
    UnloadMaterial = 1,                                ///< UnloadMaterial: assume shader ownership is in Model (Material), shader gets unloaded by UnloadMaterial
    UnbindShader = 2,                                  ///< Unbind (disconnect) shader from Model (Material), to avoid UnloadMaterial() trying to unload it automatically (NO UnloadMaterial)
    UnbindShaderBeforeUnloadAndUnloadMaterial  = 3,    ///< UnloadMaterial AND Unbind (disconnect) shader from Model (Material), to avoid UnloadMaterial() trying to unload it automatically (manage shader ownership on your own)
};

class Model {
    ...
    void SetMaterialShader(size_t material_index, ::Shader& shader, ModelMaterialShaderOption option) {
        assert(material_index < m_data.materialCount);
        m_data.materials[material_index].shader = shader;
        trackMaterialOwnership(material_index, option);
        switch(m_trackMaterialOwnership[material_index]) {
            case ModelMaterialOptions::None:
                break;
            case ModelMaterialOptions::UnloadMaterial:
                // ownership of shader moved into material
                shader.id = rlGetShaderIdDefault();
                shader.locs = nullptr;
                break;
            case ModelMaterialOptions::UnbindShader:
            case ModelMaterialOptions::UnbindShaderBeforeUnloadAndUnloadMaterial:
                // nothing to move, user should manage shader on its own
                break;
        }
    }

    void Unload() {
        if (m_data.meshes != nullptr || m_data.materials != nullptr) {
            for(const auto& [material_index , option] : m_trackMaterialOwnership) {
                switch(option) {
                    case ModelMaterialOptions::None:
                        // do nothing
                        break;
                    case ModelMaterialOptions::UnloadMaterial:
                        // UnloadMaterial, should also unload shader
                        UnloadMaterial(m_data.materials[material_index]);
                        // maps also gets unloaded in UnloadMaterial
                        m_data.materials[material_index].maps = nullptr;
                        break;
                    case ModelMaterialOptions::UnbindShader:
                        m_data.materials[material_index].shader.id = rlGetShaderIdDefault();
                        m_data.materials[material_index].shader.locs = nullptr;
                        break;
                    case ModelMaterialOptions::UnbindShaderBeforeUnloadAndUnloadMaterial:
                        m_data.materials[material_index].shader.id = rlGetShaderIdDefault();
                        m_data.materials[material_index].shader.locs = nullptr;
                        // UnloadMaterial, should NOT unload the shader
                        UnloadMaterial(m_data.materials[material_index]);
                        // maps also gets unloaded in UnloadMaterial
                        m_data.materials[material_index].maps = nullptr;
                        break;
                }
            }
            ::UnloadModel(m_data);
            m_data.meshes = nullptr;
            m_data.materials = nullptr;
            m_trackMaterialOwnership.clear();
        }
    }

example

    // Assign material shader for our floor model, same PBR shader
    floor.SetMaterialShader(0, shader, raylib::ModelMaterialShaderOption::UnbindShaderBeforeUnloadAndUnloadMaterial);

    // connect road textures
    floor.SetMaterialMapTexture(0, MATERIAL_MAP_ALBEDO, LoadTexture("resources/road_a.png"));
    floor.SetMaterialMapTexture(0, MATERIAL_MAP_METALNESS, LoadTexture("resources/road_mra.png"));
    floor.SetMaterialMapTexture(0, MATERIAL_MAP_NORMAL, LoadTexture("resources/road_n.png"));

Thanks for pushing this up. Didn't see the notification for it. I think this is a great addition, is there anything missing for it? The ownership of the objects does get a bit messy across these objects.

Yea this is just the ShaderUnmanaged to solve the problem from #299, but the ownership problems for models etc. is just an issue on it's own and need more design and work to utilize the full C++ feature like RAII.


Uncaught TypeError: cordova.exec is not a function

Hi guys,
I'am creating a mobile app for both Android and ios using Phonegap build and cordova-plugin-googlemaps. My app was perfectly working a few months ago, but now, when i build a new version, i'am having this error :
Uncaught TypeError: cordova.exec is not a function
at App.isAvailable (plugins/cordova-plugin-googlemaps/www/googlemaps-cdv-plugin.js:782)
at Channel. (plugins/cordova-plugin-googlemaps/www/googlemaps-cdv-plugin.js:2728)
at Channel.fire (cordova.js:846)
at cordova.js:231
Does someone have a clue what is happening ?
Kind regards,
Manu

I think your project does not have cordova framework.


Edurep improvements

[x] Write the delta tests
[x] Do not include study_vocabulary values other than what harvest_study_vocabularies adds

Study vocabularies get filtered by lookup_study_vocabulary_parents task. Not by Edurep extractor


Select query is incorrectly executed in special case

System information:

Operating system (distribution) and version win10 x64
DBeaver version 7.1.3

Connection specification:

Database name and version Clickhouse

Describe the problem you're observing:
Select query is incorrectly executed after SQL formatting (Default formatter)
Steps to reproduce, if exist:

Choose any table and Read it in SQL console
Apply Format SQL to query
Try to execute it.

Seems to be a bug in Clickhouse driver or server-side query parser.
If query doesn't contain whitespaces (NOT including \r, \n or \t) then driver doesn't return any resultset.

Will be fixed in clickhouse-jdbc 0.2.5

Will be fixed in clickhouse-jdbc 0.2.5

Moved to 0.2.6

Thank you @uslss and @serge-rider for reporting the issue. 0.2.6 is released and it works on DBeaver(community edition <IP_ADDRESS>102141704) according to my test just now.

verified


Design UI for Public User Profile Page( issue #127 )

Hey! Can you assign this to me?
Also, just to make this task more clear:

The page should include the user's name, profile picture, and bio/description. (extra suggestion: maybe a number that shows how many shortlinks did the user share, or how many views did all of the shortlinks get overall?)
Below the basic informations there should be a list of the short URLs that the user has made.
Did I forget anything?

Hey! Can you assign this to me? Also, just to make this task more clear:

The page should include the user's name, profile picture, and bio/description. (extra suggestion: maybe a number that shows how many shortlinks did the user share, or how many views did all of the shortlinks get overall?)
Below the basic informations there should be a list of the short URLs that the user has made.

Did I forget anything?

You captured everything, @darklionHu, and your suggestion is also great. If you have more ideas, feel free to try them. We look forward to your creativity.

@DhananjayThomble where should I upload the design? I can export them in most image and document file extensions.
I'll most likely finish this assignment tomorrow and then improve on it based on feedbacks and suggestions if needed.

@DhananjayThomble where should I upload the design? I can export them in most image and document file extensions. I'll most likely finish this assignment tomorrow and then improve on it based on feedbacks and suggestions if needed.

You can create a 'design' directory in the root of the project and upload necessary doc and img files there.

Hello @darklionHu, I really liked the design and already merged it. Now, we need your help with designing another page where users can view the lists of other registered SnapURL users. They should be able to click on the lists to access the URLs and bio/description, which you've already designed.

Hello @darklionHu, I really liked the design and already merged it. Now, we need your help with designing another page where users can view the lists of other registered SnapURL users. They should be able to click on the lists to access the URLs and bio/description, which you've already designed.

Hey, I'm really glad you liked it!
I'll start working on it and will finish the new design this saturday.


add refseq id

After merging: https://github.com/genome-nexus/genome-nexus-importer/pull/13
This adds refseq_mrna_id to the ensembl transcript model

Codecov Report

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

@@            Coverage Diff            @@
##             master     #226   +/-   ##
=========================================
  Coverage     38.51%   38.51%
  Complexity      231      231
=========================================
  Files           134      134
  Lines          1820     1820
  Branches        223      223
=========================================
  Hits            701      701
  Misses         1024     1024
  Partials         95       95

Impacted Files
Coverage Δ
Complexity Δ

...genome_nexus/web/mixin/EnsemblTranscriptMixin.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

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 8167055...244c49c. Read the comment docs.


Cross reference FadeTransition and AnimatedOpacity in docs and contrast difference

@xster any reason that both FadeTransition and AnimatedOpacity exist?  AnimatedOpacity is built with an Opacity Widget internally whereas FadeTransition defers to a render Object called RenderAnimatedOpacity.  The only difference I can see is that one uses a double and the other uses an Animation<double> - is that distinction worth the difference?
If so, it still seems strange that one is implemented entirely in Widget-land, while the other has a special render Object.  Any reason for that?

From https://github.com/flutter/flutter/pull/14155, I think it's just to avoid constantly rebuilding the entire widget subtree. If the FadeTransition is on the page transition, then the entire page would rebuild per frame.
Since the render object listens to the animation directly in the FadeTransition, essentially nothing rebuilds in the widget tree.
Rather than documenting though, we should just make AnimatedOpacity use RenderAnimatedOpacity instead.

There's already a bug open. Merging into #15466

@matthew-carroll We have AnimatedFoo and FooTransition widgets for most things; one takes an Animation so you can drive it externally, and one just automatically drives itself when its argument change.

@Hixie Got it.  it might be worth considering an alternate naming convention.  My initial assumption about FadeTransition was that it was a special one-off animation created specifically for page route transitions.  The term "transition" seems to be used a lot online when referring to routing (see questions about "custom transitions"), and it also now seems that "transition" is routinely used for an independent concept in the SDK as well.

Our naming convention here is terrible but it's probably too late to change it.


cannot run Carla using nvidia GPU under Linux with multi-GPU installed : PRIME instruction ignored by Carla

This issue is linked to closed issues :
#3920
#3490
#3196
#2396
#2490
I don't think this should be played down, because it seems most Linux users using dual GPU have this issue and either quit trying either switch to using the intel GPU instead of their available Nvidia.
CARLA version: carla-simulator-0.9.12 4.26.2-0+++UE4+Release-4.26 522 0
Platform/OS: Ubuntu 20.04.3 LTS
Problem you have experienced: cannot launch carla
Steps to reproduce:
I think Carla is grabbing the first active GPU device (message about MESA points toward intel GPU), instead of the one selected by PRIME. See screenshot below.

Using -opengl do not make things work, I get a message box and then the same error + coredump as without -opengl

How to run Carla unde Linux when using Prime selector and not blacklisting devices ?
How to check which GPU is using Carla ?

I am facing the same issue at the moment.
If a solution is found, please comment.
I will do the same.

Same issue faced by me too :
$ ./CarlaUE4.sh -quality-level=Epic

4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  4
  Resource id in failed request:  0x340003b
  Serial number of failed request:  285
  Current serial number in output stream:  295
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
Signal 6 caught.
Segmentation fault (core dumped)

Let me know if anyone finds a solution.. thanks

I also did the test with carla 0.9.11, but I have exactly the same problem.
Are you sure you did not switch to running on your intel GPU ?
With carla version 0.9.11 the run option -opengl enables me to launch carla over the intel GPU, but it is very very slow and this is not what I want.
With carla version 0.9.12 this option does not work (even to run it over the intel GPU).

I also get same error when I try to run ./CarlaUE4.sh ...... also -opengl dosen't work for me.
This is the error I get.
4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  4
  Resource id in failed request:  0x440003b
  Serial number of failed request:  286
  Current serial number in output stream:  296
terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
Signal 6 caught.
Segmentation fault (core dumped)

Just was having the same issue. Looks like a workaround is to force Carla to use nvida by:
DRI_PRIME=1 ./CarlaUE4.sh
This allowed me to run the app successfully.

I experience the same issue. I used the use the -opengl option to run the previous version. There is also an issue to run Docker file #4755 . Thus, currently, I have no way using Carla 0.9.12.

unfortunately, I still have the same error using ./CarlaUE4.sh -prefernvidia and also -opengl doesn't work for me either, anyone have an idea? I can provide trace/logs if that's helpful.

I experience the same issue. I used the use the -opengl option to run the previous version. There is also an issue to run Docker file #4755 . I found a workaround adding the option -prefernvidia which seemed to solve the problem.
Full command line : ./CarlaUE4.sh -prefernvidia

Really appreciate this, it worked out for me.


///  isn't work as intended.

Describe the bug
In the latest version of sveltekit reference type declarations in the global.d.ts file isn't work as intended.
When I run tsc --noEmit it will get back with the following errors:
src/lib/env.ts:1:37 - error TS2339: Property 'env' does not exist on type 'ImportMeta'.

1 export const BASE_URL = import.meta.env.VITE_BASE_URL;
                                      ~~~
src/lib/utils/api.ts:3:22 - error TS2307: Cannot find module '$app/navigation' or its corresponding type declarations.

3 import { goto } from '$app/navigation';

Extending types with these types will solve the problem.
I think would be better using the references rather than this.
// tsconfig.json
{
  "compilerOptions": {
    "types": ["vite/client", "./node_modules/@sveltejs/kit/types/ambient-modules"]
  }
 }

If I remove these options and ///   from the global.d.ts, the result will be the same.
AFAIK all of the added compilerOpt types is imported & exported in @sveltejs/kit, but isn't works as it has to.
Reproduction
Install a fresh svelte kit template and turn into typescript.
Update packages.
Try using env declarations.
run tsc --noEmit
Logs
src/lib/env.ts:1:37 - error TS2339: Property 'env' does not exist on type 'ImportMeta'.

1 export const BASE_URL = import.meta.env.VITE_BASE_URL;
                                      ~~~

src/lib/utils/api.ts:3:22 - error TS2307: Cannot find module '$app/navigation' or its corresponding type declarations.

3 import { goto } from '$app/navigation';

### System Info

```shell
System:
    OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.66 GB / 15.48 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.13.0 - /usr/bin/node
    npm: 8.1.0 - /usr/bin/npm
  Browsers:
    Chrome: 96.0.4664.45
    Firefox: 94.0
  npmPackages:
    @sveltejs/adapter-static: ^1.0.0-next.21 => 1.0.0-next.21
    @sveltejs/kit: ^1.0.0-next.196 => 1.0.0-next.196
    svelte: ^3.44.2 => 3.44.2

Severity
serious, but I can work around it
Additional Information
Extending types with these types will solve the problem.
I think would be better using the references rather than this.
{
  "compilerOptions": {
    "types": ["vite/client", "./node_modules/@sveltejs/kit/types/ambient-modules"]
  }
 }

compilerOptions.types was avoided because it would override all default ambient types, hence we add the types separately in a d.ts file. Can you show you're full tsconfig.json? Make sure include covers the .d.ts file as well for TypeScript to pick up the extra typings.

This is a typescript bug which is tracked at https://github.com/microsoft/TypeScript/issues/46860 . If you downgrade to 4.4 you won't get the issue. I think we can fix it on our end in the meantime as well though, will look into that later.

This is a typescript bug which is tracked at microsoft/TypeScript#46860 . If you downgrade to 4.4 you won't get the issue. I think we can fix it on our end in the meantime as well though, will look into that later.

I'm tried with 4.4.4.

compilerOptions.types was avoided because it would override all default ambient types, hence we add the types separately in a d.ts file. Can you show you're full tsconfig.json? Make sure include covers the .d.ts file as well for TypeScript to pick up the extra typings.

here is my tsconfig.json
{
    "compilerOptions": {
        "moduleResolution": "node",
        "module": "es2020",
        "lib": ["es2020", "DOM"],
        "target": "es2020",
        "importsNotUsedAsValues": "error",
        "isolatedModules": true,
        "resolveJsonModule": true,
        "sourceMap": true,
        "esModuleInterop": true,
        "skipLibCheck": true,
        "forceConsistentCasingInFileNames": true,
        "baseUrl": ".",
        "allowJs": true,
        "checkJs": true,
        "paths": {
            "$lib/*": ["src/lib/*"]
        },
        // Workaround for "module cannot found"
        // "types": ["vite/client", "./node_modules/@sveltejs/kit/types/ambient-modules"],
        "strict": true
    },
    "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"],
    "exclude": ["node_modules/*", "static/*", "ui-kit/*"]
}

Hmm if include already covers d.ts files, then I think it boils down the @dummdidumm's linked issue. Maybe your IDE is still using typescript 4.5 when you tested it? In vscode, you can open the command palette and choose "Select TypeScript version" to change it. Or perhaps you've edited the .d.ts file that it becomes a module file (which types doesn't apply globally).

Hmm if include already covers d.ts files, then I think it boils down the @dummdidumm's linked issue. Maybe your IDE is still using typescript 4.5 when you tested it? In vscode, you can open the command palette and choose "Select TypeScript version" to change it. Or perhaps you've edited the .d.ts file that it becomes a module file (which types doesn't apply globally).

The VSCode using 4.4.3. However the trick was in the node_modules folder.
I've delete the both node_modulse and package.lock, and in my package.json thy typescript version was set 4.4.4,
and every time when I ran npm i  it's insalled 4.5.x and that was the problem.
Thank you for pointing to the possible problem sources.


[SPARK-45771][CORE] Enable spark.eventLog.rolling.enabled by default

What changes were proposed in this pull request?
This PR aims to enable spark.eventLog.rolling.enabled by default for Apache Spark 4.0.0.
Why are the changes needed?
Since Apache Spark 3.0.0, we have been using event log rolling not only for long-running jobs, but also for some failed jobs to archive the partial event logs incrementally.

https://github.com/apache/spark/pull/25670

Does this PR introduce any user-facing change?

No because spark.eventLog.enabled is disabled by default.
For the users with spark.eventLog.enabled=true, yes, spark-events directory will have different layouts. However, all 3.3+ Spark History Server can read both old and new event logs. I believe that the event log users are already using this configuration to avoid the loss of event logs for long-running jobs and some failed jobs.

How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

AppVeyor failure (SparkR) is irrelevant to this PR.
Could you review this PR when you have some time, @viirya?

Oh, got it, existing one looks good. From the diff, I cannot see it so I thought SingleEventLogFileWriter isn't tested.

Thank you for your confirmation! Merged to master for Apache Spark 4.0.0.


Formedit giving error while any event occurs in ui

Failed to execute 'structuredClone' on 'Window': options => {
this.submit(false, options).catch(e => {
options.instance.loading = fa...... } could not be cloned.
Error: Failed to execute 'structuredClone' on 'Window': options => {
this.submit(false, options).catch(e => {
options.instance.loading = fa...... } could not be cloned.
at onAnyEvent (webpack://oss-portal/./node_modules/@formio/react/lib/components/Form.js?:36:24)
at EventEmitter.eval (webpack://oss-portal/./node_modules/@formio/react/lib/components/Form.js?:230:53)
at EventEmitter.emit (webpack://oss-portal/./node_modules/eventemitter3/index.js?:182:35)
at EventEmitter.emit (webpack://oss-portal/./node_modules/@formio/js/lib/cjs/EventEmitter.js?:47:19)
at EmailComponent.emit (webpack://oss-portal/./node_modules/@formio/js/lib/cjs/Element.js?:180:25)
at HTMLInputElement.eval (webpack://oss-portal/./node_modules/@formio/js/lib/cjs/components/_classes/component/Component.js?:2877:22)

Version?

Version?

  "@formio/js": "5.0.0-dev.5621.91bd945",
    "@formio/react": "6.0.0-dev.568.ced0fbd",

@lane-formio one more issue i am facing when I use formedit component and create a new form setting values not set in payload

Agent Olga Bannikova linked Freshdesk ticket 49512 for this issue.

I have this coming up in the queue for review, in the meantime, could you provide a codesandbox as an example?
Also, I published<EMAIL_ADDRESS>if you can update to that and try the latest @formio/js rc version.

I have this coming up in the queue for review, in the meantime, could you provide a codesandbox as an example?
Also, I published<EMAIL_ADDRESS>if you can update to that and try the latest @formio/js rc version.

I had the same problem - the exception mentioned in the first post causes the inability to save the form.  Updating the packages helped. Here are the versions that work correctly:
  "@formio/js": "5.0.0-rc.76",
  "@formio/react": "6.0.0-rc.1",

Thanks @piotr-huk
I'm going to go ahead close the issue as resolved.


Headstage Neuropixel 1.0e - GUI

Closely related to #100, and is focused on adding GUI elements on top of the work done in the issue-100 branch.

I cannot checkout and compile issue-106 branch because its missing the probe interface dependency. @glopesdev what do you do when you have some project dependency that is in active development and not yet ready for nuget but you dont want to put into the source of the repo that uses it?

The project dependency is present, can you try running the following code to pull the ProbeInterface to your local copy and see if that works?
git submodule init
git submodule update

This is one of the bigger problems with submodules, from what I know, is that you cannot automatically clone down the repo and also clone down the submodules at the same time. There are commands that can be used in Git Bash to pull the submodules in at the same time, but programs like VSCode do not do this automatically. If there is a way to set it so that the submodules are pulled when the rest of the repo is cloned down that would be great!

Shoot i didnt notice the submodule, ill try this today. Thanks @bparks13


Storage adapter customization

I can't fin a way add stores to an FS.Collection.
It would be nice to have an extra field in "collection" where one could specify a file with an array of extra stores. (in addition to files)
Like:
//extra_stores.js
[
        new FS.Store.FileSystem("thumbs", {
                transformWrite: function(fileObj, readStream, writeStream) {
                 gm(readStream, fileObj.name()).resize('200', '200').stream().pipe(writeStream);
        },
        new FS.Store.FileSystem("avatar", {
                transformWrite: function(fileObj, readStream, writeStream) {
                 gm(readStream, fileObj.name()).resize('80', '80').stream().pipe(writeStream);
        }
      })
]

I've tried to find a way to fake it, but right now all I can do is to add a second files.js file with the complete Collection definition and remove the generated one from the output folder.
Is there a better way to get transforms right now ?

In situations like this (e.g something required not possible by the cli ) diff and patch has solved the problems. Old goog makefile / grunt / npm / gulp / sh-script with proper invocations works like a treat ;)
Simple, but over complicated build script for one of my projects:
#!/bin/bash

ID=insert_app_id_here
URL=http://www.meteorkitchen.com/api/getapp/json/$ID

function build {
 echo Starting meteor-kitchen build
 meteor-kitchen pitpa.json OUTPUT
 # here's the patch to support google login with additional scopes
 patch -p0 < login.patch
}

# fetch the json and also make a backup
function once {
    curl -s  $URL > pitpa.json.new
    mv pitpa.json.new pitpa.json
    cp pitpa.json backup/pitpa.json-"`date`"
    # git add pitpa.json
    # git commit -m "Autobuild running for $ID"
    build
}

# run the build once ;)
once

Yeah i'm interested in this as well, mainly to be able to create thumbnails to use as needed:
https://github.com/CollectionFS/Meteor-CollectionFS#image-manipulation


Help

Hi, I followed all the steps described and I'm still having problems. I can't compile the application with release.aar, if I delete this library, nothing happens when I make the PDF open call on the button. Can you help me?

File release.aar not found. Please re-import asset. See README.md for details...
UnityEngine.Debug:LogError(Object)
UnityAndroidOpenUrl.EditorScripts.PackageNameChanger:.cctor() (at Assets/PDF/Assets/Editor/PackageNameChanger.cs:65)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])

you can migrate the lib release.aar to androidX?


Added support for multiple aliases/hostnames in single line for ssh completion and plugin

fix for #682

Nice work! Just tested it out and it works for me! :+1:


highlightText and highlightWords

The text is loosing the upper and lower case.

Thanks @jrcacd, it will be published in the final release and in the next snapshot.

So fast! :-)
Thanks


Errors about invalid references are not associated with a project

Create a new Console App targeting .NETCoreApp1.0
Create a new Console App targeting .NETCoreApp1.1
Reference 2 from 1

Severity	Code	Description	Project	File	Line	Suppression State
Error		Project ConsoleApp49 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Project ConsoleApp49 supports: netcoreapp1.1 (.NETCoreApp,Version=v1.1)			0
Error		One or more projects are incompatible with .NETCoreApp,Version=v1.0.			0

Not sure if this is our bug or SDK, but these should be associated with a project.

Maybe this is NuGet outputting this?
Can we stop NuGet from adding errors to the error list, and instead use our errors from Resolve the reference?

@natidea @emgarten where did we land on who's outputting the errors for unresolved package refs?

I think these errors are coming from NuGet. The plan is for NuGet to add these to the assets file, and we can raise to the error list as needed.
Right now NuGet emits unresolved package refs to error list, and our task adds some errors to the solution explorer where applicable (but suppresses messages to the error list for now, tracked by https://github.com/dotnet/sdk/issues/585)

Where's the bug tracking this work?

The other thing I'd like to see is the errors around, references, package references and project references to be unified so that they look and feel similar. Right now it the error message for packages is really hard to parse:
Severity	Code	Description	Project	File	Line	Suppression State
Error		Package System 4.1.311.2 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package System 4.1.311.2 supports: net451 (.NETFramework,Version=v4.5.1)			0

I also don't understand this, Dependency node makes it out to seem this is a bug:

Whereas, error list tells me the correct story:
Warning		Dependency specified was System (>= 1.0.0) but ended up with System 4.1.0311.2.			0

The NuGet work is tracked at https://github.com/NuGet/Home/issues/1599
The dependency warnings were copied from the CLI (see https://github.com/dotnet/sdk/issues/26#issuecomment-262709524). They may have slightly different wordings from NuGet, or I may have selected the wrong one for this scenario.

yes , message in the tree should be same as warning in error tree (it should come form the sdk, tree just display's it). Another thing is we need to add a correct icon for warnings instead of a question mark (that i will do)

Tracking this as part of https://github.com/dotnet/project-system/issues/1660


Clone repo for first time, running runZap outputs errors but still works

I tried seeing what it would be like for a first time user to clone the repo and try to run the HUD with the ./gradlew runZap command. It took about 3 minutes to execute, and ultimately worked perfectly. But when the gradle CLI finished up it reported errors.
I'm curious about why it reported errors but still worked. This may be confusing to first time users.

The build expects ZAP to be up and running after 20 seconds (since it started it), in that case it took some more time to start. I guess we can give it more time, 60 seconds? That should be enough.

also saw this heapDump

@thc202 just as an fyi, it took about 3 minutes from starting the command to have zap up and running. Is the 20 seconds just for one part of that? like after zap get downloaded  it waits 20 seconds from starting it til its open?

Yes, the 20s start counting just after starting the ZAP process.
Regarding the previous comment, that's Gradle daemon process:
https://docs.gradle.org/current/userguide/gradle_daemon.html

oh interesting. is that an error then or just some weird config?

Just a config, it enables heap dumps when the Java process hits an OutOfMemoryError (if you were referring to that?).

Thanks for explaining that to me @thc202 :D


How to dynamically choose the initial route?

There are several cases in my app:

the user is unauthenticated (route to /, which is SignUpPage
the user is authenticated, but profile is incomplete (route to /complete_profile)
the user is authenticated, but the email address is unverified (route to /verify_email)

How to achieve this with this great library? I tried to use PlatformRouteInformationProvider, but Routemaster crashes on this:
_navigate(
      uri: PathParser.getAbsolutePath(
        basePath: currentConfiguration!.fullPath,
        path: path,
        queryParameters: queryParameters,
      ),
      queryParameters: queryParameters,
      isReplacement: false,
      navigationResult: result,
    );

complaining that currentConfiguration is null.

Hi, can you give me an example of your route map please?

  @override
  Widget build(BuildContext context) {
    precacheImages(context);
    late RoutemasterDelegate routemaster;
    return MultiBlocProvider(
      providers: [
        BlocProvider(
          create: (context) => AppCubit(
            authRepository: AuthRepository(),
          ),
        ),
        BlocProvider(
          create: (context) => SignUpCubit(
            appCubit: BlocProvider.of<AppCubit>(context),
            authRepository: AuthRepository(),
          ),
        ),
      ],
      child: BlocConsumer<AppCubit, AppState>(
        // TODO: Find a better way to set the initial route.
        // This listener can be called multiple times, which we don't want.
        listener: (context, state) => state.maybeWhen(
          unverifiedEmail: (email) => routemaster.push('/verify_email'),
          incompleteUser: () => routemaster.push('/add_name'),
          orElse: ignore,
        ),
        builder: (context, state) {
         // States are:
         // authenticated
         // unverifiedEmail
         // incompleteUser
         // unauthenticated

          routemaster = RoutemasterDelegate(
            routesBuilder: (ctx) => state.maybeMap(
              authenticated: (state) => _buildRouteMap(state),
              orElse: () => buildUnauthenticatedRouteMap(),
            ),
          );
          return MaterialApp.router(
            theme: buildAppTheme(context),
            routeInformationParser: const RoutemasterParser(),
            routerDelegate: routemaster,
          );
        },
      ),
    );
  }

Here's how you can do it more plainly and surely.
class MainApp extends StatelessWidget {
  final AppCubit appCubit;
  const MainApp(this.appCubit, {Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    var appRouteInformationProvider = PlatformRouteInformationProvider(
        initialRouteInformation:
            RouteInformation(location: appCubit.initialRoute));
    return BlocProvider<AppCubit>.value(
        value: appCubit,
        child: MaterialApp.router(
          debugShowCheckedModeBanner: false,
          title: 'Delorean',
          theme: themeData,
          routerDelegate: AppRouter(appCubit.isLoggedIn).routerDelegate,
          routeInformationProvider: appRouteInformationProvider,
          routeInformationParser: const RoutemasterParser(),
        ));
  }
}

Oh! But I still sometimes get the same bug as you.  Mine happens when a user logs in and the OAuth service redirects back to the web app url that loads a specific route.
It's not the best code - the field should be declared non-null or null should be dealt with without it rhowing  Null.
I'm going to try to fork and patch it for now to see if it helps.


chore: Add enable token to authentication

When trying to follow the guide I encountered
Compiling 19 files (.ex)
** (EXIT from #PID<0.94.0>) an exception was raised:
    ** (Spark.Error.DslError) authentication -> tokens -> enabled?:
  The `password` password authentication strategy requires tokens be enabled because sign-in tokens are in use.

To fix this error you can either:

  1. disable sign in tokens by setting `sign_in_tokens? false` your password strategy, or
  2. enable tokens.

Adding this line fixed it

Already fixed in main


[REEF-512]  Allow alias for NamedParameter in C# Tang

This PR added the alias in NamedParameter at REEF C# side. It is prepared for deserializing configuration sent from Java.
-Adding new properties alias and language in NamedParameter
-Parse alias and language when creating class hierarchy
-Added overloading method for GetNode() in IClassHierarchy and its implementations
-Add new optional properties in class_hierarchy protobuffer schema and updated data contract
-Added test cases
JIRA: REEF-512(https://issues.apache.org/jira/browse/REEF-512)
This closes #
Author: Julia Wang  Email<EMAIL_ADDRESS>

@jwang98052 I've done a pass. Please make as much of the new APIs internal as reasonable. Also, please add documentation for those that remain public.

review comments have been addressed.
Merged latest from master
rebased with apache master
change is pushed in


Edit SiteType list and add Explanations

This follows on the additional changes & features discussed in #28, namely:

Add explanation tooltips to existing terms from Definition field at http://vocabulary.odm2.org/sitetype/
Add these terms (from SamplingFeatureTypeCV, using those definitions) to the Site Type list currently on EnviroDIY.

borehole
observationWell
streamGage
waterQualityStation
weatherStation

Remove this SiteType from our list:

aggregateGroundwaterUse (and anything with this would become "observationWell")

This looks good on Sandbox! Thanks.


Add convertalias to delegate commands to convert aliases to primary

Jay,
In my testing, it's only the delegate email address that must be primary.
Ross
On Tue, Apr 20, 2021 at 12:47 PM Jay Lee @.***> wrote:

@.**** commented on this pull request.
In src/gam/init.py
https://github.com/jay0lee/GAM/pull/1368#discussion_r616985864:

@@ -1495,7 +1499,14 @@ def printShowDelegates(users, csvFormat):

def deleteDelegate(users):

delegate = normalizeEmailAddressOrUID(sys.argv[5], noUid=True)

convertAlias = False
i = 5
if sys.argv[i].lower().replace('_', '') == 'convertalias':

   convertAlias = True

   i += 1

delegate = normalizeEmailAddressOrUID(sys.argv[i], noUid=True)
if convertAlias:

   delegate = gapi_directory_users.get_primary(delegate)

i = 0

shouldn't we only convert delegator to primary below also if convertAlias
is set?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/pull/1368#pullrequestreview-640360981,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCTYL4GHIUL4CK6DPOVHK3TJXK47ANCNFSM43AHPCTQ
.

--
Ross Scroggs
@.***

$ gam whatis testuser1alias
<EMAIL_ADDRESS>is a user alias

 Alias Email<EMAIL_ADDRESS> User Email<EMAIL_ADDRESS> Unique ID:<PHONE_NUMBER>87650801331

$ gam whatis testuser2alias
<EMAIL_ADDRESS>is a user alias

 Alias Email<EMAIL_ADDRESS> User Email<EMAIL_ADDRESS> Unique ID:<PHONE_NUMBER>59717682514

$ gam user<EMAIL_ADDRESS>show delegates
Getting delegates for<EMAIL_ADDRESS>(1/1)

$ gam user<EMAIL_ADDRESS>add delegate<EMAIL_ADDRESS>Giving<EMAIL_ADDRESS>delegate access to<EMAIL_ADDRESS>(1/1)

ERROR: 404: Invalid delegate - notFound

$ gam user<EMAIL_ADDRESS>add delegate convertalias<EMAIL_ADDRESS>Giving<EMAIL_ADDRESS>delegate access to<EMAIL_ADDRESS>(1/1)

$ gam user<EMAIL_ADDRESS>show delegates
Getting delegates for<EMAIL_ADDRESS>(1/1)
Delegator<EMAIL_ADDRESS> Status: accepted
 Delegate Email<EMAIL_ADDRESS>
Total 1

$ gam user<EMAIL_ADDRESS>delete delegate<EMAIL_ADDRESS>Deleting<EMAIL_ADDRESS>delegate access to<EMAIL_ADDRESS>(1/1)

ERROR: 404: Invalid delegate - notFound

$ gam user<EMAIL_ADDRESS>show delegates
Getting delegates for<EMAIL_ADDRESS>(1/1)
Delegator<EMAIL_ADDRESS> Status: accepted
 Delegate Email<EMAIL_ADDRESS>
Total 1
$ gam user<EMAIL_ADDRESS>delete delegate convertalias<EMAIL_ADDRESS>Deleting<EMAIL_ADDRESS>delegate access to<EMAIL_ADDRESS>(1/1)

$ gam user<EMAIL_ADDRESS>show delegates
Getting delegates for<EMAIL_ADDRESS>(1/1)


AxEvents > Companion App

I see the Axis companion app can react to both VMD and Axis Object Analytics events. Is there a way for 3th party developers to raise their own events that can be consumed in this app? Would be great to utilize this push notification feature of it.
If not, can I push a event/message to either the VMD or the AOA topic?

You can define and publish events from your application using the axEvent API, but questions about what is possible with the Companion application is beyond what we can answer here. I would recommend contacting Axis customer support regarding how to configure the companion application to listen to custom application events.

Will do!


MongoDBCollector Broken starting from pymongo 3.0

The MongoDBCollector makes use of the 'Connection' attribute in the pymongo module:
https://github.com/BrightcoveOS/Diamond/blob/v3.5/src/collectors/mongodb/mongodb.py#L152
https://github.com/BrightcoveOS/Diamond/blob/v3.5/src/collectors/mongodb/mongodb.py#L159
This attribute has been removed from module as of version 3.0 of the pymongo library:
https://github.com/mongodb/mongo-python-driver/commit/e08aa1f90d0c64177abe9d1bcf0e0658bf0a3189#diff-f8c0b2c357efcb7a6d94aeb9e485c7f5
Collector should be adjusted to work with the latest pymongo version or the documentation of the collector should be changed to specify a specific version of pymongo.
I tested with pymongo 2.8 and it worked.

Faced the same issue.

The repo has been moved to https://github.com/python-diamond/Diamond . Please check there to see if the issue is still present.


Can I buy the pre-flashed device in Europe and in Euro currency?

the title says it all. Thanks.

Boards are not generally available while the crowd supply campaign is
running, but i do offer samples to beta testers. Please drop me a line at
@.***
On Sat, May 11, 2024 at 16:05 Dricc123 @.***> wrote:

the title says it all. Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/sonocotta/esparagus-media-center/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJU6I6G4UND2TQ2J4OUTCTZBYQQXAVCNFSM6AAAAABHR6TBASVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4TAOJSHAZTMNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I will wait for now, but thanks. My question was more about whether the boards will be available with shipping within Europe (and sold in euros) one day? Your manufacturing takes place in Europe, correct?

Yes, absolutely. As someone on as all backers orders are shipped, i’ll
reopen Tindie sales. I ship from Poland, where I assemble, flash ant test
every board myself :)
On Sat, May 11, 2024 at 19:15 Dricc123 @.***> wrote:

I will wait for now, but thanks. My question was more about whether the
boards will be available with shipping within Europe (and sold in euros)
one day? Your manufacturing takes place in Europe, correct?
—
Reply to this email directly, view it on GitHub
https://github.com/sonocotta/esparagus-media-center/issues/7#issuecomment-2105958890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJU6I5SR2Y6MTSBNP2KRYTZBZG4VAVCNFSM6AAAAABHR6TBASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBVHE2TQOBZGA
.
You are receiving this because you commented.Message ID:
@.***>

But Tindie shows the price in USD currency. Can I change that?

Tindie only charge USD, but as I said you can contact me directly for custom order.

I can't find your contact details on your website and Github hides the email address that you wrote down here above

Oh, sorry, I didn't realize that (probably my email client did)! It is<EMAIL_ADDRESS>Also, there is a Discord link in my GitHub profile.


No docker plugin defined

The README says to build and deploy like so:
mvn clean package docker:build fabric8:json fabric8:apply

However, the pom.xml does not define the docker plugin. Hence then trying to use the above command I get:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.691 s
[INFO] Finished at: 2016-04-22T21:35:15+02:00
[INFO] Final Memory: 10M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'docker' in the current project and in the     plugin groups [org.jboss.maven.plugins, org.apache.maven.plugins, org.codehaus.    mojo] available from the repositories [local (/Users/hardy/tmp/m2), jboss-public-    repository-group (https://repository.jboss.org/nexus/content/groups/public/),     central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read     the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/    NoPluginFoundForPrefixException

That's odd because the docker plugin is defined here: https://github.com/redhat-helloworld-msa/aloha/blob/master/pom.xml#L181-L183
Based on this issue https://github.com/fabric8io/fabric8/issues/3298 , I'm wondering if the DOCKER_HOST is set according by the command eval "$(vagrant service-manager env docker)" according to https://github.com/redhat-helloworld-msa/helloworld-msa/blob/master/prepare-cdk.adoc

any tips on this issue @rhuss ?

sorry, can't reproduce it.  @hferentschik from which directory did you called Maven ?

sorry, can't reproduce it.

Not me either anymore ;-) I was not in sync with master and had an outdated version of the pom. Doh.


Merge in fixes made while preparing randoop testcase

Switch to a newer branch of do-like-javac
clean_project removes the dljc-out directory.
Update/fix issues in corpus.json
Add fetch.py script that fetches both corpus and dependencies.
fetch_corpus no longer fails if corpus directory absent

@tim-mccarthy you have to assign this to someone ... my guess would be that @hsanchez should review it since he'll also merge this branch back to master.

@martinschaef I will review this today.

@tim-mccarthy can you pull the latest changes from master into this branch? Thanks
FYI, @martinschaef

@tim-mccarthy can you also run './fetch_dependencies.sh' after pulling from master?

@hsanchez I merged master. fetch_dependencies.sh works fine on my machine.

@tim-mccarthy, I ran the latest ./fetch_dependencies.sh and. Its execution ends with a BUILD FAILED. One of the environment variables (:compileJava) is also marked as FAILED.
Do you have an idea why this build is failing?
10-24-2016-logs.txt

@hsanchez The only thing that immediately pops out to me is that you're apparently running as a user named , and that seems to me to be pretty likely to break not-so-carefully written shell scripts.

@tim-mccarthy, I curated the logs. I removed any user-specific paths (e.g., hsanchez/dev/) and replaced it with "". I also replaced my actual username with ""

@hsanchez For me, that last phase looks like
checker-working.txt
I have no idea what's going on in your case, it just seems to abruptly fail.

@tim-mccarthy I just tried the same thing but using Pascali. The build was a success. I have no idea what is going on my machine. Something in my environment is not right :-(.
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.10/userguide/gradle_daemon.html
:compileJava
:processResources UP-TO-DATE
:classes
:jar
:assemble
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build

BUILD SUCCESSFUL

@hsanchez @CharlesZ-Chen Huascar, what is strange about your log 10-24-2016-logs.txt is that you're building the jdk.jar, which the updated fetch script doesn't.
I looked through https://github.com/pascaliUWat/ontology/blob/master/pascali-setup.sh and don't see a reason why that would be happening.
It is also strange that your log contains
BUILD SUCCESSFUL
Total time: 7 seconds
Buildfile: /Users/<user-local-clone>/tools/checker-framework/build.xml

pascali-setup.sh contains ant -f $JSR308/checker-framework/checker/build.xml jar so the checker-framework/build.xml file should never be executed.
I can't think of a reason why this would happen on a clean check-out.
Is this Mac specific? Or does it work on a different Mac?

@wmdietl @hsanchez I'm running on a Mac and it builds fine for me.

@martinschaef can you try this PR on your machine?
FYI, @tim-mccarthy, @CharlesZ-Chen, @wmdietl

@tim-mccarthy, @wmdietl, @CharlesZ-Chen, @martinschaef
I think I found the problem. The problem was an old version of do-like-javac that was in my PATH variable. I removed it and now the fetch_dependencies.sh finishes without errors.
Also, the output entry Buildfile: /Users/<user-local-clone>/tools/checker-framework/build.xml that @wmdietl referenced in a previous comment is no longer there.

The only thing that immediately pops out to me is that you're apparently
running as a user named , and that seems to me to be
pretty likely to break not-so-carefully written shell scripts.
On Mon, Oct 24, 2016 at 2:07 PM Huascar Sanchez<EMAIL_ADDRESS>wrote:

@tim-mccarthy https://github.com/tim-mccarthy, I ran the latest
./fetch_dependencies.sh and. Its execution ends with a BUILD FAILED. One of
the environment variables (:compileJava) is also marked as FAILED.
Do you have an idea why this build is failing?
10-24-2016-logs.txt
https://github.com/aas-integration/integration-test2/files/549017/10-24-2016-logs.txt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aas-integration/integration-test2/pull/3#issuecomment-255866373,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFiePClEjsX0-CpGAGS9fxNf2q3xscYNks5q3R4JgaJpZM4KWQIB
.


largest sum contiguous Subarray

@avinash201199 Hey!! I want to add one array question of finding Largest sum subarray question.
Here, I will explain kadane's algorithm approach. I guess this question is important.
Can you assign a hacktoberfest label and assign it to me.

Go ahead :)  @SanskritiKhatiyan

@avinash201199 hey!! plz review it and plzz merge it if it is fine otherwise tell me what to improve.


Add Heartroasters.com recipe

Hi @ochococo!
I stumbled upon your repository quite a while ago but just now am starting to try different brewing recipes. This one I tried this morning and it worked out for some pretty decent brew.
As mentioned within the .aeropress, its source is with heartroasters.com, and since the recipe is "total-timer based", I made educated guesses for time of Pour water, and the first stir.
If something's not in alignment with the format specs, let me know.
Cheers! 👋

You should add PR to origin not here :D

Wow, I'm sorry, I didn't even notice that 🤦♂  I made it right now. :D


Reduce the code size for toJSArray calls

@kahliburke mentioned this problem at https://gitter.im/ThoughtWorksInc/Binding.scala?at=5a0fa86471ad3f8736fba227 and https://gitter.im/scala-js/scala-js?at=5a0b53da505b630c05e202dc

Can one of the admins verify this patch?

@kahliburke said at https://gitter.im/scala-js/scala-js?at=5a0b53da505b630c05e202dc

So I'm still trying to figure out options for reducing size of my sjsir code and resulting long fastOpt times. It's related to macro code generation, which I understand is not a ScalaJS concern directly. I'm curious about some Array wrapping and type checking code and whether there are any solutions to avoiding it, since the macros generate many many of these sorts of calls and it contributes to the size blowing up.

return (function() {
var elements$43 = new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument().createTextNode("\n              ")]);
var this$446 = $m_sjsr_package$();
if ($is_sjs_js_ArrayOps(elements$43)) {
  var x2$70 = $as_sjs_js_ArrayOps(elements$43);
  var jsx$44 = x2$70.scala$scalajs$js$ArrayOps$$array$f
} else if ((elements$43 !== null)) {
  var jsx$44 = elements$43.array$6
} else {
  var result$86 = [];
  var f$102 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$162, result$87) {
    return (function(x$2$53) {
      return $uI(result$87.push(x$2$53))
    })
  })(this$446, result$86));
  $f_sc_IndexedSeqOptimized__foreach__F1__V(elements$43, f$102);
  var jsx$44 = result$86
};
return new $c_Lcom_thoughtworks_binding_Binding$Constants().init___sjs_js_Array(jsx$44)

This PR will minimize the else block.

Another solution is disabling inlining in fastOptJS.

Interestingly, I had just wrote this other commit yesterday evening: https://github.com/sjrd/scala-js/commit/2befe7f8272dc0b496b08c304a207b79c5125e1e, which also solves this particular problem (and more).
However, both solutions fail to correctly optimize the case where 0 arguments are given to a Scala varargs which is then transferred to a JS varargs. See:
import scala.scalajs.js
import js.annotation._

object HelloWorld {
  def main(args: Array[String]): Unit = {
    println("Hello world!")
    println(myMax(5, 6))
    println(myMax())
  }

  @inline
  def myMax(xs: Double*): Double = js.Math.max(toJSVarArgs(xs): _*)

  @inline
  def toJSVarArgs[A](seq: Seq[A]): js.Array[A] = {
    seq match {
      case seq: js.WrappedArray[A] =>
        seq.array
      case _ =>
        val result = new js.Array[A]
        seq.foreach(x => result.push(x))
        result
    }
  }

  @noinline
  def println(x: Any): Unit = Predef.println(x)
}

With the @inline and no unhappy path, this generates:
$c_Lhelloworld_HelloWorld$.prototype.main__AT__V = (function(args) {
  this.println__O__V("Hello world!");
  this.println__O__V($uD(Math.max(5.0, 6.0)));
  this.println__O__V($uD(Math.max()))
});

which is as good as it gets.
If I remove @inline, I get:
$c_Lhelloworld_HelloWorld$.prototype.main__AT__V = (function(args) {
  this.println__O__V("Hello world!");
  this.println__O__V($uD(Math.max(5.0, 6.0)));
  var xs = $m_sci_Nil$();
  var jsx$2 = Math;
  var jsx$3 = jsx$2.max;
  var array = this.toJSVarArgs__sc_Seq__sjs_js_Array(xs);
  var jsx$1 = jsx$3.apply(jsx$2, array);
  this.println__O__V($uD(jsx$1))
});

If I use your solution with a no-inline unhappy path, we get:
$c_Lhelloworld_HelloWorld$.prototype.main__AT__V = (function(args) {
this.println__O__V("Hello world!");
this.println__O__V($uD(Math.max(5.0, 6.0)));
var xs = $m_sci_Nil$();
var jsx$2 = Math;
var jsx$3 = jsx$2.max;
var array = this.slowPath$1__p1__sc_Seq__sjs_js_Array(xs);
var jsx$1 = jsx$3.apply(jsx$2, array);
this.println__O__V($uD(jsx$1))
});
which is only marginally better.

I need to think further about this issue.

Btw, you probably want to target this PR at the 0.6.x branch.

@sjrd How about adding a case Nil => for this case?

That doesn't work either because Nil.equals() is a complicated beast that is not inlineable (it's not just this eq that because it needs to be == to other types of sequences).
I also tried the eq explicitly with
  @inline
  def toJSVarArgs[A](seq: Seq[A]): js.Array[A] = {
    seq match {
      case seq: js.WrappedArray[A] =>
        seq.array
      case _ =>
        @noinline def slowPath(): js.Array[A] = {
          val result = new js.Array[A]
          seq.foreach(x => result.push(x))
          result
        }
        if (seq eq Nil)
          js.Array()
        else
          slowPath()
    }
  }

but it doesn't work out of the box either:
$c_Lhelloworld_HelloWorld$.prototype.main__AT__V = (function(args) {
  this.println__O__V("Hello world!");
  this.println__O__V($uD(Math.max(5.0, 6.0)));
  var xs = $m_sci_Nil$();
  var jsx$2 = Math;
  var jsx$3 = jsx$2.max;
  var array = ((xs === $m_sci_Nil$()) ? [] : this.slowPath$1__p1__sc_Seq__sjs_js_Array(xs));
  var jsx$1 = jsx$3.apply(jsx$2, array);
  this.println__O__V($uD(jsx$1))
});

However for this case I think I can add a rule somewhere in the optimizer to make it do the right thing.

I wonder whether it wouldn't be better to change the compiler to emit a js.WrappedArray([]) rather than Nil right from the start, when given to a Scala varargs. We inherited Nil from the behavior of Scala/JVM when giving 0 arguments to a Scala varargs, but I've always questioned whether that was a good idea.

Nil may be not a good idea even for JVM. It creates a polymorphic type, increasing the cost to inline it on HotSpot JVM.

Yes, I agree. That's precisely the reason I've always thought it was not necessarily a good idea.

Superseded by #3198.


Re-use disposable store while rendering scm lists

The renderElement methods in scm currently create a new DisposableStore on every call. For performance, it is better to have a single DisposableStore for each template, and then re-use this across renderElement calls

Thanks @mjbvz!


Occasionally  NullPointException

In Fragment, We traced the null pointer through bugly, it only in fragment. However, only a small number of users will experience this.

There is not enough information to make this report actionable. If you believe there is a library bug please provide a failing test case, a sample that reproduces, or more information about your setup.

I think my usage mode is correct. Because it doesn't always appear, I found a great deal of customization in View.
I'm in onCreate method bind, and in onDestroy method unbind.
Basically custom view in fragment


Update Version

We have a previous version (<IP_ADDRESS>) of msdyncrmWorkflowTools deployed to our environment as a managed solution.
Does anyone have any details on how to update Dynamics to the current version?

@GlennJonesEC You can just download the newest version and install over the top of old version.

Just be aware that there seems to be a bug with the rollup functions at the moment, so would be worth checking to make sure you're not using those!

I did not notice the Managed version of the package...   Will go clean my glasses.  Thank you for your replies.


L7 policies are difficult to read in output of "cilium endpoint get"

The policies have a lot of escaped characters, etc. that make it very difficult to parse what is happening.  Here is a basic example of a
"l4": {
  "egress": [
    "{\n  \"Port\": 9080,\n  \"Protocol\": \"TCP\",\n  \"L7Parser\": \"http\",\n  \"L7RedirectPort\": 0,\n  \"L7Rules\": [\n    {\n      \"expr\": \"PathRegexp(\\\"^/jobs$\\\") \\u0026\\u0026 MethodRegexp(\\\"GET\\\")\"\n    },\n    {\n      \"expr\": \"PathRegexp(\\\"^/applicants$\\\") \\u0026\\u0026 MethodRegexp(\\\"POST\\\")\"\n    }\n  ],\n  \"Ingress\": false\n}",
    "{\n  \"Port\": 53,\n  \"Protocol\": \"UDP\",\n  \"L7Parser\": \"\",\n  \"L7RedirectPort\": 0,\n  \"L7Rules\": null,\n  \"Ingress\": false\n}"
  ],
  "ingress": []
}

FYI: #1580 already contains code to do this as it was required for the Envoy integration

There's two pieces to this:

[x] Proxy-specific formatting (Resolved in #1580)
[ ] Escaping is being shown at all in L4 rules


add nuget dependency and use it to extract package archives

I took at stab at solving #4028 in a more holistic fashion.
We now use the NuGet.Packaging APIs to actually extract the downloaded packages. That's all we use them for.  This should ensure that we behave exactly the same as they do for a non-core function (especially in terms of file permissions and such), and are more free to devote our time to where we do things differently.
I only used this on the main ExtractPackageToUserFolder in NuGetCache.fs, since all other entry points I saw led to that.
I was able to test this locally using that same playwright package that errored before by

deleting that folder from my global cache
building this change
deleting my Paket.Restore.cached from a project's paket-files directory
running dotnet path/to/build/paket.dll restore --verbose
inspecting the logged output to verify the package was downloaded
using ls to inspect the file permissions

Happy to say that this all works!

I assume we need to ILMerge this one in build.fsx!?

ah yeah, you're right. I hadn't looked at the packaging story at all.  I'll do that today.  Do you have any ideas about other areas I might want to look into?  I suppose I need to add a spec for this package as well...

@forki do you know if there's a reason we don't just glob all the dlls + the paket.exe from the bin/net461 directory as inputs to ilrepack instead of the manual accounting that happens now?  I'm guessing the original reason was something like:

the build copies .net framework assemblies to the publish directory, but ILRepack doesn't actually need all of the framework assemblies in that directory (because when executing in .net framework that are implicitly provided), so we exclude those from the list of repacked assemblies

I did a diff between the output of the bin/net461 directory on master and this branch using the diff command to get the following list of necessary assemblies:
➜  Paket git:(extract-like-nuget) ✗ diff bin/net461 bak/net461 | grep 'Only in' | cut -d' ' -f 4
NuGet.Common.dll
NuGet.Configuration.dll
NuGet.Frameworks.dll
NuGet.Packaging.dll
NuGet.Versioning.dll
System.Configuration.ConfigurationManager.dll
System.Security.Cryptography.Cng.dll
System.Security.Cryptography.Pkcs.dll
System.Threading.Tasks.Extensions.dll

I added those to the ilrepack list, but when I tried to test the net461 merged executable with mono (using mono paket.exe) I got the following error:
➜  merged git:(extract-like-nuget) ✗ mono paket.exe
Assembly '/Users/chethusk/oss/Paket/bin/merged/paket.exe' doesn't have an entry point.

which does worry me somewhat.

Here's the graphical paket.lock diff after this change

test failure is a v3 download check: #2700-1 v3 works properly, not sure that I changed that here.

Ok, I've added a test that convinces me this is working.  To get the test to run I had to fix the invocation of the netcore tests, because the integration test project isn't netcoreapp3.0, it's 3.1. So that have been false-positive green for an unknown amount of time.

The new test seems to fail when run on the .net framework version of paket, due to some kind of double-stomping on the .nuget files in the directories? I am unsure what that does.

Alright! My test passes now. The failing test is the same one form my other PR, where the v3 test is failing. I think it's happening on every branch right now.

@forki thoughts on this one?

Should be unblocked by #4042

very cool. Let's give it a shot!

just tried to release it. but it's unhappy that I run it on windows. Ideas?

None right off the top of my head; is this something that I could replicate on my machine easily, or does it really on secrets that only you have to get to this step?

Translation of the error for me in the future:

The specified executable is not a valid application for this operating system platform

So the built paket.exe (non-merged) runs fine for me, so the problem is likely in the ilrepack step I'd say.

Figured it out: I messed up the order of the ilrepack arguments. ilrepack expects the 'primary' assembly to be the first positional parameter and during my refactor to make the list of input assemblies a multiline list I messed up that order. PR with fix + comments coming soon.


Invalid snipped inserted when completing fun with record argument

Environment

Elixir & Erlang versions (elixir --version): 1.11.3, otp 23.2
Editor or IDE name (e.g. Emacs/VSCode): vscode
Editor Plugin/LSP Client name: 0.62

Logs
With a function taking record
def do_sth(My.record(x: x0, y: y0)) do
   ...
end

Completion after pipe operator results in
a
|> do_sth(y: y0))

Completion with no pipe works fine.

The bug is somewhere in ElixirLS.LanguageServer.Providers.Completion.function_snippet as elixir_sense returns valid data.

The bug is somewhere in ElixirLS.LanguageServer.Providers.Completion.function_snippet as elixir_sense returns valid data.


Nothing is downloading

There is a new account with one paid and free subscription to models anisyia and emakarterfree. Python 3.10.9
When trying to download content, always Progress: (0 photos, 0 videos, 0 skipped || 0): 0it [00:00, ?it/s]
Below is an example of trying to download something from an emakarterfree account.
C:\Users\Admin>ofscraper
Status - UP
? What would you like to do? Download content from a user
? Modify filters for accounts list?
Example scraping free accounts only Yes
? Filter account by renewal of subscription status Both
? Filter accounts based on access to content via a subscription Both
? Filter accounts by the type of subscription Both
? Would you like to also download paid content Yes
Using profile: main_profile
Status - UP
Welcome, <here_is_my_userid>
 + Getting your subscriptions (this may take awhile)...
? Which models do you want to scrape: emakarterfree
Getting Selected post type(s) for emakarterfree
Subscription Active: True
? Which area(s) would you like to scrape? (Press ENTER to continue) ['Timeline', 'Archived', 'Highlights', 'Stories', '
Messages']
 + Getting pinned media...
 + Getting timeline media...
 + Getting archived media...
 + Getting messages...
 + Getting highlights and stories...
Skipping previously downloaded
Posts left for download 0
Downloading to C:\Users\Admin\Downloads\ofscraper-main\emakarterfree
Progress: (0 photos, 0 videos, 0 skipped || 0): 0it [00:00, ?it/s]
Using profile: main_profile
Status - UP
Getting paid content for emakarterfree
Scraping, Scraping isn't frozen. It takes time.
Scraped Page:1

Username: emakarterfree
- paid content 0
 -- photos 0
 -- videos 0
 -- audios 0

Done With Run
? Do you want to continue with script No

What version are you running with?
You can find out with ofscraper -v

What version are you running with?
You can find out with ofscraper -v

ofscraper 1.51
installed today with pip install git+https://github.com/excludedBittern8/ofscraper

Does running
ofscraper --dupe
Work by chance?

ofscraper --dupe seems to do the trick (had the same issue dowloading 0 files)

ofscraper --dupe seems to do the trick (had the same issue dowloading 0 files). //EDIT: at least it starts to download media.

That also works for me. It's interesting though, because this is my first time downloading with it, so there's to duplicate.

Does running
ofscraper --dupe
Work by chance?

Can also confirm this works.

Also, while the first model downloaded into its own folder in the ofscraper-main folder, the rest are going into %username%\AppData\Roaming\Python\Python310\site-packages.tempmedia

Are they not moving to the model folder?
Once a download is at 100 percent, and passes the size check. It should move to the model folder.

I was never able to download with ofscraper - only "ofscraper --dupe" did the trick for me.

I'll look into finding what the cause of the issue is

Not when moving onto the next model at least. I don't know about when the entire run is finished. I'll try just doing a few at a time, instead of all of my subs at once.

I was able to find the source of the zero downloads issue
I will hopefully be pushing  a fix for this today or tomorrow as part of the next update

This issue should be fixed in the lastest version
I've changed how the dupe check work so they will have to be readded to the database


Implement ability to pass in MutableCapabilities for easier adoption

This is something we talked about that we potentially want for future iterations.
@Test
public void sauceSession_takesMutableCapabilities() {
MutableCapabilities capabilities = new MutableCapabilities();
webDriver = new SauceSession(capabilities);
}

@nadvolod @titusfortner
I started to look into this ticket and I ran into a question.
Since SauceSession is supposed to take a MutableCapabilities as a constructor parameter, so will the underlying SauceOptions too, as per my understanding.
As I saw that would mean that the capabilities coming from the passed-in MutableCapabilities would take precedence and shouldn't be overwritten by SauceOptions' own config options.
public void newSauceSessionFromMutableCapabilities() {
    MutableCapabilities caps = new MutableCapabilities();
    caps.setCapability("platformName", "macOS 10.13");

    SauceSession sauceSession = new SauceSession(caps);

    //When this and the undelying 'sauceOptions.toCapabilities()' is called, the new logic
    //should use "macOS 10.13" instead of the default "Windows 10" value.
    sauceSession.start();
}

public void newSauceOptionsFromMutableCapabilities() {
    MutableCapabilities caps = new MutableCapabilities();
    caps.setCapability("platformName", "macOS 10.13");

    SauceOptions sauceOptions = new SauceOptions(caps);
    sauceOptions.setPlatformName(SaucePlatform.WINDOWS_8);

    //The new logic should return "macOS 10.13" instead of "Windows 8"
    Object platformName = sauceOptions.toCapabilities().getCapability("platformName");
}

Is this a valid approach?

This ticket was from before the design overhaul in December, and I haven't reviewed these older tickets.
The current implementation is to have SauceOptions constructor to take specific Browser Options instances. It explicitly was decided not to accept a generic MutableCapabilities instance because Browser Options classes enforce w3c syntax where MutableCapabilities does not.
We need to have a SauceOptions instance in order to add in important Sauce related things. We could allow a Session constructor with a MutableCapabilities instance where we immediately create a SauceOptions instance and merge in the MutableCapabilities values, but as pointed out, that could result in some weird conflicts that I don't think we want to handle.
I'm going to close out this issue as no longer desired.
@picimako thanks for you interest in this project. Are you on Selenium Org's slack? If you want to chat about ideas that might be the easiest place to find me and DM me.


Version 1.1.1 not tagged

Hi, and thanks for this amazing tool! Just wanted to point out that this commit https://github.com/marvinkreis/rofi-file-browser-extended/commit/b8ba0138ff12d7338a60e084020636f284ff56dc seems to be version 1.1.1 but it hasn't been tagged, so the latest release seems to be 1.1.0 here: https://github.com/marvinkreis/rofi-file-browser-extended/releases
Adding the tag would help packaging this for distros.

Forgot to push the tags. Thank you for pointing it out.


Added Blur

Added KLCPopupMaskTypeLightBlur and  KLCPopupMaskTypeDarkBlur based on Apple´s UIImage+ImageEffects category.

@hemangshah
Hi I changed the KLCPopup example to make the screenshots: (The last image is the blurred image)

Thanks a ton @maxbaro  :)

Can you merge this into master please?

+1, nice work @maxbaro! Would love to see this merged into master.

After using it a bit, I did find that when running it on an iPhone 6 (in simulator or device), there is a bit of a "jerk" that happens when the blur is being applied.
When looking at the implementation of the blurredImageFromScreenWithMaskType method in the KLCPopup.m implementation file, I found this line:
[window drawViewHierarchyInRect:(CGRect){CGPointZero, size.width, size.height} afterScreenUpdates:YES];

The value of "YES" for afterScreenUpdates indicates that it should wait to take a snapshot until all changes to the view hierarchy are made. This sounds right. Of course, in the interest of tweaking things to see how it affects behavior, I changed it to NO. Once I did that, the jerking was gone. It works on iPhone 6, iPhone 5, 5S etc. without any issues. My only theory is that there is a change in the way the view hierarchy is affected in an iphone 6 screen vs with an iphone 5.
@maxbaro perhaps you can evaluate this change further, and let me know if you understand it better.
In the meantime, with this change the blur works great for my use case. Thanks again for this addition!

Once again, if this could me merged into master, than would be wonderful! :-)

+1 :+1:


Datepicker won't hide on click when inside a dropdown

If you put a datepicker inside a bootstrap dropdown, then the normal behaviour - where the datepicker hides if you click outside it - doesn't work.
See this jsfiddle https://jsfiddle.net/aq9Laaew/292990/

Open the dropdown
Click in the input to show the datepicker
Click somewhere inside the dropdown but outside the input

I would expect the datepicker to hide but it doesn't.

The Bootstrap's Dropdown.js called the event.stopPropagation() function, so the datepicker's click event listener will not be executed at all.


Feature Request: Cross platform Emoji display

Just sent in PR #62 for key support in other platforms. Mojibar actually works quite well in other platforms aside from Emoji unicode issues in other platform.
A possible solution for this would be using <img> tags instead to display the emojis. Any plans for this?

I've built a solution for this, actually! Check this out, I'm using Twitters emoji library: https://github.com/muan/mojibar/pull/86


Release v3

This PR is for v3 release:
This release introduces a host of optimisations which have significantly improved performance on simulated data and involves more rigorous considerations of SNP calls on real-data. The most significant optimisations:

Adjustments to the "gap penalty" in BWA-MEM.
Changes to the filtering algorithm, applied in mask.bash, for calling SNPs, REFs and Ns
A new base mask which is based off real sequence data, masking regions of high N count.

There are also a number of optimisations to the workflow:

The pipeline can now be run linking input and output locations directly to s3
More consistent naming of output consensus files, removing the _consensus postfix of consensus files.
Local work directory is automatically deleted at the end of a run.

Now merged in the count Ns process and all tests looking good again


OverflowError in 1 Preprocess Data

I'm trying to run the notebooks in my own python 3.6 conda environment.
I'm running into a problem when running this code:
pairs = flattenlist(apply_parallel(get_function_docstring_pairs_list, df.content.tolist(), cpu_cores=4))
I see the following traceback:
---------------------------------------------------------------------------
RemoteTraceback                           Traceback (most recent call last)
RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/multiprocess/pool.py", line 44, in mapstar
    return list(map(*args))
  File "<ipython-input-16-3f34f247210c>", line 40, in get_function_docstring_pairs_list
    return [get_function_docstring_pairs(b) for b in blob_list]
  File "<ipython-input-16-3f34f247210c>", line 40, in <listcomp>
    return [get_function_docstring_pairs(b) for b in blob_list]
  File "<ipython-input-16-3f34f247210c>", line 23, in get_function_docstring_pairs
    source = astor.to_source(f)
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 52, in to_source
    generator.result.append('\n')
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/node_util.py", line 143, in visit
    return visitor(node)
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 320, in visit_FunctionDef
    if not self.indentation:
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 218, in body
    self.indentation -= 1
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 168, in write
    elif callable(item):
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/node_util.py", line 143, in visit
    return visitor(node)
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 472, in visit_Return
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 206, in conditional_write
    # Inform the caller that we wrote
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 168, in write
    elif callable(item):
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/node_util.py", line 143, in visit
    return visitor(node)
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 659, in visit_Tuple
    with self.delimit(node, op) as delimiters:
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 268, in comma_list
    self.write(',' if trailing else '')
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 168, in write
    elif callable(item):
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/node_util.py", line 143, in visit
    return visitor(node)
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 627, in visit_Num
    delimiters.discard = delimiters.pp != pow_lhs
  File "/home/brian/.conda/envs/tmp/lib/python3.6/site-packages/astor/code_gen.py", line 619, in part
    self.write(s)
OverflowError: int too large to convert to float
"""

The above exception was the direct cause of the following exception:

OverflowError                             Traceback (most recent call last)
/media/HDD/brian/code_search/notebooks/general_utils.py in apply_parallel(func, data, cpu_cores)
     75         pool = Pool(cpu_cores)
---> 76         transformed_data = pool.map(func, chunked(data, chunk_size), chunksize=1)
     77     finally:

~/.conda/envs/tmp/lib/python3.6/site-packages/multiprocess/pool.py in map(self, func, iterable, chunksize)
    265         '''
--> 266         return self._map_async(func, iterable, mapstar, chunksize).get()
    267

~/.conda/envs/tmp/lib/python3.6/site-packages/multiprocess/pool.py in get(self, timeout)
    643         else:
--> 644             raise self._value
    645

OverflowError: int too large to convert to float

I'm not sure whats going on here. Any help appreciated.

Are you using the docker container associated with this tutorial?  Also make sure you use the exact copy of the fastai library in this repo

@briandw, I got the same error as you did, how did you resolve the issue?

I didn't get it resolved. I've moved on to making my own project to train sentence vectors. Check it out if you are interested. It should be easy to run in a condo environment with Fastai and pytorch 0.4.1
https://github.com/briandw/SiameseULMFiT

Just do I understand what is the downside of using Docker for this tutorial?  The web of dependencies can be hard to manage with just requirements.txt

Like @hamelsmu suggests, using Docker is the best thing to do! However, this issue is just a floating point arithmetic issue. One can workaround it by editing the library file code_gen.py
Just change the line "import math" to "from mpmath import mp as math"
Refer: http://mpmath.org/

I changed the following line in function  get_function_docstring_pairs, worked for me
#except (AssertionError, MemoryError, SyntaxError, UnicodeEncodeError):
to
except:


fix note and link

Hi @adhurwit, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

approving per conversation w/Carol Bailey


train_bottleneck both loss and val_loss are always nan

Hi everyone, I am training the model on my own dataset and I only have one class. anchors file is not changed. And I tried to train with and without pretrained.h5. But my loss and val_loss are always nan. Anyone have similar problem and the solution? Thank you!

I only have val_loss is nan, Because initial weights is not fit, and I use weights from Official website to solve it


chore: update task tests to use the tenant service

After the introduction of the tenant system we need to switch the testing frameworks
to use it instead of the old kv system

[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass

This looks good – will this affect IDPE onboarding in anyway?

It will. I have a pr partner here

This looks good – will this affect IDPE onboarding in anyway?

It will. I have a pr partner here

Cool – was just reviewing that


Add a content block for this content

Context
Create a Content Block for the 'Other useful resources' section of the landing page
https://dfedigital.atlassian.net/browse/HFEYP-119
Changes proposed in this pull request
Add a content block with the name 'other_useful_resources' containing this markdown (actually html)

Other useful resources

Changes to the early years foundation stage framework

Statutory framework for the early years foundation stage

Development Matters, non-statutory curriculum guidance for the early years foundation stage

Guidance to review
Check that the 'Other useful resources' section of the landing page looks the same as it does on production

Looks good - I will need to update the variants in the ABC testing to use the content block

I may take it out of seeds and add it to the load task that I've started there


problem with import keras

ImportError: DLL load failed with error code -1073741795
can someone know what the error means

Last I checked, Keras does not officially support Python 3.7. I'm in the process of rolling back to 3.6 to see if I can resolve my issue.


UI/scene select refactor and inventory bar

Refactored scene-select menu [NOTE: room create/remove/select doesn't work as it didn't before].
Base for inventory UI in bottom right corner.
ps: all features and look of scene-select should be same as it was before.

Seems to be a gap in the screenshot.

Fixed error [was happening when scene name was not passed via url].
Removed gap between scene input & scenes list.

1- The scene panel appears above the settings panel.

2- The scenes panel is appearing above the logged in address. I guess its static and doesnt adjusts based on the login component.

3-Can we add the scroll option in scene switching panel? Right now, if we add more scenes we can not access them.

4-Clicking anywhere on the Room UI panel closes it. BTW the delete room used to work before.
https://user-images.githubusercontent.com/35926530/155146983-f2c99442-9085-4af3-a203-08493c462028.mp4
5-Clicking on the scene switching panel's arrow Opens the panel. But re-clicking it doesn't closes it. It works fine in the master though.
https://user-images.githubusercontent.com/35926530/155147562-e6d524cd-8707-4a48-aeff-4554cd3bd3b0.mp4

6- Also can we make these circles of same sizes. It would look great.

Fixed SceneSelect css [fixed zIndex, added more offset from right side (static atm), it'll be changed when login UI will be update].
Fixed panels toggle issues.
Improved css of inventory.
Added scroll for scenes/rooms list.
ps: room remove works, but room create not working.
pps: weapon design is like provided in wireframes and will be updated to final version when will get back to it [still updated size to be same as minimap].

We can delete that right circle entirely for now.

We can delete that right circle entirely for now.

But it's in the design. I mean we need it, no ? or we'll remove this part of UI ?

1-The Scene panel has been moved a bit towards the center, It looked more good at its previous place. Can we adjust it the way it is there in master right now? I mean when we have to login, the scene panel should adjust itself and move towards the center so that it doesn't overlaps with the login address. Just make it responsive.
https://user-images.githubusercontent.com/35926530/155318119-969c59f1-0c4f-4220-af9a-c9baa2da809d.mp4
2-The World bar and the character tab right now appear beaneath the right and left circles of map and other one. Can we make the appear above? It causes another issue that the World items get unaccesable, close to the right circle.
https://user-images.githubusercontent.com/35926530/155318452-fd4554e4-1e85-4262-928a-3c36216a01c4.mp4
3-Can you fix the world panel closing issue?
https://github.com/webaverse/app/issues/2425
https://github.com/webaverse/app/issues/2394
4-The last item in World panel doesn't appears as full. Can we make the scroll bar go a little more down to make it appear full?

5-If we can update the scroll bar's design to something that fits more our them and appears part of the UI, It would be great.

I know the key issue is not related to this PR, it was already a problem. However, it does edit key bindings to fix regressions that were introduced during key handling in React, so we can take the opportunity to fix it properly.

On second thought let's just merge this. It's blocking the queue and the PR itself is good.
We can fix the shortcuts in a subsequent PR.


i think the share extension is opening in more apps and will now open…

… deep links on ios

closes https://github.com/daviswhitehead/shayr/issues/63 and https://github.com/daviswhitehead/shayr/issues/77


Custom board?

Would anyone be interested in an opensource custom board If I design one?
Things so far.
Switching power supply.
Serial voltage shifters. (5V to 3.3V).

I'd be interested, but only if the board also includes relays (ideally 4: 1x heating, 1x cooling, 2x Smart Grid). Only 2 for smart grid would still be cool, though.

ESP32's aren't 5V tolerant, you might get away with it but.....
This board got extremely hot when connected as per the instructions.  When I installed level shifters and connected I also found my version K board would not power the ESP32 pictured via it's LDO regulator.

I used a LOLIN32 where there is a BMS onboard and can take from 3 to 7 volt in input

No problems there, will have a look for suitable surface mount relays, will they need to be NO, NC or Both?

NO would work best. ESP Altherma supports both through a configuration switch, tough.

with relays included yes

Again, I don't want to oppose or anything. Building a board is a fun project, go for it!
But, also, consider having a look at existing esp32 boards with relays.
ESP32 are 5V (open) tolerant for IO pins, you should have no current dissipation (nor extra heat).
A good addition to these (existing? future?) boards would be proper connection to X10A. but then the cable length can greatly vary from installation to installation...
I'll move this issue to the newly open discussion board