ALA CSS refactoring

@aparkening, @murtaugh, @maban,
Tim and I decided refactoring ALA's CSS is due. We just started using Sass as a CSS preprocessor and are looking into using a combination of SMACSS (https://smacss.com/) and BEM (https://en.bem.info) to help us decide file structure and naming conventions. We're in the process of establishing a workflow so any advice / tips will be more than welcome!

I approve :) :+1:

I am not familiar with SMACSS, but will be reading up on it post haste.
In terms of SASS I recommend staying away from Nesting altogether.
I have gotten the most bang for my buck using variables along with mixins.
I have been enjoying the new Functions feature as well.
This is probably all covered in SMACSS knowing my luck. lol.
-ian
On Mon, Nov 30, 2015 at 10:32 AM, Michelle Kondou<EMAIL_ADDRESS>wrote:

@aparkening https://github.com/aparkening, @murtaugh
https://github.com/murtaugh, @maban https://github.com/maban,
@ianvanhoof https://github.com/ianvanhoof
Tim and I decided refactoring ALA's CSS is due. We just started using Sass
as a CSS preprocessor and are looking into using a combination of SMACSS (
https://smacss.com/) and BEM (https://en.bem.info) to help us decide file
structure and naming conventions. We're in the process of establishing a
workflow so any advice / tips will be more than welcome!
—
Reply to this email directly or view it on GitHub
https://github.com/alistapart/AListApart/issues/327.

I went home last night and read up on both SMACSS and BEM. They were both interesting reads. It seems, to me anyway, that they are applying OOP concepts to the practice of putting together a front end.
There were a couple of things that I saw, and would like to add my two cents if you don't mind (holding a humble hat.)

Regarding naming convention(SMACSS) - I find it more understandable when names are fully written out. (ex. layout-classname NOT l-classname) I understand this is somewhat of a personal preference, but I found it to be better practice when working with teams. Especially in terms of someone new being added to the project in the future.

The "Changing State" naming convention(SMACSS) - I tend to lean toward the "Sub-module naming convention" (btn-state) as opposed to the "State Naming convention" (.is-pressed, is-disabled).

The BEM methodology of file system organization (splitting the CSS into small css files that include a media query) - If you use SASS for this it will create more http requests. One extra request per css file. That will slow down page load, and I hesitate to recommend this because it's trading page speed for developer convenience. My suggestion would be to use something like GULP to compile, then concatenate them into one big file.

Using Sass complements all these principles nicely, but again, each time I have used nesting I ended up undoing it all because it just confuses things too much at every level.

Anyway...that's all I have for now.
I hope this helps.
:)

Thank you Ian, that's such valuable insight!
We had already decided to keep nesting flat :) You are right, I see no reason for using the BEM methodology of file system organization, even though we are using Gulp. Sass does a wonderful job keeping things in separate files, if we decide to go down that road.


Updated the hover styling in the top-nav bar

Added the hover styling to top-nav bar options.

Added diff in hover and active color (hover color#5b5a5a slightly lighter than active[#4b4b4b])

Updated the favicon with Debezium logo of transparent background.
screenshot

screenshot

LGTM, thanks! Note I've set up the staging environment now (atm. you can preview this change there). In order to use this, push changes to the staging branch, which will trigger a build and publication to https://debezium-builder.github.io/.

Applied. Thx!


added missing publish-uploaded-assets.xml workflow

Closes https://github.com/opencast/opencast/issues/4715

Submitted ICLA. Will it auto detect my new ICLA submission or do I have to manually trigger it?

Submitted ICLA. Will it auto detect my new ICLA submission or do I have to manually trigger it?

It will be automatically detected, thanks for your PR, it will be reviewed next Tuesday on the weekly tech meeting. You can also participate. Details are in docs.opencast.org

Hi, I'm reviewing your code. Can you rol back all the package.jsonand package-lock.json changes?
Those changes are maintained using dependabot and are out of the scope of this PR.
And again, thanks for you PR! 🙂

Update Bot added those changes. I will remove them now.

Hi, I'm reviewing your code. Can you rol back all the package.jsonand package-lock.json changes?
Those changes are maintained using dependabot and are out of the scope of this PR.
And again, thanks for you PR! 🙂

Done. Thank you 😃

Finally, can you change the target branch to r/12.x?

Finally, can you change the target branch to r/12.x?

No, accept it as it is, or reject it.

Closed in favor of #4757 for a rebase to r/12.x. This change is still contributed to you @aliyevTU.

No, accept it as it is, or reject it.

Thank you, @aliyevTU. We value all contributions and do not want to discourage people. At the same time, we want Opencast adopters running older supported versions to benefit from new features and bug fixes. According to our set guidelines, we thus may ask contributors to rebase a PR to a different target. We hope you will contribute again in the future and if you need any help in "running the right Git commands", feel free to reach out. Thanks again.

No, accept it as it is, or reject it.

Thank you, @aliyevTU. We value all contributions and do not want to discourage people. At the same time, we want Opencast adopters running older supported versions to benefit from new features and bug fixes. According to our set guidelines, we thus may ask contributors to rebase a PR to a different target. We hope you will contribute again in the future and if you need any help in "running the right Git commands", feel free to reach out. Thanks again.

Thank you. I tried myself and I literally could not change the branch. So I thought the only possible way to solve it without spending more time on it, is to either accept it directly to develop or to do the whole PR from scratch. Thank you for taking over this part.
Problems I had was with too many merge conflicts when I changed the branch. My forked OC version only had branches till r/6.x, I tried adding r/12.x from official repo, and then changing the PR to my new forked r/12.x branch. But it generated so much merge conflicts that I just undone that, and informed @mliradelc that I can not change the branch on this PR.


Dry run of query when there's changes in the text

The same as provided by the default Bigquery interface in the Google Cloud portal, a dry run of the query should be done to access syntax errors and the amount of bytes that will be queried.

This ticket can be broken in two if it makes sense technically.
The query errors should also be made available in the "Problems" tab in vscode.

First approach implemented in version 0.0.10 of the extension.


Add language index file to limit languages attempted

To avoid 404s when trying to locate a language file, why not implement an index containing the implemented languages? If you just standardise on 'languages.json' under the path, it could be pulled as the first op, parsed and then unimplemented languages could just be skipped.

Fixed in f451d7309d070e5698b9a1515f54c5d63094b1aa. Thanks for merging.


heeeelp

can you make a video plz to describe how ti install your project i need it

@msaminito I don't have an active account in unit pay right now...
Can you provide details what exactly does not work? The error description etc

Hi
I just want to switch unitpay with j shopify i seen your project gem
version 1.0.1 on github and really i don't how it work
Installation, connection,....
Thank you
Le dim. 24 mai 2020 à 05:57, Nikolay Sverchkov<EMAIL_ADDRESS>a
écrit :

@msaminito https://github.com/msaminito I don't have an active account
in unit pay right now...
Can you provide details what exactly does not work? The error description
etc
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ssnickolay/unitpay/issues/11#issuecomment-633179503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKIB3ILFWOHH7SVD33HQ3DRTCSNLANCNFSM4NIURNGQ
.

I'm sorry, but I'm not familiar with shopify and don't know is it possible\how to install any external pay method

Ok thank you, have a good day
Le lun. 25 mai 2020 à 09:05, Nikolay Sverchkov<EMAIL_ADDRESS>a
écrit :

I'm sorry, but I'm not familiar with shopify and don't know is it
possible\how to install any external pay method
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ssnickolay/unitpay/issues/11#issuecomment-633439250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKIB3KPWUYGOCZ74ONQETDRTIREBANCNFSM4NIURNGQ
.


Add docker e2e tests for oracle client and jdbc client

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

What do you think about removing terraform altogether now that we have a better and much faster way to set up this environment?

What do you think about removing terraform altogether now that we have a better and much faster way to set up this environment?

I'm fine with that.
@therve Any though about removing the terraform test?


Fix default AppArmor profile to contain version suffix

The default AppArmor profile is now container-default-$VERSION, which
was previously only container-default.
Requires https://github.com/containers/common/pull/185
Fixes https://github.com/containers/libpod/issues/6724

I think we need to fix that in c/common as c/common/pkg/apparmor is broken. See https://github.com/containers/libpod/issues/6724#issuecomment-648105172.

I think we need to fix that in c/common as c/common/pkg/apparmor is broken. See #6724 (comment).

Yes, see https://github.com/containers/common/pull/185

Okay, closing in favor of an containers/common-only solution.


fix(material/table): data not being re-rendered when sortingDataAccessor is changed

Fixes the table's data not re-rendering when a new sortingDataAccessor is assigned to the data source.
Fixes #15888.

@crisbeto  It looks like this PR is outdated, please rebase the PR.

I spent some time trying to get this to pass all the internal checks, but it appears to be more breaking than I was expecting. The problem is that changing the sortDataAccessor to a getter/setter causes compilation errors for apps that do something like this:
class MyDataSource extends MatTableDataSource {
  override sortDataAccessor = customSortDataAccessor;
}

I tried working around it with the defineProperty call, but it ended up causing other issues. We should discuss whether it's worth the effort to continue with this change.


Upload results in 500 status error

Cannot upload, wb.scribble.com/resumeableupload results in a 500 status error.

Resolved when we changed server
Actual upload functionality not yet up.


Proposer validation

Fixes #85:

Added proposer validation
Renamed get_shard_and_committees_for_slot to get_shards_and_committees_for_slot
Updated attestation slot number validation rule to slot <= parent.slot_number and slot >= max(parent.slot_number - CYCLE_LENGTH + 1, 0)

@djrtwo thank you! ready for review again.

lgtm. merging


uses envConfig as defaults in service

This makes all environments work with the defaults set in iohk-nix. It handles pbftThreshold, genesisFile, genesisHash and edgeHost from envConfig. It also handles automation of a default topology.

bors r+


chore: After verifying the calls the counts don't decreased

Verifying the calls doesn't decreased the counts
Hello there I'm really fan of your library and I wish I help you improving it,
So I found this problem
What is the problem
I was writing unit test,
and while writing the first test it works fine and as expected,
but after writing the second test it was behaving wrongly, I got confused, and I did some the debug and found that the counts doesn't decreased after passing the first unit test
let me explain with the code
const mock = Mock(Collection).create(); // create a mock
const userDao = new UserDAO(mock);

Deno.test("test saving user throws UnAbleToWriteDatabase",
    async () => {
        mock.method("insertOne").willReturn(Promise.reject("saS"));

        try {
            await userDao.addUser(userMockObject);
            throwExceptionIfTestReachHere();
        } catch (e) {
            assertOfType(e, UnableToWriteOnDatabase);
        }
        mock.expects("insertOne").toBeCalled(1);
        mock.verifyExpectations();
    }
);

the previous code works fine
but If I write another test EVEN IT'S THE SAME CODE IT WILL FAILS
Deno.test("test saving user throws UnAbleToWriteDatabase",
    async () => {
        mock.method("insertOne").willReturn(Promise.reject("saS"));

        try {
            await userDao.addUser(userMockObject);
            throwExceptionIfTestReachHere();
        } catch (e) {
            assertOfType(e, UnableToWriteOnDatabase);
        }
        mock.expects("insertOne").toBeCalled(1); // HERE THE ERROR WILL HAPPENED
        mock.verifyExpectations();
    }
);

The exception will be
error: Error: Method "insertOne" expected 1 call(s), but received 2 call(s).
throw new MockError(
that means that the counts doesn't decreased after verifying (I tried the other verifying way and it's the same)
As I said I'm really big fan of your library. All Lucks

hi @a3bd2lra7man! thanks for raising this issue. i think the issue is with the mock assignment you have. at the top, you create the mock and use the same mock in both of your tests. since the mock is the same, its properties will remain the same in each test (e.g., the calls property). what i think you should try is to create the mock in each test so that each test contains its own version of the mock. that way, the calls start at 0 for each test. let us know if this solves your problem. thanks!

hi @a3bd2lra7man, closing this. feel free to re-open and discuss.


Getting deprecations warning for subscribe to topics format

Describe the bug
The format for topics is changed.
Getting deprecations warning: Format '/topics/marketing' is deprecated. Only 'marketing' should be used in subscribeToTopic.
Expected behavior
Deprecation warnings should not come
Plugin Version
2.0.3

im having the same problem with plugin version 2.0.5, only for iOS build tho, Android works swimmingly


Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Hi all.
I get this error when I try to compile the code.
I tried with the recommended versions and the latest version of the libraries and arduino tools.
I also deleted the Arduino15 folder
But nothing works. Do you have an idea?
https://pastebin.com/5ZDthwK8
Thx for help !

It seeams that ESPAsyncTCP.h library is missing.
https://github.com/me-no-dev/ESPAsyncTCP


Second navigation method also for long click in menu

Currently this new feature is only used for the action bar.
For intuitive use it should also be available on long click in the cachedetail menu and maybe also represented by another icon in the background.
I like this feature because I use radar and map equally but I almost never use the actionbar to start the activity but the menu.

Do you mean in the context menu which opens on long clicking a cache in a cache list? Or do you mean long clicking the menu (at the bottom) in the details activity. The last one is technically not possible as far as I know.

My original posting was for the menu (at bottom)...sad to hear that this is not possible. I don't know how other users use the feature but I guess most use the menu but not the actionbar.
Also for the long click method from list it could be useful but here it might make more sense to append another line below the first nav-method.

I mostly use the action bar :) and therefore are happy with the current implementation.
I think it is really not easy to strike the balance between functionality for the experienced and overload for the beginner or casual user...

I use the action bar, so i'm also happy.
By implementing this feature i expected such a request for the menu, but the intention was to keep the menu "clean". Adding it to the menu too isn't hard to implement but i'm not sure if it's the right way.
Further comment are welcome ...

The menu is to crowded already anyway, therefore I would not want to add another menu item, which is also available with one click more in the navigation sub menu.

So the conclusion would be:
Long click on preferred navigation in cache-menu (bottom) = Technically not possible ! (Right?)
Second menu-item in this place = Not wanted
Long click in cache/waypoint list on preffered navigation = Technical possible ?

Nope. The long click for context menus is available for view parts of an activity. Not for menu items themselfes. And even it were possible, I would not recommend that because that is absolutely counterintuitive and not good for learning a consistent use of the user interface (by the user).

Maybe I will have a look at a improved description in the settings for that to make it understandable. The standard user might not now what "Actionbar" means. So as me..:-)


fix: Fixed  typo in Sound detection sensitivity entity description for smart cameras

Description
Fixed typo in the entity description of sound detection densitivity to sensitivity
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Tested locally with a webcam that has the Sound Detection Sensitivity option.
Found that the enity was added with Devicename Sound Detection Sensitivity and id: devicename_sound_detection_sensitivity

[X] Local Testing

Diagnostic File
None needed, visual bug (typo)
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

@shihuimiao @zlinoliver can you take a look at this PR?

Closing was press of the wrong button.
@shihuimiao @zlinoliver can you take a look at this PR?


Could not send email as a not existed method in ext.rb

I can sent email only after comments the line in padrino-mailer  ext.rb 118 line.
      encoded.to_lf.split("\n").each { |line| logger << ("  " + line) } if logger.debug?
def do_delivery_with_logging       logger.debug "Sending email to: #{destinations.join(" ")}"       encoded.to_lf.split("\n").each { |line| logger << ("  " + line) } if logger.debug?       do_delivery_without_logging     end     alias_method_chain :do_delivery, :logging if Padrino.respond_to?(:logger)
other wise , a exception will pop up
NoMethodError - undefined method to_lf' for #<String:0x007fad3e6a10b0>: 	/Users/hunter/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/padrino-mailer-0.13.1/lib/padrino-mailer/ext.rb:118:in do_delivery_with_logging'
/Users/hunter/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/mail-2.6.4/lib/mail/message.rb:239:in deliver' 	/Users/hunter/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/padrino-mailer-0.13.1/lib/padrino-mailer/helpers.rb:113:in deliver'
/Users/hunter/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/padrino-mailer-0.13.1/lib/padrino-mailer/helpers.rb:49:in `deliver'

Fixed on master by<PHONE_NUMBER>277ff05e947d238edb5dddee430933.
To fix on 0.13.1 add gem 'mail', '2.6.3' to your app Gemfile.
Broken by https://github.com/mikel/mail/commit/9b0620d67c997ab80cf67cc7ecfde3a78fd87377


Implement property typehint sniff for private static

Enforce type hint in private static properties
PHP version: 8.1
Sniff name: Silverstripe.Sniffs.Proptery.TypehintPrivateStatic
Description
Fixes issue #12
Final checklist for reviewer

[x] ReadMe updated with Sniff name and link to docs in Wiki
[x] Unit test(s) added
[x] Disallowed/Allowed code examples added

Sniff code looks good to me @satrun77.
Can you write up maybe in the PR main message what the text for the wiki will say about this new sniff?
Otherwise keen to try and get it via the PD/TL flow of approval..

Also noticed, this isn't added to ruleset.xml

Also noticed, this isn't added to ruleset.xml
Be good to document the why,how,risks,requireds etc.

you don't define the rule in that file. You have this include that will include everything in that folder https://github.com/silverstripeltd/bespoke-standards/blob/main/ruleset.xml#L193
The wiki to be updated later after this is merged into the main. The wiki can be changed to say whatever.  It will match the existing structure

Anyone to review this one?

Will try and have a look this week @satrun77


Add To iTunes

Hi,
Have tried the method of copying over the converted media file into the Automatically Add To iTunes directory, but that sometimes just fails to work/copy over and renames my files in a way I do not like. It also creates a copy which i then later on have to remove before I have duplicates crowding up my hard drive.
I have done some research and there is a script i found for adding into itunes but i've had nothing but trouble and bad luck trying to run it as an extra script (Keep getting error code 8: Exec format error) and for the life of me cant figure out how to make a script for myself to.
If you have any ways of helping I would much appreciate it.
Thanks, John

iTunes is unfortunately a giant headache. If your goal is to have all your media managed by iTunes without additional copies being managed by Sickbeard or CP or whatever, then I would try the following options:

Determine which drive your Automatically Add to iTunes folder resides on
Set your output-dir option in the autoProcess.ini file to by a folder on that same drive, but NOT the automatically add to iTunes folder
Set your move-to directory to the Automatically Add to iTunes directory

This means that the files are created on the correct drive, which is important. Then when the move-to function is called its a very quick process since its already on the correct drive. This prevents iTunes from registering partially created files. I think this is your best option.
If you're on Windows ironically, there are some 3rd party programs which can monitor directories and will keep those directories in sync with your iTunes library and still let Sickbeard/CP manage the actual destinations.

Here is the windows program:
iTunes Library Toolkit
http://klarita.net/itlt.html

What i have done is: Sickbeard watches/reads the itunes folders but makes no changes/metadata
i have your script dumping into a folder on my machine, and then a scheduled task moving the files to the automatically add to itunes folders.
The only thing i had to do to get SB to "work" this way was to comment out your line to add the season as the disc number and then i do loose some archiving based on release size/quality etc but SB does pickup all episodes correctly.

I'm not quite sure I follow

Rather than have your script move the files, i have the scheduled task move them to the auto add folder where itunes then imports.
What i found by default was that itunes would name the episode:
X\Season 2\2-01 XXXXXX (HD).m4v for example.
This resulted in the following error:
2015-05-07 03:03:29 SHOWQUEUE-REFRESH :: No episode number found in Y:\Itunes Music\TV Shows\X\Season 2\2-01 XXXXXX  (HD).m4v, ignoring it
by commenting out the line in the processor that added the season to the disc section it flattted the names to Season 2\01 XXXXXX (HD).m4v and sickbeard lined up correctly.
I played with SB filters and name formats and couldn't for the life of me get one working if the season was in both the folder and the file name.

That's interesting I wasn't aware of iTunes naming convention. I had copied the way iTunes metadata was applied when I wrote the tagging for the tv episodes, but if it was confusing Sickbeard then I guess commenting that out isn't a bad idea.

John were you able to resolve your issue with either my or grahamr's help?

Sorry for not replying.
No I didn't quite follow grahamrs methods, maybe I'm being dumb. The thing that I'm trying to achieve is complete automation etc and the automatically add to iTunes watch folder that iTunes provides isn't very reliable for me. For 1, I really don't like how it renames the show to something like 02x03 - episode name, and doesn't show you the show itself, and sometimes it doesn't add I to iTunes and pushes it into a folder called not added or something similar. I like the way I have my shows named and all my shows. The move_to function is also a problem because it then creates a copy of the show which is have to delete later. (I feel like I'm not making sense). I am running on a Mac and was sort of close to getting something with the Automator scripts but I don't know... What I don't understand is why there isn't a code we could write that tells iTunes to 'refresh' as the script does with plex?
I'm sorry if this makes no sense and thus whole thing is a bit confusing to me too 😂

John, from what i have experienced it sounds like what you want to do is enable the Move_to function (it will only create a copy if using torrents)
from an automated approach, including itunes you will likely need "something" to move and rename the files when finished - Are you using SB as the input source? if so you could point that to the folder with your media, have sickbeard handle the file moving and renaming to it's standard.
from there you would need to have an applescript or automator action that would tell itunes to rescan those folders, or all folders on a certain basis. the windows tool linked can do this, but on the mac side i don't know of anything that does.
Is there a reason you dont like the itunes naming convention?
TV Shows\Show Name\Season S##\E## - EP Title (if there is no "disk number" in the metadata)
Plex and SB will parse that correctly.

this pull request has some basic work done on this already actually:
https://github.com/mdhiggins/sickbeard_mp4_automator/pull/191

Hi,
I have tried the move_to function to the automatically add to iTunes folder and that only occasionally worked and yes it did create a copy but there's 2 problems with that; 1 being that I believe that when the script doesn't parse the metadata correctly onto the video file and since iTunes doesn't look at the actual name of the file when automatically importing it, but rather the metadata, it sometimes doesn't add it into the library, and when I then go into the add folder/file to library and manually add it, it adds just fine, which frustrates me! Secondly when it creates a copy of the file, after I've watched the show, I'll have to delete that copy at some stage otherwise it just takes up space on my drive..
The problem I have with the naming convention is that I have become comfortable and prefer the naming in the am form of /Show Name/Season %/Show Name - S0%E0% - Episode Name.m4v/ which to me not only makes more sense when I read it but just looks way better and particularly when sharing or fiddling with the files themselves, makes it easier to follow what I'm fiddling with if that makes sense.
This is directed to both of you wonderful people: Is there no way we can add a line of code or create a script to call in the Extra_scrips function that would say something along the lines of:
Tell application iTunes
Add this_file (being the file that was just parsed into the correct season folder with the nice naming) to library
End tell
?? Note that that may be completely wrong and it's just me thinking. I hope I'm explains this okay.
Best wishes

John,
I think the issue is sort of twofold - this script just takes Download
input -> output
It doesnt have any sense of managing files/folders.
You need another "middleman" applicaiton that would take the output from
this, spit it out into folders and names with the convention you like, then
you need to add the files to itunes.
there are only two ways right now to automate itunes with this script so
it's totally hands off i can think of:
Option 1:

Script output to Auto Add to Itunes folder
Itunes set to copy files to library and manage the library folders

Result:
iTunes will import, delete the file from the Auto add folder, and parse it
using metadata into the previous named folders. Sometimes throwing an error
or not categorizeing correctly due to lost metatdata (100% of my marvels
agents of shield fall into this category)
Option 2:

Have the script output to a folder - Any folder anywhere
Have itunes set NOT to consolodate files, but reference them
Have a script run to add any new files in that folder to itunes

Result:
One big folder with all your media, named as they were when downloaded, but
with no folders
To me that would be less ideal than the itunes structure
What you really need though is an application that does the following

Finds show A
Downloads show A
Calls this script to convert the file
Takes the converted file and renames it following your standard
Calls itunes to do an inplace import.

Sickbeard and Sickrage will handle steps 1-4, and im just not sure about
step 5.
That all said, you could use an applicaiton like sickbeard and have it
manage the folderstructure while not enabling any of the download features.
The workflow then would be:

Get file from whatever source
Convert file using script
Have sickbeard rename file according to spec

from there you still need to import with itunes.. which is again, the
sticky point as apple has a very limited API on mac and non-existant on
windows.
For me my workflow is automated up to the last step of importing to itunes.
I want to run a final check to make sure all the metadata feels right - so
i have the script output to a folder, then i load all the files into
something like MP3Tag so i can do a quick check to make sure nothing was
missed.
For the sake of 30 seconds once or twice a week its not too bad.
On Wed, May 13, 2015 at 12:31 PM, JohnMaree<EMAIL_ADDRESS>wrote:

Hi,
I have tried the move_to function to the automatically add to iTunes
folder and that only occasionally worked and yes it did create a copy but
there's 2 problems with that; 1 being that I believe that when the script
doesn't parse the metadata correctly onto the video file and since iTunes
doesn't look at the actual name of the file when automatically importing
it, but rather the metadata, it sometimes doesn't add it into the library,
and when I then go into the add folder/file to library and manually add it,
it adds just fine, which frustrates me! Secondly when it creates a copy of
the file, after I've watched the show, I'll have to delete that copy at
some stage otherwise it just takes up space on my drive..
The problem I have with the naming convention is that I have become
comfortable and prefer the naming in the am form of /Show Name/Season
%/Show Name - S0%E0% - Episode Name.m4v/ which to me not only makes more
sense when I read it but just looks way better and particularly when
sharing or fiddling with the files themselves, makes it easier to follow
what I'm fiddling with if that makes sense.
This is directed to both of you wonderful people: Is there no way we can
add a line of code or create a script to call in the Extra_scrips function
that would say something along the lines of:
Tell application iTunes
Add this_file (being the file that was just parsed into the correct season
folder with the nice naming) to library
End tell
?? Note that that may be completely wrong and it's just me thinking. I
hope I'm explains this okay.
Best wishes
—
Reply to this email directly or view it on GitHub
https://github.com/mdhiggins/sickbeard_mp4_automator/issues/253#issuecomment-101716141
.

I also think we need to figure out why your move to option is creating two copies of the new MP4 file. It shouldn't and I don't see any way that it could be duplicating the output file. The only thing I can think is maybe you have delete original disabled and you're counting that plus the new MP4 as two files.
—
Sent from Mailbox
On Thu, May 14, 2015 at 8:29 AM, grahamr<EMAIL_ADDRESS>wrote:

John,
I think the issue is sort of twofold - this script just takes Download
input -> output
It doesnt have any sense of managing files/folders.
You need another "middleman" applicaiton that would take the output from
this, spit it out into folders and names with the convention you like, then
you need to add the files to itunes.
there are only two ways right now to automate itunes with this script so
it's totally hands off i can think of:
Option 1:

Script output to Auto Add to Itunes folder
Itunes set to copy files to library and manage the library folders
Result:
iTunes will import, delete the file from the Auto add folder, and parse it
using metadata into the previous named folders. Sometimes throwing an error
or not categorizeing correctly due to lost metatdata (100% of my marvels
agents of shield fall into this category)
Option 2:
Have the script output to a folder - Any folder anywhere
Have itunes set NOT to consolodate files, but reference them
Have a script run to add any new files in that folder to itunes
Result:
One big folder with all your media, named as they were when downloaded, but
with no folders
To me that would be less ideal than the itunes structure
What you really need though is an application that does the following

Finds show A
Downloads show A
Calls this script to convert the file
Takes the converted file and renames it following your standard
Calls itunes to do an inplace import.
Sickbeard and Sickrage will handle steps 1-4, and im just not sure about
step 5.
That all said, you could use an applicaiton like sickbeard and have it
manage the folderstructure while not enabling any of the download features.
The workflow then would be:
Get file from whatever source
Convert file using script
Have sickbeard rename file according to spec
from there you still need to import with itunes.. which is again, the
sticky point as apple has a very limited API on mac and non-existant on
windows.
For me my workflow is automated up to the last step of importing to itunes.
I want to run a final check to make sure all the metadata feels right - so
i have the script output to a folder, then i load all the files into
something like MP3Tag so i can do a quick check to make sure nothing was
missed.
For the sake of 30 seconds once or twice a week its not too bad.
On Wed, May 13, 2015 at 12:31 PM, JohnMaree<EMAIL_ADDRESS>wrote:

Hi,
I have tried the move_to function to the automatically add to iTunes
folder and that only occasionally worked and yes it did create a copy but
there's 2 problems with that; 1 being that I believe that when the script
doesn't parse the metadata correctly onto the video file and since iTunes
doesn't look at the actual name of the file when automatically importing
it, but rather the metadata, it sometimes doesn't add it into the library,
and when I then go into the add folder/file to library and manually add it,
it adds just fine, which frustrates me! Secondly when it creates a copy of
the file, after I've watched the show, I'll have to delete that copy at
some stage otherwise it just takes up space on my drive..
The problem I have with the naming convention is that I have become
comfortable and prefer the naming in the am form of /Show Name/Season
%/Show Name - S0%E0% - Episode Name.m4v/ which to me not only makes more
sense when I read it but just looks way better and particularly when
sharing or fiddling with the files themselves, makes it easier to follow
what I'm fiddling with if that makes sense.
This is directed to both of you wonderful people: Is there no way we can
add a line of code or create a script to call in the Extra_scrips function
that would say something along the lines of:
Tell application iTunes
Add this_file (being the file that was just parsed into the correct season
folder with the nice naming) to library
End tell
?? Note that that may be completely wrong and it's just me thinking. I
hope I'm explains this okay.
Best wishes
—
Reply to this email directly or view it on GitHub
https://github.com/mdhiggins/sickbeard_mp4_automator/issues/253#issuecomment-101716141
.

Reply to this email directly or view it on GitHub:
https://github.com/mdhiggins/sickbeard_mp4_automator/issues/253#issuecomment-102022847

Have figured out how to do it!!! I managed to create an apple script to add folder to iTunes and it works great, now I saved that script as an app for Python, with use of the extra_scripts option in sickbeard a config.ini file to call a script to launch that application. One problem is when I run it, it gives me the error "Unable to run extra_script: error 13 : Permission denied" :(
The script to launch the app looks like this:
import os
os.system("/users/john_maree/sickbeard/extrascripts/add.app")
And the weird thing is if I test the script from the Python script editor thing (goto the option that says run), it works fine... Only gives me permission error when I make sickbeard do it through extra_scripts
I'm so close to solving this

If you're on a Mac, the new post processing script feature can be used for adding processed files to iTunes. The iTunes.py script is included by default.


[Bug] Crash when using a list to index

Describe the bug
When using a list to index morpho quits with:
Internal consistency error: Please contact developer. [Explanation: getindex called with noninteger args!].
To Reproduce
var a = [1,2,3]
a[[1]]
Expected behavior
I would expect this to either throw an error or to do return a sub-list of the original list.

veneer.c:873 add actual error instead of MORPHO_RUNTIME_ERROR


Fixes #1412

Fixes #1412 by transforming file argument to bytes and passing to imghdr.what in api.media_upload

This is an important feature. Please release as soon as possible.

I get the same error with update_profile_banner.

Same problem here

I had the same problem, and this branch fixed it for me! I hope this get merged soon, thank you!


Use different icon for "Global" settings

Description of bug
Any settings, which do not affect current site only in a multi tenant DNN installation, gets marked with a special icon, currently a globe icon. However, in a multilingual site, this could be misinterpreted to affect special regions or languages only. I suggest to use a different icon, which is not connotated to regions or languages
Steps to reproduce
List the steps to reproduce the behavior:
Login as Admin or Superuser, enter e.g. Server > Server Settings > SMTP Server.
Current result
Note the icon to the left of most settings, when in host mode. This looks like a globe.
Expected result
use an icon, which cannot be misunderstood to be language or region specific.
Affected version

[x] 9.2.2
[x] 9.2.1
[x] 9.2
[x] 9.1.1
[x] 9.1
[x] 9.0

Affected browser

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

(possible replacement)


Override maas_notification_plan

The default maas_notification_plan doesn't match what will exist for
Rackpsace Cloud accounts, and since most people deploying an AIO with
rpc-openstack will most likely do so on a Rackspace cloud server.
Closes issue #180
(cherry picked from commit d139ca1ac7cd45a5744b93191d728b2f58046f30)

:+1:

:+1:


[WIP] Convert Genealogy tree to use TreeBuilder

@miq-bot add_label wip, ui, technical debt

Moved to https://github.com/ManageIQ/manageiq-ui-classic/pull/14.


Is there a way to give permissions to run this on x.com?

twitter.com is starting to automatically re-direct to x.com. Not sure if it's happening for everyone or they're just rolling it out for certain users, but it's happening across both my machines.
Once you're on x.com, the extension doesn't run. My understanding is that because x.com isn't on the permissions list, only twitter.com and mobile.twitter.com.
Could x.com be added to the list of domains? Alternatively, is this something users can fix locally?

The next version will add x.com permissions https://github.com/insin/control-panel-for-twitter/commit/2ce64786d12c112a7bbfec2bc18a7fd1b5d4094d


pkg/index: searches on sha1 blobs fail until at least one sha224 claim is in

repro:
devcam server -publish false -scancab false -sha1 true -wipe true
CAMLI_SHA1_ENABLED=true devcam put file -filenodes foo
-> permanode sha1-foo is created
kill server, and restart:
devcam server -publish false -scancab false
devcam tool describe sha1-foo
-> no camliContent description
devcam put file -filenodes bar
devcam tool describe sha1-foo
-> description ok.
explanation: this happens, because the search API uses the signer blobRef (and not the signer KeyID), so from the API pov the same signer can be a sha1 blobRef or a sha224 one. We fixed most of the bugs related to that in pkg/index by working with a keyID instead of a signer blobRef, and by establishing a correspondence between the two blobRefs through the keyID.
However, this correspondence only exists as soon as the relation between the sha224 signer and the keyID is inserted in the index/corpus, which happens when we get our first signerid row for a sha224 blob, i.e. when we get our first sha224 claim. This the reason why camtool describe fails before we add the second file.

I would also like to see the signerFilter blob.Ref replaced with a signerID string (or []string for multiple owners, or users with multiple keys) in corpus API funcs. It would have made my work on my CL https://camlistore-review.googlesource.com/c/camlistore/+/12486 easier.

https://camlistore-review.googlesource.com/#/c/camlistore/+/14006

This change (verified with git bisect) seems to have broken my laptop install.  camlistored dies on startup with the following error message:
panic: Search result returned non-importerAccount

goroutine 41952 [running]:
perkeep.org/pkg/importer.(*Host).startPeriodicImporters(0xc42388d200)
	/Users/plindner/go/src/perkeep.org/tmp/build-gopath-nosqlite/src/perkeep.org/pkg/importer/importer.go:646 +0x574
created by perkeep.org/pkg/importer.(*Host).InitHandler
	/Users/plindner/go/src/perkeep.org/tmp/build-gopath-nosqlite/src/perkeep.org/pkg/importer/importer.go:478 +0x33b

I added some logging and the desBlob in importer looks like this:
desBlob=&{0xc425786000 sha1-29b33efba5b85161b41724b1305994f809666ec9 permanode 611 0xc420d4eb00 <nil> <nil> <nil> map[] [] <nil> false}

@lindner When I tried sha-224 a few weeks ago it worked after uploading a new blob (with sha-224). This ensures that the signer is present with the currently preferred hash, which is sha-224. Perhaps this is still required for sha-224 to work.

ok, looking into it.

@lindner by any chance, would you happen to have a short-form (8 chars, e.g. "A9CB8BB2") for your identity, in your server-config.json file?
If yes, that's most likely the reason, so can you then please retry with the full size (16 chars, e.g. "62B585F5A9CB8BB2")?
When I worked on that change I did everything with the long-form for simplicity and that's why it's now biting us. I'll see about how to make everything consistent on that matter, but I'm wondering if that's worth the pain, and if we should not rather detect on startup that it is the short form and tell the user to fix their config with the long form.

@mpl thanks, this solved my obscure problem at least - I was still debugging and waiting for a -reindex to complete. My instance started up without errors after editing the config to migrate from owner key sha1 to the new format, but the web UI only displayed the folder icon and all queries returned null values. I changed my config to the long-form key ID and everything is fine again.
I think aborting with an error when the config is in the old format (no owner object present, only the key hash string) and when a short-form key ID is detected would be the best approach.

PTAL: https://camlistore-review.googlesource.com/c/camlistore/+/14266

Can confirm that https://camlistore-review.googlesource.com/c/camlistore/+/14266 fixed this issue for me.


mariadb: update packages

Motivation for this change
Move packages connector-c and galera to external. Need to will the package appear on https://nixos.org/nixos/packages.html
Update package galera to v25.3.27
Add packages:

connector-c v3.1.2
galera v26.4.2

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

In order to achieve that one could also simply use inherit (foo) bar;. Was this approach agreed upon somewhere?

@FRidh nowhere approach agreed.
After wanted to divide mariadb into separate packages to mariadb-server and mariadb-client
https://github.com/NixOS/nixpkgs/issues/64132
https://github.com/NixOS/nixpkgs/issues/63723

In order to achieve that one could also simply use inherit (foo) bar;
I don't know how to use this variant

@grahamcofborg eval

@FRidh not need rename mysql.connector-c to libmysql? Probably it will be so clearer.

@GrahamcOfBorg eval

@GrahamcOfBorg build mariadb-galera

@GrahamcOfBorg build mariadb-galera

@GrahamcOfBorg build mariadb-galera_26 mariadb-connector-c_3_0 mariadb-connector-c_3_1

@GrahamcOfBorg build mariadb-galera_26 mariadb-connector-c_3_0 mariadb-connector-c_3_1

@GrahamcOfBorg build mariadb-connector-c_2_3 mariadb-connector-c_3_0 mariadb-connector-c_3_1

@GrahamcOfBorg build mariadb-connector-c_2_3 mariadb-connector-c_3_0 mariadb-connector-c_3_1

@GrahamcOfBorg build grass kexi libreoffice glsurf kodi gerbil neko urweb haskellPackages.mysql php72 php73 cppdb gdal gdal_2 libagar libdbiDriversBase libgda redland opendbx poco tntdb unixODBCDrivers.mariadb wt3 wt4 lispPackages.clsql lua51Packages.luadbi-mysql lua52Packages.luadbi-mysql lua53Packages.luadbi-mysql luajitPackages.luadbi-mysql ocamlPackages.ocaml_mysql perlPackages.DBDmysql purePackages.glpk pythonPackages.MySQL_python pythonPackages.mysqlclient rPackages.RMySQL sysbench tora clickhouse slurm freeradius lighttpd dovecot opensmtpd postfix zabbix uwsgi mydumper kea mailutils thc-hydra collectd

If we're renaming the package to libmysql I think the directory structure should reflect that. I might even suggest putting a libmysql folder alongside mariadb.
Speaking of which, why are we renaming it to libmysql? Upstream, Debian, and Arch all call it libmysqlclient.

libmysql was also used before
https://github.com/NixOS/nixpkgs/blob/release-16.03/pkgs/top-level/all-packages.nix#L9787

libmysql was also used before

And that naming was dropped, correct? Possibly because it was confusing. If the library is called libmysqlclient upstream, and Debian and Arch call it libmysqlclient I would suggest if we are renaming it we should follow suit.
What was your motivation to rename the package? Overall I do agree with the rename (or at least an alias) because everywhere I've ever seen the library is referred to as libmysqlclient.

@aanderse thanks, updated PR. Replaced to libmysqlclient

@Izorkin thanks for your hard work. It would be nice to have someone like @globin (marked as maintainer) to approve this as well.
We're still about ~2 months away from 19.09 so any breakage that could potentially occur from this should have plenty of time to be discovered and fixed.
What do you think @lheckemann and @disassembler?

@aanderse  thanks, fixed.

All I can think of is running some nixos tests, being not much of an expert on mysql.
@grahamcofborg test gitea

Redo rebase again?

@GrahamcOfBorg build mariadb-connector-c_2_3 mariadb-connector-c_3_1 mariadb-galera_25
@GrahamcOfBorg test gitea mysql mysql-backup mysql-replication

@Izorkin well @lheckemann didn't say no... so how about you sort out the remaining issues and then we merge it? We still have a few weeks until the freeze, so if we do this soon it should give us enough time to deal with any potential issues which could arise.

@aanderse i have not encountered other problems yet

@GrahamcOfBorg build mariadb-connector-c_2_3 mariadb-connector-c_3_1 mariadb-galera_25

@GrahamcOfBorg build mariadb-connector-c, mariadb-galera, unixODBCDrivers.mariadb

@GrahamcOfBorg test gitea mysql mysql-backup mysql-replication

@GrahamcOfBorg build mariadb-connector-c_2_3 mariadb-connector-c_3_1 mariadb-galera_25 unixODBCDrivers.mariadb
@GrahamcOfBorg test gitea mysql mysql-backup mysql-replication

@GrahamcOfBorg build mariadb-connector-c_3_1

@Izorkin it looks like some tests aren't properly evaluating, if I'm not mistaken:

The following builds were skipped because they don't evaluate on x86_64-linux: tests.mysql-backup, tests.mysql-replication

Any idea?

@GrahamcOfBorg test mysql-backup mysql-replication

@GrahamcOfBorg test mysqlBackup mysqlReplication
@GrahamcOfBorg test gitea mysql

Оn my server tests gitea mysql mysqlBackup correct work.
For the test mysqlReplication need this PR #61671

Rebased PR

Thanks!


Allocation of 10616832 exceeds 10% of system memory.

Hi. I'm currently having some problems after running the Object_detection.py like:
2020-02-01 11:57:36.437688: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 10616832 exceeds 10% of system memory.
Killed
My device is Raspberry Pi 3 B+.
Tensorflow Version: 1.14.0
Python Version: Python 3.7.3
GPU: 128
Currently using: faster_rcnn_inception_v2_coco_2018_01_28
Can anyone help me with this? I appreciate any response that can fix this problem.

@KoizumiNao This looks like a support issue. GitHub is mainly for Bugs and performance related issues. Your model might be big and cannot fit into the memory. Please post in stackoverflow and provide more details on your hardware. We will resolve it there. Thanks!
This is not Build/Installation or Bug/Performance issue. Please post this kind of support questions at Stackoverflow. There is a big community to support and learn from your questions. GitHub is mainly for addressing bugs in installation and performance. Thanks!


Update Main with fixes from Dev

Summary by Sourcery
Refactor the translation system to support modular language models and text-to-speech systems, enhancing flexibility and maintainability. Introduce new audio processing utilities and update the FastAPI server to handle advanced translation tasks. Implement comprehensive CI/CD workflows for deploying services in development and production environments, and update documentation to reflect these changes.
New Features:

Introduce audio processing utilities for converting between WAV files and tensors, and for encoding and decoding audio data.
Add support for multiple language models including Flan-T5, Llama, and Seamless for translation and text-to-speech tasks.
Implement a FastAPI server with CORS support for handling translation requests, including speech-to-text and text-to-speech functionalities.

Enhancements:

Refactor the translation process to use modular language models and text-to-speech systems, improving flexibility and maintainability.
Optimize the translation workflow by removing redundant logging and streamlining the input/output processing.
Enhance the configuration system with default values for environment variables, improving robustness and ease of deployment.

Build:

Update the Docker build and push workflow to streamline the image building process and remove unused AWS-related configurations.

CI:

Add new CI workflows for deploying the development and main branches to testnet and production environments, respectively.
Introduce workflows for deploying miner, validator, and subnet API services using Docker containers.

Deployment:

Implement deployment scripts for miner, validator, and subnet API services, supporting both development and production environments.

Documentation:

Update README to reflect changes in running and registering validators and miners, removing outdated logging options.

Chores:

Remove obsolete files and scripts related to the old translation module setup and deployment.

@mltrev23 I resolved conflicts by using whatever the Dev branch had.  It looked like Main was ahead on a couple of things but for a process that was ditched.  See this commit used for resolving conflicts: https://github.com/Agent-Artificial/Sylliba-Subnet/pull/51/commits/2a390b6fd23de8a91aaa23c1f95bbbf911f47c62


fix: treat header names as case insensitive

Also expand header mutation testing (include updates, removals).
Branched off #38. Fixes #9.

[x] Tests pass
[x] Appropriate changes to documentation are included in the PR

Optional suggestion: since you have commit access to github.com/GoogleCloudPlatform/service-extensions-samples, you can create dependent pull requests that can be reviewed and merged separately.
To do so, you push martijneken:configured-tests directly to a branch under GoogleCloudPlatform/service-extensions-samples. Optionally, you can edit #38 to merge that branch into master, but it is not required. Then, you edit this pull request to merge martijneken:ci-headers into martijneken:configured-tests. That way, I can review this diff separately from #38 while that is not yet merged.
Once #38 is merged, you simply rebase this PR and change the merge target back to main.
If you'd prefer not to do that, I'll wait until #38 is merged to review this.

Yes I would like to learn this skill, but I need some hands on help. I'm having trouble just rebasing this branch onto the latest commit in configured-tests. Let's chat tomorrow.

Rebased! PTAL.


Organization webid?

In creating an organization web id, would the standard potentially be this:
https://company.example.net/profile/card#us
Basically using "us" instead of "me", all else the same.

I don't think it should matter for anyone what string one uses for the fragment in IRI. In general IRIs should be considered as opaque identifiers. In other words client applications should make no assumptions about strings used in IRIs.
To denote an organization one can choose any IRI which when referenced should respond with valid RDF serialization.  I think it makes sense to also include vcard:Group definition for the organization to work smoothly with https://github.com/solid/web-access-control-spec#groups-of-agents

In general IRIs should be considered as opaque identifiers.

Certainly! But it is a contribution towards the aesthetics of the system, so I think it is a nice feature to have if possible. If aesthetics played no role in URI minting, we'd all have a hash after the host name... :-)

To denote an organization one can choose any IRI which when referenced should respond with valid RDF serialization. I think it makes sense to also include vcard:Group definition for the organization to work smoothly with https://github.com/solid/web-access-control-spec#groups-of-agents

Yeah, this is more important, but I'd say that if the information that an URI identifies a vcard:Group is available, then whatever mints that URI should use #us.

Thank you @elf-pavlik  & @kjetilk , I've updated my code and the graph at the start of the thread is now updated as well.

@elf-pavlik - one other question, since you mention the fragment on the webid, I do admit to being a bit confused on this point.  Is there an official standard or practice for assigning the webid?  It seems inrupt's standard is <user.inrupt.net/profile/card#me> for the webid node IRI , which I've adopted with my library so that people can understand naming between systems.  I realize this isn't in the standard, but I do think having common naming between systems will make it much easier for users who want to do cross pod links etc.

@gibsonf1 the indexical is entirely up to you.  For users, most common is #me by far, and it also has a similarity with rel="me".
#us seems a perfectly reasonable choice for a group.  We use #this for general primary topics, as that is similar to many programming languages.
Using the fragment is critical for the difference between a document and data in that document.  Which enables the web of data to scale in much more, fine grained way.

I think this draft still holds as canonical reference https://www.w3.org/2005/Incubator/webid/spec/identity/

Using the fragment is critical for the difference between a document and data in that document. Which enables the web of data to scale in much more, fine grained way.

I would add that tooling shouldn't make assumption about using that specific practice, one can also use HTTP 303 redirect between IRI denoting some entity and IRI of a document that describes it https://www.w3.org/TR/cooluris/#choosing
For example one doesn't have to use solid server as identity provider, last time I run a solid server I used https://elf-pavlik.hackers4peace.net/ as my WebID which 303 redirected to profile document hosted on solid server. Once I redeploy things again I plan to use https://hackers4peace.net/ as WebID of an organization which will 303 redirect to a profile document hosted on solid server which describes it as vcard:Group.
Any tooling should use follow your nose approach and support general linked data practices. Of course one can choose various convention of using #foo or #bar while creating IRIs as long as it doesn't assume that everyone in one the web also uses such convention.

If aesthetics played no role in URI minting, we'd all have a hash after the host name... :-)

Actually I move more and more in this direction of just using UUID (or cuid) and hashes. It doesn't introduce i18n related problems when creating IRIs. Also modern Progressive Web Apps don't even show the address bar so in most IRIs only host name matters for verifying origin before adding app to home screen. WebID which denote agents often need some vanity or at least stay human readable, but different people have different aesthetics so I wouldn't look for standard one and just accept that different conventions have to coexist on The Web. I guess original question comes more as UX concern than conformance to some spec that developer has to follow for ensuring interoperability.

https://en.wikipedia.org/wiki/Internationalized_country_code_top-level_domain

As of June 2010, four such TLDs have been implemented: three using the Arabic alphabet, السعودية., مصر. and امارات. (for Egypt, Saudi Arabia and the United Arab Emirates, respectively), and one using Cyrillic, .рф (for Russia). Five new IDN ccTLDs using Chinese characters were approved in June 2010: .中国 with variant .中國 (for mainland China), .香港 (for Hong Kong), and .台灣 with variant .台湾 (for Taiwan).

I wouldn't want to make assumption that people using domain names with any of those TLD will find #me or #us aesthetically appealing

Actually I move more and more in this direction of just using UUID (or cuid) and hashes.

OMG! :-)

I wouldn't want to make assumption that people using domain names with any of those TLDs will find #me or #us aesthetically appealing.

Oh, but they are entirely free to mint their own that they do find pleasing. When the rest is profile/card, there is some consistency, but at some point, we may want to improve the entire minting algorithm to allow i18n/l11n adaptations.


Add WasmEdge adapter

WasmEdge is going to add this test suite in the CI and we will maintain our adapter in our repository.
We're comfortable with either decision: adding the adapter here or use the adapter in our repository to run daily runtime validation.
This may be merged after the fixes are resolved on WasmEdge https://github.com/WasmEdge/WasmEdge/issues/2249.

@harry900831 there seems a debate about whether or not this should be allowed at all going on in this thread. you can comment if you like https://github.com/WebAssembly/wasi-testsuite/pull/55#issuecomment-1454253271

@harry900831 thanks a lot for your change. Would it be possible to host your adapter in the WasmEdge repository, just like we do for Wazero: https://github.com/WebAssembly/wasi-testsuite/pull/55?
Thanks

Done. The adaptor should be in WasmEdge's repo after this be merged: https://github.com/WasmEdge/WasmEdge/pull/2328.
Thanks!

i guess you need a rebase after wazero commit.

Do apologize for the delay. The change looks good to me, thanks.


./gradlew assembleDebug issue

What happened?
I am trying to create a debug build.
But i am facing this error
Important: 'detox build' is a convenience shortcut for calling your own build command, as provided in the config file.
Failures in this build command are not the responsibility of Detox. You are responsible for maintaining this command.
Command failed: cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..
What was the expected behaviour?
No response
Was it tested on latest Detox?

[X] I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

[x] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.

Help us reproduce this issue!
Simply run detox build --configuration android.att.debug  OR. detox build --configuration android.emu.debug
In what environment did this happen?
Detox version: 20.12.0
React Native version: 0.68.6
Node version: 20.5.1
Device model:  OPPO A57
OS: Mac OS 12.6.8
Test-runner (select one): jest
Detox logs
Detox logs
paste logs here!

Device logs
Device logs
paste your device.log here!

More data, please!
### Tasks
- [ ] Add a draft title or issue reference here
```Detox version: 20.12.0
React Native version: 0.68.6
Node version: 20.5.1
Device model:  OPPO A57
OS: Mac OS 12.6.8
Test-runner (select one): jest

_No response_

This is an issue with your build not detox. What are the rest of the build logs? Something failed compiling react-native-google-places but you haven't posted the full build logs.


OC 081: changes in OC validate produce warning

In OC 081 dev version, ocvalidate was changed. It now always puts a compatibility info on the screen.
This message ("NOTE: This version of ocvalidate is only compatible with OpenCore version 0.8.1!") creates an issue warning in OCAT even though there are no issues in the config:

I have noticed this phenomenon, and it may be a temporary problem.
I will be watching to see if master will make a merge and change this. Otherwise I will upgrade OCAT, please don't worry.

It has been updated regarding the content you mentioned.

Thanks a lot!


rf-219 migrate-to-scss

Which Issue was this PR made for?

Closes #219

What is within the scope with this PR
What is NOT in the scope with this PR
Related Issue
Other sidenotes that reviewer should be aware of

Make sure to add the issue number you're closing and also add it to the title. I guess for refactoring, we can do something like "rf-#"

Issue: https://github.com/Amijakan/mochatto/issues/219

I was thinking the directory structure to be like
pages/
- JoinPage/
  - index.tsx
  - style.scss

I think it would be less clutter in the pages directory.

I think it's not a bad idea to group components by pages as well, to be honest. I like the idea of a "basic" component directory for things that are shared across the whole app (buttons, logo, universal sidebars/headers/etc), and then a {Page}/components directory (for each new Page directory) for things that would only ever be used by that page.

SUCCESS


Nginx Ingress Controller - Secure default backend and/or support for wildcards?

Currently it's not possible to support wildcard subdomains for the Nginx ingress controller due to Kubernetes Ingress resources only allowing a legitimate domain for host. In the scenario that a wildcard domain SSL cert needs to be used for a lot of subdomains (think SaaS with custom subdomain names), it's a bit overkill to list every subdomain.
I thought of two solutions.
One - support via a flag to secure the default backend server with the default SSL certificate where the backend server can be something more than just a simple 404. This of course limits to a single cert and wouldn't be able to support multiple wildcard domains.
Two - use a flag with a "wildcard" placeholder that's replaced with * when generating the hosts. The placeholder can be a little funny looking since the host is limited to alphanumeric keys (like 0wildcard0, wildcard- or just wildcard if for sure not being used.
I've implemented both for my uses but wanted to see if either (or both) would be something interested in  before I submit a PR (they feel a little hackish :-) ). Thoughts?
It would be GREAT if paths would support Nginx location regex but I know that's an Ingress limitation.

This is valid:
https://github.com/kelseyhightower/talks/blob/master/kubecon-eu-2016/demo/ingress/ghost.yaml#L12
You can also specify a list of hosts, and a wildcard cert, or just a list of hosts without a cert for something like SNI.
So I guess the request is that we allow wildcard matches in the host field of the ingress rules?

Two - use a flag with a "wildcard" placeholder that's replaced with * when generating the hosts

This is the specce'd behavior actually: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/extensions/types.go#L675
@alanhartless can you give me a yaml sketch of the proposed modifcations?

@bprashanth Sorry for the long delay in replying!
So I guess the request is that we allow wildcard matches in the host field of the ingress rules?
That's exactly what I'm looking for. If I could define a wildcard host in the ingress rules that would result in  a nginx config similar to the following, no hack would be needed:
 server {
        listen 80;
        listen 443 ssl http2;

        server_name *.example.com;

@alanhartless using server_name *.example.com; means only the first matched server (in the generated nginx.conf) will route traffic to the service, the rest is not going to be reachable. That's why you need to specify the host.

This issue was moved to kubernetes/ingress#8

This issue was moved to kubernetes/ingress#553


Segmentation fault in creation of SOAP descriptor

Dear Dscribe-Maintainers,
I have encountered an issue when creating SOAP descriptors from crystal structures.
When a ase.Atoms object contains a NaN value in one of its position vectors a Segmentation fault (core dumped)  error occurs.
While it makes sense that this ase.Atoms object should not produce a Descriptor,  a python error should be raised to allow
for correct handling of it or to better debug the script.
Code to reproduce the segmentation fault:
from dscribe.descriptors import SOAP
import numpy as np
import ase

crystal = ase.Atoms(
    symbols=["Si", "Sn", "Ge"],
    positions=[[0, 0, 0], [5, 0, 0], [5, 5, np.nan]],
    cell=[5, 5, 5],
    pbc=True,
)

soap_object = SOAP(
    species=["Si", "Sn", "Ge"],
    r_cut=15,
    n_max=8,
    l_max=8,
    periodic=True,
    sparse=False,
    average="inner",
)

features = soap_object.create(crystal)
print(features)

Expected behaviour:
An python error should be raised that states that a SOAP can not be created for a ase.Atoms object with incorrect positions.
Actual behaviour:
Script gets terminated and segmentation fault is raised, which makes handeling and backtracing hard.
Environment:

python version: 3.10.12
dscribe version: 2.1.0
ase version: 3.22.1
numpy version: 1.26.4

Thank you for your work on dscribe!

Hi @OHANAN1.
Thanks for the report. This is a bit tricky. I know that in principle we could just run something like np.isfinite on the input coordinates and raise exceptions accordingly. But this raises some concerns:

Is there a performance penalty, since positions can be very large (imagine a system with million atoms).
Why is this not done already by ASE?
What else should we check: cells, species, all SOAP parameters?

Because of these concerns, I would rather not implement this check at the moment. If this becomes a commonly occurring problem for multiple users, I could imagine adding this check.

Hi @lauri-codes,
thank you for your response.
while I completely accept your decisions as a maintainer,  I  would like to share some thoughts.
Regarding your first concerns, I wrote a test script for the chase of 1.000.000 position vectors.
import time
import ase
import numpy as np

size = 1000000

positions = np.random.uniform(0, 100, (size, 3))
numbers = np.random.randint(0, 20, size)

example_crystal = ase.Atoms(
    numbers=numbers,
    positions=positions,
    cell=[size, size, np.nan],
    pbc=True,
)

start = time.time()
print("isnan:", np.isnan(example_crystal.get_positions()).any())
print(time.time() - start, "seconds")

positions[0] = [np.nan, np.nan, np.nan]
example_crystal.set_positions(positions)

start = time.time()
print("isnan:", np.isnan(example_crystal.get_positions()).any())
print(time.time() - start, "seconds")

Output:
isnan: False
0.00804591178894043 seconds
isnan: True
0.008104562759399414 seconds

In the chase of one million position vectors the use of np.nan is still pretty efficient, especially compared to the calculation time needed to calculate the SOAP Descriptor of this kind of crystal.
Regarding your question, why ASE does not take care of this, I think that this it is an intentional feature.
For example the slap object takes a empty ase.Atoms object as an input.
Or one could use this feature to initialize a partly empty Atoms object that will be filled in a later step of the algorithm.
I definitely understand your last concern. I the version of ASE I gave in my first message, the ase.Atoms object can not be initialized with a np.nan entry in the atomic number parameter. While it is possible to initialize a cell with np.nan entries, the cell has at maximum 9 parameters.
I completely understand if you still decide to not add this check for now, but I think a note about this, somewhere in the docs would be nice.
Thank you very much!

Hi @OHANAN1,
Thank you for the additional details. I think your answer does clear my initial doubts about this check. In the next release, I can try to implement this as a generic check that all descriptors do before accepting a system.

This check is now included in v2.1.1.


Upgrade ruby to version 2.7.5

following https://github.com/pulibrary/bibdata/issues/589:

[x]  Add Ruby 2.7.5 to CircleCI
[ ]  Fix any failing tests or dependency issues caused by upgrade to 2.7.5
[ ]  Deploy code that hopefully works with both 2.6 and 2.7.5
[ ]  Provision boxes to use Ruby 2.7.5
[ ]  Remove Ruby 2.7.5 from CircleCI

working branch https://github.com/pulibrary/bibdata/commit/afc42a7e388cddcf4ae53a01a6c70f6471341fe8


🧑💻: Enhance About Section of GDSC

Title - Enhance About Section
Hi @rishicds
The current "About" section of the GDG RCCIIT website requires a redesign to improve user engagement and better communicate our mission, vision, and activities. The goal is to create a visually appealing and informative section that effectively represents our community and its values.
Enhancement Aim
The aim of redesigning the "About" section of the GDG RCCIIT website is to enhance the overall user experience and effectively convey the organization's mission, vision, and values. By creating a modern, engaging, and informative section, the redesign seeks to achieve the following specific objectives:

Improved User Engagement: Attract and retain visitors' attention with a visually appealing design that encourages them to learn more about the community and its initiatives.

Clear Communication: Present the organization's purpose and activities in a concise and accessible manner, making it easy for visitors to understand what GDG RCCIIT stands for and what it offers.

Brand Alignment: Ensure that the design and content are consistent with GDG RCCIIT's branding, reinforcing the identity and values of the organization.

Community Connection: Include testimonials and personal stories from community members to foster a sense of belonging and highlight the impact of GDG RCCIIT on individuals.

Responsive Design: Ensure that the redesigned section is fully responsive, providing an optimal viewing experience across different devices, including desktops, tablets, and smartphones.

Modern Aesthetics: Incorporate contemporary design trends to keep the website looking fresh and relevant, which can positively influence the perception of the organization.

Overall, the aim is to create a compelling "About" section that not only informs but also inspires visitors to engage with GDG RCCIIT and its activities.
Changes
Certainly! Here’s a list of proposed changes focusing on improving the responsiveness of the "About" section of the GDG RCCIIT website:
Proposed Changes for Responsive Design

Flexible Layout:

Utilize a fluid grid layout that adjusts to different screen sizes, ensuring that the content reflows seamlessly on smaller devices.

Media Queries:

Implement CSS media queries to adjust font sizes, margins, and padding for various devices (e.g., mobile, tablet, desktop) to ensure readability and aesthetics.

Adaptive Images:

Use responsive images (e.g., with srcset or CSS properties like max-width: 100%) that scale appropriately to prevent overflow and maintain quality across devices.

Navigation Optimization:

Simplify navigation for smaller screens, possibly using a hamburger menu or dropdowns to save space and improve accessibility.

Text Readability:

Adjust text sizes and line heights to enhance readability on mobile devices, ensuring that all text remains legible without zooming.

Stacked Content:

For narrow screens, stack content vertically (e.g., images above text) to maintain a clear flow and prevent horizontal scrolling.

Touch-Friendly Elements:

Ensure buttons and links are large enough and spaced adequately for easy tapping on touch devices.

Consistent Padding and Margins:

Maintain consistent spacing around elements to prevent overcrowding and ensure a clean layout on all screen sizes.

Testing Across Devices:

Conduct thorough testing on various devices and browsers to identify and fix any responsiveness issues that arise.

Screenshots 📷
No response
Full Name
Devansh Vishwa
Participant Role
gssoc-ext (contributor)
Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Assigned

https://github.com/user-attachments/assets/4fc035fe-13c1-45c9-96ea-e037e87e1b43

Hi @rishicds , please check it once , then I shall raise PR.

Hi @rishicds , do you like it ?

Hi @rishicds , please check my PR .


requests.exceptions.SSLError: HTTPSConnectionPool error

I tried to convert from openvino to xml but I keeo getting this error :
What should be the cause of this requests.exceptions.SSLError: HTTPSConnectionPool error ?
Downloading C:\Users\mahdi.mseddi.cache\blobconverter\best_openvino_2021.4_4shave.blob...
Traceback (most recent call last):
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 1042, in validate_conn
conn.connect()
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 414, in connect
self.sock = ssl_wrap_socket(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='blobconverter.luxonis.com', port=443): Max retries exceeded with url: /compile?version=2021.4&no_cache=False (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\blobconverter_main.py", line 3, in
run_cli()
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\blobconverter_init.py", line 574, in run_cli
return from_openvino(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\blobconverter_init.py", line 477, in from_openvino
return compile_blob(blob_name=Path(xml_name).stem, req_data={"name": Path(xml_name).stem}, req_files=files, **kwargs)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\blobconverter_init_.py", line 311, in compile_blob
response = requests.post(
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "C:\Users\mahdi.mseddi\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='blobconverter.luxonis.com', port=443): Max retries exceeded with url: /compile?version=2021.4&no_cache=False (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))

Hi @Erol444
I am trying to convert an onnx format model with these code lines.
I am getting this error:

I am having the same issue. Is there any resolution?

Hi @jc-9 and @martin0496 ,
@jc-9, could you please share with me your model (you can send it to me via email; my address is jan.cuhel@luxonis.com)?
@martin0496, is the issue still ongoing for you?
Best,
Jan

Hi @martin0496  - Seems like this is an intermittent issue, I just reran the script and it worked.

That's great, glad to hear that. The issue was probably related to an expired security token, which I renewed just before you posted the message. I'll close the issue now, but in case the problem would rise again, please re-open this issue.
Best,
Jan


Don't inicialize global NCCL comm when

init_comms function in communicators/_communication_utility.py seems to be oblivious about which l communicator in chainermn terms will be used.
As a result global nccl_comm is being initialized along with ntra_nccl_comm even if hierarchical_comm (i.e. not using NCCL globally) is requested from chainermn.
This causes a problem as on some systems NCCL fails when initializing on too many (around 512 in our case) GPUs. This would have been avoided in chainermn  does not initialize nccl_comm when it is not needed.

Thank  you for pointing it out. We didn't assume that use case where hierarchical communicator was used along with NCCL 2, because it was for non-RDMA (e.g. TCP/IP) inter-node communication along with NCCL1. With NCCL2 pure NCCL communicator seemed to be the best choice for that inter-node communication pattern. We'll consider adding that choice in the next release.

This issue will be addressed by #257 and will be shipped as 1.3.0.


Mizuki

His Ambush Tactics not only do what is written, but make him invulnerable on the turn that they're used, causing a possibility for infinite invulnerability. PS: i wish i could help with spec tests, but i can't seem to understand them.

Maybe I'll come up with a tutorial for writing specs as a README file in the tests directory. It might be useful later.


Fixes selectors for flaky test credentials test

Fixes selectors for flaky test credentials test
edit credential type that renders a sub form

I pushed up a commit to address the following failure:

The issue was that the function removeRoleFromListRow was using the team/user name to delete the role assignment from the view. The team/user name is the same for both role assignments. If the UI did not refresh in time to remove the deleted assignment, the same assignment got selected for removal a second time resulting in a 404 response.
The change here was to use the distinct role name to delete the role assignment to ensure that we are deleting distinct assignments.

I pushed up a commit to address the following failure: https://cloud.cypress.io/projects/77sud6/runs/7115/overview/c383195c-3e6d-4394-907c-b0240fc85a9e/replay?roarHideRunsWithDiffGroupsAndTags=1&ts=1719408209785.5&att=1
The issue was that the function removeRoleFromListRow was using the team/user name to delete the role assignment from the view. The team/user name is the same for both role assignments. If the UI did not refresh in time to remove the deleted assignment, the same assignment got selected for removal a second time resulting in a 404 response. The change here was to use the distinct role name to delete the role assignment to ensure that we are deleting distinct assignments.

@vidyanambiar thanks for the fix Vidya!


[Settings] FontIcons and BitMapicons are not aligned

Microsoft PowerToys version
0.49.1
Running as admin

[ ] Yes

Area(s) with issue?
Settings
Steps to reproduce
Open Settings.
✔ Expected Behavior
Icons should be aligned vertically aligned and have the same width.
❌ Actual Behavior
There's a slight offset between image icon and font icon.

Other Software
No response

This is fixed in 0.53, get it at https://aka.ms/installPowerToys


Update core-graphics and core-foundation dependencies

This change is

@bors-servo: r+

:pushpin: Commit f632081 has been approved by jdm

:hourglass: Testing commit f632081 with merge f0cf81b...

@bors-servo: r-

@bors-servo: r+

:pushpin: Commit f632081 has been approved by jdm

@bors-servo: retry

:zap: Test exempted - status


多账号刷步Connection refused问题

请问大佬，多账号有时会报下面这个错怎么办

已设置为随机步数(21000~24500)
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connection.py", line 196, in _new_conn
    sock = connection.create_connection(
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
    raise err
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connectionpool.py", line 789, in urlopen
    response = self._make_request(
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connectionpool.py", line 495, in _make_request
    conn.request(
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connection.py", line 398, in request
    self.endheaders()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/http/client.py", line 1251, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/http/client.py", line 1011, in _send_output
    self.send(msg)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/http/client.py", line 951, in send
    self.connect()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connection.py", line 2[36](https://github.com/DLspark/mimotion/actions/runs/10773385608/job/29873063181#step:5:37), in connect
    self.sock = self._new_conn()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connection.py", line 211, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd97a1183a0>: Failed to establish a new connection: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/connectionpool.py", line 843, in urlopen
    retries = retries.increment(
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/urllib3/util/retry.py", line 519, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='api.m.taobao.com', port=80): Max retries exceeded with url: /rest/api3.do?api=mtop.common.getTimestamp (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd97a1183a0>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 2[40](https://github.com/DLspark/mimotion/actions/runs/10773385608/job/29873063181#step:5:41), in <module>
    getBeijinTime()
  File "main.py", line 98, in getBeijinTime
    msg_mi += main(user_mi, passwd_mi, min_1, max_1)
  File "main.py", line 193, in main
    t = get_time()
  File "main.py", line 224, in get_time
    response = requests.get(url, headers=headers).json()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/adapters.py", line 700, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='api.m.taobao.com', port=80): Max retries exceeded with url: /rest/api3.do?api=mtop.common.getTimestamp (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd97a1183a0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Error: Process completed with exit code 1.

已处理，接口问题


Dependencies

According to the nuspec file, this package has no dependencies. Is that correct? Or would you mind updating the nuspec?
Thanks!

@falkoschindler I've just updated the library. This package has no nuget dependencies.


Medtronic Direct Support

Getting ready for the big merge ...

@pazaan Just had a chat with Brandon and Howard and we're ready to merge into master and push to prod. I'll do it first thing when I wake up tomorrow if you can give an approved review of this PR. Everything here should've been reviewed already - maybe you just want to give it a quick glance to check if there's anything weird that stands out.

Yes, there were a few common functions that were refactored into a single file.

  Medtronic Alpha Test - Issue Resolution Card [uploader]