How to use Json Job Settings in MediaConvert?

I am looking at the .NET sample here: https://docs.aws.amazon.com/mediaconvert/latest/apireference/custom-endpoints.html
according to this: https://docs.aws.amazon.com/mediaconvert/latest/apireference/sample-json.html
I can only pass job spec as json string to CLI or Python but in .NET SDK I need to construct objects by hand.
I mean - I am totally at loss..
Do I have to write 50000 lines Json parser to convert it to SDK objects or do I have to write and deploy a C# class for each job??
Please help

Hi @maxima120.  Neither are needed.  If you have a JSON file, you could possibly create the requests with only a few lines of code.  You can use an existing JSON library such as Newtonsoft to handle the deserialization into the CreateJobRequest object.  However, the .NET SDK isn't guaranteed to use the same property names as the fields in the JSON that you would send to the CLI, so you should verify that the fields in the JSON map to an SDK property and that your deserialized objects are complete.

I know how to use newtonsoft. I doubt serialisation will succeed into CreateJobRequest. Exactly as I suspected : "SDK isn't guaranteed to use the same property names"
Which means I will have to search through whole object graph and create a map of dynamic json object to CreateJobRequest properties..
I never seen this kind software since 1984.

Hi @maxima120,
Good afternoon.
I was going through the issue backlog and came across this question. I do see some input provided by @klaytaybai. I'm not sure what further input could be provided here. Please advise if we could close this issue.
Thanks,
Ashish


Support deterministic slice sizes when fetching data from backend

Currently MetricBackends will fetch the data for an entire series and range at once, which requires that an entire range fits into memory up until it reaches the configured or provided quota (default: 20M).
For each time series discovered for a filter a fetch* is performed for the entire range queried for, which has to fit into memory.
*: https://github.com/spotify/heroic/blob/master/heroic-component/src/main/java/com/spotify/heroic/metric/MetricBackend.java#L62
The implementation should perform the fetches piece-by-piece at a fixed size to make memory usage independent of the range. Short term the range could be broken down, but mid term it would be better for performance reasons if the backend itself could determine a suitable size.

For Bigtable this was beginning to be solved by https://github.com/spotify/heroic/pull/231 which would limit the number of cells being read.


Issues in the Component Browser in the new IDE

The qnIsTopElement function is filtering out all the methods that should be in the default list.
The code was changed from (name.match(/\./g)?.length ?? 0) <= 2 to !/[.].*?[.].*?[.]/.test(name).
These are not equivalent. The later only works if 3 parts in the name.
name.split('.'),length <= 2 is probably clearer.

We should remove modules, types and constructors from the top level list unless we have added a GROUP to them (though not even sure that works at moment).

  private mainViewFilter(entry: SuggestionEntry): MatchResult | null {
    const hasGroup = entry.groupIndex != null
    const isModule = entry.kind === SuggestionKind.Module
    const isType = entry.kind === SuggestionKind.Type
    const isConstructor = entry.kind === SuggestionKind.Constructor
    const isTopElement = qnIsTopElement(entry.definedIn)
    if (!hasGroup && (isModule || isType || isConstructor || !isTopElement)) return null
    else return { score: 0 }
  }

The initial filtering should just be initials starts with not a letter by letter match.
For example, within a Table, sc should match select_columns but not select_blank_columns.

Ordering is not being applied. The sort algorithm is missing in matched.
const matched = Array.from(matchSuggestions()).sort(compareSuggestions)

We should only show the local variables if showLocal is true.

The qnIsTopElement function is filtering out all the methods that should be in the default list.
The code was changed from (name.match(/./g)?.length ?? 0) <= 2 to !/[.].?[.].?[.]/.test(name).
These are not equivalent. The later only works if 3 parts in the name.
name.split('.'),length <= 2 is probably clearer.

Well, I think qnIsTopElement does exactly what it promises, and this test confirms it:
  test.each([
    ['local.Project', true],
    ['local.Project.elem', true],
    ['local.Project.Module.elem', false],
  ])('qnIsTopElement(%s) returns %s', (name, result) => {
    const qn = unwrap(tryQualifiedName(name))
    expect(qnIsTopElement(qn)).toBe(result)
  })
}

and it should never filter out the entries that are in group:
  private mainViewFilter(entry: SuggestionEntry): MatchResult | null {
    const hasGroup = entry.groupIndex != null
    const isModule = entry.kind === SuggestionKind.Module
    const isTopElement = qnIsTopElement(entry.definedIn)
    if (!hasGroup && (!isModule || !isTopElement)) return null
    else return { score: 0 }
  }

We should remove modules, types and constructors from the top level list unless we have added a GROUP to them (though not even sure that works at moment).

That effectively will make us display just the elements in groups, as there is no top element I know which is not a module or type. We can do that, however personally I liked the idea, that after group we allow user browsing stdlib in a "hierarchical" way - we display top modules which may be entered by the user to browse further.

We should only show the local variables if showLocal is true.

I think it would worsen my UX. Doing some work (bookclubs) I often type operator to pick one of the local variables and create connection. Now I would have to click some button to have that.

Well, I think qnIsTopElement does exactly what it promises, and this test confirms it:

I found reverting it made it work yesterday but possible other issues then.

That effectively will make us display just the elements in groups,

No, we are correctly showing static methods which are not in groups with this change.

If we want to have a module hierarchy to explore, we shouldn't show all modules/types (there are 700 or so in the db). We should just show the immediate children of where we are.
So we would just show the Standard.Base, Standard.Database, etc in top level and allow drilling down.
This needs a little thought but I think would be a nice set up. I am cautious about adding complexity into the CB as it is already far too hard to find things for end users.

I often type operator to pick one of the local variables

OK that is fair - the issue is that in any real workflow the count is enormous.
With the ordering correctly implemented such that they appear together post groups it can work.
The catch being that it massively increases the requirement for renaming nodes to make it clearer.

The icons within the component browser are not aligned with what is shown now on the nodes.
We should use the icon of the function if defined or the Enso logo if not.
The GraphNode has the code:
const icon = computed(() => {
  if (suggestionEntry.value?.iconName) {
    return mapOldIconName(suggestionEntry.value.iconName)
  }

  const methodName = expressionInfo.value?.methodCall?.methodPointer.name
  if (methodName == null && outputTypeName.value != null) {
    return typeNameToIcon(outputTypeName.value)
  } else {
    return 'enso_logo'
  }
})

Worth noting, that the CB user experience will need more thought.
It is much better than the old version but we still have work to make it easy for beginner end users to interact with.

That effectively will make us display just the elements in groups,

No, we are correctly showing static methods which are not in groups with this change.

Ah, I missed one more change: we display not only top elements but all entries defined in top elements.
I will fix CB first to make it same as in the old GUI (where we display top modules, not their content), and then apply any further UX suggestions.

We really should show those static functions - they are exactly the set I expected to see there.

Ok. I just want to express that this is design change. I think the idea was, that any static function, if important, should be in some group.


Require authentication to access dino-park.

Remove login links from index.html.

Coverage increased (+0.001%) to 86.997% when pulling ed0594de061c84bf58b36d888daf8c7bc927364d on akatsoulas:login-required-index into c7238f4613bb51addf3f17a2661a9d9df8e4c929 on mozilla:dino-park.


Weird behavior after updating from 0.0.20 to 0.0.21 / 0.0.24

Issue
After updating to version over 0.0.21 (with the whole SWC ecosystem updated accordingly (see versions below), we encounter an issue when running instrumented code. Some component are simply not rendered anymore. Some label property are not there anymore and seems to prevent component proper display.
Environment
Both before and after
"@emotion/cache": "11.13.1",
"@emotion/css": "11.13.0",
"@emotion/is-prop-valid": "1.3.0",
"@emotion/react": "11.13.3",
"@emotion/styled": "11.13.0",

Before
"@swc/core": "1.3.105",
"@swc/plugin-emotion": "2.5.109",
"swc-plugin-coverage-instrument": "0.0.20",

After
"@swc/core": "1.4.0",
"@swc/plugin-emotion": "2.5.117",
"swc-plugin-coverage-instrument": "0.0.21",

Code processed
Original source
import {  TabsList as TabsListCore } from '@my/design/system';

export const TabsList = styled(TabsListCore)`
  margin: 0 auto;
  width: fit-content;
`;

After emotion processing
export var TabsList = /*#__PURE__*/ styled(TabsListCore, {
    target: "ebt2y835",
    label: "TabsList"
})("margin:0 auto;width:fit-content;");

After instrumentation and emotion processing with v0.0.20
export var TabsList = (cov_6625024766285021714().s[6]++, /*#__PURE__*/ styled(TabsListCore, {
    target: "ebt2y835",
    label: "TabsList"
})("margin:0 auto;width:fit-content;");

After instrumentation and emotion processing with v0.0.21
export var TabsList = (cov_6625024766285021714().s[6]++, /*#__PURE__*/ styled(TabsListCore, {
    target: "ebt2y835",
    label: ""
})("margin:0 auto;width:fit-content;");

As you can see here, we are loosing the label here.
On latest versions (like 0.0.24), i got the same result (i got better coverage on other part of the code, so the updated version looks very nice 😋)
Need for help ='(
I have no idea what is going wrong here. I could work on a restricted perimeter to reproduce the issue for easier debugging.
In the meantime i was wondering if there is something that you may be used to 🤞

Addition 1
In the process of instrumentation, if i manage to re-inject the TabsList in the label property, everything works nicely once in the browser 🎉
-> the issue comes from the missing label property. Question is  why this label property disappeared?
Addition 2
When using the callback notion from emotion instead of the direct string template:
import {  TabsList as TabsListCore } from '@my/design/system';
import { css } from '@emotion/react';
import styled from '@emotion/styled';

export const TabsList = styled(TabsListCore)( () => css`
  margin: 0 auto;
  width: fit-content;
`);

I get this instrumentation:
export var TabsList = /*#__PURE__*/ styled(TabsListCore, {
    target: "e1oboep27",
    label: "TabsList"
})(function() {
    cov_6625024766285021714().f[5]++;
    cov_6625024766285021714().s[8]++;
    return css(_templateObject5());
});

This new instrumentation works perfectly 🎉
-> could there be something wrong with the way string literals are instrumented?


Weird pinching hand

https://emojipedia.org/pinching-hand/
The pinching hand emoji has a weird position of the fingers and the index finger is too long.

Yeah, I am totally aware that it looks really, really bad.
The reason is simply: I am really, really bad at designing something complex as hands :D
Maybe I'll include a modified version of the Noto pinching hand (which wasn't available at the time)...

Here's a solution based on Google's design.

And another question is: Which direction? Google and Microsoft point to the left, Twitter and Emojipedia point to the right.

For simplicity's sake, keep the same direction as Google.


Feature/setup name generator

Note: I did push up the node_modules because I did not want to get merge conflicts by creating a .gitignore


Add wait_for_completion parameter to the documents of shrink, clone, split, open, and forcemerge APIs

Is your feature request related to a problem? Please describe.
In PR https://github.com/opensearch-project/OpenSearch/pull/6434, we introduced a new request parameter wait_for_completion for the shrink, clone, split, open, and forcemerge APIs, we need to document it.
Describe the solution you'd like
Add some description for the parameter wait_for_completion in the documents of shrink, clone, split, open, and forcemerge APIs, just like reindex API, we can refer to the description of the same parameter in reindex API's document.

Hello @gaobinlong - I believe this issue should be moved to the https://github.com/opensearch-project/documentation-website repo (cc @hdhalter )


feat(devops): Signer deploy script

Motivation
Step 2 of the frontend migration plan is to make a deploy script for the signer canister.
This PR implements that step, although the script has no use (yet):

deploy.sh does not deploy the signer separately, and probably never will as signer deployments will (soon) be from another repository.
Likewise the HACKING.md file does not need instructions for deploying the signer (yet).

Changes

Add a deploy script for the signer canister.

Tests
The script is a copy of deploy.backend.sh so most code branches will already be checked there.
I have run:
ENV=local WALLET=bnz7o-iuaaa-aaaaa-qaaaa-cai bash -x scripts/deploy.signer.sh

Note: WALLET needs to be set explicitly when deploying to local

@AntonioVentilii-DFINITY Well, the script is the same now, but it is expected to diverge fairly rapidly. :-)


Resume from checkpoint causes CUDA out of memory error

I tried resuming from checkpoint (as described here but it leads to CUDA running out of memory. Starting training from scratch is fine though. I pretty much followed the example notebook that was provided.

Hmm it's possible the patching process is not working as is. Hmm interesting - I'll see and take a look

@dachenlian hopefully the issue now solved? Thanks :)


A "step" is interpreted as one test, I would expect a "scenario" to one test

Consider this test:
Given I'm a new user,
When I navigate to "/",
Then the title should be "page title".
The output of running this "test" is 3 tests passed. I would have expected it to say 1 test passed as a don't see the setup as test in it self.
I can understand if the reason for this is to indicate if a setup step failed, but could that information not be added to the "message and callstack" property of a failed test?

I guess the reporter speaks the language of "tests" and you're right that the mapping is ambiguous. The right thing to do is to get the reporter to speak cucumber and use the proper hierarchy of features > scenarios > steps > details (screenshots / messages / callstacks). This way nothing lost in translation.

Yes i guess you are right that velocity only stores one type of "test". But it's the mapping from cucumber to velocity tests, I would like to change:
I was thinking something like the "ancestors" array would store the Feature > Scenario titles. The "name" of the test would be: "Given I'm a new user, When I navigate to "/", Then the title should be "page title"."
Right now we have separate tests in mongo and no way (that I know of) to group them together. So if we have concurrent tests, then the steps would be mixed together. And also the "add a test says 3 passed" as I mentioned in the first comment.
Thanks for your time by the way.

Can you tell me your exact use case? I'm interested in what you're interested in getting out of mongo directly.
Regarding the change, if you want to make the naming optional in open to a pull request. I'm reluctant to change what the current users are used to unless I have a complete reporting solution. Maybe we're working on something ;)

And you're welcome!

I'm currently working on a valocity teamcity reporter. So I'm using the console reporter as an example. I just noticed that (what I call a) test is having 3 entries in the velocityTestReports collection.
But if you maybe working on something, then maybe I can wait ;)
It is not of importance, just wondering why and how.

We would love it if you could help us out and work on the xunit reporter for Velocity.
This would then drop-in to all CI servers that can parse xunit. Velocity already has a structure similar to xunit. Here's a very early version of jasmine-unit (deprecated) that did the inverse xunit-> Velocity.
https://github.com/xolvio/jasmine-unit/blob/master/main.js#L69
It shouldn't be too hard to reverse that.
Regarding cucumber > xunit. I found this:
https://github.com/stjohnjohnson/cucumber-junit
And he used a step == testcase as you can see here:
https://github.com/stjohnjohnson/cucumber-junit/blob/master/tests/mocks/output.xml
I'm not sure what the right answer is for xunit <> cucumber conversion is. But I know it's currently not 100% with Velocity :)

I see your comment about @stjohnjohnson implementation, but I would dare say he is wrong ;)
I'm working on a TeamCity reporter related to the work I'm doing at my company. I think it should be fairly easy to take that reporter (when it's done) and retrofit it with xUnit xml output instead. TeamCity parses stdout for special ##teamcity tags, but xUnit could output an xml file instead.
But I'm not completely ready to publish the TeamCity reporter yet. Mainly because currently it does not output tests on the fly (probably won't matter if xUnit outputs a file) but also because I do not totally get the way to read the reports from mongodb.
I want to ask the Velocity team how to do it and/or if they would consider having a subscribe method on the framework instead of me poking around in their raw data.
P.S. TeamCity does have support for xUnit, but as far as I can se only through a MSRunner thingy, so I cannot directly use it for our Meteor setup.

I'm open to the challenge :) Like I said, I'm not fully decided
I'll answer the velocity question for you


Have necessary_columns behave similarly to dask.compute

dask_awkward.necessary_columns should behave similarly to dask.compute such that it can accept an arbitrary number of collections or a dictionary of collections
(Requested by @lgray)

will now be fixed by #148


AQL 'Select e From EHR e' throws nullpointer

Steps to reproduce
Launch ad-hoc query
"q":"Select e From EHR e"
Actual result
Throws nullpointer exception, seems to be searching the query in the stored queries
{
  "error": "Could not retrieve stored query, reason: java.lang.NullPointerException",
  "status": "Bad Request"
}

Expected result
Return all EHR available in the repo, or '400 bad request' if query is unsupported
Success criteria

[x] The defect has been fixed
[ ] The defect is checked by an unit or an integration test (Robot)
[ ] Merge Request approved
[ ] Unit tests passed
[ ] Build without errors
[ ] Release notes prepared
[ ] Runtime warnings

Doing more testing seems to be related with the "Select e" part of the query


Diff colors for mocha not visible enough

Description
Nearly impossible to tell what has been diffed for lines that are partially the same.  Example:

Neovim version
NVIM v0.8.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by nixbld

Features: +acl +iconv +tui

Terminal and multiplexer
kitty 0.26.2 and tmux 3.3a
Catppuccin version / branch / rev
catppuccin v1.1.1
Steps to reproduce

get two text files that are the same except for partial line changes
run nvim -d file1 file2

Expected behavior
Distinct colors and highlighting for the portions of the lines that are different.
Actual behavior
Added and missing lines are relatively visible, using pastel dark red and green colors, but lines with partial changes do not show a difference almost at all.
Repro
No response

I find the color hard to spot too.
This can be mitigated by changing the "DiffText" highlight. I've picked a nice shade of yellowish-blue color (in lua):
vim.api.nvim_set_hl(0, "DiffText", { bg = "#40403B" })

Bumped darken amount from 0.18 to 0.30


[NETBEANS-1180] Move enterprise cluster

[NETBEANS-1180] Move enterprise cluster
commit 1
[NETBEANS-1180] Move enterprise cluster - task 1
moving the modules to enterprise folder

commit 2
[NETBEANS-1180] Move enterprise cluster - task 2
replace
../nbbuild
with
../../nbbuild

commit 3
[NETBEANS-1180] Move enterprise cluster - task 3
replace
<project basedir="." default="netbeans" name="
with
<project basedir="." default="build" name="enterprise/

commit -4
[NETBEANS-1180] Move enterprise cluster - task 4
Update ${nb_all} related paths

.gitignore no references found
rat-exclusions.txt no references found

Travis Build on Branch
Passing

Seems good, no reason not to go ahead and merge this. If something breaks somewhere, we know it's from here.


v0.2.0 Updates

I needed some more functionality for AIX and RHEL.  Did some major updates and built out better templating.  Please review.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Idempotent parquet writes with "overwrite" mode

Is your feature request related to a problem?
Currently all writes only perform new writes and return the paths of the new parquets being written.
This is equivalent to an "append" operation but is inconvenient for creating pipelines which should be idempotent.
Having an "overwrite" mode will allow for idempotent read/writes which can be easily rerun (such as those which are refreshed daily, or need to be rerun due to errors)
Describe the solution you'd like
Have a parameter/mode for the write_parquet which can overwrite the existing contents of the folder and replace it with the new parquets.
Describe alternatives you've considered
Deleting the data beforehand using another engine but it's less convenient
Additional Context
Similar to mode("overwrite") in pyspark
Would you like to implement a fix?
No

On it

This should be ready in the latest release!


How to add http parameters to Redirect URI?

We are using the MSAL java servlet example, and SSO works great. However, if we authenticate with query parameters, the authentication completes, but the query parametes are stripped off when the Redirect URI is called. Is there any way to pass through the query parameter when Redirecting? Example Redirect URI =  https://myserver.com/cpa/index.html BUT called with
== https://myserver.com/cpa/index.html?code=123&id=456

I believe you can use 'state' parameter to store any data so that you have the same data back after the redirect is done. It's described here, same for Java:
https://learn.microsoft.com/en-us/entra/identity-platform/msal-js-pass-custom-state-authentication-request

Hello @kilokili777 : Where are you setting this redirect URI? Is this the URI set in the Azure app, or is it the loopback address option in the interactive flow: https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/d4b5096f9e7926fb491978b45599dc96b46f8f83/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/InteractiveRequestParameters.java#L40
Since you're using the servlet sample as a base, this might be a quirk of Azure or an issue with the sample rather than an issue in MSAL Java itself.

@kilokili777 - can you describe what you are trying to do? Are you trying to ensure the user is redirected back to the exact route he started from after they are authenticated? Would you not be able to use the session ID for this?
The sample adds a parameter called "state" to the authorization URI, see https://github.com/Azure-Samples/ms-identity-msal-java-samples/blob/main/3-java-servlet-web-app/1-Authentication/sign-in/src/main/java/com/microsoft/azuresamples/msal4j/helpers/AuthHelper.java#L116
Then when the auth completes, the sample extracts the auth code and checks that the state parameter is the same - https://github.com/Azure-Samples/ms-identity-msal-java-samples/blob/main/3-java-servlet-web-app/1-Authentication/sign-in/src/main/java/com/microsoft/azuresamples/msal4j/helpers/AuthHelper.java#L136
You should be able to use this to add more details, but make sure to add a unique identifier in it. Also ensure that the state isn't too long, or you get into URL size issues.


Use PersistKeySet to ensure private key is persisted for client auth.

I can confirm on behalf of Starbucks that this solves our issue. We where able to get 8 completely successful deploys each with 4 Service Fabric applications in it. Thanks @NCarlsonMSFT for your help in finding this issue.


Warning about missing quotes in entity paths can be annoying

WARN  re_log_types::path::parse_path] Found an entity path 'world/100_7100.JPG' that was not in the normalized form. Please write it as 'world/"100_7100.JPG"' instead.

Yeah, this was maybe a bit aggressive on my part. Perhaps we should rethink the "name" vs "Index::String" dichotomy. It is at the moment just adding complexity and confusion.

We should also consider adding helpers for constructing entity-paths int our public API:s, especially for C++.
See for instance https://github.com/rerun-io/cpp-example-vrs/pull/1/files/4cafa610dcd9c5b1653b7e474d5b954fa9bd9536#r1377867266


Maldives: answer more questions option

When the user is prompted to answer more questions, selecting "No" does not terminate the survey.

Fixed in c761669


Kernel panic in runtime

Describe the bug
No containers running, just suddenly got this message from OrbStack.
To Reproduce
No response
Expected behavior
No response
Diagnostic report (required)
OrbStack info:
Version: 1.0.0
Commit: c43913566b3e18b25f38a8d5f70e535eb265bdb2 (v1.0.0)
System info:
macOS: 13.6 (22G120)
CPU: arm64, 12 cores
CPU model: Apple M2 Max
Model: Mac14,6
Memory: 64 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-09-29T12-49-35.616813Z.zip

Screenshots and additional context (optional)
No response

Can you figure out how to reproduce this?

Fixed for the next version.

Released in v1.6.0 Canary 1.
To update to Canary: Settings > Update channel


rtl CDN?

Hi,
Is there any CDN where I can find the direction:rtl so I can use it with arabic language? I saw that it can be compiled, but, how about a cdn that hosts the compiled version?

There is not, RTL versions have to be created using build tools.

so I will upload it with the app, thank you :)


Batch download request yields different response codes for empty responses

Describe the bug
When downloading keys, the gateway behaves in two different ways when there are no keys available.
The request to download keys from the past, e.g. ...diagnosiskeys/download/2020-08-27 returns a 404 Not Found, which meets the expectations.
The same request for the current day ...diagnosiskeys/download/2020-09-17 instead returns a 200 OK with empty response body.
Expected behaviour
Return the same response code 404 Not Found also for the current date, as it is the case for dates in the past.
Steps to reproduce the issue

Send a GET request to the gateway URL ...diagnosiskeys/download/2020-09-10 for a date where no keys exist (depending on your gateway instance setup and data). You will see a response with response code 404 Not Found
Send a GET request to the gateway URL ...diagnosiskeys/download/<current-date>. You will see a response with response code 200 Ok, but the response body is empty.

Hi @mibrasap, thanks for the bug report. Our developers will discuss this and compare it to the specification documents and we'll get back to you!

Hi @mibrasap ,
you are not getting a non 2xx response because the batch you have tried to download (and possibly more) actually exists for this date. But it contains only keys uploaded by your own country. EFGS will not deliver you any key uploaded from your own country so it responds with an empty array.


Puzzle never extracted silently

Puzzle below will never be extracted silently.
    @Override
    //@todo #945:30min Lets remove logging once #945 is resolved.
    // This logging was added to investigate original issue and should be
    // removed once #945 is resolved. Do not forget to remove helper methods
    // also.
    public XsLayer.Job job(final int job) { }

because twin slash is not followed by whitespace at the first line
Let's either fix the pattern to parse such puzzle or reject this format at all.

@yegor256 please do something about it, see par.21


a loader for certain formats & .BIC-files from XXDP

These are especially interesting: https://www.pdp-11.nl/xxdp-list.html#XXDP 11/70 CPU
Output looks like e.g.:

Start at 000200

^@^@000:00:00
^@^@ERRORPC PHYSC PC    PSW   MAINT   TEST NO SUB-PASS CNT
^@^@064470  00064470  000000  000000  000000  000000  000000
^@^@UNEXPECTED TRAP TO 4
^@^@PCOFTP  PHYSPC    PSW   CPUERR
^@^@005424  00005424  000344  000060
^@^@
^@^@
^@^@000:00:00
^@^@ERRORPC PHYSC PC    PSW   MAINT   TEST NO SUB-PASS CNT

Where can I find documentation on the .BIC file format?
And where can I get copies of the binary files you are loading for the diagnostics? At the link you gave I only see high-level descriptions of the tests themselves??

Hello,
I can't remember where I got it from that .BIC-files are just tape-files. Maybe an other emulator, can't remember which.
I retrieved the disk-images (in rl02 or rk05 format) from bitsavers.org. There's https://github.com/AK6DN/xxdpdir which is a tool retrieve individual .bic-files from the xxdp-set. Note that XXDP contains  menu-software to run each but for automated unit-tested I found it convenient to retrieve them from the set and run them as individual tape-files.
For it to be usable, check http://www.bitsavers.org/pdf/dec/pdp11/microfiche/Diagnostic_Program_Listings/Listings/ where you can find the sourcecode of many of these programs.

Support for this is in boot.py now


Error while sending inscription

While sending inscriptions this error occurred:
ord --index /root/.local/share/ord/index.redb  --cookie-file /var/lib/bitcoind/.cookie wallet --name "NAME" send ADDRESS OUTGOING --fee-rate  --postage 8333sat
thread 'main' panicked at src/subcommand/wallet/transaction_builder.rs:566:13:
invariant: excess postage is stripped
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This seems to be a bug. Removing the postage option lets me send.

Which version of ord?

The current 15.0

Could you try running with a backtrace:
RUST_BACKTRACE=1 ord --index /root/.local/share/ord/index.redb --cookie-file /var/lib/bitcoind/.cookie wallet --name "NAME" send ADDRESS OUTGOING --fee-rate --postage 8333sat
And also see what happens if you change the postage a bit.

Hey @raphjaph . I just experienced this issue. My command looks like this:
RUST_BACKTRACE=1 ord wallet --name btc_ordi-assets send --postage 546sats --fee-rate 8 ADDRESS OUTGOING
My response was:
thread 'main' panicked at src/wallet/transaction_builder.rs:571:13:
invariant: excess postage is strippedstack backtrace:
   0: rust_begin_unwind             at ./rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt             at ./rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
   2: ord::wallet::transaction_builder::TransactionBuilder::build_transaction   3: ord::subcommand::wallet::send::Send::create_unsigned_send_satpoint_transaction
   4: ord::subcommand::wallet::send::Send::run   5: ord::subcommand::Subcommand::run
   6: ord::arguments::Arguments::run
   7: ord::main

My version of ord is 0.18.5

Could you try sending with a higher postage? Like 1000 sats and then let me know if that works.


MapLibre: Ubuntu 22.04 support

Description
Introduced in https://github.com/commaai/openpilot/pull/31185, the library does not allow scons to build in Ubuntu 22.04.
Verification
After rebuilding the library in Ubuntu 22.04, scons was able to build successfully.

What's the problem? If it's linking against a library of a different version, we may not be able to have one version that works on both.

From what I read on Discord, seems to be related to libcapnp-0.7.0 which is missing in 22.04 (but available in 20.04). libcapnp-0.7.0 is available in 20.04 (focal). On 22.04 (jammy) libcapnp-0.8.0 is available.
In openpilot libcapnp-dev is installed, which installs the "appropiate" lib of libcapnp version based on the ubuntu release: libcapnp-0.8.0 in 22.04 and libcapnp-0.7.0 in 20.04.
I guess we can compile libcapnp also in openpilot, not just in agnos. I can help out, if needed.

That's okay. We'll update libcapnp when we go to 24.04 soon. @sunnyhaibin for now, you can build (or install) the older libcapnp to work around this.

Pretty weird that I don't see any capnp dependency for maplibre-native-qt. I think I linked the wrong Discord chat. @sunnyhaibin's maplibre message on Discord is this one.
Will pull the latest master anyway and test it out on 22.04.


How do I get logged in user email id?

I have an access token of user which I got as below,
 const accessToken = req.body.originalDetectIntentRequest.payload.user.accessToken;
how can I get logged in user emailid,name and user's other details?

Duplicate of https://github.com/actions-on-google/actions-on-google-nodejs/issues/347


add ConsignmentEndpoint enum

This PR introduces a ConsignmentEndpoint enum, currently defining 2 possible exchange medium protocols: Storm (https://github.com/Storm-WG/storm-spec) and RgbHttpJsonRpc (https://github.com/RGB-Tools/rgb-http-json-rpc).
For the RgbHttpJsonRpc protocol URL I've used a String, because url::Url doesn't seem supported by strict enconding. I see other string parameters representing URLs (e.g. price_provider), so I don't think this is an issue, but @dr-orlovsky let me know if you think there are better solutions.
Moreover in the add_consignment_endpoint method I've removed the call to is_rgb, since that method, in order to decide if the consignment is for RGB, checks whether the invoice specifies a contract ID. But we see use cases where an RGB invoice could not contain asset information but would like to include consignment endpoints and removing that call achieves that.
Closes #2

@dr-orlovsky since this PR has been merged, could you make a new release on crates of  lnpbp-invoice (e.g. 0.8.0-rc.2). This would be helpful to test it on Iris without git dependencies on rgb-lib.

Waiting for the confirmation that #6 solves the problem - and then will release invoice crate

#6 solves the problem. @dr-orlovsky you can release, thank you

@zoedberg published


Remove WereProf stat req exemption

The Mild-Mannered Professor's stat reduction functions more like a debuff (like Small or other stat-fixing effects) than a permanent lowering (like A Shrunken Adventure Am I). Having the added condition in meetsStatRequirements causes Mafia to want to equip items the character does not have the base stat for. This PR removes that.
An easy test is pulling something like the Mafia Thumb Ring (40 Base Mus required) and trying to equip that as a Professor at the start of the run. It will not be possible.

With a couple of exceptions I have always been able to get things equipped on the Prof.   Outfits often don't work but going and equipping one thing from the GUI or the relay browser seems to get things done.  The exceptions are a couple of items that I can't equip and don't know why.  Treads of Loathing is one and a couple others are +adv gear that the Maximizer recommends but can't actually be equipped.
So at this point I am trying to figure out why I don't think I am seeing the problem that you are addressing.  I am already equipping things that have a stat requirement that the Prof does not meet.
There is an opportunity for a test here - try and equip something.  It should fail before this is added and pass after.
I will look at this and maybe even write the test but my list of KoLmafia things to do that remain undone is not shrinking and Real Life is crazy busy at the moment.

I noticed it was causing issues because I am adding Autoscend support and that pulls the Mafia Thumb Ring early on. Once we have it, Maximizer recommends it and then Autoscend stops because of that. Other items that I've encountered that we pull (off the top of my head) are the Pantaloons of Hatred and numberwang. Removing that condition causes no stop and no further breakage. For the outfits (specifically war outfits), I handle them piece by piece to avoid any issues with the stat requirements.

If you believe you're fixing a bug, please add a test that fails before and passes after your change.

I think the way things used to work was that when you used a base stat limiter, you couldn't equip items with high stat requirements.
It doesn't work that way now, so I think this PR is correct.

I can equip a thumb ring but as I look at the relay browser there are several items where the equip link is crossed out.  Treads of Loathing is one.  So my success with equipping the ring may have been that the stat requirement was being met.  My current thinking is that there is a bug and this is the fix unless there are multiple code paths that equip things.  I think it is quit reasonable to have a failing test that passes with this fix and would recommend keeping this as a Draft until there is such a test.  I will gladly write one but getting time to do so will involve waiting days, not hours.

I'll be honest. I'm going to be completely useless when it comes to writing a test. I'm happy with waiting for help with the test because my local copy of mafia with this change works for my purposes so I will just keep building my own copy until this eventually gets approved

Waiting for @jaadams5 seems fine then. Tests aren't as hard as they look and are a core part of keeping KoLmafia maintainable. The fix may work for you now, but in 10 years we want to have an understanding of the underlying requirement if something needs to change.

The good news is I have a couple of things that might be good tests.  The bad news is they are not failing on main.  I need to understand why a breakpoint is getting hit several times and not just once.  I think something in the test framework in Player is the cause but I have not figured that out yet.  I also need to confirm that the stats are what I expect and not being changed as a side effect of something else I am doing.  Running out of time for today but if I don't get a failing test I'll post the passing tests and get some help.

See https://github.com/kolmafia/kolmafia/pull/2329
My first pass at writing a failing test failed since the test passes without this change.

I've run with this and I think it is working as it should.  I am most interested in whether @midgleyc or @gausie are all right with the test.  I seem to have an uncanny sense of how to find the hard (or Java 5) was of doing something so would appreciate the review.


Build image and push to GHCR

This builds an image by passing the Dockerfile to buildah and submits it to GHCR
Note: Requires generating a key pair with cosign
Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you added your SVG to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~30 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Last commit needs to be signed, otherwise generally LGTM!

Last commit needs to be signed, otherwise generally LGTM!

Will handle that right now :)

I think we'll need this for landscape2, RJ I'll follow up with you on this one separately.

The landscape2 CLI tool is also distributed in a container image @castrojo. All the build and deployment workflows for all landscapes we host rely on it actually 🙂


All responses are base64 encoded

It seems that Zappa always responds with a base64 encoded string for the response body and "isBase64Encoded" set to true.
The relevant file is the "handler.py" file provided/generated by Zappa.
On line 513, we have this if statement:
if not response.mimetype.startswith("text/") \
    or response.mimetype != "application/json":

The condition's negation is:
response.mimetype.startswith("text/") and response.mimetype == "application/json"

Clearly this is a contradiction, so the condition itself is a tautology. The true branch is taken and Zappa will always base64 encode responses.
It seems that the intention of the condition is to NOT base64 encode responses that are text (but to take a conservative approach to determine what is "text").
It seems that what we want is to NOT base64 encode when this condition is true:
response.mimetype.startswith('text/') or response.mimetype == 'application/json'

If this is the case, the condition starting on line 513 should instead be:
not response.mimetype.startswith('text/') and response.mimetype != 'application/json'

I noticed this while using Zappa 0.46.2

Worth noting that this encoding bug seemingly makes it impossible to do API Gateway level compression of responses. Perhaps this needs a priority bump?

This seems like a pretty big bug.  I was unable to get anything but base64 responses until I disabled binary_support.

+1
In my case this problem was preventing to have a normal deployment on AWS using Api Gateway Lambda proxy integration. There was a 40% overhead in the computation of the encoding/decoding.

I ran into the same issue and worked around it by adding "binary_support": false to my zappa_settings.json.
I suppose this may not work if any of your API endpoints do in fact return binary content but that wasn't the case for me.

Just want to note that the "Binary Media Types" RestAPI Settings for the ApiGateway if defined as "/" may cause APIGateway to encode incoming request.body to b64.

I put a PR together to work on some of the issues around this.  It may only work for my use case though...
https://github.com/Miserlou/Zappa/pull/2170


fix(cssToStyle): to fix fitContent type

调试GaiaXTaro中发现,在Gaia Studio设置文字自适应（fitContent）为true，未生效。
排查css parser 解析为'true'
将判断条件改为fitContent == 'true' 后样式展示正常

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Deprecation promotion of type converters using Result to hidden level

Description
Like discussed in #104, we would like to promote the deprecation of the type converters using the Result type to a hidden level.
We should also update their deprecation notice indicating that this deprecation will be removed in the next major release (see issue #267).
Dependencies
This issue is blocked by the following ones:

[ ] #265

Checklist

Promote the deprecation of the corresponding type converters to hidden level for the following types:

[ ] NegativeInt
[ ] NonZeroInt
[ ] PositiveInt
[ ] StrictlyNegativeInt
[ ] StrictlyPositiveDouble
[ ] StrictlyPositiveInt
[ ] NotBlankString
[ ] NotEmptyList
[ ] NotEmptyMap
[ ] NotEmptySet

[ ] Update the Unreleased section in changelog.

We will simplify our deprecations cycle to the bare minimum: STABLE - DEPRECATED - REMOVED.

This issue should be implemented for following our evolution principles.

We are not ready to implement this change.


Merge changes from 'staging' to 'main' (PR #245)

Summary
Description, Jira Ticket Links and PR Links Fields are mandatory.
Description

This PR includes changes from staging PR: https://github.com/ujala-singh/github-repository-dispatch-receiver/pull/245

Jira Ticket Links
PR Links

https://github.com/ujala-singh/github-repository-dispatch-receiver/pull/245

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactoring (restructing existing code without changing any functionality)
[ ] This change requires a documentation update

Testing Checklist
Changes tested on

[ ] staging (pre-prod)
[ ] MABL Tests Link (if any)
[ ] Successful Workflow Links (if any)

Hey @ujala-singh, your main branch PR has been automatically created. In order to merge the PR, Please test your changes on staging (pre-prod) and update the change summary and checks accordingly.

Error: The following fields are empty: Description, Jira Ticket Links
Hint: Pull Request description is too short. Please add relevant information about the changes.


app routes return 404 after all instances are down

Instead of a 503, deis open is returning a 404 for an existing app with all web apps scaled down to zero.
><> cd example-ruby-sinatra/
><> deis ps
=== ruby Processes

><> curl http://ruby.local3.deisapp.com

<title>404 Not Found</title>

404 Not Found

nginx/1.9.0

I think this occurs because we're using lsdir instead of ls in the router template, which only iterates through all subkeys which also have subkeys. When all processes are scaled down, all subkeys are expired, therefore the router template removes the entry.

I have a branch but it looks like there's a bug with ls in confd. It doesn't detect directories, only keys.

confd has been removed in the v2 router and we won't be able to get to this for the LTS release (#4776) so closing this.


Example of WebSocket broker from wiki does not work

Verification
Describe the bug
The code example at: https://github.com/dotnet/MQTTnet/wiki/Server#using-websockets-with-net50 does not work, it returns:

And the link below, which leads to https://github.com/chkr1011/MQTTnet/blob/master/Source/MQTTnet.Server/Web/Startup.cs does not exist anymore
Which component is your bug related to?

Server

To Reproduce
Steps to reproduce the behavior:

MQTTnet and MQTTnet.AspNetCore version <IP_ADDRESS>2.
Create a WPF app
Use the code at the example
See error.

Expected behavior

Code in wiki should work.
A better example of WebSocket broker should be provided

Additional context / logging
Add any other context about the problem here.
Include debugging or logging information here:
Error (active)	CS0103	The name 'CreateHostBuilder' does not exist in the current context
Error (active)	CS1061	'MqttServer' does not contain a definition for 'StartedHandler' and no accessible extension method 'StartedHandler' accepting a first argument of type 'MqttServer' could be found (are you missing a using directive or an assembly
Error (active)	CS0246	The type or namespace name 'MqttServerStartedHandlerDelegate' could not be found (are you missing a using directive or an assembly reference?)

Code example
Please provide full code examples below where possible to make it easier for the developers to check your issues.
MyProgram.cs
private static async Task StartWebSocketMqttBroker()
{
    await BuildWebHost(Array.Empty<string>()).RunAsync();
}

#region Web Socket tools

private static IWebHost BuildWebHost(string[] args) =>
    WebHost.CreateDefaultBuilder(args)
        .UseKestrel(o =>
        {
            o.ListenAnyIP(1883, l => l.UseMqtt());
            o.ListenAnyIP(5000); // default http pipeline
        })
        .UseStartup<Startup>()
        .Build();

Startup.cs
using System;
using System.Threading.Tasks;
using MQTTnet;
using MQTTnet.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;

namespace tools
{
    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            services
            .AddHostedMqttServer(mqttServer => mqttServer.WithoutDefaultEndpoint())
            .AddMqttConnectionHandler()
            .AddConnections();
        }

        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            app.UseRouting();

            app.UseEndpoints(endpoints =>
            {
                endpoints.MapMqtt("/mqtt");
            });

            app.UseMqttServer(server =>
            {
                server.StartedHandler = new MqttServerStartedHandlerDelegate(async args =>
                {
                    var frameworkName = GetType().Assembly.GetCustomAttribute<TargetFrameworkAttribute>()?
                        .FrameworkName;

                    var msg = new MqttApplicationMessageBuilder()
                        .WithPayload($"Mqtt hosted on {frameworkName} is awesome")
                        .WithTopic("message");

                    while (true)
                    {
                        try
                        {
                            await server.PublishAsync(msg.Build());
                            msg.WithPayload($"Mqtt hosted on {frameworkName} is still awesome at {DateTime.Now}");
                        }
                        catch (Exception e)
                        {
                            Console.WriteLine(e);
                        }
                        finally
                        {
                            await Task.Delay(TimeSpan.FromSeconds(2));
                        }
                    }
                });
            });

            app.Use((context, next) =>
            {
                if (context.Request.Path == "/")
                {
                    context.Request.Path = "/Index.html";
                }

                return next();
            });

            app.UseStaticFiles();

            app.UseStaticFiles(new StaticFileOptions
            {
                RequestPath = "/node_modules",
                FileProvider = new PhysicalFileProvider(Path.Combine(env.ContentRootPath, "node_modules"))
            });
        }
    }
}

The Wiki is only relevant for versions before Version 4 (I.e. Version 3)... Please check out the samples under https://github.com/dotnet/MQTTnet/tree/master/Samples.
Plus, dotnet 5 is end of life and no longer supported in current versions of the library: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

I tried the code at: https://github.com/dotnet/MQTTnet/blob/master/Samples/Server/Server_ASP_NET_Samples.cs
The application runs but if I open resmon I can't see anything listening on either 1883 or 5000 and clients can't connect either

I got it running with that example, not sure what was the issue though


Remove Upper Bound for compatibility limit

Whenever I update intellij, spotless-intellij-gradle plugin is one of the few plugins, that is not compatible until a new version is released.
This is probably due to the upper bound limit here, if I read the code correctly:
https://github.com/ragurney/spotless-intellij-gradle/blob/51fe46ead8e1c536f638d3416a63a8e1b86421cb/build.gradle.kts#L70
I suggest to remove this upper bound, since the plugin uses only a small section of Intellij's api and therefore the plugin is not likely to break when a new Intellij version is released.
(Currently, it ALWAYS breaks whenever a new Intellij version is released)

+1, I get this error when I start IntelliJ IDEA 2022.3

Plugin 'Spotless Gradle' (version '1.0.8') is not compatible with the current version of the IDE, because it requires build 222.* or older but the current build is IC-223.7571.182

I'm on Ubuntu 22.04 LTS and installed the IntelliJ IDEA via snap; it recently upgraded me from 2022.2 to 2022.3.

Thanks for reporting @simschla. As you allude to, I left the untilBuild due to an abundance of caution not wanting to break on newer versions, though as you say that's probably very unlikely.
Given that this has been main pain point of this plugin so far, I'm willing to remove the upper bound and see how it goes.


Add Pfitz/Latter - 31 to 47mi - 12-week schedule

I've been using your website for a couple years now. Feel free to edit anything that doesn't look right.

Looks great! Thanks for taking the time to do this and sorry it took me so long to merge it. I'll deploy it shortly.


[WIP] Add Danger

Testing Danger support in CI. Continuation of #14959, which Circle stopped building.
Test Plan
Update your node modules first: npm install
Test WIP, package.json warnings
npm run danger pr https://github.com/facebook/react-native/pull/14951
Verify output. This PR should trigger a WIP warning, as well as a package.json warning:
><EMAIL_ADDRESS>danger /Users/hramos/git/react-native
> node ./node_modules/.bin/danger "pr" "https://github.com/facebook/react-native/pull/14951"

{
  fails: [],
  warnings: [
    {
      message: ":construction_worker: Work In Progress - Do not merge yet."
    },
    {
      message: ":lock: Changes were made to package.json - This will require a manual import. Once approved, a Facebook employee should import the PR, then run `yarn add` for any new packages."
    }
  ],
  messages: [],
  markdowns: ["This PR requires attention from the @facebook/react-native team."]
}

Test plan warnings
npm run danger pr https://github.com/facebook/react-native/pull/14946
Verify output. This PR should trigger a warning against the lack of a test plan (note that the PR does have a test plan, but it does not title it as such):
{
  fails: [],
  warnings: [
    {
      message: ":clipboard: Test Plan - This PR appears to be missing a Test Plan"
    }
  ],
  messages: [],
  markdowns: []
}

Warn when a change to the Getting Started guide is missing a test plan
npm run danger pr https://github.com/facebook/react-native/pull/13186
Should warn against a missing test plan:
{
  fails: [],
  warnings: [
    {
      message: ":clipboard: Test Plan - This PR appears to be missing a Test Plan."
    }
  ],
  messages: [],
  markdowns: [":page_facing_up: Thanks for your contribution to the docs!"]
}

Flag PRs by core contributors
If the author is able to issue bot commands, we reasonably assume that this is coming from an established core contributor. Their PRs will be flagged for expedited review:
npm run danger pr https://github.com/facebook/react-native/pull/14895
{
  fails: [],
  warnings: [
    {
      message: ":clipboard: Test Plan - This PR appears to be missing a Test Plan."
    }
  ],
  messages: [],
  markdowns: ["This PR has been submitted by a core contributor. Notifying @facebook/react-native."]
}

Testing mentions: @facebook/react-native

That's great!

Mentions aren't working well when used within Danger's markdown() call.

The mentions issue may be because the bot cannot see the group. I cannot use that either:

Ah, the team is only visible to organization members. As we don't want this GitHub bot to be a member of the Facebook org, looks like I won't be able to leverage mentions here.


Feature request: GPS in logs for hangar load

12:13:26.6319 [INFO]   Torch.Commands.CommandManager: Player mongo_fbs ran command '!h load 2'
12:13:26.6319 [INFO]   QuantumHangar.Utilities.HangarChecks: Grid is force load from originial position
12:13:26.6319 [INFO]   Chat: Hangar (to mongo_fbs): A GPS has been added to your HUD
12:13:28.4487 [WARN]   QuantumHangar.GridMethods: Successfully BackedUp grid!
12:13:28.4487 [INFO]   Chat: Hangar (to mongo_fbs): There are potentially other grids in the way. Attempting to spawn around the location to avoid collisions.
12:13:28.4487 [INFO]   Chat: Hangar (to mongo_fbs): Load Complete!

It would be nice to have it list the GPS it attempted to load at; as well as the GPS where it actually loaded in at when it attempted to spawn around the location -- just so we have more data when needing to prove to players things are working fine (or for debug to see if things aren't)

Added

Confirmed working in beta version


headless cms, chapter 3, Sunday Roll Call

Leave a comment with these two things:

A summary of your last chapter using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

✅🤔❌

💻 🌞

:smiley:

😅🤔

😀🤔


Additional forward slash added to url from data-url field

Here is a screenshot taken from your examples page showing the issue. I'm not sure where the forward slash is coming from, as looking at the html tag via dev tools doesn't show a slash. This was tested in Chrome, and I have not checked other browsers.

Sorry for the late reply. Is this just an observation, or is it because you need this fixed for a certain project?
About the bug. Yes, I've noticed this too. I looked into this at the time I made facade and I came to the conclusion that it's a bug in Chrome. It doesn't appear in other browsers. You can simply solve this by not adding a trailing slash, of course.
I'm lacking the motivation to fix this (which would probably mean filing a bug report for Chrome), but you can always try to convince me with some substantial arguments that fixing this will make a substantial difference :)
Cheers,
p.


Clarification needed on how to configure gateway ports with istiocl manifest

Describe the feature request
It is not clear how to configure gateway ports with istioctl manifest. The instructions to use helm values do not work.
Context: Istio gateways are part of Istio a-la carte concept and should be customisable. In particular, the user should be able to deploy multiple gateways in different namespaces for different purposed. One of the basic customisation tasks is to customise ports of the gateway - the gateway should accept traffic for different protocols on different ports. For simplicity, let's start with the task of defining a single port for Istio egress gateway, port 7777, TCP protocol.

The helm way works:

helm template install/kubernetes/helm/istio/ --name istio-egressgateway --namespace istio-system -x charts/gateways/templates/deployment.yaml -x charts/gateways/templates/service.yaml --set gateways.istio-ingressgateway.enabled=false --set gateways.istio-egressgateway.enabled=true --set gateways.istio-egressgateway.ports[0].port=7777 --set gateways.istio-egressgateway.ports[0].name=tcp
...
kind: Service
metadata:
  name: istio-egressgateway
  namespace: istio-system
  annotations:
  labels:
    chart: gateways
    heritage: Tiller
    release: istio-egressgateway
    app: istio-egressgateway
    istio: egressgateway
spec:
  type: ClusterIP
  selector:
    release: istio-egressgateway
    app: istio-egressgateway
    istio: egressgateway
  ports:
    -
      name: tcp
      port: 7777
...
Deployment
...
         ports:
            - containerPort: 7777
...

Using the same values with the prefix "values.*" does not work. From the documentation:

For backwards compatibility, the previous Helm installation options are also fully supported. To set them on the command line, prepend the option name with “values.”.

istioctl manifest apply --set values.gateways.istio-egressgateway.ports[0].port=7777 --set values.gateways.istio-egressgateway.ports[0].name=tcp

Using IstioControlPlane does not work either:

Attached
Additional context

apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
metadata:
  namespace: istio-operator
  name: example-istiocontrolplane
spec:
  profile: demo
  gateways:
    enabled: true
  values:
    gateways:
      istio-egressgateway:
        ports:
          - port: 7777
            name: tc

@vadimeisenbergibm try to put the ports into values part like above. I have got below
apiVersion: v1
kind: Service
metadata:
  name: istio-egressgateway
  namespace: istio-system
  annotations:
  labels:
    app: istio-egressgateway
    release: istio
    istio: egressgateway
spec:
  type: ClusterIP
  selector:
    app: istio-egressgateway
  ports:
    -
      name: tcp
      port: 7777

It works, @irisdingbj, thanks a lot!


LOADABLE_REQUIRED_CHUNKS is always empty.

💬 Questions and Help
Loadable Components project is young, but please before asking your question:

Read carefully the README of the project
Search if your answer has already been answered in old issues

After you can submit your question and we will be happy to help you!
Sorry for bad English.
I try to implements chunking in ssr projects for production.
Example of this ssr, it works well with expected LOADABLE_REQUIRED_CHUNKS.
However, In my projects, It never seen. it always '[]'.
I copied your Webpack, Babel config in my project.
With little more detail,
In Your sample, I've been downloaded and executed.
<script id="__LOADABLE..." type="application/json">[0, 1, 2, 8]</script>
<script async data-chunk="main" src="..."></script>
<script async data-chunk="letters-A" src="..."></script>
...

This works well.
However, In my project, It always has only main.
<script id="__LOADABLE..." type="application/json">[]</script>
<script async data-chunk="main" src="..."></script>

IMPORTANT THING is, In head tags, I'm NOT INSERTING IT, it automatically insert this line which is must insert chunked js file. so my project works that I expected. but it feels not properly.
<script charset="utf-8" src="..."></script>
<script charset="utf-8" src="..."></script>

I don't know where am I doing wrong. I've been 5 working days to solve this weird thing....
Please help me.
Conclusion is basically my project copied your example of ssr and converted typescript and added redux, redux-saga.
It works I expected, without this wierd problem. Of course this wierd problem does not makes any error, or malfunctioning. I'm just curious that why script does not insert properly.
p.s.
I dig in bundled file, I think that automatically inserted line seemed did by Webpack. (I don't know which plugin did it.)

Hello @xkguq007, we would be happy to help you. For that the best is to submit a public repository to be able to investigate and reproduce the problem. Thanks!

okay, This repo should be considered that public able or not. Because part of company work. Please do not close this issue, I'll ask and reply within 3days.

I've been late because company doesn't allow this codes to outside. I'll make similar codes in my personal repo. thx.

I close it, it is outdated. Feel free to open another issue if you experience a problem.


⚠ Bofrost.be has degraded performance

In 9fde89e, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 874 ms

Resolved: Bofrost.be performance has improved in 1264a09 after 6 minutes.


Configurable URI doesn't work in VM

Please see the code below.
// main.dart
//import 'dart:collection';

import 'lib1.dart' if (dart.library.collection) 'lib2.dart';

main() {
  print(lib1_var); // VM. Error: Undefined name 'lib1_var'.
  print(lib2_var);
}

// lib1.dart
String lib1_var = "lib1";

// lib2.dart
String lib2_var = "lib2";

Depending on if dart:collestion is imported or nor the analyzer shows the correct error. If dart: collection presents, then lib1_var is undefined, otherwise lib2_var. VM shows an error that lib1_var is undefined in any case. Seems that VM imports lib2.dart despite of the condition.
Tested on Dart SDK version: 3.6.0-232.0.dev (dev) (Mon Sep 9 17:02:22 2024 -0700) on "windows_x64"

This is working as intended. The VM should import lib2.dart if dart:collection can be imported when compiled by the current compiler., which it can.
The condition if (dart.library.collection) doesn't ask whether dart:collection is imported, but whether it can be imported, whether it exists on the current target platform.
The dart:collection library can be imported on all platforms, and since it can be imported when run by the VM, the VM is correct to use the second import.
The way to use conditional imports is something like:
import "generic_library.dart"
    if (dart.library.io) "library_using_io.dart";

where the library_using_io.dart is used if it can import dart:io, which it presumably then does.
The two libraries, generic_library.dart and library_using_io.dart should expose the same API signature, so that the importing code can treat them as interchangeable.
The analyzer is not platform-aware. It doens't know which platforms a program will be compiled for, it's only checking static semantics, so the analyzer consistently chooses the original URI and ignores conditional imports, given that those presumably are unavailable on some platforms.
Here dart:collection is actually available on all current platforms, but since someone asked, the analyzer assumes that it's possible for it to not be there.

Ok, thank you for explanation. Closing this issue.


Enable JMX profiling on Heron Instances

In Storm 0.9.7, we've been experimenting with enabling remote JMX profiling on Storm worker processes.  Heron Instances are analogous, with the exception that they run only one topology task at a time.
In Storm we are able to use the topology.worker.childopts configuration in storm.yaml, adding the appropriate JVM options:
 -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=<port>
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djava.rmi.server.hostname=<hostname/ip>

The only change to the storm code ended up being the ability to have the value of com.sun.management.jmxremote.port be automatically set to the worker port + 1000.

Port logic could be related to #1936 where we could potentially do something similar for debug ports.


sql projects icon cutoff on mac

the right side of the icon is a little cutoff on mac:

but it looks fine on windows:

You probably won't have to spend time on this if it is only on the old tree.


feat: Add One theme

It's a combination of onelight and onedark. It loads either of
them based you your background option.

I don't see value in adding it. Also as stated in CONTRIBUTING.md we're currently not accepting themes like these. You can put it in your ~/.config/nvim/lua/lualine/themes directory and use it as a regular theme. lualine will load themes placed in &rtp/lua/lualine/themes even if it's not from this repo.


Implements support for OpenRouter

Reference Issues/PRs
Fixes #261
What does this implement/fix? Explain your changes.
This pull request implements the addition of new AI models through OpenRouter as the provider. It adds support for various starter models supported by OpenRouter. The changes involve implementing a new OpenRouterModel class to include the query, pricing and context information for each model.
The following files have been modified:
SWE-agent/main/sweagent/agent/models.py: Implemented the OpenRouterModel class to include the new models and their pricing information.
Any other comments?
This pull request ensures that the OpenRouterModel class can now handle a wider range of AI models (although list is very limited, but can be expanded for sure) available through the OpenRouter platform. It provides accurate pricing and context information for each model, allowing for cost calculations and comparisons directly from OpenRouter themselves.

Let's go with litellm to support more models, see #64


[Mono] Godot freezes when loading a project

Godot version:
3.0.6 Mono Stable
OS/device including version:
Windows 10 Pro GTX1050 Graphics i5 CPU
Issue description:
All my projects either freeze when trying open a scene or load but don't run correctly.
I tried deleting the mono folder from AppData with no luck. Mono log files are saying they can't find a file. Not sure if this is related to the issue or not.
Config attempting to parse: 'C:\Program Files\Mono\etc\mono\config'. (in domain Mono, info)
Image addref mscorlib[0000000012E043D0] -> C:/Godot306-C#/mscorlib.dll[0000000020845820]: 2 (in domain Mono, info)
Unloading image C:/Godot306-C#/mscorlib.dll [0000000020845F70]. (in domain Mono, info)
Image addref mscorlib[0000000012E05420] -> C:/Godot306-C#/mscorlib.dll[0000000020845820]: 4 (in domain Mono, info)
Prepared to set up assembly 'mscorlib' (C:/Godot306-C#/mscorlib.dll) (in domain Mono, info)
AOT: image 'C:/Godot306-C#/mscorlib.dll.dll' not found: The system cannot find the file specified.
 (in domain Mono, info)
AOT: image '**C:\Program Files\Mono\lib\/mono/aot-cache/amd64/mscorlib.dll.dll'** not found: The system cannot find the path specified.
 (in domain Mono, info)
Assembly mscorlib[0000000012E05420] added to domain GodotEngine.RootDomain, ref_count=1 (in domain Mono, info)
Found assembly remapping for mscorlib and was for the same version <IP_ADDRESS> (in domain Mono, debug)
Assembly mscorlib[0000000012E05420] added to domain GodotEngine.ToolsDomain, ref_count=2 (in domain Mono, info)
Image addref GodotSharpTools[0000000012E05810] -> C:/Godot306-C#/GodotSharpTools.dll[00000000208DC8C0]: 2 (in domain Mono, info)
Prepared to set up assembly 'GodotSharpTools' (C:/Godot306-C#/GodotSharpTools.dll) (in domain Mono, info)
Assembly GodotSharpTools[0000000012E05810] added to domain GodotEngine.ToolsDomain, ref_count=1 (in domain Mono, info)
Assembly mscorlib[0000000012E05420] added to domain GodotEngine.ScriptsDomain, ref_count=3 (in domain Mono, info)
Domain GodotEngine.ScriptsDomain search path is: (in domain Mono, debug)
	path[0] = '.' (in domain Mono, debug)
End of domain GodotEngine.ScriptsDomain search path. (in domain Mono, debug)
Assembly Loader probing location: 'C:\Program Files\Mono\lib\GodotSharp.dll'. (in domain Mono, info)
Assembly Loader probing location: 'C:\Godot306-C#\/Facades\GodotSharp.dll'. (in domain Mono, info)
Assembly Loader probing location: 'C:\Program Files\Mono\lib\GodotSharp.exe'. (in domain Mono, info)

Line in particular from above: C:\Program Files\Mono\lib/mono/aot-cache/amd64/mscorlib.dll.dll'

I have this issue also. Windows 10. Happened when adding an [Export] tag to a public Vector2 on a clean project (project was running perfectly fine before adding the [Export] tag.
C# projects now just fail to find the Godot namespace.

CC @neikeq @hpvb
Seems definitely Mono related but this is puzzling:

Update: I had switched the graphics on my laptop from intel onboard to nvidia GTX1050 prior to this issue starting up. Switching it back made the issue go away. The nvidia GTX worked fine when running 3.0.5

I haven't had this issue since installing a new hard drive at the weekend and a fresh windows install.

The mono log doesn't seem to imply anything wrong. Can you run Godot in verbose mode and paste the output here? (and a backtrace if there is a crash). Does this happen with any project (a new one, for example, with a hello world C# script)?

@neikeq it was happening with existing projects. From memory it worked ok when i tried a new project.

Is this still reproducible in the current master branch or latest beta build?

Not sure. I'm on vacation till next weekend so I can try it when I get back.

I'll close for now as it's very likely to have been fixed in the last 6 months. Please comment if you can still reproduce it, and I'll reopen the issue.

@akien-mga Issue still exists, i've recently downloaded the new version of godot (Godot_v3.1-beta9_mono_win64) and i have a problem with importing export template for android device. Even if it says its downloaded/installed godot displays the message "export templates for this platform are missing).
i'm attaching also the log file from mono logs
Config attempting to parse: 'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/etc\mono\config'. (in domain Mono, info) Image addref mscorlib[000000000F71D620] (asmctx DEFAULT) -> E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll[000000000F877C40]: 2 (in domain Mono, info) Prepared to set up assembly 'mscorlib' (E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll) (in domain Mono, info) AOT: image 'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll.dll' not found: The system cannot find the file specified.  (in domain Mono, info) AOT: image 'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/aot-cache/amd64/mscorlib.dll.dll' not found: The system cannot find the path specified.  (in domain Mono, info) Assembly mscorlib[000000000F71D620] added to domain GodotEngine.RootDomain, ref_count=1 (in domain Mono, info) Found assembly remapping for mscorlib and was for the same version <IP_ADDRESS> (in domain Mono, debug) Assembly mscorlib[000000000F71D620] added to domain GodotEngine.ToolsDomain, ref_count=2 (in domain Mono, info) Image addref GodotSharpTools[000000000F71E160] (asmctx DEFAULT) -> E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Tools/GodotSharpTools.dll[000000000F90E090]: 2 (in domain Mono, info) Prepared to set up assembly 'GodotSharpTools' (E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Tools/GodotSharpTools.dll) (in domain Mono, info) Assembly GodotSharpTools[000000000F71E160] added to domain GodotEngine.ToolsDomain, ref_count=1 (in domain Mono, info) Assembly mscorlib[000000000F71D620] added to domain GodotEngine.ScriptsDomain, ref_count=3 (in domain Mono, info) GC_MAJOR: (user request) time 0.24ms, stw 0.25ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info) GC_MAJOR: (user request) time 0.09ms, stw 0.11ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info) GC_MAJOR: (user request) time 0.13ms, stw 0.14ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info) GC_MAJOR: (user request) time 0.12ms, stw 0.17ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info) GC_MINOR: (user request) time 0.14ms, stw 0.18ms promoted zdK major size: zdK in use: zdK los size: zdK in use: zdK (in domain Mono, info) Unloading domain GodotEngine.ScriptsDomain[000000000F8D9FA0], assembly mscorlib[000000000F71D620], ref_count=3 (in domain Mono, info) GC_MAJOR: (user request) time 0.11ms, stw 0.15ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info) GC_MAJOR: (user request) time 0.16ms, stw 0.19ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info) Unloading domain GodotEngine.RootDomain[000000000F8739C0], assembly mscorlib[000000000F71D620], ref_count=2 (in domain Mono, info) Assembly image 'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Tools/GodotSharpTools.dll' still loaded at shutdown. (in domain Mono, info) Assembly image 'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll' still loaded at shutdown. (in domain Mono, info)
Also on the same machine i've tested the same version of godot without mono and everything seems to work (it successfully installed the export template).
My machine:
Graphic Card: GTX 980
CPU: i5 4750k
System: Windows 10
Mono and gtk: mono-<IP_ADDRESS>8-x64-0, gtk-sharp-2.12.45
If you'd need some more information just let me know, happy to help.

This has nothing to do with this issue.
And the Mono version doesn't support Android yet.
Le samedi 2 mars 2019, Emanuel Slotwinski<EMAIL_ADDRESS>a
écrit :

@akien-mga Issue still exists, i've recently downloaded the new version
of godot (Godot_v3.1-beta9_mono_win64) and i have a problem with importing
export template for android device. Even if it says its
downloaded/installed godot displays the message "export templates for this
platform are missing).
i'm attaching also the log file from mono logs
Config attempting to parse:
'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/etc\mono\config'. (in
domain Mono, info) Image addref mscorlib[000000000F71D620] (asmctx DEFAULT)
->
E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll[000000000F877C40]:
2 (in domain Mono, info) Prepared to set up assembly 'mscorlib'
(E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll)
(in domain Mono, info) AOT: image
'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll.dll'
not found: The system cannot find the file specified. (in domain Mono,
info) AOT: image
'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/aot-cache/amd64/mscorlib.dll.dll'
not found: The system cannot find the path specified. (in domain Mono,
info) Assembly mscorlib[000000000F71D620] added to domain
GodotEngine.RootDomain, ref_count=1 (in domain Mono, info) Found assembly
remapping for mscorlib and was for the same version <IP_ADDRESS> (in domain
Mono, debug) Assembly mscorlib[000000000F71D620] added to domain
GodotEngine.ToolsDomain, ref_count=2 (in domain Mono, info) Image addref
GodotSharpTools[000000000F71E160] (asmctx DEFAULT) ->
E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Tools/GodotSharpTools.dll[000000000F90E090]:
2 (in domain Mono, info) Prepared to set up assembly 'GodotSharpTools'
(E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Tools/GodotSharpTools.dll)
(in domain Mono, info) Assembly GodotSharpTools[000000000F71E160] added to
domain GodotEngine.ToolsDomain, ref_count=1 (in domain Mono, info) Assembly
mscorlib[000000000F71D620] added to domain GodotEngine.ScriptsDomain,
ref_count=3 (in domain Mono, info) GC_MAJOR: (user request) time 0.24ms,
stw 0.25ms los size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP:
major size: zdK in use: zdK (in domain Mono, info) GC_MAJOR: (user request)
time 0.09ms, stw 0.11ms los size: zdK in use: zdK (in domain Mono, info)
GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono, info)
GC_MAJOR: (user request) time 0.13ms, stw 0.14ms los size: zdK in use: zdK
(in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in
domain Mono, info) GC_MAJOR: (user request) time 0.12ms, stw 0.17ms los
size: zdK in use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size:
zdK in use: zdK (in domain Mono, info) GC_MINOR: (user request) time
0.14ms, stw 0.18ms promoted zdK major size: zdK in use: zdK los size: zdK
in use: zdK (in domain Mono, info) Unloading domain
GodotEngine.ScriptsDomain[000000000F8D9FA0], assembly
mscorlib[000000000F71D620], ref_count=3 (in domain Mono, info) GC_MAJOR:
(user request) time 0.11ms, stw 0.15ms los size: zdK in use: zdK (in domain
Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK (in domain Mono,
info) GC_MAJOR: (user request) time 0.16ms, stw 0.19ms los size: zdK in
use: zdK (in domain Mono, info) GC_MAJOR_SWEEP: major size: zdK in use: zdK
(in domain Mono, info) Unloading domain
GodotEngine.RootDomain[000000000F8739C0], assembly
mscorlib[000000000F71D620], ref_count=2 (in domain Mono, info) Assembly
image
'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Tools/GodotSharpTools.dll'
still loaded at shutdown. (in domain Mono, info) Assembly image
'E:\GODOT\Godot_v3.1-beta9_mono_win64/GodotSharp/Mono/lib/mono/4.5/mscorlib.dll'
still loaded at shutdown. (in domain Mono, info)
Also on the same machine i've tested the same version of godot without
mono and everything seems to work (it successfully installed the export
template).
My machine:
Graphic Card: GTX 980
CPU: i5 4750k
System: Windows 10
Mono and gtk: mono-<IP_ADDRESS>8-x64-0, gtk-sharp-2.12.45
If you'd need some more information just let me know, happy to help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.<
https://ci3.googleusercontent.com/proxy/OdJgkTA67XEgdIcGM0uDoH_wxZDWF07A5URgcJQf1mhmMJ1AT6-BahlgQhgUwFI4V1UKuPpSXa07QSfmocFV2uUJcbqB-l5Doqv-LN6c-VMBp19zFAEUba1e-1RNZT86c_cILP7ADALZgqHN78E3ENCzhg=s0-d-e1-ft#https://github.com/notifications/beacon/AEe8mns48J3hxYvlbYzGuy4Y0wxL-ELiks5vSnp_gaJpZM4VzBm2.gif>


Integrate genetics etl codebase into the GWAS Catalog sumstats ingestion

The pipeline written by @mbdebian contains a standalone Python script with all logic to ingest harmonized summary stats from GWAS Catalog ftp more-or-less  following the summary statistics schema and save partitioned parquet files.
The scope of this ticket:

[x] Fork Manuel's repo into OT organization.
[x] Adding genetics_etl as dependency for the ingestion.
[x] Update the Python script so it will use the genetics_etl's sumstats components.
[x] Update Sumstats class logic to parse harmonized data better.

The logic of the updated script:
from otg.dataset.summary_statistics import SummaryStatistics

harmonized_file = '/nfs/ftp/pub/databases/gwas..../26051272-GCST005538-Orphanet_797.h.tsv.gz'
study_id = 'GCST005538'
output_parquet = f'gs://open-targets-gwas-summary-stats/studies/{study_id}'

(
    SummaryStatistics
    .from_gwas_harmonized_summary_stats(harmonized_file, sutdy_id)
    .df.write.mode('overwrite').parquet(output_parquet)
)

@mbdebian , do we need to immediately update  the script to work with Slurm, or is it not yet rolled out?

Relevant components are pushed and ready to be reviewed:
PR#1 and PR#106

Hi @DSuveges and @mbdebian, can we close this issue if the work is done?

This stream is closed now, we are changing directions.


Jenkins v2.256 and later is skipping bitbucket authentication

Hello,
We are using Jenkins container v2.204.1, which works perfectly fine with lots of plugins (including: bitbucket-oauth:0.10). Although when it was upgraded to version 2.256 or to a newer one, it always deploys the instance, but sadly it skips authentication part with bitbucket, redirecting to /login, which isn't the expected output.
Relevant errors in docker logs are:
2020-10-06 10:22:20.849+0000 [id=30]	WARNING	hudson.ExtensionFinder$Sezpoz#scout: Failed to scout hudson.plugins.swarm.UDPFragmentImpl java.lang.ClassNotFoundException: hudson.UDPBroadcastFragment
and
2020-10-06 10:22:26.689+0000 [id=28]	WARNING	hudson.ExtensionComponent#compareTo: Failure during Descriptor#getDisplayName for hudson.security.LDAPSecurityRealm$DescriptorImpl java.lang.NoSuchMethodError: hudson.security.Messages.LDAPSecurityRealm_DisplayName()Ljava/lang/String;
Actual result
Instance deployed with no Bitbucket integration.
Expected outcome
No authentication required in Jenkins
Output of docker version
Docker version 19.03.5, build 633a0ea

This sounds like a Jenkins issue, not a docker container issue. Please open an issue against the core component at https://issues.jenkins.io.


Remove execute bit from source file

While working on updating the Debian packaging of this library, I noticed that crit/images/core-mips.proto needlessly has the execute bit set.

Codecov Report
Base: 50.68% // Head: 50.68% // No change to project coverage :thumbsup:

Coverage data is based on head (ed9d9a1) compared to base (118d990).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #104   +/-   ##
=======================================
  Coverage   50.68%   50.68%
=======================================
  Files           2        2
  Lines         292      292
=======================================
  Hits          148      148
  Misses        108      108
  Partials       36       36

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@gibmat Thanks for your fix. Could you also submit the same thing to the main criu repository. We import the protobuf definitions from there and this will re-introduce the execute bit once we do that.


Symbols.star_rounded/grade_rounded alignment is off

Hey there, I noticed that the star_rounded (aka grade_rounded) symbols aren't well-aligned (this is with 24dp). Below I've attached a screenshot of the icon with overlay guidelines to show that the icon itself isn't centered.
IIUC this repo automatically pulls from Material Symbols so I guess this could potentially be an issue with the Material Symbols resources? But just wanted to check.

Hi @auradigitaldev ,
Yes each time the package is built the fonts are pulled from the official material design repo.
I believe if you are seeing an issue that it the font/icon rendering is as intended by the authors of the official font.
The font's metrics are patched so they work correctly (are properly centered vertically) with older (non master branch) versions of flutter.  I verified that this patched did indeed occur for the current release (4.2768.0).  The metrics that are patched do not effect any change except in the older versions of the flutter engine.  The bug in flutter icon positioning has been fixed on the master branch (and may have also now been migrated to stable, not sure).   At some point I will no longer have to patch the fonts at all once the older affected versions of the flutter engine are no longer commonly used.   When this occurs I will be able to use the raw fonts without modification.   The patched versions allow the font to render correctly on all versions of the flutter engine.
If you are interested in the details you can refer to https://github.com/flutter/flutter/issues/138592 and https://github.com/google/material-design-icons/issues/1500 as well as the PR to the engine that fixed the problem https://github.com/flutter/flutter/pull/138937
You may want to file an issue within the material designs repo https://github.com/google/material-design-icons if you feel it is important.
I am going to close this issue - feel free to re-open it if you feel that is what needs to be done.
-tim


Integrate schema creator

CSVlint might be a sensible place to allow people to create schemas. Once someone's uploaded a valid CSV, they could then get an interface to make a schema from it. @slowe created https://github.com/odileeds/JSONSchema, which does this, and @pezholio created a ruby gem based on it using the same algorithms in https://github.com/theodi/csv2schema.

Should this be an option on 'Adding a Dataset', i.e. a checkbox saying 'Generate my schema automatically' or an option from 'Edit dataset'  or both?
Should we do this by default or not when a schema is added?

Also, it's worth looking at https://github.com/frictionlessdata/jsontableschema-rb which is slightly more fully-featured, but I'm not sure if the generated schemas are 100% CSVlint compatible


AWS v2 signature compatibility

Some third-party S3 implementations (radosgw) do not support v4 yet. There should be an option to enable pre-0.5 signing method.

Are there S3 implementations other than radosgw with this issue? Is radosgw planning to add support?
I would prefer not to support both signing methods for a couple reasons:

code complexity and possible breaking api changes
AWS V4 is supported in all regions and V2 signing has been deprecated for almost 2 years

For now, please use pre-0.5 versions. If there is sufficient demand for this, I may consider maintaining a separate branch with version 2 signing support.

AWS4 support is in progress. I understand your reasoning, as I went to imlement the changes and realized how intrusive it would be. Not aware of any other S3 implementations, and didn't know v2 had been deprecated that long.
Thanks for a superb client btw, Currently pushing 200MBps to an academic cloud service under construction. Leaving this open in case there are other users with the same problem, but I'm content with 0.4 for the time being.

v2 support would be nice as a lot of on-premise S3-compatible stores (ECS, Ceph) only support V2 authentication.

Hi!
Basho Riak S2 (formerly Riak CS) only supports V2 as well.

Scality's ObjectAPI S3 product also is stuck at V2.

leofs supports v2 only

Google Cloud Storage supports v2 only


Add support to time scale with colorStop option configured with formatted dates

Fix #15.
This PR is enable the feature to use in color node color stop as formatted date, leveraging on scale parsing.
Example:
gradient: {
  backgroundColor: {
    axis: 'x',
      colors: {
        "05/30/2021": 'green',
        "06/02/2021": 'blue',
        "06/04/2021": 'red'
      }
    }
  }
}

Time scale options:
scales: {
  x: {
    type: 'time',
    time: {
      unit: 'day',
      parser: 'MM/dd/yyyy',
    }
  }
}

let me rebase

This PR is also enabling the colorStop at relative index on labels for category axes.
Instead of using the label, you can use the index of the label adding adjustment, like:
gradient: {
  backgroundColor: {
    axis: 'x',
      colors: {
        "0": 'green', // position of label at index 0
        "2.5": 'blue', // position of the label between labels at index 2 and 3
        "8.5": 'red' // position of the label between labels at index 8 and 9
      }
    }
  }
}

@kurkle thank you very much for quick approval and merge. Now I can start working to import the plugin in my lib. ;)

I'll delay the release though, because I'd like to add some docs and samples before that. Maybe call it 1.0 too.

I'll delay the release though,

Take your time. Because I have to develop the java wrappers and do all tests, I'm going to starting working with my fork and the file created locally. I'll change when new version will be published.

because I'd like to add some docs and samples before that.

Even if I'm busy (but luckily I can still work in multi threading...) maybe I can help you somehow. Let me know.

Maybe call it 1.0 too.

Vote for it!


[Bug]: resolve.alias.set('core-js','path')  in rspack 1.0 throw error

System Info
System:
OS: macOS 14.6.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 434.97 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
pnpm: 8.15.5 - ~/Library/pnpm/pnpm
bun: 1.1.17 - ~/.bun/bin/bun
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Browsers:
Chrome: 128.0.6613.114
Safari: 17.6
Details
The error occurs when setting chain.resolve.alias.set('core-js', this.coreJs.alias) in rspack 1.0, while versions after 0.7 do not have this issue.

I suspect that different versions of core-js are causing the issue, but it runs normally after downgrading rspack.
Reproduce link
No response
Reproduce Steps
pnpm dev

the problem is https://github.com/ant-design/ant-design/issues/16852 and work in<EMAIL_ADDRESS>

https://github.com/empjs/rspack-q-and-A/blob/e1f2e069f1ec16147def5bdd83427d6fecb0e137/packages/multi-corejs-version-error/package.json#L11 fixed it and update coreJS

I think the behavior of Rspack 1.0 is the same as webpack. When you need to use both core-js v2 and v3, you should not configure a global alias for core-js, which will break the module resolution of core-js v2.
Configuring alias in the rule.resolve.alias can avoid this issue: https://rspack.dev/config/module#ruleresolve


links to deprecated objects

From @EnricoScanta on August 20, 2018 14:10
I suggest that links to deprecated objects should also have a 'deprecate' mark.
Copied from original issue: BlueBrain/nexus-explorer#22

Right now, we don't display the deprecated links by default. We need to add a toggle button

We should also use the new incoming/outgoing links API, as opposed to sparql query.

This have now been fixed


Introduce Code Formatting

Description
I added formatter-maven-plugin and impsort-maven-plugin for formatting Java code.
Code formatting and imports are automatically checked during the Maven verify phase. To automatically format your code and sort your imports, run mvn clean install -Pformat-code.
For JavaScript and CSS, I added prettier. Formatting is automatically checked during npm test. To automatically format your code, run npm run prettier-fix in ui.apps.
Please also see https://github.com/adobe/commerce-cif-connector/pull/24.
Java configuration: https://github.com/adobe/aem-core-cif-components/commit/1e44a7e846139a02c146c4672c220851466ebf30
Java formatting: https://github.com/adobe/aem-core-cif-components/commit/d3993fcd614be01a0b87b4e08fdf9f1b7c4c6bd9
Prettier configuration: https://github.com/adobe/aem-core-cif-components/commit/a7046b73fe29356abba5d1f1898d9000280aeba5
JavaScript/CSS formatting: https://github.com/adobe/aem-core-cif-components/commit/51a67ad163d3f3ec85b68b3437ca627e1eacae5b
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes and the overall coverage did not decrease.
[X] All unit tests pass on CircleCi.
[X] I ran all tests locally and they pass.

Codecov Report

Merging #44 into master will increase coverage by 0.22%.
The diff coverage is 69.91%.

@@             Coverage Diff              @@
##             master      #44      +/-   ##
============================================
+ Coverage     56.66%   56.88%   +0.22%
  Complexity      135      135
============================================
  Files            25       25
  Lines           840      842       +2
  Branches         49       49
============================================
+ Hits            476      479       +3
+ Misses          341      340       -1
  Partials         23       23

Flag
Coverage Δ
Complexity Δ

#karma
95.62% <95.74%> (+0.04%)
0 <0> (ø)
:arrow_down:

#unittests
46.13% <53.94%> (+0.15%)
135 <7> (ø)
:arrow_down:

Impacted Files
Coverage Δ
Complexity Δ

...mponents/internal/models/v1/product/AssetImpl.java
63.15% <ø> (ø)
8 <0> (ø)
:arrow_down:

...s/internal/models/v1/product/VariantValueImpl.java
85.71% <ø> (ø)
4 <0> (ø)
:arrow_down:

...nal/models/v1/productlist/ProductListItemImpl.java
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...ternal/models/v1/product/VariantAttributeImpl.java
90% <ø> (ø)
6 <0> (ø)
:arrow_down:

...components/models/searchresults/SearchResults.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...onents/models/productcarousel/ProductCarousel.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ore/components/models/productlist/ProductList.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...mponents/internal/models/v1/header/HeaderImpl.java
7.69% <0%> (ø)
1 <0> (ø)
:arrow_down:

...erce/core/components/internal/models/v1/Utils.java
62.06% <0%> (+2.06%)
8 <0> (ø)
:arrow_down:

.../internal/models/v1/navigation/NavigationImpl.java
76.47% <0%> (ø)
11 <0> (ø)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


AIRAVATA-2528

Create a thrift file for Airavata allocation manager

Thanks Madrina for this contribution. I will review and merge it so others can use the same module structure.

closing this one since the new pr's were submitted to sandbox repo