How to create TransformableNode ?

After load 3D model to scene and when it touched there is exception rised
"TransformableNode must have an AnchorNode as a parent"
So, now I'am trying to create TransformableNode:
var TransformableNode = new TransformableNode(X);
Where X is "TransformationSystem" class, how I can get to it ?
In some source code (XamAR.Platform.Android.Sceneform.Factories.FactoryWrapper.cs) found commented code:
//var d = ((DisplayAndroid)ServicesManager.Display);
// Fragment is needed for TransformableNode, so user creates
// basic Node, and we will wrap it (to provide touch events).
Node wrapNode = node; // new TransformableNode(d.Fragment.TransformationSystem);
But I can't found ServicesManager. I think we need to get to fragment, that holds our model, but also can't get to it.

Hi, thank your for trying XamAR SDK.
Can you provide code segments that you are using? Or, if you are willing to, it would be the best to zip complete solution and share it here.
PS.
ServiceManager is not designed to be accessed by the user.
Basic idea is that XamAR tries to handle as many platform details as possible, leaving user to write minimum code and focus on development (but also to be able to have more control when needed). That is the reason why not many things are available from the SDK.

Hi, thank your for trying XamAR SDK.
Can you provide code segments that you are using? Or, if you are willing to, it would be the best to zip complete solution and share it here.
PS. ServiceManager is not designed to be accessed by the user. Basic idea is that XamAR tries to handle as many platform details as possible, leaving user to write minimum code and focus on development (but also to be able to have more control when needed). That is the reason why not many things are available from the SDK.

Thank You too for your library )
So, here it is (I'am trying to load 3D model and also didn't find method for load it from yours library):
            var nodeSphere = new Node()
            {
                LocalScale = new Google.AR.Sceneform.Math.Vector3(0.5f, 0.5f, 0.5f),
                LocalPosition = new Vector3(0, 0, 0).ToAR()
            };
           //this code block call method for load 3D model file (TestModel.sdf)
            var builder = ModelRenderable.InvokeBuilder();
            var javaClass = Java.Lang.Class.FromType(builder.GetType());
            var methods = javaClass.GetMethods();
            var method = methods[11];
            method.Invoke(builder, Platform.CurrentActivity, RealTK.Mobile.Droid.Resource.Raw.TestModel);
            builder.Build((m) =>
            {
                var model = m;
                MaterialFactory.MakeOpaqueWithColor(Android.App.Application.Context,
                    new Google.AR.Sceneform.Rendering.Color(1.00f, 0.87f, 0.62f)).ThenAccept(
                    new DelegateConsumer<Material>((m) =>
                    {
                        nodeSphere.Renderable = model;
                    })
                );

            });

Other part of code is the same as provided examples, so full class code for this model:
    public class TestModelItem : ModelFactory
    {
        public override ARModel CreateModel()
        {
            var nodeSphere = new Node()
            {
                LocalScale = new Google.AR.Sceneform.Math.Vector3(0.5f, 0.5f, 0.5f),
                LocalPosition = new Vector3(0, 0, 0).ToAR()
            };

         //this code block call method for load 3D model file (TestModel.sdf)

            var builder = ModelRenderable.InvokeBuilder();
            var javaClass = Java.Lang.Class.FromType(builder.GetType());
            var methods = javaClass.GetMethods();
            var method = methods[11];
            method.Invoke(builder, Platform.CurrentActivity, RealTK.Mobile.Droid.Resource.Raw.TestModel);

            builder.Build((m) =>
            {
                var model = m;
                MaterialFactory.MakeOpaqueWithColor(Android.App.Application.Context,
                    new Google.AR.Sceneform.Rendering.Color(1.00f, 0.87f, 0.62f)).ThenAccept(
                    new DelegateConsumer<Material>((m) =>
                    {
                        nodeSphere.Renderable = model;
                    })
                );

            });
            return nodeSphere.AsARModel();
        }
    }

Then this model loaded in Factory
  FactoryService.RegisterFactory<TestModelItem>("TestModel");

Then in Xamarin Forms project it call like at example:
   var world = XamAR.World.Instance;
   var modelAR = world.CreateModel("TestModel");

And so on ... And when it loaded in application on device - It's rendered perfectly, but when I'am hold 3D model and try to move - get error
"TransformableNode must have an AnchorNode as a parent"
After search examples in native Android code, get this:
  TransformableNode andy = new TransformableNode(arFragment.getTransformationSystem());
     andy.setLocalScale(new Vector3(0.1f, 0.1f, 0.1f));
     andy.setParent(anchorNode);
     andy.setRenderable(andyRenderable);

That's why I'am trying to find  Fragment with ArView and it's transformation TransformationSystem

Great, thank you for this feedback!
It's a little bit busy period, give me couple of days to check and test everything, and i will get back to you.

@windofny1
Hi. Ok, i have tested the problem, and this is current state.
tldr;

only dragging object makes problem - because our objects are not connected to anchors (this event should be disabled by XamAR)
loading of 3d models is in our todo list (.sfb and .glb formats will be supported. I am surprised that you have successfully loaded .sdf)

Detailed explanation:
XamAR at this moment works only with GPS-coordinates. This means that all positions are calculated per-frame, relative to camera position (and orientation), and anchors are not used. This further means that objects are not connected to fixed position in real world (which is done by using anchors).
Using coordinates to position object in AR world is bad idea (by both Google and Apple), because coordinate system can be changed between frames, but since in XamAR positions are calculated for each frame, this is not concern (problem would be if coordinates for object are calculated once, and not recalculated for following frames - this where anchor is used, among other things it keeps object in position in real world). Geo positioning that we do is kind of special case of AR, which deviates from "regular" AR.
Now comes the exception "TransformableNode must have an AnchorNode as a parent".
This is something which comes from Android. By dragging you try to change position of the object (it can be considered as if you are trying to add offset from object's current position, which is defined in real world by an anchor). But, since our object is not positioned by Anchor but directly by coordinates, Android complains because it doesn't have "reference" to which offset should be added.
In our todo list is also support for various events (not directly but through our wrapper), as well as adding support for anchors (and therefore positioning objects close to camera, with anchors - "regular" AR).

@windofny1
And, just in case, after creating and registering Factory, all you need to do is:
var world = World.Instance; var model = await world.CreateModel("TestModel"); // Object is always 1 meter in front of the camera. var position = new RelativeToDeviceDirection(new Vector3(0, 0, -1)); world.AddModel(position, model);
PS. You can't access TransformNode (to use it in the app), this is something that we are adding behind the scenes.
PS2. But, before we have that working in XamAR, and if you really want to explore more, you can wrap your Node in TransformNode (set TransformNode as parent) and return it as result from the factory. It is platform specific solution (which we are trying to avoid, but you can test it). TansformNode has some events that you can listen to.
Events are not yet supported, except for Tap event for objects and for planes, but this is more proof of concept at this moment.
You can check them  with
World.Instance.GlobalPressed
and
World.Instance.PlaneTapped

Thanks again, if you have more questions, feel free to ask.

Thanks for detail answer! I appreciate it!
Generally, in our project we don't need to drag or rotate object, just need to display it at GPS location, so Yours library satisfies this purposes.
Like temporary solution now we add in Android project MainActivity.cs handler for all exceptions
        {
        ...
            AndroidEnvironment.UnhandledExceptionRaiser += (s, e) =>
            {
                 e.Handled = true;
            };
        }

In Your last answer you mentioned "TransformNode":

PS2. But, before we have that working in XamAR, and if you really want to explore more, you can wrap your Node in TransformNode (set TransformNode as parent) and return it as result from the factory. It is platform specific solution (which we are trying to avoid, but you can test it). TansformNode has some events that you can listen to.

Did you mean "TransformableNode" ? I didn't find any "TransformNode"
P.s.: We created tutorial video with using yours library, maybe it will be interesting to you
https://youtu.be/tnPFNXws0WE

Did you mean "TransformableNode" ? I didn't find any "TransformNode"
Sorry for that, you are right, this was a typo. I edited the answer.

Nice video :) Few explanations you may find useful.
Why reflection is used? Something is wrong with SetSource method in Xamarin.Android (wrong binding or something), so when you use it in regular way, it will throw exception at runtime that method is not found. But, reflection works well. 11-th method is SetSource with int as second parameter. You can also get this method with reflection by providing type parameters. You can see both approaches in link below.
Here you  can check my answer on issue for SetSource (not that 13-th method is used)  https://github.com/xamarin/XamarinComponents/issues/833#issuecomment-911909326 .
Keep in mind that solution provided in the comment stores models in Assets folder, and is referenced by relative path (and not by id, as in Resources folder).
There you can also see how to load .glb file, which is much better solution because you can export it directly from 3d modeling software, and import without any conversions (like for .sfb, where you need Android Studio up to 3.5, and much time to wait for compilation).

Perfect! That's much better ) Thanks for provided solutions!!

@windofny1

Like temporary solution now we add in Android project MainActivity.cs handler for all exceptions

Great that this "hack" works. Although, you are also aware of it but for other readers, this is very poor practice for production environments. But until we handle that in XamAR library itself, this is best workaround.
Thank you for your feedback, it was very useful, and gave us some meaningful information! It will definitely be helpful for next versions (although we've been little recently bit slow on development).
PS. I missed somehow, can you explain for what you are using Xam.Plugin.Geolocator? XamAR has internal solution for getting GPS location of the device, so i'm little bit curious about your use case.

PS. I missed somehow, can you explain for what you are using Xam.Plugin.Geolocator? XamAR has internal solution for getting GPS location of the device, so i'm little bit curious about your use case.

In other our projects we prefered to use "Xam.Plugin.Geolocator", it's just architecture decision. We have one point, where we get location using dependency injection:
private ILocationService _LocationService;
 ....
    var loc = await _LocationService.GetCurrentLocation();
            if (loc.Result == Interfaces.DefaultEnums.Result.ok)
            {
                     // loc.Latitude,
                     // loc.Longitude,
                    // loc.Altitude
            }
 ...
 services.AddSingleton<ILocationService, GPSLocationService>();
 ...
 public class GPSLocationService:ILocationService
    {
        private IMappingService _MappingService;
        public GPSLocationService(IMappingService MappingService)
        {
            _MappingService = MappingService;
        }
        public async Task<IBaseLocation> GetCurrentLocation()
        {
             var locator = CrossGeolocator.Current;
            if (locator != null && locator.IsGeolocationAvailable && locator.IsGeolocationEnabled)
            {
                var pos = await locator.GetPositionAsync(TimeSpan.FromSeconds(10));
                return _MappingService.Map<BaseLocation, Position>(pos);
            }
            else
            {
                return BaseModelUtilities<BaseLocation>.Error(new Exception("No location info available"));
            }
        }
    }

Great that this "hack" works. Although, you are also aware of it but for other readers, this is very poor practice for production environments. But until we handle that in XamAR library itself, this is best workaround.

Yes, it's dangerous way, may product memory leaks and perfomance problems. It's just prototype for a quick hand, but inside this handler can add handling for current exception type and do some memory cleaning, or prouduce some response on error and so on..)
So, if I get something new for this case, will leave comments!

Great, thanks again!


Inline validation errors for valid fields aren't cleared if other fields are invalid

Only observed so far when the validation engine is mixed in to a model rather than a controller. It's working ok with controller-based validations as evidenced by it's use in the setup/two controller.
From initial checks it appears the validation check for the individual field is failing which results in the error message not being cleared.

This may be a separate issue but I have just noticed that for fields which have multiple different errors depending on the value, previous error messages aren't cleared when re-validating.
From a UX perspective it can be a bit confusing as it results in a randomly selected error being selected on each focus-out. I've made a screen recording demonstrating the issue here http://recordit.co/DfpdlfVtpe

I think this can be closed per #5548?

Yep, thanks!


net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED when pinging a HTTPS BasicAuth WebService

Advanced REST client (BETA from 2016/07/26!) brings up

The requested URL can't be reached
The service might be temporarily down or it may have moved permanently to a new web address.
net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED

when GET or HEAD to an webservice endpoint which works(!), when entered to the chrome address bar directly.
Neither prefixing "username:password@" to the URL nor adding a authorization header field ("Basic TXlVc2VyTmFtZTpNeVBhc3NXb3Jk") helps. Best would be just to ask for user authentication.

Hi,
Thanks you for issue report.
Can you try switch to "use XHR" in the request view and check if this helps?
According to your description this is not app's issue but Chrome's. You can try report it to the Chrome team referencing this bug.
In this case i'd be inclined to close it as wontfix.

Hello
I get ERR_SSL_CLIENT_AUTH_CERT_NEEDED
Hrome Get this page normaly, but ARC show error,
if switch On XHR - request ok

That was the point of putting this button in the request panel @Shagrat2 . Normally Chrome apps can't pass chrome security if there's a certificate error. It's only allowed for websites (and therefore for extensions).


Command failed with ENOENT: create-rwjblue-release-it-setup --no-install

When I try to run this blueprint directly from the git repo like this:
npx ember-cli new my-shiny-new-addon -b embroider-build/addon-blueprint
I see the following error:
Error creating new application. Removing generated directory `./my-shiny-new-addon`
Command failed with ENOENT: create-rwjblue-release-it-setup --no-install
spawn create-rwjblue-release-it-setup ENOENT

Full output

installing ember-v2-addon-blueprint
  create .editorconfig
  create .github/workflows/ci.yml
  create .prettierignore
  create .prettierrc.js
  create CONTRIBUTING.md
  create LICENSE.md
  create README.md
  create .gitignore
  create package.json
  create packages/my-shiny-new-addon/.eslintignore
  create packages/my-shiny-new-addon/.eslintrc.js
  create packages/my-shiny-new-addon/.template-lintrc.js
  create packages/my-shiny-new-addon/addon-main.js
  create packages/my-shiny-new-addon/babel.config.json
  create packages/my-shiny-new-addon/package.json
  create packages/my-shiny-new-addon/rollup.config.js
  create packages/my-shiny-new-addon/src/index.js
  create test-app-overrides/config/ember-try.js
  create test-app-overrides/ember-cli-build.js
installing app
Ember CLI v4.3.0

✨  Creating a new Ember app in /Users/dfreeman/Desktop/Scratch/my-shiny-new-addon:
  create .editorconfig
  create .ember-cli
  create .eslintignore
  create .eslintrc.js
  create .prettierignore
  create .prettierrc.js
  create .template-lintrc.js
  create .travis.yml
  create .watchmanconfig
  create README.md
  create app/app.js
  create app/components/.gitkeep
  create app/controllers/.gitkeep
  create app/helpers/.gitkeep
  create app/index.html
  create app/models/.gitkeep
  create app/router.js
  create app/routes/.gitkeep
  create app/styles/app.css
  create app/templates/application.hbs
  create config/ember-cli-update.json
  create config/environment.js
  create config/optional-features.json
  create config/targets.js
  create ember-cli-build.js
  create .gitignore
  create package.json
  create public/robots.txt
  create testem.js
  create tests/helpers/index.js
  create tests/index.html
  create tests/integration/.gitkeep
  create tests/test-helper.js
  create tests/unit/.gitkeep
  create vendor/.gitkeep
Error creating new application. Removing generated directory `./my-shiny-new-addon`
Command failed with ENOENT: create-rwjblue-release-it-setup --no-install
spawn create-rwjblue-release-it-setup ENOENT

Stack Trace and Error Report: /var/folders/6w/fd1g7pqj4vj0n3w28l2fql940000gn/T/error.dump.80a9ca3c7f0b2b198a802f12adbd91a2.log

(The log file doesn't contain any additional info, just a shallow processTicksAndRejections backtrace)

@dfreeman thank you for the detailed defect!
@simonihmig I wonder if we should do npx create-rwjblue-release-it-setup --no-install instead on this line
https://github.com/embroider-build/addon-blueprint/blob/90b3191e1c59288a3640c706dc9b69a704627f96/index.js#L80

Hm, strange, I tried to reproduce this, but it does work fine for me, even with exactly the same command! 🤔
Btw, should have been npx ember-cli addon (not new), but actually both commands work for me, apparently that is not the issue...

I wonder if we should do npx create-rwjblue-release-it-setup --no-install

Idk, first I'd like to be able to reproduce and understand the root cause. execa should be able to run npm bins in the way we call them here.
@dfreeman anything special about your setup that comes to your mind? Node version? Mac/Windows/Linux?
@SergeAstapov could you run the same command on your machine maybe?

@simonihmig I have exact same result:
Error creating new application. Removing generated directory `./my-shiny-new-addon`
Command failed with ENOENT: create-rwjblue-release-it-setup --no-install
spawn create-rwjblue-release-it-setup ENOENT

I think problem is that you have create-rwjblue-release-it-setup installed globally and me and @dfreeman don't have it globally.

execa should be able to run npm bins in the way we call them here.
I suspect no, as non-globally installed bins can be run only within scripts otherwise needs either full path or npx

I think problem is that you have create-rwjblue-release-it-setup installed globally and me and @dfreeman don't have it globally.

Oh, yes, that was is, good catch! But now that I can reproduce, I'll look into it...


Create SECURITY.md

What is this and why do we need it?

https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository
I'm not against such a file ,but this is just a dummy without any actual content.
We also usually don't have any security related issues within rssbridge anyways (or at least know of none). PHP and the likes publish their own, so its also not needed there.
If you come up with content to put in there, we might reconsider

Closed for now. You can create a new PR with content if you want.


Create Your First Application with SAP Cloud SDK for JavaScript

Tutorial URL: https://developers.sap.com/tutorials/s4sdkjs-odata-service-cloud-foundry.html
Please specify the step you are referring to
Step 5: Manage destinations centrally (optional) in the group Create an App Using SAP Cloud SDK for JavaScript.
To import .env variable in process.env, we should use following code:
import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';

@Module({
  imports: [ConfigModule.forRoot()],
})
export class AppModule {}

and not just
imports: [ConfigModule]

For confirmation, please see the NestJS documentation: https://docs.nestjs.com/techniques/configuration
Regards,
Rahul

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


ARROW-3713: [Rust] Implement BinaryArrayBuilder

Builds on ARROW-3644 and ARROW-3787.

Thanks @xhochy.  I'll wait until ARROW-3787 is merged (which is needed) then rebase.

@paddyhoran You can rebase now.

@kszucs @sunchao @andygrove I think this is ready for review now


Don't display protocol inscriptions on homepage

Fixes #2659.

The number of .bitmap inscriptions post blockout is minimal, presenting no major concerns. Introducing bias into the ord client is a slippery slope. If brc-20 dominate the front-page so be it.
"The spirit of the people is greater than the Man’s technology"
-Huey P. Newton

I don't think it's a slippery slope. All the inscriptions which are hidden from the homepage are really objectively not interesting to look at. BRC-20, bitmap, and gib inscriptions are protocol messages, and the overwhelming majority of users don't care about them, and will benefit from seeing a more interesting stream of inscriptions. The old homepage is still available under /blocks as well, so if people are interested in an unfiltered view, they can go there.

I acknowledge the rationale behind pruning BRC-20 inscriptions, yet, from an objective standpoint, the unfiltered view of what's being inscribed offers a more intriguing insight for me personally. Deciding what is shown should be left to third party apps and marketplaces. Anecdotally, I was introduced to ordinals as a new way to grift PFP projects, I did not become interested until metaprotocols like .bitmap which is a highly efficient use of blockspace, more in-line with the ethos of bitcoin and satoshi who inscribed text to the genesis block, not jpegs. Filtering by content type could be one approach, but hand selecting winners and losers is creating a president for a ban list which will continue to grow, or will go into 1.0 with a hard coded bias being shown against .bitmap and gib selectively which represent less than 1% of daily inscriptions

I strongly support explorers choosing to display inscriptions differently according to their design goals. This is in line with my view that we have several layers:
the protocol
implementations of the protocol
explorers
Just like Ordinals is a "lens" you view Bitcoin through, explorers are a "lens" you view Ordinals through. I think it not only makes sense for ordinals.com to filter inscriptions as it sees fit, I think it sets a good example for the ecosystem & other explorers.

I strongly support explorers choosing to display inscriptions differently according to their design goals. This is in line with my view that we have several layers:
the protocol implementations of the protocol explorers
Just like Ordinals is a "lens" you view Bitcoin through, explorers are a "lens" you view Ordinals through. I think it not only makes sense for ordinals.com to filter inscriptions as it sees fit, I think it sets a good example for the ecosystem & other explorers.

I agree to an extent, but de-ranking .bitmap seems more like a KEK and i don't think that sets a good example at all considering there are around 150 blocks per day, i'd personally rather see a .bitmap inscription on the front-page than someones half bakes pfp project. Also new users will be unaware of this code change as it will not be denoted on the front page in any way, creating a colored view of ordinals.

I was under the impression the design goals of ordinals.com was to serve as ground truth for ordinals. Is this no longer the case?
Rather than pruning, why not add filters in the front-end?
I purposefully designed bitmap to NOT use JSON files, and instead use simple text, largely because I thought JSON looked ugly on ordinals.com. This was my concern from the beginning. I think the bitmaps are beautiful in their raw form, personally.
It has no bearing on the success of Bitmap of course, but it does display a clear bias towards certain kinds of inscriptions.

There's no pruning, literally just a filter on one page of ordinals.com. You can still see all bitmaps and brc-20 if you go to the blocks page or inscriptions page

Also, there are way more than 144 .bitmap inscriptions per day, since there are often multiple attempts to claim a .bitmap. In in times of high fee pressure, like now, not many inscriptions are being made, so .bitmap inscriptions often make up a significant portion of the last 100 inscriptions, once BRC-20's are filtered.

There's no pruning, literally just a filter on one page of ordinals.com. You can still see all bitmaps and brc-20 if you go to the blocks page or inscriptions page

@Blockamoto my pruning i meant trimming (front front-page).
Still there's no real argument here other than "we don't like seeing bitmap" there's a million other protocols, tap, orc-20, brc420, brc100. It's not the job or ordinals.com to act as a marketplace or to beautify the front page. it's a blockchain explorer

Still there's no real argument here other than "we don't like seeing bitmap"

"It makes the homepage ugly." is a valid argument. People go to to the homepage of ordinals.com, and their own ord instances, to see interesting looking inscriptions, not to see how many BRC-20 tokens have been minted, or how many duplicate or stale bitmap inscriptions were submitted to claim a block.

there's a million other protocols, tap, orc-20, brc420, brc100. What will the next bitmap be? will you have to then keep pushing filters?

Whenever a protocol gets popular enough to make the homepage ugly, we will add a filter. Filters are one-line changes.

It's not the job or ordinals.com to act as a marketplace or to beautify the front page.

It is not the job or ordinals.com to act as a marketplace, but it is the job of ordinasl.com to beautify the front page.

it's a blockchain explorer, of sorts, Intertwined within the client (for better or for worse) and as block mentioned: The expected source of truth for ordinals protocol. If I want to see pretty stuff i can visit a number of other explorers and front-ends where biases are expected.

You can also visit the /blocks page, to see the latest, unfiltered inscriptions. There is not particular reason to display the latest unfiltered inscriptions on the home page, because the majority of users would prefer to see the latest interesting inscriptions, instead of the latest unfiltered inscriptions.

As a users, i specifically visit ordinals.com to see unfiltered information, I want to see which brc-20 are being minted and traded, it gives me insight. And although it may be available to see on the blocks page, it will be misleading if not explicitly stated that the front-page is filtered.

The homepage doesn't say "these are the latest unfiltered inscriptions", it just presents 100 inscriptions. I don't think it's particularly misleading.

Still there's no real argument here other than "we don't like seeing bitmap" there's a million other protocols, tap, orc-20, brc420, brc100. It's not the job or ordinals.com to act as a marketplace or to beautify the front page. it's a blockchain explorer

I believe this is a common view because users have trouble differentiating between what is protocol, implementation of the protocol, and explorers of inscriptions using the reference implementation of the protocol. It's also my personal opinion that the developers of the reference implementation have not done a good job communicating the difference between the protocol and reference implementation, in fact often conflating the two. I think this is one reason why the adjustments to the landing page of the ordinals.com is controversial, because these different elements have not been sufficiently distinguished.
That said, I think demonstrating that Explorers should customize how they "interpret" Inscriptions is both a good design decision & leadership for the ecosystem. In the same way that ordinals.com may want to filter certain text & JSON from the landing page, other explorers may want to only show those. I would argue some tools like GeniiData are actually also explorers, just selecting to focus on JSON/metaprotocols.
I think there should be consensus on protocol, expected similarities but not necessarily consensus on implementation, and wide diversity among explorers.

My only point is playing whack-a-mole is futile and selectively bias. Once development is finalized on ordinals, which i believe is the goal - you will have this short-list of things you tried to disappear and it's not going to age well. Filtering by content type, having toggles, or some other solution like showing the largest file sizes could be more fun and future proof. Personally I don't care about peoples pixel punks, so who's to say what's valid. @cbspears to your point about leadership, as someone involved with .bitmap community, we already have to deal with sanctimonious attitudes, having that co-signed even in this small way is not ideals. Very reminiscent of bitcoin maxis saying ordinals are a waist of space

My only point is playing whack-a-mole is futile and selectively bias.

It's not futile. Filters are one-line changes. The filter for BRC-20 also catches all JSON protocol inscriptions.

Once development is finalized on ordinals, which i believe is the goal - you will have this short-list of things you tried to disappear and it's not going to age well.

Most users support this change. It's going to age fine.

Filtering by content type, having toggles, or some other solution like showing the largest file sizes could be more fun and future proof.

We have a toggle. It's called clicking the "Blocks" tab.

Personally I don't care about peoples pixel punks, so who's to say what's valid. @cbspears to your point about leadership, as someone involved with .bitmap community, we already have to deal with sanctimonious attitudes, having that co-signed even in this small way is not ideals. Very reminiscent of bitcoin maxis saying ordinals are a waist of space

We aren't saying that .bitmap or BRC-20 tokens are a waste of space. We're saying that they are visually uninteresting for the vast majority of users.

@cbspears to your point about leadership, as someone involved with .bitmap community, we already have to deal with sanctimonious attitudes, having that co-signed even in this small way is not ideals. Very reminiscent of bitcoin maxis saying ordinals are a waist of space

I want to keep this as much focused on the specific topic of what to display on the ordinals.com explorer, but to your point on sanctimonious attitudes, condescension I may communicate about .bitmap --
I've been very critical of Inscriptions as a mechanism for namespace in general as I believe these metaprotocols are structurally flawed long term. That doesn't mean that I'm against namespaces in general, in fact I think that's one of the most underexplored developments on Bitcoin. It also doesn't mean namespace & fungible token protocols won't have significant value accrual in the short term either.
 It's like the quote from Evelyn Beatrice Hall on Free Speech "I disapprove of what you say, but I will defend to the death your right to say it." just instead about using Bitcoin. That is a far cry from anti-Ordinals crowd many of whom wish to censor or prevent ordinals-related transactions at the protocol level.
That doesn't preclude filtering certain types of Inscriptions from the frontend of an explorer. I will probably even buy some bitmaps just to enjoy the ridiculousness of it all. Unfortunately most internet discourse is reductive & binary so I don't go into nuanced detail in a forum format as we have here.
I think that most bitmap enjoyers are probably just not aware of the technical shortcomings to the protocol and confuse technical criticism with personal & interpret price increase as invalidation of the technical criticisms.

You shield yourself nicely from actually having to explain yourself regarding "technical limitations" by claiming it has nothing to do with your opinion that ordinals.com homepage should filter out metaprotocols from the homepages raw feed.
If you actually want to challenge the protocols technical standing, I'm happy to have this discussion wherever whenever. It could be that the shortcoming is not with the thousands of people who have come to a different conclusion.
I think beauty is in the eye of the beholder, and it's okay that you think bitmap is ugly. When I created it, to me it was the most beautiful thing I'd ever seen, but we can beg to differ.

Ok well I stated my case and I support good work you guys are doing @casey

@cbspears to your point about leadership, as someone involved with .bitmap community, we already have to deal with sanctimonious attitudes, having that co-signed even in this small way is not ideals. Very reminiscent of bitcoin maxis saying ordinals are a waist of space

I want to keep this focused on the specific topic of what to display on the ordinals.com explorer, but to your point on sanctimonious attitudes, condescension I may communicate about .bitmap --
I've been very critical of Inscriptions as a mechanism for namespace in general as I believe these metaprotocols are structurally flawed long term. That doesn't mean that I'm against namespaces in general, in fact I think that's one of the most underexplored developments on Bitcoin. It also doesn't mean namespace & fungible token protocols won't have significant value accrual in the short term either.
 It's like the quote from Evelyn Beatrice Hall on Free Speech "I disapprove of what you say, but I will defend to the death your right to say it." just instead about using Bitcoin. That is a far cry from anti-Ordinals crowd many of whom wish to censor or prevent ordinals-related transactions at the protocol level.
That doesn't preclude filtering certain types of Inscriptions from the frontend of an explorer. I will probably even buy some bitmaps just to enjoy the ridiculousness of it all. Unfortunately most internet discourse is reductive & binary so I often don't go into nuanced detail in a forum format as I can here.

@cbspears I'd love to debate about this, but for sake of casey and raph time, I will rest my case and say that I support all the great work being done to ordinals, even if i disagree here. I personally rely on ordinals.com for unfiltered information and from a UIX perspective it's really confusing that /blocks/ will server different information than the front page which is presented as an explorer, not a curation.
The .bitmap namespace has no technical shortcomings. It is just a text inscription. As i said before Satoshi himself added text to the genesis block. Ordfluencers jumping over from ETH and Solana, dismissed it due to bag biases and confusion why liquidity was flowing into a simple text file and not their PFP projects. By using Bitcoin as a verification layer, we can query block data off-chain to visualy represent .bitmap in any way, making it a highly versatile and compact use of block space. I have a very long history developing in crypto space and developing on EVM, have won multiple hackathons etc. To me bitmap is one of the most interesting ordinals projects with 800k supply, 30k holders, numerous decentralized developers. That is not found anywhere else. The sat hoarders and gatekeepers will argue that "uncommon sat" ownership gives you the block, which is great, but convince 30k people of it and then implement it. The social consensus supports .bitmap, aligning with Bitcoin's intended purpose as a verification tool.

https://ordinals.com/inscription/5


Update getting-started-overview-new.md

🚀 Deployed on https://664d54a55caf3d7725e24f6d--cozy-fox-0defec.netlify.app


DOC: sync PyWavelets main descriptions.

Also remove PyPI classifiers for Python 2.6/3.3 and add 3.6

Current coverage is 86.68% (diff: 100%)

Merging #248 into master will not change coverage

@@             master       #248   diff @@
==========================================
  Files            20         20
  Lines          2900       2900
  Methods           0          0
  Messages          0          0
  Branches        277        277
==========================================
  Hits           2514       2514
  Misses          335        335
  Partials         51         51

Powered by Codecov. Last update 8c6cbe9...20ad997


Consider binary compatibility for the generated code

Current constants are generated as interface constants -> they are inlined by javac, so the client code must be recompiled every time the grammar is re-generated.
What if JavaCC produced constants in such a backward-compatible way?
For instance:

Generate enum
Use non-inlinable code for constants. For instance, if the constant is declared as int DECIMAL_LITERAL = Math.max(42, 0), then javac does not inline it, and the users of ParserConstancts.DECIMAL_LITERAL would get up to date value for the token id even if they don't recompile.

See the following in the description of https://github.com/pmd/pmd/pull/2260 :

since adding some token regexes breaks the binary API (token ids are inlined compile-time constants)

To note, that with option 2, it wouldn't be possible to switch on the token kind in the parser (switch requires constant expressions as labels).
A third solution, that uses ints as token kinds, would be to generate two files:

one for private use by the parser, where token ids are compile-time constants
one for the public API, where the ids are not compile-time constants, and hence are not inlined in client code (eg declared with  Math.max like above, or initialized in a static block)

Note: user code might want to have switch(...) over token kinds as well, so enum is probably ok.

@zosrothko What happened to this issue? Did you decide on something? and will #158 ever be merged?


rename test function for datasets

Linked issue(s):
Fixes KOL-3939
What change does this PR introduce and why?
test for datasets is just a result upload, renaming it to make more sense
Please check if the PR fulfills these requirements

[ ] Include reference to internal ticket and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Relevant tests for the changes have been added
[ ] Relevant docs have been added / updated

Is there a backend PR follow up coming up?

cc @sandalns latest trunk should fix the example failure, can you merge/rebase and merge this after https://github.com/kolenaIO/kolena/pull/424?


Revisit size and reported min/max of NLDAS meteo files

From Sam:

What is the 0.379366 in the NLDAS file names?
I expected each of these .csv files to be the same length – basically one row for every date over the entire period. However, the files do not have the same length. The best I can tell is that the data is duplicated for however many lakes are crosswalked to that cell – e.g., if there are 5 lakes in that cell, there will be (n dates X 5) rows in that file. There are random NA values in rows when these files are read in, too.
How did you generate min and max in the metadata? They do not match min/max values in the files. For example, in file NLDAS_time[0.379366]_x[194]_y[181].csv, minimum air temperature is -36.6 but the reported min in the metadata is -27.2. Several other examples.

What is the 0.379366 in the NLDAS file names?

In the full filepath: ``. It is the same value for every file, which means we can probably just remove it. From what I can tell, it was used as a unique identifier for the time range represented (see construction of filepath here, and the specified time range here). It is likely leftover from when there were different files with different time ranges. This is saying that the file starts at timestep of 0 and ends at timestep of 379366 (where timesteps are hours since the starting date-time).
Solution is to remove this field from the filepaths since they all have the same value and we have other ways to report time in the metadata.

I expected each of these .csv files to be the same length – basically one row for every date over the entire period.

Me too! Upon further investigation, it looks as if we have a lot of duplicated info in these files. When you de-duplicate, they all have the same length. Must be something with how we were using them in lake-temperature-process-models? I copied the CSVs from lake-temp/lake-temperature-process-models/1_prep/in/NLDAS_GLM_csvs. Maybe those were duplicated purposefully in prep for modeling?
library(tidyverse)
x1 <- read_csv("tmp_data/NLDAS/NLDAS_time[0.379366]_x[227]_y[164].csv")
x2 <- read_csv("tmp_data/NLDAS/NLDAS_time[0.379366]_x[229]_y[174].csv")
nrow(x1)
nrow(x2)
nrow(distinct(x1))
nrow(distinct(x2))

> nrow(x1)
[1] 900998
> nrow(x2)
[1] 284525

> nrow(distinct(x1))
[1] 15807
> nrow(distinct(x2))
[1] 15807

My solution for now will be to add a step that loads and uses distinct() for each of these files ...

Now each of the zips are under 1 GB. I am going to drop the number of zips down to 2 (which will mean that the lake_metadata.csv file will need a rebuild).

To revise min/max, I did this:
# Calc min/max of each column:
all_nldas_meteo_csvs <- list.files("tmp_data/NLDAS", full.names = TRUE)
nldas_meteo <- purrr::map(all_nldas_meteo_csvs, function(fn) {
  data.table::fread(fn, drop = "time")[, c(min = lapply(.SD, min),
                                           max = lapply(.SD, max))]
}) %>% data.table::rbindlist()

# Min values
nldas_meteo_min <- nldas_meteo %>% as_tibble() %>%
  select(starts_with("min.")) %>%
  pivot_longer(cols = everything(), values_to = 'min_vals', names_to = "variable") %>%
  mutate(variable = gsub('min.', '', variable)) %>%
  group_by(variable) %>% summarize(min = min(min_vals))

# Max values
nldas_meteo_max <- nldas_meteo %>% as_tibble() %>%
  select(starts_with("max.")) %>%
  pivot_longer(cols = everything(), values_to = 'max_vals', names_to = "variable") %>%
  mutate(variable = gsub('max.', '', variable)) %>%
  group_by(variable) %>% summarize(max = max(max_vals))

left_join(nldas_meteo_min, nldas_meteo_max)

# DO TIME THIS TIME!
nldas_meteo_tm <- purrr::map(all_nldas_meteo_csvs, function(fn) {
  data.table::fread(fn, select = "time")[, c(min = lapply(.SD, min),
                                             max = lapply(.SD, max))]
}) %>% data.table::rbindlist()
min(nldas_meteo_tm$min.time)
max(nldas_meteo_tm$max.time)

Closed by #78


Full-screen white or black detection

this one needs to verify frame by frame in the pipeline

implemented frame by frame, frame of reference video chunks


[BugFix] Fix ipv4 address parsing regression

#3641 was a fix for ipv6 but broke ipv4 case.
  File "/workspace/vllm/worker/worker.py", line 100, in init_device
    init_distributed_environment(self.parallel_config, self.rank,
  File "/workspace/vllm/worker/worker.py", line 269, in init_distributed_environment
    torch.distributed.init_process_group(
  File "/opt/vllm/lib/python3.11/site-packages/torch/distributed/c10d_logger.py", line 74, in wrapper
    func_return = func(*args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/vllm/lib/python3.11/site-packages/torch/distributed/distributed_c10d.py", line 1138, in init_process_group
    rendezvous_iterator = rendezvous(
                          ^^^^^^^^^^^
  File "/opt/vllm/lib/python3.11/site-packages/torch/distributed/rendezvous.py", line 98, in rendezvous
    return _rendezvous_helper(url, rank, world_size, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/vllm/lib/python3.11/site-packages/torch/distributed/rendezvous.py", line 60, in _rendezvous_helper
    result = urlparse(url)
             ^^^^^^^^^^^^^
  File "/opt/vllm/lib/python3.11/urllib/parse.py", line 395, in urlparse
    splitresult = urlsplit(url, scheme, allow_fragments)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/vllm/lib/python3.11/urllib/parse.py", line 500, in urlsplit
    _check_bracketed_host(bracketed_host)
  File "/opt/vllm/lib/python3.11/urllib/parse.py", line 448, in _check_bracketed_host
    raise ValueError(f"An IPv4 address cannot be in brackets")
ValueError: An IPv4 address cannot be in brackets

Is it urllib version related? I can have ipv4 in bracket:
import urllib.parse
urllib.parse.urlparse("tcp://[<IP_ADDRESS>]:8080").hostname # <IP_ADDRESS>

I'm using python 3.10 .

Hmm, we are using python 3.11

@youkaichao looks like this was "fixed" recently in cpython https://github.com/python/cpython/issues/103848

Let's add some comment there for future clarification then.


Remove buildtest show schema

The purpose of buildtest show schema was to show YAML schema on CLI with all the key and description. Since this is being developed and documented in https://github.com/HPC-buildtest/schemas we can remove the feature for now.
I think in future we can add the cli feature to show schema that could take the json schema and all the YAML examples and print them to screen. Another option could be to have all the schema docs on a GitHub page and use the CLI to pull the page locally. It could be like a man page style.
I can see the feature useful if designed like a man page which would help users that are developing a test to view docs and examples from command line instead of going to a separate web-page. If this is to work, all the docs should be in the schema repo or some GitHub page so that the framework is not re-implementing the schema docs.

This will be very easy to do once the schema script module is added - it will be trivial to load a recipe config based on any specific type, validate it, and then print to the console.

This is refactored with the new structure - you can either show the global schema:
 buildtest show -c
BUILDTEST_MODULEPATH                               =
EDITOR                                             = vim
build[testdir]                                     = /home/vanessa/.buildtest/testdir
build[module][purge]                               = {'force': False}

Or a schema for a specific type (e.g script)
$ buildtest show schema --name script
{
    "$id": "https://HPC-buildtest.github.io/schemas/script/script-v0.0.1.schema.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "BuildTest Test Configuration for Script",
    "type": "object",
    "required": [
        "type",
        "run"
    ],
    "propertyNames": {
        "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
    },
    "properties": {
        "type": {
            "type": "string",
            "pattern": "^script$"
        },
        "description": {
            "type": "string",
            "description": "A description for the build recipe."
        },
        "maintainers": {
            "type": "array",
            "description": "One or more maintainers or aliases",
            "minItems": 1,
            "items": {
                "type": "string"
            }
        },
        "env": {
            "type": "object",
            "description": "One or more key value pairs for an environment (key=value)",
            "minItems": 1,
            "items": {
                "type": "object",
                "minItems": 1,
                "propertyNames": {
                    "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
                }
            }
        },
        "shell": {
            "type": "string",
            "default": "bash",
            "description": "The shell interpreter to use."
        },
        "pre_run": {
            "type": "string",
            "description": "A script run before the default run using the default shell."
        },
        "run": {
            "type": "string",
            "description": "A script to run using the default shell."
        },
        "post_run": {
            "type": "string",
            "description": "A script run after the default run using the default shell."
        }
    }
}

@shahzebsiddiqui it sounds like you also wanted to support just printing a yaml schema (e.g., the slurm-hello.yml) to the screen? Is this really useful when the user could just cat / open a file with an editor? If the functionality isn't proven needed, for now I'd suggest we close this issue, and readdress when someone says "I want to be able to show my schema with a command."

@vsoch  the printing of YAML file slurm-hello.yml was part of buildtest build --dry it showed content of YAML during the build. It was also available buildtest testconfigs view <testconfig> see https://buildtest.readthedocs.io/en/latest/managing_testconfigs.html. I personally dont think it's useful right now to show a YAML file. Also note that buildtest testconfigs is removed in devel so not to worry.
In regards to schema file buildtest show schema, i think it could be useful to have this in CLI. It is equivalent to easyblock keys https://easybuild.readthedocs.io/en/latest/Writing_easyconfig_files.html#available-easyconfig-parameters
The only thing is yea, user can just cat the file, i just kinda wished there was a nice tabular way to show all the keys along with description. I can see myself using this command to review schema keys to check all keys when writing test. It helps me to get details of schema instead of going to another page to read the schema docs or cat some obscure path.
I guess the scope of this issue  does not apply since #219 added this support and i am fine with the way it is, unless you disagree or have better way.

This issue is irrelevant now closing this ticket


Unable to toggle geotagging on MIUI

MIUI 12, both the system location service and the app permission are turned on
When toggling on geotagging, it says "An error occurred while trying to get your location".

Thanks for reporting, I'll take a look at it.

Hey @WPum, just to know, does this works for you now?

Yes it works. It may have something to do with Google Service Framework.


Python3 support

when installed with pip3 install dmgbuild, appending the Licence fails in resources.py with usage of basestring which is removed in python3

First things first: @al45tair, thanks for sharing this project which is being used to finalize Mu's macOS packaged distribution.
Much like @PeterPetrik, I've just hit this, with a traceback ending in:
  File "...venv/lib/python3.6/site-packages/dmgbuild/resources.py", line 10, in __init__
    if isinstance(res_name, basestring):
NameError: name 'basestring' is not defined

I took a quick glance at the repository and apparently Travis is setup to run tests on Python 3. Do you have any idea about what could be going on?
Thanks again.

I assume tests may not use Licenses argument

By the way, any way to build pkg file using this?
Or is there an equivalent tool for pkg?

pull request supplied. anyone with the merge rights here?

Yes, but I’m quite busy; I will have a look at the pull request soon.
Kind regards,
Alastair.

On 2 Apr 2019, at 08:29, Peter Petrik<EMAIL_ADDRESS>wrote:
pull request supplied. anyone with the merge rights here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/al45tair/dmgbuild/issues/12#issuecomment-478878506, or mute the thread https://github.com/notifications/unsubscribe-auth/ACn2eDD2UaSohudhi086KlQb95p3qPZmks5vcwbugaJpZM4a2ecl.

--
http://alastairs-place.net

no problem, any update on this? I am happy to help with maintenance too if you give me rights?


Use python 3.6 format strings everywhere

Populate help and commands list from same source.

Changes Unknown when pulling 447fbb0319940f9d2031cb4a8962324ba7f42474 on feature/3.6/formatting-strings into ** on master**.


refactor(connlib): create login_url utility in connlib-shared

All clients as well as the gateway need to use the same scheme to register themselves with the portal. By creating a new login_url function in connlib-shared, we can have that defined in one place. This also reduces direct dependencies in other crates and allows us to mark several functions as private in connlib-shared.

Draft because it is stacked on top of https://github.com/firezone/firezone/pull/2236.


Add DH groups 2048,3072,4096 to IPSec_IKE

Added definition for the DH groups 2048,3072,4096.
This is necessary to implement IPSec tunneling as well as IKEv2
I used the names: group2048 instead of group14 add analog for other names. The same has been done by dnobori in commit 4df2eb4

I choose Option 1
Thank youi

Thank you so much for your contribution to enrich the SoftEther VPN source code.
Your patch has been merged on the main source-tree of SoftEther VPN.
As a token of our gratitude, your GitHub username will be added on the AUTHORS.TXT file and on the header of the related source file.
(It will be done within a few days.)
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/AUTHORS.TXT
Thanks again for your contribution.


Consistent naming for developers, website, organizations and repositories

Currently we have several contexts in which the name of developers and organizations must be specified. This should be made uniform and consistent
Github Organization - reproducible-biomedical-modeling
Docker Organization- crbm
Developer Groups - Center for Reproducible Biomedical Modeling, Biosimulations Developers, Karr Lab, Uconn Health
Email-<EMAIL_ADDRESS><EMAIL_ADDRESS>Login- auth.biosimulations.org, CRBM Account
Possible directions:

Keep the center name prominent, treat Biosimulations as one of many services/products
Focus on the Biosimulations name for everything, attribute work to the Biosimulations Developers.

If we go with 2, should we rename/recreate the GitHub and docker organizations?

I suggested this previously. My preference is to separate CRBM from BioSimulations because most users of BioSimulations won't know what the center is.
This easiest way to do this is probably the following:

Rename the GitHub organization to BioSimulations (or biosimulations to be case consistent everywhere)
Rename the Docker Hub organization to biosimulations
Create a new GitHub organization for the center. This should be able to use the existing name reproducible-biomedical-modeling
Move the OMEX_Metadata_Spec repo to the new GitHub organization for the center
For email, use<EMAIL_ADDRESS>Rename the login domain to BioSimulations

In my opinion, @jonrkarr approach is appropriate, that way we don't lose the reference to center and still would be able to make biosimulations project more consistent.

@bilalshaikh42 is this finished?

Yes, just finished the setup of auth0. I have sent an email to the auth0 sales team about extending our open source subscription (seems to not be offered anymore) to the biosimulations tenant, but all logos/names are set to BioSimulations.


Client disconnects abruptly with Centrifugo-server error

After subscribing to a channel, in a few mins the java-client disconnects from the centrifugo-server. During this disconnect the onLeave callback is called.
This is the error seen in the centrifugo-server log

error encoding subscribe error="json: error calling MarshalJSON for type protocol.Raw: invalid character 'W' looking for beginning of value"

This seem to be an error specific to the java client? I tried to run persistent golang clients and they did  not disconnect abruptly or cause any issues.

This was an error at my side.
In a JVM app I used kotlinx.serialization - which worked perfectly well. But in an android app the same code was having issues. When I shifted to GSON everthing started working again.
Should be some config issue I made while using kotlinx.serialization


feature: pin action dependencies to digest with tag comment

Describe the Feature Request
use digest pinning for enhanced security against man-in-the-middle supply chain
follow major/minor/patch rules for automerge
Describe the Use Case
better security without major automerge
Describe Preferred Solution
No response
Describe Alternatives
No response
Related Code
No response
Additional Information
https://github.com/renovatebot/renovate/discussions/15880

I think I need to simplify the digest rule to let the major/minor/patch rules have ascendancy


[TACHYON-1170] Change catching Throwables to catch exceptions.

https://tachyon.atlassian.net/browse/TACHYON-1170

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6462/
Test PASSed.

LGTM


Remove unused variable

Silence warnings

Codecov Report

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

@@           Coverage Diff           @@
##           master     #166   +/-   ##
=======================================
  Coverage   89.54%   89.54%
=======================================
  Files          53       53
  Lines        2630     2630
=======================================
  Hits         2355     2355
  Misses        275      275

Impacted Files
Coverage Δ

include/mfmg/common/amge.templates.hpp
89.75% <ø> (ø)
:arrow_up:

include/mfmg/dealii/amge_host.templates.hpp
92.3% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

We might just run CI with -Werror.


Versioning missing

Versioning is not working anymore:  by that, I mean the version number of MUSIC is set to : ..
You can see that in Home Page, About : medInria (..).
Seems like a CMake trick but I don't know when/how it fell apart.

Yep i saw that indeed. Strange.


[10.x] Make ComponentAttributeBag Arrayable

This PR adds the Arrayable interface to the ComponentAttributeBag.
In some cases, the ComponentAttributeBag class is not being converted to array, while it should.
Followup of https://github.com/laravel/framework/pull/48338

$bag1 = new ComponentAttributeBag([....]);
$bag2 = new ComponentAttributeBag([....]);

collect([$bag1, $bag2])->toArray(); // returns an array of objects and not arrays, while it should

Could you provide a practical use case of this?


Can you make the style import seperate?

Its kind of a pain to override some of the styles.
Is it possible to have the CSS separate from the code?

Similar to when you import bootstrap styles import 'bootstrap/dist/css/bootstrap.css';

The terminal styling is currently imported: https://github.com/jonmbake/react-terminal-ui/blob/master/src/index.tsx#L4. Currently there is not a great way to override the style that was imported. In order to allow style overrides, I think we'd have to add a prop like:
terminalStyle?: React.CSSProperties;

A simple way would just have the imports separately. You could import the package, and then import the css. This way you import the default styles and then put your own styles underneath to override them.

Hi @majodu. Feel to submit a PR.


Implement new NvDCF Tracker component - constructor to be "dsl_tracker_dcf_new"

New tracker constructor for Nvidia-adapted Discriminate Correlation Filter (DCF) Tracker
/**
 * @brief creates a new, uniquely named DCF Tracker object
 * @param[in] name unique name for the new Tracker
 * @param[in] config_file (optional) relative or absolute pathspec to
 * the NvDCF Lib config text file
 * @param[in] width operational frame width for Tracker
 * @param[in] height operational frame height for the Tracker
 * @param[in] batch_processing_enabled set to true to enable batch-mode
 * processing, false for single stream mode
 * @param[in] past_frame_reporting_enabled set to true to enable
 * reporting of past frame data when available, false otherwise.
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_TRACKER_RESULT otherwise
 */
DslReturnType dsl_tracker_dcf_new(const wchar_t* name,
    const wchar_t* config_file, uint width, uint height,
    boolean batch_processing_enabled, boolean past_frame_reporting_enabled);

The recently added batch-processing and past-frame-reporting get/set tracker services will be updated to DCF specific functions as only the NcDCF tracker supports these properties.  See #539

This is merged into v0.16.alpha, however, it does not work as expected.  The Tracker seems to generate random numbers when the optional configuration is omitted. And when using /configs/tracker_config.yml , there are no object labels or bounding boxes show.  Need to confirm this behavior with Nvidia's sample apps.
One thought - since the confidence from the primary GIE/TIS is always -1.0 ... perhaps we need to apply the patch for this first?

Closing this as implementation is complete... will open a new issue for "why invalid behavior"


clean up {accept,implement}_interface

we need to keep in sync with using full-scoped interface names in protos (already merged in cosmos-sdk)

reference PR
issue describing problem
new updated docs with required changes

cc @amaurym

Hey, thanks for opening the issue. So, as I understand it, any protobuf defintions which make use of cosmos_proto.implements_interface should use the full typeURL excluding the preceding / which we normally see used in the sdk?
I think this is already covered for proposals here and here.
InterchainAccount uses this annoation here but it references a local/relative interface. Should this be updated to a fully qualified typeURL?
Aside from that the only other outstanding one I can think of is the feature branch work for ics20 authz. The TransferAuthorization should be updated to include the full typeURL here.

The issue was that,  while originally the spec allowed for local/relative/full-path references, they weren't correct in that many folks just put arbitrary names as shown here. The best solution for now that was discussed with the SDK team was to simply remove local/relative paths and only use fully-scoped to remove any ambiguity.

Hey, thanks for opening the issue. So, as I understand it, any protobuf defintions which make use of cosmos_proto.implements_interface should use the full typeURL excluding the preceding / which we normally see used in the sdk?

yes :)

InterchainAccount uses this annoation here but it references a local/relative interface. Should this be updated to a fully qualified typeURL?
Aside from that the only other outstanding one I can think of is the feature branch work for ics20 authz. The TransferAuthorization should be updated to include the full typeURL here.

yea so anything not fully qualified needs to be, otherwise it won't conform to the new standard.

also related https://github.com/CosmWasm/wasmd/issues/1155


Flag to provide path to existing *.ll input file, rather than invoking the compiler

Implemented in #32.


.btn i  =>  vertical-align: middle

= button_tag type: 'submit', name: 'commit', value: 'Search', class: 'waves-effect waves-light btn btn-block' do
%i.mdi-action-search
Search
.btn i {
vertical-align: middle;
}
.btn-block {
display: block;
width: 100%;
}

What is the problem you are describing?
On Feb 22, 2015 8:20 AM, "mediasota"<EMAIL_ADDRESS>wrote:

Search
.btn i {
vertical-align: middle;
}
.btn-block {
display: block;
width: 100%;
}
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/737.

is not a problem, it's the desire to add to css

please be more specific when describing the feature you want.


Update OpenGL to 4.5

[x] Generate new glad
[x] Use bindless functions

Gotta discuss if 4.5 is ok

Thanks for looking into this!


Device

Describe the bug
Once connected, the device do not show up.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-dkjqa5
Steps to reproduce
Scan the QR code
Click on my phone "Tap to open"
Expected behavior
Once connected, the device do not show up.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 52642673,
  "usedJSHeapSize": 50898085,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = victorlfb
Chat ID = 6498add06d5e

Additional context
No response

Appreciate the feedback! Unfortunately, we don't have the resources to assist with the code for individual projects. You can read more about continuing to develop your project here: #2310.


Copy Collection to repositories fix

Fixing broken copy collection to repositories.
This PR also adds refresh table after modal is closed.

Thanks for adding this!
I am testing your PR now, and see the following behavior:

Upload a collection
About 10 repositories already exist (if not add about 10 repositories)
Copy the collection into all 10 repositories
See the new list of collections in all the repositories
Try to delete all those collections, including the one you originally uploaded
See the following in the UI:

Can we find a way to handle bulk deletion of multiple copied collections?

Lets solve it in separate PR, this is unrelated problem and I know why it happends.


add initial implementation of with_timeout API

I left some comments, but this is a good start. It neds tests & docs.


Living body detection

Hello!
Thanks to the great job.
How do I use ImageAI to detect living face?

ImageAI currently doesn't support detecting faces.


change the type of binding parameters in Oracle23AI

I have update the parameter binding type in oracle_impl, so that it can handle some key words appearing in column's content
change:
lightrag/kg/oracle_impl.py

Thanks!


mxnet cuda9.0 and cudnn 7 GPU slower than CPU

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:
Linux cbw-server 4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:19:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Compiler:
Package used (Python/R/Scala/Julia):
Python
MXNet version:
mxnet-cu8.0
Or if installed from source:
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
Python version and distribution:
Python 3.6.2 :: Anaconda, Inc.
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
Minimum reproducible example
if you are using your own code, please provide a short script that reproduces the error.
Steps to reproduce
or if you are running standard examples, please provide the commands you have run that lead to the error.

Use the tutorial in the mxnet straight dope: chapter02 - liner-regression-gluon
change ctx to GPU

ctx = mx.cpu()
# change cpu to gpu
ctx = mx.gpu()

import mxnet as mx
import time
import mxnet.ndarray as nd
from mxnet import autograd, gluon
ctx = mx.gpu(0)
num_inputs = 2
num_outputs = 1
num_examples = 100000

def real_fn(X):
    return 2 * X[:, 0] - 3.4 * X[:, 1] + 4.2
X = nd.random_normal(shape=(num_examples,num_inputs),ctx=ctx)
noise = .01 * nd.random_normal(shape=(num_examples),ctx=ctx)
y = real_fn(X) + noise
batch_size = 10000
train_data = gluon.data.DataLoader(gluon.data.ArrayDataset(X, y), batch_size=batch_size, shuffle=True)
net = gluon.nn.Sequential()
with net.name_scope():
    net.add(gluon.nn.Dense(1, in_units=2))
net.collect_params().initialize(mx.init.Normal(sigma=1.),ctx = ctx)
square_loss = gluon.loss.L2Loss()
trainer = gluon.Trainer(net.collect_params(), 'sgd', {'learning_rate': 0.1})
tic = time.time()
epochs = 2
smoothing_constant = .01

for e in range(epochs):
    for i , (data,label) in enumerate(train_data):
        data = data.as_in_context(ctx)
        label = label.as_in_context(ctx)
        with autograd.record():
            output = net(data)
            loss = square_loss(output, label)
        loss.backward()
        trainer.step(batch_size)

        curr_loss = nd.mean(loss).asscalar()
        moving_loss = (curr_loss if ((i == 0) and (e == 0))
                      else (1 - smoothing_constant) * moving_loss + (smoothing_constant)*curr_loss)
    print("Epoch %s. Moving avg of MSE: %s" %(e, moving_loss))
toc = time.time()
print("GPU time: %s ms" % (1000*(toc-tic)))

the GPU training time is slower than CPU time

What have you tried to solve it?

Is it the reason that i install cuda 9.0 and cudnn 7.0

net look like too simple and data too small,CPU copy to GPU time cannot be counteracted.please use big num_inputs and complex net try again.

@yajiedesign  Thank you. Then i use the chapter 8 GPU example . It's found that GPU is 10 times faster than CPU.


BUG: Unhandled error in plugin transmission: No module named request

After regular update instead of 1.2.513 i've got 2.0.0b2. Transmission is broken. How to fix this or roll back to 1.2?
2016-04-17 15:25 DEBUG    manager                       Config file /root/.flexget/config.yml selected
2016-04-17 15:26 CRITICAL task          RARBG           BUG: Unhandled error in plugin transmission: No module named request
Traceback (most recent call last):
  File "/opt/local/lib/python2.7/site-packages/FlexGet-2.0.0b2-py2.7.egg/flexget/task.py", line 443, in __run_plugin
    return method(*args, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-2.0.0b2-py2.7.egg/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/FlexGet-2.0.0b2-py2.7.egg/flexget/plugins/plugin_transmission.py", line 35, in new_f
    import urllib.request, urllib.error, urllib.parse
ImportError: No module named request

you got 2.0.0b2 just from pip install flexget --upgrade?

no, from easy_install -U flexget

@stevezau @gazpachoking ...

I've manually installed 1.2.513 and Transmission error is gone, but now i'm getting this on every feed:
2016-04-17 22:01 VERBOSE  task_queue                    There are 7 tasks to execute. Shutdown will commence when they have completed.
/opt/local/lib/python2.7/site-packages/requests-2.9.1-py2.7.egg/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/opt/local/lib/python2.7/site-packages/requests-2.9.1-py2.7.egg/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/opt/local/lib/python2.7/site-packages/requests-2.9.1-py2.7.egg/requests/packages/urllib3/connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised.  It seems, that it doesn't cause any problems.

may cause certain SSL connections to fail

Not fixing it will come back to bite you in the ass, but suit yourself.

Just pushed a commit that fixes this.
@shotfirer we recommend installing via pip as easy_install does not understand beta versions.
If you woud like to continue using the beta and reporting by any issues please feel free as we need more testers.. more info here: http://discuss.flexget.com/t/flexget-v2-0-0-beta-py3-support-testers/2209/4
sudo pip2 install --upgrade --pre flexget


refactor(headers):  improve Range header adherence to HTTP spec

I've started working on Content-Range header and realized that my previous implementation of Range header was wrong. RangeSpecs make sense only for byte ranges and all custom range units can have arbitrary strings as their values.
I've modified the code to reflect that, but there is one thing for which I need your feedback:
I've used Range::Other for custom ranges, as it IMO matches more closely naming in the RFC (other-ranges-specifier). The thing is that Accept-Ranges header uses RangeUnit::Unregistered for the same purpose, so it would make sense to decide on one them and use it consistently.
This is kinda a breaking change. However since the Range header was introduced only a week ago, I'm not sure, if I should mark it as such.

I haven't published a version with Range yet, as I'm trying to wrap up the current set of breaking changes before publishing 0.6.

Cool. Do you have an opinion on Other vs Unregistered? Let's also cc @pyfisch, as he's the one who created Accept-Ranges header.

Unregistered is used frequently in other headers and for StatusCodes, as many use a "registry", though sometimes that registry is just the original spec and who cares....

I've given it some more thought and I'm no longer sure that Range and RangeUnit names have to be consistent. In case of Range, Unregistered makes little sense, as range as a whole isn't registered nor unregistered. So I'd leave it as it is.
I know this isn't a very important problem, but I just like to name stuff the way it makes the most sense ;)

Looks good. I am in favor of Unregistered since ranges are registered, the name of the range unit is registered in a IANA registry and it must supply a description of the range. Ranges without public description are unregistered from my understanding.

I'd argue that RangeUnits have to be registered, not Ranges.
But I'm ok with Unregistered too, so no more bikeshedding ;)


Kotlin for Forge is incompatible with OptiGUI

Mod Name
Kotlin for Forge and OptiGUI
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/kotlin-for-forge https://www.curseforge.com/minecraft/mc-mods/optigui
Describe the bug
Kotlin for Forge is incompatible with OptiGUI
Steps to reproduce
No response
Logs
Can't upload to pastebin due to potentially questionable content
Additional context
crash-2023-12-04_01.11.40-client.txt

Kotlin for Forge is a FML language provider and does not work with Fabric mods. You need to use Fabric Language Kotlin instead.


Maybe a bug?

In function "location", it implies that the location of the base is (1/3, 0), which conflicts with "radius = 1/2", whether  "distance = np.sqrt((x - 1/3)2 + y2)" should be changed to " distance = np.sqrt((x - 1/2)2 + y2)"

In function "location", it implies that the location of the base is (1/3, 0), which conflicts with "radius = 1/2", whether "distance = np.sqrt((x - 1/3)^2 + y^2)" should be changed to " distance = np.sqrt((x - 1/4)^2+ y^2)"

You are right. Also, I have found another bug when computing theta in this function. I have fixed them. Thanks.
From: StupidI @.>
Reply-To: jjalcaraz-upct/network-slicing @.>
Date: Tuesday, February 21, 2023 at 3:32 AM
To: jjalcaraz-upct/network-slicing @.>
Cc: Subscribed @.>
Subject: Re: [jjalcaraz-upct/network-slicing] Maybe a bug? (Issue #4)
In function "location", it implies that the location of the base is (1/3, 0), which conflicts with "radius = 1/2", whether "distance = np.sqrt((x - 1/3)^2 + y^2)" should be changed to " distance = np.sqrt((x - 1/4)^2+ y^2)"
—
Reply to this email directly, view it on GitHubhttps://github.com/jjalcaraz-upct/network-slicing/issues/4#issuecomment-1437776762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3EW2CEVETA2OU7D4BSVKTWYQSNDANCNFSM6AAAAAAVCPES4Q.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for your answer!  Also, Can you explain the equation "FSPL = 20np.log10(R) + 20np.log10(2) + 93.45 + gamma10np.log10(R) " for me? I have looked up TS 36.942 and other things but still can't figure it out, especially the "93.45" and gamma=2.6 which are really unclear meaning.

You are right. Also, I have found another bug in the computation of theta. I have fixed them. Thanks. From: StupidI @.> Reply-To: jjalcaraz-upct/network-slicing @.> Date: Tuesday, February 21, 2023 at 3:32 AM To: jjalcaraz-upct/network-slicing @.> Cc: Subscribed @.> Subject: Re: [jjalcaraz-upct/network-slicing] Maybe a bug? (Issue #4) In function "location", it implies that the location of the base is (1/3, 0), which conflicts with "radius = 1/2", whether "distance = np.sqrt((x - 1/3)^2 + y^2)" should be changed to " distance = np.sqrt((x - 1/4)^2+ y^2)" — Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3EW2CEVETA2OU7D4BSVKTWYQSNDANCNFSM6AAAAAAVCPES4Q. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Maybe another bug, in "self.list_of_parameters", it seems that the parameters of 2GHz and 900MHz  are placed wrong?

The A,B parameters are now correctly placed.
The FSPL (Free Space Path Loss) formula comes from the log-distance path-loss model (https://en.wikipedia.org/wiki/Log-distance_path_loss_model) where gamma is the pathless exponent. The 93.45 (in fact should be 92.45, now corrected) is the 20log10(2pi/c) constant of the free-space path loss formula (https://en.wikipedia.org/wiki/Free-space_path_loss) for distance in Km and frequency in GHz. Thank you for pointing out these bugs.

The A,B parameters are now correctly placed. The FSPL (Free Space Path Loss) formula comes from the log-distance path-loss model (https://en.wikipedia.org/wiki/Log-distance_path_loss_model) where gamma is the pathless exponent. The 93.45 (in fact should be 92.45, now corrected) is the 20_log10(2_pi/c) constant of the free-space path loss formula (https://en.wikipedia.org/wiki/Free-space_path_loss) for distance in Km and frequency in GHz. Thank you for pointing out these bugs.

Got it, thanks for your explanation! Another question I'm curious about is "MCSCodeset compute_factors" part. Does the equation "rx_prob(x) = A *(snr - snr_ref) + B" haved referred anything, sorry I can't find the theory related to it or it's created by yourself? Also, why the default value of "sym_per_prb" in "ProportionalFair" should be 158 rather than 168?

emmmm, it seems "sym_per_prb" should be 7*12 if the bandwidth is 20MHz in LTE? I'm confused about it, could you please explain it more? Thanks in advance!

Also, the code under annotation "update ues" in "schedulers.py" seems to indicate that the allocated PRBs of every slice starts at the same frequency, and this seems impossible as all the slices share one section of bandwidth.

Each scheduler runs independently on the frequency band of each slice: note that prb_i is an index to the snr list in the ue. This list contains the snr estimations for the prbs of the slice where the ue is in. This is updated in slice_l1.py with:
ue.estimate_snr(snr[self.prb_slice])
where self.prb_slice is, in fact, defined as a python slice for lists.
From: StupidI @.>
Reply-To: jjalcaraz-upct/network-slicing @.>
Date: Wednesday, March 8, 2023 at 9:37 AM
To: jjalcaraz-upct/network-slicing @.>
Cc: jjalcaraz-upct @.>, Comment @.***>
Subject: Re: [jjalcaraz-upct/network-slicing] Maybe a bug? (Issue #4)
Also, the code under annotation "update ues" in "schedulers.py" seems to indicate that the allocated PRBs of every slice starts at the same frequency, and this seems impossible as all the slices share one section of bandwidth.
—
Reply to this email directly, view it on GitHubhttps://github.com/jjalcaraz-upct/network-slicing/issues/4#issuecomment-1459740139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3EW2GFR2N5E6DU54HITG3W3BAMFANCNFSM6AAAAAAVCPES4Q.
You are receiving this because you commented.Message ID: @.***>

Regarding the rx probability calculation, it is based on [1]. The MCSCodeset factors are computed to approximate the snr-MI curves shown in Figure 7 of [1]. The model to generate rx probability from snr is based on Annex A of 3GPP TR 36.942. Figure A.4 shows the rate for each MCS vs the SNR. For each MCS, the model maps the rate to rx probability so that the rx prob is 0 for 0 rate and 1 for the max achievable rate of the MCS.
Regarding the sym_per_prb, note that the resource allocation is done in a subframe basis. A subframe contains two slots, each one with an RB of 7x12 symbols. Thus, what is called a PRB contains 2x7x12 = 168 symbols, and 10 are subtracted to account for overhead (PDCCH, reference signals...).

[1] Mezzavilla, Marco, et al. "A lightweight and accurate link abstraction model for the simulation of LTE networks in ns-3." Proceedings of the 15th ACM international conference on Modeling, analysis and simulation of wireless and mobile systems. 2012.

Thank you, that helps me a lot! Also, the "allocate()" in "schedulers.py" may exist a bug. "ue_th[index] = self.a * max(ue.th, 1) + self.b * ue_bits[index] / self.slot_length" seems to be corrected to "ue_th[index] = self.a * max(ue_th[index], 1) + self.b * ue_bits[index] / self.slot_length"

Corrected! Thank you.
From: StupidI @.>
Reply-To: jjalcaraz-upct/network-slicing @.>
Date: Thursday, March 16, 2023 at 3:52 AM
To: jjalcaraz-upct/network-slicing @.>
Cc: jjalcaraz-upct @.>, Comment @.***>
Subject: Re: [jjalcaraz-upct/network-slicing] Maybe a bug? (Issue #4)

Regarding the rx probability calculation, it is based on [1]. The MCSCodeset factors are computed to approximate the snr-MI curves shown in Figure 7 of [1]. The model to generate rx probability from snr is based on Annex A of 3GPP TR 36.942. Figure A.4 shows the rate for each MCS vs the SNR. For each MCS, the model maps the rate to rx probability so that the rx prob is 0 for 0 rate and 1 for the max achievable rate of the MCS.
Regarding the sym_per_prb, note that the resource allocation is done in a subframe basis. A subframe contains two slots, each one with an RB of 7x12 symbols. Thus, what is called a PRB contains 2x7x12 = 168 symbols, and 10 are subtracted to account for overhead (PDCCH, reference signals...).

[1] Mezzavilla, Marco, et al. "A lightweight and accurate link abstraction model for the simulation of LTE networks in ns-3." Proceedings of the 15th ACM international conference on Modeling, analysis and simulation of wireless and mobile systems. 2012.
Thank you, that helps me a lot! Also, the "allocate()" in "schedulers.py" may exist a bug. "ue_th[index] = self.a * max(ue.th, 1) + self.b * ue_bits[index] / self.slot_length" seems to be corrected to "ue_th[index] = self.a * max(ue_th[index], 1) + self.b * ue_bits[index] / self.slot_length"
—
Reply to this email directly, view it on GitHubhttps://github.com/jjalcaraz-upct/network-slicing/issues/4#issuecomment-1471204844, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3EW2GQQPMROLYTIERM3F3W4J55VANCNFSM6AAAAAAVCPES4Q.
You are receiving this because you commented.Message ID: @.***>

Regarding the rx probability calculation, it is based on [1]. The MCSCodeset factors are computed to approximate the snr-MI curves shown in Figure 7 of [1]. The model to generate rx probability from snr is based on Annex A of 3GPP TR 36.942. Figure A.4 shows the rate for each MCS vs the SNR. For each MCS, the model maps the rate to rx probability so that the rx prob is 0 for 0 rate and 1 for the max achievable rate of the MCS.
Regarding the sym_per_prb, note that the resource allocation is done in a subframe basis. A subframe contains two slots, each one with an RB of 7x12 symbols. Thus, what is called a PRB contains 2x7x12 = 168 symbols, and 10 are subtracted to account for overhead (PDCCH, reference signals...).

[1] Mezzavilla, Marco, et al. "A lightweight and accurate link abstraction model for the simulation of LTE networks in ns-3." Proceedings of the 15th ACM international conference on Modeling, analysis and simulation of wireless and mobile systems. 2012.

Sorry to bother you again. I've looked through the reference [1], but I can't find the Figure 7. Actually I can't figure out the why can you use the SNR and the MCS to get the rx_prob, because the Figure A.4 in Annex A of 3GPP TR 36.942 only shows the SNR, MCS and throughput, how can these get the rx probability? Can you explain it more, thank you! (plus: I want to know how you get the value of snr in mcs_codeset.csv?)


switch to build on opensuse

Awesome, thanks!
I'll try it out later today.

Finally passing on AppVeyor for julia v0.4 😄

I'd be okay if we close this PR, and move the opensuse changes into #23 instead

No, let's just keep this related to OBS only and merge soon. Then from #23 we could pick 0f14e8a441b84f49eb73b15040aff0069a0d70cd and 483099e5613579d51ca2ae657d3c95e0a9876043 and leave the rest.
Just managed to test this locally as well (after removing many a GDAL from my path and reinstalling WinRPM).
I got a warning, though it seems harmless:
INFO: Downloading http://download.opensuse.org/repositories/home:yeesian/openSUSE_13.2/repodata/repomd.xml
WARNING: Package not found that provides mingw64(odbccp32.dll)
INFO: Packages to update:  libgeos-devel, libgeos, libgcc_s_seh1, libstdc++6
INFO: Packages to install: libgdal

Also closes #24 :)
Feel free to merge when you're done.

I don't know how to interpret that message too, haha. @tkelman?

Is that a library name that sounds familiar or relevant?

I guess it must be related to GDAL's ODBC driver. ODBC is in the list of 158 GDAL drivers that the OBS GDAL has.

I don't have any ODBC geo data at hand that I can test if the driver works, but using Dependency Walker on libgdal-20.dll, I see that it finds this one instead without complaining:
c:\Windows\System32\odbccp32.dll

I'm going to modify the spec file's basename to gdal in response to the following lint warning
[ 1106s] mingw64-libgdal.src: W: invalid-spec-name
[ 1106s] The spec file name (without the .spec suffix) must match the package name
[ 1106s] ("Name:" tag). Either rename your package or the specfile.

and revert https://github.com/visr/GDAL.jl/pull/25/commits/617fc338c6f3dd84b0ca7206d373d7807dbe36d5

Astonishingly relevant: http://www.bostongis.com/blog/index.php?/archives/237-Building-GDAL-under-mingw-w64-with-native-windows-ODBC-support.html

updated with the instructions from regina

Hmm I still get the same warning. Don't have much time to dive into it right now, so I'm also fine with merging this, and looking at it in more detail later. AppVeyor show the same warning by the way:
https://ci.appveyor.com/project/visr/gdal-jl/build/1.0.19/job/j3go2i76ewm4wu64#L73

I think the warning might be harmless. That library comes from the OS, so on the cross-compile build system it's not available.


Add release note for 2.4.1 release

Signed-off-by: Chen Dai<EMAIL_ADDRESS>Description
Add release note for OpenSearch 2.4.1 release.
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1162 (c5c9b12) into 2.4 (7b9c02b) will decrease coverage by 32.92%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##                2.4    #1162       +/-   ##
=============================================
- Coverage     95.68%   62.76%   -32.93%
=============================================
  Files           334       10      -324
  Lines          9071      658     -8413
  Branches        672      119      -553
=============================================
- Hits           8680      413     -8267
+ Misses          334      192      -142
+ Partials         57       53        -4

Flag
Coverage Δ

query-workbench
62.76% <ø> (ø)

sql-engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...l/expression/window/frame/PeerRowsWindowFrame.java

...rc/main/java/org/opensearch/sql/storage/Table.java

...ions/resolver/QueryRangeTableFunctionResolver.java

...earch/sql/planner/physical/collector/Rounding.java

.../org/opensearch/sql/data/model/ExprTupleValue.java

...org/opensearch/sql/analysis/QualifierAnalyzer.java

...ch/planner/logical/OpenSearchLogicalIndexScan.java

...rch/sql/opensearch/storage/script/ScriptUtils.java

.../sql/prometheus/storage/PrometheusMetricTable.java

...ensearch/sql/expression/ExpressionNodeVisitor.java

... and 314 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Added smooth scrolling effect

Added smooth scrolling effect by adding "scroll-behavior: smooth" to the "html" class.

There's no need for this.


Markdown Built-in Preview breaks when a URL ends with .com.au

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:  1.73.1 (System setup)
OS Version: Windows_NT x64 10.0.17763

Steps to Reproduce:

In a markdown file have a link to an Australian website: [example](https://www.example.com.au
The markdown preview should now freeze at the point in which it cannot understand the new link and be unable to render the link.

I think it's because VSCode thinks that it's an audio embed?

Works fine for me:

Please explain what the bug is

@metalmine please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

Ok, will do.

Ok, yea it's not VSCode. Thanks for the tip, I'll do that in the future!


RecommendedCutoffMixin: Add support for v0.5.0 pseudo families

Currently, pseudo families installed with aiida-pseudo==0.5.0 will
fail to work with the new API features in two ways, both related to the
addition of units for the recommended cutoffs:

delete_cutoffs expects the units to be stored in the
'_cutoffs_unit' extras dictionary. Simply adding None as a default
to return in the .pop() call fixes this issue.
get_cutoffs_unit will return a KeyError since the previously
configured stringencies did not include units. Here we can add an if
clause that check if the requested stringency does have its cutoffs
set. Since the default unit was and is eV, we set this as the new unit
for the stringency. From then on the pseudo family will be "fixed".

Note that these workaround can be temporary, since if the user actually uses the get_cutoffs_unit method at some point (directly or indirectly), the default unit (eV) will be added to the pseudo family.

@sphuber If you agree with adding these workarounds, I'll also open an issue on removing them so we don't forget.

If you agree with adding these workarounds, I'll also open an issue on removing them so we don't forget.

Good to add an issue, but the tricky part will be deciding when we can remove it. Consider the example where someone is running aiida-pseudo==0.5.0 now and installed some families. They work with this version and not until a long time do they decide to upgrade and most likely will upgrade to the latest version. If that version happens to have removed the workaround, they will run into the exception. This shows that in principle we can never know when it is safe to remove them since we don't know when "everyone" that was on v0.5 will have upgraded to a newer version with the implicit data migration.

Indeed. v1.0.0 seems like a reasonable choice, but that might still be a long ways off. Still, better to have a bit of nastiness for some time that fixes the issue for most people in our massive user base ;).

Haha, still I wouldn't underestimate it. "Everyone" running aiida-quantumespresso and aiida-abinit will be affected and especially for QE there are now quite some users. Anyway, I think this workaround is not that invasive and is more than fine to keep in given the benefits it provides. No rush to get it out either.
Final thing, you verified that this then works with existing installations of aiida-quantumespresso? If so, I will approve merge and update the release. I think we are then ready for a release, arent we?

Final thing, you verified that this then works with existing installations of aiida-quantumespresso? If so, I will approve merge and update the release. I think we are then ready for a release, arent we?

I opened a PR for providing support for aiida-pseudo==0.6.0 in aiida-quantumespresso:
https://github.com/aiidateam/aiida-quantumespresso/pull/671
And tested the get_builder_from_protocol() method using both pseudos installed with aiida-pseudo v0.5.0 and this branch (reverting back to this branch after installing with v0.5.0). Both tests worked, so I think we're good to go!


Wrong link to Profiling components article

Recommended article link, written by Ben Schwarz, returns a 404. Updated with correct link.

@rasnick thank you!


Enable ad blocking feature

Can you add ad-blocking feature to puppeteer-real-browser? Thank you for creating such an awesome library.

Thanks for using the library and providing feedback. This will be possible with an update in the near future.

I tried following the instructions but was unsuccessful. Could you please add an ad-blocking feature and provide user-friendly guidance for configuration? Thank you very much for the package

https://github.com/zfcsoftware/puppeteer-real-browser/issues/32#issuecomment-2198113458


Upgrade Timex to 3.0

it is possible to get rid of timex, see here:
https://github.com/appcues/exsentry/pull/19 😼

I have just merged in @mindreframer's patch to remove the Timex dependency entirely, in release 0.6.3  But thank you all the same for the PR!

Awesome, thanks!


Block gas limit

Discussed in https://github.com/0xPolygon/polygon-edge/discussions/1031

Originally posted by Nexsuperne101 December  9, 2022
Good evening. Is 1,000,000,000 too high for a block gas limit? The default is 524k. Others have set it at 30 million. The example on the wiki for Edge is 1 billion.
What is the issue if it is too high? Why use 1 billion as an example if it is very bad?
Thanks

@laviniat1996 Could I have your expert opinion please?
Thanks, Nex


Add support for ignoring GitHub users

In some cases, a user may be added to
teams even without directory account.
Add support to keep the user in team.

@kristian-lesko This looks good 👍🏽
So, the syncmap.yml would have this, correct?
---
mapping:
  - github: demo-team
    directory: ldap super users
  - github: demo-team-2
    directory: another-group

ignore_users:
  - userA
  - userB
  - userC

Can you add that to the syncmap.yml.example?


Not working after upgrading to Rails 5

Apparently my events aren't getting subscribed to, how can I manage to make this work with Rails 5?

Released v1.0.0 which has Rails/ActiveJob 5 support. Sorry for the wait.


Weird camera movement when exit pointerlock

Sometimes when exiting pointerlock (by pressing Esc), the camera angle completely changes. Very hard to reproduce so very hard to fix.

This may be a chrome bug as the onpointermove handler is sometimes getting HUGE values (eg. movementY = -240) when just exit pointer lock, no actual mouse movement.

Also, I don't seem to be able to reproduce it on Firefox (version 103) so it must be a chrome bug.

See this gist for a minimal reproducible example

A workaround could be possible as such:

Only update player rotation on each frame, accumulating the rotation value between frames
This should give enough time for pointerlock exit event to catch up and signal to stop moving camera

It appears that more lag (and slower animation frames) results in this bug occurring more often.
A way to reduce the frequency of this bug could be to reduce the time taken for the animation frame.
I should really report this as a bug on the google chrome bug tracker...

It seems to be because Chrome is moving the cursor back to its original place.


Add support for placeholders in @FeignClient definitions #414

Allows property keys to be used as a parameter to obtain the service name. For example @FeignClient("${propertyKey}").
More info here https://stackoverflow.com/questions/33762377/spring-cloud-feignclient-service-name-from-properties-file

@Oreste-Luci have you signed the contributor's agreement?

@spencergibb no, but I can do it now. Who should I put as Project Lead?

Myself or Dave Syer

Done. Thanks.

Merged with a few changes and documentation via 3994a3e439bb66a282cc2feb4989fd18123f2b6c


Examples

Your first example should surely be appending the 2 words "Hello" and "World" to a web page. That would be most useful.

You don't need any library for that, just do:
document.body.insertAdjacentText("beforeend", "Hello world");

Thx...that specific example wasn't actually the point :-) LOL

Then perhaps you could try making an actual point? :)


[BUG] cocogitto-bot should post GitHub checks

Is your feature request related to a problem? Please describe.
I would like to add cocogitto in a Ruleset so that it is required to pass before merging. Currently it only seems to post a comment to the PR.
Describe the solution you'd like
Cocogitto could post a status check result to the PR. That way it could be added as a required check under "Require status checks to pass" setting.
Describe alternatives you've considered
Running cocogitto manually in a GitHub Actions workflow is possible and would allow me to solve my problem but it's not as easy as just adding a bot.
Additional context
N/A

Hey @ianlewis  thanks for the report.

Fixed with the latest release of cocogitto-bot, note that I am migrating the bot to a new infra, which might take a few days.

Released and deployed


Write a Haskell program to convert minutes to days

Description
Write a Haskell program to convert minutes to days
1 day = 24 hours = 1440 minutes
Input  : 7200
Output : 5

How to contribute

Save the solution in program/convert_minutes_to_days.hs file
Add convert_minutes_to_days.hs file in convert-minutes-to-days folder

!assign


⚠ Cioos National CKAN Sitemap has degraded performance

In c2edaea, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 25396 ms

Resolved: Cioos National CKAN Sitemap performance has improved in 2b63620 after 6 minutes.