Can't resolve some theme properties

I'm not sure if there is a way to get this, but it doesn't appear to be possible to use the theme.palette type within Styles.makeStyles  similar to how it's shown in the examples:
const useStyles = makeStyles(theme => ({
  root: {
    color: theme.status.danger,
    '&$checked': {
      color: theme.status.danger,
    },
  },
  checked: {},
}));

theme.palette.primary for example is a U2<PaletteIntention,Color> and trying to use it like this:
let useStyles : unit -> _ = Styles.makeStyles <| fun (theme: Theme) ->
        let drawerWidth = 200

        {| appBar =
            Styles.create
                [ style.zIndex (theme.zIndex.drawer + 1)
                  style.cursor "default"
                  style.userSelect.none
                  style.display.grid
                  style.color (
                      match theme.palette.primary with
                      | U2.Case1 pI -> pI.dark
                      | U2.Case2 c -> c.``500``) ] |}

Results in the following compiler error:
FABLE: Cannot type test: interface "Feliz.MaterialUI.Color"
BTW: Thanks for the tip about the markdown language thing, very handy!

I'm not sure the palette is supposed to be (or indeed can be) used that way.
For reference, here is the relevant MUI documentation.
It says that

The intention value can either be a color object, or an object with one or more of the keys specified by the following TypeScript interface:
interface PaletteIntention {
  light?: string;
  main: string;
  dark?: string;
  contrastText?: string;
};

It can be either a color or a intention object when setting it, but I'm not sure whether it can be a Color object when getting it from a MUI-supplied theme argument. C.f. the default theme object.
I encourage you to ask a MUI-related question on Stack Overflow, or if you think the MUI docs should be improved, to post an issue on their repo.

Yeah, I expected the value to just be a color string, and that's what it looks like it should be returning. That's why I posted the issue, I think the type should be different in Feliz.MaterialUI when it's returned vs when setting it. I only had the | U2.Case2 c -> c.``500``   because that was the only way to resolve the compiler errors.

 For clarity, I was talking about theme.palette.primary, which is either a color object or a PaletteIntention.

I think the type should be different in Feliz.MaterialUI when it's returned vs when setting it

Related: #2

I had expected to be able just do this:
let useStyles : unit -> _ = Styles.makeStyles <| fun (theme: Theme) ->
        let drawerWidth = 200

        {| appBar =
            Styles.create
                [ style.zIndex (theme.zIndex.drawer + 1)
                  style.cursor "default"
                  style.userSelect.none
                  style.display.grid
                  style.color theme.palette.primary.dark ] |}

I'm sorry if this all is just my naive understanding of MaterialUI, I'll make more of an effort to ensure I'm doing things correctly before bugging you with more issues ;).
The comment by @Zaid-Ajaj is exactly what I was getting at. As a user I would expect that if a function is returning an object to me everything I could try to use would be correct.

I had expected to be able to just do this:

Ah, I see.

I'm sorry if this all is just my naive understanding of MaterialUI, I'll make more of an effort to ensure I'm doing things correctly before bugging you with more issues ;).

No problem, not all parts of MUI are equally well documented (I'm confused by styling/theming stuff myself, particularly since there is a difference between creating/setting vs. getting).

As a user I would expect that if a function is returning an object to me everything I could try to use would be correct. Which could just be me being spoiled by .NET.

No, the goal is definitely to have "compiles = works" as far as possible here.
If you have any tips regarding a custom DSL for creating styles/themes, let me know. :) I haven't gotten to it yet but it's on my list (which is why #2 is still open).

To keep things focused, let's discuss theme/style creation DSL in #2. I'll leave this issue open.

I'm pretty busy right now, but I definitely want to help. If we don't have a solution/decision on it I'll see if I can help resolve it when I have more time.

@Shmew I had the same issue, I’ve resolved it by using the color property of the component, instead of setting it inside a style.
As you can see in the appBar docs https://material-ui.com/api/app-bar/
It also has a color prob. For dark mode you have to set it during theme creation https://material-ui.com/customization/palette/#type-light-dark-theme

Yeah I have type different themes created for light/dark mode. The problem is that you can only set the component color from these options:

default
inherit
primary
secondary

I don't really get why MUI lets you build a theme with alternate values for primary, secondary and so on and then restrict you to only those options in the component api.

I don't really get why MUI lets you build a theme with alternate values for primary, secondary and so on; then restrict you to only those options in the component api.

I don't get it. If you create a theme with custom primary and secondary, then using the color.primary and color.secondary component props should use your custom colors.
By the way, in case it's helpful, I just added dark mode support to this project. Specifically, see Renderer/App.fs.

Yeah I have dark mode working fine. I'm talking about if I want a component to be colored using the primary dark color like this:
Mui.textField [
    textField.color.primary.dark // or
    textField.color.primaryDark
    ...
]

Oh, right. You are talking about the dark shade of the primary/secondary colors, not dark theme.
To be honest I'm not sure how to do this in MUI at all. If you figure out the way to do this in vanilla MUI, then let me know, and we can see if this is an issue with Feliz.MaterialUI. (If you already have figured out and are trying to tell me, then sorry, I apparently really need things spelled out today.)
Regarding textField.color.primary.dark and textField.color.primaryDark, those won't work, because they don't exist in MUI in the first place. Feliz.MaterialUI exposes MUI functionality, but I don't want to add "fake props" like that; I'd rather implement a good F# way to do it that mirrors the MUI way.

Yeah I absolutely agree. I was just asking/complaining "why can't we do this?". As far as I know there isn't really a way to do this except by getting the theme and setting the prop color.

@cmeeren found an example of what I was trying to deal with above here
const styles = createStyles(theme => ({
  dayWrapper: {
    position: 'relative',
  },
  day: {
    width: 36,
    height: 36,
    fontSize: theme.typography.caption.fontSize,
    margin: '0 2px',
    color: 'inherit',
  },
  customDayHighlight: {
    position: 'absolute',
    top: 0,
    bottom: 0,
    left: '2px',
    right: '2px',
    border: `1px solid ${theme.palette.secondary.main}`,
    borderRadius: '50%',
  },
  nonCurrentMonthDay: {
    color: theme.palette.text.disabled,
  },
  highlightNonCurrentMonthDay: {
    color: '#676767',
  },
  highlight: {
    background: theme.palette.primary.main,
    color: theme.palette.common.white,
  },
  firstHighlight: {
    extend: 'highlight',
    borderTopLeftRadius: '50%',
    borderBottomLeftRadius: '50%',
  },
  endHighlight: {
    extend: 'highlight',
    borderTopRightRadius: '50%',
    borderBottomRightRadius: '50%',
  },
}));

I see, thanks! Are you able to find any part of the MUI docs which says that theme.palette.primary will always be a  PaletteIntention object, never a color object?
By the way, in the meantime, you can work around the issue by unboxing:
style.color (unbox<PaletteIntention> theme.palette.primary).dark

Nothing in the docs that says for certain, but digging around it looks like all leaf nodes of the theme should be strings.

Thanks!

it looks like all leaf nodes of the theme should be strings.

IIRC the leaf nodes of the Color object are strings, too. The issue at hand is whether theme.palette.primary, .secondary, etc. are Color objects or PaletteIntention ojects (containing light, main, dark, and contrastText).
I just re-read the MUI docs on customizing the palette, and I now interpret them as saying that they will always be PaletteIntention objects, and that if setting them to a Color object, the values will simply be set according to this mapping:
palette: {
  primary: {
    light: palette.primary[300],
    main: palette.primary[500],
    dark: palette.primary[700],
    contrastText: getContrastText(palette.primary[500]),
  },
  secondary: {
    light: palette.secondary.A200,
    main: palette.secondary.A400,
    dark: palette.secondary.A700,
    contrastText: getContrastText(palette.secondary.A400),
  },
  error: {
    light: palette.error[300],
    main: palette.error[500],
    dark: palette.error[700],
    contrastText: getContrastText(palette.error[500]),
  },
},

My conclusion is that in order to solve this particular issue, we need a proper theme creation/customization DSL. This DSL needs to account both for creating a (partial) theme from scratch, and for customizing an existing theme. Let's take that in #2.


r: migrate to Homebrew

Deleting r from cask as part of deduplication process . See context here.
Please note that this PR is created to continue case-by-case discussions from thread linked above and if decision is made not to remove the cask, PR will be closed.
cc @MikeMcQuaid

Thanks!

I just caught up with the conversations about the Homebrew cask deduplication efforts after having R migrated. The (previously available) R cask contains R GUI apps that are not installed with the homebrew/science/r formula. Installing the formula also has the side effect of forcing all R packages to be built from source instead of installing pre-compiled packages from CRAN. I think it would be best to maintain both the cask and formula given these differences in behavior.

The (previously available) R cask contains R GUI apps that are not installed with the homebrew/science/r formula. Installing the formula also has the side effect of forcing all R packages to be built from source instead of installing pre-compiled packages from CRAN.

This sounds like things that could be added to the formula.

I think it would be best to maintain both the cask and formula given these differences in behavior.

There will always be some slight differences between the two but that doesn't necessarily justify having both. It would be good to see if it's possible to introduce these changes to the R formula before reverting this PR.

Having been a long time R user on the Mac, deviating from the official build isn't something to do lightly. I appreciated having the official R distribution managed as a cask to automate the installation, but still having the benefits of "official R on OS X."
It's been a while since I've built the whole Mac distribution, GUI included, from source. I recall it being fairly involved. The GUI source itself is maintained separately from the R interpreter source distribution. That might suggest separating the formula if the formula only route is taken, or making the GUI an optional installation component.
The binary R package situation also needs careful consideration. Binary R packages are built and tested against the official R distribution. Mixing the binaries with a 3rd party R build might introduce unexpected incompatibilities.
Building R packages from source means having to install build dependencies that are otherwise unnecessary. Tracking these down can be time consuming. Granted, most homebrew users won't be too put off about doing this.
Ultimately, I realize that there are conflicting goals at play. Maybe there will be some solution to allow homebrew users to choose between official builds and source packages after the integration is completed.

I really am not a huge fan of forcing builds from source, as not all users have the time/motivation/ability to do that. Additionally, if bottles are being considered, I will refer back to https://github.com/caskroom/homebrew-cask/issues/15603#issuecomment-183089961 and a bit earlier, where the preference (my personal preference, as well as some other vocal users) for vendor-supplied builds over the Homebrew-compiled ones.
I can't offer a better solution other than reverting this change, but the issue is still going to be around and arguably warrants discussion now, that the proposed changes are well under way.

For r specifically:
Apologies if I'm taking @MikeMcQuaid's comment out of context but:

I'm agreed here; I think we should be pushing precompiled GUIs into HBC and precompiled command-line tools should be built from source and in Homebrew. Building from source in Homebrew means we're able to support more platforms than upstream necessarily supports.

As the "official R" package does indeed include a GUI, it should stay in HBC.

Contains R 3.3.1 framework, R.app GUI 1.68 in 64-bit for Intel Macs, Tcl/Tk 8.6.0 X11 libraries and Texinfo 5.2.

How does one pick between brew cask install r and brew install r if we have both?

That's my main issue with the duplications, really. Not all users will look in both places and the reasons why you'd choose one over the other are pretty opaque to non-expert users. It's also worth noting that nothing is stopping users from setting up third-party repositories for either casks or formulae that are removed.

We could do the same thing we did for racket: rename the formula to minimal-r or similar.

I see a few options to disambiguate:

Use comments in the formula/cask information to help users decide
Use different naming: r-vendor vs. r or r vs. r-base
Rely on blogs from the R and homebrew communities to help users in the decision making.

I believe, for a non-expert R user on a Mac, that installing the source built R interpreter would be a mistake because the behavior won't align with what's available in the R for Mac community.
While it is possible to create a third-party repository, that still makes things difficult for non-expert users (R and homebrew alike). And now the users have to have faith that the third-party maintainers are as good as the core.
What disappoints me is that I no longer have the R cask option, which had been supported. As a more experienced user of both homebrew and R, my options have been diminished or replaced with new dependencies I didn't need before.

I believe, for a non-expert R user on a Mac, that installing the source built R interpreter would be a mistake because the behavior won't align with what's available in the R for Mac community.

Again: I don't see any real reason the source-built R interpreter could not be modified to match functionality with the Cask. Has anyone tried to do so?

I haven't tried to modify the R interpreter code to match the behavior, but really don't relish it as an ongoing effort. I think we're at an impasse, and things will stand the way they are.

I think we're at an impasse, and things will stand the way they are.

If the community is unwilling to perform any work to change things: yes, I think we are.

Is there any reason to inject Homebrew/additional maintenance in between R and the user? Formulas with a GUI should be in caskroom, anyway, afaik.
I like the minimal-r suggestion if there really is a use for a Homebrew formula

I like the minimal-r suggestion if there really is a use for a Homebrew formula

Check the Google results for "Minimal Racket" compared to "Minimal R". The latter does not appear to be a thing. https://cloud.r-project.org doesn't seem to have a particular name but r-pkg or r-gui could do. Does it require XQuartz, too?

I've seen r-base or r-core used in other settings for the R interpreter. For the GUI, r-app is probably the best choice because it goes by R.app.
A description of R.app can be found at: https://cloud.r-project.org/bin/macosx/
One of the mirrored locations for the R.app code is: https://cloud.r-project.org/bin/macosx/Mac-GUI-1.68.tar.gz
R.app does not need XQuartz. It's a native application.

The problem with r-app is that it explicitly contradicts the token reference. r-gui might work, though.

r-gui might work, though.

👍 from me.

r-gui works.

Cool, mind submitting a PR?

Submitted  #23954

So is there no way now to obtain the official CRAN binary through Homebrew? Or is the bottled version an official CRAN build?

It's 'r-app'

@adidalal thanks, that wasn't clear from the discussion here.
As for the name, maybe I'd have gone with "cran-r". But I'm not about to encourage another renaming.

No, we're using the -app suffix to disambiguate. It's a rule.


Automate Git repo file structure changes during upgrade

Issue #, if available:
#577
Description of changes:
Support:

v0.5.0 -> v0.6.x
v0.6.0 -> v0.6.1

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jiayiwang7
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jiayiwang7]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: danbudris, jiayiwang7
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [danbudris,jiayiwang7]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: danbudris, g-gaston, jiayiwang7
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [danbudris,g-gaston,jiayiwang7]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm


IMAP Mail UID

Hi, when i use IMAP receiving block in n8n there is no email uid included from what i can see. Is there anyway to get this email uid so i can manipulate emails with this module?

Unfortunately there is currently no way to connect N8N builtin IMAP trigger node and this node, because N8N node doesn't return UID, which is used to retrieve specific emails.
It does return "Message-ID", but it is not guaranteed for IMAP servers to support fetching emails by this property.
Available options are:

Request the N8N development team to include UID information in the output of the IMAP trigger node. This change would allow for direct integration with this node.
Alternatively, you can bypass the IMAP trigger node and instead set up a periodic trigger to fetch new messages from the IMAP server at regular intervals (e.g., every minute).


Feature request: more general approach to specify ignored fields

A more general approach to specifying <types> and <fields> maybe useful.
Like:
<type_list1>:<field_list1>;<type_list2>:<field_list2>;...

Which would be something like:
<type1>,<type2>,...:<field1>,<field2>,...;<type3>,<type4>,...:<field3>,<field4>,...;...

Where <type_list>:<field_list> => ignore these fields in these types
Both <type> and <field> can be * to indicate all.
And allows multiple instances of --ignore so that people with large lists can split it across multiple lines.

Thanks for the suggestions! I'll take a look at implementing this tonight.

I added another suggestion.
Another useful mechanism may be to have the tool use tags that are meant
for the tool itself. The tool would read directives for fields from its own
tag, remove the tag, and replace it with generated tags.
On Thu, Jan 21, 2016 at 11:13 AM, Christopher Cooper <
<EMAIL_ADDRESS>wrote:

Thanks for the suggestions! I'll take a look at implementing this tonight.
—
Reply to this email directly or view it on GitHub
https://github.com/Alistanis/st/issues/4#issuecomment-173620575.

That's a very interesting proposition and would allow for much more dynamic behavior. I like it!

This would be in addition to the mechanism of specifying ignore specs on
the command line. I mean, after all, the big value of the tool is in not
having to specify a whole bunch of tags. The tags mechanism would be for
very specific overrides.
On Thu, Jan 21, 2016 at 11:32 AM, Christopher Cooper <
<EMAIL_ADDRESS>wrote:

That's a very interesting proposition and would allow for much more
dynamic behavior. I like it!
—
Reply to this email directly or view it on GitHub
https://github.com/Alistanis/st/issues/4#issuecomment-173626001.


Expose createCallback and equality in the public API

It'll be great if the createCallback function could be exposed outside the library so we can teach Lazy how to work with other libraries. The use case I want to solve is integrating ass-ert expressions with Lazy, it could work like this:
var oldCreateCallback = Lazy.createCallback;
Lazy.createCallback = function (obj) {
  if (ass.Chain.isChain(obj)) return obj.test;
  return oldCreateCallback(obj);
};

Lazy(persons)
.filter(ass.prop('age').above(18));

Ideally the equality comparison should also be exposed but looking at the source code it seems that Lazy prefers to use the native strict equality operator === probably for performance reasons. I think that overloading the createCallback most of the use cases can be solved anyway.

I'm actually not opposed to this idea at all—especially since createCallback is something I expect to be pretty stable (at least re: its behavior, if not its implementation).
I'll probably make this change for the next version.


[FP]: Vulnerability CVE-2022-31159 wrongly reported for<EMAIL_ADDRESS>

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:amazon:aws-sdk-java:0.21.14:::::::*
CVE
CVE-2022-31159
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
8.3.1
Description
Only the Java AWS SDK up to 1.12.260 is affected by the vulnerability. https://nvd.nist.gov/vuln/detail/CVE-2022-31159
We are using the Java AWS SDK >= 2.0.0 which is not affected at all. But the SDK v2 includes the package<EMAIL_ADDRESS>which is also not affected but considered as vulnerable due to the version 0.21.14 which is in the range of affected versions in the CVE.

approved


Frontend stopped seeing all jobs when using condor 10

Describe the bug
Condor 10 defaults to querying only for user jobs.
So the frontend is not seeing all jobs anymore
As reported by Steve Timm:

When we switched gpfrontend01 from htcondor 9 to htcondor 10,
all the glideinwms job query_expr started returning zero jobs.
Further investigation shows that a condor_q -all
with the same job_query constraint will return all the jobs it returned before,
but without the -all option it defaults to doing jobs just for the user that is querying
the condor_q and that user has no jobs.
Has this been seen before?  At the moment gpfrontend01 is generating zero glideins to anywhere presumably because of this.

To Reproduce
Use HTCondor 10 w/ the Frontend
Expected behavior
Frontend should see all jobs
Screenshots
NA
Info (please complete the following information):

GlideinWMS version: 3.10.1
Python version: 3.6
OS version: SL7
HTCondor version: 10
Priority: high
Stakeholder: HEPCloud
Component: frontend

Additional context
This may affect also the Factory. Please test w/ HTCSS 10 and make sure that all condor_q use -all when needed.
Make sure that this is the problem and not some tagging problem like the monitoring problem fixed in 3.10.1

There is a workaround suggested by G. Thain:
set CONDOR_Q_ONLY_MY_JOBS to false (the default is true in HTCSS 10)

@mmascher will verify this

@mmascher will verify this


update HalvingInterval

half every 2100000 blocks

What was the reasoning behind this change, was the halving blocks incorrectly specified?

look 0.8.X  in main.cpp , I think it is an omission error.

yes, looks right,  from (Bush's) note
// Halving subsidy happens every 2,100,000 blocks. The code below takes account for the.
assume it must have been a typo, well spotted.

@ Lizhi,
we also need a piece of code that takes care of the first halving due to the change from 2.5 mins to 1 min time frame for a block.
Did you copy the corresponding code from 0.8.7, too?


Clarify Application Resource Mapping fields

a combination of envs and volumeMounts is mutually exclusive
with containers

Signed-off-by: Baiju Muthukadan<EMAIL_ADDRESS>

Let's wait for a resolution in issue #166

Let's wait for a resolution in issue #173

Closing due to discussions in #177 superseding this change.


Can encoders work with &mut references that implement Writer?

fn new(w: W, level: CompressionLevel) -> EncoderWriter<W> consumes w.   Is that necessary?  I have a situation with an &mut BufferedStream which doesn't implement Writer because it's a borrowed reference, not the thing itself.   I have to hack around with a MemWriter, and then writing the ``memory.get_ref()into my&mut Buffered Stream.  I'd rather be able to call DeflateEncoder::new( w , CompressionLevel::Default)``` (or similar) with the &mut BufferedStream.

You should be able to do this yeah. You can use .by_ref() but &mut W where W: Writer should also satisfy this. Note that this may require some upstream changes to I/O, but I think that regardless .by_ref() should do the trick for you today.


Strange search result for SPBC28F2.11

From Jessica Greenwood:

I just wanted to let you know about a slightly strange thing I found today on pombase –
I was trying to find information about this gene:  SPBC28F2.11 which is hmo1.  But when I
typed SPBC28F2.11 into the search box, cwf7 came up.  Cwf7 has a very similar spac code,
but it isn’t identical (obvs) so I just thought it was strange that typing the whole spac code for
hmo1 still give cwf7 as a default.  If you type SPBC28F2.11 into the search box and hit
 it brings up cwf7.  I haven’t found this to be the case for other randomly chosen
spac codes – so maybe just something with hmo1?
A colleague tried it too so I know it isn’t just me!

That's fixed now.


updated xamarin-mdk (<IP_ADDRESS>)

Closes #18185.

Merged as e6aee766963954045c65c130113a81e1ee891151.


[JOSS-Review 6396] Installation issues

Description
Trying example used to generate figure figure 3 as explained in the docs Using temperature_from_filter_ratio to analyze XRT data in the docs, I get an error when importing sunpy because requests is missing. I believe, the dependencies should be sunpy[all] (or the minimum required)
https://github.com/HinodeXRT/xrtpy/blob/660a539f3d6c7ee1e4596e86d4fdbbed5d74871e/setup.cfg#L39

You might not need sunpy[all] I think you at least need sunpy[map] as you import map inside xrtpy itself. I would argue you don't need sunpy[net] to be included in the dependencies for xrtpy as you don't import it inside the module.
That being said, you do use it in the docs, so I would document it, and maybe mention it at the top of the examples that if a user installed xrtpy from pip they might need to install sunpy[net] to run this example.

Update the documentation to inform users about the optional dependencies. Made sure that requests and sunpy[map] are included in the install_requires section.


Issue listing cost allocation tags on a member account of AWS Organization

Description
When a cluster is selected, notifications with the following message start to appear. Error: Something went wrong while invoking other AWS services.
Looking at the network requests that are occurring I have detected that the GET request to the cost-monitoring endpoint returns a 400.
Looking at the logs provided by the execution of the lambda functions, I was able to get more information about this error: An error occurred (AccessDeniedException) when calling the ListCostAllocationTags operation: Failed to list Cost Allocation Tags: Linked account doesn't have access to cost allocation tags. Which is the same error I get through the AWS CLI running the following command aws ce list-cost-cost-allocation-tags even though my user has administrator permissions.
Further investigation, in the code (costs.py line 21) I have seen that the CostExplorerClient class is initialized with the attribute of COST_ALLOCATION_TAGS = ['parallelcluster:cluster-name']. For later in the file costexplorer_client.py call the function get_cost_monitoring_tags that lists the cost allocation tags of the AWS account.
Researching I have detected that the problem comes from the fact that I am deploying the Parallelcluster UI stack in an AWS account belonging to an OU. Where the cost allocation tags cannot be listed, additionally these must be activated from the main account.
Steps to reproduce the issue

Installing Parallel UI on an account within an AWS Organization
Deploy a cluster
Select this cluster in from the UI to start displaying error notifications.

Expected behaviour
No errors would occur and requests could be made to cost explorer with this cost allocation tag even if it had to be previously activated from the main account.
Actual behaviour
Clicking on the cluster information displays the following errors:

Required info
In order to help us determine the root cause of the issue, please provide the following information:

Region where ParallelCluster UI is installed: eu-west-1
Version of ParallelCluster UI: 2023.06.0
Version of ParallelCluster: 3.6.0

Hi @ivosth , thank you for reaching out about this issue.
We are currently aware of this problem and are looking to address it in a new release.
I'm not able to provide you with an ETA for this, but at this point, the only known workaround is to actually enrich the PCUI lambda role with a policy to allow PCUI backend to list the allocation tags.
You can see here the policy needed to make it work.
- Action:
  - ce:ListCostAllocationTags
  - ce:UpdateCostAllocationTagsStatus
  - ce:GetCostAndUsage
  Resource:
    - !Sub 'arn:aws:ce:us-east-1:${AWS::AccountId}:/*'
  Effect: Allow
  Sid: CostMonitoringPolicy

We will update this Github issue as soon as we provide a solution in a release.

I want to note that we are also hitting this bug and would like to know when it might get fixed. We are unwilling to use the product with our end users if they are going to be seeing these errors all the time. Thanks!

This issue will be fixed in the next upcoming release 2023.10.0

Released https://github.com/aws/aws-parallelcluster-ui/releases/tag/2023.10.0


Game.ini and Engine.ini appear to be default values.

Thanks for this!
Just seeking clarification.
The engine.ini and game.ini values for this on the server appear to be the default values. Scalability.ini reflects the recommendations in the wiki.
I'm running this on Ubuntu.

Hey @rrbailey89 :)
I'm not sure what you're asking here. The Engine.ini and Game.ini config files have the default values in them at the file-level, but are modified using environment variables on the server's startup.

Closing this for now. Feel free to re-open if needed :)


Error code 500, Internal Service Error

Hello, Failed to create account.
And the operation was as follows:
I have imported the private key key.
$ ./eosc wallet keys [[ "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3" ], [ "EOS6R2WLhbCUMi6qRQfHJFJ5zcRDdBv8FWRGLdtbptYPvPaaJccGF", "5KWKF37a8vQQsXFJedT4MbBkXgG517ENzjfUTDV2GqSdg5fDmno" ], [ "EOS7isEPRbLbbm23HRtsvopWcsBEMAd8zb5W4oLfF2XrUacmEqnfJ", "5JzSHuiyqkCKGAnoumYLNqfXK3ZabGaQqSB5eSLV3ZgQ2UGHxzo" ] ]
And then create an account:
./eosc create account inita currency EOS7DDzzuNkkrzGgYzQ7Yd8p1Y4ubPcUdbmVN5YL59bHkCBQaGxyN EOS7NgaFxU9CyiZR1vE6SUvft5Vd2xNZ51zD9Ggwsb1N9RvJPW86W
inita is the account authorizing the creation of the currency account.
I changed "inita" to the name "default" of the wallet I created:
$ ./eosc create account default currency EOS7isEPRbLbbm23HRtsvopWcsBEMAd8zb5W4oLfF2XrUacmEqnfJ EOS6R2WLhbCUMi6qRQfHJFJ5zcRDdBv8FWRGLdtbptYPvPaaJccGF
but, indicating the following error:
107053ms main.cpp:1195 main ] Failed with error: Assert Exception (10) status_code == 200: Error code 500 : {"code":500,"message":"Internal Service Error","details":"unknown key"}
Thank you.

@brianjohnson5972 Thanks,
I started./eosd (local test network), which succeeded in creating a local account through the inita authorization account.


fitbackground (free-version) not compatible with MacOS and Linux

The fitbackground function uses the nlsqbnd as default for a toolbox-free use. However, the solver requires a mex file only available for WinOS.
Adapt this in a similar way as in fitparamodel.

Issue closed at 511c0d403d316442e814a1e378b379ae35548d04
The nlsqbnd solver has been substituted by the fminsearchcon solver as the default for the toolbox-free version. Both solvers including the one from the Optimization toolbox are available to use in the  fitparamodel function via the Solver option.
For the nlsqbnd option, the system is controlled to ensure it is a WinOS otherwise now prompts an error.


Drag and drop filename!

Expected Behavior
create a tab with filename after drag and dropping file in editor!
Actual Behavior
it's not making a new tab!
if editor isclear it just load without tab and if some file is open it just change the bufffer with the previous file name!

The editor will never create a new tab in the sample.
The drag and drop filename or text will work only in the current instance.

The editor will never create a new tab in the sample.
The drag and drop filename or text will work only in the current instance.

But I can modify the sample to do that... It's not impossible 😀

But I can modify the sample to do that... It's not impossible 😀

i handeled it, but thanks!

i handeled it, but thanks!


OpenAPV

Project description
OpenAPV will develop a royalty-free, open-source, open standard video codec for professional video capturing and post-production.
Sponsor from TAC
Samsung Electronics
Proposed Project Stage
Sandbox
Please explain how this project is aligned with the mission of the Academy Software Foundation?
Video codec is widely used by motion picture industry but it becomes a roadblock of various open source platform as there is no royalty-free open source, open standard video codec for professional video capturing and post-production.
What is the project’s license for code contributions and methodology for code contributions?
BSD 3-Clause
What tool or platform is utilized for source control (GitHub, etc.), and what is the location
(e.g., URL)?
https://github.com/cpncf/apv
What are the external dependencies of the project, and what are the licenses of those dependencies?
None
What roles does the project have (e.g., maintainers, committers?) Who are the current
core committers of the project, or which can a list of committers be found?
Several engineers from Samsung Electronics
What mailing lists are currently used by the project?
None
What tool or platform is leveraged by the project for issue tracking?
GitHub
Does the project have an OpenSSF Best Practices Badge? Do you foresee any
challenges in obtaining one?
It does not have currently. No challenges are identified.
What is the project’s website? Is there a wiki?
https://github.com/cpncf/apv-spec
What social media accounts are used by the project?
None
What is the project’s release methodology and cadence?
as needed.
Are any trademarks, registered or unregistered, leveraged by the project? Have any
trademark registrations been filed by the project or any third party anywhere in the world?
None

Very interesting!
Is it possible to use Apache-2.0 instead? It's the preferred default these days, and I think for video codecs in particular, the community would benefit from the greater level of certainty it provides regarding patents.

Our current preference is BSD 3-Clause as proposed as it is the least restrictive one. However, we can certainly review that option as well.

Please find the slides I have presented at the TAC meeting yesterday. Thank you again for the useful suggestions at the meeting. Please feel free to ask any further questions/comments.
OpenAPV proposal.pdf

If you are interested in reviewing the current status of open source project for APV, please feel free to access this repository, https://github.com/openapv/openapv

Hi @youngkwonlim - do you happen to have data comparing APV to codecs like ProRes and HT J2K with metrics like:

PSNR scores
VMAF scores
encode/decode speed (ideally using both open source and commercial implementations for J2K)

I'd love to see a slate of these metrics to better understand where APV fits into the landscape.

Hi Eric,
We can't directly compare APV with ProRes as we don't have license. But we have unofficial comparison result with a professional video codec implemented in ffmpeg in our presentation material. Please refer it as a preliminary result. We will discuss internally how much data we can provide.


Controls not working on IOS 16 and very lagi on IOS 15

Working fine on android but does not work at all on IOS 16 and very lagy on 15
<View style={{ flex: 1 }} {...events}>
  <Canvas gl={{ physicallyCorrectLights: true }} camera={{ position: [0, 0, 10], fov: 36 }}>
    <color attach="background" args={[0xe2f4df]} />
    <OrbitControls />
    <ambientLight intensity={1} />
    <Suspense>
      <Port url={portModel} />
    </Suspense>
  </Canvas>
</View>

{
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "devDependencies": {
    "@babel/core": "^7.19.3"
  },
  "dependencies": {
    "@react-three/drei": "^9.34.3",
    "@react-three/fiber": "^8.8.9",
    "expo": "^46.0.15",
    "expo-gl": "~11.4.0",
    "r3f-native-orbitcontrols": "^1.0.4",
    "react": "18.0.0",
    "react-native": "0.69.6",
    "three": "^0.145.0"
  }
}

Hi @StjepanSuton, thanks for using the library and creating the issue, unfortunately I couldn't reproduce this in my iPhone 12 with iOS 16.2, so I'll have to ask some questions in order to fix this:

Which are your phone models (or iOS emulator)?
Is your code the same for Android and iOS?
What happens when you remove the orbit controls?
What happens when you rotate the camera manually (without this library)?

Hi haven't used RN in a while and it seems the issue was with the emulators, tested it on a few other IOS and Android devices and it works fine.


Cannot set properties of undefined (setting 'value')

New to next js and spline, could someone help with this error:
TypeError
Cannot set properties of undefined (setting 'value')
https://codesandbox.io/s/ftyxeq?file=/src/Scene.js

I think we are facing a similar issue. Watching...

Should be fixed in version 0.9.102 of @splinetool/loader


Accept external timestamps in milliseconds since epoch, per OT API

Convert to microseconds only when reporting to the backend.

Coverage increased (+0.2%) to 98.382% when pulling b493da561dd153432c81bbcec38296bba58c879f on timestamp-millis into 1ceffa190a37c84c2f14e46e42a8fcea9b21e500 on master.

Coverage increased (+0.2%) to 98.382% when pulling b493da561dd153432c81bbcec38296bba58c879f on timestamp-millis into 1ceffa190a37c84c2f14e46e42a8fcea9b21e500 on master.

Coverage increased (+0.2%) to 98.382% when pulling bd60c4ace0f997f2f5d438c16504ddb0d3be9f67 on timestamp-millis into 1ceffa190a37c84c2f14e46e42a8fcea9b21e500 on master.


:lipstick: Fix issue width

💄 Fix issue width
⏫  Upgrade to Next.js 11 and use its ESLint defaults

Before

After

Draft reelase - https://github.com/scriptified/scriptified/releases/edit/untagged-26d57af688d1f74d57b6


Create loading signal while waiting for response

While waiting on the Codex response, we should consider having a loading signal appear for clearer understanding of what's happening. We've proven this in PowerShell, but it's unclear if we can do it in Bash or Zshell.

I tried in Bash and as far as I can tell it's not feasible. The bash function handling the request can only update the current prompt on exit, not while it's running :-(  I asked a related question on SO in case someone has suggestions.


/bin/sh: 1: powershell: not found

First and foremost I wanted to thank you for spending your time on this project, I'm surprised it hasn't been integrated in the main Empire build just yet. AMSI is definitely becoming a nuisance during red team engagements sometimes.
Empire Version
1.6.0 (direct clone from ObfuscatedEmpire repo)
OS Information (Linux flavor, Python version)
Debian GNU/Linux 8
Linux redacated 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux
Python 2.7.9
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
The preobfuscate command doesn't function adequately, whenever I attempt to preobfuscate all modules, I get the following error:
/bin/sh: 1: powershell: not found
I couldn't figure out what caused it, so after I gave up on that I moved onto just enabling obfuscation for all commands, which did indeed generate a properly obfuscated launcher for the listener.
Except when an agent attempts to establish a session, the same error is once again present.
Screenshot of error, embedded text output, or Pastebin link to the error
[>] Preobfuscate all powershell modules using obfuscation command: "Token,All,1"? This may take a substantial amount of time. [y/N] y
[>] Force reobfuscation of previously obfuscated modules? [y/N] y
[*] Obfuscating Invoke-VoiceTroll.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Thunderstruck.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Set-Wallpaper.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Exploit-JBoss.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Exploit-Jenkins.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating HTTP-Login.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Find-Fruit.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Inveigh.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-Screenshot.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-ChromeDump.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-ClipboardContents.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-InveighUnprivileged.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-BrowserData.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Out-Minidump.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-FoxDump.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-IndexedItem.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-Keystrokes.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-NetRipper.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-NinjaCopy.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating KeePassConfig.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating KeeThief.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-EgressCheck.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-PostExfil.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating MailRaider.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-PSInject.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating New-HoneyHash.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-RunAs.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Set-MacAttribute.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-SecurityPackages.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating PowerBreach.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Install-SSP.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-BackdoorLNK.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Tater.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-EventVwrBypass.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-BypassUAC.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-System.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-MS16032.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-WScriptBypassUAC.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-GPPPassword.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating PowerUp.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-SiteListPassword.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-SMBAutoBrute.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-ARPScan.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-ReverseDNSLookup.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating powerview.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-SmbScanner.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Portscan.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-SPN.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Find-TrustedDocuments.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-ComputerDetails.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-SystemDNSServer.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Paranoia.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-WinEnum.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-VaultCredential.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating dumpCredStore.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-CredentialInjection.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-DCSync.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-PowerDump.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-TokenManipulation.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Mimikatz.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Get-RickAstley.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-SSHCommand.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-PsExec.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-InveighRelay.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-DllInjection.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-Shellcode.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-ReflectivePEInjection.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-ShellcodeMSIL.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscating Invoke-MetasploitPayload.ps1...
/bin/sh: 1: powershell: not found
[*] Obfuscation complete.

I've had a couple other people report the same exact problem. The root of the problem seems to be that PowerShell is not getting properly installed onto your system. You can test this by just trying to run powershell from a terminal prompt, and seeing if you get dropped into a PowerShell prompt.
PowerShell is supposed to be installed automatically in ObfuscatedEmpire's setup script, but there appears to be some missing dependency to PowerShell in the setup script. It would be helpful if you could show the output when you run the setup.sh script. Others using Kali 2.0 have found the libicu55 package to be reported as missing when PowerShell is attempted to be installed, it would be interesting to see if you are running into the same problem on pure Debian.
This may be a product of the fact that PowerShell is not officially supported on Debian platforms. Others have found a workaround to this by installing the Ubuntu libicu55 package, though I can't confirm because I have never been able to reproduce the issue on my own.
In any case, ObfuscatedEmpire should output a more clear/obvious message when PowerShell is not found to be installed. I will work on adding that in the next few days. Thanks for the report!

Thanks for the quick reply!

Yeah no problem, let me know how it works out.

I can confirm that it's working as intended on Ubuntu 16.04 LTS

Glad you got it working!
I'm going to keep this issue open until:

I implement a more obvious error message that PowerShell hasn't been installed correctly
I can find a suitable solution for a reliable PowerShell install on Kali/Debian.

If others run into a similar problem, hopefully they will see this open issue and (maybe) we'll be able to solve for a solution on Kali/Debian.

ObfuscatedEmpire now prints a warning message and exits gracefully when trying to obfuscate without PowerShell being installed. Implemented in dac5ba6b39a0d2c1477bd18b50764288a5a3bb9f

I bumped into the same issue today with Kali. As explained above, this is due to the fact that libicu55 is and PowerShell are not (yet) available on Debian distro. However, installing the Ubuntu files did run just fine and could be a work around in the mean-time:

Install libicu55:
Go to http://packages.ubuntu.com/en/xenial/amd64/libicu55/download
Download the file. Install by using command:
sudo dpkg –i libicu55_55.1-7_amd64.deb  (or whatever file name you saved it as)

Install libssl1.0.0
Go to http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
Download the file. Install by using command:
sudo dpkg –i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb

Install Powershell
wget -O powershell_6.0.0-alpha.9-1ubuntu<IP_ADDRESS>_amd64.deb https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu<IP_ADDRESS>_amd64.deb
sudo dpkg -i powershell_6.0.0-alpha.9-1ubuntu<IP_ADDRESS>_amd64.deb

Not ideal but that should get you up and running.

On Debian 8, install the powershell package meant for ubuntu 14.04, then you don't need to install libicu55 or libssl1.0.0 explicitly.
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.9/powershell_6.0.0-alpha.9-1ubuntu<IP_ADDRESS>_amd64.deb
sudo dpkg -i powershell_6.0.0-alpha.9-1ubuntu<IP_ADDRESS>_amd64.deb
This is a dated release, but works. I also tried with the newest, but it resulted in several segmentation faults when preobfuscating. As p0wner put it, not ideal but that should get you up and running.

@ValtteriL thanks for the suggestion! I'll take a look at it, though I'd prefer not to use the package for the older repo.
I also tried the new beta PowerShell from the Microsoft apt repository, and also was running into some segmentation faults, same as you. I'm hoping that those issues get fixed and eventually we can move to the official apt repository.

An update for anyone that's curious. There's an issue in Kali/Debian9 for the new beta PowerShell in some crypto library. Turns out you can get it to work if you force connections from your Kali/Debian9 host to <IP_ADDRESS> to not resolve. Very strange, but it works.
Tracking that issue here: https://github.com/PowerShell/PowerShell/issues/4320
Once fixed, we'll switch to the apt repo.

Using the PowerShell apt repo now: 17c732ab6744cf8e50427ca79a4e5c38749cafa9
Still have to download and install the libicu and libssl1.0.0 debs manually, since it has dependencies not in the Kali repo.

Yay no more manual deb downloads :) as of 89d0deb63a6fa2a10a48dea0bb1d3c69fe52672a (empire-dev branch)
Anyone let me know if they still have issues, otherwise will close soon.

I have been struggling to get it work on Kali/Ubuntu. I just get the following error -
!PowerShell is not installed and is required to use obfuscation, please install it first.
Powershell is already installed and accessible via pwsh command. I don't know what's causing the error.
Uname -a
Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux

Any help is greatly appreciated

@nanodestructo Fix for pwsh has been added to the empire-dev branch only. Are you using the correct branch? The changes haven't been merged up to the main Empire project quite yet.
If so, be sure to run the ./setup/install.sh script.

@cobbr
Sorted the pwsh problem by renaming the link in from pwsh to powershell usr/bin directory.
Now facing segmentation faults while preobfuscating on Linux Mint. Works fine on Kali though.

@nanodestructo  You should not need to link/rename from pwsh.

I have not tested on Mint.

@nanodestructo @cobbr
changing the pwsh link to powershell worked for me too. thanks guys!

@cobbr
I am getting lots of errors in my windows/macro stager output though... all within the AWH() function in the Bk string. If I delete some of the random double quotes (") in the string the compiler seems to work. Disclaimer: Not an expert tho.

@thedickestrick You should not need to link pwsh to powershell. Mind sharing what OS you are using? are you using empire-dev branch?
Glad you got it working, just want to make sure I have it working for others.
I'll take a look at the macro stager, I recently fixed things in the vbs_launcher that might need to also be fixed in macro as well. Answering some of the questions mentioned above will help me debug it.

@cobbr
Kali rolling. Latest distribution. Def using the empire-dev branch. Def ran then ./setup/install.sh script.
Thanks for your quick response!

@cobbr Linux ip-XXX-XXX-XXX-XXX 4.4.0-1041-aws #50-Ubuntu SMP Wed Nov 15 22:18:17 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Also ran into this problem today.

powershell_6.0.0-alpha.9-1ubuntu<IP_ADDRESS>_amd64.deb works with kali3


train on my own dataset

@mrlooi thanks for your great job,
i want to train fast_rcnn with rotated bboxs on my own datasets ,what should i do?
thanks

if you only want rotated bbox (without mask outputs), use configs/rotated/e2e_faster_rcnn...yaml.
If you want to train on your own dataset, the easiest way is to convert your dataset to COCO format, and add the dataset path to paths_catalog.py (see the original maskrcnn_benchmark repo for more details, it's pretty straightforward)
Note: This repository generates the rotated bboxes automatically from mask polygons, so do make sure that your dataset has annotated mask polygons, and not just bounding box labels.

I've added these details to the README

if you only want rotated bbox (without mask outputs), use configs/rotated/e2e_faster_rcnn...yaml.
If you want to train on your own dataset, the easiest way is to convert your dataset to COCO format, and add the dataset path to paths_catalog.py (see the original maskrcnn_benchmark repo README for more details, it's pretty straightforward)
Note: This repository generates the rotated bboxes automatically from mask polygons, so do make sure that your dataset has annotated mask polygons, and not just bounding box labels.

@mrlooi Can we use MSRA-TD500 dataset? Note that this includes cx, cy, w, h, a of bouding box.


How to Starting Swarm Node.

Hello
I just wondering "How to starting Swarm Node". SwarmChat is used WebSocket but that is not Activate from Swarm.
I'm using the option "--ws --wsorigins localhost" that looks like not completable.
can you help me?
My Onyx Public Key's
0x0429bc33fd3a6ed50f3a7541e92b2fb1d5070748b1c0659a1033120fcccc93b3fb8ba5257642b98371f4f65b8ae6b516b2d0677faccdac8fee2a42c5479c4ea84d

Hi @Nipol
If you want to start swarmchat, you will likely need --wsorigins '*' to sidestep any CORS issues in the browser. Are you getting any specific error?

thanks to reply @howleysv
I tried. but there is same problem with the --wsorigins '*' option. And 'swarmchat' works well when starting onyx. Maybe using mainframe custom 'swarm' would make 'swarmchat' works.
Am i correct?

https://github.com/MainframeHQ/erebos/issues/57


Create pages

Use the wireframe as a reference for the various pages we will need.

all pages have now been built


Custom mint module impl

Description
Implement custom minting logic so that token release can be controlled by unix time (via x/epoch module). This is pretty similar to how Osmosis does it. Mainly, we will specify the following:

genesis_epoch_provisions - total sei to add from genesis
reduction_period_in_epochs - number of epochs before reducing rewards
reduction_factor - fraction to reduce subsequent rewards by

It also removes old params like inflation, inflation_max...etc
Testing

Unit tests
Verified genesis file:

238     "mint": {
239       "minter": {
240         "epoch_provisions": "0.000000000000000000"
241       },
242       "params": {
243         "mint_denom": "usei",
244         "genesis_epoch_provisions": "5000000.000000000000000000",
245         "reduction_period_in_epochs": "2",
246         "reduction_factor": "0.500000000000000000"
247       },
248       "halven_started_epoch": "0"
249     },

Ran local chain with above parameters:

> cat ../mint_logs.txt| grep "minted\|epoch" | awk '{print $2, $3, $4, $5, $6, $7, $8, $9}' | uniq -c
   1 INF Current epoch 0
  12 INF Current epoch 1
  11 INF Current epoch 2
   1 INF minted coins from module account amount=2500000usei from=mint
  12 INF Current epoch 3
  12 INF Current epoch 4
   1 INF minted coins from module account amount=1250000usei from=mint
  12 INF Current epoch 5
  12 INF Current epoch 6
   1 INF minted coins from module account amount=625000usei from=mint
  12 INF Current epoch 7
  12 INF Current epoch 8
   1 INF minted coins from module account amount=312500usei from=mint
  12 INF Current epoch 9
  12 INF Current epoch 10
   1 INF minted coins from module account amount=156250usei from=mint
  12 INF Current epoch 11
  12 INF Current epoch 12
   1 INF minted coins from module account amount=78125usei from=mint
   3 INF Current epoch 13

Queried total supply, ensured they added up to start + epoch provisions (property of geometric series)

> seid q bank total
pagination:
  next_key: null
  total: "0"
supply:
- amount: "100000000000004687500"
  denom: usei
> seid q mint epoch-provisions
312500.000000000000000000

Ran with different configs incl:

different epoch provisions
different reduction rate
different epoch intervals

One caveat with the current approach is that it shifts the actual logic of minting from mint module to epoch module, so we need to be careful about BeginBlock ordering in app constructor. epoch now needs to go before modules that depend on minting results (distribution? not sure if there is any)

One caveat with the current approach is that it shifts the actual logic of minting from mint module to epoch module, so we need to be careful about BeginBlock ordering in app constructor. epoch now needs to go before modules that depend on minting results (distribution? not sure if there is any)

good point. I don't think epoch has any dependencies so I put it first (since our x/upgrades module will depend on it too \cc @BrandonWeng)


[UI wart]: Distribution schedule copy-to-clipboard button takes half the vertical view

Summary
The button on the distribution schedule for copying the calendar url is huge.  It should be a normal button size.
Why
It's something that the user does once and once only, so it shouldn't be taking up so much space
Details
Current Behavior

Replicable on staging: Distribution schedule has copy-calendar-url-to-clipboard button taking half the vertical space and the visible calendar is truncating the view of the current month (January), forcing user to scroll down in the calendar view to see the week of the 29th.
Expected Behavior
Copy-calendar-url-to-clipboard button should be button-sized and, with sufficient screen space, shouldn't force the month view to be truncated.
Steps To Reproduce

in staging
navigate to https://staging.humanessentials.app/diaper_bank/distributions/schedule

Criteria for Completion

[ ] button is a normal size.
[ ] Provide a before/after screenshot with your PR, please.

I would like to take a crack at this issue.

I would like to take a crack at this issue.

It's yours!

When I try to access the link to duplicate the issue by signing in with my google account, I get this error:

When I try to sign up I get this page:

I just want to make sure I'm going about accessing the page correctly so I can fix the button.

If you're running locally (via seeds), you can log in with the credentials listed in the README.

Apologies, but I am inexperienced with open source and I've just been trying to get the environment set up. However, I did login with the sample users for staging and I didn't see any truncating issues with the calendar.

Did somebody already fix the issue?

@julianm1138   I just looked at it on staging,  and initially I thought it was working too,  but if I make my browser full screen, it gets larger.

@cielf which login credentials did you use? I used User
Email<EMAIL_ADDRESS>Password: password!
for bank users and full screen is still not truncating the calendar for me.

I am getting the big button as user_1 on staging.  Are you using Chrome?  (Chrome is our sole official supported browser)

Yup! I always use Chrome, so it's quite odd. I just tried it again to be sure and the button is still thin like I screenshotted it. But hey, if it's too big in the main codebase I'm still down to fix it, I'm trying trying to figure out how to get connected to the database. so I can get it open in VSCode. If somebody would like to hop on a discord call with me or something to help get me started I would be extremely grateful because I want to contribute but to be honest I'm sort of stuck at recreating the environment on my machine and getting everything in front of me.

Are you available Sunday mornings?   We have "office hours" at 11am.

Is it 11 am EST? Yes that sounds cool.

It is.

And where's it being held, somewhere on slack, and is there a specific voice channel or something like that?

And where's it being held, somewhere on slack, and is there a specific voice channel or something like that?

We post the link to the Ruby for Good human-essentials Slack channel.

I am not a FE expert, added couple of css to fix it. Please review.


Remove extra leading slashes in the flutter tool snapshot path

Dart will parse this path as a URI, and multiple leading slashes will cause
that part of the path to be parsed as an authority.
Fixes https://github.com/flutter/flutter/issues/7279
Also see https://github.com/dart-lang/sdk/issues/28143

Won't this break on Windows where you can have UNC paths with two leading slashes?

I guess I don't understand where the multiple slashes are coming from. It seems like fixing the source would be the more correct fix.

I see, on Unix // is a valid string at the start of a path.

Do we have a testing story for this script? I guess not...

Is this just a temporary workaround until the dart vm handles //path/to/thing.dart correctly?

It's not clear what the intent of the Dart command line tool is.  Currently the tool is assuming that the dart-script-file argument is a URI, thus making //path/to/thing.dart invalid.
If Dart intends to treat dart-script-file as a filesystem path, then the tool would need to convert //path/to/thing.dart into a valid URI.
More info at https://github.com/dart-lang/sdk/issues/28143


KEP-4815 DRA Partitionable Devices

Description
Document the alpha feature for advertising partitionable devices in a ResourceSlice (KEP-4815)
PRs: TBD
Issue
KEP: https://github.com/kubernetes/enhancements/issues/4815
Closes: #

/sig node

/remove-area localization
/remove-language bn
/remove-language de
/remove-language es
/remove-language fr
/remove-language id
/remove-language ja
/remove-language pl
/remove-language ru
/remove-language uk
/remove-language vi

/remove-language hi
/remove-language it
/remove-language ko
/remove-language pt
/remove-language zh

/remove-area web-development

@klueska,
From logs, build failed with following error:

2:11:17 PM: ERROR Invalid feature gate: 'DRAPartitionableDevices' is not recognized or lacks a matching description file in 'en/docs/reference/command-line-tools-reference/feature-gates'

@klueska,
Can you try to re-push the commit and see if error can fix.
Run the following commands to trigger the build again:
git reset
git commit --amend --no-edit
git push --force-with-lease

Hello @klueska 👋!
I'm reaching out from the Docs team. Just checking in as we approach Docs Freeze on Tuesday November 26th 18:00 PDT. This documentation appears to still be under review. To meet the Docs Freeze, this PR must have a technical review as well as lgtm and approve labels applied, without any unaddressed comments or concerns from SIG Docs.
Thank you!

Nothing got included in 1.32, so there's nothing to document.
/remove-milestone v1.32

/close


Chatbot section styling

Chatbot section styling is not good at all
it should me more attractive and addictive after a good styling

GSSOC'24

I will design chatbot section please assign this issue to me .i wanna contribute

Can you please assign me this project under gssoc'2024 . I will design a chatbot section easy to handle any request .

@SujayDeyTMSL Welcome to TRAVEL_WEBSITE.
thanks for raising the issue . The issue is good .
Just I wanna ask if you can provide me some sample UI pics of chatbot you are proposing to change????????
So that I can Assign you this issue.

@riyasaxena32 @AmrutaJayanti Thanks for commenting. But as per the rule of GSSOC'24 , I only can assign issues as first come first serve basis. So Try to raise a complete new issue on which you wan to work
Thank you.

can you assign this issue to me . I wanna contribute.

please assign this to me

@SujayDeyTMSL are you still working on this issue ??

please assign this to me

I'm interested to style chatbot section in a better way . Please @apu52 sir assign this issue to me ..
Thank you!

Hello @apu52
I loved your beautifully designed website! I noticed that the chatbot section where improvements could make it even more amazing. I'd be thrilled to help enhance its look and functionality for the best results.
Please consider assigning this task to me—I guarantee you'll be pleased with the outcome.
Thank you!
Best,
Dakshant Jain

@riyasaxena32 I have assigned you .u can start working on this issue.

ok


OmnisharpServer 1.25.0 with VSCode 1.70.1 compatibility

Issue Description
After I upgraded VSCode to version 1.70.1 the plugin stopped working entirely.
No intellisense, no debug, nothing. Every entry in the console menu (select project, restart omnisharp etc) returns an error: "Can't read property of undefined". Nothing is printed in the OUTPUT tab.
After I removed the ".vscode" folder, if I try to regenerate it, the IDE tells me that OmniSharp server is not running.
All of my .NET projects behave this way (some uses .NET6, some .NET5 and one is still netcore3.1)
Steps to Reproduce
Upgrade VSCode to 1.70.1 and OmniSharp to 1.25.0
Expected Behavior
The OmniSharp server starts and you can use intellisense and other tools.
Actual Behavior
The OmniSharp server does not start, nothing is printed in the OUTPUT tab (as if it isn't a .NET project). If I try to select a project, or to start it manually, an error raises.
OmniSharp log
No log is generated, the server is not running
Environment information
VSCode version: 1.70.1
C# Extension: 1.25.0
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.400
 Commit:    7771abd614
Runtime Environment:
OS Name:     arch
OS Version:
OS Platform: Linux
RID:         arch-x64
Base Path:   /usr/share/dotnet/sdk/6.0.400/
global.json file:
Not found
Host:
Version:      6.0.8
Architecture: x64
Commit:       55fb7ef977
.NET SDKs installed:
3.1.408 [/usr/share/dotnet/sdk]
5.0.202 [/usr/share/dotnet/sdk]
6.0.100 [/usr/share/dotnet/sdk]
6.0.300 [/usr/share/dotnet/sdk]
6.0.400 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.14 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.14 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info

Visual Studio Code Extensions

Extension
Author
Version

better-comments
aaron-bond
3.0.2

better-cpp-syntax
jeff-hykin
1.15.19

cmake
twxs
0.0.17

cmake-language-support-vscode
josetr
0.0.4

cmake-tools
ms-vscode
1.11.26

copilot
GitHub
1.40.6471

cpptools
ms-vscode
1.12.1

cpptools-extension-pack
ms-vscode
1.2.0

cpptools-themes
ms-vscode
1.0.0

csharp
ms-dotnettools
1.25.0

doxdocgen
cschlosser
1.4.0

EditorConfig
EditorConfig
0.16.4

emulate
DiemasMichiels
1.6.0

indent-rainbow
oderwat
8.3.1

language-x86-64-assembly
13xforever
3.0.0

lilypond-formatter
lhl2617
0.2.3

lilypond-pdf-preview
lhl2617
0.2.8

lilypond-snippets
lhl2617
0.1.1

lilypond-syntax
jeandeaual
0.1.1

makefile-tools
ms-vscode
0.5.0

python
ms-python
2022.12.0

qbs-tools
qbs-community
1.0.6

scheme
jeandeaual
0.2.0

theme-monokai-pro-vscode
monokai
1.1.20

vscode-dotnet-runtime
ms-dotnettools
1.5.0

vscode-eslint
dbaeumer
2.2.6

vscode-pull-request-github
GitHub
0.48.1

vscode-xml
redhat
0.21.0

vslilypond
lhl2617
1.7.3

NOTE
I actually managed to get it working downgrading to version 1.24.3 and adding a symlink
sudo ln -s /usr/share/dotnet/dotnet /usr/local/bin/dotnet
I'm not sure if it's a bug or if I'm missing some changelog to update my environment correctly.
Thank you.

Hi @Hackjaku,
Maybe this link will help you: https://github.com/OmniSharp/omnisharp-vscode/issues/5298#issuecomment-1176437952

Thank you for your reply, but sadly I already have .NET SDK 6.0.400 installed. I think there must be something else that's causing the problem. I also have SDK 3.1 and 5.0, but I can't get rid of them since I have some old code that I have to mantain. I hope that this isn't causing any issue whatsoever.

I've got the same problem on Linux.

Version: 1.71.2
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:12:14.256Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.65-1-MANJARO snap
Sandboxed: No
C# Extension: 1.25.0

Downgrading the  C# Extension to version 1.24.4 solved the issue for me. Not sure if it helps, but I'm running the project inside a vscode-dev-containers ( https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet ) with variant set to 6.0 for dotnet 6.
$ dotnet --version
6.0.100-rc.2.21505.57

I've got the same problem on Linux.
* Version: 1.71.2

* Commit: 74b1f979648cc44d385a2286793c226e611f59e7

* Date: 2022-09-14T21:12:14.256Z

* Electron: 19.0.12

* Chromium: 102.0.5005.167

* Node.js: 16.14.2

* V8: <IP_ADDRESS>-electron.0

* OS: Linux x64 5.15.65-1-MANJARO snap

* Sandboxed: No

* C# Extension: 1.25.0

Downgrading the C# Extension to version 1.24.4 solved the issue for me. Not sure if it helps, but I'm running the project inside a vscode-dev-containers ( https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet ) with variant set to 6.0 for dotnet 6.
$ dotnet --version
6.0.100-rc.2.21505.57

I've been able to upgrade to 1.25.0 lately, probably the symlink I added solved the problem for the latest version.
It's only a guess since I just give the new version a try and it worked. I don't remember doing anything else since the last time, but I wans't actually trying to track the issue, so I'm not 100% sure.


How to delete Android agent name ? :(

Hi Sbertix,
I want to change login device name? I want use iphone or other apple device name instead of android and when i login via SwiftGram instagram send to me mail as "some android device (samsung xxxx ) login etc. ..."
i dont want see android device name.can i write "iphone" + "device name" ? (like "aslios iphone" )
Thank you so much

Hey @aslios,
There are many issues closed already regarding this feature.
All you need to do is set the following line on app launch.
Client.default = .current ?? .iPhone11Max

This will try and detect the user's iPhone. But if it's not an iPhone, it's gonna use the iPhone 11 Max as reference.


[lite/micro] Huge size of libtensorflow-microlite.a for arm

The file tensorflow/lite/experimental/micro/README.md says

The core runtime fits in 16KB on a Cortex M3, and with enough operators to run a speech keyword detection model, takes up a total of 22KB.

But after compiling libtensorflow-microlite.a, I get
ls -lh
total 512
-rw-r--r--  1 xxx  xxx   254K Sep  9 18:11 libtensorflow-microlite.a

which is an order of magnitude larger than 22KB.
The command I used to compile it is:
make -j2 -f tensorflow/lite/experimental/micro/tools/make/Makefile TARGET=foo microlite

The configuration file lite/experimental/micro/tools/make/targets/foo_makefile.inc is
ifeq ($(TARGET), foo)

TARGET_TOOLCHAIN_PREFIX := arm-none-eabi-

COMMON_FLAGS := \
-O2 \
-fno-unwind-tables \
-fstack-reuse=all -ffunction-sections -fdata-sections -Wl,--gc-sections -nostartfiles \
-mthumb -mcpu=cortex-m4 -march=armv7e-m -mfloat-abi=hard -mfpu=fpv4-sp-d16 \
-mno-thumb-interwork -ffast-math  \
-Wall -Werror -Wlogical-op -Waddress -Wempty-body -Wpointer-arith \
-Wenum-compare  -fno-strict-aliasing \
-Wno-sign-compare \
-nostdlib \
-fno-exceptions \
-fno-unwind-tables \
-fno-builtin

CXXFLAGS += $(COMMON_FLAGS) -fno-rtti
CCFLAGS += $(COMMON_FLAGS)

endif

The compiler toolchain information is as follows:
$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.3.1 20160307 (release) [ARM/embedded-5-branch revision 234589]
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Duplicate of #32037
Please followup on the above bug.  We would like help in testing a different proposed solution.

Sorry.  Closed the wrong issue.

@rockyrhodes  @tensorflowbutler @ravikyram
is there any workaround to solve this problem?
I'm porting tflite micro to a smart watch, but the resulting library is so large that it is impossible to put it into the chip.

The size of the .a file does not represent the amount of memory used on-device.  The compiler flags used in the various target makefiles include directives like --gc-sections and -ffunction-sections that are used to eliminate unused code and data from the compiled binaries.
All of the tests and examples run successfully on the SparkFun Edge development board, for example, which has 1MB of Flash and 384KB of SRAM.
We have been recently trying to improve the memory footprint a bit more as well.  A new memory manager for allocating space for tensor memory that just landed makes a big improvement in some of the examples.

@rockyrhodes

The size of the .a file does not represent the amount of memory used on-device.

yes, you are right. But the final binary is still larger than 100KB (compared against linking and without linking libtensorflow-microlite.a with size)
I added the flags --gc-sections and -ffunction-sections while compiling the library.

All of the tests and examples run successfully on the SparkFun Edge development board, for example, which has 1MB of Flash and 384KB of SRAM.

this only demonstrates the upper bound resources needed by lite micro. In addition, for all the
examples in the repository, lite micro is the only application running on the target system. But
a real system cannot allocate all resources to a single application and it has to consider other applications.
A NN model for an embedded system might be 30 KB, but if the framework is much larger than
the model, it's very hard to persuade people to use the framework.
what really makes me feel excited is the following statement listed in the README.md

The core runtime fits in 16KB on a Cortex M3, and with enough operators to run a speech keyword detection model, takes up a total of 22KB.

Could you please post the instructions for compiling to achieve this or update the figure
according to the latest version?

I'll let Pete answer the specific question about replicating the results quoted in the README.md file.  I'm not sure exactly how we computed these numbers.
It's possible you're right that we've admitted a bit of bloat to the framework as we've expanded its capabilities, but it still looks like it's pretty reasonable.  If I compile the micro_speech_test for the apollo3evb target (an M4 processor), the text and data that are generated for loading is now close to 200k.  Most of this, however, is text for ops that aren't required for this example.  If I replace the use of the AllOpsResolver (pull all the ops into the interpreter) with a MicroMutableOpResolver, the size is reduced to ~70KB.  For this test, there is an 18KB model and 4KB of data included in the total, so this is about 48KB for the runtime with the ops for the keyword model.
We use the AllOpsResolver in the test currently just for the simplicity of the resulting code.  I've got a cl to change this as described above that we are considering.
What do you consider a reasonable amount of memory usage for a framework like this?

What do you consider a reasonable amount of memory usage for a framework like this?

It's very hard to say. In my opinion, I think it depends on the specific application and the target platform.  One rule I believe is that: the smaller, the better; the faster, the better.
Since the architecture of the NN model for a specific application is fixed once it is trained, it is not difficult to write a program to wire them and outperform a general framework both in memory consumption and in speed.
As far as I'm concerned, one of the greatest advantage of lite micro is that it can quickly and easily test a trained tensorflow model on an embedded platform. But if the framework consumes lots of resources, we've to think whether it deserves the effort to develop our own.

The change to using the MicroMutableOpResolver was just checked into the code base.  You should now be able to duplicate the results I cited using about 48KB of text for a runtime for the micro_speech_test.
Dan and Pete, is the runtime sizing mentioned in the README file still valid?

@rockyrhodes
I'll try it right now.

@rockyrhodes
MicroMutableOpResolver can indeed decrease the size of the final binary significantly.
Thank you

Glad you're able to reproduce my results.  I'll keep the issue open for Pete and Dan to decide if the README description is still valid.


io.open is not a file object

Since e708619170fab2112f4bacf5693b842302d47531, Path.open uses io.open which return a stream, which apparentely is not compatible with a File object, which is what is expected for example in  numpy.ndarray.tofile.
Maybe the fault is in numpy, but this is still a compatibility problem with previous path.py versions.

Actually there is an opened bug about this in numpy : https://github.com/numpy/numpy/issues/2230.

Thanks for reporting the issue and linking the downstream ticket.
This change was introduced in the 7.0 release, for which the version number and the changelog both communicate clearly the possibility of incompatibility. The result is still a file-like object, which is suitable in nearly every case (and is in fact unavoidable on Python 3), so there's nothing more to be done here.


Icon request: KDE

URL of the site or app (required): https://kde.org
Logo resources for the icon (optional): https://kde.org/stuff/clipart/logo/kde-logo-white-blue-source.svg

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/KDE.svg
❓ How to add icon(s) to Aegis?


XML import- error message

I am supporting a publisher (UNITAID) in using the XML import feature. When importing the file I receive the following error-  The uploaded file must be an Xml file (see screenshot below).

The file I am uploading is an XML file and validates against the IATI schema- see results from IATI public validator in here.
Please note that the file is using version 1.01 of IATI, however, we have encountered the same error when testing the XML import with other IATI files as well.
Would you be able to look into this and let me know how we can proceed with importing the file?

Dear Petya,
Could you please send us the xml file.

Hi Kiran,
I have sent the file to<EMAIL_ADDRESS>Let me know if you received it.
Thanks

Hello Petya,
Thank you for sending the file.
It seems the file is missing "" tag due to which, it was not recognized as xml file.
Currently, Aidstream only supports IATI xml version '1.03', '1.05' and onwards. To be able to import this xml, you have to change the IATI xml version to atleast '1.03' and also remove " <ir:registry-record xml:lang="en" file-id="utd-1" source-url="http://terrance.who.int/mediacentre/unitaid" publisher-id="utd" publisher-role="Funding"<EMAIL_ADDRESS>donor-id="utd" donor-type="40" title="UNITAID Activity Files" activity-period="2007-2016" last-updated-datetime="2016-09-30T00:00:00Z" generated-datetime="2016-12-20T00:00:00Z" verification-status="1" format="xml" license="IATI" />" tag from the xml file.
Please have a look into https://github.com/younginnovations/aidstream/wiki/How-do-I-import-activities-form-a-XML-file-%3F link to know about xml importer.
Best Regards,
Kiran

Many thanks for looking into this so quickly @sachit-singh  I have now fixed the file but I am still getting an error with the XML  import. I will share the updated file via email. Would woul be able to look into this again?

Best wishes,
Petya

Hello Petya,
I just tried importing your xml file into my test account as well as yours. However I did not get this error. I'm a little confused. Except for the error for the missing type attribute for the Activity Identifier Element.
Could you please verify?
Thank you.

Hi Sachit,
I tried again a few times and get the same error. Weirdly, the error message in red disappears after a few seconds, but the activities are not imported. I am using Firefox for my test account.
Would you be able to share a screenshot with the error you get? In a way this is good news as it means that the file has been uploaded successfully and UNITAID will then be able to upload their files if moved to version 1.03. I will be speaking to the them next week so can ask them to test the upload as well and see what error they get in their account.
Any other advice in the meantime will be much appreciated.
Many thanks,
Petya

Hello Petya,
I'm a bit confused as well. I have attached the screenshot of the Activity that I uploaded from the UnitAid Xml file that you had sent me, into your test account (Petya_IATI_test account).

Hi Sachit,
Thanks again for the quick response. I am not sure why this is occurring. I have asked UNITAID to try importing the file in their account and see whether they get the same error. I will probably talk to them next week, so if it is okay, let's keep the issue open and I will provide an update once they have tested with their account next week.
Best,
Petya

Hi Petya,
Could you try logging out and then logging in again and then importing the file and tell me if you have the same problem??
Thank you.

Hi Sachit,
Yes, logging out and in worked and the file was imported successfully. Many thanks again! I will close the issue now.
Best,
Petya

Hi Petya,
Not a problem :)
Best Regards,
Sachit


Finding Icon names is hard

It is hard for a developer to find the actual names of the components to import into their applications. Please fix it or guide me how to do it

Hey! The component names are the PascalCase versions of the icon names you see on the website, so academic-cap is AcademicCap.

Hey! The component names are the PascalCase versions of the icon names you see on the website, so academic-cap is AcademicCap.

Do I have to add "Icon" at the end? I'm searching for the forward icon, so is it "ForwardIcon"?

Do I have to add "Icon" at the end? I'm searching for the forward icon, so is it "ForwardIcon"?

Ah yep sorry I left that detail out. Can see all of the icons that are published here in case it helps:
https://unpkg.com/browse/<EMAIL_ADDRESS>

@adamwathan why do we users have to dig through a separate link to find this info?

why do we users have to dig through a separate link to find this info?

I'm not sure what you mean by this — that's where the information is so that's where you look to get it. It's linked clearly from the README. Please don't forget this is just a fun open source project created in someone's spare time and released for free for anyone who wants to use it — you are not owed anything here. If you're unhappy with the library then use a different library or make something yourself, it makes literally no difference to me at all.

Surely a codemod to help users upgrade would be a nice value add.

Yeah that would be cool, unfortunately we don't have unlimited time and have to prioritize what we work on and we just have more important projects than that, especially since Heroicons v2 is not really meant to be something you upgrade to, it's simply a new icon set in a different style.
If you want to create a codemod and publish it somewhere for people to use go for it, that would be cool 👍

Why do I need to do this
import { CalendarIcon } from '@heroicons/react/24/outline'
instead of
import { CalendarIcon } from '@heroicons/react'
?

There’s three different icon styles and sizes and you need to specify which one you want so yeah I’m super serious.

Hey! The component names are the PascalCase versions of the icon names you see on the website, so academic-cap is AcademicCap.

It's not really the case, for instance MagnifyingGlass is not the pascal case version of search

That screenshot isn’t our website, not sure what that is. On our website you can see the icon name is “magnifying-glass”:

Oh, I was looking at heroicons.dev, not sure why the .com domain did not show up first. Thank you!


chore: Switch signing to use /etc/ & use jq instead of yq

Related: https://github.com/secureblue/secureblue/pull/657

Any particular reason we should switch from yq to jq here? I'm not opinionated, just looking for reasoning

@rehashedsalt it's one less dep to include, for one thing. if this is all that needs it, might as well swap it out

the way bluebuild includes it currently is by installing it directly into /usr/bin, which could potentially cause issues if for some reason someone needs the rpm yq layered

We don't include yq in BlueBuild anymore. We switched fully to jq there, hence why I made this PR.