Webcam Capture API JavaFX example

hi
Dear all Swing is dead
Simple webcam capture for javafx example
please

hi Dear all Swing is dead Simple webcam capture for javafx example
please

ALPS


Need page for going from Gateway to CFW

Issues that would be covered:
-- Cart encryption methods that cause problems if they started on Gateway on 4.x, remind the user to back up cart saves when necessary
-- A link to the document describing how to convert saves from Gateway format, for SaveDataFiler and JKSM
-- Problems with Luma if the system has had a Gateway downgrade
-- Don't run Sysupdater from Gateway (at least not pre-4.0b Gateway)
-- How to go from Gateway a9lh to normal (and possibly a warning to avoid Gateway a9lh to begin with)
Using Gateway and CFW at the same time:
-- Reminder not to update A9LH SysNAND from Gateway
-- How to get an a9lh v2 install that works with Gateway arm9loaderhax.bin (apparently it can be done if you install the correct way)

Honestly, I just don't want to deal with gateway in any way, shape, or form.
I have decided that I will not be making this page, although info on their save encryption stuff has been linked to from the FAQ for a while.


print to PDF: Printing failed (-32000) with 500 status code

Hello Team,
We are using gotenberg:7 to convert html to pdf.
While testing conversion of large html  to pdf we observed this failure a few times. And we were also able reproduce this issue with a few concurrent requests to convert small to moderate size html to pdf.
We couldn't find the root cause of the failure looking at the debug logs. Can you please let me know what is causing this issue?
Debug logs -
logs.txt

Hello @patilpankaj212!
Looks like more an error from Google Chrome than Gotenberg. In your logs, it looks like your web page somehow crashed.
Do you have enough memory for your instance?

Hello @gulien,
Thank you for your reply.
We first encountered this issue with an instance with 1 CPU and 2 GB ram, when testing conversion of a large html to pdf (about 300 pages of tabular data). After that we encountered this issue when we tried some concurrent requests with smaller html files (about 50 pages of tabular data).
We thought it was a memory issue, and when we halved the instance configuration, we observed this issue occurring with smaller files as well (single request).
Is there any guide on how much memory and cpu the instance should be configured with (like memory consumed by gotenberg based on the size of the payload)? It would be of great help.

Hello @patilpankaj212,
There are, alas, no guides or else regarding the CPU/memory an instance should be configured with. I guess it also depends a lot of the use case.
I ran some load testing scenarios back in version 6 though.

Thank you @gulien, the tests with k6 helps.


cmd/go: go get forces upgrade without -u

What version of Go are you using (go version)?

$ go version
go version go1.13.3 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/user/Library/Caches/go-build"
GOENV="/Users/user/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/user/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/user/gobug/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_l/9yb78fmx0jzb8khycvrzw3qw0000gn/T/go-build968937557=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

With this environment: https://play.golang.org/p/bUF9KgVU1ow
I execute either
go get -tags tools github.com/gogo/protobuf/protoc-gen-gofast

or
go get github.com/gogo/protobuf/protoc-gen-gofast

What did you expect to see?
Silent output - and protoc-gen-gofast v1.2.1 installed
What did you see instead?
It upgrades to v1.3.1
$ go get github.com/gogo/protobuf/protoc-gen-gofast
go: finding github.com/gogo/protobuf v1.3.1
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting github.com/gogo/protobuf v1.3.1

$ go get -tags tools github.com/gogo/protobuf/protoc-gen-gofast
go: finding github.com/gogo/protobuf v1.3.1
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting github.com/gogo/protobuf v1.3.1

This is working as documented. Per https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them:

For each named package or package pattern, get must decide which version of the corresponding module to use. By default, get looks up the latest tagged release version, such as v0.4.5 or v1.2.3.

If you just want to install the current version of a binary already in your module's dependencies, use go install rather than go get.


Generating dummy country data with mimesis only returns 'United States'

Bug report

What's wrong
Address.country appears to return only United States:
from mimesis import Address

g = Address()
for i in range(0,11):
    print(g.country())

This returns 10 times United States. This is unlike:
g = Address()
for i in range(0,6):
    print(g.city())

Which returns 5 different city names.
How is that should be
I should get 5 different country names (in English).
System information
3.11.3 | packaged by conda-forge | (main, Apr  6 2023, 08:50:54) [MSC v.1934 64 bit (AMD64)]
Mimesis 7.1.0

You have to pass allow_random=True, like this:
address.country(allow_random=True)

See: https://mimesis.name/en/master/api.html#mimesis.Address.country

I'm going to change this behavior in upcoming release, to make country() return random country each time.

Great, thank you!

I've fixed this behavior.
There are two methods now:
country() always returns random country
default_country() always returns country associated with current locale i.e United States for en, Россия for ru

I will release 8.0.0 later this month.

I've fixed this one in 8.0.0 which is already available on PyPi, btw.

Yes, it was even available in Conda Forge on the same day. Tested and loving it. Thanks for your blazing-fast resolution!

@rgoubet You're welcome! Thank you for your interest!


Feature Request: Support Federation

Any ideas on what it'd take to support Federation? Just getting my legs under me with it, but would be super nice if it could do it

Federation could be supported by something like schema transforms. I haven't tried it yet. I don't think it should be part of the swagger-to-graphql itself. An example could be added to the documentation.
For now I don't have time to investigate.

@0xR I'm also wanting this implementation. But up until I was thinking that it's not possible (https://github.com/apollographql/apollo-server/pull/30130).
Can you atleast jot down your thoughts and approach to make it happen so that I can spend some time to code?

@0xR I also noticed that the schema generated by this tool is an executable schema while Angular Server can not consume it.

Good news, I created the schema transform that I mentioned above. It could do with more documentation, but there is a working example. The idea is that you create the schema with swagger-to-graphql and add annotations with graphql-transform-federation.
https://github.com/0xR/graphql-transform-federation

This is awesome to hear. Excited to check it out. Thanks!

but @0xR is it not on NPM?

Yes it is: https://www.npmjs.com/package/graphql-transform-federation


Fix flaky datetime test

I think I realised there's a simple workaround for #720
The release pool unsoundness in #756 is all related to reference types - &PyAny, &PyDict.
So I think swapping them out for PyObject and Py<PyDict>, which have different drop semantics, should stop this test biting us all the time on CI.
(Fixes #720)

Thank you, but how about locking other threads? As an experiment, I opened #862.

Assuming it works, I like two things about #862's approach over this one:

It has minimal changes to the underlying test structure.
When #756 is fixed, we can simply remove the locks and the datetime test will act as something of a regression test.

That said, I'm not sure that I spent a huge amount of time thinking about whether to use a borrow or an owned reference here, so unless I was much more thoughtful about this than I remember being "minimal changes" amounts to "keeping the arbitrary thing I did when I made this instead of switching to another arbitrary, valid choice."
With regards to point 2 - when we fix #756 we should probably write a dedicated regression test with a much higher chance of triggering the bug, so again this is really only a weak preference.
I think we should probably decide between the two options (assuming they both work) based on what we would do if we didn't have release pool soundness issues. I sorta think we've been moving towards the &PyDict / &PyAny recommendation whenever possible (and thus we should go with #862), but I haven't been able to keep up with all the changes y'all have been making lately, so maybe that's out-of-date information?

Cool, I'll close this one. It looks like #862 works (all CI is green).
We can always resurrect this PR later if we still have trouble after #862.


dry-run/verbose/ignoreExitCode interaction

ignoreExitCode is useless when used with dryRun, it will stop execution when fixes are found no matter ignoreExitCode!
changes to dry-run/verbose/ignoreExitCode interaction:

only with verbose will php-cs-fixer messages be printed out
dryRun doesn't stop execution when fixes found IF ignoreExitCode is set to true

Additionally .php_cs configfile is normally used to set paths to files/directories to be checked and fixes configurations, so in that case it is not absolutely necessary to set dir on the task

ping @mgmcintyre


[REVIEW] Dopefolio - Portfolio Template for Developers

Project link
https://github.com/rammcodes/Dopefolio

Awesome project! I loved it! 😄👍
I recommend doing the following things:

Disable the GitHub Wiki if it's not being used.
Add some issue templates (at least basic templates such as the bug and feature request) in the form version.
Add a bit more tags for people to find your repository easier.
Try to share your project more with the people you know and on Twitter. That will make it more popular.

Overall, everything else is looking great! I've just
made some pull requests for minor improvements. 🙂
Thank you for sharing Dopefolio with us! I really liked it. 😃

Agree with @Panquesito7 points :)

Hey @Panquesito7 , Thank you so much for taking your time to review my project and pointing out those important issues. I will make sure to fix those issues as soon as possible. Thank you once again for helping me 😇❤

Agree with @Panquesito7 's points.
Further,

add security policy https://github.com/rammcodes/Dopefolio/security
Have a look https://github.com/rammcodes/Dopefolio/community

Looks great, some thoughts

Create a release/tag
Hide packages if not being used
Lots of great documentation, but makes the README very long, suggest moving the details to the docs folder
Highly recommend having a Code of Conduct

Review live stream https://www.youtube.com/watch?v=NxxJ_5nyG9E


TrickSaber and bombs

If you do tricks, I would suggest the spinning, your Sabers won't interact.
This will allow you to just do tricks when a few tricky bombs appear. Allowing you to cheat.
As suggested in #5 it should keep interactions of the Saber separate from the visuals so they'll keep working correctly. I'm not sure how hard this is or that the Sabers hit detection might be hardcoded to the model?
An alternative would be to force the tricks to collide with bombs. But this way it would still modify the gameplay and affect the scoring. Which is a no no.

Hitboxes stay in place in the 0.2 update


Boundary System Cleanup

Overview
There was a duplicate enum that wasn't really being used in the boundary system and could be safely removed.
Breaking Changes:

Removed redundant ExperienceScale enum. Use UnityEngine.XR.TrackingSpaceType instead
Removed Scale from IMixedRealityBoundarySystem
Removed TargetExperienceScale from MixedRealityToolkitConfigurationProfile

Looks good, but for historical documentation around the change, can we have a screenshot in the PR for the new screen, and a short sentence on how we envision the ExperienceScale / TrackingSpaceType would be managed per project?


Api 8349 publish regression tests

Description
Publish Saml-Proxy-Tests image to ECR.
Note

The node16 upgrade also upgraded the test image. This broke the test-image build. I didn't catch that, but the way we currently use puppeteer only works with centos 7 and below. The Node 14 and 16 images are based in centos 8. I had to downgrade for this to work.

I have pulled the ECR image locally and verified that it is working.


[fix] Fix compile failing

Motivation
Fix compile failing introduced by https://github.com/apache/pulsar/pull/22735
Modifications

Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

/pulsarbot rerun-failure-checks

merging...

@dao-jun

@Technoboy-
we don't need to cherry-pick this PR to other branches, since other branch still use PositionImpl, so I revert this cherry-pick.


returns empty response for all requests

Seems like the database with all the generated responses is down.

Yes, facing same issue.
Alternatives:
https://horoscopefree.herokuapp.com/daily/
https://dailyhoroscopes.herokuapp.com/

check this : https://github.com/tapaswenipathak/Horoscope-API/commit/6d43e0d5cad7fce363745b10dae81d63d60e5e00


ModuleNotFoundError: no module named 'textblob'

Here i have a proble import text blob with error message ModuleNotFoundError: No module named 'textblob'
I'm using this code from textblob import TextBlob

This likely isn't an issue with textblob. Are you using a virtualenvironment, and is textblob installed within it?

Closing for now. Feel free to re-open if this is still an issue.

I get the same error and I dont use a virtualenvironment.
Traceback (most recent call last):
File "", line 1, in
from textblob import TextBlob
ModuleNotFoundError: No module named 'textblob'
:(

I recommend using a virtualenvironment and installing textblob within it.

Sloria, I am using a venv and have textblob there - I am getting the following error
python3 -m textblob.download_corpora
[nltk_data] Error loading brown: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data]     unable to get local issuer certificate (_ssl.c:1108)>
[nltk_data] Error loading punkt: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data]     unable to get local issuer certificate (_ssl.c:1108)>
[nltk_data] Error loading wordnet: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data]     unable to get local issuer certificate (_ssl.c:1108)>
[nltk_data] Error loading averaged_perceptron_tagger: <urlopen error
[nltk_data]     [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
[nltk_data]     failed: unable to get local issuer certificate
[nltk_data]     (_ssl.c:1108)>
[nltk_data] Error loading conll2000: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data]     unable to get local issuer certificate (_ssl.c:1108)>
[nltk_data] Error loading movie_reviews: <urlopen error [SSL:
[nltk_data]     CERTIFICATE_VERIFY_FAILED] certificate verify failed:
[nltk_data]     unable to get local issuer certificate (_ssl.c:1108)>
Finished.


add Safari support by removing es6 features

I was using this package in github-spectrum recently and discovered that it breaks pretty hard on Safari due to the lack of ES6 features implemented. I am currently using babel to transpile this module in my projects, but that's less than ideal.
These are the issues I found and fixed in the source:

no let
no default arguments

Let me know what you think, cheers!

Aloha! Thanks for the PR, but this is intentional and doesn't require fixing. The colorcolor.min.js file in the /dist/ folder is for browsers (i.e. it's been transpiled to ES5 syntax), and should work for what you need. You can still require it by providing the complete relative path, I believe (eg. var color2color = require('./node_modules/colorcolor/dist/colorcolor');).
The colorcolor.js file in the /src/ folder does indeed use ES6 syntax and is only intended to be run in ES6-compatible environments. I'm not aware of any browser that would be able to run this script as-is :)

Aloha! Good to know, thanks for the pointers towards dist/, I'll use that. Currently Chrome and Firefox both support let and default arguments, it was only on Safari that I noticed this. I'm not sure on mobile platforms what is available.
Can I ask what the reasoning is to not adopt ES5? Another approach to allow for a straight require('colorcolor') could be to set the main in packages.json to point towards the dist/ version, would that be a viable alternative?

Aloha! I did not know that the latest Chromes and Firefoxes supported those features - good to know!
I essentially just flipped a mental coin as to whether the src or dist files were going to be the default. I ended up going with the src one because since this is primarily focussed as a front-end library, the control over how (or whether) it's transpiled and/or packed and/or wrapped and/or decorated should be in the hands of the end-developer, not me; a secondary consideration was that it appeared to be a common practice in the other simple front-end libs I had researched. Also, my tests would fail when I had main set to dist - never figured out why.
My reason for going with ES6 instead of ES5 was equal parts altruistic (I get to learn and apply) and selfish (looks good on a resume). This library is also practice for me for refactoring my big plugin (AwesomeCloud) to modern best practices :)
I happen to really like some specific features of ES6, not least of which is the "properly" scoped variables using let instead of var and default arguments (especially these), which provided another impetus to use the newer syntax. The cleaner class syntax is another great benefit, although I didn't use it in this project.

I appreciate the response, thanks so much. I'll move forward with using dist/ then. I completely agree that ES6 is the better way to go :).
I keep tabs on this table to see how far along browsers have gotten with support, it's great to see so many working on it.
Cheers!


Hide vocabs from auto-use

Vocabs should be able to opt out of being auto-used. Chances are low anyone would ever want to use cleanup from compiler.tree.cleanup or initialize from compiler.cfg.stacks.uninitialized.

What if you're on the compiler? I admit most users are not, but perhaps we can come up with a smart heuristic here.
Eg, if you're editing foo.bar.baz, consider everything under foo.* for auto-use, but no other top-level hierarchies except for the standard ones (sequences, words, etc.)
Do you have more concrete ideas here?

No ideas, just complaints. I guess we can close this till we come up with a more concrete approach to improving it.


Telecommand: get FreeRTOS stack/task info command

Create a telecommand which displays metadata about the state of FreeRTOS.
The minimum info to present is:

Which tasks are enabled/running
The current active stack size of the tasks
Any other info that may be available/easy-to-access/valuable when you look into the FreeRTOS data gathering API

Implemented in #127! Awesome.


[REQUEST] Plugins and settings

Please add support for plugin settings at ember-cli-build.js. i.e:
var app = new EmberApp(defaults, {
...
  emberFroala: {
    fontAwesome: true,
    theme: 'gray',
    lang: 'en_us',
    plugins: [
      'block_styles',
      'char_counter',
      'colors', 'entities',
      'file_upload',
      'font_family',
      'font_size',
      'fullscreen',
      'inline_styles',
      'lists',
      'media_manager',
      'tables',
      'urls',
      'video'
    ]
  }
...
});

Thanks!

@maulsea @jigneshchudasama05 any thoughts about this one? Thanks!

@stefanneculai Yeah, this does sound like a good idea. Sorry, I'm away for few days. Let me have a closer look once I'm back. Thanks!

@maulsea any news? Thanks!

I'm definitely looking for this as well. I mostly need an option to stop the add-on from including Font Awesome, as I've already included it in my stylesheet with Sass.

:+1: anyone?

Currently testing!

Going to update the readMe doc but this is now possible.


equal has a non-clear behaviour with JSON objects

Hi,
I was testing my JS code with QUnit and I had a test failing like this:
Marker's location
Expected:
{
  "accuracy": "8",
  "lat": "33.389689",
  "lng": "-111.853909",
  "streetAddress": "1337 South Alma School Road",
  "city": "Mesa",
  "county": "AZ",
  "country": "United States",
  "org": "Best Buy",
  "address": "1337 South Alma School Road, Mesa, AZ",
  "postcode": undefined
}
Source:
    at Object.<anonymous> (file://localhost/Users/ale/Desktop/projects/recycleopedia.com/jsmessupfix/test.js:114:2)

The content of the two objects was the same, but I guess it's comparing them to see if they're exactly the same. In fact, if I change just one value inside the expected JSON object I get:

Marker's location
Expected:
{
  "accuracy": "0",
  "lat": "33.389689",
  "lng": "-111.853909",
  "streetAddress": "1337 South Alma School Road",
  "city": "Mesa",
  "county": "AZ",
  "country": "United States",
  "org": "Best Buy",
  "address": "1337 South Alma School Road, Mesa, AZ",
  "postcode": undefined
}
Result:
{
  "accuracy": "8",
  "lat": "33.389689",
  "lng": "-111.853909",
  "streetAddress": "1337 South Alma School Road",
  "city": "Mesa",
  "county": "AZ",
  "country": "United States",
  "org": "Best Buy",
  "address": "1337 South Alma School Road, Mesa, AZ",
  "postcode": undefined
}
Diff:
 {
   "accuracy": "0",
  "8",
   "lat":  "33.389689",
   "lng":  "-111.853909",
   "streetAddress":  "1337  South  Alma  School  Road",
   "city":  "Mesa",
   "county":  "AZ",
   "country":  "United  States",
   "org":  "Best  Buy",
   "address":  "1337  South  Alma  School  Road,  Mesa,  AZ",
   "postcode":  undefined
 }
Source:
    at Object.<anonymous> (file://localhost/Users/ale/Desktop/projects/recycleopedia.com/jsmessupfix/test.js:114:2)

I fixed applying JSON.stringify on both the output of my function and the expected JSON object.
I think that if the behaviour here cannot be changed to compare the objects field by field, at least there should be a clearer message to point out what is happening.
Thanks,
Alessandro

You should be using deepEqual to compare objects by content. equal compares by identity.


fixed root targeting (v-calendar)

@jsaucedo294 yes- I will take a look.

@jsaucedo294 - At first glance, it looks like ShadowRoot.host is taking us back outside the shadow-root. However, in my initial tests, the getRootNode() appears to be targeting the shadow-root if it exists or the document respectively. Still checking through all apps.

Modified to just return results of getRootNode() which defaults to the document if no shadow-root exists. Tested in home app, admin app, utility apps suite structure, and vcl.


ERROR:  relation "keys" does not exist

fter run chef-server-ctl reconfigure I have this error, Any idea?  * ruby_block[bootstrap-chef-server-data] action run    ================================================================================
Error executing action run on resource 'ruby_block[bootstrap-chef-server-data]'
================================================================================    PG::UndefinedTable
------------------
ERROR:  relation "keys" does not exist
LINE 1: INSERT INTO keys (id, key_name, public_key, key_version, cre...
chef-stacktrace.txt

@pacotejeda Can you please give details on the system you're running this on, the version of Infra Serve, and if this was an upgrade from a previous version?

thanks for help, this is a fresh new instalation and I tried

Thanks for your help
Its a fresh new installation and I have tried to versiones with same error:
chef-server-core-12.19.31-1.el7.x86_64.rpm  and chef-server-core-13.0.16-1.el7.x86_64.rpm
The thing is that I have done this same installation under Centos 8 without problems
cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)

Hi,
Hope you solved this since then, Answering for others :
That happened to me. it looks like in some cases, if an error occurs during install (in my case, the library libnsl was missing, which probably was also yours), chef fails to graciously install in later attempts. I forcefully reinstalled chef and deleted all generated files to resume the install from 0 :
dnf erase -y chef-server-core
rm -rf /var/opt/opscode # Ensure that no subfolder belongs to a different package with rpm -q --what-provides
dnf install -y chef-server-core

We have observed some errors relates to libnsl in our pipelines when we install a build built on older versions of the operating systems on newer ones.
Please let us know if you still see this issue with the latest Chef Infra Server releases.


Fix deprecations and require PHPStan ^1.10

fyi I noticed that the strict-rules package also has some deprecations but they are not reported because phpstan-deprecation-rules is not installed. should I

install phpstan-deprecation-rules and fix them
or just fix them
?

install phpstan-deprecation-rules and fix them 😊 thanks

Thank you!


Interface{}->any for more subfolders

Continues the effort started in https://github.com/apache/beam/pull/24505 (aka my new I have 15 minutes free hobby)

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @lostluck


Make replicas optional for the head spec.

Why are these changes needed?

A Ray cluster only supports one head pod.
Accordingly, the KubeRay operator ignores headGroupSpec.Replicas and creates exactly one head pod.
To match this operator behavior and simplify configuration, this PR makes headGroupSpec.Replicas optional and labels the field as deprecated.
We might have anticipated HA or FT features might be implemented via multiple heads, but that's not the route we're going down.
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

We use Int32Ptr(1) now and doesn't accept any values from this field.


Reddit.com new design doesn't work with 'send to Kindle

As the title says, 'unable to retrieve' is the error I get whenver I use 'send to kindle' bookmarklet on the desktop with the new Reddit design. Use old.reddit.com works many times but there are still instances where instead of the actual article the subreddit info is pulled.

To use the bookmarklet, you need to open the Reddit post page first and then click on the 'Send to Kindle' bookmarklet.
There is no need to click the "Load" button in send.reabble.com.


ODS-4335 Upgrade Test Packages for .Net Core support

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: vimayya:white_check_mark: jamessmckay:x: tsvetkotsvetko seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

wrong github user


Dynamic Appliance List/Monitor All Appliances

Is your feature request related to a problem? Please describe.
I'm always frustrated when a new site is deployed and appliances have to be added manually into a long list of things to monitor, I just want to monitor every appliance on the orchestrator instance.
Describe the solution you'd like
I would like the ability to specify that the silverpeak exporter simply monitors all edge connect appliances in an orchestrator instance without the need to list all appliances statically in the vars.yml file.
Describe alternatives you've considered
I've considered trying to hit the silverpeak API with a script and generating an appliance.yml file automatically, and just pointing the var.yml file at that, but I feel there is likely an easier way of doing it.

Hey Sam, Will look into this and see if I can implement it for the next version


Issue with server's Authentication method being both publickey and password, and SSH key gen request

After plenty of failed attempts using online generated ssh keys online, i resorted to pulling out the Linux device to and using the good-old "ssh-keygen" and copy keys from there onto IOS. an embedded "ssh-keygen" would be fantastic.
I suggest support/recommendations on generating/importing keys be added to the app's online docs until this keygen feature is implemented.
Issue:
Server ssh connection setting: AuthenticationMethods "publickey,password" gives error Connection_Established_But_Can_Not_Open_Session.
I get success if I add the server's password into the saved ssh configuration on the device and then attempt the connection.
Goal:
To require a server password prompt after ssh keys are authorized, and not require the server password to be saved into the configuration.

@philipt4 Key generation is planned here : #46
Almost all SSH keys should work out of the box.
Please post verbose logging for debugging.
In order to enable verbose logging you can follow the steps :

iOS Settings
WebSSH
Settings
Log Level > Verbose
Restart WebSSH
Reproduce your action
Find the log files inside iOS > Files > WebSSH

Hello @philipt4 👋
Thank you a lot for your feedback 🙏
Could you try to change this setting please?
iOS Settings > WebSSH > None Authentication Strategy > Disallow

Have a nice day ☀

@philipt4 Have you tried the suggestion above?

@philipt4 Feel free to reopen this issue as soon as you need


add seq to stable

RE-CHECK!

RE-CHECK!

Automated adapter checker
ioBroker.seq

[ ] :heavy_exclamation_mark: [E144] common.installedFrom field found in io-package.json. Must be removed.

Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.seq

[ ] :heavy_exclamation_mark: [E144] common.installedFrom field found in io-package.json. Must be removed.

Add comment "RE-CHECK!" to start check anew

RE-CHECK!

RE-CHECK!

Automated adapter checker
ioBroker.seq

:thumbsup: No errors found
Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.seq

:thumbsup: No errors found
Add comment "RE-CHECK!" to start check anew

RE-CHECK!

RE-CHECK!

Automated adapter checker
ioBroker.seq

:thumbsup: No errors found
Add comment "RE-CHECK!" to start check anew

Automated adapter checker
ioBroker.seq

:thumbsup: No errors found
Add comment "RE-CHECK!" to start check anew


Integrate K6 with GitHub Actions in project waltid-xyz-kit

The test script /src/main/test/test.js runs automatically nightly and on push or pull request from the (1-integrate-k6-with-github-actions-in-project-waltid-xyz-kit) branch,
it verifies the test cases and returns the results in a format of html file, the result is stored as an artifact

In case of a test or a job failure, an email will be sent to my email, can be configured in .github/workflows/load-test.yml

it verifies the test cases and returns the results in a format of html file

where and how can the results be reviewed?

@philpotisk under each load-testing workflow run you can find an artifact, you just download it and open the html file in a browser

or you can view the results in the console log of K6 by going to


Error on re-provisioning

Today I tried to re-provision in order to get a new feature running by doing this:
(zulip-venv)vagrant@vagrant-base-trusty-amd64:/srv/zulip$ python tools/provision.py

but it failed giving the output as:
Running setup.py develop for zulip
    Complete output from command /srv/zulip-venv-cache/03b78ed9f1fd3fd0bdade980350328b73d375dd1/zulip-venv/bin/python -c "import setuptools, tokenize;__file__='/srv/zulip/api/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps --no-ml:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: option --no-ml not recognized

    ----------------------------------------
Command "/srv/zulip-venv-cache/03b78ed9f1fd3fd0bdade980350328b73d375dd1/zulip-venv/bin/python -c "import setuptools, tokenize;__file__='/srv/zulip/api/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps --no-ml" failed with error code 1 in /srv/zulip/api/
/srv/zulip-venv-cache/03b78ed9f1fd3fd0bdade980350328b73d375dd1/zulip-venv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Traceback (most recent call last):
  File "tools/provision.py", line 220, in <module>
    sys.exit(main())
  File "tools/provision.py", line 154, in main
    setup_venvs.main()
  File "/srv/zulip/tools/setup/setup_venvs.py", line 16, in main
    setup_virtualenv("/srv/zulip-venv", PY2_DEV_REQS_FILE, patch_activate_script=True)
  File "/srv/zulip/scripts/lib/setup_venv.py", line 204, in setup_virtualenv
    do_setup_virtualenv(cached_venv_path, requirements_file, virtualenv_args or [])
  File "/srv/zulip/scripts/lib/setup_venv.py", line 238, in do_setup_virtualenv
    run(["pip", "install", "--no-deps", "--requirement", requirements_file])
  File "/srv/zulip/scripts/lib/zulip_tools.py", line 98, in run
    raise subprocess.CalledProcessError(rc, args) # type: ignore # https://github.com/python/typeshed/pull/329
subprocess.CalledProcessError: Command '['pip', 'install', '--no-deps', '--requirement', '/srv/zulip/requirements/py2_dev.txt']' returned non-zero exit status 1

I get the same error when I force the new build. Python 2.7.6 is currently being used.

This appears to be fixed by downgrading setuptools to 27.3.1 from 28.3.0.  I'll open a setuptools bug for this issue (in addition to downgrading what we use).

Thanks for reporting this @reyha!  This is temporarily resolved via f5c6cb7c0ecb0c5cfbe647940caabca81ccb2b88; we're working on a nicer solution that doesn't require us to do that revert.


MacOs change tab to Open Quickly changes window size

View > Show All Tabs; select a note tab, drag the window a bit larger

Click the Open Quickly tab and the window will resize to accommodate its contents

Click back to original tab, and the window is still small

What should happen instead?
I should be able to size and/or arrange the window as I prefer and have it stay that size. :)

<3 this app btw..

I'm not even sure how you managed to add Open Quickly as a tab. It shouldn't be possible and I can't make it happen on macOS Monterey. Open Quickly isn't supposed to be able to be resized and that might be causing the behavior you are seeing.
What version of macOS are you using? If it is Big Sur, then being able to attach Open Quickly might an operating system bug.
It also looks like you are using an old version of Zavala. You might want to upgrade and try to stay current on it. I have done a lot of bug fixes to it this year.

Thanks for response. I'm on Big Sur (can't update that, I have legacy software to contend with), but Zavala is/was apparently up to date.
I haven't been able to get Open Quickly as a tab again, but if I'm able to reproduce it I'll let you know.

I think you must have updated Zavala recently. Your screen shots have the 1.0 style tags at the top of the outline. That may be why you can't attach Open Quickly anymore.
It looks like this is resolved somehow, so I'm going to close this issue. If you see it again, let me know and we'll open this one again.


haiku build fix

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 9bf2fb0a1e995d4072723c89156ed05b39c53ae8 has been approved by Amanieu

:hourglass: Testing commit 9bf2fb0a1e995d4072723c89156ed05b39c53ae8 with merge f36e705ad84c8bcbaccf6270941e8e8100babd0b...

:broken_heart: Test failed - checks-cirrus-freebsd-11

:hourglass: Testing commit 9bf2fb0a1e995d4072723c89156ed05b39c53ae8 with merge 01d1fcfe0551c86db573774f681e0dee52ef419f...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 01d1fcfe0551c86db573774f681e0dee52ef419f to master...


Extending color theme with variable breaks when using hsl(var(--variable))

Describe the bug
I was trying to use variables from the shadcnui in nativewind.
Shadcn uses variables like this in css file
root : {     primary : 0 84.2% 60.2%; }
and
theme : {    extend : {       colors : {           primary : "hsl(var(--primary)       }    } }
But this does not work with nativewind
However the following works :
root : {     primary : hsl( 0 84.2% 60.2%); }
and
theme : {    extend : {       colors : {           primary : "var(--primary)"       }    } }
Am I doing something wrong. Or is this expected

Fixed in 4.0.9, just make sure you are correctly writing your theme as  theme: { extend: { colors: { primary: "hsl(var(--primary))" } } },


Rebuild state for DStream UpdateStateByKey operation by replaying batches instead of checkpoint

[Current coverage][cc-pull] is 82.33%

Merging [#492][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #492   diff @@
==========================================
  Files            48         48
  Lines          5101       5101
  Methods         978        978
  Messages          0          0
  Branches        649        649
==========================================
  Hits           4200       4200
  Misses          615        615
  Partials        286        286

Powered by Codecov. Last updated by [e75eb18...3b67b2a][cc-compare]
[cc-base-branch]: https://codecov.io/gh/Microsoft/Mobius/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/Microsoft/Mobius/compare/e75eb189e00c05ba078167fd4c6403b12a0c642f...3b67b2a6a7b5c63fc01b0e04bf444093f551442c?src=pr
[cc-pull]: https://codecov.io/gh/Microsoft/Mobius/pull/492?src=pr

LGTM
looks great. thanks a lot for detailed feature description and adding scala unit tests.


Add project-mode +javascript-eslintd-fix-mode

This the following features mentioned in #185 have been implemented using the def-project-mode!:

Auto Format Code: eslint w/ prettier
Use eslint_d if available otherwise fallback to eslint

I didn't know how you prefer the documentation for this feature be added so I am leaving it here in pull request.
Documentation
This project mode enables automatic formatting of javascript source on save using eslint --fix.
Install
This project mode requires eslint_d for auto formatting.
npm -g install eslint_d

Setup
To enable this feature for a specific project you can use .dir-locals.el to set doom-project to include +javascript-eslintd-fix-mode. Here is an example of my .dir-locals.el file which is located next to package.json in the root of my JS project:
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((nil . ((doom-project . (+javascript-eslintd-fix-mode)))))

Prettier code formatter
You can get Prettier's great AST based code formatting using this project mode with this eslint pluging that runs Prettier as an ESLint rule:

https://github.com/prettier/eslint-plugin-prettier

This is a great start. Two issues jumped out to me:

I think we can silently (setq flycheck-javascript-eslint-executable "eslint_d") if (executable-find "eslint_d") succeeds, and we should do this outside of the hook. After all, if it's installed, it's safe to assume we want to use it globally, and seems to be safe as a drop-in replacement.
The definition of +javascript-eslintd-fix-mode is incomplete. It shouldn't be tied to +javascript-npm-mode. We can also do away with the +javascript|init-eslintd-fix hook and simply add eslintd-fix-mode to +javascript-eslintd-fix-mode-hook.

In any case, I've merged this and will refactor as necessary. Your PR has exposed a couple issues in def-project-mode! that I'll need to address too.
I look forward to your other lang/javascript improvements!

I appreciate the feedback as I'm rather new to elisp and still learning doom-emacs so it's extremely informative.
Flow, Jest and a few more JS related changes are incoming. I started with this small specific pull request to start with on my JS module update because I wanted feedback. Moving forward I will likely include several JS module changes into a single pull request (unless you prefer otherwise).


miui cn

hi I'm using china rom 13.0.13 android 12 mi 11 ultra how to make this module work with my device thanks


[Feature] - Documentation Website

Creating a website with the documentation for this project. Feel free to build it like you want it.
Some notes:

The iOS library for developing Watch Apps https://github.com/mtford90/react-native-watch-connectivity
Their documentation https://mtford.co.uk/projects/react-native-watch-connectivity/docs/
The GitHub repo of the documentation website https://github.com/mtford90/react-native-watch-connectivity.github.io

The website could be the documentation for both react-native-watch-connectivity (iOS) and react-native-wear-connectivity (Android) (but also other libraries).

[ ] Send PR to https://github.com/mtford90/react-native-watch-connectivity

[ ] Prepare a PR for project https://github.com/mtford90/react-native-watch-connectivity


Rebuild for Python 3.12

Checklist

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

Previously the automatic python 3.12 migration failed because the release version of 3.12 wasn't out, so this PR should prompt it to retry now it is. It also fixes the licence being out of date after the upstream repository was relicenced to BSD.

@conda-forge-admin, please rerender

Hmm. It seems that the builds are still failing to compile the cython bits.
Error compiling Cython file:
------------------------------------------------------------
...
                    unsigned char* packed_data,
                    int* packed_length,
                    function* parent) nogil

cdef void MO_syslog(int value, char* message, const function* const caller):
     ^
------------------------------------------------------------

I'll be honest, I don't really know enough (any) cython to be able to debug this.

I'll be honest, I don't really know enough (any) cython to be able to debug this.

@jfrost-mo I'm afraid that's also the situation within the team, too.

I'm currently doing a course on C, so I'll try and come back to this in a couple weeks and see if i have gained the knowledged to get it working.

@jfrost-mo I'll take a look, no bother :+1:

The bot will re-issue #31 soon. Let's wait for it. Closing this one.


🐞 : The feedback form containers are not aligned to the center

:red_circle: Title :  The form is misaligned
:red_circle: Bug :  The padding is off and not aligned to the center
:red_circle: Changes :  Improve CSS sheet to center the form and make it look better
Screenshots 📷

✅ Details to Include When Taking the Issue:
Name : avogadroB
Participant Role (Specify the Open Source Program name, e.g., GSSOC, Hacktoberfest, etc.): GSSOC-xtended and hacktoberfest contributor

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

please assign this task to me , i have done with making 3 websites for client ,so i am best for it

hey @arpit74170 please take note that I already specified that I would like to work on this issue.

it is fixed


Disallow explicit any typing to prevent further typing regressions

The ESLint flag can be toggled to disallow explicit any typings.
https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.md
The only times when explicit any is preferable is when you are converting to TypeScript piece by piece, or when you are dealing with external APIs. Typescript can infer a great deal about data structures. Enforcing this rule will help avoid the need for chore PRs that touch many files, and help keep the components testable.

We recently moved to a more strict type enforcement (I think a SvelteKit update enabled this for us) and it did take some effort to update. But I do think it's better overall. More strict rules are nice. But there are times where any can be useful.
Similar to the other requests, I think this is worth some review and thought.

There are no instances where any would be better than unknown, which explicitly tells the developer that they are dealing with an unknown object type. This does not enforce explicit typing across the board- merely disallowing typing to any explicitly, which is an antipattern. It's a great practice to enforce so that you can't just fob off the typings to later. For typings that you aren't sure of, or don't care about (tableheadings being a good example) you can still leave 'em blank.
As the library grows larger and develops more sophisticated actions and functions, this will become more relevant. It's best to nip it in the bud early to ensure that it's maintainable further down the track. It will be annoying to begin with, but in my personal experience working on a project that enforced zero typescript errors via husky, it made me a much better developer by forcing me to think about the data structure, and research what events/apis I was actually using.

Right, I understand the technical benefit. If this was a propriety and closed source project I would be all about it. But keep in mind we're working with contributors of all skill levels. I'd rather be able to accept contributions that need typing adjusted or improved versus someone hitting a hard wall and bouncing.
I don't think a zero-tolerance policy will benefit a project of this size this early on. We need all the help we can get at the moment. Instead, perhaps reviewers (myself currently) could do a better job of encouraging and enforcing stricter typing on submissions.
Here's an example of this from today in fact. Sarenor submitted a PR, their first, and it was lacking some key typing, so I submitted an update resolving this. In other instances I might leave a comment and expect the end user to update accordingly.
https://github.com/Brain-Bones/skeleton/pull/304/commits/accf0aa808c34b6f101fba51a990802e9bef67cc
I do agree the project is due for improvements to make more use of typing, but I'm not sure we're in a place where this is such a hard requirement it's worth burning bridges with new contributors.

FYI I created a post on the Discord contributor channel and pinged a few folks to share their opinion here.

Oh, I should've been more specific- Important to note that this doesn't outright stop commits (unless you set up a git hook to disallow commits/pulls with ESLint errors), but just throws an error, same as if you were to use a method that didn't exist. So contributors would still be able to include that sort of incorrect typing, it's just it would come up as an error.

Right, but when they receive those errors who are they going to reach out to? :) Right now I'm devoting about a quarter of my working hours to support issues. I'd really appreciate if that went down rather than up.

After weighing this one for a few days I'd prefer to leave the configuration as is. We can revisit in the future though. I know you don't like any Rhys, but honestly the"harm" it produces compared to the number of support issues this might cause isn't justified at the moment. We want a low barrier of entry for contributors.


how can I know if my foreground service failed to start?

hi
I have to know if my foreground service start has failed, so I can do something about it
but I don't see a way currently
so is it possible ? can you add it if it's not currently possible ?

I believe you watch adb logcat ?

I meant programmatically
there isn't anything unusual going on in logs
here is a log where 2 trigger notifications that both want to be foreground are fired. one is simply not showing up, nor failing in any way I can detect
01-03 06:59:03.906 22338 23263 I ActivityManager: Background started FGS: Allowed [callingPackage: com.github.meypod.al_azan; callingUid: 10159; uidState: SVC ; intent: Intent { act=app.notifee.core.ForegroundService.START cmp=com.github.meypod.al_azan/app.notifee.core.ForegroundService (has extras) }; code:SYSTEM_ALLOW_LISTED; tempAllowListReason:<,reasonCode:SYSTEM_ALLOW_LISTED,duration:9223372036854775807,callingUid:-1>; targetSdkVersion:30; callerTargetSdkVersion:30; startForegroundCount:0; bindFromPackage:null]
01-03 06:59:03.935 22338 23263 W ActivityManager: Foreground service started from background can not have location/camera/microphone access: service com.github.meypod.al_azan/app.notifee.core.ForegroundService
01-03 06:59:03.936 22338 23263 I am_foreground_service_start: [0,com.github.meypod.al_azan/app.notifee.core.ForegroundService,0,SYSTEM_ALLOW_LISTED,30,30,0,0,0,1,UNKNOWN]
01-03 06:59:25.242 22338 23911 I am_foreground_service_stop: [0,com.github.meypod.al_azan/app.notifee.core.ForegroundService,0,SYSTEM_ALLOW_LISTED,30,30,0,0,21305,1,STOP_SERVICE]
01-04 06:59:41.108 22338 22516 I ActivityManager: Background started FGS: Allowed [callingPackage: com.github.meypod.al_azan; callingUid: 10159; uidState: SVC ; intent: Intent { act=app.notifee.core.ForegroundService.START cmp=com.github.meypod.al_azan/app.notifee.core.ForegroundService (has extras) }; code:ACTIVITY_VISIBILITY_GRACE_PERIOD; tempAllowListReason:<,reasonCode:SYSTEM_ALLOW_LISTED,duration:9223372036854775807,callingUid:-1>; targetSdkVersion:30; callerTargetSdkVersion:30; startForegroundCount:0; bindFromPackage:null]
01-04 06:59:41.216 22338 24046 W ActivityManager: Foreground service started from background can not have location/camera/microphone access: service com.github.meypod.al_azan/app.notifee.core.ForegroundService
01-04 06:59:41.221 22338 24046 I am_foreground_service_start: [0,com.github.meypod.al_azan/app.notifee.core.ForegroundService,0,ACTIVITY_VISIBILITY_GRACE_PERIOD,30,30,0,0,0,1,UNKNOWN]
01-04 06:59:48.905 22338 23385 I am_foreground_service_stop: [0,com.github.meypod.al_azan/app.notifee.core.ForegroundService,0,ACTIVITY_VISIBILITY_GRACE_PERIOD,30,30,0,0,7687,1,STOP_SERVICE]


Deliverable 3

We were able to get media to upload videos. As well as the map implemented from google maps, with a few custom markers in san fransisco. Next week we can focus on upgrading the map experience, UI / UX.

Merging the branch to main


🎛Rotary encoder

[x] Ad-hoc implementation to only see basic behavior
[x] Basic behavior
[ ] Fix API design
[ ] Consider split type
[ ] Consider not to use multicore (thread instead?)

@seisuke
I've tried your suggestions:
https://github.com/picoruby/prk_firmware/pull/8#pullrequestreview-675877489

Because rotation become 0 when it is -1.

It is what I want to do.

Otherwise, the action of rotary encoders will be too sensitive.
https://github.com/picoruby/prk_firmware/pull/8#pullrequestreview-675879767
My original code and your code should logically be the same.
Even though I tried your code on my keyboard, its behavior didn't differ at all.
I guess you have another issue on your end.
Thank you very much, anyway!


Search no longer executes automatically upon Ctrl+Shift+F

VSCode Version: 1.43.0 and 1.44.0-insider
OS Version: Windows 10 19041.113

Steps to Reproduce:

Open a file
Highlight a span of text
Ctrl+Shift+F to search the project for the text in the selection
Observe that although the search text has been copied into the Search textbox, the search operation does not execute until you actually hit Return.

Does this issue occur when all extensions are disabled?: Yes

Sorry, this is a duplicate of #92344


Add codespell support and fix a typo

Thanks for making the PR, I fixed the test problem via PR #89


Ignore sstables with only ttl deletions which are not currently expired.

When filtering SSTables in the case of time-based data and TimeWindowCompactionStrategy, we can reduce SSTables number, by filtering out those with only ttl tombstones, for which ttl has not expired yet (so there is no chance they affect the current result set).

please file a ticket in Apache JIRA if this is still relevant to you.


How to perform inferencing on my own datasets?

How can I use this pose estimation model trained on COCO to get keypoint coordinates of my own dataset?   In other words, so just use pre-trained model trained on COCO dataset to perform inferencing.

I would like to know the answer to this as well. I am trying to test the network on VGG dataset.

I want to know too.

Hello can you please explain how did you use the model for your own dataset?


Get rid of commit_zero

The current revision implementation is not related to commit_zero at all, it is just the path from the root, I think we don't care as much what revision value is as long as it is incrementing for a particular version, so I am considering to remove commit_zero.
TODO discuss and make sure that it works as expected

OK, now I understand how this works. We rely on git-describe that apparently implicitly uses first available tag. And while this works, it is not perfect in a sense that if we commit something to master, e.g. LICENSE.build, we break consequent revisions.

My proposal is to use git rev-list --count HEAD.
Advantages:

This does not rely on artificial tags. Normally named tag creates a release on github, this is misleading.
It will always preserve version increments regardless of what we do in other branches.
Disadvantages:
Numbers will be slightly more arbitrary. However they already are :/ Do we really want to keep this property?

@jpakkane I would appreciate if you take a look.


Validating URLs

In identifying the Government Power Apps URLs, you take two different commercial URLs and link them to the very same URLs for Government. For commercial you have "make", "create", "flow", and "admin". For Government you have "make", "make", "flow", and "admin".
Blatantly looks wrong so I wanted to confirm. If make and create are combined for Government, you should note that so people understand it is a known convergence.
Thanks!
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ea524f2a-1e2a-6ade-8e2b-bc61173107c5
Version Independent ID: 5990c060-8907-62b4-a8b3-f7ed8339a70e
Content: Microsoft Power Apps US Government - Power Platform
Content Source: power-platform/admin/powerapps-us-government.md
Service: power-platform
Sub-service: admin
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@NormanVadnais
Sorry for the delayed response. We've rewritten this topic. Please let us know if this is still an issue.


Enable base branch check for PR

This is a follow up of OpenAstronomy/baldrick#92 . Hopefully this would prevent PRs from being opened accidentally against something other than master, especially when they click "edit on GitHub" on RTD doc.
Please double check the syntax.

Trying out the GitHub Action route instead.


[Bugfix] fix miss string function in MAX/MIN function when enable dictionary optimization

we will add a new dictionary column for MAX/MIN aggregate function in dictionary optimization.
so when we have a string function for a old dictionary column, we also need apply it to the new dictionary column.
What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：
Fixes #9619
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 39 / 39 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/physical/AddDecodeNodeForDictStringRule.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalDecodeOperator.java
37
37
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 39 / 39 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/physical/AddDecodeNodeForDictStringRule.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/physical/PhysicalDecodeOperator.java
37
37
100.00%
[]

run starrocks_admit_test

Your description doesn't seem to be related to the changes in your code，I don't understand the why need to removeUnusedFunction

Your description doesn't seem to be related to the changes in your code，I don't understand the why need to removeUnusedFunction

run starrocks_admit_test


feat(expr): add vnode internal function

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Add vnode function.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#4247

Need to refactor to variable vnode after #3396

By the way, should we expose it as a function for debug purpose? cc. @st1page

Exposing it as _vnode sounds good to me.

@mergifyio requeue


ember init doesn't create files in current directory

Hello everyone,
I was following the instructions from README.md, but I experience a strange behavior.
$ mkdir frontend
$ cd frontend
$ ember init
version: 1.13.8
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
installing app
  identical .bowerrc
  identical .editorconfig
  identical .ember-cli
  identical .jshintrc
  identical .travis.yml
  identical .watchmanconfig
  identical README.md
  identical app/app.js
  identical app/index.html
  identical app/router.js
  identical app/templates/application.hbs
  identical bower.json
  identical config/environment.js
  identical ember-cli-build.js
  identical .gitignore
  identical package.json
  identical public/crossdomain.xml
  identical public/robots.txt
  identical testem.json
  identical tests/.jshintrc
  identical tests/helpers/resolver.js
  identical tests/helpers/start-app.js
  identical tests/index.html
  identical tests/test-helper.js
Installed packages for tooling via npm.
Installed browser packages via Bower.

# but
$ ls -la
total 0
drwxr-xr-x   2 owner  group   68 Sep 13 09:43 .
drwxr-xr-x  25 owner  group  850 Sep 13 09:43 ..

So ember cli finds those files somewhere but I cannot see anything inside of the directory where the initialisation should take place. Any ideas to find the problem?
These are my versions:
$ ember --version
version: 1.13.8
node: 0.12.0
npm: 2.13.4
os: darwin x64

I ran into this. The problem was that somewhere in a directory above there was a package.json that ember found and tried to use instead.

Thanks for opening this issue and bringing this to our attention.
Unfortunately, this doesn't sound like an ember-cli-rails issue, since ember-cli-rails and ember-cli are separate projects.
I'm going to close this issue. I suggest that you open an issue on the ember-cli project.
If you still believe that this is an ember-cli-rails problem, feel free to comment and I'll re open the issue.


⚠ Bofrost.de has degraded performance

In f72daa8, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 847 ms

Resolved: Bofrost.de performance has improved in a9a0a47 after 8 minutes.


Responding back without a button push

Hi there,
This is an awesome project. I like it better than the one using the java client. Is there a way to not have to press the button when Alexa needs a response? For instance, if I ask her to set a calender event, she will ask me when, where, etc until she is done and I say yes.  Every time I need to respond, I have to press the button.  Where are you handling responses back from the AVS? This would be a nice addition to an already great project.
-Rob

Interesting point Rob, however the button does two things, one is starting the recording which could be done automatically depending on the response but the other is stopping the recording which is equally important, this would need some additional code to do silence detection and then a lot of tuning.
Right now the parsing of the response meta data is pretty crude, I'm working on a version that incorporates some music patches but after that I'll be moving over to the brand new v2 API.
I'll look into it for the V2 api as I think that might have silence detection server side as well which could help.


Bool options are not saved

bool options, wich will be displayed as switches

are not saved into the config.json. after i hit "save configuration" i check the config.json and the value is always false

You are right @Blueforcer
I'm sorry, but this is a bug introduced with new setup UI because I have accidentally deleted a row of code.
I will fix it immediatly and then I will draft a new release.

Hi @Blueforcer
I've just pushed the bugfix and some other functions for the /setup page (upload you custom logo file just clicking on default Espressif logo).
I want to do some more tests before drafting a new release, but if you want to fix this bug just overwrite the setup_htm.h file with the new one uploaded to Github.

youre pretty fast man! i think i can wait until next release.
Btw is it possible to get a dropdown as an option? :-)

Btw is it possible to get a dropdown as an option? :-)

This is a feature I had already thought about, but it needs some work because the list can be of different data types.
I'll probably implement a version that allows you to use only strings or at most strings and numbers as the return value.

Strings are fine, or maybe just saving the selected index? Then the user can compare whatever he likes.

Goodmorning @Blueforcer
The new release contains bug fix and the new method for dropdown listbox (only string values for the moment).
https://github.com/cotestatnt/esp-fs-webserver/releases/tag/1.2.0

Oh boy, that was damn fast! Nice work!

It was easier than i thought :)


Add navigation layer bitmask helper functions

Adds helper functions to work with the navigation layer bitmask similar to other layers like physics.
Did not touch TileMaps and Tilesets as there is too much @groud involved for me and it seems they have their own logic and helpers to enable / disable bits.

Thanks!


Collection cover url can't be accessed.

Hi!
Thanks for this awesome repo!
I am accessing for my project the cover URL of an array of collections inside a page.
If the cover I set is one that comes from the notion, the URL I get is downloadable, but if the image cover is a custom one, I do get the aws link to the image and it can't be accessed.
Maybe somehow link needs to be signed with a token for credentials and security purposes or something?
Thanks
Cordially,
Bruno

Update:
Found something
cover = collection.cover

url = "https://www.notion.so/image/"+cover+"?table=collection&id={0}&width=300&userId={1}&cache=v2".format(collection_id, self.client.current_user.id)

Will help you access the image. The width parameter can be changed to whatever you want I have been seeing!
Hope this helps someone.

+1


Generating adversarial data from cleverhans attack models

I want a code example to how to generate train data from clever hans' adversarial attacks.
adv_x = fgsm.generate_np(X_test, **fgsm_params)
This generates adversarial x data but how can I get y?
adv_pred = model.predict_classes(adv_x)
And this will give the "fooled" results right?
What I want is to correctly show generated x, y, fooled y (by which I mean results of models predictions that may be false because of the attack). I'm using Mnist btw, if it helps.

Thank you for asking this question on StackOverflow, there is no need to double post.


Test debug output doesn't match what's actually compared when attributes have explicit namespaces

pyxform v0.15.1, Python 3.7.2
The test_integer_max_pixels test looks for <bind nodeset="/data/my_image" type="binary" orx:max-pixels="640"/>. If this is changed to e.g. <qqqqind nodeset="/data/my_image" type="binary" orx:max-pixels="640"/> and the debug=True flag is added, the test fails as expected but the debug output shows <bind nodeset="/data/my_image" orx:max-pixels="640" type="binary"/>. Note that the attribute order is different.
If I modify the test to check for <bind nodeset="/data/my_image" orx:max-pixels="640" type="binary"/>, the test fails.
To reproduce, use nosetests pyxform.tests_v1.test_max_pixels.MaxPixelsTest
When I convert the form directly, I get <bind nodeset="/data/my_image" orx:max-pixels="640" type="binary"/>. This means the tests are not verifying the actual output, at least for some Python versions. I got the same output with Python v2.7.

I'm pretty sure this is because assertPyxformXform uses ETree.fromstring and that xml.etree.ElementTree represents attributes as {namespace}name. For the test described, that means the three attributes are represented as nodeset, {https://openrosa.org/xforms}max-pixels, type. That sorts to [nodeset, type, {https://openrosa.org/xforms}max-pixels] which explains the order expected by the tests.
On the other hand, the Survey._to_pretty/ugly_xml methods use xml.dom.minidom which I believe pre-Python 3.8 sorts attribute names using the attribute prefixes.

Closed by #415.

No, unfortunately #415 does not close this. I'm not really sure whether we want to do anything about it. We could replace all minidom usage with etree, I think, but that would be a big lift. assertPyxformXform uses etree because it needs more granular control over the XML, I believe.


Update fan_HassTurnOff.yaml

Added Swedish intent sentences.

Don't forget to add tests.

Adding something like this into tests/sv/fan_HassTurnOff.yaml would be a start for tests.
language: sv
tests:

sentences:

"stoppa alla fläktar i vardagsrummet"
"stäng av fläktarna i vardagsrummet"
intent:
name: HassTurnOff
slots:
area: "livingroom"
domain: "fan"
name: "all"

This is already added in a different PR, will close this one.


How to trace MQTT

In examples, we need to pass request context to extract or inject information, however, there's no such thing in MQTT when publish or subscribe messages.
I would like to know if there is a way to trace MQTT, thanks.

I am not sure what do you mean no such thing. Header or so-called metadata exist in queue, including Kafka, RocketMQ, ActiveMQ, etc. It is a common concept, and there are various queue-based instrumentation in different language agents.


Is the service closed?

Response status code 500 for basic charts
Link to https://plot.ly/api/rest/ is broken

I have had the same issue for 2 hours now. I can't make graphs, but I can change the token and it recognizes if it is valid or not.

We just hit upon this same issue, and it seems like the answer now is to use the plotly.js library https://github.com/plotly/plotly.js


pieceLength default value

What is the default value for the pieceLength parameter?
Suggestion: Write this in the API documentation.

The docs already say "A reasonable piece length (~1024 pieces) will automatically be selected for the .torrent file". If you have a suggestion for how to make this clearer, please open a PR.

https://www.npmjs.com/package/piece-length is used.


Add-user-signup-page

This PR accomplishes two major things:

Users can create accounts via the website
Users must verify their email upon account creation

There are a number of nice-to-haves that I did not take the time to implement for this ticket:

[ ] Verified users are automatically signed in
[ ] Users must reenter password to create an account
[ ] Users can see the email they created an account with when on the verification screen
[ ] Users can quickly navigate back to the "create account" screen if they made a typo in their email

All reviewers on the dev team should (a) check out this branch and run the PR locally, stepping through the new features, and (b) look through the code and ask themselves "If I had to work with these files in two weeks, could I understand the code written enough to get started?" Your comments on this PR should reflect your thoughts as you go through each file and through your local website instance. Some things you may find include logic mistakes, unclear naming, inconsistent design patterns, or ways to improve the user experience.
@LN7-cyber: Could you click "Log In" on the linked site preview and try to create an account, then leave a comment discussing your impressions of the experience?
@CharlieMcVicker: Could you specifically double check my auth flow work in auth.tsx?

✅ Deploy Preview for dailp ready!
Name	Link
🔨 Latest commit
🔍 Latest deploy log	https://app.netlify.com/sites/dailp/deploys/6557be4c3209380f2e29afc5
😎 Deploy Preview	https://deploy-preview-359--dailp.netlify.app
📱 Preview on mobile
Toggle QR Code...
To edit notification comments on pull requests, go to your Netlify site configuration.

@LN7-cyber Try testing the signup using this link please

I am beginning my review now and got this message when I tried to create an account:

I will look through the code and leave comments on the code now!

I am beginning my review now and got this message when I tried to create an account:

I will look through the code and leave comments on the code now!

This is an ongoing issue with AWS resources affecting all of our branches, im working on it rn

@CharlieMcVicker I wanted to give you an outline of the fixes I will be making since youre mostly async this week:

Implement fixes for your (1-3) in this branch
Make a ticket for (4) which requires changes in Terraform that would needlessly clutter this branch
Make a ticket "Use discrete union for auth state" so we can spend some time concretely planning out this work

Jira issues:
https://dailp.atlassian.net/browse/DP-287
https://dailp.atlassian.net/browse/DP-286


alt-ergo: 2.3.1 → 2.3.2

Motivation for this change
Currently broken in nixpkgs (wrong hash).
I’ve changed the download URL in hope it has a more stable contents.
Things done

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

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

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

@GrahamcOfBorg build alt-ergo.src

Backported as d41fe836331788ab12af2c7cc9e78fab4408426e


Can't get axes to be fixed in 3D scatter plot

I'm trying to visualize pointclouds in the 3D scatter plot. Everything plots fine, except my axes keep changing with each update. The annoying consequence is that the visualization is distorted (as the axes are not all scaled similarly), making it quite difficult to tell if anything is working. It seems from the examples that xtickmax and the like should do the trick, but it doesn't seem to be. What am I missing?
I am using the most recent visdom available via pip.
My code snippet:
vis.scatter(
	X=pts,
	Y=labels,
	win='points',
	opts=dict(
		title='Points',
		legend=['Predicted', 'Ground Truth'],
		markersize=3,
		markercolor=torch.tensor([[0,0,255], [255,0,0]]).int().numpy(),
		xtickmin=-10,
		xtickmax=10,
		xtickstep=0.5,
		ytickmin=-10,
		ytickmax=10,
		ytickstep=0.5,
		ztickmin=-10,
		ztickmax=10,
		ztickstep=0.5))

Output snapshots:

Are you providing the axis parameters to the opts dict on every update step? Do they work the first time and just not on subsequent updates?

Every update. They actually never seem to have any affect.

It's possible that something isn't working properly with 3dplots and plotly - I can investigate sometime this week.

Any update on this? Also, could this be related?

Hi @meder411, sorry for the delay here - I haven't ended up getting much visdom bandwidth in the last two weeks but I'm going to be tackling the backlog this Wednesday.
I don't think that issue is directly related, as I believe heatmaps require particular formatting on the plotly end that visdom isn't configured to handle yet. It could be similar as far as visdom just not being configured yet, as I'm not sure ztick settings have been implemented at all yet.

Hi @meder411 - Try installing from source, this should work for you now. As an aside, tickstep is ignored on 3d plots


More examples needed

Please provided more examples covering the filter syntax.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1fcee11f-b950-4e3e-0bd3-826c561d0839
Version Independent ID: dbbf5913-661a-4ada-b9dd-9084f10c0c00
Content: DataItemTableView Property - Business Central
Content Source: dev-itpro/developer/properties/devenv-dataitemtableview-property.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hi, thanks for your request. These have been added - they will be available with the next doc refresh.


How to extract messages from RunAbleThread to monobehaviour?

First, Thank you for your amazing repository. UnfortunateIy, I have a difficult time extracting the data from your RunAbleThread to my monobehaviour. This might be a simple question but could you please elaborate the solution?
thank you

Generally, when you want to communicate messages between 2 threads you will need to use a queue data structure. This applies to all programming languages.
For simplicity, add a Queue field inside HelloRequester which you use to store messages that you got from ZeroMQ. Then in your MonoBehaviour's Update() loop, you check whether the queue is empty. If the queue is not empty then you pop the element from it and process the message according to your game logic.


Update API endpoint for bulk upload script; add PDF and ZIP functionality

update API endpoint for uploading documents to remove authorization requirement
move document processing code into image_processing.py file
add check in upload document function to ensure that project_id is valid
add function for converting pdfs to png, for storage and display on UI
add process zip functionality
add bulk_upload.py

#52


problem with the display

When I input "---", it will automatically transform to a table summarising the property like this

@fayzzz1229
This has nothing to do with any plugin, but the normal behavior of Obsidian and frontmatter fields.
If any note starts with --- it is the start of frontmatter.  You are seeing the properties section because you are in Live Preview mode.  If you don't want any frontmatter and want your first entries to be a line (---), you can just add a blank line for the first line value.  Look at this example video:
https://github.com/user-attachments/assets/e2946dde-90fe-4fd6-8814-fbaa264e498f

Thanks a lot! It works pretty well now. Fantastic plug-in :)


Stream did not contain valid UTF-8

When you apply binaries that isn't encoded by UTF-8 to git-cf, you should encounter the following error unexpectedly.
[ERROR] stream did not contain valid UTF-8

Fixed by just removing a cast.


flet build aab - not work. white screen after start app

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
with flet build apk the app opens and runs successfully.
but with flet build aab starts up and shows a white screen.
each command completes successfully
Code
import flet as ft

def main(page: ft.Page):
    page.add(ft.SafeArea(ft.Text("Hello, Flet!")))

ft.app(main)

To reproduce
flet build aab
Expected behavior
No response
Screenshots
flet build aab

Operating System
macOS
Operating system details
Monterey 12.7.5
Flet version
Version: 0.22.1
Regression
No, it isn't
Suggestions
No response
Additional details
No response

The below is from AI, give it a try:

When you build an Android App Bundle (AAB), it cannot be directly tested on an Android emulator or device like an APK file. Instead, the AAB file is intended for distribution through the Google Play Store, where it will be dynamically optimized and split into smaller APKs that are specific to different device configurations.
However, you can still test the app locally by following these steps:

Download Bundletool:

Go to the bundletool releases page.
Download the latest bundletool.jar.

Generate APKs from the AAB:

Place the downloaded bundletool.jar in your project directory.
Run the command:java -jar bundletool.jar build-apks --bundle=build/XXXX.aab --output=app.apks --mode=universal

Extract and Install the Universal APK:

Extract the generated APKs:unzip app.apks -d output_folder

Install the universal APK using adb:adb install output_folder/universal.apk

After these steps, your app will be installed on the emulator or device, and you can test it as you would with an APK file.

The below is from AI, give it a try:

When you build an Android App Bundle (AAB), it cannot be directly tested on an Android emulator or device like an APK file. Instead, the AAB file is intended for distribution through the Google Play Store, where it will be dynamically optimized and split into smaller APKs that are specific to different device configurations.
However, you can still test the app locally by following these steps:

Download Bundletool:

Go to the bundletool releases page.
Download the latest bundletool.jar.

Generate APKs from the AAB:

Place the downloaded bundletool.jar in your project directory.
Run the command:java -jar bundletool.jar build-apks --bundle=build/XXXX.aab --output=app.apks --mode=universal

Extract and Install the Universal APK:

Extract the generated APKs:unzip app.apks -d output_folder

Install the universal APK using adb:adb install output_folder/universal.apk

After these steps, your app will be installed on the emulator or device, and you can test it as you would with an APK file.

I did everything that was written. But nothing has changed. When starting it shows just a black or white screen (depending on the theme in the phone)

Sorry, I think you will have to make some researches then.
Main point here is, AAB can't be run directly on Android.

https://stackoverflow.com/questions/50419286/install-android-app-bundle-on-device

I also have this issue, build APK can install and run properly,
AAB convert to APK also can install and run properly,
but if upload the AAB to play store and install from play store, it has white screen only when after start app
how to fix this?

@ndonkoHenri help also facing this issue I have to publish client app made with flet on Google Play store but aab is showing blank screen


Fix some bugs in example

I just tried your example and found out that few things are not compiling.
Hope this helps. :)

thanks!


Add previous_epoch_detail property

I added new property previous_epoch_detail to SerialIterator, MultiprocessIterator, and StandardUpdater.
This property is similar to epoch_detail but it keeps the value of epoch_detail at the previous iteration.
Before the first iteration, previous_epoch_detail is None.

It lacks tests for serialization currently.
After #2346 is merged, I will add tests.

I would like to write the background of this PR.
The motivation of previous_epoch_detail is to make IntervalTrigger support the interval whose length is a float multiple of epochs (which was introduced by #1423). As reported in issue #2244, when we serialize an Extension, its interval trigger forgets self.count, which is a value of epoch_detail of the previous iteration. This value is used to determine if IntervalTrigger fires (i.e. to check if the current iteration is the first time that exceeds a multiple of the predefined interval).
Updater.is_new_epoch attribute represents if the current epoch is the first iteration of the new epoch. Using it seems a straightforward solution at first sight. That is true if we support only integer intervals. But we sometimes want to use multiple of some floating value (e.g. 2.5 epochs). In that case, we cannot use is_new_epoch as it fires only the beginning of each epoch (i.e. can only support integer interval).
As all resumable triggers need the previous value of epoch_detail, we decided to make Updater store this value. As Updater borrows values related to iterations and epochs from the main Iterator it holds by default. We add previous_epoch_detail to Iterators.

The design seems OK to me. But as I know the context of this PR, I am not confident my opinion is objective. I will ask some core members to double-check the design.

Thank you for checking my code.
I am worried that saving previous_epoch_detail is too specialized for this purpose.
I wonder if saving previous_epoch and previous_position is better for future extensibility.

I merged #2346. So, you can add tests for serialization.

Thank you for your suggestion of previous_epoch and previous_position. I am wondering we can define previous_position well.
In ordinal iterators like SerialIterator, the concept of position is obvious. But I am not sure same is true for almost all iterators (if not all). Actually, as you can find out from the definition of Iterator, currently Iterator assumes  the concept of epoch.

I agree that some kind of iterators do not have obvious position.
It is better to use previous_epoch_detail for the common APIs of Iterator.
My concern is that we cannot compute previous_epoch or previous_position from previous_epoch_detail.
If someone want to use these information, he/she have to modify Iterator.
My idea is to keep previous_epoch and previous_position internally.

Do you have some use case of previous_epoch and previous_position in mind? I would suggest you that it is better to add these attributes after we have some concrete use cases and are confident these attributes are actually necessary.

Actually, I have no examples using previous_epoch and previous_position. It may be only a needless fear.
As you suggested, I leave previous_epoch and previous_position unimplemented.

Thank you for merging. I added serialization tests.

I updated some docs.

Thank you for your work. I added some comments to your reply. In parallel, I am running GPU tests in the internal Jenkins.

@delta2323 Thank you for your comment. I replied to it.
I merged master in order to solve conflicts.

I confirmed all GPU tests pass. So, I merge this PR.

Thank you for enduring discussion with me!


Change names of ops class constructor arguments

Fixes #154.

Current coverage is 78.55%

Merging #196 into master will decrease coverage by -0.73% as of 68f42b1

Powered by Codecov. Updated on successful CI builds.


Fix CI issue with code coverage

Code coverage builds are failing https://github.com/jbcoe/value_types/actions/runs/12340971024/job/34439044452?pr=478
geninfo: ERROR: mismatched end line for...

Looks relevant: https://www.reddit.com/r/cpp_questions/comments/1ewnv8d/lcov_geninfo_error/


[FEAT]: Added React Concepts (Hooks, Lifecycle, HOC & Memoization)

🛠 Fixes Issue : ""

👨💻 Changes proposed:

✔ Check List (Check all the applicable boxes)

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

📄 Note to reviewers

📷 Screenshots
Front

Back

@rezwan2525 i have added hooks, lifecycle, higher order components, memoization. Please review it.

@nirajpdn Amazing. Thanks for contributing. 🤩 Please don't forget to star the repository

Sure @rezwan2525 . Done ✅


How to change the color of some View when using VisualEffectBlurView(vibrancyStyle: .fill) ?

Basically what Im trying to achieve is to change the colors only for some specific views.
Is there a way to change the color for just some specific Views when using vibrancyStyle: .fill?
Example
                        VisualEffectBlurView(blurStyle: .systemUltraThinMaterial, vibrancyStyle: .fill){
                            Text("Test Text")
//This text in white?
                            Text("this text should be white")
                                .foregroundColor(.white)
                        }

@LeonManolo unfortunately this is not supported at the moment. Due to constraints in APIs offered by SwiftUI, I can't enable vibrancy effects for text/images within a blur view.


chore: refine ci

Codecov Report

Merging #181 (efe300d) into main (98e1acc) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
+ Coverage   80.25%   80.29%   +0.04%
==========================================
  Files          20       20
  Lines        2472     2472
==========================================
+ Hits         1984     1985       +1
+ Misses        488      487       -1

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


replace axios with fetch

Describe the feature or improvement you're requesting

Axios is not compatible with other runtimes (for example Edge).
Significant reduction in size
Fetch support for all runtimes (browser, node, edge, deno, workers)
The fetch lib could optionally be passed as a dependency

ref: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Additional context
When running current version with axios on the Edge I got this error:
An error occurred during OpenAI request [TypeError: adapter is not a function]

@dominiksipowicz temporary solution: https://github.com/dan-kwiat/openai-edge

@dominiksipowicz temporary solution: https://github.com/dan-kwiat/openai-edge

Wow, that was quick. This is a great start. At this point, I just call directly REST endpoints with native fetch so it's a super nice thing to have!

Here it is 🎉 cc @dominiksipowicz : https://github.com/openai/openai-node/pull/45#issuecomment-1371569799

Hi all, we have an upcoming version v4.0.0 that uses fetch and works on Edge runtimes; please give it a try and let us know in the thread whether it suits your needs!


Upgrade to latest ouroboros-network

bors merge

bors merge

@newhoggy Thanks for propagating these recent changes. LGTM too.

@newhoggy Thanks for propagating these recent changes. LGTM too.


ref callback not being triggered on wrapped elements

Hey,
I've just switched to Preact and I've found some inconsistencies with the way the ref callback works. I have a draggable (DragSource) item from React DnD that I need the ref for, in order to use it for other purposes in my app. The below code gives me the ref in React, but the same does not happen in Preact (with Preact compat). The setRef function is simply never called in Preact. Any idea what might be happening here and how to work around it?
If I try to get the ref of the image, that works, so as a workaround I could add another div inside and get the ref there, but I don't want to add unnecessary containers. So a proper solution for this would be nice.
class MyComponent extends PureComponent {
  //...

  setRef = (ref) => {
    this.DOMNode = ref;
  }

  render () {
    const { connectDragSource, isDragging, item } = this.props;
    return connectDragSource(

    )
  }
}

This is because ReactDnD higher component wraps lower component's ref in its own in here, and extract original ref in here. Preact's vnode doesn't have ref property on itself, but in attributes. You can use Preact options vnode hook to modify vnode to suit this your usecase.
import { options } from 'preact'

options.vnode = function (vnode) {
	if (vnode.attributes && vnode.attributes.ref) {
		vnode.ref = vnode.attributes.ref
	}
	return vnode
}

This should fix your issue.


Slow networks/eduroam cause cascade JS failures

Describe the bug
On slow networks, or eduroam on CMU's campus, events begin to occur out of order and cause cascading race condition crashes starting with AFRAME:
arena-core.js:101 Uncaught TypeError: Cannot read properties of undefined (reading 'systems')
    at h.loadUser (arena-core.js:101)
    at EventTarget.<anonymous> (arena-core.js:101)
    at t.emit (arena-core.js:50)
    at arena-core.js:101

To Reproduce
Steps to reproduce the behavior:

On chrome's developer tabs: Network > Throttle > Fast3G > then reload any scene.
Several systems fail to load, SideMenu controls are missing.
Probability: Low, realistically seen by mobile users at the EDGE.
or...
At CMU, use eduroam WiFi > then reload any scene.
Several systems fail to load, SideMenu controls are missing, Jitsi will not connect, and not send errors to ARENAHealth checks.
eduroam is a little worse since users have no feedback at all.
Probability: Medium, realistically seen by some CMU users.

Expected behavior
Race conditions should at least be mitigated by proper signaling. Perhaps reports to ARENAHealth if bandwidth is consistently measurable.

Added mitigation temporarily: https://github.com/conix-center/ARENA-core/commit/367657f448aaa8b49966d195e84a2f9c4e56ff92.


[project-list-status] show status in projects list

Trello: https://trello.com/c/1GrYjCMt

Description

Projects listed in table with its status

Impacted areas of website
RepoDetail
ProjectList
Reviewer tasks:

[ ] Pulled branch and ran code locally (or viewed on preview deployment, if applicable)
[ ] Reproduced the issue to review in the browser
[ ] Reviewed code
[ ] Updated Trello card (if applicable)

 I want to see Project status in the projects-list.

@stacyk Back to you for final style review/cleanup.


Messages from other Group Users

Should all members of a group even bot messages be sent over the plugin to logseq?
Currently for me only my messages show in Logseq but my IFTTT bot does not.

You should try:
Write BotFather /setprivacy command and set it to DISABLED

I changed the BotFather privacy to disabled but the issue I am running into is that my TELEGRAMINBOX_bot is set to disabled but the other bot I am using is IFTTT_bot and I don't have the ability to adjust the privacy of this bott so the messages from IFTTT_bot don't seem to be picked up by my TELEGRAMINBOX_bot.
Any thoughts?

Hello, I test this problem today, and I notice the message which bot send to bot in group would be ignored in this api.
https://api.telegram.org/xxx:xxx/getUpdates

My use case is: rssBot send message to group, then logseqBot(has set privacy disabled) should forward message to graph, but actually api return nothing at all.
Whereas receiving the message from others in groups could handled, when we don't want to set username (due to bother by others), so I make a little changes to plugin, which could receiving all message in group.
via PR: https://github.com/shady2k/logseq-inbox-telegram-plugin/pull/44
By the way, if you're admin of chat which you created, you only could send message with username of GroupAnonymousBot, so add this into authorizedUsers could works. I notice readme file not mentioned this.


add hebrew translation (hebrew reviewers requested)

What does this PR do?
Add info | Improve repo
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

will request hebrew reviewer.

Hello, I'm a Hebrew speaker and I can review it :)

@eshellman can you merge it?

Thanks @omriattiya and reviewers, and welcome to free-programming-books!