text:
Persistent cpu usage when idle

I noticed when using the plugin on a busy server (1800 entities), matterbridge cpu usage now hovers around 15%.  I also see an additional listener for state_changed on the HA /developer-tools/event page, which I think means it's being notified for all state changes then filtering out the ones we're interested in.
I attempted to track that down in the code, sounds like subscribeEntities may be a way to limit that from the HA side.

As of now:

the home-assistant-adapter subscribes to all entities, because
a. when a new device is added to HA or has lost the "hidden" attribute (legacy), it will be immediately be picked up
c. when a device is removed or gets the attribute "hidden" (legacy), the device will be removed from matterbridge
the adapter also subscribes to the entity registry. It emits ALL entity registry data, whenever registry data is changed (visibility, conversation settings, add/remove of entity).
a. when the hidden state of an entity changes, it gets added or removed from matterbridge

Of course, this requires a lot of data to be transferred between matterbridge and home assistant, but otherwise I would not be able to add new devices.
Possible solution:

initially fetch ALL entities and apply include/exclude patterns
subscribe to known entities only (remove those from the subscription which change to hidden or get removed)
new entities or those who change from hidden to not-hidden, will only be picked up after restarting matterbridge

Maybe the entity registry and also the subscription of visible devices could be configurable by a flag (included with a warning when a high device count is reached)?

I'm not super familiar with the HA internals, my assumption/guess is that the entity registry would track all the new/changed/hidden entities?  If that's the case, I'm thinking watching the registry could handle any entity changes, then separately subscribe only to known entities.
That said, I'd be totally ok if some changes require restarting matterbridge.  I'm pretty used to this for HA discovery in general 😄

I have changed the behaviour in Version ^2.0.0 to:

load all entities once at startup
apply the pattern / domain matcher
load the entity-registry once for the included entities
subscribe for included entity-states only

Looks like it did the trick 👍

authors: antoniozh genehand t0bst4r


text:
Issue tin your scanner

hi How to fix this .You scanner do not works .
Traceback (most recent call last):
File "/home/ugiel/toxssin/toxssin.py", line 841, in
main()
File "/home/ugiel/toxssin/toxssin.py", line 701, in main
httpd.socket = ssl.wrap_socket (
File "/usr/lib/python3.10/ssl.py", line 1468, in wrap_socket
context.load_cert_chain(certfile, keyfile)
FileNotFoundError: [Errno 2] No such file or directory

I is any way to fix this bug .

@uskolor toxssin is not a scanner, it is a tool for post exploitation and it requires TLS certificates to start as explained in the description.

pl

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Update testnet-collator.md

an error has been made in the command docker pull ghcr.io/t3rn/t0rn-collator:v1.48.4-rc.0 .

Thanks @AlexSHuk for the PR! Good catch 💈
We already have a PR for fixing this issue here https://github.com/t3rn/t3rn/pull/1263 so I will close that one.
Don't hesitate to contribute next time you will spot an issue 🙏

source: gharchive/pull-request


text:
Add WebXR layers,  dom-overlay and hit-test specs to data

@tabatkins

https://github.com/immersive-web/layers
https://github.com/immersive-web/dom-overlays
https://github.com/immersive-web/hit-test

What do you want for the shortnames? Right now they're definitely too generic, so I suppose "webxr-layers", etc?

yes, you can prepend webxr
Thanks!

All done, give them 15-20 minutes to propagate into the database, then bikeshed update.

Is there a reason these aren't in the biblio folder?

Because they haven't been published anywhere that I draw biblio data from. Because Bikeshed knows about the specs for anchor data, it can synthesize biblio entries for them, but they won't show up in the spec-data/biblio/ files until they're published at W3C.

Aha, so they need to be FPWD'd. Gotcha.

authors: Manishearth cabanier tabatkins

repo: tabatkins/bikeshed-data

license: mit

license_source: bigquery


text:
Extract refresh support

Okay, that's better.

Hey @RussTheAerialist
This looks great, thanks for working on the extract refresh feature!
Is this safe to be used in production already? If not, do you have any ETA?
Thanks again!

Hi @ferkaz,  this feature is slated to be a future release of the Tableau Server.  It's not guaranteed in the next release, but should be there.  Oh, and now that I look at it, I forgot to tag them with the rest api version, so I need to go a new pull request for that!

Sounds good, thank you!

Hi all, I tried to run the file and got the error: "refresh_tasks.py: error: too few arguments"  when I called:
python samples\refresh_tasks.py -s "http://server.it" -u "my name" -S "Default"
Any idea? Thanks

Can you give us the full call stack that happens?  Also, which version of
TSC are you using?
-Russell
On September 27, 2017 at 2:37:43 AM, dungkr89 (notifications@github.com)
wrote:

Hi all, I tried to run the file and got the error: "refresh_tasks.py:
error: too few arguments" when I called:
python samples\refresh_tasks.py -s "http://server.it" -u "my name" -S
"Default"
Any idea? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tableau/server-client-python/pull/159#issuecomment-332466698,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFxVXJYyoeEBZyb6m_5VmdrfNeo8k1iks5smhdngaJpZM4MnWWX
.

@RussTheAerialist  Thank you for your reply, I'm using TSC0.5.1 and the error looks like that:

Oh! okay, I see what you mean.  So the refresh tasks sample has three "commands" built into it.  You can list all of the refresh tasks, you can run one of the refresh tasks, or you get information about the refresh task.  In your case, if you run it like the following, it should work:
python samples\refresh_tasks.py -s "http://server.it" -u "my name" -S "Default" list

list will output a list of tasks, and you can then call info with the id of the task to get more details about it.  Once you've identified which one you want to run, you can then use the run command to kick it off.

@RussTheAerialist Thank you, it works well, but I guest error401001: Signin Error, Error signing in to Tableau Server.
However I'm trying to write code to refresh a datasource on Tableau Server from a location file. It looks like use "Tableau Data Extract Command-Line Utility to refresh extract" to extract data. You have any suggest? Thank you

If you are getting a sign in error either you typed the password wrong, or you don't have access to the site you are trying to login to.  If you are logging into the default site, you don't need to specify it on the command line.  Try removing the -S "Default".

asdf

Thank you @RussTheAerialist, I have moved to other project so I havent seen for some days. I have just tested it and it work as your suggestion. It's very nice experience, thank you again ;)

repo: tableau/server-client-python


text:
[JSTC-5] Add flag for mapping table prefix to ENS subdomain in table creation

This pull request introduces a new flag that allows users to map a table's prefix to an existing Ethereum Name Service (ENS) subdomain when creating a table on the Tableland network.
Please note that this feature does not enable users to simultaneously register an ENS domain or subdomain. The wallet provided must already be the controller of an existing domain or subdomain in order to register a prefix with it.
Example usage:
> tableland create --ns myapp.foo.eth "id integer primary key, item text, count int" inventory

In this example, the command creates a table with the specified schema. Once the table is successfully created on the Tableland network, it registers the text record "inventory" to, for example, "Inventory_1_414" on the Tableland network, associating it with the specified ENS subdomain. In tableland, inventory.myapp.foo.eth will now refer to Inventory_1_414.

Just for clarification, this isn't adding any significant new underlying functionality to the ENS experiment, right? As in, the mapping from ens name to tableland still happens essentially on the client, and what gets sent to the validators is actually the tableland table names, correct? From the description here, it seems like something more deeply integrated into tableland?

Just for clarification, this isn't adding any significant new underlying functionality to the ENS experiment, right? As in, the mapping from ens name to tableland still happens essentially on the client, and what gets sent to the validators is actually the tableland table names, correct? From the description here, it seems like something more deeply integrated into tableland?

That is correct. This is simply a shortcut in the create command for what the namespace command already allows the user to do; tell ENS from the command line to update a text record value to reflect a given table name. (In this case, the table that the user is simultaneously creating)

Cool, last question: did we figure out a way to test this new functionality that doesn't require some crazy deploying ENS to local-tableland kinda backflips?

Cool, last question: did we figure out a way to test this new functionality that doesn't require some crazy deploying ENS to local-tableland kinda backflips?

The other option is mocking the ensjs functions. That is what I'm leaning toward. It's a hassle but not as much as the deploy ENS to local-tableland option.

Yeh let's go with mocks for now. It is the shortest path to at least some confidence that we aren't going to break things with subsequent PRs etc.

Yeh let's go with mocks for now. It is the shortest path to at least some confidence that we aren't going to break things with subsequent PRs etc.

Quick update on this:
Because of how the ENS library is set up, this is a little tough. Long story short, .mjs exports can't be directly stubbed/mocked? I have an idea for a workaround, but it's ugly. Stay tuned.
https://javascript.plainenglish.io/unit-testing-challenges-with-modular-javascript-patterns-22cc22397362

Alright, I've added some tests for the ENS stuff using mocks. This PR is ready for review.

authors: awmuncy carsonfarmer

repo: tablelandnetwork/js-tableland-cli


text:
manques dans les fichiers multi-pdf

Messieurs
Mes essais ont été fait avec le mode Tabula Lattice et une sélection manuelle complète de la page + repeat
Lorsque Tabula analyse un fichier pdf composé de plusieurs pages, tabula passe certaines pages et il est arrivé aussi que Tabula crée un doublon d'une page
Exemple Tabula f2n20162017
http://127.0.0.1:8080/pdf/91f55fad540d4cdc9e28d4321451273f215834b4
la page 43 et la page 75 sont manquantes
la page 126 et la page 127 sont un doublon
Le fichier contient 132 pages il y a trois erreurs
J'utilise tabula de la même façon sur d'autres fichiers similaires et en général tabula passe une ou deux pages
À part ce problème je trouve Tabula exceptionnellement efficace sur les fichiers de ce type, dommage qu'il reste ce type d'erreurs (omissions) que l'on peut réparer en cherchant les manques et en insérant manuellement les parties manquantes
Je pense que ces erreurs étant tellement minimes, vous devriez pouvoir apporter un remède et on aura alors un produit entièrement efficace

Hello @velotechnique, this sounds exactly like the bug that was fixed in #788. I can build for you a custom "beta" version of Tabula with the new fix. Then you can try your PDF and test if the problem is fixed.
Do you use Windows, Mac or Linux?

bonjour,
I use linux debian 9
Thanks a lot i have many files to test with this beta
I will talk to you about the new results if you are interested
Regards
On Fri, Feb 2, 2018 at 6:34 PM, Jeremy B. Merrill notifications@github.com
wrote:

Hello @velotechnique https://github.com/velotechnique, this sounds
exactly like the bug that was fixed in #788
https://github.com/tabulapdf/tabula/pull/788. I can build for you a
custom "beta" version of Tabula with the new fix. Then you can try your PDF
and test if the problem is fixed.
Do you use Windows, Mac or Linux?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tabulapdf/tabula/issues/780#issuecomment-362635364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHeuhfH00K7wsUpgA1BtqXL5OoLBjCv6ks5tQziQgaJpZM4ReZ3c
.

Okay, try this beta. https://www.dropbox.com/s/gzcjoxzgvoeztoy/tabula.jar?dl=0
Please tell me if it works or not.

authors: jeremybmerrill velotechnique

repo: tabulapdf/tabula


text:
BUG Crashes when trying to edit user BW

Editing user profiles works fine except editing information of user B.W. Trying to edit his profile the app reports an error.

UPDATE:Seemsv to be an issue with empty-email-field

was resolved in #146

authors: drjakob roschaefer


text:
[프로그래머스]없어진기록찾기

Coding Test Study Pull Request

문제 정보
문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/59042

문제 관련 알고리즘 or 자료구조

JOIN

해결 과정
작성 코드
SELECT B.ANIMAL_ID, B.NAME
FROM ANIMAL_INS AS A
RIGHT JOIN ANIMAL_OUTS AS B
ON A.ANIMAL_ID = B.ANIMAL_ID
WHERE A.ANIMAL_ID IS NULL
ORDER BY B.ANIMAL_ID

어려웠던 점

궁금한 점

기타

깔끔하네요! 고생하셨습니다 :)

authors: Kimyungi yoosoobin


text:
feat(core): support using native scrollbar

Fixes #1525

@waterplea Hello, could you review me?

repo: taiga-family/taiga-ui


text:
Example code

I think this crate would benefit from example code in the documentation that shows intended usage and demonstrates the benefit over working with std::time types directly.

Thanks!

authors: dtolnay taiki-e

repo: taiki-e/easytime


text:
pool request for an contributer

.github/workflows/eventindexer.yml

I truly appreciate your contribution, but this PR is too big :)

authors: dantaik rajpalpagare

repo: taikoxyz/taiko-mono


text:
Handle possible list types for batched data_loader implementation of @grpc

In some cases batched request could be resolved to multiple values for every entry of the batched parent value. The logic is already implemented for the @http dataloader depending on the type of the field. See https://github.com/tailcallhq/tailcall/blob/23a56b4a980ad0df84cfb7c4b7d19467dccc2e9d/src/core/http/data_loader.rs#L45-L49 for reference.
Implement support for list types for the @grpc batched request

/bounty $100

/attempt #2891

authors: meskill ssddOnTop tusharmath

repo: tailcallhq/tailcall


text:
If "As Instance" is checked the instances are not exported

if this checkbox in geometry info is ticked the exporter does not export the instances
there's no bin file and here's the gltf
{
    "asset" : {
        "generator" : "Khronos glTF Blender I/O v3.3.32",
        "version" : "2.0"
    },
    "scene" : 0,
    "scenes" : [
        {
            "name" : "Scene",
            "nodes" : [
                0
            ]
        }
    ],
    "nodes" : [
        {
            "name" : "Plane"
        }
    ]
}

is this correct behavior ? or a bug ?

Did you check "Apply Modifier" checkbox in the exporter settings?
https://github.com/takahirox/glTF-Blender-IO-EXT-mesh-gpu-instancing#how-to-use

yes , if i keep this checkbox off it exports correctly

Thanks for the response. And I confirmed the problem.
Probably these lines are suspicious...
https://github.com/takahirox/glTF-Blender-IO-EXT-mesh-gpu-instancing/blob/5ae881c067310abff2f3dd70f21f1c579d6eeb4c/__init__.py#L51-L52
Let me take a look.

@optimus007
Honestly I'm not so familiar with Blender and Geometry nodes. What is the purpose of checking "As instances" in your example?

Made a PR #5 that can resolve your case. But honestly I'm not sure it is an appropriate way so we may need to investigate more before merging tho.

I'm also not exactly sure about it's use case
the blender docs for it is not helpful
things i noticed
When its "off"

if i do Ctrl+A > Make Instances Real
It converts all the toruses into separate meshes and these meshes also have the same geometry node modifier which might result in a crash
(eg if i have 100 boxes instances and i do Make Instances Real the 100 boxes will become separate meshes and each box will again make its own 100 boxes , so too much boxes  )

When its "on"

if i do Ctrl+A > Make Instances Real
All the instances become separate meshes(geometry is shared) and they do not have the geometry nodes modifier on them and i can hide the original geometry nodes mesh and export these duplicate meshes as a generic gltf


text:
When autoscend is installed via git checkout this script errors on on svn update

Just an FYI.  If autoscend, or any of the, github hosted, dependencies of ttpack are installed via git checkout then running svn update on ttpack errors out.
For now I've commented out the autoscend entry in my copy of dependencies.txt.

Oh, thank you. I haven't looked at it in a while. Nice to see they finally implemented the git checkout.

fixed.
thank you for the notification.
I added a manifest so it will now install correctly using
git checkout https://github.com/taltamir/ttpack.git

and also I cleared all git dependencies from this project. instead instructing the user to manually install them as necessary.
You should make sure to use svn delete ttpack and on any dependency this broke. as well as git delete. then reinstall them. Sorry about the mess there, hopefully the transition from svn checkout to git checkout doesn't have any more bumps along the way

authors: magus-prime taltamir

repo: taltamir/ttpack


text:
Schema with typeDescriptor required=false fails.

When defining "required: false" on a validation object, validation fails when it should pass. This pull request fixes that.
e.g. Before, the following was invalid, when I was expecting it to be valid:
const User = attributes({
  friends: {
    type: Array,
    itemType: Number,
    required: false
})(class User {})

const user = new User()
const { valid, errors } = user.validate()

// valid === false
// I expect valid === true here.

Closed in favor of https://github.com/talyssonoc/structure/pull/79

authors: loweoj talyssonoc

repo: talyssonoc/structure


text:
Fix code scanning alert no. 27: Uncontrolled data used in path expression

Fixes https://github.com/tamacat-cloud/tamacat2/security/code-scanning/27
To fix the problem, we need to ensure that the path provided by the user does not lead to directory traversal or access to unauthorized files. This can be achieved by normalizing the path and ensuring it remains within the intended directory.

Normalize the path to remove any redundant elements like ".." or ".".
Ensure that the resulting path is still within the docsRoot directory.
Reject any paths that do not meet these criteria.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

merge


text:
perf(sheet): avoid unnecessary rendering on keyboard chanage

In https://github.com/tamagui/tamagui/pull/2873, I changed Dimensions.get('window').height to Dimensions.get('screen').height to fix the issue of incorrect sheet maxContentSize on Android. Since the screen height doesn’t change when the keyboard appears, it is no longer necessary to listen for keyboard changes here. Additionally, as the sheet component re-renders when the keyboard changes—including all sheet components in the page stack—removing useKeyboardVisible improves performance, especially in complex forms with many sheet components.

I think we'll need to adjust this for web to use window but native use screen, but i can follow with that.

authors: LiZhequ natew

repo: tamagui/tamagui


text:
document blend-order

https://github.com/tangrams/tangram/pull/223

it's blend_order -_-

repo: tangrams/tangram-docs


text:
Large notes do not display all content until clicked

If you make a very long note, it only displays the first thousand or so characters until you click on the editor, then the rest appears.

Hi @taniarascia, I was just trying to replicate this bug and I realized I was pasting in a new line before the actual note. Is it possible you made the same mistake? I'm not seeing this bug when I get rid of the new line I pasted in. The notes in the picture below all have over 4,000 characters.
Please let me know if I'm misunderstanding this issue, I haven't contributed to open source before and I'm looking for ways to help.

Hi! That’s a good point, and a new bug! This bug is that the note itself seems to only display partial content if very long if you try to scroll without clicking on it. The other bug is that the title won’t display if you start the note with a new line, thanks for informing me of that!

editor.refresh() fixes this, but I need to figure out how to do it after a new note gets loaded.

authors: AM-Myrick taniarascia

repo: taniarascia/takenote


text:
Update julia versions

Update julia versions 0.5.2 and 0.6.0-rc1

Thanks!

authors: nkottary tanmaykm

repo: tanmaykm/JuliaDockerImages


text:
Setup Project

Issue: GH-1
Set up project

src
example

#1

repo: tantaraio/tantara


text:
undo hunk stage

Describe the solution you'd like
Add option to unstage a hunk
buffer_hunk_unstage

I need this too

Any UI ideas on how you want this implemented?

Simply function/keymap would do. So we can toggle Stage/Unstage

How would you know you are currently on a staged hunk? There is no visual indicator on the main buffer to determine it. The gutter signs only show diff against index.
One idea I had was to add this functionality inside buffer_diff_staged_preview which shows all the hunks that you staged. Thoughts?

I am ok with a new function of buffer_diff_staged_preview (quickfix).   But it would be more natural to jump between the hunks (staged and non-staged) and toggle the stage.
In lots of cases, it is a one time thing. I incidentally staged something and would like to undo the stage.

@tanvirtin: Sorry for being rude. But I have been waiting for 3 months about the fix of this.

authors: nyngwang ray-x tanvirtin


text:
Add CI tests for Android

We'd appreciate a PR to add CI tests for Android. Ideally, we are looking for a maintainer that also takes care of maintenance of those jobs and Android support in general.

@d-frey Hi, I didn't see that you are need help for android ....
I can help and also maintain this .... I have a quite good knowledge about android NDK cmake builds ... (see also my bug report in android NDK and cmake ;-) )
For travis in the past I downloaded for every build the android SDK/NDK, you already know I think. I working for a solution to have a already setup docker with the newest SDK/NDK.
Give me some time, I will create a pull request if I'm done with that. We can also talk togheter at the next C++ meetup :-)

Thanks Jörg, I know you are well capable of helping out with the Android builds as you already helped setting them up in the past :) Just for the record: I wasn't unhappy with them, the build speed wasn't the issue why I removed them - of course any improvement is welcome in that area. But the reason for the removal was the switch to C++17 and I couldn't figure out how to update to a new-enough version of Android that has a compiler and standard library version that supports all the C++17 stuff we need.
I'm looking forward to seeing a PR from you and, of course, seeing you in Düsseldorf again! If you are interested and your time permits, we'd be more than happy to make you the official taocpp Android maintainer :)

Oh, and we are still maintaining the 2.x branch for now that is C++11-based. I think the problem there was the switch to xenial that TravisCI? I don't remember exactly, put a PR there would also be welcome if you have time :)

Oh, and we are still maintaining the 2.x branch for now that is C++11-based. I think the problem there was the switch to xenial that TravisCI? I don't remember exactly, put a PR there would also be welcome if you have time :)

Ok, I will do this. Give me somedays, then I create a PR ....
BTW. it compiles for Android NDK r17 / API 24 / arm64-v8a / Clang / c++14 support / libc++ static :-)

Some WIP information ... first working android test build  :-)....

First version are done #178

authors: Bjoe d-frey

repo: taocpp/PEGTL


text:
Pods multi-namespace testing

Now that Files is not required I can test multi-namespace and find issues.

Multi-namespace nfs and deployments look good right now.


text:
feat!: add vector length check and improve slicing

Currently, inner-product vectors are split in half using pairs of slices. Further, the consistency of vector lengths is checked initially, but not on each round, which relies on the caller to keep the vectors intact.
This PR makes three improvements. First, it replaces each slice pair with a split, which reduces the likelihood of error and communicates the intent more clearly. Second, it limits the visibility of the round function to help guard against misuse. Finally, it adds a vector length consistency check to each round function as an internal assertion that the splits cannot panic.
Closes #55.
BREAKING CHANGE: Because this makes a function non-public, it is technically a breaking change. However, there were no known use cases for this, meaning the change should be non-breaking in practice.

This should be tested against the tari-crypto repository to ensure the visibility changes have no unintended side effects.

Something went wonky and is holding up tests and benchmarks. Marking as draft until I figure out what went wrong.

Superseded by #57.

repo: tari-project/bulletproofs-plus


text:
Installation failed when used in an empty debian VM

I'm trying to easily install the platform in a debian Github Codespace (https://github.com/features/codespaces).
The platform installer is not working as expected. When running it, it fails with the following error message:
@TheLortex ➜ /workspaces/ocaml-codespace (main) $ sudo bash < <(curl -L https://github.com/tarides/ocaml-platform-installer/releases/latest/download/installer.sh)
[...]
=> Install into /usr/local/bin
Installation is done. Please run 'ocaml-platform' to install the Platform tools inside your set switch.
@TheLortex ➜ /workspaces/ocaml-codespace (main) $ ocaml-platform
ocaml-platform: [ERROR] Command 'opam show ocaml -f installed-version --normalise --yes -q
           --color=never --root /home/codespace/.opam' failed: exited with 50

When running the opam command manually I get [ERROR] Opam has not been initialised, please run 'opam init'

The root cause is an error during opam init, which is not reported properly: https://github.com/tarides/ocaml-platform-installer/pull/79
With this patch, I now get:
ocaml-platform: [DEBUG] Running: 'opam' 'init' '--yes' '-q' '--color=never' '--root' '/root/.opam'
ocaml-platform: [DEBUG] Error in execution:
# bwrap: Creating new namespace failed: Operation not permitted
### output ###
# output-file          /tmp/opam-xxx-11/ocaml-system-11-8b8a2d.out
# env-file             /tmp/opam-xxx-11/ocaml-system-11-8b8a2d.env
# exit-code            1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml
# path                 ~/.opam/default/.opam-switch/build/ocaml-system.4.11.1
# context              2.0.8 | linux/x86_64 |  | https://opam.ocaml.org#6447b747
#=== ERROR while compiling ocaml-system.4.11.1 ================================#

[ERROR] The compilation of ocaml-system failed at "/root/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml".
[NOTE] Will configure from built-in defaults.
[WARNING] Running as root is not recommended
ocaml-platform: [ERROR] Command 'opam init --yes -q --color=never --root /root/.opam' failed: exited with 31

As a workaround for now, you can init opam manually with opam init --disable-sandboxing and run ocaml-platform again.

authors: Julow TheLortex

repo: tarides/ocaml-platform-installer

license: ISC


text:
Timezone not correct

In the func parseGermanTime a static timezone is used. This causes wrong display time in calendar.
https://github.com/taskmedia/nuScrape/blob/c1e034acc652cc074284e9191569df0ddfb6b6c5/pkg/parser/gesamtspielplan.go#L206-L217

using time.LoadLocation as described in r/golang: How do you all deal with daylight savings time changes?

repo: taskmedia/nuScrape


text:
include version info in bulk indexing

Currently, any potential _version or _version_type field were not included in the _bulk indexing action meta, effectively not importing the documents in the exact state as they were dumped. This PR adds the field along the other document meta fields (i.e. ttl, routing, etc.).
PS: Let me know if I should add any extra tests, though I didn't find anything related for fields like e.g. ttl. I can also add a small example on how to dump documents with the _version field and then import them by picking a version_type through using the --transform option.

leaning towards making these options. passing in via params. The thing is, not everyone want the version/version_type to be exported.

Exporting the version has to be done explicitly via adding e.g. --params='{"version" : true}'. The problem was the loading part which was done via something like --transform='doc._version_type="external_gte"'.
I'm not sure if adding these as standard options is the right choice, as there might be more cases I'm not aware of, which I hope are already possible via some combination of --params/--transform.
Here's an example of dump/restore commands:
# Dump
elasticdump \
    --params='{"version" : true}' \
    --input=https://localhost:9200/some-index \
    --output=some-index.json

# Restore (this one requires this PR to actually work)
elasticdump \
    --transform='doc._version_type="external_gte"' \
    --input=some-index.json \
    --output=http://localhost:9200/some-index

What i meant was adding an additional option.
elasticdump \
    --transform='doc._version_type="external_gte"' \
   --parseExtraFileds='version,version_type'
    --input=some-index.json \
    --output=http://localhost:9200/some-index

This way if someone wants to export a new meta-property we don't have to create a new release.

closed by #478

authors: ferronrsmith slint

repo: taskrabbit/elasticsearch-dump


text:
Showing zero results on bing

My Code:
from search_engines import Bing
engine = Bing()
results = engine.search("lums")
links = results.links()
print(links)
# Searching Bing
# []

I am getting links with zero length, whatever I search.

Yes, I'm getting no results too. They probably made some updates in their HTML/API. Thanks for letting me know, I'll fix it as soon as possible.

Actually, they didn't make any updates, they just stopped supporting our User-Agent. So, all I had to do was change the FAKE_USER_AGENT string and now it works.

Is there any way to change FAKE_USER_AGENT in the loop without changing it directly from the source code?

What loop do you mean? If you want to change the User-Agent per request (although I don't see why you would do that) you could probably do it by overriding the SearchEngine._get_page() method. If you want to change the User-Agent of an engine, use .set_headers(). Is this what you mean?

Yes, that's what I was looking for. Thanks

Each time I run, I add 1 to the number variable, which resolved the zero results issue permanently.
number=number+1
engine.set_headers({'User-Agent':f"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/{number}.36 (KHTML, like Gecko) Chrome/41.0.2227.0 Safari/{number}.36"})

authors: MShirazAhmad tasos-py

repo: tasos-py/Search-Engines-Scraper


text:
feat(generated)!: stop generating service names with duplicate Servic…

…e suffix
Fixes #104
Consider this PR a draft. I'll round out any edge cases.

Awesome thanks for opening this. A few remaining steps:
Could you run yarn regen? This will update the examples and jest snap shot files.
I think you'll need to update the examples.
Could you also update the examples in the README.md?

@tatethurston Will do and then I'll tag you again.

Implemented in #125

authors: arranf tatethurston

repo: tatethurston/TwirpScript


text:
🛑 Lavalink is down

In 1c90b35, Lavalink (https://lava.chirailava.tk/metrics) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lavalink is back up in c4546f6.

repo: tathaha/bruhuptime


text:
Compiling with beam-0.7.2.2 fails

Looks like some API changes causeing compile error.
    Configuring beam-mysql-0.1.0.0...
    Preprocessing library for beam-mysql-0.1.0.0..
    Building library for beam-mysql-0.1.0.0..
    [2 of 4] Compiling Database.Beam.MySQL.Syntax ( Database/Beam/MySQL/Syntax.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-2.2.0.1/build/Database/Beam/MySQL/Syntax.o )

    .stack-work/downloaded/j6hLIMXda_k-/beam-mysql-1c267d7b612ceb5cf2305a5050e0f2a68b3f281b/Database/Beam/MySQL/Syntax.hs:149:7: error:
        • Couldn't match expected type ‘Maybe
                                          (Sql92DeleteExpressionSyntax MysqlDeleteSyntax)
                                        -> MysqlDeleteSyntax’
                      with actual type ‘MysqlDeleteSyntax’
        • In the expression:
            MysqlDeleteSyntax
              $ emit "DELETE FROM "
                  <>
                    mysqlIdentifier tbl
                      <>
                        maybe
                          mempty
                          (\ where' -> emit " WHERE " <> fromMysqlExpression where')
                          where_
          In an equation for ‘deleteStmt’:
              deleteStmt tbl where_
                = MysqlDeleteSyntax
                    $ emit "DELETE FROM "
                        <>
                          mysqlIdentifier tbl
                            <>
                              maybe
                                mempty
                                (\ where' -> emit " WHERE " <> fromMysqlExpression where')
                                where_
          In the instance declaration for
            ‘IsSql92DeleteSyntax MysqlDeleteSyntax’
        |
    149 |       MysqlDeleteSyntax $
        |       ^^^^^^^^^^^^^^^^^^^...

    .stack-work/downloaded/j6hLIMXda_k-/beam-mysql-1c267d7b612ceb5cf2305a5050e0f2a68b3f281b/Database/Beam/MySQL/Syntax.hs:151:78: error:
        • Couldn't match type ‘Text’ with ‘MysqlExpressionSyntax’
          Expected type: Maybe MysqlExpressionSyntax
            Actual type: Maybe Text
        • In the third argument of ‘maybe’, namely ‘where_’
          In the second argument of ‘(<>)’, namely
            ‘maybe
               mempty
               (\ where' -> emit " WHERE " <> fromMysqlExpression where')
               where_’
          In the second argument of ‘(<>)’, namely
            ‘mysqlIdentifier tbl
               <>
                 maybe
                   mempty
                   (\ where' -> emit " WHERE " <> fromMysqlExpression where')
                   where_’
        |
    151 |       maybe mempty (\where' -> emit " WHERE " <> fromMysqlExpression where') where_
        |                                                                              ^^^^^^

Good call... Will fix

authors: tathougies tshinohara

repo: tathougies/beam-mysql


text:
How to specify openssl and libevent-openssl in other dir?

I got libevent-openssl and openssl 1.0.1 in other dirs, how to do configure, it always failed to build.

If you are building libevent > 2.1, you should check your ${source}/m4/libevent_openssl.m4
Use OPENSSL_INCS instead of OPENSSL_CFLAGS.

authors: lubatang nutinshell

repo: tatsuhiro-t/spdylay


text:
Input stream line position and read term start and end lines

As a future enhancement, it would be quite useful if we could call the stream_property/2 predicate to get the current line and if the read_term/3 predicate could support an option to get the term start and ending lines. In my particular case, Logtalk uses these features to pinpoint warnings and errors when compiling a file. When we use the sandbox in the Tau Prolog website, warnings and errors tell us the source file line number. Thus, I assume the some of the necessary bits to support these features are already present internally?

Yes, currently the tokens store that information. What is the convention for this property? For the same stream, SWI-Prolog gives me '$stream_position'(57,1,57,57) and GNU Prolog '$stream_position'(57,57,0,57).

From the ISO Prolog standard perspective, the position/1 property value is not specified. You can regard it as an opaque term and then have a small set of predicates to access the information in there. This works well and enables changing position information without breaking existing code. On the other hand, there's not that much to tell about a stream position. We have line numbers and possibly column numbers for text streams. Thus, you can always go with a simple term like position(Line,column) for the stream_property/2 predicate position/1 property. For read_term/3, ideally we have not just the start position or the end position of the term but both.

Btw, you can look inside the logtalk3/adapters files and see how different Prolog systems do it (search the files for the predicates '$lgt_stream_current_line_number' and '$lgt_read_term'.

Added stream_position_data/3 built-in predicate.
stream_position_data(?Field, +Pos, -Data). Field is one of line_count, line_position or char_count.

There seems to be an initialization bug when reading the first term from a stream:
.../node_modules/tau-prolog/modules/core.js:7848
					if(last_token.line_position === last_token.len)
					              ^

TypeError: Cannot read property 'line_position' of null
    at read_term/3 (.../node_modules/tau-prolog/modules/core.js:7848:20)

Thanks. Fixed!

Looking into the implementation of the read_term/3 predicate, it seems like all the necessary bits to support a term_position(Position) option are there. This option would return the same opaque term  returned by the stream_property(Stream, position(Position)). Worthwhile if Position would be the start of the term not counting any whitespace or comments that precede it (something that is not possible by calling the stream_property/2 predicate).

authors: jariazavalverde pmoura

repo: tau-prolog/tau-prolog


text:
[store] Where are files stored for store plugin? Persistence works weird.

I tried to use tauri-plugin-store.
Data persist for page reload, but is lost after restarting.
However, if I compile the app and run it, the data persistence work.
Where are the data files stored on disk? I would like to manually debug this. Couldn't find the answer in the plugin's source code.

It uses this function to get the path: https://docs.rs/tauri/1.2.3/tauri/api/path/fn.app_dir.html (click on the config_dir link to see path examples)

@FabianLars Hi, thanks! I found the store files. It's under Library/Application Support.
But I still cannot persist data in dev mode. A production build works. In dev mode, no file is created at all, and data is lost after restart.
Is this behaviour expected? Or is there a way I can solve it.

No this behavior is not expected and wasn't reported before as far as i know.
But it can make sense to an extend. Maybe it doesn't have a change to save the file when the app is killed in dev. Did you try manually saving the store with store.save() once in a while?

No this behavior is not expected and wasn't reported before as far as i know.
But it can make sense to an extend. Maybe it doesn't have a change to save the file when the app is killed in dev. Did you try manually saving the store with store.save() once in a while?

No I didn't run save. Didn't see this method in README. Is this documented somewhere? Is there an official docs for the plugins?
Thanks!

Not yet no, but that's part of the reason we merged all the plugins into one repo. Until we have the docs set up you can check the js source which at least have doc comments: https://github.com/tauri-apps/plugins-workspace/blob/dev/plugins/store/guest-js/index.ts

Thanks! @FabianLars
I got the problem fixed by running .save() on each update.

authors: FabianLars HuakunShen

repo: tauri-apps/plugins-workspace


text:
[bug] cargo's terminal output overflows

Describe the bug
Tested in cmd and powershell, both inside and outside of the MS Terminal app.

Reproduction

run cargo clean in your src-tauri dir.
run tauri dev

Expected behavior
No response
Platform and versions
Environment
  › OS: Windows 10.0.19044 X64
  › Webview2: 100.0.1185.50
  › MSVC:
      - Visual Studio Build Tools 2022
  › Node.js: 16.15.0
  › npm: 8.5.5
  › pnpm: 6.32.10
  › yarn: 1.22.18
  › rustup: 1.24.3
  › rustc: 1.60.0
  › cargo: 1.60.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.9
  › @tauri-apps/api [NPM]: 1.0.0-rc.4
  › tauri [RUST]: 1.0.0-rc.6,
  › tauri-build [RUST]: 1.0.0-rc.5,
  › tao [RUST]: 0.7.0,
  › wry [RUST]: 0.14.0,

App
  › build-type: bundle
  › CSP: default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  › distDir: ../dist
  › devPath: ../dist

App directory structure
  ├─ dist
  ├─ node_modules
  └─ src-tauri

Stack trace
No response
Additional context
No response

It looks like it isn't clearing the line properly to show the Building [==============] ... line. I'm not sure if that's the actual problem though.

https://github.com/rust-lang/cargo/issues/9155

When running cargo with output not going to a TTY, and with the progress bar and color force-enabled, the output will now correctly clear the progress line (part of the Cargo 1.52 changelog)

okay then i guess it's not that cargo issue then since i'm on 1.60 🤔

You can see it's not a Cargo issue by running this:
 $env:CARGO_TERM_PROGRESS_WIDTH=100
 $env:CARGO_TERM_PROGRESS_WHEN='always'
cargo build --color always

something must be off on our processing

Got the error again lol let's see if i can fix it this time.

authors: FabianLars lucasfernog

repo: tauri-apps/tauri


text:
empty cell not correctly managed

Tested with 1.5.13:
A = cell(1);
save('empty_cell.mat', 'A', '-v7.3')

load with matio:
matvar_t * elementMatVar = Mat_VarGetCell(matVariable, (int)k);

elementMatVar->class_type with k = 0 returns: MAT_C_EMPTY and not MAT_C_DOUBLE (expected)
elementMatVar->data_type MAT_T_UNKNOWN
same code with a value works:
A = {1} // or  A = {[]}
save('cell.mat', 'A', '-v7.3')

Is this only the case for v7.3 MAT-files or can you also reproduce when saved with -v6 or -v7?

same problem with v6 or v7

save using matio works but not an original .mat file

Can you please attach all three file here. Thanks.

>> A = cell(1);
>> B = {[]};
>> isequal(A, B)

ans =

     1
>> whos
  Name      Size                    Bytes  Class

  A         1x1                         4  cell array
  B         1x1                        60  cell array
  ans       1x1                         1  logical array

Though the two variable are equal, they are not. The difference is in the size. Variable A is en empty cell, variable B is a cell containing an empty array (of type double). This is also what matdump reports:
$ matdump -f whos -d empty_cell.mat
Name                       Size           Bytes          Class

A                          1x1                   4  mxCELL_CLASS
B                          1x1                  60  mxCELL_CLASS

$ matdump.exe empty_cell.mat A
      Name: A
      Rank: 2
Class Type: Cell Array
{
    Empty
}

$ matdump.exe empty_cell.mat B
      Name: B
      Rank: 2
Class Type: Cell Array
{
}

For variable A there simply is no data type information available. That is why you get MAT_T_UNKNOWN. Changing it to MAT_T_DOUBLE by default doe not seem straight.

But I have to admit that this kind of empty variable is not yet covered by the test. In matio_test_cases.m we have the following cases for empty cells
%% Cell-Array Variables
var51 = {}; // or var51 = cell(0);
var52 = {[] single([]) int64([]) uint64([]) int32([]) uint32([]) int16([]) uint16([]) int8([]) uint8([])};

authors: Nelson-numerical-software tbeu

repo: tbeu/matio


text:
🛑 RocketChat is down

In df89f0a, RocketChat (https://rocket.etna.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RocketChat is back up in 9ecfbae.

repo: tbobm/etna-uptime


text:
Add ability to specify new global default for buildir

I'd like to have the ability to set the build directory name (currently, "build") to a different default, globally.
I usually use a more visibly different directory for builds, such as "#build", so that it doesn't look like a normal repository directory. This is especially problematic for me with the "build" default, which I use commonly in repositories for build scripts.
I know that it can be set on a per configuration basis via xmake config -o "#build", but that means that I have to use that construction instead of just using xmake every time I reconfigure the build. So, I'd like to change the default value, globally. I envision something like xmake global --buildir=#build.
Alternatively, being able to set it within the "xmake.lua" script, being over-ridden by a command line directive such as xmake config -o "other_build_dir" would also be a usable alternative. I can almost accomplish this using:
local build_dir = "#build"
set_targetdir( build_dir.."/bin" )
set_objectdir( build_dir.."/obj" )
set headerdir( build_dir.."/include" )
-- .deps location is not settable

but it is tedious, error-prone, currently not completely working, and, I believe, overrides user preference (when specifying -o alt_build_dir).

I have added set_config() api to set the default configuration in xmake.lua.
set_config("buildir", "#build")

And we can still override the default build directory manually.
$ xmake f -o #build

You can update master version or download https://github.com/tboox/xmake/releases/download/v2.2.1/xmake-v2.2.2-dev.exe and try it again.

👍
I'll give it some initial attention tomorrow.
Thanks for the rapid response!

It looks good from my local testing.
Both in-script use and command line override work correctly.
Thanks!

authors: rivy waruqi

repo: tboox/xmake


text:
Question about "edge noise"

Hi Prof. Warburton!
I am a graduate student at Harvard University working towards my PhD in astrophysics. I have really enjoyed your nodal DG book, and I've been trying to implement the codes in it, using both the book and this repo. I've run into a bit of a snag, however, and I'm not sure what might cause this issue. I thought you might have some insight to share.
I've already checked for obvious bugs in my code, printing out matrices and such and comparing them to the output from yours (using Octave instead of MATLAB for now). So far, everything seems consistent. When I run my code on a simplified version of my target problem, I get a lot of noise at the cell edges, such as the plots I've chosen below. I'm showing both the 2-dimensional view and a slice at y = 0; the variable in both cases is the x-velocity in the Euler equations. You can see that the amplitude of the noise is quite small, but that is a bit misleading -- this particular frame is captured after an absurdly small timestep. In reality, I expect to take timesteps on the order of 5-6 orders of magnitude greater than this, and the noise only grows over time.

This simulation used just 2 cells, and the noise clearly follows the edge of the cell. There should be no shocks in this system, and the solution is expected to be quite smooth. I've pushed filtering to the maximum I can, and it helps a bit, but the noise always comes back through after just a couple of timesteps. I've been debugging for about a week and am really at a loss. Is this a feature inherent to DG-FEM? Is there a workaround? Or a debugging step I could try?
Thanks in advance for your time,
Ellen Price

Hi - unfortunately I only just saw your issue post. I am missing some information:

what is your PDE ?
what are you boundary conditions ?
what form of DG are you using ?
what is your time integrator ?

TW

authors: emprice tcew

repo: tcew/nodal-dg


text:
compile windows x-64 for java fails, how to set DTd_DIR and DCMAKE_INSTALL_PREFIX?

cmake -A x64 -DCMAKE_INSTALL_PREFIX:PATH=../../../tdlib -DCMAKE_TOOLCHAIN_FILE:FILEPATH=../../../vcpkg/scripts/buildsystems/vcpkg.cmake -DTd_DIR:PATH=$(Resolve-Path ../td/lib/cmake/Td) ..
When I execute this, it shows

Are you trying to use cmd instead of PowerShell?

authors: levlam lmcmceo

repo: tdlib/td


text:
val url = URL(MY_URL_EN)
val urlConnection: HttpsURLConnection = url.openConnection() as HttpsURLConnection
...
// Sets acceptable encodings in the request header.
urlConnection.setRequestProperty("Accept-Encoding", "identity")

@Facebook203

/**

Copyright Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// [START apps_script_logging_execution_time]
/**

Logs the time taken to execute 'myFunction'.
*/
function measuringExecutionTime() {
// A simple INFO log message, using sprintf() formatting.
console.info('Timing the %s function (%d arguments)', 'myFunction', 1);

// Log a JSON object at a DEBUG level. The log is labeled
// with the message string in the log viewer, and the JSON content
// is displayed in the expanded log structure under "jsonPayload".
const parameters = {
isValid: true,
content: 'some string',
timestamp: new Date()
};
console.log({message: 'Function Input', initialData: parameters});
const label = 'myFunction() time'; // Labels the timing log entry.
console.time(label); // Starts the timer.
try {
myFunction(parameters); // Function to time.
} catch (e) {
// Logs an ERROR message.
console.error('myFunction() yielded an error: ' + e);
}
console.timeEnd(label); // Stops the timer, logs execution duration.
}
// [END apps_script_logging_execution_time]
// [START apps_script_logging_sheet_information]
/**

Logs Google Sheet information.
@param {number} rowNumber The spreadsheet row number.
@param {string} email The email to send with the row data.
*/
function emailDataRow(rowNumber, email) {
console.log('Emailing data row ' + rowNumber + ' to ' + email);
try {
const sheet = SpreadsheetApp.getActiveSheet();
const data = sheet.getDataRange().getValues();
const rowData = data[rowNumber - 1].join(' ');
console.log('Row ' + rowNumber + ' data: ' + rowData);
MailApp.sendEmail(email, 'Data in row ' + rowNumber, rowData);
} catch (err) {
// TODO (developer) - Handle exception
console.log('Failed with error %s', err.message);
}
}
// [END apps_script_logging_sheet_information]


text:
🛑 send.zcyph.cc is down

In 462239d, send.zcyph.cc (https://send.zcyph.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: send.zcyph.cc is back up in 0675110 after 28 minutes.

repo: tdulcet/send-instances-status


text:
shopeego.GetOrderDetailsResponse.Orders接口报错

panic: shopeego.GetOrderDetailsResponse.Orders: []shopeego.GetOrderDetailsResponseOrder: shopeego.GetOrderDetailsResponseOrder.ActualShippingCost: readNumberAsString: invalid number, error found in #10 byte of ...|ng_cost":"","estimat|..., bigger context ...|ss":"24****************"},"actual_shipping_cost":""
,"estimated_shipping_fee":"120","escrow_tax":"0",|...

這個錯誤有時間方便修復一下

有發生錯誤的 Trace Stack 函式呼叫路徑可以看嗎？看起來是 jsoniter "github.com/json-iterator/go" 出問題
如果你可以修改原始碼，將 shopeego.json 的 L18 行改回原生的 encoding/json 也許可以修復…？

encoding/json

如果使用原生的encodeing/json会提示panic: json: invalid use of ,string struct tag, trying to unmarshal "" into float64

感覺又跟 GetOrderDetails方法解析JSON失败 #6 問題有關，
在你的問題裡，看起來回應的 actual_shipping_cost 欄位是 ""，
但照理來說他應該要被 patchFloat 修正成 "0" 避免 Golang 解析型態出錯，
因為這個關鍵字已經被加到 replaces.go 清單有一段時間了
可能要請你確認一下 patchFloat 那段在你的程式裡有沒有正常執行

func (s *ShopeeClient) patchFloat(body []byte) []byte {
	log.Println(string(body))
	replaceConcat := strings.Join(replaces, "|")
	for _, v := range replaces {
		body = []byte(strings.ReplaceAll(string(body), fmt.Sprintf(`"%s": ""`, v), fmt.Sprintf(`"%s": "0"`, v)))
	}
	log.Println("----------------------------------------------------------------")
	log.Println(string(body))
	var r = regexp.MustCompile(fmt.Sprintf(`"(%s)": ([^"].*?)(,|})`, replaceConcat))
	return []byte(r.ReplaceAllString(string(body), `"$1": "$2"$3`))
}

有被正常执行了, 我打印了log日志, 被替换后"actual_shipping_cost":""

现在返回json字符串里面没用空格了, 我把fmt.Sprintf("%s":"", v)的空格去掉了, actual_shipping_cost匹配的"0", 但是依旧报错, 我猜测可能不止这一个字段

现在返回json字符串里面没用空格了, 我把fmt.Sprintf("%s":"", v)的空格去掉了, actual_shipping_cost匹配的"0", 但是依旧报错, 我猜测可能不止这一个字段

Thanks @pylist,
I have found that Shopee API is changed, the serialized json raw is currently removed all of space of "key": "value" to "key":"value" by Shopee.
PR #14 is temporary solution for fix the regexp.
Maybe later we can match with json included <space> and non <space>.

合併了 https://github.com/teacat/shopeego/pull/14 到 v1.3.3 版本，
基本上是 @hpcslag 完成了 @pylist 的作法，
但 @pylist 表示還是一樣有問題 🤔？

去掉Weight的string标签暂时能够跑起来, 这个项目要放弃维护了嘛! 定义了太多struct, 虽然使用起来方便了一些, 但是也很多弊端

我先加上暫停維護，避免太多人掉入 Shopee 這恐怖的 API 坑，
但目前 @hpcslag 還有在使用，先前跟他聊過有機會的話他仍會繼續維護這個專案，
如果有要繼續維護的話，會跟他討論是不是要拿掉那個字樣 🤔

authors: YamiOdymel hpcslag pylist

repo: teacat/shopeego


text:
Iron Trapdoor Recipe Not Correct

Describe the bug
The recipe for Iron Trapdoors that is getting registered requires 4 iron trapdoors to make 8 iron trapdoors.

This screenshot is from the MoreIronTrapdoors class which shows that ingredient 'x' is getting set to Material.IRON_TRAPDOOR as opposed to Material.IRON_INGOT

Fixed with #140 will be included in v2.0.6

repo: teakivy/teaks-tweaks


text:
Return from a function after the first visited return statement

If a return statement is visited in a function block all further code will be exectued as well.

@MatthiasWagner : Please write a test case for this in worthwhile.interpreter.tests that can be used for reliably reproducing also regression testing the issue.

authors: MatthiasWagner jspam

repo: team-worthwhile/worthwhile


text:
privacy flags -  Form

gli attuali flag vanno eliminati;
inserire la seguente dicitura prima del bottone INVIA --> "Cliccando su INVIA dichiaro di aver letto e compreso l'informativa privacy"

non è presente alcuna indicazione nelle grafiche prodotte, deve essere un testo semplice sopra il button ? Nel caso facciamo un passaggio con Pietro Salamone per stili e gestioni grafiche

testo semplice sopra il button va bene

closed by #171

authors: Caracris78 danielaiozzo lollomag sebbalex


text:
[FX-1460] Insert ForageVaultElement into PIN class hierarchy

What (and Why)
ForageVaultElement is basically the union type ForagePinElement and ForagePinPad (pos repo). To realize this union type, we need to ensure that ForagePinElement subclasses ForageVaultElement.
The main complexity of this initiative came from ForageVaultElement being a generic class, so it requires knowing the shape of the state passed to on-change events, focus / blur, etc. We now have (or rather, need) three different states:

PanEditTextState
PinEditTextState
PinPadState (pos repo only)

The problem was that PinElementStateManager was not flexible enough to support a PinEditTextState and a PinPadState, and this meant we needed to re-home the state-tracking functionality into more atomic concepts such as FocusState and PinInputState; teasing out these separate concerns now gives us the flexibility we needed to support all three new states outlined above

Why
See above

Test Plan

✅ I've modified the tests suites as part of this PR.
❌ The reviewer does not need to manually test the changes in this PR; passing CI tests is sufficient.

Demo
N/A since it's just an implementation change

How
Can be rolled out once #266 is merged

#267  👈
#266
#265
#264
#256
#255
#254
#253
#252
main

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

Join @devinmorgan and the rest of your teammates on  Graphite

Merge activity

Jun 17, 11:45 AM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

repo: teamforage/forage-android-sdk


text:
feat: TEA_MAGIC=prompt

should close #552

Coverage: 77.613% (-0.3%) from 77.916% when pulling 44f9bbd26dd1ad7acce21d0ea9f755e070aab5b4 on lino-levan:feat-prompt into db549fad84333167afdc06c52258daca054b05fc on teaxyz:main.

authors: coveralls lino-levan

repo: teaxyz/cli


text:
Console "Could not find player with given username"

[20:20:45 WARN]: [BuycraftX] Plugin BuycraftX v12.0.6 generated an exception while executing task 1161262
net.buycraft.plugin.BuyCraftAPIException: Unable to find a player with that username
at net.buycraft.plugin.BuyCraftAPI$1.intercept(BuyCraftAPI.java:71) ~[?:?]
at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
at net.buycraft.plugin.BuyCraftAPI$2.intercept(BuyCraftAPI.java:53) ~[?:?]
at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) ~[?:?]
at net.buycraft.plugin.internal.okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) ~[?:?]
at net.buycraft.plugin.internal.okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254) ~[?:?]
at net.buycraft.plugin.internal.okhttp3.RealCall.execute(RealCall.java:92) ~[?:?]
at net.buycraft.plugin.internal.retrofit2.OkHttpCall.execute(OkHttpCall.java:186) ~[?:?]
at net.buycraft.plugin.bukkit.tasks.SendCheckoutLink.run(SendCheckoutLink.java:39) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Purpur-1123]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:58) ~[patched_1.16.5.jar:git-Purpur-1123]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Purpur-1123]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[20:20:45 INFO]: [ShopGUIPlus] vuksakng sold all 784 x Bone for $5,880 to

Hi there,
Thanks for taking the time to report this issue, I'm sorry it's been slow to get resolved — we're working on it!
Unfortunately, this issue is old enough that we've had to close it. But if you see any other issues (especially ones with the same or similar symptoms), please reply here and I'll look into getting them fixed.
We are currently planning a recode of the Buycraft plugin at some point in Q2 of this year, and we would love to know what issues still exist so they can be fixed for the new plugin.
Apologies for the issues you have faced!

authors: heychazza rentexgfx

repo: tebexio/BuycraftX


text:
./update-Script won't upgrade to the latest version (Versioncheck says 1.1.7-1 instead of 1.1.8)

Hello there,
I tried to upgrade to the latest version 1.1.8 of Rustdesk using the update script. The script itself ran without errors, but the hbbr and hbbs files still have version 1.1.7-1 when I did a version check afterwards (using the command /opt/rustdesk/hbb* --version).
Is anything possibly known about this?

The newest release is https://github.com/rustdesk/rustdesk-server/releases/tag/1.1.7-4, however I have downloaded it and dont think the version has been updated over at rustdesk.
If you want to verify do the following:
RDLATEST=$(curl https://api.github.com/repos/rustdesk/rustdesk-server/releases/latest -s | grep "tag_name"| awk '{print substr($2, 2, length($2)-3) }')

wget "https://github.com/rustdesk/rustdesk-server/releases/download/${RDLATEST}/rustdesk-server-linux-amd64.zip"

unzip rustdesk-server-linux-amd64.zip

cd amd64

./hbbs --version

repo: techahold/rustdeskinstall


text:
[scripts/enable-duckdb] Latest version: 0.10.0

We can use this branch to get everything working on the latest.

Dumping stova core on the latest ddb (version 0.10.0)
harold@freeside:~/src/tmducken [ddb-version-0.10.0]$ rm -rf binaries/
harold@freeside:~/src/tmducken [ddb-version-0.10.0]$ source scripts/enable-duckdb
--2024-02-17 12:17:48--  https://github.com/duckdb/duckdb/releases/download/v0.10.0/libduckdb-linux-amd64.zip
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/138754790/9bdcae2e-b5ed-41d6-9db5-5a4447b51b0b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240217T191749Z&X-Amz-Expires=300&X-Amz-Signature=bf59fb64fd01d29af5f6d16756c80bfff3275ebb0b40a15821a991f527ce14ed&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=138754790&response-content-disposition=attachment%3B%20filename%3Dlibduckdb-linux-amd64.zip&response-content-type=application%2Foctet-stream [following]
--2024-02-17 12:17:49--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/138754790/9bdcae2e-b5ed-41d6-9db5-5a4447b51b0b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240217T191749Z&X-Amz-Expires=300&X-Amz-Signature=bf59fb64fd01d29af5f6d16756c80bfff3275ebb0b40a15821a991f527ce14ed&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=138754790&response-content-disposition=attachment%3B%20filename%3Dlibduckdb-linux-amd64.zip&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28687724 (27M) [application/octet-stream]
Saving to: ‘libduckdb-linux-amd64.zip’

libduckdb-linux-amd64.zip       100%[======================================================>]  27.36M   110MB/s    in 0.2s

2024-02-17 12:17:49 (110 MB/s) - ‘libduckdb-linux-amd64.zip’ saved [28687724/28687724]

Archive:  libduckdb-linux-amd64.zip
  inflating: binaries/libduckdb.so
  inflating: binaries/libduckdb_static.a
  inflating: binaries/duckdb.hpp
  inflating: binaries/duckdb.h
harold@freeside:~/src/tmducken [ddb-version-0.10.0]$ ./scripts/run-tests

Running tests in #{"test"}
12:17:58.253 [main] INFO  tmducken.duckdb - Attempting to load duckdb from "/home/harold/src/tmducken/binaries/libduckdb.so"

Testing tmducken.duckdb-test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by tech.v3.datatype.UnsafeUtil (file:/home/harold/.m2/repository/cnuernber/dtype-next/10.011/dtype-next-10.011.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of tech.v3.datatype.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

ERROR in (insert-test) (duckdb.clj:321)
Uncaught exception, not in assertion.
expected: nil
terminate called after throwing an instance of 'duckdb::InternalException'
  what():  {"exception_type":"INTERNAL","exception_message":"Invalid PhysicalType for GetTypeIdSize","stack_trace":"\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb9Exception13GetStackTraceEi+0x51) [0x7eff2e638161]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb9Exception6ToJSONENS_13ExceptionTypeERKSsRKSt13unordered_mapISsSsSt4hashISsESt8equal_toISsESaISt4pairIS2_SsEEE+0x15f) [0x7eff2e64162f]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb9Exception6ToJSONENS_13ExceptionTypeERKSs+0x53) [0x7eff2e6419b3]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb9ExceptionC1ENS_13ExceptionTypeERKSs+0x16) [0x7eff2e6419e6]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb17InternalExceptionC1ERKSs+0x11) [0x7eff2e643ae1]\n/home/harold/src/tmducken/binaries/libduckdb.so(+0x801aea) [0x7eff2da01aea]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb17VectorCacheBufferC2ERNS_9AllocatorERKNS_11LogicalTypeEm+0x9a) [0x7eff2e51f90a]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb11VectorCacheC1ERNS_9AllocatorERKNS_11LogicalTypeEm+0x5d) [0x7eff2e50373d]\n/home/harold/src/tmducken/binaries/libduckdb.so(_ZN6duckdb9DataChunk10InitializeERNS_9AllocatorEN9__gnu_cxx17__normal_iteratorIPKNS_11LogicalTypeESt6vectorIS5_SaIS5_EEEESB_m+0xd4) [0x7eff2e509954]\n/home/harold/src/tmducken/binaries/libduckdb.so(duckdb_create_data_chunk+0xab) [0x7eff2e966fab]\n/home/harold/.cache/JNA/temp/jna2327330459583066536.tmp(+0x16052) [0x7eff35a16052]\n/home/harold/.cache/JNA/temp/jna2327330459583066536.tmp(+0x1514c) [0x7eff35a1514c]\n/home/harold/.cache/JNA/temp/jna2327330459583066536.tmp(ffi_call+0xd8) [0x7eff35a15488]\n/home/harold/.cache/JNA/temp/jna2327330459583066536.tmp(+0xe494) [0x7eff35a0e494]\n/home/harold/.cache/JNA/temp/jna2327330459583066536.tmp(+0x14d7b) [0x7eff35a14d7b]\n/home/harold/.cache/JNA/temp/jna2327330459583066536.tmp(+0x161e8) [0x7eff35a161e8]\n[0x7effe460fa30]\n"}
1rlwrap: warning: clojure crashed, killed by SIGABRT (core dumped).
rlwrap itself has not crashed, but for transparency,
it will now kill itself with the same signal

warnings can be silenced by the --no-warnings (-n) option
./scripts/run-tests: line 6: 3368867 Aborted                 (core dumped) clj -M:test

Agreed. Tests passing here as well, nice one.

repo: techascent/tmducken


text:
Bug in Bills

[x] sort by option- name,due date
[x] filter under detail page of a particular customer is displaying results of other customers too

ISSUE FIXED !

repo: techgebra/polosys-books

license: Unlicense


text:
Add well known PortalTarget class and examples

Adds PortalTarget (as discussed) as a well known class that can be used to globally customize the default portal target used by the portal action.
I also:

Added examples of the different target approaches (see screenshot below)
Changed the portal logic to put the portal back in its original parent if it becomes disabled (rather than doing nothing)
I expect this was just an oversight so far. If a portal is initially disabled, it just stays in its original parent, so it seems to make sense to consider that its "disabled state". And if a user doesn't want the portal to move, they just shouldn't change the options.
I primarily made the change, because it meant that I needed less code for the examples, but I think that it's the intuitive behaviour.

Thanks @myieye!

authors: myieye techniq

repo: techniq/svelte-ux


text:
fix #123 - No autoforward after initiated update

fix #123

@technyon I think this will solve the issue, but it will be hard for me to test if you can do that it will be awsome

Thank you!

authors: regevbr technyon


text:
Migrate from webpack to Vite & upgrade Tauri to V2

This pull requests updates dependencies as well as migrates from Webpack to ViteJS.

@kurt-mueller-osumc Dear lord! Did you actually manage to pull this off? This is amazing. I have tried and given up at least 3 times. I have approved the CI run. Let's see if everything passes. :crossed_fingers:

@kurt-mueller-osumc Thank you. I would also try to get a local build working and test the desktop version this week to verify everything is working. This is truly amazing work.

However, the interface was broken and there are plenty of warnings in the terminal as well. So I am worried things might be broken.

When you say the interface, are you talking about javascript assets or image assets?
I've been using the latest version of yarn and node v21.

@kurt-mueller-osumc Hi, it took longer than expected for me to come back to this project. While things are generally okay build wise, I am seeing a bunch of UI issues. I think I might need to upgrade the UI library and make other changes. Can you kindly enable "Allow edits from maintainers" on this PR so I can push the changes to this PR and merge once I have everything working?

Okay. I have tested that this build works and have tagged it as "pre-release" I am merging this to the master branch.

Awesome. Sounds great :).

Glad I could play a part in updating this project. Thanks for taking the time to review it, fix it up, and merge it.

I'm glad to have played a part in updating this project. Thanks for taking the time to review it, fix it up, and merge it.

@kurt-mueller-osumc Thanks a lot for doing most of the grunt work. I have tried and failed multiple times to do this and the software wouldn't have seen this update for quite a while.

repo: tecoholic/ner-annotator


text:
Tetris

Also fixed irrep_compare which introduced a bug in concatenate.

Want me to close out the other PR and make this the README example ?

I'll merge the other PR later (probably will just move message_example.* -> example.*). Still a lot more to add to this example; so far it only computes messages for first layer. Currently working on the node updates and follow-on layers. I'm adding a train_tetris.py (based on this) script that saves the weights and can be mmap'd into this C version. End result would be matching logits to the jax version for different inputs, invariant under rotation. Once this is working we should have most of the building blocks for other models minus some activation functions and radial basis which should be relatively easy. Might take a few iterations to get the cleanest looking code here though.
Think the tetris code will end up being too large for the readme, so I think it makes sense to just leave a simple example showing off the basic operations.

Full tetris implementation working now. ./tetris x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4 should be matching the output of the JAX implementation in python run_tetris.py x1 y1 z1 x2 y2 z2 x3 y3 z3 x4 y4 z4. Slightly dissatisfied with the amount of hardcoding in model_create(), however this mostly a limitation of the library currently assuming output irreps of operations are pre-computed.
Nequip should be able to be implemented with only a few more lines of code + implementations for the gate operation and radial basis functions

Are you open to having an output_irreps generator to take care of the hand-coded-ness in model_create ? Can't think of a clean way to do the pre-computation cleanly though with minimal changes

The solution I was thinking of is having some functions like:

Irreps* irreps_tensor_product(Irreps* i1, Irreps* i2): creates irreps of the tensor product between two irreps
Irreps* irreps_concatenate(Irreps* i1, Irreps* i2): creates irreps of the concatenation of two irreps
Irreps* irreps_linear(Irreps* input, Irreps* output, bool force_irreps_out): creates irreps of the linear operation removing unmatching irreps if force_irreps_out==false
int linear_weight_size(Irreps* input, Irreps* output): computes the weight matrix size given input and output irreps

This way for e.g. you could do something like (in the case of the tetris code):

    // manually defined irreps
    Irreps* irreps_hidden = create_irreps("32x0e + 32x0o + 8x1e + 8x1o + 8x2e + 8x2o");
    Irreps* irreps_sh = irreps_create("1x1o + 1x2e + 1x3o");

    model->layers[0].irreps_sh=irreps_sh;

    // manually defined input
    model->layers[0].irreps_sender=irreps_create("1x0e");

    // can compute tensor product irreps
    model->layers[0].irreps_tp=irreps_tensor_product(model->layers[0].irreps_sh,
                                                     model->layers[0].irreps_sender);

    // can compute output of concat irreps
    model->layers[0].irreps_receiver=irreps_concatenate(model->layers[0].irreps_tp,
                                                        model->layers[0].irreps_sender);

    // model doesn't force irreps out
    model->layers[0].irreps_node=irreps_linear(model->layers[0].irreps_receiver,
                                               irreps_hidden,
                                               false);

    // Can compute linear weight size from irreps too
    model->layers[0].linear_weight_size=linear_weight_size(...)
    model->layers[0].shortcut_weight_size=linear_weight_size(...);

    // this is manually defined anyway
    model->layers[0].denominator=1.5;

This could of course then be moved to some function Layer layer_create(Irreps* irreps_input, Irreps* irreps_hidden, Irreps* irreps_sh) which could compute all the necessary irreps from there and avoid any code duplication.
Any thoughts on an API like that?

API sounds good. My concern is how to precompute things since otherwise this might hit the runtime. We can also just benchmark it out.

The above operations would only need to be run once during model_create() so there wouldn't be any overhead for repeated model calls in something like MD. Are you concerned about the startup latency?

Yup but ehhh we can deal with it when it comes along

I see. I wouldn't expect these operations to be very costly but I will benchmark them compared to parsing from string when I add them. Were you originally suggesting some sort of code gen?

Yup but it's fine. Yeah I think it's just me being obsessive.

Think computing them will actually be faster than parsing the string - see https://github.com/teddykoker/e3nn.c/pull/8#issuecomment-2229871484

authors: mitkotak teddykoker


text:
[Epic] Dogfood Pipeline

This epic is about using the Pipeline project to test the Pipeline project (so that we can be our own customers and feel their pain :D).
Expected behavior
The Pipeline project should be tested using the Pipeline project itself, e.g. all testing, building, releasing should be done via Pipelines + Tasks.
Current behavior
The Pipeline project is tested, built and released using Prow jobs which trigger scripts.
Additional info
Once we're ready to take this on we'll probably break this out into separate epics, for example:

Getting something to trigger our Pipelines (Prow hopefully!)
Pipeline for releasing
Pipeline for presubmit building + testing

This will probably become a milestone in the new year.
This is a zenhub epic.

Fwiw, we’re planning to work on getting Prow to support running Pipelines some time in the not too distant future. Cc @rawlingsj

Absolutely, we'd love to help in any way we can.  Right now Jenkins X builds Jenkins X with Jenkins X, using prow and Knative Build.  We're looking to switch to Pipeline as soon as we can so definitely would like to help / contribute to this.

So cool @abayer + @rawlingsj sounds super exciting!!! :tada:

@bobcatfish
Sorry in advance, maybe this is a stupid question 😸
So, we have an existing k8s cluster with tekton to run the build?
What's the version this Tekton? will upgrade it regular?

Those are good questions @vincent-pli !

So, we have an existing k8s cluster with tekton to run the build?

Yes, we'd need to have tekton deployed in the CI cluster, at least initially it'd be the cluster we use to run Prow

What's the version this Tekton? will upgrade it regular?

I'm not 100% sure! I think at least initially we would pin to whatever the most recent release was, and maybe the process would be to upgrade our own cluster whenever we publish a new release (maybe even as a sanity check before announcing it). Or we could use the nightly build, or we could even use HEAD.
So options:

Use most recent released version
Upgrade every night to nightly build
Update from HEAD on every merge

Those are good questions @vincent-pli !

So, we have an existing k8s cluster with tekton to run the build?

Yes, we'd need to have tekton deployed in the CI cluster, at least initially it'd be the cluster we use to run Prow

What's the version this Tekton? will upgrade it regular?

I'm not 100% sure! I think at least initially we would pin to whatever the most recent release was, and maybe the process would be to upgrade our own cluster whenever we publish a new release (maybe even as a sanity check before announcing it). Or we could use the nightly build, or we could even use HEAD.
So options:
1. Use most recent released version

2. Upgrade every night to nightly build

3. Update from HEAD on every merge

I'm not sure option (3) will be possible right from the beginning, but as soon as we sorted out other issues I would start using HEAD! If we by chance we merge a breaking change, we'll break our CI as well and thus we'll stop merging changes until that's fixed. As long as the volume of PRs is similar to what we have today we should be able to afford that.
Besides doing CD with a project from the CDF is pretty cool :)

Do we have some kind of design document / diagram that explains what kind of setup we're aiming for? Do you guys @bobcatfish @vdemeester need any help in this area? I would be happy to help.

Do we have some kind of design document / diagram that explains what kind of setup we're aiming for? Do you guys @bobcatfish @vdemeester need any help in this area? I would be happy to help.

There's no doc that I know of! @vdemeester has been doing most of the actual work but afaik so far we've been kind of just taking it one step at a time without a clear overall picture. If you want to start putting together an overall plan and weighing the options @afrittoli that would be super helpful :pray::heart::pray:
I also just sent you an invite to our zenhub project in case you havent seen it yet, that'll let you view the other issues linked to this "epic" (none of which deal with what you're proposing tho).

Do we have some kind of design document / diagram that explains what kind of setup we're aiming for? Do you guys @bobcatfish @vdemeester need any help in this area? I would be happy to help.

There's no doc that I know of! @vdemeester has been doing most of the actual work but afaik so far we've been kind of just taking it one step at a time without a clear overall picture. If you want to start putting together an overall plan and weighing the options @afrittoli that would be super helpful 🙏❤🙏
I also just sent you an invite to our zenhub project in case you havent seen it yet, that'll let you view the other issues linked to this "epic" (none of which deal with what you're proposing tho).

Thank you! I've been ramping up on the different bits and pieces, I'll start working on some document soon.

These days dogfooding is in full swing and most issues are in https://github.com/tektoncd/plumbing
This is the project we are using to track our current dogfooding efforts: https://github.com/orgs/tektoncd/projects/1
This document contains our dogfooding plans

authors: abayer afrittoli bobcatfish rawlingsj vincent-pli

repo: tektoncd/pipeline


text:
Raise the kaniko tests timeout from 2m

Expected Behavior
kaniko tests reliably pass.
Actual Behavior
We frequently see the kaniko tests flake downstream, and most of the ones I've looked at are timeouts.
Quoting @imjasonh "Nobody should expect kaniko to do anything reliably in 2m" 🤣
cc @abayer since this touches on flakes (not sure if you've seen this in your adventures)

/cc @lbernick @xchapter7x

/assign

authors: abayer afrittoli mattmoor


text:
Add pipeline.tekton.dev/release to the namespace labels 👔

Changes

The config.webhook.pipeline.tekton.dev uses that label in its namespaceSelector..
Closes #2503
Signed-off-by: Vincent Demeester vdemeest@redhat.com
/cc @eddycharly @sbwsg
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Add pipeline.tekton.dev/release to the namespace labels

/test tekton-pipeline-unit-tests

Why not use app.kubernetes.io/part-of: tekton-pipelines instead ? 😋

/close

authors: eddycharly vdemeester


text:
Use informer for pod get/list instead of talking to API server.

Signed-off-by: Ville Aikas vaikas@chainguard.dev

Changes
Instead of talking to API server for List/Get related to pods, use informer.

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in
(if there are no user facing changes, use release note "NONE")

Release Notes

@vdemeester @afrittoli Was it a conscious decision to avoid the informer cache here? I seem to recall there being races and flakes, but I think they may have been solved by the change that renamed pods so they were more uniformly mapped to taskrun names. Can we avoid direct API calls here now? 🙏

@vdemeester @afrittoli Was it a conscious decision to avoid the informer cache here? I seem to recall there being races and flakes, but I think they may have been solved by the change that renamed pods so they were more uniformly mapped to taskrun names. Can we avoid direct API calls here now? pray

Yeah I don't fully remember the reason, but I have a similar vague idea that it was that, and I also think it might have been fixed by the pod name being uniformly set now.

/test pull-tekton-pipeline-alpha-integration-tests

/test pull-pipeline-kind-k8s-v1-21-e2e

/test pull-pipeline-kind-k8s-v1-21-e2e

/kind misc

authors: afrittoli imjasonh jerop vaikas vdemeester


text:
docs: Added new workflow which can deploy the documentation to GitHub Pages

Proposed changes
Created a workflow that can upload and deploy the documentation of tm_devices to GitHub Pages.
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Functionality update (non-breaking change which updates or changes existing functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] CI/CD update (an update to the CI/CD workflows, scripts, and/or configurations)
[ ] Documentation update (an update to enhance the user experience when reading through the docs)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have followed the guidelines in the CONTRIBUTING document
[ ] I have signed the CLA
[ ] I have checked to ensure there aren't other open Pull Requests for the same update/change
[ ] I have performed a self-review of my code
[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] Basic linting passes locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have added necessary documentation (if appropriate)
[ ] I have updated the Changelog with a brief description of my changes

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

authors: CLAassistant qthompso


text:
잠금설정 화면을 구현했습니다.

✅ 중요 로직이지만, 우리 레포가 Public Repository 이기 때문에 잠금설정(Security) 관련 파일은 모두 gitIgnore 파일에 추가함.
🔗 QA 시에 테스트

❗ 스와이프로 pop 할 때, 가면 안되는 곳으로 가지는 않는 지 확인하기

예를 들면) 로그아웃을 하거나 탈퇴를 했는데 스와이프 백을 했더니 홈화면으로 돌아간다는 등의 버그

❗ 잠금 설정 케이스를 전부 확인할 것

엣지 케이스를 찾아내야함

❗ 비밀번호를 찾는 로직은 서버와 이야기를 해봐야 함 - (아직 못함) 기태 화이팅

해당 로직을 추가해야함

📃 전달 사항
MVVM + RxSwift 의 극한을 맛봤습니다. 🥲
하지만 그런 덕분에 MVVM 의 필요성✅을 너무나도 많이 느낀 스프린트였습니다.
ViewModel 을 설계할 땐 정말 머리를 쥐어짜면서 했는데, UI 와 바인딩을 하면서부터는 아 편하다. 라고 다시 한번 더 깨달았네요.
개발시에 Issues

이슈 1: 기획과 디자인에서 잠금 설정에 대한 로직이 충분히 설명되지 않았고 UX 플로우 또한 설계가 완벽하지 않았습니다. (하지만 이후에 빠르게 피드백을 주시고 모두 조금씩 디벨롭 해주셨습니다. 👍🏻)
이슈 2: 로직이 너무나도 복잡했고, 최대한 DIP 를 활용하여 최소한의 ViewModel 과 ViewController 를 만들어 재활용하고 싶었습니다. 이를 설계하기 정말 머리가 아팠습니다. 미흡한 부분도 생기고 어떻게 보면 좋지 못한 코드도 생겼다고 생각합니다.

코드에 대한 것은 오후에 추가하겠습니다.
📸 스크린샷

✔ 진행사항

[x] 잠금화면을 만들었습니다.
[x] 마이페이지에 새로운 셀이 추가되었습니다.
[x] 스와이프 pop 을 재게했습니다.
[x] 앱이 켜지면서 네트워크 에러 팝업뷰가 이제 모든 공간을 덮습니다.

🔴 ETC
기타 사항을 적어주세요.
실제 개발 기간 : 7일
💻 개발환경
macOS: Ventura 13.6
xcode: 15.0
iOS: iphone 15 pro simulator

closes: #

고생하셨습니다! 고생하신 뷰모델 관련해서는 깃헙에 올리지않은 폴더 안에 있는거겠죠?..!! 저도 깨달은 MVVM 장점을 보고싶습니당 ㅎ

그럼요! 당연하죠!

repo: telling-me/tellingme-iOS


text:
Feat/show pulsechain data feed

CHANGELOG:

Show pulsechain data feed on the mainnet & testnet

@themandalore please help me to review this PR on the Pulsechain.

Hey @johnny-vu , don't think we'll be supporting the pulse fork from this end.  If you guys want to fork or do whatever, feel free, but we're not going to make any indications that the token over there will hold any value and is definitely not on our list of things do support

authors: johnny-vu themandalore

repo: tellor-io/dataFeed


text:
signTransaction Doesn't Always Handle Smart Contract Errors Correctly

Describe the bug
When a smart contract throws an error, the handling of the error appears to make false assumptions about the structure of the error object. Notice, specifically the json property, which is not read in the current code base. This results in an

@kylanhurt I'm wondering if this would not be a duplicate of #130 , but describe the root cause of the problem.

@karynemayer Yes you could argue that this could possibly be considered a duplicate. I will take my comments over to that issue.

authors: karynemayer kylanhurt

repo: telosnetwork/app-telos-native


text:
Not able to install on macOs ventura 13.0

I followed all the steps in the instruction (install .Net 6 and etc.), but in the end, it shows me this message:

Hi @aliqaryan2
I tried it on my Mac with macOs ventura 13.0, and it worked fine.
Which version of .NET6 did you install? Is it .NET Runtime or .NET SDK ?

I'm having a similar issue on macOS Monterey 12.1:

Works for me on macOS 13.1 using the latest release build.
I had to go to System Settings > Privacy & Security and grant permission to open application and also for all the libraries required by botnet to load. It was a bit of a pain. I believe it can be avoided if the builds were signed by the developer.

Easiest way I've found it to just clone the repo and run manually. A Homebrew solution would be ideal
dotnet run -p ./PurpleExplorer/PurpleExplorer.csproj

Latest release should work with macOS 13+.
Can you guys test it and let me know to close this issue for now.
I'll start a conversation about signing as well.

I hit the same error, I can't run it by policy because the binaries are not signed.

authors: Lukejkw aliqaryan2 armannaj danial-fmh goodness-from-me justinmchase

repo: telstrapurple/PurpleExplorer


text:
bump dependencies

Applied mkpr on package.json
/tmp/mkpr.sh

:tada: This PR is included in version 1.11.0 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.11.0
GitHub release

Your semantic-release bot :package::rocket:

repo: template-tools/template-sync-hook


text:
merge from template-esm-only

.github/workflows/update_readme_api.yml

chore: add actions/setup-node@v3.3.0 (jobs.update_readme_api.steps.uses)
chore: add 18.3.0 (jobs.update_readme_api.steps.with.node-version)

:tada: This PR is included in version 11.0.31 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: template-tools/template-sync


text:
Modernize payload converter sample

What was changed

In the custom converter sample, use the more modern, non-initialized style of fetching the default payload converter.
Why?

Acting on @cretz's TODO.
Checklist

Closes

How was this tested:

poetry run pytest ./tests/custom_converter/workflow_test.py

Any docs updates needed?

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

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

authors: CLAassistant drewhoskins

repo: temporalio/samples-python


text:
[Bug] use one sticky queue per worker process

Both sdk-go and sdk-java uses one sticky task queue per worker process.
Currently core uses one sticky queue per one named task queue per process.
There are uses cases where one worker process would poll from hundreds of task queues and it would be 100x more expensive on server.
A simple bookkeeping would be needed on sdk if a proper concurrent and RPS control is needed per named task queue.

@yiminc I thought we hadn't decided if this needed to be changed SDK side. Ideally server could support this as @mmcshane  mentioned. It's not actually possible to accurately constrain maximum concurrent WFTs per queue without this.
Example:
Worker listens on q1 and q2. It also listens on w (it's sticky queue). It has chosen to limit max WFTs for both q1 and q2 to 1.

It gets a task for q1, which is now at the limit.
It needs to keep listening to w because maybe a sticky task for q2 will come there, and q2 has an open slot
Oops, w delivers a task for q1

Hence the impossibility. Now, maybe temporarily violating the max isn't really such a big deal, but ideally we can accurately constrain the limit here. When I originally did this the server team said it ought to be OK.
If not, we can go back to one sticky queue, but we will need to be clear that the max concurrent limits are more like suggestions in that case.

What is the use case for a worker to poll on hundreds of workflow task queues?

I'm closing this in favor of https://github.com/temporalio/sdk-core/issues/227 since we discussed the real need here is actually for many activity queues.

authors: Sushisource mfateev yiminc

repo: temporalio/sdk-core


text:
this line throws error(division by zero) while our simulation

https://github.com/tendermint/dex-demo/blob/7d412f8b8c12b470658b6e3aa6ac92e59c7b93c8/pkg/matcheng/matcher.go#L238
in orderbook, we see an residual order with amount 0.0000.
i suspect this is a decimal control issue.
because we tested only with integer amount, there is no way for orderbook to have
such small residual order.

@alessio

Hi there,
Could you please provide some more info on your simulation? I'd like to reproduce this using our automated test suite so that we can definitively prevent this in the future. Specifically, can you provide information on what orders you entered into the book to make this occur?

authors: dlguddus mslipper

repo: tendermint/dex-demo


text:
fix: cuda version

Signed-off-by: Keming kemingyang@tensorchord.ai

LGTM
/lgtm

authors: gaocegege kemingy

repo: tensorchord/envd-docs


text:
Implement OneCycleLR callback

Creating a separate issue for the discussion here
@Gokkulnath If you're still interested, you can open a PR.

Hi, can I try to implement this?

@joaogui1 Definitely, looking forward to the PR.

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP

authors: Squadrick joaogui1 seanpmorgan

repo: tensorflow/addons


text:
Segmentation Fault

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian GNU/Linux 9 (stretch)
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tf-nightly-gpu-2-0-preview 2.0.0.dev20190820
TensorFlow Addons installed from (source, PyPi): PyPi
TensorFlow Addons version: tfa-nightly 0.5.0.dev20190624
Python version and type (eg. Anaconda Python, Stock Python as in Mac, or homebrew installed Python etc): Anaconda Python 3.6.2
Is GPU used? (yes/no): yes
GPU model (if used): Tesla V100

Describe the bug
Segmentation fault when using tfa.image.transform_ops.rotate
Describe the expected behavior
No segmentation fault
Code to reproduce the issue
import tensorflow as tf
import tensorflow_addons as tfa
import math

IMAGE_SIZE_INCEPTION_V3 = [299, 299]
IMAGE_CHANNELS = 3

def parse_preprocessed_image(image_size):
    def parse_preprocessed_image_at_size(serialised_tensor):
        result = tf.io.parse_tensor(serialised_tensor, out_type=tf.float32)
        result = tf.reshape(result, [*image_size, IMAGE_CHANNELS])
        return result

    return parse_preprocessed_image_at_size

images_dataset = tf.data.TFRecordDataset(['image.jpeg']) \
        .map(parse_preprocessed_image(IMAGE_SIZE_INCEPTION_V3)) \
        .map(lambda image: tfa.image.transform_ops.rotate(image, tf.random.uniform([], minval=-math.pi / 3, maxval=math.pi / 3)))

output.log
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Hi @richriley, would you mind providing image.jpeg?

It will fail with any image. I've just realised that this example doesn't actually make sense. In my real code the image.jpeg is a .tfrec file (hence the parse_preprocessed_image_at_size function parsing a tensor) but I tried to make it simpler for this example. I'm not able to provide the tfrec files as they are too large. Sorry if this makes it difficult to debug.

Could you try updating the tfa-nightly version tfa-nightly 0.5.0.dev20190624 is manylinux1 compiled and tf-nightly-gpu-2-0-preview 2.0.0.dev201908 is manylinux2010

@seanpmorgan I seem to get the same segmentation error with tfa-nightly 0.5.0.dev20190624

Hmmm yeah can you try to install the latest https://pypi.org/project/tfa-nightly/#files. It should be tfa-nightly 0.5.0.dev20190815
It requires pip version >19.0 pip install --upgrade pip, but that's strange because you should have needed to do that for the TF nightly: https://pypi.org/project/tf-nightly-gpu-2.0-preview/2.0.0.dev20190820/#files

Now I get:
 import tensorflow_addons as tfa
  File "/home/richard_riley/miniconda3/envs/tensorflow-image-classifier/lib/python3.6/site-packages/tensorflow_addons/__init__.py", line 82, in <module>
    from tensorflow_addons import seq2seq
  File "/home/richard_riley/miniconda3/envs/tensorflow-image-classifier/lib/python3.6/site-packages/tensorflow_addons/seq2seq/__init__.py", line 35, in <module>
    from tensorflow_addons.seq2seq.beam_search_decoder import BeamSearchDecoder
  File "/home/richard_riley/miniconda3/envs/tensorflow-image-classifier/lib/python3.6/site-packages/tensorflow_addons/seq2seq/beam_search_decoder.py", line 35, in <module>
    gather_tree = _beam_search_ops_so.gather_tree
AttributeError: module '5fa89fc3154996733eabb433e18fa62f' has no attribute 'gather_tree'

K thanks. Sorry about this we're in a transition on how we're packaging our binaries in preparation for TF2 release. I will look into this and try to get a new binary published later this afternoon.
If this is a blocker for you could you try tfa-nightly 0.5.0.dev20190624 and tf-nightly-gpu-2-0-preview 2.0.0.dev20190624

Thanks. Those two nightly versions work as expected. Thanks for the quick solution!

Feel free to re-open the issue again if you run into other problems. Thanks!

authors: WindQAQ richriley seanpmorgan


text:
Add abstractions for parsing TFRecord Files using tf.Example and tf.io ops

System information

TensorFlow version (you are using): Latest master of TensorFlow Java
Are you willing to contribute it (Yes/No): No (working on other things at the moment)

Describe the feature and the current behavior/state.
Currently in Java, we have access to the core tf.io ops such as tf.parseExample, tf.parseSingleExample, tf.decodeRaw etc. In order to serialize TF Record datasets and read in datasets from the tensorflow_datasets buckets, for example, we need to be easily able to use these ops.
In Python, the relevant abstractions built on top of tf.io are defined in parsing_config.py. Specifically it will be very helpful to have abstractions such as:

Various feature types: FixedLenFeature, SparseFeature, FixedLenSequenceFeature, etc...
The _ParseOpParams class which wraps the parameters to tf.parseExample
Standardizing a flow for defining features in a TFRecord file.

See these examples which relate to using the parse-example ops, and reading TFRecord files

TFRecord and tf.Example (tensorflow.org)
Reading MNIST TFRecord Dataset (Databricks)

Will this change the current api? How?
This will add APIs for serializing / parsing examples to / from TF Record files
Who will benefit with this feature?
Anyone using datasets stored as TFRecord flies from TensorFlow java (for example, to load datasets from the tensorflow_datasets GCP bucket)
Any Other info.
Feel free to get in touch with me anytime to discuss! Happy to help.

Thanks @dhruvrajan ,
Before we begin, can you please take a look at this old example of mine based on TF1.x where I use tf.io.parseExample? Here I was using raw ops so yes, having a higher-level API to wrap them up would be interesting for sure. But I just wanted to show you how I used to do it and to check if you ended up doing similar too at this stage.

Hey @dhruvrajan , I didn't hear you back about this point, so are you unblock and do you think the example I provide is enough? (If so, I'll move it to our example repository)

Hi @dhruvrajan , just to get a little update on this, do you have any plan to add something that helps out building a TFRecord? If so, will that be part of the framework or the keras layer?

authors: dhruvrajan karllessard

repo: tensorflow/java


text:
Converting MNIST over to use python

There were some concerns that Foundation would not be readily available. Converting file reading to use python instead.

Thanks for doing this! LGTM but it would be better if someone else could give it an extra look

Thanks all for reviewing. I'm not able to merge it. It would be nice if someone could merge this.

authors: lattner pschuh

repo: tensorflow/swift-models