Controls should be notified if layout changes

While testing the solution for #57 I found that when control layout is shuffled without a page resize, components such as ProgressBar which rely on knowledge of their position within the screen begin to fail. As far as my ProgressBar instance knows, its bounding box is still on the right side of the screen, even though it has since shifted to the left.
One solution could be to pass a layoutString which could be a hash of the concatenated stringified forms of the components being rendered. A couple cons:

Obviously no guarantee of no hash collision
There's another issue.......

We have a deeper problem in the scenario where a component adjacent to our bounding box-aware component grew or shrank, causing our bounding box to move, but not resize. There was no change in component order, no change in bounding box size, but it's no longer in the same place.
Essentially, we need a way to not only observe element resizing, but repositioning as well.
One "failsafe" but almost certainly not performant method would be to compute the bounding box each time it's required.
This solution is needed for 2.0, but it will also need to be in the 1.2 release after the algorithm solution to #57 is applied.

Contrary to my deeply held belief, fetching the bounding rect at rapid-fire pace actually seems quite performant. For now, this seems to be the solution that will make the most sense. Incidentally, we won't need the resize observer for this anymore (though it's still useful for element size queries for styles).


Load balancing config option to limit server.maxRequestsPerSocket and force clients to reconnect and rebalance

Explain the changes

Add config.ENDPOINT_HTTP_MAX_REQUESTS_PER_SOCKET to set http server.maxRequestsPerSocket option.
When using DNS round-robin for load balancing, every clients resolve the DNS to a "random" server ip, and might keep the its connections open for a long time (if there is a continuous flow of requests this can keep using the same connections indefinitely).
This creates cases where the initial spread is bad, and wouldn't rebalance itself overtime.
We need the option to limit the lifetime of a socket before we close it, which will simply cause the clients to re-create a new connection for their next request and hopefully resolve the DNS to a new IP.
Notice that we might add an overhead with that setting because reconnecting requires quite a few round trips.
Notice also that the DNS might resolve to the same server because of TTL or other caches.
It might also be a good idea to limit a socket by TTL to match the DNS TTL settings.
This was tested for DNS-LB, and will most likely not helpful for TCP-LB (aka NLM) and HTTP-LB (aka ALB) where a proxy connects to the endpoint by IP and not DNS name.

Issues: Fixed #xxx / Gap #xxx

NA

Testing Instructions:

I tested both with a cloud DNS that has minimum TTL of 1 minute, and using kubernetes internal DNS that uses TTL of 5 seconds (see Using Kubernetes Service for proxying to external services).
I tried maxRequestsPerSocket with values of both 5 and 10 - both seemed to work just as well for benchmarks.

@guymguym What was the original situation you recognized that changing this configuration would help?

@romayalon See in the PR description. Did I miss something you wanted to know further?


Look to add a "non coder" section to HOWTO

The idea came from this article:
https://www.freecodecamp.org/news/how-anyone-can-participate-in-hacktoberfest/

You may also be able to use some of the content from #34

I'll take this one!


Add travis-ci

What happened with the CI? Travis is missing a configuration file.

We have no CI here yet. It needs to be added.

FYI, react-jss didn’t have CI integration in the first place

Released v8


Update lfg-solo.patch

Fixes #19 .
Tested on a local and remote server between 4-6 people individually.

Thanks for your contribution @Just-Chaldea !


Line of "backgroundless" map through Norway

I

FYI: https://github.com/openstreetmap/iD/blob/master/FAQ.md#how-can-i-report-an-issue-with-background-imagery

@7rTheSuperPotato, please do not scrub the contents of closed tickets unless you have a good reason


Fix BEE_SWAP_INITIAL_DEPOSIT in Docker env

This change is

It was fixed here, some minutes ago https://github.com/ethersphere/bee/pull/1794


Convert blowfish tests to new framework

Checklist

[x] tests are added or updated

Converted the Blowfish tests.

@mattcaswell, reconfirm?

Pushed. Thanks.


camera controls: axis orientation and movement

Hi!
First of all, thanks for sharing this great tool!
Then, I have to say that I tried really hard going through the documentation and some of the issues here on github, but so far I have not been able to use the library much more than simply running a quickvolshow on my dataset ...
I have a couple of questions that I think should be quite easy to answer, but without knowing anything about JS, it's really hard for me to look through some of the source code.
Here they are:

I'd like to set the orientation of the axes when showing the volume render (i.e. like in standard cartesian, +x LR, +y front-back, +z bottom-up): is there some way I can tell quickvolshow() how to orientate the axes?

second, I'd like to be able to rotate the volume rendering around the (supposedly) vertical z-axis (the dataset becomes too chaotic with a completely free orbit): how can I do it?

Thanks again, and I am sorry if these questions are duplicated somewhere else, but I wasn't able to find an answer for them ...

Dear Michele,
thanks for your kind words.
Do you mean you have trouble with the documentation as it is, or simply that you couldn't fine this issue you have in the documentation? If you have feedback on the documentation, I'm all ears, it kind of grew organically.

First point: not currently, but I have discussed this on some issue before. I'd like to support his, and making z go up should be the default. In any case it would be best to match Matlab/mayavi/matplotlib closely. It will be a 'breaking' change, but it needs to happen.

Second point: now you can click the small icon in the toolbar (with the arrow up) to get that behaviour, you can also set it programmatically by changing Figure.camera_control (to 'orbit' instead of 'trackball').

Let me know if this helps!

Hello!
Let's see what I've understood

documentation seems ok, but I could use more examples about "custom" use (i.e. not using quick* functions) ... more on 3

Do you mean that there is no way I can customize axes orientation? Let's say I make my own fork, where can I find this information? or, second option, can I switch off axes labels (and do volume reorientation on my own)?

I tried the toggle button but I saw no effect ... weird, I know! When you say I can set Figure.camera_control = 'orbit', what exactly do you mean? do I need to change the code for quickvolshow, or can I pass it as a parameter?

Thank for the help!!

No, not the orientation, but you can control axis labels and styling. The styling documentation isn't great/non-existing, it didn't really converge to something i'm totally happy with.
Try: ipv.style.use('nobox') and see how the style is defined here. ipv.style.use([{'axes': {'visible':False}}]) will also work (btw, the extra list [] around it is actually a bug, shouldn't be needed)
If you want to work on this, I suggest adding a 4x4 (or maybe 3x3) matrix, like these matrices, and name it something like 'basis_matrix'.  This would then need to be used here: https://github.com/maartenbreddels/ipyvolume/blob/595caaf5be93e9b3d21e35a2e925c1f37b1fe179/js/src/figure.js#L845 (my guess is before line 860).
Let me know if you want to proceed implementing this and if you need more help!
If you press the toggle button you can not go beyond the 'north pole', it should get 'stuck' there. And you can control it using sth like this:
fig = ipv.figure()
fig.camera_control = 'orbit'

Thanks for the hints, it will be easier now to look into the js code for what I need!
Just something I forgot to mention in the opening post: is it possible to change the colormap of the volume render? I know it may seem silly, but when dealing with medical images, having the possibility to adapt the colormap to data type / physician preference is kind of vital! ^^

Support is not great, however, look at this PR:
https://github.com/maartenbreddels/ipyvolume/pull/76
Also, on my TODO list is to be able to reproduce this:
http://graphicsrunner.blogspot.nl/2009/01/volume-rendering-102-transfer-functions.html?m=1
If you have a clear use case, like some data you'd like to visualize, and clear ideas on what kind of colormap to use, or how to generate it I'm all ears!

Probably during the week I will find some time to seriously look at this.
I would say you to have a look to one of the notebook in this repo of mine, but right now it seems GitHub is not able to load them ... I don't know if there is some problem with my connection or with the repository.
The idea was to integrate you volume rendering to show 3D/4D PET datasets (you would find mostly brain scans in the notebooks, but the anatomic region doesn't really matter). As for the colormap, usually in PET imaging you need gray, hot, viridis, ... but just having the option to choose one could be ok, I am not looking for something specific.
About how to generate them, that's probably the hard part, that way I was looking for the source code where the current one is selected (should be probably a rainbow or something, I guess ...)
If I have news, I will let you know.
Hope you'll do the same! ;)


Backport the go 1.17 update to the 2.3 release

We want to have the new go in the 2.3 release.
Signed-off-by: Gus Parvin<EMAIL_ADDRESS>

/lgtm
What about 2.4?

/hold


Delete account - User task table

Description

New table of all tasks a user is assigned to on the Manage Account page.
Root level project slug
New nested project data on each task

@jerivas I think this is very close. If you can fix the two serializer issues (and pytests), I will adjust the FE.


[WIP] websocket link exceptions

https://github.com/gql-dart/gql/issues/115

@agent3bood sorry for the very late response, but thanks for your contributions.
Could you please describe why this involves changes to gql_http_link?

gql_http_link will throw HttpLinkServerException when

parsed response is missing both data and errors

I think when data and errors are missing it should throw HttpLinkParserException.
What is your opinion on this?

Closed in favor of https://github.com/gql-dart/gql/pull/130


Add handling of collections with polymorphic types

As far as I have seen there is no support for inheritance. I have worked on a very similar project (annotation procession based json parser) with  features like you implemented  (you have more features though, but the basic features are the same). However, I have implemented Inheritance resolution similar like Jackson did. Since my annotation processor is in alpha and I consider your parser as more advanced, I consider to switch over to your parser and I would like to ask you if you would accept pull requests for inheritance or are you currently working on that? Or does your roadmap specifies inheritance for a much later version like 2.0.0?
If you are interested in we can specify together the annotations.

Inheritance is actually fully supported already. Just annotate the parent and child as @JsonObjects and LoganSquare will parse and serialize everything like you'd expect it to. Do you have a specific use case that it doesn't handle correctly?

sorry i described things unclear. I mean if the json provides type information, for example:
@JsonObject
class Animal {
    @JsonField
     String name;
}

@JsonObject
class Cat extends Animal {

     @JsonField
      String coatColor;
}

@JsonObject
class Dog extends Animal {

     @JsonField
      String breed;
}

The json could look like this:
[
   {
     "type" : "dog",
     "breed": "German shepherd"
   },
   {
     "type" : "cat",
     "coatColor": "black"
   }
]

So the parser should be able to distinguish the type from json. In my json parser you can do that like this:
@JsonObject
class Animal {

    @JsonField
     String name;

      @JsonFiled( subTypes = {
            @JsonSubType( key = "dog", value = Dog.class),
            @JsonSubType( key = "cat", value = Cat.class),
          }
      )
      String type;
}

This is an interesting use case. I guess I haven't encountered an API that can spit out different types of data within the same array (even if they are all of the same superclass), but there's nothing in the JSON standard saying that can't happen.
I'll have to think through what a good annotation schema would be and what the annotation processing would look like to be able to handle something like this. Off the top of my head, I can't think of a way to do this without a big performance penalty.
PS - Just to keep the issue tracker clean and easy to read, could you change the title of this issue to something like "Add handling of collections with polymorphic types"? Right now it looks like you're requesting something that's already there.

Is it possible to manually override this behaviour - e.g. with a TypeAdapter?
For example adding a field when serializing that indicates which class each object maps to, and similarly creating the correct class when deserializing?

Hi. I am also facing this issue and I've just made an example code which handles polymorphic object parsing/serialization.
https://github.com/h6ah4i/logansquare_polymorphicparser

@h6ah4i Thanks, how is it performance wise?

@zoltish I have not measured the performance, but I think it is the optimal implementation. I'll compare the performance with another libraries :)

I have a field that is sometimes a String and sometimes a JSON Object, ex:
"schedule_type":{
               "type":"Cycle",
               "value":{
                  "cycle":"21+7"
               }
            },

"schedule_type":{
               "type":"Items",
               "value":"1,2,3"
            }

I have this case where the acted_upon_type determines how acted_upon will be, acted_upon could be Post,Comment, Answer,Question
{   "acted_upon": {}      "acted_upon_type": "Post" }
Is there a way to handle such case

Just spent the entire day trying to pin this down, exactly the use case @sockeqwe describes. Is anyone aware of any alternative means of generating polymorphic types from a list of the common parent class?
I guess I'll have to go back to gson :/

@lkraider i've solve this by using this:
"schedule_type":{ value: { 1, 2,3} } & "schedule_type":{ value:"1"} }
public class Response {
@JsonField(name = "value")
public Object data;
}
then you can use instanceof depends on your needs :) like this
data instanceof List or data instanceof String.

any update on this? this could be handled by a typeconverter right?

any update on this issue?

three years passed since this issue was opened and yet no solution to the problem

Time to get on the moshi train @lhalegria :smile:


Cosign doesn't use the correct CycloneDX predicate

Description
The CycloneDX predicate defined in in-toto-golang has changed and cosign needs to move to the latest version to be compatible with other tools like syft. See https://github.com/in-toto/in-toto-golang/pull/188
Version
GitVersion:    1.12.0
GitCommit:     8483d6c71f153f38f237ba79c88d0fda6306e6e3
GitTreeState:  "clean"
BuildDate:     2022-09-14T15:41:15Z
GoVersion:     go1.19.1
Compiler:      gc
Platform:      darwin/amd64

Yeah, AFAIK, @puerco already knows that problem, and will fix it soon 🙋🏻♂

Fixed by PR #2368


.related() docs are confusing or wrong

The docs state:

The related method returns a specified relation loaded on the relations hash on the model, or calls the associated relation method and adds it to the relations hash if one exists and has not yet been loaded.

What this says to me is: "If the relations hash already has this relation loaded (.e.g .fetch({withRelated), use that one. If it has not been loaded yet, then fetch() it."
Now, in my Express app, I have a route like:
router.get('/user/:id', auth, async (req, res, next) => {
  let id = req.params.id, user, thingies

    user = (id === 'me' || id === req.user.get('id'))
      ? req.user
      : await User.where('id', id).fetch({withRelated: ['thingies'])
    thingies = user.related('thingies')
})

When I hit the route using /user/2, for example, it works fine. But if I hit /user/me then thingies is empty. This is because earlier, in the middleware where I set req.user to be the authenticated user, I did not eager load the relation.
If I use .load() it can fix it:
user = (id === 'me') ? req.user : await User.where('id', id).fetch({withRelated: ['thingies'])
user = await user.load('thingies')
thingies = user.related('thingies')

But this loses the potential benefit of eager loading dynamically only when necessary, which is how I interpreted the docs for .related(). Am I wrong or is this a bug?

It appears that the problem is that .related checks first on the relations hash, finds nothing and returns an empty collection, but if you .fetch off of that then it does actually load the models.
thingies = await user.related('thingies').fetch() // this works

The problem is, again, I do not know ahead of time whether the relation has been eager loaded. If I do this and the relation was eager loaded, then I do the query twice.
I can do a manual check for this:
thingies = user.related('thingies').length ? user.related('thingies') : await user.related('thingies').fetch()

However, I believe it could be handled better.
.related() could always return a promise. If the data is already loaded then you can resolve immediately with it. Otherwise it should load the relation (i.e. call fetch() for you). Then this would work either way:
thingies = await user.related('thingies')

No 'if' checks necessary.
Thoughts?

Possibly related issues: #407, #711, #821 and #1018.

bump

@Cl1608Ho Do you have anything useful to add or comment about this issue?

Sorry for the late response. I think this could and should be implemented as a plugin by monkey patching fetch and the related functions.
The plugin would keep an internal cache that let's fetch() and related resolve immediately, unless the model is marked as dirty. This happens either if it was saved or any other models that belongsTo it (if necessary).
This would allow people to opt in to caching when needed (or better, not automatically opt in if not wanted).

bump


Manipulating imported files in stream

Hi there,
I'm not sure if this is an issue with gulp-sass, or node-sass itself, maybe you can point me in the right direction :-)
I'm having a usecase where I need to alter _sass.scss files before I push them into gulp-sass. But it seems like sass won't care about the altered files. My guess is, that sass does read files that get imported directly from the file system, rather than using the ones inside the stream. Am I right about this?

I'm having the same issue here, sass files are modified a bit before sent to gulp-sass. I'm using this cool import resolver https://github.com/clempat/gulp-systemjs-resolver, which works just fine until I start loading partial files which have to be pre-processed. In the stream they were processed but they are imported in plain text as from the original file. As @kaesetoast said the problem seems to be that it's imported from file system.

What version of Gulp Sass are you using? This was an issue in 2.0.0 but we resolved it in 2.0.1

@kaesetoast any update?

Closing due to inactivity.


armv6 support outdated to SQLite version 3.21.0

I created a Java Program that utilizes the current version of sqlite-jdbc version 3.27.2
I read in the patch notes of the readme that it supports SQLite version 3.25.2, which is important for my needs because version 3.24.0 added UPSERT functionality.
The Database functions just as intended on my Windows x64 computer, but running the shaded Jar on my armv6 Raspberry Pi zero w, it crashes when it reaches an UPSERT statement.
I decided to run SELECT sqlite_version(); and sure enough, it returned 3.21.0  on the Pi.
Are the armv6 native libraries going to be updated past 3.24.0 any time soon?
Because I took at look at the files in /src/main/resources/org/sqlite/native/Linux/, and its as if every single Linux OS library was updated to 3.27.2 except for armv6, the one I am running.
#408
To be fair, I also noticed in the README_BUILD.md something about compiling for the raspberry pi, are users supposed to compile on their own for raspberry pi? Reading some of the other issues and the readme, I got the feeling it would already be prepared in the jar. Otherwise, what is the right step to take if there is no issue here?

There's a comment in Makefile, seems dockcross isn't currently supported for the pi due to : https://github.com/dockcross/dockcross/issues/190

Ah shoot, of course someone already filed this issue, I knew I couldn't be the only one. I guess Ill be waiting then

@Christian77777 Yeah. Dockcross suddenly stopped working for armv6. This was around https://github.com/xerial/sqlite-jdbc/commit/a6e80cf646116852a42a89c4423c1cb60ad052ef

When I was owning raspberry Pi, I can build sqlite-jdbc using make native command. It will take a long time, so using an older version of dockcross docker image might be better. But I don't know how to use an older docker image of dockcross.

I don't own a raspberry pi at all, but I think it was more that raspbian upgraded a library where dockcross didn't, rather than any active change by dockcross.

I managed to execute "make native" properly on my pi, and got the resulting files. It turns out my exact pi architecture is armhf, not armv6. But anyway, it seems there is one last step to export the jar, as "make" doesn't seem to work. Looks like all the $(CC) variables dont resolve to anything, probably because "Linux-armhf" variables don't exist in the Makefile.common. Any suggestions for the "_CCFLAGS" variable, or should I just copy from armv6? The other 5 variables make sense to copy from Linux-armv6, but please correct me if I am wrong.
Otherwise, thanks for the clarification.

I managed to compile the native code on my pi, and finish compiling the jar on a different system. Ran into a space limit, requiring the second system. I guess this resolves the issue for me, and for anyone else looking for the Raspberry pi version


Export an Authentication Error to allow type assertions

🔧 Changes
Exports the Error type so that it can be used in type assertions and document this in the godoc for the authentication package.
📚 References

Closes #315
🔬 Testing

📝 Checklist

[ ] All new/changed/fixed functionality is covered by tests (or N/A)
[ ] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (1f73dd6) 95.09% compared to head (5ae7c4f) 95.09%.

Files
Patch %
Lines

authentication/authentication_error.go
83.33%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #330   +/-   ##
=======================================
  Coverage   95.09%   95.09%
=======================================
  Files          46       46
  Lines        8984     8984
=======================================
  Hits         8543     8543
  Misses        336      336
  Partials      105      105

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[WIP] Implement metrics

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (4384f34) 90.27% compared to head (21af2d3) 90.27%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop       #9   +/-   ##
========================================
  Coverage    90.27%   90.27%
========================================
  Files           23       27    +4
  Lines          833      895   +62
========================================
+ Hits           752      808   +56
- Misses          81       87    +6

Files
Coverage Δ

src/latentis/metrics/__init__.py
100.00% <100.00%> (ø)

src/latentis/relative/projection.py
91.52% <100.00%> (ø)

tests/conftest.py
100.00% <100.00%> (ø)

tests/metrics/conftest.py
100.00% <100.00%> (ø)

tests/metrics/test_metric.py
100.00% <100.00%> (ø)

src/latentis/metrics/_metrics.py
90.90% <90.90%> (ø)

src/latentis/space.py
70.00% <50.00%> (-2.31%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


mockery and Jasmine

Maybe it's worth mentioning in the readme or wiki that when used with Jasmine mockery needs to be enclosed in a define () and the 'module' should be received as an argument.
The var m = require('module') is simply not working. Maybe it's a Jasmine issue or an undocumented expected behavior.
define(['module'], function (m) {
//var m = require('module') // this call fails even after enclosing it in a define(['module']) {}
.
.
.
return { ... };
}

I've never used Jasmine so I'll have to look into how it works in order to figure out what is breaking.
Do you have a simple repro case that I can run to test with? I can add that to our new tests to make sure that it's executed when we build.

I believe the issue is not Jasmine, but RequireJS. Here is an example that includes the change I made in mockery.js at the beginning of the file:
https://github.com/cristiingineru/testingWithMocks/blob/master/js/node_modules/mockery/mockery.js
After this small change the mockery.js module loads correctly (it's not throwing). But the original modules are not replaced with mocks during testing. Here is an example:
https://github.com/cristiingineru/testingWithMocks/blob/master/js/specs/cSpec.js
Maybe it's just something wrong with my setup.

Its not working for me with Jasmine, hookedLoader is never called for any require following mockery.enable(). I'm not using RequireJS. I added a console.log to check if hookedLoader was called. I tested just in the REPL and it was working fine.

I am using mockery with jasmine and it is working fine.

when you mock paths you need use exactly the same string that was used to require, it not the path from your tests file.


fix(stdlib): 排序 in 列經

Resolves #514

Thanks for the fix!
However I think originally I intended it to accept a comparison function, so it can sort any array of data, not just numbers. At the time I wrote 列經 mainly to test macros, hence didn't test the function themselves thoroughly enough... and oops!
I'll do the fix to make sure it's both polymorphic and correct :)

Thanks for the explanation!


DEX: _WithdrawMax Method

Create a method to withdraw all user's liquidity from a pool and share on issue #312 in interface repo

I see you also filed #123 but point taken - I will add it. Closing this one as a duplicate


Kotlin Questions Added

Added basic questions related to Kotlin that are generally asked during the interview.

Thank you for sharing your learnings and experiences. Glad to merge :-)


Is this project dead or what?

There's two main things to deal with currently:

Linux support. I don't have a device that I can dedicate to running Linux for testing, so this is stalled
usbdump issues. Solving this property requires a rewrite of usbdump, either in C++ or Python. I started work on a Python rewrite, but I'm currently very busy at the moment and can't put any time into it right now

Additionally, this requires Windows, which I currently do not have extended access to at the moment

Otherwise, the project should work fine. I understand that some people can't map their ports right now, but I unfortunately don't have the time to work on it currently. For those that are experiencing issues and have no other way to map ports, try USBToolBox.kext + UTBDefault.kext so you can at least get the first 15 personalities working, then map with https://github.com/corpnewt/USBMap once you have installed macOS.


Issue: Tile blends into background theme

Here's a demo

Could definitely look better. Perhaps using something like a transparent grey may work well? (e.g. rgba(128, 128, 128, 0.2)

Hey!
Sorry for not responing earlier! Are you using a custom theme? The dashboard uses only colors defined by the user's vcode theme. I tested against all default themes and it look nicely on all of them.
However, as many custom themes may produce such an problem, I included settings for customizing the 3 main colors in the dashboard. :)
Example usage:

As this (included in v1.2) should fix your problem, I'm closing this issue.

Thanks @Kruemelkatze it looks like that should do the trick nicely :)


Enhance the build reproducibility healthcheck scripting to identify pipelines per platform

Summary
Currently, we identify the earliest pipeline job that matches a given tag, and assume that is the correct pipeline to use for reproducibility stats across all platforms.
This issue covers the work needed to adopt a per-platform approach, so a user can rerun a build for a specific platform and have the reproducibility stats for that platform be retrieved from the new pipeline job, just as stats for the other platforms are retrieved from another pipeline.
Details
In short, this is a continuation of https://github.com/adoptium/ci-jenkins-pipelines/pull/1113
Especially Andrew's comment here: https://github.com/adoptium/ci-jenkins-pipelines/pull/1113/files#r1794987902
Additional subtask
When a build is in progress, we get the reproducibility percentages from the in-progress tag (status['upstreamTag']) rather than the previous tag (releaseName). When the former does not contain the latter, we need to get the pipeline build URL and build ID (TRSS) for the latter, and get the reproducibility percentages based on that.

I've been working on this, and my progress can be seen here:
https://github.com/adoptium/ci-jenkins-pipelines/compare/master...adamfarley:ci-jenkins-pipelines:platform_specific_repro_healthcheck
Also, I'm testing my work here: https://ci.adoptium.net/job/adam_temp_job_2/6/


Can't scroll to last event

On both the calendar and the even pages, you cannot scroll all the way down to the bottom of the list, the buttons are hovering and covering up access to the last item on the list.

Is your feature request related to a problem? Please describe.
The bottom nav buttons cover the last item in the event list.
Describe the solution you'd like
Replace the bottom nav buttons with a solid bar instead of floating buttons. Adjust the scrolling window to end at the top of the bottom nav bar. This prevents the bar from covering the scroll view.
Describe alternatives you've considered
We could also adjust the scroll view to end above the buttons and keep them. Another option would be to add a pad at the end of the scroll view so that the last item can scroll above the buttons. I think having a solid nav bar makes the most sense visually.
Additional context
See the screenshot above.


Contact journal: Reminder for sharing contact journal after reporting an infection

Current Implementation
If a user reports an infection via the app, the user has to step thorough the upload process and then sees the "Thank you" screen.
Suggested Enhancement
After the DKs were uploaded to the server, users who use the new contact diary feature (v 1.10 and above) should be asked if they want to share the diary with the health authority/friends/etc.
Expected Benefits
More users not only using the diary but also sharing it.

Internal Tracking ID: EXPOSUREAPP-3034

Health authorities won't request a list of contacts in most cases anymore, so I  step back from this request.


weather forcasting is done

#7
is been completed
#43 #49  has been completed

@MonishRaman check title before adding PR


Report bugs in Pandemic

Well, we intend to participate in COG 2022 competition of Pandemic so we execute the code. However, we discover some bugs and report them here.

The diseases can not be cured in one action. To be specific, if we use the antidote or the skill of medic to cure the disease of one colour in a city, only one disease can be removed. However, according to the rules, all these diseases should be removed. We think it is a serious bug as it makes the role of medic useless.
The exchange of cards between players is unclear. If the players try to exchange the cards, we don't know who gives the card and who receives the card.
The turn order of the games may be disrupted after using the event cards, for example, one player may be given another action step while someone's turn may be skipped.

Thanks for pointing these out! We'll investigate and have a fix up asap.

Well, thank you for your updating. However, after running the program of newest version, we find that HumanGUIplayer can not work at all and HumanConsolePlayer also works strangely as it always says 'no available action' after only two actions in one turn, which we think will bring great difficulties to the training. What's more, when exchanging the card between players, we still don't know which card is exchanged. We hope these bugs can also be fixed. Thank you very much

Thanks for that - I've just tried the HumanGUIPlayer in a Pandemic game (with one other random player) using the current pandemic-competition branch, and it seems to work OK for me. (There was a bug, which was fixed yesterday morning - so I wanted to check you were using the latest version).
Could you then detail exactly what you're seeing with HumanGUIPlayer?

Well, sorry for not giving a response timely. I download the project of latest version under pandemic-competition branch and try to run it. There still exists problem of HumanGUIPlayer. The picture is shown below. It seems that the code will get stuck when using HumanGUIplayer and HumanConsoleplayer. I remember that using old version can finish a game however current version can not do it. I don't know whether I configure the project mistakenly. Whereas since using randomplayer can operate normally, I think there may be still some unusual bugs.

Sorry for not giving a response timely. I used to use code downloaded from the main branch and the GUI will show all legal actions for choice. But the operation way of current version seems to be different from old version that I use. So I thought there are bugs. Sorry for that.

Well, since current version changes the choice of action by clicking nodes in GUI, I think this brings new problems. Although medic can treat all diseases, other players' skills are hard to use, at least I don't know how to use them... Is there a readme file to tell us the information about the operations in the game? I think this will help a lot for developing the AI. Thank you very much.

Thank you for your response. However, we find that when we execute the program using HumanGUIplayer, a bug will happen sometimes. The specific content is shown as below:

What's more, we don't know how to exchange cards between players and the website does not tell how this can be realised. We hope to know this information. Thank you very much.

Hi there,
Firstly, can I check that you are using the latest pandemic-competition branch? The error you report uses code that is in master, but not in pandemic-competition, so I suspect you might not have the latest pandemic version.
This latest pandemic version also includes the 'Share Knowledge' action to pass a card to another player (and the 'Researcher' special ability) - these are both explained in the GUI instructions at http://www.tabletopgames.ai/wiki/games/gui/pandemic. (However the Share Knowledge is not in the master branch - which may also explain why you are having some difficulty here).
And thank you for reporting your issues! It is very helpful to us to understand how people are using TAG.
(Separate answer to follow on the detailed meaning of parameters.)

Well, thank you for your response. We have tested the code and execute it successfully. However, I encounter a strange problem. My teammate can run the project successfully but when I configure the project as him, it fails. There seems to be problems that some external libraries can not be imported. I want to know whether is there any advice about the configuration?

Those video libraries should be loaded automatically by Maven from the pom.xml.
        <dependency>
            <groupId>io.humble</groupId>
            <artifactId>humble-video-all</artifactId>
            <version>0.3.0</version>
        </dependency>

I've seen Maven sometimes not pick up changes to dependencies immediately in IntelliJ (are you using IntelliJ, or some other IDE?), so it may be worth 'Relloading all Maven projects'.
(Screenshot of button in IntelliJ in case this is helpful)


[BUG]  The ovs pods are not active on the rocky9.3 with kubelet 1.27.6

Kube-OVN Version
v1.12.12
Kubernetes Version
v.1.27.6
Operation-system/Kernel Version
5.14.0-362.24.1.el9_3.0.1.x86_64
cat /etc/redhat-release
Rocky Linux release 9.3 (Blue Onyx)
Description

The ovs-system and br-int are down, and got below log fron the ovs-ovn pod:

2024-06-26T06:26:04.470Z|00063|chassis|INFO|Dropped 29 log messages in last 60 seconds (most recently, 5 seconds ago) due to excessive rate
2024-06-26T06:26:04.470Z|00064|chassis|INFO|Need to specify an encap type and ip
2024-06-26T06:27:04.471Z|00065|chassis|INFO|Dropped 27 log messages in last 60 seconds (most recently, 5 seconds ago) due to excessive rate
2024-06-26T06:27:04.471Z|00066|chassis|INFO|Need to specify an encap type and ip
Steps To Reproduce

install the rocky9.3

install the kubelet 1.27.6

install the openvswitch:
ovs-vswitchd (Open vSwitch) 2.17.9
DPDK 21.11.2

install the kube-ovn

Current Behavior
ovs-appctl version on the HOST:
ovs-vswitchd (Open vSwitch) 3.1.5

The pods are running with the install.sh
ovn-central-64bbbfb486-psc6b            1/1     Running   0          21m
ovs-ovn-6g2p7                           1/1     Running   0          18m

2.The ovs-system and br-int are down, and got below log fron the ovs-ovn pod:
2024-06-26T06:26:04.470Z|00063|chassis|INFO|Dropped 29 log messages in last 60 seconds (most recently, 5 seconds ago) due to excessive rate
2024-06-26T06:26:04.470Z|00064|chassis|INFO|Need to specify an encap type and ip
2024-06-26T06:27:04.471Z|00065|chassis|INFO|Dropped 27 log messages in last 60 seconds (most recently, 5 seconds ago) due to excessive rate
2024-06-26T06:27:04.471Z|00066|chassis|INFO|Need to specify an encap type and ip
Expected Behavior
The kube-ovn are up and  the k8s cluster could be ready

Please provide logs of kube-ovn-cni pods.


conflict in monetary_value calculation and definition

The definition for monetary_value in the document:
"monetary_value represents the average value of a given customer’s purchases. This is equal to the sum of all a customer’s purchases divided by the total number of purchases. Note that the denominator here is different than the frequency described above."
summary_data_from_transaction_data function calculates monetary value as the mean of repeat purchases which equals to frequency.

Hey @kurtsenol,
After further review I've determined this to be a bug in the pre-fork legacy code, so thanks for bringing it to my attention.
The research paper clearly defines monetary value as a customer's average transaction value across all transactions:
https://www.brucehardie.com/notes/025/gamma_gamma.pdf
However, summary_data_from_transaction_data (and by extension, calibration_and_holdout_data) are omitting the first transaction from the monetary value calculations:
https://github.com/CamDavidsonPilon/lifetimes/issues/429
In addition, frequency is being calculated as the count of time periods when repeat transactions occurred, rather than the count of all repeat transactions. This means a customer could make multiple transactions in a single time period and it would only be treated as a single transaction, which goes against the definition of frequency in every paper I've read and is also highly disruptive to monetary value calculations as illustrated in the above weblink.
I'll start working on this for the next version release, but until it's published I would advise against using the summary_data_from_transaction_data and calibration_and_holdout_data functions for now and perform those aggregations elsewhere. The documentation provides boilerplate code for doing so in SQL:
https://btyd.readthedocs.io/en/latest/Generate RFM Summaries From a SQL Store.html

I second the request in terms of updating the SQL example in the documentation as well as it's recording the average across all purchases instead of only the recent purchases. After reading the RFM Summary in Excel document, I noticed Bruce is using
=’Pivot Table 2’!B5
Which reflects only the calibration/repeat column, excluding first purchase


enable hooks for fetching code behind solidity import statements

about imports

https://gitter.im/ethereum/remix-dev?at=5c077fac80986419d5406c0a
https://github.com/ethereum/solidity/issues/2862
https://github.com/ethereum/remix/issues/1059#issuecomment-444394390
check https://github.com/ethereum/remix/tree/remixResolve/remix-url-resolver

truffle solution: compile once, then get the error message to find import path.
https://github.com/trufflesuite/truffle/blob/develop/packages/truffle-compile/parser.js

kewords:

combineSource
resolver
import parser

readCallback function can't be a async function, because emscripten doesn't support it very well.
https://github.com/ethereum/solc-js/issues/140
https://github.com/ethereum/solidity/blob/develop/libsolidity/interface/StandardCompiler.h
but I think another workaround is provided "getReadCallback" API.
let readCallback = await getReadCallback(sourceCode);
let output = await compiler(sourceCode, readCallback);

https://github.com/ethereum-play/solc-js/pull/1/commits/1db7eb24755acf1446487e7693073e2ca1be7301#diff-3b8192acb0d491039ab68dea0b430bfcR62
https://github.com/ethereum-play/solc-js/pull/1/commits/1db7eb24755acf1446487e7693073e2ca1be7301#diff-3b8192acb0d491039ab68dea0b430bfcR39

what about
const output = await compile(sourceode, async (importpath) => await fetch(importpath))

async function compile (source, cb) {
  const X = await getAllImports(source)
  const files = {}
  for (p of X) files[path] = await cb(p)
  const output = solcjs(source, X)
  return output
}

Are you very familiar with C++ ? ...because one other option would be to ask the solidity team whether a pull request to make imports async would be welcome :-)

@serapath
no, I don't familiar with C++.
but about asked solidity team "support async read callback".
someone did, the answer is NO.
https://github.com/ethereum/solc-js/issues/140


cleanup: remove old region tag (spanner_delete_dml_returning)

Fixes N/A

Related to PR: https://github.com/googleapis/java-spanner/pull/2450
After cl/533585863 is merged we must merge this PR to remove the old region tag

Not required since all Golden languages except Python uses the correct region tag. So we must only update the Python samples


Add ability to force a hard delete

Sometimes you actually want to delete stuff.  This PR adds that option

Let's add some tests.

@ryochiji - I spent 4 hours trying to figure out how to run their tests and I still haven't been able to.

@ryochiji - I believe we agreed not to add tests for this?

Yep, let's test in vishnu-backend for now, and revisit these tests later.

Having said that, I'm not convinced we should use .hard_delete() but let's discuss that in the other PR.


fix cursor position in case of suggested suffix

Substitute command was removed - the purpose of this command was to handle the cursor in case of new suffix suggested by tabnine, replacement of the old prefix and suffix, and position the cursor before the suggested new suffix for all selections. instead, SnippetString usage was added to the competition item creation (makeCompletionItem), which allows to add a literal template snippet that can handle the cursor position (appendTabstop) between the inserted text values .
package-lock was updated due to deprecate usage of the flatmap-stream library (error while npm install : Not Found: flatmap-stream@https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.0.tgz)

after this fix:

LGTM. Seems to be quite a hefty change, we should test for regression

agree

@avichay77 FYI


fix(sqllab): normalize changedOn timestamp

SUMMARY
#24422 introduced a regression which caused SQL Lab results to not show up in SQL Lab for clients that had a negative TZ offset. This was due to the backend returning timestamps in naive format that don't include a prefix to indicate that the timestamp is in UTC TZ. Due to parsing this using Date.parse() in the frontend, this timestamp was assumed to be in local timezone, causing an inconsistency when requesting updated queries using the epoch representation.
This fixes the issue by using the normalizeTimestamp function from @superset-ui/core, and adds tests to ensure that queriesLastUpdate in Redux state is correctly normalized (a denormalizeTimestamp util is added as it's needed for updating the tests). This new test would previously have failed on master branch when run in non-UTC TZ.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[x] Has associated issue: fixes #24487
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@villebro could you expand on what you mean by,

... backend returning timestamps in naive format

The reason I ask is I was wondering whether the fix should be a backend rather than frontend fix, where the backend returns a non-ambiguous timestamp.

@john-bodley yes, I think we should do that in the long run. However, at this point I felt it an unnecessarily risky change, as it might have far reaching implications for users that are relying on the current formatting behavior. Also, the fact that this functionality was broken in multiple ways on the frontend, including having either erroneous or missing tests (hence the regression), I felt it prudent to first get this area improved some more before proceeding to fixing the backend, which IMO has an even larger blast radius.


added by dummytarget

create simple fizzbuzz with if condition and loop

Thank you for your PR!
Unfortunately a solution similar to yours has already been submitted :/
The goal is to find creative/abstract new solutions to FizzBuzz.
See The top 5 samples here.
Thanks anyway! :)


ISSUE

@JuliaRegistrator register()

Error while trying to register: "Pre-release version not allowed"


Only first three bases of aligned reads being used for methylation calling

Hello,
I am using BSseeker2 to analyze single-end RRBS data from chickens. I have aligned the reads using bs_seeker2-align.py with very high unique alignment rates; however, I noticed a smaller-than-expected number of cytosines with good coverage (-r 10) following running bs_seeker2-call_methylation.py. In looking at the cytosines that were included in the CGmap file, I noticed that these were always in the first three positions of aligned reads. No cytosines at later positions in reads were being included in methylation reports despite having sufficient coverage.
I am at a loss for why this is happening and would appreciate any insight. I am using the following software versions:
BSseeker2 1.8
Bowtie2 2.2.3
Python 2.7.15
Pysam 0.15.2

hi @rjcorb
what is the average coverage of your data? Maybe 10X converage is too high. Usually, for CpG methylaiton , 4X or 5X will be enough.
As RRBS reads alway start from c-CGG, then it would be easier for the first three bases to pass the high threshold.
Another, you can also check with our new tool CGmapTools, and the command cgmaptools convert bam2cgmap would be faster for converting the BAM file to CGmap file.
Best,
Weilong

Hi Weilong,
Thank you for you reply. My problem may have been with the version of samtools I was using; after switching to Samtools 1.9, I used CGmapTools convert and obtained ~10x as many CpG sites with >=10X coverage or greater. I will see if this switch also improves high coverage CpG sites obtained with bs_seeker2-call_methylation.py.
Thanks again,
Ryan

hi @rjcorb
what is the average coverage of your data? Maybe 10X converage is too high. Usually, for CpG methylaiton , 4X or 5X will be enough.
As RRBS reads alway start from c-CGG, then it would be easier for the first three bases to pass the high threshold.
Another, you can also check with our new tool CGmapTools, and the command cgmaptools convert bam2cgmap would be faster for converting the BAM file to CGmap file.
Best,
Weilong

Hi Weilong,
I had an understanding that the -r parameter in bsseeker2 methylation calling affects only the wig files.
Does it affect CGmap and ATCGmap files too?
I have run bs_seeker2-call_methylation.py with -r values 1 (default) and 10 in the same data. I observed differences only in the wig files.
Please let me know if I am missing something here.
Thanks,
Suraj

Hi Suraj, @Surajuvm
"bs_seeker2-call_methylation.py -r" will affect all ATCGmap, CGmap and wig files. You can try to use low standard to generate CGmap files and ATCGmap files.
Then you can use "cgmaptools convert cgmap2wig" to generate a high-standard wig by yourself.
Best,
Weilong

Hello Weilong,
I am confused here. In the documentation of bsseeker2, it says that
-r READ_NO, --read-no=READ_NO
The least number of reads covering one site to be
shown in wig file [Default: 1]
Like I said earlier,  I ran bs_seeker2-call_methylation.py with -r 10 and -r1 for the same bam file. I did not find any differences in ATCGmap and CGmap files obtained with -r10 and -r1. Their wig files were different.

@Surajuvm Thanks. I just check the code. Yes, you are right. The "-r" will only affect wig files not CGmap or ATCGmap files.
Best,
Weilong


Can't upload packages built with Ubuntu Bionic

When I try to deb-s3 upload a package that we built on Ubuntu Bionic deb-s3 errors like so:
Failed to find control data in .deb with ar, trying tar.
tar: control.tar.gz: Not found in archive
tar: Error exit delayed from previous errors.
>> Lock released.
Traceback (most recent call last):
	14: from /usr/local/bin/deb-s3:23:in `<main>'
	13: from /usr/local/bin/deb-s3:23:in `load'
	12: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/bin/deb-s3:9:in `<top (required)>'
	11: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
	10: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
	 9: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
	 8: from /usr/local/lib/ruby/gems/2.5.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
	 7: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/cli.rb:188:in `upload'
	 6: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/cli.rb:188:in `each'
	 5: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/cli.rb:190:in `block in upload'
	 4: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/package.rb:46:in `parse_file'
	 3: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/package.rb:74:in `extract_control'
	 2: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/tmpdir.rb:89:in `mktmpdir'
	 1: from /usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/package.rb:76:in `block in extract_control'
/usr/local/lib/ruby/gems/2.5.0/gems/deb-s3-0.10.0/lib/deb/s3/package.rb:76:in `read': No such file or directory @ rb_sysopen - /var/folders/8c/yh7rr_5s04g53m86j5b6ts3w0000gn/T/d20181017-72869-1boiz7s/control (Errno::ENOENT)

When I rebuilt the same package on Ubuntu Xenial it uploads fine.
On Ubuntu Bionic the dpkg-deb version is <IP_ADDRESS> (amd64).
On Ubuntu Xenial the dpkg-deb version is 1.18.4 (amd64).
It seems that control.tar.gz is called control.tar.xz in the newer version. The same is true for data.tar.gz which is now called data.tar.xz on Bionic.

Ran into this issue today as well

Seems to be fixed in #158

Ran into this issue today as well

I too ran into this problem today...
It seems this was never merged into the master branch (likely due to this no longer being maintained). That said, I went to my local installation of packages.rb (/Library/Ruby/Gems/2.6.0/gems/deb-s3-0.10.0/lib/deb/s3/package.rb on Mac) and copied the changes from this commit which resolved the issue for me (Mac OSX 10.15.5)


CORE-335 - Implement Airfield Charts

Note: Requires adding a new token to the .env file on prod
Closes CORE-335

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


Create Posts “use-effect-vs-use-layout-effect”

Automatically generated by Netlify CMS

👷 Deploy Preview for monetaboot processing.
🔨 Explore the source changes: d70b7f9cd2ed7cb08716c0800e2e5bae707b652a
🔍 Inspect the deploy log: https://app.netlify.com/sites/monetaboot/deploys/6239b98b440ab000081726e8


Data collection license clarification

This is a quote from the software license terms (emphasis mine):
Data Collection. The software may collect information about you and your use of the software, and send that to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may opt-out of many of these scenarios, but not all, as described in the product documentation.
I could not find the product documentation referenced to. I would like to suggest a clarification in the license terms that explains clearly, or points to a resource explaining clearly, what scenarios that a user cannot opt-out of.
Thank you!

@cup  All telemetry events are in our OSS source code. #34997 was the PR that initially introduced source code annotations for all telemetry events. Inside VS Code, you can also see in real-time  what telemetry events we send. This is from our FAQ:

You can inspect telemetry events in the Output panel by setting the log level to Trace using Developer: Set Log Level from the Command Palette.

The only telemetry information that is not in this repo is the telemetry endpoint.


Did not find any initialized language workers

i have azure function that works on .net-isolated , its working fine locally but when deploy it on azure portal and try to call the function i get error (Did not find any initialized language workers)
i have this on solution

net5.0
v3
Exe
<_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>

``<_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>` shouldn't be required.
Would you be able to share your function app name and a timeframe we can use to look at more detailed logging information?
Thanks.


[Bug] Can not decode some JPEG 2000 Lossless compression Dicom image with @cornerstonejs/dicom-image-loader

Describe the Bug
The library @cornerstonejs/dicom-image-loader might could not decode some JPEG 2000 lossless compression Dicom image.
I got the these messages on worker:

Steps to Reproduce

Open the image with cornerstone3d, I get the error as above. Link to dicom file: https://github.com/tuvm/dicoms/blob/main/dicom2_anon.dcm
Try to use the cornerstone-wado-image-loader library, the image is decoded and display well.

The current behavior
I think there is an issue inside the decoder but I am not familiar with c++. Could you help to resolve it? Thanks.
The expected behavior
Hope the new lib can decode the image.
OS
Ubuntu
Node version
18.12.1
Browser
Chrome Version 111.0.5563.64 (Official Build) (64-bit)

Hi @sedghi, please help me check this issue. Thanks.

I am using version 1.2.2, I see the new version 1.2.3 but it could not be download. Might be a publishing issue.

what error does it give

I can not download it. Just click to the version 1.2.3.
Yarn or npm still get ver 1.2.2 although dependency is set to 1.2.3

Successfull download ver 1.2.3 but it still could not decode the image.

Has anyone solved this problem? Version 1.2.4 still exists,

is this still an issue after Cornerstone3D 2.0 release?

Can you check the latest OHIF viewer, which now includes Cornerstone 3D 2.0?
Here are the migration guides:
Try OHIF locally: https://viewer-dev.ohif.org/localbasicTry Cornerstone3D 2.0 locally: https://www.cornerstonejs.org/live-examples/local.html
https://docs.ohif.org/migration-guide/3p8-to-3p9/


[MM-T664] /groupmsg initial tests

Summary

/groupmsg sends a group message to the recipients or to open a group chat.
Ticket Link

https://automation-test-cases.vercel.app/test/MM-T664
Related Pull Requests

Has server changes N/A
Has redux changes N/A
Has mobile changes N/A

Screenshots

/update-branch


Add Discord Notification Banner

resolves #1874
This PR adds a custom notification to the top of all pages prompting users to register for Discord. This PR also modularises this work and makes it generic enough that future notifications requiring detail / user-action can be implemented easily. Existing notifications for sys notices and dev environment notice continue to work as before.
Key Points:

This PR copies the same fix made in #1868 .
The notification is gated to Auth'ed users and users which do not currently have an active Discord registration. The notification will show after 3 seconds on page load.
Users can suppress the notification. If they have consented to cookies, this suppression lasts two days (see more on cookies below). If they haven't, instead of being shown 'Remind me in 2 days', users will simply see 'Close'.
The notification is pretty responsive, there are some niggles but for the most common scenarios (Phone, tablet and desktop) the notification adapts suitably.
On the homepage, due to the complicated page structure and nav overlays, it was simpler to have the notification overlay everything, including the navbar (on all other pages the nav bar moves down with the notification). However, I'd imagine that auth'ed users don't spend much time on the homepage so it shouldn't be an issue.

Cookies:
The JS file (which is by and large modelled on the cookie consent one) for the notifications handles the cookies and slideIn/slideOut mechanisms via JQuery.

The notification DOM element and the trigger link used to close / suppress the notification have a data attribute: data-top-notification-id. This is used to find the correct DOM elements and match the trigger to the notification so that it can be shown / hidden. This ID becomes the name of any given cookie for notification suppression and would be changed for each different notification
There is also another data attribute on the notification element, data-top-notification-cookie-expiration-days which allows you to set the cookie expiration period without having to modify the JS.
If the user has not consented to cookies the trigger message is changed by JS to simply say 'Close'. If not, the message is as per the original HTML. In addition, on close, no cookie (obviously) will be set to suppress the notification, and it will continue to show on every new page load.

2 days for cookie expiration has been chosen here because of the proximity to August 16th. Let me know if you want me to change it.
Screenshots

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


The novalidate attribute is not added to the  element

"If you want to disable HTML5 validation for a form, add a novalidate attribute to the form element"
https://davidkpiano.github.io/react-redux-form/docs/guides/validation.html
version: 1.0.13

Right, you have to add it yourself. It is optional, and many developers might not want to use novalidate, in order to show errors using the DOM API.

I got it to work.
The rrf documentation needs to updated, as it specifies "novalidate", whereas React requires it to be in camel case. ie. "noValidate" with a capital 'V'.

Fixed in the docs!

cheers : )
On Mon, Oct 31, 2016 at 3:06 PM, David Khourshid<EMAIL_ADDRESS>wrote:

Fixed in the docs!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davidkpiano/react-redux-form/issues/505#issuecomment-257210145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AU-j33OF6pTAENb-aXVUZN_krJgp74Koks5q5WlfgaJpZM4KkVEo
.


chore: Adds the 3.1.0 Release Notes

SUMMARY
This PR adds the 3.1.0 Release Notes (link to preview).
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

I want to help upgrading celery and its dependencies for this version,  is it allowed at this phase?

OK

META DB is missing in the release notes.

META DB is missing in the release notes.

@mdeshmu We didn't highlight this feature because it's still considered an experimental feature.


You can use object-fit: cover in CSS instead of this library if you don't care about old IE and Edge browsers

I was using this script for months until I discovered that object-fit: cover is working not only with <img>, but also with <video> 🤦♂
Maybe there are other people like me, so I'm leaving this information here.
More info: https://wesbos.com/css-object-fit
Browser support: https://caniuse.com/?search=object-fit

Nice find, didn't know it could do  tags. Noticed any quirks yet?


Support OSATE 2.12

Also requires supporting Eclipse 2022-03 and Java 17.

Resolved by f29f88a841bdd5b5fc293ff9aeb13e7749729cfd and prior commits.


Support all base value accessors

The missing ones are currently:

[x] NumberValueAccessor (can just exend the default accessor and override the change function)
[x] RangeValueAccessor (can just extend the default accessor and override the writeValue function)
[x] CheckboxValueAccessor
[ ] RadioControlValueAccessor
[x] SelectMultipleControlValueAccessor (only meaningful once #5 is implemented)

The radio one is a bit tricky since here we will have multiple form controls with the same queryParamName. This means we need to properly support using the same name on multiple controls.
(Edit: which should now work)

https://github.com/MrWolfZ/ngrx-forms/tree/master/src/view-adapter also implements custom accessors and is a good reference, though we mostly align with angular's implementation.

Greetings!
Are Radios still unsupported?

At the moment, yes, though of course this can be implemented outside of ngqp as well. I would think for the most part and implementation like Angular's can be more or less copied, change the selector for it and it should (hopefully) work.

A workaround is also to use a regular FormControl for the radio and manually wire it up with ngqp.

Oh, also note this only affects "vanilla" HTML radio buttons. If you're using some component library like Material, it'll already have a ControlValueAccessor and should work fine.


Fix: Get started button should link to pricing section

####PR Description
This PR links the Get Started button to the Pricing section
Fixes #753
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ ] I was the first one to claim the issue or I created the issue - I created the issue

slytherin20 is the person who claimed this issue, I cannot merge this in


datepicker layout may break with different fonts

defect

description
The current layout size is defined in pixels. Based on the font size this may cause the tiles content to wrap.
specs

DatePicker and DatePickerInput should expose a width prop which defaults to 200px (current value)
use FlexView from https://github.com/buildo/react-components
remove wrap form any element (maybe use ellipsis?)

remember to remove every flex property from css ( #87 )

@raven-bot stop coming back from the dead!
PS: no updates...


Cannot get my account to bridge (gnarlybear.mastodon.social.ap.brid.gy)

@bsky.brid.gy hello. This doesn’t seem to be working. I was able to follow my partner on Bluesky but I have followed your account on mastodon and I have still not populated for him to follow via gnarlybear.mastodon.social.ap.brid.gy which is accordance with the how to guide and documentation.
Are you able to assist?

Hey, sorry for the trouble! Have you looked at https://fed.brid.gy/docs#troubleshooting ?

The account was created yesterday according to mastodon.social, so it fails the "must be older than 14 days" test.
(There was a spam wave from Nostr through Momostr through Bridgy Fed onto Bluesky, so there's a rudimentary spam filter now.)
Bridgy Fed should be clearer about what's going on in those cases though, that's #758.

Thank you for the clarification. I will try again once my account has been
activate for the 14 day time period.
On Fri, Nov 15, 2024 at 3:35 PM Tamme Schichler @.***>
wrote:

Closed #1489 https://github.com/snarfed/bridgy-fed/issues/1489 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/snarfed/bridgy-fed/issues/1489#event-15317222825, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDGYNQ7XAUJSHUNG62XCQT2AZLI7AVCNFSM6AAAAABR33XYQGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGMYTOMRSGI4DENI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Added Date setting and validation

Nothing changed from before. Rebased onto the master so it should be solid.

i'm going to file an issue with some of the scrolling irregularities but will merge this


Multi monitor

What if i have more than 1 one monitor and i'm not choise the output monitor? it will record all monitor?

You have to choose a monitor, wf-recorder does not support recording all monitors.


Misplaced Tray Icon context menu

Since one of the recent commits dealing with tray icon, the behavior is as follows:
Do:
Right click SyncTrayzor's Tray Icon
Result:
The context menu is not expanded near the mouse cursor (as it does with all other applications), but is aligned to the bottom right edge of the screen instead.
Back in 1.1.8 (or 7) the behavior was correct.
OS - Windows 10 x64

Screenshot?
This part of the application hasn't changed in a long time, and uses a third-party component anyway, so whatever you're seeing has nothing to do with changes to SyncTrayzor.

Other application:

SyncTrayzor:

In both cases, the mouse pointer is located on the icon itself.
SyncTrayzor's behavior is the same (not correct) with both portable and install versions.
On Windows 7 the behavior is correct though.

What version are you running?

An official 1.1.10

OK, nothing has changed in that area since before the 1.1.7 days.

You are correct, I just grabbed 1.0.32 (portable) to test this, and it behaves the same as 1.1.10 does (incorrectly).
Probably the correct behavior I remembered in older versions was just pre-win10 and not synctrayzor-related...

Interestingly though, I tested 1.1.10 portable on a win10 VM, and the bug is not present there...
The weird thing is the on the machine which displays the buggy behavior, synctrayzor is the only application with such a behavior, and the bug is persistent for any type of synctrayzor's installation...

OK, so on the affected machine, I went through about 30 programs that can have tray icons, and found one more piece of software that displays the buggy behavior synctrayzor does.
I'm still not sure though who to blame here, maybe synctrayzor and the another program have some legacy piece of code in them that surfaces under certain OS's condition, or maybe its just another bug in the windows 10's UI shell (which is very much not bug-free) that misbehaves...

Just tried it on mine, and it works fine...
Just in case, mind trying this build? https://ci.appveyor.com/project/canton7/synctrayzor/build/<IP_ADDRESS>8/artifacts . It contains an upgrade to the library which provides the tray icon.

Tested the portable version, seems like it does the trick!

Awesome! That was flukey: I noticed there was an update so pulled it in. There's nothing in the changelog to do with your issue either.


Switched find_ips to sort by IP address for all outputs.

This resolves #27 by sorting the list of found devices prior to any of the enabled outputs.
Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Thanks for this !
I also rewrote the commit message, and you've made me aware of things I hadn't put in CONTRIBUTING.rst yet, so I've done that now :)
It's likely I'll make another release in the next few days anyway, so I'll wait till then to put this out.

You know, I actually read about good commit messages recently and totally forgot about it, it seems. My bad!

my commit messages aren't always great either :)

I didn't quite get to what I wanted to change, so I've made a release anyway :)
photons 0.32.2 - https://github.com/delfick/photons/blob/ccb10456f2f2d90a019cbdfa861c6dba35a0c2d8/docs/start/changelog.rst
interactor 0.7.8 - https://github.com/delfick/photons/blob/ccb10456f2f2d90a019cbdfa861c6dba35a0c2d8/apps/interactor/docs/changelog.rst


Fix typo in configuration

This just fixes a typo in one of the comments in the sample configuration file.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e8b197d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #5295   +/-   ##
=========================================
  Coverage          ?   37.38%
=========================================
  Files             ?      312
  Lines             ?    46313
  Branches          ?        0
=========================================
  Hits              ?    17314
  Misses            ?    26518
  Partials          ?     2481

Continue to review full report at Codecov.

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

@lunny, @techknowlogick: Thanks, that was quick :slightly_smiling_face:!


chore(deps): Combining multiple dependency update PRs into one

This PR is combining the dependency updates from the following PRs:
#510
#513
#515

🛠 Docs Preview Building...

Configuration
{
  "repoOverrides": {
    "apollographql/apollo-ios-dev@main": {
      "remote": {
        "owner": "apollographql",
        "repo": "apollo-ios-dev",
        "branch": "chore/dep-updates"
      }
    }
  }
}

5518b42b80aced5be1e6f19e505392821bb9047c


Interesting ISSUE: produces different bytecode.

I am also including the reproducible example.  here - https://github.com/novaknole/hardhat-bug/tree/second-bug (NOTE: branch is called : second-bug , not master.

run yarn to install dependencies.
go to hardhat.config.ts and replace PUT HERE by your private key of rinkeby.
take a look at ./contracts (T1, T2, Test2) contracts. They are super simple. Test2 imports T1, T2 and puts them in the constructor such as this:

 constructor(T1 first, T2 second) public {

    }

There's a deploy folder which uses deterministicDeployment:true.
go to ./contracts/T1 and notice uint x = 200 line. This is just a line that we will change to find the bug.

Okay.

change uint x = 200 to uint x = 400. and run yarn deploy --network rinkeby. T1, T2, Test2 will be deployed from scratch. if you run the command again, they won't be deployed again and console will say reusing. All good.
change uint x = 400 to uint x = 600 and run yarn deploy --network rinkeby. T1, T2, Test2 will be deployed from scratch again. all good
change uint x = 600 back to what it was uint x = 400. Now, T1, T2 don't get deployed again. it says reusing, which seems correct. but Test2 gets deployed again.

How ? I changed my code exactly to what it wa suint x = 400. So it shouldn't have deployed none of the contracts, but it still started to deploy Test2. what changed ?
Hope you followed the explanation..
I'd appreciate the answer to this problem and a fix...

HI @novaknole thanks for the report!
I just had a closer look and can see the issue, it seems the bug is that when a create2 deployments is found to already exist it does not update the deployment file fully if that one already exist

fixed in "0.7.0-beta.49"


Major performance problems and hangs around if statements in BatchLexer

(Original issue 1216 created by chipx86 on 2016-03-01T10:04:03.766383+00:00)
We've hit an issue where batch files containing if statements can result in extremely long processing times, with the possibility of hanging indefinitely. It doesn't take very much to trigger this behavior. Simply create a batch file containing:
if "!abcdefghijklmnop!" equ "" echo hi

Or:
if "%abcdefghijklmnop%" equ "" echo hi

This will take so long that it might as well not finish at all. (It does complete, but takes a while -- and I'll get into that more in a minute.)
There's no problem with this:
if "abcdefghijklmnop" equ "" echo hi

I spent a good amount of time digging into this. I can verify it was introduced in 2.1 with the BatchLexer work in 1bb2f7683bcb. The resulting regex that it's trying to process is:
((?:[&<>|]+|(?:(?:"[^\n\x1a"]*"?)|(?:(?:%(?:\*|(?:~[a-z]*(?:\$[^:]+:)?)?\d|[^%:\n\x1a]+(?::(?:~(?:-?\d+)?(?:,(?:-?\d+)?)?|(?:[^%\n\x1a^]|\^[^%\n\x1a])[^=\n\x1a]*=(?:[^%\n\x1a^]|\^[^%\n\x1a])*)?)?%))|(?:\^?![^!:\n\x1a]+(?::(?:~(?:-?\d+)?(?:,(?:-?\d+)?)?|(?:[^!\n\x1a^]|\^[^!\n\x1a])[^=\n\x1a]*=(?:[^!\n\x1a^]|\^[^!\n\x1a])*)?)?\^?!))|(?:(?:(?:\^[\n\x1a]?)?[^\n\x1a&<>|\t\v\f\r ,;=\xa0])+))+)(?:(?:(?:\^[\n\x1a])?[\t\v\f\r ,;=\xa0])+)?)(==)((?:(?:(?:\^[\n\x1a])?[\t\v\f\r ,;=\xa0])+)?(?:[&<>|]+|(?:(?:"[^\n\x1a"]*"?)|(?:(?:%(?:\*|(?:~[a-z]*(?:\$[^:]+:)?)?\d|[^%:\n\x1a]+(?::(?:~(?:-?\d+)?(?:,(?:-?\d+)?)?|(?:[^%\n\x1a^]|\^[^%\n\x1a])[^=\n\x1a]*=(?:[^%\n\x1a^]|\^[^%\n\x1a])*)?)?%))|(?:\^?![^!:\n\x1a]+(?::(?:~(?:-?\d+)?(?:,(?:-?\d+)?)?|(?:[^!\n\x1a^]|\^[^!\n\x1a])[^=\n\x1a]*=(?:[^!\n\x1a^]|\^[^!\n\x1a])*)?)?\^?!))|(?:(?:(?:\^[\n\x1a]?)?[^\n\x1a&<>|\t\v\f\r ,;=\xa0])+))+))

Okay, that's pretty unreadable, but it looks like it's a BatchLexer._stoken.
Adding some further debugging, I see that it's trying to run the above sample code snippet through numerous regexes, with the above just being the most expensive of them. However, this is after it's already properly parsed all the previous bits of the code and generated syntax highlighting for them. I'm not sure how this particular parser works, so maybe that's normal, but it seems like it's probably not.
I've found that the longer the variable name in that string, the longer the run time. For instance, on my system, with variations of that string in a .bat file and running time pygmentize test.bat:
if "!abcdefghij!" equ "" echo hi
1.10s user 0.08s system 92% cpu 1.274 total

if "!abcdefghijk!" equ "" echo hi
1.98s user 0.06s system 98% cpu 2.078 total

if "!abcdefghijkl!" equ "" echo hi
3.68s user 0.07s system 99% cpu 3.774 total

if "!abcdefghijklm!" equ "" echo hi
7.02s user 0.10s system 98% cpu 7.196 total

if "!abcdefghijklmn!" equ "" echo hi
13.79s user 0.12s system 99% cpu 14.004 total

if "!abcdefghijklmno!" equ "" echo hi
27.44s user 0.22s system 99% cpu 27.873 total

Hope that info helps, and I'll be happy to provide any more information I can. I tried to come up with a fix, but I don't know the logic for this well enough yet.

(Original issue 1216 last updated on 2016-03-02T07:39:02.028677+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by dscorbett on 2016-03-01T13:14:09.009028+00:00)
I rewrote BatchLexer and introduced this problem. I’ll try to fix it later today.

(Original comment by dscorbett on 2016-03-02T01:16:02.776056+00:00)
See pull request #563.

(Original comment by birkenfeld on 2016-03-02T07:15:48.720055+00:00)
Merged, is released as version 2.1.3.

(Original comment by chipx86 on 2016-03-02T07:39:02.022861+00:00)
Wow, thanks for taking care of all that so quickly! :)


Improve Forward Secrecy for MLSCiphertext encryption

We need a better way of handling encryption secrets for both application messages and HS messages:

For application messages we want immediate FS
For proposal of the same epoch we want to keep encryption keys until the epoch change

Blocked by #659.


Image Sorting

Can you please help me for sorting the extracted images from video. The extracted Images are not in sequence as per video playback.

Can you please help me for sorting the extracted images from video. The extracted Images are not in sequence as per video playback.

Finally got sorted result by Modifying the image_selector.py class
Here I applied sorted(variance_laplacians) & sorted(filtered_items) which gave me results images in sequence.

Can you please help me for sorting the extracted images from video. The extracted Images are not in sequence as per video playback.

Finally got sorted result by Modifying the image_selector.py class
Here I applied sorted(variance_laplacians) & sorted(filtered_items) which gave me results images in sequence.

after modifided iamge_selector.py class as you suggest, it doesn't seem  to work. Could you give more detailed code change?

@HuitMahoon, inside the image_selector.py class, I have sorted the return values, so:
return sorted(variance_laplacians) and return sorted(filtered_items)
The output images are in sequence.

@basakozsoy , After modified the return sorted(variance_laplacians) and return sorted(filtered_items), should I run "python setup.py install" to reinstall katna module?

@HuitMahoon No, simply saving the changes on image_selector.py is enough. You can run your own code afterwards.

@basakozsoy , Thanks a lot, it finally works for me. The output images are in sequence.
But I am still confused, the name of the output always just start from 0 to N, not the exact frame ID in the sequence.
In some scenarios, we may want to know the exact location of the output. Could you give me some tips about how to solve it?

Finally, by making some code changes, I successfully fulfill this function which is  to rename the output image file with its exact location in the sequences.


Add notifications features

Hi ownClouders :wave:
This PR adds notification features to the SDK, to meet the changes in the CS3APIs spec regarding notifications, namely:

The optional fields notify_uploads and notify_uploads_extra_recipients.

A notify field to signal the backend to send a notification on a share creation.

It also includes a a notifyShare method to shareManagement that is used by web to send a notification reminder for a share.
These changes are already being used by the CERNBox web.

The new code looks good to me. However, please undo the changes you did regarding the versions and the changelog items (except for the new changelog item of course).
After this PR has been merged we can create a new release in #1192.

Not sure how those 5 commits got in there, I did not upload them. The original PR only included the one that I've just force pushed again now.
Sorry for the confusion, let me know if this is what you meant or I have to fix it some other way!

Done!

@javfg I've released 3.1.0-alpha.5 of the sdk which includes your change.

Thanks for the speed @JammingBen! We'll revert the web back to using upstream instead of our fork then.


Used car price estimation: 96% accuracy #175

#175

@Jayshah6699 review this

@Jayshah6699 review this

@Jayshah6699 review my pr

@Jayshah6699 review my pr

name that folder used car prediction first.

name that folder used car prediction first.

@Jayshah6699 done

@Jayshah6699 done

I am unable to see your uploaded ipynb file.

I am unable to see your uploaded ipynb file.

@Jayshah6699 let me know if there is a problem in my files I will make a new or

@Jayshah6699 let me know if there is a problem in my files I will make a new or

I am talking about the preview of ipynb file.

I am talking about the preview of ipynb file.

it is happing because file is to large

it is happing because file is to large

@Jayshah6699 i can share screenshot if you want

@Jayshah6699 i can share screenshot if you want

Mate I do not understand your predictions and not able to see the ipynb file...

Mate I do not understand your predictions and not able to see the ipynb file...

you are not able to preview it because of its size should I share it on discord

you are not able to preview it because of its size should I share it on discord

@Jayshah6699 please refer to this for preview
https://github.com/kenkirito/carprediction

@Jayshah6699 please refer to this for preview
https://github.com/kenkirito/carprediction

Can you decrease the notebook size?

Can you decrease the notebook size?

i will try

i will try

@Jayshah6699 not able to reduce notebook size

@Jayshah6699 not able to reduce notebook size

Work on that a little bit and tell me what are the fields in the prediction(is it car's predicted price in the lakhs or something else)?

Work on that a little bit and tell me what are the fields in the prediction(is it car's predicted price in the lakhs or something else)?

https://github.com/kenkirito/carprediction

https://github.com/kenkirito/carprediction

data set is huge so getting this error and I have also used so many models for precision and increase my accuracy

data set is huge so getting this error and I have also used so many models for precision and increase my accuracy


Update scalameta to 4.4.5

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

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

labels: library-update, semver-patch

Superseded by #172.

Superseded by #172.


Compatibility with popular codebase

Appreciate your work to provide the first real-world cooperative perception dataset! I am wondering whether there is any possibility of making the dataset compatible with the current popular codebases, such as OpenPCDet or MMdet3D?

We have provided the API to convert the dataset into other format like Kitti.


Fix linkDecorationHandler targeting (closes #1002)

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

I signed it!

Confirmed! @philipherrmann has signed the Contributor License Agreement. Thanks so much.


stack presentation library not working under d<IP_ADDRESS>-alpha.50.min.js

I use your stack presentation library, but it's no longer working under 4.0. Will there be a fix or an alternative eventually?

Duplicate of mbostock/stack#24.


Initial work on OSD architecture

This is an initial work to document the architecture used in the charms.
Wainting for #8 to be merged

👍 merge it!


Pair-HMM realignment: getting memory usage under control

Hello Peter,
First of all, thank you for this beautiful piece of software.
Unfortunately, I am often running out of 120 GB of memory during pair-HMM realignment with ~30x coverage human ONT-sequenced and minimap2-aligned genomes:
Calling initial genotypes using pair-HMM realignment...
Command terminated by signal 9
Command being timed: "/root/.cargo/bin/longshot --bam PC9.sorted_MD_RG.bam --ref GCA_000001405.15_GRCh38_no_alt_analysis_set.fna --out output_longshot_PC9/PC9_longshot.vcf"
Are there "official" recommendations to trade memory requirements for running time and/or CPUs? I would not like to sacrifice accuracy but do not require phasing.
Thanks in advance
Dmitriy

Longshot doesn't have significant memory requirements and should not typically be using such a large amount of memory. Have you tried running it on individual chromosomes/contigs using the --region option?

The previous example works with ~124 GB memory:
Maximum resident set size (kbytes): 124556572
Indeed it seems that there are cases when memory usage explodes.
Interestingly, I mostly see this in cancer cell lines rather then humans.
I will try to narrow down the problem.

Hello Peter,
I made a rough memory usage plot with the above mentioned sample and parameters, on an instance with 122GB of memory:

Not sure why the memory consumption jumps up and down in between, the point is that the memory consumption suddenly jumps and longshot crashes.
Here is the same for consecutive runs with --region parameter, chromosomewise (and some missing data in the beginning):

Memory consumption remains under control, so your workaround works for me, thank you.
I still see the problem only in cancer cells and not in healthy human tissue.
For practical purposes, I am now calling cancer cell lines with -v parameter and call references anyway, as SNP calling without given positions is difficult in general, with both long and short reads.


Only generate/write file from template if it does NOT exist yet?

Is there a way to make Sourcery generate/write to certain file path if it does not exist yet ONLY?

Okay, got it. Thanks @ilyapuchka

Does anyone has succeed doing this ?
We're using TCA and i want to generate a full module with separated files.
Module+View
Module+Reducer
Module+Generated.
But i only want Module+Generated to be overwritten each time we execute sourcery. The other files need to be created only it they don't exists.
Maybe there's a // sourcery:no-override:file:{{ scope.localName }}/{{ scope.localName }}+View.swift parameter i'm not aware of ?

@Pwyll28
I have not implemented something like this but here is my idea.
Assuming that your code is under git version control.
You can run sourcery and after it you can discard modified files that has .generated substring in their names. Hence only new files will be left.

Sounds to me like you want to run Sourcery in bootstrap/generator mode for those files, I use that as a separate workflow where you can kick off a template from some Source data, rather than CLI integration.
Also, this is the modus operandi for Sourcery Pro Xcode Extension albeit that can't generate new files due to Xcode plugin system limitations.
If you wanted to contribute something like this @Pwyll28 I'd be open to merging it


'table_name'  password popup when checking tables of schema

After connecting to my MySQL DB server (through ssh tunnel, but it also happens without ssh), looking for the schema I want to use, and clicking in the tables button, I am asked with a prompt to enter a password:

if I enter the password of the sql server, I'm prompted with the same window, if I enter anything else a popup asking for my password is shown.

I'm using OmniDB 2.13.0 for Windows

Hi @hectoryo ,
Thanks for reaching out. What is the version of MySQL you are using?
Regards,
William

Hi @wind39
This is the output of the versions using MySQL, if you need more datails, ask me.

Variable_name
Value

innodb_version
8.0.12

protocol_version
10

slave_type_conversions

tls_version
TLSv1,TLSv1.1,TLSv1.2

version
8.0.12

version_comment
MySQL Community Server - GPL

version_compile_machine
x86_64

version_compile_os
Linux

version_compile_zlib
1.2.11

Hi @hectoryo ,
Just to let you know that I was able to simulate the issue in MySQL 8.0:

OmniDB 2.13 only supports MySQL 5.6 and 5.7. We will work on adding support to MySQL 8.0 for next release (2.14), which should go out on February.
I'll let this issue open so you will be notified.
Best regards,
William

Hi @hectoryo ,
We released last week OmniDB 2.14 with improved support for MySQL 8.0. Can you please give it a go and provide your valuable feedback?
Thanks in advance,
William

Hi @wind39 ,
I've updated to OmniDB 2.14 and now I can see my tables and their data without problem. 👍
I've noticed though when making queries to larges databases the IDE  tell you that only 50 rows where fetches and there is a button to fetch more, and another to fetch all. that query of 50 rows takes the same amount of time tan fetching all, so I ended waiting for a small query.
Also, when going to the bottom of a large query it appears some visual glitches

If you want, as this seems unrelated to the original problem of this issue, I can open a new one.
Thanks
Héctor

Hi @rafaelthca ,
The issue reported by @hectoryo in his last message is high priority issue in web interface. Please check.
Thanks and regards,
William


[flash] crash

crash when closing the server before closing the client on mphx.client.tcpFlashClient.hx
    public function isConnected():Bool
    {
        return m_client.connected;//cnx != null && cnx.isOpen();
    }

must be :
    public function isConnected():Bool
    {
        return m_client!=null && m_client.connected;//cnx != null && cnx.isOpen();
    }

Oh, yeah. Sorry, I think I Changed that when I was trying to get it to work. Meant to change it back. I have seen all, this issue, thanks! I just need to find time to be able to jump on my computer. I'll try to work with your suggestions this weekend. Thanks!

On 17 Mar 2016, at 1:36 am, yannsucc<EMAIL_ADDRESS>wrote:
crash when close the server before close the client on mphx.client.tcpFlashClient.hx
public function isConnected():Bool
{
    return m_client.connected;//cnx != null && cnx.isOpen();
}

must be :
public function isConnected():Bool
{
    return m_client!=null && m_client.connected;//cnx != null && cnx.isOpen();
}

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

https://github.com/5Mixer/mphx/pull/21
fixed with this pull request :


Screenshot with display flex is not working

Hi
Prepared a webpage with display flex it does not shows the given html element

Can you provide an example?

I tried taking screenshot of the website
http://rocketium.com/capsules/winterswolf/the-best-walking-cities-in-the-world
But blank screen comes up

I was able to take a screenshot of the page that was not blank. Please post the code you are using, your horseman version, your PhantomJS version, and your Node.JS version @sbsomya.

var Horseman = require('node-horseman');
var horseman = new Horseman({phantomPath : require("phantomjs2").path});
horseman
.userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0')
.viewport(560,800)
.open('http://rocketium.com/capsules/winterswolf/the-best-walking-cities-in-the-world#1')
.wait(10000)
.screenshot("./public/capsules/image_1.png")
.close();
With phantomjs2
horseman latest
node js 5.9

My screenshot worked because I had no .delay(). When the page tries to animate it decides PhantomJS does not support CSS animations and shows nothing. If you look at the HTML of the page after the delay, you will see this:

Your browser does not support CSS animations.

The problem @sbsomya is that the page is trying to use functions which are missing in PhantomJS's JavaScript environment (in particular String.prototype.startsWith).
I was able to make the page animations work with polyfilling.
var Horseman = require('node-horseman');
var POLYURL = 'https://cdn.polyfill.io/v2/polyfill.min.js';

var horseman = new Horseman();

horseman
    .userAgent()
    .then(function(useragent) { // Polyfill based on the real UserAgent
        var self = this;
        return self.on('initialized', function() {
            return self.includeJs(POLYURL + '?ua=' + useragent)
        });
    })
    .userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0')
    .viewport(560,800)
    .open('http://rocketium.com/capsules/winterswolf/the-best-walking-cities-in-the-world#1')
    .wait(10000)
    .screenshot("./public/capsules/image_1.png")
    .close();

The above code produces a non-blank screenshot.

Thanks a lot the pollyfill thing worked :+1:

Do you think it would be good to consider building polyfill support into horseman @johntitus?

Seems like a good idea, depending on how hard it is. The loadFinishedSetup
you made looks like a good place to inject it.
On Wed, Apr 20, 2016 at 1:48 PM, Alex Layton<EMAIL_ADDRESS>wrote:

Do you think it would be good to consider building polyfill support into
horseman @johntitus https://github.com/johntitus?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/johntitus/node-horseman/issues/164#issuecomment-212532679

HI
Prepared a html file

And phantomjs code as
var Horseman = require('node-horseman');
var POLYURL = 'https://cdn.polyfill.io/v2/polyfill.min.js';
var horseman = new Horseman();
horseman
.userAgent()
.then(function(useragent) { // Polyfill based on the real UserAgent
var self = this;
return self.on('initialized', function() {
return self.includeJs(POLYURL + '?ua=' + useragent)
});
})
.userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0')
.viewport(560,800)
.open('./public/demo.html')
.wait(10000)
.screenshot("./public/capsules/image_1.png")
.close();
I am getting the flower image instead of the skeleton image
Means the code inside the startsWith if loop is not working somehow
Can you help me with this thing

html file as
image with src as image1
if("somya".startsWith("som")){
        document.getElementById("dummyImage").src = "image2";
    }

And phantomjs code as
var Horseman = require('node-horseman');
var POLYURL = 'https://cdn.polyfill.io/v2/polyfill.min.js';

var horseman = new Horseman();

horseman
     .userAgent()
     .then(function(useragent) { // Polyfill based on the real UserAgent
              var self = this;
              return self.on('initialized', function() {
                  return self.includeJs(POLYURL + '?ua=' + useragent)
              });
       })
       .userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0')
       .viewport(560,800)
       .open('./public/demo.html')
       .wait(10000)
       .screenshot("./public/capsules/image_1.png")
       .close();

The image 1 only comes in the screenshot instead image 2 should come
Means the code inside the startsWith if loop is not working somehow
Can you help me with this thing

The polyfilling the way I did it does not necessarily finish before the page's JavaScript starts running. I was aware of that, which is why I was thinking horseman should have it built in. Making it happen before the page's code would be more complicated and probably require changes to horseman.

I think I found a way to inject the polyfill before any of the page's JavaScript runs @sbsomya and @johntitus.
As far as I can tell it works, but it is.... not pretty. When I run it String.prototype.startsWith is polyfilled when the HTML loads (i.e., my console.log prints). I ended up downloading the code of the polyfill, then running it synchronously in PhantomJS (not Node.JS) when the initialized event fires.
If you find something wrong with this, or think of a nicer way to achieve this, please let me know.
var Horseman = require('node-horseman');
var POLYURL = 'https://cdn.polyfill.io/v2/polyfill.min.js';

var horseman = new Horseman();

horseman
    .userAgent()
    .then(function(useragent) { // Get Polyfill based on real UserAgent
        return this.download(POLYURL + '?ua=' + useragent);
    })
    .then(function(polyfill) {
        // Make polyfill into function
        var polyfun = new Function(polyfill);
        // Wrap function in evaluateJavaScript
        var onInit = new Function(
            'console.log("onInitialized");' +
            'page.evaluateJavaScript(' + polyfun.toString() + ')'
        );
        // Call before page loads
        return this.at('initialized', onInit);
    })
    .userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0')
    .viewport(560,800)
    .open('i164.html')
    .wait(100)
    .reload()
    .wait(100)
    .close();

i164.html#

Closing, since this is more of a PhantomJS issue. Also, I opened #230 which would hopefully help this sort of thing.