Fix signing of Jython dependency on MacOS

Fixes #4568.
This dynamically patches the Jython package at upload time, to replace a library by our own build of it.
This is a stop-gap measure to unblock the signing of the MacOS DMG package for the upcoming release.
I am hoping we can get rid of it soon once https://github.com/jnr/jffi/issues/123 is closed.
This will only be properly tested once the PR is merged in master since the packaging pipeline requires secrets which are not made available to pull requests for security reasons.
It is very well possible that Apple notarization still fails with this, because their tooling reports errors as they are encountered (meaning that solving this particular error might uncover others). In this case, I will disable notarization again and investigate the following problem, to preserve the greenness of the CI.

Merging to see if it works - happy to revert if people have concerns with this approach!


Create postorder_traversal.cpp

this program gives the post order traversal in a binary search tree
Description of Change

Checklist

[ ] Added description of change
[ x] Added file name matches File name guidelines
[ ] Added tests and example, test must pass
[ ] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[ ] Relevant documentation/comments is changed or added
[ ] PR title follows semantic commit guidelines
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[x ] I acknowledge that all my contributions will be made under the project's license.

Notes:

@Panquesito7 can you review my code for post_order_traversal.cpp again i made some changes


STOMP Protocol

I'm not able to connect with STOMP protocol, I need to enter login and passcode somewhere, any ideas how I can do that?
My connection is secured wss
Is that possible to do with starscream lib?

I actually didn't know that such protocol exists.
Right now this library doesn't support it. As far as I understood from this thread https://stackoverflow.com/questions/40988030/what-is-the-difference-between-websocket-and-stomp-protocols that it can be built on top of WebSockets.
Maybe you can come up with proof of concept and we can check if and how we can integrate it. But in general this library is kept very concise.

STOMP is a small protocol on top of ws.  I wrote a basic STOMP layer for java and swift several years ago.  The code to implement was only about 30-40 lines.  The spec can be found here:
https://stomp.github.io/
We went away from STOMP, and now use a custom messaging protocol on top of ws.

@gfl3 is correct. You can use Starscream for creating a STOMP library and I believe a few already exist that use Starscream under the hood.


how does it support nodejs 4.5?

This module is not working on nodejs 4.5

Could you paste the error message here? Would you like to submit a pull request?


Build for iOS and Android

Task

Check out this branch: https://github.com/thenewboston-developers/thenewboston-mobile/tree/sdk-integration
merge development into the branch
Fix the app such that the app can be built for both android and iOS development.
Update the README with instructions on how to build for both platforms

Acceptance Criteria:

I should be able to follow the directions in README and successfully build the app in both iOS and Android emulator

👋

Is vanilla React-Native a requirement or can Expo be used as well?

@Chuckinator2020 we are using vanilla react native.


Consolidation of the programming exam info resolves #146

This brings all the available info for the programming exam to github.
It also adds a section for using Linux for the exam
resolves #146

@Truthwatcher64 Can you update the PR description to specifically say "resolves #146"? That special keyword links the this PR to the Issue so that they are closed together. Unfortunately, I don't have permission to make that edit myself, and the special keyword is only effective if it's in the PR description (not in a comment like this).

@Truthwatcher64 I see that you changed the title of the PR, but can you change the description?

This is really good and has great information in it. It is really good to get this all in one place and make it easy to maintain and update and so I am excited to get it into GitHub. It is also something that is really important to get right. Perhaps we should get multiple reviewers on this before we finalize it.

@Truthwatcher64 - Now that we have passed the last retake, I think we can merge this. Do you want to resolve @frozenfrank 's comments? Also this seems to be a dead page. There is a link to @jerodw's schedule, but I believe we want to make this part of the core instruction. Can we add a link from the modules page?


Adding several attribute editors

Adding editors for fertility, refractory rate, and anal wetness.
Also fixed some alignment issues on the body page

Looks good to me.


RectangleArena.wallColor is ignored

The wallColor field of the RectangleArena proto seems to be useless (not used, not affecting the color) and should be removed or deprecated.

Same for wallTileSize.


Code cleanup - Getting headers

Currently all functions starts with the same block
    if (-not [string]::IsNullOrEmpty($Organization)) {
        $OrgInfo = GetADOPSHeader -Organization $Organization
    }
    else {
        $OrgInfo = GetADOPSHeader
        $Organization = $OrgInfo['Organization']
    }

The thought was that we might in the future include more data in the header object and therefore it made sense.
That hasn't happened.
So: Is it worth the trouble of removing / refactoring this for all functions and instead only have something like
 if (-not [string]::IsNullOrEmpty($Organization)) {
   $OrgInfo = GetADOPSHeader
   $Organization = $OrgInfo['Organization']
}

Pro: Cleaner
Con: If we actually do ever add more data to the header object / login, we need to reintroduce it.

True, good catch. Thank you!


strict:false croparea shift

v0.9.1
When setting strict:false, the coordinates of the cropbox shift:

cdata: Object
  height: 37
  left: 223.5
  top: 93.625
  width: 58

which theoreticly could be adjusted, i.e. :
var canvasData2 = $image.cropper('getCanvasData');
var cropBoxData2 = $image.cropper('getCropBoxData');

var x1=cropBoxData2.left-canvasData2.left
var y1=cropBoxData2.top-canvasData2.top

this helps with small pictures, but if the picture is larger then the container, this fix fails.

Why don't you just use the strict mode?

Because then the picture is zoomed then. See https://github.com/fengyuanchen/cropper/issues/245.
The issue isn't closed.


fix spark write example inside README

sparkSession has now write function but dataframe has

Hello @TheHendla,
Thanks a lot for fixing this! I am going to merge it.
Please let us know if you have any other feedback!


v1.4.1 broke GeneralImprovements's quota rollover

v1.4.1 introduced a change that broke the quota rollover option of GeneralImprovements.
If the quota is reached, SellMyScrap will force it to be finished which resets the profit.
[Debug  :GeneralImprovements] Updated time display.
[Info   :GeneralImprovements] Updated days since death display.
[Info   :GeneralImprovements] Updated profit quota and deadline monitors
[Info   :com.github.zehsteam.SellMyScrap]

GetOvertimeBonus();
daysUntilDeadline: 5
overtimeBonus: 110

[Info   :com.github.zehsteam.SellMyScrap]

SyncNewProfitQuotaClientRpc();
daysUntilDeadline: 5
overtimeBonus: 110

[Info   :com.github.zehsteam.SellMyScrap]

SyncNewProfitQuotaClientRpc();
daysUntilDeadline: 5
overtimeBonus: 110

[Debug  :me.loaforc.soundapi] Audios:UIAudio:ReachedQuotaSFX == *:UIAudio:ReachedQuotaSFX?
[Info   :GeneralImprovements] Applying surplus quota to fulfilled: $0
[Info   :GeneralImprovements] Applying surplus quota to fulfilled: $0

@ProjectBots This issue should be fixed in update 1.5.0+, f99b9f3
Set the overrideSetNewProfitQuota config setting to false to apply the fix.

This has now been fixed by default in the lastest release v1.5.13+, 82f8e31


Question about websocket::stream::async_read_some behavior

Beast version: Boost 1.68
OS: Ubuntu 16.04 / Windows Server 2016
I have Beast WebSocket server application that receives/transmits fairly large websocket messages in stream mode. When
receiving it uses websocket::stream::async_read_some with a flat_buffer and 256k size limit. The received buffers are
immediately (in the completion handler) forwarded on channel which has large per operation overhead so large buffers are
preferred compared to small ones.
To test the server I use a Beast based synchronous websocket client with websocket::stream::write_some method and auto_fragment
turned off. As I understand this creates 1 frame per call (correct me if I'm wrong!). When I transfer an 50MB message
with various frame sizes I observe the following:

8k frame size: async_read_some returns with ~7k, ~1k sizes periodically (7,1,7,1...) where the sum of ~7k+~1k = 8192
128k frame size: same behavior, but the buffers are ~127k, ~1k

Questions:

why do I receive the frame in 2 calls (even small ones)? How can I avoid this?
I don't have control over the fragmentation done by the clients in production, how can I instruct Beast to hand me over
all data that's available without blocking?

I assume at frames sizes as low as 4k, the data available at TCP level is enough for more than 1 frame. Also, data needs to be
forwarded in a timely manner, so I can't call async_read_some repeatedly until my desired buffer size
reached, as this would eventually block.
Any help is much appreciated!
Great library by the way!!!

Is there any way we can set up a test harness to see what's going on?

The basic idea is to forward websocket frames as they arrive, maintaining an interactive rate. If there's a 5 second gap between frame N and N+1, then N must be forwarded immediately in the completion handler, and not wait for N+1. But if both frames are really small (say few kb's), and both are immediately available (async_read_some for N+1 would complete in a few millisecs) then - because of the per message overhead in the receiver - I would like forward them as one message.
From code point of view: in the async_read_some completion handler I have the following dilemma:

should I forward the received data immediately (maintain interactive pace, but increase overhead due to potentially small messages)
or should I call async_read_some again (increase message size, but potentially block and loose interactivity)

TCP non-blocking mode would solve that, but as far as I know that's not compatible with websocket::stream.
If it's not generally possible to solve this with Beast, then receiving a singe frame in a single call would still halve the overhead that I experience now (1st question in original post).
I'll craft some example code to demonstrate my observations.

The basic idea is to forward websocket frames as they arrive

Do you mean forward them to the completion handler, or do you mean forward as in - you are building a websocket router which sends the frames to another remote peer?

Send frames to a remote peer.
I created a small example here: https://gist.github.com/hoditohod/af71163eb6822f8964188b81482a5d45
And attached some execution results (showing frames delivered in multiple calls). The ZeroMQ parts are only there for illustration, only Boost is needed for the build.
I hope it's more clear what I try to achieve. ~An image~ code tells a thousand words. :)

Thank you. Will investigate.

Hi, is there any progress on this? Why it takes multiple calls to async_read_some to return a singe frame?

Why it takes multiple calls to async_read_some to return a singe frame?

Because this is how async_read_some works(). If you want one frame at a time, use async_read()

😄 async_read returns a whole message, I'm talking about frames. Please have a look at the linked gist with the example and execution results. async_read_some fragments even small 8kbyte WS frames into 2-3 calls.

I went through the documentation again, and peeked into the code. For some reason I had the impression that websocket::stream::async_read_some returns one websocket frame per call. This is the case for async_write_some: it transmits a whole frame, but read works differently. As I understood the code the first part of the frame is always read into websocket::stream::rd_buf_ which is static 1536 byte, that's why I see 1500ish values in the first completion handler, and the later transferredBytes of the frame basically depend on ASIO tcp::socket::async_read_some, which returns as many bytes as it sees fit. :)
I got just one more question before closing this issue: does Beast.Websocket provide any means to observe frame boundaries? The control_callback allows me to observe everything except actual data frames.

does Beast.Websocket provide any means to observe frame boundaries?

No. And a program should not rely on frame boundaries, as intermediates such as proxies (and Beast itself) are free to reframe messages any way they want.


Serialization options SnakeCaseLower issue with request query strings

When I add SnakeCaseLower. It makes everything correctly snake case, including the request query string parameters in the documentation. But when I send a request to the endpoint it does not deserialize it correctly.
In the following example comments_url does not work but commentsUrl works. It is most likely due to model binding being different to Json Serialization settings. But in that case the documentation should not be changed as well for query parameters.
Any recommended way of fixing this?
Ideally it keeps the name in the documentation and what it binds to consistent.
o.Serializer.Options.PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower;

            endpoints.MapFastEndpoints(o =>
            {
                o.Versioning.DefaultVersion = 1;
                o.Versioning.Prefix = "v";
                o.Versioning.PrependToRoute = true;
                o.Serializer.Options.PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower;
                o.Endpoints.RoutePrefix = "API";
             }

 // Example request class
public class PostCommentsRequest
{
    public string CommentsUrl { get; set; }
    public int? Page { get; set; }
}

It makes this as follows in the documentation:
Query Parameters
comments_url string required
For now - To solve this I have used [BindFrom("comments_url")]
Still think this is a bug, as the documentation and the model binding are inconsistent if you just use the naming policy.

there's a setting you can turn off which will prevent the json naming policy from being used by swagger:
.SwaggerDocument(o => o.UsePropertyNamingPolicy = false)

this is usually not a concern with camel case and pascal case naming, because the binder ignores case altogether for non-json binding sources. it becomes an issue for snake case though because the name is a completely different string and you must use the [BindFrom(...)] attribute to instruct the binder what to match with.

But wouldn’t that change the request and response body properties also?
I prefer snake case in my jsons. Those I don’t have a problem with. The
only issue is model binding.
On Tue, Dec 24, 2024 at 21:00 Dĵ ΝιΓΞΗΛψΚ @.***> wrote:

there's a setting you can turn off which will prevent the json naming
policy from being used by swagger:
.SwaggerDocument(o => o.UsePropertyNamingPolicy = false)
this is usually not a concern with camel case and pascal case naming,
because the binder ignores case altogether for non-json binding sources. it
becomes an issue for snake case though because the name is a completely
different string and you must use the [BindFrom(...)] attribute to
instruct the binder what to match with.
—
Reply to this email directly, view it on GitHub
https://github.com/FastEndpoints/FastEndpoints/issues/854#issuecomment-2561612229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCX5GZAAH4TY25MFDSR3ID2HI3WZAVCNFSM6AAAAABUE72SR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGYYTEMRSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

okay... the behavior has been changed starting v<IP_ADDRESS>-beta.
see changelog for details.

Hey, thanks for the quick turn around on that.
I tried this beta release and it still does not bind properly. Here is my setup. Without the attribute BindFrom the CommentsUrl is empty, with it, it has the value that I pass.

    [BindFrom("comments_url")]
    public string CommentsUrl { get; set; }

endpoints.MapFastEndpoints(o =>
            {
                o.Versioning.DefaultVersion = 1;
                o.Versioning.Prefix = "v";
                o.Versioning.PrependToRoute = true;
                o.Serializer.Options.PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower;
                o.Binding.UsePropertyNamingPolicy = true;
                o.Endpoints.RoutePrefix = "api";
                o.Endpoints.Configurator = c =>
                {
                    c.AuthSchemes(ApiKeyAuth.SchemeName);
                    c.Throttle(3, 1, ApiKeyAuth.HeaderName);
                    c.Description(b =>
                    {
                        b.ClearDefaultProduces(403);
                        b.ProducesProblemFE(429);
                    });
                    c.PreProcessor<CreditCheckPreProcessor>(Order.Before);
                    c.PostProcessor<GlobalExceptionPostProcessor>(Order.After);
                    c.PostProcessor<CreditPostProcessor>(Order.After);
                };
            });

just got hit with a bad flu. will have a look as soon as i'm better.

Feel better soon! Thanks for looking into this.

looks like i missed a few spots.
pls try again with v<IP_ADDRESS>-beta.
do note the new setting is now disabled by default.
seems it has a far reaching impact than initially thought and it's going to break a lot of things for existing projects.
so the setting will be opt-in for fresh projects.
please give it a thoughrough test if you can. still feeling a bit delirious from the fever 😜


Pure cmake compilation does not install headers

Using cmake directly with make, make install installs bin/, lib/ but no include/ for the interfaces.

thanks, will integrate it with the next version.

This should work now. Thanks again for the hint!


Memory Leak on iOS 10.1.1

I added NetworkActivityIndicatorManager.shared.isEnabled = true in application:didFinishLaunchingWithOptions: in my AppDelegate and when I profile my app to check for memory leaks, Instruments indicates that there is a leak in NetworkActivityIndicatorManager on NSLock object.
I attach the stack trace of leak.

Hi @giofid,
Thanks for reporting. I've been able to reproduce the issue in Instruments. Unfortunately there's nothing we can actually do here. It appears to be a bug either in Instruments, the compiler or the runtime. I've submitted rdar://29346787 along with the following sample project. Hopefully we'll get some traction from Apple.

DaTesta.zip
DaTesta Leak.trace.zip

I'm going to close this issue out since there's nothing else we can do here.
Thanks again for reporting. 🍻


Include output option to cli compile command

Summary or solution description
Added the option to choose where the compiled files will be generated and its name.
How to Reproduce
neo3-boa compile .\path\to\sc.py -op .\another\path\here.nef

neo3-boa compile .\path\to\sc.py --output-path .\another\path\here.nef

Tests
Was tested locally, another issue will implement cli tests on this project.
Platform:

OS: Windows 10 x64
Python version: Python 3.8

Coverage: 91.417% (+0.06%) from 91.356% when pulling 2e2b4b9ba5115454a7213bf5ce38f5bbfe05e1c4 on CU-864edn6x8 into 62ae97e40ec839a8a0f93f073550f26435f2a0b1 on development.


CSS for ui-select (selectize)

Forgive me if this is the wrong place, but is it possible to apply custom CSS to these? If so, how is it done?
Thanks in advance.

Hi there, actually i was wondering the same ...what is the best/recommended way to actually stylize this component ??

Closing as a support issue.


Pin versions in AMD Docker

The Docker build used in AMD's Llama-2-70b inference results worked properly at the time of submission.  But versions of certain dependencies were not pinned, and changes in these upstream dependencies in the past few weeks have caused the Docker build to fail.
This PR updates the docker build to pin these dependency versions to the same versions/revisions that were used for the actual submission.
In addition, the run instructions and scripts assumed that shell scripts inside the container were executable.  That was the case in our internal repo, but not in the official MLPerf results repo.  The instructions and scripts have been updated to run the scripts via bash so that they don't have to be executable.
Finally, the run_scenarios.sh script referenced a package submission tool which was not distributed as part of the actual submission and therefore generated an error.  This has no impact on the results themselves.  The run_scenarios.sh script has been updated to remove the call to this tool.  AMD looks forward to providing such a tool in the future to simplify the process of preparing MLPerf submissions, but it is not ready for release in its current form.

recheck


Cannot share assets between flutter and native

If you're creating an app that has native and flutter components there is no way to share images or fonts between flutter and android/ios. This means that assets needed on both sides will have to be included in the binary twice and that could be expensive.

Posse has identified this as a launch blocker

Another reason to eliminate FLX? https://github.com/flutter/flutter/issues/9900

@tvolkert volunteered to take this one

Priority has been adjusted, I removed customer blocker tag. Hopefully the extra breathing room will let us do this in the "right way" even if it takes longer.

I believe this came up again, in this Stack Overflow question: https://stackoverflow.com/questions/45428388/how-to-display-an-html-asset-file?utm_source=dlvr.it&utm_medium=twitter
(there may be different solutions to the problem, but it might be easier if the .html file bundled with the app wasn't stuck inside the FLX?)

yes, we should just get rid of the FLX.

Leaving in current milestone since dropping FLX is on our short-term priority list.

cc @szakarias

Related #11892.
@szakarias any updates?

@szakarias was this fixed by flutter/engine#4742?

@tvolkert https://github.com/flutter/flutter/issues/11019....am getting confused now about this asset issues all over...

am also looking forward to being able to upload bulk images at once and dont need to do it one by one like its currently being handled...

@szakarias with the asset re-work, we should be moving towards the goal of storing our assets in the locations that the underlying platform would otherwise store them.  e.g. for Android,
res/
    drawable/
    drawable-hdpi/
    drawable-mdpi/
    drawable-xhdpi/
    drawable-xxhdpi/
    drawable-xxxhdpi/

There a suites of tools for packing, optimizing, and so forth an app's final bundle that gets distributed through app stores, and they all assume a certain layout of assets.  Our current layout, harking from the days of FLX, doesn't play nicely with these tools.  But now that we've gotten ourselves away from FLX, we should have more flexibility here.
e.g. for Android, they're moving towards a model where you don't upload an APK to the Play Store, but rather upload all the constituent parts of your APK, and when a user installs an app, the store cleverly constructs the thinnest APK it can ship to the user, containing only the assets that make sense for that user's device-pixel-ratio, locale, etc.
Just making sure that that end goal lines up with what this issue is tracking.

With the recent engine changes https://github.com/flutter/engine/pull/4817 and https://github.com/flutter/engine/pull/4785, it is now possible to share assets with native by accessing the Flutter assets through the main bundle on iOS and the AssetManager on Android. Once I document that on our website I will close this issue which is about avoiding asset duplication across platforms.
As a next step it would be great to align even more with the underlying platform, I created #16015 to track this.

Fixed, see the documentation.

@szakarias are these fixes and changes in the dev channel yet or I need to be on master channel?

Should be on dev 0.2.7.

@szakarias Thanks


access to Query Params from custom endpoint

Is there a way to use CrudRequest in a custom endpoint and to have access in Query Params and their functionality?  For example to have something like that:
custom endpoint: /something/3/stats?filter[0]=price||$lte||100
@Get('/:id/stats')
async getStatistics(
  @Param('id') id:number,
  @ParsedRequest() req: CrudRequest
) {
  . . .
}

and to have access to these Query Params and the way they works:

or how to extend the functionality that the Query Params have?

I guess the most straightforward way will be to extend the TypeOrmCrudService and use your service instead.


Add chromecast support

Simple Szenario: Watch picture in picture Video on Chromecast Device
Complex Szenario: Watch dual stream videos one on the video, the other on the device

Open smaller tasks:

[ ] Styling of MediaRouter Dialog (some buttons white on white)
[ ] Correct bottom placement of MiniController and try to place one controller on top of ViewPager
[ ] Parent Activity Bug for VideoCastControllerActivity
[ ] "Introducing Cast to new users“ overlay doesn't show up
[ ] Styled Media Receiver applications for different build variants

Open bigger task:

[ ] Rafactor VideoController and improve video experience with Cast

Comment on task Styling of MediaRouter Dialog (some buttons white on white):
This is a bug of android.support.v7.app.MediaRouteControllerDialog from the MediaRouter Support Library, which is already reported:
https://code.google.com/p/android/issues/detail?id=198714

:+1:


source changes not tracked in non-aggregated subproject

It looks like source changes aren't tracked propertly in a subproject in a multiproject build, if the subproject isn't an aggregate of the root.
  However, if foo's sources change while ~foo/compile is "Waiting for source changes", it doesn't trigger a recompile.  Pressing enter to interrupt, and using the ~foo/compile command again does compile once, on account of the previous change, but again further changes do not trigger a recompile.
If I use ; project foo; ~compile instead, changes are detected, and recompiles are triggered as expected.  I wouldn't expect ~foo/compile and ; project foo; ~compile to behave differently.
~foo/compile works as expected if root .aggregate(foo).
Affects at least 0.13.8 and 0.13.9

I personally think ~ is working as expected since ~ command doesn't know what it's about to execute. For example, we can use it with sbt-doge as follows:
~ so bar/compile

~ won't know what sbt-doge's so command would take action on bar subproject. I think this is more of a documentation than anything. As you wrote, if aggregation works, then I think that's what we have to live with.

See also related https://github.com/sbt/website/issues/150

I wouldn't expect ~foo/compile and ; project foo; ~compile to behave differently.

I agree (as I did back in 2015: https://gitter.im/sbt/sbt?at=5563d8961d3343c66cf02dd5)
(More generally I think currentProject should be removed from sbt, if possible)
When you run ~<anything> it just executes <anything>, so ideally that would return some information on how to determine when to execute <anything> again.

This was one of the main feature of sbt 1.3.0's watch rewrite by @eatkins (https://github.com/sbt/sbt/pull/4512?).
~foo/compile now works as expected without aggregation from the current subproject.


Subscribing to topics within a stream for push notifications

The usage pattern that I have experienced for Zulip includes a few high-traffic streams within which everybody is chatting at once. I personally find this easier to deal with than trying to split communication into many different streams (for example, because in that case everyone would have to manually subscribe to all of those new streams in order for us to have the same level of intra-organization communication). However, one downside to this set-up in current Zulip is that there is sometimes a topic of high importance to me to which I would like to subscribe (ie. with desktop notifications and/or e-mail updates), but as it stands I can only subscribe to the entire stream.
I would propose the following feature: user control of push notifications should happen at the granularity of stream+topic, rather than just stream. For example, this could be in the form of the ability to "watch" certain topics within a stream (ie. a "watch" button next to the "mute" button that currently exists next to a topic), with stream-specific settings on what "watching" entails.

Thanks for the feedback @geronm!  This is a helpful additional use case to think about in the general space of extensions to what one can do with topics.

Hello guys, what about this ? I am surprised that no one else ask for it. It looks like very important to be able to subscribe to specific topic and not a full stream. If you disagree could tell us why?

I would make extensive use of this feature. Would the devs in charge of the project welcome a PR?

@NQNStudios yeah, a PR would be welcome on this!  But probably we need to think through backend technical design for this first; we can probably start with doing something similar to muted_topics, but it might make sense to create a new table instead.
If you'd like to get started, you can begin with the UI piece, and we can do the database model when I have a bit more time (have to run to an appointment).

I saw the "feedback wanted" tag.  Thought I would drop in and say something short.  :)
Not sure if this is the same issue or a different one, but it would be great to be able to mute topics from within the app/mobile version instead of having to wait until I log into the web version.  We added a new user recently and this user created a bunch of topics in a stream where I need to be able to "listen"(?) to two of the topics in the stream, but not all of the topics this user ended up creating.  I don't feel the need to discourage the user, since I think what this user did was proper usage, but not being able to mute those other topics while mobile meant being inundated by push notifications while trying to be productive in other topics/streams/apps.
Much relief felt upon getting back to the web version and muting those extra topics though, so since we do have some control over the outcome, I would understand if this issue might not be a priority for quite some time.  :)

@janning Here's the issue you were looking for https://github.com/zulip/zulip-mobile/issues/3473. There is actually a way to mute a topic from the app like cyphase said on May 10th 2019 in that issue.
By the way I am for the feature of this issue #6027.

Thanks, @JonathanLindsey !  It was a helpful tip from the future.  I empathize with the discussion in that thread: The topic mute feature on mobile is difficult to get to, unintuitive, and can't be undone (via mobile).
Currently, the long press on the master list of topics (under each stream) doesn't do anything, so that might be an option to consider attaching the mute/unmute feature to instead.

I agree this feature would be useful.
Thinking about the UX of it: I think in many use cases, a key complementary feature would be that you automatically get subscribed in this way to any topic that you send a message on. For example, if in a busy org you sometimes ask a question but you aren't regularly reading other messages there during the day, you might want a notification when someone replies to your question. (This should be optional, naturally.)

A few of us ended up talking about this on the Julia zulip and we'd really like this feature as more people migrate over from our busier slack community. Are there any blockers on it happening or is it just a matter of somebody finding the time to write it?
Explicitly, the changes I'd like are:

Users can subscribe and unsubscribe to/from topics
Creating or replying to a topic automatically subscribes you (default, optional)
A view or pseudo-stream is provided that contains only your subscribed topics
A new keybind is provided to "go to next unread subscribed topic"
A new row in the notifications setting window for subscribed topics
The unread count can be changed from "unread in all subscribed streams" to "unread in subscribed topics"

Related: #6605

@zulipbot claim

@zulipbot claim

@clarammdantas there's already a PR for this that @ryanreh99 has been working on.

oh, ok.
@zulipbot abandon

#14555 just leaving this here for easy x-ref

#14555 just leaving this here for easy x-ref

Closing as implemented via the "followed topics" feature (https://github.com/zulip/zulip/issues/25673).


what's the recommended way to prevent cells from being movable?

I have about 10 collections in my app that I expect to render... only one of them should be user-orderable.
What's the recommended way to turn off movable cells in DTCollectionViewManager for an entire UICollectionView?

One option is implement moving events for specific cells
manager.canMove(Cell.self) { _ in false }
// Repeat for all types of cells

Second option would be to implement datasource method on your DTCollectionViewManageable instance, however, this will force you to implement all required datasource methods:
extension ViewController: UICollectionViewDataSource {
    func collectionView(_ collectionView: UICollectionView, canMoveItemAt indexPath: IndexPath) -> Bool {
        return false
    }

    open func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        return manager.collectionView(collectionView, numberOfItemsInSection: section)
    }

    open func numberOfSections(in collectionView: UICollectionView) -> Int {
        return manager.numberOfSections(in: collectionView)
    }

    open func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        return manager.collectionView(collectionView, cellForItemAt: indexPath)
    }
}


Add PathMapped/Custom GroupRepositoryFilter to exclude irrelevant repos

This pr support both PathMapped and Custom GroupRepositoryFilter to exclude irrelevant repos.
The PathMapped filter will leave out hosted repos that does not include the target path. The Custom filter can be used to further exclude repos that can not contains the target path.

It is mature now. I merged this and will start new perf testing.


Update motionplanner.py

Fixed joint_vel_limits and joint_acc_limits.
They were mixed up.

Thank you for your contribution!


binomial probability density function returns NaN for large values of n

For example, with 10 million trials, a probability of success of 1 in 10 thousand, and evaluating at k=1000:
>> % in matlab:
>> n = 10e6;
>> b = 10e3;
>> p = 1/b;
>> e = n/b;
>> binopdf( e, n, p )
>>
>> ans = 0.0126

But using Haskell, this returns NaN:
> -- in ghci:
> import Statistics.Distribution.Binomial
> import Statistics.Distribution
> let n = 10000000
> let p = (1.0/10000.0) :: Double
> let b = 10000
> let bd = binomial n p
> let e = n `div` b
> probability bd e
> NaN

And perhaps this is obvious, but you can do the following:
> let p0 = cumulative bd 999.5
> let p1 = cumulative bd 1000.5
> p1 - p0
> 1.2615242126970017e-2

Cause of this bug is obvious: Numeric.SpecFunctions.choose overflows for big enough inputs. Fix simple switch to log-domain for calculations.
Thank you for report


Cleanup: Fix traffic_manager so its checks run if WCCP is enabled.

If WCCP building is enabled, make check fails in traffic_manager because the test logic doesn't link with WCCP.

[approve ci autest]

[approve ci autest]


Catching CancellationException in coroutines

Description
I believe the implementation of error handling in coroutines could be improved by not catching all possible exceptions.
For example, in CharacterDetailViewModel there's this function:
    /**
     * Fetch selected character detail info.
     *
     * @param characterId Character identifier.
     */
    fun loadCharacterDetail(characterId: Long) {
        _state.postValue(CharacterDetailViewState.Loading)
        viewModelScope.launch {
            try {
                val result = marvelRepository.getCharacter(characterId)
                _data.postValue(characterDetailMapper.map(result))

                characterFavoriteRepository.getCharacterFavorite(characterId)?.let {
                    _state.postValue(CharacterDetailViewState.AlreadyAddedToFavorite)
                } ?: run {
                    _state.postValue(CharacterDetailViewState.AddToFavorite)
                }
            } catch (e: Exception) {
                _state.postValue(CharacterDetailViewState.Error)
            }
        }
    }

Here you could theoretically break the normal coroutine cancellation flow. If the coroutine here is cancelled for any reason then the app might show an error even when there's none.
By the way I've seen this kind of problem way too many times in actual production code. What's worse is that people won't even know how to properly fix it.
I generally use the solution I found here: https://betterprogramming.pub/the-silent-killer-thats-crashing-your-coroutines-9171d1e8f79b I find it very simple and nice as it could be used with runCatching...

明天你好这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。


Update CoC to version 1.2.0

To make it more specific, and to keep it up to date with upstream.

#11980 #8378.


joeferraro/MavensMate#904 editor context menus

Thanks a bunch @ChuckJonas, your PRs have now been updated in v0.6.3 of the plugin which I just published.
I'm going to update this repo soon to reflect that the main repo for this is actually https://github.com/kidtsunami/MavensMate-VisualStudioCode just in case you want to check out some of the other branches we're working on.
Thanks again!

@kidtsunami awesome, thanks for merging those so fast.
I'll make sure to sync and submit PR's to your repo moving forward


Implement Gradient Clipping

Add Gradient Clipping
Closes #12
Description:
This PR introduces gradient clipping feature to prevent the issue of exploding gradients during backpropagation. By limiting the magnitude of gradient updates, we aim to stabilize training, improve convergence, and allow users to customize the clipping thresholds based on their specific needs.
Implementation:

Added an clipping_threshold parameter to the fit function which allows users to specify the maximum allowable norm for gradients, ensuring that the magnitude of gradient updates does not exceed this value. Defaults to None in which case gradient clipping is not applied.
Clipping logic has been added to the backpropagation() function, ensuring that gradients are clipped before being used to update model parameters.

Testing:

Manually tested the gradient clipping functionality on a sample model with varying patience values.
Verified that gradient clipping is triggered and the model parameters are being updated correctly.

Hi @pearguacamole ! Thank you for your contribution!


Move from TSlint to ESLint

Issue #19

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Guy Khmelnitsky seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Srsly?! I signed the CLA...


require "uuid" to be defined explicitly as unique key if not unique on any natural keys

that way there is nothing "implicit" when looking at the model that would surprise someone
this way the models that the users are defining are more explicit and declarative  - and easier for anyone not familiar with the tool to understand.

completed with https://github.com/uladkasach/schema-generator/commit/614a80485c6c073bbc768a45005bb63f29231ee0


Changing multiple templates

I am using a calendar in more than one spot within a work flow.  Each view needs a different template, to be when my first controller opens, it sets the template for the monthCell.  That controller, then opens a MODAL, with another calendar in it, that needs to be templated differently.
I have the config being set in the 2nd controller, but it seems to have no effect.  It reverts to the default view.  If I remove any configuration change in the second controller, it reverts to the first template I set.  Is there a way to change or reset the calendar when then modal opens with a different template?

It might be possible to get this behaviour by using one time binding on the ng-include of the template. Can you try overriding the month view template and changing this line to:
<ng-include src=":: vm.calendarConfig.templates.calendarMonthCell"></ng-include>


Gh 614 exclude example from jacoco

Current coverage is 61.17% (diff: 100%)

Merging #616 into develop will increase coverage by 5.51%

@@            develop       #616   diff @@
==========================================
  Files           444        354     -90
  Lines         13306      10989   -2317
  Methods           0          0
  Messages          0          0
  Branches       1706       1598    -108
==========================================
- Hits           7405       6722    -683
+ Misses         5361       3735   -1626
+ Partials        540        532      -8

Powered by Codecov. Last update 611d00d...727ab5e


chore(backend): upgrade chi library

Linked issue

No linked issue.
Description

Dependabot PR #196 previously tried to upgrade the chi package, but there exists a newer package using go modules. This PR manually upgrades to the newest chi package since dependabot wasn't able to automatically upgrade it.
I also added logger and recoverer middleware to the chi router since that is now available similar to go-gin library, although this change doesn't strictly belong to this PR.

Why is dependabot unable to find newer version though... That should be its responsibility to find latest versions, create a PR for that and close the previous PR that upgraded to a new (but old) version.

There has been a updates to how Go modules can be imported which can be best seen here as the whole import path has changed for chi module. This is a breaking change and dependabot seems to be unable to track that it, since it kinda creates a new dependency altogether.


confused .rejects example in Jest document

Hi.
I learned about .rejects function in Jest document example
https://jestjs.io/docs/en/tutorial-async#rejects
here is the example.
// Testing for async errors using `.rejects`.
it('tests error with rejects', () => {
  expect.assertions(1);
  return expect(user.getUserName(3)).rejects.toEqual({
    error: 'User with 3 not found.',
  });
});

// Or using async/await with `.rejects`.
it('tests error with async/await and rejects', async () => {
  expect.assertions(1);
  await expect(user.getUserName(3)).rejects.toEqual({
    error: 'User with 3 not found.',
  });
});

The example used expect.assertions(1);
but, i searched that it is necessary to use assertions with .rejects
then i found this issue 'removed useless expect.assertions'
#7131
so i suggest how about removing expect.assertions(1); code in the example.
becauese i was not sure whether I should used assertions.
thank u.

Yes you are right, that code  expect.assertions(1); is usuless that. As the rejects will always to occur here. I think its a good first commit.


GitOps: Implement Argo Http sensor

Implement the Argo Http sensor so that we can receive a payload post-deployment.
This is to be done in Golang or Python.
https://argoproj.github.io/argo-events/sensors/triggers/http-trigger/
Must have a helm chart, and be deployed into the Ortelius AKS cluster.

@bradmccoydev @sbtaylor15 Can i take this up?
If yes then would be great to get some background

Hi @ayesha-kr sure, have you worked with Argo before?

Hi @bradmccoydev worked on kubernetes and app development.  Had lead a project that use Argo.
So not hands on argo myself,  but know the concept.
Shouldnt be a problem.
Anything specific that i need to swiftly readup on?

hey @ayesha-kr lets catchup? https://calendly.com/bradmccoydev/15min

hey @bradmccoydev
wanted to check with you if the issue is still open and if solving it will add value to the project.
if so, could you brief me a bit about it, and probably I can work on it thereafter?
Thank you!

@bradmccoydev  would it be better if I just write code for http sensor.

hi sorry we dont need this anymore thanks, closing issue


Negative values in AfterMSRun$Enriched

Here is a MSRun that was generated to mimic experimental data. I see negative values in the output.
Also, I see that the distribution of the enriched quantities is bimodal. I am not sure why. Here you can see a plot where each point is a peptidoform, vertical axis is the quantity in non enriched (condition 8, replicate 3), the horizontal axis is the quantity in the enriched table of the same sample. I did not identify what is going on.

outputMSRun_abd85b169eadc9d1af1765a62876b4ee.RData.zip

OK, I get it now. Stupid of me not to see it.
The ones with extra low signal are the non-phospho:

But some should disappear instead of having negative values. What do you think?
Also, here the signal difference is wayyyy too high. But I suspect that it could be corrected with a parameter. EnrichmentLoss maybe?

The EnrichmentLoss divides the total signal of all (!) peptides into enriched and non-enriched.
In your picture, the few phosphorylated peptides get 75% of the total intensity and the many non-modified ones get the 25%. As there are many more non-modified peptides, the difference becomes so drastic.
Not sure what would be better. a) taking the total intensities like here or b) make it proportional to the number of peptides such that a phosphorylated peptide is in average that much larger than a non-modified one.

hum... I see. This signal split is a bit weird, isn't it? It makes it difficult to decide on a value for EnrichmentLoss. I naively thought that it was a loss of signal applied to the non-phosphorylated. peptides.
Here is how the same plot looks on one data set that I have:

It is not so divided (and actually here, only a few phosphorylated peptides are found in the non phospho, but due to other things...).

maybe this parameter could shift the distributions of non-phosphorylated peptides to the left?

Also, I think that there may be something weird with EnrichmentEfficiency. I only use values ≥ 0.8 but you can see in these plots that there are not many phorphorylated peptides. At least less than 80%

The idea of enrichment would be to enhance the signals of the phosphorylated peptides. This is why I kept the total intensity of all peptides. Fixing the differences of averages between phosphorylated and non-phosphorylated peptides is then easier to use as one then can "predict" the outcome from the parameter.
Should I do that?
When you use the 80%, can it be that you in general do not have many phosphorylated peptides?

In experimental data, we calculate enrichment as
number of phosphorylated peptide / total number of peptides
and in general we have 0.7 to 0.95. So we really "loose" non-phosphorylated peptides. I think that we should do the same.
Your last point is a good one. I'll look into it.

Maybe we can use the parameter as differences of averages between phosphorylated and non-phosphorylated peptides, and then have a step to remove the less abundant ones? These would naturally be non-phosphorylated.

I assumed the less abundant to be anyways be removed in the MSRun part. Otherwise, we would need to set the threshold somewhere.

Yes, but I suspect that the loss may have to be different for enriched and non-enriched. My feeling is that we should loose more for the enriched. And right now, there is only one param.
Do you want to discuss this in a short meeting?

To be honest from what I see, I think that we could kick off all the non-phosphorylated peptidoforms that are on the left side of the plots that I sent in earlier messages. This would mimic better what I see in experimental data.

... And maybe we should consider removing some phosphorylated peptides from the non-enriched.

I now updated PhosFake to change the averages (all modified vs all non-modified) and then adjust everything back to the full total intensity).
Not sure about removing modified peptides from the non-enrichment. That comes back to the question of whether we want to decrease the signal of modified proteoforms.

Thanks a lot, I'll try it out.
I don't agree with your second statement. The way I see it, removing modified peptides (to a certain extent) from the non-enriched would mimic the lower flyability of the modified peptides. No?
But you can wait and see what I get from the modified pipeline and we'll decide :)

Maybe we can test this with PhosFake?
When I try the last version, here is what I get (we are getting closer):
distribution of non-enriched peptidoforms intensity (blue is from experimental data, salmon is simulation -- I'll write the parameters below):

For the phospho-enriched, we still have the issue that too many non-phosphorylated peptides are present with a low intensity (first high bar in the histogram; vertical group on the left of the scatter plot). I think that we should kick them off, but since we only filter based on quantiles, this won't work.

Here is the scatter plot with the values in enriched and non-enriched. Basically, I'd kick out all the ones in the group on the left.

I still have to figure out the best parameters for enrichment. Clearly need to increase the noise.
input_file -- ../../data/output/SimulatedDataSets/Real_data_visualisation//outputMSRun_900271b8758aebe3214902aade3a1ea6.RData
NumCond -- 9
NumReps -- 3
PathToFasta -- uniprotkb_mus_musculus_AND_reviewed_tru_2024_07_11.fasta
PathToProteinList -- NA
FracModProt -- 1
PropModPerProt -- 1
PTMTypes -- ph
PTMTypesDist -- 0.8
PTMTypesMass -- 79.9663
PTMMultipleLambda -- 0.1
ModifiableResidues -- c("S", "T", "Y")
ModifiableResiduesDistr -- c(0.86, 0.13, 0.01)
RemoveNonModFormFrac -- 0.8
paramProteoformAb -- 4
PropMissedCleavages -- 0.2
PercExpressedProt -- 0.25
QuantNoise -- 0.3
DiffRegFrac -- 0.1
DiffRegMax -- 3
UserInputFoldChanges_NumRegProteoforms -- NA
UserInputFoldChanges_RegulationFC -- NA
ThreshNAProteoform -- 0.005
AbsoluteQuanMean -- 7
AbsoluteQuanSD -- 2
ThreshNAQuantileProt -- 0.01
QuantColnames -- C_1_R_1|C_1_R_2|C_1_R_3|C_2_R_1|C_2_R_2|C_2_R_3|C_3_R_1|C_3_R_2|C_3_R_3|C_4_R_1|C_4_R_2|C_4_R_3|C_5_R_1|C_5_R_2|C_5_R_3|C_6_R_1|C_6_R_2|C_6_R_3|C_7_R_1|C_7_R_2|C_7_R_3|C_8_R_1|C_8_R_2|C_8_R_3|C_9_R_1|C_9_R_2|C_9_R_3
Enzyme -- trypsin.strict
PropMissedCleavages -- 0.2
MaxNumMissedCleavages -- 3
PepMinLength -- 7
PepMaxLength -- 50
LeastAbundantLoss -- 0.005
EnrichmentLoss -- 0.5
EnrichmentEfficiency -- 0.98
EnrichmentNoise -- 0.05
PercDetectability -- 0.08
PercDetectedVal -- 0.95
WeightDetectVal -- 0.05
MSNoise -- 0.1
WrongIDs -- 0.01
WrongLocalizations -- 0
MaxNAPerPep -- 100
ID -- outputMSRun_900271b8758aebe3214902aade3a1ea6

This does not look bad indeed!
I assume the distributions of enriched and non-enriched fractions of the experimental data are anyways looking very similar?

I now changed the parameter to remove non-modified peptides to reach the given enrichment


added new transactiontypes

updated with additional transactiontypes
Description
added additional transaction types for sync for commerce
Type of change
Please delete options that are not relevant.

[ / ] New document(s)/updating existing

Sorry, approved the deployment preview now

Merging so you don't end up with conflicts 👍


Feature request: SmithyBuildConfig -> Model utility

There are a lot of tools that could be built on top of Smithy, which would use smithy-build.json as the source of information about a model.
Currently, in order to do so they would have to either:

shell out to the CLI (which is costly, including but not only because of having to start another JVM), or
duplicate some of its logic: this is what the LSP seems to be doing at the moment, just like smithy4s / smithy-playground (OSS projects I'm involved with), and some projects I'm involved in at work.

I think it would be beneficial for the ecosystem to have more out-of-the-box support for loading a build config into a model. Presumably, this would have to be part of smithy-build.

Are you looking for more than what's exposed in the SmithyBuildConfig class? If so, can you elaborate on what differences you're looking for?

yes, I looked at the class, and it's useful as a way of reading the build files, but one still has to implement the loading of such a build config into a model - that's the missing part (as far as I can tell).
so, in pseudocode:
Path file = ...;
SmithyBuildConfig bc = SmithyBuildConfig.load(file);

// we don't have this
Model model = Model.fromBuildConfig(bc).assemble().unwrap();
// alternative syntax
Model model = bc.load().assemble().unwrap();
// another one
Model model = SmithyBuildConfig.load(bc).assemble().unwrap()
// also, the methods currently are shown to return ModelAssembler, but maybe it makes sense to return a ValidatedResult<Model> instead.


Add jsDelivr hits badge

Hey, I noticed that mediaelement gets 19M hits per month on jsDelivr, so I thought you might like this badge.

Coverage remained the same at 73.832% when pulling 2c83e2c68be96970b9f81f837cdb810e61c389a3 on LukasDrgon:patch-1 into 1377545c10cacd19446343bb092e9df235eb23ab on mediaelement:master.

PR merged. Thanks and please star the project to support it


Custom Pos and Neg Edge Index in VGAE and GAE

❓ Questions & Help

As the Title suggests, how can I add my custom Pos,Neg Edge Indices for recon_loss in GAE?

You may want to override recon_loss and pass it both pos_edge_index and neg_edge_index as arguments.

Say,
Edges = (A,B),(A,C),(P,Q),(P,R) are the actual Graph Edges.
I have a positive edge (B,Q). Is this mathematically valid to bring B and Q closer?

I'm not sure I understand. Maybe you can elaborate a bit more. From what you're saying, I feel like if (B, Q) is a positive edge, it's natural to infer that B and Q should be closer to each other than A and Q.

Am I safe to assume, B and Q being Closer than A and B, If I have another Positive Edge, A and P?

That's hard to tell actually and it's definitely not safe to assume. You can just verify that experimentally.

Thanks. I'll close .


Drain waits indefinitely after request timeout on fetch

(not sure if limited to the simplified API, but it can be reproduced with it)
Calling drain(Duration.ZERO) will wait indefinitely when a request timeout happened on a fetch.
For this to happen the fetch() must be called, the request timeout status message must be received and drain must be called. Since the status message is counted in the length of the MessageQueue, the isDrained() will always return false.
A workaround can be to always loop over the result and/or close the FetchConsumer manually.
However, the expectation would be that drain() closes this FetchConsumer automatically, even if not manually closed.

Added a test to reproduce the issue.
An easy, but hacky, way to solve it is to fully ignore StatusMessage for the length and sizeInBytes calculations in MessageQueue..
However, NatsJetStreamSubscription seems to be aware of these status messages, looking at _nextUnmanaged. So optimally the isDrained would be overwritten there to not count the status message as pending?
What would be the right approach?

Have implemented the latter approach, so overriding isDrained() in NatsJetStreamSubscription to ignore pending status messages. Fixing drain(Duration.ZERO) blocking indefinitely when only status messages are left in the queue.

So I know how to fix the pull issue. In simplification, every pull request for the pull sub has an expiration. I need to track the expiration and if I don't get the proper status that closed the pull, I need to recognize that it has stalled. This will also help when a connection is broken and the simplification stalled.

Revisiting this again, I'm tempted to close this.
While it can technically be an issue, it will only happen if you'd have a fetch that expired, calling drain(Duration.ZERO) AND you don't call nextMessage() after calling drain. Not sure if you would ever get into such a situation normally, as the FetchMessageExample also shows the proper way to do this (and will not run into this issue).
@scottf, would you agree with closing this?

After some chat, @scottf and I agreed on leaving this open.
Reverting the "fix" I did for now, giving some more time to think of a proper solution, while having visibility on whether the test is failing or not.


DOC: Add note about reserved words

👍

@tanaes I think I just gave you merge permissions, can you try merging?

Still seeing 'Only those with write access can...'
But Travis is still in progress, so maybe after it finishes it will let me.

Coverage decreased (-0.06%) to 84.012% when pulling 22f7d172c1ffb1b46e7e40d89b2ddc0cdbb5c39d on ElDeveloper:reserved-words into 5ab58d49261d0e56fdf3b5436b36219773787735 on biocore:master.

@tanaes, it was something else with the permissions, you should be able now.

thanks @antgonza !


[Bug]: Some spanish words aren't properly translated

Contact Details
https://github.com/SoftwareBrothers/adminjs/pull/1602
What happened?
Fix a couple of wrong translated words. I created a PR
https://github.com/SoftwareBrothers/adminjs/pull/1602
Bug prevalence
Always
AdminJS dependencies version
N/A
What browsers do you see the problem on?
Chrome
Relevant log output
No response
Relevant code that's giving you issues
No response

Hi I merged your PR


Gitignore in assets folder?

I had the problem several times now that my build pipelines failed because there was a .gitignore file in the assets folder.
This file ignored all other files in the assets folder.
As a result, the required assets were not committed with and thus were not available in the build process.
After a long search I found the gitignore file and deleted it. Then the pipeline ran through flawlessly.
But unfortunately it is a mystery to me why this file is created. I also can't find a file in the template that solves the mystery.
Does anyone of you have an explanation?

For the benefit of posterity: see https://github.com/nuxt/nuxt.js/issues/8512


Last Call (New nuke song)

About the PR

This PR adds Last Call, a new nuke song made by mryikes / he1acdvv with permission.
https://www.youtube.com/watch?v=WtDZEMxHY6U
wizden PR
Why / Balance

Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: A new nuke song, Last Call has been added!

Lets stop trying to add PRs that are still open on upstream, its dumb and will cause more issues than its worth if it gets merged.

exactly man :trollface:

I called it https://github.com/space-wizards/space-station-14/pull/30047

the freeze is real........

@Aidenkrz


Having to specify bundle exec twice

I'm trying to run
rdbg -c -- bundle exec rspec <Path to rspec file>

but I keep getting this error
bundler: failed to load command: rspec
Prepending bundle exec to your command may solve this. (Gem::LoadError)

The weird thing is that when I enter the following command it works
rdbg -c -- bundle exec bundle exec rspec <Path to rspec file>

Any insight is appreciated!

Does bundle exec rspec ... on it's own work, outside of rdbg?
Is debug part of your Gemfile?

bundle exec rspec  works outside of rdbg
I installed debug as a system gem so its not in the projects gemfile

I make
# Gemfile
source "https://rubygems.org"

gem 'rspec'
gem 'debug'

# spec/foo_spec.rb
RSpec.describe 'foo' do
  it 'foo' do
    expect(1+1).to eq 2
  end
end

and run
$ bundle install
Bundle complete! 2 Gemfile dependencies, 15 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.

$ bundle exec rspec
.

Finished in 0.00107 seconds (files took 0.03907 seconds to load)
1 example, 0 failures

$ rdbg -c bundle exec rspec
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      rdoc (>= 4.0.0)
      Available/installed versions of this gem:
      - 6.9.1
      - <IP_ADDRESS>
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
[4, 13] in ~/.rbenv/versions/3.3.1/bin/rspec
     4| #
     5| # The application 'rspec-core' is installed as part of a gem, and
     6| # this file is here to facilitate running it.
     7| #
     8|
=>   9| require 'rubygems'
    10|
    11| Gem.use_gemdeps
    12|
    13| version = ">= 0.a"
=>#0    <top (required)> at ~/.rbenv/versions/3.3.1/bin/rspec:9
  #1    [C] Kernel.load at ~/.rbenv/versions/3.3.1/lib/ruby/3.3.0/bundler/cli/exec.rb:58
  # and 14 frames (use `bt' command for all frames)
(rdbg) c    # continue command
.

Finished in 0.00171 seconds (files took 0.05692 seconds to load)
1 example, 0 failures

but I can't repro. Any other steps?


Documentation for custom CSS and multiple players

I am confused by the documentation and how multiple players fit with the new customising CSS.  It only partially works as described in the documentation.
Let's say I have two player arrays:
const player = Plyr.setup('.js-playervid1a', {
        controls: ['play', 'progress', 'current-time', 'duration', 'captions', 'fullscreen', 'mute',
'volume','play-large', ],
          });

const player = Plyr.setup('.js-playervid1b', {
        controls: ['play', 'progress', 'fullscreen', 'mute', 'volume','play-large', ],
          });

then if I add root customised css that works fine
:root {
  --plyr-color-main: #1ac266;
  --plyr-control-icon-size: 8px;
}

however if I want to customise one class only then this doesn't do anything at all
.js-playervid1b {
  --plyr-color-main: #1ac266;
  --plyr-control-icon-size: 8px;
}

neither does adding it in the HTML do anything at all
<video class="js-playervid1b" style="--plyr-color-main: #1ac266;">
    ...
</video>

Some hints in the docs would be great, or a statement that this is impossible and what needs to be done
Thanks for the custom css anyway - even at root it is great

Addendum: Nothing other than the :root customisation works at all (at least as descibed in the documentation), so it's not just a problem with multiple players. Minimal working example does not work: Using CDN 3.6.2
HTML
<div class="player-wrapper">
  <audio id="splayer2">
  <source src="https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.mp3"
type="audio/mp3" />
  </audio>
</div>

CSS
.splayer2 {
--plyr-color-main: #1ac266;
--plyr-control-icon-size: 8px;
}
JS
const plyr = new Plyr('#splayer2');

It does work but obviously the examples aren't clear. For your example you'd need to use the following:
.player-wrapper {
  --plyr-color-main: #1ac266;
  --plyr-control-icon-size: 8px;
}

So it's either on a parent container which can be dynamically updated of course:
https://codepen.io/sampotts/pen/YzwXOoP
Or as a style attribute on the initial element:
https://codepen.io/sampotts/pen/ZEQGMdj
The problem with the second element is it can only be set once and not updated because the properties value is copied to the parent on initialisation.
Remember the CSS Custom Properties work in the same way as other CSS, in that the C stands for cascade so it has to be set on a parent or the element itself to work.

Great - got it. If you are tweaking the docs also note the spelling error
Probably worth giving at least one full working example of each of the three methods in the doc. I think what confused me the most is that by "specific class name" in the docs I took that as meaning that if one created several different players with different names, one could assign custom CSS to the a player type class.

For me, setting --plyr-color-main in the styles attribute of the video tag works. But setting plyr-captions-background does not work. 🤔


Need sample for Nancy v1.4

Is there any code sample for Nancy 1.4 (not for .NET Core)

There are some samples under the 1.4.3-stable branch, available here: https://github.com/yahehe/Nancy.Swagger/tree/1.4.3-stable/samples


add udacity courses

note: udacity courses can be freely watched without enrolling in a Nanodegree. this is a guarantee by the company (i work for them), and we encourage anyone to check them out :) :+1:

@jarrodparkes Would you say that this course is more about learning iOS or about learning Swift?

a mixture of both. if you're looking for "purely" swift offerings, then i can update the link to be solely for Udacity's "Swift Syntax" course.
here's its description:

This course focuses on the syntax of the Swift programming language. By the end of the course, you'll be able to apply Swift essentials to building iOS apps.

@jarrodparkes That would be much better. The purpose of this list is to focus more on the Swift Language, as now that it is open sourced it can be used outside of iOS development.
Also - much love for Udacity and all that they do

@hsavit1 changed the link! :+1:


Redis listed twice in requirements.txt and subfiles

Double requirement given: redis==2.10.6 (from -r will/requirements/base.txt (line 24)) (already in redis==2.10.6 (from -r requirements.txt (line 2)), name='redis')

Hmm I wonder if there's some reason for this or if it's just an oversite from the will bot.

It seems the problem only happens if running pip install -r requirements.txt with sudo permissions?

I removed the line from requirements.txt. Let’s see if that works.


dont access stats

this should allow the newest gdal versions to work, and save time in virtual processing.

Updated to pass bperp mean value, as expected by prep_aria.py (https://github.com/insarlab/MintPy/blob/main/mintpy/prep_aria.py#L584), but with the means of the other geometry files discarded as they are no longer needed.
In my tests, we are able to circumvent the gdalstats issue to access this info efficiently by forcing an install of gdal >=3.5 (see gdal ticket here: https://github.com/OSGeo/gdal/issues/6023)

@bbuzz31 it was brought to my attention earlier this week that there is an issue trying to access NLCD due to server issues. Hence, the circleci failure is to be expected


Generate workload YAML from CQL schema file

Feature Request
Description

As it stands right now, the NoSQLBench step of the workflow still requires an workload YAML to be provided, that is, it cannot automatically generate the workload from just the CQL schema itself. On the other hand, Gemini already does that for data integrity testing. We want to make NSB be on par with that such that we can do automatic performance testing as well.
Describe the solution you'd like

Build a tool that takes a CQL schema file and transforms it into the desired output. We'll start with NoSQLBench, but the parsing and transformation pieces could be general enough such that we could reuse it with Harry or Gemini.
Describe alternatives you've considered

Additional context

Making some notes for myself here based on some initial analysis

Requires ability to generate nosqlbench bindings for every underlying CQL type

For each type we would want to support sequence and random (based on some distribution) selection
Sequence support required for each type for the case where it appears in a primary key
Could add some exclusions for particular types...

A sequence of inet addresses may make sense logically but might not be something we want to explicitly support

Next step: analyze table metadata

Must generate data for each column included in primary key
At least one column in primary key must also support a sequence type (to guarantee uniqueness)

Could be chosen at random from collection of primary key columns
Could also include a bias towards some types... favor ints if possible, that kind of thing

Output of this process so far: a collection of tuples

Column name
Column type
nosqlbench binding

From these inputs we should be able to build the insert/update CQL statements using a template

Making some notes for myself here based on some initial analysis

Requires ability to generate nosqlbench bindings for every underlying CQL type

For each type we would want to support sequence and random (based on some distribution) selection
Sequence support required for each type for the case where it appears in a primary key
Could add some exclusions for particular types...

A sequence of inet addresses may make sense logically but might not be something we want to explicitly support

Next step: analyze table metadata

Must generate data for each column included in primary key
At least one column in primary key must also support a sequence type (to guarantee uniqueness)

Could be chosen at random from collection of primary key columns
Could also include a bias towards some types... favor ints if possible, that kind of thing

Output of this process so far: a collection of tuples

Column name
Column type
nosqlbench binding

From these inputs we should be able to build the insert/update CQL statements using a template

A couple additional comments from subsequent analysis.
Base version of nosqlbench config is the version currently used in Adelphi; see https://github.com/datastax/adelphi/blob/2c586b62f0dbe1980a5d48d1f1a2be6649af7825/helm/adelphi/values.yaml#L57-L138.  The default usage within the Adelphi workflow should remove the schema creation blocks (since that will have already been performed earlier in the Argo workflow) and the verification blocks (since we're dealing with performance rather than integrity and we're backstopped by Gemini on integrity anyway).  A base config with these options removed appears to work without issue.
Population of sample data into the tables should fill data for every column for every row written.  The question then becomes what we want to do for the read/write loops in nosqlbench (main-read and main-write in the config).  A number of options were considered here:

Just select all columns all the time
Randomly select a subset of columns to select

Support random seeding to introduce reproducibiliy

Select all combinations of all possible subsets of columns

Provides widest coverage

Goal is to demonstrate a performance change when some query in that set behaves differently between versions
Subsequent investigation can isolate the query that's causing a problem

Artificially inflates benchmark results

Not necessarily a problem as value of nosqlbench results is in comparison to other results rather than absolute representation of performance

Current thinking is that we'll focus on the last option above (query all combinations of subsets of columns) initially.  This will be the default Adelphi will use within it's own workflow.  The "adelphi" tool will be extended to support generating such a config given a connection to a Cassandra instance which already has the target schema installed.  Users who wish to focus on specific queries are encouraged to create their own nosqlbench configs (also using the "adelphi" tool) and remove any undesired queries from that config (docs will be provided to assist with this process).  This process should actually be helped out by the fact that all combinations of column subsets will be included in the generated config; users will be able to see all the possibilities and explicitly select only those they want to keep.
Biggest potential problem that we're aware of so far is that a set of N columns will generate 2**N combinations of column subsets.  For small (i.e. few columns) tables this probably isn't a huge issue but for larger tables this could quickly bog down nosqlbench performance; for a table with 8 columns we'd be doing 256 queries on every iteration of main-read and main-write... and it just gets worse from there.  This is definitely something we'll want to account for.

A couple additional comments from subsequent analysis.
Base version of nosqlbench config is the version currently used in Adelphi; see https://github.com/datastax/adelphi/blob/2c586b62f0dbe1980a5d48d1f1a2be6649af7825/helm/adelphi/values.yaml#L57-L138.  The default usage within the Adelphi workflow should remove the schema creation blocks (since that will have already been performed earlier in the Argo workflow) and the verification blocks (since we're dealing with performance rather than integrity and we're backstopped by Gemini on integrity anyway).  A base config with these options removed appears to work without issue.
Population of sample data into the tables should fill data for every column for every row written.  The question then becomes what we want to do for the read/write loops in nosqlbench (main-read and main-write in the config).  A number of options were considered here:

Just select all columns all the time
Randomly select a subset of columns to select

Support random seeding to introduce reproducibiliy

Select all combinations of all possible subsets of columns

Provides widest coverage

Goal is to demonstrate a performance change when some query in that set behaves differently between versions
Subsequent investigation can isolate the query that's causing a problem

Artificially inflates benchmark results

Not necessarily a problem as value of nosqlbench results is in comparison to other results rather than absolute representation of performance

Current thinking is that we'll focus on the last option above (query all combinations of subsets of columns) initially.  This will be the default Adelphi will use within it's own workflow.  The "adelphi" tool will be extended to support generating such a config given a connection to a Cassandra instance which already has the target schema installed.  Users who wish to focus on specific queries are encouraged to create their own nosqlbench configs (also using the "adelphi" tool) and remove any undesired queries from that config (docs will be provided to assist with this process).  This process should actually be helped out by the fact that all combinations of column subsets will be included in the generated config; users will be able to see all the possibilities and explicitly select only those they want to keep.
Biggest potential problem that we're aware of so far is that a set of N columns will generate 2**N combinations of column subsets.  For small (i.e. few columns) tables this probably isn't a huge issue but for larger tables this could quickly bog down nosqlbench performance; for a table with 8 columns we'd be doing 256 queries on every iteration of main-read and main-write... and it just gets worse from there.  This is definitely something we'll want to account for.

Biggest potential problem that we're aware of so far is that a set of N columns will generate 2**N combinations of column subsets. For small (i.e. few columns) tables this probably isn't a huge issue but for larger tables this could quickly bog down nosqlbench performance; for a table with 8 columns we'd be doing 256 queries on every iteration of main-read and main-write... and it just gets worse from there. This is definitely something we'll want to account for.

Perhaps we add a control mechanism to limit the exposure.  Maybe set a maximum limit to the number of queries generated for any single table.  If the user wants to go nuts and run the full set, we could let them, but given that we already have so many questions about the sheer usefulness of the testing, we run with the default sane limit?

Biggest potential problem that we're aware of so far is that a set of N columns will generate 2**N combinations of column subsets. For small (i.e. few columns) tables this probably isn't a huge issue but for larger tables this could quickly bog down nosqlbench performance; for a table with 8 columns we'd be doing 256 queries on every iteration of main-read and main-write... and it just gets worse from there. This is definitely something we'll want to account for.

Perhaps we add a control mechanism to limit the exposure.  Maybe set a maximum limit to the number of queries generated for any single table.  If the user wants to go nuts and run the full set, we could let them, but given that we already have so many questions about the sheer usefulness of the testing, we run with the default sane limit?


[Question] How to retrieve custom donations data via GraphQL API?

The platform allows you to create a custom recurring donation for a collective, essentially a membership with a custom tier. However, the API doesn't treat such donations as a membership, so member.tier is null. Is there a way to get such sponsor's donations via the API to determine their type (one-time/monthly/annual) so we can treat them as ordinary memberships on the client side?

Hi @DigitalBrainJS, you could try to get the matching "order" and get its frequency + amount.


Update gem to 0.26.2

Change earnings & impressions to estimated_revenue and ad_impressions
source:
https://developers.google.com/youtube/analytics/revision_history#august-10-2016

@bruce-fs This PR is a breaking change.
Anyone using yt would have to rename channel.earnings into channel.estimated_revenue in the code.
Instead, we should just fix the internal implementation (calls to YouTube API) while leaving the external API unchanged.


[ELE-130] Synonymous data types (varchar, text) aren't treated equally in schema changes baseline test

From SyncLinear.com | ELE-130

@itamar will review

@haritamar are you reviewing this?


add new visitor to solution and targets to better support DB linting

This adds a new visitor to the spec documents to allow not only lint for FS based documents but also for DB based documents.

[ ] solution doc
[ ] rules doc
[ ] system, module, etc... docs
[ ] scenario docs

One thing I don't like from the solution that it makes things more complicated. Much more complicated. E.g. by adding a visitor, a lint visitor, each struct needs to have a accept function. It is more generic, yes.
The solution comes from the problem that when having a doc in the hub the inputs will be document ids and not file paths. So we can not do the normal expansion or validation. We first have to transform the doc ids to real paths on the FS.
The documents are loaded and created from JSON so we can not use a particular construct either. Or can we?
The code normally is:
var doc SolutionDoc
json.Unmarshall(bytes, doc)

So we could control the creation by passing in a linter (e.g. an interface which has a Lint function) which would be called by a lint function.
We could then make the type private and only expose a MakeSolutionDoc function.

type SolutionDocLinter {
  Lint(doc * SolutionDoc) error
}

func (s *SolutionDoc) Lint() {
  s.linter.Lint(s)
}

This seems to be much more straight forward.
Do we need this anyway?
We need to have a way to lint documents on the hub before they are written to the FS. So we will always need the FS part.
We could also in general just replace the doc IDs with the FS path and then call lint. Then there would be no need for a DB linting. The DB linting would then be a function inside the hub which sees the doc as external doc.
Also if we would have the DB linting as interface we would need to pass first the DB linting and then the FS linting, e.g. a chained linting. But the DB linting is more a transformation.

Does not make sense.


Add case for prefer-reduce-motion

I think it might be worth adding support for the prefer-reduce-motion media expression to disable animations if the user prefers not to see animations. We can add the preferReduceMotion property inside the second argument:
useTransitionController(refs.self, {
  registerTransitionController: true,
  setupTransitionInTimeline: (timeline, elements, transitionContext) => {
     // Add your in timeline here.
   },
   setupTransitionOutTimeline: (timeline, elements, transitionContext) => {
      // Add your out timeline here.
   },
   // Default value always is true
   preferReduceMotion: true
});

What do you think about this implementation? I thought it would be nice to have support for such a feature in order to improve accessibility. I can create a PR for this.

I think this is a very good idea!  👍
But maybe change the default value of the preferReducedMotion to the window.matchMedia('(prefers-reduced-motion: reduce)').matches so it automatically picks up the user's preference.
Also, we should properly test this because disabling animations might break some event callbacks!

I love the idea of using window.matchMedia('(prefers-reduced-motion: reduce)').matches! I will start working on PR today!

In some cases the transitionController is used for essential transitions (opening a menu e.g.) If we want to use transition controller for these types of animations we could perhaps opt for an alternative timeline. setupReducedTimelineIn or something like that

In some cases the transitionController is used for essential transitions (opening a menu e.g.) If we want to use transition controller for these types of animations we could perhaps opt for an alternative timeline. setupReducedTimelineIn or something like that

I don't think this is needed, if you just set the preferReduceMotion option to false it should do the check.


Fix website crashing on reload

It stills crashes in the following case:

Drag in custom card
Enter blabla as gas value
Clone the card
Website crashes


this is very good for me, thank u

this is very good for me, thank u

Thank you. Have a nice day.


Help for Open Web (background) and Save file excel

Hello,
I installed this tool for the first time today.
I have no knowledge of this language and I have some difficulties.
If possible, get help, I'll explain what I need to do:
1 - Launch a web link that includes in the link, user and pass. (ok, this i saw how to do it, but in chrome, i need to open it with IE)
2: After login, Open a new link, which directly launches the extraction of an excel file.
(this link, after a few seconds of waiting, presents the save popup)
3: Save the .csv file with a specific name.
Know if there is an option to do all the steps in the background, without iterating on the monitor.
End..
I don't know if I wrote in the right place.
Can someone help me?

Hi Aaron, the short answer to above seems to be no. TagUI can't automate on IE without running on foreground on the screen.
You can join our Telegram group chat to share more on your use case and I can also comment more any other ways.
https://t.me/rpa_chat
You can also join our weekly Zoom 1-to-1 call to discuss more any other ways to get to the outcome you want.


Allow NPC melee categorized partial without matching base

Turns out I already did the refactor that allowed this, I was just missing a step....


Cannot attach hover event to html legend

Expected behavior
I am trying to find a way to make an html legend item change the element that it represents. I expect that I should be able to attach a mouseover and mouseout event like any other DOM element:
https://jsfiddle.net/thoughtassassin/qy63xzwn/18/
Current behavior
However, when placing the event in the definition of the html plugin in the afterRender function the hover event fires quickly and then disappears. I also tried attaching the event in the afterDraw function. The afterDraw also has an unexpected effect as the mouseover, mouseenter, mouseout and mouseleave are fired recursively while the mouse is over the element. The sample I am providing shows the event attached in the afterRender as I only want the event fired one time for each mouseover and mouseout.
Reproducible sample
https://codepen.io/thoughtassassin/pen/zYRbOMq?editors=1111
Optional extra steps/info to reproduce
See above codepen. The afterRender function is on begins on line 76.
Possible solution
No response
Context
I want to trigger a scale and highlight animation on the associated element in a doughnut chart when the user hovers over the related html legend option.
chart.js version
v3.8.0
Browser name and version
Chrome Version 102.0.5005.115 (Official Build) (arm64)
Link to your project
No response

Looks like I got a little closer. I think I wanted setActiveElements:
https://codepen.io/thoughtassassin/pen/vYdPjvN?editors=1010
The onmouseout doesn't seem to reset the active though.

Couple of issues. You had the items constructed in afterDraw hook, which means the event listeners are re-created on every frame. Not good for event listeners.
When changed to afterUpdate, and chart.update changed to chart.render, it works fine.
https://codepen.io/kurkle/pen/PoRoEeR
This could be a bug in chrome.


Bump v7.0.2

🚶

Artifact can be viewed here: :
https://5239-62313804-gh.circle-artifacts.com/0/sandbox/mdbook/book/index.html

Artifact can be viewed here: :
https://5238-62313804-gh.circle-artifacts.com/0/packages/style/storybook-static/index.html

Artifact can be viewed here: :
https://5238-62313804-gh.circle-artifacts.com/0/sandbox/sapper/__sapper__/export/index.html

Artifact can be viewed here: :
https://5238-62313804-gh.circle-artifacts.com/0/sandbox/vuepress/docs/.vuepress/dist/index.html


Dead Zone for Stick Input and prevent camera from "rolling over"

Added a small amount of "dead zone" for the sticks, so the old n64 controllers do not drift so much
Added a check that prevents the camera from going beyond looking straight up or down
🖤

any videos of the up-down bug?

Footage from an emulator, but the same behaviour on the original n64 console.
Portal64 has a fix for this in place. I could not get Lambert's code from there to work here 1 to 1, but I offer a suitable solution for this projects scope.


NFT Image Tracking size and position problem

Do you want to request a feature or report a bug?
Bug.

What is the current behavior?
When using NFT Image Tracking the augmented object (video) is not positioned within the borders of the marker. It could be near the NFT marker, it could be aside, sometimes it could be off the screen borders.
The size and position of augmented object is different on each device with different camera / screen resolution.
It makes Image Tracking totally unusable, because there will not be consistent result on each and every device.
If the current behavior is a bug, please provide the steps to reproduce.
Use the official NFT example:

Open https://ar-js-org.github.io/AR.js/aframe/examples/image-tracking/nft-video/ with camera device
Scan this image: https://ar-js-org.github.io/AR.js/aframe/examples/image-tracking/nft-video/pinball.jpg

My results:

Scanned with my webcam from smartphone screen. Here the video object is aside the marker and it is relatively small.

Scanned with smartphone from PC monitor. The video object is huge and is positioned different than in other example

Please mention other relevant information such as the browser version, Operating System and Device Name
Also tested on my local server with AR.JS 1.0.4.
Windows 10, Firefox 82.
Xiaomi MI A2, Opera 62, Google Chrome 86
What is the expected behavior?
I expect the augmented object to be the same size and position on each and every device this example is used.
For now i haven't found any information in docs or anywhere on how to correctly position the object according to NFT marker size and position.
If this is a feature request, what is motivation or use case for changing the behavior?

This is a known issue and is currently in development, hopefully @kalwalt  will be able to provide an update on his progress soon

@JamesBotterill  is this fixed? i'm still facing the issue. tested on 3.0.0 version still i'm facing that issue. is there is any other working build?

I think I'm having the same problem, but don't know how to describe. It's like the pixel density is all wrong (he guesses).
It's like the camera is on zoom x 4... and so when trying to scan the T.Rex using my phone from Laptop screen, I'm like only seeing a few keys rather than the whole laptop, and the dino model loads and shows but because it's so zoomed in, it sort of flies about too fast to locate...
Here's a video grab from my OnePlus 6T phone. https://photos.app.goo.gl/LhNNAY8L2GaZz6p4A

When I load my file with a browser I get this in the console... don't know if it helps.
AR.js 3.3.1 - trackingBackend: artoolkit
aframe-ar-nft.js:2149 ARjs.Anchor - changeMatrixMode: modelViewMatrix / markersAreaEnabled: false
aframe-ar-nft.js:396 THREEx.ArMarkerControls: 'markersAreaEnabled' is not a property of this material.
setParameters @ aframe-ar-nft.js:396
aframe-ar-nft.js:2 [info] Allocated videoFrameSize 1228800
put_char @ aframe-ar-nft.js:2
aframe-ar-nft.js:2 [info] Pattern detection mode set to 1.
put_char @ aframe-ar-nft.js:2
aframe-ar-nft.js:2 [info] Pattern ratio size set to 0.500000.

The last line looks suspicious to me...

@everythingability

It's like the camera is on zoom x 4... and so when trying to scan the T.Rex using my phone from Laptop screen, I'm like only seeing a few keys rather than the whole laptop, and the dino model loads and shows but because it's so zoomed in, it sort of flies about too fast to locate...

I had same issue in Opera on Android.
Try to add this to the head:
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />

Ah, thank you, yes, that helped... But now I loads like this....

... which I'm sure is fixable, with a bit of js on load, but it doesn't trigger the model anymore...

Ah, thank you, yes, that helped... But now I loads like this....
Phone screen capture:
... which I'm sure is fixable, with a bit of js on load, but it doesn't trigger the model anymore...

Thank you that worked, but apart from a few sizing issues, it now doesn't trigger the model anymore.

It did load the media, but at close-up/distance I couldn't get the dino to show.

@everythingability check the console for "[info] Tracked page ....." messages.
Now it looks like you're facing the issue i described in the first post

@JamesBotterill @kalwalt is this fixed? i'm still facing the issue. tested on 3.0.0 version still i'm facing that issue. is there is any other working build?Thanks in advance

@kalwalt is still working on it, it's a bit update to the underlying lib to enable it to centre it too the image marker. you can see the PR on here if you'd like more information.

@kalwalt & @JamesBotterill it would be fantastic to achieve something like this with upcoming PR: https://www.8thwall.com/8thwall/magic-photos-aframe

@danielok1993 agreed, not seen any updates on this in a while not sure if @kalwalt or @nicolocarpignoli  are able to provide anything as it's been quiet for a while.

@danielok1993 agreed, not seen any updates on this in a while not sure if @kalwalt or @nicolocarpignoli  are able to provide anything as it's been quiet for a while.

@danielok1993 @JamesBotterill it would be fantastic, but at the moment i haven't find a efficient solution. I haven't do any progress. I have limited free time, i am also more involved in our github organization and i find difficult to work in both project. Anyway we are trying to improve this issue in our projects, I am sure if we find a good one we can implement also in Jsartoolkit5 and AR.js.

@danielok1993 @JamesBotterill it would be fantastic, but at the moment i haven't find a efficient solution. I haven't do any progress. I have limited free time, i am also more involved in our github organization and i find difficult to work in both project. Anyway we are trying to improve this issue in our projects, I am sure if we find a good one we can implement also in Jsartoolkit5 and AR.js.

Hey @kalwalt, any update on this?

Any previous versions that could be used?

Just tried out nft for the past hours. Used vuforia, wikitude and metaio before. Happy that I found this thread here!
I mean basically "Image Tracking totally unusable" sums it up. To position an object correctly (centered) on the image is the main requirement for image tracking.
No offense, but this should be a big prio or it should be mentioned that nft (image tracking) is WIP or beta or something.

Currently messing around with this on day 2 with issues and stumbled upon this thread now after searching google. Is this really not working the way it should? I thought this feature was in a condition for development use but the positions are WAY off. Is this abandoned now?
Thanks,
jrDev

I've switched to another library by @kalwalt, https://github.com/webarkit/Arnft.  Works like charm, positioning is correct.

Was using Ar.js because the community added Unity Engine support. This looks cool but I wouldn't know how to convert to Unity support. Found Zapworks; it's not free but the hobby account gives everything and it works like a charm so far to test everything through Unity! Their native app is quite awesome too! I am planning to do something with my projects so I might be going this route since it's this easy with support and no hassle.

Hello @suxscribe,  how you are determining image width / height ? pls suggest something to me

Hello @suxscribe, how you are determining image width / height ? pls suggest something to me

Take a look at https://github.com/webarkit/Arnft. It's possible to set width / height with it

yeah, but how you find the width/height of the object

Hello @suxscribe, how you are determining image width / height ? pls suggest something to me

Take a look at https://github.com/webarkit/Arnft. It's possible to set width / height with it

Yeah, but its not accurate... how you find the width/height of the image, that you are seeing through camera, I mean in order to superimpose video over that image, we need exact height and width of the image after that only we can draw/play something over it

Hey, I faced same issue while trying ar.js,  @kalwalt  any updates on this?

yeah, but how you find the width/height of the object

No need to know exact size of the image. The final size of your augmented image is related to resolution of NFT marker,  resolution of video streamed from your camera and size of the image itself. So I guess for know it's just trial and error to get correct size

Hello, any updates?

I'm not sure it will solve your problem, but I found mindar.js works quite well on image tracking:
https://hiukim.github.io/mind-ar-js-doc/

Hello, any updates?

I'm not sure it will solve your problem, but I found mindar.js works quite well on image tracking: https://hiukim.github.io/mind-ar-js-doc/

Hey, thanks! I already know a fair bit about MindAR. But right now, I'm hustling to create a list of all the augmented reality libraries on the web that exist. I also want to see how effective they are, one after another. So, I'm looking for anything that involves augmented reality on the web.
If you know of any others, bring it on! 😄

Just want to provide a solution I used:
detect device type & screen aspect ratio.
for different device types, camera fov is different, so modify the fov parameter accordingly.
for example I have iPhone fov =60, and android fov=70


A version of Universal Router that does not depend on generators

Hi, I just wanted to let you guys know that I love Universal Router. I think it's a brilliant piece of code!
I ended up forking it though, because I didn't want to include babel-runtime and babel-regenerator-runtime in my web bundle. I released the fork as uroute. Maybe it can be of use to others that can't / don't want to depend on generator functions.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38224330-a-version-of-universal-router-that-does-not-depend-on-generators?utm_campaign=plugin&utm_content=tracker%2F18115217&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18115217&utm_medium=issues&utm_source=github).

Since v3.0.0 universal router does not depends on generators anymore. Thanks for the idea.


[Hubble] http info api returns error while getting snapshot and contracts

What is the bug?
I use this API to show the hubble version and whether it is syncing in NiceNode. It would be good if users could see the hubble version, syncing status, and other info right after it is started.

How can it be reproduced? (optional)

Start hubble
call https://www.thehubble.xyz/docs/httpapi/info.html#info curl http://localhost:2281/v1/info
Receive response: curl: (56) Recv failure: Connection reset by peer

Additional context (optional)
Additionally, even when the base /info api starts working, adding dbstats=1 as in the info docs, returns no matches found (ex. curl http://localhost:2281/v1/info?dbstats=1 -> zsh: no matches found: http://localhost:2281/v1/info?dbstats=1)

HTTP API support was released relatively recently—it might be worth double checking that you're running Hubble version 1.6.0 or newer, and that you don't have the --http-server-disabled flag specified.
You can try this out below:
⨠ curl "http://nemes.farcaster.xyz:2281/v1/info"
{"version":"1.6.0","isSyncing":false,"nickname":"nemes","rootHash":"f425e51f5096c73a4b0c6da06c9f8e950f1cf7c1","peerId":"12D3KooWMQrf6unpGJfLBmTGy3eKTo4cGcXktWRbgMnfbZLXqBbn","hubOperatorFid":9152}

⨠ curl "http://nemes.farcaster.xyz:2281/v1/info?dbstats=1"
{"version":"1.6.0","isSyncing":false,"nickname":"nemes","rootHash":"a8756d1f0460abc8db8cb3ed7bab51fa8258cc93","dbStats":{"numMessages":4515680,"numFidEvents":20840,"numFnameEvents":20706},"peerId":"12D3KooWMQrf6unpGJfLBmTGy3eKTo4cGcXktWRbgMnfbZLXqBbn","hubOperatorFid":9152}

Notice that we're wrapping the URL with quotes. The error message in your issue suggests that your shell (zsh) is interpreting the URL incorrectly, which is easily solved by wrapping the URL with quotes. Hope this helps.

@sds the problem is that the fails while Hubble is getting snapshot and contracts, right after starting

Got it. I'm not sure there's much we can do in this situation, but I'll leave it to the protocol team to triage further. Thanks!

This is fixed in(or before) v1.6.4!


typescript organize imports conflicts with ts-lint rule ordered-imports

TypeScript Version:  2.9.0-dev.201xxxxx

Search Terms: organize imports, code action
The typescript feature alphabetizes imports in a way that all imports starting with a capital letter come first.
The ts-lint rule expects everything to be alphabetized just based on the letter - irrespective of capitalization.
This gets annoying when you use the ts-lint rule and also configure the TS code action to organize imports when the file gets saved.
After you use the quick-fix in VS Code to fix issues, they just get recreated as soon as you save the file.

You can disable auto organize imports in VS Code: https://code.visualstudio.com/updates/v1_23#_run-code-actions-on-save

@j-oliveras you misunderstood my point. I know that and turned it on on purpose. The point is, it would be nice if ts-lint and TS organize imports would use the same method to alphabetize. ;-)

looks like a duplicate of https://github.com/Microsoft/TypeScript/issues/23366. we should use case-insensitive comparison when ordering imports..