text:
Add mapToImmutable* functions

Currently mapping a collection to a destination requires hitting returned result with .toImmutable*() which copies over the collection before wrapping in Immutable*. This copying can be mitigated if the underlying mutable collection is not exposed and can go directly to the Immutable* class.
e.g. (current behavior)

myList.mapTo(LinkedHashSet(mylist.size, 1.0f)) { item ->
    item.someTransformation()
}.toImmutableSet()

e.g. (desired behavior)
myList.mapToImmutableSet() { item ->
    item.someTransformation()
}

Need to re-think all of this... There's a ton of other Iterable extension functions that I'd like to also add an immutable function for.

This becomes irrelevant with Kotlin 2.0.0. This library will be deprecated in favor of persistent collections.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
First changes README.md

First test change README.md file

First pull request.

source: gharchive/pull-request

license: MIT


text:
Add codespell workflow

I fix some typos and want to add workflow for codespell check to eliminate typos in the future.
I have added a relatively simple filtering file to exclude certain words.
If you find it meaningful, you can modify the filtering conditions according to your needs.
The code quality is exceptionally high, so sincerely hope my PR can help make this repository more standardized.

This change is

Reviewed 21 of 21 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @miles-six)

Lgtm.Thanks sit. Waiting for merge


text:
shyaml keys show function dump representations

I use the test.yaml from README in the example shyaml keys. The same happens with my custom yaml file (I cannot put that here). I use commit d35421826a0fb8dc8c02183beb65622fa29d883f
installed via python setup.py install
cat test.yaml | shyaml keys
<function dump at 0x7f526cac3938>
<function dump at 0x7f526cac3938>
<function dump at 0x7f526cac3938>
<function dump at 0x7f526cac3938>
<function dump at 0x7f526cac3938>

Oops, my bad. This reminds me that this project really need some sort of automated test system. However this is a major regression, so I'll first patch and release the fix.
Many thanks for your feedback.
Fixed and released shyaml 0.3.3, can you tell me if all is okay for you also ?

authors: groovehunter vaab

license_source: bigquery


text:
RFC: Exposing the generate-schema and generate-output actions from cli-utils as Node.js API's

Summary

We maintain a CLI to help users bootstrap a new project on our platform (e.g., npm create ...), and as part of that process we would like to:

Run through our normal bootstrap process
Generate a GraphQL schema
Output the introspection file for gql.tada to use

While we could achieve this by using child_process.exec to call the gql.tada CLI from within our CLI, we have concerns around:

Type safety: We prefer strongly typed method calls over string-based CLI commands
Performance: Using exec spawns a new shell which adds overhead, but a direct API call can be executed within the same process space as our CLI
Error handling: Parsing stdout and stderr from exec to determine success/failure can become complicated

Proposed Solution

Determine a reasonable API interface for the methods to be exposed (e.g., making cwd an optional parameter on the method)
Abstracting generate-schema and generate-output logic into two individual methods that live outside of the CLI action handler callbacks.
Exporting those methods as named exports from the @gql.tada/cli-utils package (we think importing these methods from @gql.tada/cli-utils makes the most sense so we don't have to install the entire gql.tada package in our CLI)

Requirements
N/A
Relevant Links

More information on the CLI in reference: #76

@JoviDeCroock @matthewvolk: We're currently nearing the “beta/v1.0.0” release of the CLI, and I think we may have to revisit this.
The functions we expose currently may not match what the CLI is doing exactly and put some cosnstraints on us that make it more likely that we'll break them in the future, if we're not careful.
We could instead replace them with @gql.tada/internal however.
This does require us to move some substantial parts of @gql.tada/cli-utils` over, but may help with separating the two a little into a re-usable and non-reusable package.
The other option would be to clearly specify how we want to expose these methods, but I'm writing this note to basically say that in the next major release of the CLI (which is in theory imminent) some APIs may change or break, either way, on cli-utils or not 😅

authors: kitten matthewvolk


text:
🛑 Library is down

In 4ad37d8, Library (https://library.unej.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Library is back up in fc9dfd1 after 2 days, 19 hours, 18 minutes.


text:
🛑 Mobile-SIAKAD is down

In d8d13c6, Mobile-SIAKAD (https://mobile-siakad.unej.ac.id) was down:

HTTP code: 502
Response time: 2516 ms

Resolved: Mobile-SIAKAD is back up in b34f2ce after 13 minutes.


text:
Skip checks for DC if server is not domain controller

HI.
Would it be possible to add a check for the type of server and if not domain controller to skip the checks that only apply to the DCs?
Your tool is great but it yields some false positives if the Server is a Member and not DC. Example below:
[*] Domain role: MemberServer
[$] ID 2.3.5.1, Domain controller: Allow server operators to schedule tasks (DC), Result=, Recommended=0, Severity=Medium

I think the easiest way is to split the CIS lists into member server and DC, similar to the Microsoft Security Baselines. I'll look into it

also related to the above and why i think there should be some flags to turn on or off checks is because there 2 other checks that only apply if servers are running IIS or HyperV and again the results can show the setting as being wrong but is not actually. 2.2.18.2 and 2.2.32.

I think the easiest way is to split the CIS lists into member server and DC, similar to the Microsoft Security Baselines. I'll look into it

Just a suggestion to have fewer files to maintain: add a column "applies to" (like from the MS Security Baseline Windows 10)

That column then could be compared to $MachineInformation.CsDomainRole.
Also since there is e.g. no MSFT auditconfig for the StandaloneWorkstation Type some checks wouldn't fail if you audit them against a non-Domain Member Server

@lordfiSh's suggestion would be a plausible approach. I don't want to introduce too much complexity, besides everyone has the possibility to create their own lists and remove findings or define recommendations according to their own needs. I am still considering a solution

authors: 0x6d69636b alexmateescu lordfiSh


text:
--save-inputs-on-error does nothing for aggreg and block proofs

Issues arising above the transaction-proof level are almost always wires-related issues (e.g. a wire set twice with different values). This will trigger a panic instead of an error on the plonky2 side, preventing zero-bin's current logic to save on disk the necessary inputs for reproducing the issue.

This will automatically go away once we bump plonky2 version, which should happen when continuations get merged into develop, following changes in linked PR.


text:
Don't compile a regex in a loop in trie_diff

https://github.com/0xPolygonZero/zk_evm/blob/177ae2702165e27a531fbcb4d692ac83b548173c/zero/src/bin/trie_diff.rs#L133
https://docs.rs/lazy-regex/latest/lazy_regex/macro.regex_captures.html

cc @atanmarko


text:
🛑 Sakuga is down

In 9bfaac2, Sakuga (https://www.sakugabooru.com/post.json) was down:

HTTP code: 403
Response time: 88 ms

Resolved: Sakuga is back up in 15a5e48.


text:
在Firefox扩展中多次开关会出现多个按钮

且初始不显示按钮

先排除一下是否跟其他插件有冲突


text:
Feedback

I really like this pkg so far.
Some feedback/ideas, as I'm testing it out:

[ ] hadle panic & report it as last_error (rethrow panic or provide onPanic hook?)
[ ] on error, I see "last_error": null in stats
[ ] Add runnable.Must(), which would bring down the whole group on error (e.g. HTTP server)
[ ] improve docs around runnable.Retry() -- it's not very clear what the resetAfter arg is for
[ ] add uptime time.Duration to Status
[ ] run.New() return *struct instead of an interface
[ ] run.Group() return *struct instead of an interface

@marino39 @VojtechVitek
I've added a way how to report those issues to sentry: https://github.com/0xsequence/runnable/pull/3
I've reused some of the code from @marino39 ( cherry-picked ) ... I was working on that and did not see / realize that there was similar PR ready.

authors: LukasJenicek VojtechVitek


text:
Button and Ajax/SSE

I'm currently changing my <button type="submit" for <button type=" button" which allow me to use Ajax and server-sent events to partially refresh the page instead of reloading the whole page.
The problem is that those buttons are no longer disable on invalid fields.
Would it be possible to add support some kind of custom attribute or something similar so I could indicate to the API to consider those Ajax buttons as it would with submit button?
Thank you

You should use type="submit" and call event.preventDefault() inside a submit event handler.

license: mit


text:
Rotors dont work

Rotors dont work, you can stage the rotors, but you cant make it "work". The rotors make sound, but dont spin or even lift and im pretty sure it is broken.

Another thing, you cant turn the rotors off, they already are on and every time you press space it will start to make sound, but as i said before, it wont lift or spin.

the beta version is screwed up because of the recent update. I also think there is a bug when you staceg my custom parts, as you can see here #31


text:
🛑 Regulatory Enrollment Program Page is down

In 64962e1, Regulatory Enrollment Program Page ($REP_COMPANY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Regulatory Enrollment Program Page is back up in 2d11a8e after 11 minutes.


text:
RPM

do you have any instructions for making this an rpm?

Distutils has a "bdist_rpm" command to create RPMs:
https://docs.python.org/2/distutils/builtdist.html#creating-rpm-packages.
I've never tried it, but this may be what you're looking for.
On Mon, Jul 13, 2015 at 1:08 PM, jackiv notifications@github.com wrote:

do you have any instructions for making this an rpm?
—
Reply to this email directly or view it on GitHub
https://github.com/10gen-labs/mongo-connector/issues/282.

thanks. i'll checkout that out.
as a side note, I'm having trouble with running mongo-connector in debug mode.
I'm using -v 3 and its erroring out

-v doesn't take an argument. It's just on/off when given on the command-line.

how do i set logging to debug mode?

Just -v: mongo-connector -m <mongo uri> -t <other uri> -d <docmanager> -v

thanks

Were you able to build the RPM successfully? May I close this issue?

Closing this issue due to inactivity. Feel free to reopen or create a new issue if there's more to discuss.

authors: jackiv llvtt


text:
Colors on POH Zen garden broke

The Zen style for POH superior garden now shows ugly green/grey colors instead of the original bluegreen/cream. Original colors return when turning the 117 HD plugin off.

Thanks for reporting this, but this has actually just been patched. If you restart RuneLite or click on Update in the plugin hub sidebar, it should be fixed :slightly_smiling_face:

Thanks for reporting this, but this has actually just been patched. If you restart RuneLite or click on Update in the plugin hub sidebar, it should be fixed 🙂

yayyy thanks! <3

authors: aHooder corinnebunch


text:
Strange inputs on Firefox56.0.2 (multiple Ubuntu & Mac hosts)

Not sure when I started seeing, but the following happen on OSX and multiple Ubuntu on FF56:

On Google Calendar, an event being drag&dragged moves to unintended time slot.
On GMail, when writing email hitting certain keys switches the browser's tab. Can't determine which keys at which occasion yet.
On Slack.com, certain keys often don't type in. Tab switch also often (only often, not always) occurs same as GMail.

Testing to write an email from GMail to reply to this thread.
I noticed that an Add-on called Emacs-Keybind was enabled, which I remember
I installed when I briefly tried out FF60 but didn't find useful, along
with Firemacs which I know I use for FF56. After disabling it the issue
seems to have gone away. Closing for now.


text:
cameraIP decoder

I want to use the following pattern for camera IP. The pattern has 2 camera IP. I use ffmpeg to put data stream into tcp gate as below: ffmpeg  -i " rtsp://10.10.14.1:554/user=&password=&channel=1&stream=0.sdp?" -f h264 -vcodec libx264  -profile:v baseline -level 3.0 tcp://10.10.10.159:4434?listen. When I tried to put it in, the result returned as "Passed P frame to decoder". Images still displayed but too blurry to see. Could you help me? Thank you

Can you provide me a sample file ?


text:
Frontend

merging frontend to master

Final frontend merge


text:
iSort going crazy

Got all sorts of artifacts from the line-endings issue.
Needs to convert back from CR to CRLF.

Seems to be fixed in timothycrosley/isort#671


text:
🛑 Ollama is down

In 4ad371a, Ollama (https://ollama.joshuastock.net) was down:

HTTP code: 502
Response time: 228 ms

Resolved: Ollama is back up in 857397d after 6 minutes.


text:
item_param_dict and last_item_param_dict

Hi Junchen Feng,
I'm not sure if my comment is a real problem. I just want to contribute your code.
In the file: solver/model.py, in the lines: 256 and 269, you 'change' the values of the variables 'last_item_param_dict' and 'item_param_dict'.
https://github.com/17zuoye/pyirt/blob/c8f8c8e0c722b223e5900d932ac7fdba5934b5d8/pyirt/solver/model.py#L256
https://github.com/17zuoye/pyirt/blob/c8f8c8e0c722b223e5900d932ac7fdba5934b5d8/pyirt/solver/model.py#L269
However, the way the code is written, python will keep the same memory region being accessed by these two variables.
If you run
id(last_item_param_dict) == id(item_param_dict)
..the answer will be: True.
I am in doubt whether this is a bug, or if you would like to keep these two variables pointing to the same structure in memory?
I did some testing and found that if I make an explicit copy of the dictionaries the result will be (a little) different.
The lines below show my test:
line 256: self.item_param_dict = self.last_item_param_dict.copy()
line 269: self.last_item_param_dict = self.item_param_dict.copy()
Thank you.

I believe you are right! A deep copy is called for here. That is probably the reason I never stopped out by the epsilon! Thanks a ton

authors: junchenfeng marcelo-trier


text:
Add cf-cli to GEARS

Requirements
In order to let GSA users install the CF CLI properly, the CF CLI must be added to GEARS.
Acceptance Criteria
GIVEN a GSA employee wants to install the CF CLI on their machine,
WHEN they look in the GEARS list of approved software,
THEN the CF CLI appears.

Technology Request Form Submitted. This is your Request Tracker (RT) ticket number: 2019-92785
https://gsa.my.salesforce.com/a1Zt0000000AxOMEA0

Security Review is approved. 508 Review is approved. Legal and TSC Reviews are still outstanding.

TSC = "it's just the final step of the software request process. It gets reviewed by the CTO / Leadership team for approval" - Brian Kim on CTO's team.

Update (but not really): Hi Bryant! Apologies for the delay haha there's just been some internal changes to our process so there's just been a delay on all ticket reviews. But you should hear back soon (latest by monday) about the final status (9/11)

Ready to close out- but confirm with @Bryanthales that all is set with this issue.

@karareinsel Yes, lets close it! It is now in GEAR so any GSA user can get it installed on their machine. Based on the challenges with maintaining the most recent version in ServiceNow, I am cancelling the ticket to get it added to the service catalog -- so users will just have to make a generic request instead of selecting it from a dropdown.

Reopening because the cf cli does not appear in the list of software which can be installed in service now, so this is not done yet.

authors: Bryanthales karareinsel mxplusb


text:
Draft/Send Shipping News [7/19]

Description
Definition of done

[ ]
[ ]
[ ]

Attachments
title

Drafted late Friday, giving the team the opportunity to give feedback for sending out mid-day

authors: Jacklynn UchMok


text:
style updates on comment index and preview

Style buttons and spacing on Comment Preview
Comment Index: Update "x" to "remove" for better readability until icons come in
Hide Review button if there are no comments in the Index

I added a few very minor comments on the diffs, but this LGTM!

authors: jmcarp xtine


text:
MathML データの表現に JSX.Element を使わない

https://github.com/1995hnagamin/mathml-lifoinput/blob/21794bef04859ef9f27e6e6db5dd1c2a4f81254e/src/Machine.tsx#L3-L6

#37


text:
The lesser known ms paint feature

When you hold space in ms paint, you can use the arrow keys to draw similarly to an etch-a-sketch.

What version of MS Paint supports this? And what tools?
I can't seem to demonstrate this feature in this Windows 98 VM.


text:
Docker Build Fails

The docker build for the latest release fails.
Steps taken:

git clone https://github.com/1modm/petereport.git
docker-compose up --build

Error Message:
Step 17/29 : RUN wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-${TARGETARCH}.deb
 ---> Running in df97ee1dbfb0
--2022-05-30 08:31:49--  https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-.deb
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-05-30 08:31:49 ERROR 404: Not Found.

The command '/bin/sh -c wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-${TARGETARCH}.deb' returned a non-zero code: 8
ERROR: Service 'petereport' failed to build : Build failed

@luminescence69 you can try to specify the architecture:
docker-compose build --build-arg TARGETARCH=amd64
docker-compose up

I will update the documentation. Thanks


text:
Themes from Bootswatch

Hello, can you break down the steps involved in incorporating a theme from bootswatch into our spree app, after we installed this frontend extension? I would much appreciate it.

If your trying to use a custom bootstrap.css. This is what I did.
Placed the custom css into /app/assets/stylesheets/custom-bootstrap.css
Open /vendor/assets/stylesheets/spree/frontend/all.css
Change it to this!
/*

This is a manifest file that includes stylesheets for spree_frontend
Spree_bootstrap_frontend overrides all spree’s default css and resets here in favour of bootstrap
*= require spree/frontend/bootstrap_frontend
*= require custom-bootstrap
*= require_self
*= require_tree .
*/

You'll have to do some edits to the bootstrap_frontend.css.scss as the background image is there still. A start for anyone who looks at this!

authors: BeDepraved allenhai


text:
changed columns and hover in the websites index page

Thank you for your contribution 🤩🤩

Please mention the following in order to get PR merged  🙌🏻🙌🏻

Kind of change this PR introduce :
Issue it resolves :
Screenshots & GitHub Page Link :

https://ssachis.github.io/Blood-Buddy/

for UI improvement

Looks sooo bad.

Dont be rude, you could have simply closed the pr or say you didn't like the changes.

Dont be rude, you could have simply closed the pr or say you didn't like the changes.

I didn't mean it though, I was having a really bad day. I am so sorry, I  hope you'll understand @ssachis  :)


text:
schema.add_include having issue

Maybe I am not using it correctly, New to yamale.
I am trying to add extra validation to the schema, but it doesn't seem to be working.
schema = yamale.make_schema('./schema.yaml'))
schema.add_include({  'last_name': 'str(Required=True)' })

It doesn't seem to add this to schema validation.
My use case is, to add additional rules to the schema on the fly before validation.

Hi, thanks for your interest in Yamale.
The add_include API will add another document to the schema. For example, let's say I had this schema:
person: include('human')
---
human:
    name: str()
    age: int()
    friend: include('human', required=False)

I could write that inline in Python like this:
schema = yamale.make_schema(content="""
person: include('human')
""")

schema.add_include(
    {
        "human": {
            "name": "str()",
            "age": "int()",
            "friend": "include('human', required=False)",
        }
     }
)

As of today, there isn't a way to dynamically add to the schema once the schema object is created. You would need to parse the yaml yourself, add any additions you need, and then call make_schema on the new content.
I hope that makes it a little more clear. Please let us know if you have any other questions.

Thanks, I guess we can close this issue :-)

authors: daljeet-singh mildebrandt


text:
New psic_classification

Closes #199
Thanks @daisy-pachecho

Thank you both @maurolepore and @jdhoffa for this! I just have one follow-up question: What would be the best way for me to know whether this has been pushed to CRAN or not? Should I just give it a try on my own pc by reinstalling the package, or is there another way to make sure that for the following session with our partner they can already have the possibility to use the corresponding bridge? Thanks again! :)

For 2DII people like you, the easiest way might be to ask us on slack. For external people it may be to watch the News section of the package website.
Here it is.

And the answer if: No, it's still not on CRAN but I can make it happen as fast as in a few hours. Do you need it soon? @jdhoffa, is there anything else you would like to add to the next release?

Thanks for the quick answer @maurolepore :) next time I'll make it through Slack. Just to follow the conversation here, it would be great if we could have it on CRAN for the next session with our partner, which is tomorrow :) but let me know in any case and we could tell them it would be ready for next session. Thanks again :)

Great! I'll start now. BTW, asking here is great too -- maybe even better because it is tightly connected with the "feature" you are interested in seeing published.
:smile:

FYI, this is my WIP: https://github.com/2DegreesInvesting/r2dii.data/issues/208

authors: daisy-pacheco maurolepore


text:
When using numeric value as option value, selectize resets them

Consider array
array(2) {  [1]=> string(10) "mh18aj6209"  [2]=> string(4) "MH45"  }
Selectize actually presents this as follows
array(2) {  [0]=> string(10) "mh18aj6209"  [1]=> string(4) "MH45"  }
It is a big problem for me, as i primarily work keys as db primary key records.
Please help to rectify this error. The code i used:
    <?= $form->field($model, 'vehicle_id')->widget(Selectize::className(),
 [
                'options'=>[
                  'placeholder'=>'Select Vehicle for trip'
                ],
                'items'=>array_merge([''=>''], app\models\Vehicle::getvehiclefortrip()),
                'clientOptions' => [
                ],
            ]) ?>

I tried using regular selectize js on codepen and it works there. Strange issue.

@sachya we have no issues at all with that.  what is the getVehicleforTrip function contents?

Hi tony,
the big problem is with function array_merge, it starts key value with 1. So
array(2) { [1]=> string(10) "mh18aj6209" [2]=> string(4) "MH45" }
becomes
array(2) { [0]=> string(10) "mh18aj6209" [1]=> string(4) "MH45" }
if we use alphabet or non-numericals it works just fine, but fumble over numeric keys.
Keep this area tagged as i got the array merge solution from one of your sorted issues.
Meanwhile, enjoying selectize,
Thank You

We cannot fight against PHP's defaults behavior. Thanks for the hint.

authors: sachya tonydspaniard


text:
test on testing set

Hi, when I run the test.py it just evaluate the .pth file on the evaluation images that derived from training set. How can I test the checkpoint on main testing set (7518 .png images)?

Hello.
Thank you for your interest in the code.
Unfortunately, the current implementation version does not yet support inference from the test set. 😢 The complete version needs to be implemented quickly, but it's been delayed because I'm busy with work right now.
I will check if it can be modified in the implementation and reply to you again.
Thank you.

Hello!
Thank you for your response.
I am currently working on your code for my Master's thesis, and I needed this part urgently for testing. I have successfully generated a text file for the validation set but encountered an error while testing on the test set. I will upload the completed work as a branch of your GitHub project so that others can also benefit from it.
Thank you.

Thank you :)
I hope your work will be successfully completed.
I'll be rooting for you! 🤗

@Ali-Bakhtiarian  how do you successfully generate text file for the validation set. Where do you modify  the code ?

你好。 感谢您对代码的兴趣。
不幸的是，当前的实现版本尚不支持从测试集进行推理。 😢 完整版本需要尽快实现，但是因为我现在工作比较忙所以推迟了。
我会在实施中检查是否可以修改并再次回复您。 谢谢。

hello？

authors: 2gunsu Ali-Bakhtiarian moyanouo zzylovexx


text:
New init /veda-docs image hash

Goal
The new image script now checks out /veda-docs as is instead of using the gitpuller arg repo_dir to try and rename to something more meaning such as /veda-docs-examples. Using a new repo_dir arg doesn't jive well with generated nbgitpuller links (even when using targetpath) b/c they are tightly coupled with urlpath and can't resolve properly.
Even if I missed something above in my investigation I'm fine with this change b/c I don't want to modify this anymore 😏
Let's push to staging and let me test and then I can tell you when I want to promote to production please and thankyou 👍

Just deployed!

Thanks @yuvipanda . Looking groovy to moi. Let's promote to production and call it doneso when you get a chance please

authors: ranchodeluxe yuvipanda


text:
Bugfix to make the icon appear in the shortcut button

Without this change, the svg image is ignored and will not show up in the jupyterlab launcher page.

This seems to have been completed already via https://github.com/2i2c-org/jupyter-launcher-shortcuts/pull/23, going for a close

authors: consideRatio shberlin


text:
Update scalafmt-core to 3.4.3

Updates org.scalameta:scalafmt-core from 3.3.3 to 3.4.3.
GitHub Release Notes - 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 = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #93.


text:
Install

Hi,
I just cloned al the necessary and it works really nice.
My problem it's I don't know how to make the installation zip, do you guys implemented something to do it automatically?
Thank you

Hi @MariaGanan
We usually do XCopy deployment - just copy the folder directly, since any theme that's adjusted doesn't usually require large distribution any more.
To create the template, we're currently just using the built-in export-package in DNN feature, but we know that's not ideal, as the user must manually decide which parts to preserve.
We plan to enhance this some day.

Ok!
Thank you!

authors: MariaGanan iJungleboy


text:
Update README-start from PR#911

Hi, I'm making updates for Open Collective. Either you or a supporter signed this repo up for Open Collective. This pull request adds backers and sponsors from your Open Collective https://opencollective.com/30-seconds-of-code-653❤
It adds two badges at the top to show the latest number of backers and sponsors. It also adds placeholders so that the avatar/logo of new backers/sponsors can automatically be shown without having to update your README.md. more info. See how it looks on this repo.
You can also add a postinstall script to let people know after npm|yarn install that you are welcoming donations (optional). More info
You can also add a "Donate" button to your website and automatically show your backers and sponsors there with our widgets. Have a look here: https://opencollective.com/widgets
P.S: As with any pull request, feel free to comment or suggest changes. The only thing "required" are the placeholders on the README because we believe it's important to acknowledge the people in your community that are contributing (financially or with code!).
Thank you for your great contribution to the open source community. You are awesome! 🙌
And welcome to the open collective community! 😊
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other open source sustainers!

Description

PR Type

[ ] Snippets, Tests & Tags (new snippets, updated snippets, re-tagging of snippets, added/updated tests)
[ ] Scripts & Website & Meta (anything related to files in the scripts folder, how the repository's automated procedures work and the website)
[ ] Glossary & Secondary Features (anything related to the glossary, such as new or updated terms or other secondary features)
[x] General, Typos, Misc. & Meta (everything else, typos, general stuff and meta files in the repository - e.g. the issue template)

Guidelines

[x] I have read the guidelines in the CONTRIBUTING document.

Yep I’m at the airport

Yeah over the weekend.

I solve the puzzle they sent me:

authors: alexadro monkeywithacupcake


text:
Any updates on SD3/Flux nodes progress?

With renewed interest in targeting specific layers for LoRA training, having this node working with Flux would be great. Since the other related repos seem to be quiet, I was wondering if you'd made any progress?

Yes I've been working on it here and there, it's not fully working yet. Mostly working on cogvideox at the moment  Thanks for the link!


text:
write two sheets concurrency got WARNING: DATA RACE | 并行写入两个sheet被警告“DATA RACE”

Description

I'll fill this issue with English and add test demo later. （我之后会补充测试用例和英文版本issue）
我从一个excel模板开始，对不同sheet进行的处理通过goroutine并行了
在用-race检查时被警告WARNING: DATA RACE
我想知道这个是可以忽视的警告，还是会真实影响结果准确性？
是否有简单高效的方式处理
（从我目前的程序使用上，不是特别需要并行，可以简单改成串行，不过对于excelize本身，可能弄清楚这些问题有一定益处）
Steps to reproduce the issue:
1.excelize.OpenFile(*template)读入包含两个sheet的模板
2.两sheet分别写入一定量数据
3.上面的步骤改成go func(){}()并行
4.添加-race参数测试运行
Describe the results you received:
==================
WARNING: DATA RACE
...
==================
Found * data race(s)

Describe the results you expected:
no RACE warning
Output of go version:
go version go1.14.4 linux/amd64

Excelize version or commit ID:
v2.3.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Linux

Hi @liserjrqlxue, thanks for your feedback. Could you provide code or more details to reproduce this issue?

After modify my code for other propose, I can't reproduce this issue.
I wrote a simple test code, but also can't reproduce this issue.
I'll close this issue till I can found something to share.

authors: liserjrqlxue xuri


text:
DllExportAppDomainIsolatedTask does not support ProcEnv

Steps to reproduce:

Install UnmanagedExports 1.2.7 as I found it before DLLExport when searching.
Install DllExport by DllExport.bat
Remove UnmanagedExports in the references.
Build the project.

DllExport -version: 1.7.1
Used Visual Studio 2019

Information from Data tab or log data:
Installed: True
Project type: Cs
PkgVer: 1.7.1
Storage: ProjectFiles
Compiler.Platform: x64
Compiler.ordinalsBase: 1
Compiler.rSysObj: False
Compiler.ourILAsm: False
Compiler.customILAsm:
Compiler.genExpLib: False
Compiler.peCheck: PeIl
Compiler.patches: None
PreProc.Type: None
PreProc.Cmd:
PostProc.Type: None
PostProc.ProcEnv: $(SolutionPath);$(MSBuildThisFileFullPath)
PostProc.Cmd:
SignAssembly:
Identifier: 534F1B0B-BBB9-43A8-AF54-4A0B1EC52000
Instance: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64\MSBuild.exe
Project path: D:\projects\zjgport-video\doc\OpenAPI安全认证库（C#）-V1.0.1_20191212100705\OpenAPI_cdel\OpenAPI_cdel.csproj
Action: Configure
PlatformTarget: x64
TargetFramework:
TargetFrameworks:
TargetFrameworkVersion: v4.7.2
RootNamespace: OpenAPI_cdel
AssemblyName: OpenAPI_cdel
MgrArgs:
MetaLib: tools\raw\lib\net20\DllExport.dll
MetaCor: tools\raw\lib\netstd\DllExport.dll
Proxy:
StoragePath: .net.dllexport.targets
ddNS: OpenAPI_cdel
ddNS max buffer: 500
UseCecil: True
intermediateFiles: False
timeout: 30000
RootPath: D:\projects\zjgport-video\doc\OpenAPI安全认证库（C#）-V1.0.1_20191212100705\
PkgPath: D:\projects\zjgport-video\doc\OpenAPI安全认证库（C#）-V1.0.1_20191212100705\packages\\DllExport.1.7.1\
SlnFile:
SlnDir: D:\projects\zjgport-video\doc\OpenAPI安全认证库（C#）-V1.0.1_20191212100705\.\
DxpTarget: tools\net.r_eg.DllExport.targets
MsgGuiLevel: -1
LockIfError:

. . . {attachment if log}
Demo Project files / Samples / etc.:
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
//using RGiesecke.DllExport;

namespace OpenAPI_cdel
{
    public class Class1
    {
        [DllExport]
        public static int TestExport(int left, int right)
        {
            return left + right;
        }
    }
}

@pansila I think you already answered yourself.

1. Install UnmanagedExports 1.2.7 as I found it before DLLExport when searching.
3. Remove UnmanagedExports in the references.

You need to fully remove UnmanagedExports package, then try again. Please confirm it.

@3F Thanks, after deleting the directory of UnmanagedExports in the packages of my project, the issue is gone.


text:
Fabric won't start by this launcher

Uncaught exception in thread "main"
net.fabricmc.loader.impl.util.ExceptionUtil$WrappedException: java.io.IOException: error reading C:\Users\mikus\AppData\Roaming.minecraft\versions\fabric-loader-0.14.8-1.19\fabric-loader-0.14.8-1.19.jar
at net.fabricmc.loader.impl.util.ExceptionUtil.wrap(ExceptionUtil.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.locateGame(MinecraftGameProvider.java:232)
at net.fabricmc.loader.impl.launch.knot.Knot.createGameProvider(Knot.java:177)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:130)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.io.IOException: error reading C:\Users\mikus\AppData\Roaming.minecraft\versions\fabric-loader-0.14.8-1.19\fabric-loader-0.14.8-1.19.jar
at net.fabricmc.loader.impl.game.LibClassifier.process(LibClassifier.java:214)
at net.fabricmc.loader.impl.game.LibClassifier.process(LibClassifier.java:161)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.locateGame(MinecraftGameProvider.java:187)
... 4 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1598)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1382)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1315)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709)
at java.base/java.util.zip.ZipFile.(ZipFile.java:243)
at java.base/java.util.zip.ZipFile.(ZipFile.java:172)
at java.base/java.util.zip.ZipFile.(ZipFile.java:186)
at net.fabricmc.loader.impl.game.LibClassifier.process(LibClassifier.java:201)
... 6 more
fabric-loader-0.14.8-1.19 and fabric-loader-0.14.8-1.18.2 and fabric-loader-0.14.7-1.19
Maybe There are some conflict with fabric update?

I feel like this is an issue with the fabric installer. It creates an empty jar at C:\Users\...\AppData\Roaming.minecraft\versions\fabric-loader-0.14.8-1.19\fabric-loader-0.14.8-1.19.jar which can't be read. Probably should be reported to them.
I was able to work around this by deleting that jar and launching the game with HeadlessMc. The proper jar will then be downloaded on launch. If you use the HMC-Specifics redownload them. I just updated the fabric one, it didn't work on 1.19.

Please check out this version, it should fix the Fabric issue.


text:
problems with tex_to_dvi in tex_mobject.py

Hi all,
run extract_scene.py -p curves.py in python jupyter notebook. I got always following error which I don't manage to solve.
Traceback (most recent call last):    File "C:\Users\Koen\manim\extract_scene.py", line 200, in main     handle_scene(SceneClass(**scene_kwargs), **config)  File "C:\Users\Koen\manim\scene\scene.py", line 48, in __init__    self.construct(*self.construct_args)  File ".\curves.py", line 126, in construct    anim = SlideWordDownCycloid("Brachistochrone")  File ".\curves.py", line 67, in __init__    word_mob = TextMobject(list(word))  File "C:\Users\Koen\manim\mobject\tex_mobject.py", line 54, in __init__    self.template_tex_file  File "C:\Users\Koen\manim\mobject\tex_mobject.py", line 255, in tex_to_svg_file    dvi_file = tex_to_dvi(tex_file)  File "C:\Users\Koen\manim\mobject\tex_mobject.py", line 297, in tex_to_dvi    "See log output above or the log file: %s" % log_file) Exception: Latex error converting to dvi. See log output above or the log file:  C:\Users\Koen\manim\files\Tex\-91855429.log
Does anyone know how to deal with this error?
many thanks from a bit frustrated person

I had to change the commands = [...] in mobject/tex_mobject.py
def tex_to_dvi(tex_file):
result = tex_file.replace(".tex", ".dvi")
if not os.path.exists(result):
commands = [
"latex",
"-interaction=batchmode",
"-halt-on-error",
"-output-directory=" + TEX_DIR,
tex_file,
]
exit_code = os.system(" ".join(commands))
if exit_code != 0:
latex_output = ''
log_file = tex_file.replace(".tex", ".log")
if os.path.exists(log_file):
with open(log_file, 'r') as f:
latex_output = f.read()
if latex_output:
sys.stderr.write(latex_output)
raise Exception(
"Latex error converting to dvi. "
"See log output above or the log file: %s" % log_file)
return result
def dvi_to_svg(dvi_file, regen_if_exists = False):
"""
Converts a dvi, which potentially has multiple slides, into a
directory full of enumerated pngs corresponding with these slides.
Returns a list of PIL Image objects for these images sorted as they
where in the dvi
"""
result = dvi_file.replace(".dvi", ".svg")
if not os.path.exists(result):
commands = [
"dvisvgm",
dvi_file,
"-n",
"-v",
"0",
"-o",
result,
]
os.system(" ".join(commands))
return result

@nickredsox still not working for me

@bhamshu I was running windows 10. I was able to figure out what to edit the commands = [...] variable to by first running what was in the commands variable itself in the command prompt. I did this to make sure that dvisvgm was working properly on my system. I then looked at the contents of commands and modified it to look like what had worked in my command prompt.

It worked! Thanks, man. It was not working because I had renamed "manim-master" to "3b1b animation" and because of the space, it was looking  for "\3b1b" and ignored the "animation" part of the name. Removing the space from folder-name and copy-pasting your edits did the trick

I don't have tex_mobject.py

@bhamshu What is manim-master? Is it the branch you are talking about? still not working for me.

I had to change the commands = [...] in mobject/tex_mobject.py
def tex_to_dvi(tex_file):
    result = tex_file.replace(".tex", ".dvi")
    if not os.path.exists(result):
        commands = [
            "latex",
            "-interaction=batchmode",
            "-halt-on-error",
            "-output-directory=" + TEX_DIR,
            tex_file,
        ]
        exit_code = os.system(" ".join(commands))
        if exit_code != 0:
            latex_output = ''
            log_file = tex_file.replace(".tex", ".log")
            if os.path.exists(log_file):
                with open(log_file, 'r') as f:
                    latex_output = f.read()
            if latex_output:
                sys.stderr.write(latex_output)
            raise Exception(
                "Latex error converting to dvi. "
                "See log output above or the log file: %s" % log_file)
    return result

def dvi_to_svg(dvi_file, regen_if_exists = False):
    """
    Converts a dvi, which potentially has multiple slides, into a
    directory full of enumerated pngs corresponding with these slides.
    Returns a list of PIL Image objects for these images sorted as they
    where in the dvi
    """
    result = dvi_file.replace(".dvi", ".svg")
    if not os.path.exists(result):
        commands = [
            "dvisvgm",
            dvi_file,
            "-n",
            "-v",
            "0",
            "-o",
            result,
        ]
        os.system(" ".join(commands))
    return result

Hi!
I tried this but I got NameError: name 'sys' is not defined  , what happened? :S

Two cents - ran into this today, I recommend looking at the log file as this indicates an error or missing font/package in LaTeX, not a problem with manim. Look for an error like this in the log file:
! LaTeX Error: File `dsfont.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.

In my case I had two missing tex packages to install: physics and doublestroke. I followed the install instructions here.

Two cents - ran into this today, I recommend looking at the log file as this indicates an error or missing font/package in LaTeX, not a problem with manim. Look for an error like this in the log file:
! LaTeX Error: File `dsfont.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.

In my case I had two missing tex packages to install: physics and doublestroke. I followed the install instructions here.

Thanks for your response. I've already fixed this by installing the recent version of miktex  and then by trying to compile it with my Tex editor (Texniccenter in my case). Miktex automatically suggest the installation of any missed packages once we compile the file in Texniccenter.

I had to change the commands = [...] in mobject/tex_mobject.py
def tex_to_dvi(tex_file):
    result = tex_file.replace(".tex", ".dvi")
    if not os.path.exists(result):
        commands = [
            "latex",
            "-interaction=batchmode",
            "-halt-on-error",
            "-output-directory=" + TEX_DIR,
            tex_file,
        ]
        exit_code = os.system(" ".join(commands))
        if exit_code != 0:
            latex_output = ''
            log_file = tex_file.replace(".tex", ".log")
            if os.path.exists(log_file):
                with open(log_file, 'r') as f:
                    latex_output = f.read()
            if latex_output:
                sys.stderr.write(latex_output)
            raise Exception(
                "Latex error converting to dvi. "
                "See log output above or the log file: %s" % log_file)
    return result

def dvi_to_svg(dvi_file, regen_if_exists = False):
    """
    Converts a dvi, which potentially has multiple slides, into a
    directory full of enumerated pngs corresponding with these slides.
    Returns a list of PIL Image objects for these images sorted as they
    where in the dvi
    """
    result = dvi_file.replace(".dvi", ".svg")
    if not os.path.exists(result):
        commands = [
            "dvisvgm",
            dvi_file,
            "-n",
            "-v",
            "0",
            "-o",
            result,
        ]
        os.system(" ".join(commands))
    return result

Hi!
I tried this but I got  sys.stderr.write(latex_output) NameError: name 'sys' is not defined , what happened? :S

I believe that including import sys at the top should fix it

I had to change the commands = [...] in mobject/tex_mobject.py
def tex_to_dvi(tex_file):
    result = tex_file.replace(".tex", ".dvi")
    if not os.path.exists(result):
        commands = [
            "latex",
            "-interaction=batchmode",
            "-halt-on-error",
            "-output-directory=" + TEX_DIR,
            tex_file,
        ]
        exit_code = os.system(" ".join(commands))
        if exit_code != 0:
            latex_output = ''
            log_file = tex_file.replace(".tex", ".log")
            if os.path.exists(log_file):
                with open(log_file, 'r') as f:
                    latex_output = f.read()
            if latex_output:
                sys.stderr.write(latex_output)
            raise Exception(
                "Latex error converting to dvi. "
                "See log output above or the log file: %s" % log_file)
    return result

def dvi_to_svg(dvi_file, regen_if_exists = False):
    """
    Converts a dvi, which potentially has multiple slides, into a
    directory full of enumerated pngs corresponding with these slides.
    Returns a list of PIL Image objects for these images sorted as they
    where in the dvi
    """
    result = dvi_file.replace(".dvi", ".svg")
    if not os.path.exists(result):
        commands = [
            "dvisvgm",
            dvi_file,
            "-n",
            "-v",
            "0",
            "-o",
            result,
        ]
        os.system(" ".join(commands))
    return result

Hi!
I tried this but I got  sys.stderr.write(latex_output) NameError: name 'sys' is not defined , what happened? :S

I believe that including import sys at the top should fix it

Thanks for your response. But i have already fixed my issue by installing a newer version of Miktex on my computer.

Closing, as this issue is old and seems to be resolved.

I'm having the same problem and I'm fairly new to programming so when nickredsox states "I had to change the commands = [...] in mobject/tex_mobject.py" I''m not sure what he means. To be clear, Idk how what changing the commands = [...] means nor how to do it.
I would really appreciate any help.

I did as the beginning and it didn't work. this is my first error:
C:\Manim\manim-master>python -m manim Example_Scenes.py WriteStuff -pl
Media will be written to ./media. You can change this behavior with the --media_dir flag.
'latex' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
Traceback (most recent call last):
File "C:\Manim\manim-master\manimlib\extract_scene.py", line 155, in main
scene = SceneClass(**scene_kwargs)
File "C:\Manim\manim-master\manimlib\scene\scene.py", line 53, in init
self.construct()
File "Example_Scenes.py", line 102, in construct
tex_to_color_map={"text": YELLOW}
File "C:\Manim\manim-master\manimlib\mobject\svg\tex_mobject.py", line 144, in init
self, self.arg_separator.join(tex_strings), **kwargs
File "C:\Manim\manim-master\manimlib\mobject\svg\tex_mobject.py", line 44, in init
self.template_tex_file_body
File "C:\Manim\manim-master\manimlib\utils\tex_file_writing.py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "C:\Manim\manim-master\manimlib\utils\tex_file_writing.py", line 94, in tex_to_dvi
"See log output above or the log file: %s" % log_file)
Exception: Latex error converting to dvi. See log output above or the log file: ./media\Tex\34b95eca9f7c5b73.log
/* The first lines says that "latex" is not recognized by the system. i tryed to substitute the code from tex_file_writing by the one in the begining of this issue and did not work. I couldn't find any solution.*/


text:
Add plot_depth to introduce layer concept

I want to draw some graphs beneath the graphs which are already previously created. So I add a plot_depth property to the mobject, higher value means higher layers. So I can create a line under two points like:
p1 = Dot(LEFT)
p2 = Dot(RIGHT)
p1.plot_depth = 1
p2.plot_depth = 1
line = Line(LEFT, RIGHT)
self.play(ShowCreation(p1), ShowCreation(p2)
self.play(ShowCreation(line))

Here is a bug: https://github.com/ManimCommunity/manim/issues/327

Outdated.

authors: Tony031218 TonyCrane pdcxs


text:
feat: add use-form-smart

增加一个form hook
主要实现如下功能

简化原有的form调用方式
数据的初始化逻辑调整为 当value为空时不设置表单初始值. 便于从服务器拉取的值在initialValues初始化时未设置需要手动设置
增加数据双向同步,每次value变化时 自动设置表单

@yuegongzi 明天review


text:
Update issue templates

ФГВ3 4ф веф ВЕ веф ВЕ веФ веф Ф

https://3opk23.github.io/github-slideshow/#/


text:
Cargo.lock: updates including proxy-wasm 20210520

Minor updates to locked dependencies, including a new proxy-wasm fork update.

Updated already.


text:
language translation

This PR is only for the translation of the Simplified Chinese and Traditional Chinese parts related to job, metrics, and cookies.
If there are any other questions, please let me know.

Hey @imtokenweb3team001 thanks for your contribution!


text:
Change groupId back to org.csveed, replace all github links to 42bv

Since we're now on 42BV organisation, replaced all links from
robert-bor to 42BV.
Changed groupId back to org.csveed since we are once again able to
release from our own groupId.

Looks good!
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Arjan Vlek @.>
Sent: Wednesday, October 20, 2021 5:33:25 AM
To: 42BV/CSVeed @.>
Cc: Jeremy Landis @.>; Review requested @.>
Subject: Re: [42BV/CSVeed] Change groupId back to org.csveed, replace all github links to 42bv (PR #125)
@arjanvlekhttps://github.com/arjanvlek requested your review on: #125https://github.com/42BV/CSVeed/pull/125 Change groupId back to org.csveed, replace all github links to 42bv.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHubhttps://github.com/42BV/CSVeed/pull/125#event-5490575737, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHODI44ZC3K4DQU64PQ5GDUH2EGLANCNFSM5GLEQFUQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

authors: arjanvlek hazendaz


text:
data race - discord

[2019-04-26T23:14:42Z] ERROR matrix:       Content[body] is not a string: <nil>
map[string]interface {}{}
==================
WARNING: DATA RACE
Write at 0x00c0011bcd20 by goroutine 77:
  github.com/bwmarrin/discordgo.(*State).OnInterface()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/state.go:929 +0x1360
  github.com/bwmarrin/discordgo.(*Session).onInterface()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/event.go:236 +0x1be
  github.com/bwmarrin/discordgo.(*Session).handleEvent()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/event.go:194 +0x96
  github.com/bwmarrin/discordgo.(*Session).onEvent()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:562 +0x18ce
  github.com/bwmarrin/discordgo.(*Session).listen()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:251 +0xaf

Previous read at 0x00c0011bcd20 by goroutine 79:
  github.com/42wim/matterbridge/bridge/discord.(*Bdiscord).memberAdd()
      /home/matterbridge/.go/src/github.com/42wim/matterbridge/bridge/discord/handlers.go:135 +0xac
  github.com/42wim/matterbridge/bridge/discord.(*Bdiscord).memberAdd-fm()
      /home/matterbridge/.go/src/github.com/42wim/matterbridge/bridge/discord/handlers.go:130 +0x55
  github.com/bwmarrin/discordgo.guildMemberAddEventHandler.Handle()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/eventhandlers.go:317 +0x69

Goroutine 77 (running) created at:
  github.com/bwmarrin/discordgo.(*Session).Open()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:203 +0x1319
  github.com/bwmarrin/discordgo.(*Session).reconnect()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:796 +0x128
  github.com/bwmarrin/discordgo.(*Session).listen()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:239 +0x38b

Goroutine 79 (finished) created at:
  github.com/bwmarrin/discordgo.(*Session).handle()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/event.go:171 +0x1df
  github.com/bwmarrin/discordgo.(*Session).handleEvent()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/event.go:200 +0x103
  github.com/bwmarrin/discordgo.(*Session).onEvent()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:562 +0x18ce
  github.com/bwmarrin/discordgo.(*Session).listen()
      /home/matterbridge/.go/pkg/mod/github.com/bwmarrin/discordgo@v0.19.0/wsapi.go:251 +0xaf
==================

tagging @bwmarrin

thanks for the ping @dajohi :)  I'll see what I can find on my side.

From your output, I'm guessing that..
For the lazy, like me :)
Read at : https://github.com/42wim/matterbridge/blob/master/bridge/discord/handlers.go#L135
Write at : https://github.com/bwmarrin/discordgo/blob/master/state.go#L929

@bwmarrin correct.  So which discordgo API should be used for concurrent-safe reads?

@dajohi they're using it just fine.  It's a library issue that will need fixed on discordgo side.

Going to close this here, as it needs to be addressed upstream and is already an open issue there.

authors: 42wim bwmarrin dajohi


text:
error: could not find implicit value for parameter ev: classy.generic.derive.MkDecoder[com.typesafe.config.Config, MyConfig]

I've got a simple example project and test that may highlight the problem I'm having in my application code.
Here is the test from a simple example:
package classy

import classy.Fruits.{Apple, FruityConfig}
import org.scalatest.{FlatSpec, Matchers}
import com.typesafe.config.ConfigFactory
import classy.config._
import classy.generic.auto._
import classy.core.DecodeError

class FruitsSpec extends FlatSpec with Matchers {

  "A properly decoded config" should "contain two fruits" in {
    val rawConfig = ConfigFactory load
    val decoder = ConfigDecoder[FruityConfig]
    val result0: Either[DecodeError, FruityConfig] = decoder.decode(rawConfig)
    result0.isRight shouldBe true
    result0.right.get.fruits should have size 2

    val apple = result0.right.get.fruits.head.asInstanceOf[Apple]

    apple.location.city shouldBe "cadiz"
  }
}

This executes correctly, but ensime detects a missing implicit value ev: ConfigDecoder.
In my application code I have nearly the opposite problem- my ide does not detect a problem, but there is a compiler error indicating a missing implicit value ev: MkDecoder.
Can someone explain how I the MkDecoder is intended to be imported? I've tried a number of different imports but am still getting a compiler error.
My assumption from the examples is that import classy.generic._ should import an implicit MkDecoder.
However, previously there was an example that used import classy.generic.auto._ which is what I used in my example above.

Are you able to get it to compile and run correctly from SBT? I checked out your sample project and was able to run test successfully:
$ sbt
[info] Loading global plugins from /Users/andy/.sbt/0.13/plugins
[info] Loading project definition from /Users/andy/git/misc/classy-example/project
[info] Set current project to classy-example (in build file:/Users/andy/git/misc/classy-example/)
classy-example> test
Downloading https://repo1.maven.org/maven2/com/fortysevendeg/classy-config-typesafe_2.12/0.2.0/classy-config-types
afe_2.12-0.2.0.pom
Downloading https://repo1.maven.org/maven2/com/fortysevendeg/classy-generic_2.12/0.2.0/classy-generic_2.12-0.2.0.p
om
......
Downloaded https://repo1.maven.org/maven2/com/typesafe/config/1.3.1/config-1.3.1.jar
Downloaded https://repo1.maven.org/maven2/com/fortysevendeg/classy-generic_2.12/0.2.0/classy-generic_2.12-0.2.0.ja
r
[info] Compiling 1 Scala source to /Users/andy/git/misc/classy-example/target/scala-2.12/classes...
[info] Compiling 1 Scala source to /Users/andy/git/misc/classy-example/target/scala-2.12/test-classes...
[warn] there was one feature warning; re-run with -feature for details
[warn] one warning found
[info] FruitsSpec:
[info] A properly decoded config
[info] - should contain two fruits
[info] Run completed in 480 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 14 s, completed Feb 23, 2017 10:41:12 AM

The generic derivation relies on Shapeless and macros, which may cause false errors in IDEs.
Regarding the auto import, the preferred mechanism is to implicitly derive a decoder for each of your case classes. The fully automatic derivation with auto will be properly documented soon (and possibly tweaked a tiny bit, for clarity).
For deriving decoders directly, use the deriveDecoder helper from classy.generic. I would recommend putting the decoders in the companion object of your case classes (although this isn't always required):
object Apple {
  implicit val decoder: Decoder[Config, Apple] = deriveDecoder[Config, Apple]
}

I forgot to mention that I would discourage using MkDecoder directly-- so it shouldn't be imported. If you'd like to "summon" one, there is helper method makeDecoder that is very similar to deriveDecoder. The differences is that the makeDecoder helper allows you to pass in some configuration options to control how the decoder is created. There's a tiny bit of documentation on this at https://47deg.github.io/case-classy/key-concepts.html#derived-decoders.

I found this is abated by an sbt clean and sbt reload and also disregarding IDE recommendations regarding which imports to use. For a larger config structure also avoid the Array[T] use List[T] instead although I think that may have more to do with shapeless. In general, it seems like it has a hard time coping with changes without some kind of reload for the automatic derivation.
import classy.config._
import classy.generic._

^These imports seem to be required regardless of what IDE recommends
Spent way too long getting this to work because of this issue hopefully someone else benefits from this general insight.

@jeffusan - did you get this resolved ?  I'm having the same issue as well.
Error:(17, 80) could not find implicit value for parameter ev: classy.generic.derive.MkDecoder

yes @knasim I ended up doing what @lordofio did to resolve the issue. Closing.

authors: andyscott jeffusan knasim lordofio


text:
Bumps sbt-org-policies plugin version

Please, @fedefernandez could you take a look? Thanks!

Codecov Report

Merging #76 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   79.47%   79.47%
=======================================
  Files          35       35
  Lines         492      492
  Branches        2        2
=======================================
  Hits          391      391
  Misses        101      101

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 1a384f1...a4d98e7. Read the comment docs.

authors: codecov-io juanpedromoreno


text:
Create Heap Sort

Added heap sort technique

Please merge my pull request @AnirudhDaya


text:
CORS issue with Traefik and Authenik

Describe the bug
I am running both the frontend and backend via Traefik reverse proxy which has a middleware authentik configured. When running in this configuration, I get the following CORS error on the console and the frontend loads, but cannot communicate with the backend:
Access to internal resource at 'https://auth.example.com/application/o/authorize/?client_id=1crzd0dn3ROBzwSpYEFeIBYmRtqrtEl5Zkvyc0BI&redirect_uri=https%3A%2F%2Fauth.example.com%2Foutpost.goauthentik.io%2Fcallback%3FX-authentik-auth-callback%3Dtrue&response_type=code&scope=email+openid+profile+ak_proxy&state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnb2F1dGhlbnRpay5pby9vdXRwb3N0LzFjcnpkMGRuM1JPQnp3U3BZRUZlSUJZbVJ0cXJ0RWw1Wmt2eWMwQkkiLCJzaWQiOiI1RkU3NVZNUklJR1NTN0c3UkdRR1pJNUdSWEsyVkwzQUABCDEFABCDEFExCUFZYNk9BIiwic3RhdGUiOiJxZHlOdG80UEF4ajhxOUhuY1FVdEpaQlA5MWt6UEk3Slp5dTJZUWprbVBNIiwicmVkaXJlY3QiOiJodHRwczovL2lwdHYuZ3AubWFjZS5hdS9tYW5pZmVzdC53ZWJtYW5pZmVzdCJ9.z1EjxOtj5L1dy-BexgWlfosBqgMf_u573vOvd5ZAPHI' (redirected from 'https://iptv-frontend.example.com/manifest.webmanifest') from origin 'https://iptv-frontend.example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I have tried to inject the Access-Control-Allow-Origin: '*' header on the frontend responses, backend responses, and authentik responses all without success to resolving this. Would love to get a second set of eyes.

Update, injecting the Access-Control-Allow-Origin: '*' header in to the Authentik domain does resolve the CORS issue, but the manifest.webmanifest file now returns empty with the following error:
No content available because this request was redirected


text:
Support out outbound link tracking

This adds support for Outbound Link Click Tracking. Tests and documentation have been updated. Closes #8 https://github.com/4lejandrito/next-plausible/issues/8.

Looks very good at first glance. I'll fully review and merge soon.
Thanks @IGassmann.

Looks awesome, no changes on my side.
I just published 1.6.0:
npm i next-plausible@1.6.0

Thanks a lot @IGassmann!


text:
feat: date & timestamp type

support date & timestamp type
you can use time.Time to represent SQL timestamp type, and openmldb.NullDate to represent date type
simply mode in DSN
only online & offline, and later option request, rm OffSync & OffAsync

Codecov Report
Attention: Patch coverage is 43.39623% with 30 lines in your changes are missing coverage. Please review.

Project coverage is 54.68%. Comparing base (c046517) to head (3a285fa).

Files
Patch %
Lines

types.go
25.00%
15 Missing :warning:

conn.go
56.00%
7 Missing and 4 partials :warning:

driver.go
50.00%
3 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   57.86%   54.68%   -3.18%
==========================================
  Files           2        3       +1
  Lines         159      192      +33
==========================================
+ Hits           92      105      +13
- Misses         51       69      +18
- Partials       16       18       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: aceforeverd codecov-commenter


text:
MSW exploration

This is only an exploratory work to evaluate MSW; proper setup will follow in a different PR.
Steps to run the mocked version of the app

npm install
npm run start:mocked

Steps to run the mocked API as a separate express server

npm install
npm run start:mock-server (starting the mocked server)
npm run start (in another terminal window)

Docs

msw
msw data

I also added an express server to run the api mocks as standalone. See updated PR description.

@kelvah Does this need review from me now given #24?

@kelvah Does this need review from me now given #24?

I don't think it's necessary to review this PR. I put it up just to showcase how it works. It's fine to review only #24.

Closing as the proper work has been done in other PRs.

authors: kelvah manstis


text:
Make missing Javadoc comments a warning

For current style, requires @SuppressWarnings("javadoc") on test classes. Can this annotation be added to package-info.java for only the test source folder?

The @SuppressWarnings("javadoc") workaround is OK for tests but not for enum constants, so this warning is off for now.


text:
BUG

环境信息:

部署方式 编译wvp-pro/ wvp-prp + zlm都是编译部署/

部署环境 windows

端口开放情况

是否是公网部署

是否使用https

方便的话提供下使用的设备品牌或平台

你做过哪些尝试

代码更新时间

描述错误
1.第一次启动正常，
2.改前端返回流地址，再启动就报redis错误
如何复现
有明确复现步骤的问题会很容易被解决
截图
抓包文件
日志
日志内容放这里， 文件的话请直接上传
aused by: io.lettuce.core.RedisCommandInterruptedException: Command interrupted
       at io.lettuce.core.protocol.AsyncCommand.await(AsyncCommand.java:87)
       at io.lettuce.core.internal.Futures.awaitOrCancel(Futures.java:244)
       at io.lettuce.core.LettuceFutures.awaitOrCancel(LettuceFutures.java:74)
       at org.springframework.data.redis.connection.lettuce.LettuceConnection.await(LettuceConnection.java:1084)
       ... 26 common frames omitted
aused by: java.lang.InterruptedException: null
       at java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
       at java.util.concurrent.CompletableFuture.get(Unknown Source)
       at io.lettuce.core.protocol.AsyncCommand.await(AsyncCommand.java:83)
       ... 29 common frames omitted

改前端返回流地址，再启动就报redis错误 是什么意思


text:
收流超时问题

环境信息:

部署方式 wvp-pro docker / zlm(docker) + 编译wvp-pro/ wvp-prp + zlm都是编译部署/

部署环境 ubuntu22，WVP+Redis一台服务器，Mysql一台服务器，ZLM一台服务器

端口开放情况：内网环境，防火墙全关

是否是公网部署 ：否

是否使用https：否

方便的话提供下使用的设备品牌或平台，摄像头为海康

你做过哪些尝试

代码更新时间（旧版本请更新最新版本代码测试）20240927

内容描述:
摄像头正常注册在线，通道也能显示出来，尝试了UDP，TCP主动，TCP被动三个模式进行播放
调用：/api/play/start/44031100491320000001/44031100491320000002的时候一直转圈圈，然后响应{"code":-2,"msg":"收流超时","data":null}
抓包和日志显示摄像头已经推流，且用VLC组装流地址能够正常播放
给我感觉是卡在了下图第7步的位置

截图

抓包文件
wvp.zip
日志
日志内容放这里， 文件的话请直接上传

请问你解决了吗？

请问你解决了吗？

我这边另外部署环境从新编译之后没有问题，应该还是配置哪里有问题，具体没搞清楚

整个模板下载你能下载吗？我部署完成无法下载

 整个模板下载你能下载吗？我部署完成无法下载

可以下载，检查下你的WEB目录是不是完全，模板好像是在web目录下的

好的谢谢！

yml 配置文件里面的 media.id要和 zml配置文件中 gerenal.mediaServerId 一致 否则回点播失败

authors: MouseSun846 beesboy tangtangll


text:
摄像头sip通讯异常

bug 现象
刷新 通道时 提示 timeout
偶尔获取到通道，但是无法点播
在centos7运行
无法点播，通过抓包发现 Port unreachable
配置文件配置sip port 5060 排查没有端口占用
window 正常
抓包截图 查看抓包看数据只有部分

是有通道不能刷新，还是看不见通道，刷新也刷不出？
正常情况应该注册就能看见通道。
大部分前端是注册到UDP端口，看centos 防火墙udp 5060开了没有，包括网络防火墙。

好像确实不能点播了，前端时间还正常点播的，更新后就不能点播了，设备端确认没问题，因为之前配置了一直没变过。 下面是最新版本的点播sip请求：

你这个看着是ip 错了 192的ip和你的124的ip应该是不通的。 注意sip 124.71.144.201 这一条。 注意下你的mediaserver ip 的配置 和数据库中内容
有道理，我忽略了这个，我明天再换个局域网地址试试。

有的设备不支持catlog消息，这个是用来查询通道信息的，部分设备只支持使用订阅的方式，目前订阅当时还没整合到代码流程里。你可以抓个包看看。

我先关了你可以使用最新的代码测试下

authors: 648540858 chenparty penghd ydddx


text:
User story 3 list messages

Add "Delete Room" button to delete all rooms (in case it's getting too crowded), add active room window and room-related messages.

Looks great! 👍 👂 🐰 🍰


text:
Contact page should have the group npub

So let’s not forget to add that. I suppose it should link to somewhere useful and not just be a string?

on it!

authors: cnix pfoytik


text:
Fixed issue #2

fixed issue #2 and some reformatting of code
Reason of the issue: CTRL+D only stops the Pyarp's command line but main function was called from another  file named main.py  In the last code after pressing CTRL+D main main.py was still running that is why two times exit was needed to close the program

works like a charm, thank you :+1:


text:
Cavified altis/chenarus/taki/sara roles and added rules splash screen and buffalo spawn and flag and arsenal blacklist

Q
A

Bug fix?
no

New feature?
yes

Needs wipe?
no

Description:
Made the platoon staff all have their own groups for BFT Readability.
Changed Buffalo-2 to Raven-1 and divided it into 2 groups Raven-1 and Raven-2.
Made Infidel-1 its own group and gave it an observer.
Changed Apache from Heli-pilot model to helicrew model to prevent locking out HALO by CAS.
Changed second tank group to IFV group instead.
Changed Gunslinger groups to be infantry as they should. Modified one group to be mechanized and named it Viking-1. Moved it below the other groups.
Reordered mission.sqm after modifying groups.
Tweaked names of groups for consistency.
Added rules splash screen to mission start menu. WIP will update image to better quality later.
Transferred role cavification from altis sqm to takistan and chernarus
Replaced one raven with buffalo at base spawn
Modified startvehicle_spawn.sqf to add buffalo spawning placeholder item to framework
added cavflag :cav_dab:
Successfully tested on:

[ X ] Local MP
[ ] Dedicated MP

PR Should be done for now unless I think of something else to fix


text:
Fix config path

Error fixed:

@akempes Thanks!

authors: akempes nielskramerr


text:
Update project to use ES6 modules instead of CommonJS

In order to have better tree shakablitiy I propose changing the project to take advantage of ES6 modules instead of CommonJS.
This would reduce the size of the final bundles as the unused sensors will not be included.
This is of course a breaking change as clients relying on the CommonJS require imports will need to migrate their projects.
For this reason I bumped the version number to 2.0.0.
However its almost 2025 and the ES6 proposal was accepted almost 10 years ago, and almost 96% of currently used browsers support this syntax.

@Abasz
👍 👍 👍
I'll approve it once I finish verifying it in my environment! Please wait a few days.
Thank you for always submitting pull requests.

@Abasz
The package was updated 👍
https://www.npmjs.com/package/web-ant-plus/v/2.0.0


text:
🛑 R A is down

In e836b4f, R A ($R_A_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: R A is back up in 4fbaf6a.


text:
Read Chapter 3 and Check Code, Log

Input

Black-box Chapter 3 on Manning

https://livebook.manning.com/book/practical-recommender-systems/chapter-3

Output

Understand how to display analytics page
Understand Django analytics app

Database
Python log file
GET request

Time

4 hours

History

2022/Dec/24: Newly create
2022/Dec/31: Add reading time

Hello @quangvv9Life,
Tớ chuyển status task này sang Review nha!!!
Quang có ý kiến gì thêm cứ comment vào.
Sau 2 ngày nếu không có comment gì sẽ chuyển sang Done
Thanks Quang!!!

Hello @quangvv9Life,
Thanks Quang đã gửi tin nhắn cho tớ qua iMessage nhé @@.
Tạm thời đầu tớ đang lộn xộn quá @@@@@@.
Chưa biết trả lời thế nào hix.
Tớ closed task này nhé!!!


text:
🛑 instagram is down

In 0d0dbeb, instagram (https://www.instagram.com/9renpoto/) was down:

HTTP code: 429
Response time: 193 ms

Resolved: instagram is back up in 2613996 after 9 minutes.


text:
[feat/fix] : Changed the Footer Style

Related Issue

Info about the related issue

Closes: #6
Describe the changes you've made
Changed the Style of Footer
Type of change

[x] Made some changes in file index.html
[x] Make a new file footer.css
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

I tested it on My Browser(Chrome & Fire-Fox)

ScreenShots:
BEFORE

AFTER

@A-jha383 If you want we should Create a new Footer or should change/reduce the content inside footer then I would like to do that

Please @A-jha383 hacktoberfest label to this PR


text:
[issue] Autoloot

Version: 1.0.0.rc3
Mods: CBA, TFAR, ACE(no-medical)
Environment: SP
.rpt attatched? YES
have you edited the missionfile?: No
Issue:

Autoloot succesfully, then more fight and more bodies around: the same AI will tell "nothing to loot", the other AI, on the contrary, started looting succesfully
Surrender box aren't checked: to allow it: replace

https://github.com/A3Antistasi/Antistasi-WotP/blob/38660b293ff26cfefbc2e0110950ba72560eb459/A3-Antistasi/AI/autoLoot.sqf#L18
with
_objetos = nearestObjects [_unit, ["WeaponHolderSimulated", "GroundWeaponHolder", "WeaponHolder","IND_Box_Base"], 50];

Can be done easily, will do.
In the case of vests or backpacks, I can order the AI to take them no matter what, just in case they have something useful....


text:
.Net 5.0/3.1 support

Hello @AArnott,
I use your CodeGeneration.Roslyn, however requirement for .net core sdk 2.1 is a little bit outdated.
Any releases for .net 5.0?
#229 >> Source Generators will make this project redundant indeed
Hmm..., indeed?
Source Generators from MS are too raw:

external third party references is not solved yet
intellisense does not work

I am not interested in maintaining this any more at this point. Source Generators do it better (it can generate code in the IDE even before the source files are saved), and will progress and fix their bugs much faster than this repo would and achieve a better integration with user flows than this repo could.
FWIW, my experience with source generators isn't perfect, but I don't see the errors you do. I have a source generator that has third party dependencies, and I see intellisense working.

authors: AArnott max-ieremenko

license: MS-PL


text:
quick use cases

reformat docs so there is one section for each use case that includes all commands to accomplish goal. with minimal text around it. links to other pages where more detailed explanation of commands are

Add this as a new tab (at the same tier as "welcome to the aced-idp docmentation" "getting started" "requirements" "use cases and workflows" then this new section, "status monitor"

Quickstart Guide
1. Upload Data (To an Existing Project on ACED IDP)
This section outlines how to add data to ACED IDP. Many g3t commands behave similarily to git commands
Add file(s)
g3t add folder/file.tsv
g3t add folder/file2.tsv

Create meta data for your files. This g3t command will take care of creating this for you
g3t utilities meta create

Check that the expected files are queued for upload
g3t diff

Commit files
g3t commit -m "Adding files"

Push to ACED IDP
g3t push

View the upload status (pending or complete)
g3t status

Check that your data was uploaded successfully by viewing on the Exploration tab on aced-idp.org
2. Download Data
((The section that is on downloading data doesn't need to be changed and can be copied and pasted here. Specifically this page https://aced-idp.github.io/workflows/portal-download/))

see https://github.com/ACED-IDP/aced-idp.github.io/pull/21


text:
Problems with Enumeration Properties in the Model

There are 40 instances in the model where an object has a property requiring a value from a defined list.   In all cases, we have or will define the Enumerated Representation from which the value must come.
In the C# model, these were Enumerated Values, where the implementer set both the Representation and the Value.   For now, we have these modeled as Enumerated Members, since there is no option to choose the Representation.   The Representation is simply noted in the definition.
We should discuss if this is sufficiently understandable to implementers.

In addition, there is a versioning problem. We likely need a new object post definition of the DTD model that will specify the code and version in addition to the selected value.

We replaced the enumeration component with a simple reference to the code of the enumeration item.   Versioning is handled in #108

repo: ADAPT/Standard


text:
refactor

[x] store smart contract address after deployed. for example, cross chain module should manage the address by it self, not using smart contract helper
[ ] all initialization works should be done in Node Service
[ ] all smart contract executing should only use transaction executing service, do not use IExecutive

#944

fix first #1074

repo: AElfProject/AElf


text:
Feedback On Website Art And Quote

This issue covers feedback on the art and quote on the center page of the website.

Changed milestone to Backlog; this is not a critical task.


text:
BUG: 場所によってpage2 nilClassが発生する，ループをすると@hotel_name.zipが初期化される

進捗： ランダムに場所を選んで，別府意外もsuggestできる
BUG(1)：配列からいくつかの場所を選ぶと，page2 nilClassが発生する．
　　　　最寄り駅なし(error3)はunknownを代入するように回避しているが，他のエラーとは…?
BUG(2)：untilループで，じゃらんAPIから@suggestsにpushするまで回すたびに，@hotel_name.zipが初期化される．
　　　　そのため，結果ページではHashのみ完成していて@hotel_name.zipから直接表示している部分が一部（最終ループ分）しか表示されない．

bugは修正しました！


text:
SSL connection error

Try connect to server, reject with message:
Connection failed!
2026 - SSL connection error: Unable get certificate
Connection from HeiduSQL successfull, connect to another server through  lib successfull too. How can i disable ssl or connect and ignore this ?  I have no access to sql server, nead read data

After hundreds of attempts it was possible to force the method to work using libmySQL.dll from AHK DBA https://autohotkey.com/board/topic/71179-ahk-l-dba-16-oop-sql-database-sqlite-mysql-ado/

license: unlicense


text:
How to run IndicTrans2 using TPU's?

Is it possible to run IndicTrans2 using google cloud tpus?

Hey @kathir-ks
Our team has released the flax port for IndicTrans2 en-indic 200M distilled model in the setu-translate repository. We will also be releasing the flax ports for the other models in the coming month. You can follow the instructions from the aforementioned repository for inference on TPUs. Thank you!

Thank you


text:
Srec構造体のdataRecordsのスライスはポインタでなくてよいか確認する

なんとなくポインタでない形で持っていたので、ポインタにしたほうが良い気がする。

確認した結果、ポインタで保持すべきと判断した。
以下にて変更済み。
6b533b577c0845d62869e856c4aced27120f7614


text:
added gif

What is the change?
Removed previous GIF from readme and added new one.
Related issue?
issue: #172
How was it tested?
Remove this line and tell us how the code was tested.
locally on my repo
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelines while contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[x] Have you made corresponding changes to the documentation?
[x] Your submission doesn't break any existing feature.
[x] Have you tested the code before submission?

@Pranav016 sir I tried to compress this gif but it wouldn't get compressed more as already compressed it two times before
its original size Was 16MB I take it 12MB.

@all-contributors please add @Abhijay007 for doc

repo: ALPHAVIO/BlogSite


text:
add checks for time vars

add checks for time vars
add checks for all remaining input parameters, for all public methods
fix tests
add tests for checks
ignore ANN401 in tests folder

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#64  👈
#63
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gcroci2 and the rest of your teammates on  Graphite

Wouldn't it be easier to use an external package for enforcing type hints for most of these? Either pydantic or something like this (looks less stable, but was easier to find from documentation how to use do it) can do that.

I'd go for pydantic, since the other one does not seem very reliable, especially for the future. Pydantic seems to have a dataclasses module, that may do the job.

If we stick to leaving it here, I would suggest to make it a bit more modular as per this comment

As commented above, even if I agree that the checks can be definitely modularised more, it is not so trivial and it requires a bit of more careful edits.
What if I open an issue for evaluating pydantic, and if that doesn't work then we open a PR for making what we have now more modular?

repo: ANNUBS/annubes


text:
Support for Animated.event

Hey!
Thanks for a great lib.
Any way to add an onScroll Animated.event to the component for some cool animation shenanigans? :)
Would be awesome if one could do something along the lines of
<KeyboardAwareScrollView
        style={styles.container}
        onScroll={Animated.event(
          [{ nativeEvent: { contentOffset: { y: this.state.scrollY } } }],
          { useNativeDriver: true }
        )}
      >
    <View />
</KeyboardAwareScrollView>

I have the same issue.
I use:
const AnimatedKeyboardAwareScrollView = Animated.createAnimatedComponent(
  KeyboardAwareScrollView
);

It works fine on iOS. On Android as soon as refreshControl is used, it stops working.

In my case if I use this { useNativeDriver: true }, it stops working

@SebiVPS this happens to me too

authors: SebiVPS ddxxtony jhalborg marquina-abreu


text:
scrollIntoView: improve _defaultGetScrollPosition

Currently the default implementation always align childview top to scrollview top, which may not always be a good idea, particularly if element is already fully visible into the view.
This implementation is closer to the expected behavior and closer to DOM element.scrollIntoView()
See also https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/216#issuecomment-393079601

Hey, I'm closing this PR as I've decided to support scrollIntoView into a separate dedicated library: https://github.com/slorber/react-native-scroll-into-view

@slorber I've just seen your implementation and it looks fine. Any reason why you believe this functionality should be kept outside react-native-aware-scroll-view?

@sebasgarcep

scrollIntoView and "keyboard aware" are separate features
we should be able to use both together, yet if I want to stop using this lib and replace it with KeyboardAvoidingView or something else, they should still be able to use scrollIntoView feature
This lib support many scrollable views and scrollIntoView feature is mostly for ScrollView which may be confusing
I wanted the scrollIntoView to have a lot more features and make it easy to use. Doing so in this lib means the majority of the code would not be related to keyboard anymore but to scrollIntoView, which is not the initial purpose of the library
I needed to go fast and iterate on a simple API without waiting for review/publication of this lib, as I consume my own code

It's possible to combine both library HOC's on a ScrollView, so if this lib need react-native-scroll-into-view features and API, it can still add it as a dependency. But I think it would be better to let that decision to the user.

@slorber Thanks for taking the time to answer thoroughly!

authors: sebasgarcep slorber


text:
UI improve

[x] #332
[x] #334
[ ] #144
[ ] #333

#332 and #334 are fixed in this PR, here are 2 small UI bugs though:

[ ] "Add at least one folder ..." label is seen shortly during app load, even if user already has several folders
[ ] "Scores" label near the switch misses first letter

authors: kirillt saxihuangxing

repo: ARK-Builders/ARK-Navigator


text:
NEConvolutionLayer is slower than the implementation on TensorflowLite.

Hi,
I have just configured 540P WDSR Model (one block) with Neon-based Arm Compute Library with NHWC layout with F32 datatype.
I also benchmarked the same model structure based on TensorflowLite on the same Android device which I have used.
The total execution time on ArmComputeLibrary (both one-thread) is 150ms Verus 91ms with TensorflowLite.
I have conducted the operator benchmarking in detail.
For example, the Convolution operation is (3, 960, 540) x (3,5,5,12) -> (12, 960, 540).
The average time cost for this operator on ACL is 71.45ms compared to 33.860 ms on TensorflowLite.
Here is my benchmark graph with --instruments=SCHEDULER_TIMER_MS

Here is TensorflowLite Benchmark for the exact same operator:

Here with the benchmark_model_code on ArmComputeLibrary for your reference:
//Arm Compute Library Source
#include "arm_compute/runtime/NEON/NEFunctions.h"
#include "arm_compute/runtime/NEON/NEScheduler.h"
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/Allocator.h"
#include "arm_compute/runtime/BlobLifetimeManager.h"
#include "arm_compute/runtime/MemoryManagerOnDemand.h"
#include "arm_compute/runtime/PoolManager.h"
#include "utils/Utils.h"

#include "support/ToolchainSupport.h"
#include "src/core/NEON/NEMath.h"
#include "src/core/NEON/wrapper/intrinsics/intrinsics.h"
//Common Source
#include <arm_neon.h>
#include <cstdlib>
#include <sstream>
#include <time.h>
#include <fstream>
#include <chrono>

using namespace arm_compute;
using namespace utils;

class NEON_WDSR_FP32_Example : public Example
{
public:
    bool do_setup(int argc, char **argv) override
    {
        NEScheduler::get().set_num_threads(1);

        //Create Memory manager components
        auto lifetime_mgr0 = std::make_shared<BlobLifetimeManager>();
        auto lifetime_mgr1 = std::make_shared<BlobLifetimeManager>();
        auto pool_mgr0     = std::make_shared<PoolManager>();
        auto pool_mgr1     = std::make_shared<PoolManager>();
        auto mm_layers      = std::make_shared<MemoryManagerOnDemand>(lifetime_mgr0, pool_mgr0);
        auto mm_transitions = std::make_shared<MemoryManagerOnDemand>(lifetime_mgr1, pool_mgr1);

        //set memory manager where allowed to manage internal memory requirements
        conv1_main_branch = std::make_unique<NEConvolutionLayer>(mm_layers);
        conv2_main_branch = std::make_unique<NEConvolutionLayer>(mm_layers);
        conv3_main_branch = std::make_unique<NEConvolutionLayer>(mm_layers);
        conv4_main_branch = std::make_unique<NEConvolutionLayer>(mm_layers);
        conv5_main_branch = std::make_unique<NEConvolutionLayer>(mm_layers);
        sk2_conv          = std::make_unique<NEConvolutionLayer>(mm_layers);

        //[initialize tensors]
        // initialize src tensor
        TensorShape src_shape(3,960,540);
        src.allocator()->init(TensorInfo(src_shape, 1, DataType::F32, DataLayout::NHWC));
        // initialize conv1_main_branch tensor
        TensorShape conv1_weight_shape(3,3,3,4);
        TensorShape conv1_output_shape(4,960,540);
        conv1_weight.allocator()->init(TensorInfo(conv1_weight_shape, 1, DataType::F32, DataLayout::NHWC));
        conv1_bias.allocator()->init(TensorInfo(TensorShape(4), 1, DataType::F32, DataLayout::NHWC));
        conv1_out.allocator()->init(TensorInfo(conv1_output_shape, 1, DataType::F32, DataLayout::NHWC));

        // initialize conv2_main_branch tensor
        const TensorShape conv2_weight_shape(4,1,1,24);
        const TensorShape conv2_bias_shape(24);
        const TensorShape conv2_output_shape(24, 960, 540);
        conv2_weight.allocator()->init(TensorInfo(conv2_weight_shape, 1, DataType::F32, DataLayout::NHWC));
        conv2_bias.allocator()->init(TensorInfo(conv2_bias_shape, 1, DataType::F32, DataLayout::NHWC));
        conv2_out.allocator()->init(TensorInfo(conv2_output_shape, 1, DataType::F32, DataLayout::NHWC));

        // initialize conv3_main_branch tensor
        const TensorShape conv3_weight_shape(24,1,1,3);
        const TensorShape conv3_bias_shape(3);
        const TensorShape conv3_output_shape(3, 960, 540);
        conv3_weight.allocator()->init(TensorInfo(conv3_weight_shape, 1, DataType::F32, DataLayout::NHWC));
        conv3_bias.allocator()->init(TensorInfo(conv3_bias_shape, 1, DataType::F32, DataLayout::NHWC));
        conv3_out.allocator()->init(TensorInfo(conv3_output_shape, 1, DataType::F32, DataLayout::NHWC));

        // initialize conv4_main_branch tensor
        const TensorShape conv4_weight_shape(3,3,3,4);
        const TensorShape conv4_bias_shape(4);
        const TensorShape conv4_output_shape(4, 960, 540);
        conv4_weight.allocator()->init(TensorInfo(conv4_weight_shape, 1, DataType::F32, DataLayout::NHWC));
        conv4_bias.allocator()->init(TensorInfo(conv4_bias_shape, 1, DataType::F32, DataLayout::NHWC));
        conv4_out.allocator()->init(TensorInfo(conv4_output_shape, 1, DataType::F32, DataLayout::NHWC));

        // initialize conv5_main_branch tensor
        //layer5: Conv5_main_branch
        Tensor conv5_weight, conv5_bias, conv5_out;
        const TensorShape conv5_weight_shape(4,3,3,12);
        const TensorShape conv5_bias_shape(12);
        const TensorShape conv5_output_shape(12, 960, 540);
        conv5_weight.allocator()->init(TensorInfo(conv5_weight_shape, 1, DataType::F32, DataLayout::NHWC));
        conv5_bias.allocator()->init(TensorInfo(conv5_bias_shape, 1, DataType::F32, DataLayout::NHWC));
        conv5_out.allocator()->init(TensorInfo(conv5_output_shape, 1, DataType::F32, DataLayout::NHWC));

        // initialize sk2_conv tensor
        const TensorShape sk2_weight_shape(3,5,5,12);
        const TensorShape sk2_bias_shape(12);
        const TensorShape sk2_output_shape(12, 960, 540);
        sk2_conv_weight.allocator()->init(TensorInfo(sk2_weight_shape, 1, DataType::F32, DataLayout::NHWC));
        sk2_conv_bias.allocator()->init(TensorInfo(sk2_bias_shape, 1, DataType::F32, DataLayout::NHWC));
        sk2_conv_out.allocator()->init(TensorInfo(sk2_output_shape, 1, DataType::F32, DataLayout::NHWC));

        /* -----------end of tensor initialization------------------*/

        // Configure Layers
        conv1_main_branch->configure(&src, &conv1_weight, &conv1_bias, &conv1_out, PadStrideInfo(1,1,1,1));
        sk2_conv->configure(&src, &sk2_conv_weight, &sk2_conv_bias, &sk2_conv_out, PadStrideInfo(1,1,2,2));
        conv2_main_branch->configure(&conv1_out, &conv2_weight, &conv2_bias, &conv2_out, PadStrideInfo(1,1,0,0));
        conv3_main_branch->configure(&conv2_out, &conv3_weight, &conv3_bias, &conv3_out, PadStrideInfo(1,1,0,0));
        conv4_main_branch->configure(&conv3_out, &conv4_weight, &conv4_bias, &conv4_out, PadStrideInfo(1,1,1,1));
        sk1_add.configure(&conv1_out, &conv4_out, &conv4_out, ConvertPolicy::SATURATE);
        conv5_main_branch->configure(&conv4_out, &conv5_weight, &conv5_bias, &conv5_out, PadStrideInfo(1,1,1,1));
        sk2_conv->configure(&src, &sk2_conv_weight, &sk2_conv_bias, &sk2_conv_out, PadStrideInfo(1,1,2,2));
        sk2_add.configure(&sk2_conv_out, &conv5_out, &conv5_out, ConvertPolicy::SATURATE);

        /* -----------end of layer configuration------------------*/

        // Add Tensor to memory manager
        // 2 memory groups for input and output management
        memory_group0 = std::make_unique<MemoryGroup>(mm_transitions);
        memory_group1 = std::make_unique<MemoryGroup>(mm_transitions);

        //memory_group0->manage(&conv1_out);
        //conv1_out.allocator()->allocate();
        memory_group1->manage(&conv2_out);
        conv2_out.allocator()->allocate();
        memory_group0->manage(&conv3_out);
        conv3_out.allocator()->allocate();
        //memory_group1->manage(&conv4_out);
        //conv4_out.allocator()->allocate();
        //memory_group0->manage(&conv5_out);
        //conv5_out.allocator()->allocate();
        memory_group1->manage(&sk2_conv_out);
        sk2_conv_out.allocator()->allocate();

        conv1_out.allocator()->allocate();
        conv4_out.allocator()->allocate();
        conv5_out.allocator()->allocate();

        src.allocator()->allocate();
        conv1_weight.allocator()->allocate();
        conv1_bias.allocator()->allocate();

        conv2_weight.allocator()->allocate();
        conv2_bias.allocator()->allocate();

        conv3_weight.allocator()->allocate();
        conv3_bias.allocator()->allocate();

        conv4_weight.allocator()->allocate();
        conv4_bias.allocator()->allocate();

        conv5_weight.allocator()->allocate();
        conv5_bias.allocator()->allocate();

        sk2_conv_weight.allocator()->allocate();
        sk2_conv_bias.allocator()->allocate();

        //populate layer manager
        mm_layers->populate(allocator, 1);
        //populate transition manager
        mm_transitions->populate(allocator, 2);

        return true;
    }

    void do_run() override
    {
        //Acquire memory for the memory groups
        memory_group0->acquire();
        memory_group1->acquire();

        sk2_conv->run();

        //test only the skiplink convolution
        //conv1_main_branch->run();
        //conv2_main_branch->run();
        //conv3_main_branch->run();
        //conv4_main_branch->run();
        //sk1_add.run();
        //conv5_main_branch->run();
        //sk2_add.run();

        memory_group0->release();
        memory_group1->release();
    }

private:
    // The src tensor should contain the input image
    Tensor src{};
    // Intermediate tensors used
    Tensor conv1_weight{};
    Tensor conv1_bias{};
    Tensor conv1_out{};

    Tensor conv2_weight{};
    Tensor conv2_bias{};
    Tensor conv2_out{};

    Tensor conv3_weight{};
    Tensor conv3_bias{};
    Tensor conv3_out{};

    Tensor conv4_weight{};
    Tensor conv4_bias{};
    Tensor conv4_out{};

    Tensor conv5_weight{};
    Tensor conv5_bias{};
    Tensor conv5_out{};

    Tensor sk2_conv_weight{};
    Tensor sk2_conv_bias{};
    Tensor sk2_conv_out{};

    //Allocator
    Allocator allocator{};

    //Memory groups
    std::unique_ptr<MemoryGroup> memory_group0{};
    std::unique_ptr<MemoryGroup> memory_group1{};

    //Layers
    std::unique_ptr<NEConvolutionLayer> conv1_main_branch{};
    std::unique_ptr<NEConvolutionLayer> conv2_main_branch{};
    std::unique_ptr<NEConvolutionLayer> conv3_main_branch{};
    std::unique_ptr<NEConvolutionLayer> conv4_main_branch{};
    std::unique_ptr<NEConvolutionLayer> conv5_main_branch{};
    std::unique_ptr<NEConvolutionLayer> sk2_conv{};
    NEArithmeticAddition                sk1_add{};
    NEArithmeticAddition                sk2_add{};
};

int main(int argc, char **argv)
{
    std::cout<<"start testing...\n";

    return utils::run_example<NEON_WDSR_FP32_Example>(argc, argv);
}

The wdsr_540p_fp32.tflite file has been attached also if you want to benchmark the performance for TFLITE:
https://drive.google.com/file/d/1aL9sq8oDUKPu-lZqq5we7s7Vnf0enPnt/view?usp=sharing
Thanks for the patience!

Hi @morgolock , could you please check this issue?
I just want to make sure there is nothing wrong with my settings and the benchmarking I have conducted.

Hi @GGGGxxxxxxxxr
I'd suggest you try ArmNN's ExecuteNetwork to assess the performance of this model.
See below the inference time of ACL
root@acl_hikey_9:~/tmp/user/armnn/2302# LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./ExecuteNetwork -c CpuAcc -m ../../tflite_models/wdsr_960.tflite -N --iterations=5 |grep Inference
Info: Inference time: 400.57 ms
Info: Inference time: 315.57 ms
Info: Inference time: 318.07 ms
Info: Inference time: 318.24 ms
Info: Inference time: 319.84 ms

Versus the time using tflite inference time
root@acl_hikey_9:~/tmp/user/armnn/2302# LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./ExecuteNetwork -c CpuAcc -m ../../tflite_models/wdsr_960.tflite -N --iterations=5 -T tflite |grep Inference
Info: Inference time: 525.38 ms
Info: Inference time: 516.27 ms
Info: Inference time: 526.44 ms
Info: Inference time: 525.00 ms
Info: Inference time: 552.10 ms

In general, I would recommend using ExecuteNetwork when you have a .tflite model rather than implementing the model by hand using ACL operators.
Hope this helps.

Hi @morgolock,
Thanks for your advice!
I have tried the pre-built binary of ArmNN on my android devices,
here is the command I used for benchmark:
./ExecuteNetwork -c CpuAcc -m /data/local/tmp/wdsr_960.tflite -N --iterations=10 --number-of-threads=1
This is my result:

With 1-thread, it takes about 240ms for this wads_960.tflite model execution.
I have tried the command with "-T" (enable TFLITE runtime), the result is worse than ArmNN.
Here is the benchmark with "-T":

But that TFLITE Inferencing speed seems like quite unmatched with the result generated by the official benchmark tool from TFLITE.
Here is the link for TFLITE official benchmark:
https://www.tensorflow.org/lite/performance/measurement
Thanks again!

Hi @GGGGxxxxxxxxr

But that TFLITE Inferencing speed seems like quite unmatched with the result generated by the official benchmark tool from TFLITE.

The difference you see may be because we are using different tflite versions. I used tflite v2.10, which version of tflite did you use? How big is the difference ?

Hi @morgolock
I have found out the cause of this issue.
In TensorflowLite, if XNNPACK has been enabled, the performance on CPU would be dramatically increased.
If I disable XNNPACK in Tensorflowlite, the performance would be worse than ArmNN.
Seems like XNNPACK provides a super-optimized backend implementation for operators.
It would generate a speedup over 50%. From 220ms to 90ms with one-thread on the same model.
You could try TensorflowLite Benchmark with the TFLITE model, with  _use_xnnpack= true / false.
You could tell the difference.
Thanks!

authors: GGGGxxxxxxxxr morgolock

repo: ARM-software/ComputeLibrary


text:
Add Target.ensure_kconfig()

Code sometimes need to check if some kernel config options is enabled. For a lot of them, checking they are =y is actually stricter than necessary, but allowing =m means the check can succeed without the feature being actually available if the corresponding module was not loaded.
To alleviate that, we could have a Target.ensure_kconfig() method that:

Checks if the option =y and if so returns
if =n or config does not exist at all, raises an exception
if =m, tried to lsmod/modprobe the corresponding module and raises if that fails.

Unfortunately, there is no generic way of knowing the module name associated with a given kconfig, so the mapping has hard coded. However, we can have a maintenance script that finds a mapping for a given kernel source tree by looking for obj-$(CONFIG_FOO) += the module.o anothermodule.o  and merge the result with the existing mapping in devlib.

Given the behavior of current Android GKI kernels, we cannot rely on =N meaning the feature is not available in a module, as the module may still be available (/proc/config.gz can lie in this way in Android apparently due to the way GKI build system works as reported by @patrik-arm). Therefore, the behavior we want is:

Checks if the option =y and if so returns positively
Otherwise, try to lsmod/modprobe the corresponding module and raises if that fails or if we don't know what module to load.

If the mapping config<->module name is not know for the feature, the function should raise an exception. It might be a good idea to allow the user to pass an expected module name so they can work around an incomplete mapping provided by devlib.
Since this is definitely a bug in Android, maybe we should check for the target type and use the sane behavior (=N means it's not available) on non-android targets, but that may mean some code working on mainline kernel would break on android targets, whereas having a single path working for the buggy case will ensure user code works in both cases.

repo: ARM-software/devlib