The described procedure doesn't work

When I follow the procedure described under "Use the Windows Authentication app template for a new project", I end up with a message in the browser "This site can’t be reached". I did try to change code/configuration in various ways (Google-ing, stackoverflow, etc.) but I couldn't make the Windows authentication work with ASP:NET Core. Please take a look and correct the article so that we can have a basic frame for starting working with Windows authentication.
I'm using:
Microsoft Visual Studio Enterprise 2017 (Version 15.9.9)
Microsoft .NET Core SDK 2.2.104 (x64)

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

ID: 401ad9a0-9e51-80a2-5846-82e9790d7257
Version Independent ID: fbc36c26-9992-1f4c-66d3-02f898ee7ec4
Content: Configure Windows Authentication in ASP.NET Core
Content Source: aspnetcore/security/authentication/windowsauth.md
Product: aspnet-core
GitHub Login: @scottaddie
Microsoft Alias: riande

This was recently tested.  cc @guardrex

Then it's likely that there are other important prerequisites/conditions not mentioned in the article, necessary for the example to work.

I'm still out-of-town at a conference (no laptop with me), but I'll be flying back on Saturday and will try to look on Sunday.

I couldn't get to this immediately. I'm still ⛏ digging myself out. I'll look asap ... hopefully within a day or two.

@Rick-Anderson As far as I can tell, putting 3.0 preview on here and trying to run IIS Express with the dev cert is what's breaking. The app will run directly on Kestrel at https://localhost:5001.
I'm going to upgrade the VS here when it releases, and I'll try again and see what happens.
I did note one strange thing while playing with this ...
The test app that I set up for this didn't consume launchSettings.json when I ran the app with dotnet run. We've documented it for a long time, and I remember it working. https://docs.microsoft.com/aspnet/core/fundamentals/environments#development

Just to confirm that unfortunately the described process does not work.
After deploying the application under IIS the Windows User is not detected.
Hope you are planning a quick fix.
Environments:
Microsoft Visual Studio Enterprise 2017 (Version 15.9.10)
Microsoft .NET Core SDK 2.2.105 (x64)
.Net Hosting 2.2.3

@aleph0mc Yes, I'm going to update VS when it releases on April 2 (next Tuesday).
I'll move the priority on this up and get to it quickly.

@guardrex Thanks!

I'm installing VS 2019 now to work this issue. Could take a while tho ... need to install a big Win10 update first and Disk Cleanup this drive. 😅

It's fighting me a little bit. The workaround in https://github.com/aspnet/AspNetCore/issues/8378 didn't work.
However, going through my shiny new VS 2019 IIS Express does result in a request for credentials, so it's working there.
I have a feeling that when I get my IIS back in a good state that it's going to work. Preview 4 will fix the problem with the hosting bundle installer. I may wait until Preview 4 to get my ANCM woes sorted.

When you say "Preview 4", do you refer to .net core 3?

@guardrex You mentioned VS2019 and that's fair enough, but what about VS2017? Thx.

Yes, Preview 4 for .NET Core 3. They will have the hosting bundle installer fixed for Preview 4, which should fix my broken IIS/ANCM state ... get the right ANCM in the right spot. I tried the workaround last night, but it ended in :boom:. I'll try the workaround again today with fresh eyes and :coffee: :coffee: :coffee:.
I was hoping that the VS2019 install would fix my broken IIS/ANCM state. Nope ... didn't do it. IIS Express in VS2019 works fine—the app runs correctly with a prompt for credentials. So IIS Express is consuming the launchSettings.json file setting for WinAuth and the auth middleware is functioning correctly in that case. IIS/ANCM should have the same result once I get it running.
I'll post back later today (Wednesday) with an update.

Ok ... my IIS is back. Will see what's what now.

Working here ...

@mcurko try again with a fresh app following our guidance in the IIS topic.
Troubleshooting is here :point_right: Troubleshoot ASP.NET Core on IIS.
Common errors over here :point_right: Common errors reference for Azure App Service and IIS with ASP.NET Core.
Don't close this issue tho even if you get it working. I DO need to make some updates to the topic, and this issue will auto-close when the PR merges.


grub recipe is conflicting with oe-core

When I have meta-96boards in layermix and try to build for qemux86 it ends up with these horrendous errors
It could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful.
/mnt/a/oe/sources/openembedded-core/meta/recipes-bsp/grub/grub-efi_2.02.bb has unique provides:

/mnt/a/oe/sources/openembedded-core/meta/recipes-bsp/grub/grub-efi_2.02.bb has unique rprovides:
  grub-efi-doc
  grub-efi-locale
  grub-efi-dbg
  ^grub-efi-locale-.*
  grub-efi-staticdev
  grub-efi-dev
/mnt/a/oe/sources/meta-96boards/recipes-bsp/grub/grub_git.bb has unique provides:
  grub
/mnt/a/oe/sources/meta-96boards/recipes-bsp/grub/grub_git.bb has unique rprovides:
  grub-dbg
  grub-doc
  grub-staticdev
  grub
  grub-dev
  grub-locale
  ^grub-locale-.*
ERROR: Multiple versions of grub are due to be built (/mnt/a/oe/sources/meta-96boards/recipes-bsp/grub/grub_git.bb /mnt/a/oe/sources/openembedded-core/meta/recipes-bsp/grub/grub_2.02.bb). Only one version of a given PN should be built in any given build. You likely need t
o set PREFERRED_VERSION_grub to select the correct version or don't depend on multiple versions.

So the question is
is this recipe still relevant ?
whats missing in OE-Core recipe ?
Can the differences be reconciled and upstreamed ?
AARCH64 seems to be fully supported in the version of grub thats provided by OE-Core

Proposed #242 to migrate to the upstream grub-efi implementation as I also have a similar issue when using this layer with others not related with 96boards.


Fix and deploy dormant DrizzlePac notebook "use_ds9_regions_in_tweakreg.ipynb"

Relevant Ticket

SPB-1703

High-Level Summary

For an unknown reason, the use_ds9_regions_in_tweakreg.ipynb was added to the hst_notebooks repository but explicitly excluded from being deployed. This PR fixes that issue.

Summary of Changes

_config.yml: removed notebook "use_ds9_regions_in_tweakreg.ipynb" from "exclude patterns" list
use_ds9_regions_in_tweakreg.ipynb: added single space in first markdown cell so that CI/CD tests would trigger.

This notebook checklist has been made available to us by the Notebooks For All team.
Its purpose is to serve as a guide for both the notebook author and the technical reviewer highlighting critical aspects to consider when striving to develop an accessible and effective notebook.
The First Cell

[ ] The title of the notebook in a first-level heading (eg. <h1> or # in markdown).
[ ] A brief description of the notebook.
[ ] A table of contents in an ordered list (1., 2., etc. in Markdown).
[ ] The author(s) and affiliation(s) (if relevant).
[ ] The date first published.
[ ] The date last edited (if relevant).
[ ] A link to the notebook's source(s) (if relevant).

The Rest of the Cells

[ ] There is only one H1 (# in Markdown) used in the notebook.
[ ] The notebook uses other heading tags in order (meaning it does not skip numbers).

Text

[ ] All link text is descriptive. It tells users where they will be taken if they open the link.
[ ] All acronyms are defined at least the first time they are used.
[ ] Field-specific/specialized terms are used when needed, but not excessively.

Code

[ ] Code sections are introduced and explained before they appear in the notebook. This can be fulfilled with a heading in a prior Markdown cell, a sentence preceding it, or a code comment in the code section.
[ ] Code has explanatory comments (if relevant). This is most important for long sections of code.
[ ] If the author has control over the syntax highlighting theme in the notebook, that theme has enough color contrast to be legible.
[ ] Code and code explanations focus on one task at a time. Unless comparison is the point of the notebook, only one method for completing the task is described at a time.

Images

[ ] All images (jpg, png, svgs) have an image description. This could be

[ ] Alt text (an alt property)
[ ] Empty alt text for decorative images/images meant to be skipped (an alt attribute with no value)
[ ] Captions
[ ] If no other options will work, the image is decribed in surrounding paragraphs.

[ ] Any text present in images exists in a text form outside of the image (this can be alt text, captions, or surrounding text.)

Visualizations

[ ] All visualizations have an image description. Review the previous section, Images, for more information on how to add it.

[ ] Visualization descriptions include

[ ] The type of visualization (like bar chart, scatter plot, etc.)
[ ] Title
[ ] Axis labels and range
[ ] Key or legend
[ ] An explanation of the visualization's significance to the notebook (like the trend, an outlier in the data, what the author learned from it, etc.)

[ ] All visualizations and their parts have enough color contrast (color contrast checker) to be legible. Remember that transparent colors have lower contrast than their opaque versions.

[ ] All visualizations convey information with more visual cues than color coding. Use text labels, patterns, or icons alongside color to achieve this.

[ ] All visualizations have an additional way for notebook readers to access the information. Linking to the original data, including a table of the data in the same notebook, or sonifying the plot are all options.

@FDauphin ,
Thank you for your work on the notebook. I've left some comments for minor improvements. The workflow and descriptions are clear and well-organized. Please remember to clear all output cells.

@FDauphin , Thank you for your work on the notebook. I've left some comments for minor improvements. The workflow and descriptions are clear and well-organized. Please remember to clear all output cells.

@haticekaratay Thanks for looking at this and apologies for the delay. I can't see the comments that were made. Should I just push the notebook with empty cells?

@FDauphin , Thank you for your work on the notebook. I've left some comments for minor improvements. The workflow and descriptions are clear and well-organized. Please remember to clear all output cells.

@haticekaratay Thanks for looking at this and apologies for the delay. I can't see the comments that were made. Should I just push the notebook with empty cells?

You can access the comments that were left on the ReviewNB from this
link  or navigating up to the top of the conversation by clicking on the purple button.
 One way to clear output cells is to select Edit from the top navigation bar on your notebook, and then choose Clear Output of All Cells.  If so, how can we prevent that here?

@haticekaratay All comments have been addressed 👍🏾

I will revert changes made to the ir_persistence notebook and sync it with the main, as many merge commits are making it challenging to rebase, especially with notebooks.


CS Intro Course pages showing code only in Typescript

Bug reported by a teacher -
These two pages:

[ ] https://arcade.makecode.com/courses/csintro3/functions/parameters
[ ] https://arcade.makecode.com/courses/csintro3/functions/returns
are showing code snippets only in Typescript.

Would like to change all the code snippets on these pages to Blocks (or the usual dynamic code rendering window):

Actually, I just checked, and this course is meant to be in JavaScript only.  So, nevermind!

We could put a mention on https://arcade.makecode.com/courses/csintro3 saying that  csintro 3 is a JavaScript base course.

it's listed here: https://arcade.makecode.com/courses/csintro3/about/script


setSettings() bug

I get this error when trying to use .setSetting() without having "_settings" or "_customData" properties in my Info.dat.
if (!(steps[i] in currentObj)) {
                      ^
TypeError: Cannot use 'in' operator to search for '_playerOptions' in undefined
    at jsonSet (ReMapper\src\general.ts:372:23)
    at Difficulty.updateSets (ReMapper\src\beatmap.ts:193:16)
    at Difficulty.setSetting (ReMapper\src\beatmap.ts:157:14)

thanks, I've fixed this but haven't pushed an update on NPM since there's not enough to do that yet. For now just add the settings param manually and everything should be good on the next update :)


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 944

Questions ?
Please refer to the Backport tool documentation


Being able to remove system tray icon

Having a toggle to quickly enable or disable the icon on the system tray would be useful to keep the system clean, and perhaps having a shortcut to open the settings app again if necessary.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of https://github.com/microsoft/PowerToys/issues/765


Please add Pipeline support to import

PR: #839

Thanks for expressing interest in this feature @kwerle. I'm closing the issue and following up on the PR. Cheers!


[Function]Support array_position function

Impl the array_position function based on the function array_contains.
These two functions are very similar, but the array_position return index which begain from 1 and array_contains return true or not.

@SaintBacchus Thanks for your contribution.
IMO, I think array_position is a better name. Other system like prest/trino, spark, snowflake use this name.
So I suggest that use array_position as the new function name.

@imay Thanks for your suggestion. I will change the name of it.

Need add a new doc for this the new function

OK, I will add it later


SSR cache control breaks rendering of buffers from endpoints

Describe the bug
You can render other types of thing than a json payload or string from a SvelteKit endpoint, such as the contents of a buffer. It looks like the caching mechanism for SSR prevents rendering unless you explicitly turn cache control off, due to the way it hashes the payload.
Logs
TypeError: str.charCodeAt is not a function
    at hash (file:///home/ant/Projects/social-share/node_modules/@sveltejs/kit/dist/ssr.js:1511:37)
    at render (file:///home/ant/Projects/social-share/node_modules/@sveltejs/kit/dist/ssr.js:1475:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async ssr (file:///home/ant/Projects/social-share/node_modules/@sveltejs/kit/dist/ssr.js:1456:10)
    at async Immediate.<anonymous> (file:///home/ant/Projects/social-share/node_modules/@sveltejs/kit/dist/chunks/index.js:3301:23)

To Reproduce
Create an endpoint which renders its content as a buffer:
import { createCanvas } from 'canvas'

export async function get() {
  const canvas = createCanvas(10, 10)
  const context = canvas.getContext('2d')

  return {
    headers: {
      // 'cache-control': 'no-store',
      'Content-Type': 'image/png'
    },
    body: canvas.toBuffer('image/png')
  }
}

Expected behavior
If you try to hit the above endpoint, you will get the error shown above.
To skip the cache and render the canvas contents, uncomment the cache-control line to disable caching.
Information about your SvelteKit Installation:

System:
      OS: Linux 5.8 Ubuntu 20.10 (Groovy Gorilla)
      CPU: (8) x64 AMD Ryzen 7 4700U with Radeon Graphics
      Memory: 8.35 GB / 30.85 GB
      Container: Yes
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 12.20.1 - ~/.volta/tools/image/node/12.20.1/bin/node
      Yarn: 1.22.10 - ~/.volta/tools/image/yarn/1.22.10/bin/yarn
      npm: 7.5.2 - ~/.volta/tools/image/npm/7.5.2/bin/npm
    Browsers:
      Chrome: 90.0.4430.72
      Firefox: 87.0
    npmPackages:
      @sveltejs/kit: next => 1.0.0-next.85
      svelte: ^3.29.0 => 3.37.0
      vite: ^2.1.0 => 2.2.1

Severity
High - buffers should be renderable.

Duplicate of https://github.com/sveltejs/kit/issues/1136

duh, thanks Ben :)


SFT loss

https://github.com/microsoft/DeepSpeedExamples/blob/d570b2cc8a8fd4207c9424744669437d4c68ec43/applications/DeepSpeed-Chat/training/utils/data/data_utils.py#L122
if self.train_phase == 1:
    return {
        "input_ids": self.chosen_dataset[idx]["input_ids"],
        "attention_mask": self.chosen_dataset[idx]["attention_mask"],
        "labels": self.chosen_dataset[idx]["input_ids"]
    }

In the SFT stage, input_ids and labels are the same, so the loss calculation includes the prompt's loss. Shouldn't we only calculate the chosen loss instead?

This is the common setting for casual language modeling. Please take a look at GPT paper or the HF CLM example

Close as the issue seems solved. Feel free to reopen for any further questions.

The loss of the prompt in the original question, I think it must be excluded in the pre-training stage such as GPT2 or GPT3. However, it seems that there will be no big problem if it is not removed during the SFT stage.
I think there is a more important issue about the calculation of loss. and it is necessary to reopen this issue.

We can refer to the implementation of huggingface here, and we can find that the ouput is shifted to the right of the input.

PS：I went to confirm that the opt model is also decoder-only, the same as GPT2 or GPT3.


Adding support to pyonep for HTTP Data API.

All tests passing. Some skipped because they need to be converted to cik_fountain instead of whitelabel.

I'm just now noticing that this contains both pull requests. I'll separate them first.

@willcharlton are you planning to refactor tests? If can you close this and re-PR when it's ready to rock?


Preserve original generic type info in resolved types

Problem statement:
Given a generic struct or enum that has already been resolved (i.e. the fields/variants have concrete type IDs now).. we want to figure out the name of the type parameter that a given field had before type resolution. For example, given:
struct MyStruct<T, U> {
    bim: T,
    bam: U,
}

and a specific instance of it MyStruct<u8, u16>, if we inspect each type TypedStructField, we don’t really see what the original type parameter was.. i.e. what does u8 replace? is it T or U or neither? Here’s an example how a given field looks like:
    TypedStructField {
        name: Ident {
            name_override_opt: None,
            span: Span {
                src (ptr): 0x0000000144f743a0,
                path: Some(
                    "/Users/mohammad/Desktop/fuel/issues/2309/proj/src/main.sw",
                ),
                start: 51,
                end: 54,
                as_str(): "bam",
            },
            is_raw_ident: false,
        },
        type_id: bool,
        span: Span {
            src (ptr): 0x0000000144f743a0,
            path: Some(
                "/Users/mohammad/Desktop/fuel/issues/2309/proj/src/main.sw",
            ),
            start: 51,
            end: 57,
            as_str(): "bam: U",
        },
    },

This is no longer required as described. I added initial_type_id only in places where I needed it such as TypedStrutField, TypedEnumVariant, etc.


Is it possible to have a parent view holder in a parent view holder?

Hello, I'm attempting to make a parent inside a parent view holder so I could have a expandable list inside another expandable list, but I'm not sure how to do it.
How would one do this?
Thank you.

Hi Ivan,
This is not supported as of now, might be something that can be supported in the later stages of the library with more work.


Version Solving failed

Log
crimson_demo % flutter pub get
Because every version of flutter from sdk depends on collection 1.16.0 and analyzer >=5.3.1 depends on collection ^1.17.0, flutter from sdk is incompatible with analyzer >=5.3.1.
And because every version of crimson depends on analyzer ^5.3.1, flutter from sdk is incompatible with crimson.
So, because crimson_demo depends on both flutter from sdk and crimson ^0.0.2, version solving failed.
Running "flutter pub get" in crimson_demo...
pub get failed (1; So, because crimson_demo depends on both flutter from sdk and crimson ^0.0.2, version solving failed.)

I'm also having the same issue here too.

Should be fixed in 0.0.3

But I later ran flutter update-packages --force-upgrade to upgrade the unresolved dependencies and it works


⚠ Fortnite has degraded performance

In a9a655c, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1579 ms

Resolved: Fortnite performance has improved in b84536f.


Update README.md

added myself as a contributor

Description

A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
Resolved or fixed issue:
Affirmation

[ ] My code follows the CONTRIBUTING.md guidelines

Added updated information on this repo. Added nome de gure to this thing


Improve the documentation for CombineFn

R: @charlesccychen

R: @ananvay

LGTM, thanks Ahmet!

Coverage increased (+1.0%) to 69.604% when pulling cf022100f52183b68f59f731b59a75b3cda20895 on aaltay:combinefn into 6dd90d89d3d324c9f9f8cb2b1faf38fe525f0a10 on apache:master.


Is tsdoc going to support generating React component API?

Say there is a file like this
interface IProps {
   /**
    * Some description
    */
    name: string;
}
class Something extends React.Component<IProps, {}> {
    // code
}

Is tsdoc going to support generating React component API doc (eg, a markdown table)?

React components are initialized based on a call toReact.createElement, not by doing new MyComponent or myComponent.prop = 'value' so what documentation fields exactly should be generated where? React.createElement will pick up the props type/interface in its second argument, so TSDoc you place on the props type's/interface's members will show up in Intellisense there.
Can you give an example of what would be generated based on the code you provided so far?

something like this.

Props
Type
Requied
Description

name
number
yes
Some descriptioin

@TomasHubelbauer

But where? On the component class? On its constructor?

Generating markdown would be nice. ref: like jsdoc-to-markdown

But where? On the component class? On its constructor? Or do you have in mind generating documentation files (for example MarkDown) form TSDoc documentation comments?

Now I understand. I think that's out of the scope for TSDoc itself (similarly to your link being a tool on top of JSDoc not a feature of JSDoc itself). Perhaps it would be good to ask jsdoc-to-markdown if they will add support for TSDoc.

FYI this summer we are planning to enable API Extractor analysis for the office-ui-fabric-react library, which is a collection of React controls.
As far as I know, a documentation tool can model React controls as ordinary TypeScript classes and interfaces.  If there are specific TSX features that you think would need special handling in the doc comment syntax, this would be in scope for TSDoc.

Closing this because it seems like the questions were answered.  Feel free to reopen if anyone wants to continue the discussion.

FWIW, one can write a tsdoc comment on the props property, which links to the Props interface, and the docs for that interface can have all the info.


Node Core Module Exploration - Debugger

started

while i was writing this,  i discovered a small bug, and sent a PR https://github.com/nodejs/node/pull/9773

the tweet: https://twitter.com/sienaluke/status/803611599709892609


Explore moving all documentation to prismic.io

Moving all documentation to the official Prismic documentation at prismic.io could ease the learning process.
Documentation is currently segmented between GitHub, Gatsby (via their README proxy pages), and prismic.io.

This is now live! All documentation updates will be handled on prismic.io going forward.
https://prismic.io/docs/technologies/gatsby


Complete rspecs for TriannonClient class

See #TODO items in
https://github.com/sul-dlss/triannon-client/blob/master/spec/lib/triannon-client/triannon-client_spec.rb
The methods are all in
https://github.com/sul-dlss/triannon-client/blob/master/lib/triannon-client/triannon-client.rb

@ndushay assigned so we can track pair-programming on these triannon-client specs

Almost complete after https://github.com/sul-dlss/triannon-client/commit/1913db50221e31cac036e9898473a9093f7066e8
Should review triannon content negotiation for the /annotations route.  Should review rspec best practices for an HTTP client, although current specs appear to be reasonable.

Revised code and rspecs today, added coveralls at https://coveralls.io/r/sul-dlss/triannon-client

Exercise all of the supported mime types for triannon, see https://github.com/sul-dlss/triannon/issues/20

Updated specs provide coverage at about 94%.  A pending spec on /annotations depends on https://github.com/sul-dlss/triannon/issues/117 and related triannon issues.

connected to #3

Closing this ticket - all the current specs have been revised and enhanced with everything currently up to date; additional specs will be added for specific features like /search specs.

Yay! :) Good work!
On Mon, May 4, 2015 at 4:24 PM, Darren L. Weber, Ph.D. <
<EMAIL_ADDRESS>wrote:

Closing this ticket - all the current specs have been revised and enhanced
with everything currently up to date; additional specs will be added for
specific features like /search specs.
—
Reply to this email directly or view it on GitHub
https://github.com/sul-dlss/triannon-client/issues/1#issuecomment-98883608
.

--
Rob Sanderson
Information Standards Advocate
Digital Library Systems and Services
Stanford, CA 94305


Add XcodeBuildToolPlugin and Directories support to SPM Plugin

Overview
This PR adds support for XcodeBuildToolPlugin and directory support to the SPM plugin.
Motivation
The motivation for adding XcodeBuildToolPlugin support is to enable the SPM plugin to be added to the Xcode Run Build Tool Plugins build phase. This will allow users to generate Swift code from proto files automatically when building their projects. The XcodeBuildToolPlugin protocol defines the interface and behavior for plugins that can be invoked by Xcode during the build process.
The motivation for adding directory support is to simplify the usage of the SPM plugin when there are multiple proto files in a directory or sub-directories. Instead of listing each proto file individually in the JSON configuration, users can specify a directory path and the plugin will recursively find all the proto files in that directory and its sub-directories. This will reduce the verbosity and complexity of the JSON configuration.
Example JSON usage
To use the directory support, users need to add a new key called protoDirectories in their JSON configuration. This can be added along with the existing protoFiles key. The value of protoDirectories should be an array of strings, each representing a directory path that contains proto files. Also, take care that the directories don't have a trailing /.
For example:
{
    "invocations": [
        {
            "protoDirectories": [
                "ProtoFiles/Feature1"
            ],
            "protoFiles": [
                "ProtoFiles/Feature2/feature.proto"
            ],
            "visibility": "internal"
        }
    ]
}

The plugin will find all the proto files in ProtoFiles/Feature1 and their sub-directories, and add them to the list of input files along with ProtoFiles/Feature2/feature.proto. Users can also give an empty string to the directories key which will be equivalent to getting all the proto files in the target root directory and its sub-directories.
There are also three additional errors added
/// Indicates that the input directory had a trailing `/`.
case invalidDirectoryFormat
/// Indicates that there was no configuration file at the required location.
case noConfigFound
/// Indicates that there was no file or directory mentioned in the json.
case noProtoSourceFound

@FranzBusch could you take a look at this, please?

Ah I see, makes sense. I was also conflicted on adding it in the plugin, but since we had many proto files adding them individually to the JSON is a pain, hence helplessly added it.
Will split it up and continue on their individual threads.

If you want to add the directory support, I would encourage you to look into adding globbing support on the SPM side. That would be a great contribution and help any SPM plugin.

Sure, that sounds interesting. However as a stopgap solution can we add something similar to this?
Initially I used a bash find process to get globbing support, but then switched over to using FileManager and added a new property on the json.

Cool, I'll close this PR and open a new one for the XcodeBuildToolPlugin alone.


Use pathinfo instead of mime_content_type

mime_content_type requires fileinfo https://www.php.net/manual/en/book.fileinfo.php
that extension might be disabled on some configurations

I am considering this PR as stale, and also came to realize using fileinfo is unfortunately better.
Relying on the file extension itself would be redundant and make the MIME check completely useless.
Since mime_content_type should check the file headers, it hopefully adds another security layer instead.


Error: The specified module could not be found<EMAIL_ADDRESS>

I got this error only on the Windows machine I've tried it on Linux (Ubuntu) in the WSL It works fine,
except for Windows, I think because it's missing the compiled binaries from @libsql\win32-x64-msvc I tried installing it manually and adding it into production dependencies using both npm and pnpm but no chance *(i rolled out on all the boring processes deleting pkg manager cache, etc...)
My Machine

OS: Windows 11
nodejs: v20.17.0
npm: 10.9.0
pnpm: 9.12.2

My stack:

NextJS *(15) and then tried 14
Turso (libsql)
Drizzle ORM
GraphQL

{
  "dependencies": {
      "@libsql/client": "^0.14.0",
      "@libsql/win32-x64-msvc": "^0.4.6",
      "drizzle-orm": "^0.35.3",
  }
}

Screenshot might help:

Honestly, I have doubts that this error is coming from the drizzle orm itself, so i drop the same issue in the drizzle GitHub repo https://github.com/drizzle-team/drizzle-orm/issues/3205

I am also facing this error,
Hey @vvhybe have you found a solution? It seems to be a problem related to libsql on win11
On win10 it works well

I am also facing this error,
Hey @vvhybe have you found a solution? It seems to be a problem related to libsql on win11 On win10 it works well

@Johnkat-Mj, you have confirmed my doubts about the problem that occurs only on WIN 11 using the libsql pkg.
because I have tried to resolve that error as you saw on the Issue I thought at first it drizzle that's caused the stack of errors and not compatible with libsql on Windows, I have tried installing the Windows compiled binaries for libsql but no chance and I couldn't find any solution, so I decided to switch all my development into Linux (Ubuntu), after I tested it on WSL and it works fine
Now you said it works fine on Win 10 I think it may have to do with something related to Win 11 or Powershell execution policy.!
If you dropped on any possible way to resolve this error inform me.


Integration of new CF-java-client library

Currently pointing to a commit id, waiting for next Millestone release.
Acceptance OK.
Coverage really down... maybe we should increase it before merging

Coverage decreased (-14.2%) to 79.814% .... :facepunch:


Update Marketplace V3 embed to display correct number of bids on English Auction listing

After creating a Marketplace V3 contract using the dashboard and submitting bids, it appears that the bids placed are not being reflected in the embedded English Auction section.
In the provided image within the embed, it clearly states that there are no bids in the auctions yet, which is not accurate:

Therefore, it is necessary to update the embed for Marketplace V3, ensuring that the number of bids on the English Auction listing is correctly updated and displayed.

thanks for the report! we'll look into this

hey @joaquim-verges @nachoiacovino, following up on this one!

hey @lakgarg, this is fixed now, you'll need to get the new embed URL from dashboard, thanks for the patience!


Add thirdparty.json

This is similar to Cesium for Unreal's ThirdParty json

Thanks @baothientran!


Fix NPE in Thrift handler on complex receiver expressions

Before NullAway would crash on code like:
if (list.get(0).isSetId()) {
  return list.get(0).getId();
}

We still don't create an access path for list.get(0).getId() but we no longer crash.

We could handle list indices in general but I don't think the complexity is worth it. The example code can pass NullAway by storing the result of the list get in a local


click service set ,don not modify anything ,click confirm ,show scale commit success

In GitLab by @cuiaq123 on Mar 23, 2018, 15:04
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

In GitLab by @liyanq528 on Nov 8, 2019, 07:48
fixed by pull request #1138

In GitLab by @cuiaq123 on Nov 8, 2019, 07:48
other related issur is 1148

In GitLab by @sokril on Nov 8, 2019, 08:20
closed

In GitLab by @sokril on Nov 8, 2019, 08:20
assigned to @liyanq528

In GitLab by @liyanq528 on Nov 12, 2019, 02:20
mentioned in merge request !851

In GitLab by @liyanq528 on Nov 13, 2019, 07:22
mentioned in merge request !486

In GitLab by @liyanq528 on Nov 13, 2019, 10:45
mentioned in merge request !701


Lablels on Student Demographics run into Title and overlap sometimes

added a bottom margin to the chart title to fix this issue.  Looks good.


Update gridfs-integration.md

Make sure you're sending PR to dev branch
Give a short description what you have changed/added and why

Thank you for contribution, and do not forget to get rid of this default message

@obiwarn
Thank you for PR, but we accepts PRs only to dev branch


⚠ Secret Website 3 has degraded performance

In 00141c5, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 16641 ms

Resolved: Secret Website 3 performance has improved in 8998f1e.


Add system clock timestamps

Ref this post on the fm.net forum by ZippyMcFunshine, consider adding an option that also adds system clock (real time) to the output format.
Might be worth considering having a YAML file that specifies the names of the columns you want written out. That provides full flexibility without requiring lots of command-line parameters.

Closed by 5bced04


Replace Homepage "hot events" with "upcoming events"

Change https://github.com/joindin/joindin-web2/blob/master/app/src/Application/ApplicationController.php#L53 from hot to upcoming
Create new copy of app/templates/Event/list-hot-events.html.twig for app/templates/Event/list-upcoming-events.html.twig

"Upcoming" isn't accurate. Recent past events are there as well. Should be "popular" maybe?

So upcoming filter includes past events? that sounds like a bug....

Sorry, misread. That's what I get for looking at this while eating lunch while looking at other things.

Sorry, misread. That's what I get for looking at this while eating lunch while looking at other things.

No worries! /me goes back to his own lunch

Hi I would like to take this issue !

@siddhantvirus you've got it!
Let me know if you need any help!

@svpernova09 I fail to understand , why does the StyleCI build fails

@siddhantvirus don't worry about StyleCI. I'll leave some comments on the PR for you though.


chore(repo): add blob-catcher to monorepo

summary

add blob-catcher to monorepo
add steps to adding a repo to monorepo to CONTRIBUTING.md

@adaki2004 We need README.md to start with...

@adaki2004 We need README.md to start with...

Isn't it good, or what kind of readme.md you want to see ?
https://github.com/taikoxyz/taiko-mono/blob/4bde8d59e01b7a99eda6c26c850e6d34f5d58fde/packages/blob-storage/README.md

I was requested to review this but don't know what I'm reviewing. @d1onys1us any context? It prints blobs out from blocks? who wrote it originally

I was requested to review this but don't know what I'm reviewing. @d1onys1us any context? It prints blobs out from blocks? who wrote it originally

Hey @cyberhorsey @mask-pp !
This subfolder includes 2 executables - i was doing it previously - a "blob-catcher" and a "server".
Blob-catcher does nothing else but listening on BlockProposed events, and if it sees a blob is used (blobUsed) inside  , then it will get the blobHash, queries lighhouse for sidecar (blobs) with blockId and constructs the blobHash from the commitment, and compares it. If it matches, it stores it into DB (MongoDB). This way we are sure we store Taiko related blobs in our DB.
Server on the other hands just tries to retrieve the blob based on blobHash(es).
This is an MvP/PoC, it works but if it does not fit into the styling, maybe it is the best if you guys do the finishing touches (logs / command line arguments, etc.) because most probably it would take me much more time. I guess it is not the highest prio (for anyone) since it is proven to be working - if config vars set correctly, currently the even hash is wron, because it has changed lately - but it is definitely working. (via the readme there is a small howto).
Please help me get this into shape, where it fits with the current go code, as i know you are the go-masters here.


ERROR: Error in rule COOK_ANNOTATION:

I got a problem shown below when i conduct the celseq2 pipeline.
shakename v 5.5.2 is installed
Some parts of the configfiles is

##Annotations##
##Where is the GTF.gz/GFF.gz/GTF/GFF file?
GFF: "/workcenters/workcenter3/chenhy/PlantSingleCellParadise/ara/maize_genome/V4/Zea_mays.B73_RefGen_v4.49.chr.gff3"
##Refer: http://htseq.readthedocs.io/en/master/count.html
##What is considered the "gene"? 'gene_name' or 'gene_id'?
FEATURE_ID: "gene_id"
##What is the content of the "gene"? Mostly 'exon'.
FEATURE_CONTENT: "exon"
##Which type of genes to report?
GENE_BIOTYPE:
- "protein_coding"

I think my key problem is "ERROR in rule COOK_ANNOTATION", but i don't know how to solve it.
[Wed Feb 24 14:03:13 2021]
[2021-02-24 14:03:13] INFO: [Wed Feb 24 14:03:13 2021]
Error in rule COOK_ANNOTATION:
[2021-02-24 14:03:13] ERROR: Error in rule COOK_ANNOTATION:
    jobid: 0
[2021-02-24 14:03:13] ERROR:     jobid: 0
    output: /home/yaoj/singlecell/celseq2_SAM+P2/result_dir/annotation/Zea_mays.B73_RefGen_v4.49.chr.pickle, /home/yaoj/singlecell/celseq2_SAM+P2/result_dir/annotation/Zea_mays.B73_RefGen_v4.49.chr.csv, _done_annotation
[2021-02-24 14:03:13] ERROR:     output: /home/yaoj/singlecell/celseq2_SAM+P2/result_dir/annotation/Zea_mays.B73_RefGen_v4.49.chr.pickle, /home/yaoj/singlecell/celseq2_SAM+P2/result_dir/annotation/Zea_mays.B73_RefGen_v4.49.chr.csv, _done_annotation

[2021-02-24 14:03:13] ERROR:
RuleException:
KeyError in line 533 of /home/yaoj/anaconda3/envs/celseq2/lib/python3.8/site-packages/celseq2/workflow/celseq2_beta.snakemake:
'gene_biotype'
  File "/home/yaoj/anaconda3/envs/celseq2/lib/python3.8/site-packages/celseq2/workflow/celseq2_beta.snakemake", line 533, in __rule_COOK_ANNOTATION
  File "/home/yaoj/anaconda3/envs/celseq2/lib/python3.8/site-packages/genometools/ensembl/annotations.py", line 254, in get_genes
  File "/home/yaoj/anaconda3/envs/celseq2/lib/python3.8/concurrent/futures/thread.py", line 57, in run
[2021-02-24 14:03:13] ERROR: RuleException:
KeyError in line 533 of /home/yaoj/anaconda3/envs/celseq2/lib/python3.8/site-packages/celseq2/workflow/celseq2_beta.snakemake:
'gene_biotype'
  File "/home/yaoj/anaconda3/envs/celseq2/lib/python3.8/site-packages/celseq2/workflow/celseq2_beta.snakemake", line 533, in __rule_COOK_ANNOTATION
  File "/home/yaoj/anaconda3/envs/celseq2/lib/python3.8/site-packages/genometools/ensembl/annotations.py", line 254, in get_genes
  File "/home/yaoj/anaconda3/envs/celseq2/lib/python3.8/concurrent/futures/thread.py", line 57, in run
Exiting because a job execution failed. Look above for error message
[2021-02-24 14:03:13] ERROR: Exiting because a job execution failed. Look above for error message
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: /home/yaoj/singlecell/celseq2_SAM+P2/.snakemake/log/2021-02-24T135609.428595.snakemake.log

and I'am sure the GFF3 file and the bowtie2 index i used is correct.

I suppose the problem is on "FEATURE_CONTENT" or the "FEATURE_ID", but I'm not sure.


Fix calculation of how to paste surrounded value

Fixes VIM-1085; includes test

Thanks for your PR!


19.1.3 released

Question
Hi,
Could you release project for devexpress xaf 19.1.3?
Thanks

Hi,
yes I am working on it, I mark this issue so the bot will notify u once in lab. It wont' be long after that for release though.

eXpand.lab release 19.1.300.1 includes commit 19.1.300.0 #401 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


[Wireframes] Governance wireframes

Here are the wireframes for the Governance section.
Active proposal list

Proposed method of ordering: First, urgent proposals. Then, SoftwareProposals. Last, General proposals. Inside each category, order by remaining days. The less remaining days, the higher.
The two progress bars are:

Yes/No ratio
All votes. The entire bar represents the total voting power. So it would give something like

Pending proposal list

Pending proposals are submitted proposals that have not reached MinDeposit
Here progress bar indicates the current deposit. The entire bar represents MinDeposit.

Closed proposal list

Proposals that have been either accepted or rejected.

New proposal

Deposit cannot be 0

Active proposal

No comment

Pending proposal

No comment

Closed proposal

No comment

Vote

User can either vote with all its voting power or vote differently for each validator it is bonded to. In any case, 1 transaction per validator as to be sent in the background.

Deposit

No comments

If you have any questions, don't hesitate! :)

Great wireframes. The functionality is clear and focused. This is basically how I imagined proposals in my head. @gamarin2 what did you have in mind with the NoWithVeto button and the yes/no bar? Should we have a third color to represent the third vote choice?
Here are a few things I thought about that aren't addressed in the wireframes:

We'll want to allow searching for proposals by ID. Users may post about specific proposals on our subreddit or forum, and we'll want to give them an easy way to find the proposal in the app.
Do pending proposals ever disappear after a while if the minDeposit is never reached? If they don't disappear, we're going to have to deal with a lot of spam proposals in the UI.
What sort of extra fee do users have to input to create an urgent proposal? It must be a significant amount or all proposals will be urgent.
What prevents users from creating Software Upgrade proposals for everything, in order to bump their proposal ahead of General Proposals?
Are we going to have a report spam/abuse button for each proposal? If so, will there be a threshold of votes required before the proposal is flagged for deletion? Or does voting No NoWithVeto satisfy that function?

Thanks @nylira, great feedback!
For the NoWithVeto button, we have two choices. Basically what the NoWithVeto button does is cast a No Vote but also adds a Veto Vote. So it counts towards the No bar but if more than 33% of people vote NoWithVeto the proposal will be Vetoed. We have two ways of representing this:

Yes/No bar + Veto bar (i.e. 3 bars in total)
Yes/No/NoWithVeto bar. I.e. third color in the Yes/No bar (maybe the No bar is light red and dark red to represent No and NoWithVeto respectively)

I think I would favour option 2 to avoid bars overload.
Now for the rest of your points:

We'll want to allow searching for proposals by ID. Users may post about specific proposals on our subreddit or forum, and we'll want to give them an easy way to find the proposal in the app.

100% agree

Do pending proposals ever disappear after a while if the minDeposit is never reached? If they don't disappear, we're going to have to deal with a lot of spam proposals in the UI.

Yes, if they stay for longer than MaxDepositPeriod they get removed.

What sort of extra fee do users have to input to create an urgent proposal? It must be a significant amount or all proposals will be urgent.

No Extra Fee. The way I would prevent people from abusing Urgent flag is to add a 5th vote option on urgent proposal (Not Urgent). In the background it would cast a NoWithVeto vote. If more than 33% of voters vote Not Urgent, proposal will be rejected and submitter will loose its deposit.

What prevents users from creating Software Upgrade proposals for everything, in order to bump their proposal ahead of General Proposals?

I expect people to vote No or NoWithVeto if the proposal was submitted as Software Upgrade and was General. Then submitter would loose its deposit. Maybe we could add a hint somewhere to indicate that people should vote No or NoWithVeto if submitter used wrong type?

Are we going to have a report spam/abuse button for each proposal? If so, will there be a threshold of votes required before the proposal is flagged for deletion? Or does voting No NoWithVeto satisfy that function?

Re: Previous point. It could be interesting, but people could just vote No or NoWithVeto. Maybe just add hint that if proposal is spam/not urgent/wrong type then people should vote No or NoWithVeto. Then submitter will loose deposit.

@faboweb I think I said that were weren't allowing proposal creation in the UI in the meeting yesterday. I forgot to check these wireframes -- it appears that we are allowing proposals to be created in the UI. Whoops!

Thank you for the update!

Closing as @jbibla already did the final wireframes for the governance2 milestone. For further feature proposals please add comments there


Initial impressions/questions: Default FAQ, ssh urls,

I am going through the https://web.gin.g-node.org/G-Node/Info/wiki/InHouseWithoutDocker . Thank you for the nice documentation -- it seems has worked out for me quite splendidly!  Here I want to outline a few points which I have observed and which you might (or might not) want to address or just explain (decided not to separate into separate issues for now, added empty checkboxes to signal "something to address").  Some issues might relate more to upstream gogs .

[ ] There is no default FAQ page (http://localhost:3000/G-Node/Info/wiki/FaqTroubleshooting gives 404 page)
[ ] no options to initialize git-annex while creating a repo In above FAQ I was hoping to find on how to initialize "git annex" repository.  I could not find an obvious setting somewhere while initializing a new repo or after to invoke "git annex init" on the server side.  If such settings group existed (during creation) would be nice to be able to state desired backend for the annex (e.g. MD5) to partially mitigate those problems under windows. E.g. in datalad, by default, we just now use md5 backend:

$> datalad create /tmp/test; cat /tmp/test/.gitattributes
[INFO   ] Creating a new annex repo at /tmp/test
create(ok): /tmp/test (dataset)
* annex.backend=MD5E

which should be sufficient for any scientific needs.

[ ] incomplete ssh urls I have configured to not use builtin ssh.  ssh urls provided by web interface "aren't complete" and rely on ssh account having entering the shell at the level of ~/gogs-repositories.  I guess, whenever no internal ssh server is configured, I guess ssh urls need to be adjusted to reflect that .   Anyways, I guess I better need to try the deployment with builtin ssh server, since I guess otherwise no multiple users would be able to push data
[ ] http://... does not support git-annex  I "git annex init"ed server side repo by adding an ssh remote, and letting git annex sync to init it, which doesn't work since

[Macaron] 2018-01-23 11:15:16: Started GET /yarikoptic/test1.git/config for [::1]
[Macaron] 2018-01-23 11:15:16: Completed GET /yarikoptic/test1.git/config 404 Not Found in 4.42299ms

i.e. git-annex trying to access that /config but it is not "interfaced" by the http/web interface.  I wondered if it might become sufficient to make /config provided for git-annex so it could deduce uuid of that remote repo and request content straight via http?
I guess some of those issues are addressed via custom handling in gin cmdline client, but I thought it might be nice if GIN could work via native "git-annex" commands
If no objections, I will keep adding notes here as I go along. And please take those above points not as a critic of some kind, and just as my humble attempt on feedback to make GIN even better ;)

Hi, I'm just starting with data versioning (having been a long time git user for code) and I like what I see in both gin and datalad. Out of the data curation systems I've seen, I think these are on the cutting edge and are fundamentally the right thing. I thought I'd leave some first impressions of my own here, I hope that's ok!
A big problem I have is to allow both power users and non-technical users collaborate on the same dataset. This is really hard but I hope might be doable with a combination of datalad and gin for each of these user groups respectively. In particular, gin-cli and gin/gogs seem tantalizingly close to being simple enough for the average user. I'm considering making a GUI to complement gin-cli for this purpose.
So, first impression of gin-cli and g-node/gogs is that you've really put effort into making the model simple, but building on powerful tools in the backend. This is great.
First impression of datalad is that it's tackling some ambitious and difficult problems on the power user side which I'd also like a story for: efficient nested datasets, data provenance, metadata extraction and search. And doing a really good job of creating a sensible model for these. (But I won't go on further about that, as this is a g-node repository.)
Back to g-node/gogs - I've run a test instance of this and it seems to work quite well. However, on a practical level we probably need OpenID connect so people can log in using ORCID or other identities. From that point of view I'm considering trying a plain gitea instance (with patch for git-annex support) and seeing whether that's usable. Overall the development velocity at gitea looks higher than gogs at this stage - have you considered porting your work there, and whether it's vaguely doable in a reasonable time?
Overall I really like these where these projects are going. Thanks for making them.
CC @aswinnarayanan

@c42f you should also try datalad run whenever you run anything ;)
I didn't know about gitea.  So there is some "pending"/circulating patch for git-annex support there?

Regarding gitea - yes there's a pending patch for git-annex support, see https://github.com/go-gitea/gitea/pull/3786. We haven't tried it with gin or datalad yet, but it looks like it's mainly held up by issues with the testing harness.

Hi Chris,
Thanks for reaching out. We very much appreciate the feedback!

A big problem I have is to allow both power users and non-technical users collaborate on the same dataset. This is really hard but I hope might be doable with a combination of datalad and gin for each of these user groups respectively. In particular, gin-cli and gin/gogs seem tantalizingly close to being simple enough for the average user. I'm considering making a GUI to complement gin-cli for this purpose.

This was a big part of the goal for gin-cli and GIN in general. We really want to provide a service that's friendly to the average user without limiting the power user. It's a very common goal for code and data management software and I'm sure we've all seen hundreds of examples of projects trying to strike this balance, to varying degrees of success. I've come to greatly appreciate the difficulty of this a lot more than I used to.

I'm considering making a GUI to complement gin-cli for this purpose.

We recently had a GUI frontend developed for Windows that has yet to see a proper release. It supports the core operations (clone, push, pull) which is what we wanted for an initial release. It's in a state where we need to test it more thoroughly before sending it out into the world.
https://github.com/G-Node/GinUI
If you're considering a cross-platform or Linux GUI, let us know how you're thinking about it. I don't want to promise too much, but there's a plan in place to split out a lot of the internals of gin-cli into a client library which more projects can use. Even in the current state however, the gin-cli is mostly written to accommodate this and I've been planning to look into exporting these internals for use in C code, so something like a GUI can just be built as a shell around the gin-cli internals (instead of shelling out for instance). If you were to start thinking about this, I'd certainly see if I could move this plan ahead a bit faster.

So, first impression of gin-cli and g-node/gogs is that you've really put effort into making the model simple, but building on powerful tools in the backend. This is great.

That's great to hear. Thanks!

Back to g-node/gogs - I've run a test instance of this and it seems to work quite well. However, on a practical level we probably need OpenID connect so people can log in using ORCID or other identities. From that point of view I'm considering trying a plain gitea instance (with patch for git-annex support) and seeing whether that's usable. Overall the development velocity at gitea looks higher than gogs at this stage - have you considered porting your work there, and whether it's vaguely doable in a reasonable time?

We haven't considered gitea. Would be interesting to see how far it's been forked from gogs and what's been added since.

Overall I really like these where these projects are going. Thanks for making them.

Thanks again for checking it out and all the feedback and comments!

We recently had a GUI frontend developed for Windows [...]

This is great news and exactly what I was looking for. I hadn't thought it through thoroughly, but my thoughts were split between:

A cross platform GUI, probably based on the go Qt wrapper, vs
Native windows explorer integration - ideal for the local end users.

Naturally I was expecting to base any GUI work off gin-cli as a backend. I think leaving linux desktop users to the gin command line would be fine for now.
Anyway, I should check out GinUI, I'm not sure how I missed that.

Anyway, I should check out GinUI, I'm not sure how I missed that.

It's pretty easy to miss, I guess. We haven't properly announced it yet and it's not mentioned anywhere in the docs. That should be changing soon.


IAsyncCollector usage when posting to output binding during processing

We've got a use case where as the Function processes we want to be sending messages to the output binding. Previously, calling AddAsync on an IAsyncCollector at the point where we want to send the message did this work.
However, in the OOP model, I'm only seeing the capability to "send a batch" as part of Function completion ( #317 ) which isn't equivalent to what we had previously.
Is there a way to accomplish this in OOP? If not, do we have any guidance here?

There's no support for something like this with the OOP model today. This is the same limitation we have with other OOP languages as it is currently a host limitation.
The only guidance we can provide at this point is to make direct use of the SDKs, but this is something we're tracking as a future enhancement in the host.

Closing as answered.


The set-env command is disabled

I've begun getting this error on my repo:
Switching Xcode to version '11.5'...
Error: Unable to process command '::set-env name=MD_APPLE_SDK_ROOT::/Applications/Xcode_11.5.app' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Link - https://github.com/igor-makarov/RxReactiveObjC/runs/1411206039
I understand that I can opt into the old behavior, but I'd rather not, as there are known vulnerabilities in that approach.
Thanks for your help!

Hello @igor-makarov !
This issue is already fixed in latest version of setup-xcode action.
Could you please update your YAML to use maxim-lobanov/setup-xcode@v1 instead of<EMAIL_ADDRESS>

Thank you!


vanquish some of that callback hell... people are watching

Ok, the prototype worked. Time we grown-up this a little.... :)

All Promises now...


Input voltage is not accurate in show stats

Hello again. This might not be related to this project, but I want to ask you if you don't know why is this happening. The voltage shown in "show stats" is way lower than the voltage that I am measuring with my multimeter. I have a NodeMCU v2 with AMS1117 buck converter on board. For power, i'm using regular USB 5V. At the output of the regulator I'm measuring 3.3V. But in "show stats", it's showing a voltage around 2.7V. I also noticed that if I do "show stats" right after the ESP boots, it shows 3.3V for a while but then the voltage slowly goes down to 2.7V.
Then I tried using a 7.4V Li-Ion battery that I know can output huge amount of current (used it in an RC car) and a voltage from 8.4V to 6V, but it's all the same, 2.7V in "show stats". Pretty much the only thing that started happening is that the voltage regulator is heating up.
Ofcourse I also tried to power the ESP directly with the 3.3V input of the NodeMCU, nothing changed.
So another question is, what voltage should I type in "set vmin voltage" when the voltage that it sees is pretty much always 2.7V? (and while using a lipol battery)

Actually, I am just using what the system_get_vdd33() function tells me...
There is some voodoo with the 107th byte of in esp_init_data_default.bin (named vdd33_const):
The SDK docs says:
Details of the [107] byte vdd33_const are as follows:

If the [107] byte = 0XFF, VDD33 is measured internally, TOUT pin cannot work as ADC input.
When the valid value range of the [107] byte vdd33_const is [18, 36], the unit is 0.1V, and the value should be set as the real power voltage of VDD33 to optimize the RF working condition. TOUT pin can work as ADC input.
When the [107] byte vdd33_const is in the range of (0, 18) or (36, 255), the default 3.3V will be used as the power voltage to optimize the RF working condition. TOUT pin can work as ADC input.

In the default esp_init_data_default.bin that I have linked in the docs this value is set to 0x00. I tried to change it to 0xff. I don't really see a difference on my test Wemos D1...
The measurement does make sense anyway only if you are connected directly to the battery. Did that for an ESP01 board connected directly via a diode to a LiPo and here I can see the voltage going down over time.
If you have a converter in between (like on the Wemos or the NodeMCU), the system_get_vdd33() will always tell you the constant output of that converter. Then it would probably a good idea to leave [107] byte = 0X00, connect the ADC via a voltage divider to the battery and use system_adc_read() instead.

Thank you.
Now I tried connecting a Li-Pol battery charged to 3.8V to the ESP8266 directly (no converter in between), did "show stats", showed me wrong voltage..
I tried to charge the battery fully to 4.2V, connected it to esp (directly!), did "show stats" and now the voltage is 2.4V.
What voltages are you seeing in "show stats"? Are they normal (4.2V~3.0V), or are they like mine (~2.7V)?

On a plain ESP-01 I get 3,1 - 2,7 V slowly lowering when connected to a LiPo via a Si-diode: Somewhat realistic given that the diode drops around 0,7 V. On the Wemos D1 powered with the normal USB I get about 2,7 all the time.
Did you try the "107th Byte voodo"? Did you try measurements with other programs (e.g. Arduino code)?

I did not try that "107th byte voodoo". I don't even know how to edit that byte lol. But I could try to write that program which measures the input voltage.

And that 2.7V while powered via USB... I measured the output of my converter while powered via USB, and I measured perfect 3.3V.

Added a version of esp_init_data with the FF set in the firmware directory.

I just made that file myself (0xFF on 107th byte) and you uploaded another one, that is completely the same. Got a hex editor, edited that 107th byte to 0xFF and uploaded it to the ESP. I'm sorry, but that didn't work. Not my .bin, not even your .bin.

Any other result when you measure the voltage with another program?

Yeah, I made some code that reads the Vcc voltage and sends it to the serial monitor. The ESP was not transmitting any WiFi signals. I powered the ESP with USB, opened a serial monitor and it shown 2.990V. The real input voltage was once again 3.3V.


Allow External XML Schema for Request and Response Content

I think it could be very useful to allow references to external XML Schemas for the Request and Response.
Something like:
requestBody:
        content:
          application/xml:
            schema:
              externalXmlRef: 'https://schema.org/someSchema.xsd'

There are a lot of XML Schemas that are used. And converting them into OpenAPI component models is tedious if done manually. Even with a tool to automate this process, you can end up with the OpenAPI schema and the XML Schema out of sync. I think the OpenAPI community would benefit a lot from this addition.
(I apologize if this is not the appropriate place to post this.)

I found this was already an open issue just didn't google the right thing. Sorry to duplicate an issue.


balancing end-game power goals

How about the fusion reactor from mekanism requires the draconic evolution reactor (maybe in the fusion crafting and make tons of rf to transform it to a controller) and the infinite rf cube requires filled capacitors instead of empty ones? that would incentivate the generation of power in bulk, instead of just the crafting of it.

unfortunately the table isnt properly recognizing the nbt on the capacitors, they should be requiring filled buts its bugged :/
As far as the chaos reactor... yeah, might do that, it wasnt in when the recipe was originally added.

then replace the capacitors with someting that requires a lot of power to make in the first place, like the core of the draconic reactor

also the brew of infinity seems a little bit cheap, would you like to make it crafteable with high end pams harvestcraft food, so it incentivates the use of pams?

dimishing returns still apply from spice of life, also requires a dire table to even make and isnt automatable, I could throw some pams foods in there but meh :p


Dash. Shows protocol downgrade, even within relative LAN

Description
My usage environment is home, there is a dash. I need to use this function to monitor another machine, they are in the same LAN. When accessing homarr in https, I encountered some problems, it said "Detected protocol downgrade
The connection to your Dash. instance is using HTTP. This is a security risk, because HTTP is unencrypted and attackers could abuse this connection. Make sure that Dash. is using HTTPS, or downgrade Homarr to HTTP (not recommended)." I filled in http://<IP_ADDRESS>:3001/, I think I don't need to use https, I'm just a LAN, I don't want to expose this machine to the internet, and I haven't found a switch that can mix https and http. Why not?
Priority
Medium (Would be very useful)

Because it's not possible. All modern browsers block embeds that are HTTP on HTTPS websites. We implemented this warning because many people were complaining that their browser didn't show anything. The error message is self explanatory:

You need either to downgrade Homarr. Then your traffic will be unencrypted
Or use HTTPS for Dash.

Closing due to inactivity. Please reopen if further help is needed.


setState is called synchronously from event handler

I have the following component:
class MyInput extends React.Component {
  state = {
    value: '',
  };

  render() {
    return (
      <input
        onChange={(e) => {
          this.setState({value: e.target.value});
          this.props.onChange(e);
        }}
        type="text"
      />
    );
  }
}

My test is as follows:
it('calls onChange before the internal state updates', () => {
  const wrapper = mount(
    <MyInput
      onChange={(e) => {
        // This assertion passes as expected.
        expect(e.target.value).to.equal('a');

        // This assertion fails with a value of 'a', but should pass.
        expect(wrapper.instance().state.value).to.equal('');
      }}
    />
  );

  wrapper.find('input').prop('onChange')({target: {value: 'a'}});
});

Current behavior
Enzyme seems to process setState synchronously, so the internal state of the component updates before onChange is called. If I move onChange to be before setState, then state.value is ''.
Expected behavior
In this case, setState is asynchronous, so this.props.onChange should be called before the internal state is updated whether the onChange call is before or after the setState call. When I test the behavior in a browser, that's what happens:
<MyInput
  onChange={(e) => {
    // The following values will not be the same.
    console.log(e.target.value);
    console.log(this._input.state.value);
  }}
  ref={(el) => this._input = el}
/>

Your environment
Webpack/Karma/Mocha/Chai/Enzyme
API

[x] mount

Version

library
version

Enzyme
3.3.0

React
16.3.1

Adapter

[x] enzyme-adapter-react-16

setState may be asynchronous.
https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous
I would say in this case enzyme works as expected.

In this case setState is asynchronous (as demonstrated in the real-world example), but Enzyme treats it as strictly synchronous (as demonstrated by moving the position of the onChange call). That seems wrong.

@ericgio you should move the this.props.onChange call into a setState callback if you want to be 100% sure that it's dispatched after the state has updated.
onChange={e => {
  this.setState({ value: e.target.value }, () => {
    this.props.onChange(this.state.value);
  }

React doesn't make any explicit guarantees about when setState may or may not be asynchronous, so it's important not to rely on it one way or the other.
It might still make sense to make Enzyme consistent here, but ultimately your code shouldn't depend on this behavior.

If React 16.3 changed this to always be async, then that's a change we should make, but I agree with https://github.com/airbnb/enzyme/issues/1608#issuecomment-379896758

you should move the this.props.onChange call into a setState callback if you want to be 100% sure that it's dispatched after the state has updated

@aweary: yup, that's exactly what I'm doing :) The reason I'm raising the issue is that I wanted to write the test first, but couldn't get it to fail as expected.

@ljharb setState can still be synchronous in some cases. For example, if you call setState from some async callback outside React's lifecycle method, like setTimeout or an event listener setup manually (example). I'm not sure if this will remain synchronous though, could just be an implementation detail.
I think async-by-default is probably the best strategy.

@aweary from other perspective setState is usually synchronous (at least in 16.2) when used in usual react lifecycle (from componentWillReceiveProps). Since it is may be asynchronous in react docs I would say synchronous implementation is better.

Why does Enzyme make decisions about how setState is processed in the first place?
(I don't have a deep understanding about how either Enzyme or the React test environment is implemented, so sorry if that's a naive question)

How do you expect it to be implemented?
In React docs it is said that state may be updated async, which to my mind means that usually is it being updated syncronously. Enzyme does it in this usual and expected way.
Should it be like Math.random() > 0.5 ? doSync() : doAsync()? 😃

@atsikov: You make it sound as though async updates to state are somehow uncommon, which is not true at all. The case in my original post (updating state from an event handler) is pretty common. Also, your assertion that it is synchronous in componentWillReceiveProps is wrong, since state is updated later in the lifecycle:
class MyComponent extends React.Component {
  state = {
    foo: '',
  };

  componentWillReceiveProps(nextProps) {
    console.log(this.state.foo); // ''
    this.setState({foo: 'bar'});
    console.log(this.state.foo); // ''
  }

  componentDidUpdate(prevProps, prevState) {
    console.log(prevState.foo);  // ''
    console.log(this.state.foo); // 'bar'
  }

  ...
}

How do you expect it to be implemented?

I would expect Enzyme not to have an opinion about it and simply let React do its thing.

@ericgio enzyme has to have an opinion about it, in order to be able to provide the hooks that it does, and provide adapter interfaces to multiple react versions, or to alternative frameworks.
@aweary what do you recommend be done here?

Maybe there should be some methods that simulates "business" of internal dispatcher. Today I found a bug caused by usage this.state instead of prevState from callback, it is extremely hard to reproduce it in unit test because of synchronous execution of setState.


Update cross-site-scripting.md

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@geeeyetee  thanks


WIP: document operator configuration parameters.

Coverage remained the same at 11.18% when pulling 3c05b3bf5e1dea23ab768f7e14cd8d2cecf8301a on docs/operator_parameter_reference into 6ee0349536659d1ea9d3e4d473fe1977797d7b8b on master.

👍

:+1:

:+1:


[Feature Request] Hide unused addresses in dashboard + remove button

Describe the bug
Users are currently able to add "x" addresses in the "Options" tab, but are unable to remove them unless they clear the cache of the wallet.
These addresses will also show up in the "Dashboard" tab, which the user is unable to hide if they want.
To Reproduce
Steps to reproduce the behavior:

Go to "Options" tab
Click on 'add x addresses'
See error

Expected behavior
The ability to remove/hide addresses at will.
Actual behavior
Missing feature.
Workaround
Clearing the cache of the wallet.
Screenshots
"Options" tab

"Dashboard" tab

Desktop (please complete the following information):

OS: Windows 10
Syrius Version: 0.1.0
Commit hash: 267950f338f385273235683c5ae3c78cb06d4cd8

Additional context
N/A
Bounty program
N/A

BIP44 account usage recommendation.

Software should prevent a creation of an account if a previous account does not have a transaction history (meaning none of its addresses have been used before).
Software needs to discover all used accounts after importing the seed from an external source. Such an algorithm is described in "Account discovery" chapter.

Syrius v0.2.1 allows multiple account creation without having transaction history and does not have account discovery. In that regard it violates the recommendation.
The Ledger Live application combines both. It uses account discovery to select unused/used accounts to add. Depending on the chain, it also allows to filter on chain specifics like Native Segwit only addresses. Once an account is added, it can be removed or added to a favorites list.
Something similar could be done for syrius. Adding accounts will open an account discovery dialog in which one could traverse the account indexes until a suiteable account is found to be added to the active accounts.
Account discovery can also be used to quickly recover any used addresses or addresses with funds when doing a clean install or after a cache reset.


Allow (custom) extensions to be used

This adds an extensions configuration property that allows specifying which extensions to use.

Doesn't look like those failures are related.

I'm very late, but I really appreciate the addition. Thank you!


test failure on s390x.

Debian CI disocvered that your crate has a test failure on s390x. I was able to log in to a Debian porterbox and reproduce the issue with the latest git version.
---- operations::test::test_add_length stdout ----
thread 'operations::test::test_add_length' panicked at 'assertion failed: `(left == right)`
  left: `18446744073709551614`,
 right: `18446744073709551615`', src/operations.rs:369:9
stack backtrace:
   0: rust_begin_unwind
             at /usr/src/rustc-1.70.0/library/std/src/panicking.rs:578:5
   1: core::panicking::panic_fmt
             at /usr/src/rustc-1.70.0/library/core/src/panicking.rs:67:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /usr/src/rustc-1.70.0/library/core/src/panicking.rs:228:5
   4: ahash::operations::test::test_add_length
             at ./src/operations.rs:369:9
   5: ahash::operations::test::test_add_length::{{closure}}
             at ./src/operations.rs:366:26
   6: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5
   7: core::ops::function::FnOnce::call_once
             at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5

I would guess this is an endian issue somewhere but I'm not sure exactly where.
Any advice?

Duplicate of #152


feat: easier and more flexible loading of sqlite extensions

Using sqlite extensions in a Rails app is currently a bit tricky.
Assuming you can figure out how to compile it, where do you put the extension on disk? If it's provided by a gem, how do you get a reliable path that works robustly across environments and upgrades?
Do you monkeypatch the sqlite3 adapter to call #load_extension, or do you explicitly inject the extension yourself before any query that needs it?
Using sqlite extensions shouldn't be this hard.
The goal of this PR is to enable injection of sqlite extensions by specifying the name of a Ruby constant in a Rails database config:
development:
  adapter: sqlite3
  database: storage/development.sqlite3
  extensions:
    - SQLean::Crypto

0. Establishing a packaging convention
Over this past weekend, I packaged up the https://github.com/nalgeon/sqlean/ extensions as a Ruby gem: https://github.com/flavorjones/sqlean-ruby
The gem offers a set of modules that simply return the filesystem path of the extension files. Each module implements this interface, which I'll call _ExtensionSpecifier:
interface _ExtensionSpecifier
  def to_path: () → String
end

So, for example, on my machine:
SQLean::Crypto.to_path
=> "/home/flavorjones/.../ruby/3.3.6/lib/ruby/gems/3.3.0/gems/sqlean-0.2.0-x86_64-linux-gnu/lib/sqlean/dist/x86_64-linux-gnu/crypto"

which means I can load the extension like so:
db = SQLite3::Database.new(":memory:")
db.enable_load_extension(true)
db.load_extension(SQLean::Crypto.to_path)

I think this is a reasonable self-describing pattern for an extensions gem to offer.
1. Database#load_extension contract
Database#load_extension now supports _ExtensionSpecifier in addition to filesystem paths.
When passed an object that responds to #to_path, that method's return value is used as the filesystem path for the extension, allowing a terser calling convention than above:
db.load_extension(SQLean::Crypto)

2. Database#new supports extensions:
Database#new supports an extensions: keyword argument which accepts:

String filesystem path
_ExtensionSpecifier object
the name of a constant that is an _ExtensionSpecifier

This last feature, the name of a constant, looks like this when called directly:
Database.new(":memory:", extensions: ["SQLean::Crypto"])

but more interestingly is what allows injection of extensions in a Rails database config.
3. The result
In a sample Rails app I've got that uses the sqlean gem:
development:
  primary:
    adapter: sqlite3
    extensions:
      - SQLean::Crypto

And it just works:
$ bin/rails c
>> User.connection.execute("select hex(crypto_blake3('abc'))")
   (3.9ms)  select hex(crypto_blake3('abc'))
=> [{"hex(crypto_blake3('abc'))"=>"6437B3AC38465133FFB63B75273A8DB548C558465D79DB03FD359C6CD5BD9D85"}]

When passed an object that responds to #sqlite_extension_path, that method's return value is used as the filesystem path for the extension, allowing a terser calling convention than above:

What about using the method #to_path instead?  Then it could work with these modules or a Path object?

the name of a constant that is an _ExtensionSpecifier

Unsure if I like this.  I don't know if I like that SQLite gets in to the business of knowing how to constantize things.  I feel this should be a responsibility of the Rails SQLite adapter layer rather than the SQLite gem itself.
I could see something like:
Database.new(":memory:", extensions: [SQLean::Crypto])

Is there a particular use case where we would want to support strings in the extensions array outside of Rails?

@tenderlove Thanks for the feedback!

What about using the method #to_path instead? Then it could work with these modules or a Path object?

Oh, that's a better idea. I'll switch it up.

I feel this should be a responsibility of the Rails SQLite adapter layer rather than the SQLite gem itself.

I don't disagree? But the Rails sqlite adapter is currently just shoveling the ActiveRecord::DatabaseConfigurations::HashConfig hash to SQLite3::Database.new with very little modification or sanity-checking. I actually started adding the const_get code to the sqlite adapter and it felt weird treating this one value so differently from the rest of the config.
Doing it in Rails also limits the use of SQLite extensions to Rails 8.1+, which might be the best reason to do it in this gem.

Is there a particular use case where we would want to support strings in the extensions array outside of Rails?

Not that I know of, beyond perhaps other web frameworks with the same problem space.

Updated to use #to_path instead of #sqlite_extension_path.

@tenderlove Thanks again for the feedback. I've removed constantization from this PR since I can point people at https://fractaledmind.github.io/2023/12/24/enhancing-rails-installing-extensions/ for an explanation of how to load extensions in a Rails app.
I'll submit a PR to Rails for constantizing the database config extension strings.


Error when inserting Geometry column with PostGIS

System information:

Operating system (distribution) and version: Ubuntu 19.04
DBeaver version: 6.0.4

Connection specification:

Database name and version: Postgresql 9.6 with PostGIS
Driver name: JDBC

Describe the problem you're observing:
Trying to insert a new Geography value results in the following error:
SQL Error [22023]: ERROR: Geometry SRID (0) does not match column SRID (4326)
If I add the SRID to the WKT representation, like: SRID=4326;POINT (-19 11.1):
Error synchronizing data with database
Reason:
org.postgis.PGgeometry.<init>(org.locationtech.jts.geom.Geometry)

I can insert values without using DBeaver just fine. Also I can update existing entries. The error only occurs when trying to insert a new row, even if I duplicate an existing row with a Geography value.
In previous versions of DBeaver I could insert data using WKT like SRID=4326;POINT (0 1), but after updating to 6.0.4 I can't.

Thanks for the bug report

verified


Static imports possible?

Not really an issue, but I was wondering, if its possible to easily import custom mibs in a static way.
Dynamic imports are a pain for the distribution process I'm forced to use.

No easy way, I can think of... What are your constraints? Could you rename and patch those MIBs?

I'm distributing via pex and this doesn't play well with dynamic imports.
I can rename and patch all necessary stuff.


About achieving maximum parallelism in plugins builds

#1 was the success attempt to refactor convention plugins from inheritance way of thinking to composite way of thinking
A further improvement is to achieve maximum parallelism where each convention plugin is one submodule in gradles/plugins,
(make sure org.gradle.parallel=true is in gradle.properties) but then this introduces very high management overhead.
FYI, includeBuild("gradles/plugins") from root settings.gradle.kts will force each module in gradles/plugins to be built as :jar before building the main build, but with caching, most of them should be UP-TO-DATE. Only modules that have changes AND modules that depends on these changed modules will be recompiled, so we want to eliminate the number of recompiled convention plugins but putting each convention plugin to its own submodule in gradles/plugins

Let's try it on a new branch


README uses old versions of devise-invitable

gem 'devise',           '>= 2.0.0'
gem 'devise_invitable', '~> 1.3.4'

The README file lists old versions of devise_invitable and devise. Is there a reason for this or should the README be updated with the latest stable versions?

Elsewhere in the documentation it says something about being updated to work with the latest version of devise so I suspect that's an oversight and should be updated.


wunderline add crashes

Hello,
I'm working with wunderline. It works fine. Except the "add" command crashes with the following error statement. I tried also on a raspberry pi. With the same error.
Output in Windows 7:
C:\Users\aj>wunderline add Hello
C:\Users\aj\AppData\Roaming\npm\node_modules\wunderline\wunderline-add.js:146
stdin().then(data => {
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
C:\Users\aj>
Do you have an idea?

Which version of node are you running?

Thank you, that's the solution. I update node to v5.1.0 and everything is ok!

You're welcome :)


Add support to icon labels

I changed the template to accept HTML code instead of text at the labels.
I would like to commit my changes.

I did a pull request with the changes


when node-agent is deployed first time,it occured a bug

What happened:
When the node-agent service is deployed for the first time the /host-path directory does not contain the node-agent file, therefore an error will be reported.

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Kosmos version:
Others:

/assign @village-way


Improve ContributorThumbnail design implementation

Overview
Currently, ContributorThumbnail yields a component that does not quite match the design. It needs to be improved to have our 'white' background throughout, match border color and style, and have proper dimensions and the correct font.
Compare these three images:
(current)

(designed)

(designed, contributors)

Action Items

[ ] Refactor ContributorThumbnail.js to match the design.
[ ] An organization that has cti_contributor = true shows a blue globe icon, as well.

Resources/Instructions
Figma link to typical contributor thumbnail: https://www.figma.com/file/EFoSuj1b9G4aZ7bN8OX8tf/CivicTechIndex-Master-Design-File?node-id=8843%3A52950

Working In Progress.

@chalimar we need or ux to come up with an image icon for orgs that don’t have one

Hi @Travisliang001 I noticed on the site that Anchorage has a strange image of a man's head. Can you confirm where you are obtaining the org logos from? Django has updated logo images that the PM team updated, and the Anchorage logo in Django isn't of a man's head.

Pull Request #678 did not finalize the implementation of the ContributorThumbnail. It still does not match the design in Figma.


[google_sign_in] Desktop support

Use case

It would be nice if you could add sign in for Desktop Support too.
I could not find anything else how i can login into my Google account without this plugin.
Proposal

Login into Google Accounts on Desktop Platform.
Does not need to be a "Select your account" Popup. Could also be just helper methods, if user fills a Form with his Google credentials to send them to Google and authenticate.

@Y0ngg4n
There are couple of open requests for Linux and macOS desktop support for the plugin.
https://github.com/flutter/flutter/issues/61831
https://github.com/flutter/flutter/issues/46157
Please follow-up in them for further updates.
Closing this as duplicate.


How do I filter module and global CSS and SCSS files?

plugins: [
  // do module.scss/css first
  sassPlugin({
    filter: /.module.(s[ac]ss|css)$/,
    type: 'style',
    transform: postcssModules({
        // ...put here the options for postcss-modules: https://github.com/madyankin/postcss-modules
    })
  }),
  // do scss/css second
  sassPlugin({
    filter: /.(s[ac]ss|css)$/,
    type: 'style'
  })
];

This is what I'm doing right now we have the following files.

foo.css // global
bar.scss // global
foo.module.css // local CSS module
bar.module.scss // local CSS module

yes @rodoabad that's the intended usage... did you run in any issues?
NOTE you can simply use .s?css$ in your cases by the way

@glromeo one of the problems that I have is, if ever the order is switched, then it's going to give an error.
        plugins: [
            sassPlugin({
                filter: /.s?css$/,
                type: 'style'
            }),
            sassPlugin({
                filter: /.module.s?css$/,
                type: 'style',
                transform: postcssModules({})
            }),
        ],

✘ [ERROR] No matching export in "sass-plugin-0:/Users/Development/component-library/esm/foo.module.scss" for import "default"

    esm/index.tsx:3:7:
      3 │ import styles from './foo.module.scss';
        ╵        ~~~~~~

✘ [ERROR] No matching export in "sass-plugin-0:/Users/Development/component-library/esm/bar.module.css" for import "default"

    esm/index.tsx:4:7:
      4 │ import css from './bar.module.css';
        ╵        ~~~

yes that's intentional, esbuild checks the plugins in the order they are listed by testing the filter regexp so the plugin with the most specific regexp (the module one in your case) has to come before the one with the less specific regexp.

Thanks, for clearing that up. Looks like I have to specific.
            sassPlugin({
                filter: /.module.s?css$/,
                type: 'style',
                transform: postcssModules({})
            }),
            sassPlugin({
                filter: /^(?!.*.module.scss$).*.scss$/,
                type: 'style'
            }),

Just getting this error right now.
Error: [sass-plugin] "onResolve" filter is not a valid Go regular expression: "^(?!.*.module.scss$).*.scss$"

You don't have to go to the extent of providing mutually exclusive regexps...
this:
plugins: [
            sassPlugin({
                filter: /\.module\.s?css$/,
                type: 'style',
                transform: postcssModules({})
            }),
            sassPlugin({
                filter: /\.s?css$/,
                type: 'style'
            }),
        ],

should work because the first regexp is more specific than the second, if it doesn't then we have a problem 😅

@glromeo oh. Well I was. thinking more of it being safer? So that if ever someone switches the two then it still works.

I wouldn't try to achieve that... you can but at the cost of added complexity (...and making the build slower). Although being safe is a nice have code is code...be it in your app or your build scripts it is meant to be handled with care!
I am going to close this issue leaving a reference to it in the documentation hoping that it helps clarify this topic to other people approaching the plugin. Thank you for raising it!


seccomp profile not works for syscalls 435 439

What happened:
The syscalls in the seccomp did not be allowed to use in pod.
We are using playwright to crawl website and I followed the instruction, to create seccomp profile and apply to the pod.
It works in our legacy environment
AWS Region: us-west-2
Kubernetes Version: 1.21
EKS Version: eks.20
Instance Type: r5.large
AMI: amazon-eks-node-1.21-v20220406
After upgraded the cluster to 1.27 and amazon-eks-node-1.27-v20230816 AMI, there are three types of syscalls show in audit.log
type=SECCOMP msg=audit(1692609701.878:800): auid=4294967295 uid=1001 gid=1001 ses=4294967295 pid=768 comm="node" exe="/venv/lib/python3.10/site-packages/playwright/driver/node" sig=0 arch=c000003e syscall=330 compat=0 ip=0x7effec06211b code=0x7ffc0000
type=SECCOMP msg=audit(1692605223.072:587): auid=4294967295 uid=1001 gid=1001 ses=4294967295 pid=16630 comm="scrapy" exe="/usr/bin/python3.10" sig=0 arch=c000003e syscall=435 compat=0 ip=0x7f03f7a4d9ed code=0x7ffc0000
type=SECCOMP msg=audit(1692605179.452:515): auid=4294967295 uid=1001 gid=1001 ses=4294967295 pid=16777 comm="ldd" exe="/usr/bin/bash" sig=0 arch=c000003e syscall=439 compat=0 ip=0x7f8b628d7ca4 code=0x7ffc0000

According to the syscalls table
I added
330 pkey_alloc
435 clone3
439 faccessat2

into seccomp profile, but only the 330 audit log is gone.
What you expected to happen:
seccomp profile should work for new syscalls 435 439, so I can change the action to SCMP_ACT_ERRNO.
How to reproduce it (as minimally and precisely as possible):

Create the same EKS environment like below
Create the seccomp profile in the node
Apply the example pod into cluster.
The pod will turn into error state.(cannot create a new thread)

Anything else we need to know?:
Environment

AWS Region: us-west-2
Instance Type(s): r5.xlarge
EKS Platform version: eks.4
Kubernetes version: 1.27
AMI Version:  amazon-eks-node-1.27-v20230816
Kernel (e.g. uname -a): 5.10.186-179.751.amzn2.x86_64
Release information (run cat /etc/eks/release on a node):

BASE_AMI_ID="ami-0a6c4ce5a4a59e9e2"
BUILD_TIME="Wed Aug 16 02:57:51 UTC 2023"
BUILD_KERNEL="5.10.186-179.751.amzn2.x86_64"
ARCH="x86_64"

I'm not aware of anything specific to AL2 that would cause this. Are you able to reproduce it on a different distro, like the EKS Ubuntu AMI?

With same environment I mentioned above (1.27),  I used EKS ubuntu AMI I cannot reproduce the bug.
I event don't have to add any new syscalls into the seccomp profile to make it works.
Environment
AMI Version: ubuntu-eks/k8s_1.27/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20230628
Kernel: 5.15.0-1039-aws
Release Information(run cat /etc/lsb-release)
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"


stop masking account IDs

Questions:

Does masking the account ID prevent all outputs from being shared between jobs, or just the ones containing the account ID?
If we can share just the tag suffix as an output, and the DOCKER_REPO secret is available to other jobs, then why do we need to unmask the account ID?

I think you're right that we can rely on the tag suffix; let me try out a new branch and get back to you.


Update password for PaaS user

You can preview this change here:
Built with commit 2bcaed619b8a3646858cec15d06a8d5ea0b53c64
https://deploy-preview-1015--govuk-design-system-preview.netlify.com