Conversion ended successfully without a conversion

My Video file is picked up in the watch folder but the conversion ends "successfully" even though nothing is converted. I got this message in my log file

mv: can't rename '/output/./filename.mp4': No such file or directory

Could you provide the whole log please?

[services.d] starting app...
[app] starting HandBrake...
[services.d] done.
(ghb:974): GLib-GIO-CRITICAL **: 20:13:40.793: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
GLib-GIO-Message: 20:13:41.172: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[autovideoconverter] Starting conversion of '/watch/test.mkv'<PHONE_NUMBER>03d56a4643aa59b6ca4645) using preset 'rokodinMovie265'...
[autovideoconverter] 1 title(s) to process.
mv: can't rename '/output/.hefeiH/test.mkv': No such file or directory
[autovideoconverter] Conversion ended successfully.
[autovideoconverter] Watch folder '/watch' processing terminated.

Could you also provide log/hb/conversion.log ? You can find it in the directory you mapped to /config.

------- CONVERSION OUTPUT Fri Apr  5 20:13:43 CEST 2019 -------
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
Cannot load libnvidia-encode.so.1
[20:13:43] hb_init: starting libhb thread
[20:13:43] thread 7fa372c03b10 started ("libhb")
HandBrake 1.2.2<PHONE_NUMBER>) - Linux x86_64 - https://handbrake.fr
4 CPUs detected
Opening /watch/test.mkv...
[20:13:43] CPU: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
[20:13:43]  - logical processor count: 4
[20:13:43] Intel Quick Sync Video support: no
[20:13:43] hb_scan: path=/watch/test.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /watch/test.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[20:13:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:13:43] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/watch/test.mkv':
  Metadata:
    title           : title
    encoder         : libebml v1.3.7 + libmatroska v1.5.0
    creation_time   : 2019-04-02T04:44:54.000000Z
  Duration: 02:09:01.79, start: 0.000000, bitrate: 4953 kb/s
    Chapter #0:0: start 0.000000, end 249.457000
    Metadata:
      title           : 1
    Chapter #0:1: start 249.457000, end 577.368000
    Metadata:
      title           : 2
    Chapter #0:2: start 577.368000, end 871.078000
    Metadata:
      title           : 3
    Chapter #0:3: start 871.078000, end 1190.897000
    Metadata:
      title           : 4
    Chapter #0:4: start 1190.897000, end 1482.063000
    Metadata:
      title           : 5
    Chapter #0:5: start 1482.063000, end 1786.826000
    Metadata:
      title           : 6
    Chapter #0:6: start 1786.826000, end 2101.599000
    Metadata:
      title           : 7
    Chapter #0:7: start 2101.599000, end 2348.595000
    Metadata:
      title           : 8
    Chapter #0:8: start 2348.595000, end 2849.220000
    Metadata:
      title           : 9
    Chapter #0:9: start 2849.220000, end 3437.224000
    Metadata:
      title           : 10
    Chapter #0:10: start 3437.224000, end 3776.271000
    Metadata:
      title           : 11
    Chapter #0:11: start 3776.271000, end 4167.829000
    Metadata:
      title           : 12
    Chapter #0:12: start 4167.829000, end 4471.299000
    Metadata:
      title           : 13
    Chapter #0:13: start 4471.299000, end 4904.774000
    Metadata:
      title           : 14
    Chapter #0:14: start 4904.774000, end 5411.530000
    Metadata:
      title           : 15
    Chapter #0:15: start 5411.530000, end 5896.514000
    Metadata:
      title           : 16
    Chapter #0:16: start 5896.514000, end 6249.742000
    Metadata:
      title           : 17
    Chapter #0:17: start 6249.742000, end 6848.215000
    Metadata:
      title           : 18
    Chapter #0:18: start 6848.215000, end 7381.289000
    Metadata:
      title           : 19
    Chapter #0:19: start 7381.289000, end 7741.792000
    Metadata:
      title           : 20
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x802 [SAR 1:1 DAR 960:401], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
    Metadata:
      title           : title
      BPS-eng         : 4567175
      DURATION-eng    : 02:09:01.734000000
      NUMBER_OF_FRAMES-eng: 185616
      NUMBER_OF_BYTES-eng:<PHONE_NUMBER>
      _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-02 04:44:54
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      title           : title
      BPS-eng         : 384000
      DURATION-eng    : 02:09:01.792000000
      NUMBER_OF_FRAMES-eng: 241931
      NUMBER_OF_BYTES-eng: 371606016
      _STATISTICS_WRITING_APP-eng: mkvmerge v32.0.0 ('Astral Progressions') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-02 04:44:54
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1067x600, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : cover_land.jpg
      mimetype        : image/jpeg
    Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 120x176, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : small_cover.jpg
      mimetype        : image/jpeg
    Stream #0:4: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 213x120, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : small_cover_land.jpg
      mimetype        : image/jpeg
    Stream #0:5: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 600x882, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[20:13:43] scan: decoding previews for title 1
[20:13:43] scan: audio 0x1: ac3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)

Scanning title 1 of 1, preview 2, 20.00 %
Scanning title 1 of 1, preview 4, 40.00 %
Scanning title 1 of 1, preview 8, 80.00 %
Scanning title 1 of 1, preview 10, 100.00 %[20:13:44] scan: 10 previews, 1920x802, 23.976 fps, autocrop = 0/0/0/0, aspect 2.39:1, PAR 1:1
[20:13:44] scan: supported video decoders: avcodec qsv
[20:13:44] libhb: scan thread found 1 valid title(s)
+ Using preset: rokodinMovie265
+ title 1:
  + stream: /watch/test.mkv
  + duration: 02:09:01
  + size: 1920x802, pixel aspect: 1/1, display aspect: 2.39, 23.976 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:04:09
    + 2: cells 0->0, 0 blocks, duration 00:05:28
    + 3: cells 0->0, 0 blocks, duration 00:04:54
    + 4: cells 0->0, 0 blocks, duration 00:05:20
    + 5: cells 0->0, 0 blocks, duration 00:04:51
    + 6: cells 0->0, 0 blocks, duration 00:05:05
    + 7: cells 0->0, 0 blocks, duration 00:05:15
    + 8: cells 0->0, 0 blocks, duration 00:04:07
    + 9: cells 0->0, 0 blocks, duration 00:08:21
    + 10: cells 0->0, 0 blocks, duration 00:09:48
    + 11: cells 0->0, 0 blocks, duration 00:05:39
    + 12: cells 0->0, 0 blocks, duration 00:06:32
    + 13: cells 0->0, 0 blocks, duration 00:05:03
    + 14: cells 0->0, 0 blocks, duration 00:07:13
    + 15: cells 0->0, 0 blocks, duration 00:08:27
    + 16: cells 0->0, 0 blocks, duration 00:08:05
    + 17: cells 0->0, 0 blocks, duration 00:05:53
    + 18: cells 0->0, 0 blocks, duration 00:09:58
    + 19: cells 0->0, 0 blocks, duration 00:08:53
    + 20: cells 0->0, 0 blocks, duration 00:06:01
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 384000bps
  + subtitle tracks:
[20:13:44] hb_parse_filter_settings: Error parsing (0:0)
ERROR: Invalid rotate filter settings (0:0)
Failed to initialize job
HandBrake has exited.

Fixed with image version 1.17.0.
The failure should now be properly reported.

can you give me a hint on why the conversion fails?

It seems that you are encountering the following issue:
https://github.com/HandBrake/HandBrake/issues/2047
The workaround is to remove the following line from your preset file:
"PictureRotate": "0:0",

Thanks that worked, thank you very much.

Hi Jocelyn - thanks for the great docker container.  I also hit this same problem, and debugged it independently, eventually arriving here when about to create an issue to describe the solution :)
Anyway, just thinking it may be worthwhile adding a note about this under your already comprehensive documentation for the docker image, as it seems like it might be a fail common failure people could hit when trying auto conversion for the first time.
You can also work around the issue by changing the offending line in the preset to:
"PictureRotate": "angle=0:hflip=0"


Special Hack Key

May be silly but I cant find the "slowmotion", "rave the future" and other keys used in react conf ?
Is it published somewhere ??

Was removed in https://github.com/chenglou/react-motion/pull/23 but

We'll make an actual dedicated functionality for this in the future.

Not silly at all! I knew someone would be asking for this =)
Feel free to revert to that commit and try the keys! But yes, lots of potential for tooling there.
Closing!

I see !
And i understand the problem raised in #23.
Did you guys  thinks we can refactore this into a "react-motion/addons"  it is quite useful to debug.


[Bug]Test

Summary
A clear and concise description of what the bug is, and what you expected to happen.
How to reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Please include screenshots.
Additional context
Add any other context about the problem here.

@


Node.Text optimization

Motivated by my work on Formlets for Ooui.
Reduces the amount of objects created when resetting the text on an existing element.

Nice!! Thank you!!


Proxy Auth

Issue Type: Bug
Proxy Auth does not work after update, when using system proxy on Windows
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T07:50:42.600Z)
OS version: Windows_NT x64 10.0.14393

Probably #104603 which offers a workaround.

OS version: macOS 10.15.6 (19G73)
VSC version: 1.48.0
I also have Proxy Auth issues with the popup dialog.
When I start VSC while connected to my corp network, VSC asks me for proxy auth (as usual). However, the dialog does not react to "OK" nor "Cancel." As it is blocking and without a window header, I cannot use VSC anymore.

While reporting this issue here, I used the short amount of time between VSC startup and the proxy auth dialog pop up to quickly open the About page of VSC to get the version number of VSC.
I discovered that while the About page is open the proxy auth dialog will appear as full dialog window with the "close window" icon in the left corner. While the dialog still does not react to "OK", "Close", "Enter" nor "Escape", one can close the window with the header icon. The popup will show once more but can be closed the same way and VSC is usable again.

@MartinMajewski does the https://github.com/microsoft/vscode/issues/104603#issuecomment-673852503 workaround suggestion help you?

/duplicate https://github.com/microsoft/vscode/issues/104603


Credits & License

It would be a good idea to include me and @nevercast as main contributors.
We should also give credit to the community, because they made some good fixes!
Also I would see if we should not change our license to GPL, because I think MIT is too permissive. It was brought to my attention that some people might use our work to create paid and closed-source applications without giving credits...
See https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/391

The MIT license requires attribution. If they're going to use your work to create a commercial product, they're going to do so even as GPL.


Catch up to Ecto 2.0.2, released 27 Jun 2016.

Coverage remained the same at 85.783% when pulling 4290b1350296bcbe2bb10c1350dcb3e42548d941 on ecto-2.0.2 into 6b8a52565dd98276c403bb66f97ca2b23451a567 on master.

Coverage remained the same at 85.783% when pulling 23d1c5f36f9142bfa70c068cd1a902b78010fe21 on ecto-2.0.2 into 6b8a52565dd98276c403bb66f97ca2b23451a567 on master.


Update machine struct fields

Potential fix for:

https://github.com/maas/terraform-provider-maas/issues/68
https://github.com/maas/terraform-provider-maas/issues/88


wip/6.0 HHH-14091: eliminate bunch of if-else-statement

@Sanne , it would be great if you take a look at this for you are the last reviewer of the closed PR and this is a followup.

I might have a look, but this looks like low priority. Could you clarify why are these changes being proposed?
Thanks

I might have a look, but this looks like low priority. Could you clarify why are these changes being proposed?
Thanks

Nothing special and surely it is of lower priority. Guess the author wanna improve code readability.

it seems no need to do this.


Configuration Profiles

TypeScript Configuration Profiles

(This is a proposal, but written in terms of a blog post for clarity)

The Problem
Many times when improving correctness or allowing for increased strictness, we (the TypeScript team) face some challenging questions:

In a new codebase, is this behavior always desirable, or just sometimes?
Is this behavior something that all declaration files need to agree on?
In an existing codebase, if this behavior is enabled, what is the predicted mix of false and true positives?

Let's look at a concrete example to understand how these factors play out.
Unconstrained Type Parameter / { } assignability
In TypeScript 4.8, we fixed a longstanding issue that unconstrained generic type parameters were unsoundly assignable to { }. Critically, this was a correctness fix -- in any situation, there was the potential for a bug in user code to be hiding.
In a new codebase, there is zero reason to allow those sorts of incorrect assignments to occur. You would easily add the needed constraint and/or if check. In a sense, this fix is really a subset of the behaviors implied by strictNullChecks -- that null and undefined are not allowed to inhabit types that don't declare them.
However, this check could (and did) cause errors in declaration files. This is a problem, because not all declaration files are necessarily under your control. Types shipped within an npm module, for example, cannot be easily overriden, and types in those modules could be declared in a way that caused errors. For 4.8, we did a great deal of legwork to find and fix these issues, as well as in DefinitelyTyped.
In existing codebases, the odds of hitting at least one new error due to this change were reasonably high. But in practice, most unconstrained type parameters are rarely inhabited by null or undefined, and in some cases we saw type parameters that were only ever referenced as instantiations using properly-constrained type parameters. For the most part, these codebases didn't have lurking bugs. While the possibility of null/undefined sneaking in is always present, we only saw a handful of cases where a true bug was found.
This combination of factors created a difficult situation:

The change is unquestionably correct: the old behavior was an unjustifiable soundness hole
No rational person would disable this behavior: it is never broadly desirable to not have this check
But.
Many existing declaration files would need to be updated
No extant codebase is likely to see a net benefit from enabling it

We went back and forth, a lot, over whether to add a flag to control this behavior. The key decision points were:

This is undeniably a strict flag, and should be on by default, but doing this creates the low-value breaks described above
Adding a flag now means supporting it "forever", which is a maintenance burden even from a mechanical perspective
Allowing this to be configurable expands the configuration matrix, all cells of which need to be thought about in future decisions

On net, we decided to live with the breaks and ship this without a flag. The reception to this has been largely positive, but it was unsatisfying to ship this kind of change. We want upgrading TypeScript to be a gratifying process that makes you think "Ah yes, I see an older version of TypeScript missed that problem", not "This new version of TypeScript is complaining about something I never had to think about before".
That said, we know this experience wasn't optimal, and we had to do a lot of work to ship a change like this without being overly disruptive.
The Strictness Dilemma
Working from this example, we basically see four kinds of "new errors" you might encounter today:

Opinionated checks: For example noUncheckedIndexedAccess - while clearly more sound, we think this flag has a high "noise floor" that isn't necessarily broadly-desirable
Bugfix checks: those that are effectively bug fixes and were never truly intentional in the first place. Unconstrained type parameter -> { } assignability falls into this category.
Easy good checks: Unambiguously-good checks that can be turned on, with modest effort, in an existing codebase. For example, strictPropertyInitialization can usually be turned on without too much effort, and often finds bugs in the process.
Hard good checks: Unambiguously-good checks that can't be enabled in an existing codebase. For example, strictNullChecks - it'd be a very odd choice to start a new project in 2022 with this flag disabled, but enabling this flag for an existing project is known to be an extremely large amount of work

Opinionated checks are easy to reason about: These don't need to be on by default, ever.
Bugfix checks are also usually easy to reason about: Bug fixes are bug fixes and all software can fix bugs in a way that is observable during the upgrade process. In rare cases, like the unconstrained type parameters, bug fix checks can result in an unusually high number of new errors in codebases. When practical, we can consider a migration flag that is deprecated during the next deprecation wave.
"Easy good checks" present a small problem: Users, especially those upgrading by multiple releases at once, can be overwhelmed by the quantity of new errors they see. Even a dozen errors can feel like an enormous task if you're not familiar with the code. While these flags can be disabled, it's not always clear which errors are due to which flag, and the complaint of "I didn't ask for this in a minor version" is a reasonable one.
"Hard good checks" present a big problem: We want these checks to be in the strict family, but as most users enable strict (which we want them to do!), turning them on by default risks presenting a huge wall of errors to people trying to do a routine TypeScript version update.
What can be done?
Configuration Profiles
Let's imagine a new compiler option, profile:
{
    "compilerOptions": {
        "profile": "argon", // 🌟 naming TBD 🌟
        "target": "ESNext",
        "noImplicitReturns": true
    }
}

What is it?
profile is a setting that changes the default values of all other config options.
By providing a profile value, we can allow TypeScript users to "lock in" their current compiler options regardless of versioning, while still allowing an empty tsconfig to have as few explicitly-specified properties as possible to get the "best" TypeScript experience. This also lets us reduce the confusing interaction between various settings -- for example, today strict also turns on noImplicitAny, and there are other dependencies that are more complex.
With profile, tsc --init can produce a much more minimal file, containing "profile": "whatever the newest one is", plus commented-out lines for opinion-based settings like noUncheckedIndexedAccess. We can also expect existing tsconfig.json files to get much shorter, since they can quickly opt in to their current settings modulo any overrides needed.
Scheduling
New profiles can be created on an as-needed basis. During major version upgrades, we can upgrade the default profile to whatever the latest is at the time.
At the 5.0 release, the default profile will correspond to compiler settings as they were computed in TypeScript 4.9. At the 6.0 release, we'll "upgrade" the versioning policy, and at that time the default profile will be whatever the newest profile at that time is. This gives people plenty of time to lock in a profile in the meantime to avoid unwanted surprises.
What It Isn't, and Naming
profile changings the default compiler options. Critically, it has no other effect.
Some compilers, like C#, have a "compiler version" setting. This setting lets newer compiler versions "act like" older versions, to the greatest extent feasible. This is not what profile is intended to be. Given the surrounding ecosystem, it's reasonably straightforward to install any specific TypeScript version on a per-project basis.  While the profiles will obvious correspond to a TypeScript version in which they were first present, these profiles aren't intended to allow for mimicing of older versions.
This is also not intended to be a "strictness dial". Our intent when we first made --strict was that --strict would always opt you in to the very strictest TypeScript settings. It quickly became apparent that people really wanted to opt themselves into this mode, and that projects with no appetite to incur large breaky changes on version upgrades. If we use profile and start creating options like "strict", "strictier", "stricest", "strictest-latest", etc, we're putting ourselves back into the boat of having to figure out which changes are palatable to existing codebases and which aren't. The preferred mechanism for opting into a well-known configuration with some settings is to extend from a shipping package containing TypeScript defaults.
Given these constraints, we'd like some feedback on how to name both the setting itself, and its allowed values.

@RyanCavanaugh I have a question
How is this different from extends: "node_modules/some_package/config.json" where some_package updates the major version for breaking changes?
It seems to satisfy

Minor config updates
Does not break routine minor version upgrades
Allows projects to be initialized with newer versions of TypeScript and latest config tsc --init

Good question. One key difference is that we can't automatically insert that line into every existing tsconfig.json, so if we ever want to change TS's default settings (which we certainly do), we don't really have any other way to do that.
The other problem is that an upstream config file can't exactly mimic all behavior from various settings, since some settings behave differently if they're explicitly specified vs left blank (due to depending on other settings).
For example, today (if not otherwise specified) noImplicitAny is on if strict is set, otherwise off. In a hypothetical world where we wanted noImplicitAny on by default, but strict off by default, there's no config file we could write that would mimic the current behavior in that newer version of TS.

It's a very good idea - to keep compatibility with old codebases and tons of existing code. But proposed implementation is kind of anti-pattern: it increases complexity of existing thing already has a lot of issues.
Examples? 'Extend' in tsconfig, project references, 'exports / imports' in package.json, old-style eslint config, etc.
If you really want to improve ts ecosystem, just take looks at something like ts.config.js / .ts with some default / recommended packages / presets / codemods, and freeze current state of tsconfig.


fix: few issues

Hello there,
thanks for awesome job for made this component.
I found few issues while using it:

when it's used with vue 3.2.26, sometimes it cause error:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'disconnect')
    at eval (v-lazy-image.es.js?0621:1:1)
    at callWithErrorHandling (runtime-core.esm-bundler.js?9e79:6737:1)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?9e79:6746:1)
    at Array.hook.__weh.hook.__weh (runtime-core.esm-bundler.js?9e79:1970:1)
    at invokeArrayFns (shared.esm-bundler.js?2260:541:1)
    at unmountComponent (runtime-core.esm-bundler.js?9e79:4886:1)
    at unmount (runtime-core.esm-bundler.js?9e79:4796:1)
    at unmountComponent (runtime-core.esm-bundler.js?9e79:4895:1)
    at unmount (runtime-core.esm-bundler.js?9e79:4796:1)
    at unmountChildren (runtime-core.esm-bundler.js?9e79:4924:1)

sometimes, I'm getting error:

runtime-core.esm-bundler.js?9e79:6800 Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
    at m (v-lazy-image.es.js?0621:17:1)
    at callWithErrorHandling (runtime-core.esm-bundler.js?9e79:6737:1)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?9e79:6746:1)
    at HTMLImageElement.invoker (runtime-dom.esm-bundler.js?8886:357:1)

when using default src-placeholder, not displayed images trigger "error" event, after page loads.

So this PR - fix both of them.

bug with getAttribute same to #101


fixed beam client node and added link to dev site

:+1:

Please add the latest working version in there, this is not correct.

Thanks!

Oh its https://developer.beam.pro not https://developers.beam.pro
Looks like developers still gets you there but is using a MCPro ssl cert which my browser complains about.
developer's ssl is fine.

Thanks!

I updated the readme here it should be developer.beam.pro


fix: read property to determine if using python virtual env

Description
In addition to reading environment variable EXHORT_PYTHON_VIRTUAL_ENV to determining if using python virtual environment, also ready system property.
Checklist

[x] I have followed this repository's contributing guidelines.
[x] I will adhere to the project's code of conduct.

Additional information

Anything else?

Hi @zvigrinberg, I added a line to read EXHORT_PYTHON_VIRTUAL_ENV from system properties in addition to environment variables, because it is not easy to change environment variables with java code. Please take a look. Thanks.

Hi @zvigrinberg, I added a line to read EXHORT_PYTHON_VIRTUAL_ENV from system properties in addition to environment variables, because it is not easy to change environment variables with java code. Please take a look. Thanks.

Hi @xieshenzh
Yes I Agree, It's quite complicated to do so via reflection , so off course i'll approve it.


Adding a new hook that checks if S3 buckets have versioning enabled

Closed in favor of the already existing hook of the same purpose.


Faulty Regex in valid_pin

https://github.com/DragonMinded/bemaniutils/blob/33d0000c771b6da22e45327921d1af21d9f83c81/bemani/frontend/app.py#L225-L231
Should probably be ^\d\d\d\d$ (or better, ^\d{4}$) and similar for the bottom, as this currently matches anything containing 4 sequential digits.
Opening as an issue instead of a PR as this might be intentional.

The regex was meant to be complete, not partial. So the correct fix would be to either switch to fullmatch or one of the proposed regexes in this issue.


v0.4.0 - try 3

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Closes #4 #5

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

It strange that no build was triggered!

It strange that no build was triggered!

@conda-forge-admin, please restart ci

@conda-forge-admin, please restart ci

I guess we need a new build of fluidfft...

I guess we need a new build of fluidfft...

Same "Illegal instruction ... core dump" on linux

Same "Illegal instruction ... core dump" on linux

I'm going to open a PR for a new build of fluidfft.

I'm going to open a PR for a new build of fluidfft.

@conda-forge-admin, please restart ci

@conda-forge-admin, please restart ci

@paugier Good to go.

@paugier Good to go.

Ping @paugier

Ping @paugier


Configuration to disallow database reset

Problem
I've started using prisma recently and it seems insanely scary that not only its super easy to reset the entire db but also the fact that doing a migration if it fails due to some sync issues its the default behaviour of prisma to suggest a full reset and data wipe?
Suggested solution
Some configuration on the connection or something should exist to prevent this behaviour.
If in the datasource there's a preserveDB or preventDBReset or something like it, prisma should never suggest to reset db when running any command besides prisma reset db and even then it should ask more then once if we are sure of the concequences.

Valid suggestion, although we generally try to avoid configuration options but aim to have good defaults that make this unnecessary.
A suggestion to reset your database should not be normal and common. If it is right now, please open a new discussion and describe you use case.

Hey,
https://www.prisma.io/docs/concepts/components/prisma-migrate/prisma-migrate-limitations-issues#data-loss-when-resetting-database
It's right in your documentation stating it is a normal behaviour for prisma :/ "You call prisma migrate dev and Prisma Migrate detects drift in the database or a migration history conflict"
In my opinion, unless it is controlled by configs or variables it should never be suggested or if it is suggested it should be really insanely clear and with at least 2 checks.
For example, laravel (PHP framework with ORM) does not ever suggest to reset db on migration and if it finds a db is a production or testing environment informs you every time like this:
`[root@server public_html]# php artisan db:seed --class=CustomSeeder

Application In Production!     *

Do you really wish to run this command? (yes/no) [no]:
`
in red, this makes it extra clear. Prisma also has something similar but its just 1 line with 5 words at the end in red in the middle of a few more logs, makes it easier to skip without noticing or not paying enough attention.

Hey guys.
Actually we are facing the same issue here, and if I may add. For me the db reset should be ALWAYS an explicit command with several confirmation dialogs, specially if it's in production.
This means that the --create-only flag should have been --reset-allowed .
Either way, in my perspective a running migrations shouldn't be able to reset a DB. Is too easy to screw something.
I know I know, user permissions, etc... but yeah. ORM should help not generate more entropy.

It's right in your documentation stating it is a normal behaviour for prisma :/ "You call prisma migrate dev and Prisma Migrate detects drift in the database or a migration history conflict"

This actually describes very unnormal cases: You should not end up having drift in your database, or a migration history conflict. Additionally this should only happen in development, when you can reset without any bad consequences - as your migration history will just restore the models, and your seed script will restore your test data. That is why I suggested you create a discussion where you describe your usecase and workflow, so we can figure out why you describe this as common for you.
But I hear you, you are not the first ones to suggest similar things - so generally I do not disagree with you, I am just explaining the current state and keep this feature request here open to track the desire to change that state.

if it finds a db is a production

and

specially if it's in production.

Unfortunately we are not aware of a reliable way to detect "production" in Node. NODE_ENV is unfortunately not a reliable indicator and leads to far too many false positives and negatives.

So what is the solution if a migration history conflict happens in production ?
I know that for drift, you can use npx prisma migrate diff and resolve.
But was unable to find an answer for migration conflicts in production. Which can happen easily with botched git operations..

I've come in here to add my 2c as this has hit us multiple times during development. We're using Supabase and working around the "auth" schema issues, which means this is a common occurrence for us in dev and the simplicity of hitting "Y" is a massive footgun.

We onboarded some new devs yesterday, one of whom accidentally reset the db.
I did it myself twice on the weekend while redoing how we generate our models
We've had other devs do it multiple times in the past

I personally think this is a UX failure in that it provides no real prevention of data loss. The message gets lost amongst a wall of text and is far too small given its importance.
While I understand not wanting to add a configuration flag (we'd love this, e.g. --no-reset), I think you should take steps to make the UX much better. At a minimum, you should have a "mental check" that requires thought. A y/n selection is not enough IMO. Perhaps a "Type 'reset' to Reset the database" style input would be better. At the very least, the current "couple of words in red" alert should be be increased to a full warning. It should clearly state this leads to data loss and outline the implications of this in a way that isn't lost amongst the other changes that get displayed.

I am new to Prisma and also confused by how easy it seems to accidentally lose production data.
For instance, I can imagine someone (e.g., future me) setting DATABASE_URL to the production DB in order to test or debug or troubleshoot something urgent, and it's troubling to think that the basic development workflow for Prisma could so easily and inadvertently drop the production database.
@janpio, I understand NODE_ENV may be unreliable to detect a production setting, but could something like this work instead?

Wheras Prisma already adds a _prisma_migrations table to the database.
Could Prisma add a separate table to indicate whether it's a production database?

For instance, upon deploying the first time with prisma migrate deploy, Prisma could create a _prisma_production table, which could serve as a marker that disables any future development-only commands like prisma migrate dev or prisma migrate reset.

Found this thread after hitting the same issue - one of our dev reset the db accidentally - we would love a solution to it.

Unfortunately we are not aware of a reliable way to detect "production" in Node. NODE_ENV is unfortunately not a reliable indicator and leads to far too many false positives and negatives.

Could we have special a environment variable for prisma , sth like PRISMA_SAFE_MODE to enable the checks? That way only people who need the feature will turn it on and won't break backward compatibility.

+1 for this. Reseting the database should be optional behaviour and not default.

I said a lot of times that I could avoid that by just paying atention. After doing it twice in our shared dev database, I've changed my mind. I really need this, or else I would write a CLI write, as I've done in the past, but this time for myself LOL

it is a surprise to me that database reset is almost a part of development with Prisma. Database reset is required just by switching git branch and create new migration.


Add descriptors for new metrics to global descriptors

This PR adds a couple of new descriptors to the global config for mixer (in testdata/configroot).
Notably, these are not added to the rules for any scope/subject. This is by design at this point (to allow for adding them as part of a Task on configuring metrics -- since you there is no way for adding metric descriptors currently supported).
The new metrics are:

request_size
response_size

Some of the other descriptors are also updated to support validation.
Tested with minikube (pushed a local docker image in place of mixer, updated via istioctl mixer commands).

This change is

Jenkins job mixer/presubmit passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/manager-regression passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/manager-regression passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/manager-regression passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/manager-regression passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/manager-regression passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/presubmit passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/e2e-smoketest passed

Jenkins job mixer/manager-regression passed


CompareReadonly = false still reads and gets the value for the property!!

I have given CompareReadonly = false in the config, it does not include the read-only variables in the differences which is the expected behaviour. But what my question is if we have given CompareReadonly=false the comparer should not even try to get the value for that property. In PropertyComparer.cs line 165 I guess it should be like if(!parms.Config.ReadOnly) continue;  In the existing implementation if it is a read only variable and CompareReadonly= false it adds to the current properties list. Actually it should skip the read only property [don't add to the current properties list] in that point itself. Correct me if I am wrong

Ok.  Thanks for letting me know.

@srigithub99 I have a large charity project I am working on and have very little time:  https://github.com/GregFinzer/BedBrigadeNational
If you would like to fix this defect, I would be happy to merge the pull request.

I created a test to verify that it is not accessing the read only property.
https://github.com/GregFinzer/Compare-Net-Objects/pull/293


an option to completely remove unc0ver but keep fillesystem changes

Describe the feature you'd like
My bank apps always do jailbreak detection, and honestly i prefer stock iOS except the annoying UISounds. Such as lowpower.caf photoshutter.caf etc.
turn the phone into silent mode will miss calls, but lowpower.caf is ugly when you are at a meeting, and photoshutter.caf works even you do a screenshot, really annoying.
I just need to delete some files located /System/Library/Audio/UISounds, do not need cydia or sileo, neither the apfs snapshot created by unc0ver or chimera. and also modify hosts file.
Describe alternatives you've considered
I tried unc0ver and chimera, it's true i can delete the files, but the deleted files get back when restore rootfs. they both perform a reboot immediately after restored root fs, there is no chance to use GeoFilza or whatever to delete the files.
so i just need a basic jailbreak, no apfs snapshot, no cydia, no gnu tools. just full r/w in order to delete the files, and completely remove the jailbreak tool, then i will get a stock-like iOS but with custom hosts file & without the annoying UISounds.

Describe the feature you'd like
My bank apps always do jailbreak detection, and honestly i prefer stock iOS except the annoying UISounds. Such as lowpower.caf photoshutter.caf etc.
turn the phone into silent mode will miss calls, but lowpower.caf is ugly when you are at a meeting, and photoshutter.caf works even you do a screenshot, really annoying.
I just need to delete some files located /System/Library/Audio/UISounds, do not need cydia or sileo, neither the apfs snapshot created by unc0ver or chimera.
Describe alternatives you've considered
I tried unc0ver and chimera, it's true i can delete the files, but the deleted files get back when restore rootfs.
so i just need a basic jailbreak, no apfs snapshot, no cydia, no gnu tools. just full r/w in order to delete the files, and completely remove the jailbreak tool, then i will get a stock-like iOS but without the annoying UISounds.

Just use Geo Filza, or Sideload Filza, after you have restored root FS. You don't need them to change the whole purpose of the jailbreak =D

Just use Geo Filza, or Sideload Filza, after you have restored root FS. You don't need them to change the whole purpose of the jailbreak =D

seems to be a good idea.
But —— restoring rootfs do make a reboot...
It’s not practical.

Restoring RootFS has to reboot the device because the restore actually happens when the device boots up :-).

Restoring RootFS has to reboot the device because the restore actually happens when the device boots up :-).

Please consider my advice.
add an option for those who just want to modify some specific system files.
Thanks  inadvance!

Restoring RootFS has to reboot the device because the restore actually happens when the device boots up :-).

OR: provide us a capability to run a custom script (to delete the files) when restoring RootFS.
Please consider it.

provide us a capability to run a custom script (to delete the files) when restoring RootFS.
Please consider it.

If you know how to write [bash] scripts then this is easily done with. unc0ver, as it has an "SSH Only" option which in return is like running unc0ver except imagine not having Cydia support. You also have GeoFilza or FilzaEscaped, which in turn allow you to make modifications to system files without really having to "jailbreak".

provide us a capability to run a custom script (to delete the files) when restoring RootFS.
Please consider it.

If you know how to write [bash] scripts then this is easily done with unc0ver, as it has an "SSH Only" option which in return is like running unc0ver except imagine not having Cydia support. (Removing system files with a bash script sounds a bit out of place, however) You also have GeoFilza or FilzaEscaped, which in turn allow you to make modifications to system files without really having to "jailbreak".
Alternatively, you can try out RootlessJB, a project created as a POC in order to combat something like jailbreak detection. Not only are you able to have some tweaks running with it, but jailbreak detection may not be a thing, as most apps either detect for Susbtrate or Cydia, which RootlessJB does not (and probs never will) support. (I've heard you can have control support [nControl] and play Fortnite at the same time, proving that jailbreak detection isn't such a big issue when running this jailbreak)

I understand what you said.
My goal is pure and simple, just delete several files located /System/Library/Audio/UISounds and modify /etc/hosts.
Both GeoFilza and FilzaEscaped have a limitation, which is only /var is writable, the files i want is beyond their ability. And also the RootlessJB.
Actually I tried "SSH Only" option at very first. I found unc0ver will release files at /jb.
I can operate ssh, but i can not read the source code.
So if who can tell me exactly where and what files unc0ver released, I can delete them manually (sort of "Restoring RootFS"), as much as what delectra(https://github.com/KirovAir/delectra) do to electra. the improvement will be kind of unnecessary.

Did you find a solution for your problem @bitching ?
I am facing kind of a similar problem. I need the jailbreak to get rid of the horrible photoshutter sound. Renaming or deleting the file. I did the mistake in purchasing a japanese phone. (Not possible to turn it off)
But my banking app is not working on a jailbroken iphone.
I tried all JB detection tweaks, but none of them worked.
Now i either have an horrible picture-capture experience, or no banking on my phone. Both acceptable.
Any luck for you?
thx

@bitching I am facing the exact same issue. Were you able to solve it? Please share.
Thanks.

@pwn20wndstuff Is there any possibility how we can do it? Remove the camera sounds and then remove the jailbreak.
Can we modify files in the original snapshot so that when we do restore RootFS, the modified original snapshot is restored?
Or if there is any other way.
Please help.
Thanks.


Switch to new Number Insight endpoints

Add async NI Advanced method #get_advanced_async_number_insight
Change #get_basic_number_insight and #get_standard_number_insight to use new NI endpoints

@timcraft could we get this merged and deployed? Would love to use these changes in a tutorial I'm writing.

@cbetta I was holding off on changing the endpoints for the existing methods as it wasn't clear whether the new endpoints were backwards compatible, and therefore might be a breaking change. Do you know if the params and responses are 100% the same for /ni/basic/json as /number/format/json? Did you change them in a minor version for nexmo-node?

@timcraft I didn't think there was. @tjlytle or @leggetter should now for sure.

Also @timcraft it seems public_suffix now requires Ruby 2.0+. Seeing as Ruby 1.9.3 support has ended we can probably make a similar choice. Would be good to bump a version.

@cbetta Yep I know, the error is coming from public_suffix but it's addressable 2.5.0 which dropped support for 1.9 recently. I was going to fix the gemspec for 1.9 when I release the next version, then waiting to here about usage to see if we can drop support completely (it was EOL on 2015-02-23, but might not want to drop it immediately if people are still using it in production).

@timcraft correct me if I'm wrong, but people using it in production will still be able to use the older nexmo gem right? So unless they run some massive bundle update they should not be affected.

@cbetta Sure, but if they're re-bundling and haven't locked themselves to 4.3.x then it could catch someone out (assuming the endpoints aren't backwards compatible; if they are it's a non issue).
Planning to ship v4.4.0 this week anyway. When's your tutorial going out?

@cbetta Merged, thanks!


Sound mode selection for media_player (media_player.select_sound_mode)

This is a feature request for "sound mode" support to media_player component.
https://www.home-assistant.io/integrations/media_player/#service-media_playerselect_sound_mode
It would be nice to add a separate array of modes to switch DSPs (surround, straight, etc):

{
  "manufacturer":"",
  "supportedModels":[
    ""
  ],
  "supportedController":"Broadlink",
  "commandsEncoding":"Base64",
  "commands":{

    "sources":{
      "AV1":"",
      "AV2":""
    },
    "modes":{
      "DSP1":"",
      "DSP2":""
    }

  }
}

Any news?


Coming

My transfer was never received over to KuCoin

Stellar.expert is a transaction and analytics explorer of the stellar blockchain, so it has no relationship with transfers between accounts. You must verify if it reached the destination account. In any case you must report in kucoin. Regards


prevent hover/focus effects on disabled buttons

Closes #8562.

Awesome, thanks!

It sets button background anyway to $button-background. So if we have .button.success the background on hover on disabled button will be $button-background, but not .success color.


AdaLAM to kornia?

Hi,
Would you be interested in the AdaLAM integration into kornia? We are now developing local features module and AdaLAM would be a great fit.
It would also boost usage and citation of AdaLAM :)
--
Best, Dmytro.

https://github.com/kornia/kornia/pull/1831 :)

This is absolutely great, thanks a lot @ducha-aiki :)


Signature for Enumerable#min|max_by doesn't support a block that returns Array

Input
→ View on sorbet.run
a = [1,2,3]
b = a.max_by {|i| [i, -i]}

Observed output
Returning value that does not conform to block result type https://srb.help/7005
     3 |b = a.max_by {|i| [i, -i]}
            ^^^^^^^^^^^^^^^^^^^^^^
  Expected Comparable
  Got [Integer, Integer] originating from:
    editor.rb:3:
     3 |b = a.max_by {|i| [i, -i]}
                          ^^^^^^^
Errors: 1

Expected behavior
It should be allowed to return an Array from the block, as that's the way to sort by multiple criteria.
Given that Arrays are not Comparable (see here), maybe we could at least support returning Comparable OR Array[Comparable]

I think this is absolutely something we want to support. I think it's interesting that we're not consistent, because I believe that sort_by does effectively the same thing as {min,max}_by (i.e. it takes a block that returns a thing which supports <=>) but for that signature we assume the block returns BasicObject instead, which allows it to work over arrays but also over lots of other types that will fail at runtime. It might be best to {max,min,sort}_by consistent all at once.

Fixed in #1235


Lynda now have ldcw files. Seems like this tool could not decrypt them. Could you be

Lynda offline files now have .ldcw file extension. Seems like this tool could not decrypt them.
I did try to change .ldcw file extension to .lynda extension so that this tool can read the files but the output file produced is either corrupted or some times the tool throws the error "Length of the data to decrypt is invalid." at line 354 - decryptionStream.Read(buffer, 0, buffer.Length);
Could you please try to see if there is a way to decrypt ldcw files as well.
Thank you very much  for the awesome work  :+1:

Just downloaded a course, and still it has .lynda extension. Maybe it's depends on when the course was released?

For me they still have .lynda extension. Just downloaded one. Maybe the app on Windows 10 or Mac OS downloads them in another format or the new ones are encrypted in another way?

Use the desktop application, it cannot be found normally via their website as Lynda redirects you to the Windows Store if you're not on Win7.
[http://files3.lynda.com/download/windesktopapp/ldcDesktopAppSetup.exe]

@h4ck-rOOt  I had a windows store app on Windows 10 and I downloaded these videos around 2 months ago and they were in .ldcw file format. I do not have a active subscription any more and want to decrypt these files. This application is no able to decrypt .ldcw files even if I change the format to .lynda so that the application could read the files.
Thanks everyone else for your insights but none of them is an option or solution for me :(

guys, .ldcw extension is only on, if you download from mobile apps, like store app, Windows or Android, but, .Lynda extension avail on Desktop PC or MAC.
https://www.lynda.com/apps/desktop-app

If anyone wants to give. ldcw decryption a try, see below code pulled from the Android app:
package com.lynda.infra.encryption;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.support.annotation.NonNull;
import android.util.Base64;
import com.lynda.App;
import com.lynda.infra.storage.StorageHelper;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.security.Key;
import java.security.KeyStore;
import java.security.SecureRandom;
import javax.crypto.KeyGenerator;

public final class KeyHandler {
    private static Key a;
    private static byte[] b;

    private KeyHandler() {
    }

    public static Key a(@NonNull Context context) {
        FileOutputStream fileOutputStream;
        Throwable th;
        if (a != null) {
            return a;
        }
        Key c = c(context);
        a = c;
        if (c != null) {
            return a;
        }
        try {
            a = KeyGenerator.getInstance("AES").generateKey();
            c = a;
            try {
                KeyStore instance = KeyStore.getInstance(KeyStore.getDefaultType());
                instance.load(null, null);
                instance.setKeyEntry("lynda.comSecretKey", c, "!klsdfjo430sodfk!&".toCharArray(), null);
                try {
                    fileOutputStream = new FileOutputStream(d(context));
                    try {
                        instance.store(fileOutputStream, "!klsdfjo430sodfk!&".toCharArray());
                        fileOutputStream.close();
                        return a;
                    } catch (Throwable th2) {
                        th = th2;
                        if (fileOutputStream != null) {
                            fileOutputStream.close();
                        }
                        throw th;
                    }
                } catch (Throwable th3) {
                    th = th3;
                    fileOutputStream = null;
                    if (fileOutputStream != null) {
                        fileOutputStream.close();
                    }
                    throw th;
                }
            } catch (Exception e) {
                e.printStackTrace();
            }
        } catch (Exception e2) {
            e2.printStackTrace();
        }
    }

    private static Key c(@NonNull Context context) {
        FileInputStream fileInputStream;
        Throwable th;
        try {
            KeyStore instance = KeyStore.getInstance(KeyStore.getDefaultType());
            try {
                fileInputStream = new FileInputStream(d(context));
                try {
                    instance.load(fileInputStream, "!klsdfjo430sodfk!&".toCharArray());
                    fileInputStream.close();
                    return instance.getKey("lynda.comSecretKey", "!klsdfjo430sodfk!&".toCharArray());
                } catch (Throwable th2) {
                    th = th2;
                    if (fileInputStream != null) {
                        fileInputStream.close();
                    }
                    throw th;
                }
            } catch (Throwable th3) {
                th = th3;
                fileInputStream = null;
                if (fileInputStream != null) {
                    fileInputStream.close();
                }
                throw th;
            }
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }

    private static String d(@NonNull Context context) {
        return StorageHelper.a(App.a(context)) + "lyndakeystore";
    }

    public static byte[] b(@NonNull Context context) {
        if (b == null) {
            byte[] bArr;
            String string = e(context).getString("initial_vector", "");
            if (string.length() == 0) {
                bArr = null;
            } else {
                bArr = Base64.decode(string, 0);
            }
            b = bArr;
            if (bArr == null) {
                if (b == null) {
                    b = new byte[16];
                    new SecureRandom().nextBytes(b);
                }
                bArr = b;
                Editor edit = e(context).edit();
                edit.putString("initial_vector", Base64.encodeToString(bArr, 0));
                edit.apply();
            }
        }
        return b;
    }

    private static SharedPreferences e(@NonNull Context context) {
        return App.a(context).a.D();
    }
}

At the time of this writing I'm getting encrypted .mp4 files. Any news on the tool working with it?

Whe you are going to add support for the mobile downloads? I have 10gb downloaded on mobile I really need them to be decrypted please

If I try this I get
[ARGS] Changing mode to Folder decryption!
[START] Init Decryptor...
[START] Decryptor succesful initialized!
Decryption completed!
But there are no files converted in the output folder.
Am trying to convert .ldcw files

After playing around with ldcw files, i found that on windows with the store app, only the file headers (63 bytes) are bitwise complement-ed. When you reverse these 63 bytes the files play normaly in vlc.
	private async Task ModifyFileHeader(StorageFile file)
	{
		using (Stream stream = WindowsRuntimeStreamExtensions.AsStream(await file.OpenAsync(1), 63))
		{
			byte[] array = new byte[63];
			int num = await stream.ReadAsync(array, 0, 63);
			byte[] array2 = new byte[63];
			for (int i = 0; i < num; i++)
			{
				array2[i] = ~array[i];
			}
			stream.Seek(0L, SeekOrigin.Begin);
			await stream.WriteAsync(array2, 0, array2.Length);
		}
	}

@BravoSlo Would you submit a PR with this change (including identification of the extension and application of appropriate decryption)? It would put a stop to many repeating questions....

Pull request for LDCW files added: https://github.com/h4ck-rOOt/Lynda-Decryptor/pull/42

@BravoSlo  where to write the code and what are the arguments to be passed

@sarab007 until PR #42 is merged, you can find the code in DmitriySokhach's fork. You might have to compile it yourself though. Regarding the arguments/syntax - I didn't try it myself, but I assume you could use it exactly the same way you would with .lynda files, and it will just know what to do according to the extension it encounters.

what is wrong??

I'm using @DmitriySokhach fork, and still nothing =\ ... any lights on?

what is wrong??

I lack extrasensory abilities. Let's try figure out what exactly you have:

I assume you have "D:\lynda" folder with LyndaDecryptor.exe
I assume that also in "D:\lynda" folder you have copy from your %LOCALAPPDATA%/packages/lynda.com.lynda.com/LocalState/offline/633869 with *.ldcw files
commands on screenshot look OK to me

If assumptions 1 and 2 above are correct, would you please share what is the result of executing each command from the screenshot?

Any instructions on how to compile @DmitriySokhach's fork. Or if anyone has already compiled it, please share a link. Thanks :)

@sarthakthakur24 I've zipped binaries of the branch and put here.

@DmytroSokhach Thanks!Works like a charm for .ldcw

I downloaded the Lynda app from store . Followed the steps . It says ..
[ARGS] Changing mode to file decryption !
[DB ] Creating DB connection...
[DB] DB successfully connected and opened!
[START] Init Decryptor...
[START] Decryptor successful initialized !
Decryption completed !
Press any key to exit ...
But nothing really happens .
@DmytroSokhach

@eletricaraquete
All locations need to be exact. The problem I had was I was using the Microsoft Store app instead of the lynda.com app.
Try installing this. It worked for me.    https://www.lynda.com/downloadfallback

@eletricaraquete
All locations need to be exact. The problem I had was I was using the Microsoft Store app instead of the lynda.com app.
Try installing this. It worked for me.    https://www.lynda.com/downloadfallback

@sarthakthakur24 I've zipped binaries of the branch and put here.

Hey buddy Thank you its working

@sarthakthakur24 I've zipped binaries of the branch and put here.

This version zip doesn't contain .exe file how to use it Please help

@sarthakthakur24 I've zipped binaries of the branch and put here.

Hey buddy Thank you its working

Can you please explain me how it would work?

@sarthakthakur24 I've zipped binaries of the branch and put here.

This version zip doesn't contain .exe file how to use it Please help

It does contain LyndaDecryptor.exe, see contents of zip file (just downloaded  LyndaDecryptor_1.3.1.zip it on link above)

@sarthakthakur24 I've zipped binaries of the branch and put here.

This version zip doesn't contain .exe file how to use it Please help

It does contain LyndaDecryptor.exe, see contents of zip file (just downloaded LyndaDecryptor_1.3.1.zip it on link above)

I downloaded zip from tags. I might have downloaded something else. Can you please provide me a direct download link.

@sarthakthakur24 I've zipped binaries of the branch and put here.

This version zip doesn't contain .exe file how to use it Please help

It does contain LyndaDecryptor.exe, see contents of zip file (just downloaded LyndaDecryptor_1.3.1.zip it on link above)

@sarthakthakur24 I've zipped binaries of the branch and put here.

This version zip doesn't contain .exe file how to use it Please help

It does contain LyndaDecryptor.exe, see contents of zip file (just downloaded LyndaDecryptor_1.3.1.zip it on link above)

I downloaded zip from tags. I might have downloaded something else. Can you please provide me a direct download link.

@Sbmkumar, Sure, here is the direct link: https://github.com/DmytroSokhach/Lynda-Decryptor/releases/download/1.3.1/LyndaDecryptor_1.3.1.zip
Taken from here: https://github.com/DmytroSokhach/Lynda-Decryptor/releases/tag/1.3.1

@sarthakthakur24 I've zipped binaries of the branch and put here.

This version zip doesn't contain .exe file how to use it Please help

It does contain LyndaDecryptor.exe, see contents of zip file (just downloaded LyndaDecryptor_1.3.1.zip it on link above)

I downloaded zip from tags. I might have downloaded something else. Can you please provide me a direct download link.

@Sbmkumar, Sure, here is the direct link: https://github.com/DmytroSokhach/Lynda-Decryptor/releases/download/1.3.1/LyndaDecryptor_1.3.1.zip
Taken from here: https://github.com/DmytroSokhach/Lynda-Decryptor/releases/tag/1.3.1

Thank you


Ctrl+Shift+Z inserts [sub] instead doing Redo

From<EMAIL_ADDRESS>on 2010-06-10T03:47:19Z
What steps will reproduce the problem?

Make some changes in current file
Hit Ctrl+Z for Undo
Hit Ctrl+Shift+Z for Redo What is the expected output? What do you see instead? Redo should be performed (work properly from menu), black rectangle with SUB inside inserted as character to the text.

When the [sub] is inserted all my Redo "history" is forgotten and I must write it again. It quite annoying. What version of the product are you using? On what operating system? Spyder 1.1.0beta7, Python 2.6.2, Qt 4.6.2, PyQt 4.7.3, QScintilla 2.4.2 on Linux
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=228

From pierre.raybaut on 2010-06-10T10:34:39Z
Fixed in v1.0.0rc1
Status: Fixed


Negative temperature reference water-glycol

This issue is to create the possibility to add negative temperature references for water-glycol mixtures.

Solved, only the handling of the UserWarning when working with below-freezing-temperatures has to be done.


About setting MRAC controller order(control module)

I use PID+LQR controller to control the vehicle.
when i set mrac_model_order to 1, there seems no use for steer_angle，the value of steer_angle are the same before and after calling mrac_controller_.Control(）

Do i still need to set some other value for this?


Fix for issue 29

This pull request seems to solve issue #29 by switching to .brd as the first command in get_commands_brd function

Thank you very much!


[Bug]: Change Twitter logo in footer.

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Replace Twitter icon to new logo X.
Expected behavior
New Logo should be use in footer.
Add ScreenShots

What browsers are you seeing the problem on?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

I think this issue is already assigned to another contributor.
You can work on another issue, ping me for assigning the one.

Done @Shubh942

Hey there!! I can fix this issue easily, please assign this to me under GSSoC'24


failure on Solaris and compiler and flags in configure

Installation is failing on Solaris with this error. Not sure how to create a test system for Solaris...
CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I"../include" -I/usr/local/include    -KPIC  -O -xlibmil -xtarget=native -nofstore  -c RcppUtils.cpp -o RcppUtils.o
"../include/nimble/RcppUtils.h", line 183: Error: Could not find a match for SEXP_2_NimArr(SEXPREC*, NimArr<1, double>&).
"../include/nimble/RcppUtils.h", line 185: Error: Could not find a match for SEXP_2_NimArr(SEXPREC*, NimArr<1, int>&).
"RcppUtils.cpp", line 118: Error: Could not find a match for SEXP_2_NimArr(SEXPREC*, NimArr<1, double>&).
"RcppUtils.cpp", line 139: Error: Could not find a match for SEXP_2_NimArr(SEXPREC*, NimArr<1, int>&).
"RcppUtils.cpp", line 139: Error: SEXP_2_NimArr(SEXPREC*, NimArr<1, double>&) already had a body defined.
"RcppUtils.cpp", line 1337: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
"RcppUtils.cpp", line 1347: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
"RcppUtils.cpp", line 1357: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
"RcppUtils.cpp", line 1368: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
"RcppUtils.cpp", line 1378: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
"RcppUtils.cpp", line 1388: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
"RcppUtils.cpp", line 1404: Warning (Anachronism): Formal argument fun of type extern "C" void()(SEXPREC) in call to R_RegisterCFinalizerEx(SEXPREC*, extern "C" void()(SEXPREC), Rboolean) is being passed void()(SEXPREC).
Also, CRAN notes "your configure script is not using the correct compiler and flags".
In the R extensions manual it mentions switching the current language to C++ via:
CXX="${R_HOME}/bin/R" CMD config CXX
CXXFLAGS="${R_HOME}/bin/R" CMD config CXXFLAGS
AC_LANG(C++)
I see we have a line that is essentially the last of those three but not the first two.
Note that early in configure.ac we do have this comment:
dnl We should probably get the C++ compiler from R's configuration script to ensure compatability.

The errors suggest that solaris does not handle templates as other compilers do.
Can we set up a solaris testing sandbox in docker or something?
So far googling the issue suggests we try -template=extdef to change how it handles templates.

I think we may be able to start a VM running Solaris. Ryan here in  SCF
should be able to help me get it going if I run into snags. Docker is Linux
only.
On Tue, Sep 6, 2016 at 12:28 PM, perrydv<EMAIL_ADDRESS>wrote:

The errors suggest that solaris does not handle templates as other
compilers do.
Can we set up a solaris testing sandbox in docker or something?
So far googling the issue suggests we try -template=extdef to change how
it handles templates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/225#issuecomment-245062272,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYr3gWZzdLaeZF-bqSnQmzcfVVF0E4tks5qnb7lgaJpZM4J19Rf
.

Most important is the C++ compiler they are using, i.e. Oracle Studio.

It looks like I can install Solaris 11 as a VirtualBox VM and then install
Oracle Studio 12.3. That would match the CRAN machine (well they have
Solaris 10, but I don't see any reason to think we need to match the exact
Solaris version).
Duncan, do you have any thoughts on the CRAN comment about our configure
not being set up correctly?
On Tue, Sep 6, 2016 at 1:32 PM, Duncan Temple Lang<EMAIL_ADDRESS>
wrote:

Most important is the C++ compiler they are using, i.e. Oracle Studio.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/225#issuecomment-245081282,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYr3riIoaOuYhndmV5-gUj30_OVCk9aks5qnc3ogaJpZM4J19Rf
.

Update: I have the Solaris 11 VM running with Oracle Studio (i.e., CC)
installed and R installed as well.
Stuck for the moment on the stringi package not installing (it's somewhere
in the dependency tree for nimble, but need to check if it is a dependent
of {coda,igraph} or of a Suggests, in which case it would be easy to hack
around the issue. Hopefully I can dig deeper tomorrow.
On Tue, Sep 6, 2016 at 2:16 PM, Chris Paciorek<EMAIL_ADDRESS>wrote:

It looks like I can install Solaris 11 as a VirtualBox VM and then install
Oracle Studio 12.3. That would match the CRAN machine (well they have
Solaris 10, but I don't see any reason to think we need to match the exact
Solaris version).
Duncan, do you have any thoughts on the CRAN comment about our configure
not being set up correctly?
On Tue, Sep 6, 2016 at 1:32 PM, Duncan Temple Lang <
<EMAIL_ADDRESS>wrote:

Most important is the C++ compiler they are using, i.e. Oracle Studio.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/225#issuecomment-245081282,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYr3riIoaOuYhndmV5-gUj30_OVCk9aks5qnc3ogaJpZM4J19Rf
.

Ok, so I have a very hacky, partial test bed

I can't install stringi so can't get to the stage of installing Nimble the usual way after installing all dependencies. It installs but then fails when it tests whether it can load the package at the end of the installation process, with this error:

** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/lib/R/R-3.3.1/library/stringi/libs/stringi.so:
ld.so.1: R: fatal: relocation error: file /usr/lib/R/R-3.3.1/library/stringi/libs/stringi.so: symbol _1cDstdJexceptionG__vtbl: referenced symbol not found
Error: loading failed

I decided to work around that by simply seeing if we could replicate the CRAN issue with CC by commenting out dependencies on all other R packages (obviously this won't allow full installation of Nimble).

So I am able to duplicate the CRAN CC error.
I'm not sure exactly how the -template=extdef is supposed to be used. I put it in CppCode/Makevars. However I'm getting the same issue as with the CRAN build:
CC -I/usr/lib/R/R-3.3.1/include -DNDEBUG -I"../include" -template=extdef -I/usr/local/include -KPIC -g -c RcppUtils.cpp -o RcppUtils.o
"../include/nimble/RcppUtils.h", line 183: Error: Could not find a match for SEXP_2_NimArr(SEXPREC*, NimArr<1, double>&).

couple more comments so they're here and not floating in email.
CRAN machine has g++ available but based on our configure it uses CC to compile stuff in CppCode.
In contrast, my Solaris VM does not have g++ and not sure where I should get it given that CRAN lists Solaris Studio as the compiler and I have that installed
I did set up config.site based on what CRAN has for its Solaris setup but still getting CC used. This is not surprising since CXX="CC -library=stlport4" in the CRAN config.site, which is:
http://www.stats.ox.ac.uk/pub/bdr/Rconfig/r-patched-solaris-x86

I just ran a test of using g++ on Solaris:
g++ -I/usr/lib/R/R-3.3.1/include -DNDEBUG -I../include -I/usr/local/include -fpic -g -O2 -c RcppUtils.cpp -o RcppUtils.o
and this compiles fine.
This is after installing g++ via some sort of Solaris package management system - that system puts g++ in /opt/csw/bin, which seems to be where the CRAN machine has it too.
So, it seems that if we can get Nimble installation to use g++ we'll probably be fine regarding templates.  More when we Skype shortly.

I added the CXX and CXXFLAGS definitions to configure.ac to use R CMD config ... so we'll pick them up.
This should satisfy CRAN's machine if it uses g++ rather than CC, but it won't  fix the problem for somebody using Oracle's CC.  But we can wait for that possibility to actually arise.

Out of order, but  referring to -template=extdef,  it would probably have to be specified for CppCode/ and also src/  I suggest manually adding it to the src/Makevars.in and inst/CppCode/Makevars  files  (at the end of the PKG_CPPFLAGS preceded by a space) and then reinstall.  Assuming that works, we can conditionally add it programmatically via the configure.ac script.  In that case, we'll need to know what, e.g.,  CC -version or CC --version outputs so we can identify it, and also the output of the uname -a command.

I think this was a red herring.  Chris tried it and it didn’t help.

On Sep 8, 2016, at 8:26 AM, Duncan Temple Lang<EMAIL_ADDRESS>wrote:
Out of order, but referring to -template=extdef, it would probably have to be specified for CppCode/ and also src/ I suggest manually adding it to the src/Makevars.in and inst/CppCode/Makevars files (at the end of the PKG_CPPFLAGS preceded by a space) and then reinstall. Assuming that works, we can conditionally add it programmatically via the configure.ac script. In that case, we'll need to know what, e.g., CC -version or CC --version outputs so we can identify it, and also the output of the uname -a command.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/nimble-dev/nimble/issues/225#issuecomment-245635422, or mute the thread https://github.com/notifications/unsubscribe-auth/AHpCMbYolFPQW5cj2NgJpdOahuzsw-xyks5qoCkvgaJpZM4J19Rf.

Plan is to use the new configure.ac and this should result in CRAN solaris machines picking up g++ rather than CC.

Ok, if I use the config.site indicated for solaris (the one that uses g++ for CXX), I'm able to install stringi, and (after some work) igraph.
I can now almost install nimble (building of libnimble.a and nimble.so go fine) on Solaris but get to this stage:
** preparing package for lazy loading
Error in eval(expr, envir, enclos) : object 'fAlse' not found
I don't see any misspellings of FALSE anywhere in our code base and installation on Linux is fine.
Let me know of any thoughts.

Hmm, I thought I closed this a couple days ago.
The 'fAlse' was caused by the
tr "[A-Z]" "[A-Z]"
in configure.ac being processed to
tr "A-Z" "A-Z"
in configure.
I fixed that.
Also with the config.site info from CRAN and some tweaks I was able to get stringi and then igraph installed, and with g++ (being picked up from CXX), we are now able to successfully install and test nimble on Solaris!


feat: support for deploying in existing resource group

Description

fixes https://github.com/terraform-ibm-modules/terraform-ibm-watsonx-saas-da/issues/9
Release required?

[ ] No release
[X] Patch release (0.3.1)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

I'd suggest leaving the comment about repo structure in a separate PR, and focus on closing on the resource group related items in this one, and merge to main. We should also update the catalog onboarding pipeline to take the version releases from this repo.

/run pipeline

/run pipeline

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

GitHub release
v0.1.0

Your semantic-release bot :package::rocket:


Upgrade to Node 20

Node 18 is in maintenance. Node 20 is the current LTS.
Which dependency needs to be upgraded?
Node 20
What is the current version of the dependency?
Node 18
Which version to upgrade to?
Node 20

With node 20, there are dependencies to update.
backstage-showcase % yarn install
yarn install v1.22.19
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
[3/5] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "10 || 12 || 14 || 16 || 18". Got "20.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

downstream jira: RHIDP-985


Fastlane does not support fastlane directory to be a symlink

If you run fastlane in a location where fastlane/Fastfile is available but the fastlane directory is a symbolic link (ln -s ~/fastlane . or such) you get an error:
$ fastlane ios beta
[14:14:32]: -------------------------------------------------
[14:14:32]: --- Step: Verifying required fastlane version ---
[14:14:32]: -------------------------------------------------
[14:14:32]: fastlane version valid
[14:14:32]: ------------------------------
[14:14:32]: --- Step: default_platform ---
[14:14:32]: ------------------------------
[14:14:32]: Driving the lane 'ios beta' 🚀
[14:14:32]: -----------------
[14:14:32]: --- Step: gym ---
[14:14:32]: -----------------
[14:14:33]: Variable Dump:
[14:14:33]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>nil, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta"}
[14:14:33]: No project/workspace found in the current directory.

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | gym                                 | 0           |
+------+-------------------------------------+-------------+

[14:14:33]: fastlane finished with errors
/usr/local/lib/ruby/gems/2.2.0/gems/gym-0.7.2/lib/gym/detect_values.rb:16:in `set_additional_default_values': No project/workspace found in the current directory. (RuntimeError)
        from /usr/local/lib/ruby/gems/2.2.0/gems/gym-0.7.2/lib/gym.rb:24:in `config='
        from /usr/local/lib/ruby/gems/2.2.0/gems/gym-0.7.2/lib/gym/manager.rb:4:in `work'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/actions/gym.rb:20:in `run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/actions/actions_helper.rb:37:in `execute_action'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:128:in `block in execute_action'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:127:in `chdir'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:127:in `execute_action'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/fast_file.rb:134:in `method_missing'
        from (eval):31:in `block (3 levels) in parse'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:48:in `call'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:48:in `block in execute'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:46:in `chdir'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/runner.rb:46:in `execute'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/lane_manager.rb:43:in `cruise_lane'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/lib/fastlane/command_line_handler.rb:31:in `handle'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/bin/fastlane:36:in `block (2 levels) in run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/bin/fastlane:127:in `run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.28.0/bin/fastlane:133:in `<top (required)>'
        from /usr/local/bin/fastlane:23:in `load'
        from /usr/local/bin/fastlane:23:in `<main>'

If replacing ln -s ~/fastlane . with e.g. cp -a ~/fastlane . it works fine.
Tested on Max OS X 10.10.5.

The error message is
[14:14:33]: No project/workspace found in the current directory.

Are you sure this has something to do with the symlink?

Hey @KrauseFx I'm having the same issue. I am noticing some oddities. The possible culprit is that I am seeing this warning pop up in the log during gym: /Users/jim/.rvm/gems/ruby-2.2.2/gems/credentials_manager-0.8.2/lib/credentials_manager/appfile_config.rb:31: warning: conflicting chdir during another chdir block
[08:04:59]: -----------------
[08:04:59]: --- Step: gym ---
[08:04:59]: -----------------
/Users/jim/.rvm/gems/ruby-2.2.2/gems/credentials_manager-0.8.2/lib/credentials_manager/appfile_config.rb:31: warning: conflicting chdir during another chdir block
/Users/jim/.rvm/gems/ruby-2.2.2/gems/credentials_manager-0.8.2/lib/credentials_manager/appfile_config.rb:31: warning: conflicting chdir during another chdir block
[08:04:59]: Variable Dump:
[08:04:59]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :BUILD_NUMBER=>"18", :SIGH_PROFILE_PATH=>"[redacted]", :SIGH_PROFILE_PATHS=>["[redacted]"], :SIGH_UDID=>"[redacted]", :SIGH_PROFILE_TYPE=>"app-store"}
[08:04:59]: No project/workspace found in the current directory.

I should mention I'm using fastlane 1.30.1 and XCode7 on the latest build of Yosemite. Haven't updated to El Capitan just yet.

@jimjeffers
I'm really sorry about this. Your issue seems to be caused by a release yesterday which had a race condition in fastlane_core. Could you please update using sudo gem update fastlane_core and let me know if this fixes your issue?

closing this as there has been no recent activity @jimjeffers please reopen if you are still having issues! thanks! :sweet_potato:

@ohwutup @KrauseFx Sorry for leaving you hanging but my issue was resolved by the more recent releases of fastlane after I posted about this issue. Thanks for the awesome progress you guys are making on the project.


Bootstrap Select plugin not displaying dynamically added content correctly

It's hard to be certain this is a bug. Perhaps I've missed something.
I'm dynamically populating a Bootstrap select plugin using JavaScript/jQuery, before it's displayed in a Bootstrap modal.
var $select = $selectGroup.find('select');
$select.empty();
filter.options.forEach(function (item) {
    var $option = $('<option value="' + item.Value + '">' + item.Text + '</option>');
    if (filter.selectedIds.includes(item.Value))
        $option.prop('selected', true);
    $select.append($option);
});
@* Set filter type *@
$modal.find('[name=ftype]').val(filter.type);
@* Reload data from select element *@
$('.selectpicker').selectpicker('refresh');
$modal.modal();

Everything is working except the selected items don't show in text portion of the list.

As you can see I'm refreshing the control before I open the modal. As soon as I click on an option, the text portion displays the correct thing. Only after it's initialized and displayed does it not show the selected items.
And here is the markup I'm modifying.

            Rail Interchanges
            <select class="selectpicker form-control" multiple name="fids"></select>

It looks like if I call the refresh method, followed by calling the render method, the control appears as it should. I'm not clear one why both methods are used or if I'm calling them in the correct order. But so far it seems to work.


Lightningcss for url transformation

Url transformation is done with postcss because it allows to properly replace urls and generate source map. Lightningcss has evolved and might be able to do the same.
That would be great because:

only one css parser would remain
postcss dependency could go away

For now the following code:
import { transform } from "lightningcss"

const { dependencies } = transform({
  code: Buffer.from(`body { background: url(test.png); }`),
  analyzeDependencies: true
})

Is returning non reliable locations for the url references. It's impossible to reliably locate test.png depending if it's written with quote or not.

Can't for now as explained in https://github.com/jsenv/jsenv-core/pull/345#issue-1556336982


Autoplay, Default URL, and Default Playlist Support

I feel like support for a default list of videos that playback on-load is a pretty standard feature.
Merlin's already has this feature where it has a default URL field and you can add more by pressing a "+" button.
This is intended to be used alongside autoplay of course, so that should be added as well.
Just feel like these are pretty standard across video players and should definitely exist.

Default URLs and Default Playlists are available in the experimental branch.  This issue will be closed automatically.


[Other issue]: gazebo and rviz2 shutting down after running the launch file

Before proceeding, is there an existing issue or discussion for this?

[X] I have done a search for similar issues and discussions.

Description
i have followed the binary install of RMF from :
[https://github.com/open-rmf/rmf?tab=readme-ov-file](the link)
After i did everything as instructed i tried running the launch file.
ros2 launch rmf_demos_gz office.launch.xml server_uri:="ws://localhost:8000/_internal"
After running the launch file the rviz and gazebo opens and then in terminal some error pops up ultimately turning of the rviz and gazebo.Please look for the image of the error attached to this post.

What ROS version of binaries did you install? Which branch of rmf_demos did you clone? It's likely you didn't run rosdep with your workspace. That should install the binary version of ros_ign_bridge


inference through text-embeddings-inference server is slower than inference directly using model

System Info
System details:
System: Linux
AWS Instance: m5.xlarge
CPU: 4
memory: 16GB
I ran BAAI/bge-base-en-v1.5 embedding model using text-embeddings-inference (TEI) hosting it as a docker container using below commands:
model=BAAI/bge-base-en-v1.5
revision=refs/pr/5
volume=$PWD/data # share a volume with the Docker container to avoid downloading weights every run

docker run -p 8080:80 -v $volume:/data --pull always ghcr.io/huggingface/text-embeddings-inference:cpu-0.6 --model-id $model

Now, I used below code to process a pdf to generate it's embeddings:
import requests
import fitz
import time
import traceback
import json
import boto3
import numpy as np

url = "http://<IP_ADDRESS>:8080/embed"
headers = {"Content-Type": "application/json"}
s3 = boto3.client('s3')

def process_pdf(buf):

    try:
        start_time = time.time()
        pdf_document = fitz.open(stream=buf, filetype="pdf")
        page_count = pdf_document.page_count

        for page_num in range(page_count):

            page = pdf_document[page_num]
            text = page.get_text()
            words = text.split()
            unique_words = list(set(words))

            unique_text = ' '.join(unique_words)
            data = {"inputs": unique_text}
            embeddings = requests.post(url, json=data, headers=headers)
            embeddings = np.array([embeddings])

        pdf_document.close()

        embed_time = time.time()
        print(embed_time - start_time)

    except Exception as e:
        print(f"An error occurred while processing {s3_path}: {str(e)}")
        traceback.print_exc()  # Print the traceback information
        return

def process_data_sources(s3_path):

    try:
        if s3_path.endswith('.pdf'):
            # Get the PDF file content from S3
            print("Processing:", s3_path)
            response = s3.get_object(Bucket="state-medicaid-public-pending", Key=s3_path)
            buf = response['Body'].read()
            # Process the PDF file
            process_pdf(buf)

    except Exception as e:
        print(f"Outer exception occurred: {e}")
        traceback.print_exc()  # Print traceback information

def main():

    s3_path = 'crawldata/2024013001/KY/content/KY-1-RR%20318.pdf'
    process_data_sources(s3_path)

if __name__ == "__main__":
    main()

It took around 19 seconds
Then I ran same document without TEI:
import fitz
import time
import os
import traceback
import json
import boto3
import pandas as pd
import numpy as np
from llama_index.embeddings import HuggingFaceEmbedding

s3 = boto3.client('s3')
embedding_model = 'BAAI/bge-base-en-v1.5'

# Define all embeddings and rerankers
EMBEDDINGS = {
    "embed-model": HuggingFaceEmbedding(model_name=embedding_model, pooling='cls', trust_remote_code=True),
}

embed_model = EMBEDDINGS['embed-model']

def process_pdf(buf):

    try:
        start_time = time.time()
        pdf_document = fitz.open(stream=buf, filetype="pdf")
        page_count = pdf_document.page_count

        for page_num in range(page_count):

            page = pdf_document[page_num]
            text = page.get_text()
            words = text.split()
            unique_words = list(set(words))
            unique_text = ' '.join(unique_words)
            embeddings = embed_model.get_text_embedding(unique_text)
            embeddings = np.array([embeddings])

        pdf_document.close()

        embed_time = time.time()
        print(embed_time - start_time)

    except Exception as e:
        print(f"An error occurred while processing {s3_path}: {str(e)}")
        traceback.print_exc()  # Print the traceback information
        return

def process_data_sources(s3_path):

    try:
        if s3_path.endswith('.pdf'):
            # Get the PDF file content from S3
            print("Processing:", s3_path)
            response = s3.get_object(Bucket="state-medicaid-public-pending", Key=s3_path)
            buf = response['Body'].read()
            # Process the PDF file
            process_pdf(buf)

    except Exception as e:
        print(f"Outer exception occurred: {e}")
        traceback.print_exc()  # Print traceback information

def main():

    s3_path = 'crawldata/2024013001/KY/content/KY-1-RR%20318.pdf'
    process_data_sources(s3_path)

if __name__ == "__main__":
    main()

It took around 15 seconds.
I'm seeing slower inference speed using TEI engine. Am I missing something or is it slower?
Dependencies:
boto3
pymupdf
transformers
llama_index
torch

Information

[ ] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[X] My own modifications

Reproduction
Updated above
Expected behavior
The inference speed should be faster.

It seems you are doing nothing in parallel, meaning every document is processed independantly.
You are loosing on the batching aspect to speed things up here.
Try sending requests in parallel instead. For instance: https://docs.python.org/3/library/multiprocessing.html

Hi @Narsil,Thanks for commenting.
Before parallelisation, I wanted do benchmark the time whether text-embeddings-inference make inference faster or not. That' why I had used same documents and same approach for both. The inference time with text-embeddings-inference is coming slower than normal approach.

How many pages are there in the document ?
If many you could be just measuring HTTP calls vs raw function calls
You are also running on CPU where flash-attention doesn't exist so speed won't necessarily be faster than raw transformers.

Hi @Narsil,Thanks for commenting. Before parallelisation, I wanted to benchmark the time whether text-embeddings-inference make inference faster or not. That' why I had used same documents and same approach for both. The inference time with text-embeddings-inference is coming slower than normal approach.

how is the speed about cpu?

I'm having exactly the same issue in CPU. It takes more than 3x the time compared with the full sized model from HF (for 100 docs)

Same, inference on CPU is too slow using TEI.


Price for i4i is incorrect

All the i4i instances have the same price on instances.vantage.sh.

User error.


Add layout information to docstring.

Include a docstring section that covers how the four layouts work.

Done.


Add log based metrics to support SLOs

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/logging_metric
ram_execution_status
ram_latency
ram_latency_e2e
ram_trigger_age

done


OID-IP inclusion with password protected public URL

There are two instances with file_get_contents which access the OID-IP service.
Please support the case that file_get_contents can fail (e.g. if OIDplus is located on a password-protected system). Otherwise you will get a PHP error message which invalidates the JSON format.
Not sure what we can do if file_get_contents() cannot access the own directory, though.

Fixed: Added @ in front of file_get_contents
If file_get_contents is false, then solely the link to the OID-IP URL is shown, so the user can click it and enter the password.

The webhois can also handle cli calls? Maybe it would make more sense to use exec/shell_exec rather than file_get_contents?

Yes, it can be called by CLI.
Actually, this is a good idea, but I would even solve it in a more elegant way:
TODO: In RDAP and WHOIS, instead of putting the whole code in webwhois.php or rdap.php , put the whole code in a PHP function of the PHP class, so that webwhois.php and rdap.php only need to call OIDplusXXX::oid_whois($query)
I will do that ASAP.


simulator/core/atomic_support.h clang 3.4 bug, should we bother with it anymore?

I found the following comment in atomic_support.h:
# elif 0 // as of 3.4 clang BUG's at -O1+ with atomics

Should we bother with such a check anymore? Or a better question, how can we check if this is still a problem? clang is currently at version 11.0.0.
LIkely related, it appears latest clang supports C11 properly, including having stdatomic. Should we continue supporting such old versions of clang?

Goodness no! Let's bring this up to modern systems. I don't feel any obligation to support anything prior to clang v11.
That said; if the future is typescript, don't burn too much time with micro-optimizations*. Purging workarounds for long out-of-date compilers is totally valid however.
*advice I wish I had better followed when writing this -- there are a non-zero number of them in the code base

OK, sounds good. I'm mostly just finding things as I'm going around understanding the code base and beginning to add documentation.
I'll post a PR removing that ancient clang workaround.