text:
The Great Prettier Linting

When Prettier was updated to version 3, a config was required to specify an plugins, such as https://github.com/prettier/plugin-ruby, that were used. This PR retrospectively adds this change, along with the subsequent linting.
Changes proposed in this pull request

Specify plugin-ruby in prettier config file
Add Ruby dependencies for plugin-ruby
Lint codebase

In some cases Prettier and Rubocop were fighting over who's formatting rules would win. I tried to defer to Rubocop by telling Prettier (STree) to ignore those lines, but in some cases the ignores failed, so I told Rubocop to ignore them instead. I think it is more important that linting is reenabled soon, than the style be completely consistent.
Related
See #4089 for the Rubocop equivalent of this PR.
Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check for debug code
    - Check version

Note that GitHub is hiding some of my comments.

authors: StephenHulme sdjmchattie

repo: sanger/sequencescape


text:
The described method of testing the plugin locally does not work as described.

npm run link-watch will correctly start watching for changes to attempt to republish.
However, even though changes are detected it will always state "Package content has not changed, skipping publishing" which makes it impossible for your test sanity instance to receive those changes.

Even if you manually build and publish in the plugin, you then need to completely remove your node_modules folder and reinstall in your test environment to get a single change to come through.
Yalc just doesn't seem to work at all.

Issue was using pnpm

source: gharchive/issue

repo: sanity-io/plugin-kit

license: MIT

license_type: permissive

license_source: github-api


text:
TELEBOT ERROR

always getting this error anytime i run the program
raceback (most recent call last):
File "/home/christopalace/z-cam/zcam.py", line 3, in
from telebot import types
ModuleNotFoundError: No module named 'telebot'

Please wait for a day, I'll resolve all errors and update to you.

Follow the instructions given (go through readme.md again). You have not installed telebot library.

repo: sankethj/z-cam


text:
Remove print

Remove unnecessary print.
It causes weird issue on the prod, btw :) (looks like it can't access stdout and throw an error)
Is it possible to redeploy 0.9.7 with this fix?

Coverage decreased (-0.01%) to 81.545% when pulling a0a5cff76ad8df72ff566900e81a66729a69cd2f on andreyrusanov:remove_print into b0023832764e96a5649fbda7932687a254ac04a5 on sanoma:develop.

source: gharchive/pull-request

authors: andreyrusanov coveralls

repo: sanoma/django-arctic

license: mit

license_source: bigquery


text:
[GST-2369] Enable sansible users_and_groups to create system users

We are building some services that have data that persists between instances on an auxiliary EBS volume. When the service has a UID/GID that is mixed in with the regular users, the id can change between instances when new regular users are added.
If the service account is created outside of the user accounts uid/gid range, there is far less chance that the service uid/gid will differ between instances.

LGTM 👍

LGTM :+1:

authors: lobsterdore quater sreddel


text:
[Feature Request] Compare against some faster Python web frameworks

Hi there 👋 ,
It’d be interesting to see Vibora and Japronto in your performance comparisons.
They’re not really maintained, but their performance is in a different class from things like uvicorn/django/flask.

Hi @jordangarside ,
I just saw these projects. I will definitely have a look the comparison. Thank you! :D

Hi @jordangarside ,
I tried installing these projects on my machine but I was unable to get them up and running. I remember trying with 3.10 and 3.9 for sure and maybe even 3.8 .
Which Python version do you use them wiith?

Yeah it looks like I also had issues with the pypi installs for both,
For Vibora try this:
pip uninstall vibora
pip install Cython
git clone https://github.com/vibora-io/vibora.git
cd vibora
python build.py
python setup.py install

For Japronto try this:
pip install https://github.com/squeaky-pl/japronto/archive/master.zip

Thanks @jordangarside . I will give it a go :D

authors: jordangarside sansyrox

repo: sansyrox/robyn


text:
Pull-request desde la segunda cuenta a la primera

Actualizar el repositorio original con los cambios hechos en la segunda cuenta.

Capetar el pull-request

Capetar el pull-request


text:
Security Key Invalid Error #19

Security Key Invalid Errors do not happen anymore because
aws-es-kibana now supports both the URL or hostname syntax
for the cluster-endpoint

Is this PR likely to be merged or is there more work required for a fix?

repo: santthosh/aws-es-kibana


text:
multiplying tags

Every time I uninstall/disable the package, it multiplies how many different wraps are created. After trying this several times in search of a solution, it does this:
<<<p>p</p>>p</<p>p</p>>>test</<<p>p</p>>p</<p>p</p>>>
Each time I undo it removes the latest one only, so it would take many undos to get rid of all these.
This was triggered by an attempt to change the shortcut keys, which didn't work as expected, so I attempted to uninstall/reinstall to get back to the default settings, which is when this started.

+1 this issue has been happening to me, too. Nearly 6 months now.

Multiple cursors seem to trigger this as well.

authors: danferth jgeibrosch josheche

repo: sanusart/atom-wrap-in-tag


text:
Extension does not load on VS Code on Win Server 2022

I have tried to both install through the extension marketplace as through building it through Git, but once everything is downloaded and installed the placeholder of the icon just stays blank with a little blue clock next to it.
I have tried older versions (all of them actually) and they all produce the same issue. Not sure if I am missing another extension or if the server is messing with it, but any help would be greatly appreciated.

Is this only happening for you on WIn Server 2022, or are you seeing this in other environments as well?

I only have VS code on the one environment. I'll install it on a different computer tomorrow to try and see if the problem replicates off the server.

This works well on the version of VS code I spun up on a regular desktop so It is something server-side, that is causing the issue.
I will look to see if I can fix it, but any suggestions would be welcome. Thanks for taking the time to look at this.

It's likely the version of vscode you were using was outdated, you need to be on at least 1.9 for claude dev to work as expected. Closing but feel free to re-open if it still doesn't work after updating to the latest.

repo: saoudrizwan/claude-dev


text:
fix issue with hide, bump to 1.0.10

fix issue with hide and bump to 1.0.10

:+1:

authors: devinea eouin

repo: sapbuild/angular-szn-autocomplete-build


text:
Performance problem after updating the version

Hi Everyone,
I updated abap2xlsx version via abapgit but now i have a huge performance issue. Nothing changed, i am still using BIND_TABLE method with 16K rows and 60 columns.
Last time it was taking 20-35 seconds with huge file writer but now it is nearly 150 seconds.
I tried SET_TABLE and same issue.
Any advice ?

Can you try to do a trace with se30 to identify the bottleneck?

On Mar 16, 2018, at 4:12 AM, Bilen notifications@github.com wrote:
Hi Everyone,
I updated abap2xlsx version via abapgit but now i have a huge performance issue. Nothing changed, i am still using BIND_TABLE method with 16K rows and 60 columns.
Last time it was taking 20-35 seconds with huge file writer but now it is nearly 150 seconds.
I tried SET_TABLE and same issue.
Any advice ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

above is the SAT results, somehow GET_ROW method is taking %91 of total time.

Thanks,
I remember a similar issue in the past, I trying to recall what was the final outcome.

thank you :D please try to remember  i need to transport requests to test system very soon. now i noticed system is using object_collection_iteration method after version update do get next row. inside iteration method it is using standard table maybe this can cause performance issue i didin't get strange issue.

ok i think i found the issue;
first of all that iterator doesn't look necessary, we can store in a global hash table. Each time itearator is instantiated table keep moving from one variable to another variable.

and second thing is, program keep doing same search in each line. lets say there is row already in index 10, now it is searching if there is value in index 11, everytime it starts from the beggining.
So in row number 2000, it works 2000 times to check if there is any value. But if there was a global variable like last_value_cell, it can start directly from 2000 to check.

Hi @bilencekic I'm haveing the same problemm, all you did was change the method GET_ROW with that code?

@bilencekic / @MLDOliveira If you can provide a fix to the project it would be really great!

@bilencekic Could you commit your correction to the projetc?

@ivanfemia @MLDOliveira alright i will commit. I changed 2 classes in total, i will commit asap.

@MLDOliveira  have you tested after latest changes ? How is the performance ?

Could we close this issue? Thanks.

authors: MLDOliveira bilencekic ivanfemia sandraros


text:
Clarifies pin numbers

Resolves issue #4 by clarifying which pins can be used.

Thanks! :+1:

authors: sarfata spuder


text:
Dependency on lodash.isarray

I saw that 79e86f32ce3661569748164d26e2f2667a79699a introduced a dependency on lodash.isarray among others.
Is that really necessary? Any particular reason to not use the standard Array.isArray()?
Array.isArray() already appears in other parts of the code and we're having this message on install:
warning node-sass > lodash.isarray@4.0.0: This package is deprecated. Use Array.isArray.

Array.isArray is not available until Node 4.6.2. We support back to Node 0.10.

My apologies you are correct. Fixed by #1830.

authors: daltones xzyfer

repo: sass/node-sass


text:
could not install 3.0 on windows

got this error on windows with node0.12.2 npm 2.7.4 git windows mysysgit 1.9.5.1
npm ERR! Cloning into bare repository 'C:\Users\cfunk\AppData\Roaming\npm-cache
_git-remotes\git-github-com-am11-pangyp-git-a953a761'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
full trace
C:\Users\cfunk>npm install node-sass@3.0
npm ERR! git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config -
-get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:751:12)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:110:17)
npm WARN addRemoteGit     at maybeClose (child_process.js:1015:16)
npm WARN addRemoteGit     at Socket. (child_process.js:1183:11)
npm WARN addRemoteGit     at Socket.emit (events.js:107:17)
npm WARN addRemoteGit     at Pipe.close (net.js:485:12)
npm WARN addRemoteGit  resetting remote C:\Users\cfunk\AppData\Roaming\npm-cache
_git-remotes\git-github-com-am11-pangyp-git-7eb24aaa because of error: { [Error
: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit ]
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.ori
gin.url' }
npm ERR! git -c core.longpaths=true clone --template=C:\Users\cfunk\AppData\Roam
ing\npm-cache_git-remotes_templates --mirror git://github.com/am11/pangyp.git
C:\Users\cfunk\AppData\Roaming\npm-cache_git-remotes\git-github-com-am11-pangyp
-git-7eb24aaa
npm ERR! git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config -
-get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:751:12)
npm WARN addRemoteGit     at ChildProcess.emit (events.js:110:17)
npm WARN addRemoteGit     at maybeClose (child_process.js:1015:16)
npm WARN addRemoteGit     at Process.ChildProcess._handle.onexit (child_process.
js:1087:5)
npm WARN addRemoteGit  resetting remote C:\Users\cfunk\AppData\Roaming\npm-cache
_git-remotes\git-github-com-am11-pangyp-git-a953a761 because of error: { [Error
: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit ]
npm WARN addRemoteGit   killed: false,
npm WARN addRemoteGit   code: 1,
npm WARN addRemoteGit   signal: null,
npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.ori
gin.url' }
npm ERR! git -c core.longpaths=true clone --template=C:\Users\cfunk\AppData\Roam
ing\npm-cache_git-remotes_templates --mirror git@github.com:am11/pangyp.git C:
\Users\cfunk\AppData\Roaming\npm-cache_git-remotes\git-github-com-am11-pangyp-g
it-a953a761
npm ERR! git clone --template=C:\Users\cfunk\AppData\Roaming\npm-cache_git-remo
tes_templates --mirror git@github.com:am11/pangyp.git C:\Users\cfunk\AppData\Ro
aming\npm-cache_git-remotes\git-github-com-am11-pangyp-git-a953a761: Cloning in
to bare repository 'C:\Users\cfunk\AppData\Roaming\npm-cache_git-remotes\git-gi
thub-com-am11-pangyp-git-a953a761'...
npm ERR! git clone --template=C:\Users\cfunk\AppData\Roaming\npm-cache_git-remo
tes_templates --mirror git@github.com:am11/pangyp.git C:\Users\cfunk\AppData\Ro
aming\npm-cache_git-remotes\git-github-com-am11-pangyp-git-a953a761: Permission
denied (publickey).
npm ERR! git clone --template=C:\Users\cfunk\AppData\Roaming\npm-cache_git-remo
tes_templates --mirror git@github.com:am11/pangyp.git C:\Users\cfunk\AppData\Ro
aming\npm-cache_git-remotes\git-github-com-am11-pangyp-git-a953a761: fatal: Cou
ld not read from remote repository.
npm ERR! git clone --template=C:\Users\cfunk\AppData\Roaming\npm-cache_git-remo
tes_templates --mirror git@github.com:am11/pangyp.git C:\Users\cfunk\AppData\Ro
aming\npm-cache_git-remotes\git-github-com-am11-pangyp-git-a953a761:
npm ERR! git clone --template=C:\Users\cfunk\AppData\Roaming\npm-cache_git-remo
tes_templates --mirror git@github.com:am11/pangyp.git C:\Users\cfunk\AppData\Ro
aming\npm-cache_git-remotes\git-github-com-am11-pangyp-git-a953a761: Please mak
e sure you have the correct access rights
npm ERR! git clone --template=C:\Users\cfunk\AppData\Roaming\npm-cache_git-remo
tes_templates --mirror git@github.com:am11/pangyp.git C:\Users\cfunk\AppData\Ro
aming\npm-cache_git-remotes\git-github-com-am11-pangyp-git-a953a761: and the re
pository exists.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs
\node_modules\npm\bin\npm-cli.js" "install" "node-sass@3.0"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone --template=C:\Users\cf
unk\AppData\Roaming\npm-cache_git-remotes_templates --mirror git@github.com:am
11/pangyp.git C:\Users\cfunk\AppData\Roaming\npm-cache_git-remotes\git-github-c
om-am11-pangyp-git-a953a761
npm ERR! Cloning into bare repository 'C:\Users\cfunk\AppData\Roaming\npm-cache
_git-remotes\git-github-com-am11-pangyp-git-a953a761'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\cfunk\npm-debug.log

npm install pangyp works but npm install pangyp@a11.... version you are set to does not.


text:
Implement SASS_PATH

This is intended to implement the SASS_PATH environment variable.
Fixes #1678.
Tests
I've added two new API tests under .render:

"should check SASS_PATH in the specified order"
"should prefer include path over SASS_PATH"

If you run mocha test/api.js you should see these tests pass.
Manual checking
You can test it manually using the test fixtures as follows:
(lib/vars contains $color: red, and lib-alternate/vars contains $color: orange)
SASS_PATH is picked up
$ fixdir=`pwd`/test/fixtures/sass-path
$ export SASS_PATH=$fixdir/red
$ bin/node-sass $fixdir/index.scss
body {
  background: red; }

Earlier paths are preferred
$ export SASS_PATH=$fixdir/orange:$fixdir/red
$ bin/node-sass $fixdir/index.scss
body {
  background: orange; }

Specified include-paths still take precedence
$ bin/node-sass $fixdir/index.scss --include-path $fixdir/red
body {
  background: red; }

How can a travis build take quite so long? @nschonni is something up? Is there some way for me to start the travis build again?

Looks like OSX jobs got stuck and couldn't even be started.
here's an update from @travisci  : https://www.traviscistatus.com/incidents/4mvp857qx8bw

Thanks @saper, I hadn't seen that. It's all passed now. @nschonni are you happy that I've address all your points?

Looks good to me. Would that be possible to squeeze this into one commit?

@saper sure no problem

Nice work everyone. Added this to the next.minor milestone. I believe we have one other PR to land in 3.9.0 also.

Okay commits squashed into 3788c5d9570f2141ccbd6a574af21fcd57d63110.

That's odd, it's failing on a test which is nothing to do with this commit. Any ideas?

Big thank you for the contribution!

No problem. Thanks for all your help with this @saper et al., it was fun! Do you know when the next minor release will be?

authors: nottrobin saper xzyfer


text:
Removal of hello-world service deployment verification

Until now, the pre-install report has deployed a hello-world service into the Kubernetes cluster as an additional verification.  This feature is being removed because the publicly available google-sample image used by this feature is not being maintained.

This issue is addressed in Release 2.0.0.


text:
Unit tests for high level views

Current the high level views (adminsAsDiscovery, discoveryAsContent, partnersAsDiscovery, posAsMap, teachersAsDiscovery, and teacherSearchAsPage) lack unit tests. We should add unit tests for those views.

Do you want us to continue to merge off of rc1?

Yeah, I think we'll stick with rc1 until the official launch

Working branch info (for reference): https://github.com/gscoppino/STEM/tree/STEM_52_unit_tests_for_high_level_views

Hey @sathomas , let me pick your brain for a second regarding a test case I'm working on? In a test case for PoisAsMap, I'm attempting to add a Poi to a Pois, and expecting the DOM to update containing a new marker. However, this test fails as it is unable to find any markers in the DOM.
Here is the code, with the problem statement highlighted:
https://github.com/gscoppino/STEM/blob/STEM_52_unit_tests_for_high_level_views/test/views/poisAsMap.spec.js#L51
If you see anything immediately wrong with the structure of the test or the test fixtures...otherwise, don't worry about it.

Disregard that last comment, checking the code coverage in the browser test made the problem fairly obvious.

When testing partnersAsDiscovery and adminsAsDiscovery with a simple empty element as the starting point, eg.

 the render() function will fail since it attempts to render the PoisAsMap views when the necessary els do not exist yet. This could be fixed by just moving the PoisAsMap instantiations into the render() function, but I'm not sure that's a good idea. Thoughts?

I'm still recovering from (minor) surgery, so I may not be thinking straight, but

If you need a DOM element, you can insert a $scaffolding container in the page. There are some views that already do this, so that can give you a template.

If it's not too challenging, it would be better to test the view independently of other views. To do that, you could use a sinon stub.

Got it, so I should just provide the elements it expects to see in the scaffolding. Thanks!

Understood, I have been avoiding doing so. I'm considering making more use of mocks as well.

A problem I keep coming back to try and solve concerns a listener for an event set:searchQuery (to be emanated  from the teachers model which has an attribute searchQuery. However, I don't see this event on the catalog of built in Backbone events: http://backbonejs.org/#Events-catalog and the source for teachers.js doesn't emanate the event manually. Here's the test source:
    it('After render, if the teachers model has its search model reset, the searchForm property of this view should be updated and re-rendered.', function() {
        this.TeachersAsDiscovery.remove();
        var functionSpy = sinon.spy(this.TeachersAsDiscovery, 'renderSearch');
        this.TeachersAsDiscovery.initialize(); // re-bind event handler to use spy.
        this.TeachersAsDiscovery.render();
        functionSpy.reset(); // render makes a call to renderSearch which we don't care for in this test.

        this.TeachersAsDiscovery.model.unset('searchQuery', { silent: true });
        var newQuery = new Stem.Models.Search({
            label: 'Test Label',
            placeholder: 'Test Placeholder'
        });
        this.TeachersAsDiscovery.model.set('searchQuery', newQuery);

        functionSpy.callCount.should.equal(1);
        this.TeachersAsDiscovery.searchForm.model.should.equal(newQuery);

        functionSpy.restore();
    });

Yeah, I think that's a bug in the code itself. Should be 'change:searchQuery' instead of 'set:searchQuery'

The test code looks good BTW

Thanks! Making that change to the event listener fixes the problem, and does not break any other existing tests.

Different problem: When testing spotlights for AdminsAsDiscovery, the template which builds OaeAsSpotlightItem will fail out if picture isn't defined. The reason for this is I put up a fake server which returns a response without a picture property. Should I give it a picture property, or should the possible lack of a source be handled in OaeAsSpotlightItem's template. Here's the test I'm writing for reference:
    it('After render, if the spotlight list is populated, it should be shown.', function() {
        var baseUrl = Stem.config.oae.protocol + '//' + Stem.config.oae.host + '/api/group/';
        var groupUrl = new RegExp(baseUrl + '\d+');
        var subgroupUrl = new RegExp(baseUrl = '\d+/members$');
        var server = sinon.fakeServer.create()
        server.respondWith("GET", groupUrl, [200, { 'Content-Type': 'application/json'}, '{}']);
        server.respondWith("GET", subgroupUrl, [200, { 'Content-Type': 'application/json'}, '{}']);

        this.AdminsAsDiscovery.model.get('spotlights').add(new Stem.Models.Group());
        var $el = this.AdminsAsDiscovery.render().$el;
        $el.find('.spotlight-block').hasClass('util--hide').should.be.false();

        server.restore();
    });

Problem went away. Probably was actually caused by me returning objects instead of arrays (doh!...). Sorry about that. Got the tests working and pushed. Here is what the above test looks like now:
    it('After render, if the spotlight list is populated, it should be shown.', function() {
        var baseUrl = Stem.config.oae.protocol + '//' + Stem.config.oae.host + '/api/group/';
        var subgroupUrl = new RegExp(baseUrl + '.+/members([?]limit=\d+)?');
        var server = sinon.fakeServer.create();
        server.respondImmediately = true;
        server.respondWith("GET", subgroupUrl, [
            200,
            { 'Content-Type': 'application/json' },
            JSON.stringify([{"profile":{}, "role": "test"}, {"profile":{ "resourceType": "group" }, "role": "test"}])
        ]);

        /* Reset test fixtures */
        this.Discovery = new Stem.Models.Discovery();
        server.respond();
        this.AdminsAsDiscovery = new Stem.Views.AdminsAsDiscovery({
            el: this.$Scaffolding.empty(),
            model: this.Discovery.get('admins')
        });

        var $el = this.AdminsAsDiscovery.render().$el;
        $el.find('.spotlight-block').hasClass('util--hide').should.be.false();

        server.restore();
    });

Stephen: While working on discoveryAsContent, I cam across something rather unexpected. First of all, - the article tags are not closed in the template, so this causes rendering issues (I have fixed this on my branch). discoveryAsContent.ejs
Secondly, the template doesn't include discovery-nav or the landing-page-heading. So, if the template were empty, neither of these would be present on the page. Is this desired or something that should be fixed?

I wouldn't sweat the high-level templates too much. They're really only defined as a convenience for testing. The production app doesn't generate the page de novo from templates. Instead, the initial index.html provides the basic "infrastructure" for the page. The JavaScript code then "fills in" the dynamic content where it's appropriate. This approach allows the page to work even for users that don't have JavaScript. (You can try it by disabling JavaScript in your browser and visiting the site.) Obviously, the full functionality is available, but the site is (supposed to be) still usable.
It wouldn't hurt to add the closing tags, but there's no need to add unnecessary elements to the templates.

Hey Stephen:

Both me and Jordan are having trouble with tests which involve triggering radio buttons in the browser. Jordan's problem is DiscoveryAsContent`` child view switching, while mine is TeacherSearchAsPage``` main view switching. Triggering DOM events simply does not invoke the view functions that are watching for them. I ran into a similar problem with checkboxes which I got working by triggering a click and a change event on the necessary elements, but this does not work for the radio buttons. This is the only thing blocking us from bringing all view coverage to 100%. We may just settle for triggering the events on the views/models manually if we can't find a solution to that. Any feedback is appreciated.

Cleaning up test outputs. I adopted a format for the views you assigned us that looks like this:

Would you mind if I formatted the other existing view tests you wrote to look like this?

Suggest moving this issue to https://github.com/Georgia-STEM-Incubator/STEM if it's still desirable

authors: gscoppino jcarroll2007 sathomas

repo: sathomas/STEM


text:
refactor: remove redundant role

What
The <article> tag already has an implicit role defined by the HTML specification, so we do not need to add an ARIA role attribute.
Reference:

https://html-validate.org/rules/no-redundant-role.html
https://web.dev/learn/accessibility/aria-html#aria_in_html

Screenshot
After the change:

Thanks again!

repo: satnaing/astro-paper


text:
cor2.isThreadDead() is true after kaguya::LuaThread cor2 = state.newThread();

kaguya::LuaThread cor = state.newThread();
state("corfun = function(arg)"
"coroutine.yield(arg) "
"coroutine.yield(arg2) "
"coroutine.yield(arg3) "
"return arg*4 "
" end");//define corouine function
kaguya::LuaFunction corfun = state["corfun"];//lua function get
//exec coroutine with function and argment
std::cout << int(cor(corfun, 3)) << std::endl;//3
std::cout << int(cor()) << std::endl;//6
//resume template argument is result type
std::cout << cor.resume() << std::endl;//9
std::cout << int(cor()) << std::endl;//12
kaguya::LuaThread cor2 = state.newThread();
//3,6,9,12,
while(!cor2.isThreadDead()) <=====cor2.isThreadDead() is true
{
std::cout << cor2.resume<int>(corfun, 3) << ",";

}

coroutine is return "dead" if function is not assigned.
because can not distinguish both.
Can you try this?
state("corfun = function(arg)"
"coroutine.yield(arg) "
"coroutine.yield(arg2) "
"coroutine.yield(arg3) "
"return arg*4 "
" end");//define corouine function
kaguya::LuaFunction corfun = state["corfun"];//lua function get
kaguya::LuaThread cor2 = state.newThread(corfun);
//3,6,9,12,
while(!cor2.isThreadDead())
{
   std::cout << cor2.resume<int>(3) << ",";
}

Hi, it works.

Could you please help me for "attempt to yield across C-call boundary" ?
Luajit 2.1.0 beta3 + kaguya:
1.create a coroutine in C by newThread
2. run a lua function with corutine.yield()
3. error:
attempt to yield across C-call boundary

authors: guijun satoren

repo: satoren/kaguya


text:
Diktat 2.0 doesn't apply diktat-analysis.yml in sub-project

Tested with MAGIC_NUMBER in frontend using gradle plugin

Actually, configuration is invalid:
- name: MAGIC_NUMBER
  enabled: true

  # reduces speed of development on the FE
  # will remove it by for now
- name: MAGIC_NUMBER
  enabled: false

It contains two configurations: one enabled, the second one -- disables it

repo: saveourtool/diktat


text:
The year is 2139?

Please use some other year and maybe add a month for fun. Let people think and realize if there was some 2140 prediction, it might have been current at the time of that prediction but is being slightly adjusted with every mined block.
See my always current prediction*.
Search for word 2139 in this repository and you find the files in i18n directory: https://github.com/search?q=repo%3Asaving-satoshi%2Fsaving-satoshi 2139&type=code
* in the top-right corner of my prediction there is a short kode

Hi @carnhofdaki thanks for filing this issue! I notice we have a discrepancy in chapter 10 where we say the year is 2140, but in chapter 1 it's 2139. Is this what this ticket is referring to?
This project was started over two years ago so you are correct that that prediction has since changed :)

authors: carnhofdaki satsie

repo: saving-satoshi/saving-satoshi


text:
Chapter 3 help pages

Because chapter 3 has little actual user input I think these help pages will be more resource instensive. Alternatively we could remove the help pages for this chapter as I assume this will be considered the "easy" mode in the future where we can possibly add lesson content that actually requires help pages in the future

Closing as I am satisfied with the current resources as they exist now.


text:
Missing Icons for some Techs and libs

Describe the bug
In Choose Your Icon  of Icon part while we choose certain techs like electron or NPM the icon is not showing in the image.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://slickr.vercel.app/app'.
Click on 'Icon'.
Select  'electron' or 'NPM' from Choose Your Icon Dropdown.
See bottom right of the Image.

Expected behavior
The Icon should be added in the Image.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Home 2004
Browser Brave (Chromium)
Version 92

Yeah, I have found why it happens. It is because Slickr is using devicons library and certain icons donot have plain version. That's the reason.

Ok..🙂🙂

repo: saviomartin/slickr


text:
Proposal: ability to specify subdirectory containing vim plugin

Some color schemes have their vim plugins within a subdirectory of the repo. For instance, vim plug has the rtp option, which allows you to specify the subdirectory containing the vim plugin.

This seems to be a duplicate of #10.

This seems to be a duplicate of #10.

I read #10, but I found another method for this, maybe also work in Windows?
https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/52269934#52269934

Duplicate of #10

I figured out a workaround for this that works for my use cases.
First, install the main repository with some as = alias, then symlink or copy/install the desired subdirectory to the desired location using build =. Example:
require("paq") {

p {"vlime/vlime", as = "_vlime", build = "ln -fnrs vim ../vlime"}

}

You could use install or rsync here instead of ln, as desired.
(I know that this isn't actually necessary for Vlime anymore, but it's the first example I came up with).

authors: bR3iN gwerbin nanozuki rcoconnor savq

repo: savq/paq-nvim


text:
Can I unify the style of response in atreugo?

In the restful api project, i try to unify the style of response.
If the middlewares or filters return err, actx.Error() will response the body, i can't modify to json response.
I want
HTTP/1.1 401 Unauthorized
Server: atreugo
Date: Tue, 27 Aug 2019 03:38:40 GMT
Content-Type: application/json
Content-Length: 28

{"code":401,"msg":"Unauthorized"}

But middlewares or filters return err, the response is
HTTP/1.1 401 Unauthorized
Server: atreugo
Date: Tue, 27 Aug 2019 03:39:37 GMT
Content-Type: text/plain
Content-Length: 12

Unauthorized

utils.go line 38 ctx.Error(err.Error(), fasthttp.StatusInternalServerError)
func viewToHandler(view View) fasthttp.RequestHandler {
	return func(ctx *fasthttp.RequestCtx) {
		actx := acquireRequestCtx(ctx)

		if err := view(actx); err != nil {
			ctx.Error(err.Error(), fasthttp.StatusInternalServerError)
		}

		releaseRequestCtx(actx)
	}
}

router.go line 99 actx.Error(err.Error(), statusCode)
		if err != nil {
			r.log.Error(err)
			actx.Error(err.Error(), statusCode)
		}

Because actx inherits the method of ctx, so can use the ctx.method, Is the effect the same?

Because actx inherits the method of ctx, so can use the ctx.method, Is the effect the same?
Yes, It's explained in README 😄
And I've just added custom error view in configuration, so you could configure it with something like that:
config := &atreugo.Config{
		...
		ErrorView: func(ctx *atreugo.RequestCtx, err error, statusCode int) {
			ctx.JSONResponse(atreugo.JSON{"code": statusCode, "msg": err.Error()}, statusCode)
		},
                ...
	}

authors: imxxiv savsgio

repo: savsgio/atreugo


text:
Bad gateway on /longpolling/poll

Ah, I know why. It's not deployed with workers so we should not redirect /longpolling to 8072 in the ingress.

Resolved in 115d292c9fa084db31bbe24321afbcaf5240bf23

repo: sbidoul/runboat


text:
doda lane

Issue Fixed #
What was a problem?
How this PR fixes the problem?
Check lists (check x in [ ] of list items)

[ ] Test passed
[ ] Coding style (indentation, etc)

Additional Comments (if any)

comment on the pr

terraform plan

terraform plan

terraform plan


text:
Error in version 3.5.8?

When VS 2017 is opened (no solution), the "TSVN Pending Changes" window has this:
Exception details:
System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetDirectoryName(String path)
   at SamirBoulema.TSVN.Helpers.CommandHelper.GetRepositoryRoot(String path)
   at SamirBoulema.TSVN.Helpers.CommandHelper.GetPendingChanges()
   at SamirBoulema.TSVN.TSVNToolWindow.OnToolWindowCreated()
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

If the window is closed, then the Tsvn/Windows/Pending Changes menu shows a dialog:

This happened on two computers.
I've reverted to v3.4 and am fine for now.

Sorry! Should be fixed in the new 3.6 release.

authors: glittle sboulema

repo: sboulema/TSVN


text:
Forward port #3397 fix addSbtPlugin to use the correct version of sbt

https://github.com/sbt/sbt/pull/3397

Fixed in https://github.com/sbt/sbt/pull/3442

repo: sbt/sbt


text:
Added sbt-build-files-watcher

:point_right: https://github.com/tototoshi/sbt-build-files-watcher

Hi @tototoshi,
Thank you for your contribution! We really value the time you've taken to put this together.
We see that you have signed the Typesafe Contributors License Agreement before, however, the CLA has changed since you last signed it.
Please review the new CLA and sign it before we proceed with reviewing this pull request:
http://www.typesafe.com/contribute/cla

authors: tototoshi typesafehub-validator

repo: sbt/website


text:
Error In Macbook M1

Hello, I tried to run the project in my Macbook M1.
The LSPClient has this error:
Could not find module 'NimbleCore' for target 'x86_64-apple-macos'; found: arm64-apple-macos
Any ideas?
Btw, I'm in love with this project and Scade, looking forward for more!!

Hi @Ruivalim
Thanks for the feedback. We appreciate it.
What Xcode version do you use?
For the first, please try to clean the build folder and run it again.
If it doesn't help try to build Nimble Core with Xcode separately. To do that:

Select “New scheme…” in Product->Scheme->New Scheme…
Select as target “Nimble Core”
Build.
After that try to build the whole project (Nimble target). If you find some problems, please ask us, we will try to help you.

authors: Ruivalim bulantsevajo

repo: scade-platform/Nimble


text:
Update wagmi to latest version

It looks lke the LedgerConnector (@ledgerhq/connect-kit-loader) has been compromised
Context:
https://twitter.com/wevm_dev/status/1735289737185837303
https://twitter.com/bantg/status/1735279127752540465

We don't use it on SE2 (we just use Rainbow's kit LedgerWallet) so we should be fine.
In any case, updating wagmi with the last version (where they remove the dependency): https://github.com/wevm/wagmi/commit/53ca1f7eb411d912e11fcce7e03bd61ed067959c

We should create the NPX back-merge after merging this.


text:
Break apart a set of five tests

I was taking these tests for my first time and I found the first question confusing. When the answer I submitted failed, I could not tell whether it was because I didn't understand how .combine() worked at all, or because one of my answers was wrong.
This PR takes the fifth .combine() test and moves it to a separate question.  I think this will be fine because the first 4 .combine() tests are so similar.

I looked at this repo because I had the same issue and wanted to fix that too :) great PR

repo: scala-exercises/exercises-cats


text:
Please remove the ExecutionContext.global warning

I'm seeing this warning in my project:
[error] ... The global execution context in Scala.js is based on JS Promises (microtasks).
[error] Using it may prevent macrotasks (I/O, timers, UI rendering) from running reliably.
[error]
[error] Unfortunately, there is no way with ECMAScript only to implement a performant
[error] macrotask execution context (and hence Scala.js core does not contain one).
[error]
[error] We recommend you use: https://github.com/scala-js/scala-js-macrotask-executor
[error] Please refer to the README.md of that project for more details regarding
[error] microtask vs. macrotask execution contexts.
[error]
[error] If you do not care about macrotask fairness, you can silence this warning by:
[error] - Adding @nowarn("cat=other") (Scala >= 2.13.x only)
[error] - Setting the -P:scalajs:nowarnGlobalExecutionContext compiler option (Scala < 3.x.y only)
[error] - Using scala.scalajs.concurrent.JSExecutionContext.queue
[error]   (the implementation of ExecutionContext.global in Scala.js) directly.
[error]
[error] If you do not care about performance, you can use
[error] scala.scalajs.concurrent.QueueExecutionContext.timeouts().
[error] It is based on setTimeout which makes it fair but slow (due to clamping).
[error]
[error]             Future(1).map { x =>
[error]                   ^

I understand the intent, or why usage of scala.concurrent.ExecutionContext.global may be problematic, however it's a standard import that often gets used for code that cross-compiles to both the JVM and JS, which is one of the primary strengths of Scala.js. Having the official compiler perpetually warn on standard functionality, and suggest a third-party library, isn't good IMO. And why isn't that warning and option available on Scala 3.x?
Personally, I see only 3 possibilities:

Fix global in Scala.js proper;
Deprecate global and remove it completely in a future version;
Leave it as is, and remove the warning;

As it is, removing that warning is a lot of work, especially in a project that compiles for multiple Scala versions. Updating minor Scala.js versions shouldn't be this hard.
Just a suggestion, thanks a lot for your work 🤗

Have you read https://github.com/scala-js/scala-js/issues/4129, which led to this warning? There is a lot of context in there that explains how we got to make this decision. Do you have any new information that would invalidate the reasoning made there?

Hi @sjrd,
I remember that issue, I even added some input at that point — which was that, out of all solutions, continuing with Promise.then is probably the least desirable solution, being non-standard and leaky.
My problem with it is that it's violating the principle of the least surprise, because people that want to use global (or Future), expect fairness guarantees, not performance. Seeing it used in Scala.js was a surprise to me, because in my JavaScript days I've never thought of using it like that.
When importing global, I would expect it to use setTimeout. It's the most obvious implementation for when setImmediate is not available, as that's what people used and still use in the browser. Also, I did some measurements on Node.js, and the clamping on successive is around 1ms (instead of the usual 4ms, which is what happens in browsers). Not great, but not terrible.
The issue I'm seeing is with the behavior of Future. After the BatchedExecutor optimizations from Scala 2.13.2, the behavior of global would be less relevant. However, AFAIK, after this issue was reported, the global optimizations were reverted, people expected to import ExecutionContext.batched. Which for Future should be another way to solve performance issues, if global would actually use setTimeout.
Speaking of, what sense does ExecutionContext.batched make in Scala.js, given that global is implemented with Promise.then? The two may be equivalent in Scala.js, but they shouldn't be, as trampolining Runnable tasks still makes sense.
In the browser, at least, setTimeout(0) is throttled for UI responsiveness. And I remember that the reason for why setImmediate never happened as a standard was due to setTimeout(0) being enough, and it did not make sense to throttle setTimeout while introducing a setImmediate workaround, which would have ended up throttled as well. It's what people used for making their callbacks stack-safe, prior to the introduction of async/await and Promise.
In my opinion, setTimeout is perfectly acceptable.
But if it isn't, due to performance reasons, then own the current implementation, instead of triggering a warning.
If Future really is the equivalent of Promise, then it needs to be usable out of the box, with no warnings.
Triggering a warning on usage of ExecutionContext.global is like providing the user with a button, and then complaining when the button gets pressed. Like, don't provide the button, if the implementation is that terrible. Otherwise own it.
I'm basically complaining about usability here.

I have taken a stab at grouping the discussion here abit and giving my POV.
Usability

And why isn't that warning and option available on Scala 3.x?

Fair point, but IIUC feature-parity (and compiler option syntax) between Scala 2.x / 3.x are a more general issue.

however it's a standard import that often gets used for code that cross-compiles to both the JVM and JS, which is one of the primary strengths of Scala.js. Having the official compiler perpetually warn on standard functionality, and suggest a third-party library, isn't good IMO.

Absolutely. This isn't good. But IMHO it's the least bad we could come up with. So unless we have a better option (see second section below), I do not know what you want us to do.

Deprecate global and remove it completely in a future version;

That's essentially what the warning is (also see response below). Actually removing it is a bit tricky because it's in the Scalalib, which the Scala.js project doesn't directly control. In any case, a new major Scala.js version is not on the horizon any time soon, so IMHO, no point in figuring out how to remove it right now.

Like, don't provide the button, if the implementation is that terrible.

Fair. But you need to think about this more like a deprecation warning (we cannot remove it due to backwards compatibility guarantees). The reason it isn't directly implemented as a deprecation warning is due to how Scala.js itself cross compiles the scala library.
Alternatives

being non-standard

Could you clarify what you mean by non-standard? IIUC, Promise.then is part of the ECMAScript standard.

and leaky

https://github.com/nodejs/node/issues/6673#issuecomment-599188223
suggests that the issues you point out depend on the exact usage of the API and are not inherent to using Promise.then. Whether or not the Scala.js implementation exposes this leak, I do not know. But if it does, that is a bug and we should fix it.

When importing global, I would expect it to use setTimeout
In my opinion, setTimeout is perfectly acceptable.

See: https://github.com/scala-js/scala-js/issues/4129#issuecomment-733061939
Please address this point when you're arguing for using setTimeout.

If Future really is the equivalent of Promise, then it needs to be usable out of the box, with no warnings.

If Future were the (full) equivalent of js.Promise it wouldn't even try to offer fairness guarantees, just like js.Promise.
Ownership

But if it isn't, due to performance reasons, then own the current implementation, instead of triggering a warning.

I'm not 100% sure what you mean by "owning' here. We maintain (to the best of our abilities) both implementations.
Batched Execution

Speaking of, what sense does ExecutionContext.batched make in Scala.js, given that global is implemented with Promise.then?

I do not know.

IIUC, Promise.then is part of the ECMAScript standard.

The signature, yes, the implementation, no — there are 3 major browser engines with 3 different implementations of Promise.then, with slightly different contracts implemented (last time I checked, maybe that changed, but I seriously doubt it).

If Future were the (full) equivalent of js.Promise it wouldn't even try to offer fairness guarantees, just like js.Promise.

Right. Well, it would also leak in flatMap "tail-recursive" loops, but only on Chrome and Firefox, not Safari.

I'm not 100% sure what you mean by "owning' here. We maintain (to the best of our abilities) both implementations.

"Owning it" as in living with the chosen default, with no regrets 🙂

I think this is a contentious issue for a usability concern, and recommending that project to people is useful enough, so I'm going to backtrack on my suggestion.
Cheers,

authors: alexandru gzm0 sjrd

repo: scala-js/scala-js


text:
Update mill-main to 0.12.1

About this PR
📦 Updates com.lihaoyi:mill-main from 0.11.12 to 0.12.1
📜 GitHub Release Notes - Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "mill-main" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.lihaoyi", artifactId = "mill-main" }
}]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #60.

repo: scala-steward-org/mill-plugin


text:
add Jawn

green run with this change:
https://scala-ci.typesafe.com/job/scala-2.11.x-jdk8-integrate-community-build/91/
FYI @non

not bother thing to target 2.11.x/JDK6 here, just JDK8.
this will get merged into the 2.12.x community build next time I merge.

2.12.x merge went fine. (I had to disable 2 more support subprojects for now because the required libraries are currently commented out in the 2.12.x build.)

repo: scala/community-builds


text:
Can't build a project that depends on pickling

% git clone https://github.com/xeno-by/sbt-example-pickling.git
Cloning into 'sbt-example-pickling'...
remote: Reusing existing pack: 14, done.
remote: Total 14 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (14/14), done.
Checking connectivity... done

% cd sbt-example-pickling

% ~/bin/sbt --version
sbt launcher version 0.13.1

% ~/bin/sbt compile
[info] Set current project to sbt-pickling-example (in build file:/Users/royston/code/sbt-example-pickling/)
[info] Updating {file:/Users/royston/code/sbt-example-pickling/}sbt-example-pickling...
[warn] Binary version (0.8.0-SNAPSHOT) for dependency org.scala-lang#scala-pickling_2.10;0.8.0-SNAPSHOT
[warn] 	in sbt-pickling-example#sbt-pickling-example_2.10;0.1-SNAPSHOT differs from Scala binary version in project (2.10).
[info] Resolving org.scala-lang#scala-pickling_2.10;0.8.0-SNAPSHOT ...
[warn] 	module not found: org.scala-lang#scala-pickling_2.10;0.8.0-SNAPSHOT
[warn] ==== local: tried
[warn]   /Users/royston/.ivy2/local/org.scala-lang/scala-pickling_2.10/0.8.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-pickling_2.10/0.8.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/org/scala-lang/scala-pickling_2.10/0.8.0-SNAPSHOT/scala-pickling_2.10-0.8.0-SNAPSHOT.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: org.scala-lang#scala-pickling_2.10;0.8.0-SNAPSHOT: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: org.scala-lang#scala-pickling_2.10;0.8.0-SNAPSHOT: not found
	at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:213)
	at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
	at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
	at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:104)
	at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:51)
	at sbt.IvySbt$$anon$3.call(Ivy.scala:60)
	at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
	at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
	at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
	at xsbt.boot.Using$.withResource(Using.scala:11)
	at xsbt.boot.Using$.apply(Using.scala:10)
	at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
	at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
	at xsbt.boot.Locks$.apply0(Locks.scala:31)
	at xsbt.boot.Locks$.apply(Locks.scala:28)
	at sbt.IvySbt.withDefaultLogger(Ivy.scala:60)
	at sbt.IvySbt.withIvy(Ivy.scala:101)
	at sbt.IvySbt.withIvy(Ivy.scala:97)
	at sbt.IvySbt$Module.withModule(Ivy.scala:116)
	at sbt.IvyActions$.update(IvyActions.scala:121)
	at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1161)
	at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1159)
	at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1182)
	at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1180)
	at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
	at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1184)
	at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1179)
	at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
	at sbt.Classpaths$.cachedUpdate(Defaults.scala:1187)
	at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1152)
	at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1130)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
	at sbt.std.Transform$$anon$4.work(System.scala:64)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
	at sbt.Execute.work(Execute.scala:244)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)
[error] (*:update) sbt.ResolveException: unresolved dependency: org.scala-lang#scala-pickling_2.10;0.8.0-SNAPSHOT: not found
[error] Total time: 2 s, completed Jan 12, 2014 12:31:37 PM

Works for me using Pickling 0.10.0. See https://github.com/xeno-by/sbt-example-pickling/pull/2.

repo: scala/pickling


text:
Some in a macro reflect-based unapply method can crash the compiler

Compiler version
3.3.1, 3.4.0-RC1-bin-20231223-938d405-NIGHTLY (and presumably other)
Minimized code
UnapplyErrorMain.scala
@main def main() =
  val Unapplier(result) = Some(5)

UnapplyErrorMacro.scala
import scala.quoted._

object Unapplier:
  inline def unapplySeq(arg: Any): Option[Seq[Any]] = ${unapplyImpl('arg)}

  def unapplyImpl(using Quotes)(argExpr: Expr[Any]): Expr[Option[Seq[Any]]] =
    import quotes.reflect._
    Match(
      '{Option.empty[Int]}.asTerm,
      List(
        CaseDef(Unapply(TypeApply(Select.unique(Ref(Symbol.classSymbol("scala.Some").companionModule), "unapply"), List(TypeTree.of[Int])), Nil, List('{5}.asTerm)), None, '{Some(Seq(0))}.asTerm),
        CaseDef(Wildcard(), None, '{Some(Seq(0))}.asTerm)
      )
    ).asExprOf[Option[Seq[Any]]]

Output (click arrow to expand)

  exception while retyping x1.value of class Select # -1

  An unhandled exception was thrown in the compiler.
  Please file a crash report here:
  https://github.com/lampepfl/dotty/issues/new/choose
  For non-enriched exceptions, compile with -Yno-enrich-error-messages.

     while compiling: /Users/jchyb/Documents/workspace/dotty/UnapplyErrorMain.scala
        during phase: MegaPhase{elimErasedValueType, pureStats, vcElideAllocations, etaReduce, arrayApply, elimPolyFunction, tailrec, completeJavaEnums, mixin, lazyVals, memoize, nonLocalReturns, capturedVars}
                mode: Mode(ImplicitsEnabled)
     library version: version 2.13.12
    compiler version: version 3.4.0-RC1-bin-20231223-938d405-NIGHTLY-git-938d405
            settings: -classpath /Users/jchyb/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.4.0-RC1-bin-20231223-938d405-NIGHTLY/scala3-library_3-3.4.0-RC1-bin-20231223-938d405-NIGHTLY.jar:/Users/jchyb/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.12/scala-library-2.13.12.jar -d /Users/jchyb/Documents/workspace/dotty/.scala-build/dotty_3200b05eac-8d90288d6d/classes/main -java-output-version 17 -sourceroot /Users/jchyb/Documents/workspace/dotty

  Exception while compiling /Users/jchyb/Documents/workspace/dotty/UnapplyErrorMacro.scala, /Users/jchyb/Documents/workspace/dotty/UnapplyErrorMain.scala

  An unhandled exception was thrown in the compiler.
  Please file a crash report here:
  https://github.com/lampepfl/dotty/issues/new/choose
  For non-enriched exceptions, compile with -Yno-enrich-error-messages.

     while compiling: <no file>
        during phase: parser
                mode: Mode()
     library version: version 2.13.12
    compiler version: version 3.4.0-RC1-bin-20231223-938d405-NIGHTLY-git-938d405
            settings: -classpath /Users/jchyb/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.4.0-RC1-bin-20231223-938d405-NIGHTLY/scala3-library_3-3.4.0-RC1-bin-20231223-938d405-NIGHTLY.jar:/Users/jchyb/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.12/scala-library-2.13.12.jar -d /Users/jchyb/Documents/workspace/dotty/.scala-build/dotty_3200b05eac-8d90288d6d/classes/main -java-output-version 17 -sourceroot /Users/jchyb/Documents/workspace/dotty

Exception in thread "main" java.lang.AssertionError: assertion failed: no owner from  <none>/ <none> in x1.value
        at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
        at dotty.tools.dotc.transform.Erasure$Typer.typedSelect(Erasure.scala:717)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3129)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3437)
        at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$7(Erasure.scala:855)
        at dotty.tools.dotc.core.Decorators$.zipWithConserve(Decorators.scala:160)
        at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:855)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3160)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3437)
        at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$7(Erasure.scala:855)
        at dotty.tools.dotc.core.Decorators$.zipWithConserve(Decorators.scala:160)
        at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:855)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3160)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedIf(Typer.scala:1267)
        at dotty.tools.dotc.transform.Erasure$Typer.typedIf(Erasure.scala:888)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3169)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3374)
        at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3393)
        at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1058)
        at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1193)
        at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1197)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3168)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedLabeled(Typer.scala:1991)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3153)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3318)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:632)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3165)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3318)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.ReTyper.typedInlined(ReTyper.scala:100)
        at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:903)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3183)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3437)
        at dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2539)
        at dotty.tools.dotc.transform.Erasure$Typer.typedValDef(Erasure.scala:912)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3133)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3347)
        at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3393)
        at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1058)
        at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1193)
        at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1197)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3168)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.$anonfun$14(Typer.scala:1294)
        at dotty.tools.dotc.typer.Applications.harmonic(Applications.scala:2364)
        at dotty.tools.dotc.typer.Applications.harmonic$(Applications.scala:350)
        at dotty.tools.dotc.typer.Typer.harmonic(Typer.scala:121)
        at dotty.tools.dotc.typer.Typer.typedIf(Typer.scala:1297)
        at dotty.tools.dotc.transform.Erasure$Typer.typedIf(Erasure.scala:888)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3169)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3374)
        at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3393)
        at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1058)
        at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1193)
        at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1197)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3168)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedLabeled(Typer.scala:1991)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3153)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3437)
        at dotty.tools.dotc.typer.Typer.typedValDef(Typer.scala:2539)
        at dotty.tools.dotc.transform.Erasure$Typer.typedValDef(Erasure.scala:912)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3133)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3347)
        at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3393)
        at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1058)
        at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1193)
        at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1197)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3168)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3437)
        at dotty.tools.dotc.typer.Typer.$anonfun$62(Typer.scala:2602)
        at dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:256)
        at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2602)
        at dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:959)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3136)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3347)
        at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3393)
        at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1058)
        at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:2789)
        at dotty.tools.dotc.transform.Erasure$Typer.typedClassDef(Erasure.scala:1047)
        at dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:3148)
        at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3152)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3243)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3347)
        at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3393)
        at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1058)
        at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:2922)
        at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3194)
        at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3244)
        at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:174)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3321)
        at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3325)
        at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3437)
        at dotty.tools.dotc.transform.Erasure.run(Erasure.scala:143)
        at dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:354)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
        at scala.collection.immutable.List.foreach(List.scala:333)
        at dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:360)
        at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:315)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
        at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
        at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
        at dotty.tools.dotc.Run.runPhases$1(Run.scala:337)
        at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:348)
        at dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:357)
        at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:69)
        at dotty.tools.dotc.Run.compileUnits(Run.scala:357)
        at dotty.tools.dotc.Run.compileUnits(Run.scala:267)
        at dotty.tools.dotc.Driver.finish(Driver.scala:58)
        at dotty.tools.dotc.Driver.doCompile(Driver.scala:38)
        at dotty.tools.dotc.Driver.process(Driver.scala:197)
        at dotty.tools.dotc.Driver.process(Driver.scala:165)
        at dotty.tools.dotc.Driver.process(Driver.scala:177)
        at dotty.tools.dotc.Driver.main(Driver.scala:207)
        at dotty.tools.dotc.Main.main(Main.scala)

Notes:

Writing reflect-based UnApply calls works for other classes and objects. It's just Some that is causing the issues.
macro call has to be a part of the extractor for this to trigger
-Xcheck-macros gives no additional hints
When using Some in a quoted expression it compiles (and when converting that Expr to a Term and back), but we cannot match the representation of that Term exactly, as we cannot insert Unapply into Typed (as Typed requires a Term, and Unapply isn't that)

This is correct behavior - back then, I did not realise we had the reflect' TypedOrTest abstraction on Typed that does indeed allow us to insert a Tree instead of a Term


text:
Add cluster autoscaler for eks

Description
https://scalar-labs.atlassian.net/browse/DLT-7887
https://docs.aws.amazon.com/ja_jp/eks/latest/userguide/cluster-autoscaler.html
Add cluster autoscaler for auto scaling in EKS
ref: https://github.com/lablabs/terraform-aws-eks-cluster-autoscaler
Done

Add autoscaler to eks with helm_release
Default cluster_auto_scaling is false

📝 Just only suuport cluster_endpoint_public_access is public when first deploy

@ymorimo PTAL!

authors: feeblefakie tei-k

repo: scalar-labs/scalar-terraform


text:
Add option to ignore empty lines for MethodLengthChecker

Fix for #300 and #302

Codecov Report

Merging #301 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #301   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          59     59
  Lines        1464   1470    +6
  Branches      147    152    +5
=====================================
- Misses       1464   1470    +6

Impacted Files
Coverage Δ

...g/scalastyle/scalariform/MethodLengthChecker.scala
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Great! Thanks!

authors: canoztokmak codecov-io matthewfarwell

repo: scalastyle/scalastyle


text:
Speed up geometry functions

Speeds up geometry functions for calculating polygon intersection, especially for rectangles.

Nice 👍
Did you happen to profile the runtime of this solution? I'm wondering where we're spending the most time.

Yes, I used cProfile and found that the majority of the time was being spent on numpy array creation. I think at some point I might convert this to a numba program so it compiles jit.

Nice 👍
Did you happen to profile the runtime of this solution? I'm wondering where we're spending the most time.

Yes, I used cProfile and found that the majority of the time was being spent on numpy array creation. I think at some point I might convert this to a numba program so it compiles jit.

Fun! LMK if you start trying it out 🙂

authors: gatli phil-scale

repo: scaleapi/nucleus-python-client


text:
add intermediate method in active_for_authentication? for more flexibility

Small change which provides more flexibility for customizing active_for_authentication?. I needed to add additional condition and couldn't really do much as changing invited_to_sign_up? would break the behaviour in other methods and I ended up aliasing the "original" active_for_authentication?. Having intermediate method for it solves the problem.

Why overriding active_for_authentication? and calling super is not an option?

I was customizing some parts, so needed to change active_for_authentication? and using super where there was already added invited_to_sign_up? was not an option. Could only modify invited_to_sign_up? which would cause problems in other methods or use a reference to the active_for_authentication?  from Devise itself and add custom conditional.

authors: Azdaroth scambra


text:
Fitbit Sense . No data.

I have a new Sense and loved your clock face. Worked fine for a day or two but now no data is displayed just the icons..
Uninstalled, installed, rebooted, no joy. Fitbit help says ask you.
Can you fix this?

Most likely cause is battery saving preferences on your phone that prevent communication between the watch and the Fitbit app. The Fitbit app needs to be able to run in the background.

Fitbit has run in background permission.  SPECTRUM face works fine and several others do as wellOn Aug 20, 2021 12:02 PM, Nathaniel Schaaf @.***> wrote:
Most likely cause is battery saving preferences on your phone that prevent communication between the watch and the Fitbit app. The Fitbit app needs to be able to run in the background.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

This is now happening on mine too. Fitbit recently released an update, so I'll have to see what they broke. It's likely the weather updating portion.

It seemed that the weather info disappeared first but I am not sure.It is a great face, lots of dat, but concise Thanks On Aug 20, 2021 2:49 PM, Nathaniel Schaaf @.***> wrote:
This is now happening on mine too. Fitbit recently released an update, so I'll have to see what they broke. It's likely the weather updating portion.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

Yeah. They are now returning an int where they used to return a string. I'll have to update the watch face. Sorry for the inconvenience.

Not to worry.  Please let me know when I should try again.I appreciate the response On Aug 20, 2021 5:39 PM, Nathaniel Schaaf @.***> wrote:
Yeah. They are now returning an int where they used to return a string. I'll have to update the watch face. Sorry for the inconvenience.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

resolved 16747f1ae567390521ad78f8076780978d3625a3

I submitted the update to fitbit for review.

Thank youOn Aug 21, 2021 11:09 AM, Nathaniel Schaaf @.***> wrote:
I submitted the update to fitbit for review.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

This has been published to the Fitbit gallery.

I just installed the new version.  Works great! Thank youOn Aug 21, 2021 12:38 PM, Tom Bella @.> wrote:Thank youOn Aug 21, 2021 11:09 AM, Nathaniel Schaaf @.> wrote:
I submitted the update to fitbit for review.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

authors: Tombella schana

repo: schana/carim-clock


text:
It should be clearly documented that meta-data must be at the end of a task's line (no trailing tags, for example)

Expected Behavior
I expected all tasks with a priority above none to be returned.
Current Behavior
Several tasks are missing. If I remove #test from Task 4 it gets included in the result. It's something with it being the first item in the list, if I add a task to Task 1 it gets removed from the result.

Steps to Reproduce
Paste the following into a note:
# Obsidian Tasks Test
## First List Test
- [ ] Task 1 🔼
- [ ] Task 2 #test  ⏫
- [ ] Task 3 #test

## Second List Test
- [ ] Task 4 🔼 #test
- [ ] Task 5
- [ ] Task 6 #test
- [ ] Task 7 🔼 #test

 ## Priority
```tasks
not done
priority is above none
heading includes Test
```

Context (Environment)

Obsidian version: 13.19
Tasks version: 1.4.1
[X] I have tried it with all other plugins disabled and the error still occurs

Thanks for a great plug btw! Really appreciating it and excited to start using it :) .

Hello @tiktuk.
I think that it may not be mentioned in the documentation, but I believe that -- with the sole exception of an Obsidian block ID -- all contents of a task item (including tags) must precede Tasks' date and priority emojis and their values.

I did look through all the docs to see if it was mentioned before creating the issue. Could be it's just not mentioned. I would hope tags at the end of tasks were supported, it looks more natural to have them there, I think.

Hey @tiktuk, thank you for reaching out. And thank you @therden for your response.
You are correct. Tasks does not support anything except a block link after the meta-data like dates, recurrence, priority, etc. You are also correct that the documentation regarding this is outdated and in the wrong place. It is only mentioned for dates from a time when there were only dates: https://schemar.github.io/obsidian-tasks/getting-started/dates/

You can only put block links (^link-name) after the dates. Anything else will break the parsing of dates and recurrence rules.

The documentation should be updated. It is unfortunately unfeasible to support tags after the meta-data.

Thanks for the clarification, @schemar. And it's perfectly fine, actually, I was thinking that I had to add tasks in the beginning of the line like you have in your examples with - [ ] #task take out the trash . But that's not the case, I see :) .
Thanks again for the plugin. And thanks for helping out too, @therden :) .

Thank you for the PR! :heart:

authors: schemar therden tiktuk

repo: schemar/obsidian-tasks


text:
TypeError: Object(...) is not a function

Getting TypeError: Object(...) is not a function when trying to implement this per the demo.  Simply adding
import { Provider } from "react-alert";
import AlertTemplate from "react-alert-template-basic";

to the top of my file causes the error

Closing due to inactivity

Uncaught TypeError: Object(...) is not a function
at Provider (react-alert.js:303)
at mountIndeterminateComponent (react-dom.development.js:15425)
at beginWork (react-dom.development.js:15956)
at performUnitOfWork (react-dom.development.js:19102)
at workLoop (react-dom.development.js:19143)
at HTMLUnknownElement.callCallback (react-dom.development.js:147)
at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
at invokeGuardedCallback (react-dom.development.js:250)
at replayUnitOfWork (react-dom.development.js:18350)
at renderRoot (react-dom.development.js:19261)
at performWorkOnRoot (react-dom.development.js:20165)
at performWork (react-dom.development.js:20075)
at performSyncWork (react-dom.development.js:20049)
at requestWork (react-dom.development.js:19904)
at scheduleWork (react-dom.development.js:19711)
at scheduleRootUpdate (react-dom.development.js:20415)
at updateContainerAtExpirationTime (react-dom.development.js:20441)
at updateContainer (react-dom.development.js:20509)
at ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render (react-dom.development.js:20820)
at react-dom.development.js:20974
at unbatchedUpdates (react-dom.development.js:20292)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:20970)
at render (react-dom.development.js:21037)
at Module../src/index.js (index.js:21)
at webpack_require (bootstrap:782)
at fn (bootstrap:150)
at Object.0 (tarotCard.js:148)
at webpack_require (bootstrap:782)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1

I am also getting this error trying to use the basic template:
react-hot-loader.development.js:285 TypeError: Object(...) is not a function
    at Provider (react-alert.js:309)
    at ProxyFacade (react-hot-loader.development.js:791)
    at mountIndeterminateComponent (react-dom.development.js:14811)
    at beginWork (react-dom.development.js:15316)
    at performUnitOfWork (react-dom.development.js:18150)
    at workLoop (react-dom.development.js:18190)
    at renderRoot (react-dom.development.js:18276)
    at performWorkOnRoot (react-dom.development.js:19165)
    at performWork (react-dom.development.js:19077)
    at performSyncWork (react-dom.development.js:19051)

Line 309. Little obfuscated because of webpack.
  var root = Object(react__WEBPACK_IMPORTED_MODULE_0__["useRef"])(null);

My code:
import { transitions, positions, Provider as AlertProvider } from 'react-alert'
import AlertTemplate from 'react-alert-template-basic'

const alertOptions = {
  // you can also just use 'bottom center'
  position: positions.TOP_RIGHT,
  timeout: 5000,
  offset: '30px',
  // you can also just use 'scale'
  transition: transitions.SCALE,
}

const App = props => (
  <AlertProvider template={AlertTemplate} {...alertOptions}>
     // ...
  </AlertProvider>
)

My React was out of date, upgrading has resolved it.

authors: Santiago8888 abecks grounded-warrior schiehll

repo: schiehll/react-alert


text:
Custom SQL table is missing from DB init scripts

I'm having a hard time understanding how the mysql scripts are to be used to deploy the database. Per the documentation during install I have run:
mysql  -p << EOF
create database Seccubus;
grant all privileges on Seccubus.* to seccubus@localhost identified by ‘seccubus’;
flush privileges;
EOF
mysql -u seccubus -pseccubus < /opt/seccubus/var/structure_v6.mysql
mysql -u seccubus -pseccubus Seccubus < /opt/seccubus/var/data_v6.mysql
But after some initial testing on the site I'm getting errors that the customsql table is missing. Running:
mysql -u seccubus -pseccubus Seccubus < /opt/seccubus/var/upgrade_v5_v6.mysql
Created the missing table but also errrored out:
ERROR 1062 (23000) at line 97: Duplicate entry '3' for key 'PRIMARY'
Is this a bug in the structure_v6.mysql file? Is it meant to create a full schema at that version and just missing the table? Or should I have run an earlier structure_vN file and then run the ugprade? The installation actually still says to use the _v4 structure and data files as it runs. Is that the correct approach or is that message outdated?

Fixed when we implemented DB upgrade unit tests see #226


text:
Remove fluent asserts from raylib

version (unittest)
{
    import fluent.asserts;
}

pls delete this dead dependency from raymathext.d

This is not a dead dependency, the unittests use fluent asserts. Though I'm not sure we need it, I'm willing to accept a PR that switches to regular asserts.

Done in 4.2.0

authors: crazymonkyyy schveiguy

repo: schveiguy/raylib-d

license: Zlib


text:
Assets path in stylechecker

As I indicated in the Google Group, the log of stylechecker is printing false even though the assets exists.
The project tree is:
.
├── aop.docx
├── aop.md
├── aop.pdf
├── aop.xml
├── errores.txt
└── img
    ├── img01.jpg
    ├── img02.jpg
    ├── img03.jpg
    └── img04.jpg

In the XML, the links in each fig are:
<fig id="f01">
    ...
    <graphic xlink:href="img/img01.jpg" />
</fig>
<fig id="f02">
    ...
    <graphic xlink:href="img/img02.jpg" />
</fig>
<fig id="f03">
    ...
    <graphic xlink:href="img/img03.jpg" />
</fig>
<fig id="f04">
    ...
    <graphic xlink:href="img/img04.jpg" />
</fig>

In the parent directory, when I put:
$ stylechecker aop.xml > errores.txt

or:
$ stylechecker --assetsdir img/ aop.xml > errores.txt

or:
$ stylechecker --assetsdir ~/Descargas/scielo/aop/img/ aop.xml > errores.txt

or:
$ stylechecker --assetsdir ~/Descargas/scielo/aop/ aop.xml > errores.txt

or even:
$ stylechecker --assetsdir . aop.xml > errores.txt

I get the same output:
[
  {
    "_xml": "/home/nika-zhenya/Descargas/scielo/aop/aop.xml",
    "assets": [
      [
        "img/img01.jpg",
        false
      ],
      [
        "img/img02.jpg",
        false
      ],
      [
        "img/img03.jpg",
        false
      ],
      [
        "img/img04.jpg",
        false
      ]
    ],
    "dtd_errors": [],
    "is_valid": true,
    "style_errors": {}
  }
]

I get the same output if in the XML I change the links to:
<fig id="fX">
    ...
    <graphic xlink:href="./img/imgX.jpg" />
</fig>

Where X = each img number.

The stylechecker --sysinfo
{
  "libxml_compiled_version": "2.9.3",
  "libxml_version": "2.9.3",
  "libxslt_compiled_version": "1.1.29",
  "libxslt_version": "1.1.29",
  "lxml_version": "3.7.3.0",
  "packtools_version": "2.0.2",
  "python_version": "3.6.1",
  "system_path": [
    "/usr/bin",
    "/usr/lib/python36.zip",
    "/usr/lib/python3.6",
    "/usr/lib/python3.6/lib-dynload",
    "/usr/lib/python3.6/site-packages"
  ],
  "xml_catalog_files": "/usr/lib/python3.6/site-packages/packtools/catalogs/scielo-publishing-schema.xml"
}

Oh, is because i am putting relative paths img/imgX.jpg, when I shouldn't use them https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/article/genprac.html#links

repo: scieloorg/packtools


text:
Link para "Citado em SciELO"

Nos resultados de busca, "Citado em SciELO" deve ter um link que abre um modal com os artigos citantes contento:

Título
Autor
Periódico
Link

Os dados podem ser obtidos em http://citedby.scielo.org/api/v1/pid/?q=S0100-15742003000100008
onde S0100-15742003000100008 é o sufixo do DOI do artigo.

@deandr
O valor de q deve ser o PID SciELO, não o sufixo do DOI.

oops!

@alexxxmendonca
Tranquilo, vc não precisa saber de tudo, rsrsrs.

Trocar o texto em português para "Citado em SciELO"
A caixa modal abre mas só fica carregando. É normal isso?

OK para o item 1.
Para o item 2, não conheço o serviço mas acredito que seja o comportamento normal, visto que ao pesquisar por documentos que possuem citação ele retorna a lista. Por exemplo ao buscar pelo título exato (com aspas) "Educação ambiental, cidadania e sustentabilidade" que é o exemplo citado na descrição deste ticket ele retorna uma lista de documentos.

@alexxxmendonca
A resposta deste serviço é lenta mesmo. Estamos trabalhando para melhorar a performance, mas é uma query processada em tempo real.
Algumas respondem mais rápido pois tem uma camada de cache. Para as que já foram consultadas a resposta será mais rápida até que o cache expire.

@deandr ok, deu certo pesquisando pelo artigo mencionado.
Vou fechar o ticket quando o "Citado em SciELO" for corrigido.

@alexxxmendonca
Rótulo corrigido e atualizado no ambiente de homologação.

Testado e aprovado em http://homolog.search.scielo.org/

authors: alexxxmendonca deandr fabiobatalha

repo: scieloorg/search-journals


text:
Missing scheme in chart repo URI [skip ci]

The link was broken.

Great catch @pferreir, thanks for spotting it - I'll also rebase the gh-pages branch so it goes live on https://sciencemesh.github.io/charts/

authors: SamuAlfageme pferreir

repo: sciencemesh/charts


text:
Migrate iiif print derivatives to file metadata objects

Summary
Verify derivatives get migrated when converting fedora objects into valkyrie resources.
In this example it looks like the derivatives did not get migrated.
Acceptance Criteria

[ ]

Screenshots or Video
Testing Instructions
To be filled out by dev
Notes
⚠ Does not require client review

I have confirmed the following:

when a work is migrated via edit-save, it does not migrate its filesets.
when a file set is migrated via edit-save, it does create file metadata objects for all of the derivatives as well.
prior to migrating a file set, the file set dropdown does not show the files to be downloaded (this is likely a hyrax bug).
after migrating a file set, the dropdown now includes the derivatives to download.
the universal viewer was broken before migration, and is still broken for the child work that I migrated. This will be investigated via #838

The results of migrating file set eb12e0f1-5a91-4607-bb0d-550e92091281 is shown below.

Migration of a fileset
files now appear in list

file metadata objects
[#<Hyrax::FileMetadata id=#<Valkyrie::ID:0x00007f29b8cc5ae0 @id="187a13cd-f455-4fd7-928d-2ea67c94a2dc"> internal_resource="Hyrax::FileMetadata" created_at=Tue, 01 Oct 2024 21:36:22.852141000 UTC +00:00 updated_at=Tue, 01 Oct 2024 21:36:22.852141000 UTC +00:00 new_record=false file_identifier=#<Valkyrie::ID:0x00007f29b8cc3e20 @id="disk:///app/samvera/derivatives/eb/12/e0/f1/-5/a9/1-/46/07/-b/b0/d-/55/0e/92/09/12/81-thumbnail.jpeg"> alternate_ids=[] file_set_id=#<Valkyrie::ID:0x00007f29b8cc4aa0 @id="eb12e0f1-5a91-4607-bb0d-550e92091281"> label=[] original_filename="81-thumbnail.jpeg" mime_type="image/jpeg" pcdm_use=[#<RDF::URI:0xc1c64 URI:http://pcdm.org/use#ThumbnailImage>] format_label=[] recorded_size=[5619] well_formed=[] valid=[] date_created=[] fits_version=[] exif_version=[] checksum=[] frame_rate=[] bit_rate=[] duration=[] sample_rate=[] height=[] width=[] bit_depth=[] channels=[] data_format=[] offset=[] file_title=[] creator=[] page_count=[] language=[] word_count=[] character_count=[] line_count=[] character_set=[] markup_basis=[] markup_language=[] paragraph_count=[] table_count=[] graphics_count=[] byte_order=[] compression=[] color_space=[] profile_name=[] profile_version=[] orientation=[] color_map=[] image_producer=[] capture_device=[] scanning_software=[] gps_timestamp=[] latitude=[] longitude=[] aspect_ratio=[]>,
 #<Hyrax::FileMetadata id=#<Valkyrie::ID:0x00007f29b8c6eab0 @id="334cb409-39e8-42d5-9226-dff6bde66db9"> internal_resource="Hyrax::FileMetadata" created_at=Tue, 01 Oct 2024 21:36:29.336899000 UTC +00:00 updated_at=Tue, 01 Oct 2024 21:36:29.336899000 UTC +00:00 new_record=false file_identifier=#<Valkyrie::ID:0x00007f29b8c6ce40 @id="disk:///app/samvera/derivatives/eb/12/e0/f1/-5/a9/1-/46/07/-b/b0/d-/55/0e/92/09/12/81-xml.xml"> alternate_ids=[] file_set_id=#<Valkyrie::ID:0x00007f29b8c6dac0 @id="eb12e0f1-5a91-4607-bb0d-550e92091281"> label=[] original_filename="81-xml.xml" mime_type="application/xml" pcdm_use=[#<RDF::URI:0xc1c78 URI:http://pcdm.org/use#ExtractedText>] format_label=[] recorded_size=[73000] well_formed=[] valid=[] date_created=[] fits_version=[] exif_version=[] checksum=[] frame_rate=[] bit_rate=[] duration=[] sample_rate=[] height=[] width=[] bit_depth=[] channels=[] data_format=[] offset=[] file_title=[] creator=[] page_count=[] language=[] word_count=[] character_count=[] line_count=[] character_set=[] markup_basis=[] markup_language=[] paragraph_count=[] table_count=[] graphics_count=[] byte_order=[] compression=[] color_space=[] profile_name=[] profile_version=[] orientation=[] color_map=[] image_producer=[] capture_device=[] scanning_software=[] gps_timestamp=[] latitude=[] longitude=[] aspect_ratio=[]>,
 #<Hyrax::FileMetadata id=#<Valkyrie::ID:0x00007f29b8c67260 @id="439030f2-a900-4afa-94b7-32d1bfc7be85"> internal_resource="Hyrax::FileMetadata" created_at=Tue, 01 Oct 2024 21:36:32.930822000 UTC +00:00 updated_at=Tue, 01 Oct 2024 21:36:35.298206000 UTC +00:00 new_record=false file_identifier=#<Valkyrie::ID:0x00007f29b8c65410 @id="disk:///app/samvera/hyrax-webapp/storage/files/eb/12/e0/eb12e0f15a914607bb0d550e92091281/20088972.ARCHIVAL--page-1.jpg"> alternate_ids=[#<Valkyrie::ID:0x00007f29b8c658c0 @id="eb12e0f1-5a91-4607-bb0d-550e92091281/files/818a5a41-4a4f-4893-8435-52cb8ecf5f14">] file_set_id=#<Valkyrie::ID:0x00007f29b8c66180 @id="eb12e0f1-5a91-4607-bb0d-550e92091281"> label=[] original_filename="20088972.ARCHIVAL--page-1.jpg" mime_type="image/jpeg" pcdm_use=[#<RDF::URI:0xc1c8c URI:http://pcdm.org/use#OriginalFile>] format_label=["JPEG File Interchange Format"] recorded_size=[1516897] well_formed=["true"] valid=[] date_created=[] fits_version=[] exif_version=[] checksum=["3e7d81a2f7e4bb6d89db8da6081e17f2"] frame_rate=[] bit_rate=[] duration=[] sample_rate=[] height=["4672"] width=["3306"] bit_depth=[] channels=[] data_format=[] offset=[] file_title=[] creator=[] page_count=[] language=[] word_count=[] character_count=[] line_count=[] character_set=[] markup_basis=[] markup_language=[] paragraph_count=[] table_count=[] graphics_count=[] byte_order=["big endian"] compression=["JPEG"] color_space=["YCbCr"] profile_name=["Artifex Software sRGB ICC Profile"] profile_version=["2.1.0"] orientation=[] color_map=[] image_producer=[] capture_device=[] scanning_software=[] gps_timestamp=[] latitude=[] longitude=[] aspect_ratio=[]>,
 #<Hyrax::FileMetadata id=#<Valkyrie::ID:0x00007f29b8c60140 @id="748eda64-0ec6-464a-bd57-150603f9ef12"> internal_resource="Hyrax::FileMetadata" created_at=Tue, 01 Oct 2024 21:36:19.685388000 UTC +00:00 updated_at=Tue, 01 Oct 2024 21:36:19.685388000 UTC +00:00 new_record=false file_identifier=#<Valkyrie::ID:0x00007f29b8c7e488 @id="disk:///app/samvera/derivatives/eb/12/e0/f1/-5/a9/1-/46/07/-b/b0/d-/55/0e/92/09/12/81-json.json"> alternate_ids=[] file_set_id=#<Valkyrie::ID:0x00007f29b8c7f108 @id="eb12e0f1-5a91-4607-bb0d-550e92091281"> label=[] original_filename="81-json.json" mime_type="application/json" pcdm_use=[#<RDF::URI:0xc1ca0 URI:http://pcdm.org/use#ExtractedText>] format_label=[] recorded_size=[18642] well_formed=[] valid=[] date_created=[] fits_version=[] exif_version=[] checksum=[] frame_rate=[] bit_rate=[] duration=[] sample_rate=[] height=[] width=[] bit_depth=[] channels=[] data_format=[] offset=[] file_title=[] creator=[] page_count=[] language=[] word_count=[] character_count=[] line_count=[] character_set=[] markup_basis=[] markup_language=[] paragraph_count=[] table_count=[] graphics_count=[] byte_order=[] compression=[] color_space=[] profile_name=[] profile_version=[] orientation=[] color_map=[] image_producer=[] capture_device=[] scanning_software=[] gps_timestamp=[] latitude=[] longitude=[] aspect_ratio=[]>,
 #<Hyrax::FileMetadata id=#<Valkyrie::ID:0x00007f29b8c791b8 @id="f414cca5-c16a-47b2-b017-e14847458f0f"> internal_resource="Hyrax::FileMetadata" created_at=Tue, 01 Oct 2024 21:36:26.139220000 UTC +00:00 updated_at=Tue, 01 Oct 2024 21:36:26.139220000 UTC +00:00 new_record=false file_identifier=#<Valkyrie::ID:0x00007f29b8c77548 @id="disk:///app/samvera/derivatives/eb/12/e0/f1/-5/a9/1-/46/07/-b/b0/d-/55/0e/92/09/12/81-txt.txt"> alternate_ids=[] file_set_id=#<Valkyrie::ID:0x00007f29b8c781c8 @id="eb12e0f1-5a91-4607-bb0d-550e92091281"> label=[] original_filename="81-txt.txt" mime_type="text/plain" pcdm_use=[#<RDF::URI:0xc1cb4 URI:http://pcdm.org/use#ExtractedText>] format_label=[] recorded_size=[3981] well_formed=[] valid=[] date_created=[] fits_version=[] exif_version=[] checksum=[] frame_rate=[] bit_rate=[] duration=[] sample_rate=[] height=[] width=[] bit_depth=[] channels=[] data_format=[] offset=[] file_title=[] creator=[] page_count=[] language=[] word_count=[] character_count=[] line_count=[] character_set=[] markup_basis=[] markup_language=[] paragraph_count=[] table_count=[] graphics_count=[] byte_order=[] compression=[] color_space=[] profile_name=[] profile_version=[] orientation=[] color_map=[] image_producer=[] capture_device=[] scanning_software=[] gps_timestamp=[] latitude=[] longitude=[] aspect_ratio=[]>]

Closing - no work to do

authors: ShanaLMoore laritakr


text:
:gift: Add custom rubocop rule to double combo

Summary
ref: https://assaydepot.slack.com/archives/C0313NKG2DA/p1712176060340309

Notes
https://github.com/samvera/hyrax/pull/6221/files

https://github.com/samvera/hyrax/commit/ef2ffa446fc1fccfa36793d2ba0404931dd35ce8

authors: ShanaLMoore kirkkwang


text:
linalg.eigh generalized eigenvalue problem call to LAPACK DSYTRD returns error for n >= 32.767

Hi all,
for my research project I have to deal with very high dimensional dense generalized eigenvalue problems and try to solve them with scipy.linalg.eigh.
Everytime the dimensions of the matrices exceed 32.766 x 32.766 the function returns an error.
The following example is sufficient to reproduce the error:

import numpy as np
import scipy.sparse
import scipy.linalg

n = 32.767
a = np.random.rand(n,n)
a = a.T.dot(a) + scipy.sparse.identity(n)     # ensure that matrix is sym. pos. def.
b = np.random.rand(n,n)
b = b.T.dot(b) + scipy.sparse.identity(n)
scipy.linalg.eigh(a,b)

Warning: This example uses a LOT of RAM but is the smallest possible error example.
Error message:

 ** On entry to DSYTRD parameter number  9 had an illegal value
Segmentation fault (core dumped)

Scipy/Numpy/Python version information:

1.3.2 1.17.4 sys.version_info(major=3, minor=6, micro=8, releaselevel='final', serial=0)

Since LAPACK returns that the 9th parameter has an illegal value I suppose that there might be an error in the scipy call to the LAPACK function.
Thank you very much for your efforts in advance!
Best regards

Yes that's because LWORK is 32 bit signed integer. So you cannot use more than that to allocate address. However your optimal block size is probably more than 2 and hence you get a result that overflows the 32bit integer. See LWORK definition here.
Unless you use somehow a long integer fortran compiled lapack, you can't get passed that value. Unfortunately there is nothing for us to do on that front.

repo: scipy/scipy