LifetimeDependenceScopeFixup: fix handling of returned dependence

LifetimeDependenceScopeFixup: fix handling of returned dependence
Only rewrite the mark_dependence to depend on the function argument when the
dependent value is actually returned.
Also, find all uses even if an escaping use is seen.
Add full support for local variables, including flow sensitive analysis.

@swift-ci test

@swift-ci smoke test


feat: final round of refactoring, readme overhaul 🎓

rewritten readme
reintroduced the task.Retry type so that we can provide extra functionality on top of retries if we choose to in the future
moved slog.LogValuer implementations into dedicated file

Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 75.00%. Comparing base (6eaea52) to head (86b5392).

Files
Patch %
Lines

task/logvaluer.go
0.00%
18 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   75.00%   75.00%
=======================================
  Files           6        6
  Lines         160      160
=======================================
  Hits          120      120
  Misses         40       40

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[SPARK-18422][CORE] Fix wholeTextFiles test to pass on Windows in JavaAPISuite

What changes were proposed in this pull request?
This PR fixes the test wholeTextFiles in JavaAPISuite.java. This is failed due to the different path format on Windows.
For example, the path in container was
C:\projects\spark\target\tmp\1478967560189-0/part-00000

whereas new URI(res._1()).getPath() was as below:
/C:/projects/spark/target/tmp/1478967560189-0/part-00000
How was this patch tested?
Tests in JavaAPISuite.java.
Tested via AppVeyor.
Before
Build: https://ci.appveyor.com/project/spark-test/spark/build/63-JavaAPISuite-1
Diff: https://github.com/apache/spark/compare/master...spark-test:JavaAPISuite-1
After
Build: https://ci.appveyor.com/project/spark-test/spark
Diff : https://github.com/apache/spark/compare/master...spark-test:JavaAPISuite

Test build #68569 has started for PR 15866 at commit 9c258a5.

Build started: [CORE] org.apache.spark.JavaAPISuite
Diff: https://github.com/apache/spark/compare/master...spark-test:EAC49351-734B-4218-A2CF-13B3C3CB83E8

@srowen It seems org.apache.spark.JavaAPISuite.writeWithNewAPIHadoopFile is also being failed but the root cause seems different. That is being failed with the exception as below:
java.io.IOException: Could not rename file:
...

And, other failures specified in the parent JIRA of this seems caused by the problems in ReceiverTracker we discussed in https://github.com/apache/spark/pull/15618
Will try to make another PR soon for this.

Test build #68569 has finished for PR 15866 at commit 9c258a5.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68569/
Test PASSed.

Thank you Sean. Actually, this is a bit annoying.
Here is what happens in the original test.

Writes a file to read back by wholeTextFiles.

scala> new File("C:\\a", "/part-0000")
res10: java.io.File = C:\a\part-0000

and then save the path in a map, container.

scala> val container = Map("C:\\a/part-0000" -> "contents")
res1: scala.collection.immutable.Map[String,String] = Map(C:\a/part-0000 -> contents)

then it compares the key in container to the collected paths from wholeTextFiles. The path should be

scala> val path = "file:/C:/a/part-0000"
path: String = file:/C:/a/part-0000

scala> val actualPath = new URI(path).getPath
res2: String = /C:/a/part-0000
scala>

it ends up with..

scala> container.contains(actualPath)
res4: Boolean = false

Just FWIW, (at least for myself to note this problem somewhere and re-visit sometime), it seems both back-slash and slash are fine with java.io.File.
scala> new File("C:/a")
res9: java.io.File = C:\a

scala> new File("C:\\a", "/part-0000")
res10: java.io.File = C:\a\part-0000

Let me add a comment here and will try to clean up more.

Test build #68615 has started for PR 15866 at commit e6b2a03.

Build started: [CORE] org.apache.spark.JavaAPISuite
Diff: https://github.com/apache/spark/compare/master...spark-test:198DDA52-F201-4D2B-BE2F-244E0C1725B2

Test build #68615 has finished for PR 15866 at commit e6b2a03.

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

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68615/
Test PASSed.

Merged build finished. Test PASSed.

Looks OK to me @HyukjinKwon but does the appveyor result in your comment above mean that it still fails on Windows?

Oh, the test this PR tries to deal with, org.apache.spark.JavaAPISuite.wholeTextFiles is passed. However, another test in here org.apache.spark.JavaAPISuite.writeWithNewAPIHadoopFile is being failed for a different reason which I am investigating this.
Before
[info] Test org.apache.spark.JavaAPISuite.wholeTextFiles started
[error] Test org.apache.spark.JavaAPISuite.wholeTextFiles failed: java.lang.AssertionError: expected:<spark is easy to use.
[error] > but was:<null>, took 0.578 sec
[error]     at org.apache.spark.JavaAPISuite.wholeTextFiles(JavaAPISuite.java:1089)
[error]     ...

After
[info] Test org.apache.spark.JavaAPISuite.wholeTextFiles started
...
[info] Test org.apache.spark.JavaAPISuite.writeWithNewAPIHadoopFile started
[error] Test org.apache.spark.JavaAPISuite.writeWithNewAPIHadoopFile failed: org.apache.spark.SparkException: Job aborted., took 0.407 sec

OK if it makes the test in question here pass, let's merge it, as a fix for that test. That much is OK right @HyukjinKwon ?

Yes please. I am pretty sure that this is a right fix without any other side effects.

Merged to master/2.1


creating event with delegate does not work

Hi,
I have setup $exchangeclient with advanced setup.
All events are created to calendar of delegate instead of target mailbox.
$exchangeclient = new Exchangeclient();
	$exchangeclient->init
	(
		"admin.user@mydomain.com","adminpass",
<EMAIL_ADDRESS>		"/path/in/my/server/Services.wsdl"
	);

so all events are created to calendar of<EMAIL_ADDRESS>Any clues?
br, Marko Korhonen

I guess no need to follow this anymore... Closing and leaving.


Update umask from 0027 to 0077 per security recommendation

Per security's recommendation, we want to also disallow group access in user home directories by default.

@zachhannum could you add something in the workbench/NEWS.md for this?

Done!

@ianpittwood can we get this merged? Cheers!


Ability to explore chunk retrieved in AgentMessage UI

It's been quite extensively asked since we switched to v2.
Once we have a design @Duncid we should have everything available to build it rapidly 👍


How to load font from resources?

I have the example.ttf font in my resources, how can I use it in a text widget? The font is not installed on my OS.
I use FreeType. This is how I can get the font file from the directory, but it's still not an embedded resource:
FreeTypeFontManager fontManager = cast(FreeTypeFontManager) FreeTypeFontManager.instance;
fontManager.registerFont("path_from_file");

It appears that you can only register a font that is a physical file. Can't do that from an embedded resource.

Sorry, accidentally closed.

It's a pity. I'll make a file cache in that case.

If you want to invest your time into this, you can just add loading fonts from embedded resource. I'll beglad to accept a PR

If you want to invest your time into this, you can just add loading fonts from embedded resource. I'll beglad to accept a PR

On my first try, I didn't come up with a way to do this, given that Freetype doesn't have a way to do this. If I figure out a way, I'll do it.

I did it for FreeType, I still need it for WinAPI. I want to finish one of these days to make an PR.

I did it for FreeType, I still need it for WinAPI. I want to finish one of these days to make an PR.

That's impressive! I think a general architecture overview for FontManager is going to be needed in some future

I think a general architecture overview for FontManager is going to be needed in some future

There's a lot of chaos there. For example, I found that for Windows fonts, loading from the specified file is not implemented. Currently only system fonts.

I have done font registration from file and from memory for winapi. But there is one problem. Currently registering from memory works by creating a temporary file and registering the font from it. This is because winapi does not provide font information when using the AddFontMemResourceEx function. This means parsing the bytes of a font looking for information about it. This is the task of a separate library, such as FreeType, but we do not use it here.
Also, I found a serious problem with Win32FontManager: it doesn't support loading fonts with the same name but different styles and weights. This is because the list stores fonts by name. This manager needs to be completely reworked. But I don't have time for that yet.
I can make a PR or provide the code here so that those interested can rework the Win32FontManager. What to do?
For USE_FREETYPE I wrote and everything works as it should. I will make a separate PR for this.

Can't you use https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getfontdata to get the font data after loading?
Another thing I can suggest is enumerating system fonts, adding a font from memory, then enumerating fonts again -- the difference should be your added fonts.
As for Win32FontManager, can't we just use a "better" string for the map, like "Name-weight-size" instead of just face name?

OK, so for adding font from a temporary file -- I think it's OK, provided you leave the comment that it's a hack and should be fixed if that causes problems. Also, that fon't should go to an appropriate temporary directory.
For the rewriting font manager, I think a struct named FontDescription is needed to unify storage. Not sure how it should be designed.
Any PRs are welcome :)


remove peer dependencies

npm 3 stop auto install peer dependencies

Even though they aren't installed automatically, I believe they should still be marked as peer dependencies as they are required internally by this package.

so if I need to use superagent-bluebird-promise in my project, I have to add  superagrent or bluebird in my dependencies or devDependencies as well? otherwise I will get this:

Yes, that's correct.


CI release workflow

to release the MVP, we actually do need a release workflow:

[x] create a github actions release workflow
[x] create a github release
[x] create proper git tag
[x] create according docker images
[x] find a way to generate a changelog with useful informations
[ ] tag the docker images
[ ] include the docker pull command on the release notes of the github release (like the git-chglog do)
[ ] documentation of the release process

For kidlectl:

[x] create according docker images create the binaries and attach then on the github release

Okay, a doubt: Both the snapshot.yml and release.yml need to work independently and the other (snapshot.yml) edit the release by adding the docker pull demonstration or both can be merged into one workflow with parallel jobs and later the release step will wait for both to finish and then make release with all regarding information?

hey!
good idea but for now I've got something that does the job ; moreover I've never used it for a real release, so let's wait & see if the current release workflow is doing well or not ;)


Improve error messages when your swap request is rejected

$ lighting-cli peerswap-swap-out 100000 HIDDENxHIDDENx0 lbtc
{
   "code": -1,
   "message": "swap canceled, reason: unknown"

local log ...
2022-04-22T06:49:13.236Z INFO    plugin-peerswap-plugin: [Swap:5e0732e795a884dff96027ffd59e12d6f0f6f4e34e453b5b2da07df8e6e8cc8b] Start new swap of type swap out: peer: HIDDEN chanId: HIDDENxHIDDENx0 initiator: HIDDEN amount 100000

[ ] If the swap is immediately rejected the console should say why it was rejected. Possible reasons include: 1) not whitelisted, 2) insufficient UTXO balance, 3) channel already HTLC locked?
[ ] The log should print the rejection instead of appear to be the start of a new swap.
[ ] Please simplify log prefix to "Started swap out" and equivalent for "Started swap in"

remote log ...
Apr 22 06:49:13 lightning-charge-production-hwwp docker[222795]: 2022-04-22T06:49:13.502Z INFO    plugin-peerswap-plugin: [FSM] Action failure peer not allowed to request swaps

[ ] Please add the rejected peer's pubkey to this log entry.

[ ] If your swap request is immediately rejected for one of the above reasons, it really shouldn't show up in listswap either. Note that the remote host didn't record the rejected swap in its swaps database either.

[ ] Add another terminal state that can come directly from SendRequest called "State_SwapRejected" distinct from "State_SwapCanceled".
[ ] Prune Swap_Rejected entries after it is clear the rejection happened.
[ ] Rename cancel messages to reject messages in the code so they are more distinct from the separate cancel path.


Various build validation script tweaks

Remove blank line printed at the end of interactive mode
Deduplicate text in the explain_and_print_summary functions across the scripts
Deduplicate CCUD Plugin preparation step explaination
Deduplicate other gradle exp prerequisite explainatory text
Deduplicate preparation explainatory text for Maven experiments
Fix collecting the root dir for Maven experiments
Fix indentation when build fails or when fetching a build scan fails

Looking great. Thanks, @jthurne


Roll Flutter Engine from 8c521eb24171 to 0352e9fbae0c (3 revisions)

https://github.com/flutter/engine/compare/8c521eb24171...0352e9fbae0c
2024-02-09<EMAIL_ADDRESS>[web] Fix HtmlViewEmbedder.dispose (flutter/engine#50482)
2024-02-09<EMAIL_ADDRESS>Roll Dart SDK from 03130d49f214 to 444f7a422da4 (6 revisions) (flutter/engine#50502)
2024-02-09<EMAIL_ADDRESS>[Impeller] improve performance of polyline and stroke generation by reducing allocation and lambda usage. (flutter/engine#50379)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Suggestion for Improving Test Coverage of utils/buffer.ts

What is the feature you are proposing?
The equals function in utils/buffer.ts does not appear to be used.
https://app.codecov.io/github/honojs/hono/blob/main/src%2Futils%2Fbuffer.ts#L9
If it is a function used on the user side, I would suggest adding test code.
Or, if it is not going to be used in the future, it would be better to remove it.
If either of these fixes are needed, I will send out a pull request!
If no modifications are needed, the issue should be closed!

Hi @yasuaki640
Thank you for your suggestion. It may be no problem to remove it if it's not used anywhere in the hono package. But someone may use it (initially, though utils are created for internal use only), and it's not hard to maintain it. So, let's keep it.
Can you write tests? I would really like you to write the whole test for utils/buffer.ts.

@yusukebe

Can you write tests? I would really like you to write the whole test for utils/buffer.ts.

Understood. I will try.


python invoke ffmpeg.probe get error

Hi:
python invoke ffmpeg.probe get error
[Errno 2] No such file or directory: 'ffprobe': 'ffprobe'
FileNotFoundError                         Traceback (most recent call last)
in
15
16 video_path = "VID20100130074151.mp4"
---> 17 rotateCode = check_rotation(video_path)
in check_rotation(path_video_file)
4
5 def check_rotation(path_video_file):
----> 6     print(ffmpeg.probe(path_video_file)['format']['duration'])
7     meta_dict = ffmpeg.probe(path_video_file)
8     print(meta_dict)
/usr/local/lib/python3.7/site-packages/ffmpeg/_probe.py in probe(filename, cmd, **kwargs)
18     args += [filename]
19
---> 20     p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
21     out, err = p.communicate()
22     if p.returncode != 0:
/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
767                                 c2pread, c2pwrite,
768                                 errread, errwrite,
--> 769                                 restore_signals, start_new_session)
770         except:
771             # Cleanup if the child failed starting.
/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
1514                         if errno_num == errno.ENOENT:
1515                             err_msg += ': ' + repr(err_filename)
-> 1516                     raise child_exception_type(errno_num, err_msg, err_filename)
1517                 raise child_exception_type(err_msg)
1518
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe': 'ffprobe'

Make sure FFprobe is installed (e.g. by typing ffprobe at a shell/terminal). ffmpeg-python doesn't try to install FFmpeg/FFprobe as it is merely a wrapper.


0x80 and zeroes padding. Auto trim decryted data

changed padding system and now auto strip padding data when decripting

Hello, Luciano
Thank you for improvement!
I think, in future,  library should give user way to choose padding mode, for instance by additional option in Blowfish class constructor.

There is bug in padding.
You shuld pad by zero bytes "\x00", not zero char "0". (according to http://www.di-mgt.com.au/cryptopad.html)
https://github.com/agorlov/javascript-blowfish/blob/master/Blowfish.js#L234

Hi Argolov, now the code is fixed.
Thank you.


[ENV] Fix missing environmentTree property

Description

Fix build error caused by missing environmentTree property in context.runtime
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build 738524871

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 30.375%

Totals

Change from base Build 737949506:
0.0%

Covered Lines:
2562

Relevant Lines:
7741

💛  - Coveralls


Activate the GitHub App Stale on the GitHub repository

Pull Request (PR) description

This Pull Request (PR) fixes the following issues:

Task list:

[ ] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[ ] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #141 into dev will not change coverage.
The diff coverage is n/a.

@@        Coverage Diff         @@
##           dev   #141   +/-   ##
==================================
  Coverage   94%    94%
==================================
  Files        5      5
  Lines      519    519
  Branches     2      2
==================================
  Hits       491    491
  Misses      26     26
  Partials     2      2

Reviewed 1 of 1 files at r1.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


IGNITE-16545 Subscription to revision update in the test configuration framwork

https://issues.apache.org/jira/browse/IGNITE-16545

@rpuch Can you review again?


Exceptions reported a second time from Flow Action registered by Kotlin Gradle Plugin 1.9.0

Expected Behavior
The exception to be reported only once.
Current Behavior
The same exception is reported twice!
Throwing a debugger at it I noticed that at the end of the work only one failure is found. It's an exception thrown at configuration time.
Then when running some buildFinished flow action, it fails to isolate the flow action parameters with the same cause and throw a different exception that has the other one as cause.
Then the MultipleBuildFailuresExceptionAnalyser decides to reduce the new exception to the same one as the original, resulting in failing the build with two identical exceptions. Identical as in this is the exact same instance.
Context (optional)

https://github.com/gradle/gradle/pull/25632
https://gradle.slack.com/archives/CH43P3A10/p1687274669988139

Steps to Reproduce

git clone https://github.com/eskatos/issue-reproducers.git
cd issue-reproducers/gradle/issue-25636
./gradlew help

Browse code here https://github.com/eskatos/issue-reproducers/tree/main/gradle/issue-25636
This is one of the existing test cases failing in https://github.com/gradle/gradle/pull/25632 as can be seen on https://ge.gradle.org/s/hwgl7d222af62/tests/overview?outcome=failed
Gradle version
This is a regression introduced in Gradle 8.1.

🔴 8.2
🔴 8.1.1
🟢 8.0

Build scan URL (optional)
https://scans.gradle.com/s/neloototuqr2u
Your Environment (optional)
No response

There is some flakiness involved.
Here's the workaround I ended up with that made CI happy :/
https://github.com/gradle/gradle/blob/bbd37f0e150f42850e558bbe0a6fa0100158bf4a/subprojects/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginIntegrationTest.kt#L1171-L1176


feat: upstream simp?

This is stacked on top of #3266, with in turn is stacked on a number of other PRs. It is probably not easy to review yet, however I do need some diagnosis help: simp? now works as a builtin tactic (ie without imports), but says
No widget module with hash<PHONE_NUMBER>2856637766 registered

An update-stage0 didn't help.

@Kha is going to add a builtin_widget_module.


This has your changes to make html_url optional

I just got back to this and tested and seems to work ok. I made a few minor changes to the comments.

This looks great! I am good to approve, can you quickly tell me what is different?

Oh I see, just minor here: https://github.com/rseng/zenodo-release/pull/15/commits/281891169d13912b9cdaaa848be62172f1ecb5f6


Hass.io hangs with 30% CPU from midnight till reboot.

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.54.0
Component/platform:
Hass.io 0.64
Host OS 1.1
Description of problem:
Since moving to hass.io I have each night CPU Rates around 30%, After about 5-7 Night, the system doesn't control anymore any z-wave devices. Usually in the morning, I have to restart Home Assistant to get it working again.
Logs doesn't show any anomalies...first I thought it's a problem with Spotify because when it happens i get tons of Spotify error...but I did disable it since 3 Weeks and face still the same problem.
The configuration didn't change since I moved from hassbian to hass.io.

I use also zwave (5gen USB stick) and don't see a problem like this. I run 3 hassio systems.
Do you have discovery active or any time based tasks? This is every night?

Is there anything else running on the machine other than HassIO? Unless you can identify which component is causing the spike,it may be difficult to debug. Try disabling one component at a time to narrow it down.

No there is nothing else running. And the same configuration was running on Hassbian over month before i changed to hass.io
I have have:
CPU
yr.no
mqtt
z-wave (nearly 40 Sensors)
and I had Spotify but I thought that was the problem since I got most failure from Spotify when it happened.
To me, it must be something which is scheduled for midnight. It always happens at midnight.
what is scheduled at midnight? it must be related to that.

@andrey-git I think we schedule a zwave heal on midnight? Or database prune every 2 days on 00:00

I had this in my Config:
autoheal (Optional): Allows disabling auto Z-Wave heal at midnight. Defaults to True.
I removed this from my config, but crashes are still happening.
purge_days (Optional): Delete events and states older than x days. The purge task runs every 2 days, starting from when Home Assistant is started if you restart your instance more frequently than the purge will never take place.
I had this set to 14. Now I removed this in the last 3 days...I'm currently waiting if it changes anything.

I had the same problem last night

zwave stopped responding completely logs not showing anything usefull

Yes and no. I have each night a CPU peak that it hangs is about all 5 to 7 nights.

This is what happens each night. But sometimes, it doesn't get down.

Hmm. I can only say that the problem not exists with my settings that include also zwave. There is also no things on host os that run on 00:00. I think the problem is related to openzwave library, maybe there is a update available who can fix that.
After homeassistant 0.55 is released we enable a api watchdog on hassio for homeassistant. That will restart homessistant if they don't response to API requests.

Looks like I found it, no crashes since I removed this from my configuration:
recorder:
purge_days: 14

it's back.....

Yesterday and tonight... also a ton of failures from spotify.
2017-10-27 05:39:54 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.spotify fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 743, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 345, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 844, in _validate_conn
conn.connect()
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 284, in connect
conn = self._new_conn()
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x73643490>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 438, in send
timeout=timeout
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/me/player (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x73643490>: Failed to establish a new connection: [Errno -3] Try again',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/spotify.py", line 186, in update
current = self._player.current_playback()
File "/usr/lib/python3.6/site-packages/spotipy/client.py", line 856, in current_playback
return self._get("me/player", market = market)
File "/usr/lib/python3.6/site-packages/spotipy/client.py", line 148, in _get
return self._internal_call('GET', url, payload, kwargs)
File "/usr/lib/python3.6/site-packages/spotipy/client.py", line 110, in _internal_call
r = self._session.request(method, url, headers=headers, proxies=self.proxies, **args)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 639, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 502, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/me/player (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x73643490>: Failed to establish a new connection: [Errno -3] Try again',))
2017-10-27 06:14:57 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.spotify fails
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 743, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 345, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 844, in _validate_conn
conn.connect()
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 284, in connect
conn = self._new_conn()
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7368f890>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 438, in send
timeout=timeout
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/me/player/devices (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7368f890>: Failed to establish a new connection: [Errno -3] Try again',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.6/asyncio/futures.py", line 331, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/spotify.py", line 172, in update
player_devices = self._player.devices()
File "/usr/lib/python3.6/site-packages/spotipy/client.py", line 848, in devices
return self._get("me/player/devices")
File "/usr/lib/python3.6/site-packages/spotipy/client.py", line 148, in _get
return self._internal_call('GET', url, payload, kwargs)
File "/usr/lib/python3.6/site-packages/spotipy/client.py", line 110, in _internal_call
r = self._session.request(method, url, headers=headers, proxies=self.proxies, **args)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 639, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 502, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.spotify.com', port=443): Max retries exceeded with url: /v1/me/player/devices (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7368f890>: Failed to establish a new connection: [Errno -3] Try again',))


Fix for Stram web service calls failing in secure non-HA mode

Fix for property name used to lookup RM webapp address in non-HA mode and additional log statements to help with debugging the request processing in future.

Review @tweise or @davidyan74

Updated logging with more detailed messages and more strategic placement for them.

Please submit a separate pull request for devel-3. I was not able to cherry-pick as the change introduces a checkstyle violation.


cliam: init at 1.0.0

Description of changes
Cloud agnostic IAM permissions enumerator
https://github.com/securisec/cliam
Related to https://github.com/NixOS/nixpkgs/issues/81418

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@06kellyjac, thanks for your feedback.


🐛 Unable to Retrieve Active Camera and App Crashes on iOS 17.2 Simulator iPhone 15

What's happening?
Description:
When attempting to utilize the camera feature on iOS 17.2 Simulator iPhone 15, the application crashes while trying to fetch the active camera.
Steps to Reproduce:
Initialize the camera devices using useCameraDevices().
Log the camera devices to the console.
Try to retrieve the active camera using devices.back.
Log the active camera to the console.
Render the  component with the retrieved device.
Expected Behavior:
The app should successfully retrieve the active camera and render it without any crashes.
Actual Behavior:
The app crashes when trying to retrieve the active camera.
Last Exception Backtrace:
Last Exception Backtrace:
0   CoreFoundation                	    0x7ff80049b751 __exceptionPreprocess + 226
1   libobjc.A.dylib               	    0x7ff800063904 objc_exception_throw + 48
2   CoreFoundation                	    0x7ff8004b0873 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3   CoreFoundation                	    0x7ff80049fef4 ___forwarding___ + 1459
4   CoreFoundation                	    0x7ff8004a20f8 _CF_forwarding_prep_0 + 120
5   AVFCapture                    	    0x7ff84c851f43 __47+[AVCaptureDevice isEligibleForReactionEffects]_block_invoke + 239
6   libdispatch.dylib             	    0x7ff800157d3a _dispatch_client_callout + 8
7   libdispatch.dylib             	    0x7ff8001590f3 _dispatch_once_callout + 20
8   AVFCapture                    	    0x7ff84c851e52 +[AVCaptureDevice isEligibleForReactionEffects] + 41
9   AVFCapture                    	    0x7ff84c850075 __48+[AVCaptureDevice setUpReactionEffectsStateOnce]_block_invoke + 349
10  libdispatch.dylib             	    0x7ff800157d3a _dispatch_client_callout + 8
11  libdispatch.dylib             	    0x7ff8001590f3 _dispatch_once_callout + 20
12  AVFCapture                    	    0x7ff84c84ff16 +[AVCaptureDevice setUpReactionEffectsStateOnce] + 86
13  AVFCapture                    	    0x7ff84c86da6f +[AVCaptureFigVideoDevice _devicesWithPriorRegisteredDevices:] + 116
14  AVFCapture                    	    0x7ff84c847a81 _registerVideoDevicesOnce + 227
15  AVFCapture                    	    0x7ff84c848dcd +[AVCaptureDevice _devicesWithDeviceTypes:mediaType:position:] + 355
16  AVFCapture                    	    0x7ff84c810cb9 -[AVCaptureDeviceDiscoverySession _initWithDeviceTypes:mediaType:position:allowIOSMacEnvironment:prefersUnsuspendedAndAllowsAnyPosition:] + 163
17  AVFCapture                    	    0x7ff84c810c00 +[AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:mediaType:position:] + 97
18  unitel_reader                 	       0x10ef99ba5 @nonobjc AVCaptureDeviceDiscoverySession.__allocating_init(deviceTypes:mediaType:position:) + 85
19  unitel_reader                 	       0x10ef99729 closure #1 in CameraViewManager.getAvailableCameraDevices(_:reject:) + 137
20  unitel_reader                 	       0x10ef998d0 partial apply for closure #1 in CameraViewManager.getAvailableCameraDevices(_:reject:) + 16
21  unitel_reader                 	       0x10efa356c withPromise(_:_:) + 92
22  unitel_reader                 	       0x10efa3920 withPromise(resolve:reject:_:) + 144
23  unitel_reader                 	       0x10ef99683 CameraViewManager.getAvailableCameraDevices(_:reject:) + 115
24  unitel_reader                 	       0x10ef9a702 @objc CameraViewManager.getAvailableCameraDevices(_:reject:) + 162
25  CoreFoundation                	    0x7ff8004a238c __invoking___ + 140
26  CoreFoundation                	    0x7ff80049f6b3 -[NSInvocation invoke] + 302
27  CoreFoundation                	    0x7ff80049f923 -[NSInvocation invokeWithTarget:] + 70
28  unitel_reader                 	       0x10eaee590 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2528 (RCTModuleMethod.mm:584)
29  unitel_reader                 	       0x10eaf305b facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 2043 (RCTNativeModule.mm:196)
30  unitel_reader                 	       0x10eaf26a5 facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 133 (RCTNativeModule.mm:113)
31  unitel_reader                 	       0x10eaf2619 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 25 (RCTNativeModule.mm:104)
32  libdispatch.dylib             	    0x7ff800156a90 _dispatch_call_block_and_release + 12
33  libdispatch.dylib             	    0x7ff800157d3a _dispatch_client_callout + 8
34  libdispatch.dylib             	    0x7ff800166ac0 _dispatch_main_queue_drain + 1420
35  libdispatch.dylib             	    0x7ff800166526 _dispatch_main_queue_callback_4CF + 31
36  CoreFoundation                	    0x7ff8003f7dc4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
37  CoreFoundation                	    0x7ff8003f26ff __CFRunLoopRun + 2463
38  CoreFoundation                	    0x7ff8003f197d CFRunLoopRunSpecific + 557
39  GraphicsServices              	    0x7ff80fe9d08f GSEventRunModal + 137
40  UIKitCore                     	    0x7ff805bbb53d -[UIApplication _run] + 972
41  UIKitCore                     	    0x7ff805bbffab UIApplicationMain + 123
42  unitel_reader                 	       0x10e2fa110 main + 96 (main.m:8)
43  dyld_sim                      	       0x113a8d3e0 start_sim + 10
44  dyld                          	       0x12267241f start + 1903

Environment:
Operating System: iOS 17.2
Simulator: iPhone 15
Xcode: Version 15.2
Node: v18.20.1
React Native: 0.71.14
React Native Vision Camera: 2.16.8
Reproduceable Code
const devices = useCameraDevices()
  console.log('-----1 ');
  console.log(devices);
  const device = devices.back
  console.log('----------2 ');
  console.log(device);
  if(!device){
    return (
      <View>
        <Text>Undefine</Text>
      </View>
    );
  }
  return (
    <Camera
      style={StyleSheet.absoluteFill}
      device={device}
      isActive={true}
    />
  )

Relevant log output
LOG  -----1
 LOG  {"back": undefined, "external": undefined, "front": undefined, "unspecified": undefined}
 LOG  ----------2
 LOG  undefined
 ERROR  TypeError: Cannot read property 'id' of undefined

This error is located at:
    in Camera (created by ScanningScreen)
    in ScanningScreen (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by CardContainer)
    in RCTView (created by View)
    in View (created by CardContainer)
    in RCTView (created by View)
    in View (created by CardContainer)
    in RCTView (created by View)
    in View
    in CardSheet (created by Card)
    in RCTView (created by View)
    in View (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by PanGestureHandler)
    in PanGestureHandler (created by PanGestureHandler)
    in PanGestureHandler (created by Card)
    in RCTView (created by View)
    in View (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by Card)
    in RCTView (created by View)
    in View (created by Card)
    in Card (created by CardContainer)
    in CardContainer (created by CardStack)
    in RNSScreen (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by InnerScreen)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by InnerScreen)
    in InnerScreen (created by Screen)
    in Screen (created by MaybeScreen)
    in MaybeScreen (created by CardStack)
    in RNSScreenContainer (created by ScreenContainer)
    in ScreenContainer (created by MaybeScreenContainer)
    in MaybeScreenContainer (created by CardStack)
    in RCTView (created by View)
    in View (created by Background)
    in Background (created by CardStack)
    in CardStack (created by HeaderShownContext)
    in RCTView (created by View)
    in View (created by SafeAreaProviderCompat)
    in SafeAreaProviderCompat (created by StackView)
    in RCTView (created by View)
    in View (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by StackView)
    in StackView (created by StackNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by StackNavigator)
    in StackNavigator (created by ScanningStack)
    in ScanningStack (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by BottomTabView)
    in RCTView (created by View)
    in View (created by Screen)
    in RCTView (created by View)
    in View (created by Background)
    in Background (created by Screen)
    in Screen (created by BottomTabView)
    in RNSScreen (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by InnerScreen)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by InnerScreen)
    in InnerScreen (created by Screen)
    in Screen (created by MaybeScreen)
    in MaybeScreen (created by BottomTabView)
    in RNSScreenNavigationContainer (created by ScreenContainer)
    in ScreenContainer (created by MaybeScreenContainer)
    in MaybeScreenContainer (created by BottomTabView)
    in RCTView (created by View)
    in View (created by SafeAreaProviderCompat)
    in SafeAreaProviderCompat (created by BottomTabView)
    in BottomTabView (created by BottomTabNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by BottomTabNavigator)
    in BottomTabNavigator (created by BOTTOM_NAVIGATOR_READER)
    in BOTTOM_NAVIGATOR_READER (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by CardContainer)
    in RCTView (created by View)
    in View (created by CardContainer)
    in RCTView (created by View)
    in View (created by CardContainer)
    in RCTView (created by View)
    in View
    in CardSheet (created by Card)
    in RCTView (created by View)
    in View (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by PanGestureHandler)
    in PanGestureHandler (created by PanGestureHandler)
    in PanGestureHandler (created by Card)
    in RCTView (created by View)
    in View (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by Card)
    in RCTView (created by View)
    in View (created by Card)
    in Card (created by CardContainer)
    in CardContainer (created by CardStack)
    in RNSScreen (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (created by InnerScreen)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by InnerScreen)
    in InnerScreen (created by Screen)
    in Screen (created by MaybeScreen)
    in MaybeScreen (created by CardStack)
    in RNSScreenContainer (created by ScreenContainer)
    in ScreenContainer (created by MaybeScreenContainer)
    in MaybeScreenContainer (created by CardStack)
    in RCTView (created by View)
    in View (created by Background)
    in Background (created by CardStack)
    in CardStack (created by HeaderShownContext)
    in RCTView (created by View)
    in View (created by SafeAreaProviderCompat)
    in SafeAreaProviderCompat (created by StackView)
    in RCTView (created by View)
    in View (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by StackView)
    in StackView (created by StackNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by StackNavigator)
    in StackNavigator (created by RootNavigation)
    in EnsureSingleNavigator
    in BaseNavigationContainer
    in ThemeProvider
    in NavigationContainerInner (created by RootNavigation)
    in RootNavigation (created by App)
    in Provider (created by App)
    in RCTView (created by View)
    in View (created by MobileProvider)
    in RNCSafeAreaProvider (created by SafeAreaProvider)
    in SafeAreaProvider (created by MobileProvider)
    in I18nextProvider (created by MobileProvider)
    in Unknown (created by MobileProvider)
    in MobileProvider (created by _c)
    in RCTView (created by View)
    in View (created by GestureHandlerRootView)
    in GestureHandlerRootView (created by _c)
    in _c (created by App)
    in App
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unitel_reader(RootComponent), js engine: hermes
 ERROR  TypeError: Cannot read property 'id' of undefined

Camera Device
{"back": undefined, "external": undefined, "front": undefined, "unspecified": undefined}

Device
iOS 17.2 Simulator: iPhone 15
VisionCamera Version
2.16.8
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[X] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

VisionCamera V2 is no longer maintained. Upgrade to VisionCamera V4

i upgraded to v4 working on ios 17.5.1 but crash on ios 17.2.1 on physical device


Blog post on new Job features in k8s 1.28 (PodReplacementPolicy and BackoffLimitPerIndex)

Blog post for https://github.com/kubernetes/enhancements/issues/3939 and https://github.com/kubernetes/enhancements/issues/3850

/retitle [WIP] Add blog article on PodReplacementPolicy and Backoff Limit Per Index

/sig apps

Hi Comms here for Release 1.28 we are checking in to see if you are going to complete this blog as it is due soon

@sftim can you explain why the CI is failing?  I didn't see anything obvious to the failure.

/retitle Blog post on new Job features in k8s 1.28 (PodReplacementPolicy and BackoffLimitPerIndex)

/retitle Blog post on new Job features in 1.28 (PodReplacementPolicy and BackoffLimitPerIndex)

@soltysh @atiratree @sftim @alculquicondor I think we've covered all the comments so far, either by following the suggestion or explaining reasons for staying as is. PTAL and let us know if we missed something.

/approve from docs perspective.
I'm wondering why this content is committed as a blog post rather than a docs page.

/approve from docs perspective.
I'm wondering why this content is committed as a blog post rather than a docs page.

The features already have their individual sections in the docs.
With the blog post we want to update users about the recent developments in a more holistic way than individual sections.

/hold
to prevent merging before Aug 15: we won't merge until the v1.28 release is confirmed (releases can slip), see on slack

Can I release the hold or do we need to wait for the release to happen?

Wait until we know - for sure - the release date.


(GH-1782) Build and ship Bolt for Ubuntu 20.04

This adds documentation for installing Bolt on Ubuntu 20.04.
Closes #1782
TODO

[ ] Review and merge puppetlabs/puppet-runtime#335
[ ] Review and merge puppetlabs/bolt-vanagon#136
[ ] Review and merge puppetlabs/ci-job-configs#7036
[ ] Build and ship puppet-tools-release-focal
NOTE: The download link in the docs won't work until the puppet-tools-release-focal repo is available, which won't be published until at least one package is available for distribution.

!feature

Packages for Ubuntu 20.04 now available
(#1782)
Bolt packages are now available for Ubuntu 20.04.

CLA signed by all contributors.


Remove old hierarchy widgets

BREAKING CHANGE:

Removed HierarchyWidgetOLS from the project
Removed HierarchyWidgetDeprecated from the project

Will also close all issues related to the removed versions of hierarchy widget:

#95
#82
#71
#19


RFC: Fix an assertion error

bors try

bors merge

bors merge-

bors merge

bors merge

bors merge


Add UI for syncing PRs

add this in profile page, if user is logged in button should come else not.
also request is post not get


chore: upgraded deps

[BOT] Preview available: https://embed.typeform.com/4457dfd297483e79478999d412c089f2140f8cb7/embed.js

[BOT] Preview available: https://embed.typeform.com/a919181cda8a5ff58b48bfa7c0dd22b6127c9ac4/embed.js

[BOT] Preview available: https://embed.typeform.com/b8b6cf9ec7d2af66cdf45aa57b049a433ca24893/embed.js

:tada: This PR is included in version 0.34.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: run all commands returned by function linters

Function linters have to be evaluated at makeCmdTasks, and resolveTaskFn has to run for each of the returned commands.
Currently, makeCmdTasks creates only a single task per function linter, and resolveTaskFn returns an array of promises. This PR fixes the logic by evaluating functions at makeCmdTasks level, and running resolveTaskFn for each of the commands returned, simplifying resolveTaskFn.
This PR fixes issues where a function linter returning an array of commands might only run the first of the commands.

[ ] https://github.com/okonet/lint-staged/issues/647
[ ] https://github.com/okonet/lint-staged/issues/649

:tada: This PR is included in version 9.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Translating rendering-elements.md

@omar-dulaimi what's the status on this?

@omar-dulaimi what's the status on this?

Hey @asantarissy sorry for the wait, I will upload new changes by the end of today fo sure. And I might ask for another page if you like my translation.

@omar-dulaimi what's the status on this?

Hey @asantarissy sorry for the wait, I will upload new changes by the end of today fo sure. And I might ask for another page if you like my translation.

That's great @omar-dulaimi 💪🏼
Let me know if you need any help.

Hello @omar-dulaimi, @iRayan7 created a new Glossary wiki, please use it as a reference and keep checking it as it's WIP.
Cheers!

Hey, it's Emmanuel here, currently translating the tutorial page (PR #4).
Sorry for the extreme delay. I got so caught up with a project I'm
working on. But today's a weekend and I'm back to translating. Will push my
changes once I'm finished.
Regards,
Emmanuel.
On Sat, Feb 23, 2019 at 4:18 PM Ahmad Santarissy<EMAIL_ADDRESS>wrote:

Hello @omar-dulaimi https://github.com/omar-dulaimi, @iRayan7
https://github.com/iRayan7 created a new Glossary wiki
https://github.com/reactjs/ar.reactjs.org/wiki/Glossary, please use it
as a reference and keep checking it as it's WIP.
Cheers!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/ar.reactjs.org/pull/10#issuecomment-466648040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUCqpABq2T2jpqgfxTXn_xVJK_cwz6waks5vQT-bgaJpZM4a-qY9
.

Hello @omar-dulaimi, what's the status? should we assign it to another contributor?

Hey @asantarissy  I'm sorry it just got so busy these days that I'm not on github a lot anymore. I will try my best to do it as soon as possible

Hi @omar-dulaimi, any updates?

Hey @iRayan7 I will push it once I get home today, sorry for the long wait I just had been really busy lately

Amazing work @omar-dulaimi 👏

@iRayan7 thank you


Test CommentThreadState API

Refs: https://github.com/microsoft/vscode/issues/127473

[x] anyOS @rzhao271
[x] anyOS @hediet

Complexity: 5
Create Issue

The CommentThreadState API has been finalized:
https://github.com/microsoft/vscode/blob/fcb503b296ef379404c851a29e71334c7804b5dd/src/vscode-dts/vscode.d.ts#L15225-L15231
https://github.com/microsoft/vscode/blob/fcb503b296ef379404c851a29e71334c7804b5dd/src/vscode-dts/vscode.d.ts#L15290-L15293
Take a look at the API and verify that the inline documentation makes sense. Then, try out the API. One easy way to try the API is to use the comments extension sample and instead of adding a "pending" label to the comment you could set the comment thread state to Unresolved:
https://github.com/microsoft/vscode-extension-samples/blob/8431b4978c73721adb1edb3571063bfada509e7a/comment-sample/src/extension.ts#L46-L48
Verify

that you can see a difference in the UI treatment of resolved/unresolved comments in the Comments view.
that when you update the comment thread state it is reflected in the Comments view.

@alexr00 not sure how I'm supposed to get the latest vscode.d.ts files,
wont i need to get the proposed API enabled to test this, which means I'm really testing the proposed API at this stage?
I.e. i cannot really verify whether its stable or not until the npm package has been published (@types/vscode) with the latest bits.
Please could you provide instructions on how I could get the vscode.d.ts files to test this, also, should I be enabling proposed-api in the launch.json?

It seems to me that the default state of the thread is Unresolved, but can that be clarified in the API docs?

@DonJayamanne I usually just copy the vscode.d.ts file over for testing finalizations.
@rzhao271 the default state is neither unresolved no resolved so as to preserve the existing behavior for comments.

npx vscode-dts main does the trick!


segmentation fault running examples when using nix

$ roc build ./examples/hello-world.roc
[ ... ]
$ ./examples/hello-world
Hello, World!
Segmentation fault (core dumped)

See https://github.com/roc-lang/basic-cli/pull/122 to reproduce.

==74547== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
==74547== Command: ./examples/hello-world
==74547==
Hello, World!
==74547== Can't extend stack to 0x4b41138 during signal delivery for thread 1:
==74547==   no stack segment
==74547==
==74547== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==74547==  Access not within mapped region at address 0x4B41138
==74547==    at 0x122A0B0: ??? (in /home/username/gitrepos/basic-cli/examples/hello-world)
==74547==    by 0x498F254: __run_exit_handlers (in /nix/store/vq3sdi8l15rzfl5zvmwpafrzis4sm6xf-glibc-2.37-8/lib/libc.so.6)
==74547==    by 0x498F38D: exit (in /nix/store/vq3sdi8l15rzfl5zvmwpafrzis4sm6xf-glibc-2.37-8/lib/libc.so.6)
==74547==    by 0x4977AD4: (below main) (in /nix/store/vq3sdi8l15rzfl5zvmwpafrzis4sm6xf-glibc-2.37-8/lib/libc.so.6)
==74547==  If you believe this happened as a result of a stack
==74547==  overflow in your program's main thread (unlikely but
==74547==  possible), you can try to increase the size of the
==74547==  main thread stack using the --main-stacksize= flag.
==74547==  The main thread stack size used in this run was 8388608.

On zulip I found this old issue with very similar valgrind output.
To investigate if this was the same issue, I added println!("allocsize: {:?}", size); before this line and that fixed the issue :shrug:

Building with the legacy linker also fixes the issue.

Bisection revealed that this error first occurs in basic-cli commit 604af38c0d9af7d71188a7e50bdff0ac63af98b1

I've confirmed that reverting both https://github.com/roc-lang/roc/commit/d0e1da40ac3f4dc3a247e451199f81b70bf725a3 and https://github.com/roc-lang/basic-cli/commit/604af38c0d9af7d71188a7e50bdff0ac63af98b1 fixes the issue.

After doing CI on the source with the reverted commits, I'm now seeing an extremely similar segmentation fault but only in the union_with_padding glue test (only on x86_64 linux, inside nix):
test glue_cli_run::union_with_padding ... FAILED

failures:

---- glue_cli_run::union_with_padding stdout ----
thread 'glue_cli_run::union_with_padding' panicked at 'bad status Out { cmd_str: "/home/username/gitrepos/roc6/roc/target/release/roc /home/username/gitrepos/roc6/roc/crates/glue/tests/fixtures/union-with-padding/app.roc", stdout: "tag_union was: NonRecursive::Foo(\"This is a test\")\n`Foo \"small str\"` is: NonRecursive::Foo(\"small str\")\n`Foo \"A long enough string to not be small\"` is: NonRecursive::Foo(\"A long enough string to not be small\")\n`Bar 123` is: NonRecursive::Bar(123)\n`Baz` is: NonRecursive::Baz(())\n`Blah 456` is: NonRecursive::Blah(456)\n", stderr: "🔨 Rebuilding platform...\n", status: ExitStatus(unix_wait_status(35584)) }', crates/glue/tests/test_glue_cli.rs:249:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    glue_cli_run::union_with_padding

Valgrind:
❯ valgrind ./app
==59016== Memcheck, a memory error detector
==59016== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==59016== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
==59016== Command: ./app
==59016==
tag_union was: NonRecursive::Foo("This is a test")
`Foo "small str"` is: NonRecursive::Foo("small str")
`Foo "A long enough string to not be small"` is: NonRecursive::Foo("A long enough string to not be small")
`Bar 123` is: NonRecursive::Bar(123)
`Baz` is: NonRecursive::Baz(())
`Blah 456` is: NonRecursive::Blah(456)
==59016== Can't extend stack to 0x4a60138 during signal delivery for thread 1:
==59016==   no stack segment
==59016==
==59016== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==59016==  Access not within mapped region at address 0x4A60138
==59016==    at 0x1F2014: ??? (in /home/username/gitrepos/roc6/roc/crates/glue/tests/fixtures/union-with-padding/app)
==59016==    by 0x48AF254: __run_exit_handlers (in /nix/store/vq3sdi8l15rzfl5zvmwpafrzis4sm6xf-glibc-2.37-8/lib/libc.so.6)
==59016==    by 0x48AF38D: exit (in /nix/store/vq3sdi8l15rzfl5zvmwpafrzis4sm6xf-glibc-2.37-8/lib/libc.so.6)
==59016==    by 0x180256: ??? (in /home/username/gitrepos/roc6/roc/crates/glue/tests/fixtures/union-with-padding/app)
==59016==    by 0x1: ???
==59016==    by 0x17594E: ??? (in /home/username/gitrepos/roc6/roc/crates/glue/tests/fixtures/union-with-padding/app)
==59016==  If you believe this happened as a result of a stack
==59016==  overflow in your program's main thread (unlikely but
==59016==  possible), you can try to increase the size of the
==59016==  main thread stack using the --main-stacksize= flag.
==59016==  The main thread stack size used in this run was 8388608.
==59016==
==59016== HEAP SUMMARY:
==59016==     in use at exit: 0 bytes in 0 blocks
==59016==   total heap usage: 13 allocs, 13 frees, 3,437 bytes allocated
==59016==
==59016== All heap blocks were freed -- no leaks are possible
==59016==
==59016== For lists of detected and suppressed errors, rerun with: -s
==59016== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)

This appears to be the same thing as https://github.com/roc-lang/roc/issues/5924


Movie writer doesn't use correct aspect ratio with window override and stretch settings

Godot version
4.0 beta 10
System information
Windows 10, Vulkan, AMD RX 5600 XT
Issue description
When you set a combination of settings in project settings > general > display > window, the output avi file does not have the correct aspect ratio
Size

Viewport Width: 640
Viewport Height: 360
Window Width Override: 1280
Window Height Override Override: 720

Stretch

Mode: viewport
Aspect: keep_width

Steps to reproduce

Open the attached project.
Enable movie writer
Run the project
Check the aspect ratio of the captured avi file

Minimal reproduction project
movie-writer-aspect-ratio.zip

Current workaround is to not use the window override and then scale the avi using extra ffmpeg arguments (use it already to convert to mp4). Nearest neighbour is to try and preserve the crisp pixels.
ffmpeg -i input.avi -s WIDTHxHEIGHT -sws_flags neighbor output.mp4

This is strange, because only the viewport dimensions should matter when using the viewport stretch mode in Movie Maker mode. The actual window size set with the override should not affect the dimensions of the output video, even if you resize it while recording.

Hehe, I just updated my script to convert avi to mp4 to do the scaling! So have a workaround.

if i understood this correctly, the main issue is that output avi file should not scale with actual window size. Right?

if i understood this correctly, the main issue is that output avi file should not scale with actual window size. Right?

It should when using the disabled or 2d stretch modes, but not when using the viewport stretch mode.

I ran into this too, still happening in 4.2.2
setting stretch mode to disabled and resetting window_width_override/window_height_override to 0 is sort of a workaround, if you want to render at 1x
though I found it better to change stretch mode to canvas_items, then you can keep the width/height override and render at a higher resolution, which is what I was hoping for / expecting. i would still have expected it to render scaled up with the viewport mode set to stretch.
imo rendering at 1x and then scaling up with nearest neighbor is a bad idea because the frames are getting jpeggified (even if mjpeg quality is set to 1 apparently), and you're going to end up scaling up that jpeggification making it much more noticeable.

imo rendering at 1x and then scaling up with nearest neighbor is a bad idea because the frames are getting jpeggified (even if mjpeg quality is set to 1 apparently), and you're going to end up scaling up that jpeggification making it much more noticeable.

For pixel art, you should use PNG output (or QOI if https://github.com/godotengine/godot/pull/91263 is merged).

My target destination is still video, even with rendering it to PNG, it would still end up getting JPEGged at the end when converted to MP4 - I'm just suggesting you avoid scaling up JPEG/JPEGged video because it will scale up the artifacts and make them more noticable.
Though it's true, rendering to PNG could be a better workaround for now, if you want to force everything to be rendered at the native resolution, since changing to the canvas_items stretch mode renders everything at higher res.
But I hope this can be fixed so that when using the viewport stretch mode you can render scaled up pixel art video at the native resolution.


100% CPU usage of 4GB (despite algorithm running on Tesla K80)

Specs:
Confirmed on AWS and Google Compute Engine:
4x 4GB vCPU
Tesla K80 (with my parameters, GPU utilization steady state is only about 20% )
50GB SSD
Problem:
I have confirmed on multiple platforms (and with other users) that this algorithm locks a 4GB CPU at 100%. I have 4 cores on my system (16G total), but only one of the cores is utilized.
I'm not sure how this impacts style transfer performance, but I believe it limits the number of algorithms that can run simultaneously -- people are busy looking at the GPU and don't realize that CPU is struggling.
To find the CPU utilization, I used the program "top". Linux command: top
"luajit" is the culprit
Questions

Is it possible to parallelize the CPU utilization using Torch? (I'm not familiar with language)
What is the CPU being used for?

Tried:
export OMP_NUM_THREADS=4
source ~/.bashrc
Result:
No apparent change

Here (Ubuntu 14.04 on i7 8 threads) torch utilizes all 8 threads nicely; running neural-style with -gpu -1  uses cpu up to 790%.
Google for "torch multithreading". If multithreading does not work, it might be that torch has been compiled without OpenMP support (at least known to happen on OSX with an older version of gcc).
BTW I don't understand  "4x 4GB vCPU" "16GB total". My cores all share the same RAM and I fail to see how it could be otherwise.

BTW I don't understand "4x 4GB vCPU" "16GB total". My cores all share the same RAM and I fail to see how it could be otherwise.

I was just pointing out that RAM scales with the number of cores you use when configuring cloud instances. The problem is that CPU usage seems to be limited to one of the 4 cores, causing 100% utilization of that core while leaving the others unused.
I suspect that using -gpu -1 causes a change to the prediction portion of the algorithm that enables CPU multithreading. I'm experiencing this problem while running the prediction on the GPU (ie. -gpu 0), so it's a separate portion of the code.
I've been looking into OpenMP support and OpenBLAS to see if the issue could be there.

"I suspect that using -gpu -1 causes a change to the prediction portion of the algorithm that enables CPU multithreading. I'm experiencing this problem while running the prediction on the GPU (ie. -gpu 0), so it's a separate portion of the code."
I am quite familiar with neural_style code, except for the multigpu part, and the effect of -gpu option is setting the torch variable types (FloatTensor or CudaTensor) and devices accordingly. What happens after that is up to Torch to decide.
Nevertheless, I too see that when using -gpu 0, CPU utilization stays around 100% (with a peak up to 110 ... 125 % at the start). On the other hand GPU utilization stays close to 100%. I even tried the same with the pre-12/2017 version of neural_style (which does not, for instance, have multigpu support), with similar results (expect that GPU memory usage is significantly lower with the old version... something to investigate).
So in my case, I see no problem, a single CPU is enough and no more is needed nor allocated. I don't know how Torch manages the number of CPU threads, though.
Even if neural_style does not explicitly control parallelization, I can imagine that it is possible to create a bottleneck between CPU and GPU through the use of Float and Cuda tensors. Even so, much of the actual processing happens outside neural_style, in the torch packages nn, cutorch, cunn, cudnn and optim.

I found a way to create a "bottleneck" by setting -save_iter 1. Then cpu util was constantly around 117% and GPU util alternated between 34% and 80+%. This, too, makes sense as the algorithm is constantly interrupted by the need to take the image, deprocess and save it.
Using -print_iter 1 was not enough to cause a bottleneck.

@htoyryla Hi, have you ever try to use another frame for Neural style (such as tensorflow)?I think torch is no good for the product enviroment.
I am trying to develop a 'ostagram' with ios mobile app verision .But I don't know which frame is good for us and it can support more people stylized the image in the same time with AWS p2.xlage K80 Gpu... I am no familiar to the deep learning frame,Can you give me some suggestion?

@dovanchan I am more oriented towards experimenting so I cannot really comment what would work for a production system. For my purposes I have found tensorflow a bit cumbersome, torch and recently pytorch work better for me. But that is from experiments' point of view (need to write and modify code quickly).
I don't know if the framework matters too much, the challenges of memory and GPU capacity will be there whatever you use.

@htoyryla  Thanks for your answer. Can you recommend another people you known who may be can solve my problem so that I can ask him for help? and if he can help me ,I will to pay for it;

@htoyryla

Using -print_iter 1 was not enough to cause a bottleneck. GPU util was almost 100% all the time, CPU util around 100%.

Would you mind clarifying that? Isn't 100% usage of both processors a bottleneck?
I agree that it could be a product of the environment -- so far, I've only been able to confirm this issue on cloud platforms (AWS, GCE) and do not have hands-on access to a comparable GPU.
So far, I have still not resolved this issue.
@dovanchan there are multiple implementations of neural-style in Tensorflow available on github. In my experience, those implementations consume more GPU resources than this implementation, given similar parameters.

"Would you mind clarifying that? Isn't 100% usage of both processors a bottleneck, or is a bottleneck usually considered to be a program crash?"
With "bottleneck" I was referring to what I wrote earlier: "Even if neural_style does not explicitly control parallelization, I can imagine that it is possible to create a bottleneck between CPU and GPU through the use of Float and Cuda tensors."
100% GPU means that GPU is running at full capacity, while 100% CPU in an 8-thread CPU is only 12.5% . As GPU is running full and CPU has much capacity left, there is no bottleneck causing the GPU to be idle for some time (whereas in your case there appears to be a bottleneck somewhere preventing GPU to be utilized fully).
So, to identify what could cause GPU to run idle, I was looking at what the CPU is doing during the iterations. Usually not much, just checking at each iteration what needs to be done next. Then when I used -save_iter 1 the bottleneck occurred probably in writing to the disk at every iteration. Print_iter 1, which only means outputting the losses to the console, did not significantly reduce GPU utilization (this could be different when using an ssh session, haven't tried it).

Ah, yes that makes total sense, thanks. I think you understand my problem perfectly. I originally thought that the CPU was only/predominantly being utilized for saving iterations, so that's why I was so surprised to see 100% usage. I'm not experienced with torch/lua so I was hoping to get by with just enough knowledge -- but, as is usually the case, I'll need to dedicate more time to learning the fundamentals.

I originally thought that the CPU was only/predominantly being utilized for saving iterations
Looking at neural_style code, that is essentially what the CPU does once it gets the iterations going. So if you set print_iter 1000 save_iter 1000 there is very little the CPU does between iterations: check whether to print or save and then start a new iteration. It is not clear to me either why even a single thread is running 100%. That is probably due to how torch works and how it handles the operations between CPU and GPU, and I have not so far delved so deep.


Make _Layer public

Classes (e.g. ForwardLayer) should not inherit from internal classes. The solution in this case is to make _Layer public again. This is consistent with Classifier, Regressor, ...

:tada: This issue has been resolved in version 0.22.1 :tada:
The release is available on:

v0.22.1
GitHub release

Your semantic-release bot :package::rocket:


[go_router] async redirect routes cause flickering dark screen between transition

Is there an existing issue for this?

[X] I have searched the existing package issues
[X] I have read the guide to filing a bug

What package does this bug report belong to?
go_router
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
```lock
go_router:
    dependency: "direct main"
    description:
      name: go_router
      sha256: "2aa884667eeda3a1c461f31e72af1f77984ab0f29450d8fb12ec1f7bc53eea14"
      url: "https://pub.dev"
    source: hosted
    version: "10.1.0"
```

Steps to reproduce

make GoRoute redirect function async

Expected results
no flicker dark screen between transition
Actual results
flicker dark screen between transition
Code sample
Code sample
GoRoute(
        name: "profiles",
        path: '/profile',
        parentNavigatorKey: rootNavigatorKey,
        builder: (context, state) => const ProfilesScreen(),
        redirect: (BuildContext context, GoRouterState state) async {
          return null;
        },
)

Screenshots or Videos

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Thanks for the report @agufagit
The flickering dark screen may not be specific to go_router package, as there's a similar issue open https://github.com/flutter/flutter/issues/116127 that you can check and confirm if it resembles your case or not.

not sure if it's the same problem, when I remove async, it works, dark screen disappears, but when I add async, dark screen appears.
not a deal breaker for me, I ended up placing redirect code somewhere else

@agufagit
I am unable to replicate it properly using the code snippet you provided and using it in the package's example. Can you provide a runnable code ?

that's the exact code, I just add async without any logic, and it flickers dark screen, I guess it's just my system then, I'll close this issue
Thank you for your time.


feat/Added jump-on-top button

Added scroll button to jump on top.

Here Is Preview for feature.

https://github.com/Jagroop2001/AcmeRockets/issues/55


Create a key-value form component

We should create a component that has two side-by-side fields: A key and a value. This would be useful for fields such as scopes in securityDefinitions

Actually, security definitions wouldn't really benefit from this. I don't think this is really needed, so I'll close this.


jypyter run   !python clean.py is None

That is doing exactly what the default settings from clean.py do. It's displaying the signal envelope in a figure.


Issue with backdropClick working in IE and Edge

Bug, feature request, or proposal:
I have disableClose  set to true to stop my dialog from closing when user clicks on backdrop, and then I am using backdropClick  in the below code to tell a service that the backdrop was clicked. It works fine in Chrome but not in IE or Edge
dialogRef.backdropClick()
      .subscribe(() => {
          this.testService.testEvent.emit(true);
        }
      );

What is the expected behavior?
When user click on backdrop then even should be emitted and service should be informed
What is the current behavior?
This is not occuring
What are the steps to reproduce?
Use the code above with a console.log() to see that it is not being triggered.
What is the use-case or motivation for changing an existing behavior?
When a user clicks outside the dialog (with a form) we need to prompt the user to either save or discard their changes to the dialog formControls. Essentially,
if (myDialogForm.dirty) {
triggerConfirmationDialog();
}

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
The issue is specific to IE and Edge
Is there anything else we should know?
No

I wasn't able to reproduce it in our demo app @dfmmalaw. Are you sure that there isn't something else in your app that is preventing the stream from emitting?

Please provide a reproduction case so we can investigate further


Accented letters

Hi,
I work with french accented letters in the filenames but when I use listDirectoryContent(), I have some encoding problems knowing that those files are correctly named on the remote server
IE :
"I/flutter (23193): AccusÃ© de rÃ©ception.pdf" instead of "Accusé de réception.pdf"
Is there a missing parameter or something I omitted to have properly formatted filenames ?
Thanks in advance
Regards,
Pierre

did you tried to change the transfer type ?

setTransferType() is in the documentation but my IDE cannot find it, is there another way ?

final FTPConnect _ftpConnect = new FTPConnect("ccccccc", user: "ccccc", pass: "ccccc");
await _ftpConnect .setTransferType(TransferType.binary);
 //await _ftpConnectNoLog.setTransferType(TransferType.ascii);

I cannot use setTransferType()

make sure that you are using the last version.


[Improvement] File with incorrect header / missing LICENSE information

What would you like to be improved?
This file looks to be a 3rd party file from https://github.com/JohnReedLOL/kafka-streams
catalogs/catalog-messaging-kafka/src/test/java/com/datastrato/gravitino/catalog/kafka/embeddedKafka/ZooKeeperEmbedded.java
How should we improve?
Restore the header and remove the Datatstrato header and add license and file information to LICENSE. As this looks to be under the Apache license and has a NOTICE file it will need to be mentioned there as well. https://github.com/JohnReedLOL/kafka-streams/blob/master/NOTICE

@mchades Can you please confirm if this is the case.

Mainly from this, could you please help me confirm if there are any license issues with this project?

Yes, we need to know where it originally came from (note the Copyright Confluent Inc.) and if it had a NOTICE file. It needs to be added to the LICENSE files and NOTICE file if the original had a NOTICE file.

The original header needs to be replaced, as someone else is the copyright owner.


429 too many requests

Hi Team,
I currently deployed Phi3.5 model both as serverless endpoint and on custom compute. But even when I hit bit more requests it's throwing error 429.  When I contacted the support they informed me that I need to change the max_conccurent_requests https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-deployment-managed-online?view=azureml-api-2#requestsettings
But unfortunately I can't find an option to edit that config anywhere as model is hosted by MSFT. Any help would be greatly appreciated

Hi Have you deployed the model via Azure AI Foundry https://ai.azure.com  or Azure ML Studio https://ml.azure.com
It sounds like you're running Azure Machine Learning endpoints. The max_concurrent_requests setting is indeed crucial for handling higher request loads.
Here are a few steps you can take:
Check Quotas and Limits: Ensure that your subscription has the necessary quotas and limits for the number of concurrent requests. You can view and request quota increases through the Azure portal.
Azure Support Case: Since the model is hosted by Microsoft, you might need to open a support case with Azure to request an increase in the max_concurrent_requests setting. This is often the recommended approach when you can't directly modify the configuration. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-quotas?view=azureml-api-2
The Azure documentation provides additional insights or workarounds. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-quotas?view=azureml-api-2#endpoint-quota-increases

Hi @leestott  I made the deployment through both the Azure ML Studio and Azure AI Foundry.
Case 1: In Azure AI Foundry or Azure AI Studio I can only deploy the Serverless version of the Phi family. In the Customization I can only see Model Version and Resource Location. But I don't see any option for max_conccurent_requests. But I am facing the same issue 429 for the serverless endpoints.
Case 2: Yes for the model deployed using the AML. I did raise a request for the Quota Increase. But unfortunately AML quota team after long delay's still wanted me to explore the option of max_conccurent_requests.
I am not sure how to proceed from here. The only painful option is host the model on the custom container by downloading the weights. This will lead me to create environment and score file where I can specify some of the parameters max_conccurent_requests. But big downside of approach is when ever Microsoft releases a new version of weight. I need to do redeployment.
Any assistance or suggestion or feedback is greatly appreciated.


💡 [FEAT] Configure storage location of todo.yaml

Is your feature request related to a problem? 😢 Please describe.
I really like the simplicity of dooit and the vim-like keybindings! The problem with todos for me is that I need them synced across devices as I'm not always at the same computer.
Describe the solution you'd like   🤔
I imagine that I could set the location of the todo.yaml in the config file. That way, I could move the location to a directory which is synced across devices.
This might eventually lead to conflicts, which would be handled by the sync though (so no need for dooit to support that).
Describe alternatives you've considered  🧐
I guess I could just move the todo.yaml to my sync directory and symlink it to the location where dooit expects it. However, specifying a location in dooit seems cleaner to me. It would also allow to use different storage files. Let's say, if you have one for work and one for personal todos. Although changing the config file everytime you want to switch is probably not the cleanest. Maybe a command line switch to dooit itself would be cleaner in this case.

Yes, I think it would be great.

Hey @phylor, I think you can create a symlink that will work better and be a cleaner approach.


How to add a ad in a Preference Screen?

How to get the view in the onCreatePreferenceFix method in which we are adding the preference layout? I need to add a banner ad at the bottom of the preference screen for which I need the view.

I'll look into this. The whole fragment layout can be replaced essentially with a custom one (which was done previously for pre-21 devices).


HackGreenville Nights page

Now that we're rapidly approaching the first HackGreenville Nights event that is hopefully the first of many, it would be great if we could have a page on the site to anchor it as a mainstay for the upstate's tech community. We don't need to add it before the first event, but it would be good to start some discussion about some ideas of what it could look like:

Maybe a list of previous talks with links to the slides and speakers?
A button to sign up for future talks?
A button to sponsor food/venues (could also just be a link to #161)?

Please share if you have any ideas, designs or copy that you'd like to contribute! Thank you!

We could highlight the upcoming speakers.
We could put an expand / collapse section for each instance of the event on the lower part of a Nights page with highlights of speakers and topics & embedded slide show of photos from the event.
We could have speaker head shots and/or links to GitHub, LinkedIn, or other professional site / page.

Alright - so I'm thinking we should start working on this and I can probably write all of this code - including some sort of admin system - in this repo. We should just pick a design.
We can use a theme from tailwindcss (I know we want to use it more)
Some good candidates

https://tailwindui.com/templates/spotlight
https://keynote.tailwindui.com/

Data Driven Management
Ideally we wouldn't have to edit HTML - but can just use an admin tool to manage the events, speakers etc -- sample db structure below

Speaker (model)

name

Talks (model)

name
description
speaker_id
event_id

There have been talks of the HG Nights format varying, so it could be premature to get into defining models and UIs to manage it.
We could do an HTML pages for now to promote the upcoming event, and perhaps a collapsible section with HTML to cover past events.
Something similar to the content on the Meetup page would be a good start.
https://www.meetup.com/hack-greenville/events/296051672/
What do we think about starting there?

Is there any specific information about the upcoming event that should be called out on this page, or would keeping things more general be sufficient for the first take?

@ThorntonMatthewD we don't have a set schedule, so we've been saying "quarterly-ish".
We could do something like have a card highlighting the last event (link to the Meetup page) and another card saying "Next Event" and say something like "expected to be in January or February 2024".
Thanks

Sounds good! Is there a particular platform that we would want to point visitors to so that they can "subscribe" to updates and be informed about when the next event is announced? Slack, maybe?

Meetup already handles emailing new events, so directing people to join the Meetup group is the current best way to get a push notification.
We have the Slackbot, so people who are in the Slack can use that, but they still need to remember to look at it.
Eventually, I think we can have the weekly digest go to social media, maybe a weekly email option, or even a slimmed down thing in SMS if that's how people want to get notified.

I came across this a11y meetup's page that includes information around giving talks for their group: https://a11y-meetup-berlin.de/submit/
Since the venue may differ at times for HG Nights I am not sure if equipment can listed, but are there other things that may be helpful to communicate to prospective speakers so that they can prepare accordingly?

@ThorntonMatthewD I wouldn't put much, or even any, effort into speaker resources or recruiting.
We'll likely pull many of the speakers from HG Slack conversations, at least for now.
I don't think we're envisioning this like a conference where people from anywhere submit talks and get selected.
If someone wants to do a talk they should likely either be part of the Slack and ask in there about it, or be asked by the organizers of the event.
If we want to put a "Want to speak?" button on the HG Nights page and link that to the existing contact form, then I suspect that's enough to get us covered on speakers looking to engage.

For sponsorship offers, is the "Contact Us" form also the go-to place on the site to direct people to?

Yeah, I think it's the same that we'll more likely be finding the sponsors than them finding us.

In case the subject of the HG Nights page comes up in discussions I wanted to post what I have been iterating on.

Some things I like:

The jumbotron image
The accordion for events

Some things on the wishlist:

A ^/V icon at the end of accordion cards to signify each card's state.
Figuring out what to replace "Event data!" with for each talk in the accordion. Will slides and synopses be easily obtained from speakers/volunteers to fill in that kind of information? I'm reticent to add something in that could remain blank most of the time.
A more in-depth description of the event (touching on the social aspect more, general format, what to expect, etc..)
Maybe incoporating a more visual logo?

Logo
Image

Name tag

This logo I found on Slack (I do not recall who posted this, but I want to say it came from @oliviasculley )

Some things I don't like:

The white box around the description in the jumbotron
Most of the copy. It's the equivalent of styrofoam packing pellets..
The HG Nights branding put out for the October event was cool :sunglasses:, and this page isn't very cool at all. What can be added to draw in the techie crowd and signal to them that they're going to be in for a fun, insightful time if they attend?

I was anticipating that I would be further along with this before any strategizing meetings occurred, but nonetheless I hope what has been knocked out so far can stir conversation to help us get this page to its eventual final form.
The diff so far in case anyone would like to take a look: https://github.com/hackgvl/hackgreenville-com/compare/develop...ThorntonMatthewD:hackgreenville-com:add-hg-nights-page

@ThorntonMatthewD how about instead of the "Event Details" and worrying about the accordion, we have optional speadker and topic links for each speaker.
For example, for Pete, he had a blog for his topic that we could link to and we could link his name to either a LinkedIn or GitHub.
We could do the same for the others, and at least link to their name if their topic doesn't have a web resource.
For topic links, Ryan and Robert's talks have a link, but I don't believe we have anywhere to link Zach's talk, unless he's posted slides online. Similarly, Synergy Mill and HG Labs have links, so we could put topic links on those too.
I have these links in the HG Nights Planning doc, which I'll share on the Slack.

I'll tinker with that this weekend. Thank you so much!

The basic HG Nights page is up at
https://hackgreenville.com/hg-nights
Kudos to Matt for getting this roughed in.
We can make tweaks and add additional nice to have features as it makes sense.

I am not seeing the jumbotron image, and it doesn't look like the responsive font scaling CSS rules are active. Is there a step needed to build/cache static filesin order for these appear?

We run scripts/handle-deploy-update.sh on deployment, so if something is missing, then it may be it wasn't included or we need to tweak that script.
You mentioned stripping out things. Did the image get inadvertently removed?

The image looks to have made it in (here and here).
I'll give running that script a shot shortly and attempt to run the application without the webpack dev server.

Thanks. That worked on stage, but I think we've been using yarn instead of NPM.
@zach2825 Matt suggested running npm run build above to get the CSS and background image to show.
How would you suggest we modify scripts/handle-deploy-update.sh to deal with this step that seems to be needed in some deploys?

With the next HG Nights announced, we could probably expand this page to highlight the upcoming event and the past / pilot event.
I feel we can just do raw HTML here to add more info about the speakers and perhaps even mention the food.
If we get to a point where there's a solid pattern we could try to build it into a model, but that seems premature given we're still figuring out things with HG Nights.

I'm finally getting back into doing stuff again. Sorry for the absence.
Yarn handles package caching better, so installs are faster. I've seen the other commands like build dev and other things run/boot faster too.
I found this article quickly, seems to mention the same basic stuff but with more detail.
https://www.copycat.dev/blog/yarn-vs-npm/
That said, besides some slight command differences, yarn is used basically the same way as npm. Packages are installed in node_modules, you need to deploy yarn.lock when deploying to prod so you can run yarn install and get tested packages on deploy, and when you install packages globally with yarn they're still installed in your home dir run yarn global dir to see where
to the original question; npm run build would become yarn build.

Now that we have two HG Nights under our belts, and the videos Olivia and Joey shot and posted on YouTube we can build out the HG Nights page with more info.
I think adding the highlights of the speakers, noting and linking to the sponsor, and linking to any videos and slides would be a good next step. This info is largely available in the Meetup pages, besides the slides, and we'd have to ask the speakers if they have anything worth sharing related to their talk. I think we'd want to link to something they are hosting instead of getting into the business of storing such things on our server, at least for now.
Oct 2023 - https://www.meetup.com/hack-greenville/events/296051672/
Feb 2024 - https://www.meetup.com/hack-greenville/events/299063777/
I feel pretty strongly we should continue for now to build this out as a single HTML page, instead of trying to put everything into a database model before we really have a firm grasp of features or use cases that would be well-defined enough to avoid unnecessary work or rework.  If the content gets too big we could always add something like an expand / collapse to keep it more manageable.
Anybody have time to add take such next steps on https://hackgreenville.com/hg-nights

Talk submission form and past events have been roughed in on the HG Nights page.
The margins definitely need some work and some other tweaks from someone with more design sense.
https://hackgreenville.com/hg-nights

Linking to speaker slides is another potential thing we could do.  I'm not sure we want to host such files for now.


AnyDesk 8.0.8 Crack + License Key 2024 Free Download [Latest]

AnyDesk 8.0.8 Crack With License Key 2024 Free Download
AnyDesk Crack is an application that you can use for remote access to another PC if you are far from the house and you need the folders that are on home PCs Then you can use this app with the one code or ID you can get the access to the other pcs. If you are running online projects and you have to enter the links into client apps then you can open the client’s PC and can enter the link without the physical appearance. If you are working and have issues with the websites and your site plugins not running, you do not know the procedures to solve the issues. Then the boos of the site can open your site. And can solve issues and make your way straight to doing work.


Implement shares sale flow

This PR implements shares sale flow.
The process modeling of the shares sale flow:

Codecov Report

Merging #21 (c8b35be) into master (13c3b4d) will increase coverage by 95.61%.
The diff coverage is 94.64%.

:exclamation: Current head c8b35be differs from pull request most recent head 0501437. Consider uploading reports for the commit 0501437 to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##             master      #21       +/-   ##
=============================================
+ Coverage          0   95.61%   +95.61%
- Complexity        0      146      +146
=============================================
  Files             0       19       +19
  Lines             0      593      +593
  Branches          0        9        +9
=============================================
+ Hits              0      567      +567
- Misses            0       24       +24
- Partials          0        2        +2