Menu Font uses integer values? [Implement Font-Enum]

I'm trying to change the font in my menu, however in order to change the font it requires an integer value? So is there either a way to use Enumerations instead or is there maybe a way that i can find these Fonts according to their assigned integer value?

Have you tried just experimenting with int values? eg. using 1 or 3 ?

I think having an Enum is a good idea, however i dont know which font is associated with which int. Also i dont know the names of any of the fonts :P

I think having an Enum is a good idea

Agreed, there's really no reason not to have one for things like this.

The only problem I see: How we want to name the fonts?
4 is a thicker font than 3 and 2 is some kind of curved font, no idea for names tho

I'll have a look at all the fonts and work out what their names are.

So it appears that there are 8 fonts:
0 -> Arial
1 -> House Script
2 -> Monospace (name unknown)

3 -> Icon Font
4 -> Helvetica Bold
5 -> Broken - only numbers appear when using this font

6 -> Helvetica
7 -> Pricedown

Font 3 is interesting. It appears to be some kind of icon font... This is all english chars + numbers in font 3: http://i.imgur.com/CgsuHbm.jpg
Also, choosing in an int larger than 7 defaults to font 0.

Good work! Not sure if we should include the icon font, and definitely not the broken font :P

The icon font would be useful if we could set specific parts of menu buttons to be different fonts. Then you could have an arrow denoting that a button has a sub menu.
Actually, now that I think about it, I'm pretty sure that the icon font is used in the in-game menus to show the left-right arrows on numbers indicating that they can increase/decrease

I agree, however our current implementation does not allow for font changes mid string.

So for a GTA.Font enum I'll suggest these values:
Arial           -> 0
HouseScript     -> 1
Monospace       -> 2
Helvetica       -> 6
Helvetica Bold  -> 4
Pricedown       -> 7

@nevadascout You want me to do it?

Well you don't have to, but you can if you want to :D

Sure, give me a sec :-)

@nevadascout Which file do you think it makes the most sense to have it in?

Not sure to be honest. I have zero experience with C++, but in C# an enum would go into it's own file.
Maybe the menu file (as that's what it's related to?)

I was thinking its own file as well, however i am not sure. @JohnnyCrazy ?

All the other enums seem to be placed in their files.

I'd go with a new file then, @Frede1012 :)

Added in #152 :)

@nevadascout The source is organized in the VS project using filters instead of being organized on filesystem level.

@crosire Ah, fair enough

Oh wow, thanks man! :+1:

Done in #152


feature request - make repeater items clonable

In some situations, when using a repeater with set, having the possibility to clone existing items is quite useful, e.g. we have n fields and only 1 or 2 will be differ, so we can clone a previous item).

Example of desired functionality:
https://monosnap.com/direct/uOEz1faqJnquHGOZyl9NpaaWUiWr87


Updates

Would be great to have the latest updates of the icon packs, some (especially lucide) are quite outdated at this point. Perhaps even making an Actions job to do this automatically?

@edde746
yea such a job would be pretty nice to have ^^ Do you have any experience implementing such a Action ?
It would probably just need to parse the current package version from the package.json and check if there is any new version on npm and if so run npm i && npm publish, update changelog and push to github ?

@edde746 can you test<EMAIL_ADDRESS>if all is working ?

@edde746 can you test<EMAIL_ADDRESS>if all is working ?

Yep, works perfectly.

@edde746  Regarding the updated npm version of all @steeze-ui/* packages:
What do you think should we
A: inherit the version of the source package, which would be easily implementable via update.py. e.g simple-icons getting updated from version 11.9.0 to 11.11.0 so the @steeze-ui/simple-icons package will be updated from 1.7.1 to 11.11.0. Only Problem would be when we want to manually push a new version (e.g a fix to something)
or
B: go by our own versioning (as it is right now) which will only get patch bumped every time the version of the source package changes ? e.g simple-icons getting updated from version 11.9.0 to 11.11.0 so the @steeze-ui/simple-icons package will be updated from 1.7.1 to 1.7.2. No Problem with manual updates

I think B is the only option because of both the manual update issue as you mentioned and some packages not having source packages.

I also tend to B. Will try to get the action working in the next couple of days 👍


Cannot SSH to container without registering to the HUB

If you trying to ssh to container on local Peer, you need to be registered to the HUB first.

We should implement connecting to the local containers without HUB, or add proper description what should be done for that.

Seems tray needs info about containers from Hub.
This is why this functionality is disabled.
@Lezh1k can you comment please

If tray hasn't info about containers from HUB it won't ez-ssh to that containers.

@spaiker please see if we can show different messages when e2e not installed and when SS is not registered with Hub

What was done for this exactly? There's nothing telling me about how we fixed this.

The notification message was changed to better inform user that peer registration with Hub is required


Support ActivityStreams 2.0

AS2 is hitting CR and looking for implementations, so Granary supporting transforming silo feeds into AS2 would be a Good Thing.
Related: #64

noted! thanks for the nudge.
granary's AS output right now is somewhere between AS 1 and 2. specifically, it has a few useful AS2-isms like letting things be lists instead of individual (object, image, url, etc.), and uses some of the AS2 vocab and verbs, but definitely hasn't implemented the new AS2 structure. that...will take some work.

I think you just need to add @context and you're good to go! :trollface:

Well, there's a few more differences, but nothing extravagant.
Also, collection paging is wonderful.

bumping this up in priority a bit since I'm thinking about building a bridge between indieweb and activitypub.

finished a first pass at this. currently supported: articles, notes, replies, likes, events, tags, attachments.
TODO: RSVPs, reposts aka [re]shares. @rhiaro any idea how those work in AS2? for RSVPs, Accept/Reject an invite? what if there's no invite? and i haven't found anything for repost/[re]share yet.

I've been using Accepts/Rejects with the object of the Event itself in the absence of an Invite, for RSVPs. For a while I was artificially generating Invites, but that was just clumsy and pointless.
Announce is used as repost.
I don't like either of these, but they were raised as issues and stayed as they are, so what can ya do.

done! enough for ActivityPub in https://fed.brid.gy , at least.


Meeting 0

@open-sorcery/owners
Scheduled for 10pm NY / 7pm SF on Tuesday 6/28/15
Rescheduled for 10pm NY / 7pm SF on Tuesday 7/7/15
Join at https://beta.talky.io/open-sorcery

I'll record this locally and then publish immediately after
We should plan to spend exactly one hour
For this round, I think it's reasonable to allow discussion of any project updated / substantially modified in the last 28 days
For the future, the plan would be to limit to the last 14 days

Proposed Presentation Format
Each participant spends 15 minutes sharing a recent open source project. This probably begins with general presentation of the problem the project solves and how it solves it. This could include:

Prior art
Problem solving approach
Snags along the way

Then, at the discretion of the presenter, they'd switch to a screen share demo:

A few code examples
Possibly an example of the project running inside a larger open source project

The goal is to encourage discussion over presentation. That means that other participants should feel free to respectfully raise questions, criticism, and new ideas throughout. While someone else is presenting, participants should "raise their hands" by entering *** into the chat. The current presenter has discretion on if/when/in what order to acknowledge the other participants questions/comments.
Proposed Picks Format
After we've spent ~45 minutes discussing projects, we'll spend the last ~15 minutes sharing "picks." Picks are particularly interesting open source projects you've come across or have been using heavily recently. The only restriction is no repeats. You could talk about one bigger project, a few small ones, demo one, whatever is most interesting and helpful.
All this is a draft, feedback welcome.

I'm interesting in having minutes for these meetings (created post-meeting).
Maybe bulleted summaries of things that were discussed, and a collection of relevant links. Makes for easy & quick reference material.

Love, love, love the proposed picks format. I'm excited.

There should be a way to continue the discussion of a meeting. Let new conversations sprout from old meetings. Keep them alive. Maybe a GitHub issue for each meeting. Maybe not. I have nothing concrete on this front yet.

I'm hoping for the presentation format to be much more of a discussion than a presentation. I hope to see a few minutes spent introducing and presenting the contribution(s), then the rest of that ~15mins being spent discussing it. I'm imagining that the discussion will be the most interesting bit. We'll see.

I'm interesting in having minutes for these meetings

I'll take the lead on this the first time. We can rotate that responsibility in the future.

There should be a way to continue the discussion of a meeting.

I'd like to try doing this via topic-oriented issues rather than meeting ones.

I'm imagining that the discussion will be the most interesting bit.

Agreed. Presumably the ratio of presentation to discussion is positively correlated to topic/library complexity.

Just sent out an invite. I'm going to be sharing some of the packages I've been spinning out for my ground-up rewrite of MockFirebase. I have a feeling it'll conceptually overlap with what Frankie will share without being repetitive ;)

Meeting 0

Intros and SF discussion

Ben

events-tree

mockfirebase
es6 symbols

ear

Basil

hapi-routes
cancelable-http

Frankie

solid-state
immutable

Picks
Ben: js-traverse
Frankie: attach-css

Next time let's start 10 minutes beforehand for chit chat so we can get right into it on the hour

@bendrucker :+1:


List index out of bounds (-1)

After click button Add I get error.
I attached bug report from maxExcept:
bugreport.txt
Unit was without "uses" clause.

Fixed


improve docker build times

currently it takes +5 minutes to build an image.
consider using an existing cache solution to cache rust compile steps, along with caching docker layers to reduce the image size.
in the future, also consider adding a nix-based solution for dependencies so that it can run on bare metal.

cargo-chef seems like a good option


Move endianness info to NiftiHeader

This PR changes NiftiHeader so that it contains an extra endianness member containing the byte order of the originally read file. When building a new header, the system's native endianness will be the default. Moreover, the respective constructors will no longer yield a (header, endianness) pair:
// before
pub fn from_file<P: AsRef<Path>>(path: P) -> Result<(NiftiHeader, Endianness)> { ... }
// after
pub fn from_file<P: AsRef<Path>>(path: P) -> Result<NiftiHeader> { ... }

This is a design decision that has kept in my mind for a while, but now I honestly believe it's worth the breaking change, for the following reasons:

It is unconventional to see constructors such as from_stream and from_file to return a tuple rather than just Self or Result<Self>.
Returning a tuple makes these functions more complicated to work with.
The header's byte order is an inherent property materialized in how the contents were written to disk, and that property is lost in the current reading process (which harmonizes all attributes to native byte order).
NiftiHeader does not have a native memory representation anyway. The descrip member was already put into a Vec<u8> (arrays larger than 32 are currently bad to work with), so one shouldn't be relying on this type to be a memory equivalent of the respective C-like struct. Adding an extra member is not a problem in this regard.
And finally, those focused on using the NiftiObject API shouldn't notice a difference.

Good idea. LGTM.


Map or Properties field is not generated when OpenAPI specification defines a dictionary

Hi all,
as described here, the OpenAPI specification allows you to define a dictionary, so just a set of key-value pairs with key as string.
We use something like it in this OpenAPI specification here so something like:
"configs": {
      "description": "Per-topic configuration overrides",
      "type": "object",
      "additionalProperties": {
            "type": "string"
      }
},

but the corresponding Configs generated POJO class is just empty:
/**
 * Per-topic configuration overrides
 *
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({

})
@Generated("jsonschema2pojo")
public class Configs {

}

it seems it's missing a Map or Properties field which could be used to host the dictionary.
Another example we have is here where the key is still string of course, but value is an array:
"AssignedTopicPartitions": {
       "title": "AssignedTopicPartitions",
       "type": "object",
       "additionalProperties": {
            "type": "array",
            "items": {
                 "format": "int32",
                 "type": "integer"
            }
         },
        "example": {
            "my-topic1": [
                 1,
                 2,
                 3
            ]
         }
}

even  in this case the corresponding class is just empty.

For both use cases I noticed that the openapi generator doesn't generate two corresponding classes but just declares "dictionary" like fields in the classes using them.
So for example, for the first use case it generates a Map<String, String> configs field in the TopicMetadata class.
For the second use case, it generates a List<Map<String, List<Integer>>> partitions field in the SubscribedTopicList class.


Resolve some Sorbet errors in Terraform

I removed the FileSelector mixin from FileFetcher as the mixin expects dependency_files to be defined. Instead, I extracted the 2 methods that are used in FileFetcher.
See the Sorbet documentation for the advice I followed

Recreated from #9404 due to losing write permissions in this repository.

I'm pretty sure the reason CI won't build branch images for this PR is because it's from a fork:
https://github.com/dependabot/dependabot-core/blob/7b25e935cd0a1f9a89abf6ce865cea69090c298d/.github/workflows/images-branch.yml#L49

@bdragon do you need me to recreate the branch in this repo?

@JamieMagee I think so, unfortunately. Sorry for the ping-ponging.

@bdragon #9635


[iOS] toast show error direction in ipad

Toast show error direction in ipad  when device is UIDeviceOrientationLandscapeLeft.
I use sdk 0.26.0

Please provide a demo.
You can reopen the issue or create another way when you are ready about the demo.

a.mp4.zip

I can't provide a demo, because I am a ios developer, I don't known vue or rax.

I can't provide a demo, because I am a ios developer, I don't known vue or rax.
I find the code in WXModalUIModule.m is not correct in iPad。toastView.transform should not rotate when in ipad.
 UIInterfaceOrientation orientation = (UIInterfaceOrientation)[[UIApplication sharedApplication] statusBarOrientation];     switch (orientation) {         case UIDeviceOrientationPortrait: {             point = CGPointMake(window.frame.size.width/2, window.frame.size.height/2);             break;         }         case UIDeviceOrientationPortraitUpsideDown: {             toastView.transform = CGAffineTransformMakeRotation(M_PI);             float width = window.frame.size.width;             float height = window.frame.size.height;             point = CGPointMake(width/2, height/2);             break;         }         case UIDeviceOrientationLandscapeLeft: {             toastView.transform = CGAffineTransformMakeRotation(M_PI/2); //rotation in radians             point = CGPointMake(window.frame.size.width/2, window.frame.size.height/2);             break;         }         case UIDeviceOrientationLandscapeRight: {             toastView.transform = CGAffineTransformMakeRotation(-M_PI/2);             point = CGPointMake(window.frame.size.width/2, window.frame.size.height/2);             break;         }         default:             break;     }


Update middleware setting for Django >= 1.10

Django >= 1.10 : MIDDLEWARE is list type.
Django < 1.9 : MIDDLEWARE_CLASSES is tuple type.
Details here : https://docs.djangoproject.com/en/1.10/releases/1.10/#new-style-middleware
Therefore,
MIDDLEWARE_CLASSES = (
    ...
    'silk.middleware.SilkyMiddleware',
    ...
)

would be
MIDDLEWARE = [
    ...
    'silk.middleware.SilkyMiddleware',
    ...
]

@ukjin1192 Thanks for the contribution.


Multiline descriptions on struct fields

I noticed that the descriptions of schemas are cut off and do not use more than the first comment line. For example, if you add additional information to the Todo item in the todo-actix example:
/// Task to do.
#[derive(Serialize, Deserialize, ToSchema, Clone, Debug)]
pub(super) struct Todo {
    /// Unique id for the todo item.
    ///
    /// This is another line of text.
    #[schema(example = 1)]
    id: i32,
    /// Description of the taks to do.
    #[schema(example = "Remember to buy groceries")]
    value: String,
    /// Mark is the task done or not
    checked: bool,
}

Then the openapi output will look like this:

Note that the "This is another line of text." part of the comment is not present.
Digging through the utoipa-gen code a bit, this seems to happen because only .first() is called in the following places:

impl ToTokens for NamedStructSchema<'_>
impl ToTokens for UnnamedStructSchema<'_>
impl ToTokens for EnumSchemaType<'_>
impl ToTokens for SchemaProperty<'_>
impl ToTokens for SchemaProperty<'_>

Is this an intentional decision to only use the first line of the comment? If not, then I think this could be fixed by just join the strings on the newline character to preserve all comment lines. Then the output would look something like the following:

I believe the same thing happens for the IntoParams derive macro as well.

Yes this was originally the silent decision, but since the field supports multiline comments it sure can be changed so that it would add the whole comment as a description.

I believe the same thing happens for the IntoParams derive macro as well.

This happens everywhere the description is defined.

Thank you for the clarification. I believe I have the changes needed to add the ability for multiline descriptions. Would you like me to create a merge request with these changes, or what would be the process for getting these changes in?

You can create a PR as well if you want. But I can also take a look at this at some point in future releases.


TCP server header: Sending http response hearder immediately instead of waiting for payload

Currently the tcp server response header module only response when there is actual payload to send back, and behaves differently from the normal http procedure, where http response should be sent immediately upon seeing request.
This commit will instead send out http response as soon as oneTimeReader is consumed.

The affected codacy check is due to protobuf generated code, and it should not have a real damage.

@rprx


Customizer Does Not Work

Hi there, I am trying to add settings to the WP customizer, I have tried to add panels, sections, etc.. and none of them appear. These are the only settings that show up:

My customizer function is based off of some sample code:
function customize_register($wp_customize) {
  $wp_customize->get_setting('blogname')->transport = 'postMessage';

  /*
   * Failsafe is safe
   */
  if ( ! isset( $wp_customize ) ) {
    return;
  }
  echo get_theme_mod('widget_list_style');

  /**
   * Add Panel for General Settings.
   *
   * @uses $wp_customize->add_panel() https://developer.wordpress.org/reference/classes/wp_customize_manager/add_panel/
   * @link $wp_customize->add_panel() https://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_panel
   */
  $wp_customize->add_panel(
    // $id
    'theme_slug_panel_general',
    // $args
    array(
      'priority' 			=> 10,
      'capability' 		=> 'edit_theme_options',
      'theme_supports'	=> '',
      'title' 			=> __( 'Theme Name General Settings', 'theme-slug' ),
      'description' 		=> __( 'Configure general settings for the Theme Name Theme', 'theme-slug' ),
    )
  );
  /**
   * Add Panel for Color and Layout Settings.
   *
   * @uses $wp_customize->add_panel() https://developer.wordpress.org/reference/classes/wp_customize_manager/add_panel/
   * @link $wp_customize->add_panel() https://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_panel
   */
  $wp_customize->add_panel(
    // $id
    'theme_slug_panel_colorslayouts',
    // $args
    array(
      'priority' 			=> 11,
      'capability' 		=> 'edit_theme_options',
      'theme_supports'	=> '',
      'title' 			=> __( 'Theme Name Colors and Layouts', 'theme-slug' ),
      'description' 		=> __( 'Configure color and layout settings for the Theme Name Theme', 'theme-slug' ),
    )
  );
  /**
   * Add Panel for Advanced Settings.
   *
   * @uses $wp_customize->add_panel() https://developer.wordpress.org/reference/classes/wp_customize_manager/add_panel/
   * @link $wp_customize->add_panel() https://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_panel
   */
  $wp_customize->add_panel(
    // $id
    'theme_slug_panel_advanced',
    // $args
    array(
      'priority' 			=> 12,
      'capability' 		=> 'edit_theme_options',
      'theme_supports'	=> '',
      'title' 			=> __( 'Theme Name Advanced Settings', 'theme-slug' ),
      'description' 		=> __( 'Configure advanced settings for the Theme Name Theme', 'theme-slug' ),
    )
  );
}
add_action('customize_register', __NAMESPACE__ . '\\customize_register');

as stated in our contributing guidelines (that are linked at the top when you go to create a new issue), please don't use github issues for personal support requests.
https://discourse.roots.io/


[Scheduled Maintenance] Scheduled Maintenance

Maintenance window extended.

Resolved: Envesko Cloud - HTTPS is back up in 43e69db.


Relaton ISO now unable to find ISO documents

For example,
fetching ISO: ISO 19101-1...
WARNING: no match found online for ISO: ISO 19101-1:2014. The code must be exactly like it is on the standards website.
The provided document part may not exist, or the document may no longer be published in parts.

But ISO 19101-1:2014 is provided by https://www.iso.org/standard/59164.html.
@andrew2net can you:

[ ] please fix this
[ ] add specs (Whatever we have as specs are not enough to guard the situation.)
[ ] make a re-release
[ ] yank the broken gem

This is urgent.  Thanks.

@ronaldtse can't reproduce this issue. I trayed versions 0.6.0, 0.6.1, 0.6.2.

@andrew2net you're right, I was using relaton gem 0.5.5. This is now fixed in geolexica.org https://github.com/ISO-TC211/geolexica.org/commit/d6719aba479c286f64162ae2dd73e1378e4ffc6f . Closing.


Scheduler takes 100% of cluster resources without running any tasks

This behaviour is non-deterministic and the scheduler releases the resources quickly. The scheduler is executed in Docker and doesn't run any tasks/brokers. After a couple of seconds, the usage is back to normal.
Another thing is, however, that I use specific attributes to mark Kafka-tuned Mesos slaves together with constraints to run the framework so there's no way for it to get 100% of the whole cluster.
Could it be a Mesos resource usage reporting problem or Docker specifics? Master logs show that the scheduler declines the offers as it is supposed to be because no brokers are executed.

Sorry for messing the things: looks like it was a different framework executed with the same name.

How do you specify with constraints?
I am trying to run kafka on particular tuned ubuntu hosts, but it fails.


Adds isneginf and isposinf

Provides Dask Array implementations of isneginf and isposinf.
Note: These are not ufuncs, but they are ufunclike (or so the module they are from names them).

[x] Tests added / passed
[x] Passes flake8 dask

Seems fine to me


Authenticating Web API

Hi  Brock,
We have a website that uses membership framework for authentication.
Now we are trying to implement a MVC web API. We would like to use the same membership authentication for the API too. Client apps should be able to pass credentials to the API end point and get authenticated.
Can you please guide on how this could be implemented?
Thanks.

@jahnavisdba How can I contact you regarding this ? I just wanted to ask finally how you have implemented everything ?


941390684cf0d44cda50dc651764951fe4ba40bf

Package Name:
Package Version:
Operating System:
Python Version:

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@Spivasart The issue template must be filled out so we can assist you. I'm going to close this issue, but feel free to open a new issue with the necessary information.


Add Extrasolar: Planets Beyond Kerbol from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of AndyDrawsPrettyPictures, to add Extrasolar: Planets Beyond Kerbol to CKAN.
Please direct questions about this pull request to AndyDrawsPrettyPictures.

Yep, saw that :(


Combining #if SYNC_ONLY with if(...) or using(...) ends up with missing code

I don't know how well supported #if SYNC_ONLY #else "endif is supposed to be, but if I try doing the following it works perfectly like expected
[Zomp.SyncMethodGenerator.CreateSyncVersion]
public static async Task Foo2Async()
{
#if SYNC_ONLY
    _ = true;
#else
    _ = true;
#endif
    await Task.Delay(100).ConfigureAwait(false);
}

However if I do something that has () like if or using inside the directives it'll lose all code after #endif
[Zomp.SyncMethodGenerator.CreateSyncVersion]
public static async Task FooAsync()
{
#if SYNC_ONLY
    if (true)
#else
    if (true)
#endif
        await Task.Delay(100).ConfigureAwait(false);
}

Because the generated code ends up like this
public static void Foo()
{
    if (true)
}

@persn There are problems with #else. Try this:
        [Zomp.SyncMethodGenerator.CreateSyncVersion]
        public async Task<T> FooAsync<T>()
        {
#if SYNC_ONLY
            if (true) //sync
#else
            if (true) //async
#endif
            { }

            return default;
        }

@persn oh yeah. you said the same! sorry

@virzak I found that ISG does not like #else at any symbol:
        [Zomp.SyncMethodGenerator.CreateSyncVersion]
        public async Task<T> FooAsync<T>()
        {
#if MY_SPECIAL_SYMBOL
            if (true)
#else
            if (true)
#endif
            { }

            return default;
        }

gives me
        public T Foo<T>()
        {

            return default;
        }

It would be more correct if ISG converts these non-related symbols as is withot touching it:
        public T Foo<T>()
        {
#if MY_SPECIAL_SYMBOL
            if (true)
#else
            if (true)
#endif
            { }

            return default;
        }

I suspect this may become a very difficult task...

Yes, this is more complex than it seems. I can definitely look into this, however I'm wondering a workaround is feasible?
A statement like this:
#if SYNC_ONLY
    if (true)
#else
    if (true)
#endif
        await Task.Delay(100).ConfigureAwait(false);

would require the generator to construct if statement from disabled trivia.
Would this work for now?
#if SYNC_ONLY
        if (true)
            global::System.Threading.Thread.Sleep(100);

#else
        if (true)
            await Task.Delay(100).ConfigureAwait(false);
#endif

That probably looks reasonable for a naive one-liner, but in production code there's usually many lines within curly brackets which the code generator handles equally poorly. I should mention that the same problem also happens for usings, so then I would need to copy-paste the same code twice.
Right now it looks like to me that for the methods where this is a problem it's better to not use the code generator at all and just keep and maintain a sync and a async manually.

As workaround: it's also possible to define a constant value in the method like this:
#if SYNC_ONLY
    const bool isAsync = false;
#else
    const bool isAsync = true;
#endif

When C# compiles the if-statements:
if (isAsync) await Task.Delay(100).ConfigureAwait(false);

it sees that isAsync is a constant value, and removed the if-statement in the release build.
See the SharpLab here, you can see that "Async" is not in the decompiled C#-code on the right.


Error: Not found: 'dart:html'

Getting errors on first use
Compiler message:
../flutter/.pub-cache/hosted/pub.dartlang.org/jsonrpc2-2.0.3+1/lib/jsonrpc_client.dart:5:8: Error: Not found: 'dart:html'
import "dart:html";
       ^
../flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+4/lib/src/browser_client.dart:6:8: Error: Not found: 'dart:html'
import 'dart:html';

you might see if https://github.com/Intelx/jsonrpc2-flutter or descendant
forks work for you. I didn't plan for flutter for this library.
On Wed, Mar 4, 2020 at 11:52 AM Heather Young<EMAIL_ADDRESS>wrote:

Getting errors on first use
Compiler message:
../flutter/.pub-cache/hosted/pub.dartlang.org/jsonrpc2-2.0.3+1/lib/jsonrpc_client.dart:5:8: Error: Not found: 'dart:html'
import "dart:html";
^
../flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+4/lib/src/browser_client.dart:6:8: Error: Not found: 'dart:html'
import 'dart:html';
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jwashin/jsonrpc2-dart/issues/5?email_source=notifications&email_token=AAJC6XLG555ERRZ46F4W6E3RF2BLHA5CNFSM4LBNFUCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ISOQLXQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJC6XLZ5NHVFPZPPZGRLUDRF2BLHANCNFSM4LBNFUCA
.

This package is now fully flutter compatible.


Azure Monitor data collection features incorrectly linked as in preview

It looks like this page still marks several features as in preview that, per #102090, are not.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2318a1f1-445e-bdf5-c3e4-03304750c574
Version Independent ID: cd90d7ac-64c4-06b1-a1ec-2a34fae1d78e
Content: Data collection in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/essentials/data-collection.md
Service: azure-monitor
Sub-service: essentials
GitHub Login: @EdB-MSFT
Microsoft Alias: edbaynash

@Arithmomaniac
Thanks for your feedback! We will investigate and update as appropriate.


allow define borgmatic image version at build time

allow define borgmatic image version at build time.
This allows to not have to edit Dockerfie when building for a new borgmatic version.

sorry pushed by accident already two other commits to the same PR (shouldn't work on the master branch 😎).
Wanted to push them in their own PR.
Cherry-pick whatever you want or let me know if I should do something else.
last commit may be questionable if you want it, as part of it is hopefully only temporary.

Thank you for the submission!
I think that the 403 Forbidden error that was posted in Build logs is misleading.
 - UndefinedVar: Usage of undefined variable '$BORGMATIC_IMAGE_VERSION' (line 5)
ERROR: failed to solve: failed to push ghcr.io/maxim-mityutko/borgmatic-exporter:dev: unexpected status from POST request to https://ghcr.io/v2/maxim-mityutko/borgmatic-exporter/blobs/uploads/: 403 Forbidden
Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/maxim-mityutko/borgmatic-exporter:dev: unexpected status from POST request to https://ghcr.io/v2/maxim-mityutko/borgmatic-exporter/blobs/uploads/: 403 Forbidden

I'm concerned about the UndefinedVar that's clearly complaining about the Dockerfile

Regarding 2 other commits:

I need to check if providing directory instead of file works as expected, cause I don't think it's properly covered with tests right now
For the second point, I can probably live with the workaround, though looking at the lack of activity for the issue you mentioned it might be more permanent than not.

Let me test these scenarious and figure out what's the best way to proceed.

Thank you for the submission! I think that the 403 Forbidden error that was posted in Build logs is misleading.
 - UndefinedVar: Usage of undefined variable '$BORGMATIC_IMAGE_VERSION' (line 5)
ERROR: failed to solve: failed to push ghcr.io/maxim-mityutko/borgmatic-exporter:dev: unexpected status from POST request to https://ghcr.io/v2/maxim-mityutko/borgmatic-exporter/blobs/uploads/: 403 Forbidden
Error: buildx failed with: ERROR: failed to solve: failed to push ghcr.io/maxim-mityutko/borgmatic-exporter:dev: unexpected status from POST request to https://ghcr.io/v2/maxim-mityutko/borgmatic-exporter/blobs/uploads/: 403 Forbidden

I'm concerned about the UndefinedVar that's clearly complaining about the Dockerfile

Tested it without defining a build arg in compose and with one, it works for me. But it's possible that it's expected to have also a default in the variable expansion?

Regarding 2 other commits:

I need to check if providing directory instead of file works as expected, cause I don't think it's properly covered with tests right now

Didn't thought of the tests, but it works in my setup without problems.

Let me test these scenarious and figure out what's the best way to proceed.

sure... will create anyway separate branches for each commit and split the PR. So we can handle them separate.

replaced by #19


Enhancement | Upgrade node-exporter version and add Security Group Rules

What?

Upgrade Node-Exporter to latest version
Add rule in EKS API Security Group for Cert-Manager and Node-Exporter metrics, required for Prometheus/Grafana.

@diego-ojeda-binbash @exequielrafaela
I am just updating the Node-Exporter version in the Ref-Arch only for **apps-devstg/us-east-1/k8s-eks/k8s-components/monitoring-metrics.tf** but there are other EKS Clusters that also use "Node-Exporter". Do we update all of them?
/apps-devstg/us-east-1/k8s-eks/k8s-components/monitoring-metrics.tf [UPDATED]

/apps-devstg/us-east-1/k8s-eks-demoapps/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-1/k8s-eks-v1.17/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-1/k8s-kind/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-2/k8s-eks-v1.17/k8s-resources/monitoring_metrics.tf

@diego-ojeda-binbash @exequielrafaela I am just updating the Node-Exporter version in the Ref-Arch only for **apps-devstg/us-east-1/k8s-eks/k8s-components/monitoring-metrics.tf** but there are other EKS Clusters that also use "Node-Exporter". Do we update all of them?
/apps-devstg/us-east-1/k8s-eks/k8s-components/monitoring-metrics.tf [UPDATED]

/apps-devstg/us-east-1/k8s-eks-demoapps/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-1/k8s-eks-v1.17/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-1/k8s-kind/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-2/k8s-eks-v1.17/k8s-resources/monitoring_metrics.tf

Yes, please update the other references to the version of Node Exporter in those other layers, but no more than that please. 🙏

@diego-ojeda-binbash @exequielrafaela I am just updating the Node-Exporter version in the Ref-Arch only for **apps-devstg/us-east-1/k8s-eks/k8s-components/monitoring-metrics.tf** but there are other EKS Clusters that also use "Node-Exporter". Do we update all of them?
/apps-devstg/us-east-1/k8s-eks/k8s-components/monitoring-metrics.tf [UPDATED]

/apps-devstg/us-east-1/k8s-eks-demoapps/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-1/k8s-eks-v1.17/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-1/k8s-kind/k8s-resources/monitoring_metrics.tf
/apps-devstg/us-east-2/k8s-eks-v1.17/k8s-resources/monitoring_metrics.tf

@marianod92 Yes, please update the other references to the version of Node Exporter in those other layers, but no more than that please. 🙏

@diego-ojeda-binbash ok, already updated.


Questions on other usecases

Are there ways of making tutorials for the following topics (in order of complexity):

Classification tasks (rather than just regression) https://github.com/team-daniel/KAN
Recommendation Algorithms (RS) https://github.com/TianyuanYang/KAN4Rec
Time Series and Temporality (TS) https://github.com/remigenet/TKAN https://github.com/MSD-IRIMAS/Simple-KAN-4-Time-Series
Reinforcement Learning (RL) https://github.com/riiswa/kanrl
Embedding and Language Models (LLM) https://github.com/AdityaNG/kan-gpt https://github.com/CG80499/KAN-GPT-2
Grpah Neural Network (GNN) type applications https://github.com/WillHua127/GraphKAN-Graph-Kolmogorov-Arnold-Networks

Hey Brad,
I am trying to keep the KAN-Tutorial repo focused on the foundational aspects of KAN to understand what powers its properties. Thus, the notebooks have been focused mostly on extremely simple use cases involving one or two neurons.
I think if some smaller toy problems inspiring the above KAN architectures can be designed, such tutorials can be designed. The links that you suggested are already a good start to inspire a toy problem.
However, I will have to think about what extra knowledge can those tutorials add.
If you have suggestions or examples or a repo you are working on, please feel free to post them for review.


Make iHaptic interface public

iHaptic was introduced here: https://github.com/veandco/go-sdl2/pull/316
I was updating my codebase for the newest version of the library and found a sticking point. I often save my effects for running later and updating and to have a single method I can call to run the effects. Here is my method that runs effects: https://github.com/tanema/amore/blob/master/joystick/joystick.go#L249
If iHaptic was public this would be super simple but if it is not public then I will have create the effects over and over again and have a bunch of redundant code.
I am specifically thinking about the UpdateEffect method where I previously passed in an effect but now it requires an interface that is not public making it really hard to pass it around.

nvm I realized I can just do this with NewEffect 👍

sorry for the noise I was incorrect because I still cannot add an iHapticEffect as a struct field or a method param.

Hi @tanema
My guess is that you want to pass HapticEffect and be able to modify its type afterwards.
Sadly it's not possible with current implementation. You can create and update effects as long as they still have the same type.
// Create HapticLeftRight to test low frequency motor.
e := &sdl.HapticLeftRight{
	Type:           sdl.HAPTIC_LEFTRIGHT,
	Length:         3000,
	LargeMagnitude: 32767,
	SmallMagnitude: 0,
}

// Add this effect to haptics.
id, err := h.NewEffect(e)
if err != nil {
	panic(err)
}
// Run the effect.
h.RunEffect(id, 1)
fmt.Println("Running haptic effect:", e)
// Wait 3 seconds.
time.Sleep(3 * time.Second)

// Modify HapticLeftRight to test high frequency motor.
e.LargeMagnitude = 0
e.SmallMagnitude = 32767

// Update haptic effect.
err = h.UpdateEffect(id, e)
if err != nil {
	panic(err)
}
// Run the effect.
h.RunEffect(id, 1)
fmt.Println("Running haptic effect:", e)
// Wait 3 seconds.
time.Sleep(3 * time.Second)
// Destroy the effect.
h.DestroyEffect(id)

Interface access wont fix this. Golang doesn't have unions and the only reason it worked before is that you could return pointers to the C's HapticEffect that was modifiable. Thought we could add those methods to the interface.
Current implementation is easier to understand in my opinion, but after looking into it i'm thinking of reverting back to the old one https://github.com/veandco/go-sdl2/blob/2b0e4a2e51f4bb7e1cf495310b98f60d50eb46e6/sdl/haptic.go. At least the old one works similar to original SDL2.
I'll look more into it and do some testing first. If you have any ideas, feel free to share. ;)

Well, I don't want to edit an effect, I just want to store it and pass it into a method. I will try again to refactor but this makes it pretty difficult to pass around effect data.

I think it is bad practice to pass around a private interface, if you run golint on this repo I imagine it would warn you.
All I want to do is.

Make an effect with NewEffect.
If the effect changes, update that effect with UpdateEffect and pass in a new struct to that.
if the update fails, destroy the effect and create a new one, passing in the struct that was just passed into updateeffect.

I have this all contained in a single method call because for compatibility reasons I have to try several approaches to setting an effect. I will call UpdateEffect on each attempt.

Try LeftRight
Try Custom
Try Periodic

I am not sure, but from what I have seen other developers doing I think it is unwise/unefficient to create a new effect. I would also want a method to do that anyways so that it would destroy the previous effect before creating a new one.

I believe it should be fine to make the interface public if the method is private. It also seems like we're not using the HapticEffect type so perhaps we can rename the iHapticEffect interface to that? You could then use the HapticEffect interface as a variable type to store your effects. Would that solve your problem @tanema?

Absolutely.

@tanema I've made the update on the master branch. You can try it now :grin:

Thank you so much, this cleaned up my code really well.
For your reference: https://github.com/tanema/amore/pull/13/files#diff-6304fb2f8471613ba36ad9b2971638e8R241


collection/workflows: Run ansible-test sanity for each pull request

For keeping the code clean, for not overlooking anything, and because the ansible sanity checking workflow run does not take very long, we should better do the sanity checking with each pull request and not just once per week.

@berndfinger will you solve it? Or I can take it?

@Wabri Thanks, feel free to take it!


Tag a final postgres based version of PUDL

Before we cut over to only using data packages for output, and eliminating the entire postgres based infrastructure, I think we should tag a final working version of it in the repository for easy future reference (though not for release). We can make it a "pre-release" version or give it an un-versioned name.  We could even make it 0.1.0 and then immediately release 0.2.0 with the datapackage cut-over done.

This version was finally released as catalystcoop.pudl v0.1.0.  We're going to release the datapackage version as v0.2.0 riiiiiiiiiiight now.


Verbose show command

I'd like to be able to see all of the contents of a manifest including it's source (when multiple sources are present).
winget show foo -v

It would include the source of the manifest file, and the timestamp the manifest file was accessed

[Policy] Command-Show


UI: improve title responsiveness and color

Fixed title background size on smaller window size
Fixed title color (it was black because the var had one dash "-" too many, but still set color to white for better readability)
Made box shadow a bit more noticeable

Before / After:

Relative to #3

Seems like an improvement, thanks :)


Binding implementation should implement SmartLifecycle

The binders should return an implementation that delegates it's lifecycle to the underlying target. This would allow us to control lifecycle of the Binding and register error handlers at the appropriate time.

Lifecycle was added to Binding here https://github.com/spring-cloud/spring-cloud-stream/commit/67d310da8c3aa91109ade5558e80c2c8ccb9d970, so closing


Remove massOperation abstraction

This is an unintuitive an overly-generic abstraction and makes the code a fair bit harder to follow, it splits things out into too many tiny functions which would be better off inline as well.
Just making this issue before implementing the change - just in case there is something I've overlooked in my reasoning here.

I agree. I had mixed feelings about it when I implemented it anyways, and I don't think it serves enough real purpose anyways.

Closed by 79844ca52628d3bbc4400fc296694a0eb8b50bea


Impossible to disk cleanup the registry (2.5.0) due to broken garbage cleanup?

Hi,
I am trying to cleanup a 2.5.0 registry which is getting its main disk full.
I deleted some tags, run the garbage cleanup cron job, disk was freeed, but when I try to repush an image that was deleted, I hit the following error "Layer already exists".
I have also originally posted here:
https://github.com/docker/docker-registry/issues/988
While I think this is the appropriate place to mention the issue.
Can someone from Docker confirm the issue?
This is really an annoying bug, because it prevents the real "Continuous Integration" to happen.

Can't really confirm anything without more information. It is possible that there was a still a tag or manifest which was referencing the layer, so seeing "Layer already exist" itself would not be indicative of an error.
Are you having any other symptoms? You mentioned that that disk space was freed, but perhaps not as much as anticipated and it is filling up again too quickly? In addition to deleting the tags, are you also deleting manifests which may be untagged?

Steps to reproduce:

Delete an image tag
Run the garbage collector
Repush the same image+tag

Will try to give you my exact steps with curl next monday, but I think in the 988 ticket it is well explained.

As seen in docker/docker-registry#988 restarting the registry is needed and solves the problem.
I think the recommended way to do GC is to stop registry, GC, and then start it (to be sure that nothing is getting uploaded during GC).
It might be complicated when running the registry in a docker container though, as stopping the server would stop the container and not allow to exec the GC in it...
The good way is probably to restart the server in read-only mode, GC, restart in read-write mode.

@eesprit by restarting the server in read-only mode, you mean creating a second config2.yml with this section as difference:
 maintenance:
    readonly:
      enabled: true

And then restarting the server with that readonly option, run GC, restart the server with the old config?
Or is there an API way to tell the running server to put itself in readonly mode?

I don't thing there is an API call for that (the Docker Private Registry expose one, but this does not seem to exist in the distribution registry).
So yes, I think the only way is to switch conf files.
By the way, as far as I understand, the maintenance/readonly is under storage, not at the "root" of the config file.

I am also able to reproduce this (exactly as zoobab says it).

The issue also exists.

This issue cased by the registry cache. I disable the registry cache to solve this problem. And it has worked.

Closing as wildly outdated. Please open a new issue after testing on the latest available release.


Support for tvOS and watchOS?

Your GroupedArray is amazing. Is there any possibility to use it with tvOS via cocoa pods?

Yes, I just released a new version that supports watchOS and tvOS. Thanks for the suggestion!


Add support for iterative builds and custom task names

Hi,
Not sure if you are still supporting this but I added some basic support for iterative builds as well as custom task names (useful for some distributed build systems which use custom CL tasks).
It adds Newtonsoft.Json as a dependency just for ease of reading and writing the file.
Tested on a large code base (AAA game and engine) and it worked as expected.

Hi there! Thank you for the contribution and sorry for the delayed reply.
You guessed right -- I'm not using this any more, and really don't even have an environment in which to test it. Since your changes are non-trivial, it's probably better that you fork the project than that I take it in my repo. I'm happy to link to your fork.

BTW you probably want to update the docs at some point :)


Output visual

Hello,
It seems something changed in the recent versions of the software in the output windows, now the variables are stacked and hide some part of the divisors. Zooming in or out does not seems to change anything.
Version 5.8.5:

Version 5.8.1:

Thank you! I am so sorry! :(
It was the CSS in the html template. Some margin was corrupted.
Now I fixed it and updated the last release.


fix typo

Changes

fixed a typo

Review

@virginiacc @amymok

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Looks good! :+1:


Invoke-WebRequest: Head request failing after update to v7.3.0

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Invoke-WebRequest -Uri 'https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&version=&package_type=exe&language=German' -Method Head

Expected behavior
Invoke-WebRequest succeeds without issues.
I cannot reproduce this behavior with v7.2.7.
Actual behavior
Invoke-WebRequest fails. The provided URI is claimed to be invalid, since the hostname is not parsed correctly.
Error details
Exception             :
    Type       : System.UriFormatException
    TargetSite :
        Name          : CreateThis
        DeclaringType : uri
        MemberType    : Method
        Module        : System.Private.Uri.dll
    Message    : Invalid URI: The hostname could not be parsed.
    Source     : System.Private.Uri
    HResult    : -2146233033
    StackTrace :
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at System.Uri.CreateUri(Uri baseUri, String relativeUri, Boolean dontEscape)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ParseLinkHeader(HttpResponseMessage response, Uri requestUri)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], UriFormatException
FullyQualifiedErrorId : System.UriFormatException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
InvocationInfo        :
    MyCommand        : Invoke-WebRequest
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 5
    Line             : Invoke-WebRequest -Uri 'https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&version=&package_type=exe&language=German' -Method Head
    PositionMessage  : At line:1 char:1
                       + Invoke-WebRequest -Uri 'https://www.foxit.com/downloads/latest.html?p …
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : Invoke-WebRequest
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

This doesn't repro for me on Windows with 7.3.0:
PowerShell 7.3.0
C:\Users\slee
PS> Invoke-WebRequest -Uri 'https://www.foxit.com/downloads/latest.html?product=Foxit-Reader&platform=Windows&version=&package_type=exe&language=German' -Method Head

StatusCode        : 200
StatusDescription : OK
Content           : {}
RawContent        : HTTP/1.1 200 OK
                    Date: Mon, 14 Nov 2022 21:07:11 GMT
                    Server: Apache/2.4.10
                    Server: (Debian)
                    ETag: "bd1be58-5ec5f4890509a"
                    Accept-Ranges: bytes
                    Last-Modified: Tue, 01 Nov 2022 02:14:27 GMT
                    Conten…
Headers           : {[Date, System.String[]], [Server, System.String[]], [ETag, System.String[]], [Accept-Ranges, System.String[]]…}
RawContentLength  : 0
RelationLink      : {}

Does this repro consistently for you?

I can only consistently reproduce this on one of my devices: a self-assembled desktop running Windows 11 22H2.
I've attempted reproduction from a Dell XPS 13 9310 2-in-1 (personal laptop) running Windows 11 22H2, as well as an HP ZBook Studio G5 (work laptop) running Windows 10 Enterprise 20H2. The request succeeded on both devices without issues.
On the failing device, the call succeeds in Windows PowerShell, but I'm seeing a different response which may be relevant:
StatusCode        : 200
StatusDescription : OK
Content           : {}
RawContent        : HTTP/1.1 200 OK
                    Link: <https://*.foxitsoftware.com/product/manifest.txt>; rel=prefetch
                    Accept-Ranges: bytes
                    Content-Length: 198295128
                    Content-Type: application/x-msdos-program
                    Date: Mon, 14 Nov 2...
Headers           : {[Link, <https://*.foxitsoftware.com/product/manifest.txt>; rel=prefetch], [Accept-Ranges, bytes], [Content-Length, 198295128],
                    [Content-Type, application/x-msdos-program]...}
RawContentLength  : 0

Based on the stack trace, I'm guessing we're trying to parse the Link header's URI, which fails:
PS C:\Users\brian> [System.Uri]::new('https://*.foxitsoftware.com/product/manifest.txt')
MethodInvocationException: Exception calling ".ctor" with "1" argument(s): "Invalid URI: The hostname could not be parsed."

It seems that the regression was introduced by this change: https://github.com/PowerShell/PowerShell/pull/15973
Maybe @sliekens can help here?

@adityapatwardhan @brogers5
I can see that the server is using unquoted rel types. (rel=prefetch instead of rel="prefetch")

PowerShell versions older than 7.3.0 completely ignore Link headers with unquoted reltypes.

(Technically, the regex patten didn't match)

PowerShell 7.3.0 does support them, but now you have a different problem because * is not an allowed character for a hostname.
It seems the server is also not consistently returning a Link header.

We should probably update the code so that if there is an exception parsing the links, we just leave the links empty and maybe emit a warning message.

@SteveL-MSFT #19162 shuld fix this issue, I'll add a warning message after we merge it in a following PR


provide a output that lists compatible python versions

often times its nice to have a matrix job for all supported python versions
it would e nice if a optional output for the list of supported github pythons could be provided (as input for a matrix)

Could you elaborate more concretely what you have in mind?

Given python requires and the supported python versions of github, I want a json list of supposedly supported pythons on github, so that they can be used in a matrix

Yeah but how and where? Like as an action output similar to dist? Can an action return a dict?

It will need to be a string as far as I understood the limitations of github actions
An output similar to dist should suffice

So what you want is to build the package as a first step, get a supported_pythons list like '["3.10", "3.11"]' back and then somehow pass it into:
      matrix:
        python-version: ${{ steps.baipp.outputs.supported_pythons }}

or something? How would that work?

Correct

Key problem here is not the list of python versions, but the names github uses for the python action

Relative to the versions available on github for the setup python action

So it's about something I've been exploring here: https://github.com/tox-dev/workflow/blob/8ca2e60/.github/workflows/tox.yml#L142.


Find a good location to link the blog

https://blog.ethberlin.ooo/

Added to the footer https://github.com/Department-of-Decentralization/3/commit/1a7b5be5363f0f111bc0c4bd0680cc446a906131


Types not working in new release

import Image from "next-image-export-optimizer/future/ExportedImage";
TS2307: Cannot find module 'next-image-export-optimizer/future/ExportedImage' or its corresponding type declarations.

Thanks for the report.
Somehow it was more complex than expected to get the types working for the .../future/ExportedImage component.
It should work now in v0.17.1


README.md: remove latest release section

Netavark follows github releases which is already listed on homepage.

Remove section which needs additional maintenance.
Follow parity with other projects in github.com/containers such as podman.

Closes: https://github.com/containers/netavark/issues/440

lgtm

/lgtm

This is not a good idea. The Github release page is strictly chronological. If we ever have to do a, say, 1.0.2 release, that will appear as the latest release on Github - despite us already having 1.1.0 out. We retain and manually curate the latest release link on Podman because of this. Don't see a reason why NV and AV don't merit one?

Well, the point is nobody seems to update it. So removing it sounds better to me than using the wrong version.


Added the Cursor added the GSAP and Locomotive JS also

I have added the cursor animation using the GSAP (Javascript Library) where I also thought of adding the locomotive JS for the smooth scrolling of the website.
I installed the GSAP with this command
npm install @gsap/react
and for the Locomotive JS I used the
npm install locomotive-scroll@beta
the new BETA 5 version of the Locomotive JS

@Sayak-Bhunia issue number?

@Sayak-Bhunia issue number?

#20


Test Python versions

I'll push a syntax fix for Python 3.8 momentarily.
Context on the need: Some operating systems under current LTS release schedule provide Python 3.8 by default.  So we should accommodate 3.8 needs.


Missing onResponse ?

What version of Elysia is running?
1.1.8
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
https://github.com/tanishqmanuja/todos-react-elysia/blob/main/server/src/lib/logger/index.ts
What is the expected behavior?
Is was working in version Elysia v1.0.27, suddenly stopped version after updating deps :(
What do you see instead?

Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
yes

@tanishqmanuja 1.1 has breaking changes. See the https://github.com/elysiajs/elysia/blob/main/CHANGELOG.md#110---16-jul-2024

Thank you, I was searching the docs but forgot the changelog file.


Settings: clicking text next to checkbox should toggle it

Steps to Reproduce:

click on the text of a setting with a checkbox
🐛 the checkbox does not toggle

=> normally text next to a checkbox can be clicked to toggle it

#54053


Couldn't access my nami wallet and now I can't recover it either

I cannot recover my nami wallet - all options are green but it does not allow me to select next.
It stopped working on Brave. I tried to recover it on a different browser - Opera and Edge and it does not work.
I'm not very happy right now.

Please do no follow the link in the message that I just deleted, it's a scam

@DistractedEasy hey mate and have you resolved your issue?
kindly use the SUPPORT

Nami - how is it no one has responded yet?

They won’t reply you on here same thing happened to me Blackhathacker110 on telegram helped me https://t.me/Blackhathacker110

I have the right password but Nami wallet says wrong password. I tried to reset, but need the password. I have seed phrases.. where can I use them. I can't access my funds.
Please help !
thank you

You can restore the wallet with just the seed phrase, by navigating to Settings - General Settings - Reset Wallet

Removing the extension and re-installing will give you a clean state to then restore your seed and choose a new passphrase.

Hi,
After reinstalling the nami wallet extension, the balance went to zero.

Please help!
I
On Thu, Dec 21, 2023 at 7:57 AM Rhys Bartels-Waller <
@.***> wrote:

Removing the extension and re-installing will give you a clean state to
then restore your seed and choose a new passphrase.
—
Reply to this email directly, view it on GitHub
https://github.com/input-output-hk/nami/issues/891#issuecomment-1866301398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARODAMIV45GBAFXCTFN5DBLYKQ533AVCNFSM6AAAAABAHDHE7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRWGMYDCMZZHA
.
You are receiving this because you commented.Message ID:
@.***>


Something is broken with detail/edit

Go to the robots list: http://react-starter.paqmind.com/robots/
Click on detail: u will see loading and nothing more
Sometimes it's working, so in this case click on edit button on this page and again u will see only loading element

Close, as we change mother library. See https://github.com/Paqmind/react-starter/issues/28


⚠ Bofrost.at has degraded performance

In 66630d8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1337 ms

Resolved: Bofrost.at performance has improved in 33da8ef.


Is there a flit command to specify project dependencies and then install them?

Similar to poetry add is there a command to update pyproject.toml with a pypi dep and also install it?

There isn't. The model for using Flit is that you edit pyproject.toml by hand and Flit only reads it.
You can see all the available flit subcommands here: https://flit.pypa.io/en/stable/cmdline.html


chore: honor NamePrefix in bundle name

During conflict resolution from merge of v0.26-d2iq into v0.37.1-d2iq in #28 i did not resolve the conflicts correctly when merging https://github.com/mesosphere/troubleshoot/blob/v0.26-d2iq/pkg/supportbundle/supportbundle.go#L61 into c2ed475 (#28)
This change ensures that the NamePrefix is honored (as it always was).

@mhrabovcin This should be the last thing to be merged, CI is passing here https://github.com/mesosphere/dkp-diagnostics/pull/239
Sorry for the dragging this out much more than needed, thanks for the patience!


typeCheck ignored when project is unset

typeCheck: true is ignored if project is undefined. This fix sets a reasonable default project value.
Made with: @markuskeunecke
PR checklist

[ ] Addresses an existing issue: #0000
[x] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Thanks for your interest in palantir/tslint, @smasala! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Thanks for putting this PR together. In this case however, it would've been better to open an issue to discuss this before doing the actual work.
Why do you need that change? The documentation clearly states that you can use --type-check only with --project. When using the CLI you even get an error when using --type-check without --project.
Since runner.ts is not meant to be a public API, I don't see the need for changing the behavior.
Also note that --type-check is no longer needed for type checked rules to work and is likely to be deprecated soon.

@ajafff type-check is required so that ts loaders for webpack evaluate checks requiring type information, such as completed-docs. Since type-check:false (default) is able to find and use the tsconfig.json it is not intuitive that the 'project' config is required.

Since type-check:false (default) is able to find and use the tsconfig.json it is not intuitive that the 'project' config is required.

You are able to find some tsconfig.json. You can't be sure to use the right one.

type-check is required so that ts loaders for webpack evaluate checks requiring type information, such as completed-docs.

I don't get the "ts loaders for webpack" part.
Anyways, you're right that completed-docs requires type information. But since<EMAIL_ADDRESS>you only need --project to make it work. --type-check does a lot more than that and is probably not what you want it to do.

Then are both the documentation and the warning messages are confusing.
If typeCheck and project are not defined but completed-docs in tslint.json is, then the warning:
Warning: The 'completed-docs' rule requires type information.

Is confusing, don't you think?
However, rules defined in tslint.json that do not require typeChecking are evaluated regardless and the tsconfig.json in this instance is somehow found.
When typeCheck: true is set then the output is the same as before.
Although typeCheck is no longer required (as you mentioned above), it is even more confusing that project must suddenly be set to evaluate type requiring rules.
PR no longer valid. Opened Issue


Change request

Can we change

Allowed Sender DomainsAllowedSenderDomains
None
None
None
Adding domains that you own (accepted domains) to the allowed senders list is a very bad idea. Attackers would be able to send you email that would otherwise be filtered out.

to
Allowed Sender DomainsAllowedSenderDomains | None | None | None | Adding domains to the allowed senders list is a very bad idea. Attackers would be able to send you email that would otherwise be filtered out.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0c77e1cb-1509-83cc-7c2a-564d5e3e91ea
Version Independent ID: 9f07278c-37ab-beac-a5dd-fa4f4825b3a4
Content: Microsoft recommendations for EOP and Office 365 ATP security settings, recommendations, Sender Policy Framework, Domain-based Message Reporting and Conformance, DomainKeys Identified Mail, steps, how does it work, security baselines, baselines for EOP, baselines for ATP, set up ATP, set up EOP, configure ATP, configure EOP, security configuration - Office 365
Content Source: microsoft-365/security/office-365-security/recommended-settings-for-eop-and-office365-atp.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@aldoug Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/3270. Please note that once the Author approves these changes it could take 24-48 hours for the document to go live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @aldoug Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Update netty-handler to 4.1.108.Final

About this PR
📦 Updates io.netty:netty-handler from 4.1.92.Final to 4.1.108.Final
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.netty", artifactId = "netty-handler" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.netty", artifactId = "netty-handler" }
}]

labels: library-update, commit-count:1

Superseded by #1659.


Add template and templateId fields to DeviceDetailsResponse

Description
DeviceDetailsResponse is missing the template and templateId values. This two keys appear on the JSON response from vManage when device is assigned to a device template. Without this, we are not able to determine if the device (control component or edge) has template assign or not.

@tzarski0 please verify if enhanced DeviceDetailsResponse meet the requirements in your code. On my setup, tested and these fields are available.

Verified and working. Thank you @cicharka


What would be the smallest setting with tokio?

Thanks for the library. I'm using it with others for a load injector. I'm depending already on tokio.
I have this compilation error:
error[E0277]: the trait bound `tokio::net::TcpStream: futures_io::if_std::AsyncRead` is not satisfied
  --> src/imap_client.rs:6:13
   |
6  |     client: Client<TlsStream<TcpStream>>,
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures_io::if_std::AsyncRead` is not implemented for `tokio::net::TcpStream`

I have reproduced a similar compilation issue with the example: I removed optional features and set tokio as configured in my project (that includes same features from tokio i.e. rt-multi-thtread and macros). So I came with the following Cargo.toml:
[package]
name = "async-imap-examples"
version = "0.1.0"
publish = false
authors = ["dignifiedquire<EMAIL_ADDRESS>license = "Apache-2.0/MIT"
edition = "2018"

[dependencies]
anyhow = "1"
async-imap = { path = "../", features = [ "tokio" ]  }
async-native-tls = { version = "0.5", features = [ "tokio" ] }
futures = "0.3.28"
tokio = { version = "1.32", features = ["net", "io-util", "time", "rt", "rt-multi-thread", "macros"] }

And the headers from the idle file:
use std::env;
use std::time::Duration;

use anyhow::{bail, Result};
use async_imap::extensions::idle::IdleResponse::*;
use futures::StreamExt;

use tokio::{net::TcpStream, task, time::sleep};

#[tokio::main]
async fn main() -> Result<()> {
    // ...
}
// ...

What is missing or is misconfigured in this file?
(sorry if it's a dumb question, I'm not a rust advanced user yet)

thank you for your answer @link2xt but when I use runtime-tokio I have
error[E0252]: the name `AsyncReadExt` is defined multiple times
 --> /opt/cargo/registry/src/index.crates.io-6f17d22bba15001f/async-native-tls-0.5.0/src/runtime.rs:9:39
  |
6 | pub(crate) use futures_util::io::{AsyncReadExt, AsyncWriteExt};
  |                                   ------------ previous import of the trait `AsyncReadExt` here
...
9 | pub(crate) use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite};
  |                                       ^^^^^^^^^^^^ `AsyncReadExt` reimported here
  |
  = note: `AsyncReadExt` must be defined only once in the type namespace of this module
help: you can use `as` to change the binding name of the import
  |
9 | pub(crate) use tokio::io::{AsyncRead, AsyncReadExt as OtherAsyncReadExt, AsyncWrite};

Yay !!
It works. Thank you for your patience.
it this can help, I ended up with :
[dependencies]
anyhow = "1"
async-imap = { path = "../", default-features = false, features = [ "tokio", "runtime-tokio" ] }
async-native-tls = { version = "0.5", default-features = false, features = [ "runtime-tokio" ] }
futures = "0.3.28"
tokio = { version = "1.32", features = ["net", "io-util", "time", "rt", "rt-multi-thread", "macros"] }

Bruno, if you feel like opening a little documentation PR that would be useful i think.
On Mon, Sep 04, 2023 at 12:47 -0700, Bruno Thomas wrote:

Yay !!
It works. Thank you for your patience.
it this can help, I ended up with :
[dependencies]
anyhow = "1"
async-imap = { path = "../", default-features = false, features = [ "tokio", "runtime-tokio" ] }
async-native-tls = { version = "0.5", default-features = false, features = [ "runtime-tokio" ] }
futures = "0.3.28"
tokio = { version = "1.32", features = ["net", "io-util", "time", "rt", "rt-multi-thread", "macros"] }

--
Reply to this email directly or view it on GitHub:
https://github.com/async-email/async-imap/issues/88#issuecomment-1705654918
You are receiving this because you are subscribed to this thread.
Message ID: @.***>


Update dependencies

This updates dependencies which don't need code rework and introduces some version variables for easier maintaining.
See  #487.

Based on this PR is the sonatype SNAPSHOT release 5.6.0-rc1-SNAPSHOT. See wiki/Maintainer-Guideline how to use it. Please test it and check mark:

[x] lobid-resources
[ ] limetrans
[ ] fix
[ ] playground


refactor(cryptogram_scheme): move cryptogramOf method

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 14 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
58

Relevant Lines:
58

💛  - Coveralls


allow to use a key named "key" in configuration

currently, it's not possible to use a configuration like this:
foo:
  key: 'baz'

because you'll get something like:
> AppConfig.foo.key
ArgumentError: wrong number of arguments (0 for 1)

I've removed key method from the Config class, it seems it doesn't break anything.

Could you alias this method before removing?

I'm just thinking: we use a class inheriting from Hash. there is a lot of methods there which might raise the same error, like values, size, store, length and we should be able to do something about it, removing key method is not enough in this case:/

Use a getter? But that'd break compatibility with our existing code :(


skip ignore some suggestions possible?

action: ai_automation_suggester.generate_suggestions
data:
provider_config: my_provider_chatgpt
custom_prompt: skip notifications about updates
but I got still a bunch of notifications about update notifications or auto updating addons.
do I something wrong?

The main issue is that the integration was initially designed to focus on 'new' entities and provide examples related to them. There have been requests to make this functionality more flexible, which will be addressed in Version 2 of this custom integration. I have been working diligently to establish the foundational elements for multiple providers and local LLMs to improve suggestions like these.
Let's troubleshoot the problems you are experiencing in Version 1.08 and see if we can recreate the issue so we can work on it for Version 2. see if we can recreate the issue so we can work on it for Version 2.

If I can help to deliver info please let me know!

Are you expecting the custom prompt to not generate notifications for that one call or for all calls?

Great!   thank you so much!  I gonna test this! :)


Add TypeScript type definitions

Provide typescript type definitions, include it in this package

Any changes that this would get implemented?

Hello
I can't implement this because I've never worked with TS before, but I agree that definitions would improve developer experience and we could add an index.d.ts file to the package with type declarations.
I'm going to add a "Help Needed" tag to this issue, so if someone wants to contribute this might be a good place to start.

As we needed the type definitions, maybe I can try looking up the codebase for the type definitions this weekend

Working on it at https://github.com/uploadcare/react-widget/pull/55

I think, that we can close the issue, @jeetiss? : )

I will close it after publish

released in 1.1.0


Lint code with flake8

Description
Add code style enforcement with flake8. Remove CodeQL.

@Wrede ready to review. The main changes are in the code-checks workflow all of the rest is fixes.


Support different architectures during job submission and runtime

Superseeds https://github.com/dmwm/WMCore/pull/10673
Fixes #10840
Status
not-tested
Description
Summary of changes is:

support different CPU architectures at the job wrapper (actually, CVMFS is only setup for ppc64le.  aarch64 will be supported in the future)

this means, CVMFS scripts will be sourced accordingly

added a map of ScramArch to architecture in the BasePlugin

note that there is no default architecture, in case a job does not specify ScramArch
note that the result must be a single architecture, so some precedence logic goes embedded

overwrite the Requirements expression string according to the architecture that we want to run that job.

TODO.: further discussion with the SI team needs to happen before we can accept this as a global implementation for central production. For now, it will be useful for the Marconi100 tests.
Is it backward compatible (if not, which system it affects?)
maybe
Related PRs
None
External dependencies / deployment changes
None

Hi @amaltaro  just spoke with @tommasoboccali we agreed to go ahead so far we've not things to add.
And about multi-arch I agree we need further discussions ..
thanks Daniele


Add JustList: {Salvadorcoin}

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

JustList URL: https://salvadorcoin.org/Salvadorcoin.json
JustList Name: Salvadorcoin
Link to the official homepage of the JustList manager: https://salvadorcoin.org

Sorry, your issue will be closed as you did not submit your information in the correct format.


Add German prefLabel to nkostypes

Required for German interface of https://github.com/gbv/jskos-proxy.

Data is in https://github.com/gbv/bartoc.org/blob/main/data/nkostype.concepts.ndjson an can be queried via https://bartoc.org/api

Is there an easy way to manage these inside this repository?

The vocabulary is managed in DANTE so better use http://api.dante.gbv.de/voc/nkostype/top to get a current copy.


[ADDED] events object to bind events to model and collection

[UPDATING] issue #3468 to correct tests

Duplicate of #2240 and others.
delegateEvents is a fundamentally different beast from model / entity events and should be treated differently too.
As a side note, you don't have to re-open pull requests to make changes. Just push your changes to the same branch and github will auto-update the pull for you.


Refactor Ceilometer services' status objects

This patch joins status objects and uses prefixed contitions instead and splits hash object for each service.
This change is required as it fixes malfunctioning KSMStatus and adds missing hashing of KSM configuration.`

Removing required status fields that exist in older APIs and adding new required fields will break OLM updates.  So we shouldn't be doing what is proposed in the CR, I think.

@paramite you have to delete bin/controller-get to get the new version 0.14.0 installed. also see the comment from @abays . This PR can not land as is

Removing required status fields that exist in older APIs and adding new required fields will break OLM updates. So we shouldn't be doing what is proposed in the CR, I think.

Unless I missed something, this is only removing required fields, it's not adding new required fields. Is removing required fields also an issue for OLM?

Removing required status fields that exist in older APIs and adding new required fields will break OLM updates. So we shouldn't be doing what is proposed in the CR, I think.

Unless I missed something, this is only removing required fields, it's not adding new required fields. Is removing required fields also an issue for OLM?

Ah, I missed the omitempty attributes because I was looking for the kubebuilder Optional tag.

Some of the conditions in ceilometer CR are in "unknown" state, which is why the CI fails.


brew cask uninstall r-app fails with Error: key not found: "install-location"

General troubleshooting steps

[X] I have retried my command with --force and the issue is still present.
[X] I have checked the instructions for reporting bugs.

[X] None of the templates was appropriate for my issue, or I’m not sure.

...I'm not sure what that means, as I did pick this bug report template

[X] I ran brew update-reset && brew update and retried my command.
[X] I ran brew doctor, fixed as many issues as possible and retried my command.
[X] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
When I try to uninstall r-app, or reinstall it to get the latest version, the command fails. Reinstalling other casks such as rstudio or alfred works:
==> Satisfying dependencies
==> Downloading https://cachefly.alfredapp.com/Alfred_3.6.1_910.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask alfred
==> Uninstalling Cask alfred
Warning: Accessibility access cannot be disabled automatically on this version of macOS.
See System Preferences to disable it manually.
==> Running uninstall process for alfred; your password may be necessary
==> Quitting application ID com.runningwithcrayons.Alfred-3
Password:
==> Removing login item Alfred 3
==> Backing App 'Alfred 3.app' up to '/opt/homebrew/Caskroom/alfred/3.6.1_910/Alfred 3.app'.
==> Removing App '/Applications/Alfred 3.app'.
==> Purging files for version 3.6.1_910 of Cask alfred
==> Installing Cask alfred
==> Moving App 'Alfred 3.app' to '/Applications/Alfred 3.app'.
==> Enabling accessibility access
Warning: Accessibility access cannot be enabled automatically on this version of macOS.
See System Preferences to enable it manually.
🍺  alfred was successfully installed!

Command that failed
brew cask uninstall r-app

Output of command with --force --verbose --debug
==> Uninstalling Cask r-app
==> Uninstalling Cask r-app
==> Un-installing artifacts
==> 3 artifact/s defined
#<SortedSet:0x000001015f10c0>
==> Un-installing artifact of class Hbc::Artifact::Uninstall
==> Running uninstall process for r-app; your password may be necessary
==> Uninstalling packages:
==> Executing: ["/usr/sbin/pkgutil", "--pkgs=org.r-project*"]
org.r-project.R
==> Executing: ["/usr/sbin/pkgutil", "--files", "org.r-project.R"]
==> Executing: ["/usr/sbin/pkgutil", "--pkg-info-plist", "org.r-project.R"]
Error: key not found: "install-location"
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask#reporting-bugs
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:72:in `fetch'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:72:in `root'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:67:in `block in pkgutil_bom_all'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:67:in `map'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:67:in `pkgutil_bom_all'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:52:in `pkgutil_bom_files'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/pkg.rb:17:in `uninstall'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:213:in `block (2 levels) in uninstall_pkgutil'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:211:in `each'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:211:in `block in uninstall_pkgutil'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:210:in `each'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:210:in `uninstall_pkgutil'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:58:in `block in dispatch_uninstall_directives'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:55:in `each'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/abstract_uninstall.rb:55:in `dispatch_uninstall_directives'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/artifact/uninstall.rb:7:in `uninstall_phase'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:403:in `block in uninstall_artifacts'
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/set.rb:674:in `each'
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/set.rb:674:in `each'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:400:in `uninstall_artifacts'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/installer.rb:353:in `uninstall'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:22:in `block in run'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:12:in `each'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli/uninstall.rb:12:in `run'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/opt/homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/opt/homebrew/Library/Homebrew/brew.rb:101:in `<main>'
Error: Kernel.exit
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `exit'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `rescue in run'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/opt/homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/opt/homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/opt/homebrew/Library/Homebrew/brew.rb:101:in `<main>'

When I run the pkgutil command in the log just before the error message, I get
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>install-time</key>
	<integer>1252406887</integer>
	<key>pkg-version</key>
	<string>1.29.5464</string>
	<key>pkgid</key>
	<string>org.r-project.R</string>
	<key>receipt-plist-version</key>
	<real>1</real>
	<key>volume</key>
	<string>/</string>
</dict>
</plist>

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.6.3-26-ga3d639d
caskroom/homebrew-cask (git revision 42313; last commit 2018-05-13)
==> macOS
10.13.4
==> SIP
Enabled (custom configuration)

configuration:
apple internal: disabled
kext signing: enabled
filesystem protections: enabled
debugging restrictions: enabled
dtrace restrictions: disabled
nvram protections: enabled
basesystem verification: enabled
==> Java
1.8.0_112, 1.7.0_45
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/opt/homebrew/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask
==> Homebrew-Cask Taps:
/opt/homebrew/Library/Taps/caskroom/homebrew-cask (3958 casks)
==> Contents of $LOAD_PATH
/opt/homebrew/Library/Homebrew/cask/lib
/opt/homebrew/Library/Homebrew
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby/2.3.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby/2.3.0/universal-darwin9.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/site_ruby
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby/2.3.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/vendor_ruby
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/x86_64-darwin9.0
/opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/lib/ruby/2.3.0/universal-darwin9.0
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/Library/Homebrew/shims/scm"
SHELL="/opt/homebrew/bin/zsh"

Output of brew tap
burntsushi/ripgrep
caskroom/cask
homebrew/core
homebrew/games
homebrew/php
homebrew/python
homebrew/science
justwatchcom/gopass

Error: key not found: "install-location"

Not sure what's causing this but it is likely to be an issue with that version of r-app and not something we can fix in the Cask. Versions >= 3.4.2 uninstall correctly on our CI.
brew cask install --force r-app will install the current version.

uninstall is still trying to remove the old pkgid
pkgutil --forget org.r-project.R

Still no luck. The pkgutil command reports an error but still claims to have forgotten the package:
% pkgutil --force --forget org.r-project.R
Unknown error Error Domain=NSCocoaErrorDomain Code=4 "“org.r-project.R.bom” couldn’t be removed." UserInfo={NSFilePath=/var/db/receipts/org.r-project.R.bom, NSUserStringVariant=(
    Remove
), NSUnderlyingError=0x7fc7020214b0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}.
Forgot package 'org.r-project.R' on '/'.

The brew cask reinstall command still reports the same error.
If the "install-time" value of<PHONE_NUMBER> in the pkgutil command output is a Unix timestamp, it's a date in 2009, which is older than this laptop. It may have been the time I first installed R on my previous laptop, which would then have been inherited through Apple's migration wizard.

Unfortunately I don't really have any suggestions for how to fix this.
We've encountered similar issues with Casks that install pkgs provided by Apple (safari-technology-preview and a couple of others)


Hermes misses event notifications

Crate
ibc-relayer
Summary of Bug

Packet w/seq 12015 was created on regen at 14:14:09 (UTC)
Hermes doesn’t seem to get the notification but at clear height, 6 mins after, (see done scheduling further down for height 4262699) gRPC queries the app for commitments, it sees 12015.

2022-02-16T14:20:06.062326Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: packet seq. that still have commitments on regen-1: 12014, 12015 (first 10 shown here; total=2)
2022-02-16T14:20:06.062380Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: recv packets to send out to osmosis-1 of the ones with commitments on regen-1: 12014, 12015 (first 10 shown here; total=2)

But when it queries the Tx for sequence 12015 it doesn’t find it.

2022-02-16T14:20:06.197969Z  INFO ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: found zero unprocessed SendPacket events on source chain, nothing to do
2022-02-16T14:20:09.671314Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: done scheduling height=Some(Height { revision: 1, height: 4262699 })

Very late (~16 min after the packet was sent) it seems to actually get the SendPacket event for 12015 and by that time the packet is timedout. This time hermes is able to query the Tx that sent the packet and sends a MsgTimeout

2022-02-16T14:29:50.724071Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:generate{id=_E9ot9sZ9o}: /ibc.core.channel.v1.MsgTimeout from SendPacketEv(SendPacket - h:1-4262802, seq:12015, path:channel-1/transfer->channel-8/transfer, toh:1-3238903, tos:Timestamp(2022-02-16T14:23:03.985796846Z)

Attached is the full running log where this issue (and similar other instances) occurred.
hermes.zip
##/Version
v0.11.0
Steps to Reproduce
Run hermes start with at least two chains configured
Acceptance Criteria
Hermes does not miss event notifications.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Trying to reconstruct the sequence of events:

Regen-1 Height 4,262,802: The transfer is created at this block height.

ts: 2022-02-16 15:14:09
tx: https://www.mintscan.io/regen/txs/2095F68A3E1A03DC86B406D411ADDB3747B9626ACD2ABC85AB75789DFF47F380
packet sequence number: 12,015
the packet timeouts are:

toh:1-3238903 (Height on osmosis-1)
tos:Timestamp(2022-02-16T14:23:03.985796846Z)))

Hermes tries to do packet clearing for Height 4,262,699

ts in Hermes logs: 2022-02-16T14:20:06.062326Z
the packet sequence number 12,015 is not found because at Height 4,262,699 this was not yet created
even though the Hermes timestamps indicate the time to be ~14:20:06, in terms of block height Hermes is processing Height 4,262,699 which happened ~15:03:24

2022-02-16T14:20:06.062326Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: packet seq. that still have commitments on regen-1: 12014, 12015 (first 10 shown here; total=2)
2022-02-16T14:20:06.062380Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: recv packets to send out to osmosis-1 of the ones with commitments on regen-1: 12014, 12015 (first 10 shown here; total=2)
2022-02-16T14:20:06.197969Z  INFO ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: found zero unprocessed SendPacket events on source chain, nothing to do
2022-02-16T14:20:09.671314Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:clear{f=true}: done scheduling height=Some(Height { revision: 1, height: 4262699 })

this exaplains why packet s.n. 12,015 was not found on regen-1 & was not cleared at height 4,262,699

Hermes receives on the websocket the event for packet sequence number 12,015

ts in Hermes logs: 2022-02-16T14:29:50.724071Z -- roughly 15 minutes later since the transfer was created
at this point, the packet is timed-out because of timeout timestamp

2022-02-16T14:29:50.724071Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:generate{id=_E9ot9sZ9o}: /ibc.core.channel.v1.MsgTimeout from SendPacketEv(SendPacket - h:1-4262802, seq:12015, path:channel-1/transfer->channel-8/transfer, toh:1-3238903, tos:Timestamp(2022-02-16T14:23:03.985796846Z)))
2022-02-16T14:29:50.724294Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:schedule{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: connection delay is zero: client update message will be prepended later
2022-02-16T14:29:50.724362Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:relay{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: delayed by: 55.001µs [try 1/5]
2022-02-16T14:29:50.724377Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:relay{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: prepending Source client update at height 1-3238060
2022-02-16T14:29:54.980309Z DEBUG ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:relay{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: [osmosis-1 -> regen-1:07-tendermint-1] MsgUpdateAnyClient from trusted height 1-3238038 to target height 1-3238060
2022-02-16T14:29:54.980584Z  INFO ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:relay{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: assembled batch of 2 message(s)
2022-02-16T14:29:54.981334Z DEBUG ThreadId(43) send_tx_check{id=_E9ot9sZ9o}:send_tx{id=regen-1}: max fee, for use in tx simulation: Fee { amount: "20001uregen", gas_limit: 2000000 }
2022-02-16T14:29:54.998892Z DEBUG ThreadId(43) send_tx_check{id=_E9ot9sZ9o}:send_tx{id=regen-1}:estimate_gas: tx simulation successful, gas amount used: 382629
2022-02-16T14:29:54.998974Z DEBUG ThreadId(43) send_tx_check{id=_E9ot9sZ9o}:send_tx{id=regen-1}: send_tx: using 382629 gas, fee Fee { amount: "4209uregen", gas_limit: 420892 } id=regen-1
2022-02-16T14:29:55.005644Z DEBUG ThreadId(43) send_tx_check{id=_E9ot9sZ9o}:send_tx{id=regen-1}: broadcast_tx_sync: Response { code: Ok, data: Data([]), log: Log("[]"), hash: transaction::Hash(9350C7A398D915BB852D1F5E22A23793225453A7323DB7C564DE8232D9E148A7) }
2022-02-16T14:29:55.005763Z  INFO ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:relay{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: [Async~>regen-1] response(s): 1; Ok:9350C7A398D915BB852D1F5E22A23793225453A7323DB7C564DE8232D9E148A7
2022-02-16T14:29:55.005810Z  INFO ThreadId(181) packet_cmd{src_chain=regen-1 src_port=transfer src_channel=channel-1 dst_chain=osmosis-1}:relay{odata=_E9ot9sZ9o ->Source @1-3238059; len=1}: success

Going ahead and closing this optimistically. I would argue that the problem was a delay either on the websocket connectivity or on the full node being left behind.


Adding Submit Feedback form button to events page

The "Submit Feedback" button will automatically become visible after the event ends. Additionally, the register button will be disabled.

Hii @0xPratikPatil .I would love work on this issue.Can you assign me this issue?

hey can you please assign me this @0xPratikPatil

@PAVAN507-STAR @arbazahmed07
That's great to see your willingness, but I have already started working on the issue and just submitted the PR late. Half of my work is already done. If you're interested, you can ask the project admin to work on the dashboard where data will be fetched from Supabase.

Additionally, the register button will be disabled.

its working now in production to need to this add the btn for feedback

@0xPratikPatil sir any updates ?


any way to get grid location of pointer?

would be nice for a point-and-click style movement. currently i'm playing with the mapping from pixel location to grid location but for some reason division by tile size isn't sufficient

sorry i realize what i was doing wrong was using pointer.x/y should have been using pointer.worldX/Y

So I guess this issue can be closed then?