Can't use two different Global Properties with two different Keen instances

As a user, I want to transition from an old schema to a new schema for my Keen events.
I'd like to be able to collect both the old & new events in parallel for a while.
I set up two Keen clients like this:
var client1 = new Keen({
projectId: "YOUR_PROJECT_ID",
readKey: "YOUR_READ_KEY"
});
var client2 = new Keen({
projectId: "YOUR_PROJECT_ID",
readKey: "YOUR_READ_KEY"
});
And I also have two sets of global properties.
client1.setGlobalProperties(myGlobalProperties1);
client2.setGlobalProperties(myGlobalProperties2);
However, it seems that these don't stick and the keen-js seems to behave as if there is only one client instance.
The workaround for this is to call both of these for each addEvent:
client1.setGlobalProperties(myGlobalProperties1);
client2.setGlobalProperties(myGlobalProperties2);

Not following what's happening here.. based on that code above you should have two distinct clients, client1 and client2, which should each have their own parallel .setGlobalProperties() methods.

The issue is not that the properties don't "stick" but that if you have two client instances with separate Global properties that I see a Uncaught TypeError: Cannot read property 'endpoint' of undefined'. when I call addEvent on my second instance of the client.

@wetzler @capescuba I tested this out, and unfortunately (or, fortunately?) this issue doesn't seem to be reproducible:
var client1 = new Keen({
    projectId: "PROJECT_ID",
    writeKey: "WRITE_KEY"
});

var client2 = new Keen({
    projectId: "PROJECT_ID",
    writeKey: "WRITE_KEY"
});

client1.setGlobalProperties(function(){
  return { client: 1 };
});

client2.setGlobalProperties(function(){
  return { client: 2 };
});

console.log(client1);
console.log(client2);

client1.addEvent('test:setGlobalProperties', {
  num: 123
}, callback);

client2.addEvent('test:setGlobalProperties', {
  num: 456
}, callback);

function callback(err, res){
  if (err) console.log('Error', err);
  console.log('Response', res);
}

The result of these calls is two { created: true } logs, and the events are being recorded correctly, as documented as expected.

So what else could be causing the exception I posted then?

@capescuba which version of the SDK is throwing that error? That sounds like an internal property from long ago, in a branch far far away ...

@wetzler I also noticed your client configurations use readKey instead of writeKey – was that the actual code you tested? In that case, addEvent wouldn't have worked anyway.

Closing for now, and suspect these issues are config errors – happy to re-open and re-examine, though! Just ping me if you think there's more to this.

Hey, yeah, those are supposed to be write keys. I didn't actually repro this one, it was explained to me by @capescuba.

Ok, got it - @capescuba, ping me if you're still hitting a roadblock here. I would be more than happy to check out your code and dig in a little further!


Change credentials using GITHUB_USER env var

The problem I'm trying to solve:
Changing credentials by setting the GITHUB_USER environment variable.
How I imagine hub could expose this functionality:
If I have ~/.config/hub filled with this:
github.com:
- user: bentinata
  oauth_token: 8d95386c5bd67844cac087ce5b5927728d11187f
- user: bentinatabot
  oauth_token: 9b647d0f869487781b5de8fe122b2916142b70ec

Using GITHUB_USER=bentinatabot hub create or GITHUB_USER=bentinatabot hub api would run the command using bentinatabot token and username.

Hi, support for multiple accounts was requested before, so I'm going to close this as duplicate.  Thank you! https://github.com/github/hub/issues/1934 https://github.com/github/hub/issues/1300

Thanks. Sorry if I'm opening a new issue.


Unable to send body with a DELETE request

Consider the following template which is used to delete an entity from DB.
- test:
    - group: "Basic Test"
    - name: "Delete <IP_ADDRESS>"
    - url: "/v1/switch"
    - method: 'DELETE'
    - expected_status: [200]
    - body: '{"ip_address": "<IP_ADDRESS>"}'
    - headers: {'Authorization': 'Basic ZGV2ZWw6WjNGSmVFTlliMUJvYlVSclVrOWhXRVp3ZDIwNFUzQktSekpzTjBnMGVYVT0=',
                'Content-Type': 'application/json'}

This doesn't work and I get the following error while decoding the body:
  Traceback (most recent call last):
  File "/home/stack/git/server/switch.py", line 1880, in delete
    request = json.loads(self.request.body)
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

From the changelogs, pyresttest supports body in delete request
1.6.0 Mon Oct 12 07:30:00 2015 -0400
BETA: support setting request body on all request types, if present
Allows (for example) DELETE methods that set a request body
Caveat: does not set length if 0

@spradeepv Hmm, it may be that the DELETE method in this case requires an explicit body size to be set.  Do you have any ideas for how to consistently test this?
I've created a PR that might fix this, but don't have a good example to test it (since few APIs will accept a DELETE request with a body).  The PR is https://github.com/svanoort/pyresttest/pull/164 -- you're welcome to give it a shot and report back if it works.

@svanoort I tried the fix, but I still face the same issue.

@svanoort The following code fixed the issue:
elif self.method == u'DELETE':
            curl.setopt(curl.CUSTOMREQUEST, 'DELETE')
            if bod is not None:
                curl.setopt(pycurl.POSTFIELDS, bod)
                curl.setopt(pycurl.POSTFIELDSIZE, len(bod))

@spradeepv Thank you for your contribution and for testing this out.  This is a great example of the challenges working with the LibCurl APIs (in this case, there's no way to tell whether the custom request should use POST semantics or PUT semantics).

I had been stuck for almost 3 days with this issue, until I decided to file a bug. Yes it is challenging working with these APIs. Anyways happy to have contributed to pyresttest. It is a great REST API testing framework. Hope to contribute more to this repository!!

@spradeepv You're very welcome, and so was your contribution here (and for the other user's question).  I'm glad you're finding PyRestTest helpful (and keep an eye out, there are some major enhancements planned in the upcoming 1.8 milestone (some will probably move to 1.9, depending on what obstacles come up as well).

svanoort https://github.com/svanoort I have some questions regarding
using pyresttest with jenkins.

I know we can capture logs, but can we redirect logs to a specific
file format (like .htm/.xhtml)
I had looked into https://github.com/svanoort/pyresttest/issues/43 When
can we expect this to be completed? I am willing to contribute too, if you
need help.
Is there a way to disable a test? If not, can we introduce one?

Regards,
Pradeep. S
On Thu, 3 Mar 2016 at 19:56 Sam Van Oort<EMAIL_ADDRESS>wrote:

@spradeepv https://github.com/spradeepv You're very welcome, and so was
your contribution here (and for the other user's question). I'm glad you're
finding PyRestTest helpful (and keep an eye out, there are some major
enhancements https://github.com/svanoort/pyresttest/issues/163 planned
in the upcoming 1.8 milestone
https://github.com/svanoort/pyresttest/milestones/1.8.0 Parsing+Scoping Enhancements
(some will probably move to 1.9, depending on what obstacles come up as
well).
—
Reply to this email directly or view it on GitHub
https://github.com/svanoort/pyresttest/issues/162#issuecomment-191783323
.

@spradeepv ,

I know we can capture logs, but can we redirect logs to a specific
file format (like .htm/.xhtml)

No, this would be the same thing as the xUnit output (or an extension of it).

When can we expect this to be completed?

This is a deceptively large/complex feature, and it is tentatively planned for the next release (v1.8.0). It might hit the master branch sooner, in a rough state. You can see the current list of fixes & enhancements planned for this release in the milestone.
Currently, xUnit output and improved variable (https://github.com/svanoort/pyresttest/issues/101) use are tied for most-requested features.   Both are very large features and require rewriting some of the framework internals, so it's likely that only one will make it into the release unless I get a lot of community help on smaller items.  xUnit has actually been bumped up to finish sooner, because I found a way to implement it without requiring as much effort.

I am willing to contribute too, if you need help.

Absolutely!  The best way to help with this to help free up time I'm spending answering questions/issues, writing documentation, and implementing small features so that I can focus on the bigger tasks.  In particular, any issue marked "help wanted' is something I'd welcome a community PR for.  In particular, https://github.com/svanoort/pyresttest/issues/100 really needs some work and would be easy for somebody to take on; this would reduce the number of questions tremendously if done right.
The xUnit feature itself depends on a moderately complex refactoring of the test execution logic (moving it into the test/benchmark classes and using callbacks to do logging).  See https://github.com/svanoort/pyresttest/issues/163 item A1 for details of that.  As it stands, I expect some issues with the inter-module dependencies (and testing), but just finished the 1.7.x release last weekend and haven't had time to dig further yet.

Is there a way to disable a test? If not, can we introduce one?

Well, you can always comment out the appropriate sections of the YAML.  It's something to consider down the road, but would probably have to be part of the 1.9.0 or 2.0.0 milestone  because to do it in a useful way (reporting skipped tests, not just pass/fail) would make more sense once the logging and config parsing allow it (1.8/1.9).
By the way, if you'd like to discuss overall project plans, I'd like to ask that this be done in either the Gitter channel (link on the main README) or in the issues for the features in question (it's hard to track discussions in closed issues).
Regards,
Sam


evaluation code

Hi,  thanks for your great work.
could you please share your evaluation code?

Part of the evaluation code are avaliable: https://github.com/NathanUA/Binary-Segmentation-Evaluation-Tool

On Jun 22, 2020, at 9:16 PM, sjf18<EMAIL_ADDRESS>wrote:
Hi, thanks for your great work.
could you please share your evaluation code?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/NathanUA/U-2-Net/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORJMJ2NFGKO4KQ2NW6TRYANCVANCNFSM4OFHVHPA.


grafana: update pd metrics

Please do not merge until pingcap/pd#1014 is merged

LGTM. PTAL @LinuxGit


Stochastic stage-2 coil optimization

It would be great to have the capability fully within simsopt to do the stage-2 problem (vary coil shapes to minimize \int (B dot n)^2 dS + regularization terms for a fixed target plasma boundary) with derivative-based stochastic optimization. No code can do this now, and this would basically combine the best features of FOCUS, DONSET, and pyPlasmaOpt. We basically have all the pieces for this, though some are now in pyPlasmaOpt. In practice, stellarator facility design activities these days use the 2-stage approach. So if we can demonstrate stochastic derivative-based stage-2 optimization, this would be a very useful tool for practical design.

@landreman It looks like Bindel's group has done this, stochastic optimization with gradients (https://drive.google.com/file/d/1PmGcIOF_ynTR7_KgbzzmbyGazdTbpCN7/view). But probably there are different approaches.

If I understand those slides directly, the bindel group uses the same approach as Jim Felix, that is they incorporate uncertainty in the design variables. This is nice because it's black box, but it doesn't allow for coil errors that break rotational and stellarator symmetry. It may be possible to extend their approach, I'm not sure.
For the case of perturbations that are modeled independently from the coil, we now have a first version in driver_stochastic.py of https://github.com/florianwechsung/SIMSOPT-Flux-Minimization
Requires the fw/vjp branch of SIMSOPT.

Now implemented in #160


[Feature Request]:  'Microsoft.Consumption/budgets@2021-10-01' does not support scope on resource group

Description
'Microsoft.Consumption/budgets@2021-10-01' should be able to support the creation of a budget on a resource group. Currently, it only allows the scope of subscription().

Hey @Jackmt9, thank you for your issue. Please not that I ported it over to the Public Bicep Registry repository issues and would close this feature in favor of tracking the issue there. We're currently migrating the library and Budgets was already moved :)


Add Italian language

@sprout2000
Please check and merge,
Could you please provide me the language file cmpoiled (it.pak) to etst translation in place?
Thanks.

@bovirus
Thank you for providing the locale file. I promise to incorporate it into the product in the next release.
Grazie di cuore.


How to set the distance between the two sides of this detail page?

Feature Description
Such as title！
Screenshots

In addition, how to put the cover on the right?

Feature Description
Such as title！
Screenshots

Feature Description
Such as title！
Screenshots


For media source file types, use a waterfall of fallbacks

Right now, the way we handle fallback is inconsistent. Here's what I think we should do:

If videostream supports the file type, try to use it.
If video/audio tag emits 'error', try using MediaSource directly
If video/audio tag emits another 'error' (and file is < 1GB), use blob url approach (this requires full file download, i.e. it's not streaming)

Pull out this logic into it's own function and re-use it for video and audio.
cc @jhiesey - thoughts?

That sounds reasonable to me.


Custome vision exported Onnx not working in windows ML.

I`m currently working on a project where we use the onnx model trained with costume vision on azure in order to perform offline object detection using the Windows.ML runtime. Since this Monday, our models exported from costume vision do not run in WindowsML. When bind method is called "winrt::Windows::AI::MachineLearning::LearningModelBinding" with a winrt::Windows::AI::MachineLearning::ImageFeatureValue created from the SoftwareBitmap of the camera. The bind method returns an exception with the following message: "Model variable data expects Float16[-1, 3, 416, 416]". This happens with all onnx models generated after Monday. Models generated before that work fine. Have Custom Vision changed the onnx  format that it generates?

Hello,
Sorry for causing the trouble. We have a fix and we are now working on deployment.
To work around the issue with the exported onnx files, please remove the following metadata from the model.
"Image.ColorSpaceGamma"
For the detail of the ONNX metadata, please see this document:
https://github.com/onnx/onnx/blob/master/docs/MetadataProps.md

This fix has been deployed to all datacenters.


Linux version installation issues 2.28 x86_64 not failing over to legacy.

Is your feature request related to a problem? Please describe.
Versions since 6.14 are compiled with linux-x86_64-glibc2.28.  Install/upgrade is trying to download 2.27 version giving error     on linux-x86_64-glibc2.28.
ERROR: Attribute: browser_download_url for linux-x86_64-glibc2.27.tar.xz version 6.14 not found
on installation or upgrade.
Describe the solution you'd like
Download/installation option which is Google Cloud Shell compatible.
Describe alternatives you've considered
Have upgraded to 6.13 which is most recent version that works.

Solved - I think it's a bug with the install-script.  Line 31 has 2.27 listed but there is no 2.27 release for 6.14 or 6.15 for download.
Also, if the install-gam file is edited for 2.28 there is no gam-6.15-linux-x86_64-glibc2.28 release only 2.31.
Solve by editing install-gam bash to force legacy on Cloud Shell.

I just tested and this should be solved now. Note that the glibc 2.28
builds are for arm and aarch64, not x86_64. For x86_64 there's a glibc 2.31
build and then everything else (including Cloud Shell) will use legacy.
Jay Lee
On Sun, Feb 6, 2022 at 8:32 AM charlielove @.***> wrote:

Solved - I think it's a bug with the install-script. Line 31 has 2.27
listed but there is no 2.27 release for 6.14 or 6.15 for download.
Also, if the install-gam file is edited for 2.28 there is no
gam-6.15-linux-x86_64-glibc2.28 release only 2.31.
Solve by editing install-gam bash to force legacy on Cloud Shell.
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/GAM/issues/1477#issuecomment-1030833369, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDIZMBHIIEA7XDCK6RWGPTUZZZ7FANCNFSM5NVKBADA
.
You are receiving this because you were assigned.Message ID:
@.***>


Fix evm tx history crash

Fix crash when there is no function saved for the contract call
#8693ag0ax

Task linked: CU-8693ag0ax Android. Crash for SAMA tx history


Improve WalkMode usage

Provide an error callback so that we can recover from permissions errors (skip the offending item)
Change workspace ignore patterns to ignore the directories themselves, rather than directories/files inside the ignored files
Document our current symlink behavior in directory walks

Fixes #997

I suspect this change causes https://github.com/vercel/turborepo/issues/1143


Add onion model deribit

A few questions here:
is there a list of the full set of metadata options I could look at?
I think I'd rather it say "translated by: computer" or whatever and "edited by" for whoever formats and cleans up the generated translation. What do you think?

So the first commit is your standard awesome stuff.
The second commit causes some issues:

Transcripción De: no longer works...

By making the headers h5s instead of h3s you lose the index, which I think is quite useful:

vs.

ping @jurraca

yo @adamjonas so sorry for dropping this.
Regarding the "Transcripcion de", I believe it pulls from the "Transcript By" field, but in this case since it's a published article I think it's correct to be empty.

thanks @kouloumos ! fixed. What do you want to do about the tags?

thanks @kouloumos ! fixed. What do you want to do about the tags?

I don't have a strong opinion on that, but I supposed that if the translation is used by a native speaker, that's the one that we should use. In this case "cartera" not "wallet", "seguridad" not "security" but it will be the same in the case of "miniscript", "taproot" etc.
Probably you and @BlueeeMoon have a better perspective on that. What do you think?
In any case we should decide a stance to follow for all future translations.

I'd be a NACK for adding this to the repo. Up until now we've generally avoided adding articles to this repo in English or other languages. I'd be happy to make exceptions in extreme cases where the information is unique, historical and highly technical but I don't think this article (reading the English version) fits that criteria.

That makes sense, and I agree that it would make sense to keep this repo for transcripts only. For context this came from translating the Chaincode seminar material.

I get Michael's view and after a bit of though I kind of agree with him. I understand the initial sentiment of adding the translations here but they would probably fit better in another medium (Medium or as supported translation on authors page).
Saying that, a number of jurraca's articles translations have already been included, and although I think that this one is less technical than the rest, the question still remains, what are we gonna do with those? Do we remove them? Or keep them and also include this one as another one is not such a big deal? A few more pages is definitely not a big deal but it would be good to set the bar for contributions.
I would also consider having those on a separate branch as a point of reference until they find a better home.

@kouloumos: I don't think it is a big deal if we have a small number of stray articles in the misc directory that maybe shouldn't be there. Maybe keep the ones already merged, not merge this PR and hopefully going forward there is a bit more clarity for future PRs that are opened? We have to draw the line somewhere and it is inevitably going to be a bit hazy.

Sounds good and hopefully this kind of conversations add a bit of clarity for future contributors.


Add position control mode

This PR adds to the control board plugin the implementation of IPositionControl
This control mode uses a trajectory generator to interpolate between subsequent position references, with multiple possible options (at the moment they are trapezoidal velocity profile, minimum jerk trajectory, constant velocity).
Closes #83

I have squashed minor commits maintaining only the main ones. Merging.


Can't join a room with room membership access over federation

Trying to join a room with access set to space members over federation results in:
MatrixError: [403] Answer from example.com: [403 / M_FORBIDDEN] M_FORBIDDEN: Event is not authorized.
Steps to reproduce:

Create a space
Create a room under that space with Visible to space members
Invite a user on another homeserver to the space
Attempt to join the room from the other homeserver

Doing this with 2 accounts on a single homeserver seems to work fine.

Yeah this happens to me. If one add another space hosted on Synapse to the access list, others can join.

Yeah this happens to me. If one add another space hosted on Synapse to the access list, others can join.

What do you mean by this? This is very vague.
What does "add another space hosted on Synapse" imply? What's a "space" in this context? A room?
Does that mean join another room from the remote server running Synapse to a user on the Conduwuit server (local)?

No, I mean that a remote server (only tried Synapse) cannot join a room which is hosted on conduwuit and is restricted to a space on conduwuit.
Upon adding a space hosted on Synapse to the allow list, other servers’ users can join.
This is very weird and discovered when I host some bridges for the Arch community.
--
Sincerely,
Kimiblock

Is this still an issue?

Yup, same error on 16014e1.


[Bug] Startup node skips first slide when advancing

https://github.com/rcaferati/react-awesome-slider/blob/master/src/core/index.js#L84
This seems to be due to index going from null to 1 (instead of going to 0).
Workaround is to have an useless slide element as the first slide, but then you can still navigate back into it 😦
I assumed it's a bug, correct me if I'm wrong

https://codesandbox.io/s/lingering-dream-vein7

Hey @UriellViana, all fixed on v2.0.0. Thank you 🙌🏻


Display more then 20 DataFrame rows in Kotlin Jupyter

When using take(n), takeLast(n) or head(n) with values n > 20, rows larger than 20 will always be truncated.
Displayed tables are showing a limit of 20 rows with the note ... only showing top 20 of 25 rows.
Is it possible to configure this library to display more than 20 rows in Kotlin Jupyter?

Fixed in aforementioned PR. Usage:
data class Person(val age: Int, val name: String)
val df = (1..70).map { Person(it, "A".repeat(it)) }.toDataFrameByProperties()

dataFrameConfig.display.rowsLimit = 50
df


chore(deps): update common-dev-assets digest to ca7df58

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
0a4ea52 -> ca7df58

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.31.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Guide doesn't use the configured exchange/routing key

https://stackoverflow.com/questions/49304107/how-to-identify-the-exchange-to-which-the-message-is-routed-to-in-spring-boot-ra/49304417#comment85708903_49304417
The Runner sends the message to the default exchange ("") with the queue name as the routing key
rabbitTemplate.convertAndSend(Application.queueName, "Hello from RabbitMQ!");

It would be better to send to the explicit exchange and use some other routing key to bind the queue.
rabbitTemplate.convertAndSend("spring-boot-exchange", "some.routing.key", "Hello from RabbitMQ!");

Since the exchange is a topic exchange, it can use a binding like some.routing.#.
Or, drop the exchange/binding from the config if we want the "simplest" GSG.

Fixed by https://github.com/spring-guides/gs-messaging-rabbitmq/pull/17


Allow selectively enabling friendly-snippets frameworks

friendly-snippets also provides snippets for specific frameworks, which can be annoying at times if you're not working with those frameworks - especially the relm-* snippets in rust that are often a page long (which is pretty disruptive with ghost text enabled). friendly-snippets' README notes that framework snippets are "handled by your snippet engine and have nothing to do with this snippets collection".
If possible, I'd like to be able to control which frameworks are loaded from friendly-snippets. I was thinking that the config could be changed into something like
friendly_snippets = {
  enabled = true,
  enabled_frameworks = { "django" }
}

with frameworks being opt-in.
Of course, it might be a better solution to support more general filtering of snippets, for instance by having a user-defined function for filtering snippet files based on their path. That would also solve the aforementioned framework issue.
What are your thoughts on this? If you'd like, I'd be happy to write a PR implementing either solution.

Sorry to chime in, but are framework snippets enabled by default? when im using php, phpdoc snippets are not showing, on the completion menu..


shoop fails without error message

I have two basically identically-setup laptops here and for some reason ssh keeps failing after a few gigabytes of data. I want to try shoop and installed it on both devices but when I try to transfer any file in either direction I am only asked to give the password (for the ssh connection) two times and then shoop immediately exits with code 1 without creating the file locally.
How do I debug this? --debug only shows  - establishing SSH session....

Interesting, it sounds like shoop needs some more useful debug output...
On Fri, Aug 24, 2018, at 11:46 PM, Jan-Oliver Kaiser wrote:

I have two basically identically-setup laptops here and for some
reason ssh keeps failing after a few gigabytes of data. I want to try
shoop and installed it on both devices but when I try to transfer any
file in either direction I am only asked to give the password (for the
ssh connection) two times and then shoop immediately exits with code 1
without creating the file locally.> How do I debug this? --debug only shows - establishing SSH session....> — You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub[1], or mute the
thread[2].

Links:

https://github.com/mcginty/shoop/issues/38
https://github.com/notifications/unsubscribe-auth/AAW0PyKsUL-pG59qCV-gL7VVjV6I4iw1ks5uUB_ggaJpZM4WLlOq

Sorry for taking so long on this, I'm traveling so please bear with me.

shoop exits immediately with - establishing SSH session...
Any idea?

I'll push a version with more debug output for now, but this tool really needs to be rewritten at this point. This was one of my first Rust projects and it's about time it was redone using more modern Rust libraries.


Admin page constantly redirects back to admin login.

Describe the bug
When attempting to login to the admin page, the admin login loops back to the admin login, no matter how many time attempts are made.
(a clear and concise description of what the bug is.)
To Reproduce
Steps to reproduce the behavior:

Go to the admin login page 'admin123'
Fill in all the login details
Click 'Login'
Then get redirected back to the admin login.
Rinse and repeat several times.

Expected Behavior
When logging in to the admin panel, it's supposed to continue to the admin portal.
(a clear and concise description of what you expected to happen.)
Screenshots / Screencasts
(if applicable, add screenshots or screencast the scenario to help explain your issue the best you can.)

I have the same issue with a new installation.
Login in to Admin and the page refreshes back to admin.
No login.

I guess it still hasn't been fixed, and it's at version 17.9.1.  I tested it on a Linux Server running the latest versions of:- Apache, MySQL, and PHP 8.2, still redirects back to the admin login, so I even tried it on XAMPP, and WAMPServer still the same result, I even tried it on AbyssWebserver, and still no go, I even tried it on a friends Windows Server, nope still redirects back to the admin login.

are you using http or https?
Which PHP version you using?

I tried with both http and https, same result.
On Fri, May 12, 2023 at 2:38 PM 2dned @.***> wrote:

are you using http or https?
Which PHP version you using?
—
Reply to this email directly, view it on GitHub
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/1088#issuecomment-1546332521,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLA7XFZ6PIYNDTTAALZLDTXF2UUFANCNFSM6AAAAAAUEUT22Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Virus-free. www.avast.com (
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link
)


Confidence Score

Hi,
Is there any way we can get the confidence score of each step of the retrosynthesis?
Do i have to change something in the config file/ parameters that i'm passing in?
This is the code that i'm currently using:
finder = AiZynthFinder(configfile=config_filename)
finder.stock.select("zinc")
finder.expansion_policy.select("uspto")
finder.filter_policy.select("uspto")
finder.target_smiles = smiles
finder.tree_search()
finder.build_routes()
stats = finder.extract_statistics()
status = stats['is_solved']
result_dict = finder.routes.dict_with_extra(include_metadata=True,
                                            include_scores=True)

This is my config file:
expansion:
  uspto:
    - aizynthfinder/models/uspto_model.onnx
    - aizynthfinder/models/uspto_templates.csv.gz
  ringbreaker:
    - aizynthfinder/models/uspto_ringbreaker_model.onnx
    - aizynthfinder/models/uspto_ringbreaker_templates.csv.gz
filter:
  uspto: aizynthfinder/models/uspto_filter_model.onnx
stock:
  zinc: aizynthfinder/models/zinc_stock.hdf5

Thanks in advance

Hello,
Could you be so kind and specify what you mean with confidence score?
I don't believe this is something that comes of out the template-based model. This is a "simple" multiclass classifier that returns a score for each template in the model.

Hi @SGenheden
Thank you for your reply,
what i mean by confidence score is the probability score of the selected class, as far as my knowledge goes, I am able to obtain a state-score for the entire pathway. It would be great if I could get some help in obtaining the state-score for each step in the pathway

Thanks for the clarification.
For each reaction in the route, there is a dictionary with metadata, and this has an item called policy_probability that holds the probability from the multiclass classifier. This should be returned by the dict_with_extra you are using.


Disable CGO, fixes macOS build

The package github.com/rjeczalik/notify is referenced indirectly via
github.com/pulumi/pulumi/pkg/v3 and uses CGO on macOS by default.
Disable this behavior by setting CGO_ENABLED=0

I need to do additional debugging here, CGO_ENABLED should be 0 but the notify package is failing to build as if it wasn't. I'll open a new PR with a fix I'm more confident in.


Feat: default enable the multicluster feature

Signed-off-by: barnettZQG<EMAIL_ADDRESS>Multiple clusters is supported by default. You can disable this feature if it is not required in special scenarios.

[x] Read and followed KubeVela's contribution process.
[x] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[x] Added backport release-x.y labels to auto-backport this PR if necessary.

Duplicated with #2930


Flatten examples directory

I think the examples would be a bit easier to navigate if we flatten the directory structure a bit more.

Should we close this?

I think navigation is much easier, and if the number of issues seems too noisy then I'm fine with closing, but I think there's a few things we can still move:
We could probably move a few more things into src, like:

examples/hybrid/staggered_nonhydrostatic_model.jl
Some of, or all of examples/hybrid/TurbulenceConvectionUtils.jl after #1327 and #1311 are merged.
examples/hybrid/callbacks.jl
Some of examples/hybrid/types.jl, but might be nicer/clearer after #1311

probably not the highest of priorities, though.

Thanks! We can keep it open then, I’m just closing issues that are not relevant anymore.

Superseded by #1383


Fix #988, add casts on printf calls

Describe the contribution
Cast fixed width types to the type used in the printf call.
Fixes #988
Testing performed
Build and sanity test on RTEMS target
Expected behavior changes
No warnings related to printf
System(s) tested on
Ubuntu 20.04 host for i686-rtems4.11 target
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Suggest fast track on this one - the issue causes the current "main" to not build - and the fix is simple enough.


OOM exception

when loading a (large) image from a path this exception is thrown.
Failed to load bitmap - OutOfMemoryError
java.lang.OutOfMemoryError: Failed to allocate a 24385548 byte allocation with 1477232 free bytes and 1442KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:635)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:611)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:391)
at com.davemorrissey.labs.subscaleview.decoder.SkiaImageDecoder.decode(SkiaImageDecoder.java:61)
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$BitmapLoadTask.doInBackground(SubsamplingScaleImageView.java:1576)
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$BitmapLoadTask.doInBackground(SubsamplingScaleImageView.java:1551)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
the image then actually loads but when backpressing the app force closes.
it happends when i try to call: mImageView.setImage(ImageSource.uri(mImage.getPath()));
my xml is:
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent" />

Please check through closed OOME issues, there may be a solution in one of them.
One possibility is BitmapFactory can decode the image but BitmapRegionDecoder cannot read its bounds correctly. Please attach the image.

i already did but sadly i could not find a solution in one of them.
the error accures on more then one image and its actually happening frequently.
the BitmapRegionDecor also throws a error here and there but this is actually not really noticable.
also i know this doesnt belong in this issue but before posting a new one i would like to ask if there is a reason for a different imagesizes between the subsamplingimageview and the android imageview?
thank you for your time

What do you mean by different image sizes?

That's just the default behaviour. You can change it if you want, see the wiki. The view wasn't really intended for displaying small images.

o oke thank you


Load symbols  on demand?

Currently, the generated wrapper loads all the symbols from libxxx.so at
import. It could consume a lot of memory at import even if we only use a few
symbols from the library.

Would it be possible to import the symbols on demand.

Something like:

class ModuleName:
    def __init__(self):
        self.__symbols = {
            'sym1': None,
            'sym2': None,
        }
        self.__symbol_info = {
            'sym1': (libobj, retype, argtypes),
            'sym1': (libobj, retype, argtypes),
        }

    def __get__(self, name):
        if name not in self.__symbols:
            raise SomeError
        obj = self.__symbols[name]
        if obj is None:
            obj = self.load_symbols(name)
            self.__symbbols[name] = obj
        return obj

Maybe make the __symbols and __symbol_info into global variables.

Then we can:

    from ModuleName import ModuleName
    ModuleName.sym1(blah, blah)

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 21 May 2011 at 6:30

It looks like Tim's approach would work pretty well for functions--not so much for variables.

I'm not in favor of adding complexity to the normal "happy" path of an already complex process without a pressing need. The original requestor information was lost. Please reopen if you see this as important.


resolving issue #221

reworked on #221, this should be a cleaner version now. ready for revising

Thanks @shajoezhu, this is great! There's one small issue above, but I'm +1 after that. There's a few things outstanding that I think we should follow up with issues and subsequent PRs (for example, we should add a unitest like assertAlmostEqual for float comparisons), but we should try to merge this much first.
@dcolligan and @macieksmuga, can you review this also please?

I've added a couple of issues following up on these points @dcolligan --- it's not that I'm intent on merging, it's just that these are big issues that need to be dealt with properly, and @shajoezhu's PR is going to get very big if we try to tackle them all here.

+1 modulo fixing a couple of minor line comments above. Thank you @shajoezhu!

Let's also clean up all the GA parts throughout all of the server code, since that does not exist anymore in the schemas.
Thanks,
~p

@pgrosu @shajoezhu We need to keep the GA prefix for now, as it's part of the v0.5.1 spec, that we're developing this server version against. I'm removing it in the experimental 0.6a branch I'm working on, however.

That makes sense and sounds reasonable Maciek.
Thanks,
Paul

hi @dcolligan and @macieksmuga , I was wondering could you guys help to take another revise of this PR. I have done some work on issue 269. was hoping to submit another PR after merging this one. Thank you very much!
Joe

Thanks for the updates @shajoezhu. Can you squash the commits down so this is ready to merge please? The builds are failing because of another issue (see #278 and #277), and hopefully this will be worked around soon.

Great, thanks @shajoezhu! @dcolligan, can you check this out and merge if you're happy? There's a bunch of issues I want to make based on this, so it would be good to get it merged.


Simple Transform

Appsettings.json - basic route (Transform from documentation)
Adding a Transform section, expecting to see that the QueryString parameter is added.
It's not being added, I understand for documentation it can be added via code or config.
Is there something missing from setup?
Incoming: http://IncomingHost:5000/mysite
Expecting Yarp: http://IncomingHost:6000/mysite&Testmin=TestminValue
Getting Yarp: http://IncomingHost:6000/mysite
  "ReverseProxy": {
    "Routes": {
      "minimumroute": {
        "ClusterId": "minimumcluster",
        "Match": {
          "Path": "/{**catch-all}"
        },
        "Transforms": [
          {
            "QueryStringParameter": "Testmin",
            "Append": "TestminValue"
          }
        ]
      }

Where's the cluster config?

Full appsettings.json.... I just included what I thought was relative to the situation.
Just want to know if the Transform section will be added to the mysite request-querystring.
{
"Urls": "http://localhost:5060;https://localhost:5061",
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.AspNetCore": "Debug"
}
},
"iisSettings": {
"windowsAuthentication": true,
"anonymousAuthentication": false
},
"AllowedHosts": "*",
"ReverseProxy": {
"Routes": {
"minimumroute": {
"ClusterId": "minimumcluster",
"Match": {
"Path": "/{**catch-all}"
},
"Transforms": [
{
"QueryStringParameter": "Testmin",
"Append": "TestminValue"
}
]
}
},
"Clusters": {
"minimumcluster": {
"Destinations": {
"realsite": {
"Address": "http://mysite-hidden"
}
}
}
}
}
}

Do you see any errors when starting the app?
Using your config, you should immediately see the following error on startup:
Unhandled exception. System.InvalidOperationException: Unable to load or apply the proxy configuration.
 ---> System.AggregateException: The proxy config is invalid. (Unknown transform: Append;QueryStringParameter)
 ---> System.ArgumentException: Unknown transform: Append;QueryStringParameter

QueryStringParameter doesn't exist. The transform is called QueryValueParameter.
Looks like one of the samples in our docs is using the wrong value, apologies for that.


"/pinject/third_party/decorator.py", line 156 exec code in evaldict

https://github.com/google/pinject/blob/80b6759a5156d057de4d427a6652b5cfc7914565/pinject/third_party/decorator.py#L156
Hi! I got an error when I tried to use pinject. I use Python 3.7.
"/usr/local/lib/python3.7/dist-packages/pinject/third_party/decorator.py", line 156
exec code in evaldict

Hi, the pinject is not supporting Python 3 yet.
However, we are working on it, hope we can make all the CI(python2 & python3, including 3.7) green soon, then we will publish the next major version.
Please stay tuned!

Thank you sir for your fast respond :) Can you tell me another solution unti you'll publish 3.X compatible version ?

I have no idea about your problem because I did not test it under Python 3.7.
However, I'd like to encourage you to have a try with https://github.com/google/pinject/pull/19, which is the WIP PR to support Python 3.
Good luck!


Fix OkLab color negation

This changes negation to effectively rotate hue by 180deg.
Previously, negation failed in certain cases and produced unexpected results.

Thanks!


chore(build): install clang-format/tidy in dockerfile, use proper ver…

Purpose
We did not installed properly clang-format and clang-tidy in docker, which were therefore not called during PR's so we merged changes into develop without proper formatting...

updated to clang version 12
updated doc/building
proper detection of clang-format and clang-tidy in cmake

For reviewers

conan with version >= 1.36 must be installed
clang-12 must be installed -> see updated doc/building

Please also build at MacOS in CircleCI, make sure that also works for Mac. Thanks!

Agree, not ewlwvant comment for any PR though. This is rather a request for @agrebin @rattrap

Don't forget to change add LLVM_VERSION here also:
RUN conan remote add -f bincrafters "https://api.bintray.com/conan/bincrafters/public-conan" && \
    conan profile new clang --detect && \
    conan profile update settings.compiler=clang clang && \
    conan profile update settings.compiler.version=10 clang && \
    conan profile update settings.compiler.libcxx=libstdc++11 clang && \
    conan profile update env.CC=clang-10 clang && \
    conan profile update env.CXX=clang++-10 clang && \
    conan install -if $BUILD_OUTPUT_DIR --build missing -s build_type=Debug -pr=clang .

done


Build on Travis-CI

FYI @tokle
Do not merge yet. Requires that 6-SNAPSHOT is not used as version for Vespa dependencies.

Sample app now builds on Travis-CI. PTAL @kkraune

Thanks!


[Product] Allow custom description for variant items in "Order Options" tab for Assay Kits

The "Product Ordering Options" block allows an author to create a custom description for an item.
This is a follow-up of issue #304.
Sample
https://main--moleculardevices--hlxsites.hlx.page/products/assay-kits/igg-quantification-assays/valitatiter#ordering-options
https://main--moleculardevices--hlxsites.hlx.page/products/assay-kits/gpcrs/catchpoint-cgmp-fluorescent-assay-kit#ordering-options
https://main--moleculardevices--hlxsites.hlx.page/products/assay-kits/igg-quantification-assays/clonedetect#ordering-options

This can't be post go-live as we need the data to be imported !


Start building a Burner in React Native

This will be the first of a few bounties for a React Native build
If you start this one and are able to get a POC working we will create new bounties as we go to make sure you are compensated for your work.
The goal is to have a React Native app that displays xdai.io in a webview, but then injects the private key from storage in the app instead of using localstorage in the browser. (more secure etc)
It would be great if we could get the native camera working too.
Some links that might help that I got from a conversation with @mikedemarais:
https://github.com/react-native-community/react-native-webview
how to render local content:
<EMAIL_ADDRESS>and then use react-native-keychain for storing Private Keys:
https://github.com/oblador/react-native-keychain/blob/master/README.md
and then use react-native-camera for the QR code scanner:
https://github.com/react-native-community/react-native-camera

@austintgriffith PR submitted by @iamonuwa ^

The funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @iamonuwa.

Closing this. Feel free to reopen if still relevant.


Update cumulus_frontend to work with new spec def

Updates cumulus_frontend plugin to work with the master of cumulus (5975bb)

@kotfic How do we test it?

@aashish24 You should be able to follow the instructions under test install here
please let me know if that VM does not provision correctly -  it is not fully tested.

should be able to follow the test install instructions here: https://github.com/OpenGeoscience/nex/tree/minerva-nex-deploy/deploy/minerva
then log into minerva and try to launch a cluster

Reviewing / testing it right now.

Forgot a step in the testing instructions actually,  after cloning you will
have to checkout minerva-nex-deploy branch!  Sorry!
On Tue, May 3, 2016 at 10:41 AM, Aashish Chaudhary<EMAIL_ADDRESS>
wrote:

Reviewing / testing it right now.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Kitware/minerva/pull/344#issuecomment-216550628

--
Christopher Kotfila
R&D Engineer
Kitware Inc.
http://www.kitware.com/company/team/kotfila.html

Bringing machine 'minerva' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
ansible provisioner:

The following settings shouldn't exist: galaxy_role_file

Not seeing this with Vagrant 1.8.1  and ansible 2.1.0.  What versions are you running?

[chaudhary@einstein minerva (minerva-nex-deploy)]$ ansible --version
ansible <IP_ADDRESS>
  config file = /home/chaudhary/tools/nex/src.git/deploy/minerva/ansible.cfg
  configured module search path = Default w/o overrides

@kotfic I couldn't find an answer on google. Should I try to bump up my version to 2.1.0. I see lot of variability with ansible (even in minor very changes) that concerns me sometime about ansible.

this is a vagrant problem,  not an ansible problem -  what version of vagrant are you running?

1.7.4

galaxy support was added in 1.8.0,  you will need to upgrade vagrant

ah.. thanks. will do.

that reminds me, can we document it somewhere (if not documented already), minimum version required for ansible and vagrant that is?

that fixed it, thanks @kotfic

This LGTM/works.
One nitpick - if you meant to remove SGE from the cluster creation then it should be removed from the provision cluster widget as well.

@kotfic almost worked for me.  Ran into the issue (please see below). Like @danlamanna I saw SGE in the launch cluster widget.
:8080/static/built/girder.app.min.js:4 400 Bad Request {"message": "Parameter 'profileId' is required.", "type": "rest"}

@aashish24 could you elaborate - what request returned the 400? @danlamanna you did not see the 400 error?

@kotfic I didn't see any 400 errors, I suspect @aashish24 needs to re-run grunt or something. After running this again, it created the clusters correctly.

@kotfic here what I have in the header:
Request URL:http://localhost:8080/api/v1/clusters
Request Method:POST
Status Code:400 Bad Request
Remote Address:<IP_ADDRESS>:8080
Response:
{"message": "Parameter 'profileId' is required.", "type": "rest"}
{master_instance_type: "t2.nano", node_instance_type: "t2.nano", node_instance_count: "1",…}
name
:
"test1"
playbook
:
"default"
profile
:
"5728c6450640fd490d0b9e40"
type
:
"ansible"

can you please delete and recreate the profile and see if that is
still the causing an issue?

Sure @kotfic one quick question. I believe that aws can give you the availability zone if you don't provide one but in the gui I have to enter one manually when creating a profile (which I queried using aws command line utils).

ansible requires an availability zone

@kotfic and I figured the initial problem. As per the install instructions, it was checkout out the wrong branch of Minerva which also missing a critical patch. @kotfic was going to update the branch and test it on local system first. I believe @danlamanna was using a dev environment and that's why didn't see this error.

@aashish24 To test this please do the following:
git clone git@github.com:OpenGeoscience/nex.git
cd nex/
git checkout minerva-nex-deploy
cd deploy/minerva/
MINERVA_VERSION=cumulus_frontend_update vagrant up

Once provisioned you should be able to create a profile and launch a cluster.  Use ami-50946030 as the AMI

okay doing it right now.

It says now error but in the logs I don't see it.
aashish [error]
Configuration
Instance Count	1
Instance Type	t2.nano
Creation Playbook	ec2
...
TASK: ec2-pod : variables | control | compute...finished.
TASK: ec2-pod : hosts spec | process...finished.
TASK: ec2-pod : instances | update lists | compute...finished.
TASK: ec2-pod : instances | terminate set | compute...finished.
TASK: ec2-pod : security group | create...finished.
TASK: ec2-pod : instances | terminate set | terminate...skipped.
TASK: ec2-pod : instances | start set | start...skipped.
TASK: ec2-pod : instances | create...finished

please inspect the celery logs inside the VM at /var/log/celeryd/worker.log
On Wed, May 4, 2016 at 11:42 AM, Aashish Chaudhary<EMAIL_ADDRESS>
wrote:

It says now error but in the logs I don't see it.
aashish [error]
Configuration
Instance Count 1
Instance Type t2.nano
Creation Playbook ec2
...
TASK: ec2-pod : variables | control | compute...finished.
TASK: ec2-pod : hosts spec | process...finished.
TASK: ec2-pod : instances | update lists | compute...finished.
TASK: ec2-pod : instances | terminate set | compute...finished.
TASK: ec2-pod : security group | create...finished.
TASK: ec2-pod : instances | terminate set | terminate...skipped.
TASK: ec2-pod : instances | start set | start...skipped.
TASK: ec2-pod : instances | create...finished
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Kitware/minerva/pull/344#issuecomment-216906643

--
Christopher Kotfila
R&D Engineer
Kitware Inc.
http://www.kitware.com/company/team/kotfila.html

I see the instances but then they are terminated.

It seems that amiID we were using from cumulus it didn't like. Please see the log below:
[2016-05-04 15:41:09,671: INFO/Worker-1] cumulus.ansible.tasks.cluster.run_ansible[f473345e-b418-4b25-a3d9-37284060d7d0]: failed: [localhost] => (item={'value': {u'count': u'1', u'image': u'ami-03de3c63', u'type': u't2.nano', 'groups': [u'572a18110640fd490dac9195']}, 'key': u'data'}) => {"failed": true, "invocation": {"module_args": {"assign_public_ip": false, "aws_access_key": "AKIAJ6HWYTBEFYR5VAKA", "aws_secret_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "count": 1, "count_tag": {"Name": "ec2_pod_572a18110640fd490dac9195_data", "ec2_pod": "572a18110640fd490dac9195", "ec2_pod_instance_name": "data"}, "ebs_optimized": false, "ec2_url": null, "exact_count": 1, "group": ["ec2_pod_572a18110640fd490dac9195"], "group_id": null, "id": null, "image": "ami-03de3c63", "instance_ids": null, "instance_profile_name": null, "instance_tags": {"Name": "ec2_pod_572a18110640fd490dac9195_data", "ec2_pod": "572a18110640fd490dac9195", "ec2_pod_instance_name": "data"}, "instance_type": "t2.nano", "kernel": null, "key_name": "572a175d0640fd490dac918b", "monitoring": false, "network_interfaces": null, "placement_group": null, "private_ip": null, "profile": null, "ramdisk": null, "region": "us-east-1", "security_token": null, "source_dest_check": true, "spot_price": null, "spot_type": "one-time", "spot_wait_timeout": 600, "state": "present", "tenancy": "default", "termination_protection": false, "user_data": null, "validate_certs": true, "volumes": [], "vpc_subnet_id": null, "wait": true, "wait_timeout": 1800, "zone": null}, "module_name": "ec2"}, "item": {"key": "data", "value": {"count": "1", "groups": ["572a18110640fd490dac9195"], "image": "ami-03de3c63", "type": "t2.nano"}}, "msg": "Instance creation failed => InvalidAMIID.NotFound: The image id '[ami-03de3c63]' does not exist"}

Please use the ami I suggested here: https://github.com/Kitware/minerva/pull/344#issuecomment-216893768,  ami-50946030

Roger that @kotfic sorry I didn't see that. How did you find that AMI?

https://cloud-images.ubuntu.com/locator/ec2/ I searched for 'us-west-2'  and 'trusty' and selected the AMI of the hvm:ebs volume type.

Sorry, same thing I believe that's because I had us-east* for zone and time. Let me change that.
[2016-05-04 15:53:14,185: INFO/Worker-1] cumulus.ansible.tasks.cluster.run_ansible[890700af-0d27-477b-b3c7-c24e61318442]: failed: [localhost] => (item={'value': {u'count': u'1', u'image': u'ami-50946030', u'type': u't2.nano', 'groups': [u'572a1ae50640fd490dac91a1']}, 'key': u'data'}) => {"failed": true, "invocation": {"module_args": {"assign_public_ip": false, "aws_access_key": "AKIAJ6HWYTBEFYR5VAKA", "aws_secret_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "count": 1, "count_tag": {"Name": "ec2_pod_572a1ae50640fd490dac91a1_data", "ec2_pod": "572a1ae50640fd490dac91a1", "ec2_pod_instance_name": "data"}, "ebs_optimized": false, "ec2_url": null, "exact_count": 1, "group": ["ec2_pod_572a1ae50640fd490dac91a1"], "group_id": null, "id": null, "image": "ami-50946030", "instance_ids": null, "instance_profile_name": null, "instance_tags": {"Name": "ec2_pod_572a1ae50640fd490dac91a1_data", "ec2_pod": "572a1ae50640fd490dac91a1", "ec2_pod_instance_name": "data"}, "instance_type": "t2.nano", "kernel": null, "key_name": "572a175d0640fd490dac918b", "monitoring": false, "network_interfaces": null, "placement_group": null, "private_ip": null, "profile": null, "ramdisk": null, "region": "us-east-1", "security_token": null, "source_dest_check": true, "spot_price": null, "spot_type": "one-time", "spot_wait_timeout": 600, "state": "present", "tenancy": "default", "termination_protection": false, "user_data": null, "validate_certs": true, "volumes": [], "vpc_subnet_id": null, "wait": true, "wait_timeout": 1800, "zone": null}, "module_name": "ec2"}, "item": {"key": "data", "value": {"count": "1", "groups": ["572a1ae50640fd490dac91a1"], "image": "ami-50946030", "type": "t2.nano"}}, "msg": "Instance creation failed => InvalidAMIID.NotFound: The image id '[ami-50946030]' does not exist"}

@kotfic no error this time but I don't see any instances. I see that UI-Wheel keeps on going but no error message on jS console. I will debug some more before I ping you again.

After doing a clean start, everything worked LGTM +2. As discussed I will file some suitability issues.


tests for reva storage driver

I noticed some exiting tests use ginkgo + gomega which looks nice.
https://itnext.io/how-to-stub-requests-to-remote-hosts-with-go-6c2c1db32bf2 looks very useful for creating a network stub

Got that working. now see what I can do with the existing acceptance tests  e.g. https://github.com/cs3org/reva/blob/master/tests/acceptance/features/apiOcisSpecific/apiMain-main.feature#L5

doing this with a nodejs stub in https://github.com/michielbdejong/reva/commit/591b3248a5f75102b3dbca30f1a2f9d16d8a29e9 now.
The storagedriver is seeing the response from https://github.com/michielbdejong/reva/commit/591b3248a5f75102b3dbca30f1a2f9d16d8a29e9#diff-50ddb55a0dd8bb38c82ffd8ba0b62151298b24b7255aab11822264204111c224R209 and throwing a CODE_INTERNAL error.
I don't see any logging while running  ginkgo -r -v tests/integration/, neither from the startRevad nor from the test code, apparently

Ah! cat  /tmp/reva-grpc-integration-tests-077683915-root/storage-out.log

I'll put the server stub into go so that it's easier to run, and also make it a flatter fixture (first call -> exactly this response, second call -> exactly this json, etc)


Lossen repository validation

Doesn't work with all git urls, eg. Bitbucket and Gitlab.
Fixes #51

Coverage remained the same at 79.825% when pulling 6d63cc54d5c046075f88705f15775709b617f1d6 on barryvdh:patch-2 into 0ebc1bb54848b99e4ab4343588f7f83685587705 on ngmy:master.


validation

I created the validation folder including:

.py file for the codes
readme.md for the process notes and findings
.png files of histograms of distance to closest official points from each OSM for each city looked at.

@thuanguy can you resolve the branch conflicts? Then I'll merge it.

@thuanguy checking back on the changes requested last week...

I did resolve the conflicts. Have you seen it resolved?
On Fri, Mar 13, 2020 at 10:46 AM Geoff Boeing<EMAIL_ADDRESS>wrote:

@thuanguy
https://urldefense.com/v3/__https://github.com/thuanguy__;!!LIr3w8kk_Xxm!93vUrLQFHiZV52xiefrtrojvux-6TWl5GiR2mce-SeILocDRfNvx-DMh5ujVJC0$
checking back on the changes requested last week...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/gboeing/global-indicators/pull/24*issuecomment-598840380__;Iw!!LIr3w8kk_Xxm!93vUrLQFHiZV52xiefrtrojvux-6TWl5GiR2mce-SeILocDRfNvx-DMhocIlHNI$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AOJHXNTEWZXKSSNUUI5AQE3RHJWNPANCNFSM4LCQDO2Q__;!!LIr3w8kk_Xxm!93vUrLQFHiZV52xiefrtrojvux-6TWl5GiR2mce-SeILocDRfNvx-DMhwrSqCdM$
.

Not the conflicts, the changes requested in the GitHub review... if you've resolved those you need to mark them resolved above.

I see. I did mark then resolved.

@thuanguy did you close this pull request?


Pagination when the endpoint is not standard.

I am using your ember-infinty addon in my ember app.The problem I am facing is that my pagination endpoint in the backend is not standard.
Pagination api
http://example.com/api/feed/?start=0&end=5;
Now I can change the value of start and end when api call and get the result.Is there a way by which I can use ember-infinity in this case.If yes please tell me how.If not tell me how to write pagination for this case ( may be a tutorial or two ).Thanks in advance.Also if I am able to do this.I am computing the feed using Ember.computed  and making some changes in feed data.So how do I recomputed the feed in controller whenever model changes ?

Something like this should work:
export default Ember.Route.extend(InfinityRoute, {
  mostRecentPage: 0,
  pagesPerFetch: 5,

  nextPageToFetch: Ember.computed('mostRecentPage', 'pagesPerFetch', function() {
    return this.get('mostRecentPage') + this.get('pagesPerFetch');
  }),

  model() {
    return this.infinityModel("post", {}, {
      start: 'mostRecentPage',
      end: 'nextPageToFetch'
    });
  },

  afterInfinityModel(posts) {
    this.set('mostRecentPage', this.get('nextPageToFetch'));
  }
});

You'll need to do some extra setting up the case when there's less that 5 pages left on the server, but that should be pretty simple!

import Ember from 'ember';
import raw from 'ic-ajax';
import InfinityRoute from "ember-infinity/mixins/route";
const { service } = Ember.inject;
export default Ember.Route.extend(InfinityRoute,{
mostRecentPage: 0,
pagesPerFetch: 5,
nextPageToFetch: Ember.computed('mostRecentPage', 'pagesPerFetch', function() {
return this.get('mostRecentPage') + this.get('pagesPerFetch');
}),
fakeSignup:service('fake-session'),
model(){
var signup = this.get('fakeSignup.isSignedUp');
if(signup === "true"){
var inflector = Ember.Inflector.inflector;
inflector.uncountable('feed');
inflector.uncountable('profile');
return Ember.RSVP.hash({
feed:this.infinityModel('feed',{}, {
start: 'mostRecentPage',
end: 'nextPageToFetch'
}),
profile:this.store.queryRecord('profile',{target:-1}),
});
}
},
afterInfinityModel(feed) {
this.set('mostRecentPage', this.get('nextPageToFetch'));
}
});
@hhff  I tried what you told above.The first made to client is
http://www.example.com/api/photos/feed/?end=5&page=1&per_page=25&start=0
Though I am getting the data from the server side.But when I scroll down just "loading infinite model" text is displayed and no  api is being called.

Hey
I tried it but it working for first call.after scroll it doesn't load any
data.I have given my code also on github issue
Thanks
Maruti
On Mon, Mar 21, 2016 at 9:04 PM, Hugh Francis<EMAIL_ADDRESS>wrote:

Something like this should work:
export default Ember.Route.extend(InfinityRoute, {
mostRecentPage: 0,
pagesPerFetch: 5,
nextPageToFetch: Ember.computed('mostRecentPage', 'pagesPerFetch', function() {
return this.get('mostRecentPage') + this.get('pagesPerFetch');
}),
model() {
return this.infinityModel("post", {}, {
start: 'mostRecentPage',
end: 'nextPageToFetch'
});
},
afterInfinityModel(posts) {
this.set('mostRecentPage', this.get('nextPageToFetch'));
}
});
You'll need to do some extra setting up the case when there's less that 5
pages left on the server, but that should be pretty simple!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/hhff/ember-infinity/issues/148#issuecomment-199343034

@nandanself your code is not formatted. Very hard to read.

@nandanself - that is most likely due to the meta object in your payload not containing information about the total pages in the set.


Small tweaks to Progress steps page

Tugboat has finished building the preview for this pull request!
Link:

https://pr167-gejzo4eespyqai7w95giq2wlspbkvltn.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/60eec75f80afb0da4e405268


implement TOTP

We need some two-factor components so lets implement TOTP.

Maybe use https://pypi.org/project/Flask-FIDO-U2F/

i think something as simple as https://github.com/pyotp/pyotp would to it. there is not real need for any special flask integration

Cool, I have a two yubikey's for testing

cool idea.

As we are moving to keycloak soon hopefully, we can enforce 2FA in Keycloak instead of implementing it in the tracker.


chore: update sm requirement to handle close while opening callback

sm_close_begin_with_cb will invoke a callback function between prohibiting all the calls and waiting for the number of executing calls to be 0. The callback function is useful in various cases, such as, when we need to cancel the ongoing operations, before we wait for the outstanding calls to finish.

we should add onto this with the motivation for the new callback you are adding

Refers to: common/devdoc/sm_requirements.md:61 in b51b725. [](commit_id = b51b725b3da81b33058244ecfeb4ddbf0b1d190a, deletion_comment = False)


Look into dynamic libraries for inserting sources and/or targets.

For the initial implementation of scrobble.rs, I'm going to use Cargo/Rust's --features flag to compile specific sources and/or targets into scrobble.rs.
However, I'd like to have a look at using dylib to insert sources and/or targets on-the-fly.

After much consideration, I think using FFI at runtime will introduce serious bugs, and make debugging difficult. The new approach is to use a RPC-based system, based around scrobctl and scrobd working together as a client/server model.


JSON schemas for Agrifood datamodels

JSON schemas for the agrifood datamodels defined at:
https://github.com/FIWARE/dataModels/blob/master/specs/AgriFood/README.md

Only one schema is being provided at this stage , I am creating the PR in order to allow you validate the  structure and avoid wasting time is not adequate

@samgh96 please follow the same approach as other schemas in this project i.e. do not try to validate against v2 or LD, just define the attributes, datatypes and values ...
you can use this as reference
https://github.com/FIWARE/dataModels/blob/master/specs/WasteManagement/WasteContainer/schema.json
/cc @fdelavega

be careful with the examples:
you need
example.json (Simplified format. Do not reference any @context)
example-normalized.json (Normalized format NGSIv2)
example-normalized-ld.jsonld (Normalized format NGSI-LD)
And also you would need to modify the validator so that the .jsonld files are not tested against the Context Broker, as currently they will fail (or add additional tests against Orion-LD, as you prefer).


Durations are not reset properly when stopped because of a grace period

Randomizable times reset the period to 0 when they can't run any more because of the grace period and the times are only reset after the random interval elapses.

Fixed in 8772d4e6e9b48d122284a75dfd1baaae7e71fe9e.


Better Discord Not Working After Computer Restart?

I normally do not restart my desktop often, but I did so tonight. After that, I was unable to utilize various emotes in Discord that I was able to prior to the restart. I uninstalled discord, reinstalled it, and did a fresh install of BD, but nothing worked. Did I perhaps do something wrong? Any guidance would be greatly appreciated!

Cheers, I am also having this issue. I even tried uninstalling and reinstalling Discord to see if a fresh install would work to fix this issue. I was using the latest release of BetterDiscord at the time my computer reset. (Using a Windows10 computer)

Just as clarification, these are BD emotes you're talking about? Not Gamewisp or any external service?

I was having trouble with BD Emotes as well as Custom CSS for themes -- my theme simply stopped working completely.

@CosignCosine Yes, it was the BD emotes. I was able to get BD to work after a lot of swearing at my desktop and threatening it.


fix rp2040-zero footprint

This moves the cutout for rp2040-zero-smd.kicad_mod out of the protected space of the pads

Other RP2040-Zero would need this as well.
Unfortunately the new version of KiCad 8.0 reformatted the whole file

Check latest commit
I checked IRL that dimension seems to work


Mouse.position's initial value is (0, 0)

The initial value of Mouse.position is (0, 0) regardless of the actual position of the mouse until it is moved. Example to reproduce: http://share-elm.com/sprout/54b129a6e4b05f9c59b24f3a
Elm version: 0.14.1

That comes from this line: https://github.com/elm-lang/core/blob/master/src/Native/Mouse.js#L14
You would have to replace the Utils.Tuple2(0,0) in there by the current mouse position at program start. However, when that line of code is run, the "page" with respect to which you want the mouse position most likely doesn't even exist yet.

In other words, this issues is unlikely to get fixed unless the runtime (in particular the way the signal graph is built and initialized, and when the actual "graphics display" is created) were restructured somewhat considerably.

I don't think it is possible to ask any browser for the mouse position, so my understanding is that this is not possible. If you can find a way to synchronously detect the mouse position in JS, we can do this. If you cannot, we should close this issue.

Aha, I see. That's a pity...

Oh, so it's even worse, there is nothing to replace the Utils.Tuple2(0,0) in the first place. Learned something.

Yeah, I was surprised when I learned this as well. I'd like to do it nicer, but given that it has been impossible for 20+ years, I don't have tons of hope :P


Calculate_market_tv, uses tv when no ladder update available

Theres an issue on some markets with a broken tv field, that calculate_market_tv doesnt work properly.
On the below market the tv field is broken, every row reports (what i think is) the final market tv of $~706. Both on the initial rows, and any row without a change in a traded_ladder this price is returned.
market file 1.167745383
import betfairlightweight
import logging

logging.basicConfig(level=logging.FATAL, format='%(levelname)s %(name)s %(message)s')

trading = betfairlightweight.APIClient("username", "password", "appkey")
listener = betfairlightweight.StreamListener(
    max_latency=None, lightweight=False, update_clk=False, output_queue=None, cumulative_runner_tv=True, calculate_market_tv=True
)

file = '1.167745383.txt' # .txt so i can upload in the

stream = trading.streaming.create_historical_generator_stream(
    file_path=file,
    listener=listener,
)
gen = stream.get_generator()

for line, market_books in enumerate(gen()):
    for market_book in market_books:
        value = "{:<6}".format(market_book.total_matched) # pad with spaces
        expected = round(sum(r.total_matched for r in market_book.runners), 2)
        print(f"{file}:{line} returned:{value} expected:{expected} ")

Output, Returned vs Expected:
1.167745383.txt:0   returned:706.73 expected:0
1.167745383.txt:1   returned:706.73 expected:0
1.167745383.txt:2   returned:706.73 expected:0
1.167745383.txt:3   returned:706.73 expected:0
1.167745383.txt:4   returned:706.73 expected:0
1.167745383.txt:5   returned:706.73 expected:0
1.167745383.txt:6   returned:706.73 expected:0
1.167745383.txt:7   returned:706.73 expected:0
1.167745383.txt:8   returned:706.73 expected:0
1.167745383.txt:9   returned:706.73 expected:0
1.167745383.txt:10  returned:706.73 expected:0
1.167745383.txt:11  returned:706.73 expected:0
1.167745383.txt:12  returned:706.73 expected:0
1.167745383.txt:13  returned:706.73 expected:0
1.167745383.txt:14  returned:706.73 expected:0
1.167745383.txt:15  returned:706.73 expected:0
1.167745383.txt:16  returned:706.73 expected:0
1.167745383.txt:17  returned:706.73 expected:0
1.167745383.txt:18  returned:706.73 expected:0
1.167745383.txt:19  returned:706.73 expected:0
1.167745383.txt:20  returned:706.73 expected:0
1.167745383.txt:21  returned:706.73 expected:0
1.167745383.txt:22  returned:706.73 expected:0
1.167745383.txt:23  returned:706.73 expected:0
1.167745383.txt:24  returned:706.73 expected:0
1.167745383.txt:25  returned:706.73 expected:0
1.167745383.txt:26  returned:706.73 expected:0
1.167745383.txt:27  returned:706.73 expected:0
1.167745383.txt:28  returned:706.73 expected:0
1.167745383.txt:29  returned:706.73 expected:0
1.167745383.txt:30  returned:706.73 expected:0
1.167745383.txt:31  returned:706.73 expected:0
1.167745383.txt:32  returned:706.73 expected:0
1.167745383.txt:33  returned:706.73 expected:0
1.167745383.txt:34  returned:706.73 expected:0
1.167745383.txt:35  returned:706.73 expected:0
1.167745383.txt:36  returned:706.73 expected:0
1.167745383.txt:37  returned:706.73 expected:0
1.167745383.txt:38  returned:706.73 expected:0
1.167745383.txt:39  returned:706.73 expected:0
1.167745383.txt:40  returned:706.73 expected:0
1.167745383.txt:41  returned:706.73 expected:0
1.167745383.txt:42  returned:706.73 expected:0
1.167745383.txt:43  returned:706.73 expected:0
1.167745383.txt:44  returned:706.73 expected:0
1.167745383.txt:45  returned:706.73 expected:0
1.167745383.txt:46  returned:706.73 expected:0
1.167745383.txt:47  returned:706.73 expected:0
1.167745383.txt:48  returned:706.73 expected:0
1.167745383.txt:49  returned:706.73 expected:0
1.167745383.txt:50  returned:706.73 expected:0
1.167745383.txt:51  returned:706.73 expected:0
1.167745383.txt:52  returned:706.73 expected:0
1.167745383.txt:53  returned:706.73 expected:0
1.167745383.txt:54  returned:706.73 expected:0
1.167745383.txt:55  returned:706.73 expected:0
1.167745383.txt:56  returned:706.73 expected:0
1.167745383.txt:57  returned:706.73 expected:0
1.167745383.txt:58  returned:706.73 expected:0
1.167745383.txt:59  returned:706.73 expected:0
1.167745383.txt:60  returned:706.73 expected:0
1.167745383.txt:61  returned:706.73 expected:0
1.167745383.txt:62  returned:706.73 expected:0
1.167745383.txt:63  returned:706.73 expected:0
1.167745383.txt:64  returned:706.73 expected:0
1.167745383.txt:65  returned:706.73 expected:0
1.167745383.txt:66  returned:706.73 expected:0
1.167745383.txt:67  returned:706.73 expected:0
1.167745383.txt:68  returned:706.73 expected:0
1.167745383.txt:69  returned:706.73 expected:0
1.167745383.txt:70  returned:706.73 expected:0
1.167745383.txt:71  returned:706.73 expected:0
1.167745383.txt:72  returned:706.73 expected:0
1.167745383.txt:73  returned:706.73 expected:0
1.167745383.txt:74  returned:706.73 expected:0
1.167745383.txt:75  returned:706.73 expected:0
1.167745383.txt:76  returned:706.73 expected:0
1.167745383.txt:77  returned:706.73 expected:0
1.167745383.txt:78  returned:706.73 expected:0
1.167745383.txt:79  returned:706.73 expected:0
1.167745383.txt:80  returned:706.73 expected:0
1.167745383.txt:81  returned:706.73 expected:0
1.167745383.txt:82  returned:706.73 expected:0
1.167745383.txt:83  returned:706.73 expected:0
1.167745383.txt:84  returned:706.73 expected:0
1.167745383.txt:85  returned:706.73 expected:0
1.167745383.txt:86  returned:706.73 expected:0
1.167745383.txt:87  returned:706.73 expected:0
1.167745383.txt:88  returned:706.73 expected:0
1.167745383.txt:89  returned:706.73 expected:0
1.167745383.txt:90  returned:706.73 expected:0
1.167745383.txt:91  returned:706.73 expected:0
1.167745383.txt:92  returned:706.73 expected:0
1.167745383.txt:93  returned:706.73 expected:0
1.167745383.txt:94  returned:706.73 expected:0
1.167745383.txt:95  returned:706.73 expected:0
1.167745383.txt:96  returned:706.73 expected:0
1.167745383.txt:97  returned:706.73 expected:0
1.167745383.txt:98  returned:706.73 expected:0
1.167745383.txt:99  returned:706.73 expected:0
1.167745383.txt:100 returned:706.73 expected:0
1.167745383.txt:101 returned:706.73 expected:0
1.167745383.txt:102 returned:706.73 expected:0
1.167745383.txt:103 returned:706.73 expected:0
1.167745383.txt:104 returned:706.73 expected:0
1.167745383.txt:105 returned:706.73 expected:0
1.167745383.txt:106 returned:706.73 expected:0
1.167745383.txt:107 returned:706.73 expected:0
1.167745383.txt:108 returned:706.73 expected:0
1.167745383.txt:109 returned:706.73 expected:0
1.167745383.txt:110 returned:706.73 expected:0
1.167745383.txt:111 returned:706.73 expected:0
1.167745383.txt:112 returned:706.73 expected:0
1.167745383.txt:113 returned:706.73 expected:0
1.167745383.txt:114 returned:706.73 expected:0
1.167745383.txt:115 returned:706.73 expected:0
1.167745383.txt:116 returned:706.73 expected:0
1.167745383.txt:117 returned:706.73 expected:0
1.167745383.txt:118 returned:706.73 expected:0
1.167745383.txt:119 returned:706.73 expected:0
1.167745383.txt:120 returned:706.73 expected:0
1.167745383.txt:121 returned:706.73 expected:0
1.167745383.txt:122 returned:706.73 expected:0
1.167745383.txt:123 returned:706.73 expected:0
1.167745383.txt:124 returned:706.73 expected:0
1.167745383.txt:125 returned:706.73 expected:0
1.167745383.txt:126 returned:706.73 expected:0
1.167745383.txt:127 returned:706.73 expected:0
1.167745383.txt:128 returned:706.73 expected:0
1.167745383.txt:129 returned:706.73 expected:0
1.167745383.txt:130 returned:706.73 expected:0
1.167745383.txt:131 returned:706.73 expected:0
1.167745383.txt:132 returned:706.73 expected:0
1.167745383.txt:133 returned:706.73 expected:0
1.167745383.txt:134 returned:706.73 expected:0
1.167745383.txt:135 returned:706.73 expected:0
1.167745383.txt:136 returned:706.73 expected:0
1.167745383.txt:137 returned:706.73 expected:0
1.167745383.txt:138 returned:706.73 expected:0
1.167745383.txt:139 returned:706.73 expected:0
1.167745383.txt:140 returned:706.73 expected:0
1.167745383.txt:141 returned:706.73 expected:0
1.167745383.txt:142 returned:40.12  expected:40.12
1.167745383.txt:143 returned:706.73 expected:40.12
1.167745383.txt:144 returned:706.73 expected:40.12
1.167745383.txt:145 returned:706.73 expected:40.12
1.167745383.txt:146 returned:706.73 expected:40.12
1.167745383.txt:147 returned:706.73 expected:40.12
1.167745383.txt:148 returned:706.73 expected:40.12
1.167745383.txt:149 returned:706.73 expected:40.12
1.167745383.txt:150 returned:706.73 expected:40.12
1.167745383.txt:151 returned:706.73 expected:40.12
1.167745383.txt:152 returned:706.73 expected:40.12
1.167745383.txt:153 returned:706.73 expected:40.12
1.167745383.txt:154 returned:706.73 expected:40.12
1.167745383.txt:155 returned:706.73 expected:40.12
1.167745383.txt:156 returned:706.73 expected:40.12
1.167745383.txt:157 returned:706.73 expected:40.12
1.167745383.txt:158 returned:706.73 expected:40.12
1.167745383.txt:159 returned:706.73 expected:40.12
1.167745383.txt:160 returned:706.73 expected:40.12
1.167745383.txt:161 returned:706.73 expected:40.12
1.167745383.txt:162 returned:706.73 expected:40.12
1.167745383.txt:163 returned:706.73 expected:40.12
1.167745383.txt:164 returned:706.73 expected:40.12
1.167745383.txt:165 returned:706.73 expected:40.12
1.167745383.txt:166 returned:706.73 expected:40.12
1.167745383.txt:167 returned:80.34  expected:80.34
1.167745383.txt:168 returned:454.8  expected:454.8
1.167745383.txt:169 returned:706.73 expected:454.8
1.167745383.txt:170 returned:495.81 expected:495.81
1.167745383.txt:171 returned:706.73 expected:495.81
1.167745383.txt:172 returned:706.73 expected:495.81
1.167745383.txt:173 returned:559.8  expected:559.8
1.167745383.txt:174 returned:619.8  expected:619.8
1.167745383.txt:175 returned:706.73 expected:619.8
1.167745383.txt:176 returned:706.73 expected:619.8
1.167745383.txt:177 returned:706.73 expected:619.8
1.167745383.txt:178 returned:695.06 expected:695.06
1.167745383.txt:179 returned:706.73 expected:695.06
1.167745383.txt:180 returned:706.73 expected:695.06
1.167745383.txt:181 returned:706.73 expected:695.06
1.167745383.txt:182 returned:706.73 expected:695.06
1.167745383.txt:183 returned:706.73 expected:695.06
1.167745383.txt:184 returned:706.73 expected:695.06
1.167745383.txt:185 returned:705.78 expected:705.78
1.167745383.txt:186 returned:706.73 expected:705.78
1.167745383.txt:187 returned:706.73 expected:705.78
1.167745383.txt:188 returned:706.73 expected:705.78
1.167745383.txt:189 returned:706.73 expected:705.78
1.167745383.txt:190 returned:706.73 expected:705.78
1.167745383.txt:191 returned:706.73 expected:705.78
1.167745383.txt:192 returned:706.73 expected:705.78
1.167745383.txt:193 returned:706.73 expected:705.78
1.167745383.txt:194 returned:706.73 expected:705.78
1.167745383.txt:195 returned:706.73 expected:705.78
1.167745383.txt:196 returned:706.73 expected:705.78
1.167745383.txt:197 returned:706.73 expected:705.78
1.167745383.txt:198 returned:706.73 expected:705.78
1.167745383.txt:199 returned:706.73 expected:705.78
1.167745383.txt:200 returned:706.73 expected:705.78
1.167745383.txt:201 returned:706.73 expected:705.78
1.167745383.txt:202 returned:706.73 expected:705.78
1.167745383.txt:203 returned:706.73 expected:705.78
1.167745383.txt:204 returned:706.48 expected:706.48
1.167745383.txt:205 returned:706.73 expected:706.48
1.167745383.txt:206 returned:706.68 expected:706.68
1.167745383.txt:207 returned:706.73 expected:706.68
1.167745383.txt:208 returned:706.73 expected:706.68
1.167745383.txt:209 returned:706.73 expected:706.68
1.167745383.txt:210 returned:706.73 expected:706.68
1.167745383.txt:211 returned:706.73 expected:706.68
1.167745383.txt:212 returned:706.73 expected:706.68
1.167745383.txt:213 returned:706.73 expected:706.68
1.167745383.txt:214 returned:706.73 expected:706.68
1.167745383.txt:215 returned:706.73 expected:706.68
1.167745383.txt:216 returned:706.73 expected:706.68
1.167745383.txt:217 returned:706.72 expected:706.72

I can sort of see why this is happening but I am confused as to why, what is this data?

Just a market from the historic data site "other sports". Found it when validating my bflw-compat version.
I know it only happens because of the flaw in the data, but it looks pretty easy to guard against by not reading the tv value if calculate_market_tv is true?

Do you know the type? Pro? Advanced?

Pro

Should now be fixed, thanks for raising


Adding linux/arm64 image build

What does this PR do?

adding linux/arm64 image build support, together with amd/64 image build

What ticket does this PR close?

no ticket is related afaik

Checklists
Change log

[X] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code changes, or
[X] The changes in this PR do not require tests

Documentation

[ ] This PR does not require updating any documentation, or
[X ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs
arm64.md is added

@quincycheng do you have a ticket filed for this and cyberark/conjur#1971? I think it would be really useful in this case to have an issue that describes the motivation and use case for this change. I want to consider how we want to document it so that it doesn't become code that exists and is potentially broken as we maintain this project, and so that people with a similar use case to yours have a way to find this resource, even if we don't plan to publish these images publicly right now. Can you please file an issue (probably in the Conjur project) that describes what the use case for these images is? We can use that issue to help understand what the requirements for these PRs are, and make sure that we add supporting code to these projects that will remain usable in the long run.
Thanks, and please feel free to get in touch directly if you have any questions.

@quincycheng do you have a ticket filed for this and cyberark/conjur#1971? I think it would be really useful in this case to have an issue that describes the motivation and use case for this change. I want to consider how we want to document it so that it doesn't become code that exists and is potentially broken as we maintain this project, and so that people with a similar use case to yours have a way to find this resource, even if we don't plan to publish these images publicly right now. Can you please file an issue (probably in the Conjur project) that describes what the use case for these images is? We can use that issue to help understand what the requirements for these PRs are, and make sure that we add supporting code to these projects that will remain usable in the long run.
Thanks, and please feel free to get in touch directly if you have any questions.

Sure, issue https://github.com/cyberark/conjur/issues/1988 created

@quincycheng do you have a ticket filed for this and cyberark/conjur#1971? I think it would be really useful in this case to have an issue that describes the motivation and use case for this change. I want to consider how we want to document it so that it doesn't become code that exists and is potentially broken as we maintain this project, and so that people with a similar use case to yours have a way to find this resource, even if we don't plan to publish these images publicly right now. Can you please file an issue (probably in the Conjur project) that describes what the use case for these images is? We can use that issue to help understand what the requirements for these PRs are, and make sure that we add supporting code to these projects that will remain usable in the long run.
Thanks, and please feel free to get in touch directly if you have any questions.

Sure, issue https://github.com/cyberark/conjur/issues/1988 created


Update client4:core, client4:upickle to 4.0.0-M6

About this PR
📦 Updates

com.softwaremill.sttp.client4:core
com.softwaremill.sttp.client4:upickle

from 4.0.0-M4 to 4.0.0-M6
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client4" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.client4" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, version-scheme:early-semver, commit-count:1

I am closing this pull request, the changes were moved to https://github.com/softwaremill/sttp-openai/pull/123


ex4_2_cnn_cifar10_cl 실행하니 you forgot to call super(YourClass, self).init() 에러가 납니다.

ex4_2_cnn_cifar10_cl 실행하니 아래와 같은 에러가 납니다.
도와주세요.
 Always start with this line.

Process finished with exit code 1

같은 에러가 발생합니다

이 코드에 에러가 너무 많아서 고치느라 고생했네요 ㅠㅠ
# aicnn.py에서
from . import skeras
from . import sfile

를
import keraspp.skeras as skeras
import keraspp.sfile as sfile

이렇게 고쳤고,
class CNN(Model) 안에서 사용되는 model 변수(상속받은 keras의 대문자 Model아님 주의)를 전부 self로 바꿔줬더니 정상적으로 돌아갑니다.


[Languages] A look at pair plotting in Python

Proposed title of article
A look at pair plotting in Python
Proposed article introduction
In this article, we'll learn about Seaborn Pairplot using the Python programming language's pairplot() function. This feature can significantly aid in the analysis of exploratory data for machine learning applications. We'll also look at the syntax of the seaborn library's pairplot() method and run through various examples.
We will also get to understand some libraries such as seaborn and their implementation in real life situations. Apart from that, we will get to deeply understand what is pair plot function and also how it works.
Key takeaways

Installing seaborn library
Seaborn pairplot function
Seaborn library in python

Article quality
Producing an original and unique content is what  I am focusing
References
N/A

Thank you for the topic suggestion , however this is a bit outside of our preferred topic areas.
We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternate topic to explore. 🚀


I want to add some other things, but I will make an error when recompiling

I will run the build. sh and introduce the generated  jsmpeg.js , which will prompt this error

I will run the build. sh and introduce the generated  jsmpeg.js , which will prompt this error

[ ] - >


Frontend : Text Manipulation (CSS)

I would like to provide detailed documentation for this topic, it will include:
->Text Color
->Text Alignment
->Text Decoration
->Text Transformation
->Text Spacing
->Text Shadow
Please assign this issue to me.

I want to make audio content on this, May I ?
Lavleen Agrawal (Batch 18 - Frontend)

/assign


Issue Template Updates for Figma link

Current Behavior
The project's current issue templates are missing an open invitation link where new contributors can join the community's Figma team and view user interface designs and other UX projects.
Desired Situation
Each template that has a reference to Figma in its resources section should an invite link added.
Implementation
- 🎨 Wireframes and [designs for Layer5 site](https://www.figma.com/file/5ZwEkSJwUPitURD59YHMEN/Layer5-Designs) in Figma [(open invite)](https://www.figma.com/team_invite/redeem/qJy1c95qirjgWQODApilR9)

Acceptance Tests
All references to Figma include the "open invite" link.

Resources

Alternatives / Additional Context

I can fix this issue.

Can u assign me? @thisiskaransgit

I want to work on it @thisiskaransgit . Can u assign me?

You can assign this to me. I can fix this issue.

There you go , @rj2704


Changing environment isn't reflected in training

Start image scenario (only local and azure scenario)
Train on azure
Try to train locally. Azure training will start again.

This is a dupe of https://github.com/dotnet/machinelearning-modelbuilder/issues/668


wand.exceptions.WandError gets overwritten

In exceptions.py you have an entry in the domain map:
 ('Wand', 'There was a problem specific to the MagickWand API.', (),
     [370, 470, 770]),

This creates a "WandError" that overwrites the base class WandError.  So this doesn't work:
import wand.exceptions

try:
  raise wand.exceptions.CoderError
except wand.exceptions.WandError:
 pass

Just got bit by this too and wasted some time trying to figure out why I couldn't catch an exception.
If the fix is in and we can get the memory fixed in #300, can we do a release?


Hİ, please help me with Turkish Liras

Unsupported ISO 4217 currency code: try (API 16)

I waiting for this.Turkish locale Unsupported

Turkish locale works in v2.0 of the library (at least on my device running API 24). I don't have an easy way to test API 16 right this moment but give it a try.


.push statement

I sometimes forget to pop what I pushed... why not let the assembler do it.
From:
push {r4-r6}
...
pop {r4-r6}

to:
.push {r4-r6}
  ...
.pop // automatically pop {r4-r6}

Another variation of this feature...
sub sp, #value
...
add sp, #value

to:
.subsp value
  ...
.addsp

Maybe just a .defer would be better?
.begin
  push {r4-r6}
  .defer pop {r4-r6}
  ...
.end // -> defers happen in reverse order

eh, seems like a bad idea


Use CI for docker build testing.

We only need to check on origin/devel, so whenever a new issue is merged into origin/devel, we'll run the CI

It seems that most CI providers don't provide a solid usecase for this. Might need to build something that just fetches the dockerfile and ensures that we don't fail on docker build

This doesn't seem to be as viable any longer.


Is there a way to set seed while generating shap values for reproducibility?

Dear @slundberg,
Thank you for this beautiful package. I have used it often but currently I have realized that whenever I generate shap values, the order of feature importance changes. I am using very few observations for modeling hence this could explain why there is so much variability.

Having the same issue, solved as @nklemashev suggests. @slundberg it would be great to be able to set the seed for reproducibility

Rooting for this one too

I managed to guarantee a stable set of shap values, by increasing the parameter max_evals in the PermutationExplainer. Initially I was using max_evals=1400 (the minimum recommended for 700 features), and there was no convergence (i.e., every time I've got a completely different set of top ranked features, even setting the random seed). I pushed that to max_evals=30_000, and the values are converging and consistent now, and I'm not setting the random seed.
With his I understand there is no issue here, as long you increase the number of max_evals (if you want something good and consistent, you have to pay the price, in terms of CPU time).
To set a random seed (rather than increase number of evaluations) is not beneficial in this context, as it won't give you any guarantee that those shap values are the best set of top features, in relation to that Machine Learning model you are trying to explain. Instead, it's better to increase the max_evals and get a convergent and robust set of shap values.
I'm happy that this ticket to be closed.

I am not sure what exact version it was added, but in the version I am using, shap==0.45.0, shap.Explainer has a seed parameter you can set, so it seems like this functionality has been added.

@CangyuanLi  can you share whats the parameter name, and where you did find it ?

@CangyuanLi can you share whats the parameter name, and where you did find it ?

@CangyuanLi can you share whats the parameter name, and where you did find it ?

https://shap.readthedocs.io/en/latest/generated/shap.Explainer.html
You can just use shap.Explainer(seed=1)


Add a CLI to manage the Web App and train models

Main Script:
Usage: manage.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  delete-model  Delete user loaded models from Solr.
  run-server    Run the web UI server.
  train         Train and upload machine-learned models to Solr.

Train:
Usage: manage.py train [OPTIONS] COMMAND [ARGS]...

  Train and upload machine-learned models to Solr.

Options:
  --help  Show this message and exit.

Commands:
  lambdamart  Train and upload a LambdaMart model to Solr.
  linear      Train and upload a linear model to Solr.

LambdaMart:
Usage: manage.py train lambdamart [OPTIONS]

  Train and upload a LambdaMart model to Solr.

Options:
  -n, --number-of-trees INTEGER   Number of trees in the final model.
  -m, --metric [P|NDCG|RR|ERR|DCG]
                                  Metric to optimize.
  -k INTEGER
  --help                          Show this message and exit.

Delete models
Usage: manage.py delete-model [OPTIONS]

  Delete user loaded models from Solr.

Options:
  --name []         Name of the model you want to delete.
  -a, --all-models  Delete all models uploaded on Solr except the default
                    ranker.
  --help            Show this message and exit.

https://github.com/samj1912/ltr-demo/blob/c7d39f8e2a5a0318b105900acaf133aac9fc07da/flaskapp/models/utils.py#L11-L20
Example of comment outside review.


Enable sharing across subtables of extension for harfbuzz packing.

Harfbuzz repacker can handle subtables shared across extension lookups so there's no need to disallow such sharing. Add a parameter to _doneWriting to allow sharing to be enabled when preparing the object graph for passing to harfbuzz.

LGTM.

LGTM, thanks!


Efficient Filters in Vector Search

Describe the blog post your would like to write
I am planning to write a blog regarding different filters we have for the Dense Vector Field in OpenSearch. The blog will provide details around different types of filters, their usecase and benchmarks to help customer understand the performance and accuracy of these filters.
Current K-NN docs: https://opensearch.org/docs/latest/search-plugins/knn/filter-search-knn/
What is the title of the blog post?
Efficient Filters in Vector Search (Subject to change)
Who are the authors?
@navneet1v
What is the proposed posting date?
9/28

@navneet1v - checkin on this blog and when you will have a draft ready for review. Please provide an update.

Hi,
the blog draft is ready for review. Please let me know the next steps.


Sometimes there's screen flickering or flashing on IOS devices

We can't reproduce the problem This problem arises under uncertain circumstances. It usually appears on IOS devices. The screen flashes between black and white

.

flutter SDK: 2.10.3
device: apple 12 PM, apple 12

Hmm, I miss that problem which version of iOS are you testing to discard the device would be that you try it with another version if you are testing in the simulator try with a physical device.

Yes the screen flickering was on physical devices, which are our real users'devices.
---Original---
From: "Manuel @.>
Date: Tue, Jun 14, 2022 13:42 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [flutter/flutter] Sometimes there's screen flickering or flashing on IOS devices (Issue #105940)
Hmm, I miss that problem which version of iOS are you testing to discard the device would be that you try it with another version if you are testing in the simulator try with a physical device.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Closing this as a duplicate of #100522.
Kindly follow up in the linked issue for updates. If you have any information to share, kindly see https://github.com/flutter/flutter/issues/100522#issuecomment-1133075980.
Thank you