Widgets v2

Currently not ready for merge, but ready for discussion.

[ ] I/We give button
[ ] I/We receive button
[ ] Gulp

[ ] JSHint
[ ] Unit tests (image diff on PNGs)

[ ] Split image generation code into a local lib for unit tests

[ ] v1 build task

[ ] Uglify.js
[ ] HTMLmin

[ ] Reference gratipay-badge, and Shields.io, and other related projects in README.md

IRC

Okay! Next thing we need here is a todo list, ya? IRC

@whit537 Added a todo list, will be checking boxes over the next few days

@rummik, how about splitting this for incremental review? Gulp stuff seems worthy and orthogonal to widget versioning.

Good idea, @techtonik! :-)


WebGL Warning with custom pipeline

Version

Phaser Version: 3.15.1 & 3.16.2

Operating system: Linux (Ubuntu, 18.04)

Browser: Chrome 73

Description

Using a custom pipeline, there is a webgl warning that shows up: WebGL: INVALID_VALUE: disableVertexAttribArray: index out of range. I am using a very simple fragment shader (grayscale) extended off of the TextureTintPipeline, but also found it was happening in the phaser example site for custom pipelines. In my code, I am using phaser 3.16.2, in the examples it is 3.15.1.
Example Test Code

Please see: https://labs.phaser.io/edit.html?src=src\renderer\Custom%20Pipeline.js. Open the chrome dev tools and see the warning messages.
Additional Information

Here is a stack trace:
WebGLPipeline.js:347 WebGL: too many errors, no more errors will be reported to the console for this context.
bind @ WebGLPipeline.js:347
setPipeline @ WebGLRenderer.js:957
batchSprite @ TextureTintPipeline.js:519
SpriteWebGLRenderer @ SpriteWebGLRenderer.js:24
ContainerWebGLRenderer @ ContainerWebGLRenderer.js:83
render @ WebGLRenderer.js:1900
render @ CameraManager.js:606
render @ Systems.js:392
render @ SceneManager.js:584
step @ Game.js:490
step @ TimeStep.js:558
step @ RequestAnimationFrame.js:105
requestAnimationFrame (async)
step @ RequestAnimationFrame.js:107
requestAnimationFrame (async)

Area of issue:
    if (location >= 0) {
        gl.enableVertexAttribArray(location);
        gl.vertexAttribPointer(location, element.size, element.type, element.normalized, vertexSize, element.offset);
    } else {
-->     gl.disableVertexAttribArray(location);
    }

Debugging a bit, it appears that location = -1 when this issue happens. I am not too familiar with the inner-workings of phaser + webgl, so without more context, I can't help too much more at the moment.
It looks like this issue may be similar to the one found here, but not entirely sure (things are not present in the fragment shader that were expected): https://stackoverflow.com/questions/53664857/webgl-invalid-value-vertexattribpointer-index-out-of-range-invalid-value-en/53669308
Let me know if there is any other info I can provide.

This must be GPU / OS specific, as I get no such errors on Windows 10 or macOS in any version of Phaser from 3.15+ (testing on Chrome Canary 76)

no error found on the example site.
imo usually this API will be used when switch between shaders because you have to 'clear' stuffs of the previous shader.
actually I'm using some customized pipeline and no error found.

Closing this issue off as it's been a few months now, with several releases since, and cannot be reproduced using the provided example on any current version.


Deprecated input fields get removed from the schema.json

Describe the bug
Retrieving the schema with the plugin removes all input fields that are deprecated.
Is there any way to keep the deprecated input fields in schema.json?
To Reproduce

Fetch a schema with deprecated input fields using the plugin with a .graphqlconfig looking like this :

{
  "name": "Random Schema",
  "schemaPath": "schema.json",
  "extensions": {
    "endpoints": {
      "Default Endpoint": {
        "url": "https://random.graphql.cloud/graphql",
        "headers": {
          "user-agent": "JS GraphQL",
        },
        "introspect": false
      }
    }
  }
}

All the input fields that got marked as deprecated are removed from the schema.json

Expected behavior
Deprecated input fields should still be included in schema.json
Version and Environment Details
Operation system: macOS Monterey 12.6
IDE name and version: Android Studio Flamingo Canary 6
Plugin version: 3.3.0

@annaarroyo it's usually around mid-November.


How to escape curly brace in arb file?

I'm trying to escape the word {test} in the .arb file.
// dart file
Intl.message(
        "{test}",
        name: "flutter_test",
        args: []);

//1. intl_en.arb
{
"flutter_test": "{test}",
  "@flutter_test": {
    "type": "text",
    "placeholders": {},
    "source_text": "{test}"
  },
"@@locale": "en"
}

Gives the error:
Unhandled exception:
Invalid argument(s)
#0      List.[] (dart:core-patch/growable_array.dart:145:60)

//2. intl_en.arb
{
  "flutter_test": "\{test\}",
  "@flutter_test": {
    "type": "text",
    "placeholders": {},
    "source_text": "\{test\}"
  },
"@@locale": "en"
}

Gives the error:
Unhandled exception:
FormatException: Unrecognized string escape (at line 2, character 22)
  "flutter_test": "\{test\}",
                     ^

#0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1392:5)

//3. intl_en.arb
{
  "flutter_test": "\\{test\\}",
  "@flutter_test": {
    "type": "text",
    "placeholders": {},
    "source_text": "\\{test\\}"
  },
"@@locale": "nl"
}

Does not give a error, but shows the result \{test\}. ([slash][curly-brace]test[slash][curly-brace])
How to do a proper escape of a curly brace?

major issue when using with package https://pub.dev/packages/flutter_background_geolocation for android 11 you are required to provide a localized string like this:  "Allow {applicationName}  to access to this device's location in the background?" where application name does not have to be a placeholder.


Add Server::respond

This adds Server::respond, replacing most of the functionality provided by the http-service trait. This allows passing arbitrary requests into the server, and always get responses back out. The goal is that we remove the http-service functionality in a future PR entirely, and replace it with this method instead.
What this enables us to do is to construct requests using Surf, and then pass them into Tide without a problem:
let mut app = tide::new();
app.at("/").get(|_| async move { Ok("hello world") });

let req = surf::get("https://business.soup");
let res: surf::Response = app.respond(req).await?;

assert_eq!(res.status(), 200);

Screenshots

Tests are failing locally. Closing in favor of #503


Undefined diner types should show in formula dropdown

Originally created by Tom Smyth at 2018-11-26 13:25, migrated from redmine-#9137

Status changed from New to Closed

By Tom Smyth at 2018-11-26 18:56


Continuous integration using AppVeyor on Windows and Travis on Linux

A while ago we were talking about getting automated builds set up, so here's one for Windows!
It's using AppVeyor (http://www.appveyor.com/) to build on Windows, with VS2013 and VS2015 CTP 6, in Release and Debug configs. I've included premake5 in the repository (I personally like having the build tool versioned, just shout if that's not your style). The script downloads and extracts SDL, and uses premake to build the VS projects.
I had to use premake 5 as I haven't been able to get AppVeyor to build with anything before VS2013, which premake 4 doesn't support.
I've also added a little status badge to the readme, above the Bitdeli badge.
You can see it in action here:
https://ci.appveyor.com/project/hymerman/recastnavigation
After merging this, you'll have to do a few things that I can't do:

Sign up for AppVeyor (just log in with GitHub)
Add recastnavigation as a project (just click 'new project', 'github', then select from your projects)
Change the badge in the readme to point to your appveyor project instead of mine - in appveyor go to settings -> badges and find the ID embedded in any of them, just replace my id with yours

Future work:

Extend this to build x64 and x86 configs after they've been added to the premake file
Figure out how to do pull request hooks to tell you at a glance if pull requests pass the build
Simple automated tests with UnitTest++ (or some other if you prefer)
All of this on Linux with Travis CI

Oh, the badge change will also need you to change 'hymerman' to 'memononen' in the link, clearly!

Just added binaries for Linux and Mac premake5 and updated documentation.

On the subject of pull request hooks: looks like that's something entirely managed by the integration, so Travis already does it (and will start adding notes to PRs), and AppVeyor might do it too, not sure.

I've added a Travis CI config which seems to be working (hard to tell since Travis is having some weird issues right now). See it in action here: https://travis-ci.org/hymerman/recastnavigation
You'll need to:

Sign up for Travis (I think you can use your GitHub account again)
Tell it to build recastnavigation
In the project settings, turn the three options on (build pushes, build pull requests, only build if .travis.yml is present)

... and again you'll want to change the badge URL in README.md to point to yours, not mine, though this time it's just names and no ids so it's easier.
Note that building with clang is disabled since there seems to be some issue with fast fp math (see the errors here: https://travis-ci.org/hymerman/recastnavigation/jobs/56234581 and this bug: https://llvm.org/bugs/show_bug.cgi?id=13745).
This is a separate issue, but is fast fp math really required? I've found it to be more trouble that it's worth on other projects, and was using Recast/Detour without it for Alien: Isolation.

I'll wait until this is merged before starting on unit testing and x64 builds to avoid having to stick it all in one massive pull request :)

While extremely convenient to have, I'm not sure we should have the premake binaries included in the project.  It bloats the repo size, (git doesn't deal with binary files well) but more importantly, it's a source for confusion.  I currently have premake installed in "/usr/local/bin" and having it in the project might confuse users with a similar setup into thinking it's some recast-customized version that they should use.  Instructions on installing premake have been in the readme for a long time, and people seem okay with having to install it themselves.
Regarding CI, it's possible that Travis and Apveyor already have premake installed, though we can have the scripts download is as part of a build step if that's not the case.

Yeah, I'm in two minds about this kind of thing. I do it in my own projects with small tools to make CI iteration time faster for small builds.
In fairness, it's less than 400KB (I've seen bigger source files!). Also at the time I wrote this, I upgraded to premake5 to allow building of VS2013 and VS2015 projects, and the premake project had only just added their first built release to github, so I wasn't sure if downloading it in the build script would be a good idea since it was still in flux.
But anyway, that's all ancient history! Travis doesn't have premake installed (https://docs.travis-ci.com/user/ci-environment/). Perhaps now it would be a good idea for the build script to download the latest release from https://github.com/premake/premake-core/releases? I'll give this a try and update the PR later.
Or... CMake seems to be more popular these days - maybe it's worth considering using it instead of premake?

I too would suggest avoid committing build tools into the project.
@hymerman I like your idea of downloading build dependencies (i.e. premake binary) dynamically as part of the build.

Mmm I think I just don't like it out of principle. :stuck_out_tongue_winking_eye:  I'm really not too familiar with CMake - I've used it, but never really tried to set it up for my own project before.  I think just doing a wget for the premake binary is fine until there's a more compelling reason to spend more effort on it.
For the record, I'm not against switching to cmake if it makes things easier.  Cmake is also a bit more pervasive, so it's possible that people are more familiar and comfortable using it?  Other than that I don't really know of any enormous benefits one way or the other.

Closing; superseded by #131


User management administrator can adds, removes, and updates license assignments for users, groups as same as License administrator.

The User management administrator can adds, removes, and updates license assignments for users, groups as same as the License administrator in addition to resets passwords, monitors service health, adds and deletes user accounts, manages support tickets, adds and removes members from Office 365 groups. Please consider to add this behavior on this document.

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

ID: 1b4e45a4-3d00-c650-c40f-3a10b457cf46
Version Independent ID: fefa373f-f380-8988-e58a-73e9255134bb
Content: About Office 365 admin roles
Content Source: Office365-Admin/add-users/about-admin-roles.md
Service: o365-administration
GitHub Login: @dianef77
Microsoft Alias: dianef

@M365SupportJapan Thank you for this feedback
I will get this suggestion and information over to the o365ITPro team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@sonika24 Could you please investigate this issue?

@M365SupportJapan - From my understanding the issue has been resolved. If the issue is not resolved please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@AndreaBarr - This issue can be closed. Thank you.

Thanks Andrea.
What I wanted to ask to add a description was User management admin have the ability to add, remove, update license assignments for users and groups which is for license admin or GA/CA. Would you please review this again?

@Jcoetsee - Please assist to review and make the necessary changes on this. Thank you.

@dianef77 - we need your insights on the request to add more information specific to the description of the User management admin as indicated on the above comment. Can we add this description to the article?

@dianef77 - I would like to follow up on this and get your insights on the request to add more information specific to the description of the User management admin as indicated on the above comment. Can we add this description to the article?

Yes, that's fine.  Just please ensure it's in grammatically correct English.  Thanks.

@dianef77 - thanks for your response. @Jcoetsee - Please create a PR for the change and please ensure it's in grammatically correct English. Thank you.

@M365SupportJapan - the content has been updated to add the description that you requested for. Kindly check and let us know if your issue has been resolved. Thanks.

Hi Team,
Confirmed that my requested information was added on the article.
Thank you all for taking care of my feedback!
Thank you!
From: Joyce Y<EMAIL_ADDRESS>Sent: Thursday, February 21, 2019 4:15 AM
To: MicrosoftDocs/OfficeDocs-O365ITPro<EMAIL_ADDRESS>Cc: Mizuho Takahashi<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-O365ITPro] User management administrator can adds, removes, and updates license assignments for users, groups as same as License administrator. (#94)
@M365SupportJapanhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FM365SupportJapan&data=02|01|mizuhot%40microsoft.com|962a64e5c0d24cd134f708d69767b5ab|72f988bf86f141af91ab2d7cd011db47|1|0|636862869020110339&sdata=y3YD4JIycMj5pg4a4pA463pA1ECVG4MD%2BqzXMYR63vk%3D&reserved=0 - the content has been updated to add the description that you requested for. Kindly check and let us know if your issue has been resolved. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-O365ITPro%2Fissues%2F94%23issuecomment-465715548&data=02|01|mizuhot%40microsoft.com|962a64e5c0d24cd134f708d69767b5ab|72f988bf86f141af91ab2d7cd011db47|1|0|636862869020120334&sdata=VbbD89A04nw88VYEBkzrHy78wEvyT0TJpYLpXQhuH3M%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAomaf9mWcZgnq-NRLOSQqngw-tVka8_5ks5vPZ6zgaJpZM4Y10zs&data=02|01|mizuhot%40microsoft.com|962a64e5c0d24cd134f708d69767b5ab|72f988bf86f141af91ab2d7cd011db47|1|0|636862869020120334&sdata=TbNRDP4EfRPycBKQj4iP9ublMqGQfabA2Pja0qjlrRw%3D&reserved=0.


Tree overlapped

Hello
I'm trying to use a backup tool using jstree in an old version and when I deploy more than 2 levels, the tree is overlapping itself with other entry ....
as a pics is better than an explanation...

could you please help me?
Many thx

Maybe you do not have a doctype? jsTree works properly only in standards mode. Btw, I have not seen this bug in quite a long time - is this jstree v.1 or v.3?
If the doctype is not the reason I will reopen the issue (provided it is about v.3).
Best regards,
Ivan


Error when trying to download

Version
1.8.1
Details
I am trying to download a video but it gives me this error

Steps to reproduce
Try to download this video , https://www.youtube.com/watch?v=QJx4CABC7oE

Maybe related to https://github.com/Tyrrrz/YoutubeExplode/issues/542

New update fixed the issue , it was about the video being hdr .


Cache problem.

First of all, thank you for EmojiPickerElement!
Next, I'd like to share a little problem with you, I have two pages, one page with an messaging system that uses emojiPickerElement with all emojis.
And I have a page with posts, on which you can react to posts with only about ten emojis.
What I do is I initialize the database and then EmojiPickerElement by giving them a JSON in dataSource with only the emojis I want and with the 'click' event I record the user's reaction on the post.
But here's the problem, if the user has been on the messaging page before going to the posts page, because of the cache, all the emojis are displayed and not only the ones from the dataSource (you have to reload the page so that the dataSource is taken into account instead of the cache).  What can I do?

That's an interesting use case. There are a few ways you can solve this.
The main thing to know is that emoji-picker-element is designed to be offline-first, so the idea is that when something is written to the cache, the cache becomes the "source of truth." So typically, if you have one page that uses emoji-picker-element/database and another page that uses emoji-picker-element/picker, you would ideally want to have exactly the same dataSource for both pages. So when the user visits page A, then page B, page B already has everything cached.
If you're using different dataSources on different pages, then it could definitely get out of sync. Inside the cache, it uses the URL and the eTag to decide whether or not the content has changed. So I guess depending on how you're serving that URL and what Cache-Control headers you're using, it may require a reload to update.
Right now the only solution I can think of is to use a different locale for each page. This is a bit of a hack, because the locale is designed for things like English versus French, etc. But if you change the locale, you change the cache location, so effectively you would have two caches. In other words, you could use the regular "en" locale for the page with all the emojis, and a fake "en-subset" locale for the page with the subset.
Another potential solution would be for emoji-picker-element to actually allow you to filter the emojis yourself in the picker. Before I add such functionality, though, I'm curious to know more about what your use case is? Why filter the emojis only in the picker, but not on the other page?

Thank's a lot, change of locale works perfectly.
On the messaging page I want users to be able to choose any available emojis (with skin tones). But on the posts and user comments, I want them to be able to react with only a pre-defined selection of emojis.
My implementation:
EmojiPickerElement Messaging
EmojiPickerElement React


rest noob question: how do i have an endpoint return an image?

i have seen apis that have endpoints that return pictures before, and i'd like to do this.
i'm sure this is straightforward (setting Content-Type is what i'm seeing online), but i'm stumbling around a bit.
i'd be happy to contribute a PR as an example if anyone would find that useful

wow the answer is exactly as I would have assumed. I love Oxygen.jl, it just works!
@get "/plot" function (req)
    plt = plot(1:10, rand(10))
    io = IOBuffer()
    png(plt, io)
    HTTP.Response(200, ["Content-Type"=>"image/png"]; body=take!(io))
end

Hey @anandijain, thanks for the kind words!
You've been with this project since day one, so I'm glad it's still helping you solve problems. Now regarding your solution, that's probably the clearest & most performant way you could write your endpoint - but there is another way you could write it. Inside the default serializer I use HTTP.sniff on the body of each request to automatically detect the correct mimetype and set the headers in the response.
Here's another way you could write that function:
@get "/plot" function (req)
    plt = plot(1:10, rand(10))
    io = IOBuffer()
    png(plt, io)
    take!(io) # if this part fails then try returning this instead: String(take!(io))
end


Object deleting does not work

When deleting object, the page hangs saying something about too much recursion. The object is deleted on background though.

Fixed by 0908e8c5c5

Fixed by 0908e8c5c5.


Setup a server to export k6 metrics to sysdig

To Do:

[x] setup basic server in openshift
[ ] verify sysdig picks up metrics
[ ] verify metrics are idempotent (ie if the pod restarts it doesn't duplicate metrics in sysdig)
[ ] convert k6 json metrics to usable prom metrics

Update:
I've got the sandbox 125 instance up now with the pvc needed. please note that you'll need to initiate brand new instances with a job in the future, see here for details: https://github.com/bcgov/ocp-sso/blob/master/openshift/README.md#sso-instance-initialization
Also I've updated the scripts to setup k6 (details in k6 readme) if you need them for new sbox setup in the future.

hit a major blocker here. I can't seem to get sysdig to scrape these metrics sad crying face

@patricksimonian Do you want to keep this open?


Refactored OLS method

@ljchang I can't get your SRM tests to pass locally, not sure how you did that. Also I think we should use tox to easily test on python 2 and 3.   I added tox, but can't get it to work right with conda on my system.  Not sure why your tests aren't passing.  they work on my system and travis.  Want to give more specific error messages?

It looks like your srm tests are failing with the different MNI template.  The number of voxels changes, which screws up the number of features used in the tests.

Coverage increased (+0.3%) to 62.703% when pulling c3232a4c3b26954f914067613e1cf994aae9a2db on ejolly:master into e43f2fc147552c737e20993150a29550b8c2de2b on ljchang:master.

Coverage increased (+0.3%) to 62.703% when pulling c3232a4c3b26954f914067613e1cf994aae9a2db on ejolly:master into e43f2fc147552c737e20993150a29550b8c2de2b on ljchang:master.


calico with eBPF dataplane block keepalived multicast packets

We using vanilla kubernetes v1.20.4 with Calico v3.19.1 and keepalived as floating ip for cluster endpoint (kube-api) on vSphere virtual machine.
When we enable eBPF dataplane in calico, keeplaived switches to split-brain mode (each masters has virtual ip for cluster endpoint, in normal mode, virtual ip is present only on one master node). Keepalived is configered to use  multicast packets for communication between master nodes.
Expected Behavior

Normal work keeplaived with eBPF Calico.
Current Behavior

Keepalived correct work only in unicast mode
Possible Solution

Steps to Reproduce (for bugs)

kubernetes v1.20.4, calico v3.19.1 with eBPF dataplane
keeplaived on master nodes in multicast mode

Context

Each node has one network interface ens192.  On normal mode virtual ip (<IP_ADDRESS>) only on one master node.
mst03
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:b9:1c:8e brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global noprefixroute ens192
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global ens192
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:feb9:1c8e/64 scope link
       valid_lft forever preferred_lft forever

In split-brain mode: virtual ip (<IP_ADDRESS>) present on each master nodes.
keepalived config
global_defs {
   router_id LVS_DEVEL
}
vrrp_script check_apiserver {
   script "/etc/keepalived/check_apiserver.sh"
   interval 3
   weight -2
   fall 10
   rise 2
}
vrrp_instance VI_1 {
    state MASTER
    interface ens192
   mcast_src_ip <IP_ADDRESS>
    virtual_router_id 111
    priority 120
    advert_int 1
    authentication {
        auth_type PASS
        auth_pass h7ESMEFDuQjGuroBj2ZMzO3rZicJOdHJ
    }
    virtual_ipaddress {
        <IP_ADDRESS>
    }
    track_script {
       check_apiserver
    }
}

Calico Felix configuration
apiVersion: crd.projectcalico.org/v1
kind: FelixConfiguration
spec:
  bpfEnabled: true
  bpfExternalServiceMode: Tunnel
  bpfLogLevel: ""
  logSeverityScreen: Info
  reportingInterval: 0s
  vxlanEnabled: true

Your Environment

Calico version  v3.19.1
Orchestrator version (e.g. kubernetes, mesos, rkt):  kubernetes v1.20.4
Operating System and version: Oracle Linux 7, kernel  5.4.17-2102.202.5.el7uek.x86_64

@cdtomkins for keepalived config

@tomastigera @caseydavenport I built a lab to test the keepalived config and also to confirm the MACs/IPs.
Here are the findings:

The keepalived.conf works fine as described by @xander-sh (though I removed the check_apiserver functionality)
The resulting MAC for the virtual IP is the real IP of the current master node. This is not related to the issue but @xander-sh you might want to tweak your config to use a virtual MAC as well as a virtual IP as adjacent boxes (particularly firewalls) sometimes get upset about the apparent MAC-hijacking
The VRRP keepalives (that are probably being blocked and causing the split brain) are destined for 01:00:5e:00:00:12 and <IP_ADDRESS>.

chris @ chris-work ~
└─515─▶ arp -a | grep -i 10.230
? (<IP_ADDRESS>) at 52:54:00:42:98:74 [ether] on mpqemubr0
? (<IP_ADDRESS>) at 52:54:00:75:27:5f [ether] on mpqemubr0
? (<IP_ADDRESS>) at 52:54:00:75:27:5f [ether] on mpqemubr0

vrrptest2_capture.pcap.txt
vrrptest1_capture.pcap.txt

Let me know if there's anything else you need @tomastigera


Custom GATT service with u64 characteristic causes the application to stuck/crash in build-release mode

I have a pretty basic application (peripheral only) which has a GATT server containing a BAS, DeviceInfo and a custom service.
The custom service is defined as follows:
#[nrf_softdevice::gatt_service(uuid = "my-service-uuid")]
pub struct CustomService {
    #[characteristic(
        uuid = "my-char1-uuid",
        security = "justworks",
        read,
        write
    )]
    u64_value: u64,

    #[characteristic(
        uuid = "my-char2-uuid",
        security = "justworks",
        read,
        notify
    )]
    data: heapless::Vec<u8, 17>,

    #[characteristic(
        uuid = "my-char3-uuid",
        security = "justworks",
        write
    )]
    u8_value: u8,
}

My GATT server runs in a dedicated task as follow:
#[embassy_executor::task]
async fn gatt_server_task(connection: Connection, server: &'static Server) {
    let handle = connection.handle();
    let e = gatt_server::run(&connection, server, |evt| match evt {
        ServerEvent::DeviceInfo(_) => { /* Read-only service */ }
        ServerEvent::Bas(bas_evt) => { /* do something */,
        ServerEvent::CustomService(custom_service_event) => {
            match custom_service_event {
                CustomServiceEvent::U64ValueWrite(val) => {
                    // WARNING! Accessing val here stalls the application in release mode!
                    info!("Got new u64 value {}", val);
                },
                _ => { /* ... */ }
            }
        }
    })
    .await;

In debug-mode, the code performs as expected.
When I build and run my code in release mode though, everything runs as expected until the point in which I access the GATT value in the OnWrite event: info!("Got new u64 value {}", val);
As soon as the BLE client writes the u64_value characteristic, the whole MCU stalls and nothing runs anymore.
A reset is required to recover from that state.
If I do not access the val at all (log message commented out) in the event (just a debugging step, not really a valuable workaround), the MCU doesn't stuck anymore.
My build-release configuration is as follow:
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false
incremental = false
lto = "fat"
opt-level = 's'
overflow-checks = false

I have been able to work around this issue with the usage of a heapless::Vec<u8, 8> instead of a u64, and a manual (de-)serialization of the byte array into/from a u64 value.
Can someone explain this behaviour or has ideas on how further debug this?

As soon as the BLE client writes the u64_value characteristic, the whole MCU stalls and nothing runs anymore.

What are you using for logging? If you're using something other than defmt-rttt + a debug probe, it might be a panic that you don't get to see.

As soon as the BLE client writes the u64_value characteristic, the whole MCU stalls and nothing runs anymore.

What are you using for logging? If you're using something other than defmt-rttt + a debug probe, it might be a panic that you don't get to see.

I'm using defmt-rtt = "0.4.0" and probe-rs  with a non-JLINK probe (=> AK-CMSIS-DAP JTAG/SWD).
If I let the code panic! I can see the panic message from the probe, in this case though there is no message pushed out and actually even some of the older log messages that should be there are not pushed out. I just added a couple of info!("test"); before the access of the incriminated variable, and non of them is arriving on the terminal.
I guess that these string are still in some cache of the RTT module...

Then it's not a panic indeed. Strange.
Can you run probe-rs with --always-print-stacktrace, then kill it with control+c when it hangs, and paste the stacktrace? ideally without --release so the stacktrace is better, hopefully it still reprodues in that case.
If the stacktrace points to WFE in the executor it's an async hang, I guess you'd need to add prints inside the nrf-softdevice code to figure out where the hang is...

Then it's not a panic indeed. Strange.
Can you run probe-rs with --always-print-stacktrace, then kill it with control+c when it hangs, and paste the stacktrace? ideally without --release so the stacktrace is better, hopefully it still reprodues in that case.
If the stacktrace points to WFE in the executor it's an async hang, I guess you'd need to add prints inside the nrf-softdevice code to figure out where the hang is...

Thanks for your suggestion, I'll give it a try and come back with the stack trace.
Unfortunately, the issue happens only in release mode :'(

The implementation of FixedGattValue::from_gatt for Primitive looks sus to me. If data is unaligned, I think you could have UB. It should probably be using core::ptr::read_unaligned instead.

I added --always-print-stacktrace as suggested.
The stack trace shows that @alexmoon you are on the right spot!
Frame 0: __cortex_m_rt_HardFault @ 0x0002b692 inline
       src/main.rs:60:5
Frame 1: __cortex_m_rt_HardFault_trampoline @ 0x000000000002b692
       src/main.rs:58:1
Frame 2: "HardFault handler. Cause: Escalated UsageFault (Unaligned access)." @ 0x0002b692
Frame 3: from_gatt<u64> @ 0x00025b44 inline
       .cargo\registry\src\index.crates.io-6f17d22bba15001f\nrf-softdevice-0.1.0\src\ble/gatt_traits.rs:69:18
Frame 4: from_gatt<u64> @ 0x0000000000025b40
       .cargo\registry\src\index.crates.io-6f17d22bba15001f\nrf-softdevice-0.1.0\src\ble/gatt_traits.rs:42:9
Frame 5: on_write @ 0x0001ce5a inline

So I compared the --release build with a normal build with the following code in place:
    fn from_gatt(data: &[u8]) -> Self {
        if data.len() != Self::SIZE {
            panic!("Bad len")
        }
        let data_raw : *const u8 = data.as_ptr();
        if ((data_raw as usize) % 4) != 0 {
            panic!("NOT ALIGNED");
        }
        unsafe { *(data.as_ptr() as *const Self) }
    }

To my somewhat surprise, in both cases the code panic :/
Maybe my check doesn't do what I assumes it does after all!?
Never the less, following @alexmoon 's suggestion, I modified the to_gatt implementation as follow:
    fn from_gatt(data: &[u8]) -> Self {
        if data.len() != Self::SIZE {
            panic!("Bad len")
        }
        let ptr = data.as_ptr() as *const Self;
        unsafe { ptr.read_unaligned() }
    }

aaaand the code didn't stuck anymore 🥳 !


Finish Tools Module

The tools module needs to be finished.

[ ] ftp

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] mpi

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] logit

[ ] test written?
[x] readme written?
[x] class/function written?
[ ] integrate with package :person_with_blond_hair:

[ ] mygene

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] slackify

[ ] test written?
[x] readme written?
[x] class/function written?
[ ] integrate with package :person_with_blond_hair:

[ ] pandoc

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] parallel

[ ] test written?
[ ] readme written?
[x] class/function written?

[ ] pybasher

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] qsub

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] send2server

[ ] test written?
[ ] readme written?
[ ] class/function written?

[ ] utils

[ ] test written?
[ ] readme written?
[x] class/function written?

[ ] zipper

[ ] test written?
[ ] readme written?
[ ] class/function written?

https://github.com/datasnakes/Datasnakes-Scripts/issues/88 Will address the Logit/Slackify stuff.

:person_with_blond_hair: After integrating the Logit/Slackify stuff at #88, I will work on some of these tools as well.  Which ones are you currently working on @sdhutchins?

I haven't touched mpi (so I could use some help there), but that'd be great to put under parallel if possible.
Currently, I'm retooling ftp and qsub.
MyGene needs light touching up. That's the same for send2server and zipper. I'm also writing tests for those classes.

Pretty cool FTP idea using JSON files:. https://github.com/Bohdan-Khomtchouk/PubData

@grabear Just took some stuff from there! lol

I'm going to work on SGE soon.


Package 'rc_genicam_driver' not found

Hello, i can run all rc_genicam_api fuction and can also detect thee device, but when i run the ros2 test line i get an error(complet terminal output below). Do you know what is wrong and how i can fix it ?
niklas@niklas-desktop:~$ gc_config -l
Available GigE Vision devices:
eth0:02940786 (rc_visard 160m, devicemodul00_14_2d_2c_df_72)
niklas@niklas-desktop:~$ gc_info -l
Transport Layer /usr/lib/aarch64-linux-gnu/rc_genicam_api/libbgapi2_gige.cti_2.9.22968.22969
Vendor:         Baumer
Model:          bgapi2_gige
Vendor version: 2.9.22968.22969
TL type:        GEV
Name:           libbgapi2_gige.cti
Pathname:       /usr/lib/aarch64-linux-gnu/rc_genicam_api/libbgapi2_gige.cti
Display name:   Baumer GEV TL
GenTL version   1.5
Interface     eth0
Display name: eth0
TL type:      GEV

    Device             devicemodul00_14_2d_2c_df_72
    Vendor:            Roboception GmbH
    Model:             rc_visard 160m
    TL type:           GEV
    Display name:      rc_visard 160m
    User defined name:
    Access status:     ReadWrite
    Serial number:     02940786
    Version:
    TS Frequency:      0

Interface     wlan0
Display name: wlan0
TL type:      GEV

Transport Layer /usr/lib/aarch64-linux-gnu/rc_genicam_api/libbgapi2_usb.cti_2.9.22669.22969
Vendor:         Baumer
Model:          bgapi2_usb
Vendor version: 2.9.22669.22969
TL type:        U3V
Name:           libbgapi2_usb.cti
Pathname:       /usr/lib/aarch64-linux-gnu/rc_genicam_api/libbgapi2_usb.cti
Display name:   Baumer U3V TL
GenTL version   1.5
Interface     USB
Display name: USB HOST
TL type:      U3V

niklas@niklas-desktop:~$ ros2 run rc_genicam_driver rc_genicam_driver --ros-args -p "device:=:02940786"
Package 'rc_genicam_driver' not found

ROS 2 is complaining that the package 'rc_genicam_driver', i.e. the ROS2 driver node is not found. It has nothing to do with the rc_genicam_api package that is used by the driver. Did you install (or build) the rc_genicam_driver package?

How do I install  'rc_genicam_driver' for Ros2? I only found the one for ros and that one is to old.

[ERROR] [1700491509.691750597] [genicam_driver]: Device version must be 20.04 or higher: 1.8.4
That is the Error


Lyft host certificate lambda Fork

This is code patched on top of master to enable our host ssh to work.  We still need to modernize the host bless client and the patches I've applied to try and fit into master and allow merging from netflix/bless master more cleanly.
Some very simple test cases added to just give us some coverage

@skiptomyliu I'm not going to merge this, but please do take a look.

🔒

ptal @skiptomyliu @surbhishah

I took a pass and went through comparisons of the old branch and now new.  Looks good.


Add a distributed cache to load data

Motivation
Currently, all the data of session/task are transferred through flame-session-manager which impact the throughput and performance of flame; and it can not load big dataset in the system.
Function Specification
Build a distributed cache in flame
Solutions
Build a distributed cache in flame
Additional context
N/A

Let's leverage external cache firstly, e.g. memcached, redis. If necessary, let's re-consider this feature.


Can't login on Netflix plugin - Incorrect password with NFAuth

Netflix add-on version
1.19.0 custom esn (in common versions get MSLError User authentication data does not match entity)
Operative systems used
Android
Kodi version used
Kodi 19 (Matrix)
Description of the bug
I have password error but i use authkey. A week ago all was fine.
You  sad that netflix use old api https://github.com/CastagnaIT/plugin.video.netflix/issues/1425#issuecomment-1272537120 but I try install old matrix 1.8.10, then basic 1.19.0 and 1.19.1 - all have MSLError User authentication data does not match entity identity (as in new API).
This error was fixed with custom version 1.19.0 https://github.com/CastagnaIT/plugin.video.netflix/issues/1448#issuecomment-1271377824 but now i have error with password with it :(
P.s. no issues when login web version on pc
Steps to reproduce the behavior
Try to play videos. Then login error - new login - plugin says i login, but then auth error :(. screen below
Debug log - mandatory
https://paste.kodi.tv/uwucabilob.kodi
Possible fix
Maybe i have to install kodi 18 only for addon version 1.18... But i can't understand why 1.19 version is not working too on kodi 19.4...
Additional context
No response
Screenshots

sorry, on last release (not esn modificate) works this https://github.com/CastagnaIT/plugin.video.netflix/issues/1448#issuecomment-1272536256


Feature request: keyboard navigation for the "VIM - ATTENTION" dialog

Summary
I mostly love how MacVim integrates vim into the macOS environment, but one rough edge is how I can't interact with the "VIM - ATTENTION // Swap file "ABC.swp" already exists!" dialog using the keyboard. The request is pretty general: I just want some way to make a choice in the dialog without using the mouse.
Options I can think of:

Make it a native macOS dialog so that I can use  to highlight one of the buttons, then press  to press it.
Provide custom shortcuts similar to the ones vim uses ("[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort")
Don't use a macOS dialog at all; just make it work like Vim does, with the focus staying inside the main window, waiting for a key press.

I personally have a slight preference for #3 (it's vim, after all) but any way to make a choice without using the mouse with make me happy.
How to reproduce:

Open any file in MacVim
Open the same file again, using MacVim.app/Contents/bin/mvim

Alternate reproduction steps:

Open any file in MacVim
Open a new window in MacVim with ⌘N
Edit the same file from step 1 in this new window, e.g. by using the :e ex command.

Expected:

MacVim.app opens a new window with "E235: ATTENTION // Found a sway file by the name ..." warning, and a set of choices "Open Read-Only", "Edit anyway", "Recover", "Quit", "Abort"
MacVim.app allows the user to  choose one of these options with the keyboard.

Actual:

Happens as expected
There is no way to choose an option with the keyboard; the mouse must be used.

Workaround
Don't use the MacVim.app/Contents/bin/mvim script. Instead, open files in MacVim by using open -a MacVim.

You mean this dialog box right?

The dialog box is technically navigable using the keyboard:

Because it's a macOS dialog box, it follows standard macOS conventions. The big blue button (in this case "Open Read-Only") is used when you hit Return. You can also use Tab to toggle which button you want and then use Space to select it (you see a blue outline), but you need to have enabled "Keyboard → Keyboard navigation" in System Settings. (See :h macvim-dialogs, but the docs is slightly outdated by suggesting you toggle "Full keyboard access" instead)
a. Also, the "Don't Save" button in other dialog boxes can be accessed by doing Cmd-Delete or Cmd-D (this is common in macOS apps).
Each key is bound to a shortcut key. E.g. "Edit anyway" can be accessed via "E" key. On Windows, there would be an underline on the "E" but macOS makes it kind of difficult to show the shortcut key associated with a button, annoyingly, so you just have to know which key is associated with a button which is not ideal.

For (2) I have been experimenting with different options to show the key associated with a button, either by manually displaying it as "(E)dit anyway", or find some other ways to show it. I'm still debating different options (since they also need to work with localized texts).

Don't use a macOS dialog at all; just make it work like Vim does, with the focus staying inside the main window, waiting for a key press.

There is already an option to do that: set guioption+=c.

Hah, thanks so much @ychin, apologies for wasting your time!

System Settings full keyboard access: yes, this worked. (I had this on previously, but somehow it got switched off. Should have confirmed before filing a feature request. Oops!)

Each key is bound to a shortcut key: yes, this worked also. I really thought I had tried doing exactly this right before I filed the feature request, but I must have tried with the ⌘ key or something. I do think there's a discoverability problem with this feature, but it sounds like you're aware of and working on that. I think the difficulty comes from the fact that it's a native macOS dialog, but it's behaving in a vim-like but un-Mac-like way. You could make it look more like a menu: left-justified names, with right-justified keyboard shortcuts?
 Open Read-Only            ⏎
 Edit anyway              ⌘E
 Recover                  ⌘R
 Quit                     ⌘Q
 Abort                    ⌘A

This one is my preferred option, and I'm going to use this going forward. I like how it doesn't mix Vim and macOS metaphors, so it feels natural and easy to understand. One correction: there's a typo in your message (guioptions not guioption). Here's what I'm putting in my ~/.vimrc in case others find this issue and want to use it:
 if has('gui_running')
     set guioptions+=c
 else

Thanks so much for your response, and again my apologies, since this is all there and documented!

You could make it look more like a menu: left-justified names, with right-justified keyboard shortcuts?

It's not that easy to do because it would look quite weird on a button. macOS just doesn't give you a good spot to show the "key equivalent" (which is their technical term for the shortcut key) on a button. On the menu it just shows it on the right like you suggested though (e.g. Edit->Copy menu shows "⌘C" on the right). But I'll think about how to surface it more.

    ```
     if has('gui_running')
         set guioptions+=c
     else
    ```

I think it's better to do has('gui') if you want this applied for all GUIs (e.g. GVim on Windows) or has('gui_macvim') if only for MacVim.
Reason this is better than has('gui_running') is that sometimes you could launch MacVim GUI from terminal by running the :gui command. If you do this, your guioptions wouldn't be set correctly because "gui_running" will be 0 when Vim first parsed the config files.


This version still has a leak.

Just wanted to let you know that the version of the code you have still has a bit of a leak. For more info, please see https://github.com/danfuzz/lactoserv/pull/173.

Thanks for the heads-up, sorry for not addressing this earlier. I have no test case for this; it would be nice if you confirmed #2 makes sense.

I have no test case for this

This issue is a near-perfect poster child for the debate about whether or not it's worth it to have full test coverage.
Will look in a sec…


Comparision to the Scheme standards

This is a cool project! Reading through the README and documentation, this calls itself a Scheme in the vein of Racket but doesn't mention how compatible it is with R5RS/R6RS/R7RS. I would assume it's not compatible, given the Racket inspiration - but it would be nice to have a comparison! Is Steel close to a superset of any of the standards?
(feel free to close this if not desired)

Thanks for taking an interest!
I haven't taken a stance that I will be 100% compatible through and through, however the goal is to be mostly compatible with r5rs, and eventually r7rs. If not completely compatible by default, I'd like to provide libraries that enable full compatibility. Every so often I work on porting code from https://github.com/ecraven/r7rs-benchmarks and that helps figure out where steel is at.
Its a good idea to have the compliance monitored somehow - I can probably set up the test suite to report something to the readme (just provide a dump of the results, or something). As of right now you can see the status within cogs/r5rs.scm and cogs/r7rs.scm - the r7rs one is not yet complete, but the r5rs one has a test suite ported from chibi scheme.
The results for r5rs:
Passed:  245
Skipped compilation (expected failure):  43
Failed:  0

The vast majority of those are simply due to missing library functions that won't be a huge lift to implement. The only one that might require some hefty work is implementing let-syntax.


WIP: update install to include  python3-pybind11

https://github.com/zulip/zulip/issues/19946
Testing plan:
Only on one platform so far. Comments on whether this would be included would be helpful to proceed with further tests.
GIFs or screenshots:

Tip for the future: use the commit message and the PR description to explain not just what you’re changing, but also why you’re changing it.
This doesn’t really help with #19946 since you also need a newer version of re2 than the one provided by Ubuntu. In any case, we already merged another solution to #19946.


Different categories of prereqs

like "card location" and "mana needed" so it can group them together more logically
so you don't have "card a in hand. 3 mana available. card b in hand. 2 mana available."

Done in 7fbe50429e5eb7c0953ba1792b2b7d19ec68d9d8


add structured-data for SEO

For SEO friendly, add structured-data for post article and homepage.
Take my blog as an example.
Home page: https://search.google.com/structured-data/testing-tool/u/0/?hl=zh-CN#url=https%3A%2F%2Fnote.itswincer.com%2F
Post article: https://search.google.com/structured-data/testing-tool/u/0/?hl=zh-CN#url=https%3A%2F%2Fnote.itswincer.com%2Fposts%2Fdbcdebb%2F

I prefer to use helper to generate structed-data (after all, it's json), and referring to your code, I have added this feature, see this file helper/structured_data.js.
Thanks again, very helpful.


li rel have the value of the equivalent option

Currently the rel attribute of the generated li have no relevance with the value of the equivalent option, it would be nice if that rel had the value of the equivalent option so if you
$(this).selectpicker('val');
get the selected values which are the option values
you can easily get those elements and do whatever you want like call a trigger click on their child anchors e.t.c.
What do you think?

rel attribute has been removed.


Added support of formtarget attribute in yii.activeForm.js

Fixes #10322

@SilverFire, fixed

@AnatolyRugalev could you update from the upstream, please?

@SilverFire merged

Merged, thank you!

After this fix the submit button in active form works only on the second time.
In JS console: ReferenceError: $button is not defined

@AnatolyRugalev reverted this PR https://github.com/yiisoft/yii2/commit/5686a9ddebad3d8b6f1d041d8c45403937c7de09
It seems, something gone wrong when merging with upstream and I've overseen this problem :(

@AnatolyRugalev could you fix it, please?

@SilverFire sure, will fix it today

Submit is a s new PR, please

@SilverFire, done

Resolved by https://github.com/yiisoft/yii2/commit/fbedb8e750dbb752e43af718f4692c7d5d5e43d7


Django 2 compatibility

Changes:

Fix location of moved urls moduule.
Update minimum requirements to Django 1.10 (which was the first version with support for the new location of the urls module).

You can drop support for Django 1.10 as well. .travis.yml must also be updated as done in https://github.com/brutasse/django-password-reset/pull/67.

I provided a patch in https://github.com/brutasse/django-password-reset/pull/72.

Fixed in #72 and version 2.0


rust-crypto is abandoned, time to look for alternatives?

I've just been informed in the Rust IRC channel that rust-crypto is abandoned and should not be used anymore. As example of critical fixes that are not merged, I was given https://github.com/DaGenix/rust-crypto/pull/349
Libraries that probably have the primitives rust-jwt needs:

https://github.com/dnaq/sodiumoxide
https://github.com/briansmith/ring
https://github.com/sfackler/rust-openssl

Thanks for the heads up, opened a thread on reddit for some feedback

Relevant thread: https://www.reddit.com/r/rust/comments/46s75m/rustcrypto_apparently_abandonned_alternatives/

Rust-Crypto isn't abandoned, but it has been badly ignored and for that I apologize. I just merged a fix for the issue you referenced above and will try to get a release done with that fix sometime this week.
That being said, Rust-Crypto is still very experimental and has not had anything resembling the amount of security review of something like OpenSSL or sodiumoxide. If security is important to you, there are good reasons you might want to consider using those libraries anyway.

@DaGenix great to hear!
I also use rust-crypto for https://github.com/Keats/rust-bcrypt so i'll see if i can help on some aspect when I have time

I feel that botan should be ported to rust since some people do want to avoid using openssl

Pushed 1.1.2 that contains rust-crypto 0.2.35

I just moved to ring in 1.1.4, closing this


OpenGL on Linux broken

With the following commit 9515eadf62790ecb57ea5e8ab6332247814d4869 OpenGL stopped working for me on linux (I found the commit to be the issue with git bisect).
It's crashing at BsGLSupport.cpp:22
const GLubyte* pcVer = glGetString(GL_VERSION);

returning a nullptr.
Seems like the OpenGL context is no longer initialized since the mentioned commit.

Thanks for the report, and especially for tracking it down to a particular commit. I submitted a fix that should resolve the issue in 5f2869513689ee8999aa5be556d0f55b4adf07c8.

Many thanks for the very quick reply.
Just tested it, the issue is resolved.
One quick question before closing the resolved issue :D :
Do you really need cmake_minimum_required (VERSION 3.11.0) or would VERSION 3.10.2 be ok, too ?
I only have version 3.10.2 currently and don't have any problems with that.

I don't know. It might work fine on all platforms, it might not. It would require testing on all supported platforms.

Ok, thank you.
The problem will solve itself over time anyway, as new distros are shipping cmake in 3.13.4.
:+1:


An Event has many years?

At the moment, an Event has a name attribute and a year attribute, e.g. Event.new(name: RubyConf, year: 2017).
I wonder if we should change this to be an event has a name and then many years (or occurrences) attached to it, e.g. RubyConf is an Event, it happened in 2017, 2016, 2015, etc..
This will make it more interesting to view the kinds of submissions that, for example, RubyConf has accepted and rejected over the years. We can also add more information to a particular event, for example, something like: 'RandomConf has a different group of reviewers each round'.
I suspect that the event view will be more interesting than the speaker view for a more general audience.
(You could also then look on a per year basis across a range of events and perhaps see what themes were popular or unpopular among speakers, for example.)
What are people's thoughts on this?
We'd have to change the flow of adding a new event to the platform as well.

I think that would make a lot of sense; it's kind of how I think of conferences--the con is abstract, and the event is once per unit of time. I'm guessing I'm not the only one.
I'd be tempted to rename the existing Event model to Cohort or EventYear (not sure just Year is as clear as it could be), and make it belong to a new Event record. That way existing proposals still refer to the same record.
Changes that would need to be made:

rename existing Event model to Cohort or Year
create new Event model
set up ActiveRecord associations between Event and Cohort
update Proposal to point to renamed Cohort resource
update views to refer to the Event's name, not the Cohort's name, effectively sidestepping the danger of having an event cohort called "Bath Ruby Bath Ruby 2015", instead of just "Bath Ruby 2015"

would it make sense to allow the updated Cohort model to have a subtitle? Do conferences do this? "Bath Ruby 2018: the Bathening?"

Models might look like
# new event model
class Event
  validates :name
  validates_uniqueness_of :name

  has_many :cohorts # or :years
  has_many :submissions, through: :cohorts
end

# renamed from Event
class Cohort
  belongs_to :event
  validates :year
  validates_uniqueness_of :year, scope: :event

  has_many :submissions

  def name_and_year
   "#{event.name} #{year}"
  end
end

Enh. Event as a name for a new resource is a bad idea. EventSeries makes assumptions that it will repeat though. I'm not coming up with anything better atm.

Hey @flyinggrizzly — thanks for your thoughts.
Will have a proper read-through at some point in the upcoming week! :-)

FYI, @flyinggrizzly — going through a busy time right now so this will take me a bit longer to look at.

@nodunayo no worries--I'm tinkering with it already to see how my idea plays out. If you get curious, take a look!
About to disappear to the US for Christmas though, so no promises as to how much I'll be doing over the next few weeks. Happy to pick it up again in the new year if the help is still wanted/needed!

Ooh, I'll definitely take a look some time soon.
Let's pick up this conversation in the New Year (at the latest) for sure. I'm about to move flat and lots of change is happening at work at the moment. Then it's family time/holidays, etc.
I'd love to keep working with you in the New Year. It's been a pleasure!
Happy holidays if we don't speak before then.

@nodunayo this is more than I expected (which in retrospect, was maybe a little obvious...), but I'm still working on it 😅
Trying to figure out how to wire the two models together so you can select or name new Event Series from the Cohort screen r/n

Hey! Hope you've had good holidays.
Looking forward to reading all of this and digging into your work soon. 😁

Should we close this issue?

Yes!! 😊


Proposal Layout Enhancements

Feature
Proposals
App

Admin

Expected Behavior
Filing an issue to capture layout improvements to proposal cards.
Actual Behavior

The right container on proposal cards is small enough that some elements break even on desktop; for example, the proposal status breaks into two lines, and there isn't room for the status and quorum info on the same line.

Suggested solution: reduce the width of the left container by 6rem.
9/30/22 - This may not be enough to avoid breaking to two lines for all labels, so I'm adding the suggestion to also reduce the font size across the card (minus the title) to ParSm (14 point).
Additionally, there's no technical reason not to, quorum percentages could be whole numbers instead of adding decimal points.
With this adjustment, the Status indicator text on the left of the left container and the Details button might overlap. Truncating long statuses after 30 characters with ellipses might address this. (Note: this may be addressed sufficiently by reducing the font size to ParSm?)

On mobile, estimate gas is a tappable icon next to the Execute button.

The icon could be moved above the Execute button and parXs text added displaying the estimated gas, eg: "Min. gas required: 0.004 XDAI". Suggested padding between text and button would be 12px.

Steps to Reproduce
No response
Browser
No response
Screenshots and Context

e2t pointed out some additional statuses I was unaware of, shown in https://github.com/HausDAO/daohaus-monorepo/issues/860 -- I think "Voting ends in 43 seconds" will still break to two lines, even with an additional 6rem. Adjusting suggestions to include reducing font size to ParSm, as in the following:

@7helles do you also want to include how we want to handle long titles in this issue

Jord has already implemented the update to expand the size of the right column

had to keep the value in the tooltip here because it can be a long number


[macOS] Enable input from controllers in the background.

Enables input from controllers when app is in the background (on macOS 11.3+, it's always enabled on older macOS versions and not supported on iOS), for consistency with other platforms.
See https://github.com/godotengine/godot/issues/88693#issuecomment-1969545554

Thanks!


SLIC: Rank count and list formatting

I'm trying to write to a log file using both GenericOutputStream (for messages from the root rank), and LumberjackStream (for messages from another rank that might need to be filtered).  Traditionally, the formatting of this log file would look something like this:
[INFO  ][2024/09/20 18:18:57][     0][     0][0.000000e+00]     Message from root rank
[INFO  ][2024/09/20 18:18:57][     2][     0][2.200000e-02]      Message from rank 2
The number in the third pair of square brackets above indicates the rank that creates the message.  Messages that are filtered typically print only the first rank.
There are two issues I'm encountering trying to format this:

GenericOutputStream does not have a rank associated with it.  The formatting of the <RANK> keyword will just be empty.  For all of my applications, I prefer the rank to always print "0", and rank count to be "1" so that it has consistent formatting.  Is there a way to override this formatting?  Or would you recommend that I create my own stream class to do this?
Lumberjack streams now have the trailing dots "..." for the rank list, even if the rank count is 1.  Is it possible at all to disable the dots so that I just get the first number in the rank list?  This would also help with consistency in formatting.

Any guidance on this would be greatly appreciated!

@white238 @bmhan12

GenericOutputStream does not have a rank associated with it. The formatting of the  keyword will just be empty. For all of my applications, I prefer the rank to always print "0", and rank count to be "1" so that it has consistent formatting. Is there a way to override this formatting? Or would you recommend that I create my own stream class to do this?

GenericOutputStream is for non-MPI use cases and builds without MPI, so there is not a way to get the rank information (the "" parameters):
https://github.com/LLNL/axom/blob/6f5eaa3c2891e6b751adf01ca2d51b8041e98084/src/axom/slic/streams/GenericOutputStream.cpp#L97-L103
You should use SynchronizedStream for unfiltered MPI messages. The rank count will always be 1 (no filtering done), and assuming the message is always from root, the rank should be 0:
https://github.com/LLNL/axom/blob/6f5eaa3c2891e6b751adf01ca2d51b8041e98084/src/axom/slic/streams/SynchronizedStream.cpp#L145-L152

Lumberjack streams now have the trailing dots "..." for the rank list, even if the rank count is 1. Is it possible at all to disable the dots so that I just get the first number in the rank list? This would also help with consistency in formatting.

I'm not too sure where this is coming from. @white238, could it be this line here in Lumberjack?
https://github.com/LLNL/axom/blob/6f5eaa3c2891e6b751adf01ca2d51b8041e98084/src/axom/lumberjack/Message.cpp#L42-L61

I had tried the SynchronizedStream previously, the formatting for this worked well. From a conceptual standpoint, I wasn't sure if using this makes sense if it is only used to output messages from a single rank (the root rank). I noticed that the flush method for SynchronizedStream has some MPI logic to check for messages that need to be sent or received. Would these be called when I'm just expecting a single rank to output messages? If so, would there be any performance implications for calling these MPI routines?

I see, that's a good point. You likely would see some costs for those MPI routines.
Alternatively, if you know for sure the GenericOutputStream will be used only for the root node, you code use setFormatString or a constructor with the format parameter  to hardcode the rank/rank count information.
For example, in this Lumberjack format string example:
https://github.com/LLNL/axom/blob/6f5eaa3c2891e6b751adf01ca2d51b8041e98084/src/axom/slic/examples/basic/lumberjack_logging.cpp#L41-L58
You can instead hardcode the rank and rank count:
  // Initialize SLIC
  constexpr const char* format = R"(
<MESSAGE>
\t<TIMESTAMP>
\tLEVEL=<LEVEL>
\tRANKS=0
\tRANK_COUNT=1
\tFILE=<FILE>
\tLINE=<LINE>
)";

This is an interesting point.  The only formatting keyword I generally pass to Slic is <MESSAGE> because I find it easier to format the full message in the application code itself.  This also makes it easier to embed certain variables within the message that don't have Slic keywords associated with them such as simulation time and simulation cycle.  As a bit of a side note, this comes at a cost of having to send longer messages when using the Lumberjack stream (since it includes all the formatting), but I don't really know how else to get around this issue.
Perhaps to enforce rank=0, I can check which stream is used when I format my messages and override the <RANK> keyword for the string 0.  This could be a viable alternative.

@gberg617
@white238 had some suggestions on point 2) with the trailing dots (please correct me if I am misremembering):

The ranksLimit field may be set lower than expected, causing the trailing dots to appear. May make sense to bump it higher: https://github.com/LLNL/axom/blob/e5dcbaa314a6c5d5c76851d24cbef7b87d098840/src/axom/slic/streams/LumberjackStream.hpp#L50-L59
Potentially using/implementing a version of SLIC_X_ROOT/SLIC_X_IF macros may be useful in isolating the rank you want printed if the issue is bumping up against the ranksLimit:

List of Axom macros: https://axom.readthedocs.io/en/develop/axom/slic/docs/sphinx/sections/appendix.html
Axom macros definitions: https://github.com/LLNL/axom/blob/develop/src/axom/slic/interface/slic_macros.hpp

@gberg617 Closing this issue for now. Feel free to re-open this issue/open a new issue if the problem persists!


Explore lost-pixel tool for visual regression testing

Explore the tool and since our Browserstack/Percy contract is up for renewal end of March this year (just got another email of our totally unhelpful sales rep), It would be amazing if we could migrate to Lost Pixel before that date.

https://prisma-company.slack.com/archives/C04HV772KS7/p1673258634330399

@nilubava please make sure to check against open issues with Percy. So we can see if lost pixel fixes these.
https://github.com/prisma/docs/issues?q=is%3Aopen+is%3Aissue+label%3A"topic%3A+percy"

Percy's contract will end on 31 March 2023. Finalize Docs implementation with lost-pixel during that time


Adding BSD 3 license hyperlink

I think a link to the BSD license page will help users navigate to the page with ease

Thanks!


[Feature & Fix] Fixed variable usage and added support for CPU devices

[Feature & Fix] Fixed variable usage and added support for CPU devices
Description
Fixed variable usage and added support for CPU devices.

The device variable had not been declared ever
CPU device needs to use float32 to initialize the StableDiffusionInpaintPipeline

Features / Fixes

grounded_sam.ipynb

Impact

grounded_sam.ipynb

Thank u so much for this PR!


Review whether component correctly leverages TWBS DOM and classes

@SpikedKira will be addressing this issue in #1458.

I would say they do, keeping in mind we are only using the table-condensed. @SpikedKira would you agree there is nothing more we need to do for this issue?

Seeing as how the datepicker calendar dom is unchangable and the calendar needs to have a consistent look, I don't see any work to be done here.


PowerVS API changes

What this PR does / why we need it:
API changes for the PowerVS platform, forked from https://github.com/openshift/hypershift/pull/1225#issuecomment-1095043557
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

Removing ServiceInstanceID and Subnet from the PowerVSNodePoolPlatform, will use the spec from HostedCluster

@enxebre addressed all the review comments for the APIs from a previous PR, can you ptal?

@mkumatag added some more questions. After resolving those, could you please remove the changes to fixtures/example.go from this PR, and introduce a new commit for the controllers consuming the API so we can review the API makes sense for them. Then we can merge and put another PR for the CLI.

@mkumatag added some more questions. After resolving those, could you please remove the changes to fixtures/example.go from this PR, and introduce a new commit for the controllers consuming the API so we can review the API makes sense for them? Then we can merge and put another PR for the CLI.

you mean another commit into this PR contains the controller changes?

thanks @mkumatag looks great, please let's squash these commits and add another one atop for the controllers.

thanks @mkumatag looks great, please let's squash these commits and add another one atop for the controllers.

@enxebre ptal latest commit for the controller changes

doesn't this al need to:
[Reconcile Kubernetes cloud provider config](https://github.com/openshift/hypershift/blob/58cabbac00c541b55c7e7925fe7e46f0a55b5ceb/control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go#L1329
and
[Reconcile the OCP Infrastructure CR](https://github.com/openshift/hypershift/blob/58cabbac00c541b55c7e7925fe7e46f0a55b5ceb/support/globalconfig/infrastructure.go#L21
?

doesn't this al need to:
Reconcile Kubernetes cloud provider config

I'm thinking of adding this later because cloud provider for this platform will be external one, we need to add external CCM deployment(don't want to make the initial PR complicated) ;)

and
Reconcile the OCP Infrastructure CR
?

Yes, this is a miss.. I will take care.

@enxebre fixed all the comment, ptal at the latest commit

@mkumatag lgtm overall. Can you please squash commits meaningfully and rephrase all commits to use imperative mood. E.g:

Introduce IBMPowerVS API. (This can contain the autogenerated code for the API as well).
Add IBMPowerVS  controllers logic.
Vendor IBMPowerVS deps.

Thanks!

/retitle Introduce IBMPowerVS platform

/lgtm
/approve

/retest

/lgtm
/approve
Thanks! This seems good to get things going. Let's follow up with cli, e2e, docs.

Thanks a lot for all your help @enxebre, really appreciate.


Kcli version pinning

Switch kcli to use pip to install and pin the version we are using to avoid breaking changes

After https://github.com/confidential-containers/cloud-api-adaptor/pull/1865 gets merged, I'll need to bump the version of kcli being used


Rename EmulatedWalletApi -> MockWallet

Hydra seems to not be reporting statuses again.
This is just what we agreed in the call, so merging.


API Playground Added

Added preliminary UI component for API testing, where Users can test their API keys. Right now this playground is only available in Javascript. In future I will add more language support and themes.
https://github.com/heurist-network/heurist-sdk/assets/64956345/2319d8af-448c-41be-a518-fc5026cf166f

To Use the component, Use  tag.


Try zh-cn in this page

All I see is ???

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

ID: 37e9991e-98d3-bf56-ffbd-c2d77bfb0820
Version Independent ID: e568baab-36e7-293e-5d6d-6d3b02931004
Content: Authorize to Microsoft Graph in your Office Add-in
Content Source: docs/develop/authorize-to-microsoft-graph.md
Product: office
GitHub Login: @o365devx
Microsoft Alias: o365devx

I can reproduce. I'm investigating.


this.onUpdate is not a function

Using the directive with the following options;
<star-rating-comp rating="3" on-update="vm.yo()"></star-rating-comp>
causes the error  this.onUpdate is not a function to fire when it hits this line. Same happens without the on-update property.
Any ideas..?
ps nice repo

Hi @alexdrans!
I will check this asap! I'm back from hollydays at the end of next week.
If you have time you could try to find a solution in the meantime and pr it. 😉
Otherwise I will fix it in a week. 😀

I could not reproduce the bug.
What i did was:

[x] refactored handling of all custom callback
[x] implemented function spy's for all nearly all functions call in this component
[x] updated example
[x] created plunker of example
[x] released new version on npm

Let me know if this was helpful.

Hi @Lennaert.
Will take a look asap!
Could you please post informations about the browser?
Thx

Hi!
It's Chrome 55 on MacOSX.
Don't ASAP, take your time :-)

I have created a new issue for the "Tried to load angular more than once." warning here => #51

hi @Lennaert,
could you do me a favor and test the new dist files from this branch.
15-ng_load_more_than_once

Hey, am also experiencing the same issue...
v1.2.4: this.onUpdate is not a function
master: this.onRatingUpdate is not a function
Switched over to the 15-ng_load_more_than_once brnach and now seeing the same error as Lennaert mentioned in #51
Uncaught ReferenceError: require is not defined

Hi @TheCopartnery.
Thx for your comment!
It seems like i have some wrong settings in my build process... Any input from your side?

Having the same issue when using
<star-rating-comp ... on-rating-change="onRatingChange()"></star-rating-comp>
Error is:
TypeError: this.onRatingChange is not a function

Hey. Just had a chance to test this with v1.2.7 and am sorry to report that I'm still getting the same onRatingChange error.

Should be working in 1.2.9

This is awesome @BioPhoton It's working great now, thank you for all your efforts!


[management] cleanup

This moves files into their respective crates
Eliminates commands that don't make sense for different services (genesis doesn't insert waypoints or use json-rpc, operational will insert waypoints)
Fixes some alpha ordering
Basically trying to clean this up to maybe make it easier to integrate the config work...

@bors-libra r=gregnazario

:pushpin: Commit d126c65 has been approved by gregnazario

:hourglass: Testing commit d126c657675ec74d8096e0657abb180b969a05f2 with merge 2641b61daeaae670def393f1ad3d77aa7d36ff71...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra r=gregnazario

:pushpin: Commit daf77c3 has been approved by gregnazario

:hourglass: Testing commit daf77c303197b4359146e17d33269e713d73266a with merge 42d4d2694b9457482eac0706bf0c75595669679b...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: gregnazario
Pushing 42d4d2694b9457482eac0706bf0c75595669679b to master...


Panic in git provider

I'm seeing a panic after about 20-25 minutes when running the collector against about 100 repos.

I think we might've fixed it, but not entirely sure. Still testing

Fixed this in the latest version v0.7.1. An index out of range error was causing a panic when trying to calculate the branch age because there are some repositories that have branches without any commits on them. We chose to zero these out.


UnicodeEncodeError when entering unicode ellipsis in file editor

Description of your problem
What steps will reproduce the problem?

enter … (unicode ellipsis character) in file editor

What is the expected output? What do you see instead?
Expected: nothing. Got: internal console opens with error
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/spyder/widgets/editor.py", line 1371, in analyze_script
    finfo.run_code_analysis(run_pyflakes, run_pep8)
  File "/usr/lib64/python3.4/site-packages/spyder/widgets/editor.py", line 208, in run_code_analysis
    source_code = self.get_source_code().encode(enc)
UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in position 306: ordinal not in range(128)

Please provide any additional information below
This ellipsis was entered in the comments
Versions and main components

Spyder Version: 3.0.2
Python Version: 3.4.5
Qt Version: 5.6.2
PyQt Version: 5.7.1
Operating system: Linux

Dependencies
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  1.5.3 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.10.4 (OK)
pandas >=0.13.1  :  0.16.2 (OK)
pep8 >=0.6       :  1.5.7 (OK)
psutil >=0.3     :  5.0.1 (OK)
pyflakes >=0.6.0 :  1.2.3 (OK)
pygments >=2.0   :  2.1.1 (OK)
pylint >=0.25    :  1.5.6 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.3.1 (OK)
sympy >=0.7.3    :  None (NOK)

Thanks for reporting. We'll fix this issue in a future Spyder release.

@andfoy, please take a look at this one.

I'm unable to reproduce this one:

I tested again and I don't hit the issue now. However, what changed is that my Qt is now 5.7.1 (probably unimportant) and my pyflakes is 0.8.1 instead of 1.2.3 (probably important; I actually don't know why my distribution downgraded it).
So @andfoy, what is your pyflakes version?

Pyflakes has nothing to do with this. It was (most probably) a Qt issue.


Randomized selection algorithm to select i_th order statistic

🚀 Feature

Implementation of a randomized selection algorithm to select i_th order statistic from the given data in expected linear time.
The data consists of distinct elements.
Input:  A set A of n distinct numbers and an integer i, with 1 ≤ i ≤ n.
Output: The element x ϵ A that is larger than exactly i - 1 other elements of A.
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)
Motivation
(Please outline the motivation for the proposal.)
Pitch
This will help in understanding how randomization can be used to optimize the expected running time of this algorithm.
(Please explain why this feature should be implemented and how it would be used.)

@SKAUL05 @HarshCasper I wish to implement the algorithm in C++. Please assign me this issue.

I want to work on this issue in C language. Please assign this issue to me.

I want to work on this issue in Python. Can you please assign it to me for python?

Assigning
C++ :  @rahulpathak-github
C : @ag278
Python : @varshachary

Can I take this in Java?

@SKAUL05  I would like to take this in Java.

@ritvij14 go ahead with java

@plazzy99 I would like to drop this issue, so I have removed my assignment.


Devops entry not showing in workspace

What is version of KubeSphere DevOps has the issue?
v3.3.0-alpha.2
How did you install the Kubernetes? Or what is the Kubernetes distribution?
No response
What happened?
Host cluster enabled devops, member cluster disabled devops, and there is no devops project.

/priority high
/assign @kubesphere/sig-devops
Relevant log output
No response
Additional information
No response

Cannot be reproduced


Integrated terminal with zsh shell should use Python virtualenv

Environment data

VS Code version: 1.32.3
Extension version: 2019.2.5558
OS and version: Windows 10 (Build 1809)
Python version: 3.7.2
Type of virtual environment used: venv
Shell of Integrated Terminal: zsh (C:\msys64\usr\bin\zsh.exe)

Expected behaviour
VS-Code integrated terminal should use the path to virtualenv python not the system default
Actual behaviour
When a virtualenv is selected, the integrated terminal (zsh) does not use the virtual environment.
However, if I use bash shell for the integrated terminal, everything is working fine.
Steps to reproduce:

python.pythonPath is set to virtual environment path
Open the integrated terminal
python --version in integrated terminal shows system version

I think the "src/client/common/terminal/helper.ts" file need to be updated to detect the zsh shell of msys2 on Windows.

Unfortunately we do not support msys2, closing in favor of #67


ispc: drop impure Xcode dependency

The new Darwin SDK pattern allows ispc to be built without requiring an impure Xcode.
Technically, this fixes a build on staging-next https://github.com/NixOS/nixpkgs/pull/348827 because ispc doesn’t currently build on Hydra for Darwin at all, but it can wait for the merge to master if that’s too much of a stretch.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/title-the-darwin-sdks-have-been-updated/55295/1


collapse masters fields for ebuild repos on init

In order to catch repos with invalid masters early.

Closing since this is initially handling in https://github.com/pkgcraft/pkgcraft/commit/3352d0c9475d360759ec748db88795804ec54064.


separate prod and preprod

It seems weird that the one docker container is always serving both.
Could you make it an argument when starting the daemon?


Add support for emotes via emote_mapper

I'm not sure if this makes sense to have in here.
I use it for my self, but as you want to implement Emotes via different means, this might be redundant, as using emote_mapper is not very ergonomic.
You need to create a font with twitchmote, install the font file and configure twt to use it.

Will review at a later time.

I feel like there should be a more consistent way of implementing this, instead of relying on the user for resources.

I feel like there should be a more consistent way of implementing this, instead of relying on the user for resources.

yes, but that would only work with some image in terminal protokol like  sixel. I wrote this for someone who uses Alacrity which does not have that.
But yeah, I would agree that this is the PR with the least reason to be merged.

I would agree that this is the PR with the least reason to be merged.

Then, shouldn't I close this?

Although since this does work, maybe this be stored on a branch until a more consistent way is found.
I know that anthonywritescode has emotes in his twitch terminal chat, but I'm yet to find the repository.

yeah, this can be understood as a fallback for people not willing to use a terminal with support for an image protocol like sixel or kitty.
Due to the limited number of possible Unicode code points (thank utf-16 compatibility for that), it is impossible to provide a font with all Twitchemotes, so the user would always need to choose the emotes they want them self, and we cannot provide them (maybe this can be worked around with ligatures, but alacrity does not support those either).
I use a terminal with sixel, iterm and kitty support, so I will be perfectly content with a more ergonomic solution using one of these.

If we were to go for the more ergonomic solution for supported users and have the current state of this PR as a backup for others, what was be used in rust to approach this?

well we could make it feature based (but that is maybe not the greatest thing for bins IMO) or we just have both implemented switchable via config (we could also detect terminal support but idk if that is necessary).
We could include support for the font generation via the cli, but I would have to revisit that project probably and have a look what the actual dependencies are IIRC there was some heavy use of python currently, so this is maybe not something you'd want included by default.
I also expect the kind of people who use a terminal chat and are not willing to run it in a terminal with image support would be able to handle building the font through a seperate project and maybe also building twitch-tui with a feature flag.
feel free to just keep this here and revisit it after figuring out the image based emots.

If we were to go for the more ergonomic solution for supported users and have the current state of this PR as a backup for others, what was be used in rust to approach this?

oh and I think you can install from a branch with cargo IIRC if that is what you meant

Both answers were what I was looking for. I'll leave this PR here for later. I shall be focusing on getting 2.0 done.

I will be closing this PR for now due to the large amounts of changes that this program is going under.
If I decide that this feature shall be supported, I'll re-open this PR (it may actually be best for it to be in a new PR depending on the conflicts in the future).

Makes sense exspecially with the background of this not being the prefered way to implement it.

Agreed.


feat: Datagrid: Add column accessibility

🙋 Feature Request
I would to access the data grid to obtain the current column that is being used to sort the data grid.
In addition, could their be a way to have a method RemoveSortByColumn(string title)?
^(Similar to this feature request and pr: https://github.com/microsoft/fluentui-blazor/issues/2148, https://github.com/microsoft/fluentui-blazor/pull/2156/files)
🤔 Expected Behavior

Access the column that currently has sorting applied to it and have access to its title
Remove sorting by column given a title

😯 Current Behavior
No way to access or modify the datagrid in this manner
💁 Possible Solution
There is a  private ColumnBase<TGridItem>? _sortByColumn; could this be exposed with a getter?
🔦 Context
I have a grid where I am dynamically removing columns (not rendering them) and when that column has sorting applied but then removed, I want the sorting to be removed so when I call ApplySorting in my request in my items provider, nothing will change.

Edit: found a work around. I can find the sorted column from the request in the items provider. Then I can catch and store it there and use it to check if I remove a column that is the sorted column. If so, then I call _gridRef.RemoveColumnSortAsync() to clear my sort.

Closing this one then


Update sharepoint-form-integration.md

Should be ResetForm for Cancel not SubmitForm.

@chmoncay : Thanks for your contribution! The author, @sarafankit, has been notified to review your proposed change.


toggle staking for specific transactions

Proposal:
In “coin control” allow users to toggle staking for specific transactions.
Rationale:
Now that users have microprimes, con control features need to be more integrated, accessible, and discoverable. If a user is staking coins on a microprime and forgets or fails to use coin control, they will likely send coins that have been accruing coinday, disrupting their staking plan, and they may not even realize it until the next time they check their wallet. For casual and novice users, that could be a long time and lead to frustration and disappointment.
I know that there’s already a thread to "Add a '-stake' flag to disable the staking thread #268," but I think that may solve a different problem.
https://github.com/PaycoinFoundation/paycoin/pull/268

Yeah #268 is to disable staking entirely in a wallet not for a specific address.


[20.09] jwm: fix gettext requirement

Jwm requests a specific version of gettext. Since the current version
of gettext is higher, the build fails. Gettext supports to request
a minimum version (since 0.19.6). A patch is introduces which requests
the minimum version 0.19.6.

Motivation for this change
ZHF: #97479
Backport of https://github.com/NixOS/nixpkgs/pull/99554
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Commit message is missing cherry-pick information

Builds, macos 10.14 & non-nixos linux x86_64


transact() can fail because of #582

get_block_header_state only retrieves non-irreversible blocks. We need to either:

Revert #582, or
Fall back to get_block when get_block_header_state fails

This is fixed by #587


how does error handling work?

I am playing around with the client and wonder how error handling works. I scanned the code a bit and could not find typed errors or error codes/matchers. So if I try to create an endpoint for a service and this endpoint exists I get an error which is only identifiable by string matching against the error message. I feel like it would be super useful to have proper error types to match against. How is this intended to work with the client library here?

Keep digging-- you should be getting StatusErrors
On Thu, Mar 30, 2017 at 10:08 AM, Tim Schindler<EMAIL_ADDRESS>wrote:

I am playing around with the client and wonder how error handling works. I
scanned the code a bit and could not find typed errors or error
codes/matchers. So if I try to create an endpoint for a service and this
endpoint exists I get an error which is only identifiable by string
matching against the error message. I feel like it would be super useful to
have proper error types to match against. How is this intended to work with
the client library here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/client-go/issues/163, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnglsb4Vbsb20fHvhdbmr-qI9HjdA6eks5rq-GngaJpZM4Mupvf
.

I see. This is what I was looking for: https://godoc.org/k8s.io/apimachinery/pkg/api/errors. The code base is so huge and one is like to get lost quite quickly. <3

@xh3b4sd want to contribute an example? :)

I had the same problem and would be happy to share my finding with a PR for an extended example. Do I see it correct that I can edit the examples directly in kubernetes/staging/src/k8s.io/client-go/examples? I don't see them in kubernetes/pkg/client...

@slintes, yes staging/src/k8s.io/client-go/examples/ is the right place.


Automatic upload/update of CSV data

The source data used by the PickerField is maintained in a SharePoint list. Currently we automatically generate the CSV data using Azure Logic Apps and manually upload the newly generated CSV content. We would however like to automate the last part - i.e. upload the CSV data.
We have played around with a HTTP request from Logic Apps, but seems to fail due to the alerts/popups from the config scripts.
Do you see any way of full automating the upload?

Actualy you can look in my code
And see how i upload the file
The idea is to convert the file to some kind of model and save it in the azure stack under the name of the control....
Just look at my code, you can figure it up.
השג את Outlook עבור Androidhttps://aka.ms/AAb9ysg

From: Mikael Andersen @.>
Sent: Tuesday, September 21, 2021 11:18:12 AM
To: avih75/PickerFieldsControl @.>
Cc: Subscribed @.***>
Subject: [avih75/PickerFieldsControl] Automatic upload/update of CSV data (#23)
The source data used by the PickerField is maintained in a SharePoint list. Currently we automatically generate the CSV data using Azure Logic Apps and manually upload the newly generated CSV content. We would however like to automate the last part - i.e. upload the CSV data.
We have played around with a HTTP request from Logic Apps, but seems to fail due to the alerts/popups from the config scripts.
Do you see any way of full automating the upload?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/avih75/PickerFieldsControl/issues/23, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIPBUI5LY2LARZRWPR6RAP3UDA5UJANCNFSM5ENZD7BQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[Snyk] Security upgrade com.amazonaws:aws-java-sdk-s3 from 1.12.261 to 1.12.686

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

jobs/recommendation-enricher/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
com.amazonaws:aws-java-sdk-s3:  1.12.261 -> 1.12.686
No
Proof of Concept

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
com.amazonaws:aws-java-sdk-s3:  1.12.261 -> 1.12.686
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

Checkmarx One – Scan Summary & Details – b5d0d6f4-5e5c-4849-81c5-e3e5c2a2ec6f
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-52428
Maven-com.nimbusds:nimbus-jose-jwt-9.8.1
Vulnerable Package

CVE-2024-22243
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-22257
Maven-org.springframework.security:spring-security-core-5.0.7.RELEASE
Vulnerable Package

CVE-2024-22259
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-23672
Maven-org.apache.tomcat.embed:tomcat-embed-core-8.5.32
Vulnerable Package

CVE-2024-23672
Maven-org.apache.tomcat.embed:tomcat-embed-websocket-8.5.32
Vulnerable Package

CVE-2024-29180
Npm-webpack-dev-middleware-5.3.0
Vulnerable Package


Crash Koroworld-lib

it crashes when starting, it says Koroworld-lib is missing, when i install it the game just crashes without opening, when i install the lastest version of koro utils lib it doesnt recognize it and says koroworld-lib is missing again

fabric 1.19.2

koro utils lib is not Koroworld-lib


Authentication / Authorization for server side Blazor

Hi,
I would like to implement authentication/authorization for a server side Blazor app. For MVC app, we use session/cookie and for api we can use oauth / openid. What is the preffered way of doing authentication / authorization for a server side Blazor app.

You could either:

Use authentication to control access to all routes to your server (with the exception of login pages, which might be rendered server-side rather than as a Blazor app). Traditional session/cookie methods will work.
Or, use authentication to control access to API endpoints only. This is more typical for SPA-type apps, whether it's Blazor or React or Angular or anything else like that. You can implement a Blazor UI for logging in which sends credentials to a server-side API endpoint, which in turn returns some kind of auth token that the client will send with subsequent requests. There are many options for how to do this (examples).

Duplicate of #64


"Record scratch" gets mistaken as a vocal

This is a fault of the model

This is a fault of the model

do you know any model that ignores record scratches

I am sorry I do not know