findOne.cache is not a function

I am having trouble using this, with the following error being generated:
 person_1.default.findOne(...).cache is not a function

The database initialisation code:
let mongooseConnection;

function initQueryCaching (connection: any) {
    // exit early if caching is not to be used
    if (!config.database.cache || !config.database.cache.enabled) {
        logger.info('Database query caching: disabled');
        return;
    }

    const cacheConfig = config.database.cache;

    if (!cacheConfig) {
        throw new Error('No database cache config found');
    }

    cachegoose(connection, cacheConfig);
}

async function initDatabase (): Promise<Mongoose> {
    mongoose.Promise = Promise;

    const dbUrl = config.database.url;
    const options = config.database.options;

    const connection = await mongoose.connect(dbUrl, options);

    // Debugging for testing and development
    if (config.database.debug) {
        if (config.database.debugFile) {
            // We append to the file if it exists
            const stream = fs.createWriteStream(config.database.debugFile, { flags: 'a' });
            mongoose.set('debug', (collectionName, method, query, doc) => {
                stream.write(`${moment.utc().toISOString()} [mongodb] ${collectionName}->${method}->${JSON.stringify(query)}\n`);
            });
        } else {
            mongoose.set('debug', true);
        }
    }

    initQueryCaching (connection);

    // import after connection established
    await import('../models');

    mongooseConnection = connection;

    return connection;
}

Then in use:
const result = await Person.findOne({ email<EMAIL_ADDRESS>}).cache(120);

I do notice the result type for findOne()  is DocumentQuery.
Any ideas as to what could be causing this?
Environment

Nodejs: 14.15.1
mongoose: 5.9.26
mongodb (package): 3.5.9
mongodb server: 5.0.2
recachegoose: 8.1.0
OS: macOS

have you already test without .cache? is your model query working or not?
The common case is, maybe your model.js is not passing as Model but as Document, so it is better if you show to us your model.js here.

The query has been working and in production for a good while. The code is as follows:
import mongoose, { Schema, Document } from 'mongoose';

import { createModel } from '../utils/mongoose-utils';
import IPerson from '../interfaces/IPerson';

interface IPersonDB extends IPerson, Document { }

const personSchema = new Schema({
    name: {
        type: String,
        required: true
    },
    title: {
        type: String
    },
    language: {
        type: String,
        default: 'es',
        lowercase: true
    },
    mobile: {
        type: String,
        unique: true,
        sparse: true,
        lowercase: true,
        trim: true,
        index: true,
        set: value => (value === '' ? undefined : value)
    },
    email: {
        type: String,
        unique: true,
        sparse: true,
        lowercase: true,
        trim: true,
        index: true,
        set: value => (value === '' ? undefined : value)
    },
    timezone: String
}, {
    timestamps: true,
    collation: {
        locale: 'en',
        strength: 1
    }
});

});

export default createModel<IPersonDB>('Person', personSchema);

The source for createModel:
function createModel<T extends Document> (schemaName: string, schema: Schema): Model<T> {
    let model = mongoose.connection.models[schemaName];
    if (!model) {
        model = mongoose.model(schemaName, schema);
    }
    return model;
}

I'll check this..

I have test this with npm test and also in my production server mongodb version 5, everything running well.
I add some test to make sure Record.findOne is having a function.
As you can see in this image below here..

See at line 408, there was already function to test get one document.

And the result is fine.

My Environment:

Mongo Server: 5.0
Mongoose: 5.0.1
OS: Ubuntu 18

I am wondering whether the dynamic import is causing issues with the models and this package. I'll need to investigate.


Get ideas from other projects

There are several other Rust projects (some launched recently) that deals with JavaScript sources. Let's see if we can get some ideas from their design.
https://github.com/nathan/pax by @nathan
https://github.com/swc-project/swc by @kdy1
https://github.com/FreeMasen/RESS by @FreeMasen
On this thread, let's focus on differences or ideas on:

Parser structure
Crate separation/modularization
Project goals: beyond parsers, what should we focus on? Transpiling, minification/optimization, and bundling is what I'm aware of currently.

Library authors: are you interested in joining force with Ratel? Are there anything on library design that we should change? (Pardon this friendly ping, sorry if you get annoyed by a notification. Feel free to unsubscribe in any case.)

There is also https://github.com/dherman/esprit by @dhermann
I'll try to set up some benchmarks across the Rust-based parsers to see how Ratel fares. If anything, we can at least be the testbed for performance.

Thanks for reaching out! I am not sure I am willing to abandon my crates at this point but I think communicating is a key to success.
One of the big reasons I started down the rust+js path was because I was looking for some modular crates to pick and choose what part of the process I was trying to work through. For example, if I wanted to transpile from rust to js it would be a lot easier if I could just transform a syn::TokenStream into a ratel::ast and then pass that off to ratel-codegen. This solution wouldn't need any other parts of ratel.
Modularity being the key here, by having a reader(parser) and a writer(codegen) built around a solid AST you empower the community to build things you might never think of. If someone wanted to write a codegen library that read in ratel::ast and output cranelift IR, no one involved with ratel would need to be invested in that project. I see that as a huge win for you and the community.
Another thing that I have been getting questions about/thinking about is the ability to use your parser to on supersets of js, primarily JSX and typescript.
Looking over your crates here (not super thoroughly) I don't see any kind of comment handling mechanism. A number of js dev-tools utilize comments so including a way to communicate them might be valuable.

Aye, modularization is definitely somewhere Ratel has to improve. I've already tried some stuff in the token_maps branch, but I've abandonned that for now and am now focusing on Logos, once that's in place I think I can make a proc_macro for creating Lookup Tables for tokens that should help writing different specializations for Ratel.
In token_maps I was exploring the possibility of doing a runtime generated tables for feature sets that can be either generated dynamically or loaded from lazy_static and passed to the parser by reference. Right now I'm thinking it might be more interesting to make the entire AST completely generic in the following fashion:
trait Module<'ast>: Parse<'ast> {
    type Statement: Statement<'ast>;
}

trait Statement<'ast>: Parse<'ast> {
    type LoopStatement: Statement<'ast>; // For specialization that involves `break` and `continue`
    type Expression: Expression<'ast>;
}

trait Expression<'ast>: Parse<'ast> {
    type AsyncExpression: Expression<'ast>; // For specialization within async function bodies that permits `await` expressions
}

It might be a terrible idea and going the dynamic route might be easier (even if it means that the types permit constructing potentially invalid grammar), but I'm curious what other people think.

Author of swc here. Can we join our efforts?
Project's goal is almost identical.
I've implemented almost all transcompilers in swc, but it's quite slow. So I want to make it fast, or merge it into ratel.
(Mainly because I need arena allocator, and changing ast to have lifetime seems harder than merging swc into ratel).

@kdy1 I'd be more than happy to join, I also don't particularly care about branding so the merge can be either way.
I'd say have a look at the AST on master and let us know if there is anything there that you are lacking (we do miss comments #103, but I don't know if swc is actively using comments in any way? On my end, I'm happy to offload all visitor / transformer stuff and just focus on the parser.

Currently ratels' span does not contain hygiene information. swc use span hygiene to implement block scoping. hygiene based variable mangement makes implementing other passes simple. They can just declare a variable named ref and hygiene pass will rename it. Otherwise each pass should check if there's a variable named ref.
Also note that swc uses rustc's libsyntax internally which is quite heavy, so I think right way to go is merging swc into ratel and droping the dependency.

Does ratel targets stable rust?
If using nightly rust is ok, I want to integrate swc's specialization based visitor into ratel.
It's (currently) done by putting derive(Fold) on ast nodes and it allows doing things like https://github.com/swc-project/swc/blob/222bdc191fcab77143197fb0da455c9905d1f983/ecmascript/transforms/src/compat/es2015/arrow/mod.rs#L118-L142
Also note that rustc is quite good at optimizing visitor.

I'm not sure specialization based visitor is a good idea. Specialization is a very hot topic currently, and whether and how it would be stabilized is uncertain.
I'd prefer the traditional approach utilizing hardcoded trait methods. If you are concerned about optimization, would you mind benchmarking both specialization based method and the one without?

I'll just go with traditional one.
I thought there's no way to visit ArrowBody, but rustdoc says that it implements Visitable, so I were wrong.


Extended ProcessWrap with GetProcessById, GetCurrentProcess() and Kill methods

Please, include also unit tests for newly implemented methods.

Are there any plans to merge this?

The code is missing tests so it wasn’t merged yet.


Add possibility to choose between eye-in-hand or eye-to-hand calibration

The equivalent of this C++ PR: https://github.com/zivid/zivid-cpp-samples/pull/150

When I get to input "eih" or "eth" I get strange behavior. Need to investigate more why this happens.

I've tested this and it works. Ready for review @robertkt1 @torbsorb

Ready for next round @torbsorb


Short list of venues

https://docs.google.com/a/dtraleigh.com/spreadsheets/d/1UitHTG-vykNOr4wY1JqvwLF9RyZlKjC0ZA1NglcsMC4/edit?usp=sharing


🐛  'CaptureRequest contains unconfigured Input/Output Surface!' on camera device switched

What's happening?
I tried to update Cameras device prop.
Reproduceable Code
https://github.com/bglgwyng/Expo49RNVC3Sandbox
Push flip button to switch the camera between front and back.
I wasn't able to reproduce the issue in the VisionCamera Example app due to some build errors. I expect it enough, since it's a tiny example.
Relevant log output
java.lang.IllegalArgumentException: CaptureRequest contains unconfigured Input/Output Surface!
  android.hardware.camera2.CaptureRequest.convertSurfaceToStreamId(CaptureRequest.java:765)
  android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1289)
  android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1345)
  android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:313)
  com.mrousavy.camera.core.CameraSession.updateRepeatingRequest(CameraSession.kt:548)
  com.mrousavy.camera.core.CameraSession.startRunning(CameraSession.kt:526)
  com.mrousavy.camera.core.CameraSession.access$startRunning(CameraSession.kt:51)
  com.mrousavy.camera.core.CameraSession$configureFormat$1.invokeSuspend(CameraSession.kt:185)
  kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
  kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
  android.os.Handler.handleCallback(Handler.java:942)
  android.os.Handler.dispatchMessage(Handler.java:99)
  android.os.Looper.loopOnce(Looper.java:226)
  android.os.Looper.loop(Looper.java:313)
  android.os.HandlerThread.run(HandlerThread.java:67)

Camera Device


Removed unused dependency

Checklist

[x]  A link to the issue/user story that the pull request relates to
[ ]  How to recreate the problem without the fix
[ ]  Design of the fix
[ ]  How to prove that the fix works
[ ]  Automated tests that prove the fix keeps on working
[ ]  Documentation - any JSDoc, website, or Stackoverflow answers?

Issue/User story
#1365

@psankhe28 You will need to sign your commits before we can do anything with the PR. Also unfortunately you can't just remove the entry from package.json, you must regenerate the package-lock.json file. Which will remove it and it's registered dependencies

I am sorry for missing it. I would make the necessary changes.


Lost mobile phone signal

My phone loses signal after jailbreak, but data traffic can be used.in china named 中国电信，Sometimes it's normal, but the probability of normal is low.

把卡拿出来，再插就好了

assuming the last comment is right


UIExplorer Example List item disappear after click

After I click the items in the left list-panel serval times, the items which I have clicked disappeared.

Thanks for reporting this, it seems that it's some kind of regression. To fix this I should get back green TravisCI first and maybe syncing with latest RN-0.42

Same problem


2.8.0 breaks exiting scope handling

Last week's release introduced the following in the getAccessToken() function:
https://github.com/thephpleague/oauth2-client/pull/1030/files#diff-e8490e4bb8acb102745699d2bd7aa0a298d836c92d00d2ed57dd4c7ad8b24282
if (empty($options['scope'])) {
    $options['scope'] = $this->getDefaultScopes();
}

if (is_array($options['scope'])) {
    $separator = $this->getScopeSeparator();
    $options['scope'] = implode($separator, $options['scope']);
}

This broke my existing integration because previously added scopes were lost and I got an API error: ACCESS_TOKEN_SCOPE_INSUFFICIENT.
To "fix" the issue, I had to add the scopes like this while refreshing the token:
$newAccessToken = $this->provider->getAccessToken('refresh_token', [
    'refresh_token' => $existingAccessToken->getRefreshToken(),
    'scope' => ['openid', 'email', 'profile', 'https://www.googleapis.com/auth/drive.file'],
]);

All the default ('openid', 'email', 'profile') scopes, plus the one I already added while calling getAuthorizationUrl(). So to me, 2.8.0 is a breaking change that should have been mentioned.

Discussion to be continued in https://github.com/thephpleague/oauth2-client/pull/1030 please.

Can you try if  https://github.com/thephpleague/oauth2-client/pull/1053 fixes your issue?

@barryvdh that fixes the issue

I have been going crazy chasing this issue with the Google Provider where the scopes requested outside of the default were being lost on refresh token actions.
I have downgraded back to 2.7.0 temporarily to fix this. It would be good to pin this issue because the Google Provider gets broken pretty bad by this currently.


Move PDB functions into own module

This does not implement any logic changes, but reorganizes code for easier re-use.

This PR needs #847 merged to fix the build.


Add OPNarplog

Hello,
I wrote a new plugin that has similar features as arpwatch. I would like to share it with the community so that everyone can use it.
This is my first plugin and I still not fully understand how everything interacts with the OPNsense UI/API. Could you help me with a few questions?

How to troubleshoot API errors? When the GUI tries to call https://<IP_ADDRESS>/api/opnarplog/service/stop then it returns {"response":"Error (127)"}. Before I renamed my plugin everything worked. Now I'm clueless where the error could be. Same for https://<IP_ADDRESS>/api/opnarplog/service/status where I get {"status":"unknown","widget":{"caption_stop":"stop service","caption_start":"start service","caption_restart":"restart service"}}.
SOLVED: I made a call to /usr/local/bin/bash which does not exist on a plain installation. It was replaced with a service call.

How does the logging work in OPNsense? Currently I'm writing to a logfile under /var/log/opnarplog.log and rotate it with my script. The logformat is not recognized, but somehow the logfile is recognized on the logpage.

To test the plugin :

Copy the content of the repository folder net-mgmt/opnarplog/src to the firewall folder /usr/local
Set the permission for two files:chmod 755 /usr/local/bin/openarplog.py
chmod 755 /usr/local/etc/rc.d/opnarplog

Restart configdservice configd restart

@Monviech @fichtner the PR is now ready for merge. Let me know, if I should change anything else.

Is there any ETA to get this merged?


Missing Purpose Hexagon: Advertising

Data being collected to aid in advertising is a very real use that is not represented here.

We actually don't have any use cases that warrant that, if you can think of some example that would be something you could suggest being added. The key would be somewhere in cities that's happening now, so we could add it to the system.

One use case is facial recognition for advertising. There are many examples of this happening across the world.
Some quickly Googled examples:

https://www.telegraph.co.uk/technology/2018/11/08/facial-recognition-billboard-maker-bidooh-wins-contract-roll/
https://www.iflscience.com/technology/now-advertising-billboards-can-read-your-emotions-and-s-just-start/

I agree that there are use cases, just not ones that we have / would support at Sidewalk Labs. Sevaan - might you be interested in developing a concept for one and submitting a pull request?


Hpnoartist

Just a quick tip, if you want to do simple changes, just browse that file in my repo, press the edit button, Do the changes that you want to do, select as a new branch when saving. Then make a pr. That way you dont end up with a pr to your self or something, just to keep up with the master2 branch.

thanks

Ah didn't know that one! Thanks for the tip, will use it next time.


Using Grafana Instead eCharts

In GitLab by @wknet123 on Oct 20, 2017, 09:39

In GitLab by @yhua123 on Nov 8, 2019, 07:39
LGTM

In GitLab by @sokril on Nov 8, 2019, 08:12
closed

In GitLab by @sokril on Nov 8, 2019, 08:13
assigned to @liyanq528


django based app, which combines DRF api & cve-search instance.

To Do:

Initialise a django based app.
Use DRF which using the cve-search api code, extracts data.
Output the data in JSON format.

@tdruez @pombredanne Please guide any changes that might be necessary in the todo,
thanks

sure!

Merged. Closing. This is a basic API that does not use DFR for now,


Upgrade Kotlin to 1.4.31

@oscerd I think we should upgarde kotlin also on camel and camel-k-runtime at some point

On runtime there is a draft pr from a while


update the method of network speed calculatation

I think the network traffic monitor of Resurrection Remix OS is not accurate enough, so I tried to modify by myself.

It looks pretty accurate to me . Its the same on all other ROMs as well .


How to set self.kinematics while running CADRL

In the CADRL paper by Chen et al, the heading angle of the robot (i.e. self.robot.theta) is part of the robot's state. But the default kinematic of this repo, as defined in crowd_anv/configs/policy.config, is "holonomic", and when kinematic is set to "holonomic", the angle theta never changes throughout an episode (it is always set to 90 degrees).
So should I set kinematic to "unicycle" while training or testing CADRL?
Thank you a lot!

Hi, if I remember correctly, we tested this feature of unicycle kinematics after the submission and it worked. But since we didn't report the results of the unicycle constraint at the time of submission, the default value of kinematics was set to holonomic.
Please go ahead and use this feature.

In the CADRL paper by Chen et al, the heading angle of the robot (i.e. self.robot.theta) is part of the robot's state. But the default kinematic of this repo, as defined in crowd_anv/configs/policy.config, is "holonomic", and when kinematic is set to "holonomic", the angle theta never changes throughout an episode (it is always set to 90 degrees).
So should I set kinematic to "unicycle" while training or testing CADRL?
Thank you a lot!

你好！我也是这个方向的研究生，有些问题想要请教，能否加下qq:1414396376,谢谢了


single Box deployment on a server without GPU

Hello,
I deploy pai  use single box on a server(64G,ubuntu 16.04),  when when run "sudo python paictl.py service start " ,find error:  "zookeeper is not ready yet. Please wait for a moment! "
Following #666 #1916,   I have moved the folder "~/pai/src/drivers/deploy" . But the server has no GPU,
i don‘t know how to handle it.
and I have modify the request memory of these file:
deployment/k8sPaiLibrary/template/apiserver.yaml.template
deployment/k8sPaiLibrary/template/controller-manager.yaml.template
deployment/k8sPaiLibrary/template/dashboard-deployment.yaml.template
deployment/k8sPaiLibrary/template/etcd.yaml.template
deployment/k8sPaiLibrary/template/scheduler.yaml.template
src/cleaner/deploy/cleaner.yaml.template
src/hadoop-jobhistory/deploy/hadoop-jobhistory.yaml.template
src/hadoop-name-node/deploy/hadoop-name-node.yaml.template
src/hadoop-node-manager/deploy/hadoop-node-manager.yaml.template
src/hadoop-resource-manager/deploy/hadoop-resource-manager.yaml.template
src/pylon/deploy/pylon.yaml.template
src/yarn-frameworklauncher/deploy/yarn-frameworklauncher.yaml.template
src/zookeeper/deploy/zookeeper.yaml.template
but no works
execute  "kubectl get pods"
NAME                           AGE
drivers-one-shot-kb7jl         19h
hadoop-node-manager-ds-894vl   18h
zookeeper-ds-26k7h             18h
zookeeper-ds-rqrvd             18h
execute  "kubectl logs zookeeper-ds-26k7h"
Error from server: Get https://<IP_ADDRESS>:10250/containerLogs/default/zookeeper-ds-26k7h/zookeeper: dial tcp <IP_ADDRESS>:10250: getsockopt: connection refused
how to fix it ? thx

Maybe https://github.com/microsoft/pai/issues/4054 would help

sorry, I only have one server without GPU, and I want to deploy openpai with singbox. I don't know how to deal with GPU driver。kubelet can't start because of gpu dirver,so service can't start.
Follow #4054, i should create a vc(?) and specify a "dummy" GPU to emulate this, but i don't know how to deal with it. Do you have any guidance？Thx。

actually we are preparing a manual to cover this topic related to install in CPU-only nodes, and will let it be public ASAP. Hope it would be helpful

This is not a gpu node issue, but k8s deployment issue using paictl in yarn version.
@ydye to have a look.

Seem like a Zookeeper error. But the log is too short, I can't find more detail

execute "kubectl logs zookeeper-ds-26k7h"
Error from server: Get https://<IP_ADDRESS>:10250/containerLogs/default/zookeeper-ds-26k7h/zookeeper: dial tcp <IP_ADDRESS>:10250: getsockopt: connection refused

Hi @redpoppet
it seems the problem is related to connection refused, are you having a good network connection with the target node? BTW, we had just release v1.0, would you like to try it out on the latest version and feedback to us, thanks.

closed and track in https://github.com/microsoft/pai/issues/4578


installing via install-Debian.sh fails

installing via install-Debian.sh fails
the installation script  checks for all ports to be closed then it fails because postgresql is not running
source install-Debian/tools.sh
source install-Debian/check-ports.sh
source install-Debian/install-preq.sh
systemctl start postgresql # <<<<<<<< inserting this line saved the day
source install-Debian/install-app.sh

Hello @dsl400 Please describe in more detail:

What OS are you using?
Is this a clean system?
Do you have Postgresql pre-installed or is it installed using our script?

Postgres exists and it is stopped.
If I start it before running install-Debian.sh the script fails at check for ports
If I do not start postgres, the script fails at postgres is not running inside install-app.sh

Did you need this postgresql? Can you remove it and start the installation again with our script?


There is a wrong include at line 191, in the mentioned exmaple code "…

this pr fixes the wrong include at line 191.

Nice to know this, Thank you.


Option to ignore some libraries.

While I really love this project, I think we need the option to ignore some cases via config.
"depend/ban-dependencies": ["error", {ignores: ["lodash"]}],

I apologize, I should have just tried this. The error message pointed me in the right direction.
"depend/ban-dependencies": ["error", { allowed: ["lodash"] }],


FR: add ability to be notified when selection in the Explorer changes

I'm working on an extension for VS Code, and I'd like the ability to be notified when the selection in the Explorer's tree changes.  Also, I'd like to not only be notified that it has changed, but would liken to know what the currently selected files & folders are (either pass in a list of selected files to the event handler, or provide an API to get the list)

Duplicate of #3553.


why child's  default  interval is big and how to setting?

Closing this as this library is deprecated: https://github.com/thoughtbot/expandable-recycler-view/pull/235


Pr/upgrade jdk6

Anyone feel free to comment
@dota17  @robertvazan  @ChristianWilkie  @sharpTrick  @DraqueT

Travis is failing. Have anyone worked with Travis recently?

@kbilsted - this seems to fix travis #170

@ChristianWilkie  many thanks. I have reverted some of the attempts I made in this PR

When upgrading to 1.6 we need to do more things such as changing

		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-eclipse-plugin</artifactId>
			<configuration>
				<downloadJavadocs>true</downloadJavadocs>
				<downloadSources>true</downloadSources>
				<testSourcesLast>true</testSourcesLast>
				<classpathContainers>
					<!-- Use J2SE 1.5 -->
					<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5</classpathContainer>
				</classpathContainers>
			</configuration>
		</plugin>

I suppose. How do we best test this PR? Any ideas?

Can someone confirm with this PR we created valid maven artifacts?  like using the produced artifact - Im thinking perhaps more should be changed than the maven-eclipse-plugin - also do we need plugin definitions for other IDE's?

Here is how you set the Java version in Maven - for Java 8 and earlier, and Java 9 and later
(shameless plug for my own tutorial):
http://tutorials.jenkov.com/maven/java-compiler.html
I would recommend going to Java 8. It's the most used Java version out there. Java 6 and 7 are oooooooold :-)

8 is probably fine ;)
But if we go wth 8 we must consider if there are  some new language features we then must support like maybe a new way of defining get-set or other language features...
My memory on java 6,7,8 is a bit hazy so just asking to spur a debate

Java 8 is very different from 6 and 7, we need a lot of preparation to migrate to Java 8

I try to compile super-csv using java8 . must fix lot of testcase and remove Ensures Java 1.5 compatability node in pom. then can compile success.

What exactly is "very different" in java 8 than in Java 6 or 7? Another "shameless plug" for one of my tutorial... I have a list of all the major new features in each Java version from Java 7 to 13 here:
http://tutorials.jenkov.com/java/index.html
In Java 7 you get try-with-resources. In Java 8 you get lambdas and streams. But you are not required to use any of them. There are not any older features that are "lost" in Java 8. In Java 9 - and with Java Modules - we may lose the ability to set private fields via reflection. And "unsafe". But I doubt that SuperCSV is using "unsafe" anywhere.

@jjenkov yep, after fix the testcase cause by java8 new type inference. I can compile super-csv using java 8. but I don't know if there are any new bugs or not.

Hi, @kbilsted @jjenkov
After a few days of thinking, I think it's OK to upgrade to java8 and ensure that the generated jar package can be used normally as before.
As for the new features of java8, such as lanmda and stream, they are supported in the next version, such as 2.6.

@dota17  thanks for being so active on the project. I think you have identified a few caveats that are important. And I'd rather release 2.50 that works than experimenting too much. Perhaps all I need is to install an older JDK in order for me to be able to build. JDK11+latest maven didn't like it.


Kickstarter To Manufacture "Mico" Underway

I've decided to move forward and explore having a Kickstarter program to do a production run of this component.  I'm awaiting a "turn-key" quotation from  PCBAssemblyExpress in Oregon,  When I have the quotation and hear back from Mahesh, I'll update this issue.  See Issue #3
I have no experience with Kickstarter, but believe it to be a highly reputable company.  Mahesh seems to have done all the leg work and produced a ready-to-manufacture product.  So the question now is whether there would be demand to generate a production run.  And, of course, at what cost.  I am thinking if I can obtain a quotation for ready-to-use components, the only other task would be fulfillment and I am looking at https://www.easyship.com to handle that so that my role in this matter is simply managerial.

Hi John,
I am already working on manufacturing Mico. I open-sourced Mico so people could learn from the design and build it for personal use. But if you plan to manufacture it for commercial use, you'll need to license the design from me. I've updated the readme to make this clear.
Thanks

Hi Mahesh,
I have no desire to commercialize the product.  I simply would like to have a working unit and thought a Kickstarter project would accomplish that passing the cost onto subscribers.  If you want a license fee, that could be worked in, I have no problem with that.  But you have now indicated you are working on manufacturing so I see no point in pursuing the matter from my standpoint.  Unless you'd like to collaborate, I'll stop pursuing this and await your announcement of a plan and estimated shipping date.
Cheers,
John

Hi John,
I appreciate your response. If you need a working unit, I can send you one. Please email me at<EMAIL_ADDRESS>. So many people are interested in this product, but it takes time to plan out manufacturing. I might make a small batch myself so I can send out samples. Thanks for your interest.

Hi Mahesh,
No need to send me one, I'll await what your manufacturing pursuit reveals.  In the meantime, I copied you with a private email to the company I was approaching.  Your project segues into another larger project I have in mind, but I'm still a far distance away from that other project and thought having the microphone component settled and proven would be a minor milestone.  I should note that I had as a desirable goal that the product be manufactured here in the United States (I thought this might be a good selling point)... yes, at greater cost.  I grow weary of products breaking down and would like to deal with a company that has accountability.
This project is your baby... so run with it and best of luck!
Cheers,
John

https://www.crowdsupply.com/electronut-labs/mico


Add MarqoCustomRoute to log the error stack trace

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature

What is the current behavior? (You can also link to an open issue here)
we don't have stack trace for errors in Marqo

What is the new behavior (if this is a feature change)?
we have the stack trace now

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
no

Have unit tests been run against this PR? (Has there also been any additional testing?)
no

Related Python client changes (link commit/PR here)
no

Related documentation changes (link commit/PR here)
no

Other information:
Support link

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

Looks good! Can I request a screenshot of the Marqo logger output when you send a request with an error? Just want to confirm what this stack trace looks like in action.

Sure.
Example 1:
We accidentally include tensorFields for an unstructured index:
Request:
settings = {
            "type": "unstructured",
            "tensorFields": ["text", "image"],
        }
r = requests.post(f"{base_url}/indexes/test_create_bad", json=settings)

Marqo Stack trace:
ERROR:marqo.api.route:InvalidArgError: tensorFields is not a valid parameter for unstructured indexes
Traceback (most recent call last):
  File "/Users/abireo/code/marqo/src/marqo/api/route.py", line 20, in marqo_custom_route_handler
    return await original_route_handler(request)
  File "/Users/abireo/opt/anaconda3/envs/marqo/lib/python3.8/site-packages/fastapi/routing.py", line 235, in app
    raw_response = await run_endpoint_function(
  File "/Users/abireo/opt/anaconda3/envs/marqo/lib/python3.8/site-packages/fastapi/routing.py", line 163, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/Users/abireo/opt/anaconda3/envs/marqo/lib/python3.8/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/Users/abireo/opt/anaconda3/envs/marqo/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/Users/abireo/opt/anaconda3/envs/marqo/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/Users/abireo/opt/anaconda3/envs/marqo/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/Users/abireo/code/marqo/src/marqo/tensor_search/api.py", line 151, in create_index
    marqo_config.index_management.create_index(settings.to_marqo_index_request(index_name))
  File "/Users/abireo/code/marqo/src/marqo/tensor_search/models/index_settings.py", line 112, in to_marqo_index_request
    raise api_exceptions.InvalidArgError(
marqo.api.exceptions.InvalidArgError: InvalidArgError: tensorFields is not a valid parameter for unstructured indexes


Bug Report: cant change offset in the options menu

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
windows 10 64 bit
What version of the game are you using? Look in the bottom left corner of the main menu.
ke 1.5.4
https://github.com/KadeDev/Kade-Engine/releases/tag/1.5.4
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
go to options
Please describe your issue. Provide extensive detail and images if possible.
ok so while i was testing stuff i decided to get rid of my save file on appdata for a clean start and once i pressed left/right on the options menu for no reason it always goes back to 0, for example i press left it changes to -0.1 for like a millisecond then goes back to the default one, if this has been fixed pls link commit and also feel free to close this too ig

i think i remember seeing someone post this issue too but i cant find it

i dont think i've seen a issue, but i saw something like this on the 1.5.4 release discussion page

i dont think i've seen a issue, but i saw something like this on the 1.5.4 release discussion page

found it,
https://github.com/KadeDev/Kade-Engine/discussions/1015#discussioncomment-963005
hope this gets fixed soon cause this annoys me


Fix ConfigManager

Fix ConfigManager and add build tags.

@cgmckeever Could you perhaps check these changes?

LGTM

LGTM


downloading the packages.json is timing out. So not able to do nimble install

Could you provide a small way on how to reproduce? Just randomly running nimble install didn't trigger anything on my end.
Worst case scenario, can you replicate the issue when using atlas (you should have atlas implicitly installed if you have nim2.0 installed)

i had these 2 dependecies in .nimble file. Now when it is trying to download jester, it is internally trying to download httpbeast@>= 0.3.0.    But it is failing with this error.
Upon debugging found that, when it was trying to download packages.json from this repository, it is taking long time due to size and request is getting timed out. But, when i download  packages.json manually and keep it in the project, it is able to download the packages.
.nimble file
requires "nim >= 1.6.10"
requires "jester#baca3f"

Error:
86.22  Installing httpbeast@>= 0.3.0
86.22        Tip: 12 messages have been suppressed, use --verbose to show them.
86.22 nimble.nim(683)          getDownloadInfo
86.22
86.22     Error:  Package httpbeast@>= 0.3.0 not found.

I'm running into a bit of a problem here because I can't replicate either problem:

Downloading packges.json functions without issue
Running nimble install in a dummy project with these requires statements functions without issue:

requires "nim >= 1.6.10"
requires "jester#baca3f"

This was done under nim version:
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: a488067a4130f029000be4550a0fb1b39e0e9e7c
active boot switches: -d:release

nimble version:
nimble v0.14.2 compiled at 2023-08-01 01:21:33

You should add --verbose or --debug to get more useful information


Workspace settings.json always being overwritten

I have a project versioned with git with the .vscode/settings.json file added to the repository (this is useful to share some of the settings, like indentation configs and more, between all the developers). One of the entries in the settings file is the C_Cpp.default.compileCommands key, which if I'm understanding correctly is set up by the meson extension to point to the compile_commands.json file contained in the build directory.
Previously the JSON could be shared by using the following settings:
{
    "C_Cpp.default.compileCommands": "${workspaceFolder}/builddir/compile_commands.json",
    "C_Cpp.default.configurationProvider": "mesonbuild.mesonbuild"
}

however it seems that now as soon as one opens VSCode it gets replace with:
{
    "C_Cpp.default.compileCommands": "<absolute_project_path>/builddir/compile_commands.json",
    "C_Cpp.default.configurationProvider": "mesonbuild.mesonbuild"
}

Where <absolute_project_path> contains the full path on the current machine (like /home/USER/...) making the file not shareable. Is this an expected behaviour? Is there a way to support the ${workspaceFolder} variable without expanding it like it was possibile before?

Use the https://github.com/mesonbuild/vscode-meson/blob/main/package.json#L253 to control this.


Add Publishers in Item Tracking Navigate Mgt. Codeunit

No suitable event publishers exist in codeunit (6529) "Item Tracking Navigate Mgt." in order to extend the base functionality. More precisely in function "FindTrackingRecords" should be at least one event publisher to make it possible to fill in the buffer with records from custom table(s).
Thank you.

Please always put the full detailed signature of the requested events.
You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.


How to set password in .conf.file or somwhere else ?

Hi,
I installed lit like this:
wget https://github.com/lightninglabs/lightning-terminal/releases/download/v0.8.1-alpha/lightning-terminal-linux-armv7-v0.8.1-alpha.tar.gz
tar xvf
cd lightning-terminal-linux-armv7-v0.8.1
sudo cp * /usr/local/bin
Then I created a service file under /etc/systemd/system with one of the lines saying:
.....
.....
[Service]
ExecStart=/usr/local/bin/litd --uipassword=supersecurepassword --httpslisten <IP_ADDRESS>:8443
.....
....
LITD works fine, but for me it seems not soooo secure. Or is this fine ?
THANKS

https://github.com/lightninglabs/lightning-terminal/blob/master/doc/config-lnd-remote.md#use-a-configuration-file


Restore hard line break

It looks like the renderer was changed in Hugo 0.60.0 to be CommonMark compliant. The previous hard line break needs to be updated to (sortof?) match the CommonMark hard line break.
This is currently broke on the Demo Site linked from the theme directory.

Nice catch, thanks!
Would you mind adding a second commit to your PR to apply this exact same change to exampleSite/config.toml?
Then I'd be happy to merge your PR.
When the folks over at Hugo fetch themes to build their demo-site directory, they actually rebuild from this directory. I just prefer to have a copy of the demo config file at the root of my repository. It might take a while until they refetch themes, though.

Also, while you're at it, you could bump the minimum version in theme.toml to min_version = "0.41". That would be great!

Sorry, I didn't think of it earlier...

Also, while you're at it, you could bump the minimum version in theme.toml to min_version = "0.41". That would be great!

That's the version I see unless I'm missing something: https://github.com/davidcoe/vncnt-hugo/blob/51fe228fcb52648ff45645efac93f81f0e3c4f54/theme.toml#L11

Nice catch, thanks!
Would you mind adding a second commit to your PR to apply this exact same change to exampleSite/config.toml?
Then I'd be happy to merge your PR.
When the folks over at Hugo fetch themes to build their demo-site directory, they actually rebuild from this directory. I just prefer to have a copy of the demo config file at the root of my repository. It might take a while until they refetch themes, though.

Didn't even notice it! 51fe228

Also, while you're at it, you could bump the minimum version in theme.toml to min_version = "0.41". That would be great!

That's the version I see unless I'm missing something: https://github.com/davidcoe/vncnt-hugo/blob/51fe228fcb52648ff45645efac93f81f0e3c4f54/theme.toml#L11

Yeah right, that was a copy-and-paste type. Of course I meant 0.60.

Also, while you're at it, you could bump the minimum version in theme.toml to min_version = "0.41". That would be great!

That's the version I see unless I'm missing something: https://github.com/davidcoe/vncnt-hugo/blob/51fe228fcb52648ff45645efac93f81f0e3c4f54/theme.toml#L11

Yeah right, that was a copy-and-paste type. Of course I meant 0.60.

Thanks for the catch! 9588e69

No big deal, really! Thanks again.

Thank you for the great theme!


Disable runtime type check in CustomType.scalar_type?

Motivation

T::Props::CustomType.checked_serialize is called a fair amount during serialization. Creating this PR to check whether removing the runtime type check has any effect on performance in practice.
Test plan

Behavior should be unchanged. Added a new microbenchmark.
Before:
$ bundle exec rake bench:serialize_custom_type
T::Props::CustomType.checked_serialize (μs/iter):
  1.118573   0.005625   1.124198 (  1.125563)

After:
$ bundle exec rake bench:serialize_custom_type
T::Props::CustomType.checked_serialize (μs/iter):
  0.477603   0.002454   0.480057 (  0.480592)

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NDuvYEDuCpzuEQ
→ https://go/builds/bui_NDuv25X3Cbgkp3

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NEErGMJDVuPATs
→ https://go/builds/bui_NEErYb1tnWijRN


Stream Errored Out Status code 440[BUG]

Describe the bug
I am getting a stream errored out connection update repeatedly with a status code of 440(Login timeout). I am handling the connection update by calling the startSock() function again in order to re-establish the connection, but the error just keeps coming up again and again, resulting in an infinite loop (sort of).
Is there any clear solution to this? I am using the latest versions of Whatsapp Business and of Baileys(6.5.0)
To Reproduce
I am using the example file provided in the repository.
Expected behavior
The connection should not be reset every 5 seconds with the stream errored out error.
Environment (please complete the following information):

Is this on a server? I'm getting this server on both the server as well as my local machine.
What do your connectOptions look like?
My connectOptions are as follows: {
   version,
   logger: P({ level: "fatal" }),
   printQRInTerminal: !usePairingCode,
   mobile: useMobile,
   browser: ["chrome (linux)", "", ""],
   auth: {
     creds: state.creds,
     /** caching makes the store faster to send/recv messages */
     //keys: makeCacheableSignalKeyStore(state.keys, logger),
     keys: state.keys,
   },
   msgRetryCounterCache,
   generateHighQualityLinkPreview: true,
   // ignore all broadcast messages -- to receive the same
   // comment the line below out
   shouldIgnoreJid: (jid) => isJidBroadcast(jid),
   // implement to handle retries
   getMessage: async (key) => {
     /* if (store) {
       const msg = await store.loadMessage(key.remoteJid!, key.id!);
       return msg?.message || undefined;
     } */

     // only if store is present
     return {
       conversation: "hello",
     };
   },
 }

Do you have multiple clients on the same IP? No.
Are you using a proxy? No.

Additional context
I have referred to similar issues #141 , #130 and #107 and have tried the temporary workarounds mentioned there, but to no avail. Find below the error object I'm receiving:

same problem

Same problem, any update on this?

+1

+1

+1

did anyone find a fix to the problem

bump

any solution?

Adding a delay of around 30000ms upon encountering statusCode: 440 before retrying a connection fixed it for me.

We still have this problem even with waiting for a full minute.
Do you have any idea why this happening?
cc: @flozender

+1  I'm using "mongo-baileys": "1.0.1",


Droplet example manifest is outdated

What happened?

When trying to follow the installing guild, trying to create the Droplet instance results an error.
How can we reproduce it?

kubectl create -f examples/compute/droplet.yaml
What environment did it happen in?
Any environment
Crossplane version: 1.7.0

Just of note, we don't currently support Crossplane version 1.7 and are currently on 1.6.4. Not sure if it's related or not.

I didn't get an error though, I got an endless loop of making droplets.

After some poking around, I'm thinking it might have something to do with this block of code.
https://github.com/crossplane-contrib/provider-digitalocean/blob/a84e31b85e4f7dccfbf964b8ade97e12e4dba6fe/pkg/controller/compute/droplet.go#L99-L110
I noticed not a lot of the other providers make these comparisons and actually just write to the external name with the ID even if it has a value. I'm thinking we should move to do the same.

we don't currently support Crossplane version 1.7

Just to clarify here, you should definitely be compatible with Crossplane v1.7.0, there are no breaking changes from v1.6.x to v1.7.x. The issue referenced was just do to some backdoor things the integration tests do, which we actually now have a fix for as well (I can open a PR to bump 👍🏻).
The issue here is likely the fact that the NewNameAsExternalName initializer is not being used, so your external name annotation is always empty in the code block you referenced. It can be added here. Here is an example from provider-aws.

@ADustyOldMuffin here is a more concrete breakdown of what is happening. There are really two scenarios:

User sets external-name annotation. In this case, you'll fail to parse to an ID, causing the subsequent GET to fail, which will trigger creation. Creation will be successful, but since you already have the external-name set to a value that is not the external ID, it won't get updated. This means on the next reconcile you'll do the same song and dance and create a new Droplet... and so on and so on.
User has not set external-name annotation. In this case, you abort early in your observation and trigger creation. In your create method, you appear to be eventually setting the external-name, so I'm not sure if there is a bug taking place on that path or not. If there is, happy to dive in further on that with you 👍🏻

@ADustyOldMuffin @hasheddan Is any one working on resolving this ? I would like to pick it up if not.

Hello @richardjennings there's an open PR but there hasn't been any movement so if you want to make another go for it!


App still crashes in editor v1.6

For the first time app works fine an i can write something but syntax don't highlight, after save if I trying open this file or open editor app crashed. And interaction with board fs haven't effect. (arduino nano rp2040 connect, micropython v1.23

FS interact resolved by installing micropython 1.19. But app still crashes.

I have this same issue also.
Device: Samsung AO2

I have this same issue. When i try to edit file with .py extension then it crash.
When i compile app with sora-editor in version 0.22.2 then it don't crashes.
Device: Galaxy A50.

This crash should have been fixed in V1.7
https://github.com/Ma7moud3ly/micro-repl/issues/33


Correct the documentation to disable caching

Correct the documentation to disable caching

Sorry @lapp0 I don't know what I clicked now and I don't know how to remove the review request.


Improve readme

To anyone who wants to contribute please upgrade the readme and add a readme.md to all the data structures and algorithms folders in order to explain them in detail. Maybe @mistermboy ?

Maybe on Holiday ;)


x-model issue

Reported over email

I noticed that Alpine Tools in not reflecting changes made in the DOM to inputs with x-model assigned to them.
I have tested in latest versions of Firefox and Brave on macOS 10.15.7
If I use x-text or x-html in the page, then that does work and values stay synced.

I've asked for a reproduction but the reporter hasn't got back to me, putting this in an issue, will close if no one has seen this before and reproduction steps can't be found.

I've noticed a few times updates not happening with $component. I'll try to go back and see if it's related to x-model

I've noticed a few times updates not happening with $component. I'll try to go back and see if it's related to x-model

have experienced similar recently, will get reproduction repo.
here updated values are not reflected in devtools
https://bf-compare.netlify.app/

have experienced similar recently, will get reproduction repo.
here updated values are not reflected in devtools
https://bf-compare.netlify.app/

Thanks @ajitbohra we don't necessarily need the repo since you've posted a publicly accessible app 👍👍👍

Thanks @ajitbohra we don't necessarily need the repo since you've posted a publicly accessible app 👍👍👍


Update lit imports (The main 'lit-element' module entrypoint is deprecated. )

Description
The components are upgraded to Lit 2 but the module imports still point to the old and now deprecated lit-element package.
For example:

https://github.com/material-components/material-web/blob/master/packages/button/mwc-button.ts#L10
https://unpkg.com/<EMAIL_ADDRESS>
Acceptance criteria
Re-write your module imports appropriately:
From:
import {LitElement} from 'lit-element';
To:
import {LitElement} from 'lit';
See the Lit upgrade guide: https://lit.dev/docs/releases/upgrade/#update-packages-and-import-paths

We actually have some work to do internally before we can make this change.

OK, reading the v0.25.1 changelog gave me the impression you already had switched to Lit 2 completely.

Should be fixed in #2749

Thanks! 👍


JSON-Binding breaks prometheus metrics format

When I enable JsonBindingSupport for the webserver routing and MetricsSupport:
Routing.builder()
 .register(JsonBindingSupport.create())
 .register(MetricsSupport.create())
 .build()

The clear-text Prometheus format is broken:
curl http://localhost:8080/metrics/vendor
"# TYPE vendor:requests_count counter\n# HELP vendor:requests_count Each request (regardless of HTTP method) will increase this counter\nvendor:requests_count 2\n# TYPE vendor:requests_meter_total counter\n# HELP vendor:requests_meter_total Each request will mark the meter to see overall throughput\nvendor:requests_meter_total 2\n# TYPE vendor:requests_meter_rate_per_second gauge\nvendor:requests_meter_rate_per_second 0.3750436866122316\n# TYPE vendor:requests_meter_one_min_rate_per_second gauge\nvendor:requests_meter_one_min_rate_per_second 0.2\n# TYPE vendor:requests_meter_five_min_rate_per_second gauge\nvendor:requests_meter_five_min_rate_per_second 0.2\n# TYPE vendor:requests_meter_fifteen_min_rate_per_second gauge\nvendor:requests_meter_fifteen_min_rate_per_second 0.2\n"%

Expected output:
curl http://localhost:8080/metrics/vendor
# TYPE vendor:requests_count counter
# HELP vendor:requests_count Each request (regardless of HTTP method) will increase this counter
vendor:requests_count 1
# TYPE vendor:requests_meter_total counter
# HELP vendor:requests_meter_total Each request will mark the meter to see overall throughput
vendor:requests_meter_total 1
# TYPE vendor:requests_meter_rate_per_second gauge
vendor:requests_meter_rate_per_second 0.21839295518592852
# TYPE vendor:requests_meter_one_min_rate_per_second gauge
vendor:requests_meter_one_min_rate_per_second 0.0
# TYPE vendor:requests_meter_five_min_rate_per_second gauge
vendor:requests_meter_five_min_rate_per_second 0.0
# TYPE vendor:requests_meter_fifteen_min_rate_per_second gauge
vendor:requests_meter_fifteen_min_rate_per_second 0.0

Environment Details

Helidon Version: 1.0.3, 1.0.4-SNAPSHOT
Helidon SE
JDK version: 1.8
OS: MacOS

The string is wrapped in quotes and end of line characters are removed.
In this case the string should not be touched by JsonBindingSupport

Hi, @tomas-langer; should this be special-cased?  As you can see from the code there's nothing special going on.  You added JsonBindingSupport, so it simply uses the writer created:
https://github.com/oracle/helidon/blob/8454a8d7fe07ae2ce91769b3a61a6c8e3027baa0/media/jsonb/common/src/main/java/io/helidon/media/jsonb/common/JsonBinding.java#L85
Should there be some way for JsonBindingSupport to know that it is not supposed to do this, even though it was registered?  Or did you have something else in mind?

Maybe a quick fix would be to change JsonBindingSupport so it does not register the writer if payload instanceof String?
But we do have a general problem here. Metrics (and Health and others) can't know or care about what media support the user has registered. And the media support the user has registered should not impact these built-in services (since they likely hand craft their responses).
So we either need a way to suppress the media support per response, or do something like having specific entity/writers for these built in services so the selection of the appropriate writer is unambiguous. Or maybe a RawPayload entity that wraps a string and indicates media specific content writers should keep their hands off.

My first solution would be to ignore String. The RawPayload suggested by Joe seems like a good approach as well.
Maybe a workaround for the RawPayload would be to use Publisher<DataChunk> in these services , as I guess that gets around the writers as well?

The bookstore functional test did not catch this since it only checks metrics with the JSON-P support. I'll update the test to run with JSON-B and Jackson.

JacksonSupport has the same problem.

See PR #669


We need better output for tests that raise exceptions

Currently, when a test throws an error the output is way too confusing, no matter if you run with py.test or with python setup.py test.
I believe this is important enough to be fixed because it's hurting not only maintainer productivity (for example, I often find myself copying the test code into a temp file, just to be able to see a complete stacktrace) but it's also hard on project newcomers trying to make a test pass.

We should at least make the messages better, giving better hints of what's going on and how to fix it.

I want to grab this. Can You guide me

When i think about it, we could have better output for all test failures, not only the ones with exceptions.
I often find myself having to think hard to see which output is VOC's and which is CPython, in the case where no exception was thrown.
Instead of just a diff, we could have a message like:
For this code:

 ... code here

The expected output (with CPython 3.5.2) is:

... expected output here

But compiling with VOC and running with java -cp ... we got:

... output we got

The diff is:

... diff here


auto finish app baseURL public static img

Describe the feature
auto finish app baseURL public static img.

Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Check existing discussions and issues.
[X] Read the contribution guide.

@NyllRE The author's wish would be to also load images with the "base URL" prefix automatically, so not /home/news-4.png but /website/home/news-4.png


Fix FlexPanel division by 0 crashes and cleanup

PR Details:
Fixed a few instances of possible divisions by 0 that caused NaN to propagate until exceptions would occur.
These would happen when available cross axis space was 0 or all child items had 0 main or cross axis size.
Checks were put in place to prevent any potential instance of division by zero, following the FlexBox specification on what behaviour to take in such cases.
See 2fbea8f for fix details.
Minor refactoring was then done to improve code readability by extracting a few methods from MeasureOverride and ArrangeOverride and making the logic more concise and explicit.
Problem Details:
Minimum code to reproduce the division by 0 issue:
<Border Height="100">
      <Grid RowDefinitions="Auto,*">
        <TextBlock Text="Text"/>
        <panels:FlexPanel Grid.Row="1" Wrap="Wrap">
          <Button Content="ButtonContent" Height="0"/>
        </panels:FlexPanel>
      </Grid>
</Border>

AlignContent.Stretch with Wrap.Wrap and items all contents with Height="0" inside a container with fixed Height.

But I wonder, if there are any public tests cases for Flex panel that we can port into C# and Avalonia. Would make such things much easier to handle.

I agree, it would be great to have this validated against common edge cases, to make this more robust for production.
I don't have plans for this at the moment, might come back to it if we find other problems.

@maxkatz6 Would you know when a new release might be available?
You mentioned you wanted to do one towards the end of July here: https://github.com/AvaloniaUI/Avalonia.Labs/pull/76#issuecomment-2237742439
We have a number of crashes in our App due to the FlexPanel issues I fixed here that we would like to avoid.

@Al12rs thank you for reminding me. Just completed testing and triggered a new release.
Should be on nuget soon.

@Al12rs thank you for reminding me. Just completed testing and triggered a new release.
Should be on nuget soon.

That is awesome to hear, thank you!


FIX: Repaired links by switching them

Fixes:

"repositories" link pointed to organization page
"organization" link pointed to repositories page

Looks good. Thanks @NenoLoje


Please properly annotate tags the releases of kubespray

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST
If this is a FEATURE REQUEST, please:

Describe in detail the feature/behavior/change you'd like to see.

When cloning kubespray, I'd like to use git describe to know where about I am in the source
code. This helps in bisecting and finding which version introduces a bug.
Currently the latest release is at 2.7.x and the latest signed tag is at 2.1.0
~/Software/kubespray [±|master ✓|] $ git tag | sort -r | head -n 2
v2.7.0
v2.6.0
~/Software/kubespray [±|master ✓|] $ git describe
v2.1.0-2510-g30132d8c
~/Software/kubespray [±|master ✓|] $

It would be a nice improvement, and it does not require an actual code chnage, other than the release process.

Can you detail more the concrete actions to perform?

You can also annotate previous tags, but I think you first have to remove reach tag and recreate it.

You can also annotate previous tags, but I think you first have to remove reach tag and recreate it.


Improvements to the variants API

Most noticeable when the call list is large.
I got at worst a 2x speedup. When an empty callset list is sent you'll see much faster but YMMV.
Replaced the hacked phase set implementation with pysam native. Found that pysam and pyvcf disagree on whether a single genotype in a variant set should be called phased. See demonstration here.
Helps with #950

This is a much needed cleanup, thanks @david4096. I think we can simplify things a bit by identifying our error cases more clearly and raising exceptions when nasty things happen.
Re the pysam/pyvcf issue, can you give us some examples of where they disagree?

@jeromekelleher the one example I found in our data you look at here https://gist.github.com/david4096/997fc3ecb00783ba6775acf15750eec4

I'm not sure what to make of this phasing issue @david4096 --- this looks like an error in the input vcf to me, since we have '0' rather than '0/0', '0/1' etc in the genotype column, unlike the rest of the file. I could be wrong though. In any case, it seems like it's an awkward corner case, and I'm happy to assume that pysam has got it right. So, I would work around this in the tests by:
if len(genotype.split("/")) == 1:
     # assert phased is true
else:
     # Compare our value for phased with pyvcf

How does this sound?

@jeromekelleher Works for me! Updated!

Excellent, thanks @david4096. This is a super important update, I'm excited to see how our benchmarks look after we merge.
+1.

Can you rebase this please @david4096? We want to get this in ASAP.

Sure updated!

Looks like we're out of date again. Can you rebase and merge please @david4096?


[azure.mgmt.network] Add implementation for az network vnet subnet list-available-ips

Is your feature request related to a problem? Please describe.
azure-cli has a command az network vnet subnet list-available-ips, but the Azure SDK for Python doesn't.
Describe the solution you'd like
Add an implementation for this in SubnetsOperations Class.
Describe alternatives you've considered
I think my only alternative is to use the method virtual_networks.check_ip_address_availability?  If I set the parameter ip_address to an IP within the subnet, it seems to return available IPs within that subnet.
Additional context
N/A

Hi, according to your context, the issue is more related with the usage problem of CLI in specific scenario other than SDK issue. You can raise issue in https://github.com/Azure/azure-cli/issues to seek help from CLI team.

/unresolve
@msyyc sorry if my description was confusing. This is not a question on how to use Azure CLI.
My request is to bring the Azure SDK for Python to parity with Azure CLI by adding a function that is equivalent to az network vnet subnet list-available-ips into Azure SDK for Python.

Adding service team to look into this.

Hi @heyjustyn, Azure CLI bases on Python SDK so I look through CLI source code and try to find how they use SDK API. Please try the following code:
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from azure.identity import DefaultAzureCredential
from azure.mgmt.network import NetworkManagementClient
from azure.mgmt.network.models import Subnet

"""
# PREREQUISITES
    pip install azure-identity
    pip install azure-mgmt-network
# USAGE
    python subnet_get.py

    Before run the sample, please set the values of the client ID, tenant ID and client secret
    of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
    AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
    https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""

def main():
    client = NetworkManagementClient(
        credential=DefaultAzureCredential(),
        subscription_id="subid",
    )

    subnet: Subnet = client.subnets.get(
        resource_group_name="subnet-test",
        virtual_network_name="vnetname",
        subnet_name="subnet1",
    )
    try:
        address_prefix = subnet.address_prefixes[0]
    except KeyError:
        address_prefix = subnet.address_prefix
    start_ip = address_prefix.split("/")[0]

    result = client.virtual_networks.check_ip_address_availability(
        resource_group_name="subnet-test",
        virtual_network_name="vnetname",
        ip_address=start_ip,
    )
    for item in result:
        print(item)

# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/SubnetGet.json
if __name__ == "__main__":
    main()

@msyyc Thank your for looking into how it is implemented in the CLI source code.
The provided code will print IP addresses with the modifications below, but sample code isn't equivalent to the CLI source code because it isn't calling CheckIpAddress right?
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from azure.identity import DefaultAzureCredential
from azure.identity import AzureCliCredential
from azure.mgmt.network import NetworkManagementClient
from azure.mgmt.network.models import Subnet, IPAddressAvailabilityResult

"""
# PREREQUISITES
    pip install azure-identity
    pip install azure-mgmt-network
# USAGE
    python subnet_get.py

    Before run the sample, please set the values of the client ID, tenant ID and client secret
    of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
    AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
    https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""

def main():
    subscription_id="<replace-with-value>"
    vnet_resource_group_name="<replace-with-value>"
    virtual_network_name="<replace-with-value>"
    subnet_name="<replace-with-value>"

    client = NetworkManagementClient(
        credential=DefaultAzureCredential(),
        subscription_id=subscription_id,
    )

    subnet: Subnet = client.subnets.get(
        resource_group_name=vnet_resource_group_name,
        virtual_network_name=virtual_network_name,
        subnet_name=subnet_name,
    )

    if subnet.address_prefixes != None:
      try:
        address_prefix = subnet.address_prefixes[0]
      except KeyError:
        address_prefix = subnet.address_prefix
    else:
       address_prefix = subnet.address_prefix
    start_ip = address_prefix.split("/")[0]

    result: IPAddressAvailabilityResult = client.virtual_networks.check_ip_address_availability(
        resource_group_name=vnet_resource_group_name,
        virtual_network_name=virtual_network_name,
        ip_address=start_ip,
    )
    for item in result.available_ip_addresses:
        print(item)

# x-ms-original-file: specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/examples/SubnetGet.json
if __name__ == "__main__":
    main()

My feature request is to have a new method added to Azure SDK for Python. The new method would be similar to the method subnet_list_available_ips in the CLI source code, but made available in the SDK. Will the team accept this feature request or deny it?

SDK is generated automatically with swagger. So SDK's API is one to one to swagger. While CLI not,some CLI code is handwritten so it will use set of SDK API to help users do something in convenience. So I am afraid SDK can't do the same thing like CLI.

/unresolve
@msyyc thank you for the clarification. Which repository is for the SDK API? I would like to submit a feature request there and reference this issue.

@heyjustyn That makes sense. Once service team define this kind of REST API, SDK team will release a new version to support it. Please open an issue in https://github.com/Azure/azure-rest-api-specs/issues with detailed context and mark feature-request label


Amp\Parallel\Test\Forking\ForkTest::testExitingContextOnSend hanging

Amp\Parallel\Test\Forking\ForkTest::testExitingContextOnSend hangs with 100% CPU when UV is enabled.

Odd, I'm not able to reproduce that. More details?

Solved.


Parameters are duplicated when AcceptsAuthorizationHeader is switched off in OAuthClientHttpRequestFactory

(spring-security-oauth version 2.0.5)
Hi,
In the OAuthClientHttpRequestFactory class, createRequest method - if you have AcceptsAuthorizationHeader set to false then it generates a queryString correctly (which includes all custom query parameters).
However, at the line:
uri = URI.create(uriValue.contains("?") ? uriValue + "&" + queryString : uriValue + "?" + queryString);
It correctly checks whether there are existing params, but then it goes and adds on to the end, rather than just after the question mark.
As an example:
"http://localhost/oauth/duplicate/bug?param=DUPLICATE"
Will get converted to the url:
http://localhost/oauth/duplicate/bug?param=DUPLICATE&oauth_consumer_key=key&oauth_nonce=8d854b67-a189-429d-985f-e9e8c02c4398&oauth_signature=hQx35gpqOPcchGwrzUv3OJAW8Wo%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1419954873&oauth_version=1.0&param=DUPLICATE
On the other end, "param" will be received twice, and if it's a Spring controller the value will be "DUPLICATE,DUPLICATE".
Unless I'm doing something wrong?
Thanks,
Julian

Fixed in #403 (I believe).


Naming of DelegateInterface in light of #45

#45 updated DelegateInterface to typehint its $request argument against the PSR-7 ServerRequestInterface instead of RequestInterface, as recent discussions have concluded that http-middleware/PSR-15 should only target server-side middleware.
To my mind, this now raises a question about naming consistency: the middleware interface is ServerMiddlewareInterface, the namespace is Psr\Http\Middleware, and the delegate, though it typehints against ServerRequestInterface, is only named DelegateInterface.
As such, I propose we take one of the following courses of action:

Rename the namespace to Psr\Http\ServerMiddleware, and rename the ServerMiddlewareInterface to MiddlewareInterface.
Rename DelegateInterface to ServerDelegateInterface.
Do nothing; make no further changes.

Either of these would make the naming more consistent. The first would allow a later PSR addressing client-side middleware to live in a separate namespace, keeping them parallel but separate. The second would allow such a PSR to re-use the same namespace, but using a prefix such as Client on the interfaces it defines.
The third, of course, requires no effort, but could lead to questions or confusion by implementors and/or consumers later.
I personally prefer either the first or second option, but have no preference between them; I mainly would like to see which approach is favored by others.

Psr\Http\Server\MiddlewareInterface and Psr\Http\Server\DelegateInterface

If someone wants to mix client and server they can use aliases – but I do not think that will happen often…

I would prefer option 1 or 2, and think it's largely an aesthetic choice between them. Given that, I'd prefer option 1, since I like shorter interface names.

@schnittstabil I think Psr\Http\Server is misleading, as it implies that the code beneath it is capable of providing an HTTP server. By including Middleware in the namespace, we properly indicate the purpose of the code beneath it. (This is, of course, why PSR-7 uses the Message sub-namespace, versus simply being in the Psr\Http namespace.)

@weierophinney 4. was just missing in your list. I do not really like Psr\Http\Server\….

I believe we should/must align with PSR-7 in some way:
use Psr\Http\Message\MessageInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ClientRequestInterface; // maybe with PSR-77
use Psr\Http\Message\FooRequestInterface;    // maybe with PSR-Foo

Any {Message, Request, ServerRequest, ClientRequest, …}MiddlewareInterface could be useful at some day.
Side note about ClientRequestInterface: PSR-7 does not provide a request interface fully dedicated to the client side (RequestInterface fails because of the inheritance hierarchy in PSR-7).

Maybe 5.:
use Psr\Http\Middleware\Server\MiddlewareInterface;
use Psr\Http\Middleware\Server\DelegateInterface;

use Psr\Http\Middleware\Client\MiddlewareInterface;
// … more client related middleware interfaces

use Psr\Http\Middleware\Foo\MiddlewareInterface;
// … more foo related middleware interfaces

Or if we think about asset pipelines etc. Maybe a variation of 6.:
use Psr\Middleware\Server\MiddlewareInterface;
use Psr\Middleware\Server\DelegateInterface;

use Psr\Middleware\Client\MiddlewareInterface;
// … more client related middleware interfaces

use Psr\Middleware\Foo\MiddlewareInterface;
// … more foo related middleware interfaces

But two times Middleware everywhere?

I like 1, because it's meaningful:

Psr\: This is the vendor
Http\: This is the area in which we are working
ServerMiddleware\: This is the recommendation name
MiddlewareInterface | DelegateInterface: The interfaces

Note that only PSR-7 use these three namespaces (Psr\Http\Message), the rest of the PSR use only two (the area is skipped), for example Psr\Cache, Psr\Link, or the comming up Psr\Container, Psr\SimpleCache, etc. Maybe this makes sense because Http is an area that contains serveral recommendations interconnected and the other are more independent (with the exception of Cache, that maybe Psr\SimpleCache should be renamed to Psr\Cache\Simple.


docs(logo): add logo to the README

Closes #1

Codecov Report

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

@@          Coverage Diff          @@
##           master     #2   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          60     60
  Branches        9      9
=====================================
  Hits           60     60

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 1cf82ee...5933590. Read the comment docs.

Merged


CORE-18863: Helm Schema Changes 4 State Isolation

Update json schema changes (Helm only) to support new deployment model
on which state types can be isolated and workers are allowed to access
more than a single State Manager instance.
Changes introduced by this commit are backward compatible with the
existing schema, comments were added so that the relevant code can be
entirely removed once the new deployment model is fully rolled out.

Thanks for the updates. LGTM pending the additional state Conal has mentioned.


docs(collapse): Improve docs for Collapse component page

Rephrase sentences, change structure for several blocks, and add a summary.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #219   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          20     20
  Lines         379    379
=====================================
  Hits          379    379

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 7c46d3a...2e39806. Read the comment docs.


Implement RBAC management module

@samdark I altered icon by bricks :santa:

Looks much better.

:coffee:
My thoughts at the moment.
I tried to use a real project using the current code (demo - https://basic-rbac-githubjeka.c9.io/basic/web/index.php?r=rbac):

In real project uses 238 roles and permission. In the same uses 654! links of roles and permissions.
When using square angles for connections, then we get ocean overlaps and intersections.

I used my code that invented himself. Now I read about some algorithms - http://en.wikipedia.org/wiki/Graph_drawing . I tried Sugiyama algoritm (1, 2)
Received such images:

Not much better than my. :lollipop:
At this point, I think my original offer the best.

Plus huge that connected nodes are as close to each other and connection are easy to read when huge number of links.
:coffee: ended gl hf

Hmm. I don't think it's even possible to visualize such a number of connections in a readable way. Probably it's a good idea to highlight all connections for a node when node is selected.

A tool for editing rbac rules visually does not need to scale up to that amount of items and connections imo. Imo it should work well for the simple case and maybe change display methods if the number of nodes is greater than a certain threshold. I like the first way of displaying:

but if that does not scale for large number of items you can implement a threshold value that will use another rendering method if more nodes need to be displayed.

Or provide a way to choose visualization method. Same as PhpStorm does for diagrams.

hem... I think if creator yii2-admin join discussion in here.. it will be amazing.. :)

I also think that this visual tool is better at viewing the objects than for creating RBAC rules. A category-based/sorted table with an instant-seach field would do much better for that and also be still usable with a high amount of objects.

agree with @patlecat.

use graphs for understanding
use tables for editing

I use table for assign role to user only. This module for others. But no time for update interface...

I have a PR open #6872 so far it has passed all the unit testing, I don't know whats needed for merging

how install this module for template advanced yii2?
And have interface it?

https://github.com/githubjeka/gui-rbac-yii2#use-on-local

and please how executo o run this module? the route. I have prettyURL then controller/action.

https://github.com/githubjeka/gui-rbac-yii2/blob/master/config/web.php#L10\
index.php?r=rbac

Added new features. [repo]
See demo

When I double-click to delete/modify a node I cannot get out of the delete-mode anymore. Nothing worked.

Hmm..
When you dbclick on node then node selected to form. Push red delete button.
The moment of CRUD implemented via form isn't perfect. I don't like it myself. But so far I haven't heard how best to do it.

No man, how can I leave the delete-mode without deleting anything?

Push white reset-form button

New features. :seedling:
Added new search block. Now you can search roles and permissions by name.
Added style to a marked node.
have fun

Great!

Guys this is nice but it looks over complicated.

than what?

@nkostadinov any concrete suggestions?

The RBAC system is very flexible but in real life, no one will want to arrange these graphs while setting permissions. My current RBAC implementation has only one group per user and this group holds the permissions(like "yes"/"no") - simple as that. There is no inheritance, no complex graphs ... It's working on a very large scale at one of the biggest telco's in Bulgaria and is doing it's job perfectly.
I'm currently working on something like this for yii2 but it's not ready yet. The idea is to have a basic user extension, and to add "plugins" implementing different functions. I just like to keep it simple :)
Anyway I'm not saying nothing bad about this, just discussing here.

Complexity of RBAC permissions graph depends very much on the nature of the project. If it is about community and is something like StackOverflow where you're getting more permissions and moving towards the top of the hierarchy depending on your actions, the graph could be quite complex.
The RBAC management extension discussed here is able to visualize it nicely so one could get a good overview and fix some bugs.
Of course, if you know that simpler hierarchy is OK for the project and you're quite sure that it's not gonna change, UI could and should be simplified.

I have one idea - auto create a migration for every action CRUD  yii\rbac\Item.
What you think? Can somebody show me example file with simple rbac migration?

Yep, that could work.
<?php

use yii\db\Schema;
use yii\db\Migration;

class m150910_204507_init_blog_rbac extends Migration
{
    public function up()
    {
        $auth = Yii::$app->authManager;

        $manageBlog = $auth->createPermission('manageBlog');
        $manageBlog->description = 'Manage blog';
        $auth->add($manageBlog);

        $admin = $auth->createRole('admin');
        $admin->description = 'Administrator';
        $auth->add($admin);
        $auth->addChild($admin, $manageBlog);
    }

    public function down()
    {
        Yii::$app->authManager->removeAll();
    }
}

Won't be implemented in the core since it's to flexible to have a universal UI.

how to assign roles to users

RTFM: http://www.yiiframework.com/doc-2.0/guide-security-authorization.html#generating-rbac-data


Add lodging expense analysis based on simple mean/std comparisons

This should be considered as an initial approach to #26. One may argue that there isn't any official data being scraped and considered yet, but this mean/std approach may prove to be useful for further analysis, with or without external data.

Hi @samuelgrigolato! Very interesting analysis, many thanks for that.
Would you mind adding the .html and .py versions (as explained here) so I can consider this PR good to merge?

Done!
Am I right to assume that the .py/.html versions should be versioned in addition to and not in replacement of the ipynb file?
Also note that I amended my last commit, effectively dropping the current one, in order to keep this PR with a clean history. Please tell me if the current commit is already merged somewhere so I can revert this move and avoid trouble =).
I'd also like to ask how can I be assigned something else to do? I'm looking forward to help both in web scraping and data analysis. I know there are the issues page, but maybe you can provide some pointers on specific areas that would appreciate some work?

Hi @samuelgrigolato!
First of all, thanks for your contribuition, very well done, you explained the idea very well!
The only thing I would like to add is that you can adapt your analysis to the new dataset based on reimbursements, you can read about here:  #143
About your question, we have a roadmap that is guiding us for this time, there are many issues that focus on data scraping and analysis like nepotism, meal outliers, there is something that you're interested about it? That would help to us to find something for you :)

Just complementing what @anaschwendler just said: here are briefly our roadmap for the next weeks — each roadmap has some issues and PRs related to it. Beyond that feel free to reach us on the Telegram group if we can help you help us ; )

@anaschwendler @cuducos  I just pushed a new version of my analysis. Now it consumes the new reimbursements dataset. I hope I got correctly the meaning of the added columns, though. Please let me know if total_net_values was not the intended direct replacement for the old net_value so I can fix it. :smile:
I'm also taking a look at the roadmaps. As soon as I feel inclined to spend some brain tissue into something (that won't be too hard, I guess) I'll let you know at the comments.

Hi @samuelgrigolato!
Yes, that's right we are using total_net_value to replace the old net_value, so that's fine.
Please let us know, if you need something, or are having some doubts, call me or @cuducos  on telegram :)
We are there to explain everything about the project!
By now, thanks for you contribuition, I'll take a better look into it, and if I didn't find anything new, I will merge it to the project.

Hi @samuelgrigolato i was taking a last closer look to your notebook, and its good to merge!
The last thing we need from you is change the name of the notebooks, sorry for not noticing that before, but now we are using the github username at it, do it if whenever you can, and then i'll merge it.
Really liked your conclusion and your research in a way to find suspicious reimbursements :)

Hello @anaschwendler!
I'm glad you like the analysis, thank you!
Regarding the new naming rules, there's no problem at all, I've pushed a new commit following your orientation. Please let me know if you happen to find anything else I need to fix.
I opted not to amend my commit this time, maybe it is helpful for the history to have this kind of action explicity logged. If you think otherwise, feel free to correct me.

That's fine, thanks for the last commit :)
I'll be merging it right now.
Any doubts send us a message on telegram \o
We're here to help!


Updating config options as ENVs in README, updating a few other links

Signed-off-by: garcia.ryan<EMAIL_ADDRESS>
Summary
Updating section of README for mattermost team edition to use config values with ENV vars rather than configJSON items per issue #238 . Also updating a few other broken links.
Ticket Link
Fixes #238

Hello @rgarcia6520,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

/check-cla

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Any reviewers about that could give this a quick look?


FBLPromise with Bool as Value in ObjC

Hi all,
Silly question, how do I create a Promise that produces streams of Bool values in Objective-C. Since, BOOL is not a pointer type in ObjC, should I use NSNumber instead?
Many thanks.
Chalk

Hi Chalk! That's correct, you have to use NSNumber to wrap BOOLs.


Deposit

HI,I  installed the bot, the bot works, I click "Invest 💵" the bot gives the address, I send bitcoins to it, a lot of confirmations go through, but this amount does not appear anywhere in the bot as if it didn't send anything

When this command "gwb" works correctly and shows the amount on the purse

Cron job not work. Kkk. Plaza check in cronjob setting

Cron what's this? I do not quite understand

Wich branch are you using if is the master branch than check if the cron job is running. Also check if you have any error running cron_deposit.php.
Le 16 mai 2019 02 h 58, smile<EMAIL_ADDRESS>a écrit :
HI,I installed the bot, the bot works, I click "Invest 💵" the bot gives the address, I send bitcoins to it, a lot of confirmations go through, but this amount does not appear anywhere in the bot as if it didn't send anything
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/nicelife90/BladeBTC/issues/52?email_source=notifications&email_token=AANUG62YL4GXEKQ3O2NGQ7TPVUAX7A5CNFSM4HNJQHZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUC4KFA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AANUG66MDSMNBTFQRJICGPDPVUAX7ANCNFSM4HNJQHZA.

hello between how much the update ends?

1 or 2 weeks
Le 21 mai 2019 16 h 07, enea1982<EMAIL_ADDRESS>a écrit :
hello between how much the update ends?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/nicelife90/BladeBTC/issues/52?email_source=notifications&email_token=AANUG65C4SDP4TDQWGI2HV3PWRJBHA5CNFSM4HNJQHZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5BAJY#issuecomment-494538791, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AANUG64F66QWF3ZSRM63B3DPWRJBHANCNFSM4HNJQHZA.

but 1 or 2 weeks was 2 weeks ago
Il giorno mar 21 mag 2019 alle 23:56 Yanick Lafontaine <
<EMAIL_ADDRESS>ha scritto:

1 or 2 weeks
Le 21 mai 2019 16 h 07, enea1982<EMAIL_ADDRESS>a écrit :
hello between how much the update ends?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<
https://github.com/nicelife90/BladeBTC/issues/52?email_source=notifications&email_token=AANUG65C4SDP4TDQWGI2HV3PWRJBHA5CNFSM4HNJQHZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5BAJY#issuecomment-494538791>,
or mute the thread<
https://github.com/notifications/unsubscribe-auth/AANUG64F66QWF3ZSRM63B3DPWRJBHANCNFSM4HNJQHZA>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nicelife90/BladeBTC/issues/52?email_source=notifications&email_token=AGXN7UHFKVDF33NV2NR53C3PWRVZ5A5CNFSM4HNJQHZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5JU2I#issuecomment-494574185,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGXN7UGVNKDUCOPTFIJ6UUTPWRVZ5ANCNFSM4HNJQHZA
.

All issue with deposit was now fix in the latest version!


add body attribute in showDialog action

Describe your changes
Screenshots [Optional]
Issue ticket number and link
Closes #406
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] I have added tests
[x] I have added a changeset pnpm changeset add
[x] I have added example usage in the kitchen sink app

Hey @evshi , I made a separate video to explain an issue I'm facing with a model not positioning correctly. Can you please watch it and give me your suggestions on how to solve it? https://www.loom.com/share/38f98e2fb73f4a03a1f0dfd9b56f3638?src=composer
@anserwaseem let me know if i have correctly mentioned the problem.

Hey @evshi , I made a separate video to explain an issue I'm facing with a model not positioning correctly. Can you please watch it and give me your suggestions on how to solve it? https://www.loom.com/share/38f98e2fb73f4a03a1f0dfd9b56f3638?src=composer @anserwaseem let me know if i have correctly mentioned the problem.

This issue is a sign you're not taking the right approach and fighting the tools. I'll set up a meeting between the three of us to sort this out.

@anserwaseem @sibteali786 to fix the onHover issue we'll need to position the modal wrapper relative to the location. So instead of the wrapper taking the entire screen, the wrapper will begin at the cursor position and the modal will position itself to the top left (this is going to also require extra calculations in responsiveness later on).
@sibteali786 let's keep the mouseenter and click out to close the modal for now and I created this ticket to resolve the onmouseleave. https://github.com/EnsembleUI/ensemble-react/issues/448