text:
how to test the app on watch?

Hello
I write an app with VS STUDIO,when i try to  test my App on Galaxy Watch(samuang gear s3),it shows the following error:
【processing result : Operation not allowed [-4] failed
spend time for pkgcmd is [2668]ms】
I used the following language to install the app
$ sdb install [path_to_tpk]
Ex)
$ sdb install /home/tizen/org.example.test-1.0.0-arm.tpk
May you teach me how to test the app on watch? Thank you so much

Hello,
you don't need to use sdb command.
Just, do Debug (F5) or Executue (Ctrl + F5)

I'm getting this too but with the debugger

BTW: if you install vs2019. Tizen Extension not show in plugin menu. And i can't create signed packaged. Go back to VS2017, it's work

repo: Samsung/Tizen-CSharp-Samples


text:
Array.prototype.sort() should sort in place.

Array.prototype.sort() should sort in place instead of creating a new Array with the sorted elements.
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com

No other questions. Good to me.

@ruben-ayrapetyan , I've updated the PR. We no longer copy undefined properties.

After raising the issue and adding FIXMEs, the changes would look good to me.

@dbatyai, could you, please, rebase to master?

@ruben-ayrapetyan, rebased.

@dbatyai, thank you!

I agree that the real index based sorting should be replaced by a virtual index based sorting. What is the sorting algorithm? Quick-sort?

After fixing comments and moving them to separate commit, looks good to me.

@zherczeg, current algorithm is heapsort.

@ruben-ayrapetyan, please re-check
After talking with @zherczeg we decided that we should fix #362 in this patch, instead of adding FIXMEs.
After some investigation it appears that sort is actually the only candidate for #362, because other functions are required to also check the prototype chain, so iterating over their defined properties is not enough.

@dbatyai, I'll check the changes today.
I think that fix of #362 in several other parts of engine (including, ecma_op_array_object_define_own_property) can significantly improve performance of sparse arrays handling. However, maybe, sort can be optimized even more, by skipping prototype chain.

@ruben-ayrapetyan, @zherczeg, I've updated the PR.

After fixing, the changes would look good to me.

Looks good to me

LGTM

I'll merge.

Merged a2c6663d43321f17a1ff10f04a59526a52629ecb

source: gharchive/pull-request

authors: dbatyai egavrin ruben-ayrapetyan zherczeg

repo: Samsung/jerryscript

license_type: permissive

license_source: github-api


text:
Remove unused functions from ecma-helpers-number.

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com

We should not let dead code in our repository. Nice catch. LGTM

LGTM

authors: LaszloLango bzsolt zherczeg


text:
Using FFmpeg underneath the hood?

Hey great library! I am using it for a project as it seems to be the only one I could find that supports both video and audio. My question for you is how does the library work from a 10,000 ft overview. I am guessing it uses FFmpeg underneath the hood to capture the video and audio right? I am writing an article and wanted to mention this library as a good solution to quickly record. Thank you so much!

It works by making use of the tab recorder api of chrome which is accessible by this puppeteer-stream browser extension, which is loaded on launch.
When you want to record a webpage, puppeteer-stream notifies the extension to start recording (with the specified parameters). After that chrome starts capturing the audio and video of the page in a MediaStream, which is then converted into multiple packets using the MediaRecorder Api and transmitted back to puppeteer. You will then receive a webm stream that you can further process.
Puppeteer-stream doesn’t use ffmpeg under the hood, but the stream can be passed and converted to ffmpeg (if wanted).
Fun fact, you can even record DRM content using the tab recorder api.

Ok awesome thank you so much for this! Will include this in the article.

I would love to read the article when you published it 😄

Absolutely, just published it :):
https://medium.com/@toshvelaga/recording-webrtc-with-a-ghost-participant-using-puppeteer-104756e2be40

Great to know its working, I had found that chrome tabCapture api can record audio & video both for the given tab.
I am stuck with drm videos in my use case, puppeteer-stream is not able to record that, it shows blank screen with no audio.
I know disabling chrome hardware acceleration seems to solve this issue, but that causes poor performance of my website.

source: gharchive/issue

repo: SamuelScheit/puppeteer-stream

license: MIT


text:
How to print the google colab output?

I want to print the output. I don't now how to do that. Can you send my the python code snippet?

After line number 148,
https://github.com/Samyak2/Keep-Colab-Alive/blob/35910f465790d0989fb60096f73e416c5a017625/keep_colab_alive.py#L147-L150
The following snippet should work to get the code output.
iframe = driver.find_element_by_xpath(f"//div[@id='{cell}']//iframe")
driver.switch_to.frame(iframe)
output_element = driver.find_element_by_xpath('//div[@id="output-body"]')
cell_output = output_element.text
print(f"Output of cell {cell}:")
print(f"\t{cell_output}")
driver.switch_to.default_content()

I have not tested it, let me know if it works.

It works.
Thanks


text:
🛑 Eris - eris.co.in is down

In 13d444b, Eris - eris.co.in (https://eris.co.in) was down:

HTTP code: 503
Response time: 897 ms

Resolved: Eris - eris.co.in is back up in 08d9612 after 2 hours, 43 minutes.

repo: Sandip-XDS/upptime


text:
jasmine-client-integration tests only run when app physically launched in browser

If I have no browser window open and run meteor --test my jasmine-server-unit tests run but then terminal output stalls when I expect the jasmine-client-integration tests to run. The logs show nothing, the most recent log being [velocity] Established connection with Velocity.
If I then open the running app in my browser the client-integration tests complete successfully. How do I get around this?
UPDATE
I just realised the docs received a facelift and read here that I was approaching it wrong so now I have tried
npm install -g phantomjs
JASMINE_BROWSER=PhantomJS meteor --test

but it's still not running the client-integration tests
I'm using Meteor 1.1.0.3 and the package versions I am using are
$ meteor list
accounts-password                  1.1.1  Password support for accounts
alanning:roles                     1.2.13  Role-based authorization
dburles:google-maps                1.1.3  Google Maps Javascript API v3
fortawesome:fontawesome            4.4.0  Font Awesome (official): 500+ scalable vector icons, customizable via CSS, Retina friendly
imsky:holder                       2.8.1  Holder uses SVG to render image placeholders entirely in browser.
insecure                           1.0.3  Allow all database writes by default
iron:router                        1.0.9  Routing specifically designed for Meteor
jquery                             1.11.3_2  Manipulate the DOM using CSS selectors
manuelschoebel:wait-on-lib         0.3.0  Use Meteor Iron-Routers waitOn to load external javascript
materialize:materialize            0.97.0  Materialize (official): A modern responsive front-end framework based on Material Design
matteodem:easy-search              1.6.2  Easy-to-use search with Blaze Components (+ Elastic Search support)
meteor-platform                    1.2.2  Include a standard set of Meteor packages in your app
meteorhacks:kadira                 2.23.0  Performance Monitoring for Meteor
msavin:mongol                      1.1.5  The insanely handy development package for Meteor.
nicolaslopezj:tabular-materialize  1.2.1  Datatables for large or small datasets in Meteor
peernohell:c3                      1.1.3  C3 (0.4.10) charting library based on D3.
reactive-var                       1.0.5  Reactive variable
sacha:spin                         2.3.1  Simple spinner package for Meteor
sanjo:jasmine                      0.17.0  Velocity integration of the Jasmine testing framework
stevezhu:lodash                    3.10.1  A utility library delivering consistency, customization, performance, & extras.
useraccounts:iron-routing          1.12.1  UserAccounts package providing routes configuration capability via iron:router.
useraccounts:materialize           1.12.1  Accounts Templates styled for Materialize Css.
velocity:html-reporter             0.8.2  Reactive Velocity test reports in your app.

Another update, I am not getting some output from PhantomJS but only
[PhantomJS] TypeError: instanceof called on an object with an invalid prototype property.

at which point nothing happens unless I open the app in my browser and then the tests complete

I don't have a clear solution but two things that may help:

Try to use PhantomJS 2
Try to add es5-shim to your app (not sure if that works for Meteor 1.1.0.2 apps). https://atmospherejs.com/meteor/es5-shim

Thanks, I just tried both of those but still no luck I'm afraid

Same thing here, I run:
JASMINE_BROWSER=PhantomJS velocity test-package --driver-package velocity:console-reporter my:package

and it doesn't run in PhantomJS, instead it says:
=> App running at: http://localhost:3000/

and I have to go in the browser to run the tests.

If I move the client-integration tests to the client-unit directory and remove the client-integration directory altogether, then the tests run with the command
PHANTOMJS_BIN=/usr/local/share/phantomjs/phantomjs JASMINE_BROWSER=PhantomJS meteor --test

Are there are any problems going this route?

@philipobrien No, no problems. If that works for you, great!
I just realized that you cannot use PhantomJS 2 for velocity ... --ci right now. I've created an issue here: https://github.com/meteor-velocity/meteor/issues/4.
@ubald The JASMINE_BROWSER setting does only affect the client unit mode, currently. The client integration tests always run in PhantomJs right now on CI.

@Sanjo I should add that when  I run
PHANTOMJS_BIN=/usr/local/share/phantomjs/phantomjs JASMINE_BROWSER=PhantomJS meteor --test

it is the PhantomJS 2 binary I am pointing to, and it works as long as all the client tests reside under the client-unit directory

@philipobrien Yeah, got it. In the client unit mode you can also run your tests in Chrome or Firefox in CI. You just need to change the JASMINE_BROWSER setting.

@Sanjo What if I want to run tests in PhantomJS not in CI, so that I can only have a terminal opened showing me the results?

@ubald You can do that with the client unit mode (JASMINE_BROWSER=PhantomJS). But not with the client integration mode currently.

This seemed to be working for me but it has started throwing errors again
[PhantomJS] TypeError: instanceof called on an object with an invalid prototype property.
...
...
[PhantomJS] ReferenceError: Can't find variable: Template

This is when being run by Jenkins with the following command
VELOCITY_MONGO_URL=xxx PHANTOMJS_BIN=/usr/local/bin/phantomjs JASMINE_BROWSER=PhantomJS \
/usr/local/bin/meteor --test --release velocity:METEOR@1.1.0.3_1;

so is it not possible to do this with CI?

@philipobrien, I have CI working on a rather decent size project, using PhantomJS, on both Semaphore CI and CodeShip.  I was also having problems with only jasmine-client-integration tests not running (the mirror would appear to get initialized by Velocity, but then the tests would never run and no error was outputted in the logs).
I ended up rearranging my .meteor/packages and it now works for me very reliably.  I never fully got to the bottom of what was happening but I think it had something to do with modules that sub-class or change Meteor.Collection or Mongo.Collection.
Can you reveal the order that your packages are listed in your .meteor/packages file within your project root?
Also, not that it will fix the problem for you, but velocity:METEOR@1.1.0.3_2 (note _2) is out now, which might help additionally - I know I definitely had problems using the official meteor release.

@abernix here is the order
meteor-platform
jquery
iron:router
peernohell:c3
sanjo:jasmine
sacha:spin
accounts-password
dburles:google-maps
imsky:holder
alanning:roles
msavin:mongol
fortawesome:fontawesome
manuelschoebel:wait-on-lib
materialize:materialize
nicolaslopezj:tabular-materialize
useraccounts:materialize
meteorhacks:kadira
matteodem:easy-search
reactive-var
velocity:html-reporter
stevezhu:lodash
useraccounts:iron-routing
es5-shim
xolvio:cucumber

Cool. I might recommend a couple changes... Having had multiple issues with package order screwing up my builds, I'm a bit picky about the order — your mileage may vary, but might be worth a shot.

generally try to keep "core" packages (ones that do not include a colon : in them), together at the top.
move all test framework packages directly after the "core" packages
putting mongol as far down as possible.  The bottom might be best but definitely after the test frameworks.
putting velocity:* stuff before other framework stuff.
putting your iron-router router after velocity.

Basically, this helps if any packages screw up prototypes, it will happen later in the process with less complex packages which are less likely to be affected.  It happens, trust me.

On Aug 28, 2015, at 11:17 AM, philipobrien notifications@github.com wrote:
@abernix here is the order
meteor-platform
jquery
iron:router
peernohell:c3
sanjo:jasmine
sacha:spin
accounts-password
dburles:google-maps
imsky:holder
alanning:roles
msavin:mongol
fortawesome:fontawesome
manuelschoebel:wait-on-lib
materialize:materialize
nicolaslopezj:tabular-materialize
useraccounts:materialize
meteorhacks:kadira
matteodem:easy-search
reactive-var
velocity:html-reporter
stevezhu:lodash
useraccounts:iron-routing
es5-shim
xolvio:cucumber
—
Reply to this email directly or view it on GitHub.

OK, I changed it to this
meteor-platform
jquery
accounts-password
iron:router
peernohell:c3
sanjo:jasmine
sacha:spin
reactive-var
es5-shim
xolvio:cucumber
velocity:html-reporter
useraccounts:iron-routing
dburles:google-maps
imsky:holder
alanning:roles
fortawesome:fontawesome
manuelschoebel:wait-on-lib
materialize:materialize
nicolaslopezj:tabular-materialize
useraccounts:materialize
meteorhacks:kadira
matteodem:easy-search
stevezhu:lodash
msavin:mongol

Unfortunately it hasn't fixed things. In fact, on my local machine I am now getting similar Velocity errors
[PhantomJS] TypeError: instanceof called on an object with an invalid prototype property.
...
[PhantomJS]   http://localhost:59364/packages/global-imports.js?463bf9088a082f70cace700ebe7ff66c60248da1:8
[PhantomJS] ReferenceError: Can't find variable: Template
...
...

yet despite these errors all Cucumber tests run and it ends with TESTS RAN SUCCESSFULLY

Hmmmm, my cucumber log is showing this for the first test
Scenario: An adviser can login with valid information   # features/adviser/adviser_login.feature:11
    Given The adviser is logged out                       # features/adviser/adviser_login.feature:8
      Error: POST /session//url
      Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:16:47'
      System info: host: 'smart-appi-jenkins', ip: '192.168.1.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-53-generic', java.version: '1.7.0_79'
      Driver info: driver.version: unknown

RuntimeError: POST /session//url

Well, I like the idea that things are at least being more similar!  Heh.
Maybe play with the order a bit more and see if you can work through some different results.  I played with mine for hours and eventually found that I absolutely had to have certain packages after others.  Some packages just break things for others - while I despise the way that these packages do what they do, some were critical to my workflow and I just had to keep them in.  Try adding/removing packages where you can and see about different results.
Also, if you're working on your local machine, maybe try to use Chrome instead of PhantomJS for a minute and debug in the browsers themselves.

There are certainly issues with Jasmine but in case it's more a fault of Velocity I have created an issue here. I have also started a repo here for the sole purpose of working through these issues (and hopefully solving them!)

Thanks for the demo repo -- life-saver! :kissing_closed_eyes:
I have posted my findings in the other ticket.  If I pass CUCUMBER=0, the problem goes away.  Also, if we remove xolvio:cucumber, the problem goes away as well.
I can't confirm now, as I've got my project running successfully with both, but I did have a point and time when jasmine-client-integration tests weren't running.  I resolved it by re-ordering my packages load order, but I wonder now if disabling Cucumber would have fixed it.  I will check if I get a chance.

authors: Sanjo abernix philipobrien ubald

repo: Sanjo/meteor-jasmine

license: mit

license_source: bigquery


text:
added Careem

Added Careem to the ./data/single directory.
Why?
1- It is widely used in many countries all over the middle east.
2- Many in the middle east prefer it over Uber.
3- Careem can be found in many cities where Uber doesn't operate.
What changes were made to project files?
Just added one file careem.js
How did you make the changes?
I tried to scrape the page but failed to find the right "specific" selector, so instead I used the newProvider.js file. I added the major cities manually by referring to Careem's website, then ran node ./data/newProvider.js
Additional changes?
I apologize I was planning on making the second commit a separate pull request. However, I accidentally pushed it into master and not sure how to reverse. The second pull request changes the npm script for seeding. I noticed that a seed file (seed.js) used to exist in the data directory, but seems to have been replaced by scrape.js. All I did was change the name in the package.json to reflect that.

Deployed: https://isthereuber.in/dubai
Thank you so much :D

repo: SaraVieira/uber-cities


text:
Add a circular  loader in the tasklist page  till the tasks have not been fetched

A circular loader will run till the api fetch call to get task lists get the data .
Hint : You can use useState and set its value to false in side .then()

i want to work on this issue under jwoc

@03amir  i have assigned the issue to you ,just add a circular loader from material UI which will stop showing when the data is fetched .

repo: SaraswatGit/PlanZap


text:
Fix WIHE tabs offscreen on mobile

adds conditional mui attributes to allow responsive tabs layout (centered on desktop, variant fullWidth on mobile)
fixes #1025

Looks great! Thanks for catching this :)

authors: benhammondmusic joshzarrabi

repo: SatcherInstitute/health-equity-tracker


text:
bug(keyBindings): Alt always appears first when mapping keybindings

Issue:
Not 100% sure if this is how we had it intended or if its a bug but Luis had pointed out that when you set a custom keybinding like Control+Shift+Alt+something it will always appear as Alt+Control+Shift like its in alphabetic order instead of the intended order set by the user.
OS:
All
Screen recording:
https://github.com/Satellite-im/Uplink/assets/93608357/27301d5c-42b8-459d-8588-05dec3785ce1

Same happens with Shift... If you send Shift + Ctrl + A (in this order) as custom keybind, it will be mapped to Ctrl + Shift + A

authors: luisecm phillsatellite

repo: Satellite-im/Uplink


text:
Bug Report:  Some Images are not visible

Reproduction steps
When i press on the resources option in the navigation bar, it took me to the resources section. Where i saw that some images are not visible
Expected behavior
The images should be visible
Actual Behavior
Images are not properly linked due to which they are not visible

👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Please Assign me  I will Fix this

Hey @piyushkhurana2019 @praveenscience @Xaconi @eemike07 I have Fixed this issue Please Assign me so that I can make PR
https://github.com/SauravMukherjee44/Aec-Library-Website/assets/99237795/53a3d85d-a72d-487d-9604-7f1f827bb79c

Please assign me this issue so that I can resolve it under GSSOC-23

Please assign me this issue so that I can resolve it under GSSOC-23

I have fixed it bro

Hey @praveenscience This issue has been fixed you can remove this from issue section.

@SauravMukherjee44, Sir i had raised this issue first and started working on it first. you assigned it so somebody else:(


text:
Fixed arrows Alignment in FAQ's (#117)

I fixed the arrows alignment it is happening because of the second content is is greater than the other that's why the arrow in the second accordion has its wrong position .
closes: #117

Hii @Sayak-Bhunia plz add gsoc and level label

repo: Sayak-Bhunia/mystory


text:
Update zio, zio-test, zio-test-junit, ... to 2.0.16

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-junit
dev.zio:zio-test-magnolia
dev.zio:zio-test-sbt

from 2.0.13 to 2.0.16
📜 GitHub 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 = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

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

Superseded by #147.


text:
⚠ Jenkins Plugins Artifactory has degraded performance

In 50be242, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1780 ms

Resolved: Jenkins Plugins Artifactory performance has improved in c73d477.

repo: Schmitzis/Uptime


text:
Fix playground doesn't seem to use the selected onyx version

Repro steps

Open this Playground example
The example was created with the alpha version of onyx, but instead the newest version is selected
When the version is manually changed to an alpha version, the OnyxStepper shouldn't be rendered, as it didn't exist in that version. Its HTML is rendered anyway, even tough without the correct styling.

Expectation

The selected version should sync to the URL and loaded when a playground is opened with this link
The selected version of sit-onyx should be actually loaded (e.g., OnyxStepper shouldn't be rendered and give an error when an alpha version is selected).

@larsrickert Would it be possible (without too much effort) to implement a test for this?

@larsrickert Would it be possible (without too much effort) to implement a test for this?

Sure :) #1689

repo: SchwarzIT/onyx


text:
Add new archivements

Resolve #112
Updating README...

Damn, you are fast, waiting for the README then!

You have definitely earned your "Quickdraw" achievement with this PR.

Alright, gonna merge then, thank you very much all! :)

authors: AlexWinder Schweinepriester kidonng


text:
add new fields to dataset

Description
See #523
Motivation
See #523
Changes:

changes made

Add dataQualityMetricsand commentfield

Tests included/Docs Updated?

[ ] Included for each change/fix?
[ ] Passing? (Merge will not be approved unless this is checked)
[ ] Docs updated?
[ ] New packages used/requires npm install?
[ ] Toggle added for new features?

IMHO "data quality" is part of metadata given that than can be many type of data quality and also it might specific to the type of experiment and research. It is also subjective to the person doing the review.
That said, I'm not oppose to have an overall data quality field, as long as the meaning is very well defined within the organization.
Regarding the "comment" field, I agree with @stephan271. This field can also be seen as part of the dataset metadata.

What would be the use cases for "description" and what for "comment" ?
I dont know if there is a field called description.
but the comment is some feedback from users of the dataset ?
Yes
Since that can be many users: would it make sense to define comment instead as "comments" and turn it into array of strings ?
Yes, you are right.

@nitrosx

IMHO "data quality" is part of metadata given that than can be many type of data quality and also it might specific to the type of experiment and research. It is also subjective to the person doing the review. That said, I'm not oppose to have an overall data quality field, as long as the meaning is very well defined within the organization.

I agree with you there can be many type of data quality. In our use case the data quality is only relevant for researchers and BL staffs working on that proposal. They rate the quality of their scans to easily knowing which datasets is worth spending time on.

Regarding the "comment" field, I agree with @stephan271. This field can also be seen as part of the dataset metadata.
We see scientific metadata as non changing facts and are fetched from the machines that run the experiment. If we include these fields in dataset metadata then we need to iterate through these fields to extract comment and data quality field for each dataset. Might be very slow.

@dylanmcreynolds, At the moment we only use comment as a string so that the user can write a short note about the dataset. We don't store information or history about who wrote what and when. For longer comment I think logbook is more appropriate. What do you think @nitrosx & @stephan271 ?

Yes, in the KISS spirit, leaving comments as a simple string should be sufficient for now, and yes, more detailed information probably belongs into an electronic logbook. In my mind we should therefore go ahead with the proposed changes.

authors: nguyenlinhlinh nitrosx stephan271

repo: SciCatProject/backend


text:
Use DIPPER mapping format for CURIEs

Should read:
prefix : IRI prefix

and update the location for all the build plans.

here's the current yaml configuration used for dipper:
https://raw.githubusercontent.com/monarch-initiative/dipper/master/dipper/curie_map.yaml

will this be an issue?
'ISBN-10': 'http://www.monarchinitiative.org/ISBN_'
'ISBN-13': 'http://www.monarchinitiative.org/ISBN_'
'ISBN-15': 'http://www.monarchinitiative.org/ISBN_'
'ISBN': 'http://www.monarchinitiative.org/ISBN_'
basically the data i have uses those ISBN prefixes in their annotations, but i map them to simply ISBN because i don't think they clobber one another.

We decided to retain the numeric portion, e.g. ISBN10
Since we're discussing this, might be a good idea to have a strategy to make sure all things that point to us are resolvable. E.g. http://monarchinitiative.org/object/CURIE

@nlwashington will these mappings from dipper be usable for monarch.owl as well?

This has been redeployed with the new CURIEs on geoffrey and rosie.

authors: ccondit cmungall nlwashington

repo: SciCrunch/SciGraph


text:
Polishing for 1.5 release

This PR comprises the bug fix for the thread limit and additionally some polish for the upcoming 1.5 release:

Instead of simply passing the --threads setting to the output file writers, do a proper split.
Add additional tests for the new features and CLI parameters.
Rename variables in the input file readers for consistency with output.
Readme updates: Remove all references to single-threaded output compression.
Bump the versions of some steps in CI.

Docker and Singularity images are broken...🥲
singularity exec ~/APPTAINER/images/umi-transfer\:1.5.0--9e9164aef88a.sif ldd /usr/local/bin/umi-transfer
/usr/local/bin/umi-transfer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/bin/umi-transfer)
/usr/local/bin/umi-transfer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/bin/umi-transfer)
/usr/local/bin/umi-transfer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/umi-transfer)
	linux-vdso.so.1 (0x00007ffcf0f60000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000014fd7650e000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000014fd763ca000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000014fd761f6000)
	/lib64/ld-linux-x86-64.so.2 (0x000014fd7683f000)

repo: SciLifeLab/umi-transfer


text:
Examples in docs or ReadMe?

Should the documentation or the ReadMe (or both) contain some examples of how to use SciMLStructures? I'm there must be some examples out there, but don't know where they are (and the tests here don't have any examples either).

There aren't quite enough examples out there to document right now. This interface is still gaining traction around the rest of the ecosystem and so I don't think it's quite ready for that yet.

I got an error when trying to use Zygote (via DifferentiationInterface) to take the gradient of a cost function involving an ODE.  I understand why, but for lack of docs I have no idea how to wrap my parameters — which is just a named tuple that's constant WRT the differentiation variable.  (I'll just use ForwardDiff for now.)  But since that's one of the well advertised use cases for SciML, maybe that could be demonstrated?

That should now be working with today's release. I think we're almost ready to have this be a standard.
@AayushSabharwal could you cook up an example of a SciMLStructure to document the interface?

authors: ChrisRackauckas briochemc moble


text:
add module clean and bi

[ ] Fix statsample dependency issue
[x] Add frequently used methods from other sources
[ ] Make the structure modular
[ ] Add tests

Closing since there's no issue which demands modules like BI and Clean, lack of tests and oldness of PR.

repo: SciRuby/daru


text:
Linking external C library

Hey
I am trying to understand correct way to create bindings to any external C libs.
C lib - https://github.com/wooorm/levenshtein.c
rubex file
lib "<levenshtein.h>"
	unsigned int levenshtein(char *a, char *b)
end

class Lev
	def self.distance(a, b)
		return levenshtein(a, b)
	end
end

Error
>:~/Desktop/c/levenshtein.c$ rubex lev.rubex
creating Makefile

>:~/Desktop/c/levenshtein.c$ cd lev/

>:~/Desktop/c/levenshtein.c/lev$ ruby extconf.rb // added all lib files
creating Makefile

>:~/Desktop/c/levenshtein.c/lev$ make
compiling lev.c
compiling __rubex__common_utils_.c
linking shared-object /home/arjun/Desktop/c/levenshtein.c/lev/lev.so

>:~/Desktop/c/levenshtein.c/lev$ ruby rb_lev.rb
#<Lev:0x0055a47eb7f868>
ruby: symbol lookup error: /home/arjun/Desktop/c/levenshtein.c/lev/lev.so: undefined symbol: levenshtein

>:~/Desktop/c/levenshtein.c/lev$ ls
extconf.rb  levenshtein.c  lev.h  lev.so    rb_lev.rb                 __rubex__common_utils_.h
lev.c       levenshtein.h  lev.o  Makefile  __rubex__common_utils_.c  __rubex__common_utils_.o

Why am I getting this error?
Rubex - 0.1.2
Ruby 2.3.3

Hi
Any updates on this?
Is there any condition on the type of C libs we can link with Rubex?

repo: SciRuby/rubex


text:
Example warnings: "default for ma.minimum.reduce will be axis=0"

When running the documentation examples, sometimes warnings such as the following are seen:
MaskedArrayFutureWarning: In the future the default for ma.minimum.reduce will be axis=0, not the current None, to match np.minimum.reduce. Explicitly pass 0 or None to silence this warning.

Do we need to do something in the iris codebase to prevent this, or do we need to update the example code?

I've just noticed this from my code, and the traceback indicates the problem was in Matplotlib (version 1.5.3).  I think this issue was opened before pinning Iris to that latest Matplotlib version, so may now be fixed?

Full traceback in case it's useful:
Traceback (most recent call last):
  File "./../../run_west_african_monsoon.py", line 24, in <module>
    args.hindcastproc, args.newhindcast, args.oldhindcast, args.plotdir)
  File "[path-to-my-module]/wam_hovmoller.py", line 300, in plot_hovmollers
    _plot_mean_and_sd(hovmollers, obs_label, plot_num)
  File "[path-to-my-module]/wam_hovmoller.py", line 293, in _plot_mean_and_sd
    _plot_hovmoller(hov_agg, levels, label)
  File "[path-to-my-module]/wam_hovmoller.py", line 243, in _plot_hovmoller
    colors=colors, extend='max')
  File "[site-packages-path]/iris/quickplot.py", line 187, in contourf
    result = iplt.contourf(cube, *args, **kwargs)
  File "[site-packages-path]/iris/plot.py", line 808, in contourf
    result = _draw_2d_from_points('contourf', None, cube, *args, **kwargs)
  File "[site-packages-path]/iris/plot.py", line 400, in _draw_2d_from_points
    result = draw_method(u, v, data, *args, **kwargs)
  File "[site-packages-path]/matplotlib/pyplot.py", line 2790, in contourf
    ret = ax.contourf(*args, **kwargs)
  File "[site-packages-path]/matplotlib/__init__.py", line 1819, in inner
    return func(ax, *args, **kwargs)
  File "[site-packages-path]/matplotlib/axes/_axes.py", line 5627, in contourf
    return mcontour.QuadContourSet(self, *args, **kwargs)
  File "[site-packages-path]/matplotlib/contour.py", line 1424, in __init__
    ContourSet.__init__(self, ax, *args, **kwargs)
  File "[site-packages-path]/matplotlib/contour.py", line 863, in __init__
    self._process_args(*args, **kwargs)
  File "[site-packages-path]/matplotlib/contour.py", line 1472, in _process_args
    x0 = ma.minimum(x)
  File "[site-packages-path]/numpy/ma/core.py", line 6385, in __call__
    return self.reduce(a)
  File "[site-packages-path]/numpy/ma/core.py", line 6401, in reduce
    MaskedArrayFutureWarning, stacklevel=2)
numpy.ma.core.MaskedArrayFutureWarning: In the future the default for ma.minimum.reduce will be axis=0, not the current None, to match np.minimum.reduce. Explicitly pass 0 or None to silence this warning.

Thanks @rcomer. Happy to take that one 👍

authors: pelson rcomer

repo: SciTools/iris


text:
ruff: incremental adoption

📰 Custom Issue

As #5623 has been merged, we're now in the position where we can slowly adopt incremental compliance of the ruff linter rules.
Our ruff configuration is defined in two files:

pyproject.toml: this contains the main ruff configuration for the linter (and formatter, when adopted) and permanent rule exclusions
.ruff.toml: this configuration extends the pyproject.toml and contains temporary rule exclusions

The goal of our ruff adoption is two-fold:

Tackle individual rule categories defined in the .ruff.toml on a piecemeal basis e.g., "F" or "ANN" etc
Drop third-party packages replaced by ruff.

Tackling Rules
We need to agree on a general way forward here.
However, essentially it will involve the following steps:

Comment out a rule in the .ruff.toml.
Install ruff in your development environment e.g., pip install ruff.
Run ruff e.g., ruff .
Address the non-compliances:

Consider using ruff --fix . to auto-fix.
Manually address the other non-compliances.

Either:

Remove the rule from .ruff.toml, as we are now compliant.
Replace the rule category with one or more exact rules that still require to be addressed e.g., replace "F" (Pyflakes), which represents all pyflakes rules, with exact "Fxxx" rule instances that still require to be ignored.

Note that, rules can be ignored across all of iris by using the [tool.ruff.lint.ignore] in the pyproject.toml or the lint.ignore in the .ruff.toml.
Rules can also be ignored on a per file basis:

Use [tool.ruff.lint.per-file-ignores] in pyproject.toml.
Use lint.extend-per-file-ignores in the .ruff.toml.

As a result of tackling the temporary rule exceptions in .ruff.toml we may uncover permanent rule exceptions that we want to adopt. These should be discussed, and if agreed, added and documented in the pyproject.toml.
Drop Third-Party Packages
The ruff linter and formatter replace the following packages, which we can now drop:

[ ] black

[ ] Adopt ruff formatter
[ ] Remove tool.black section from pyproject.toml
[ ] Remove pre-commit hook from .pre-commit-config.yaml
[ ] Remove badge from the README.md

[ ] isort

[ ] Remove tool.isort section from pyproject.toml
[ ] Remove pre-commit hook from .pre-commit-config.yaml

[ ] flake8

[ ] Remove .flake8 configuration file
[ ] Update MANIFEST.in
[ ] Remove pre-commit hook from .pre-commit-config.yaml

numpydoc adoption tick list https://github.com/SciTools/iris/issues/4721 will address the pydocstyle (D) section in https://github.com/SciTools/iris/blob/c11d8bbffa65e3bc8ed2306b6fd6099984ed8ba1/.ruff.toml#L28-L30

We need to agree on a general way forward here.

See #5612

Now https://github.com/SciTools/iris/pull/5636 is merged there is now a list of rules that are in the ignore section explicitly can now be addressed one by one in separate PR's.

[ ]  "D100",  # Missing docstring in public module
[ ]  "D103",  # Missing docstring in public function
[ ]  "D200",  # One-line docstring should fit on one line
[ ]  "D202",  # No blank lines allowed after function docstring
[ ]  "D205",  # 1 blank line required between summary line and description
[ ]  "D208",  # Docstring is over-indented
[ ]  "D209",  # Multi-line docstring closing quotes should be on a separate line
[ ]  "D211",  # No blank lines allowed before class docstring
[ ]  "D214",  # Section is over-indented
[ ]  "D300",  # triple double quotes """ / Use triple single quotes '''`
[ ]  "D301",  # Use r""" if any backslashes in a docstring
[ ]  "D400",  # First line should end with a period
[ ]  "D401",  # First line of docstring should be in imperative mood: ...
[ ]  "D403",  # First word of the first line should be capitalized
[ ]  "D404",  # First word of the docstring should not be "This"
[ ]  "D405",  # Section name should be properly capitalized
[ ]  "D406",  # Section name should end with a newline
[ ]  "D407",  # Missing dashed underline after section
[ ]  "D409",  # Section underline should match the length of its name
[ ]  "D410",  # Missing blank line after section
[ ]  "D411",  # Missing blank line before section
[ ]  "D412",  # No blank lines allowed between a section header and its content

See also #5780 DOCS: Adopt the numpydoc validation rules.

authors: bjlittle tkknight trexfeathers


text:
Page URLs are occasionally deleted.

Don't have exact reproduction steps on this yet, but the page URLs that associate first time help with the pages they should appear on are occasionally deleted.
This is most likely the result of the JSON models not getting the URLs populated when saving first time help after being edited for the documentation pages.

Haven't been able to reproduce this since fixing issue 16. That error would have caused this as well, so I'm closing this until I see it again.

repo: Scintillic/DocMAH


text:
Delete deprecated wingetui.json

The extras/wingetui package is being replaced by nonportable/unigetui-np.
See https://github.com/ScoopInstaller/Nonportable/pull/362 for the addition of UniGetUI-NP

Fixed by #14311.

I am afraid the issue does not get fixed by the renaming, I attempted to move the package to nonportable since the extras package with innoextract is broken (some installation steps are required for UniGetUI to work proprtly). See the PR on nonportable: https://github.com/ScoopInstaller/Nonportable/pull/362

https://github.com/ScoopInstaller/Extras/issues/13709#issuecomment-2448562806

Oh, ok then

authors: aliesbelik marticliment

repo: ScoopInstaller/Extras

license: Unlicense


text:
[Feature request] Möjlighet att rapportera plats för möte

Feature request från Svenska Scouter när Skojjt nämts:

Skojt löser tyvärr inte ett problem som man behöver för lunds kommun, det går inte att kryssa i om mötet bedrivs i lokalen eller om det görs på annan plats (jag har tänkt lägga en bugg rapport på det men har inte kommit så långt än)

Duger det med ett fritext fält. Eller vill du kunna definiera ett antal platser som du kan välja från?

authors: martin-green sakjur

repo: Scouterna/skojjt


text:
Don't hide in corner in shame

Fixing issue #18.
NOT EXTENSIVELY TESTED
(I've only tested a bit. Please test further before merging pull request.)

will test in a few hours

So much for me doing this.

authors: Firedrake969 PullJosh an-OK-squirrel

repo: ScratchAgarioBots/agario-bot


text:
#8: Enable flake8 annotations.

Well we saved the best for last. This PR enables flake8-annotations and adds the mypy config disallow-untyped-defs to the tests directory. Phew!
This PR also removes the isort, pylint, and flake8 tools from the dev dependencies list, since we don't use them in linting anymore.

There are still a couple mypy issues that i'm having trouble figuring out:
mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

tests/test_resolutions.py:149: error: Argument 1 to "ContainsTheEntry" has incompatible type "str"; expected <nothing>  [arg-type]
tests/test_resolutions.py:149: error: Argument 2 to "ContainsTheEntry" has incompatible type "bool"; expected <nothing>  [arg-type]
tests/test_resolutions.py:161: error: Argument 1 to "ContainsTheEntry" has incompatible type "str"; expected <nothing>  [arg-type]
tests/test_resolutions.py:161: error: Argument 2 to "ContainsTheEntry" has incompatible type "bool"; expected <nothing>  [arg-type]
tests/test_resolutions.py:203: error: Need type annotation for "cti_matcher"  [var-annotated]

Until those are resolved, i'll leave this as a draft.

There are still a couple mypy issues that i'm having trouble figuring out:

This makes me think we need to update the github action to run mypy checks against the tests as well.

I'd like to release now, so i'm gonna use my privileges @bandophahita. If you have any concerns from this PR, let's address them in the next one!

authors: bandophahita perrygoy

repo: ScreenPyHQ/screenpy


text:
🛑 Clavus Website (C1) is down

In 26a30ad, Clavus Website (C1) ($CLIENT1) was down:

HTTP code: 500
Response time: 1198 ms

Resolved: Clavus Website (C1) is back up in f0dabb0.

repo: Scriptor-Group/status


text:
高效且几乎不需要后续跟进的快速查找最新实物aid的办法

aid是一个比较恶心的东西，正整数，不断递增，但是其中会有间隔（code是-400表示为空），这样的话，如何比较快速的查找到aid就是一个比较麻烦的问题。
我最终采用了类似二分的办法，从0-1000查找，经过30次左右才能查到最新数据，不清楚你是怎么做的呢？

emmm，比较笨的办法，从我设置的最新的aid开始增加，活动存在就继续增加，直到遇到连续10次code为-400，记录最后一次存在的aid，下次从这个aid开始。

emmm，比较笨的办法，从我设置的最新的aid开始增加，活动存在就继续增加，直到遇到连续10次code为-400，记录最后一次存在的aid，下次从这个aid开始。

感觉其实用不了10次，我是5次的。这样需要挨个查看。恶心了一点。

反正这也影响不大，而且只是第一次需要查询很多次，之后就是十几次而已了

👌

authors: SeaLoong yjqiang

repo: SeaLoong/Bilibili-LRHH


text:
Rework ActiveEnum to support TryGetable for Vec

Succeeds #1834
Step 1: remove the reliance on ValueVec

@anshap1719 I think I figured out something within the type system. At least it compiles, so it won't be too far away from complete. I can't really explain my course of thinking, but it wandered a bit and ah-ha!
If you have time, can you help verify and perhaps add back some of the test cases?

@tyt2y3 Perfect! Thank you. My first approach was to try to get rid of ValueVec, but I didn't persue it because of lack of a holistic picture of the project.
In any case, I'll re-add the test files and fixtures this weekend if you haven't added them already by then.

Oh by the way, apart from things that I mentioned above, this does solve the original issue. I'm able to use root JSON arrays just fine with this branch.

How cool is that! Let's get this done this few days.

@tyt2y3 Created https://github.com/SeaQL/sea-orm/pull/1900 for adding tests and fixing issue I pointed above.

I figured we could make this work even on SQLite, provided we enable the postgres-array feature flag. Not idea, but Good enough for now.

Hi @tyt2y3 Sorry for not being able to get back in time. The changes you had to make in column.rs was precisely why it was taking me time because insert tests weren't working for me locally.
Thank you for merging the PR and continuing on with necessary changes.

Is it going to pass this time? I am thrilled

@IgnisDa Yes. I have already confirmed locally that it solves #1517

Awesome! Any ETA as to when it would be merged?

Thanks for all the efforts @tyt2y3

@anshap1719 What underlying data type are you using for this column?

Thank you everyone. I am happy for what we've achieved out of this collaboration!

@tyt2y3 Do you know when we can expect the next release? Not trying to push for it, just want to understand the timeline. Thanks.

repo: SeaQL/sea-orm


text:
Problem: Consul service is not started during bootstrap

Hare commit 27395f988f8d90eea6a82ecd04a97616aca2275b.
-bash-4.2$ time hctl bootstrap --mkfs cfgen/examples/singlenode.yaml
2020-09-18 08:52:55: Generating cluster configuration... OK
2020-09-18 08:52:57: Starting Consul server agent on this node..........................................................................
.......

[root@ssc-vm-c-0770 opt]# tail -f /var/log/messages
Sep 18 08:52:58 ssc-vm-c-0770 hare-consul: /opt/seagate/cortx/hare/libexec/consul/hare-consul: line 30: exec: consul: not found
Sep 18 08:52:58 ssc-vm-c-0770 systemd: hare-consul-agent.service: main process exited, code=exited, status=127/n/a
Sep 18 08:52:58 ssc-vm-c-0770 systemd: Unit hare-consul-agent.service entered failed state.
Sep 18 08:52:58 ssc-vm-c-0770 systemd: hare-consul-agent.service failed.
Sep 18 08:52:58 ssc-vm-c-0770 systemd: hare-consul-agent.service holdoff time over, scheduling restart.
Sep 18 08:52:58 ssc-vm-c-0770 systemd: Stopped Consul agent for Hare.
Sep 18 08:52:58 ssc-vm-c-0770 systemd: start request repeated too quickly for hare-consul-agent.service
Sep 18 08:52:58 ssc-vm-c-0770 systemd: Failed to start Consul agent for Hare.
Sep 18 08:52:58 ssc-vm-c-0770 systemd: Unit hare-consul-agent.service entered failed state.
Sep 18 08:52:58 ssc-vm-c-0770 systemd: hare-consul-agent.service failed.

/opt/seagate/cortx/hare/bin/consul file is absent.

@mukul-seagate11 @gauravchaudhari02  - Stale bot is still closing issues. Could you please review stale bot configuration.

@shailesh-vaidya, I could see that @chumakd has made a commit on stale.yml file and opted for default behaviour of stale bot to close issues after 7 days.

@chumakd  Can we restore stale.yml file so that it will not close issues automatically. We may increase daysUntilStale: 4 period to reduce spamming. As I see it was removed for this reason in https://github.com/Seagate/cortx-hare/tree/a52b4a3c8707a991a98ca8fc64ce5239e05055b9

@shailesh-vaidya sure, feel free to restore it and set some reasonable defaults. Please, either create a pull request or update main branch directly as you see fit.

authors: chumakd gauravchaudhari02 imvenkip shailesh-vaidya

repo: Seagate/cortx-hare


text:
[BUG] board.GetLegalMoves(true) makes IsStalemate behavior wrong

If you call the board.GetLegalMoves(true) method and it returns 0 moves (although non captures would be available), board.HasZeroLegalMoves() uses the cached GetLegalMoves(true) response and returns true.

Should be fixed now, thank you! (I assume you were using the NonAlloc version of GetLegalMoves because I couldn't find an error with the regular version?)

Should be fixed now, thank you! (I assume you were using the NonAlloc version of GetLegalMoves because I couldn't find an error with the regular version?)

Yes, sorry! I assumed the error would be the same in both GetLegalMoves and GetLegalMovesNonAlloc, should have been more rigorous in my bug report. Thanks for fixing it :)

authors: EikeSchwass SebLague

repo: SebLague/Chess-Challenge


text:
File loader refactoring

Thank you for solving issue #179. The file loader can now operate somehow.
In this PR I propose to change the signature of this interface a little bit, so it become more user-friendly.
Also, here I included FilesystemFileLoader into the library to facilitate user experience. The basic things should be available out of the box.
Please take a look at FilePathEqualityComparer. Despite this comparer have some performance impact, I believe this is the only one possible solution to compare file paths. Paths that are pointing to the same file may look very different:
C:/test.mjml
/test.mjml
C:/folder/../test.mjml
./test.mjml
../test.mjml
So, the only one way to compare them is to determine full file path.
I haven't written any unit tests for this, since it was hard to me to make it work with existing system. If you really need them, I will leave this task for someone who can do it better then I do.
Thank you for this project.

I have designed it to be agnostic of the underlaying system. Therefore I don't want to have any System.IO part in the interface.

What do you mean with

In this PR I propose to change the signature of this interface a little bit, so it become more user-friendly."

Does it work or does it not work?
There should also be no dependency between the file loader and the include component.

I have updated the PR to remove dependency to include component. Regarding your question - everything works. But it seems very strange to developers to see some object in parameters and to return some tuple. It causes a lot of confusion, at least for me.  A proposed strongly-typed argument is clearer to understand and it solves the problem of path combining so developers won't need to reinvent the wheel resolving path absolute path. This problem might appear to anyone who is new to this library so I just want to prevent lots of issues for MJML.NET users.

The point about System.IO is not operation systems. The goal of the file loader is to also allow total different sources. lets say loading from URLs directly or from a zip archive or something like that.

I understand this. In any case, there should be some hierarchy of includes in place. So, we need to figure out the best way of doing this.
In my particular situation, it's Azure Blob Storage, and I'd still like such a mechanism to be in place.
In current PR implementation there is a way to access original values of each mj-include tag, so if particular implementation requires different approach, then Path.Combine, it is possible to make it work via traversing MjIncludeValue, ParentFileContext.MjIncludeValue, ParentFileContext.ParentFileContext.MjIncludeValue, and so on. That's right, we can't really predict all the use-cases and path resolving scenarios, but the most common and universal one should be built-in somehow.
If you want, I can exclude properties FilePath and Directory from IncludedFileInfo, but it would be great if we could still have this as built-in.
To facilitate work for developers and not to force them to write their own traversal methods, it is also possible to add method like IEnumerable GetIncludesChain(), that will enumerate all MjIncludeValue values.
If you have some ideas on how to make it better - I am open to making changes to the PR, so don't hesitate to let me know about your thoughts.

I just don't want to have this stuff in the include component. Perhaps the problem is that the file loader is stateless. If we add an option to create a new instance (e.g. via a factory function in the options), then we could keep all this state in the file loader and simplify the include component. Then the IFileLoader keep its design and we can put your stuff in a FileLoader base class or something like that.
Then it would also be easier to write new components that load something.

I created a pr for that. I think it is much better: https://github.com/SebastianStehle/mjml-net/pull/182

I am in the process of updating this PR according to your suggestions. I am planning to finish today, so let's compare when I finish. Don't merge yet. I suppose you'll like it

You can review the current approach. Tell me if this works for you or if you have any other comments.

I actually like my approach with the stateful file loader, because it really simplifies the include component.

Closed due to inactivity

authors: ClassTerr SebastianStehle

repo: SebastianStehle/mjml-net


text:
Add QR brightness tips screen

resolve #363
363#issuecomment-1568754458

Concept ACK, at the least, and tested
...however I'd personally prefer 3s instead of 2s for the delay.  Just my 2c.
I think that this may actually resolve an issue where we've considered changing the default brightness (#377 and #380), because as long as the user knows how to do this, we might not need to default to a strangely dark qrcode background.
Also, I really like that there is an Advanced Settings option to disable QR brightness tips, and that it's default=enabled so that new users will see it; they can disable these notices once they learn how important it is.

Concept ACK

ACK tested
When testing I tried pressing one of the push buttons during the QR brightness tip screen which resulted in skipping the QR instead of skipping the brightness tip screen.

ACK tested
When testing I tried pressing one of the push buttons during the QR brightness tip screen which resulted in skipping the QR instead of skipping the brightness tip screen.

Thank you, I can reproduce it and will fix it as soon as possible.

Well done @SmokeTag for catching that!  I was able to confirm as well.
and @overcat, I confirm that your latest commit 1e11f09 corrects it.
Also, I like the extra second for time to read the message.

ACK Tested

I think any new UI element (esp if it isn't just a standard ButtonListScreen should have images or a video demo in the PR.
https://github.com/SeedSigner/seedsigner/assets/934746/2afac42f-6173-46f4-92e4-90844d2578bc

I think any new UI element (esp if it isn't just a standard ButtonListScreen should have images or a video demo in the PR.
20230630_091655_edit.mp4

Thank you for your reminder. I will follow this point in future PRs.

Super useful feature. Thanks, @overcat!
Possible enhancement: I'm thinking it could be helpful to provide the help text in context of the QR code rather than introducing a separate (blank) screen, so I put together a couple quick mocks. Thoughts?

@kdmukai, I'm trying to recall if this is what the latest snackbar component looks like. Do you have an example from the current build?

Possible enhancement: I'm thinking it could be helpful to provide the help text in context of the QR code rather than introducing a separate (blank) screen, so I put together a couple quick mocks. Thoughts?

I like the Brightness Up/Down screen on the left. I think this could be implemented as a GUI component that renders for both static and animated QRs. @easyuxd how do you imagine this help text disappearing/fading out? I think it would be nice for it to flash up for about 1 second and fade out quickly when any QR initially is displayed. Then when the brightness is changed (up or down) it would display again for 1 second and fade out again.

I love your idea, @newtonick.
Here's what it would look like if the snackbar/overlay holds on screen for 1000ms and fades in/out with a standard 300ms transition.

Hi @easyuxd, if it is an animated QR code, should the QR code change when the snackbar/overlay appears, or should it remain unchanged?

@easyuxd food for thought (I am in no way convinced this is necessarily a better word choice, though!):
^ Brighter
⌄ Darker

Hi @easyuxd, if it is an animated QR code, should the QR code change when the snackbar/overlay appears, or should it remain unchanged?

@overcat -- I don't see a reason why the behavior would change. The QR code would continue to animate as usual while the overlay appears momentarily.

^ Brighter
⌄ Darker

@kdmukai Certainly more succinct! Increase/decrease brightness is another option. I don't have a strong preference, myself. Which language are users going to best associate with screen brightness (and when localized to other languages)?

Hi @easyuxd, if it is an animated QR code, should the QR code change when the snackbar/overlay appears, or should it remain unchanged?

@overcat -- I don't see a reason why the behavior would change. The QR code would continue to animate as usual while the overlay appears momentarily.

OK, I raised this question because we now have ToastOverlay, but when it appears, the animated QR code does not change.

OK, I raised this question because we now have ToastOverlay, but when it appears, the animated QR code does not change.

@overcat Thanks for the context. What's the difference between Snackbar and Toast? Do you have a toast example (visual/interaction) you can share?

OK, I raised this question because we now have ToastOverlay, but when it appears, the animated QR code does not change.

@overcat Thanks for the context. What's the difference between Snackbar and Toast? Do you have a toast example (visual/interaction) you can share?

When you insert/remove the SD card, you will see this toast.
https://github.com/SeedSigner/seedsigner/assets/2368403/0fbb2118-276c-4771-9b8e-ec179165437c

@overcat Thanks for the visual aid -- super helpful.
We don't need to interrupt the experience unless there's rationale supporting it, like system messaging that users must dismiss. And messaging like this is currently done using Dialogs today so that we can include CTAs:

If we think we have 2 distinct messaging use cases that require nuanced interactions (see toast vs snackbar) I'd propose 2 variants of the component:
Messaging-Toast

System messaging
Non-dismissable
Interrupts experience

Messaging-Snackbar:

Task-related messaging
Dismissable
Does not interrupt experience

Otherwise (and I think this would be much simpler), we could just align the SD Card messaging with the single messaging component behavior proposed in this PR and have one global messaging component everywhere. This would mean not interrupting users when they add/remove an SD card.

Hi, I have made some updates and here is the video presentation: https://imgur.com/a/15OjKmH
l don't know why I can't upload videos smoothly on GitHub :-(

Note: suggested refactoring and UI improvements submitted here: https://github.com/overcat/seedsigner/pull/1

https://github.com/SeedSigner/seedsigner/assets/934746/ae7311f9-536b-4c8f-8b42-8d3be135f062

ACK on the latest version of this (incorporates my suggested refactoring and UI tweaks)!!

ACK ef70a8d
It's looking very nice.

ACK and tested! Awesome work!

authors: SmokeTag easyuxd jdlcdl kdmukai newtonick overcat

repo: SeedSigner/seedsigner


text:
[Feature] ServoDriver class: servo.setAngle(i, angle, rotationspeed)

feature request: ServoDriver class: servo.setAngle(byte i, int angle, float rotationspeed)
i: servo channel
angle: degrees (endpoint)
rotationspeed: degrees per second
e.g.,
servo.setAngle(i, 90); // let the servo move to position 90° immediately
delay(1000);
servo.setAngle(i, 180, 10.0); // moves the servo from the current position (90°) to position 180° by a rotation speed of 10°/sec

The function must not be blocking, so that a following command can be started immediately before the further movement has been finished (simultaneous movement)
servo.setAngle(1, 180, 10.0);
servo.setAngle(2, 45, 5.0);

Hello,
I'm going to close this issue, feel free to re-open it if you have any other questions.
[Autocommentary]

authors: Lesords dsyleixa


text:
docs(Dropdown): fix DropdownRemoteExample

Fixes #2125

Codecov Report

Merging #2126 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2126   +/-   ##
=======================================
  Coverage   99.76%   99.76%
=======================================
  Files         150      150
  Lines        2597     2597
=======================================
  Hits         2591     2591
  Misses          6        6

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 393642d...9203e0f. Read the comment docs.

Thanks!

Released in semantic-ui-react@0.75.0

authors: codecov-io levithomason patrikmolsson

repo: Semantic-Org/Semantic-UI-React


text:
docs(Dropdown): update suggested markup for nested dropdowns

Update for the suggested markup in the Dropdown Examples for Nested Dropdowns

Codecov Report

Merging #3180 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3180   +/-   ##
=======================================
  Coverage   99.92%   99.92%
=======================================
  Files         163      163
  Lines        2746     2746
=======================================
  Hits         2744     2744
  Misses          2        2

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 b97de42...57fa3fe. Read the comment docs.


text:
refactor(Checkbox): remove hardcoded hidden classname

The checkbox has a nonsensical 'hidden' classname which sets a
z-index of -1 for the browser. I don't see any reason for this
documented and it can cause grief in your styles. I removed it
in this commit.

Codecov Report

Merging #3834 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3834      +/-   ##
==========================================
+ Coverage   99.83%   99.84%   +<.01%
==========================================
  Files         172      177       +5
  Lines        3101     3143      +42
==========================================
+ Hits         3096     3138      +42
  Misses          5        5

Impacted Files
Coverage Δ

src/modules/Checkbox/Checkbox.js
100% <ø> (ø)
:arrow_up:

src/lib/createPaginationItems/suffixFactories.js
100% <0%> (ø)

src/lib/createPaginationItems/itemFactories.js
100% <0%> (ø)

...lib/createPaginationItems/createPaginationItems.js
100% <0%> (ø)

src/lib/createPaginationItems/paginationUtils.js
100% <0%> (ø)

src/lib/createPaginationItems/rangeFactories.js
100% <0%> (ø)

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 72c4508...7d9e3d6. Read the comment docs.

I did go through the history to see why this was included, but couldn't find a specific commit since others were masking it. This className was not in the original commit, so I suspect it leaked in and just hadn't caused any harm.

There is a reason documented in the LESS stylesheet:
https://github.com/Semantic-Org/Semantic-UI-LESS/blob/master/definitions/modules/checkbox.less#L255
/* Initialized checkbox moves input below element
 to prevent manually triggering */
.ui.checkbox input.hidden {
  z-index: -1;
}

The styles are shared between multiple framework implementations, so changes need to work in all cases.
Can you elaborate on what issues it is causing?

@levithomason this specifically was causing issues with Selenium testing. The style was preventing the driver from clicking elements. I still don't understand why we're wanting to prevent manual triggers here.

authors: codecov-io levithomason wgeorgecook


text:
inverted flat tcheme + input, text are invisible

#source http://semantic-ui.com/collections/form.html

Not on my iPhone, which OS/browser do you use?

Themes other than the default theme are not supported. If you are interested in improving or hacking upon them PR will be accepted.

disappears on focus and text is written in black so is invisible, Chrome Version 40.0.2214.115 (64-bit), ill try fix it.

authors: Anachron agborkowski jlukic

repo: Semantic-Org/Semantic-UI


text:
Sticky header overwrites top of content.

This might be the designed behavior, but I can't figure out how to get the body content that is below a sticky header to appear below the sticky header.
Here is a fiddle that shows the problem:
https://jsfiddle.net/geverit4/jrkozrem/6/
How can I get the sticky menu bar overlay to push the following content down, or get the main page content to have a margin at the top?

Since we are dealing with CSS only there's no way for it to know what content needs to shift.
This is when it makes more sense to pull out some custom css.
https://jsfiddle.net/n8wsxLmf/

Perfect.  Thanks for indulging my n00b question.


text:
Touch event cant trigger penetrate '.pusher' when sidebar shown.

I'm new in SUI. I have used Bootstrap a long time.
As the title said. I am struggle with the touch event problem. Dose anyone seen the issue before?
PS: I'm using AngularJs.

            Home

            Search Jobs

            Saved Jobs

        Privacy Policy
        Term Conditions
        xxxx

$(document).ready(function () {
    'use strict';
    $(document).on('touchend', '.left-sidebar-btn', function (event) {
        event.preventDefault();
        $('.ui.sidebar.left').sidebar({
            mobileTransition: 'overlay'
        }).sidebar('toggle');
    });
});

What is the problem that occurs?

Sorry for my suck English. I explain again and plus images.
I click the sidebar trigger button

Sidebar open then click search button

Browser jump to the search page

I expect it don't trigger the search button link. I just want the sidebar close. I mean the click event has penetrate to the search button and this is not correct. I hope you can understand. Thanks for your time.

It's weird. I found this problem only happened in desktop browser simulate mobile environment (Chrome mobile simulator). I test in mobile and Chrome native desktop environment, both don't have this problem.
I don't know is it valuable to fix this issue?

I think this is just related to chrome touch emulation.

It also happened in Chrome on iOS 9

I was able to reproduce this same issue within the current build within both Firefox and Chrome, using touch events. Issue is connected to overflow:x;overflow:y; properties causing 'mouse down' to penetrate the pusher layer.
To me this seems like some sort of brower bug.
For testing, add and the issue should be resolved.
.pushable > .pusher{
overflow-x: initial;
overflow-y: initial;
}

Unsure why overflow-x/y are being set, but you can actually reproduce this issue on the current Semantic UI website.

can anyone help me with this after opening sidebar menu inside that if i click a button it should trigger how to do it for ex: i had a form inside sidebar if i click on save button without entering any values validation messages should come how to do it??


text:
[ui fluid container] - view on mobile devices

Steps to Reproduce

Use:

<div class="ui fluid container">
  Use long text .... (or 100% width wide other elements like lists or menu)
</div>

or check http://jsfiddle.net/9udrtL2w/
2. Narrow your web browser to mobile device's size
3. Check both margins of the text. Left margin moves ~10 pixels to the right direction and text (or element) is partially hidden under the browser scroll bar or right margin.
Expected
The container should show whole page content visible
Result
The Container does not show correct view (right part of text or element is hidden)

Related to missing margin-left/right on stackable grid should be solved with same fix as #2898

Fixed in 2.1
http://jsfiddle.net/qvvegu5v/

authors: jlukic wojciech-mocarski


text:
донастроить сборку pdf

ноги растут с #163 #198
цель: автоматическая сборка всего курса

А чем текущий вариант плох?

он разве автоматический? ну то есть когда обновляется master, то и pdf также?
и подскажи пж путь где этот файл лежит

Когда обновляется master, обновляется и .tex файл. Дальше каждый может собрать из него pdf, так как это однозначный и платформонезависимцй процесс.

https://github.com/SemyonSinchenko/qmlcourse/blob/7bc27cf5542b9bbbd1b6833dfce298037973f472/README.md#build-the-book как-то прошло мимо меня, сейчас попробую

Вот дописать туда инструкции для других ОС (особенно винды) хорошо бы. Ну и потестить не только xelatex, но еще и lualatex и pdflatex.

xelatex to\ и на mac нужно поставить, покуда эта программа не с коробки

это нормально что такое имеется в ветке для сбора?

кажется что частично издеваемся с пользователей, дабы сами делали книгу. что мешает нам сами её уже в готовом pdf предоставить и сделать кнопку в репо для этого, как было ранее, удобнее ведь
это как купить macbook, но ос устанавливайте сами как хотите

а как долго эта книга собиралась у тебя?

а как долго эта книга собиралась у тебя?

Компиляция LaTeX это очень долго. Установка texlive на агент тоже очень долго (это один из самых больших мета-пакетов убунты, ядро меньше весит чем эта хрень, тк там шрифты).

кажется что частично издеваемся с пользователей, дабы сами делали книгу

Обычно PDF нужен тем, кто уже знает, что такое LaTeX и умеет им пользоваться. Это люди из академической среды, которые привыкли читать "с бумаги" или "с pdf"

что мешает нам сами её уже в готовом pdf

Сейчас я и так ее периодически руками обновляю и относительно свежая версия лежит в ./pdf и любой ее может скачать.

Ставится он вроде без проблем на все системы: https://sourceforge.net/projects/xetex/

долго это сколько? час, два, неделя?
даже если оставляем как есть, то нужно чтобы код выполнялся везде? а вот почему он показывает у тебя выдает ошибки в книге, нужно разобраться

долго это сколько? час, два, неделя?

LaTeX так устроен, что собирать надо джважды. Один прогон минут 5 у меня на компе. Устанавливать TeX Live это еще пару минут.

Ошибка вроде как правильная, там показывается как дебагать ошибки в jupyter, так и должно быть как я понимаю.
Тестировать разные движки точно не стоит, это пустая трата сил и займет тонну времени, потому что они фундаментально отличаются и придется держать три версии .tex под каждый движок.

эти ошибки нужно решить, тк в лекциях на их основе показывают примеры/результаты, а видеть будут получается фигу наши студы

Потому что это не ошибки, а картинки @vtrokhymenko
https://github.com/SemyonSinchenko/qmlcourse/blob/master/qmlcourseRU/_static/pythonblock/python_l11/example_debug.png

В сборке нет ошибок.

repo: SemyonSinchenko/qmlcourse


text:
Documentation for developers to setup the project

To help developers, we need some documentation for how to set up the project for development.
This will list required programs and a step-by-step guide for how to set up the environment.

Started this page in the wiki.
Not complete for now.

repo: Seneca-CDOT/starchart


text:
Forced Recalibration - Error trying to execute getSensorState(): Received NACK on transmit of address

Hello,
I am using a STC31-C-R3 CO2 sensor to measure the CO2 level in the air and a SHT41A sensor for compensation. When I run the exampleUsageFrc.ino code, I receive the following error message:
16:23:16.513 -> ========== 1st FRC loop ==========
16:23:16.645 -> CO2_concentration:-0.30,Temperature_STC3x:20.92,Temperature_SHT4x:20.92,Temperature_Delta:-0.00
…..
16:23:36.945 -> CO2_concentration:-0.16,Temperature_STC3x:20.90,Temperature_SHT4x:20.90,Temperature_Delta:0.00
16:23:37.010 -> Set forced recalibration to 0.00 vol%.
16:23:37.010 -> Error trying to execute getSensorState(): Received NACK on transmit of address
16:23:37.010 -> ========== START 2nd FRC loop ==========
16:23:37.044 -> Error trying to execute setRelativeHumidity(): Received NACK on transmit of address
16:23:37.934 -> Error trying to execute measureHighPrecision(): Received NACK on transmit of address
16:23:38.955 -> CO2_concentration:-5.40,Temperature_STC3x:21.45,Temperature_SHT4x:21.46,Temperature_Delta:-0.00
16:23:39.938 -> CO2_concentration:3.60,Temperature_STC3x:22.25,Temperature_SHT4x:22.24,Temperature_Delta:0.00
16:23:40.957 -> CO2_concentration:9.19,Temperature_STC3x:22.76,Temperature_SHT4x:22.77,Temperature_Delta:-0.00
16:23:41.979 -> CO2_concentration:12.64,Temperature_STC3x:23.14,Temperature_SHT4x:23.14,Temperature_Delta:0.00
16:23:42.999 -> CO2_concentration:14.82,Temperature_STC3x:23.42,Temperature_SHT4x:23.42,Temperature_Delta:0.00
…..

What could be the cause of the problem?
I think the measured temperature data is also incorrect because when I run my own code to read the temperatures, it looks like this:
17:03:25.768 -> SHT4x Temperature: 20.38 °C	Humidity: 41.85 %RH
17:03:26.854 -> STC3x CO2_concentration: -0.21 Vol%	Temperature: 20.34 °C
17:03:26.886 -> SHT4x Temperature: 20.36 °C	Humidity: 42.00 %RH
17:03:28.005 -> STC3x CO2_concentration: -0.30 Vol%	Temperature: 20.34 °C
17:03:28.039 -> SHT4x Temperature: 20.33 °C	Humidity: 41.95 %RH
17:03:29.156 -> STC3x CO2_concentration: -0.31 Vol%	Temperature: 20.36 °C

So the temperature difference is greater than with the calibration file.
I think at the FRC serial the STC3x is actually the SHT4x temperature.
Thank you!

I implemented 2 changes, now it is working:
1, Comment out:
/*
    error = stc3x_sensor.setTemperature(sht4xTemperature);
    if (error != NO_ERROR) {
        Serial.print("Error trying to execute setTemperature(): ");
        errorToString(error, errorMessage, sizeof errorMessage);
        Serial.println(errorMessage);
        return;
    }
*/

2, added delay before "error = stc3x_sensor.getSensorState(stc3xState, STC3X_STATE_SIZE); "
    Serial.print("Set forced recalibration to ");
    Serial.print(frcReferenceValue);
    Serial.println(" vol%.");

    // Step 6:
    // Prepare and read state and store it in memory
    // of the Arduino.
    delay(1000);
    error = stc3x_sensor.getSensorState(stc3xState, STC3X_STATE_SIZE);
    if (error != NO_ERROR) {
        Serial.print("Error trying to execute getSensorState(): ");
        errorToString(error, errorMessage, sizeof errorMessage);
        Serial.println(errorMessage);
        return;
    }

Can someone please check it? Is this really the solution?

Hi @sdmueller
I have this STC31-C-R3 sensor, I think this is the newest one.
The commented-out code is because I believe stc3x_sensor.setTemperature(sht4xTemperature) is not correct. The STC3x temperature is different from the SHT4x temperature. We need to observe the difference, and if we use stc3x_sensor.setTemperature(sht4xTemperature), the difference will effectively become zero.

Hi @ba1azs
I am testing with the same sensor and unfortunately cannot reproduce your issue. Maybe you can try reducing the delay needed as much as possible.
Regarding setTemperature: Compensating the temperature of the STC3x-C is optional depending on if you want to use the internal temperature of the STC3x-C or if you want it to use the ambient temperature (from the SHT4x). Please refer to the Design Guide Chapter 3.1 for the tradeoffs between the two possibilities.
In the example we assume you want to compensate the temperature. If you want to observe a temperature difference you should not compensate it.


text:
Group network options and hide them when needed

Hide "SMBSync2_2.28.13_259_code-fix-network-options-view" option if neither target nor master are not SMB shares
Hide "Retry on network error" option if neither target nor master are not SMB shares
Group network options together

Proper patch fully tested. It can be merged after merging my pending previous commit
I think with this the views are properly gathered and I can look at translations
Sorry, but translations to be proper had to be consistent with the views. So I preferred waiting to look at all view options to be sure of their actions
Best regards

Thank you for your changes.
The Rettry and Small Buffer options do not change the display position, as they are not usually done.
Other changes have been merged.
Best regards.

Thank you
I will focus on translation since you merged the template of english, give me a few days weeks again please since it is a long work


text:
Update and revision for vulnerabilities

running docker scan locally returns lots of vulnerabilities.

PR merged, release created

repo: Senzing/docker-senzing-base


text:
Update repository after transfer

See https://github.com/senzing-garage/garage-roadmap/issues/3

Pull requests:

https://github.com/Senzing/go-sdk-abstract-factory/pull/137

repo: Senzing/go-sdk-abstract-factory


text:
Update Links

See https://github.com/Senzing/template-repository/issues/40
resolver/README.md:1. [docker](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-docker.md)
resolver/README.md:1. [git](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-git.md)
resolver/README.md:1. [git](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-git.md)
resolver/README.md:1. [Helm 3](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-helm.md)
resolver/README.md:1. [kubectl](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-kubectl.md)
resolver/README.md:1. [make](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-make.md)
resolver/README.md:1. [minikube](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-minikube.md)
resolver/README.md:[minikube](https://github.com/Senzing/knowledge-base/blob/main/HOWTO/install-minikube.md)

Pull requests:

https://github.com/Senzing/resolver/pull/127

repo: Senzing/resolver


text:
Update code to handle API change in Senzing SDK API 1.15

Describe the bug
The Senzing python SDK API no longer returns an object.

This has been delivered to customer and seems to have fixed the issue.  We'll close.   If any new problems are discovered, we'll open a new issue.


text:
[품목관리] 클릭 이벤트 개선

Describe the bug
왼쪽에 나오는 항목클릭상황
Expected behavior
화살표가 아닌 칸을 눌렀을때 이벤트가 발생하도록 개선

YH- 48처리 완료했습니다

확인했습니다

repo: SeonHyungJo/YourHome


text:
More log levels

Log levels to add:

Trace
Debug

Implemented in 19f5cbd

repo: SeppahBaws/logtools


text:
Support multiple field values (e.g. multiple artists)

Summary
Ogg Vorbis I format specification mentions multiple possible values per field name:

Field names are not required to be unique (occur once) within a comment header. As an example, assume a track was recorded by three well know artists; the following is permissible, and encouraged:
ARTIST=Dizzy Gillespie
ARTIST=Sonny Rollins
ARTIST=Sonny Stitt

The Accessor trait handles the artist as String and &str, which is a single value, or sometimes possibly a string that represents a list using a separator.
It seems to be currently impossible to get a list of the artists embedded in Vorbis Comments.
API design
impl Accessor {
    pub fn artists(&self) -> impl Iterator<Item=&str>;
    /// Replace the list of artists
    pub fn set_artists(&mut self, values: impl Iterator<Item=&str>);
}

This is possible when using Tag, with either get_strings or take_strings. I did miss this on VorbisComments though 😄.

authors: Serial-ATA UgnilJoZ

repo: Serial-ATA/lofty-rs


text:
Gradio & Studio update

update gradio, bump to the fresh version without vulnerabilities
fix agent update from config, instantiate correct nodes, just like subagents
make studio work with state containing dicts instead of agent and tape objects

This also closes #81

Do we really need to model_dumps and model_validate every time?
From the Gradio documentation it says:

If it holds an object or primitive, a change is triggered if the hash of the value changes. So if you define a custom class and create a gr.State variable that is an instance of that class, make sure that the the class includes a sensible __hash__ implementation.

Have we tried implementing the __hash__ for tape and agent object?

Yes, I've tried to implement __hash__() for the agent class, which returned agent.model_dump_json(). It didn't help.
Also in case of the absence of a hash method the state raises error when created, and we haven't observe such issute.

authors: jpt-sn ollmer

repo: ServiceNow/TapeAgents


text:
How to properly make dependency injection with ServiceWeaver

I'm trying to implement the dependency injection pattern in my code.
I need it because we need to mock results from an external API during tests.
Here is a sample of what I'm trying to achieve:
Service calling external data
// get external data service
package service

type GetExternalDataService interface {
	GetData(ctx context.Context, value string)
}

type getExternalDataServiceImpl struct {
	weaver.Implements[]
}

func GetData(ctx context.Context, value string) {
  // getting the actual external data //
}

Service
// service
package service
var Dependency_fn DepFunc

type DepFunc func(ctx context.Context, x string, y string)

type someService interface {
	GetSomeExternalData(ctx context.Context, value string)
}

type someServiceImpl struct {
	weaver.Implements[]
	externalService weaver.Ref[service.GetExternalDataService]
}

func (s *someServiceImpl) GetSomeExternalData(ctx context.Context, value string) {
	// calling external API //
	DepFunc(ctx, "some data")
}

Tests
// tests
package service

func mock_external_data(ctx context.Context, data string) {
  // returns mock data //
}

func setupTest(t *testing.T) {
	t.Helper()
	Dependency_fn = mock_external_data
}

func TestGetSomeExternalData(t *testing.T) {
	setupTest(t)

	runner := weavertest.Local
	runner.Test(t, func(t *testing.T, rate RateService) {

		ctx := context.Background()
		got, err := service.GetSomeExternalData(ctx, "some value")
		if err != nil {
			t.Fatal(err)
		}

		if want := what_I_want; !got.Equal(want) {
			t.Fatalf("got %q, want %q", got, want)
		}
	})
}

The calling service
// other service
package secondService

type SecondService struct {
  SendReceivedData(ctx context.Context)
}

type secondServiceImpl struct {
  SendReceivedData(ctx context.Context)
  service weaver.Ref[service.someService]
}

func (s *secondServiceImpl) Init(ctx context.Context) error {
  s.service.Dependency_fn = service.GetExternalDataService
}

func (s *secondServiceImpl) SendReceivedData(ctx context.Context) {
  received, err := s.service.GetSomeExternalData(ctx, "some data")
  // other code //
}

The whole problem is how to tell the service package which Dependency_fn function to use when calling it from secondService package.
The tests I developed work perfectly and I am able to use the mock function.
I read a similar issue: #188
In the discussion it is suggested to use weaver.Get[Foo], but this provides me compilation errors such as:
undefined: weaver.get
For these examples I tried versions v0.13.0 and v0.16.0.

Hi @Markbnak, does weavertest.Fake suit your use case? You can see an example of weavertest.Fake in use here. Let me know if you have any questions about how it works and how you're supposed to use it.

Thank you for sharing this, I haven't seen that feature in the documentation.

@mwhittaker I managed to resolve my issue, this code example was what I was looking for. I hope you will document that on your website.

Awesome! I opened #430 for this as well!

authors: Markbnak mwhittaker

repo: ServiceWeaver/weaver


text:
Config is not saved, if changed over the HB-Config-Gui

Hey there, currently using following setup:
Homebridge Version v1.3.4
Homebridge Bravia Tvos  Version v5.0.1
Node.js Version v14.17.3
NPM Version v6.14.13
I can add new TVs using the wizzard, unfortunately, I can not add applications etc. using the GUI (I can select the in the GUI, after restarting HB these changes are not reflected in the config). Also if I open up the config after restarting, the previously added applications and settings are lost.
Here's my current config:
{     "name": "BraviaTVOS",     "platform": "BraviaOSPlatform",     "debug": true,     "warn": true,     "error": true,     "extendedError": true,     "tvs": [         {             "active": true,             "name": "Fernseher",             "ip": "192.168.0.7",             "port": 80,             "manufacturer": "Sony",             "model": "Bravia",             "serialNumber": "00000000",             "wol": false,             "refreshInputs": false,             "polling": 10,             "sheduledRefresh": 12,             "inputs": [],             "apps": [],             "channels": [],             "commands": [],             "macros": [],             "remote": [],             "displayOrder": [                 "inputs",                 "apps",                 "channels",                 "commands",                 "macros"             ],             "speaker": {                 "active": true,                 "output": "speaker",                 "increaseBy": 1,                 "reduceBy": 1,                 "accType": "lightbulb"             },             "psk": "1234"         }     ] }

Hey, after adding a new tv or input you need to „save“ it with clicking on the „save“ button at the bottom

Hey, that's what I did:

I downgraded to 4.12.1 on the same instance, and the config could be saved again. After that i reupgraded to 5.0.1 and the config is not persisted anymore.
Maybe something that might relate to that behaviour. Occasionally I get the error message r.apps is undefined; but can not really reproduce that message.

v5.0.2 is online

should be fixed with v5.0.3

authors: SeydX thokon

repo: SeydX/homebridge-bravia-tvos


text:
PPO1, A2C, VPG, DQN not training for Atari envs

DQN is also not training but that'll be addressed after DQN is restructured.

It seems to me that this should be resolved in #175 itself?
cc: @ajaysub110 @Het-Shah

Yeah I agree

Even current A2C is very fragile.

What's the status here?
I tried running them but it seems like we dont have CUDA support, so I'm not sure if they're training or not.

We should try trianing these after adding CUDA support. Most of these were tested a long time ago so we should test them again.

repo: SforAiDl/genrl


text:
Instant lost if color is changed

If you play a historical campaign the player will instantly lose the game if one changed the player color beforehand.
(Tested with the GOG version)

can not confirm this, I chose green and my troops in historical campaign are just green. But it can happen if you installed spectator mode I guess.

But it can happen if you installed spectator mode I guess.
Ah yes. This could be the culprit as well.

But it can happen if you installed spectator mode I guess.

Could you also confirm this, @runxel ?

its easier in german:
in einem Video von Udwin wo er den spectator modus vorstellt sieht man am Ende wie er eine Kreuzugsmission startet und instant verloren hat. Das war als 2.05 gerade neu war, weshalb es durchaus sein könnte, dass du das bereits gefixt hast. Aber es war jetzt das naheliegendste, da ich auch colours habe, aber keine spectator mode.

in einem Video von Udwin wo er den spectator modus vorstellt sieht man am Ende wie er eine Kreuzugsmission startet und instant verloren hat.

Ist doch aber dann richtig so. Wenn nur noch die KI bzw. ein KI-Team über ist, hat sie halt gewonnen.

hab den zuschauermodus nicht getestet und weiß auch nicht, ob man den nach der installation noch ein/ausschalten kann.  Aber wenn er zwangsweise darin resultiert, dass man keine kreuzugs/kampagnen missionen mehr spielen kann und ihnen auch nicht zusehen kann, dann würde ich behaupten, dass das nicht richtig ist.  Entweder sollten diese Missionen vom Zuschauermodus ausgeschlossen sein, oder man sollte hier eben zu auch zuschauen können, wie die KI diese Mission versucht.

But it can happen if you installed spectator mode I guess.

Could you also confirm this, @runxel ?

Ja. Es liegt nicht am Farbenwechsel, sondern am Spectator Modus.
Habe den Titel daher angepasst.

@Serpens66 Ich finde es eigentlich nur logisch, da in den Missionen ja die KIs voreingestellt sind: Wenn Spieler 1 einfach nicht mitspielt, und keine KI voreingestellt ist und ja generell in den Missionen keine KI vom Spieler eingestellt/geändert werden kann... dann hat das Team von Spieler 1 eben instant verloren, sofern nicht noch Verbündete von Spieler 1 existieren.
Beim Zuschauermodus wird ja der menschliche Spieler 1 entfernt, aber nicht automatisch durch ne KI ersetzt. Die KI rückt halt beim Hinzufügen in Custom-Matches grundsätzlich in den jeweils nächsten freien Spielerslot nach. Ohne menschlichen Spieler 1 ist der nächste freie Slot dann eben der für Spieler 1.
Es wäre lediglich interessant, was passiert, wenn man Missionen startet, in denen Spieler 1 noch Verbündete hat - verliert man dann trotzdem instant oder nicht?


text:
Broken dialogue randomizing for bots

A few of dialogue lines from every AI render to be unused, these are *_extra_01, *_noattack_01, *_nohelp_01. Four enemies from Stronghold 1 have even more of these:
pg_anger_01
pg_anger_03
pg_plead_02
pg_taunt_05
pg_taunt_08
pg_vict_01
pg_vict_04
rt_anger_02
rt_anger_03
rt_plead_02
rt_taunt_03
rt_taunt_04
rt_taunt_06
rt_taunt_07
rt_vict_01
sn_anger_02
sn_plead_02
sn_taunt_02
sn_taunt_06
sn_taunt_08
sn_vict_01
sn_vict_02
wf_anger_01
wf_anger_03
wf_plead_02
wf_taunt_03
wf_taunt_06
wf_taunt_07
wf_taunt_08
wf_vict_03
wf_vict_04
These all dialogues remain unused. I wonder if something is wrong with a dialogue randomizer. Anyway, can those be anyhow restored?

A lot of changes made by the mod are controversial. For this reason it is important to be able to activate them one by one. THIS change just can't be controversial! It is gamechanging, but not gamplaye wise but in matter of atmosphere. It doesn't change the Atmosphere, it  just adds a lot of stuff i bet everyone would die to hear during a game. If there might be a way (i know you will find one, you always did) this would be amazing at very least

A few of dialogue lines from every AI render to be unused, these are *_extra_01, *_noattack_01, *_nohelp_01. Four enemies from Stronghold 1 have even more of these:

The _Nohelp_01 or _noattack_01 is used, if you ask him to attack or to defend him, during he needs help himself.

No, they arent, *_nohelp_02 and *_noattack_02 are always used instead.

Some AIs have lines they are supposed to use (if they are your ally) when they are about to siege an enemy castle, but these aren't in the game.

Which lines exactly? @PitchNeeded

authors: GutentagderHerr LordDerMoff PitchNeeded brooklynzsmac


text:
Network not available then pushes to user login

On Ubuntu 18.04, Steam launches then complains it doesn't have a network connection, then sends me to Ubuntu.

@fr3f4ll not sure if you've sorted your issue or not but I've run into the same problem today.
Its a Ubuntu - Steam issue not a Steam OS issue.
I am assuming you are getting:
Fatal Error: STEAM needs to be online to update. Please confirm your network connection and try again

If so, for everyone else who is having this problem, the fix is documented on the  bottom of the blog post here - https://linuxhint.com/install_steam_games_ubuntu_1804/
To then make this work on SteamOS (as its running under user Steam, you will need to:

Login with the Steam user (if you don't know the password change it first)
create mkdir ~/.steam/ubuntu12_32/steam-runtime
open terminal and type steam this should start steam and do its preflight checks.
reboot your machine and Steam OS should start

repo: ShadowApex/steamos-ubuntu


text:
Error on building 0.6.3

Describe your problem here.
This is the first I build Psych Engine source code and I get this error:

Can someone help me?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Ratio + you need vsc 2019

authors: DisIsNOt VPcume-Dev

repo: ShadowMario/FNF-PsychEngine


text:
how do you add things into a group?

Describe your problem here.
how to you add things into a group? (lua)
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

u mean like this?
x = {0,1,2}


text:
is there a way to play a video underneath the ui? ive tried multiple ways but they don't work!

Describe your problem here.
so basically, i want to make a song that instead of using sprites, a bg and stuff, uses just a .mp4 video for graphics, with the ui on top of the video.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, i only made a data folder for the song and put the music files in the correct folders.

Pues yo hago esto:
function onCreate()
startVideo('gunsCutscene')
runHaxeCode([[
FlxG.cameras.add(game.camHUD, false);
FlxG.cameras.add(game.camOther, false);
]])
setProperty('inCutscene', false)
end
https://github.com/user-attachments/assets/50480a82-f536-444e-8d15-77fdbd7b6925


text:
Error with compiling

Describe your problem here.
I had asked this in the Psych discord server, no one knew (so far at least lol)
anyways. this is my error. before you ask no i havnt tampered with stuff.
icrosoft Windows [Version 10.0.19043.1466]
(c) Microsoft Corporation. All rights reserved.
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxExtendedSprite.hx:11: characters 8-37 : Type not found : flixel.util.FlxDirectionFlags
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxExtendedSprite.hx:484: characters 21-25 : Unknown identifier : WALL
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxExtendedSprite.hx:504: characters 21-25 : Unknown identifier : WALL
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxExtendedSprite.hx:530: characters 21-28 : Unknown identifier : CEILING
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/display/FlxExtendedSprite.hx:550: characters 21-26 : Unknown identifier : FLOOR
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
all i've done is add a new character so far, to test if it works.

@erasedcardsx did you fix the error? if you did could you please tell me how, ive been having the same issues

@erasedcardsx did you fix the error? if you did could you please tell me how, ive been having the same issues

yeah! i had to install haxe 4.2.4, then remove Haxe from my library and install it again ^~^

tried that before, didnt work :( thanks anyway!!!

authors: erasedcardsx glitchygmr


text:
ban checker

can you add a ban checker on populer servers ?

Nope

rip

repo: ShadowOxygen/OxygenX


text:
Developer

added COVERALLS

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

src/main/scala/App.scala
0.00% <ø> (ø)


text:
[Bug] Minimap button doesn't remember its position

Version:
Classic WoW
9/24/2024 addon release, 1.15.4
Repro:
Move minimap button to a different place.  Log out and log back in.
Expected:
Button stays in the new place
Outcome:
Button resets to default position

Added new version

authors: astralarya nieejl

repo: Shape-addons/ProfessionCooldown


text:
Just wanted to say thank you

Most of us know that projects like this are a thankless endeavor , just wanted to say thank you as this project has made it so that some of our older applications are able to run on newer, more stable/secure environments!

Thank you, I appreciate it

Thank you so much @Shardj

authors: Shardj conrad10781 vijaygarg-ahead


text:
New command: install specified app in a site

Install the specified app in a site using the ALM API: <siteUrl>/_api/web/tenantappcatalog/AvailableApps/GetById({id})/Install

command name: spo tenant app install --siteUrl|-u <siteUrl> --id <appId>
requires connection to a SharePoint site

More information: https://github.com/SharePoint/PnP-Sites-Core/blob/73c703c507d480142ec18c241e6e72aae67982cc/Core/OfficeDevPnP.Core/ALM/AppManager.cs

I will pickup this. Can be marked as work in progress.

Awesome @VelinGeorgiev 💪

I've just merged a commit that refactors how commands are built (#40). Please have a look at the latest changes as well as the updated guide on building commands at https://github.com/SharePoint/office365-cli/blob/dev/docs/guides/adding-command.md. Don't forget to sync with the latest dev before submitting the PR 🙂

Hey @VelinGeorgiev, I've just heard from @erwinvanhunen that he has this code complete. Hope it's not too late and you didn't spend much time on it.

I have not started yet. Just prepared my dev env. Thanks for letting me know!

Great you didn't do any double work! There are still a few other commands we could use help on 🙂

authors: VelinGeorgiev waldekmastykarz


text:
Added support for x-plat build output clean solving #25

Added support for x-plat build output clean solving #25

Coverage remained the same at 94.141% when pulling 2ec0ad08d39e14d6752c109b92018066c4e2aa91 on waldekmastykarz:xplat-clean into 3f989674e7e425985aa72f4fdd1c1be61282db41 on SharePoint:dev.

Merged manually

authors: coveralls waldekmastykarz