text:
Uncaught SyntaxError: Identifier 'fioErrCode' has already been declared

So, since you decided to delete my last Issue, I'm going to recapitulate again about this error...
According to your documentation, when calling for the fioErrCodes which you did introduce in the last update... all we had to do was this:
const fioErrCode = faceio.fetchAllErrorCodes();
After my Issue over which you said that was my mistake, (even when I DID follow your documentation), you suggested to change the const name to fioErrs.
As a proof of that, you changed your README file yesterday, with this change:
const fioErrs = faceio.fetchAllErrorCodes();
So I did as you suggested, and this didn't work either, you claimed that somewhere I redeclared fioErrCode somewhere in my code... after digging for what whas happening I found out that your library can not be instanciated multiple times.
Instantiating your library multiple times leads to errors like this... this SHOULD be stated in your documentation... because it's more than normal that a complex web application will have multiple parts and possibly the need to instanciate a library multiple times, or instead you should not declare anything in the global scope of your library, which will lead to errors like the mentioned here.
By declaring a constant like fioErrCode in the global scope, the library assumes that it will be the only one using that specific identifier. However, when multiple instances of the library are instantiated, each instance tries to define the same constant, resulting in the "Identifier 'fioErrCode' has already been declared" error.
Ideally, libraries should define their constants within their own scopes, encapsulating them to prevent conflicts with other code in the project. This can be achieved through proper module bundling and encapsulation techniques.
This could potentially lead to errors with other libraries in the future, so hopefully you will choose to fix this in your library instead of forcing users to instantiate once.
Hopefully this time my issue will not be deleted, and this will be helpful for as feedback for your library.

fio.js must be instantiated a single time from the CDN (internally, the NPM package already does that transparently for you). What you did yesterday is like instantiating jQuery multiple times on your SPA project. This will lead eventually to variable re-declaration errors.

authors: NaturalDevCR symisc

repo: symisc/faceio-npm


text:
ExceptionHandler overhaul

I wanted to have a CLI friendly ExceptionHandler for some time now, and thought that fixing #2605 would be the thing do to. I know this is (again) a big commit and do not expect full review on it, but I will gladly accept partial reviews!
It should at least make it simpler to understand and easier to maintain.
It essentially splits the ExceptionHandler responsibilities into two classes: ExceptionHandler and ExceptionRenderer.
Key commits are:

Rename/Extract Exception/Error handlers 12d69f6
Make it possible to disable the shutdown function c766337
Render shutdown errors using their own exception 48d3fdc
Add a text based exception output  48b3235

So can I merge and we will see ?

Yes, sure. But I must say that I have no plans to use Symphony 3 anytime soon, so I can't help with "Michael E.'s chaos testing" a.k.a. I-just-wanted-to-do-x-and-something-strange-happened.
(Actually I won't start any new projects. And the running projects — big system and little sister — are not even updated to 2.7 yet…)

No problem, I've got a lot of people testing it. I hope you do get the chance to at least try to break it ;)

This is to much for me to review. Sorry @nitriques 🤸♂ . I say merge and pray for this one. hehe 😎

I do wonder about final though, do we really want to prevent extensions from modifying this behaviour?

IMHO, there should be one and only one Handler. On class that register itself. The inheritance for this class was useless.

source: gharchive/pull-request

authors: fhamon michael-e nitriques

license: mit

license_type: permissive

license_source: bigquery


text:
Add relayer API

Description
Adds a separate RelayerAPIServer for exposing endpoints with information about bridge event statuses as well as an interface for retrying transaction submission.
Metadata

Fixes #1755
Fixes #1756

Summary by CodeRabbit

New Features

Introduced REST API endpoints for retrieving quote request status and retrying transactions.
Enhanced quote request functionality to include status retrieval by transaction ID or hash.

Bug Fixes

Improved error messages for failed quote retrievals to better reflect the cause of the error.

Documentation

Removed unnecessary comments for clarity in transaction handling.

Refactor

Updated data structures to support new features and improve error handling.

Tacking CI Flake nere:

It's not new to this pr, as I've observed in #1795 #1796 #1782 and as far back as #1776 (#1650 was working)
Initially investigated anvil docker tag break, but no update in 19 days
In debugger would appear

this case in e2e is never hit, which would explain everything. Querying the db, it appears the final case is 4:

If we query this, we see this is WillNotProcess
Everything else in the nearly 1.7gb of logs generated over an hour are context cancellation errors, so we can narrow the issue down to this 1 line:

And should be able to add breakpoints to find the exact issue:

Since we hit none, we can tell it's isProfitable:

and since cost (500000045) > dest amount out (500000000) this will fail.
For now, we can just subtract a bigger number:

repo: synapsecns/sanguine

license: MIT

license_source: github-api


text:
Relative path config.py

Describe the bug
Index.py fails when app starts from the home path. If I manually change the absolute path in the config.py file it works fine.
Debug logs
Traceback (most recent call last):   File "/home/minipc/syncarr/index.py", line 11, in <module>     from config import (   File "/home/minipc/syncarr/config.py", line 152, in <module>     sync_bidirectionally = int(sync_bidirectionally) ValueError: invalid literal for int() with base 10: ''

I'm not sure what you mean by 'home path'. Can you give an example of what commands you are calling and what you are changing to fix it?

fixed in v1.9.1

fixed in v1.9.1

source: gharchive/issue

authors: Junkbite dtalens ljmerza

repo: syncarr/syncarr


text:
detect-trust-cert not working

Leaving it empty, setting it explicitly to 'TRUE' or 'FALSE' - all results in
Creating Black Duck Policy Check...
Black Duck Policy Check created
detect-version: 7.9.0
output-path-override:
scan-mode: RAPID
Checking that you have at least one enabled policy...
Initiating authentication request to Black Duck...
Error: Failed due to an unhandled error: 'Error: self signed certificate in certificate chain'
Black Duck Policy Check updated

NODE_TLS_REJECT_UNAUTHORIZED: 0 needs to be provided as an environment variable, to get around this.
Would have expected that this would be set when using detect-trust-cert

This is a great catch! What's happening is the interaction of detect and the NodeJS runtime. @shubham0572 we should file a Jira ticket on this.

authors: elgohr jcroall

repo: synopsys-sig/detect-action


text:
Missing end-of-file line feed duplicates paragraph

Changing line 147 in test/index.js to "minify" the incoming html with the following line:
var file = vfile(fs.readFileSync(input, 'utf8').replace(/\n*^\s*/gm, ''))

This particular change results in 14 failures (I recognize that a proper minification might avoid a few of these failures).
I wonder if this issue should be better addressed in the rehype-parse package?

@gorango can you provide an example of minified HTML that is causing an issue?

The regex /\n*^\s*/gm replaces zero or more white line feeds, followed by a line feed (important), followed by zero or more white space, with an empty string.
That means that any line feed is removed.
HTML collapses whitespace. That means that a line feed is seen as a single space character.
There’s a difference between nothing and a space.
Sounds like you‘re falling for an XY problem. As Christian mentioned. We need more info.

I didn't take into account the position attributes and WhiteSpaceNodes that are affected by the minification. But just before coming back to close this issue, I did spot a small anomaly...
Running rm test/fixtures/**/*.json && node test to generate new output files in order to diff with git, I noticed the following results changed unexpectedly:

test/fixtures/overlap-explicit
test/fixtures/source

Both outputs contained clones of the last sentence in each.
Adding a newline or a space at the end of the file.contents removes the dups.
My original issue has been resolved so feel free to close if this additional info seems like expected behaviour.

To reproduce the dups case, you can replace test/fixtures/source/index.html, with:

This is marked.

Completely marked.

You should get similar results if you minify the overlap-explicit index.html file

@gorango I tested these two out and:

rm test/fixtures/**/*.json && node test did not produce different output.json files for me.
Replacing test/fixtures/source/index.html with that document, removing its output.json file, and running node test, only changes positional information for me.

Removing the EOF EOL (the last \n before the end of the file) in the source fixture did indeed duplicate the last paragraph.

To clarify, I was running node test with my initial minification hack but I'm glad you were able to reproduce the behaviour.
Duplicates in  overlap-explicit could be reproduced just by collapsing the closing root tag:

My Cats

You can play with my cat simulator.

 <object data="cats.sim">

To see the cat simulator, use one of the following links:

Download simulator file

Use online simulator

Alternatively, upgrade to the Mellblom Browser.

 </object>

I'm quite proud of it.

I can confirm that the latest PR handles this case as well.

Thanks for reporting @gorango, it’s all fixed and released now!
In the future, please do not remove the issue template, instead, but instead take the time to fill it out correctly. It’s there for a reason!

authors: ChristianMurphy gorango wooorm

repo: syntax-tree/hast-util-to-nlcst


text:
Possible segfault or similar when using Synthizer

Unfortunately enabling Synthizer logging doesn't show me any more information, and I am unable to reproduce this error outside of the test suite, so happy to concede it might be something else.
Here is the error I'm getting from Python:
FWindows fatal exception: access violation

Thread 0x00003984 (most recent call first):
  File "c:\python39\lib\contextlib.py", line 124 in __exit__
  File "C:\Users\chris\src\earwax\tests\conftest.py", line 68 in initialise_tests
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\fixtures.py", line 941 in _teardown_yield_fixture
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\fixtures.py", line 1027 in finish
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\runner.py", line 395 in _callfinalizers
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\runner.py", line 405 in _teardown_with_finalization
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\runner.py", line 387 in _pop_and_teardown
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\runner.py", line 412 in teardown_all
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\runner.py", line 103 in pytest_sessionfinish
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\callers.py", line 187 in _multicall
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\hooks.py", line 286 in __call__
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\main.py", line 304 in wrap_session
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\main.py", line 316 in pytest_cmdline_main
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\callers.py", line 187 in _multicall
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\manager.py", line 84 in <lambda>
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\manager.py", line 93 in _hookexec
  File "c:\users\chris\src\earwax\env\lib\site-packages\pluggy\hooks.py", line 286 in __call__
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\config\__init__.py", line 162 in main
  File "c:\users\chris\src\earwax\env\lib\site-packages\_pytest\config\__init__.py", line 185 in console_main
  File "C:\Users\chris\src\earwax\env\Scripts\py.test.exe\__main__.py", line 7 in <module>
  File "c:\python39\lib\runpy.py", line 87 in _run_code
  File "c:\python39\lib\runpy.py", line 197 in _run_module_as_main

I know which test is causing it, and I can give you the code if needs be (I'm using py.test's -k flag). The only possible Synthizer reference in it is it's pulling in a class which uses a Synthizer Context, Source3D, and DirectSource.
Sorry I'm being sort of vague. I'm not entirely sure what else to give you, but I'm sure you need to know more than I've told you.
This error wasn't present pre 0.81, but then neither was the test, although the fixture that's providing the external class was.
Thanks in advance.

To confirm the obvious things:
You are running the test in isolation?  Looks like that's the case but still worth asking.
Are you initializing Synthizer twice, deinitializing Synthizer twice, or otherwise initializing/deinitializing synthizer while other things may be trying to use it?
If you take the test, move it to a file as-is, and modify it so that it can run without being inside a test class, does it crash in that configuration?

Yes, the test is running on its own: py.test -k nearest_portal. I get the
same with py.test -k nearest_`, and for some reason, anything to do with
the portals.
Now I know it's not something obvious on your end, I'll dig about in that
module, and see what else could be causing this, since it's only when
testing specifically stuff to do with portals where it breaks. I've tries
isolating a few other tests, and they all pass with no complaints.
Unfortunately - if predictably - when I create a new script and call the
test from thee, it works perfectly, which is what makes me think it's
something to do with the test suite. I mean there's still some kind of
problem that's not Pythonic, and I seems to have happened recently,
indicating it's not Pyglet.
I'll let you know if I find anything.
Take care,
Chris Norman
On Wed, 23 Dec 2020 at 23:15, Austin Hicks notifications@github.com wrote:

To confirm the obvious things:
You are running the test in isolation? Looks like that's the case but
still worth asking.
Are you initializing Synthizer twice, deinitializing Synthizer twice, or
otherwise initializing/deinitializing synthizer while other things may be
trying to use it?
If you take the test, move it to a file as-is, and modify it so that it
can run without being inside a test class, does it crash in that
configuration?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synthizer/synthizer/issues/41#issuecomment-750545122,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2JLB4P3LFPDEHSJVE3SWJ22RANCNFSM4VHO2R4Q
.

My money is still on you initialize or deinitialize the library twice somehow, but we'll see.

I'm pretty sure not. Just because when I was doing that, everything was a
whole lot worse, and I fixed that particular bug.
Take care,
Chris Norman
On Thu, 24 Dec 2020 at 13:34, Austin Hicks notifications@github.com wrote:

My money is still on you initialize or deinitialize the library twice
somehow, but we'll see.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synthizer/synthizer/issues/41#issuecomment-750884692,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2OUQJOZNGZY2YKQWMDSWM7NFANCNFSM4VHO2R4Q
.

Yeah, I'd not be surprised if double-init or double-deinint broke it much worse.  Unfortunately I'm not too sure that I can take this further quickly without something standalone, so going to let it sit and we'll see if it shows up somewhere else or not.

OK, crashes seem to be getting worse, which hopefully means it'll be easier
to track down the cause.
Now my tests fail 2 times out of 3 when running the whole test suite, and
every time when running py.test-k sound.
On the bright side, I can now give you minimal code to reproduce:
from synthizer import Context, StreamingGenerator, DirectSource, initialized

with initialized():
    c = Context()
    s = DirectSource(c)
    g = StreamingGenerator(c, 'file', 'sound.wav')
    s.add_generator(g)
print('Hello there.')

Hopefully that should help, such as it is.
Take care,
Chris Norman
On Fri, 25 Dec 2020 at 02:01, Austin Hicks notifications@github.com wrote:

Yeah, I'd not be surprised if double-init or double-deinint broke it much
worse. Unfortunately I'm not too sure that I can take this further quickly
without something standalone, so going to let it sit and we'll see if it
shows up somewhere else or not.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synthizer/synthizer/issues/41#issuecomment-751146211,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2OKEUIYGFG3H64E6MDSWPW53ANCNFSM4VHO2R4Q
.

Yeah, I'm finally duplicating this myself reliably.  Something is wrong with syz_Shutdown in Python and, seemingly, only Python.

I've been wondering if it was my setup somehow; my C# wrapper has the
same problem too.
On 12/30/20, Austin Hicks notifications@github.com wrote:

Yeah, I'm finally duplicating this myself reliably.  Something is wrong with
syz_Shutdown in Python and, seemingly, only Python.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/synthizer/synthizer/issues/41#issuecomment-752243329

Ok. I pushed Synthizer 0.8.4 a bit earlier than I wanted to with a fix for this.  Really stupid missing if statement to make sure the context is still alive in the audio callback. If the two of you can confirm, I'd appreciate that.
0.8.4 should otherwise be reasonably stable, but has a good bit of stuff in it.  If it's not, let me know.  I'm holding off on release notes until we know if this is going to crash and burn or not.

Hi,
Seems to largely be working here. Certainly better than the previous
version.
I'm hearing a glitch of some kind when th etest suite runs, but I'm not in
a position to pin it down right now.
Thanks for such a quick fix.
Take care,
Chris Norman
On Tue, 29 Dec 2020 at 21:57, Austin Hicks notifications@github.com wrote:

Ok. I pushed Synthizer 0.8.4 a bit earlier than I wanted to with a fix for
this. Really stupid missing if statement to make sure the context is still
alive in the audio callback. If the two of you can confirm, I'd appreciate
that.
0.8.4 should otherwise be reasonably stable, but has a good bit of stuff
in it. If it's not, let me know. I'm holding off on release notes until we
know if this is going to crash and burn or not.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synthizer/synthizer/issues/41#issuecomment-752254850,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2O3LHTYFTJSWMCXUCTSXJGEJANCNFSM4VHO2R4Q
.

What exactly are you doing, using py.test as a driver so that you can listen to a bunch of stuff?  To be honest I don't even understand why your tests would need Synthizer in the first place.  Don't get me wrong, it's working as  a good "I found a bug in Synthizer" source, but I also have to ask myself what might or might not be weird about it.
Are you perhaps creating more than one context in the same process?  Wouldn't be surprised if this becomes the "context deletion is broken" issue.  To be clear, that's supposed to work.

Some of the things in earwax result in sounds. I can't guarantee that it's
not my tests failing, but I'm 99% sure there's only 1 context being created
and reused throughout the lifetime of the session.
For clarity, here is the fixture that creates the context, and is used
throughout:
@fixture(name='context', scope='session')
def get_context() -> Context:
    """Get a new Synthizer context."""
    return Context()

Also:
(env) C:\Users\chris\src\earwax>grep -Irn Context[(] tests
tests/conftest.py:72:    return Context()

(env) C:\Users\chris\src\earwax>

Take care,
Chris Norman
On Wed, 30 Dec 2020 at 13:41, Austin Hicks notifications@github.com wrote:

What exactly are you doing, using py.test as a driver so that you can
listen to a bunch of stuff? To be honest I don't even understand why your
tests would need Synthizer in the first place. Don't get me wrong, it's
working as a good "I found a bug in Synthizer" source, but I also have to
ask myself what might or might not be weird about it.
Are you perhaps creating more than one context in the same process?
Wouldn't be surprised if this becomes the "context deletion is broken"
issue. To be clear, that's supposed to work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/synthizer/synthizer/issues/41#issuecomment-752617523,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2ISV5JWWZ2AJEFQ3GDSXMUZZANCNFSM4VHO2R4Q
.

So here's kind of my point.  If your tests result in sound and are just running quickly, how do you know that the artifacts you're getting aren't just tests starting and stopping rapidly?
Are you specifically tearing down all objects from prior tests with .destroy()?  Don't forget that Python doesn't garbage collect the objects.  If the tests share a context and the previous test doesn't fully stop and destroy everything, then the audio can bleed through.
Unless you're specifically designing your test suite to be something that you listen to, I don't think it's a very reliable thing to find actual synthesis bugs, just logic issues and crashes.  Going to close this out, but feel free to open another issue if you can get stand-alone examples or more specifics, and of course everyone can feel free to reopen this one if the crash turns out not to be fixed.

authors: SemihBudak camlorn chrisnorman7

repo: synthizer/synthizer

license: Unlicense


text:
Optional archiving

I would like to have a setting option or something like that so that my entries are not archived after adding time entries to redmine, but remain in the file with the time entries. Since I book daily, the old entries disappear too quickly in the archive for me.

I haven't really touched the archive feature at all from what it was.
I think the initial Users work by adding to the timesheet for a week and transferring that once a week to the redmine instances.
I haven't understood what I actually want, but my usual mode is to have a single timesheet file per month and manually putting them with a postfix of -<year>-<month>.B beside the original file.
So I would love some more design happening around the archive feature before implementing anything.

I also book daily with the TUI based Buchungsstreber. It has no automatic archive function, therefore I move the buchungen.yml file to the archive folder at the end of a month and rename it to <year>-<month>.yaml. As I forget it often they sometimes include two or more month. 😅
I mostly do not need the previous days or month to copy entries because my reoccuring entries are automized and the new ones I often have as browser tab nearby, so I can get the issue number or any other information from there if needed.
With my workflow I do not really have a need to archive, mostly I move forward in time and have no need to look in the past. In the few cases I need to it is almost more comfortable for me to look in the booked times of the issue in the browser. So I actually don't know why I archive, some "better save than sorry" or "don't throw away" issue or something. 😄

authors: 1451678 BuJo dgrammlich

repo: synyx/buchungsstreber


text:
Wendy/eng 2496 compactify asset list on workspacecustomizeassets

https://github.com/systeminit/si/assets/8495209/bec58e11-cad9-461d-89c7-cb998116cdca

bors merge

repo: systeminit/si


text:
Using .minify causes TypeError: global$1.System.import is not a function

Exactly as the title says...If i build my bundle using the following
    return builder.buildStatic('wwwroot/app/main.js', 'wwwroot/dist/bundle.js', { minify: false, sourceMaps: true})
        .then(function() {
            console.log('Build complete');
        })
        .catch(function(err) {
            console.log('Build error');
            console.log(err);
        });

I get an exception when i try to load my application saying

TypeError: global$1.System.import is not a function

If i change my bundling code to use minify: true i dont get the error??
Does minify actually do something else as well?

Can you share your bundle file output? And also the code that runs System.import?

authors: Gillardo guybedford

repo: systemjs/builder


text:
ライブラリ構成の変更

What

Resolve #111
ライブラリ構成を前に提案していた内容に合わせて変更します。

AiScriptクラスをInterpreterクラスにリネームする
Parserを非公開にする
抜けていたAPIを公開する (Scope, AiScriptError, N)

Why

Additional info (optional)

✨

authors: marihachi syuilo

repo: syuilo/aiscript


text:
Option to disable fuckadblock popup

Summary
Requesting an option to disable fuckadblock popup
Maybe something like "don't show this again" checkbox in the popup or a setting in the options to disable the message. With a properly configured ad blocker its no issue, then the popup is just annoying.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I'd back this request frankly, as much as I understand it's usage.

There was some problems caused by adblocker. Therefore, it cannot be guaranteed Misskey to run correctly with adblocker and there is fuckadblock on Misskey.

fuckadblock popup is completely removed from Misskey.

authors: AyaMorisawa gutfuckllc incognico tamaina

repo: syuilo/misskey


text:
Update AboutView.js

Add a reload button in the about screen. This can be used to reload the page on iOS when the app is set to full screen. In that case there is no way to reload the page and due to caching changes will not always be visible.

I second this - on Android you can pull the page down for reload, not on iOS

According to http://stackoverflow.com/questions/8792255/how-do-you-force-an-ipad-home-screen-bookmarked-web-app-to-refresh this can also be done using cache.manifest, but this seems to be easier ;)

Nice, thanks!


text:
"Desm" in the title attribute should be "DESM"

From @siuc-nate
@jbaird123 this should be assigned to Alex to correct.

Resolved


text:
doc: possible improvements and/or fixes

Is your feature request related to a problem? Please describe.

Broken markdown link

IMO, the documentation should consistently use either NextJS or Next.js, instead of a combination of both.

Describe the solution you'd like to see
N/A
Desribe alternate solutions
N/A
Additional information
I am open to making a PR to fix this issue.

Next.js is the correct way,
Feel free to PR :)

authors: AyanavaKarmakar juliusmarminge


text:
fix: getLatest procedure has unresolved promise before null coalescing

Closes #1943
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog
Promise now resolves in drizzle templates before null coalescing.
Removed unnecessary null coalescing in prisma templates, they already return null

Screenshots
[Screenshots]
💯

#1950

authors: exectx juliusmarminge


text:
Can't build expo for android

Similar to #99 , I cloned the repo and was able to run everything locally. When I run a build via:
eas build --platform android --profile production
The build fails at gradlew:

Barely saw this #91 , would be helpful to add some warning on the readme about this till expo 48 is released.


text:
Circuit changes in preperation for demo

Summary
contains a number of fixes that are the result of integrating with a live network
Checklist

[x] removes from parameter from being checked in transfer side effect
[x] while confirming a side effect, the gateways abi is now read from storage (instead of default being hardcoded)
[x] adds authority_set_id to register_gateway instead of hardcoding a value
[x] sets correct hashing function for default MFV
[x] submit_finality_proof now receives JustificationNotification (instead of GrandpaJustification)
[x] fixes error in the set_operational logic of MFV

Please check that your PR completes the requirements as follows

[x] Tests have been added for bug fixes/features
[x] Acceptance criteria from the issue has been completed

Screenshots (if applicable)

Ahh, there is a merge conflict. That green check confused me. Will resolve!


text:
How to make column readonly on edit in jsgrid

I need some readonly column. Which is not editable on row edit.

{ name: "Barcode", type: "number", width: 200, editing: false },
I have done it by myself .

Glad that you found the solution.

authors: Itsathere tabalinas

repo: tabalinas/jsgrid


text:
Discover obsolete biblio/anchors/link-defaults

It would be nice to know when biblio/anchors/link-defaults entries have been obsoleted by upstream changes so they can be cleaned up. You can kinda test this by removing them and diffing the output, but that's not great.

[x] find obsolete biblio entries
[ ] find obsolete anchor entries
[ ] find obsolete link-defaults entries

Okay, obsolete biblio tracking is landed in 4d64f957, let me know how it works for you.
Every type of linking is a totally different workflow, so the rest will come separately. ^_^

I think I'm getting some false-positives: https://travis-ci.org/whatwg/fetch/builds/421417299. E.g., it reports HTTP-SEMANTICS which the text definitely uses. Perhaps there's a bug due to the alias feature?

Hm, probably. I was hoping that wouldn't be a concern. I'll take a look at Fetch.

@annevk Sorry for the delay, all the false positives from Fetch are fixed. (I was looking at the keys of the returned biblio entries, not the keys actually used to request a biblio entry. Aliases are implemented by just doing another search for what they're aliasing and returning that result, thus all your local aliases didn't show up as being used.)

authors: annevk tabatkins

repo: tabatkins/bikeshed


text:
Unknown tags get spaces introduced before and after them

Input:
The attributes of these properties must be { \[[Writable]]: <emu-val>true</emu-val>, \[[Enumerable]]: <emu-val>false</emu-val>,
\[[Configurable]]: <emu-val>true</emu-val> }.

Output:

   <p>
    The attributes of these properties must be { [[Writable]]:
    <emu-val>true</emu-val>
    , [[Enumerable]]:
    <emu-val>false</emu-val>
    ,
[[Configurable]]:
    <emu-val>true</emu-val>
     }.
   </p>

This adds spaces between "true" and the following comma.

Ah yeah, I have a list of HTML's inline elements, which get serialized inline properly, but everything else is assumed to be block and serializes as such.
Given that whether an element is inline or not also affects markdown parsing (when the tag is at the beginning of the line, it influences whether it'll trigger <p>-insertion based on inline vs block), I guess I need to take some metadata dictating which custom elements are inline vs block.
Do you have a preferred default?

I think Markdown has a whitelist of block elements. That's what we did in Ecmarkup. That also seems a better default since someone can always type an extra p tag if they need it.

Okay, fixed.  Custom elements now default to being parsed and serialized as inline, and there's a new Block Elements metadata (parallel to Opaque Elements) that lets you override that if you want.

authors: domenic tabatkins


text:
Change maxToCLevel to maxToCDepth

Otherwise we get
Traceback (most recent call last):
  File "/sites/api.csswg.org/bikeshed/bikeshed.py", line 5, in
    bikeshed.main()
  File "/sites/api.csswg.org/bikeshed/bikeshed/__init__.py", line 195, in main
    doc.preprocess()
  File "/sites/api.csswg.org/bikeshed/bikeshed/__init__.py", line 506, in preprocess
    self.lines, documentMd = metadata.parse(lines=self.lines, doc=self)
  File "/sites/api.csswg.org/bikeshed/bikeshed/MetadataManager.py", line 669, in parse
    md.addData(match.group(1), match.group(2), lineNum=i + 1)
  File "/sites/api.csswg.org/bikeshed/bikeshed/MetadataManager.py", line 117, in addData
    self.addParsedData(key, val)
  File "/sites/api.csswg.org/bikeshed/bikeshed/MetadataManager.py", line 121, in addParsedData
    result = md.join(getattr(self, md.attrName), val)
AttributeError: MetadataManager instance has no attribute 'maxToCLevel'

Ugh, sorry for missing that. :/

authors: g-ortuno tabatkins


text:
Error: Undefined variable: "$spacing-extra-small"

Running gulp I am getting:
Error: Undefined variable: "$spacing-extra-small".
    on line 38 of node_modules/tachyons-sass/scss/_negative-margins.scss
>> .na1 { margin: -$spacing-extra-small; }

Any ideas?
Thanks

@mrmrs, tried to lend a hand with this SCSS error I also encountered with the 4.6 bump. Let me know what you think of the solution/commits and how I can help further.

Thanks @talbs @mrmrs working fine now.

authors: juicyfish talbs

repo: tachyons-css/tachyons-sass


text:
Add Threema

As contributor
I want to choose Threema as my channel of communication
because I am a whistle blower and I need security.

As an editor, I also want to reach my community via the Messenger Threema in order to be present on as many channels used in everyday life as possible.

authors: FrauCsu drjakob


text:
fix(seeder): ensure SeederExecutor properly sorts seed files on fileName

Seed files are expected to be run in fileName order, same as migrations.
SeederExecutor.buildEntities method in place uses the name attribute (equal to className) to sort files.
Given the two files:

001-customers.seed.ts, exporting a CustomersSeeder class
002-contracts.seed.ts, exporting a ContractsSeeder` class

And given that the ContractsSeeder tries to fetch Customer entities, the seed:run command will fail when sorting seeds by className.
This pull request changes the sort call to use the fileName attribute instead.

thanks, good catch!


text:
The host and  pathPrefix options have already deprecated.

@taichi
The host and  pathPrefix options in @oktokit/rest.js have already deprecated so now this lib does't work for GHE.
https://github.com/octokit/rest.js/blob/master/lib/parse-client-options.js#L29
https://github.com/octokit/rest.js/blob/master/lib/parse-client-options.js#L37
Instead of these options, use baseUrl option for it.

thanks for your contribution. i just release, please check it.

Thanks a lot!!!

authors: pipopotamasu taichi

repo: taichi/ci-yarn-upgrade


text:
chore(main): release taiko-client 0.32.0

:robot: I have created a release beep boop
0.32.0 (2024-08-27)
Features

taiko-client: add optional l1.private (#17962) (9274f2d)
taiko-client: optimising statistics on proof request times (#17976) (791f44f)

Bug Fixes

taiko-client: fix some issues about calculateBaseFee (#17978) (b010efe)
taiko-client: prints logs when using privateTxMgr (#17980) (a0c3388)

Chores

taiko-client: fix lint errors (#17969) (eedec99)
taiko-client: keep env vars same with the flag name (#17964) (d08a1de)

Tests

taiko-client: introduce multi nodes hive test (#17981) (9910863)
taiko-client: introduce reorg hive test (#17965) (ab601ee)
taiko-client: open container logs and close build image logs (#17959) (b541201)
taiko-client: update HIVE test configurations (#17950) (4818274)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

taiko-client-v0.32.0
:sunflower:

repo: taikoxyz/taiko-mono


text:
Remove submodules asmjit, asmtk (#5)

変更主旨
#5 への対応として、Zydisのみで既存の処理を行えるよう変更しました。
相対アドレスを含む命令の再解釈
mebius::reassemble::Reassemblerクラスを作成し、再解釈処理のモジュール化を行いました。
対応している相対アドレスを含む命令は下記のとおりです。

JMP rel8
JMP rel32
JCXZ rel8
JECXZ rel8
Jcc rel8
Jcc rel32
CALL rel8
CALL rel32
LOOP rel8
LOOPE rel8
LOOPNE rel8

なお、下記の命令は未対応です。

JMP rel16
Jcc rel16
CALL rel16

使用方法

mebius::reassemble::Reassembler code{address, size}として、addressから始まるsizeバイト以上の命令群をZydisEncoderRequest形式で保存（この際、rel8を用いる命令はrel32を用いる命令へ変換）
code.Reassemble(buffer, bufferSize)として、bufferへ保存した命令をリアセンブル

実行可能領域の動的確保
独自のメモリアロケータであるmebius::alloc::CodeAllocatorクラスを作成し対応しました。
Mebiusでの使用用途を考慮し、二種類の固定長メモリプール（SmallPool: 0x10, LargePool: 0x60）を用いた実装としました。途中で一部の領域のみを解放するような状況はおそらくないとは思いますが、そのような状況にも対応しています。
性能
SmallPool, LargePoolともに初めに0x1000バイト確保し、使い切るごとに追加で0x1000バイト確保します。なお、割り当て済みメモリの解放によりpoolが空になった場合でもpoolを開放することはありません。
空きメモリの検索は、より新しいpoolから順に検索するものとなっているため、ほとんどの場合はO(1)です。最悪時間は空きpool枯渇時でO(n)です。
使用方法

割り当て時

// size > 0x60 の場合実行時エラー
uint8_t* mem = mebius::alloc::CodeAllocator::GetInstance()::Allocate(size);

解放時

mebius::alloc::CodeAllocator::GetInstance()::DeAllocate(mem);

追加でコミット https://github.com/takexaz/Mebius/pull/6/commits/3cb2fd377dc7dbb8f46c63f6b4aa3e3dc3d0dc30 を行い、インストールディレクトリにZydisのヘッダやlibが含まれないように変更しました。

実装を確認
コメントの[[noreturn]]属性にC3829が発生する現象は確認できず

authors: HalkazeMUGEN takexaz

repo: takexaz/Mebius


text:
Add BackgroundServiceStrategy on Android based on LocationManager

Hi!
Can you create a Service for background locations on Android?
I know its battery killer but, much more accurate than fused locations.

You should take a look at this, flutter_background_location

authors: shah-xad velegip


text:
Missing README for days 04-06

G'day Michael and team,
There is no README file for days 04-06. I managed to navigate to the exercise eventually from the link in the video, but was under the impression that all days would have README instructions.
Cheers,
Conor

Thanks for pointing this out @conorcunningham, this is a pattern for my lessons because I used Jupyter notebooks. I agree every 3 days should have a README, so I will make sure my lesson get one added each. How is the course going so far?
Cheers,
Bob

G'day @bbelderbos ,
Ah, I see. I must admit that I missed that it was a Jupyter file! Regardless, the course is coming along well and I've completed days 1-9. Looking forward to getting stuck into the rest of it.
Thanks a million for getting back to me.
Cheers,
Conor

@conorcunningham happy to hear! I just added README files to all my lessons so the repo is more consistent. Thanks again for reporting this.

authors: bbelderbos conorcunningham


text:
Explore Wikidata

Wikidata APIs must be researched in depth before starting the project

WikiData has been explored and used in the prototype


text:
Unable to load fonts

I've followed the expo guide to the letter, seems like things are working but the fonts are not loading. I'm seeing this error in the console. Upon inspection, there is no src directory included in the @tamagui/font-inter package
web compiled with 2 errors and 1 warning
WARNING in ./node_modules/@tamagui/font-inter/dist/esm/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/cooper/projects/ai-bible/bible-reader/node_modules/@tamagui/font-inter/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/cooper/projects/ai-bible/bible-reader/node_modules/@tamagui/font-inter/src/index.ts'

I have the same problem here, anyone found the solution?

need a repro unfortunately, seems like its picking up source files when it should be picking up build files? even info on platform etc is useful

I ended up scrapping my project and starting over with a new expo-tamagui-solito starter as mentioned in the docs. Since my project was in very early stages, this made the most sense for me and was the quickest way to get something working. Maybe @jpmmatias can provide some additional information to help reproduce? Overall I've encountered quite a few roadbumps while getting started with Tamagui for a basic use case with Expo and React Native on the latest versions

Let me know what problems you've had happy to fix them.

I'll create some new issues for them! Thanks!

authors: coopersamuel jpmmatias natew

repo: tamagui/tamagui


text:
check type stability in CI

Check that some example computations are fully type stable to avoid performance regression

Thanks! Maybe we should add InteractiveUtils only for the tests as dependency

Done, I think

authors: aminnj tamasgal


text:
device table positionid updated for not valid packets

Hi tananaev,
In device table positionid updated for not valid packets. I think positionid changed if its only when we received only valid packets.
thanks

Position is always updated to the latest one by time. It doesn't matter if it's invalid.
If you don't want invalid positions, you can filter them.

if there is any setting in the config file to prevent update of invalid
position in database.
thanks
On Sun, Jun 18, 2017 at 4:16 AM, Anton Tananaev notifications@github.com
wrote:

Position is always updated to the latest one by time. It doesn't matter if
it's invalid.
If you don't want invalid positions, you can filter them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar/issues/3264#issuecomment-309244782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APk3jDzQ_vz41XaE6Z350K2aYAQiSe7Tks5sFFdegaJpZM4N9Nkj
.

--
Regards,
Kedarnath Jimage
Mob : 9881177140

As I said, there is filtering. All relevant information is available on the official Traccar website.

Thanks @tananaev

authors: kedarnathjimage tananaev

repo: tananaev/traccar


text:
TK06A New Protocol, Which port

Hi,
I want to use TK06A devices with traccar. I cannot understand if this protocol is present in Traccar supported devices list. If not, can support for this device be added?
If already present, then which port to use?
Below is the protocol as received from manufacturer.
Example for complete protocol data
example for complete protocol data as follow :
#353509009009443#13486270583#0#0000#AUT#04#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163047.000#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163102.000#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163117.000#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163132.000##

Split structures as follow ( it has been manual joined the newline for convenient reading ):
#353509009009443#13486270583#0#0000#AUT#04
#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163047.000
#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163102.000
#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163117.000
#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163132.000##

Structure
it can be seen as above, the structure is made up of packet header:
#353509009009443#13486270583#0#0000#AUT#04
And each data
#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163117.000
Plus ## ending character .

Format explaination in details:
Packet header structure as follow:
#IMEI number#SIM card  mobile number#0#device manage password#AUT#data numbers(2 digits)
1. the IMEI number cannot be empty, if the SImcard number regarded as device series number, then the data of IMEI part should be filled in SIM cad number.
2. SIM card number: this part can be empty , or also can be same as 1st point , fill in SIM card number.
3. 0 or 1 , reserve (original meaning is ACC status )
4. Device password ( 0-9 numbers, digit cannot over 6 digits, generally is in 4 digits )
5. Reserved word AUT, cannot be changed .
6. Numbers of data, 00-99 , in 2 digits.
The format of Each data as below:
#base station number#Longitude, East and West identification, latitude,North and South identification,speed(nm), direction angle (0-360)#date#time
1. Base station number can be empty.
2. Longitude, format : dddff.ffff, the degree part must be in 3 integer, the minute part must be in 2 integer, the decimal part is in 4 digits, there is no separator between degree and minute.
3. East and West identification, only one character , E/W.
4. Latitude, format : dddff.ffff, same as Longitude , only the degree part is in 2 integer.
5. North and South identification, only one character , N/S.
6. Speed: can be 0.
7. Direction : can be 0.
8. Date, format : ddmmyy.
9. Time, format: hhnnss.mmm, the part before decimal point should be hour, minute and second in turn, each is in 2 digits, the part after decimal point should be milliseconds, it can be 000.

simple example
simple example（upload 1 data at a time ):
#353509009009443#13486270583#0#0000#AUT#01
#57e84d79#12125.1905,E,2840.9889,N,0.00,1.06#110709#163117.000
##
Don't transmission with a newline, so the most simple data correct example as follow:
#13486270583##0#0000#AUT#01#57e84d79#12125.1905,E,2840.9889,N,0.00,0.00#110709#163117.000##

hi
I have this GT02A, looks like its little different when compared with regular GT02.. looks like when i connect the device and when i dail the number its not recognizing.. is there any way to fix it.. more specific can we change the IMEI or need to do something.. pls help

@gauthamreddy555, please provide some HEX message samples from your device.

how do i get them.. i dono please help

You can find those in tracker-server.log file.

No yar, after inserting the sim .. the mobile number is not detected.. looks like a IMEI issue

am new to this ... pls guide me how to fix devices with IMEI issues

Why do you think it's IMEI issues? And what does it even mean?

ok when i insert the sim and switch on the device..  i dont hear the dial tone when i call the device.. it says not reachable to switched off... i think this might be IMEI issues

What do you mean by IMEI issues? IMEI is just a unique identifier of the modem.

ok now what might be the issue.. its not working.. i have 50 units like this...

I guess there is either some problem with the device or with your sim card.

sim card works fine with other models

i feel its a device issue
and i dono how to fix it

What SIM card are you using?

Aircel GSM  and it never worked with airtel or vodofone..
On Dec 9, 2015 3:43 AM, "Anton Tananaev" notifications@github.com wrote:

What SIM card are you using?
—
Reply to this email directly or view it on GitHub
https://github.com/tananaev/traccar/issues/472#issuecomment-163034821.

Make sure that SIM provider uses frequencies supported by the device. I have same device and I had problems with some SIM cards here in New Zealand.

ohh ok.. but how to find thoes frequencies..  ok can you please guide how to go inside the device,.. do we have any tools to hack these devices

You need to find out from device specification. If you don't have those, ask seller.

seller is also not aware i bought this in aliexpress the device specification says the regular specs of the sim frequencies.. please help guys

What do you mean by "regular"?

the spec says 850/900/1800/1900 mhz

I remember that one of the SIM cards that I have wasn't compatible with the device. In your case it might be just faulty device or some other issue.


text:
made reports

There are tools to reports or this funcionality aren´t the program still?

More reporting options have been added in version 3.7. Please create a new issue if something is still missing.


text:
Fix local login if ldap enabled & Limit Command permission

Fixed couple of issues:

Fix local login if ldap enabled
Do not allow user edit own "Limit Command" permission. Missed this check on backend side.

Merged, thanks.


text:
Fix for non-UTC timezone

Thank you for the PR!

Can you give me a brief note on why we want this fix (what improves this etc)?
Is this change only required for Debug|x64?  It does not appear to be an issue specific to Debug|x64.

Sorry for incomplete PR.
When I tried to build HyperPlatform in UTC+offset timezone, I encountered an error message below:

22.9.7: DriverVer set to a date in the future (postdated DriverVer not allowed) in \hyperplatform.inf.

We can avoid this problem by setting /uselocaltime.
However, 5e1a927 fixes Debug|x64 case only.
I should have considered all situations. Revised.

Thank you for the update. It has been merged.

authors: ntddk tandasat

repo: tandasat/HyperPlatform


text:
🛑 Mail Boyolali is down

In 0d79d34, Mail Boyolali (https://mail.boyolali.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mail Boyolali is back up in 0ada8e4.

repo: tandatanya/upptime


text:
adding rtc namesapce

Adding Embree RTC_NAMESPACE namespace

This doesn't compile here - Rez-build with variants 0, 1, 2 all return errors because RTC_NAMESPACE is undefined.
I suggest that instead of explicitly using RTC_NAMESPACE in front of every call, we use a single RTC_NAMESPACE_OPEN in the beginning of files using Embree instead. Since all Embree calls are prefixed with rtc, I think we can live with going against C++ best practices here.

I am going to check why it's not defined, this https://github.com/embree/embree/blame/master/kernels/rtcore_config.h.in#L21 has been added 2ys ago.

It's only defined when EMBREE_API_NAMESPACE is defined. The #else case does not define RTC_NAMESPACE, that's when you get the compile error. RTC_NAMESPACE_USE is defined in both cases and should thus be safe to use.

@skwerner ready to be reviewed

authors: bareya skwerner

repo: tangent-opensource/cycles


text:
Markers don't show (Android)

I am testing the new marker api for Android. I want to display the current location as a marker. However, it does not seem to show at all. There is no error or info message on the log.
Android 5.1, Tangram-ES 0.4.6.
I do the following:

When the map controller becomes available:

ownLocation = controller.addMarker();
ownLocation.setDrawable(R.drawable.ic_star_white_24dp);
ownLocation.setStyling("{ style: 'points', size: [27px, 27px], order: 2000, collide: false }");

in onLocationChanged(Location location)

if(ownLocation != null)
{
	ownLocation.setVisible(true);
	ownLocation.setPointEased(
			new LngLat(location.getLongitude(), location.getLatitude()),
			1000, MapController.EaseType.CUBIC);
}

and finally ownLocation.setVisible(false); when ending to listen for location changes.

Try adding color: white to the styling string. This won't actually change the color of your icon but it is currently a required parameter for styling rules, for complicated reasons. There are certainly ways we can make it easier to style markers :\

repo: tangrams/tangram-es


text:
iOS gesture recognizers

Publicly expose iOS gesture recognizers to enable user modifications.
Fixes https://github.com/tangrams/tangram-es/issues/1512

👍  LGTM. Not letting me approve the review for whatever reason....

authors: karimnaaji msmollin


text:
Add video capture methods

It turns out there is a surprisingly complete set of new MediaRecorder APIs that allow you to capture the contents of a Canvas element to a video stream.
This PR adds new Scene.startVideoCapture() and Scene.stopVideoCapture() methods for capturing a WebM-encoded movie of a Tangram map.
stopVideoCapture() returns a promise that will resolve with url and blob properties, similar to the existing Scene.screenshot() API. In addition, a new type property is now returned with both screenshot and video promises, indicating the file type. Currently the type is always png for screenshots, and webm for videos.
This PR also consolidates screenshot and video behavior into a new MediaCapture module.
MediaRecorder functionality is currently supported in Chrome and Firefox. startVideoCapture() will return false on other browsers.
A simple video capture button is also added to the bundled demo.

cc @thisisaaronland

There will be blog posts, right?

So cool!

I think you mean vlog posts, @thisisaaronland.

Only if you can talk about it the way Jony Ives talks the manufacturing process.

Bead-blasted, lovingly crafted canvas streams.

"We have polished each pixel in a bath of superior GL optimonium."

authors: bcamper dmvaldman thisisaaronland

repo: tangrams/tangram


text:
bug: Lockscreen info not displayed anymore

Since I recently upgraded to the latest pod of this project, the lock screen doesn't show info anymore (artist, title & artwork).
I also tested the Example project to make sure it's not related to my code and also there I don't see any lock screen info.
I found that self.mediaInfo is nil at: https://github.com/tanhakabir/SwiftAudioPlayer/blob/master/Source/SAPlayerPresenter.swift#L123

Will look into today!

@tanhakabir I found that I was using 3.0.0 before and if I switch back to 3.0.0 the lockscreen is working fine again.

authors: dylancom tanhakabir

repo: tanhakabir/SwiftAudioPlayer


text:
Fixes misspelling

continuusly -> continuously

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: Asheboy tannerlinsley

repo: tannerlinsley/react-charts


text:
User social_ids should be a map<string,string> not Array

User social ids are a map between the social network and their ID on that network.
As such, the field should be changed from array to map<string, string>
Thank you.

From slack:
onur 5:20 PM One more thing, social_platform should be a single string, not a list.
As I undestood this, on this network request I can sent multiple ids, but all for just one platform - therefore this code supports sending multiple ids that came from one platform. As you can see user can enter as many ids from multiple social platforms, but on translation for network requests if those are from different platforms it will cause UNSUPPORTED_INPUT error - TGNetworkManager, line 440.
Also - switching to MAP would drop support for multiple ids for one platform and enable "1 ID for each socialNetwork"

Regarding above - interface for end-developers changed to:
void searchUsersWithSocialUserIds(String socialPlatform,List socialIds, TGRequestCallback output);
Inside library it would stay as it is, as data was meant to contain one social pair - "id and platform" - this won't block us in future extensions and don't harm anything in current code clearance or flow.

Fixed in #5

authors: AutomatedPlayground dlsniper


text:
When the Nuget config contains a Github source, loading the Nuget list is empty

  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="github" value="https://nuget.pkg.github.com/wf-soft/index.json" />
    <add key="Microsoft Visual Studio Offline Packages" value="C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\" />
  </packageSources>

When I removed the GitHub source, everything was normal

Thanks for reporting. Is that a public feed or a private one? Also can you attach any errors in the Log file. Easiest way to get to it is to open settings, then click open app data folder, where you'll see the logs folder.

@tareqimbasher
2024-09-18T23:07:21.1463899+08:00 [ERR] (PID: 10736|NetPad.Middlewares.ExceptionHandlerMiddleware) An error occurred in request pipeline
NuGet.Protocol.Core.Types.FatalProtocolException: Failed to retrieve metadata from source 'https://nuget.pkg.github.com/wf-soft/query?q=&skip=0&take=15&prerelease=false&semVerLevel=2.0.0'.
 ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at NuGet.Protocol.HttpSource.<>c__DisplayClass17_0`1.<<ProcessHttpStreamAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at NuGet.Protocol.HttpSource.ProcessResponseAsync[T](HttpSourceRequest request, Func`2 processAsync, SourceCacheContext cacheContext, ILogger log, CancellationToken token)
   at NuGet.Protocol.HttpSource.ProcessHttpStreamAsync[T](HttpSourceRequest request, Func`2 processAsync, ILogger log, CancellationToken token)
   at NuGet.Protocol.PackageSearchResourceV3.SearchPage[T](Func`2 getResultAsync, String searchTerm, SearchFilter filters, Int32 skip, Int32 take, ILogger log, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at NuGet.Protocol.PackageSearchResourceV3.SearchPage[T](Func`2 getResultAsync, String searchTerm, SearchFilter filters, Int32 skip, Int32 take, ILogger log, CancellationToken cancellationToken)
   at NuGet.Protocol.PackageSearchResourceV3.Search[T](Func`3 getResultAsync, String searchTerm, SearchFilter filters, Int32 skip, Int32 take, ILogger log, CancellationToken cancellationToken)
   at NuGet.Protocol.PackageSearchResourceV3.Search(String searchTerm, SearchFilter filters, Int32 skip, Int32 take, ILogger log, CancellationToken cancellationToken)
   at NuGet.Protocol.PackageSearchResourceV3.SearchAsync(String searchTerm, SearchFilter filter, Int32 skip, Int32 take, ILogger log, CancellationToken cancellationToken)
   at NetPad.Packages.NuGet.NuGetPackageProvider.SearchPackagesAsync(String term, Int32 skip, Int32 take, Boolean includePrerelease, Boolean loadMetadata, Nullable`1 cancellationToken) in /home/tips/Source/TIPS/NetPad/src/Core/NetPad.Runtime/Packages/NuGet/NuGetPackageProvider.cs:line 80
   at NetPad.Controllers.PackagesController.Search(String term, Nullable`1 skip, Nullable`1 take, Nullable`1 includePrerelease) in /home/tips/Source/TIPS/NetPad/src/Apps/NetPad.Apps.App/Controllers/PackagesController.cs:line 67
   at lambda_method221(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at NetPad.Middlewares.ExceptionHandlerMiddleware.InvokeAsync(HttpContext httpContext) in /home/tips/Source/TIPS/NetPad/src/Apps/NetPad.Apps.App/Middlewares/ExceptionHandlerMiddleware.cs:line 32

Yes, I'll fix that.

authors: tareqimbasher wf-soft

repo: tareqimbasher/NetPad


text:
WebBreaker only accepts https for WebInspect Endpoints

Below are required fields for qualifying your issue to our support team.
Currently, the config.ini only permits https connections to the webinspect servers
[webinspect]
size_large = 2
size_medium = 1
default_size = size_large
server_01 = https://webinspect-server-1.example.com:8083
endpoint_01 = %(server_01)s|%(size_large)s
git_repo = git@github.com:webbreaker/webinspect.git
authenticate = false
username =
password =

Both files handle the protocol/scheme for https, however the logic seems incomplete and incorrect. The webinspectqueryclient.py implements only for the command webbreaker webinspect list, however for other webinspect commands, such as webbreaker webinspect scan the server variable assignment defaults to the first value listed in the method format_webinspect_server in main.py.
webbreaker/webinspectqueryclient.py:13
webbreaker/__main__.py:73

Subject of the issue

[X] Potentially, re-write format_webinspect_server method.

Your environment

[X] Verify you are using the most recent version of WebBreaker
[X] Python version
2.7
[X] Operating System
windows, linux, macos
[X] WebInspect, Fortify SSC, ThreadFix versions (if relevant)
WebInspect

Relevant WebBreaker commands

[X] List all relevant WebBreaker commands.
webbreaker webinspect scan --settings zerobank
webbreaker webinspect list

[X] Verify you have redacted any sensitive hostnames, credentials, application names, etc from these commands

Expected behaviour

[x] Tell us what should happen
Should accept http, if an http endpoint is declared in the config.ini for server_XX

Actual behaviour

[ ] Tell us what happens instead, including any relevant errors or stacktraces
[ ] Verify you have redacted any sensitive hostnames, credentials, application names, etc from these errors/ stacktraces

Additional refactoring should consider the following files and methods, on the webinspect product methods with list, proxy, scan, and download actions
main.py:478
webinspect_proxy 501, 515, 535, 549
main.py:532
servers_list
main.py:297
webinspect_list
webinspectconfig.py:63
get_webinspect_settings

remediated in hotfix-webinspect-protocol

repo: target/webbreaker


text:
Blocking code in async context

https://github.com/tarkah/iced_gif/blob/fca8fb186ed88b9a8465c099a1b6976889e72f06/src/widget/gif.rs#L72
Here, a blocking BufReader and a blocking File is used. Instead of these, this library should switch to:
a) https://docs.rs/futures/latest/futures/io/struct.BufReader.html
b) https://docs.rs/async-std/latest/async_std/fs/struct.File.html / https://docs.rs/tokio/latest/tokio/fs/struct.File.html
And for the actual Frames implementation, another implementation taking an AsyncRead instance would also be required.

Yup! Will need to feature flag a few different implementations to match iced's available executors.


text:
Updated TUIChip

Replaced with style

@maheshwaran01m Does this need to go into the FloatingActionButton branch, or can it go into develop directly?

@arvindhsukumar I need some things in that branch, like border modifiers

@arvindhsukumar I need some things in that branch, like border modifiers

Ok, but please take care to keep PRs separate going forward

@arvindhsukumar Sure

repo: tarkalabs/tarka-ui-kit-ios


text:
Embedded Document can't store the ObjectId.

Hello,
I have the two relation i.e. Employee and Supervisors.
Employee document has the the Supervisor as the embedded document
class Employee(Document):
    full_name: str = mongoz.String
    employee_code: str = mongoz.String
    date_of_joining: datetime.datetime = mongoz.DateTime(null=True)
    e_mail: str = mongoz.String(null=True)
    mobile_no: str = mongoz.String(null=True)
    supervisors: List[EmployeeSupervisor] = mongoz.Array(EmployeeSupervisor)

class EmployeeSupervisor(EmbeddedDocument):
    supervisor: ObjectId = mongoz.ObjectId  # Object id of employee document.
    effective_from: datetime.datetime = mongoz.DateTime
    effective_to: datetime.datetime = mongoz.DateTime

Error as:
Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 78, in subprocess_started
    target(sockets=sockets)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/uvicorn/server.py", line 69, in serve
    await self._serve(sockets)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/uvicorn/server.py", line 76, in _serve
    config.load()
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/uvicorn/config.py", line 433, in load
    self.loaded_app = import_from_string(self.app)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/uvicorn/importer.py", line 19, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/main.py", line 10, in <module>
    from playmity.apps.user_management.views import get_database_collection
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/__init__.py", line 5, in <module>
    from playmity.apps import user_management
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/user_management/__init__.py", line 4, in <module>
    from .urls import *
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/user_management/urls.py", line 22, in <module>
    from .views import (
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/user_management/views/__init__.py", line 9, in <module>
    from .authz import *
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/user_management/views/authz.py", line 31, in <module>
    from playmity.apps.user_management.models import (
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/user_management/models/__init__.py", line 7, in <module>
    from .employee import Employee, EmployeeBranch, EmployeeRole, EmployeeGrade, \
  File "/home/harshaliz/Desktop/Projects/My_proj/trunk/my_apps/apps/user_management/models/employee.py", line 131, in <module>
    class EmployeeSupervisor(BaseEmbeddedDocument):
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/mongoz/core/db/documents/metaclasses.py", line 420, in __new__
    new_class = super().__new__(cls, name, bases, attrs)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 183, in __new__
    complete_model_class(
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 517, in complete_model_class
    schema = cls.__get_pydantic_core_schema__(cls, handler)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/main.py", line 584, in __get_pydantic_core_schema__
    return __handler(__source)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_schema_generation_shared.py", line 82, in __call__
    schema = self._handler(__source_type)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 490, in generate_schema
    schema = self._generate_schema(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 721, in _generate_schema
    schema = self._generate_schema_inner(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 742, in _generate_schema_inner
    return self._model_schema(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 563, in _model_schema
    {k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 563, in <dictcomp>
    {k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 906, in _generate_md_field_schema
    common_field = self._common_field_schema(name, field_info, decorators)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 1071, in _common_field_schema
    schema = self._apply_annotations(
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 1765, in _apply_annotations
    schema = get_inner_schema(source_type)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_schema_generation_shared.py", line 82, in __call__
    schema = self._handler(__source_type)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 1746, in inner_handler
    schema = self._generate_schema(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 721, in _generate_schema
    schema = self._generate_schema_inner(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 747, in _generate_schema_inner
    return self.match_type(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 834, in match_type
    return self._unknown_type_schema(obj)
  File "/home/harshaliz/Desktop/Project/venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 393, in _unknown_type_schema
    raise PydanticSchemaGenerationError(
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'bson.objectid.ObjectId'>. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.

If you got this error by calling handler(<some type>) within `__get_pydantic_core_schema__` then you likely need to call `handler.generate_schema(<some type>)` since we do not call `__get_pydantic_core_schema__` on `<some type>` otherwise to avoid infinite recursion.

For further information visit https://errors.pydantic.dev/2.6/u/schema-for-unknown-type

How can we achieve this?
Thank you.

@harshalizode Thank you very much for this. It seems like something in pydantic has changed. I will have a look ASAP and do a fix.

@harshalizode I ran this as a test and maybe you are declaring the ObjectId in a wrong way? See the test example below that is passing:
import datetime
from typing import List

import pytest
from tests.conftest import client

import mongoz
from mongoz import Document, EmbeddedDocument

pytestmark = pytest.mark.anyio

class EmployeeSupervisor(EmbeddedDocument):
    supervisor: mongoz.ObjectId = mongoz.ObjectId()  # Object id of employee document.
    effective_from: datetime.datetime = mongoz.DateTime(auto_now=True)
    effective_to: datetime.datetime = mongoz.DateTime(auto_now_add=True)

class Employee(Document):
    full_name: str = mongoz.String(max_length=255)
    employee_code: str = mongoz.String(max_length=255)
    date_of_joining: datetime.datetime = mongoz.DateTime(null=True)
    e_mail: str = mongoz.String(null=True)
    mobile_no: str = mongoz.String(null=True)
    supervisors: List[EmployeeSupervisor] = mongoz.Array(EmployeeSupervisor)

    class Meta:
        registry = client
        database = "test_db"

async def test_embedded_model() -> None:
    sv = EmployeeSupervisor(
        supervisor=mongoz.ObjectId(),
        effective_from=datetime.datetime.now(),
        effective_to=datetime.datetime.now(),
    )

    employee = await Employee.objects.create(
        full_name="A name", employee_code="1234", supervisors=[sv]
    )

    assert employee.supervisors[0].supervisor == sv.supervisor

I hope this helps and clarifies?

Okay got it, Thank you for you quick response.

Did it solve the problem?

authors: harshalizode tarsil

repo: tarsil/mongoz


text:
Questions about the inference time

Hi, thanks for your interesting work!
I tested the inference time on vimeo90K_septuplet using your script, and i got the time is 0.004 s. It seems too fast?
I modified the code and tested again, and the time I got is 0.195 s.

So, I wonder how the time in your paper was tested?

The major bottleneck in our model is the CPU/GPU transfer of 4 input frames, which takes a major amount of time, and calling cuda synchronous will also wait for all the transfer to complete. So for all the baseline models (including ours), we only measure the forward transfer time and ignore the cuda transfer time, which gets reflected in the cuda.synchronous calls. You are right that this is not an accurate reflection of the total computation time. More details on our bench marking process is provided in our paper.

Thanks for your reply.
I call the first torch.cuda.synchronous() after images = [img_.cuda() for img_ in images], it will wait for all data to be transferred to GPU, so the  transfer time will not be recorded, I think.
What I want to say is that CUDA calls are asynchronously, so only the time() function cannot get the correct inference time.
https://discuss.pytorch.org/t/how-to-get-forward-time/25158
Feel free to point out if I am wrong :)

You are right. Thanks for bringing this to our notice. We will correct the benchmarking script and update the inference times in the PDF.

You are right. Thanks for bringing this to our notice. We will correct the benchmarking script and update the inference times in the paper.

In this paper, it is 384x faster than the current most accurate method., so now?

ok, i think the paper should be rejected. The paper's main contribution is a fast speed. Now, it becomes a false promotion.

Hi, could you please share the pretrained model? The current links seem to be unavailable. Thanks a lot!


text:
Join Release - Buy Now - issue after finding consultant

Expected behavior
Per Denise:
Using the QA1 buy now link -
https://tastefully-simple-sandbox-2.mybigcommerce.com/cart.php?action=add&sku=150440&source=buy_button
I wanted to test a scenario and noticed that after I click change for my consultant on the cart screen - then find a consultant by ID number – and click on the Shop now link for this consultant – I am taken to the checkout page instead of the cart page where I can see my item and the consultant change in the lower part of the cart.
tested this same scenario in Prod – buy now.
https://shoptastefullysimple.com/cart.php?affiliate_action=add&sku=150300&source=buy_button
And after completing the search we are taken back to the cart as expected-  something has broken it in QA1.  (not sure if it was any join builds)
Steps to reproduce behavior
Per Denise:
Using the QA1 buy now link -
https://tastefully-simple-sandbox-2.mybigcommerce.com/cart.php?action=add&sku=150440&source=buy_button
I wanted to test a scenario and noticed that after I click change for my consultant on the cart screen - then find a consultant by ID number – and click on the Shop now link for this consultant – I am taken to the checkout page instead of the cart page where I can see my item and the consultant change in the lower part of the cart.

checked- done

repo: tastefully-simple/cornerstone


text:
Sound alert

Hi,
thank you for this great app. Could you add sound alerts when the timer expired? Sometimes I'm working with a fullscreen app and I can't see the notification window.
Keep up the good work!

@icebob
Added in 1.0.1. You can enable it in the settings.

Awesome, thank you!

authors: icebob tatyshev

repo: tatyshev/pomidorus


text:
[bug] yarn tauri build: AppImage bundle failure on Debian 10

Describe the bug
I'm just trying to bundle the default tauri-app template, to grasp the workflow. The .deb package is produced just fine (not binary stripped, tho), but the AppImage bundling fails.
Reproduction
I've created the default template, with no mods.
yarn tauri dev

works fine, while
yarn tauri build

breaks.
Expected behavior
The release files, ready for deployment, should be created.
Platform and versions
Operating System - Debian, version 10 X64

Node.js environment
  Node.js - 17.3.0
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 8.3.0
  yarn - 1.22.17

Rust environment
  rustc - 1.57.0
  cargo - 1.57.0

App directory structure
/src-tauri
/node_modules
/dist

App
  tauri.rs - 1.0.0-beta.8
  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

Stack trace
-- Running input plugin: gtk --
[gtk/stdout] Determining which GTK version to deploy
[gtk/stdout] /home/ant9000/src/tauri/tauri-app/src-tauri/target/release/bundle/appimage/linuxdeploy-plugin-gtk.sh: failed to auto-detect GTK version.
[gtk/stdout] Please set DEPLOY_GTK_VERSION to {2, 3, 4}.
ERROR: Failed to run plugin: gtk (exit code: 1)
Error: failed to bundle project

Caused by:
    Shell Scripting Error:`error running appimage.sh`

Additional context
The failing script tries to analyse tauri-app with ldd, in order to find out which GTK version to bundle, but this fails:
ldd target/release/bundle/appimage/tauri-app.AppDir/usr/bin/tauri-app
target/release/bundle/appimage/tauri-app.AppDir/usr/bin/tauri-app: error while loading shared libraries: libssl.so.1.1: failed to map segment from shared object

Using objdump in place of ldd works fine, instead:
objdump -p target/release/bundle/appimage/tauri-app.AppDir/usr/bin/tauri-app | grep NEEDED | sed 's/^ *NEEDED *//'

This shouldn't be an issue on the next branch, because we're now using a custom fork of that plugin.
I did merge the problematic upstream code into our fork, but we're forcing the version to GTK3, so this code should never run.
If you want to try the next branch you need to install and use the rust based cli directly:
cargo install tauri-cli --git https://github.com/tauri-apps/tauri

cargo tauri build

Please reopen this issue if the problem persists on the next branch. I'll probably just remove the relevant code then.

Code still fails - same reason, different place:
-- Running input plugin: gtk --
[gtk/stdout] Installing AppRun hook
[gtk/stdout] Installing GLib schemas
[gtk/stderr] chmod: cannot access 'tauri-app.AppDir/usr/lib64': No such file or directory
[gtk/stdout] Installing GTK 3.0 modules
[gtk/stdout] Updating immodules cache in tauri-app.AppDir//usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
[gtk/stdout] Installing GDK PixBufs
[gtk/stdout] Updating pixbuf cache in tauri-app.AppDir//usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
[gtk/stdout] Copying more libraries
[gtk/stderr] linuxdeploy version 1-alpha (git commit ID d2e9567), GitHub actions build 50 built on 2021-12-03 17:31:25 UTC
[gtk/stdout]
[gtk/stdout] -- Creating basic AppDir structure --
[gtk/stdout] Creating directory tauri-app.AppDir/usr/bin/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/lib/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/applications/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/16x16/apps/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/32x32/apps/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/64x64/apps/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/128x128/apps/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/256x256/apps/
[gtk/stdout] Creating directory tauri-app.AppDir/usr/share/icons/hicolor/scalable/apps/
[gtk/stdout]
[gtk/stdout] -- Deploying dependencies for existing files in AppDir --
[gtk/stdout] Deploying dependencies for ELF file tauri-app.AppDir/usr/bin/tauri-app
[gtk/stderr] terminate called after throwing an instance of 'std::runtime_error'
[gtk/stderr]   what():  Failed to run ldd: exited with code 1
[gtk/stderr] /home/ant9000/src/tauri/tauri-app/src-tauri/target/release/bundle/appimage/linuxdeploy-plugin-gtk.sh: line 301: 27518 Aborted                 env LINUXDEPLOY_PLUGIN_MODE=1 "$LINUXDEPLOY" --appdir="$APPDIR" "${LIBRARIES[@]}"
ERROR: Failed to run plugin: gtk (exit code: 134)
Error: failed to bundle project

Caused by:
    Shell Scripting Error:`error running appimage.sh`

And in fact:
$ ldd target/release/bundle/appimage/tauri-app.AppDir/usr/bin/tauri-app
target/release/bundle/appimage/tauri-app.AppDir/usr/bin/tauri-app: error while loading shared libraries: libssl.so.1.1: failed to map segment from shared object

Sorry, I cannot reopen this issue. Should I file it as a different one instead?

ah wait. can you manually remove the target/release/bundle folder before running it again? just hoping that it's an issue left by the old version.

Same result. Apparently the binary file is created correctly and ldd on it works fine. Things only break after the ELF files are patched:
Setting rpath in ELF file tauri-app.AppDir/usr/bin/tauri-app to $ORIGIN/../lib
...

Hmm, interesting. So this should be completely unrelated to any recent changes then. Which makes it weird that you're the first one reporting this, especially since it behaves the same as the upstream version, so the user base is even bigger.
On top of that i quickly setup a debian 10 and can't reproduce this behavior at all :/ both the git version and the released one work fine.
So honestly i have no idea how to triage this as it looks like a problem with your specific system.

Very strange indeed; I'll dig some more. Thanks for looking into this.
Antonio

Can confirm that a clean Debian 10 VM indeed creates the appimage bundle correctly. Cannot spot anything that might impact it, though, Tried also with a clean build user on my dev machine, but it still breaks - there is definitely something wrong on my side.
Sorry for the noise, I'll close the issue.

repo: tauri-apps/tauri


text:
fix(tauri) httpRequest API JSON/Text response reader, header value as string, closes #691

[x] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[x] No

The PR fulfills these requirements:

[x] It's submitted to the dev branch and not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Re: #691

Think we need a change file on this?

authors: jbolda lucasfernog


text:
Unable to import token from toolkit...

Discussed in https://github.com/taux1c/onlyfans-scraper/discussions/7

Originally posted by taux1c August 23, 2022
I have been using an old version, never bothered updating and I just updated only to find that it doesn't work for me even in a new venv. May roll it back to the old code if everyone is having the same issues.

Solution:
Downgrade toolkit:
pip install 'prompt_toolkit==1.0.14'


text:
Segfault in Read5

Hi, I'm reading a MatLab file with Torch wrapper for matio and getting a Segfault at https://github.com/tbeu/matio/blob/master/src/mat5.c#L4331.
Program received signal SIGSEGV, Segmentation fault.
Read5 (mat=0x722ef0, matvar=<optimized out>) at mat5.c:4331
4331                    fields[i]->internal->fp = mat;
(gdb) bt
#0  Read5 (mat=0x722ef0, matvar=<optimized out>) at mat5.c:4331
#1  0x00007fffa425d3a0 in Read5 (mat=0x722ef0, matvar=<optimized out>) at mat5.c:4332
#2  0x00007fffa425d3a0 in Read5 (mat=0x722ef0, matvar=<optimized out>) at mat5.c:4332
#3  0x00007fffa4268714 in Mat_VarRead (mat=0x722ef0, name=<optimized out>) at mat.c:1987
#4  0x000000000048ce29 in lj_vm_ffi_call ()
#5  0x000000000045d4e0 in lj_ccall_func ()
#6  0x000000000045f7b6 in lj_cf_ffi_meta___call ()
#7  0x000000000048ae6a in lj_BC_FUNCC ()
#8  0x000000000047a6dd in lua_pcall ()
#9  0x000000000041131f in pmain ()
#10 0x000000000048ae6a in lj_BC_FUNCC ()
#11 0x000000000047a757 in lua_cpcall ()
#12 0x000000000040f234 in main ()

The file I'm loading is a few hundred megabytes, but I could provide it if needed. Thanks!

Was the MAT file created using MATLAB? Which version of matio did you use?
In order to reproduce and debug the problem I'd need the MAT file causing the segfault. It would be nice if you could reduce its size to a minimum. Thanks for your report.

Any file to share?

Sorry for the delay. You could get the file (350 Mb) from my OneDrive: https://1drv.ms/u/s!Apx8USiTtrYmoJRncwpfATtnCZLvuA

Thank. Can reproduce and will investigate it. Do you have some MCOS objects inside the struct? It looks like it when watching the binary stream but I did not find it when opening it in MATLAB R14SP3.

Don't know what MCOS objects are. I produced this file running R2015a with code from this repo: https://github.com/hbilen/WSDDN/blob/master/scripts/prepare_wsddn.m#L18
The produced saved model is fine if I run this code as is and fails if I remove drop6 and drop7 from the list (the objects from the list get saved in the produced file in the end).

Yes, that is exactely what I mean by MCOS (MATLAB Class Object System). These class objects are currently not supported.

In my understanding is that matconvnet's code converts the DagNN object to plain struct before saving:
https://github.com/vlfeat/matconvnet/blob/91399d47fcfcd06836f30ee3d88fcc7116ae40e0/matlab/%2Bdagnn/%40DagNN/saveobj.m#L3
matio reads the saved file OK when it's saved with '-v6'.

But
$ matdump.exe -f whos bug_matiov6.mat
Name                       Size           Bytes          Class

net                        1x1           515410578  mxSTRUCT_CLASS
stats                      0x0                   0  mxDOUBLE_CLASS
                           1x88                 88  mxUINT8_CLASS

gives some strange trailing 88 bytes variable for the MCOS.

Anyway, I will investigate further. Done this a few times previously. It is a tedious byte-by-byte comparison of the zlib-inflated v7 and the v6 MAT-file which usually gives the hint where matio uncompressing is faulty.

Would you like me to upload the working v6 file?

Thanks. I already created it myself using old MATLAB R14SP3.
load bug_matio.mat
save bug_matiov6.mat net stats -v6

The/one error is reproducable if only net.layers is saved. Reduces the file size significantly.

I guess this loop is to blame:
https://github.com/vlfeat/matconvnet/blob/91399d47fcfcd06836f30ee3d88fcc7116ae40e0/matlab/%2Bdagnn/%40DagNN/saveobj.m#L40
Yet it goes fine with -v6...

Oops, there is class(block). Not sure if this is supported.

"ClassName = class(object) returns a string specifying the class of object."  (http://fr.mathworks.com/help/matlab/ref/class.html)
And it's indeed a byte vector when I read the file saved with -v6...

Right. Nothing to blame.

net.layers(1,22).block.levels is strange. What type is it?

It should be just an integer.
2016-07-11 21:36 GMT+02:00 tbeu notifications@github.com:

net.layers(1,22).block.levels is strange. What type is it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tbeu/matio/issues/40#issuecomment-231840876, or mute
the thread
https://github.com/notifications/unsubscribe/AA_lWNB-fSrbRK77_Pnqu1WdhEkMK-zUks5qUptbgaJpZM4JHQwj
.

--
Vadim Kantorov
+33 6 03 29 27 69

Well, it looks like an empty field.

When I load the buggy file, it's somehow a gpuArray:

class(a.net.layers(1, 22).block.levels)

ans =
gpuArray

Yes, confirmed. Where is it saved (in m source)?

Both the v6 and the v7 MAT-file have MCOS ... gpuArray in the binary stream there.

Yep, what's happening is that in the model there's a custom layer (a MCOS) that gets serialized at the block.save() call https://github.com/vlfeat/matconvnet/blob/91399d47fcfcd06836f30ee3d88fcc7116ae40e0/matlab/%2Bdagnn/%40DagNN/saveobj.m#L42
What's surprising is that if I keep drop6 and drop7 objects in the graph, then both v6 and v7 version produce a readable file.

At least it should not crash on such data. Going to try to handle this exception.

Thanks!
By the way, can this github project be considered as the official matio home?

This is my mirror of the official matio from sf.net. Once I file a new release I push to the sf.net repo and prepare the release there.

You wanna test if 3b6dc8f works for you where the unknown MCOS class is skipped now.

I'll check it later tonight!

The file doesn't break anymore, LGTM.

Since reading works I am going to close this issue and moved the existing writing problems for #47.

authors: tbeu vadimkantorov

repo: tbeu/matio


text:
fixing sshfs options

added missing  -o before $sshfsOptions value.
defaulted "connectPrompt" when there's "no_action" at all.
added "add" along "add-server" for typing less.

Looks good. Thank you!

repo: tbutcaru/sshfs-manager


text:
Performance on large directories is bad

I have a project directory that includes a node_modules directory with a couple thousand markdown files. While I believe that a few thousand markdown files should be a doable task, in the short term, is there perhaps a way I could tell markdown-links to ignore some folders? If I move this folder out of my directory tree and restart, it's able to handle the remaining 400 or so files admirably.
In fact, the whole Foam stack, including this repo and the vscode-markdown-notes extension, can then successfully handle my ~450,000-file Dropbox (with only those 400 markdown files (although, for some reason, only 285 files are reported in the corner of the graph view), which Zettlr can't yet do. (Although, some tasks like finding backlinks, are a bit slow.)

Ignoring files is in progress. @ingalless started a PR which should significantly help with it. Other than that, we are planning to respect .gitignore file which should also handle node_modules in all or close to all cases.
Regarding files that are not reported – they might have been not discovered which most likely means they are missing a Markdown H1 title. It was an early assumption that is not true anymore for many projects and we are gathering feedback on improving it. See #28.
Thanks for reporting the problem!

I have the same issue - I've loaded about 1200 files (which will be expanded to at least 3000 soon) and it takes the graph minutes to load up, and is extremely laggy when zooming and panning.
Is it possible, at the very least, to save it all so that start-up is quick? I assume the slowness in general usage means that an entirely different way of generating it is needed. For example, Obsidian uses D3 and Pixi.js and the same files perform flawlessly in their graph.

Do you know if they are using d3 just for data manipulation or d3-force for simulation too?
Here we currently use d3-force displayed and manipulated as an SVG. Moving it to WebGL would definitely help with performance. I have some experience with this exact kind of thing so I will try playing with it.

Is it possible, at the very least, to save it all so that start-up is quick?

You mean save the previous graph data so it might start from the cache and just do the simulation step? Actually, I have never measured performance so the first thing would be to check what is really causing the slowness here.

I don't know what they do exactly, but am pretty sure they use d3-force. Seems like WebGL or Canvas would be a good solution to the data scale issue, so long as they don't come with other big tradeoffs.

You mean save the previous graph data so it might start from the cache and just do the simulation step? Actually, I have never measured performance so the first thing would be to check what is really causing the slowness here.

Yes, I figured it would be worthwhile to cache the data rather than rebuild. I have no idea about any of this, but your idea to check where the bottleneck actually is sounds like a good plan!
Here's the dataset that I was using: https://github.com/nickmilo/IMF-v3 (its a great method/template to look through and learn from anyway!)

@nixsee @tchayen Worth mentioning--performance is not the only reason that you might want to cache node locations. It's also valuable to encourage some consistency in their location from run to run, just to improve usability.

Just leaving another option I've been mulling over:
What about a config option for large datasets that enables the graph parsing to only scan links for the currently open file, perhaps only 1-2 nodes out? You would lose being able to see the whole graph, and perhaps caching is a better option, but I thought I'd drop this here

@ingalless How does this differ from @ianjsikes 's  Focus graph? Ultimately I prefer that view, but full graph mode is also useful at times.
Aside from probably needing to change a lot of code, what would be the drawback to using WebGL/canvas for better performance?

@nixsee part of the performance issue seems to be not only rednering the graph, which changing the rendering engine would solve, but also parsing all the markdown files in a project to gather all the edges and nodes
@ianjsikes branch, to my knowledge, doesn't actually change how markdown links parses the files. It "hides" nodes that aren't relevant, but do correct me if that understanding is wrong!
The proposed solution was the ability to selectively switch to an "on demand" mode as it were, where processing would only happen on node change, and then only for 1-2 edges out.
A combined solution would attack both performance bottlenecks, although switching to WebGL would allow those who are fine waiting for the nodes all to load to have a smooth experience
I've not checked, but could you even batch load nodes so that the user can see something whilst distant nodes are loading?
I was merely putting forward an alternative or even combinative solution to the issue, as "fix performance" is very general. There's the performance of the graph to consider as well as the processing of files

@ingalless I don't have any insight into how any of this works, so I assume you are correct - I was merely asking! I'll leave it to all you folks to figure out what is the best way forward. But it would seem to me that, in addition to an adjustable-distance Focus mode, being able to efficiently load and smoothly work with the full graph would be a desirable goal. Obsidian uses d3js and PixiJS for their rendering, and it works pretty quickly and smoothly with a couple thousand nodes.

I can confirm: 1200 .md files need around 20 seconds to render as a graph and already painful to interact with. There are no other files in the directory. All ideas I have was already mentioned above: caching and smart scan from the current node to neighbors (if it is possible to re-render nodes in real-time, of course).

I can confirm: 1200 .md files need around 20 seconds to render as a graph and already painful to interact with. There are no other files in the directory. All ideas I have was already mentioned above: caching and smart scan from the current node to neighbors (if it is possible to re-render nodes in real-time, of course).

authors: Atarity ingalless nixsee tchayen tsbertalan

repo: tchayen/markdown-links


text:
Use base_class rather than superclass

I've had some issues with this gem after updating to rails 5.
Upon installation, the object.follow(thing) works fine the first time, but every time thereafter, it fails with:
TypeError: no implicit conversion of nil into String

It's because ApplicationRecord is the class that parent_class_name is returning. You can see by this query:
INSERT INTO "follows" ("followable_id", "followable_type", "follower_id", "follower_type", "created_at", "updated_at") VALUES (14829, 'ApplicationRecord', 1, 'User', '2017-01-15 09:49:16.098371', '2017-01-15 09:49:16.098371') RETURNING "id"

I've done all the recommended steps with the config and I was about to give up until I saw that you're using superclass, which doesn't always provide the right class in a rails environment:
class A < ActiveRecord::Base
end

class B < A
end

> A.superclass
=> ActiveRecord::Base
> B.superclass
=> A

> A.base_class
=> A
> B.base_class
=> A

I added this commit to my own forked branch and it now works as expected: https://github.com/bufordtaylor/acts_as_follower/commit/43ad8ae9903f37cedf2b47a2ae0271926d3c5429

This is a duplicate of #56

@bufordtaylor Now that #56 has been merged, are you still experiencing this issue?

authors: brchristian bufordtaylor mrjlynch


text:
Build daala only once

The current script logs into each machine and does a build. Instead, a single static Daala build should be done, and the x86_64 binary should be copied to each machine.

Fixed

repo: tdaede/awcy


text:
Deleting account by your friends

Hi.
As everyone knows the telegram is a highly secure messager. But nobody protect telegram account and private date (information from the chats) from the mobile's loosing or stealing. If mobile phone has been stolen thief can get the access to the private chats.
To reduce the problems after such situation I suggest you to make new fuction by wich you can give someone right to delete your account. This persone can do it with out any your approve. That's mean that if you lose your phone your friend can help you and keep out the private information from strangers.
Or it can be not one person. It can be several persons and your account can be deleted if they activate function of the deleting your account together.

This may be the solution.
+

repo: tdlib/td