YouTube Video with \u2019 (single quotation mark) in title breaks download on ext4 filesystem

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2017.05.07

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

$ youtube-dl -v 'https://www.youtube.com/watch?v=53ARF_Ku3GU'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=53ARF_Ku3GU']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2017.05.07
[debug] Python version 2.7.9 - Linux-4.4.27-9-osmc-armv7l-with-debian-8.7
[debug] exe versions: ffmpeg 3.2.4-1, ffprobe 3.2.4-1
[debug] Proxy map: {}
[youtube] 53ARF_Ku3GU: Downloading webpage
[youtube] 53ARF_Ku3GU: Downloading video info webpage
[youtube] 53ARF_Ku3GU: Extracting video information
[youtube] 53ARF_Ku3GU: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on u'https://r6---sn-n4v7sn7l.googlevideo.com/videoplayback/id/e7701117f2aedc65/itag/137/source/youtube/requiressl/yes/ei/6a4QWbWMGpCg-gO8jLKwBg/mn/sn-n4v7sn7l/initcwndbps/1722500/pl/17/mm/31/ms/au/mv/m/ratebypass/yes/mime/video%2Fmp4/otfp/1/gir/yes/clen/571222763/lmt/1490500478088215/dur/1189.374/key/dg_yt0/upn/QdrHndEOAKM/signature/0AC5F5ED8489747E01E13161504DCACC6EFF648B.7A572021B2ED9391BADAD883275F60D1B8C787B5/mt/1494265463/ip/<IP_ADDRESS>/ipbits/0/expire/1494287177/sparams/ip,ipbits,expire,id,itag,source,requiressl,ei,mn,initcwndbps,pl,mm,ms,mv,ratebypass,mime,otfp,gir,clen,lmt,dur/'
[dashsegments] Total fragments: 228
[download] Destination: $5.6K a Month Gardening (Other Peoples Yards)-53ARF_Ku3GU.f137.mp4
[download]   0.9% of ~97.60MiB at  7.75MiB/s ETA 01:14Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1896, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 771, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 825, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1539, in process_video_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1797, in process_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1745, in dl
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 360, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/dash.py", line 42, in real_download
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/fragment.py", line 114, in _append_fragment
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 37: ordinal not in range(128)

Description of your issue, suggested solution and other information
The title of this video on YouTube is $5.6K a Month Gardening (Other People’s Yards) so the default title from youtube-dl would be: $5.6K a Month Gardening (Other People’s Yards)-53ARF_Ku3GU.mkv however some filesystems, most notably ext3/4 on Linux, require escaping the ' character in filenames.  This seems to be the issue here, because I tried the same youtube-dl 'https://www.youtube.com/watch?v=53ARF_Ku3GU' command on my Mac and youtube-dl worked without any issue. youtube-dl should probably be doing some extra work to escape the characters in the filename here.

It has nothing to do with escaping. Fix your locale, namely fs encoding should not be ANSI_X3.4-1968. Or use --restrict-filenames.

For future ref of anyone who stumbles on to this, in Debian Linux I had to run sudo dpkg-reconfigure locales and then reboot to get my locale set correctly.


Single Test Case Execution Fix

Type mismatch addressed, resolves #338

Also, I'm not suree what's going on with the commit history here. We should make sure to squash and merge and write a simpler commit message to clean it up


vagrant plugin install vagrant-google fails on dependency

@Temikus Hey, thanks for the prompt response over at https://github.com/mitchellh/vagrant/issues/5643#issuecomment-143967659
Per your question, I am attempting just a basic vagrant plugin install vagrant-google. Here is the output for "vagrant plugin install --debug vagrant-google" (with sensitive values redacted, like AWS key): https://gist.github.com/DaedalusX/c94bad1b9d35dee7c757
I'm not super familiar with running a gem server, but I can give that a shot unless you spot something simple in the debug output I provided.
Thanks!

Hi @DaedalusX
This issue is due to a conflict with Vagrant vsphere.
It installs without issues on its' own:
temikus@jet λ vagrant version
Installed Version: 1.7.4
Latest Version: 1.7.4

You're running an up-to-date version of Vagrant!
2.1.6 ~ [17:00:40]∞
temikus@jet λ vagrant plugin install vagrant-google
Installing the 'vagrant-google' plugin. This can take a few minutes...
Installed the plugin 'vagrant-google (0.2.1)'!

However, as soon as we install vsphere:
2.1.6 ~ [17:08:03]∞
temikus@jet λ vagrant plugin uninstall vagrant-google
Uninstalling the 'vagrant-google' plugin...

temikus@jet λ vagrant plugin install vagrant-vsphere
Installing the 'vagrant-vsphere' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vsphere (1.5.0)'!

λ vagrant plugin install vagrant-google
Installing the 'vagrant-google' plugin. This can take a few minutes...
The plugin(s) can't be installed due to the version conflicts below.
This means that the plugins depend on a library version that conflicts
with other plugins or Vagrant itself, creating an impossible situation
where Vagrant wouldn't be able to load the plugins.

You can fix the issue by either removing a conflicting plugin or
by contacting a plugin author to see if they can address the conflict.

Vagrant could not find compatible versions for gem "logging":
  In Gemfile:
    vagrant (= 1.7.4) ruby depends on
      winrm-fs (~> 0.2.0) ruby depends on
        winrm (~> 1.3.0) ruby depends on
          logging (>= 1.6.1, ~> 1.6) ruby

    vagrant (= 1.7.4) ruby depends on
      winrm-fs (~> 0.2.0) ruby depends on
        winrm (~> 1.3.0) ruby depends on
          logging (>= 1.6.1, ~> 1.6) ruby

    vagrant-google (>= 0) ruby depends on
      google-api-client (>= 0) ruby depends on
        googleauth (~> 0.3) ruby depends on
          logging (~> 2.0) ruby
Vagrant could not find compatible versions for gem "i18n":
  In Gemfile:
    vagrant (= 1.7.4) ruby depends on
      i18n (<= 0.8.0, >= 0.6.0) ruby

    vagrant-google (>= 0) ruby depends on
      google-api-client (>= 0) ruby depends on
        activesupport (>= 3.2) ruby depends on
          i18n (~> 0.7) ruby

    vagrant-vsphere (>= 0) ruby depends on
      i18n (~> 0.6.4) ruby
Vagrant could not find compatible versions for gem "nokogiri":
  In Gemfile:
    vagrant (= 1.7.4) ruby depends on
      nokogiri (= <IP_ADDRESS>) ruby

    vagrant-google (>= 0) ruby depends on
      fog-google (~> 0.0.7) ruby depends on
        fog-xml (>= 0) ruby depends on
          nokogiri (>= 1.5.11, ~> 1.5) ruby

    vagrant-vsphere (>= 0) ruby depends on
      nokogiri (= 1.5.10) ruby

So, unless vagrant-vsphere changes their i18n version dependency or the Vagrant bundler issues are resolved, those two cannot be installed together, I'm afraid.

Awesome, thanks for the help. I've removed the vagrant-vsphere plugin for now.

@erjohnso This can be closed, this is an external conflict.


Add tmpfs

Signed-off-by: Josh Curl<EMAIL_ADDRESS>

It should be caught by validation on the CLI side, so I'm thinking it might be better to leave it in case there's a library use case for it.

@joshwget sounds good to me :stuck_out_tongue_closed_eyes:
Needs a rebase though :angel:


[Snyk] Security upgrade puppeteer from 23.9.0 to 23.10.2

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

package.json
yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Server-Side Request Forgery (SSRF) SNYK-JS-IP-7148531
  646

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Server-Side Request Forgery (SSRF)

This PR will resolve this


remove redundant cython binding dirctive

This PR removes the redundant Cython binding directive.

Pull Request Test Coverage Report for Build 108

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 96.707%

Totals

Change from base Build 107:
-0.06%

Covered Lines:
311

Relevant Lines:
322

💛  - Coveralls


handle smaller sync responses introduced in synapse 1.38.0

Synapse 1.38.0 introduced smaller sync responses (https://github.com/matrix-org/synapse/pull/10214) by removing empty fields, but this library did not handle it correctly.
This broke the Home Assistant matrix integration, for example.

This looks functional, just a couple stylistic notes.
Also note that this library is no longer actively maintained. You may consider switching to another Python library for client actions, such as https://github.com/poljar/matrix-nio.

I know :) I only wanted to keep the home assistant matrix integration functional. They should switch to matrix-nio anyway.


[5.4] Adds abstract type method to container

Enables users of containers to retrieve all bound types that are not aliases. As alternative to #17618

The method name doesn't make sense.

No plans to add this at least under this method name for now.


Template render error

When cache is expired i get this error on first run, any idea how to fix ?

Please provide more details (error message, package version, Adonis version) and some code snippets to reproduce this.
@haabnaseem


Additional metrics (+tests)

For the tests of the new metrics, would be good to follow (you can search this approach too):

Arrange
Act
Assert

Let's have a look at pytest.fixtures too.

As there are many clustering algorithms, I will be limiting the scope to k-means for now as it is a very popular algorithm, but requires the knowledge of an optimal number of clusters in order to perform optimally


Add transform: RandomResize

Description
Please include a summary in English, of the changes in this pull request. If it closes an issue, please mention it here.
Closes:
You should link at least one existing issue for PR. Before your create a PR, please check to see if there is an issue for this change.
PRs from forked repository not accepted.
Change(s)

Add RandomResize

Set resize resolution randomly at the start of an epoch
Each dataloader workers have different resolution since random reset is implemented on __call__
Thus, this RandomResize can have greater effect when num_workers is large enough

Changelog
If you PR to dev branch, please add a brief summary of the change to the Upcoming Release section of the CHANGELOG.md file and include a link to the PR (formatted in markdown) and a link to your github profile.
For example,
- Added a new feature by `@myusername` in [PR 2023](https://github.com/Nota-NetsPresso/netspresso-trainer/pull/2023)

Code Formatting
If you PR to either master or dev branch, you should follow the code linting process. Please check your code with lint_check.sh in ./scripts directory.
For more information, please read the contribution guide in CONTRIBUTING.md.

I will update docs and config later.


fix(pypi): provide extra component as qualifier

@mason-org/triage
 🤖 This is an automated comment.    📖 Source code


Add to the Kitura-router the ability to add error handlers

Add to the Kitura router the ability to add error handlers which can be invoked when a handler or middleware indicates that it encountered an error. This error handler could be the part of a server application that creates and returns the error page.

The error handler is going to be inspired by express: http://expressjs.com/en/guide/error-handling.html.  However we would like it to be a separate function with a use like router.error(). The library will pass any errors to these entities in the order they were written.

Once validated the router error-handling branch needs to be merged into develop and tagged. Then Package.swift needs to be updated in the Kitura error-handling branch and afterwards, merged into develop.

Assigning to me for now for validation.

@dfirsht  Looks good! Can you double check that line 331 in Sources/KituraRouter/Router.swift is using the logger instead of the print statement?

print(self.routeElems[elemIndex].method)

Other than that, I think you can merge.

Confirmed, merged both branches into develop.


Modified client::get_executor() return value.

From strand to strand's internal executor.

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

Project coverage is 89.94%. Comparing base (21b89e6) to head (c5636fc).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #184      +/-   ##
==========================================
- Coverage   89.98%   89.94%   -0.04%
==========================================
  Files          97       97
  Lines       10802    10802
==========================================
- Hits         9720     9716       -4
- Misses       1082     1086       +4

Files
Coverage Δ

include/async_mqtt/client.hpp
90.58% <ø> (ø)

... and 1 file with indirect coverage changes


Run keeps showing that "Not All files are indexed:

Microsoft PowerToys version
0.58.0
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Bring up Run using your keyboard shortcut
Search
Going to my search setting, I do have enhanced search turned on
✔ Expected Behavior
Show results without warning.
❌ Actual Behavior
One of the entries will always be "Warning: Not all files are indexed"
Other Software
No response

You can disable this warning from PT Run settings

Did this help? /needinfo

The option is not there anymore

But you need them to be indexed! How do I solve the actual indexing issue, rather than covering up the symptom?

@jabeztadesse, I suppose, it can be already not relevant, but if you want to make sure, that all needed files are indexed, you can check it in "Indexing Options" menu or "Privacy & Security > Searching Windows". Using this options you will see, which files are indexed, how much are still in indexing process and which files/directories are ignored and, of course, change it.

The thing that PowerToys Run is showing this message is the Windows Search message in it's source, and, I assume, it will be shown just because by default you will have some default and system directories ignored in indexing.
Also, if you want to re-index your files, in "Indexing Options" you can rebuild your index after including all directories needed, and after that disable this warning.

@jabeztadesse, I suppose, it can be already not relevant, but if you want to make sure, that all needed files are indexed, you can check it in "Indexing Options" menu or "Privacy & Security > Searching Windows". Using this options you will see, which files are indexed, how much are still in indexing process and which files/directories are ignored and, of course, change it.
The thing that PowerToys Run is showing this message is the Windows Search message in it's source, and, I assume, it will be shown just because by default you will have some default and system directories ignored in indexing.
Also, if you want to re-index your files, in "Indexing Options" you can rebuild your index after including all directories needed, and after that disable this warning.

Thank you so much for this! I have been chasing leads and all of them end in someone from Microsoft closing the ticket and saying, "this is a duplicate issue! Please see #18888" and that thread doesn't even provide any solutions.
Your method was the first time that I got PowerToys Run to be able to boot within 5 seconds of pressing the hotkey. Before, it was taking 16 seconds to open PowerToys Run after I pressed the hotkey!
Unfortunately, my PowerToys went back to the same exact thing of having a huge startup delay after I rebooted my computer. I just uninstalled it and I'm using Flow Launcher for now.
Just wanted to say thank you for actually providing some troubleshooting that worked instead of saying, "OH IT'S A DUPLICATE! CLOSED!"


[Spark-14685] [CORE] Document heritability of localProperties

What changes were proposed in this pull request?
This updates the java-/scala- doc for setLocalProperty to document heritability of localProperties. This also adds tests for that behaviour.
How was this patch tested?
Tests pass. New tests were added.

@rxin Documentation and tests PR. Enhancement PR to follow.

Can one of the admins verify this patch?

@JoshRosen This may well be of interest. As mentioned above, my enhancement PR is pending (running tests right now).

Test build #2801 has started for PR 12455 at commit b96cde1.

Test build #2801 has finished for PR 12455 at commit b96cde1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

The test failures are probably bogus, as per http://mail-archives.apache.org/mod_mbox/spark-dev/201604.mbox/<CAMFhwAYRbN0yJGwzvrY8atzS9CCudzioF%3DbcGogCwPq3gPC6Uw%40mail.gmail.com>

@rxin Are you cool to go ahead with this before we resolve the deal on #12456?

Thanks - let's merge this first once Jenkins pass.

Test build #2847 has started for PR 12455 at commit b96cde1.

Test build #2847 has finished for PR 12455 at commit b96cde1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

@rxin Tests have passed, can we merge? This still seems low risk for Spark-2.0

Thanks - merging in master / branch-2.0.


Added test project for test dbbackup

I added a test project on root project for testing purpose. This is only a basis and I will add many things if it is accepted. Further things:

Unittests for all DB backend
Travis
Coverage
Coveralls

This kind of tests is used in django-contrib-comments (https://github.com/django/django-contrib-comments/blob/master/tests/runtests.py). It's a simple Django project only for unittest purpose which are launched with python runtests.py.
I've added several tests for dbbackup.dbcommands tested with Python 2.7/3.4 and Django 1.8.

Fantastic with a test project!!! Very much a wanted addition! This is absolutely needed, and it could be expanded with settings for different database backends etc.
One suggestion: Would you be willing to move the unit tests to dbbackup.tests ? I mean, not the testapp or runtests, those are great to have in the test project, just the unit tests since they seem more coupled to the application?
Best,
Ben

I thought the same thing, unittest should be in real app directory.
I moved tests/testapp/tests/ to dbbackup/tests/.
I commit --amend it.

Cool!
In Git, you cannot commit --amend something that's already pushed, this would require overwriting the remote history... but that's okay.. just add a second commit to this PR, no problem at all showing that something was changed after the PR was opened.
Best,
Ben

No problem, I already git push -f. I often do when I forget something in my repo fork. It is not dangerous cause I made in my own branch.
PR has already been changed.

Ok, I see now!
Would you like this PR merged or are you working on other aspects to be included?

Merge it please, I was waiting for review before continue and maybe other people will use this basis toi.

Great, okay, then we can move on to Travis integration and I will create a PR on the blackbox test. :+1:


For a 0.3.2 release

[x] In Grid search, allow multiple one-dimensional ranges in a range vector to share the same field attribute, with the effect that their grids are combined. Allows one to add specific values to automatically generated ones, for example

[x] Improve docs on subject of implementing Cartesian range objects (#24)

@tlienart I think this addresses a feature request mentioned in private correspondence.


Scroll while dragging

I see two situations where implementing some scrolling would be very helpful -
If the container is taller than the viewport.
It would be nice if the plugin could scroll the page when you hit the edge of the viewport while dragging an item.
If the target container has a height restriction along with overflow:scroll.
Similarly, the plugin could change the scroll position of the target container when you hit an edge.
I made an attempt at implementing this but it seems that my handler bound to mousemove was only being triggered when I dragged an element outside of the container and back in.  I'm not sure if the plugin is killing mousemove events for performance reasons (that's my guess) but is there any other way to get the position of the dragged element as it moves?
Thanks!

Can you show me a demo?

I think he means something like this.

I just filed a simiral issue yesterday in dragular since my project is angular
here is the link to issue

Ah, got it. Can you work on a tentative PR?

I tried working on it but somehow the mouse events don't get triggered.

I presume you'd have to use requestAnimationFrame or some such to get the scrolling going

I could look into this one as well, also granted no one beats me to it before I get some free time.

@fergyfresh feel free to look into as many as you want! that's encouraged :dancers:

Those are the only ones I think I can fix xD
On Wed, Jul 22, 2015, 10:09 PM Nicolas Bevacqua<EMAIL_ADDRESS>wrote:

@fergyfresh https://github.com/fergyfresh feel free to look into as
many as you want! that's encouraged [image: :dancers:]
—
Reply to this email directly or view it on GitHub
https://github.com/bevacqua/dragula/issues/121#issuecomment-123930974.

Yea @rohitdaryanani's gif is a perfect example for the second case, but also if you can imagine a container that's taller than the viewport, it would be nice to scroll the viewport down when you dragged an item to the bottom of the container.
I ran into the same issue with not being able to get realtime data from mouse events but I wasn't sure if there were other ways to get the dragged item position after the drag started.  I suppose doing something with setInterval to grab the item position once the drag is initiated and scrolling based on that might work, and then once the item is released kill the handler?  I could try this out later if it sounds viable, I'm not an expert with this stuff :-p

Hey @bryannielsen, @luckylooke solved this in the angular version known as dragular heres the link.

I have addressed both the issues

If the container is taller than the viewport
If the target container has a height restriction along with overflow:scroll

changes are pushed to a new branch "scroll-while-dragging". I'm new to github technicalities. help me out if anything is left from my side. Thanks

I want that too.
o/

I implemented a scroll on drag in my project. Here is a snippet:
    document.addEventListener('mousemove', this._onMouseMove);

    _onMouseMove (e) {
      this._pageY = e.pageY;

      if (this._drake.dragging) {
        //scroll while drag
        const y = this._pageY;
        const container = document.querySelector('.my-container');
        const containerBottom = container.offsetTop + container.offsetHeight;
        const containerTop = container.offsetTop;

        if (containerBottom - y < 120) {
          this._scrollDown(container, y);
        } else if (containerTop + y < 120) {
          this._scrollUp(container, y);
        }
      }
    },

  _scrollDown (container, pageY) {
    if (this._drake.dragging && pageY === this._pageY) {
      container.scrollTop += 5;
      setTimeout(this._scrollDown.bind(this, container, pageY), 20);
    }
  }

  _scrollUp (container, pageY) {
    if (this._drake.dragging && pageY === this._pageY) {
      container.scrollTop -= 5;
      setTimeout(this._scrollUp.bind(this, container, pageY), 20);
    }
  }

I use setTimeout to keep on scrolling when we mouse is not moving. Of course the callback of setTimeout should be saved and cleared when the view is removed.

I like this solution way better than what we have in PR #129. Think you could contribute a ES5 version of it with a PR?

@bevacqua I looked at the PR and I find it very hard to understand.
I think it should just be something like this:

add mousemove event
is mouseposition in container? continue
are we dragging? continue
is mouseposition at the top or bottom in container? continue
scroll up or scroll down. Call scroll up or scroll down with a timeout
if previous mouse position does not equals current mouse position: stop else => go to 5.

If you want to scroll horizontal just switch above text up and down for left and right.

Sounds awesome, and I think your code is also much terser. Would you consider creating a PR of your own? It'd be greatly appreciated.

I will have a look

Just another suggestion based on what dragular is doing: simply fire dragenter and dragleave events that can be listened to - see pull request. Feel free to discard if that's not the way to go (but please tell me why in that case ;-)...

In my project, i need a page level scroll. I have one Dragula instance containing 3 containers. Each container has many widgets. I don't need container level scroll. Currently Dragula is not supporting it and i above approach is also not addressing this issue.

I have created a module that will do this kind of scrolling in a more generic way. See commit https://github.com/bevacqua/dragula/pull/200 for the conversation about this.
Here is the link https://github.com/hollowdoor/dom_autoscroller with dragula being used in the example. The module can be found on npm at dom-autoscroller.
dom-autoscroller handles container level scroll as well as document/page level scroll if you set it's element to window.

Just my 2 cents: It should use something similar to jQuery.scrollParent() to detect the element that needs to be scrolled. In my case I need the page to be scrolled.

Hello! Is this going to be implemented after all?

Closing in favor of modules such as dom-autoscroller

:+1:

@bevacqua Just checked out this module you recommended as a solution. It is full of bugs.
It scrolls only to left side and not right, after few seconds of usage it stops working correctly and it does not scroll at same speed (number of pixels).
It is not good solution to this important problem. Other alternatives such as Sortable have this feature implemented.

@bryannielsen I have a PR out that address scrolling while dragging. Let me know if this works for you.

`var scrollable = true;
var listener = function(e) {
if (! scrollable) {
e.preventDefault();
}
}
	document.addEventListener('touchmove', listener, { passive:false });

	this.dragula.drag().subscribe(value => {
		scrollable = false;
	});
	this.dragula.dragend().subscribe(value => {
		scrollable = true;
	});
	this.dragula.drop().subscribe(value => {
		document.removeEventListener('touchmove', function(e) { e.preventDefault(); });
		scrollable = true;
	});`

this solution work for me
need to add this on ngOnInit()

`
var scrollable = true;
var listener = function(e) {
if (! scrollable) {
e.preventDefault();
}
}
document.addEventListener('touchmove', listener, { passive:false });
this.dragula.drag().subscribe(value => {
scrollable = false;
});
this.dragula.dragend().subscribe(value => {
scrollable = true;
});
this.dragula.drop().subscribe(value => {
document.removeEventListener('touchmove', function(e) { e.preventDefault(); });
scrollable = true;
});
`

would be nice to have, or how is dom-autoscroller a workaround?

None of the suggestions here helped, I ended making https://github.com/eevleevs/scroller


Refactor test collecting

Closes #
Introduced changes

This PR separates collecting tests with compiling test cases, so they can be tested separately. Also some of the code has been converted from free functions to struct methods.
Replaced all occurrences of &Utf8PathBuf with &Utf8Path, same for &PathBuf.

Breaking changes

Checklist

[x] Linked relevant issue
[x] Updated relevant documentation
[x] Added relevant tests
[x] Performed self-review of the code
[x] Added changes to CHANGELOG.md

I would like to review this one but after it is adapted to changes of #775

@MaksymilianDemitraszek it is ready for review now

I am ok with merging this one after you remove packing tests from collecting phase

I'll do that

We merge thoooose

Waiting for @MaksymilianDemitraszek re-review


limit autorandr udev rule spamming

Describe the bug
When I plug my laptop on my USB-C hub with two displays (displayport & HDMI), autorandr is called multiple times in a few seconds and the X11 server freezes.
Steps To Reproduce
This is the hard part, I can only describe my current hardware configuration:

a framework gen2 laptop
a USB-C kvm
a Samsung monitor (C32F391FWU)
 a Dell monitor (U2421HE)

And the NixOS flake I am using (hepao host):
https://github.com/gautaz/phoenix
Expected behavior
autorandr should only be called once the burst of udev DRM events is finished.
For instance, here is a log (same udev rule but custom script which replaces the autorandr call) of the udev DRM change events that occur when I plug the USB-C KVM:
________________________________________________
Sat Mar  4 17:48:21 CET 2023
________________________________________________
Sat Mar  4 17:48:21 CET 2023
________________________________________________
Sat Mar  4 17:48:21 CET 2023
________________________________________________
Sat Mar  4 17:48:21 CET 2023
________________________________________________
Sat Mar  4 17:48:31 CET 2023

autorandr starts to apply the new displays settings and the freeze seems to occur after this last udev event but it is hard to be sure...
Screenshots
N/A
X11 is frozen.
In fact it is even worse, it seems the whole system is frozen (and also the CPU fan noise increases).
Additional context
I cannot reproduce the issue when I run manually autorandr (without the udev rule).
Notify maintainers
@Alexnortung
@pennae
Metadata
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.0, NixOS, 23.05 (Stoat), 23.05.20230225.58f7e4a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.2`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Hello,
I may have notified the wrong maintainers, I am making a new attempt with the people displayed on the nixos.org search page:
@globin
@coroa
Looking at the latest commit, it also seems that @r-ryantm is ensuring that this derivation keeps the pace up with the autorandr project.
Sorry if this feels like spamming but if any of you have an idea about the right way to fix this issue, I'd be happy to provide some effort on a PR (please take into account that I am not fluent in nix, I feel like I have a pretty basic understanding of how it works).
I did not yet found a satisfying workaround, using the autorandr hook scripts was kind of hacky and britttle.

I am closing this issue as It is not particularly related to nixpkgs but more due to the way autorandr operates.
I have stopped using autorandr for the time being.


rbdmirror: install packages

This install the package rbd-mirror as it is not installed for rbdmirror nodes.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test luminous-ansible2.3-bluestore_cluster

@dillaman what you said is right, I didn't catch it this way, thanks.


Python3 Importing shared object on PYTHONPATH not working

Hello,
on Windows [Version 10.0.15063] I recently downloaded a custom Python library (amp.readthedocs.io). After running the makefile a shared object fmodules.so was created.
It is impossible to import this .so file, even though it is on the PYTHONPATH. Even trying to import it while being in its directory does not work. We also tested this on Linux, where it worked fine. Hence, I assume it might be a problem of bash on Windows.
Here is the output:
    In [1]: import fmodules
    ---------------------------------------------------------------------------
    ModuleNotFoundError                       Traceback (most recent call last)
    <ipython-input-1-23f3b1204092> in <module>()
    ----> 1 import fmodules

    ModuleNotFoundError: No module named 'fmodules'

Can you please help?

@bs544 - Can you please share the exact repro steps?

The installation steps were:

Add repo root to pythonpath:
export PYTHONPATH=~/path/to/my/codes/amp:$PYTHONPATH

Build Python API to fortran code:
make python3

The complete instruction file's contents are below:

==================================
Installation
==================================

AMP is python-based and is designed to integrate closely with the Atomic Simulation Environment <https://wiki.fysik.dtu.dk/ase/>_ (ASE).
In its most basic form, it has few requirements:

Python, version 2.7 is recommended (it also supports Python3).
ASE.
NumPy.
SciPy.

To get more features, such as parallelization in training, a few more packages are recommended:

Pexpect (or pxssh)
ZMQ (or PyZMQ, the python version ofÃ¢â‚¬â€šÃƒËœMQ).

Certain advanced modules may contain dependencies that will be noted when they are used; for example Tensorflow for the tflow module or matplotlib (version > 1.5.0) for the plotting modules.
Basic installation instructions follow.

Install ASE
We always test against the latest version (svn checkout) of ASE, but slightly older versions (>=3.9) are likely to work as well.
Follow the instructions at the ASE <https://wiki.fysik.dtu.dk/ase/download.html>_ website.
ASE itself depends upon python with the standard numeric and scientific packages.
Verify that you have working versions of NumPy <http://numpy.org>_ and SciPy <http://scipy.org>.
We also recommend matplotlib <http://matplotlib.org> (version > 1.5.0) in order to generate plots.

Get the code
The latest stable release of Amp is available on the Release Notes page.
If installing the latest version, you should ignore the rest of this page and follow the instructions included with the download (see docs/installation.rst or look your version number on http://amp.readthedocs.io <http://amp.readthedocs.io>_).
We are constantly improving Amp and adding features, so depending on your needs it may be preferable to use the development version rather than "stable" releases.
We run daily unit tests to try to make sure that our development code works as intended.
We recommend checking out the latest version of the code via the project's bitbucket page <https://bitbucket.org/andrewpeterson/amp/>_.
If you use git, check out the code with::
$ cd ~/path/to/my/codes
$ git clone git@bitbucket.org:andrewpeterson/amp.git
where you should replace '~/path/to/my/codes' with wherever you would like the code to be located on your computer.
If you do not use git, just download the code as a zip file from the project's download <https://bitbucket.org/andrewpeterson/amp/downloads>_ page, and extract it into '~/path/to/my/codes'.
Please make sure that the folder '~/path/to/my/codes/amp' includes subdirectories 'amp', 'docs', 'tests', and 'tools'.

Set the environment
You need to let your python version know about the existence of the amp module. Add the following line to your '.bashrc'
(or other appropriate spot), with the appropriate path substituted for '~/path/to/my/codes'::
$ export PYTHONPATH=~/path/to/my/codes/amp:$PYTHONPATH
You can check that this works by starting python and typing the below command, verifying that the location listed from
the second command is where you expect::

import amp
print(amp.file)

See also the section on parallel processing for any issues that arise in making the environment work with Amp in parallel.

Recommended step: Build fortran modules
Amp works in pure python, however, it will be annoyingly slow unless the associated Fortran 90 modules are compiled to speed up several parts of the code.
The compilation of the Fortran 90 code and integration with the python parts is accomplished with f2py, which is part of NumPy.
A Fortran 90 compiler will also be necessary on the system; a reasonable open-source option is GNU Fortran, or gfortran.
This compiler will generate Fortran modules (.mod).
gfortran will also be used by f2py to generate extension module fmodules.so on Linux or fmodules.pyd on Windows.
We have included a Make file that automatizes the building of Fortran modules.
To use it, install GNU Makefile <https://www.gnu.org/software/make/>_
on your Linux distribution or macOS.
For Python2, then simply do::
$ cd <installation-directory>/amp/
$ make python2

For Python3::
$ cd <installation-directory>/amp/
$ make python3

If you do not have the GNU Makefile installed, you can prepare the Fortran extension modules manually in the following steps:

Compile model Fortran subroutines inside the model and descriptor folders by::
$ cd /amp/model
$ gfortran -c neuralnetwork.f90
$ cd ../descriptor
$ gfortran -c cutoffs.f90

Move the modules "neuralnetwork.mod" and "cutoffs.mod" created in the last step, to the parent directory by::
$ cd ..
$ mv model/neuralnetwork.mod .
$ mv descriptor/cutoffs.mod .

Compile the model Fortran subroutines in companion with the descriptor and neuralnetwork subroutines by something like::
$ f2py -c -m fmodules model.f90 descriptor/cutoffs.f90 descriptor/gaussian.f90 descriptor/zernike.f90 model/neuralnetwork.f90

Note that for Python3, you need to use f2py3 instead of f2py.
or on a Windows machine by::
$ f2py -c -m fmodules model.f90 descriptor/cutoffs.f90 descriptor/gaussian.f90 descriptor/zernike.f90 model/neuralnetwork.f90 --fcompiler=gnu95 --compiler=mingw32

Note that if you update your code (e.g., with 'git pull origin master') and the fortran code changes but your version of fmodules.f90 is not updated, an exception will be raised telling you to re-compile your fortran modules.

Recommended step: Run the tests
We include tests in the package to ensure that it still runs as intended as we continue our development; we run these
tests on the latest build every night to try to keep bugs out. It is a good idea to run these tests after you install the
package to see if your installation is working. The tests are in the folder tests; they are designed to run with
nose <https://nose.readthedocs.org/>_.
If you have nose and GNU Makefile installed, simply do::
$ make py2tests      (for Python2)
$ make py3tests      (for Python3)
Otherwise, if you have only nose installed (and not GNU Makefile), run the commands below::
$ mkdir /tmp/amptests
$ cd /tmp/amptests
$ nosetests ~/path/to/my/codes/amp/tests


Fix missing trust_remote_code flag for AutoTokenizer in utils.peft

Peft loading function was missing the trust_remote_code=trust_remote_code argument causing the custom tokenizer code to be not found.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@Narsil

LGTM. Thanks a lot for this contribution


Add license header to test suites

Add Apache license header to
src/test/scala/com/adobe/platform/ml/feature/unary/numeric/LogTransformFeaturizerSuite.scala
src/test/scala/com/adobe/platform/ml/feature/unary/numeric/PowerTransformFeaturizerSuite.scala
Remove src/test/scala/com/adobe/platform/ml/feature/unary/temporal

Looks good. Approved.


Bug: Self-join in database view causes application to hang

Similar issues

[X] I have searched and found no existing similar issues

How are you using Studio?
Legend Studio
Current and expected behavior
If we have a self-join used in a database view definition, the app hangs while trying to observe the graph
Steps to reproduce
Use the provided grammar, go back from text-mode to form-mode, try going back to text-mode

You should not be able to due to some problem with transformer
You should see Observing graph... being shown in the explorer tree

Model data
###Relational
Database model::DB
(
  Table MyTable
  (
    ID INTEGER,
    PARENT_ID INTEGER,
    NODE_NAME VARCHAR(255) PRIMARY KEY,
    LEVEL INTEGER PRIMARY KEY
  )

  View MyView
  (
    LEVEL_10: [model::DB]@MyJoin | {target}.NODE_NAME
  )

  Join MyJoin(MyTable.PARENT_ID = {target}.ID and {target}.LEVEL = 10)
)

Environment
No response
Possible solution and workaround
No response
Contribution

[ ] I would like to work on the fix for this issue

Try this
###Relational
Database model::DB
(
  Table MyTable
  (
    ID INTEGER,
    PARENT_ID INTEGER,
    NODE_NAME VARCHAR(255) PRIMARY KEY,
    LEVEL INTEGER PRIMARY KEY
  )

  Table MyTable2
  (
    ID INTEGER,
     NAME VARCHAR(255)
  )

//   View MyView
//   (
//     LEVEL_10: [model::DB]@MyJoin | {target}.NODE_NAME
//   )

  Join MyJoin(MyTable.PARENT_ID = {target}.ID and {target}.LEVEL = 10)
  Join MyJoin2(MyTable.ID = MyTable2.NAME)
)

###Pure
Class model::Node {
   name: String[1];
   name2: String[1];
}

###Mapping
Mapping model::MyMapping (
   model::Node: Relational {
      ~mainTable [model::DB]MyTable
      name: [model::DB]@MyJoin | {target}.NODE_NAME,
      name2: [model::DB]@MyJoin2 | {target}.NAME
   }
)

The problem I found is that in engine, when we have {target} - i.e. self-join in a ElementWithJoins relational operation, due to the way the compiler is written, we ignore anything after {target}, one can write {target}.ANYTHING and it would have compiled fine (or built fine in Studio) for that matter, this might be an engine's issue more than a Studio issue

Also, it seems we don't validate the column at the end of the join expression, for example
###Relational
Database model::DB
(
  Table MyTable
  (
    ID INTEGER,
    PARENT_ID INTEGER,
    NODE_NAME VARCHAR(255) PRIMARY KEY,
    LEVEL INTEGER PRIMARY KEY
  )

  Table MyTable2
  (
    ID INTEGER,
    NAME VARCHAR(255)
  )

  Join MyJoin(MyTable.PARENT_ID = {target}.ID and {target}.LEVEL = 10)
)

###Pure
Class model::Node
{
  name: String[1];
}

###Mapping
Mapping model::MyMapping
(
  model::Node: Relational
  {
    ~mainTable [model::DB]MyTable
    name: [model::DB]@MyJoin | MyTable2.NAME
  }
)

^ we cannot navigate to Table2 via MyJoin and yet, we're using a column from Table2 :(

###Relational
Database test::DB
(
  Table PersonTable
  (
    id INTEGER PRIMARY KEY,
    manager_id INTEGER,
    name VARCHAR(200)
  )

  Join MySelfJoin(PersonTable.id = {target}.manager_id)
)

###Pure
Class test::Person
{
  name: String[1];
}

###Mapping
Mapping test::MyMapping
(
  *test::Person: Relational
  {
    ~primaryKey
    (
      [test::DB]PersonTable.id
    )
    ~mainTable [test::DB]PersonTable
    name: [test::DB]@MySelfJoin | [test::DB]PersonTable.name
  }
)

###Connection
RelationalDatabaseConnection test::Connection
{
  store: test::DB;
  type: H2;
  specification: LocalH2
  {
    testDataSetupSqls: [
      'Drop table if exists PersonTable',
      'Create Table PersonTable(id INT, manager_id INT, name VARCHAR(200))',
      'Insert into PersonTable (id, manager_id, name) values (1, 2, \'Jack\'), (2, 3, \'John\'), (3, 1, \'Peter\')'
      ];
  };
  auth: DefaultH2;
}

###Runtime
Runtime test::MyRuntime
{
  mappings:
  [
    test::MyMapping
  ];
  connections:
  [
    test::DB:
    [
      connection_1: test::Connection
    ]
  ];
}

select "persontable_1".name as "Name" from PersonTable as "root" left outer join PersonTable as "persontable_1" on ("root".id = "persontable_1".manager_id)

engine will need to take care of this first, then we will handle this on our end


[Unlimited] Hack Free Fire Diamond Generator 2023 No Human Verification  [Updated-July]

30 sec ago,
Working at (Get-Free) Free Fire Diamond Generator 100% Active No Verification Unlimited Diamond Hack, Today We Discuss Free Fire Diamonds Generator 99999 Diamonds: FF Diamonds Generator 99999 Diamonds In 2022. We All Know The Importance And Popularity Of Free Fire Diamonds And Also The Free Fire Diamonds Generator.
Get Free Daimond Now
Get Free Daimond Now
So I’m Going To Explain Everything About The Free Fire Diamonds Generator. I’m A Crazy Fan Of Free Fire As Well As FF Diamonds. I Know If I Have Too Many Diamonds In My Account Then What Can I Do With That. But Too Many Diamonds Are Only Possible With Free Fire Diamonds Generator.
Free Fire Diamonds Generator Or FF Diamonds Generator Is Very Popular Among FF Players. The Garena Free Fire Is Also A Very Popular Battle Royal Game. The Ff Game Is So Popular That The Game Has Downloaded More Than A Billion On The Google Play Store But There Are More Than 98 Million Reviews Also. The Craze Is So High That Every FF Player Wants To Get Free Fire Free Diamonds Through Free Fire Diamonds Generator.
Free Fire Diamonds Generator Is An Exciting Term Among The FF Players In The Free Fire. Free Fire Diamonds Generator Works As A Media Between Diamonds And Freefire. Through These Free Fire Diamonds Generator Players Can Earn Virtual Cash (The Free Fire Free Diamonds) And They Can Buy A Variety Of Virtual Clothes, Pets, Elite Passes, Car Skins Emotes, Cap Or Helmet Skins, Etc. What You Want To Buy! You Just Need Free Diamonds. So Free Fire Players Want An FF Diamonds Generator For Ultimate Access To Everything. So We Can’t Ignore The Importance Of Free Fire Diamonds As Well As The Generator.
Free Fire diamonds generator 99999 Diamonds: FF diamonds Generator 99999 diamonds in 2022 Free Fire Diamonds Generator 99999 And Dj Alok In 2022 Free Fire diamonds Generator

[Get-Real]free fire diamond generator 2023 free
Pics-Art-03-07-11-14-53-1
>>>GENERATE FREE HERE >>>
Working at (Get-Free) Free Fire Diamond Generator 100% Active No Verification Unlimited Diamond Hack, Today We Discuss Free Fire Diamonds Generator 99999 Diamonds: FF Diamonds Generator 99999 Diamonds In 2022. We All Know The Importance And Popularity Of Free Fire Diamonds And Also The Free Fire Diamonds Generator.
>>>GENERATE FREE HERE >>>
Pics-Art-03-07-11-14-53-1
>>>GENERATE FREE HERE >>>
So I’m Going To Explain Everything About The Free Fire Diamonds Generator. I’m A Crazy Fan Of Free Fire As Well As FF Diamonds. I Know If I Have Too Many Diamonds In My Account Then What Can I Do With That. But Too Many Diamonds Are Only Possible With Free Fire Diamonds Generator.
Free Fire Diamonds Generator Or FF Diamonds Generator Is Very Popular Among FF Players. The Garena Free Fire Is Also A Very Popular Battle Royal Game. The Ff Game Is So Popular That The Game Has Downloaded More Than A Billion On The Google Play Store But There Are More Than 98 Million Reviews Also. The Craze Is So High That Every FF Player Wants To Get Free Fire Free Diamonds Through Free Fire Diamonds Generator.
Pics-Art-03-07-11-14-53-1
>>>GENERATE FREE HERE >>>
Free Fire Diamonds Generator Is An Exciting Term Among The FF Players In The Free Fire. Free Fire Diamonds Generator Works As A Media Between Diamonds And Freefire. Through These Free Fire Diamonds Generator Players Can Earn Virtual Cash (The Free Fire Free Diamonds) And They Can Buy A Variety Of Virtual Clothes, Pets, Elite Passes, Car Skins Emotes, Cap Or Helmet Skins, Etc. What You Want To Buy! You Just Need Free Diamonds. So Free Fire Players Want An FF Diamonds Generator For Ultimate Access To Everything. So We Can’t Ignore The Importance Of Free Fire Diamonds As Well As The Generator.
Free Fire diamonds generator 99999 Diamonds: FF diamonds Generator 99999 diamonds in 2022 Free Fire Diamonds Generator 99999 And Dj Alok In 2022 Free Fire diamonds Generator
Explaining Free Fire Diamonds Generator At A Glance. Free Fire Diamonds Generator Is A Term Not A Tool. Actually The Standard Virtual Cash Mentioned In Ff Is Called Gold And The Premium FF Virtual Cash Is Diamond. The Popularity Of These Diamonds Is So High That Everyone Wants Free Fire Free Diamonds. Everyone Also Looks For Free Fire Diamonds Generator 99999 Also. Free Fire Diamonds Generator Is Needed To Get Unlimited Free Diamonds In Your Free Fire Id. There Are Also Some Other Premium Cash Or Token Can Be Found On Free Fire Game Like Fragments Token But All Premium Token Can Be Redeemed By Diamonds So Free Fire Diamonds Generator Is Needed For Every Purposes.
>>>GENERATE FREE HERE >>>

✅🔴CLICK HERE TO GET Free Fire Diamonds Generator NOW
✅🔴CLICK HERE TO GET Free Fire Diamonds Generator NOW
✅🔴CLICK HERE TO GET Free Fire Diamonds Generator NOW
Working at (Get-Free) Free Fire Diamond Generator 100% Active No Verification Unlimited Diamond Hack, Today We Discuss Free Fire Diamonds Generator 99999 Diamonds: FF Diamonds Generator 99999 Diamonds In 2022. We All Know The Importance And Popularity Of Free Fire Diamonds And Also The Free Fire Diamonds Generator.
✅🔴CLICK HERE TO GET Free Fire Diamonds Generator NOW
✅🔴CLICK HERE TO GET Free Fire Diamonds Generator NOW
✅🔴CLICK HERE TO GET Free Fire Diamonds Generator NOW

[Get-Real]free fire diamond generator 2023 free

>>>GENERATE FREE HERE >>>
Working at (Get-Free) Free Fire Diamond Generator 100% Active No Verification Unlimited Diamond Hack, Today We Discuss Free Fire Diamonds Generator 99999 Diamonds: FF Diamonds Generator 99999 Diamonds In 2022. We All Know The Importance And Popularity Of Free Fire Diamonds And Also The Free Fire Diamonds Generator.
>>>GENERATE FREE HERE >>>

>>>GENERATE FREE HERE >>>
So I’m Going To Explain Everything About The Free Fire Diamonds Generator. I’m A Crazy Fan Of Free Fire As Well As FF Diamonds. I Know If I Have Too Many Diamonds In My Account Then What Can I Do With That. But Too Many Diamonds Are Only Possible With Free Fire Diamonds Generator.
Free Fire Diamonds Generator Or FF Diamonds Generator Is Very Popular Among FF Players. The Garena Free Fire Is Also A Very Popular Battle Royal Game. The Ff Game Is So Popular That The Game Has Downloaded More Than A Billion On The Google Play Store But There Are More Than 98 Million Reviews Also. The Craze Is So High That Every FF Player Wants To Get Free Fire Free Diamonds Through Free Fire Diamonds Generator.

>>>GENERATE FREE HERE >>>
Free Fire Diamonds Generator Is An Exciting Term Among The FF Players In The Free Fire. Free Fire Diamonds Generator Works As A Media Between Diamonds And Freefire. Through These Free Fire Diamonds Generator Players Can Earn Virtual Cash (The Free Fire Free Diamonds) And They Can Buy A Variety Of Virtual Clothes, Pets, Elite Passes, Car Skins Emotes, Cap Or Helmet Skins, Etc. What You Want To Buy! You Just Need Free Diamonds. So Free Fire Players Want An FF Diamonds Generator For Ultimate Access To Everything. So We Can’t Ignore The Importance Of Free Fire Diamonds As Well As The Generator.
Free Fire diamonds generator 99999 Diamonds: FF diamonds Generator 99999 diamonds in 2022 Free Fire Diamonds Generator 99999 And Dj Alok In 2022 Free Fire diamonds Generator
Explaining Free Fire Diamonds Generator At A Glance. Free Fire Diamonds Generator Is A Term Not A Tool. Actually The Standard Virtual Cash Mentioned In Ff Is Called Gold And The Premium FF Virtual Cash Is Diamond. The Popularity Of These Diamonds Is So High That Everyone Wants Free Fire Free Diamonds. Everyone Also Looks For Free Fire Diamonds Generator 99999 Also. Free Fire Diamonds Generator Is Needed To Get Unlimited Free Diamonds In Your Free Fire Id. There Are Also Some Other Premium Cash Or Token Can Be Found On Free Fire Game Like Fragments Token But All Premium Token Can Be Redeemed By Diamonds So Free Fire Diamonds Generator Is Needed For Every Purposes.
>>>GENERATE FREE HERE >>>


Error compiling in windows

I installed Lazarus, downloaded the latest source and tried running the code on windows 8.1. I got an error:
Error reading ScriptForm.DesignTimePPI: Unknown property: "DesignTimePPI"
Any idea what's going on here?
My idea was to increase left-hand panel width in mricrogl (should not be too difficult). Currently the panel is too narrow and makes using overlays very difficult (see figure). In some earlier version there was separate pop-up window for overlays. That was much better.

You can ignore the error - it simply reflects that I built the project using the latest SVN of Lazarus which includes properties that are not yet used in the stable releases of Lazarus.
You are correct - the Overlay panel used to be a separate window, but now it is integrated into the main tool panel. The advantages of the new approach is that it works well in full-screen mode, you do not have to find a place for a separate Window, and it is automatically context-dependent (you see the overlay panel whenever overlays are open, and it is hidden when you close overlays). I agree it is a bit of a tight fit on the tool panel. I have tried to design the software to work on 1024x768 screens which does not provide a lot of screen real estate. I will consider making the size of the tool panel dynamic based on the screen width.
In any case, feel free to fork this project - you can have the overlay panel as a separate window or make the tool panel larger. If you develop a better solution than mine you can submit a pull request.


Added copy functions

I couldn't find equivalent functions, so I added these. I didn't run the documentation generator because I've never used it before. I'll do it next time xD

oh wow wait a sec i forgot the casts


__runtimeVersion equals <IP_ADDRESS> in release builds since @nativescript/android 8.2.3

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 8.2.3
Cross-platform modules: 8.2.5
Android Runtime: 8.2.4
Plugin(s): none

Describe the bug

__runtimeVersion equals <IP_ADDRESS> in release builds only. It has the expected value in debug builds.
The problem is present since 8.2.3. It works as expected with @nativescript/android 8.2.2
To Reproduce

I made a sample project so it will be easier to reproduce the bug. It is basically a fresh Vue project created with ns create, I only replaced the message shown on home screen by __runtimeVersion.
git clone https://github.com/sebj54/ns-debug-runtime-version.git
cd ns-debug-runtime-version
ns run android --release

If you want to see it working with @nativescript/android 8.2.2
git checkout 8.2.2
ns clean
ns run android --release

You can also see that it works fine on debug builds with ns debug android.
Expected behavior
__runtimeVersion should equal 8.2.4 and not <IP_ADDRESS>
Sample project

https://github.com/sebj54/ns-debug-runtime-version
Additional context

Feel free to reach me if something is unclear or if you want me to test anything locally, I'll be glad to help.

I digged deeper and found that the problem is caused by the setPackageVersion gradle task: https://github.com/NativeScript/android-runtime/blob/905d96ea3ac2bc8d2be8afea7d48067f2f733679/test-app/runtime/build.gradle#L167-L180
It is called too late and the modified Version.h file is not used to build the package.
So I was wrong in my first assumption: the 8.2.3 version didn't introduce the bug, but it was the first version to be packaged with an unmodified Version.h file.
The problem was also present in 8.2.2 version, because the demo app shows 8.2.1. This version may have been built on a computer which had also built the previous version.
Now I'm trying to figure out how to fix the problem but I'm not used to write Gradle files. Any help would be very appreciated :)


Proof read and update glossary of terms

Proof read terms and definitions, and add new ones as needed.
https://docs.google.com/document/d/1lX_Lova1_80KVyNZLW0vxrnW_9xNIit1kaPdA2KAzpQ/edit
These will be used in a new popover definition functionality in tech docs.

Updated https://docs.google.com/document/d/1lX_Lova1_80KVyNZLW0vxrnW_9xNIit1kaPdA2KAzpQ/edit


Source Not Working

Source information
LightNovelPub
Steps to reproduce
1.Open Source
2.Search Something
Expected behavior
You Should Be Able To Search Something
Actual behavior
You Get A Json Parse Error
LNReader version
1.1.14
Android version
Android 9
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.12.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Duplicate of #240


Removal of Custom Libraries Option

What's the Problem?
It would be great if there was an option to delete a library from the "main" screen where you can right-click on Libraries and create a new library.
Solution/Idea
It would be great if there was an option to delete a library from the "main" screen where you can right-click on Libraries and create a new library.
Alternatives
n/a
Priorities
| Capability | Priority |
| Removal of Custom Libraries Option | Low |
| This proposal will allow end users to more easily delete custom libraries from Files.|
Files Version
No response
Windows Version
No response
Comments
No response

@yaichenbaum Yes, I am referring to the sidebar.

Is this still an issue in the preview version? https://files.community/download/preview


Update Dockerfile / JAVA_HOME - 2nd try

Alpine is using ash shell by default which results in an not set JAVA_HOME environment variable
Sry, there is no issue reported atm on issues.apache.org - never the less, it is one I'm facing to
see #801

Thanks @derhecht 👍


[Feature request] Support adding features

Instead of only fixing issues, consider also adding new features (process issues describing feature requests).
This will accelerate/leverage the development of SWE-Agent itself and provide new real test cases.
Consider taking a look at GPT-Pilot and Meta-GPT.

Consider taking a look at GPT-Pilot and Meta-GPT.

Links for convenience:

https://github.com/Pythagora-io/gpt-pilot

The first real AI developer

https://github.com/geekan/MetaGPT

The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_44335aed-a0f0-4b1c-9ba7-e2b56a365d40/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_44335aed-a0f0-4b1c-9ba7-e2b56a365d40.git

Docs Build status updates of commit 8f8bc0b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-11-04-02-19-24 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-11-04-02-19-24

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[BugFix] remove document from canCreateField

When you run Users.CanCreateField with a function in canCreate field prop, it's trying to call a document arg that is undefined, because obviously there is no initial document when you try to create a document. So now it's only calling canCreate(user) as defined in the docs. I should have spotted this in #2006, sorry!

:+1:


Syncing/deleting runs from a sweep

I'd like to be able to sync or delete all the runs from a sweep (from my local machine) without having to figure out each of their separate id's and deleting one by one.
Maybe a command wandb delete sweep [sweepid] would be nice.
Thank you.

Hey there, you can use this code snippet to delete the runs programmatically:
`import wandb
api = wandb.Api()
sweep = api.sweep("//<sweep_id>")
for run in sweep.runs:
run.delete()`


Rename organization from nix-basement to nix-prefab

If possible, we should use some kind of migration path to prevent users who might already be using nix-basement in their project, from running to problems. I think github does an automatic redirect for some time, right?

Until someone else claims the organization name iirc

@nzbr then we should probably do it now, right? Better now than later...

Done


Command Injection in meta-git

🤓 Question
Do we have a plan for resolve the advisory:
https://github.com/advisories/GHSA-qcff-ffx3-m25c

Hm, running commands you give it is kinda the point.

oh wait, did I try to do this two years ago? did that not work?
I don't remember the context of this:
https://github.com/mateodelnorte/meta-git/commit/affdd44225d79398b3f8d5eb6183089126bba8c6

https://github.com/mateodelnorte/meta-git/pull/56

Yea this is fixed - you can try the example from the report and see it just errors
meta-git clone 'sss||touch HACKED'meta git cloning into 'ssstouch HACKED' at ssstouch HACKED

ssstouch HACKED:
fatal: Too many arguments.

and no HACKED file created
> ls -la | grep HACKED

the hackerone report it references also says "Closed(Resolved)"

looks like this can be updated in settings? @mateodelnorte
https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories


Adjust dfns extraction for HTML spec

See discussion in #332. The HTML spec does not follow the usual contract.

we now are beyond parity with shepherd, so closing - see also https://github.com/whatwg/html/pull/5694 for discussing on upstreaming the changes to the HTML spec


Added postgres documentation

This PR adds documentation on Postgres. The ticket states two bullets which I skipped:

SimpleReport data dictionary (already exists) - I skipped this because it is not applicable to UP and does not seem like a UP version would be helpful at this point
Include content for the environment RS is running i.e local, staging, and prod - I skipped this because the person who made the comment in the UP Documentation Skeleton doc did not respond when asked for further clarification on what they meant.

Test Steps:
N/A, it is a doc
Changes

Added documentation for postgres
Deleted the deprecated files that have been integrated into the new doc.
Renamed the doc that is relevant to the Covid pipeline but not UP to specify that.

@JessicaWNava @arnejduranovic
Out of scope topic: although azure storage are versioned and azure DB (postgres) are replicated, and azure has industry practice processed there to deal with the outages etc. there are still times when data (tests data, reports etc.) got lost and CDC as the data keeper might need a process to identify the lost data and either redo the reporting process from the senders or at least record the loss as an auditable event.


Add information about browser compatibility to Installation guide

Description (required)
This PR adds information about the browsers Astro supports by default through Vite.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
install-and-setup.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


tooltip placement (#4657)

Pull request opened by the merge tool on behalf of #4657

Merged in 7a571d80c3d5ddc07d68f6bc9432c87c49b29b0e


[P1] Add this OTHER Wi-Fi model camera to the system. (Amcrest 4MP ProHD Indoor WiFi/Ethernet)

Add this to MODEL and to automatically build the RTSP string:
Type: Wi-Fi AND Ethernet  (Add this cam to both, since it's Wi-Fi AND Ethernet)
Model:  Amcrest 4MP ProHD Indoor WiFi/Ethernet
Example RTSP:
rtsp://MYUSER:MYPASSWORD@<IP_ADDRESS>:554/cam/realmonitor?channel=1&subtype=0
This is the cam: :)
Amcrest 4MP ProHD Indoor WiFi, Security IP Camera with Pan/Tilt, Two-Way Audio, Night Vision, Remote Viewing, 4-Megapixel @30FPS, Wide 90° FOV, IP4M-1041W (White)
https://www.amazon.com/gp/product/B095XD17K5/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

Model added to the list

Done


After upgrading to 1.2.0 all the app console.logs are being displayed - INFO:CONSOLE

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.2.0
Platform / OS version: Windows 7 64 bit
Node.js version: 8.9.1

What steps will reproduce the problem?

I have an angular-cli project
updated puppeteer from 0.13.0 to 1.2.0
npm run e2e

What is the expected result?
On Mac OS all the tests run without any console.log messages
What happens instead?
On Windows all the console.log are being displayed like this:
[0320/130951.603:INFO:CONSOLE(107)] ...
This is not a bug i would say, it only occurs on Windows machines, I'm just wondering if there is a way to disable this logs.
Thank you!
ps. thanks for all the work on puppeteer!

@x1c0 these logs look like chromium's stdout. Could it be that you're launching puppeteer browser with dumpio: true flag?

@aslushnikov no, the only flags we are using are this ones: '--headless', '--disable-gpu', '--window-size=1000,600'

@x1c0 so where do you see these logs? can you paste a code snippet you use so that I can try to reproduce?

I see them directly on the terminal, and that only happens on windows machine, on OSX i don't have them :)

I'm also seeing this using chromedriver directly (and only on Windows). Maybe the issue lies there?

@JoelEinbinder: do you experience this as well?

So long story short, we're unaware what's going on. If you figure out something, please let us know.


Save local ERD diagram into a file

It basically adds a button to export the local ER diagram of a database into a .erd file respecting the xml structure

Looks nice to me, but now please squash all these commits into a single one.

Last merge is all commits squashed

I see, but every other commit is still here. In order to be merged, this branch itself should contain only one squashed commit.
You can drop all merge commits and squash the rest, then force-push to this branch to override commits.

I really need help

I was about to help, but hey, I see you were able to do it yourself!

Is it all right?

I believe you accidentally included changes from different commit 🤔
Basically, you can hard-reset your branch to even with dbeaver:devel, then apply all changes related to your feature, then force-push again.


Changing SID oracle xe 11

Apologies if this question has already answered but I couldn't find it anywhere.
I'll start saying that I'm completely new to oracle database, so bear with me, please.
Is there any way to change the SID?

Hey @pidario,
First of all, let me say thank you very much for using these images!
No worries at all, we have all been there at some point and it's always great to see newcomers! :)
For Oracle Database XE, there is no way to change the SID, it is hard-coded to XE.
While for other Oracle Database editions the SID can be freely chosen, it can, in general, not be changed after the initial creation of the database.
However, Oracle Database (since 12c) does provide a mechanism for logical databases, called Pluggable Databases. There you can freely choose a name and a default one is created as XEPDB1.
Depending on what your requirements are, that might be a way to go.
I can elaborate more if you tell me what it is that you are after.
Thanks,

Thanks for the answer, @gvenzl.
Basically I have a huge project with a whole lot of tests.
Some of these tests expect to connect to a local Oracle db through a custom sid and for some reason to me unknown connection string cannot be parametrized/changed.
I guess my best bet is to instead use a standard edition, it should not be a problem for my company since we have the licenses.
If you can offer another piece of advice it will be very welcome.

Hi @pidario,
There are a couple of ways to do that. First of all, when connecting to an Oracle database, the connection isn't established directly against a SID or instance anymore ever since Oracle Database 9i (about the year 2000). Back then, Oracle Database introduced database connection services, allowing applications to be abstracted from the actual instance name. For example, one could connect to localhost:1521/reporting and localhost:1521/sales ending up on the very same Oracle Database instance ORCLPROD (or something, just an example). To make migrations easy back then, by default, a service with the same name as the SID is created, so that legacy applications can continue to connect without requiring a new connect string. Unfortunately, that also makes many believe still today, that one connects to the SID directly and that services do not exist.
You can see that fact in the following output of lsnrctl status:
bash-4.4$ lsnrctl status

LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 05-MAR-2022 19:54:27

Copyright (c) 1991, 2021, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                05-MAR-2022 19:49:37
Uptime                    0 days 0 hr. 4 min. 49 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/homes/OraDBHome21cXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/5775acfe2c25/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=5775acfe2c25)(PORT=5500))(Security=(my_wallet_directory=/opt/oracle/admin/XE/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "XE" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "d74d243c27550afae055000000000001" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "xepdb1" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...

Notice particularly:
Service "XE" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...

There you see that there is a service called XE that connects to the instance XE.
How to create such a new service? Well, I'm glad to ask, it's really simple!
Just connect to your database as an admin user (e.g. SYSTEM) and create and start a new service via the DBMS_SERVICE package:
Using a service
Create new service
bash-4.4$ sqlplus system@localhost/XEPDB1

SQL*Plus: Release <IP_ADDRESS>.0 - Production on Sat Mar 5 19:57:52 2022
Version <IP_ADDRESS>.0

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

Enter password:
Last Successful login time: Sat Mar 05 2022 19:53:58 +00:00

Connected to:
Oracle Database 21c Express Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0

SQL> exec dbms_service.create_service('my_new_service','my_new_service');

PL/SQL procedure successfully completed.

Start new service
SQL> exec dbms_service.start_service('my_new_service');

PL/SQL procedure successfully completed.

SQL> exit
Disconnected from Oracle Database 21c Express Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0
bash-4.4$

Connect via new service
bash-4.4$ sqlplus system@localhost/my_new_service

SQL*Plus: Release <IP_ADDRESS>.0 - Production on Sat Mar 5 19:58:36 2022
Version <IP_ADDRESS>.0

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

Enter password:
Last Successful login time: Sat Mar 05 2022 19:57:54 +00:00

Connected to:
Oracle Database 21c Express Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0

SQL>

See new service in lsnrctl status
bash-4.4$ lsnrctl status

LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 05-MAR-2022 19:59:44

Copyright (c) 1991, 2021, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                05-MAR-2022 19:49:37
Uptime                    0 days 0 hr. 10 min. 6 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/homes/OraDBHome21cXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/5775acfe2c25/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=5775acfe2c25)(PORT=5500))(Security=(my_wallet_directory=/opt/oracle/admin/XE/xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "XE" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "d74d243c27550afae055000000000001" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "my_new_service" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "xepdb1" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully

Create new PDB which comes also with a service
For your needs, however, you could probably also just use -e ORACLE_DATABASE =<> which will create a new pluggable database that will also have a service with the same name created:
[gvenzl@localhost ~]$ podman run --name test -p 1521:1521 -e ORACLE_PASSWORD=LetsTest1 -e ORACLE_DATABASE=MY_NEW_DB gvenzl/oracle-xe:21-slim
CONTAINER: starting up...
CONTAINER: first database startup, initializing...
CONTAINER: uncompressing database data files, please wait...
CONTAINER: done uncompressing database data files, duration: 25 seconds.
CONTAINER: starting up Oracle Database...
...
...
...
CONTAINER: Creating pluggable database.

Pluggable database created.

Pluggable database altered.

Pluggable database altered.

System altered.

CONTAINER: DONE: Creating pluggable database, duration: 15 seconds.

#########################
DATABASE IS READY TO USE!
#########################

[gvenzl@localhost ~]$ podman exec -ti test bash
bash-4.4$ sqlplus system@localhost/MY_NEW_DB

SQL*Plus: Release <IP_ADDRESS>.0 - Production on Sat Mar 5 20:03:54 2022
Version <IP_ADDRESS>.0

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

Enter password:
Last Successful login time: Sat Feb 05 2022 21:32:46 +00:00

Connected to:
Oracle Database 21c Express Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0

SQL>

Hope this helps!

Thanks for the tip, @gvenzl I'll try to implement it.
For me the issue can be closed 😉


refactor: change format of adding type

🛠 Fixes #242
👨💻 Changes proposed

Refactored document method that contains <Type>Value to Value as Type

Files affected

src/main.ts
src/lib/general.ts

✔ Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
None
📷 Screenshots
Not Applicable

PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Issue Reference In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

Don't mention issues that way, do it this way👆🏽

:tada: This PR is included in version 2.6.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


cuelang.org: use cue repository as a source of truth for the module.cue schema

The modules reference contains a copy of the module.cue schema. It would be nice if the CUE repository itself was the source of truth for that instead of maintaining a copy.

This is closely related to https://github.com/cue-lang/cue/issues/3013. Because we could generate the spec, module.cue schema etc from that site-defined CUE version.

Closely related to https://github.com/cue-lang/cue/issues/3193. In so far as a resolution for this issue could use https://github.com/cue-lang/cue/issues/3193 to help get the job done.