text:
Attribute.isOptional always returns true

This is basically a re-requesting of #286. The XML for a MOM will only contain an "optional" attribute if the "Optional" checkbox for the property is checked. If the box is not checked, then the XML element has no attribute with this name at all. Since initializing an NSPropertyDescription bare has a default value of YES for its "optional" attribute, this results in that attribute always being YES.
The problem is easily solved by adding a "propertyDescription.optional = NO;" in +[NSPropertyDescription baseEntityForXML:] to make the default value match what happens when there is no attribute in the XML element. I can file a pull request if you need it, but my Github-fu is terrible, so it'll take me some work to figure out how.

We'll take it.
The general workflow can be done through the GitHub UI:

Fork mogenerator.
Create a new branch on your fork to make your changes
Add your fix to your branch.
Generate a pull request pointing at your branch back to here.

Feel free to bug me if you need any other GitHub help!

Blerg, checked out master and discovered I had just done some funky branching and this was actually fixed some time ago. Nevermiiiiind! disappears in puff of smoke

authors: bewebste justin

repo: rentzsch/mogenerator


text:
手动点击退出全屏按钮和视频播放完成冲突

如果点击退出全屏按钮时，视频即将播放完成或播放完成时，退出全屏后，视频无法重新播放，播放按钮失效

播放完成的回调是你自己写的，你做了什么操作

执行了stopCurrentPlayingCell

我看demo中也有这个问题

这个是停止播放并移除当前播放的view，你自己处理播放完的回调就行

现在的问题是如果我正好在视频播放完成时点击了退出全屏的按钮，播放的view没从cell上移除

现在的问题是如果我正好在视频播放完成时点击了退出全屏的按钮，播放的view没从cell上移除

麻烦给一下复现场景

source: gharchive/issue

repo: renzifeng/ZFPlayer

license: mit

license_type: permissive

license_source: bigquery


text:
ログイン認証周りのサービス選定

FirebaseまたはAWS Cognitoを利用したいと考えている。
個人的には、AWSのCognitoを利用する予定。
https://aws.amazon.com/jp/cognito/
50000人まで無料で運用可能な認識。
SNS認証に関しては50人まで無料の認識。

firebaseで決定する

repo: reolch/BookManager

license: MIT

license_source: github-api


text:
Set a minimum CUDA version for Tensorflow versions

Previously, we fetched the TensorFlow compatibility matrix directly from the TensorFlow release page, including all versions without checking for a minimum CUDA version. This led to conflicts with other code paths that expect a smaller set of CUDA versions (e.g., cuda_base_images.json).
This change introduces a minimum CUDA version requirement when generating the TensorFlow compatibility matrix. By doing so, we ensure compatibility and consistency across the codebase, preventing conflicts with other components that rely on specific CUDA versions.

@mattt @jessie-young can you take another look?
See https://github.com/replicate/cog/pull/1715/commits/ab290506998a3f013a664d0f9de2132c2ecfb22c for more details about my approach

source: gharchive/pull-request

repo: replicate/cog


text:
Improve the ergonomics of awaiting predictions

The replicate.run method provides a nice way of running a prediction and getting its output with a single line of code:
const output = await replicate.run(identifier, options, progress);

That's nice if I only want the prediction output. But what if I want the whole prediction object? For example, maybe I want to know the prediction id, or see how long the prediction took to run. In this case, the best option is this:
let prediction = await replicate.predictions.create({ version, input })
prediction = await replicate.wait(prediction);

That works, but it's not ideal for a few reasons:

It's more code. No longer a glamorous one-liner.
The fact that replicate.prediction.create is itself an async function makes me think that maybe I'm awaiting its completion too, when in fact I'm actually just awaiting the empty shell of a prediction.
The wait call is on the replicate object, rather than on the prediction instance itself. This is confusing.
I can't make the prediction a const because I have to re-assign it when I call wait. It feels weird to create a thing and then overwrite it entirely, especially in the age of JavaScript constants.
I would probably always have to look at the docs to get this right.

How can we make this better? My off-the-cuff idea is a wait option on the replicate.predictions.create method:
const prediction = await replicate.predictions.create({ version, input, wait: true })

What do folks think of that? Open to ideas here.
cc @replicate/product @replicate/hackers

That's nice if I only want the prediction output. But what if I want the whole prediction object?

@zeke I'm pretty sure we don't document that anywhere, but replicate.run takes a progress callback that returns the prediction object. You can use that to get the prediction ID, current status, and logs.
const output = await replicate.run(model, { input }, ({ id, status, logs }) => {
  console.log({ id, status, last_log_line: logs.split("\n").pop() });
});

How does that feel?

Good to know! That's definitely useful, but maybe not entirely intuitive. Imagine coming upon this code without having read the docs. Would you understand that that callback was a progress event?
Either way, we should document that!

Imagine coming upon this code without having read the docs. Would you understand that that callback was a progress event?

Not that code golf version, no. But there are more self-documenting ways to write it:
callback = (prediction) => {
   const last_log_line = prediction.logs.split("\n").pop()
   console.log({id: prediction.id, log: last_log_line})
}
const output = await replicate.run(model, { input }, callback)

But more to your original point: I don't hate replicate.predictions.create(..., wait: true) — in fact, the Swift client has that pattern. We can definitely add that.

But more to your original point: I don't hate replicate.predictions.create(..., wait: true) — in fact, the Swift client has that pattern. We can definitely add that.

Aha! I thought I'd seen that somewhere. I forgot it was the Swift client.

A comment from @deepfates on https://github.com/replicate/create-replicate/pull/39#issuecomment-1949534612

I like this from a usability standpoint but from a wording standpoint i feel weird about showcasing replicate.wait this way. Just seems to imply that it will take a long time, while .run implies something happening right away. No strong block though

☝🏼 Coming at this from a different angle: what if replicate.run had an option for giveMeTheWholePredictionInsteadOfJustTheOutput?
Maybe not a great idea, as I know that's unsavory from a good-programmer typed-languages perspective to have a function that returns differently shaped objects based on its inputs. But it could also be a nice way for people to migrate from the existing replicate.run thing we told them to write to the thing they actually want.

@zeke I think that gets to the underlying question: Do we want to make predictions more or less prominent in our system?
A prediction a means to an end. It's ephemeral. Like a train ticket, once you get to where you're going, you don't need it anymore (and ideally, you wouldn't need one at all). Except in the cases where you're still in transit or you didn't reach your intended destination, why hold onto it?
Why should someone care about a prediction object in the first place?

If it's for debugging, replicate.run failures throw an error. If that error contains a prediction object, that should be enough to go on. In this way, it's like a stack trace.
If it's for logs, the callback in run gives you that. (And also, we're likely extracting that into its own resource, because of how large they get for long-running work)
If it's for accounting, webhooks provide a good way to funnel everything into a single endpoint.
If it's for analytics, there are other solutions. For example, we could decorate replicate.run in such a way to wrap the output in a metrics object.

Here is a better version of starting a prediction with run and not waiting until it's done:
    const predictionIdPromise = new Promise((resolve) => {
      const onProgress = (prediction: Prediction) => {
        resolve(prediction.id); // can be something like resolve({ id: prediction.id, ...more parameters to return });
      };

      this.replicateClient.run(
        identifier,
        { input },
        onProgress,
      );
    });

    const predictionId = await predictionIdPromise;

@onurkose FYI - replicate.run is a convenience method that combines replicate.predictions.create and replicate.wait. You can call replicate.predictions.create to create a prediction and not wait for it to finish, which is useful for "fire-and-forget" workflows, where you rely on webhooks to deliver results asynchronously.

authors: mattt onurkose zeke

repo: replicate/replicate-javascript


text:
escape key blurs codemirror instead of exiting insert mode

When I am in insert mode and press escape, I would expect it to go back to normal mode but instead the editor looses focus. I guess this is due to some browser defaults? Is there any way to fix this? I am using svelte-codemirror-editor.

Maybe you have another codemirror extension that handles escape key before vim? Do you see the same issue on https://raw.githack.com/replit/codemirror-vim/master/dev/web-demo.html?

Did you manage to find the cause of the issue you were seeing? I am closing this due to lack of reproduction steps, but if you have any additional info, please comment.

I have the exact same issue happening, but it is indeed this issue: https://github.com/philc/vimium/issues/2734
If I disable the Vimium extension for the page in Firefox, Escape works as one expects to exit insert mode.
https://raw.githack.com/replit/codemirror-vim/master/dev/web-demo.html

repo: replit/codemirror-vim


text:
had to use '3.10' in version, instead of just 3.10, otherwise, it was truncated to 3.1

Hi.
Not a big deal, since I found a workaround, but to use nsis 3.10, I had to put the version number between '', otherwise,
it was truncated to 3.1.
Just for your information.

Thanks for the hint, I updated the readme with the version 3.10 to have an example using ''

repo: repolevedavaj/install-nsis


text:
Support for status code 308 (Permanent Redirect)

Would you consider adding support for the status code 308 (Permanent Redirect)[1], even though it's only a proposed standard!?
[1] https://tools.ietf.org/html/rfc7538

Hello. This should not be closed automatically. It's quite a  surprise to detect that request doesn't support 308 redirection.
It's even funnier when you find it only after your thing is deployed live, because only on live something actually redirects.

authors: kimabrandt sznowicki

repo: request/request


text:
Handling proxy request errors

There is an example in docs how to make a proxy request
req.pipe(request('http://mysite.com/doodle.png')).pipe(resp)
The problem is if request error occurs it throws exception and node working process stops. How to handle request errors?

@whitecolor my solution is to add an error handler:
req.pipe(request(url).on('error', e => res.sendStatus(503))).pipe(res)

authors: slmgc whitecolor


text:
UI freezes when trying to save

Describe the bug
Rerun UI freezes without succesfully saving when I try to save to a file.
To Reproduce
Steps to reproduce the behavior:

run python -m rerun
log some data to rerun
try to save using the UI

Expected behavior
Expect Rerun UI to save a datafile and then continue working.
Screenshots

Backtrace
$ python -m rerun
2023-03-02T14:22:25.684096Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1

(python:940210): GLib-GObject-WARNING **: 15:26:17.681: cannot register existing type 'GVfs'

(python:940210): GLib-GObject-WARNING **: 15:26:17.682: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(python:940210): GLib-CRITICAL **: 15:26:17.682: g_once_init_leave: assertion 'result != 0' failed

(python:940210): GLib-GObject-CRITICAL **: 15:26:17.682: g_type_register_dynamic: assertion 'parent_type > 0' failed

(python:940210): GLib-GObject-WARNING **: 15:26:17.682: cannot register existing type 'GVolumeMonitor'

(python:940210): GLib-CRITICAL **: 15:26:17.682: g_once_init_leave: assertion 'result != 0' failed

(python:940210): GLib-GObject-CRITICAL **: 15:26:17.682: g_type_register_dynamic: assertion 'parent_type > 0' failed

(python:940210): GLib-GIO-WARNING **: 15:26:17.682: Tried to implement non-registered extension point gio-volume-monitor

(python:940210): GLib-GObject-WARNING **: 15:26:17.682: cannot register existing type 'GLoadableIcon'

(python:940210): GLib-GObject-WARNING **: 15:26:17.682: cannot register existing type 'GIcon'

(python:940210): GLib-GObject-CRITICAL **: 15:26:17.682: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(python:940210): GLib-CRITICAL **: 15:26:17.682: g_once_init_leave: assertion 'result != 0' failed

(python:940210): GLib-CRITICAL **: 15:26:17.682: g_once_init_leave: assertion 'result != 0' failed

Desktop (please complete the following information):

OS: Ubuntu 20.04 Desktop

Additional information
rerun version: 0.2.0+df920dc.1. Installed precompiled wheel from release pages since a new wheel has not been uploaded to PyPI yet afaik.

(Dupe of #1315 & #1399, will very likely be fixed by #1402)

Closed as duplicate of https://github.com/rerun-io/rerun/issues/1315

authors: emilk teh-cmc tlpss

repo: rerun-io/rerun


text:
Design and implement: app / recording / blueprint selection GUI

Rerun currently has 3 related concepts relevant to the given state of the viewer: "app", "recording" and "blueprint."
The current naive implementation has 2 menu items: 1 for recordings and 1 for blueprints.  Nothing precludes you from manually selecting incompatible recordings and blueprints.
There are still lots of open questions and ideas around how to handle this.  3 proposals that have come up so far:
Proposal 1: Recording-centric

https://github.com/rerun-io/rerun/issues/1905
Each recording always gets its own tab
Within a recording tab, only show the matching blueprints based on app-id
Open question: what happens if you load a blueprint or run a blueprint-app with a different app-id?

Proposal 2: App-centric

Each app gets its own tab
When a new recording or blueprint associated with a specific app comes in or is opened, auto-switch to that app:
Within the context of an app, by default, you only see the Recordings/Blueprints of the matching app.
Open questions: how do you show two recordings of the same app?

We've decided on limiting each Rerun Viewer to only have one blueprint loaded at a time. This means each recording can get its own tab. Mårten is in the process of designing that.

authors: emilk jleibs


text:
Subdue container labels to distinguish them from space views

What
As the title says ☝🏻. Note that the icon still reflects visibility.
Here, the tab widget is visible but not the vertical one:

Selection panel (which currently doesn't reflect visibility state https://github.com/rerun-io/rerun/issues/4854):

Relates to:

https://github.com/rerun-io/rerun/issues/4743

Note: this PR piles on debt to be paid off with:

https://github.com/rerun-io/rerun/issues/4802

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[ ] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

[PR Build Summary](https://build.rerun.io/pr/{{ pr.number }})
[Docs preview](https://rerun.io/preview/{{ pr.commit }}/docs)
[Examples preview](https://rerun.io/preview/{{ pr.commit }}/examples)
Recent benchmark results
Wasm size tracking

I don't think this design really worked. It's too hard to distinguish and greying out just the names didn't really communicate that there is something different about this kind of thing

I don't think this design really worked. It's too hard to distinguish and greying out just the names didn't really communicate that there is something different about this kind of thing

I agree. I'm not really sure how to go forward from this. Color? That's how macOS/windows deals with that: coloured, very strongly styled icons for containers.

Any icon sub-typing is very discreet:

@martenbjork help! 😅

Should we draft this?

Should we draft this?

We actually decided to discard it.

authors: abey79 nikolausWest teh-cmc


text:
Formatting is very slow for deeply nested callbacks

Deeply nested callbacks seem to slow performance greatly. A file like this takes 2+s to format on my machine and only a couple more layers are needed for a format to seemingly never complete.
let a = () => {
  b(() => {
    c(() => {
      d(() => {
        e(() => {
          f(() => {
            g(() => {
              h(() => {
                i(() => {
                  j(() => {
                    k(() => {
                      l(() => {
                        ()
                      })
                    })
                  })
                })
              })
            })
          })
        })
      })
    })
  })
}

I am pretty sure this is an issue on the printing side. I get syntax errors and type errors immediately so the parser doesn't appear to have any problem with code like this.
Additionally, adding more logic in deeper layers leads to pretty large increases. So having one additional line in the inner-most callback slows things down much more than one layer up (which is better than two layers up). This seems to be a ~linear increase based on which layer you're in. While adding layers seems to be quadratic.

There's an issue for that already. Looking.

https://github.com/rescript-lang/syntax/issues/261

Out of curiosity, what kind of code is this? machine generated? (still going to fix the underlying problem regardless of the code)

We saw this with deeply nested promises with custom resolution logic. It was handwritten - I think two levels less deep but lots more logic in it. ~7s to format ~400 lines.

authors: IwanKaramazow cristianoc rickyvetter

repo: rescript-lang/syntax


text:
Simple error formatter

Provide a default, simple error formatter designed to provide sane values out of the box
resolves #10

Codecov Report

Merging #37 (9026044) into main (836b783) will increase coverage by 0.11%.
The diff coverage is 99.44%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   98.78%   98.90%   +0.11%
==========================================
  Files          29       34       +5
  Lines         824     1004     +180
==========================================
+ Hits          814      993     +179
- Misses         10       11       +1

Impacted Files
Coverage Δ

tests/test_error_formatters.py
99.21% <99.21%> (ø)

ariadne_django/formatters/errors/simple.py
100.00% <100.00%> (ø)

.../formatters/errors/utils/extract_original_error.py
100.00% <100.00%> (ø)

.../utils/get_full_django_validation_error_details.py
100.00% <100.00%> (ø)

...matters/errors/utils/get_postgres_error_details.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

authors: codecov-commenter maxmorlocke


text:
SyncBot: A thread from Discourse didn't get 'connects to'

In this thread the Discourse link wasn't preserved.  Don't know why yet, just recording.  https://www.flowdock.com/app/rulemotion/public-s-community/threads/lRAPk_3xbc5w0ISjsaT5ErrXiVQ

The has been a major refactor since this bug was reported, so I'm going to close down and keep an eye out for re-occurences.

repo: resin-io-modules/resin-procbots


text:
.imz file support

Etcher doesn't support .imz files created by USB Image Tool. It's just a zip file, and you can rename it to .zip and it works, but it would be nice if you didn't have to do that.

Etcher version: 1.2.0
Operating system and architecture: Windows 10 Pro (x64)
Image flashed: ubuntu.imz
Do you see any meaningful error information in the DevTools? n/a

With no disrespect to the author of USB Image Tool, I'd rather see #266 implemented than add support for whatever weird and wonderful image extensions 3rd party tools happen to create.
But that's just my personal opinion, and the other Etcher developers may disagree ;-)

@lurch I can't see how that has anything to do with this issue?

Sorry, perhaps I should have given a bit more context. I clicked on the USB Image Tool above, and it's a GUI program for reading and writing disk images from and to USB drives. A bit like what Etcher does, without the 'reading' part...

authors: jhermsmeier lurch zambelly

repo: resin-io/etcher


text:
[WIP] Lock Interface

resolves - https://github.com/resonatehq/resonate-sdk-ts/issues/25

implementation of lock interface in remote and local mode

hi @vaibhawvipul, this pr will alter slightly the payload for acquire and heartbeat apis: https://github.com/resonatehq/resonate/pull/216.
I'd recommend just looking at the openapi file which is up to date in the PR.
If you have any questions lmk.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bbae2df) 60.73% compared to head (8553c77) 60.73%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   60.73%   60.73%
=======================================
  Files          17       17
  Lines         736      736
  Branches      176      176
=======================================
  Hits          447      447
  Misses        267      267
  Partials       22       22

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

authors: codecov-commenter guergabo vaibhawvipul

repo: resonatehq/resonate-sdk-ts


text:
[🚀]  Allow to create stores without intents, like what is done with actions

Some stores may not have intents. We can add a way to disable intents to the store to improve performance.

If the onIntent callback is not defined, the store is now automatically disables all intent-related machinery

repo: respawn-app/FlowMVI


text:
CACHEDIR.TAG and security

According to "Security Considerations" part of the Cache Directory Tagging Specification which restic uses for the --exclude-caches flag, it seems advisable to block and ask to confirm the list of excluded cache directories (or new ones since the last backup at least) so user don't get surprises when some directory was not backed up (In my case, I can imagine user putting "cache directories" in their nextcloud, and I would like to keep that backed up, or at least noticed it and tell user to remove it or something)

The backup command does not support any kind of user interaction.
Why even use the --exclude-cache when you're worried about unwanted exclusions? You could instead keep track of CACHEDIR.TAGs by using find to determine the relevant folders, then use diff to check for changes and just feed restic an --exclude-file with curated content.

sure, I could also just tar up my system to back up. I use restic because it's a good tool, I'm just suggesting this particular function could lead to data loss so maybe there need to be more warnings or reworked abit (perhaps exactly like you said, make it generate a exclude.txt file instead)

sure, I could also just tar up my system to back up. I use restic because it's a good tool, I'm just suggesting this particular function could lead to data loss so maybe there need to be more warnings or reworked abit (perhaps exactly like you said, make it generate a exclude.txt file instead)

I'm just suggesting this particular function could lead to data loss so maybe there need to be more warnings or reworked abit

Well, in your threat model, the user could drop a CACHEDIR.TAG in a folder, leading to it not being backed up.
Did you realize that the user could also just delete the folder right away?

I thought I was being quite clear with

(In my case, I can imagine user putting "cache directories" in their nextcloud, and I would like to keep that backed up, or at least noticed it and tell user to remove it or something)

@tleydxdy: No one forces you to use --exclude-caches

if you want to exclude a priori known cache directories, exclude them using --exclude or --exclude-file
if you want to exclude directories depending on contents of the directory, use --exclude-caches or  --exclude-if-present

In the first case, nobody can toggle exclude rules even when modifying some content.
In the second case, anyone who can change the content can force dirs not to be backup'ed.
So, don't understand your problem. For me, it just looks like the first case applies to your use case.

@aawsome I agree with the things you said 100%, I just mean the flag carries some not so obvious risks and it would be useful to give a hint to the user to avoid mistakes.

authors: MichaelEischer aawsome jniggemann tleydxdy

repo: restic/restic


text:
no ID found / type not specified

Output of restic version
restic 0.3.0 (v0.3.0-6-g6f72164)
compiled at 2016-10-10 15:48:02 with go1.6.3 on windows/amd64
Expected behavior
[15:50:55,65] g:\restic>g:\restic\restic -r g:\restic\ forget /d 7 /w 4 /m 12
forget some backups
Actual behavior
[15:50:55,65] g:\restic>g:\restic\restic -r g:\restic\ forget /d 7 /w 4 /m 12
no ID found
restic.init
c:/Temp/restic-build-193909127/src/restic/backend_find.go:7
main.init
c:/Temp/restic-build-193909127/src/cmds/restic/table.go:46
runtime.main
C:/Go/src/runtime/proc.go:177
runtime.goexit
C:/Go/src/runtime/asm_amd64.s:1998
Also interesting:
restic.exe  -r g:\restic list
leads to
type not specified
But doing backups still works :-)
Did I oversee any incompatible changes to the repository?
Steps to reproduce the behavior
Run restic 0.3 on a restic 0.2 repository on windows

Thanks for reporting this, the error message is not so great. You're using the wrong calling convention, please use:
$ restic forget -d 7 -w 4 -m 12

In your case, restic tries to find a snapshot with the ID /d, which obviously fails.

I've improved the error message in #641 to:
$ bin/restic forget /d 7 /w 4 /m 12
argument "/d" is not a snapshot ID, ignoring
argument "7" is not a snapshot ID, ignoring
argument "/w" is not a snapshot ID, ignoring
argument "4" is not a snapshot ID, ignoring
argument "/m" is not a snapshot ID, ignoring
cound not find a snapshot for ID "12", ignoring

Thx for pointing this out. Works fine.


text:
delete existing dev cluster

replaced by dev.aks-sb.com

all "mon-dev-*" were deleted.

authors: bartr gortegaMS

repo: retaildevcrews/asb-hack


text:
Move the logic where we fetch the user from GitHub into hzc-web-sync instead of hzc-web-backend

It belongs there because we don't want it to happen twice for the same user if we have multiple web-backends deployed.

wrong repo?
On Sat, Jul 16, 2016, 15:53 Michael Lucy notifications@github.com wrote:

It belongs there because we don't want it to happen twice for the same
user if we have multiple web-backends deployed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rethinkdb/horizon/issues/646, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAFVuAd12TeO29yDyQHTdHr479LHyXfks5qWWDzgaJpZM4JOHJ-
.

<.<

authors: deontologician mlucy

repo: rethinkdb/horizon


text:
JSON/YAML format for pull export

pull export is amazing and I use it very heavily. There are various difficulties with bibtex/biblatex support, to do with those formats being messy. It would be great if the pull export also supported Better CSL YAML and.or Better CSL JSON which are much easier for the end-user to massage, in addition to the BibTex/BibLatex currently supported.

Oops, this is clearly an enhancement not a bug. I don't think I can edit the labels here though.

That's OK. I'll update the documentation but your can already get csl-json by ending the pull url with .csljson or .cslyaml instead of .biblatex. AAMOF for any of the BBT formats you can pull-request them by ending the url in their format name, stripped of better and lowercase it, or any other format zotero supports by ending it in the translator guid you find in their header.

authors: danmackinlay retorquere

repo: retorquere/zotero-better-bibtex


text:
Replacing 'director' by 'author' on video or movie types when exporting with Better BibLaTeX

Hi!
I asked this on Zotero forums, https://forums.zotero.org/discussion/70889/replacing-director-by-author-on-video-or-movie-types-when-exporting-with-better-biblatex#latest
Because of the problems LaTeX platforms have with fields like 'director' in 'movie' or 'video' types, I tried to autochange that fields by 'author' field. But 'director' is exported in Zotero as a field whilst 'author' is a namelist, so I figured out I needed to add the list format in the postscript. I tried it as follows:

if (Translator.BetterBibLaTeX && this.item.itemType === 'videoRecording') {
   this.add({ name: 'author', value: '{' + this.item.director + '}' })
}

if (Translator.BetterBibLaTeX && this.item.itemType === 'film') {
   this.add({ name: 'author', value: '{' + this.item.director + '}' })
}

That's not the problem. But the result was an 'author' field with "undefined" word, so I think this is a problem with 'director' field data information on this.item.director.
As I said on Zotero forums (follow the previous link), it doesn't work neither with somethink like:
if (Translator.BetterBibLaTeX && this.item.itemType === 'videoRecording') {
   this.add({ name: 'author', value: this.item.director  })
}

Maybe... Am I missing something?
Thanks.

I have a little trouble following what you're trying to achieve. Can you right-click on a reference were you want to do this, send a BBT error report, and then post here the biblatex you would want to see after the postscript ran.

I also don't quite follow what you mean when you say

'director' is exported in Zotero as a field whilst 'author' is a namelist

the creators all sit in one array. If you want to see what the references look like within the translators, export it as BetterBibTeX JSON.
Perhaps what you want is something like
if (Translator.BetterBibLaTeX) {
  switch (this.item.itemType) {
    case 'videoRecording':
    case 'film':
      this.item.creators.forEach(creator => {
        if (creator.creatorType === 'director') creator.creatorType = 'author'
      })
      this.addCreators();
      break;
  }
}

OMG I think I was misunderstanding everything about how creators is stored. In Zotero forums I got a explication simmilar that this you're saying now to me. I think I was doing totally wrong. I will try and say you everything you're asking, ok? Give me some hours!

No worries.

That was. Solved.
Thanks so much!
PS: I think a case like this could be such a useful adding to the scripting examples.

Done. The site needs a few minutes to rebuild, but it should be up there soon.

authors: RicardoGuzmanVelasco retorquere


text:
Update Emulationstation over Retropie-Setup

Hello Guys,
When iam update Emulationstation or install Emulationstation-dev i get a older version from v4.1 and not the actual 4.2
With all old menu entries....
I am not alone with the problem, i make only the issue here
http://orangepi.club/showthread.php?tid=3087
https://github.com/retr0rangepi/EmulationStation/blob/master/es-app/src/guis/GuiMenu.cpp
GuiMenu::GuiMenu(Window* window) : GuiComponent(window), mMenu(window, "ROPi 4.1 MENU"), mVersion(window)
please update the source and fix the problem thx

this should fix
https://github.com/retr0rangepi/RetroPie-Setup/commit/061c06b1b5def0524c6e8fa7b587a746911d2714

very fast fix thx, i write it in the board

now works the update and i have follow error
lvl0: VolumeControl ::init() failed to find mixer elements
sound works... always the volume error and in sound settings is volume 0% can change it to 100 after reopen the menu 0% and volume error

ok, will take a look at this closer to release

i have change in es_settings the AudioDevice from Master to lineout now is the error solved
now not the best solution, better is an option to change the hdmi volume

Probably will have to branch ES because of mainline and other settings if we  move completely to pulseaudio


text:
Scope all frontend UI code

Need to wrap all functions in a scoping function to prevent polluting the global space. Then we need to carry a global singleton around that we attach truly global objects to. I.E. var peerWeb = peerWeb || {}

This has been completed over a couple of commits

repo: retrohacker/peerweb


text:
License

Hi,
Thanks for releasing this project! Looks very cool for generating icons/graphics. Would you mind adding a license?
Thanks!

Done! I will say it is a bit tricky to get it to work on arbitrary inputs the way the codebase is setup. But I'm working on making it super easy to go from image -> code.

authors: fakerybakery revalo

repo: revalo/tree-diffusion


text:
ci: cache the test servers compilation

The compilation of the tests servers is a large fraction of the CI runtime (around 15mins). It is unnecessary, as they only infrequently change. Cirrus has some means of caching stuff so we should look into it.

Fixed by #404

repo: revault/revaultd


text:
How to get values of selected cells?

I am having issues with how events working in vue-datagrid. Based on API and demos I have been trying to access event from beforeCellFocus method but not really working.
Here is my codesandbox:
https://codesandbox.io/s/revolist-forked-6c3j9?file=/src/App.vue
So basically I am trying to get values of all cells but instead using my approach I only get first one that got focused, so like from all the cells I can select only one is picked, which is not what I want. Any idea how to get all the cell values?

There is now a .getSelectedRange() method which is not in the documentation but has been merged. It returns the coordinates of the currently selected range and then you can find the data from the your data-source.

authors: alinoil datainvestor

repo: revolist/vue-datagrid


text:
🛑 Trinkgut is down

In 4b102a8, Trinkgut (https://www.trinkgut.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Trinkgut is back up in 2481190 after 5 minutes.

repo: revoltek-daniel/uptime


text:
Getting Resource not Found when trying to delete a show

I am using the latest release, and when running with the dry-run as false, I get this error. What could be causing this?
The path for the show is /mnt/media/TV/Fleabag (2016). Could the (2016) in the path be causing the erro? If yes, how could it find the details about the show, like the number of episodes and size on the disk?
2024-08-27 21:37:36 - INFO :: deleterr.py :: deleterr : Running version rfsbraz/deleterr:0.0.19
2024-08-27 21:37:36 - INFO :: deleterr.py :: deleterr : Log level set to DEBUG
2024-08-27 21:37:36 - DEBUG :: config.py :: deleterr : Loading configuration from /config/settings.yaml
2024-08-27 21:37:36 - INFO :: deleterr.py :: deleterr : Processing sonarr instance: 'Sonarr'
2024-08-27 21:37:36 - INFO :: media_cleaner.py :: deleterr : Instance has 21 items to process of type 'standard'
2024-08-27 21:37:36 - INFO :: media_cleaner.py :: deleterr : Processing library 'TV Shows'
2024-08-27 21:37:36 - INFO :: media_cleaner.py :: deleterr : Got 0 trakt items to exclude
2024-08-27 21:37:36 - INFO :: media_cleaner.py :: deleterr : Got 16 items in plex library
2024-08-27 21:37:36 - DEBUG :: tautulli.py :: deleterr : Fetching last activity since 2024-05-29 21:37:36.830915
2024-08-27 21:37:36 - DEBUG :: tautulli.py :: deleterr : Fetched 16 items
2024-08-27 21:37:37 - DEBUG :: tautulli.py :: deleterr : [1/2] Processed items
2024-08-27 21:37:37 - DEBUG :: tautulli.py :: deleterr : [2/2] Processed items
2024-08-27 21:37:37 - INFO :: media_cleaner.py :: deleterr : Got 2 items in tautulli activity
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Sorting media by release_year asc
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : The Office (US) has excluded title The Office (US), skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Modern Family watched 5 days ago, skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Community has excluded title Community, skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Parks and Recreation has excluded title Parks and Recreation, skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Brooklyn Nine-Nine (2013) not found in Plex, but has no episodes, skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Last Week Tonight with John Oliver watched 7 days ago, skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Outlander (2014) not found in Plex, but has no episodes, skipping
2024-08-27 21:37:37 - DEBUG :: media_cleaner.py :: deleterr : Superstore has excluded title Superstore, skipping
2024-08-27 21:37:37 - INFO :: media_cleaner.py :: deleterr : [0/10] Deleting show 'Fleabag' from sonarr instance  'TV Shows' (18.00 GB - 12 episodes)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/app/app/deleterr.py", line 111, in <module>
    main()
  File "/app/app/deleterr.py", line 107, in main
    Deleterr(config)
  File "/app/app/deleterr.py", line 31, in __init__
    self.process_sonarr()
  File "/app/app/deleterr.py", line 59, in process_sonarr
    saved_space += self.media_cleaner.process_library(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/app/media_cleaner.py", line 93, in process_library
    return self.process_shows(
           ^^^^^^^^^^^^^^^^^^^
  File "/app/app/media_cleaner.py", line 124, in process_shows
    saved_space += self.process_show(
                   ^^^^^^^^^^^^^^^^^^
  File "/app/app/media_cleaner.py", line 151, in process_show
    self.delete_show_if_allowed(
  File "/app/app/media_cleaner.py", line 201, in delete_show_if_allowed
    self.delete_series(sonarr_instance, sonarr_show)
  File "/app/app/media_cleaner.py", line 299, in delete_series
    sonarr.upd_episode_monitor([episode["id"] for episode in episodes], False)
  File "/usr/local/lib/python3.12/site-packages/pyarr/sonarr.py", line 168, in upd_episode_monitor
    return self._put(
           ^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyarr/request_handler.py", line 160, in _put
    response = _process_response(res)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyarr/request_handler.py", line 244, in _process_response
    raise PyarrResourceNotFound("Resource not found")
pyarr.exceptions.PyarrResourceNotFound: Resource not found

There were some permission issues with the directories it was trying to access.

There were some permission issues with the directories it was trying to access.

Glad you figured it out! I'll see if I can add a permission check at startup to avoid these

authors: lakshyaGoel rfsbraz

repo: rfsbraz/deleterr


text:
iqiyi error

➜  ~ youtube-dl  -vF http://www.iqiyi.com/v_19rrmdszvo.html#vfrm=2-3-0-1
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-vF', u'http://www.iqiyi.com/v_19rrmdszvo.html#vfrm=2-3-0-1']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.30
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2
[debug] Proxy map: {}
[iqiyi] temp_id: download video page
[iqiyi] 4d7af00026e9ecb1e90d4066a3f51cea: Downloading JSON metadata
ERROR: Unable to load data. Error code: A00110; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 682, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/iqiyi.py", line 356, in _real_extract
raise ExtractorError('Unable to load data. Error code: ' + raw_data['code'])
ExtractorError: Unable to load data. Error code: A00110; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thanks for the report. It's a duplicate of  #10088.

license: Unlicense


text:
Brew Install 404s youtube-dl-2015.05.10.tar. not found

I typed
$ brew install youtube-dl
and get error:
==> Downloading https://yt-dl.org/downloads/2015.05.10/youtube-dl-2015.05.10.tar.

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "youtube-dl"
Download failed: https://yt-dl.org/downloads/2015.05.10/youtube-dl-2015.05.10.tar.gz

Update your homebrew:
brew update
Version 2015.05.10 is way too old.

Thanks my bad updating worked!


text:
Support tv.nrk.no

While support for video clips at www.nrk.no, the new online TV site tv.nrk.no is apparently not supported. See for example the following URL:
http://tv.nrk.no/serie/20-spoersmaal-tv/muhh48000314/23-05-2014
The output from --verbose is:
sigurdkn@guu ~/downloads $ youtube-dl --verbose http://tv.nrk.no/serie/20-spoersmaal-tv/muhh48000314/23-05-2014
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://tv.nrk.no/serie/20-spoersmaal-tv/muhh48000314/23-05-2014']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.19
[debug] Python version 3.4.1 - Linux-3.14.4-1-ARCH-x86_64-with-arch
[debug] Proxy map: {}
[generic] 23-05-2014: Requesting header
[redirect] Following redirect to http://psfil.tv.nrk.no/content/feil/500.htm?aspxerrorpath=/serie/20-spoersmaal-tv/muhh48000314/23-05-2014
[generic] 23-05-2014: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 23-05-2014: Downloading webpage
[generic] 23-05-2014: Extracting information
ERROR: Unsupported URL: http://psfil.tv.nrk.no/content/feil/500.htm?aspxerrorpath=/serie/20-spoersmaal-tv/muhh48000314/23-05-2014; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: http://psfil.tv.nrk.no/content/feil/500.htm?aspxerrorpath=/serie/20-spoersmaal-tv/muhh48000314/23-05-2014; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
This is with version 2014.05.19.
The following scripts manage to download the file:
http://folk.uio.no/sigurdkn/nrkdl
http://folk.uio.no/sigurdkn/AdobeHDS.php.txt
(the .txt is just there to prevent the server from trying to execute the php file). The latter script is a part of KSVScripts. I've seen Adobe HDS on other sites too, so getting support for this should help for more than just NRK.

I just tried this for the first time, grabbed the first url I found and got
$ youtube-dl --verbose https://tv.nrk.no/serie/bmi-turne/MUHH45000115/sesong-1/episode-1
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://tv.nrk.no/serie/bmi-turne/MUHH45000115/sesong-1/episode-1']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 2.7.10 - Linux-4.2.0-22-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: avconv 2.7.3-0ubuntu0.15.10.1, avprobe 2.7.3-0ubuntu0.15.10.1, ffmpeg 2.7.3-0ubuntu0.15.10.1, ffprobe 2.7.3-0ubuntu0.15.10.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] episode-1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] episode-1: Downloading webpage
[generic] episode-1: Extracting information
ERROR: Unsupported URL: https://tv.nrk.no/serie/bmi-turne/MUHH45000115/sesong-1/episode-1
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 997, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1558, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 11, column 839
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 650, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1532, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://tv.nrk.no/serie/bmi-turne/MUHH45000115/sesong-1/episode-1

$ youtube-dl --version
2015.06.04.1

@unhammer you are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

@dstftw OK, I thought that version number looked so recent but I guess youtube-dl moves fast; it works with git :-)

authors: amaurea dstftw unhammer


text:
[youtube] flv video/audio lose sync after 70 min.

I've downloaded a number of videos in flv format that lose sync between the video and audio at 70 minutes (viewed on Android and Windows). mp4 for the same video works fine as well as the browser.
[debug] Command-line args: ['-f', '5', '-i', '--verbose', '--prefer-insecure',
'-o', '..\%(stitle)s-%(id)s.%(ext)s', '--', '2uBcwVrBYoY
']
It looks like --prefer-insecure causes this.

No flv is served anymore.

authors: canamcy dstftw


text:
MLB URL

results in a blank index-index.jsp file.
URL:
http://washington.nationals.mlb.com/mlb/gameday/index.jsp?c_id=was&gid=2015_05_09_atlmlb_wasmlb_1&lang=en&content_id=108309983&mode=video#
C:>youtube-dl -v "http://washington.nationals.mlb.com/mlb/gameday/index.jsp?c_i
d=was&gid=2015_05_09_atlmlb_wasmlb_1&lang=en&content_id=108309983&mode=video#"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://washington.nationals.mlb.com/mlb/gam
eday/index.jsp?c_id=was&gid=2015_05_09_atlmlb_wasmlb_1&lang=en&content_id=108309
983&mode=video#']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.05.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71346-gdf4fca2
[debug] Proxy map: {}
[generic] index: Requesting header
[redirect] Following redirect to http://washington.nationals.mlb.com/mlb/gameday
/index.jsp?c_id=was&gid=2015_05_09_atlmlb_wasmlb_1&lang=en&content_id=108309983&
mode=video
[generic] index: Requesting header
WARNING: Falling back on generic information extractor.
[generic] index: Downloading webpage
WARNING: URL could be a direct video link, returning it as such.
[debug] Invoking downloader on u'http://washington.nationals.mlb.com/mlb/gameday
/index.jsp?c_id=was&gid=2015_05_09_atlmlb_wasmlb_1&lang=en&content_id=108309983&
mode=video'
[download] Destination: index-index.jsp
[download] 100% of 81.00KiB in 00:00
Thanks
Ringo

Same video...different URL...different result:
http://mlb.mlb.com/mlb/gameday/index.jsp?gid=2015_05_09_atlmlb_wasmlb_1&mode=video&content_id=108309983&tcid=vpp_copy_108309983
C:>youtube-dl -v "http://mlb.mlb.com/mlb/gameday/index.jsp?gid=2015_05_09_atlml
b_wasmlb_1&mode=video&content_id=108309983&tcid=vpp_copy_108309983"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://mlb.mlb.com/mlb/gameday/index.jsp?gi
d=2015_05_09_atlmlb_wasmlb_1&mode=video&content_id=108309983&tcid=vpp_copy_10830
9983']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.05.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71346-gdf4fca2
[debug] Proxy map: {}
[MLB] index.jsp?gid=2015_05_09_atlmlb_wasmlb_1&mode=video&content_id=108309983&t
cid=vpp_copy_108309983: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org
/bug . Make sure you are using the latest version; type  youtube-dl -U  to updat
e. Be sure to call youtube-dl with the --verbose flag and include its complete o
utput.
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 650, in extract_info
File "youtube_dl\extractor\common.pyo", line 273, in extract
File "youtube_dl\extractor\mlb.pyo", line 128, in _real_extract
File "youtube_dl\extractor\common.pyo", line 555, in _search_regex
RegexNotFoundError: Unable to extract video id; please report this issue on http
s://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl
-U  to update. Be sure to call youtube-dl with the --verbose flag and include i
ts complete output.


text:
Video download error: http://www.good4utah.com/good-things-utah/gtu-featured-guest/utahs-stars-friends-concert-for-a-cause

An error occurred while downloading the following video: http://www.good4utah.com/good-things-utah/gtu-featured-guest/utahs-stars-friends-concert-for-a-cause
This is the output of youtube-dl --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'-J', u'http://www.good4utah.com/good-things-utah/gtu-featured-guest/utahs-stars-friends-concert-for-a-cause']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968
[debug] youtube-dl version 2015.12.21
[debug] Python version 2.7.6 - Linux-3.19.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
ERROR: Unsupported URL: http://www.good4utah.com/good-things-utah/gtu-featured-guest/utahs-stars-friends-concert-for-a-cause
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1287, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 248, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 237, in _XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 770, column 69
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 665, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 291, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1896, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.good4utah.com/good-things-utah/gtu-featured-guest/utahs-stars-friends-concert-for-a-cause

Are these reports still automated? If so, please stop right away.

No, they aren't automated.
Now I always check if the URL contains a video player before sending opening an issue.
The current page contains a video that YouTube-dl cannot download, and so does #7981 .

Then feel free to reopen any issues you consider legit. But, please, the issue tracker is a place for people to communicate.
For example, there is indeed an embedded video in the URL you mention, but good4utah.com is not a supported site at the moment, and the program throws an exception indicating so in the error message. Is this a feature request to support that site? If so, why not to put that information in the issue title? Is the backtrace useful in that case?


text:
Update subtitles for NetEaseMusic and QQMusic

Copy description to subtitles.zh-CN.data
Remove the 3rd digit after dot in NetEase's timestamp to fit
LRC format (to be compatible with mpv)

there're still some issue on neteasemusic's _process_lyrics

updated @dstftw

The last line of .lrc will be ignored(and not shown) by mpv as it doesn't have a duration. and mpv cannot handle .lrc with other tags.
So adding a conversion to .srt for neteasemusic.

ping @dstftw
Is there any update for this PR or anything should I modify?
(conversion to .srt is discarded as mpv fixed a bug handling .lrc in their recent commits)

Push changes as new commits since otherwise it's hard to track changes.

ping @dstftw

Hello @dstftw  or others, is there any update or further changes needed for this PR?

Could you also split this PR into 3 separated:

Recursion support for test data
NetEaseMusic changes
QQMusic changes

QQMusic part could be merged long time ago but I can neither merge nor cherry-pick since it's overlaped with another code.

hello @dstftw
test helper has been modified as your requirement.
And PR has been spited into 3 commits.

Actually I've expected 3 separated pull requests rather than 3 commits.

Please wait for up to 10 minutes.

Submitted 3 PRs at #6984, #6985, #6986
#6986 depends on #6985 but doesn't include the commit existed at #6985 . So tests of #6986 will fail unless #6985 is merged.


text:
🛑 Sito Web is down

In 3887df8, Sito Web (https://www.comune.preganziol.tv.it) was down:

HTTP code: 403
Response time: 756 ms

Resolved: Sito Web is back up in 8f375d3 after 15 minutes.

repo: rglauco/upptime


text:
⚠ Bio Links has degraded performance

In 703d1b2, Bio Links (https://bio.rheinklang.events/links) experienced degraded performance:

HTTP code: 200
Response time: 2554 ms

Resolved: Bio Links performance has improved in 3466654 after 26 minutes.

repo: rheinklang/upptime


text:
feat: switch to file-based OLM catalogs

The Catalog index yaml file for the new file-based catalog will be maintained in the olm-catalog branch. The PR introduces the changes needed to generate new catalog index entry for new releases to the development, candidate, and the stable channel and to push the updated index to the olm-catalog git branch.
To switch to new file-based OLM catalogs, following changes have been made

upgrade to newer version of operator-sdk tools (operator-sdk, olm)

Generate catalog for existing 0.0.13 bundle by

creating new catalog index dockerfile
adding package definition for observability-operator * adding channel definitions for all 3 channels see: https://github.com/rhobs/observability-operator/pull/194

Modify GitHub workflow to adapt to the new file-based catalog

JIRA: https://issues.redhat.com/browse/MON-2791
Signed-off-by: Sunil Thaha sthaha@redhat.com

NOTE This requires the olm-catalog pr https://github.com/rhobs/observability-operator/pull/194 to be merged first so that when this PR merges, olm-publish action that is run after a commit merges to main runs fine is able to publish catalog images to quay.
The olm-publish action makes the assumption that the branch - olm-catalog exists and that it contains the catalog index.

repo: rhobs/observability-operator


text:
🛑 BOS2 is down

In 1d2fd2e, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 7b2ef85 after 35 minutes.

repo: rholak/upptime


text:
🛑 BOS2 is down

In f53ff3a, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 3a0a2bc after 16 minutes.


text:
🛑 BOS2 is down

In 480b657, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in ef31953 after 10 minutes.


text:
🛑 WebMail is down

In 7a1e3af, WebMail (https://web.mcmaster.ca/mail/roundcube/1.4/) was down:

HTTP code: 502
Response time: 230 ms

Resolved: WebMail is back up in 2b70199.

repo: rhpcs-mcmaster/downtime


text:
🎈pckage json lock recreated

..due to below error:
Error: ./src/main.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /tmp/workspace/pet-battle_main/pet-battle/node_modules/css-loader/node_modules/postcss/package.json

LGTM !!!

authors: ckavili eformat

repo: rht-labs/pet-battle


text:
Mix up in file names in count_reads.py

@john-s-f was still encountering some issue with the read_counts.tsv file. After a closer look, we think there may be a mix up in the file descriptions and the SAM or FASTQ files being used.
def count_reads_df(config_file, input_dir, tmp_dir, output_dir):
    """
    Scan input, temporary and output directories and count the number
    of reads (sequences) processed by specific stages of a
    workflow. The scan is based on the directory structure and file
    patterns used by the workflow.

    A ``pandas.core.frame.DataFrame`` is created with columns
    ``SampleName``, ``Program``, ``File``, ``NumReads``,
    ``Description``.

    :param config_file: Configuration file
    :type config_file: str or unicode
    :param input_dir: Input files directory
    :type input_dir: str or unicode
    :param tmp_dir: Temporary files directory
    :type tmp_dir: str or unicode
    :param output_dir: Output files directory
    :type output_dir: str or unicode
    :return: ``pandas.core.frame.DataFrame``
    :rtype: pandas.core.frame.DataFrame
    """
    df = pd.DataFrame(columns=HEADER)
    rows = []
    rows.extend(input_fq(config_file, input_dir))
    rows.append(cutadapt_fq(tmp_dir))
    rows.extend(umi_tools_deplex_fq(tmp_dir))
    tmp_samples = [f.name for f in os.scandir(tmp_dir) if f.is_dir()]
    tmp_samples.sort()
    for sample in tmp_samples:
        rows.append(cutadapt_fq(tmp_dir, sample))
        rows.append(hisat2_fq(tmp_dir, sample, workflow_files.NON_RRNA_FQ,
                              "rRNA or other contaminating reads removed by alignment to rRNA index files"))
        rows.append(hisat2_sam(tmp_dir, sample, workflow_files.RRNA_MAP_SAM,
                               "Reads with rRNA and other contaminating reads removed by alignment to rRNA index files"))
        rows.append(hisat2_fq(tmp_dir, sample, workflow_files.UNALIGNED_FQ,
                              "Unaligned reads removed by alignment of remaining reads to ORFs index files"))
        rows.append(hisat2_sam(tmp_dir, sample, workflow_files.ORF_MAP_SAM,
                               "Reads aligned to ORFs index files"))
        rows.append(trim_5p_mismatch_sam(tmp_dir, sample))
        rows.append(umi_tools_dedup_bam(tmp_dir, output_dir, sample))
    rows = [row for row in rows if row is not None]
    df = df.append(rows)
    return df

The rows with NON_RRNA_FQ and RRNA_MAP_SAM should have the file descriptions switched.

See the attached the screenshot, showing which names we think are supposed to be switched.

@mikej888 is this one for you? Is revisions_riboviz2 a correct label for it? And can you please put it in the correct bucket? Thanks.

@kavousan, Done!

Commit 13ef3b5, Fixed rRNA alignment file descriptions in riboviz.count_reads

nonrRNA.fq: rRNA or other contaminating reads removed by alignment to rRNA index files => Reads that did not align to rRNA or other contaminating reads in rRNA index files
rRNA_map.sam: Reads with rRNA and other contaminating reads removed by alignment to rRNA index files => Reads aligned to rRNA and other contaminating reads in rRNA index files

This changes content of count_reads.py so tests using https://github.com/riboviz/test-data-2.1 now fail for the count_reads  test:
$ pytest -vs riboviz/test/integration/test_integration.py --expected=../test-data-2.1 --skip-workflow
...
=========================== short test summary info ============================
FAILED riboviz/test/integration/test_integration.py::test_read_counts_tsv[vignette/output]
============ 1 failed, 49 passed, 46 skipped, 315 warnings in 1.44s ============

Created a new test data repository, https://github.com/riboviz/test-data-20210804.

repo: riboviz/riboviz


text:
Add support for data relationships

Current roguelike example does something like this:
enum class ItemType : uint8_t { Poison, Potion, Arrow };

struct Item {
  ItemType type;
};

poison = world.CreateEntity();
world.AddComponent<Item>(poison, {ItemType::Poison});
potion = world.CreateEntity();
world.AddComponent<Item>(potion, {ItemType:: Potion});
arrow = world.CreateEntity();
world.AddComponent<Item>(arrow, {ItemType:: Arrow});

auto q = world.CreateQuery().All<const Item>();
q.ForEach([](Item item){
   if (item.type == ItemType::Poison) {
     // the item is poisonous
   } else if (item.type == ItemType::Potion) {
     // potion here
   } else if (item.type == ItemType::Arrow) {
     // arrow
   }
});

Each item is identified by an enum. While this might is be necessarily bad, it is not scalable.
What if we want to query all potions? Given the code above, we'd have to check each item:
containers::darray_ext<Item, 128> potions;
auto q = world.CreateQuery().All<const Item>();
q.ForEach([&](Item item){
   if (item.type != ItemType::Potion)
    continue;
   potions.push_back(item);
});
// do something with potions now
// ....

Another solution would be creating a tag for each item type:
struct Poison{};
struct Potion{};
struct Arrow{};
struct Item {};
...
poison = world.CreateEntity();
world.AddComponent<Item>(poison);
world.AddComponent<Poison>(poison);
potion = world.CreateEntity();
world.AddComponent<Item>(potion);
world.AddComponent<Potion>(potion);
arrow = world.CreateEntity();
world.AddComponent<Item>(arrow);
world.AddComponent<Arrow>(arrow);
...
q.ForEach([&](Potion potion){
  // ... do something with potions
}

But isn't this too much code? What if we could tell that each of those 3 specific item types actually are items?
struct Poison{};
struct Potion{};
struct Arrow{};
struct Item {};
...
world.Make<Poison>.Is<Item>();
world.Make<Potion>.Is<Item>();
world.Make<Arrow>.Is<Item>();

poison = world.CreateEntity();
world.AddComponent<Poison>(poison);
potion = world.CreateEntity();
world.AddComponent<Potion>(potion);
arrow = world.CreateEntity();
world.AddComponent<Arrow>(arrow);

auto q1 = world.CreateQuery().All<const Item>();
q1.ForEach([](Entity e){
   // ... all these entities are Items by default.
   // This covers Poison, Potion and Arrow as well!
});

auto q2 = world.CreateQuery().All<const Potion>();
q2.ForEach([&](Potion potion){
  // ... do something with potions
}

This would give us something very powerful. Mostly when combined with new query traversal features.
This example is extremely basic so it might not fully describe the point, though.

f4668df058
86741e8dee
d9af837fb9
a6a7c1268d
dcf6c58189
28128a759b
Basic support for relationship added.

repo: richardbiely/gaia-ecs


text:
API questions

I think the "service token" (whatever it is) is not documented.

I thought I could use an sqlpad instance as a way to implement DB updates from a webhook-style thing. So I could have an external website with a link/button which, when clicked, will send a POST request to /api/batches with batchText=UPDATE tbl1  SET n=(n+1); and setting connectionId; and this will update the table tbl1, right?

But I think for this to happen without the external website users needing to authenticate to sqlpad, I need to use a "service token" and I can append it to the POST request?

If all this makes sense; why not allow this as a GET request as well?

Ah yeah this could maybe be expanded on in API docs. Right now its just the config variable and that alone doesn't make much sense.
The service token secret is used to encrypt the JWT service tokens created in the UI. The resulting token can be passed with all requests as a header, so it should work for GETs as well.

So I will set the POST request to /api/batches with a header Authorization whose value is Bearer  + "JWT service token created in the UI" ?
and the POST body will be
{
  connectionId: 'conn1',
  batchText: 'UPDATE tbl1 SET n=(n+1);'
}

do I get this right?

Yep https://github.com/rickbergfalk/sqlpad/blob/master/server/test/api/service-tokens.js#L108

I'll add to documentation in a bit under authentication and API sections.
Another undocumented option for API if you're using userpass auth is to send username and password as HTTP basic auth if preferred as well

authors: eladeyal-intel rickbergfalk

repo: rickbergfalk/sqlpad


text:
Sliced strings[:5]

Sliced strings[:5]

Sliced strings[:5]


text:
Cannot scan qrcodes for version 2 and 3 with android qrdroid reader

Hello,
I want to report that I'm having issues with qr codes version 2 and 3.
I tried to scan qr code generated with this versions and qr droid for android is not able to detect them. I tried to generate qrcodes version 4 and 5 and I can scan them without any issue.
This sound strange, maybe a qr droid issue but I want to report the problem anyway to better investigate and check if other people noticed the same thing.
Thanks for this software,
Regards

Hello, thanks for your fast reply.
I'm trying to solve this issue on my own for days without any result and now that I have decided to open here an issue I found what's wrong; my fault sorry.
But maybe this can help other people.
As "Alphanumeric" characters in the table, it seems is intended this kind of characters:

0 to 9, A to Z (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.

When other signs exists inside the string (for example an equal and question mark characters in my case), you have to check the byte size in the column showed in documentation.
In my case I give a string length that is ok for alphanumeric section, too long for byte section but contains characters that are not "alphanumeric" resulting in a wrong qrcode generation.
Really appreciate your work and hope that this can help other people that are trying to generate some beautiful qr codes like me.
Best Regards,
Marco

No worries. It happens. :)

authors: brennino ricmoo

repo: ricmoo/QRCode


text:
Formula / equations are printed out as plain Latex instead of being rendered

Ask to write a formula, like "what's the formula for compound interest?", and you'll get Latex plain text instead of the rendered Latex as you get in regular ChatGPT: something like "[ A = P \times \left(1 + \frac{r}{n}\right)^{nt} ]".

Sorry, I need to reopen this after some more testing. Look at this one:

Screenshot from Chatty:

What is wrong with this?

The difference is visible for LaTeX rendering:

Fixed

authors: MatteoMecucci-TomTom RijnBuve-TomTom

repo: rijnb/chatty-server


text:
Fix svelte-check errors

https://github.com/rilldata/rill-developer/pull/2067 added svelte-check to CI/CD, but it had to "ignore" a bunch of files that had errors. We should fix the errors and remove the files from the --ignore flag.

superseded by https://github.com/rilldata/rill/issues/3424, closing

repo: rilldata/rill


text:
librime-1.5.3: Thread 1 "fcitx5" received signal SIGSEGV, Segmentation fault

问题是在升级 librime 后出现的，可以稳定重现，目前的依赖版本：

app-i18n/opencc-1.0.5
dev-cpp/glog-0.4.0
dev-cpp/yaml-cpp-0.6.2
dev-libs/boost-1.71.0
dev-libs/leveldb-1.20
dev-libs/marisa-0.2.4
dev-libs/darts-0.32
dev-libs/utfcpp-3.1
x11-base/xorg-proto-2019.1
dev-cpp/gtest-1.9.0_pre20190607
dev-util/ninja-1.9.0
dev-util/cmake-3.15.3

编译时关闭了 LOG (-DENABLE_LOGGING=OFF)，
gdb 输出：
─── Output/messages ──────────────────────────────────────────────────────────────────────
I addonmanager.cpp:177] Loaded addon rime
[Thread 0x7ffff17a5700 (LWP 1745879) exited]
I addonmanager.cpp:177] Loaded addon notifications

Thread 1 "fcitx5" received signal SIGSEGV, Segmentation fault.
0x00007ffff45a9b41 in rime::Prism::CommonPrefixSearch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<Darts::DoubleArrayImpl<char, unsigned char, int, unsigned int, Darts::Length<char> >::result_pair_type, std::allocator<Darts::DoubleArrayImpl<char, unsigned char, int, unsigned int, Darts::Length<char> >::result_pair_type> >*) () from /usr/lib64/librime.so.1
─── Assembly ─────────────────────────────────────────────────────────────────────────────
 0x00007ffff45a9b41  ? mov    (%rcx),%edi
 0x00007ffff45a9b43  ? cmp    %eax,0x4(%rcx)
 0x00007ffff45a9b46  ? jne    0x7ffff45a9b20 <_ZN4rime5Prism18CommonPrefixSearchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt6vectorIN5Darts15DoubleArrayImplIchijNSA_6LengthIcEEE16result_pair_typeESaISF_EE+112>
 0x00007ffff45a9b48  ? test   %edi,%edi
 0x00007ffff45a9b4a  ? jns    0x7ffff45a9b20 <_ZN4rime5Prism18CommonPrefixSearchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt6vectorIN5Darts15DoubleArrayImplIchijNSA_6LengthIcEEE16result_pair_typeESaISF_EE+112>
 0x00007ffff45a9b4c  ? cmp    %rsi,%r12
 0x00007ffff45a9b4f  ? jbe    0x7ffff45a9b63 <_ZN4rime5Prism18CommonPrefixSearchERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt6vectorIN5Darts15DoubleArrayImplIchijNSA_6LengthIcEEE16result_pair_typeESaISF_EE+179>
 0x00007ffff45a9b51  ? mov    %rsi,%rcx
 0x00007ffff45a9b54  ? shl    $0x4,%rcx
 0x00007ffff45a9b58  ? add    %r9,%rcx
─── Breakpoints ──────────────────────────────────────────────────────────────────────────
─── Expressions ──────────────────────────────────────────────────────────────────────────
─── History ──────────────────────────────────────────────────────────────────────────────
─── Memory ───────────────────────────────────────────────────────────────────────────────
─── Registers ────────────────────────────────────────────────────────────────────────────
     rax 0x0000000000018000      rbx 0x00007fffffffc570        rcx 0x00007ffff479d13c
     rdx 0x0000000000000000      rsi 0x0000000000000000        rdi 0x0000000000000000
     rbp 0x00007fffffffc490      rsp 0x00007fffffffc3b0         r8 0x00007ffff46dd13c
      r9 0x00005555561b1e10      r10 0x00005555561b1e20        r11 0x0000000000000001
     r12 0x0000000000000001      r13 0x000055555611b8a0        r14 0x00007fffffffc490
     r15 0x00007fffffffc840      rip 0x00007ffff45a9b41     eflags [ PF ZF IF RF ]
      cs 0x00000033               ss 0x0000002b                 ds 0x00000000
      es 0x00000000               fs 0x00000000                 gs 0x00000000
─── Source ───────────────────────────────────────────────────────────────────────────────
─── Stack ────────────────────────────────────────────────────────────────────────────────
[0] from 0x00007ffff45a9b41
[1] from 0x00007ffff4587b72
[2] from 0x00007ffff45f9e58
[3] from 0x00007ffff45fd191
[4] from 0x00007ffff45fdbca
[5] from 0x00007ffff452fdeb
[6] from 0x00007ffff452ffff
[7] from 0x00007ffff4524f8c
[8] from 0x00007ffff451b130
[9] from 0x00007ffff46070f1
[+]
─── Threads ──────────────────────────────────────────────────────────────────────────────
[1] id 1745867 name fcitx5 from 0x00007ffff45a9b41
─── Variables ────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────────────────────────────────────────────────────────
>>> bt
#0  0x00007ffff45a9b41 in rime::Prism::CommonPrefixSearch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<Darts::DoubleArrayImpl<char, unsigned char, int, unsigned int, Darts::Length<char> >::result_pair_type, std::allocator<Darts::DoubleArrayImpl<char, unsigned char, int, unsigned int, Darts::Length<char> >::result_pair_type> >*) () at /usr/lib64/librime.so.1
#1  0x00007ffff4587b72 in rime::Syllabifier::BuildSyllableGraph(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rime::Prism&, rime::SyllableGraph*) () at /usr/lib64/librime.so.1
#2  0x00007ffff45f9e58 in rime::ScriptSyllabifier::BuildSyllableGraph(rime::Prism&) () at /usr/lib64/librime.so.1
#3  0x00007ffff45fd191 in rime::ScriptTranslation::Evaluate(rime::Dictionary*, rime::UserDictionary*) () at /usr/lib64/librime.so.1
#4  0x00007ffff45fdbca in rime::ScriptTranslator::Query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rime::Segment const&) () at /usr/lib64/librime.so.1
#5  0x00007ffff452fdeb in rime::ConcreteEngine::TranslateSegments(rime::Segmentation*) () at /usr/lib64/librime.so.1
#6  0x00007ffff452ffff in rime::ConcreteEngine::Compose(rime::Context*) () at /usr/lib64/librime.so.1
#7  0x00007ffff4524f8c in boost::signals2::detail::signal_impl<void (rime::Context*), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (rime::Context*)>, boost::function<void (boost::signals2::connection const&, rime::Context*)>, boost::signals2::mutex>::operator()(rime::Context*) () at /usr/lib64/librime.so.1
#8  0x00007ffff451b130 in rime::Context::PushInput(char) () at /usr/lib64/librime.so.1
#9  0x00007ffff46070f1 in rime::Speller::ProcessKeyEvent(rime::KeyEvent const&) () at /usr/lib64/librime.so.1
#10 0x00007ffff453285e in rime::ConcreteEngine::ProcessKey(rime::KeyEvent const&) () at /usr/lib64/librime.so.1
#11 0x00007ffff4507994 in RimeProcessKey () at /usr/lib64/librime.so.1
#12 0x00007ffff46fa5aa in  () at /usr/lib64/fcitx5/rime.so
#13 0x00007ffff46fb7dc in  () at /usr/lib64/fcitx5/rime.so
#14 0x00007ffff7f0d4ac in fcitx::Instance::postEvent(fcitx::Event&) () at /usr/lib64/libFcitx5Core.so.5
#15 0x00007ffff5e95fb2 in  () at /usr/lib64/fcitx5/dbusfrontend.so
#16 0x00007ffff7e5c06b in  () at /usr/lib64/libFcitx5Utils.so.1
#17 0x00007ffff767e037 in  () at /lib64/libsystemd.so.0
#18 0x00007ffff767f49e in  () at /lib64/libsystemd.so.0
#19 0x00007ffff7691666 in  () at /lib64/libsystemd.so.0
#20 0x00007ffff7691e59 in  () at /lib64/libsystemd.so.0
#21 0x00007ffff76a7ea6 in  () at /lib64/libsystemd.so.0
#22 0x00007ffff76a9c20 in sd_event_dispatch () at /lib64/libsystemd.so.0
#23 0x00007ffff76a9df8 in sd_event_run () at /lib64/libsystemd.so.0
#24 0x00007ffff76aa027 in sd_event_loop () at /lib64/libsystemd.so.0
#25 0x00007ffff7e5df40 in fcitx::EventLoop::exec() () at /usr/lib64/libFcitx5Utils.so.1
#26 0x00007ffff7f147b0 in fcitx::Instance::exec() () at /usr/lib64/libFcitx5Core.so.5
#27 0x000055555555cd5a in  ()
#28 0x00007ffff77a3f1b in __libc_start_main () at /lib64/libc.so.6
#29 0x000055555555d44a in  ()

还有其他信息我可以提供吗？

是Gentoo吧？不太懂Gentoo，請問數據文件是怎樣安裝的？如果數據包含是二進制文件，可能需要用librime的新版本重做，這要看librime以及數據包從多舊的版本升級上來。
簡單點，可以試試先清除所有安裝目錄和用戶目錄舊有數據，然後用 https://github.com/rime/plum 下載一份數據源文件、重新部署。

是 Gentoo，看起来问题是 darts 导致的，换用了
https://raw.githubusercontent.com/s-yata/darts-clone/master/include/darts.h
之后可以了。

OwenChia
On Sun, 29 Sep 2019 at 12:31, 弓辰 notifications@github.com wrote:

是Gentoo吧？不太懂Gentoo，請問數據文件是怎樣安裝的？如果數據包含是二進制文件，可能需要用librime的新版本重做，這要看librime以及數據包從多舊的版本升級上來。
簡單點，可以試試先清除所有安裝目錄和用戶目錄舊有數據，然後用 https://github.com/rime/plum
下載一份數據源文件、重新部署。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rime/librime/issues/315?email_source=notifications&email_token=AAVKU6NEW63EXDQ5DGWRLTDQMAVQ5A5CNFSM4I3BKEDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD73H5MA#issuecomment-536247984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVKU6IB6KOO3E67O233MULQMAVQ5ANCNFSM4I3BKEDA
.

authors: OwenChia lotem

repo: rime/librime


text:
Remove Playwright as a postinstall step

Hey all,
We see periodic flakiness in CI builds because this package has a post-install script in the SDK that installs Playwright. This is not only a bad security practice, but is Playwright being used in the codebase? If so, it should be added as a devDependency so consuming apps don't download Playwright and subsequent dependencies (webkit, firefox, etc).
https://github.com/ringcentral/ringcentral-js/blob/c86b8777fe34b2646dae79d9153352f74f2bbf23/sdk/package.json#L5
I am open to making the changes and creating a PR!

@embbnux It's introduced here: https://github.com/ringcentral/ringcentral-js/commit/5451c5a2687c79da3b1cb4bd5ed9ae6ef2e3a45c
We are not using playwright at all. Please remove the postinstall script.
Thanks

Hi @ganderzz @tylerlong , Changes have been made in the PR  https://github.com/ringcentral/ringcentral-js/pull/268 and will update here once the new version is released. Thank you for pointing it out.

A new version, 5.0.3, has been released, which includes a fix for this issue. Closing this issue for now please feel free to reopen or create a new one. Thank You.

Thanks @SushilMallRC !

authors: SushilMallRC ganderzz tylerlong

repo: ringcentral/ringcentral-js


text:
圈一个Typo

Fix typo with commit ae8b1d3 ⭐

authors: inactive-virus rinkako

repo: rinkako/YuriAVGEngine

license: MS-PL


text:
Issues after installing libraries

Hi! First of all, I am very amazed by the concept of this repo, to be able to create a dataset seemingly automatically is fantastic! Unfortunately I am having a slight issue with the audio_demo.py script. I am getting a module error as such:
(VocalForge) root@user:/home/user/VocalForge# python3 audio_demo.py --help Traceback (most recent call last):   File "audio_demo.py", line 3, in <module>     from audio.audio_utils import create_core_folders, download_videos, create_samples   File "/home/user/VocalForge/audio/__init__.py", line 5, in <module>     from .export_audio import ExportAudio   File "/home/scape7575/VocalForge/audio/export_audio.py", line 6, in <module>     from df.enhance import enhance, init_df, load_audio, save_audio ModuleNotFoundError: No module named 'df'
No module named df, is this because of a broken dependency? I would really like to start using this! Thank you

Hello!
Sorry for the all the confusion. About a month ago there was a large rewrite of the code for one of the libraries I was using for this project which led this code to be defunct. I took it as an opportunity to start rewrite my code to make it better and more optimized, which of course spiraled into a something way bigger than originally anticipated. I really have only updated the audio processing section of VocalForge, which doesn't include the text processing (transcription, metadata, etc) but that is next on the chopping block.
Anyways, excuses aside, I just published the most recent update on the development branch which you are free to use. The audio_demo.ipynb should give you a good enough guide for the new and existing features. (now you can pip install VocalForge!). If you got any questions though through the process, let me know and ill respond ASAP.
Thanks for your patience,
Rio

Hello!
First, thank you for pointing me in the right direction! Following the audio_demo.ipynb, I was able to get it running as well as pip installing VocalForge which is fantastic. I just had a question, now the goal of the audio_demo.ipynb is not to actually create a dataset correct? As in it will not create the metadata.csv in LJSpeech format and such, how do I go about doing that by adjusting on the script? Thank you once more!

Glad to hear it helped! To answer your question, the current section cleans
up data to be used for the dataset curation portion of VocalForge. I dont
have a full tutorial for this section (probably coming later this week) but
if you want to try it yourself without a ton of documentation I just
updated text_demo.ipynb on the dev branch.
Give that a shot! You may have to work through some errors yourself.
On Mon, Jun 12, 2023, 4:48 PM scape7575 @.***> wrote:

Hello!
First, thank you for pointing me in the right direction! Following the
audio_demo.ipynb, I was able to get it running as well as pip installing
VocalForge which is fantastic. I just had a question, now the goal of the
audio_demo.ipynb is not to actually create a dataset correct? As in it will
not create the metadata.csv in LJSpeech format and such, how do I go about
doing that by adjusting on the script? Thank you once more!
—
Reply to this email directly, view it on GitHub
https://github.com/rioharper/VocalForge/issues/7#issuecomment-1588072365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMBWV7D56C6PWFLZIXAZY63XK56C5ANCNFSM6AAAAAAY7Y2ABA
.
You are receiving this because you commented.Message ID:
@.***>

repo: rioharper/VocalForge


text:
Accept redirects from validator list sites

Honor location header/redirect from validator sites. Limit retries per refresh interval to 3. Shorten refresh interval after HTTP/network errors.
Fixes: RIPD-1669
Note: I'm investigating a test failure in MSVC release builds.

Jenkins Build Summary
Built from this commit
Built at 20181012 - 00:18:29
Test Results

Build Type
Log
Result
Status

msvc.Debug
logfile
1047 cases, 0 failed, t: 771s
PASS :white_check_mark:

rpm
logfile
1049 cases, 0 failed, t: n/a
PASS :white_check_mark:

msvc.Debug, NINJA_BUILD=true
logfile
1047 cases, 0 failed, t: 621s
PASS :white_check_mark:

msvc.Debug -Dunity=OFF
logfile
1047 cases, 0 failed, t: 1171s
PASS :white_check_mark:

msvc.Release
console
no test results, t: n/a
FAIL :red_circle:

gcc.Release -Dassert=ON, MANUAL_TESTS=true
logfile
1101 cases, 0 failed, t: 942s
PASS :white_check_mark:

docs
logfile
1 cases, 0 failed, t: 2s
PASS :white_check_mark:

gcc.Debug -Dcoverage=ON
logfile
1050 cases, 0 failed, t: 853s
PASS :white_check_mark:

clang.Debug
logfile
1050 cases, 0 failed, t: 286s
PASS :white_check_mark:

clang.Debug -Dunity=OFF
logfile
1050 cases, 0 failed, t: 406s
PASS :white_check_mark:

gcc.Debug
logfile
1050 cases, 0 failed, t: 293s
PASS :white_check_mark:

clang.Release -Dassert=ON
logfile
1049 cases, 0 failed, t: 403s
PASS :white_check_mark:

gcc.Debug -Dunity=OFF
logfile
1050 cases, 0 failed, t: 773s
PASS :white_check_mark:

gcc.Release -Dassert=ON
logfile
1049 cases, 0 failed, t: 427s
PASS :white_check_mark:

gcc.Debug -Dstatic=OFF
logfile
1050 cases, 0 failed, t: 292s
PASS :white_check_mark:

gcc.Debug -Dstatic=OFF -DBUILD_SHARED_LIBS=ON
logfile
1050 cases, 0 failed, t: 298s
PASS :white_check_mark:

gcc.Debug, NINJA_BUILD=true
logfile
1050 cases, 0 failed, t: 274s
PASS :white_check_mark:

clang.Debug -Dunity=OFF -Dsan=address, PARALLEL_TESTS=false, DEBUGGER=false
logfile
1050 cases, 0 failed, t: 1120s
PASS :white_check_mark:

clang.Debug -Dunity=OFF -Dsan=undefined, PARALLEL_TESTS=false
logfile
1050 cases, 0 failed, t: 1203s
PASS :white_check_mark:

In 1.1.1

authors: mellery451 ripplelabs-jenkins seelabs

repo: ripple/rippled

license: ISC


text:
consistency_test.py:TestConsistency.hintedhandoff_test

https://issues.apache.org/jira/browse/CASSANDRA-8545

May be resolved, test doesn't seem to be failing anymore

Looks like it has be OK lately, and 8545 was closed "Cannot Reproduce". Closing.

authors: mshuler ptnapoleon

repo: riptano/cassandra-dtest


text:
Case of most negative number divided by -1 for RV32

This PR is the continuation of the PR#65 of riscv-ctg. Previously I had added the same case for RV64 instructions (remw and divw) for solving the issue#300 of riscv-arch-test. But the same case is also needed for RV32 instructions (div and rem). So I have added an additional condition for Division of most negative number divided by -1 for RV32 in dataset.cgf

this has been addressed on the latest dev. hence closing it. Please reopen if otherwise.

repo: riscv-software-src/riscv-ctg


text:
vsm4k.vi is encoded as OPMVV format seems to be imprecise

https://github.com/riscv/riscv-isa-manual/blob/main/src/vector-crypto.adoc

as vector-coryto section 3.25 described, bit 19~15 is immediate operand, instruction also with ".vi" postfix, so I think using OPIVI format seems to be precise.
Thanks,
Steven-Li

cc @kdockser @nibrunieAtSi5

The spec is aligned with riscv-opcodes
https://github.com/riscv/riscv-opcodes/blob/8ab52afb50d25c6798819008252f93576f0d6a43/rv_zvksed#L4
vsm4k.vi     31..26=0x21 25=1 vs2 zimm5       14..12=0x2 vd 6..0=0x77

opcode[14:12] / funct3 corresponds to OPMVV. https://github.com/riscv/riscv-v-spec/blob/2f68ef7256d6ec53e4d2bd7cb12862f406d64e34/v-spec.adoc#101-vector-arithmetic-instruction-encoding
I don't remember what lead to this opcode allocation, @kdockser ?
Looking at the spreadsheet you used for the allocation, https://docs.google.com/spreadsheets/d/128GivlOc7sXiDri5GwJv4ZOlGtq9Lf0HE51YjCPnBvE/edit?usp=sharing, it seems all vector crypto instructions in OP-VE are allocated to OPMVV
(Tab: crypto instructions)

Unfortunately, I no longer have access to my notes from that time. However, I seem to recall that the opcode allocation decision was to put the crypto instructions in the "miscellaneous" OPMV[VX] space and reserve the OPIV[VXI] for Integer instructions as these tend to have a need for all three variations.
So, while the OPIVI encoding would be a better match due to its use of an immediate, there was a stronger need to wisely allocate the limited resource of encoding space.

authors: Steven-Li-Xiaogang aswaterman kdockser nibrunieAtSi5

repo: riscv/riscv-isa-manual


text:
Need a couple of confirmation about vlxff intructions

suppose the data in memory is 'abc\0', and after vlbff is used to load:

vl=3, or vl =4?
the tail element( VLMAX>index >= vl) also need to be zero'd, right?
When an element > 0 raises an exception, the spec says :" If an element > 0 raises an exception, that element and all following elements in the destination vector register are not modified, and the vector length vl is reduced to the number of elements processed without a trap. " it is not aligned with common standard of the spec:
a. tail elements are not zero'd.
b. vstart is not used, we choose to modify vl.

The data values do not affect the behavior of the instruction.  '\0' has no special significance.

??? I don't get it, vlbff will trap when it meets 0, and then vl will be updated accordingly. my understanding is wrong?

Yeah, I think there is a misunderstanding. “These instructions execute as a
regular load except that they will only take a trap on element 0.” The data
value doesn’t matter.
The strlen code example shows how to use these instructions when the goal
is to detect a 0 data value:
https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#77-unit-stride-fault-only-first-loads
On Fri, Jul 5, 2019 at 3:14 AM wwang0 notifications@github.com wrote:

??? I don't get it, vlbff will trap when it meets 0, and then vl will be
updated accordingly. my understanding is wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-v-spec/issues/241?email_source=notifications&email_token=AAH3XQVUTBIM2S4LCPTFFKTP54NIBA5CNFSM4H6EBGXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJEUJQ#issuecomment-508709414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH3XQTO2AWODEXY2BYSDYLP54NIBANCNFSM4H6EBGXA
.

What does 'element 0' mean? doesn't it mean the data value is 0?

It means "the zeroth element in a vector", not "an element whose value is 0".
The way the instruction works is:

If no exceptions are encountered, it behaves the same as a normal unit-stride load.
If an exception is encountered on element number i, and i > 0, then vl is set to i, and no exception is taken.
If an exception is encountered on element number 0, then the exception is taken.

The instruction really puzzled me for a long time. Can I know why we have such instruction?　I also don't quite understand the example fo strlen,  the example has chance to access memory elements after '\0', which should be illegal and might trigger memory access trap(or may not),  how does trap hanlder of system decide the trap is no harm or harm?

The instruction supports vectorizing loops whose trip count isn't known at entry (i.e. while loops), with strlen being a good example.
In the strlen example, the vlbff instruction might access elements past \0, but it will never trap on elements past \0, so the trap handler does not need to do anything special.  This works because the instruction's semantics are to reduce vl rather than taking the exception.

I see. then my last question is why the exception of element 0 is taken?　Thanks!

Faulting on element 0 handles the case that a page fault should occur, e.g., because the middle of the string has been paged out.  Consider these two examples (assuming VLMAX = 32):

String abc\0 at address 0x1ff0; the page at 0x2000 is paged out.  The first vlbff will attempt to load bytes 0x1ff0 to 0x200f.  Since loading 0x2000 would cause an exception, vl is reduced to 16 (== 0x2000 - 0x1ff0) and no exception is taken.  Because a 0 byte was detected, we exit the strip-mine loop, and no exception occurs.

Same scenario, except the string is abcdefghijklmnopqrstuvwxyz\0, so part of the string is paged out.  On the first iteration, vl is reduced to 16, but since no zero byte was found, the loop will continue.  On the second iteration, the exception is detected on the zeroth element, so the exception will really be taken this time.  Once the page fault is handled, the loop will find the zero byte on that same loop iteration, and we'll exit the loop.

Hopefully those two examples help.

Now I understand it completely. Thanks for your patience to explain it to me!

Cool!

I probably have the real last question, in v spec, it says:
"
If an element > 0 raises an exception, that element and all following elements in the destination
vector register are not modified.
"
But we usually zero the tail element, but not keep them not modified, right?

Let’s postpone that question for now, as tail-zeroing semantics are still being debated.

repo: riscv/riscv-v-spec


text:
Support bucketed prefix for object in non-S3 object store backend

In S3 object store backend, we follow the best practice  to hash the objects into 256 prefixes to enable AWS request rate auto scaling. For non-S3 object store backend, we now use a single prefix for all objects.
However, bucketed prefix is known to be useful in some non-S3 backends as well.

GCS performs request rate scaling based on prefix according to their doc:

For example, a 1-character prefix using a random hex value provides effective auto-scaling from the initial 5000/1000 reads/writes per second up to roughly 80000/16000 reads/writes per second, because the prefix has 16 potential values.

The metadata load can be alleviated in fs/hdfs by putting files into several sub-directories instead of a single directory.

There may be more examples. Currently the highest priority among all these backends is to support bucketed prefix in GCS because we have seen user workload hitting the GCS single prefix limit recently.

@Li0k and I have an offline discussion on how to support bucketed prefix and adjust number of prefix buckets in general. Here is the summary.
Requirements & Assumptions

Prefix bucket adjustment is considered as a very infrequent operation so we should keep the mechanism simple and it is okay to have manual intervention.
Backward compatibility should be maintained so that objects written prior to the adjustment can still be read without any issue.
Forward compatibility is not guaranteed, meaning that old codes may not be able to read objects written after the adjustment.
Once done, the prefix bucket adjustment cannot be reverted.
Our object id generator generates monotonically increasing IDs.

Design

Introduce a system parameter to store a mapping from start_object_id to number_of_prefix_buckets. Objects with ID > start_object_id will use the corresponding number_of_prefix_buckets to calculate the prefix bucket in its path. Examples:

Mapping:
10 -> 1
1000 -> 64
2000 -> 256

Object [0, 10) will all be assigned to a single prefix.
Object [10, 1000) will be hashed and distributed evenly across 64 prefixes.
Object [2000, inf) will be hashed and distributed evenly across 256 prefixes.

For simplicity, CNs and Compactors will only read this mapping on startup and we don't support runtime reload. Future read/write on objects will follow what is specified above.
For new clusters created after this feature is done, the mapping is initialized with start_object_id=0 and a reasonable prefix bucker number (e.g.  0 -> 256), which means new clusters can enjoy the benefits without going through the upgrade steps.
For existing cluster created prior to this feature on non-S3 backend, the mapping is initialized to be empty, which means the old behavior is maintained. User/DevOps need to follow the upgrade steps to adjust the number of prefix buckets accordingly. This is because it is only safe to update the mapping when there are no ongoing reads/writes in the cluster. For simplicity, we decided to introduce manual intervention here.

Upgrade steps

Take a meta backup of the cluster.
Upgrade the image for all nodes including meta,CN,compactor in the cluster.
Pick a right time to ban object store reads/writes from CNs and compactors. This can be done by simply killing all CNs and Compactors at once.
Issue ALTER command for the mapping. On receiving this command, meta will use the largest object id in HummockVersion as the start_object_id and write a new entry in the mapping. This is safe because HummockVersion will not be changed (due to 3).
Restart CNs and compactors.

Ideally, operation 3, 4, 5 should be done very quickly to minimize cluster unavailability.

Given that we don't see a strong need to migrate the prefix strategy for non-s3 backend, I think we will actually start working on the design. I will leave the issue open but remove it from milestone until we see a strong need.

repo: risingwavelabs/risingwave


text:
SQL Server CDC Source

Is your feature request related to a problem? Please describe.
Add a new sqlserver-cdc connector to capture cdc events of tables in the SQL Server
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Done in #17429

authors: StrikeW lmatz


text:
chore: update release version

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Just show changes, no need merge


text:
feat(meta): collect and sync barrier in two requests

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Is this ready for review? Please add some description.

Is this ready for review? Please add some description.

Not yet. Still running some tests. Will ping reviewers when it's ready for review

#19475  👈 (View in Graphite)
main

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

Temporarily mark this PR as draft.
Database isolation will be implemented in favor of https://github.com/risingwavelabs/risingwave/pull/19556 and its subsequent PRs.


text:
fix: reject ddl rather than panic when no available parallel units to schedule

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Fix panic in creating streaming jobs when no compute nodes are alive.
Checklist For Contributors

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[x] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[x] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

Why did we panic with the current implementation? 👀