text:
Possibly redundant _doneInit

I am not sure if _doneInit variable in the generated class is needed. The only use-case I've seen so far was a computed variable when it was protecting the counter so it's not incremented on the initial set.
    private var _doneInit = false

    public init() { _doneInit = true }
    public init(currentDirectoryPath: AbsolutePath) {
        self.currentDirectoryPath = currentDirectoryPath
        _doneInit = true
    }
    public var currentDirectoryPathSetCallCount = 0
    var underlyingCurrentDirectoryPath: AbsolutePath!
    public var currentDirectoryPath: AbsolutePath {
        get { return underlyingCurrentDirectoryPath }
        set {
            underlyingCurrentDirectoryPath = newValue
            if _doneInit { currentDirectoryPathSetCallCount += 1 }
        }
    }

but it seems, the same can be achieved by accessing the underlying variable directly.
    public init() {}
    public init(currentDirectoryPath: AbsolutePath) {
        underlyingCurrentDirectoryPath = currentDirectoryPath
    }
    public var currentDirectoryPathSetCallCount = 0
    var underlyingCurrentDirectoryPath: AbsolutePath!
    public var currentDirectoryPath: AbsolutePath {
        get { return underlyingCurrentDirectoryPath }
        set {
            underlyingCurrentDirectoryPath = newValue
            currentDirectoryPathSetCallCount += 1
        }
    }

Few other things I'd consider:

replacing underlying prefix with _ to make it more obvious it's just an internal store, and making it private.
Adding some extra empty lines between the methods/variables to enhance readability.

That's a good idea. Will remove it.

resolved

https://github.com/uber/mockolo/releases/tag/1.2.0

authors: elsh marciniwanicki

repo: uber/mockolo


text:
Avoid to generate duplicated variable name

Overview
If mockable has multiple initializer which have same parameter name, output mock can't be built due to conflict of variable name.
This fix aims to solve #224 .
After fix

Input

/// @mockable
protocol MyProtocol {
    init(param: Any)
    init(param: String)
    init(param: any Sequence<Character>)
}

Output

class MyProtocolMock: MyProtocol {
        private var _param: Any!
    init() { }
    required init(param: Any) {
        self._param = param
    }
    required init(param: String = "") {
        self._param = param
    }
    required init(param: any Sequence<Character>) {
        self._param = param
    }

}

To collaborators, could you review my PR when your spare time :pray:

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Documentation site not linking to appropriate files

When trying to look at the API references for a lot of materials, the pages are not appropriately referenced.
For example, on this API Reference page,
the link for the "rect-series" is given as
https://uber.github.io/react-vis/website/dist/rect-series.md
=> which gives an empty container, when I assume we want it to serve the contents of https://github.com/uber/react-vis/blob/master/docs/rect-series.md
This page is appropriately rendered at
https://uber.github.io/react-vis/documentation/series-reference/rect-series
There are instances of this throughout the documentation, such as the General-Principles page providing the same incorrect links to Arc Series, Line Series, etc.
I hope this is as simple as changing all of those links from /website/dist/ARTICLE_NAME to /documentation/series-reference/ARTICLE_NAME

Closed due to valiant work of @gsas2

source: gharchive/issue

authors: mathewleland mcnuttandrew

repo: uber/react-vis

license: mit

license_source: bigquery


text:
Get Storybook working.

Added the website to the list of packages, and got the storybook working.
Upgraded the required packages, and fix the storybooks to work with the new versions.

I had to change how were were passing in the jsxOptions due to https://github.com/uber/react-vis/pull/1319.  There is a PR to fix it, but it hasn't been touched

Seems fine though CI seems to be failing due to node version.

Ya. the work that Alex is doing should resolve the build errors. Once he finishes up with the lint errors, I will rebase.

Interesting... the build is failing due to fsevents not being supported on linux but that package wasn't changed between the two commits.


text:
xfce4-clipman-plugin is missing from the base image

xfce4-clipman-plugin is the clipboard manager for xfce and an xfce4-panel plugin. It handles both manual copies and selections and it saves copy history across sessions. It's an incredible quality-of-life tool.

xfce4-clipman-plugin added to the base image in 6ddb635. Thanks!

repo: ublue-os/vauxite

license: MIT


text:
No docstrings in task1_calculus.py

Hi @AhmedCode99,
I see that you have docstrings in your task3_calculus.py library, but not task1_calculus.py. I made a pull request (https://github.com/ubsuny/23-Homework6G2/pull/75) where I have added them to task1_calculus.py so that both are properly documented

@WildJimmy I am working on it in my own branch, now I have sent a merge request.

I am confused, I already sent the merge request for this change before making this issue as referenced in the original comment. Just need the maintainer @AhmedCode99 to look it over, but I don't know why another merge request is necessary

@WildJimmy Actually, my job is to add docstrings the algorithm file ans I was working on it. I did all my job in my own  branch and sent all jobs together  as a merge request to the main branch. I was unaware of your contribution to that file. So..

authors: WildJimmy tirthbha


text:
more specific examples

https://github.com/ubsuny/MLFringe-Contrast-CP2P2024/blob/2492e3a61cf4dfc9ad530770b6bdd274d1bb9cd1/documentation.md?plain=1#L3
Can you give some more specific examples?

@laserlab , I will be using np.complex64, and maybe np.complex128 or even np.complex256. And also, float64 and so on. As I have huge data so I need to use them. Also I have complex exponentials and I need complex data types.

authors: laserlab uarif


text:
PyTorch + ONNX + Caffe2 Model deployer

@Corey-Zumar #340 Please take a look, and test it. It seems fine on local environment.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/937/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/963/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/964/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/965/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/966/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/968/
Test FAILed.

I'm not sure what's wrong here, could you take a look ? @dcrankshaw

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/972/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/978/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/979/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/980/
Test FAILed.

The logs says that there exists some python format violations, could you check it for me ? @Corey-Zumar

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1002/
Test FAILed.

The test failed the format checker. Run ./bin/format_code.sh.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1009/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1017/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1027/
Test FAILed.

@Corey-Zumar Any thing wrong after merge ?

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1044/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1045/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1046/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/1047/
Test PASSed.

authors: AmplabJenkins dcrankshaw haofanwang

repo: ucbrise/clipper


text:
Numbering questions in a box

In the data representation chapter we have "1. Represent each character in your name using UTF-32.", which is part of a numbered list. However, the rendered version doesn't number the list (same for the next spoiler box).

It appears the numbered list is being created correctly, however the CSS is overriding the numbers/bullet points within a panel (the panel itself is a list item where the bullet points are hidden).
I'll rewrite the CSS to display the numbers/points.

This has been fixed, however I couldn't merge develop into content/data-representation as there was a merge conflict. I presume some text was deleted in the new branch but the old text has had typo fixes in develop since then.
An author (@Heidirose or @timbellnz) should merge develop into content/data-representation and resolve the merge conflict. If you need help with solving a conflict, let me know.

Done. fa509381813f3befecaeeb24e4ff4027fa11deef

authors: Heidirose JackMorganNZ timbellnz

repo: uccser/cs-field-guide


text:
Update LICENSE

This pull request adds license files for the core system (MIT), the content (CC), and third party licenses.
Fixes #22.
Also closed the 'Ready for Authors' milestone.

Thanks for the suggestion @ravenmaster001. I've clarified the coverage of licenses in the README, and made a note at the top of the LICENSE-CONTENT file. I've left the LICENSE file as is, because I want it easily identifiable by license bots (having a LICENSE file with extra content is placed as unknown).

repo: uccser/cs-unplugged


text:
Updated user white list for announcements script

Fixes #333

Soon, we should look to have a better way of doing this. Sorry about this tech debt.

authors: khxia maggieelli


text:
Updated README to remove ensure: true from Plug example

The Guardian.Plug.LoadResource plug no longer takes an ensure: true option, this PR removes that from the README.

Thanks for picking this one up!
Can you please change this to allow_blank or at least mention it so that folks know it there?

Thanks @hassox, I've updated the PR with a note to the allow_blank option.

Thank you @rosswilson 😀

authors: doomspork hassox rosswilson

repo: ueberauth/guardian


text:
Tratar herança em uma branch separada

Como o objetivo desse projeto é mostrar conceitos básicos de OO, ele, propositalmente, não usa conceito de herança.
De toda forma, seria interessante ter uma versão do jogo com herança, que pudesse ser mostrada para os alunos mais adiante na disciplina. Tal versão reduziria a replicação de código existente nas classes Nave e Inimigo.
Para manter as versões separadas, a ideia é que a versão com herança fizesse parte de uma branch separada da main. Poderia chamar, por exemplo, versao-com-heranca.

Obs.: seria interessante também alterar o README da branch principal para informar que existe essa versão.

Boa noite, tudo bem ? Acredito que consiga desenvolver oque foi solicitado na branch, posso trabalhar nela ?

Olá @MrDuckBr, bom dia, claro, bacana que esteja disposto a colaborar!
Como é um projeto bem simples, não há um procedimento formal para contribuições. Mas, para mantermos as coisas organizadas, seria bom que enviasse a solução da issue na forma de um Pull Request para que eu possa comentar/avaliar a solução.
Qualquer dúvida quanto ao projeto ou à issue em si, estou à disposição.

@caburu, boa noite, tudo bem ?
Poderia por gentileza, criar a branch versao-com-heranca mesmo que vazia, pois há somente a branch main. Dessa forma, todas as solicitações de Pull request, serão na branch main.

Olá @MrDuckBr, branch criada.

authors: MrDuckBr caburu


text:
Implement cmd_drop in the Character class

Since we updated develop, players can now pick up items in Locations. We want players to be able to drop items in their inventory.
As such, need a cmd_drop method similar to the cmd_pickup method.

Merged "drop" into develop

authors: pankeleo xeranimus

repo: ufosc/MuddySwamp


text:
Full text & Documents – I can add a license or lack thereof

Story
I can add a license or lack thereof
Note; researchtip to be confirmed, can be edited later.
Success criteria

[ ] I can select a license

[ ] I can select CC licenses

[ ] CC0 (1.0)
[ ] CC BY (4.0)
[ ] CC BY-SA (4.0)
[ ] CC BY-NC (4.0)
[ ] CC BY-ND (4.0)
[ ] CC BY-NC-SA (4.0)
[ ] CC BY-NC-ND (4.0)

[ ] I can select there is no license to reuse the documents, when the rights holder has kept the copyright.
"In copyright (no license)"
[ ] For now, I can still select "I don't know"
"I don't know the status of the copyright for this publication"
[ ] I can indicate there is a license, it is just not an option in this list
"The license is not listed here"

Related #659
Out of scope

When I select Other license, I can input it in a different field

Image

Code example
View full modal example at https://github.com/ugent-library/biblio-backend/issues/650
Title

How can other people reuse your document?

Select

      License for reuse granted by the rights holder

        More info

    <select class="custom-select form-control" name="license">
      <option></option>
      <option value="CC0-1.0">CC0 (1.0)</option>
      <option value="CC-BY-4.0">CC BY (4.0)</option>
      <option value="CC-BY-SA-4.0">CC BY-SA (4.0)</option>
      <option value="CC-BY-NC-4.0">CC BY-NC (4.0)</option>
      <option value="CC-BY-ND-4.0">CC BY-ND (4.0)</option>
      <option value="CC-BY-NC-SA-4.0">CC BY-NC-SA (4.0)</option>
      <option value="CC-BY-NC-ND-4.0">CC BY-NC-ND (4.0)</option>
      <option value="copy-held">In copyright (no license)</option>
      <option value="Other">The license is not listed here</option>
      <option value="Other">I don't know the status of the copyright for this publication</option>
    </select>

Tooltip
https://biblio-ugent-prototype-emily-v2.vercel.app/styleguide/b-popover.html
Divider

After consulting with a bunch of stakeholders (Open access team members, review team members, Sarah, Development team, ...)
In copyright (no license)
We will not make a difference any longer for copyright between the rights holders; as this is a separate information. It does not matter who decided on the license when asking for a license. If we make clear in the interface the rights holder does this, there is no confusion. We can be agnostic about it in our interface.
"I don't know"
We will keep the "I don't know" flag for now, because it is used by some faculties and is handy as a flag for some reviewers. Long term we should find a way to help people navigate this decisions without having to resort to "I don't know".
Introduction of the flag "Other license (the license is not in this list)"

Right now there is no way to indicate that there is a license, but it is just not an option in the list. This can create a confusing situation, as it happens – and now there is a way out.
This will help the library discover whether we are missing out on important licenses.
We will not ask people to enter this license in a free-text field. This information would have to be shown in our public facing front-office, and there is a risk of having irrelevant information online for some time. This information should never be live, but we can use this as a way to start our analysis and figure out which license has been granted.
The reviewers already note down the other license in a "Additional information" field, so we can use this in a later stage in our analysis.

This has been implemented. Awaiting feedback.

Tested this live today, reviewers will do a double test later – but is good for now!

authors: mietcls netsensei

repo: ugent-library/biblio-backend


text:
分布式存储的疑问

一直有个疑问，这种基于 raft 的存储，a 节点 Apply raft.Log 成功了，b 节点在 Apply 的时候写数据库（S3 作为存储应该是调用接口失败？）异常了，这种情况怎么处理，这种 Case 下没有办法保证 Apply 都一定是成功的。

我目前的设计并不直接将每次的 Apply 动作存储至 S3 ，优先本地，在快照时按需同步至S3 (Apply操作直接写S3延迟不可接受)。
一般情况下，相同时序的sql语句在不同的实例(节点)上执行的结果是一致的(受此影响,只有确定性的sql语句才受支持，不支持random()等，这一点与rqlite一致)，如果极端情况传输等故障导致 节点B Apply 失败，直接 panic 。在节点B自动重启恢复后，会请求 Leader 先从快照恢复，再依次 Apply 快照后未执行的日志，故能保证数据的一致性。
当数据量或库数量大了之后，从生成快照与快照恢复的时间往往无法接受，这在 rqlite 或 dqlite 中似乎不太注重这方面的情况 大量使用了直接完整拷贝至内存操作。以及 rqlite 不支持多数据库，ha-sqlite 的设计目标是能支持大量的sqlite数据库，会在快照这部分实现做一些优化。

authors: tinycolds uglyer

repo: uglyer/ha-sqlite


text:
Small change to test workflow

TEST

Re-trigger workflow

repo: ugtthis/openpilot


text:
Probable issue in Dockerfile

What is the /hoem/node folder ? why /home/node ?
what is COPY . . ? why there is space between two dots? what is being copied ?
@shant00 @mahabubul470

@imtiaz-rahi sir, COPY. . Implies that everything from the build context will be copied to workdir

repo: uhurutek/openai-connect-nodeapp


text:
beta5 build fails

Hi, I'm trying to build latest beta5 but build fails with the following

ui-router-ng2@1.0.0-beta.5 clean /Users/marcin/Sites/uirouter-ng2
shx rm -rf lib lib-esm _bundles _dec

Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:40:38: A parameter initializer is only allowed in a function or constructor implementation.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:40:46: Cannot find name 'keyof'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:40:52: '=' expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:42:46: A parameter initializer is only allowed in a function or constructor implementation.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:42:56: Cannot find name 'keyof'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:42:62: '=' expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:58:42: Cannot find name 'Partial'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:99:22: Cannot find name 'Partial'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/jasmine/index.d.ts:99:35: Cannot find name 'Partial'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:244:13: Duplicate identifier ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:244:16: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:246:25: Cannot find name 'Partial'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:248:19: Duplicate identifier ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:366:39: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:2083:24: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5636:44: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5643:44: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5650:44: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5657:44: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5690:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5699:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5706:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5713:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5722:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5729:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5736:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5745:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5752:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5759:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5768:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5775:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:5782:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:9: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:10: Cannot find name 'P'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:15: Cannot find name 'keyof'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:21: ']' expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:21: Cannot find name 'T'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:22: ';' expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:23: Declaration or statement expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:26: A parameter initializer is only allowed in a function or constructor implementation.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:31: Cannot find name 'T'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:33: ']' expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:34: ')' expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:35: Declaration or statement expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:37: Declaration or statement expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11502:40: Cannot find name 'boolean'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11511:29: Cannot find name 'ConformsPredicateObject'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:11522:42: Cannot find name 'ConformsPredicateObject'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:12762:29: Cannot find name 'object'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15452:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15461:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15494:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15503:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15538:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15547:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15580:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15589:12: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15622:22: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15629:22: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15662:24: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15669:24: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15685:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15694:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15704:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15714:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15724:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15734:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15744:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15754:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15789:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15797:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15804:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15836:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15844:21: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15851:21: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15914:21: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15914:37: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:15930:21: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16591:33: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16601:33: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16611:33: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16680:33: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16689:33: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16698:33: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16758:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16767:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16777:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16787:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16797:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16807:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16817:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16827:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16846:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16855:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16864:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16874:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16882:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16892:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16900:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16922:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16932:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16942:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16953:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16962:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16973:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:16982:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17139:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17147:21: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17154:21: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17170:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17179:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17188:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17197:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17207:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17215:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17225:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17233:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:17984:39: Cannot find name 'TemplateSettings'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18604:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18612:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18734:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18742:19: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18751:47: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18760:47: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18876:31: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18913:43: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18920:43: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18927:43: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18934:43: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18941:43: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18953:40: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18960:40: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18967:40: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18974:40: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18981:40: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:18993:39: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19000:39: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19007:39: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19014:39: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19021:39: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19032:39: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19072:53: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19079:58: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19086:58: Cannot find name 'Many'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19246:22: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19270:22: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19293:23: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19316:23: Cannot find namespace ''.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19339:21: Cannot find namespace '_'.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19499:1: Declaration or statement expected.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19507:15: All declarations of 'WeakMap' must have identical type parameters.
Error at /Users/marcin/Sites/uirouter-ng2/node_modules/@types/lodash/index.d.ts:19507:33: Cannot find name 'object'.

Hi! This may be helped:
https://github.com/ui-router/ng2/issues/58

solved thanks!

authors: kolkov mkoczorowski


text:
docs and some small treats for wdi5 2.0

reworked the documentation
add an esm usage example for wdi5
syntactic sugar for switching between SAP Build WorkZone's shell and app area
devx: jsconfig.json samples in CJS- and ESM-flavor

Hey @wridgeu and @marianfoo - sorry for the review ambush 🥷  Added you as reviewers in the hopes that some fresh eyes on documentation will find gaps, shortcomings and typos better :)

btw: failed test is a flaky one, as the wz shell is ...well... anyway, ignore it please
https://github.com/ui5-community/wdi5/actions/runs/6051525181/job/16423173682

closing this in favor of 2 new ones for better separation of concerns.
thx @marianfoo and @wridgeu for the reviews!


text:
Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler

I used Version 10.2 (10E125)
I added UizaSDK8 and UizaSDK by cocoapod.
When I imported UizaSDK/UizaSDK8 to my project I've got this error:
"Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler."
What do I do now?

Please run pod update to get the lastest version 7.0.6 for Swift 5 project

authors: dalmatele kennic

repo: uizaio/uiza-sdk-player-ios


text:
Easier accessibility to key values

I am interested in determining whether there is a simpler method to directly access and print specific variable values from the results, without the need to manually open the OUT.DAT file. While I am aware of methods to display key output variables, such as:
print(f"Heat transport system: {single_run.models.costs.c226:.3e} M$")
print(f"Electrical plant equipment: {single_run.models.costs.c24:.3e} M$")

these require detailed knowledge of the entire data structure to accurately reference and print the desired variables. For instance, if I want to view only a few specific variables like rmajor, rminor, q0, beta_n, and Q-value, I would need to search through the data structure to identify the correct paths to print these values.
Currently, using the following approach:
runs_metadata = [
    RunMetadata(data_dir / "large_tokamak_1_MFILE.DAT", "large tokamak 1"),
]

# Figure and dataframe returned for optional further modification
fig1, df1 = plot_mfile_solutions(
    runs_metadata=runs_metadata,
    plot_title="Large tokamak solution 1",
)
df1

results are typically presented as figures or tables, which does not provide direct access to individual variable values.
It would be highly beneficial to have a more straightforward method to access and print specific key result variables, such as runs_metadata.rmajor, runs_metadata.thwcndut, and others. This would significantly enhance the usability and efficiency of working with the data. I hope there would be a function that can convert OUT.DAT data into dictionary or class type structure.

Hi @JaeBeom1019,
We are currently converting the PROCESS physics and engineering models from Fortran to Python (https://github.com/ukaea/PROCESS/issues/2879). Following this, we can convert the data structure from Fortran to Python (https://github.com/ukaea/PROCESS/issues/2893). Once we have a fully pythonised codebase, we look to further improve the data architecture behind PROCESS as this will have benefits to our internal modelling and development team, other software looking to interface with PROCESS, and external collaborators.
We currently have functionality in review that will write the MFile into a JSON format, could this be of use to you (https://github.com/ukaea/PROCESS/pull/3287)? If you are looking to access the intermediate values (as in, before PROCESS has converged) then this might be slightly trickier but I can look into it.
Thanks for your continued interest in PROCESS,
Tim

Thank you for your prompt response!
To clarify, what I’m hoping to achieve is printing specific key values, rather than intermediate values.
I would appreciate it if you could provide a code example on how to print the rmajor value, perhaps in a format like the following:
print(f"Electrical plant equipment: {single_run.models.costs.c24:.3e} M$")
It’s perfectly fine if the path is Fortran-based, as shown above.

repo: ukaea/PROCESS


text:
Mixin Error: mixin apply failed mixins.customfishing.json:MixinNetHandlerPlayClient

After installing CustomFishing onto E2EE modpack, i found this error in debug.log file:
[Client thread/WARN] [mixin]: Mixin apply for mod unknown-owner failed mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner -> net.minecraft.client.network.NetHandlerPlayClient: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
	at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:559) ~[sponge-mixin-0.20.6+mixin.0.8.7.jar:0.20.6+mixin.0.8.7]
	at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:489) ~[sponge-mixin-0.20.6+mixin.0.8.7.jar:0.20.6+mixin.0.8.7]
[...]

Usually such warnings means that mixin is not working.
What functionality not working? How to fix that?
debug.log

Fixed at 0.0.6）））
I forgot to add @author

No, this error is not fixed in 0.0.6 and still appear in log file:
[13:11:24] [Client thread/WARN] [mixin]: Mixin apply for mod unknown-owner failed mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner -> net.minecraft.client.network.NetHandlerPlayClient: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]

debug.log

No, this error is not fixed in 0.0.6 and still appear in log file:
[13:11:24] [Client thread/WARN] [mixin]: Mixin apply for mod unknown-owner failed mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner -> net.minecraft.client.network.NetHandlerPlayClient: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V! Expected (Lnet/minecraft/network/play/server/SPacketSpawnObject;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V but found (Lnet/minecraft/network/play/server/SPacketSpawnObject;)V [ -> Inject -> mixins.customfishing.json:MixinNetHandlerPlayClient from mod unknown-owner->@Inject::handleSpawnObject(Lnet/minecraft/network/play/server/SPacketSpawnObject;)V]

debug.log

emmmm..
Let me check again,wait some minutes

I solved this problem, but found out that the fish hook will not be rendered when the player throws the fishing rod in the server, but the fish hook is present on the server, so only fish particles will appear, I need more time to solve it))))))

Sorry, I failed, I tried a lot of things but the problem still exists, the client is fine, but when the player joins the server they can't see the hook... (But the fish hook is normal on the server, the fish hook only does not exist on the client, the fish particle still exists)

Then i will wait for the fix more!
I made a thread on E2EE discord and it seems like players are excited about new fishing options. I think this features will definitely make E2EE better and will wait for you to fix server issue! 😉

Then i will wait for the fix more!
I made a thread on E2EE discord and it seems like players are excited about new fishing options. I think this features will definitely make E2EE better and will wait for you to fix server issue! 😉

Thanks for waiting! I did it, try version 0.0.9!

Mixin error seems to be fixed, but didnt test hook on server yet.

repo: ukmojb/CustomFishing


text:
Wrong answer of search.json

https://pacific-oasis-63187.herokuapp.com/api/v1/estate/advertisement/search.json?phones[]=0505169015&phones[]=0977076113&url=%2Fobyavlenie%2Ftepla-3h-pokraschenogo-planuvannya-IDxWbHU.html - 0 items
https://pacific-oasis-63187.herokuapp.com/api/v1/estate/advertisement/search.json?phones[]=0505169015&phones[]=0977076113&url=%2Fobyavlenie%2F2-h-komnatnaya-kvartira-uluchshenoy-planirovki-IDvDNii.html - 6 items
Phones are the same.
Actual result: answer based on match phones && url (and)
Expected result: answer based on match phones || url (or)

Hi, all fine, already use "or"
Changes: add "normalize" before search by phone in database
So 050 *** ** ** -> 38 050 *** ** ** and fined

authors: ReenExe olegsuv

repo: ukraine-blacklist/platform


text:
Point to trade org's crispy-forms-gds package.

TP-1052 Use the trade org version crispy-forms-gds
Why
We now have our own, forked version of the crispy-forms-gds Python package. This package fixes issues in the up-stream version of the package and gives us control over future fixes and changes. We should therefore use our own package.
What
This PR makes no functional change to the application, but substitutes a like-for-like package (with fixes).
Checklist

Requires migrations? No
Requires dependency updates? This is a Tamato dependency update, but doesn't draw in any related dependencies.

Links to relevant material
See: uktrade / crispy-forms-gds

Codecov Report

Merging #423 (a916dc0) into master (25a0065) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #423      +/-   ##
==========================================
- Coverage   91.14%   91.12%   -0.02%
==========================================
  Files         277      277
  Lines       16740    16759      +19
  Branches     1365     1369       +4
==========================================
+ Hits        15257    15271      +14
- Misses       1245     1248       +3
- Partials      238      240       +2

Impacted Files
Coverage Δ

importer/management/commands/run_import_batch.py
58.82% <0.00%> (-4.34%)
:arrow_down:

workbaskets/models.py
86.47% <0.00%> (-2.14%)
:arrow_down:

importer/tests/test_tasks.py
100.00% <0.00%> (ø)

measures/business_rules.py
88.70% <0.00%> (+0.03%)
:arrow_up:

measures/tests/test_business_rules.py
96.77% <0.00%> (+0.04%)
:arrow_up:

importer/tasks.py
67.64% <0.00%> (+0.98%)
:arrow_up:

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 25a0065...a916dc0. Read the comment docs.

authors: codecov-commenter paulpepper-trade

repo: uktrade/tamato


text:
Swarm RAG

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed
[ ] Branch name follows type/descript (e.g. feature/add-llm-agents)
[ ] Ready for code review

ℹ Additional Information

Not complete, so please don't merge for now

repo: ulab-uiuc/research-town


text:
[DO NOT MERGE] Change to test the module cache

Description of your changes

Fixes #
I have:

[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

examples/ec2/vpc.yaml

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

/test-examples="examples/ec2/vpc.yaml"

repo: ulucinar/upbound-provider-aws


text:
<M-[> appears to not be working as macro

I use the following config:
[macros.normal]
"<C-Q>" = ":qa<Enter>"
"<M-[>" = "gT"
"<M-]>" = "gt"

Pressing alt+] works flawlessly, however alt+[ does not and results in other shortcuts not working anymore until e.g. ctrl+c is being pressed.

<M-[> is going to appear like the start of a CSI sequence (^[[) in the terminal, so it's going to issues getting parsed by crossterm at the moment.  I believe this could be fixed enabling the keyboard enhancement protocol, which will make it work in some terminals like kitty, foot, or wezterm.

I've added support for enabling the Kitty keyboard enhancement protocol when it's available in #272, or attempting to turn on modifyOtherKeys when it's not. I've listed terminals that this works for over there, and I'll eventually update the website to include a Terminal Recommendations page on the site to help people find terminals with support.

Just a quick follow up: Thank you for fixing this, is there going to be a new release that will include the fix anytime soon? :)

I saw that a new version was released yesterday and updated. I can confirm that your fix works perfectly, <M-[> and <M-]> allow me to switch tabs now. Thank you!

authors: mrusme ulyssa

repo: ulyssa/iamb


text:
Cancel Charge fees

#263
Changing :amount to :initial_amount, and changing every call to amount to be value()

@tomecho Should I change :amount from incurred_incidental to :initial_amount also? It seems pretty harmless w/o the ':adjustments' that financial_transaction has.

Needed to change .amount to .initial_amount in the views too.

I think I caught them all here: 0718612d1a62123302523b459c06f69bc677482f

authors: nawilliams owlee

repo: umts/probable-engine


text:
Incompatability with faster-minecarts

When faster-minecarts is installed and z_combined/furnace_minecart/MixinFurnaceMinecartEntity is eligible
furnace carts tend to bounce between turns

I'll try and replace some of the Overwrites; did it like that just to make things easier initially and because I figured furnace minecarts were basically forgotten and nobody else was patching them.
The bouncing actually happens sometimes with just Fabrication, too.

I'll try and replace some of the Overwrites; did it like that just to make things easier initially and because I figured furnace minecarts were basically forgotten and nobody else was patching them.
The bouncing actually happens sometimes with just Fabrication, too.

authors: SFort unascribed

repo: unascribed/Fabrication


text:
feat(src): Integrar o banco de dados com a aplicação

Integrar o banco de dados
Descrição
Escopo
Esta tarefa está relacionada ao back-end.
Tópicos para conclusão da tarefa:

[ ] função de Create passa dados no banco de dados
[ ] função de  Read ler no banco de dados
[ ] função de Update modifica no banco de dados
[ ] função de Delete deleta dado no banco de dados

Issue completada com commit na branch CRUD. Devido a um pequeno erro de código, nem todos os models estavam habilitados para o CRUD, agora estão. Principal funcionalidade do commit acabou sendo um refactoring então.

authors: JMPNascimento caio-venancio


text:
Update README.md

Fix link to "Calling Unfold from Python" documentation.

Thaaaaanks!!

authors: behinger jschepers


text:
🛑 Nitter is down

In a1869cb, Nitter (https://nitter.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter is back up in 0e32cd4 after 30 minutes.

repo: unforest/uptime


text:
🛑 Piped API is down

In 5bc2bf0, Piped API (https://pipedapi.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piped API is back up in ec5e475 after 21 minutes.


text:
🛑 Nitter is down

In 51ae99f, Nitter (https://nitter.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter is back up in 9875ee0 after 5 minutes.


text:
🛑 Libreddit is down

In f7efd41, Libreddit (https://libreddit.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Libreddit is back up in d8d7a95 after 5 minutes.


text:
🛑 SearXNG is down

In d150c6d, SearXNG (https://searxng.unforest.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SearXNG is back up in d608f33 after 11 minutes.


text:
added chrome-webrtc-flag info on first-run

fix #2516

It is probably a better idea to add this to the FAQ and/or update the default settings doc with another column that includes info about each setting's importance and why one might change it. Both are linked on the first-run page already.

Agreed

fair enough as you wish

repo: ungoogled-software/ungoogled-chromium


text:
Create Concept Doc re: Speech Recognition Idea

Find open-source solutions that can recognize speech and confirm if children are reading as they should.

Good idea to consider. Opportunity for us to document / outline the general case (we are exploring what is possible out there and found smthg that doesn't exist and looks possible, can add value)
Next steps:

Concept Note that explains tech, use case, value, target audience, resources/internal teams (e.g. unicef intl learning division)

user need validation required
tech validation required

Have reached out to some ed contacts - but waiting to hear from them!

No longer pursuing this idea. Will close this ticket.

repo: unicef/publicgoods-roadmap


text:
Finish Multiple Reference Support

Work on selectors which reference multiple elements is almost finished but there are a few finishing items to be addressed.
First, we need to properly test everything involved in it, since several tests were left out previously. Second, we need to add support for the is operator: $(".items") is valid. Last, we need to address some of the code review items identified previously.

The language uses identifiers instead of selectors now, so this issue is now meaningless.


text:
2.4 release checklist

[x] Add planned downtime message to the production website
[x] Update readme.md
[x] Put scruffy in production mode and test the production deployment
[x] Test in all browsers
[x] Create new release, update version numbers and push master
[x] Add Github release
[x] apt-get update and upgrade
[x] update the database
[x] Deploy
[x] Test if hidden internal nodes work
[x] Add 2.4 + changelog news post
[x] Add tag to google analytics
[x] Create public branch and push to github.com
[x] Delete 2.4 feature branches

Original issue by @bmesuere on Sat Aug 02 2014 at 19:07.
Closed by @bmesuere on Tue Oct 07 2014 at 17:23.

DROP TABLE `unipept`.`counters`;

Original comment by @bmesuere on Tue Aug 05 2014 at 14:23.

Unipept 2.4 consists of 438 commits and 206 changed files with 9,015 additions and 4,048 deletions. This includes these updates:

added

An API and documentation

added

A reset button to the visualizations of the metaproteomics analysis results

added

A new treeview visualization to the tryptic peptide analysis results

improved

The organisation of the tryptic peptide analysis page

improved

The export of the hpylogenetic tree by hiding the internal nodes on export

fixed

The database to account for bigger uniprot accession numbers

fixed

The database to account for bigger EMBL and Refseq cross references

updated

Ruby on Rails to 4.1.4

updated

D3.js to 3.4.11

The single peptide analysis was renamed to tryptic peptide analysis and multi peptide analysis was renamed to metaproteomics analysis.

Known issues: the list of GO terms was disabled because it's missing from the database.

Original comment by @bmesuere on Tue Oct 07 2014 at 08:57.

repo: unipept/unipept


text:
Access host facts from another remote host

Access another host facts use hostvars['remote hostname']['fact name']

@hackerain Add Ceph monitor daemon test case, please review it.

repo: unitedstack/gremlin


text:
Add name fields to CSV export

Add additional name fields to CSV.
Addresses #605.

Thanks! The files linked from the README should update automatically momentarily....

authors: JoshData joearasin

repo: unitedstates/congress-legislators


text:
Design of text editor helpers

https://dribbble.com/shots/3693750-24-Text-Style

https://dribbble.com/shots/7428269-Alignment-button

repo: universe/vapid


text:
Add getRoutePath(event)

Describe the feature
This feature works similar to getRequestPath(event) but for the defined route path
Example
When the route /api/route/:id is requested, the getRequestPath returns it requested path, like: '/api/route/123'. The getRoutePath will return the route path to it self /api/route/:id .
Why this feature?
Middleware's that verifies the requested route can't access the defined route, just the requested path
Additional information

[ ] Would you be willing to help implement this feature?

Have you tried accessing event.context.matchedRoute?.path?

I haven't tried accessing event.context.matchedRoute?.path yet, but it's good to know that this is already possible.
I believe that having a dedicated function like getRoutePath could simplify the process of obtaining the defined route path and also is more logical.
What do you think about?

I think it can be useful. The reason we only kept as as event.context.matchedRoute is because the behavior (how a normalized path patterns looks like also what props of matchedRoute) we kept it as more an internal possibility.
I think eventually we will introduce more clear getMatchedRoute(event).

authors: DamianGlowala PatoGordo pi0


text:
Incorrect resize result for an image

Environment
ipx - 2.0.2
nodejs - v18.16.1
Reproduction
Clone repo: https://github.com/dmitriy-nz/ipx-test
Install deps
Run npx ipx serve --dir ./imgs
Open url: http://localhost:3000/s_200x200,fit_inside/test.jpg - Already at this step you will get an image with an incorrect size
On the native sharp everything works as expected with the same set of parameters
Run node index.js for get the expected result via a native sharp
Check output.jpg
Describe the bug
When I try to resize a "skinny" image I get the wrong result.
Original image (30x600):

Call resize via ipx with parameters s_200x200,fit_inside and get wrong result (1x30):

I ran the resize with the same parameters through native sharp and everything works as expected (10x200):

Additional context
No response
Logs
No response

Tracked the issue to this clampDimensionsPreservingAspectRatio fn call. Sharp seems to handle this correctly now, as works as expected when those lines are commented out. I'd question wether this manual patching still needed.

authors: dmitriy-nz jameswragg

repo: unjs/ipx


text:
🛑 happysooner.com is down

In ac7ae16, happysooner.com (https://happysooner.com) was down:

HTTP code: 502
Response time: 2419 ms

Resolved: happysooner.com is back up in e0cce13 after 57 minutes.

repo: unliar/happy-upptime


text:
increase 32 character emoji name to 48, because of some emojis.

face_with_open_eyes_and_hand_over_mouth (🫢) is 39 characters
and
hand_with_index_finger_and_thumb_crossed (🫰) is 40 characters.

The limit will be removed

authors: KeksToGo yusshu

repo: unnamed/emojis


text:
fix: windows incompatibilities

Hi guys! Thanks for the project.
Today i managed to work with unoserver in windows, and i have a fell breakpoints.

In server.py when executing in windows the command f"-env:UserInstallation={self.tmp_uri}" displays a strange error see example, seems not necessary for soffice.exe that command. So, i added a Linux verification to append it.

In server.py when executing in windows, the process crashes because not exists a signal SIGHUP in Windows envrionment, so i added a verification as well.

By change that, works like a charm! Please consider the pull request for Windows users. Thanks again!
Edit 1: The issue with Windows is because the temporary uri generation gives an invalid path to process creation, causing the error, commit fixed.

Fixed. Please review the changes!

Thanks, looks pretty good now!
Have you tested the changes? In particular, I wasn't very sure if the pathlib bit would actually work on Windows.

@mara004 Yes, i'm currently using in Windows, it's working fine!! ;)

@ankology Great, thanks for your work!

Thanks to everyone for this!

authors: ankology mara004 regebro

repo: unoconv/unoserver


text:
Esbuild plugin

https://github.com/unjs/unplugin

I considered just trying to roll my own fork, but it's based around rollup which you also don't have.

I created unplugin 😅 - so yes I am aware of it.
We are already using unplugin in webpack integration to make it easier. But the thing is that UnoCSS requires many bundler-specific optimizations to make it work the best and unplugin is not enough for it.

repo: unocss/unocss


text:
fix: Fixed Axis Alignments (both primary and counter) when children is not filling space

Fixes https://github.com/unoplatform/uno.toolkit.ui/issues/1034
Bugfix
What is the current behavior?

What is the new behavior?

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Tested the changes where applicable:

[ ] UWP
[ ] WinUI
[ ] iOS
[ ] Android
[ ] WASM
[ ] MacOS

[ ] Updated the documentation as needed:

[ ] General Doc Update
[ ] Controls Doc Update
[ ] Extensions Doc Update
[ ] controls-styles.md
[ ] lightweight-styling.md (LightWeight Styling Resource Keys)

[ ] Runtime Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Contains NO breaking changes
[ ] Associated with an issue (GitHub or internal)
[ ] Commits must be following the Conventional Commits specification.

Other information

Internal Issue (If applicable):

@Mergifyio backport release/stable/5.1


text:
Preserve whitespace semantics when resolving imports

This Babel option preserves whitespace semantics (and thus minification) when transforming bare import specifiers (fixes #149).
/cc @mjackson

Build failure is due to external PR (try locally)

Thanks, @developit. Should be live soon.

authors: developit mjackson


text:
Update fs2-core, fs2-io to 3.1.2

Updates

co.fs2:fs2-core
co.fs2:fs2-io

from 2.5.9 to 3.1.2.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2" } ]

labels: library-update, semver-major

Superseded by #245.

repo: unsecurityio/unsecurity


text:
Fix bug in save.py with interpreting quantization_method as a string when saving to gguf

Context
Upon attempting to save my fine-tuned models as gguf I encountered a new error. Upon investigation I discovered the issue to be some code that incorrectly broke strings passed for quantization_method argument to save_pretrained_gguf.
Description
The new code correctly converts a given to a list as well as preserving the functionality of directly receiving lists. It validates that a string or a list are actually being passed, and as a fallback will attempt to convert whatever remains as a list and move on.
Thanks for all your hard work and consideration of my code! Happy to make changes as required, wasn't sure if it should just break if not string or list or proceed to the next step and potentially error out.

Made a mistake, fixing and will resubmit in a new pull request.

repo: unslothai/unsloth


text:
🛑 Amsterdam, Netherlands is down

In 9afacae, Amsterdam, Netherlands ($AMSTERDAM) was down:

HTTP code: 523
Response time: 5587 ms

Resolved: Amsterdam, Netherlands is back up in 484ee63 after 25 days, 23 hours, 28 minutes.


text:
Logout as admin causes TypeError

Logging out per sign-out button (profile menu) as admin causes unhandled TypeError on Frontend v0.7.0
VM5261 runtime-core.esm-bundler.js:153 [Vue warn]: Unhandled error during execution of native event handler
  at <RouterLink to= {name: "home"} onClick=fn >
  at <GenericMenuItem title="Sign out" icon-class="fa-sign-out-alt" target-route-name="home"  ... >
  at <ProfileMenuBody>
  at <BaseMenu class="pt-4" >
  at <ProfileMenu class="pt-4" >
  at <BaseNavbar class="hidden md:flex" >
  at <AdminNavbar class="hidden md:flex" >
  at <Navbar>
  at <App>
warn @ VM5261 runtime-core.esm-bundler.js:153
logError @ VM5261 runtime-core.esm-bundler.js:326
handleError @ VM5261 runtime-core.esm-bundler.js:318
callWithErrorHandling @ VM5261 runtime-core.esm-bundler.js:272
callWithAsyncErrorHandling @ VM5261 runtime-core.esm-bundler.js:278
invoker @ VM5260 runtime-dom.esm-bundler.js:490
VM5261 runtime-core.esm-bundler.js:331 Uncaught TypeError: _ctx.logout is not a function
    at Object.onClick._cache.<computed> (VM5917 ProfileMenuBody.vue:270)
    at callWithErrorHandling (VM5261 runtime-core.esm-bundler.js:269)
    at callWithAsyncErrorHandling (VM5261 runtime-core.esm-bundler.js:278)
    at HTMLAnchorElement.invoker (VM5260 runtime-dom.esm-bundler.js:490)
Object.onClick._cache.<computed> @ VM5917 ProfileMenuBody.vue:270
callWithErrorHandling @ VM5261 runtime-core.esm-bundler.js:269
callWithAsyncErrorHandling @ VM5261 runtime-core.esm-bundler.js:278
invoker @ VM5260 runtime-dom.esm-bundler.js:490

I can not reproduce this error in our 0.7.0 deployment

Bug not present in 0.8.1

authors: bastihav theovier tobias-wiese


text:
IdentityProviderConfig changes force a lifecycle_destroy

What problem are you facing?
Changes made to a IdentityProviderConfig causes the resource to be stuck in a lifecycle_destroy state. The resource should either be immutable or allow the recreation (which is currently against the XRM spec):
apiVersion: eks.aws.upbound.io/v1beta1
kind: IdentityProviderConfig
metadata:
  name: oidc-test
spec:
deletionPolicy: Delete
        forProvider:
          oidc:
          - clientId: {{your client id here }}
            groupsClaim: roles. ←------------We are attempting to change this to groups
            issuerUrl: {{ issuerURL here }}
            usernameClaim: upn

Causes a lifecycle_destroy error:
message: 'observe failed: cannot run plan: plan failed: Instance cannot be destroyed Resource aws_eks_identity_provider_config.use1-icp-internal-dev-rapid has lifecycle.prevent_destroy set, but the plan calls for this resource to be destroyed. To avoid this error and continue with the plan, either disable lifecycle.prevent_destroy or reduce the scope of the plan using the -target flag.'

AWS API does not have a Update method https://docs.aws.amazon.com/eks/latest/APIReference/API_DisassociateIdentityProviderConfig.html, you must disassociate (delete) and recreate.
The TF sets it as a ForceNew <provider https://github.com/hashicorp/terraform-provider-aws/blob/f4b691325088fb6c4e7b3ae331884b3e681ff52f/internal/service/eks/identity_provider_config.go#L75C7-L75C7>

How could Official AWS Provider help solve your problem?
Resources should check for ForceNew fields and either reject changes, or allow the user the option to recreate/destroy.

this issue we need to fix in upjet ?

@haarchri yes, I believe it should be enforced there or at the XP level. Opened here to track the precise issue we encountered.

Related issue https://github.com/upbound/upjet/issues/78

The same happens also for kinesis Stream resource.
Once, it's created, it cannot be destroyed with the same error:
Instance cannot be destroyed Resource  lifecycle.prevent_destroy set, but the plan calls for this resource to be destroyed. To avoid this error and continue with the plan, either disable lifecycle.prevent_destroy or reduce the scope of the plan using the -target flag.'

any update?

/fresh

authors: haarchri stevendborrelli yebolenko

repo: upbound/provider-aws


text:
Documentation

Documentation of the project for readability and conforming to good open-source practices

I can work on this issue.

I can work on this issue.

Assigned!

Can I work on this issue?

Sure!


text:
Allow to pull static secrets from Vault

Right now cannot pull a static secret (e.g. /secret/foo/bar).

Complete in #17


text:
Updating actions/checkout to version v2.4.0.

Updating actions/checkout to version v2.4.0.
@AnandChowdhary - I am not sure if this needs to be updated in other places; I do not claim to be a JS expert at all, so I might be missing some steps (I saw some references to v2.3.3 in the dist/ directory? Not sure if that is produced as a side effect of some CI build?)

I have read the CLA Document and I hereby sign the CLA

recheck

recheckcla

repo: upptime/uptime-monitor


text:
Threshold/warning status for tests

If we were asserting that we want dnsResolution to be less than 100ms, but we're still safe if it's less than 200ms, the test shouldn't fail. It should emit a "warning" event.

Out of scope

repo: upssert/upssert


text:
Incorrect Number Shown - Max Daily Measurement vs Avg Rainfall Chart

Reporting on behalf of @joaoporto
Issue: The max. daily measurement is 65mm but in the chart we see measures of up to 130mm
See mismatch between statistics here

@diegopajarito - I remember that the calculations for the chart became quite complex in the end. Are you able to confirm what the correct statistics are here so that I have a 'ground truth' before attempting a fix?
I need rainfall measurements for Santa Catarina - from June to September 2023. This will help me to understand which of the statistics is incorrect.

repo: urbanbigdatacentre/wpd-dashboard


text:
Introduce %jinx Hint

%jinx hint for timeout.

@joemfb pointed out to me the mil_w argument in u3m_soft which sets a preemptive interrupt.  However, a path to use this for a particular expression evaluation is not currently clear.
The normal way a hint is handled is to compile it into the Nock bytecode in nock.c.  This introduces a side effect like SLOG which gets processed by a special handler.
For %jinx, this isn't adequate because we actually need to be "outside" the Nock code.  So let's consider the paths by which we evaluate Nock.

++mink → u3we_mink → u3n_nock_et → u3m_soft_run, u3n_nock_on.  Both of these bypass u3m_soft entirely.

Another path to evaluate Nock is in serf.c, which does use u3m_soft in event replay.  Not helpful, and succeeds because we know that the event already succeeded.

main.c has the wish stuff, also not relevant here.

vortex.c uses it on boot, also not helpful here.

serf.c:  u3m_soft with mil_w ← _serf_poke ← _serf_work ← u3_serf_work ← u3_serf_writ, which obtains mil_w from the tail of the wit argument.  ← _cw_serf_writ registered as inn_u.pok_f for the system poke handler ← called in conn.c and lick.c and newt.c.

u3_ovum_init accepts mil_w and places it in the ovum (potential event).  OK, now we're getting somewhere.  All of the calls to u3_ovum_init always start with mil_w = 0, fine, but at least this is where you set the value and how it gets accessed downstream.  The question is how to hook this up to arbitrary Nock execution.

(There's also the vexing question of what would happen if one nested %jinx hints—don't do this!)

OK, so one way to think about this:  maybe there's a global timer that is accessed when the standard event execution takes place.

Implementation in urbit/vere #648.

repo: urbit/UIPs


text:
組み込みのサーバーをファイルサーバーとして使用できるようにする。

わざわざファイルサーバーを建てるのが面倒

#35

repo: usbharu/gazo-sagasu-kun


text:
Needs single quotes and semi for webpack.

Ticket
Description : Fix webpack compile error
Screenshots / Demo Video
Testing
Checklist

[ ] Provided ticket and description
[ ] Your PR title contains the ISSUE ticket number e.g "86: ..."
[ ] Provided screenshots/demo
[ ] Provided testing information
[ ] Provided adequate test coverage for all new code
[ ] Added PR reviewers
[ ] Ensure at least 1 review before merging

Handled by @slants3

repo: usdigitalresponse/usdr-gost


text:
ODE-1243 Improve documentation

Added a summary section and a testing details and limitations section.

Also removed the TestCaseConfig object that was supposed to have multiple files. This is a future feature and is not implemented yet.


text:
As an EVCM previewing the tool, I want to see if the indicators I care most about are reflected in the initial draft score so that I can feel confident that factors that impact my community most will make my community a prioritized for benefits

Description:
This user story is about providing community members transparency into the cumulative score calculation (algorithm)

We talked a bit about this in grooming just now, and decided:

For the initial non-UI tool (associated with the "Initial Dataset and score" Epic), the audience is technical contributors, not yet wider community members (who will be the target for the "EVCM User Research Tool" to preview this visually
Regarding the scoring methodology, we can use this issue to track: https://app.zenhub.com/workspaces/justice40-60993f6e05473d0010ec44e3/issues/usds/justice40-tool/55

Closing this issue for now with those caveats

authors: NatHillardUSDS katherinedm-usds


text:
Propose next tier of data sets for deeper research

Research other data sets that could be used for future versions of the methodology, per Cecilia

@BethMattern I'm gonna call this done based on the 3 sets we called out for further research.

authors: BethMattern lucasmbrown-usds


text:
Error with URL encoded form data

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Hi,
I imported my first request from Insomnia to Bruno. It contains a URL encoded form. When sending the request I receive the following error:
Error invoking remote method 'send-http-request': TypeError: Cannot read properties of undefined (reading 'formSerializer')
I tried manually removing the fields and adding them again, with the same error outcome.
Bug https://github.com/usebruno/bruno/issues/2107 seems similar but trying to read a different property.
Let me know if further input is needed.
Best regards
Matti
.bru file to reproduce the bug
No response
Screenshots/Live demo link

Manually adding the body as Form URL Encoded works.

Interesting! I think I have seen this error as well. Can you post the .bru that shows this issue? I wonder if it is corrupted in some way...

How can I see the .bru file?
On Wed, 18 Sept 2024 at 13:36, Martin Hoecker @.***>
wrote:

Interesting! I think I have seen this error as well. Can you post the .bru
that shows this issue? I wonder if it is corrupted in some way...
—
Reply to this email directly, view it on GitHub
https://github.com/usebruno/bruno/issues/3129#issuecomment-2358231402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAV6YGBRSUYT6XKNK6Y2DS3ZXFQVHAVCNFSM6AAAAABONMLV6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJYGIZTCNBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Viele Grüße
Matti Leydecker

How can I see the .bru file?

Found it in the file system:
  name: Get Token Technical user
  type: http
  seq: 5
}

post {
  url: URL
  body: text
  auth: none
}

headers {
  Content-Type: application/x-www-form-urlencoded
  User-Agent: insomnia/8.4.5
  Authorization: Basic Bearertoken
}

body:text {
  grant_type=password&response_type=token&username=user&password=pw
}

body:form-urlencoded {
  ~grant_type: password
  ~response_type: token
  ~username: user
  ~password: pw
}

I see one potential issue already: Both Username & Password contain special characters in my case.

Running into the same issue (suddenly, no change in request). So my guess is that this was introduced with the latest version 1.29. Just rolled back to 1.28 and it's working again.

I can reproduce the error. This is the simplified request that shows the error behavior:
meta {
  name: Form Url Test
  type: http
  seq: 2
}

post {
  url: http://localhost:12345
  body: formUrlEncoded
  auth: none
}

headers {
  Content-Type: application/x-www-form-urlencoded
}

body:form-urlencoded {
  test: test
}

When you remove the header (or disable it), then it works.
You don't need to manually specify the content-type header, it is automatically added. So removing the header could be a good workaround for you.
However, the bug should still be fixed.

Would love to understand how to fix this kind of bug, basically learn where the logic lies to create the header and why it lets the request fail.

We just released a patch fix v1.29.1 that should have fixed this issue. Can you please test.

Yep, fixed. Thank you for the quick action.

We just released a patch fix v1.29.1 that should have fixed this issue. Can you please test.

Thanks @helloanoop ❤

Working for us also, thank you :heart:

authors: JohnnyTripod enricojonas helloanoop mattisebastian mjhcorporate vinodsantharam

repo: usebruno/bruno


text:
Fixed unhandled exception on collection search Re #106

Removed code related to no collections / requests matching the collection search term.
I tried a few different return values (return false, return collection.item) - TBH I don't understand the object model being used (yet)... so please feel free to decline / amend my commit.

@dcoomber I have fixed this here.
https://github.com/usebruno/bruno/commit/b1edaba1c6c7af0f3b0a3c7c25b86b33a680c2e5

authors: dcoomber helloanoop


text:
Add instances for GAT instructors

We need a few to do the course development/updates for GAT2021 :)

Can one of the admins verify this patch?

authors: bgruening hexylena

repo: usegalaxy-eu/infrastructure


text:
期望增加图片WEB直传方式(Expect to add web direct transmission mode)

期望增加图片WEB直传方式（疯狂期待）、更改评论的逻辑、更改图片前后缀拼接逻辑为相对地址
Is your feature request related to a problem?
1. 现在图片传输慢，希望能够增加图片WEB直传方式
2. 现在评论也是一条memo，导致使用api获取memo数据时还要判断parent来区分，期望评论逻辑是否可以再斟酌
3. 现在存储的前缀后缀设置后，直接拼接死在external_link字段里，导致使用非常不便，期望拼接功能逻辑可以再斟酌
Describe the solution you'd like

期待直传（非常期望）：
现在传图的逻辑是经过服务器中转，带宽直接限制了图片传输速度，国内机器带宽是最昂贵的，一般部署memos的机器带宽在3Mbps左右，图片数据流从本地传输至服务器用时太久了，从服务器传输到云存储又要双倍甚至更多的时间，建议能参考阿里OSS和腾讯COS的Web直传方式，参考资料：OSS Web直传最佳实践 ，使用此方式，就可以达到超极速上传，传输完成拿到资源地址回写服务器数据库，同时直传采用预签名的方式也是安全可靠的。
刚才翻阅issues，发现也有人提出了类似的建议 #2141

2. 期待评论逻辑重新设计：
因为memos本身的前端界面设计适合的场景不多，并且有很多体验可以提升的地方，所以现在更多的人是使用api方式来获取数据，渲染到自己设计的html页面中，但是现在评论功能推出后，很多人页面上突然评论数据也展示成为了一条memos，查看数据库后发现，原来一条memo的评论竟然也是一条memo，通过关联关系捆绑，很不解为何评论的逻辑是这样设计的，人们并不期望评论和memo在是平级关系，更重要的是，这样的设计是否违反了数据库设计范式（一个字段有多重类别含义）？这一点我不太能确定，还是期望大佬能够再斟酌考虑是否有改变设计的必要。
3. 期待图片前后缀不拼接写死在external_link：
现在的存储设置中，可以设置图片URL的前缀和后缀，但是前缀和后缀最后和上传地址一起拼接写死在了external_link字段中，这导致几个问题：
(1)前缀写死的问题：更换图床域名或图床厂商时，除了在数据库执行replace之外无法用其他方式设置，我看有人也提了类似的issue #2419
(2)后缀写死的问题（严重）：
使用云存储的图片动态裁切，例如腾讯云的万象功能可以直接在图片URL后面加参数来放大缩小图片和质量。
如果在memos中添加了URL统一后缀裁切参数[缩小图片质量到15%]，那么在访问memos的时候，所有的图片、包括点击后的放大图，都是15%质量的低质量缩略图片。
而如果不加URL统一裁切参数后缀，那进入memos列表页面会由于大量加载原图而浏览器或手机卡死！
期望达到【缩略图状态使用带后缀的图片地址，点击图片放大查看时，使用不带后缀的原图地址】，所以是否考虑将设置中的URL前缀后缀使用一个单独的字段或json保存起来，在展示数据的时候，动态的去判断是否要追加这些URL前后缀。
------------------我是难过的分界线------------------
我深知开源项目是需要非常谨慎的设计的，也理解开源软件作者各种权衡的不易。
以上只是我在使用过程中比较痛苦的几点，当然最重要的还是第一点图片传输经服务器中转十分缓慢的问题。
无论是否采纳，都期待各位作者加油，能够让memos更加易用和强大，Memos已经是我个人自建微博及笔记，不可或缺的一部分了。
Additional context
No response

To implement this feature, an S3 Bucket is necessary.
Are you considering S3-compatible services like Alibaba Cloud or Tencent Cloud?
Our strategy should be to initially support a basic, self-hostable S3-compatible object storage service as our primary OSS. From there, we can expand and include more services based on their compatibility and our requirements.
@boojack

阿里云的OSS和腾讯云的COS都是兼容S3的云存储，也是目前使用最广泛的云存储之一。
Web端直传，主要就是希望实现OSS（兼容S3）或COS（兼容S3）的直传，当用户使用S3或兼容S3的云存储时，图片等资源的数据流没有必要经过服务器中转，因为这代价昂贵且效率低。
现在的Memos使用S3的模式是「UserDevice -> Memos Server -> S3 Cloud」
期望的Memos使用S3的模式是「UserDevice -> S3 Cloud -> Memos Server Database」
Alibaba Cloud's OSS and Tencent Cloud's COS are both S3 compatible cloud storage and are among the most widely used cloud storage at present.
Web side direct transmission, the main hope is to achieve OSS (compatible with S3) or COS (compatible with S3) direct transmission, when users use S3 or compatible with S3 cloud storage, the data flow of resources such as images do not need to pass through the server, because it is expensive and inefficient.
The current Memos use S3 mode is "UserDevice -> Memos Server -> S3 Cloud".
The expected pattern for Memos to use S3 is "UserDevice -> S3 Cloud -> Memos Server Database".

期待！

@Irvingouj
阿里云的OSS和腾讯云的COS都是兼容S3的云存储，也是目前使用最广泛的云存储之一。
Web端直传，主要就是希望实现OSS（兼容S3）或COS（兼容S3）的直传，当用户使用S3或兼容S3的云存储时，图片等资源的数据流没有必要经过服务器中转，因为这代价昂贵且效率低。
现在的Memos使用S3的模式是「UserDevice -> Memos Server -> S3 Cloud」
期望的Memos使用S3的模式是「UserDevice -> S3 Cloud -> Memos Server Database」
Alibaba Cloud's OSS and Tencent Cloud's COS are both S3 compatible cloud storage and are among the most widely used cloud storage at present.
Web side direct transmission, the main hope is to achieve OSS (compatible with S3) or COS (compatible with S3) direct transmission, when users use S3 or compatible with S3 cloud storage, the data flow of resources such as images do not need to pass through the server, because it is expensive and inefficient.
The current Memos use S3 mode is "UserDevice -> Memos Server -> S3 Cloud".
The expected pattern for Memos to use S3 is "UserDevice -> S3 Cloud -> Memos Server Database".

期待！

let me know if this is the good feature, I can support this for AWS s3 and MinIo
@boojack

@Irvingouj
阿里云的OSS和腾讯云的COS都是兼容S3的云存储，也是目前使用最广泛的云存储之一。 Web端直传，主要就是希望实现OSS（兼容S3）或COS（兼容S3）的直传，当用户使用S3或兼容S3的云存储时，图片等资源的数据流没有必要经过服务器中转，因为这代价昂贵且效率低。 现在的Memos使用S3的模式是「UserDevice -> Memos Server -> S3 Cloud」 期望的Memos使用S3的模式是「UserDevice -> S3 Cloud -> Resource URL write to Memos Server Database」
Alibaba Cloud's OSS and Tencent Cloud's COS are both S3 compatible cloud storage and are among the most widely used cloud storage at present. Web side direct transmission, the main hope is to achieve OSS (compatible with S3) or COS (compatible with S3) direct transmission, when users use S3 or compatible with S3 cloud storage, the data flow of resources such as images do not need to pass through the server, because it is expensive and inefficient. The current Memos use S3 mode is "UserDevice -> Memos Server -> S3 Cloud". The expected pattern for Memos to use S3 is "UserDevice -> S3 Cloud -> Resource URL write to Memos Server Database".
期待！

If @boojack thinks this is worth doing, I'll take it, you might need to create a sperate PR for support Ali Cloud or Tencent Cloud if default AWS implementation now working for you.

authors: Irvingouj okhanyu

repo: usememos/memos


text:
override specialization for std::copy

Theres a new header an cpp now, for overriding std::copy
xxxxxxxxxxxxxxxx_________________xxxxxxx
                |                |
                l_               f_

Copying takes place in 2 parts:

- from f_ to &a_[N]
- from a_ to l_

Run the binary after an optimized build... once with
this comment in place https://github.com/user706/ca/blob/04c95868554fa26c999859571e46edd8b91a5bb5/array.cpp#L3
(will then use the override - fast)
and once with the comment removed (slow)

Ah I left this stuff here
https://github.com/user1095108/ca/compare/user1095108:master...user706:overrides?expand=1#diff-b37cceb5282c01145f3dd62773f61917c86cb4dcfd20bba31c2d65f66941a871R208
in by mistake.
It's not needed (or maybe it can be made private and used internally...).

Ah I left this stuff here
https://github.com/user1095108/ca/compare/user1095108:master...user706:overrides?expand=1#diff-b37cceb5282c01145f3dd62773f61917c86cb4dcfd20bba31c2d65f66941a871R208
in by mistake.
It's not needed (or maybe it can be made private and used internally...).

I see no reason why your split std::copy() would do any better than a plain std::copy(). ca::array is now a random-access container and should work better with std::copy() than before, especially with std::execution::unseq. If your modifications were be less involved: you have a plethora of begins() and ends(), I'd give you a contrib.hpp header file for your contributions. But I don't think you've tested these ideas. So this is more something for your fork or your private utility header file.
What could maybe be worthwhile is a split memcpy(), since a direct memcpy() is not possible, but std::copy() should work as expected, unsplit. So, test your ideas more and then maybe create a new header file with your contributions.

Sorry about the needless plathora of begin() ends().
They were never used.
The speedup is this: I do not use the iterators, but rip out the underlying plain old pointers and use those.
(So where is then the big speedup? the special iterator++ operations are no longer used)

Is this ok for you?
template <typename T, std::size_t S, enum Method M>
inline void split(array<T, S, M> const& a, auto g)

Is this ok for you?
template <typename T, std::size_t S, enum Method M>
inline void split(array<T, S, M> const& a, auto g)

Nice idea thanks. Only problem is that this assumes an iteration from f_ to l_, which might not always be the case.
(For example... this line could be changed to have std::next(ca.cbegin()) instead)
So I've put something similar (working with iterators) here, which calls this.
You can watch it in action via debug, where you'll see that the outer call, that causes entry into it, is here.
That's kindof working.
Then I've tried to generically handle this stuff in a similar manner, but it's damn hard. I'll leave it for now.
What is hard about it:
Fragmenting copying from one ring to another.... into (not 2) but at most 3 (or is it 4? (***)) copyable regions
Example
Copy from src     from a to c...
  into    dst     into l                    ("l" - last)

src:  ccc---------------------aaaaabbbbbbb
dst:  -------------------------------l----

So that I first copy a, then b, then c to get

dst:  bbbbbbbccc---------------------aaaaa

Above the 3 copyable regions are aaaaa, then bbbbbbb, then ccc
(***) Probably at most 3 regions, but the logic would be such, that it has 4 potential calls to g (with only 3 being entered)
if (l - f < 0) {
  if (l2 - f2 < 0) {
    g(...?);
  }
  g(...?);
} else {
  if (l2 - f2 < 0) {
    g(...?);
  }
  g(...?)
}

I'll write a better split after some zzzz, but imo you should be spending time writing apps, not containers. The next big thing (tm).

Haha, true!

I'm kindof wandering about your trading app... to be honest.
PS: You might enjoy this indian guru-comedian: https://www.youtube.com/watch?v=DDEMr_sIsDg

It's just decimal float + indicators + graphical display of them. I'm hoping an AI might be able to track, say, 100 indicators and achieve some meaningful results. But it is a herculean effort for very little gain + the AI needs to keep an eye on the news. It's news + news + news + ... which make the price move. The AI can minimize the losses at least :) I think, I wasted a lot of effort. If you write a good game it's easier money, I think. Like a cook, you become better at cooking games, until you learn how to cook right.

There, I fixed the split() for you.

Ok, I'm using it here: https://github.com/user1095108/ca/pull/3/files#diff-ccdfb1e8f562283a4861e4c4e388da1f7d8feaf2e44c7ee28a65fc06aac92dacR27
So the thing about split, is that it then invokes g, which has 2 pointers from the source.
    split(beg, end, [&dst](T const * f, T const *l) {
        dst = std::copy(f, l, dst);
    });

As you can see, the destination dst is captured in the lambda.
But if the destination dst is also a ca::array, then I would like to optimize it as well (as explained here, where I wrote about "it's damn hard"...); and for that I need a method of invoking a g with 3 pointers:
https://github.com/user1095108/ca/pull/3/files#diff-ccdfb1e8f562283a4861e4c4e388da1f7d8feaf2e44c7ee28a65fc06aac92dacR38
return ca::iterViaRaw(beg, end, dst, [](auto b, auto e, auto dst) { std::copy(b, e, dst); });

This is now superfast, as you can see by running it... once with this comment in place (fast), and once uncommented (slow):
array.cpp
//#define NO_CA_ARRAY_CONTRIB // uncommenting this line, will slow the copying into la2

It's a direct speedup of this code (from a constructor):
https://github.com/user1095108/ca/blob/82c95294ea22620ab8feb024cb676d3c6d8839e7/array.hpp#L109
I've explained what's going on in comments here
https://github.com/user1095108/ca/pull/3/files#diff-b37cceb5282c01145f3dd62773f61917c86cb4dcfd20bba31c2d65f66941a871R639
One can probably make it more generally usable... with the 3 arguments... by taking away some of the consts here:
https://github.com/user1095108/ca/pull/3/files#diff-b37cceb5282c01145f3dd62773f61917c86cb4dcfd20bba31c2d65f66941a871R614
template <typename T, typename CA, typename T2, typename CA2>
constexpr auto iterViaRaw(const arrayiterator<T const, CA> & src_beg, const arrayiterator<T const, CA> & src_end, const arrayiterator<T2 , CA2> & dst, auto && g)

It would kindof be nice, to use it (or something similar) to also speed up these parts:
https://github.com/user1095108/ca/blob/82c95294ea22620ab8feb024cb676d3c6d8839e7/array.hpp#L186
(One could do a length check, first and then get rid of the 4th argument... and throw it into ca::iterViaRaw... something like that...)
PS: check my code in the diff is much smaller and nicer now, than with what I started with.

There, I fixed the split() for you.

Ok, I'm using it here: https://github.com/user1095108/ca/pull/3/files#diff-ccdfb1e8f562283a4861e4c4e388da1f7d8feaf2e44c7ee28a65fc06aac92dacR27
So the thing about split, is that it then invokes g, which has 2 pointers from the source.
    split(beg, end, [&dst](T const * f, T const *l) {
        dst = std::copy(f, l, dst);
    });

As you can see, the destination dst is captured in the lambda.
But if the destination dst is also a ca::array, then I would like to optimize it as well (as explained here, where I wrote about "it's damn hard"...); and for that I need a method of invoking a g with 3 pointers:
https://github.com/user1095108/ca/pull/3/files#diff-ccdfb1e8f562283a4861e4c4e388da1f7d8feaf2e44c7ee28a65fc06aac92dacR38
return ca::iterViaRaw(beg, end, dst, [](auto b, auto e, auto dst) { std::copy(b, e, dst); });

This is now superfast, as you can see by running it... once with this comment in place (fast), and once uncommented (slow):
array.cpp
//#define NO_CA_ARRAY_CONTRIB // uncommenting this line, will slow the copying into la2

It's a direct speedup of this code (from a constructor):
https://github.com/user1095108/ca/blob/82c95294ea22620ab8feb024cb676d3c6d8839e7/array.hpp#L109
I've explained what's going on in comments here
https://github.com/user1095108/ca/pull/3/files#diff-b37cceb5282c01145f3dd62773f61917c86cb4dcfd20bba31c2d65f66941a871R639
One can probably make it more generally usable... with the 3 arguments... by taking away some of the consts here:
https://github.com/user1095108/ca/pull/3/files#diff-b37cceb5282c01145f3dd62773f61917c86cb4dcfd20bba31c2d65f66941a871R614
template <typename T, typename CA, typename T2, typename CA2>
constexpr auto iterViaRaw(const arrayiterator<T const, CA> & src_beg, const arrayiterator<T const, CA> & src_end, const arrayiterator<T2 , CA2> & dst, auto && g)

It would kindof be nice, to use it (or something similar) to also speed up these parts:
https://github.com/user1095108/ca/blob/82c95294ea22620ab8feb024cb676d3c6d8839e7/array.hpp#L186
(One could do a length check, first and then get rid of the 4th argument... and throw it into ca::iterViaRaw... something like that...)
PS: check my code in the diff is much smaller and nicer now, than with what I started with.

I provided a copy.cpp implementation.

Hmmm...
Yes but,....hmmm. Maybe this kind of stuff must be inside the library, otherwise the user will end up making mistakes.
Even you still have a mistake by the way... as far as I can see... (but I still think you're a great coder!)
https://github.com/user1095108/ca/blob/e0b542ca6cdb7871ddab29aaef13f64b2db51d59/copy.cpp#L20
Seems you were thinking about it, yourself, as can be seen in your commit here:
https://github.com/user1095108/ca/commit/9a0f6cdef9acaa2ea8bf94df66f1aa6472ef66bc
I think this is correct:
auto const sz1(&d.data()[d.array_size()] - l);
/*
           3     9
        xxx------
           |     |
           l     array_size
*/

(Yes, I think it is not possible to have an array with size equal to PTRDIFF_MAX,
so no need for auto const sz1(&d.data()[d.array_size()-1] - l + 1);.
Would it not be nice to have this change??? ->   requires ((CAP > 0) && (CAP < PTRDIFF_MAX)) )

     auto const sz1(&d.data()[d.array_size() - 1] - l);
This is correct. If you make a thought experiment, you always need an extra node which acts as a kind of end-of-container marker. This space is wasted, but wasting it simplifies our code and results in higher performance. So, in this case, my query is, can I waste one node and occupy the rest?

Hu?
No. You can just copy to the end.
Thought experiment: The d circ-array has say... a million more nodes than
s, but it's current size is 3, and copying 1024 elements will cause wrap
around.
user1095108 @.***> schrieb am Do., 16. März 2023, 21:58:

auto const sz1(&d.data()[d.array_size() - 1] - l);
This is correct. If you make a thought experiment, you always need an
extra node which acts as a kind of end-of-container marker. This space is
wasted, but wasting it simplifies our code and results in higher
performance. So, in this case, my query is, can I waste one node and occupy
the rest?
—
Reply to this email directly, view it on GitHub
https://github.com/user1095108/ca/pull/3#issuecomment-1472729901, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLGD7ARHIWW6VZYBRWYBB3W4N5IBANCNFSM6AAAAAAVZNIBYU
.
You are receiving this because you authored the thread.Message ID:
@.***>

EDIT: lol, in this case you're probably right though, you can overwrite everything even the final place.

Yip

I updated the repository accordingly.

And still you don't sacrifice the millionth'ish last element, and just require CAP < PTRDIFF_MAX!!

What exactly is the point of copy.cpp?
I mean... this is not the sort of code users should write.
(Should this not - one day - be part of the lib mechanism?)
(How do you like my std::copy overrides by the way?
I assume you probably don't like them... haha)

ah no, I like the users, but I mostly wrote this for my own use. It's not like this is going to be a part of the Standard.

anyway, I fixed copy.cpp yet again, but something like this should not be part of a library.

Probably, now everything works as intended. The amount of disinformation concerning the ring buffer is frightening and its Wikipedia page sadly one of the best examples of that. Your ideas were very good.

license: Unlicense


text:
Seeking your help

Dear author:
Congratulations on the acceptance of your new work. Thank you very much for sharing your code, but I have some questions about the description in your paper. I hope you can help me solve them:  May I ask how you map 2D slices into 3D images? Do you have the relevant code for this part?
Hope to receive your reply

I think you can refer to this script that I saved 2d slices into 3d .npy files:
from PIL import Image
import numpy as np
import glob
import os

img_dir = "xx/xx/octa-500/OCTA_6M_OCTA_part1" # change by yourself
save_dir = "./octa-500/OCT2OCTA6M_3D/train/B/"  # change by yourself

if not os.path.exists(save_dir):
    os.makedirs(save_dir)

file_list = []
for subdir, dirs, files in os.walk(img_dir):
    for f in files:
        if "bmp" in f:
            file_list.append(os.path.join(subdir, f))
file_list.sort()
print(file_list[0])
print(len(file_list))

# 6M
# img_path = ./OCTA/octa-500/OCTA_6M_OCTA_part3/10201/1.bmp
for k in range(100):
    #pid = file_list[k*304].split('/')[-2] # 3M
    pid = file_list[k*400].split('/')[-2] # 6M
    print(pid)
    # img_3d = np.zeros((304,256,304)) # 3M
    img_3d = np.zeros((400,256,400))  # 6M
    # for i in range (k*304, k*304+304): # 3M
    for i in range (k*400, k*400+400):
        img_path = file_list[i]
        #pid_ = img_path.split('/')[-1].split('_')[0]
        pid_ = img_path.split('/')[-2]
        assert(pid == pid_)
        #idx = int(img_path.split('/')[-1].split('_')[1][:-4])
        idx = int(img_path.split('/')[-1].split('.')[0])
        img = Image.open(img_path)
        img = img.resize((304,256)) # 3M
        img = img.resize((400,256)) # 6M
        arr_img = np.array(img) # 256,400, 6M; 256, 304, 3M
        #img_3d[idx-1,:,:]=arr_img[:,:,0]
        img_3d[idx-1,:,:]=arr_img
        img_3d = (img_3d-img_3d.min())/(img_3d.max()-img_3d.min())
        np.save(save_dir+pid+'.npy', img_3d)

You may need to modify the code based on your directory. Hope this can solve your problem.

authors: curryboys ustlsh

repo: ustlsh/TransPro


text:
E_NO_MORE_CONNECTIONS Case not Handled on the TUNNEL_ACK/CONNECT_RESPONSE

TUNNEL_ACK_RESPONE/CONNECT_RESPONSE with E_NO_MORE_CONNECTIONS:
b'\x06\x10\x02\x06\x00\x08\x00$'
$=0x24=E_NO_MORE_CONNECTIONS
Refere to Line: 311
Need to handle usecase and retry or throw error message

Handling of error messages has been implemented:
https://github.com/usul27/pknx/commit/733b4d9ccf204e61a88cd42ebdb3f1fc975a88f6#diff-48b095d1f622aaa0b2127a6ec992faab

Throwing now correct errormessage.