chore(master): Release 0.28.0

:robot: I have created a release beep boop
aztec-package: 0.28.0
0.28.0 (2024-03-14)
⚠ BREAKING CHANGES

Support contracts with no constructor (#5175)

Features

Support contracts with no constructor (#5175) (df7fa32)

barretenberg.js: 0.28.0
0.28.0 (2024-03-14)
Miscellaneous

barretenberg.js: Synchronize aztec-packages versions

aztec-cli: 0.28.0
0.28.0 (2024-03-14)
⚠ BREAKING CHANGES

Support contracts with no constructor (#5175)

Features

Support contracts with no constructor (#5175) (df7fa32)

aztec-packages: 0.28.0
0.28.0 (2024-03-14)
⚠ BREAKING CHANGES

Support contracts with no constructor (#5175)

Features

avm-simulator: Euclidean and field div (#5181) (037a38f)
Isolate Plonk dependencies (#5068) (5cbbd7d)
New brillig field operations and refactor of binary operations (#5208) (eb69504)
Parallelize linearly dependent contribution in PG (#4742) (d1799ae)
Parity circuits (#5082) (335c46e)
Support contracts with no constructor (#5175) (df7fa32)
Track side effects in public (#5129) (d666f6f), closes #5185
Update SMT Circuit class and add gate relaxation functionality (#5176) (5948996)

Bug Fixes

avm-transpiler: FDIV and U128 test case (#5200) (6977e81)
Barretenberg-acir-tests-bb.js thru version bump (#5216) (9298f93)
Do not release docs on every commit to master (#5214) (c34a299)
Fail transaction if we revert in setup or teardown (#5093) (db9a960)
Intermittent invert 0 in Goblin (#5189) (6c70624)
Point docs links to current tag if available (#5219) (0e9c7c7)
Remove embedded srs (#5173) (cfd673d)
Split setup/teardown functions when there's no public app logic (#5156) (2ee13b3)
Validate EthAddress size in aztec-nr (#5198) (201c5e1)

Miscellaneous

Add dependency instructions to bberg README (#5187) (850febc)
avm-simulator: Make sure we support Map storage (#5207) (08835f9)
avm-simulator: Restructure contract storage tests (#5194) (fcdd1cc)
docs: Add details to getting started contract deployment (#5220) (5c267ae)
Moving wit comms and witness and comm labels from instance to oink (#5199) (19eb7f9)
Oink (#5210) (321f149)
Pull noir (#5193) (aa90f6e)
Trying to fix intermitent ci failure for boxes (#5182) (f988cb8)

Documentation

yellow-paper: Add pseudocode for verifying broadcasted functions in contract deployment (#4431) (8bdb921)

barretenberg: 0.28.0
0.28.0 (2024-03-14)
Features

avm-simulator: Euclidean and field div (#5181) (037a38f)
Isolate Plonk dependencies (#5068) (5cbbd7d)
New brillig field operations and refactor of binary operations (#5208) (eb69504)
Parallelize linearly dependent contribution in PG (#4742) (d1799ae)
Update SMT Circuit class and add gate relaxation functionality (#5176) (5948996)

Bug Fixes

Barretenberg-acir-tests-bb.js thru version bump (#5216) (9298f93)
Intermittent invert 0 in Goblin (#5189) (6c70624)
Remove embedded srs (#5173) (cfd673d)

Miscellaneous

Add dependency instructions to bberg README (#5187) (850febc)
Moving wit comms and witness and comm labels from instance to oink (#5199) (19eb7f9)
Oink (#5210) (321f149)

This PR was generated with Release Please. See documentation.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 6c706244 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,668
18,820
36,356

l1_rollup_calldata_gas
65,956
238,504
469,340

l1_rollup_execution_gas
666,588
953,365
1,336,648

l2_block_processing_time_in_ms
1,260 (-2%)
4,868 (+6%)
9,163 (+3%)

note_successful_decrypting_time_in_ms
215 (-12%)
484 (+1%)
963 (+2%)

note_trial_decrypting_time_in_ms
21.5 (-56%)
105 (+11%)
98.0 (+30%)

l2_block_building_time_in_ms
16,903 (-1%)
67,552 (+1%)
132,587 (+1%)

l2_block_rollup_simulation_time_in_ms
6,946 (-2%)
27,973 (+2%)
55,228 (+2%)

l2_block_public_tx_process_time_in_ms
9,937 (-1%)
39,517
77,261 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,420 (+1%)
26,600 (-3%)

note_history_successful_decrypting_time_in_ms
1,256 (-4%)
2,548 (+3%)

note_history_trial_decrypting_time_in_ms
105 (-32%)
212 (+38%)

node_database_size_in_bytes
19,075,152
35,655,760

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
277
44,338
27,700

private-kernel-ordering
217
52,324
14,326

base-rollup
632
177,083
925

root-rollup
68.0
4,176
789

private-kernel-inner
632
73,197
27,700

public-kernel-app-logic
439
35,198
28,215

public-kernel-tail
177 (+1%)
40,926
28,215

merge-rollup
8.28 (+1%)
2,696
925

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.94
15.9
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.579
0.493
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
46.1 (+1%)
71.5
228
445
862 (+2%)
1,691 (+1%)
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.469
0.441
0.416 (-1%)
0.416
0.411 (+2%)
0.405 (+1%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
53.7 (+1%)
105
326 (-3%)
660
1,292 (+2%)
2,549 (+1%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
104
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.478 (+1%)
0.475
0.444 (-2%)
0.454
0.449 (+2%)
0.442
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
61.1 (+1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.534 (+1%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes

tx_size_in_bytes
22,014

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
4,003
1,725

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
12.5 (-8%)
1,231

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/aztec-packages-v0.28.0 :sunflower:

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/aztec-cli-v0.28.0 :sunflower:

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/aztec-package-v0.28.0 :sunflower:

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/barretenberg.js-v0.28.0 :sunflower:

:robot: Release is at https://github.com/AztecProtocol/aztec-packages/releases/tag/barretenberg-v0.28.0 :sunflower:


Adapt scripts for ECS variants

The scripts to generate what's included for each variant may have to be updated or adapted for ECS variants, to list what's included as part of the image.
See https://github.com/bottlerocket-os/bottlerocket/pull/3273#issuecomment-1648034145

closed by:
#215
#272
#271


Fix a typo in README.md

I assume this was a typo :)

Ah, sorry, I have failed to explain the idea. I meant something else:
It's for adding other modules, like github.com/foodeloo/bazibar. How would you phrase it?

I have reworked the README section on Go. This should be clear now. Thank you!


Navigate Between Screens

Find a way to navigate between different screens.

git fetch origin
git checkout 5-navigate-between-screens


Tool for estimating usage costs

At very least document which AWS services are used.

Perhaps you can use this API? https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_EstimateTemplateCost.html

@slaskis ahh interesting! that'll definitely help


暴露服务前自定义ServiceBean

Environment

Dubbo version: 2.5.3
Operating System version: macOS Mojave
Java version: 1.8

Question
暴露服务前获取ServiceBean，修改属性配置后再暴露，比如修改版本号version=2.0.0

There is no way to change version between startup and export.


Fixes Scope validation in OpenId

With the last dev branch which uses BuildServiceProvider(validateScopes: true) there is still a scope validation issue. Repro: fresh setup using the cms.recipe.

Here a suggestion quickly done just to show where the issue is.

I looked at the issue OpenIdConfiguration : IConfigureOptions<AuthenticationOptions> is registered as a singleton and is using OpenIdService which is registered as a scoped service.
This PR moves OpenIdService as a singleton too and wraps ISiteService in a per http request call.
@PinpointTownes @jersiovic do you think we can make OpenIdConfiguration scoped instead?

I am thinking about making ISiteServices a singleton instead, it will be simpler and prevent other issues where settings are required in options, which might happen often.


[Backport 2.13] Clear out 2.x section of changelog

The 2.13 release notes have been created.
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌ Gradle check result for 6856f40: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/12873

❌ Gradle check result for 10a121c: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/12395

❌ Gradle check result for 10a121c: FAILURE

https://github.com/opensearch-project/OpenSearch/issues/10006

@andrross may need rebase please


Make Login Page Responsive and Look Better

Pls assign me

@Rx-Metallica another contributor is currently working on fixing the Sign Up and Login page. I encourage you to explore and contribute to other issues on the website.

@Rx-Metallica another contributor is currently working on fixing the Sign Up and Login page. I encourage you to explore and contribute to other issues on the website.

Can we make changes in login page untill he fix the issue cause i have made changes in login page and in styles and it is  better for readability.

@Rx-Metallica He is working on the Login and Sign-Up page UI to improve overall responsiveness and convert it to Tailwind CSS.


[v2.8] Bump go version to 1.20

I see the new release branches are not yet protected (e.g. we can merge with no reviews). I think we should align these branches' configuration with master's.

I see the new release branches are not yet protected (e.g. we can merge with no reviews). I think we should align these branches' configuration with master's.

Thank you, I have updated branches settings with following regexp [master,release-]*


differentiable top k indices

Hello,
I am looking for the the work around of back prop through torch.topk . torch.topk return values and indices. It can backprop values but not indices (see here). I was wondering can torchsort can somehow achieve this? Thank you so much!

Hi Chen Cai,
That can be achieved, see #19, specifically this comment: https://github.com/teddykoker/torchsort/issues/19#issuecomment-831525303
Let me know if you need any clarification!


[Bug] Possible memory leak. Doesn't go away until you reboot

I switched from d3dshot to this library a few days ago. After scraping the screen for several days like this, the program keeps exiting complaining about not being able to allocate memory.
camera.start(target_fps=fps, region=region)

camera.get_latest_frame() # calling this every second

I looked at task manager and there was still 6 gb free so I don't know what could be eating up the ram. So this library might be leaking memory in kernel space related to directx or something. When python exits, the memory doesn't get freed, it will keep raising an exception at the first place that allocates a large amount of memory.

Hi Thordin, thanks for the report. Did you call camera.stop() upon exit?

No I did not but I think it would call the del method on that class upon exit right? The only time I closed the script was by pressing ctrl+c or if an exception was thrown.
I just realized I did not check the commit usage so this might be a false positive. I will continue running the script for a few days with the same settings and double check to make sure it isn't another program eating up the ram.

I think I figured out the issue or at least 1 source of a leak.
I put a print statement in __del__ here.
https://github.com/ra1nty/DXcam/blob/cd1c36783d206027075309d7a9be89ef5099d10a/dxcam/dxcam.py#L242
It gets called if you don't use capture. However if you use capture, it will not get printed if the program quits.
I believe it is because the thread holds open a reference to the object so the object never gets garbage collected and never calls __del__, even if the thread is set to daemon.

__del__ will have a similar logic, but __del__ on python can't be always trusted.(e.g. https://stackoverflow.com/a/6104568 and python gc documentation) So I would recommend calling .stop /.release explicitly to make sure everything is cleaned up. There are certainly more user-friendly ways to do the clean up and I will make improvement probably in next version.
As for the leak, I haven't tested it for running for days, but when I ran it for ~ an hour it maintains a constant memory footprint and cleaned up upon exit. I will double-check when I'm back from traveling.

Not sure why this happens but this short little script causes an error when I release it.
import dxcam
import time

dx = dxcam.create()
dx.start()
time.sleep(2)
f = dx.get_latest_frame()
dx.release()

python test2.py
Screen Capture FPS: 54
Exception ignored in: <function _compointer_base.__del__ at 0x000001B21D44DA20>
Traceback (most recent call last):
  File "C:\Python310\lib\site-packages\comtypes\__init__.py", line 957, in __del__
    self.Release()
  File "C:\Python310\lib\site-packages\comtypes\__init__.py", line 1212, in Release
    return self.__com_Release()
OSError: exception: access violation writing 0x0000000000000000

Try call .stop before .release:
import dxcam
import time

dx = dxcam.create()
dx.start()
time.sleep(2)
f = dx.get_latest_frame()
dx.stop()
dx.release()

Normally you don't need to call .release since the logic is handled in the destructor. But in the case of having memory issues, it's better to do it explicitly I guess.

Try call .stop before .release:
import dxcam
import time

dx = dxcam.create()
dx.start()
time.sleep(2)
f = dx.get_latest_frame()
dx.stop()
dx.release()

Normally you don't need to call .release since the logic is handled in the destructor. But in the case of having memory issues, it's better to do it explicitly I guess.

According to the code, release calls stop as the first thing it does though.
https://github.com/ra1nty/DXcam/blob/cd1c36783d206027075309d7a9be89ef5099d10a/dxcam/dxcam.py#L237

Just confirmed the memory leak. It happened again.
I tried connecting to the computer with remote desktop (parsec) it threw an error complaining about the video encoder not working. So I went to the machine physically, stopped the script, then found out it wouldn't start again.
  self.d3dshot = dxcam.create(max_buffer_len=2)
File "C:\Python310\lib\site-packages\dxcam\__init__.py", line 110, in create
  return __factory.create(
File "C:\Python310\lib\site-packages\dxcam\__init__.py", line 70, in create
  camera = DXCamera(
File "C:\Python310\lib\site-packages\dxcam\dxcam.py", line 30, in __init__
  self._stagesurf: StageSurface = StageSurface(
File "<string>", line 8, in __init__
File "C:\Python310\lib\site-packages\dxcam\core\stagesurf.py", line 20, in __post_init__
  self.rebuild(output, device)
File "C:\Python310\lib\site-packages\dxcam\core\stagesurf.py", line 44, in rebuild
  device.device.CreateTexture2D(
_ctypes.COMError: (-2147024882, 'Not enough memory resources are available to complete this operation.', (None, None, None, 0, None))

I checked task manager and physical ram/commit were under the limits. GPU ram however was stuck at 1.9/2.0 ghz with everything closed. Logging off the account was enough to release the memory.
So I think this is proof that some gpu memory is leaking, and not just an issue when exiting the script. dx.release() was already added before this run.

Hi Thordin, thanks for the reply. Seems there's a memory leak somewhere. I'm trying to figure out the issue: Does your script /workflow involve multiple re-initializations? E.g. re-create of dxcam instance, output mode change, etc?
Possibly related:
https://forums.developer.nvidia.com/t/dxgi-outputduplication-memory-leak-when-using-nv-but-not-amd-drivers/108582

Hello I have been editing and re-running my script multiple times.
I withdraw my claim about a memory leak from just leaving it running, there's maybe just the one caused by the release issue I mentioned above.
I increased my page file and it doesn't run out of memory after several days anymore.

Cool. Good to know. Please let me know if there's any other issues.


shipping information needed

What I'm trying to achieve
…
Thanks for your huge work~
Does shipping information can be displayed in dashboard such as

the picture is from:
https://t.17track.net/zh-cn#nums=CS459142747DE
Although I know many famous ecommerce platform such  as Amazon,
they never show shipping information.
but Chinese Shipping system is very Fast and huge,
Chinese ecommerce platfrom always contain shipping information.
when the epidemic comes,customers are anxious to know where their goods are.
could you consider adding this feature?
shipping  API  always needs to paid,then api key/api secret need to be input in saleor-dashboard.
Describe a proposed solution
...
need api import and interface for engineers to input their own api key/api secret
I want information both be displayed in saleor-storefront(in customer's order) and in saleor-dashboard
Other solutions I've tried and won't work
…
Screenshots or mockups

@appleyuchi Hey! Thank you for your suggestion. I'll pass your idea to the dev team, and we'll discuss it. Thanks!


Can drag and resize crop box out of the image

Hi, we can drag or resize cropbox out of the image

Hi, this was designed on purpose. if want to constrain rectangles inside the image boundary. you can validate the changing rectangle inside onChange, like this:
changeCoordinate = (coordinate, index, coordinates) => {
    // if width greater than 100px, we just ignore it
    if (coordinate.width > 100) {
      return
    }
    this.setState({
      coordinates,
    })
  }

maybe I will add some props to make this easy when I have time

Hi , thanks for your response. I am able to do that now this way:
changeCoordinate = (coordinate, index, coordinates) => {
let img_height = document.getElementById('crop_div').clientHeight
if (coordinate.width+coordinate.x > 1000 || coordinate.x <=0) {
return
}
if (coordinate.height+coordinate.y > img_height || coordinate.y <=0) {
return
}
this.setState({
coordinates,
})
}


Unable to use icons loaded via registry - src input is always required

Hello,
Affected version<EMAIL_ADDRESS>In the newest version the src input is always marked as required in the SvgIconComponent
https://github.com/czeckd/angular-svg-icon/blob/master/projects/angular-svg-icon/src/lib/svg-icon.component.ts#L29
Because of that we're unable to use icons loaded via registry as mentioned in the README.md

If svg was previously loaded via registry with name it can be used like this:
<svg-icon name="eye" [svgStyle]="{ 'width.px':90 }">

When we try to do that, the compiler throws an error and the build fails:

NG8008: Required input 'src' from component SvgIconComponent must be specified.

Is there any workaround for that?
Thank you in advance for your help!

@duszek94 Thanks for the bug report. I fixed the issue. Please grab version 18.0.1 to resolve it on your end.

@czeckd I can confirm it works correctly now, thank you for the quick fix!


npm run  pack， err？

wuwanbing@WUWANBING MINGW64 /E/demo/cross-platform-desktop-applications/chapter-04/lorikeet-electron (master)
$ npm run pack

<EMAIL_ADDRESS>pack E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron
build

No native production dependencies
Packaging for win32 x64 using electron 1.8.8 to dist\win-unpacked
Warning: Application icon is not set, default Electron icon will be used
Unhandled rejection Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1148:19)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at TLSSocket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
From previous event:
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\util\nodeHttpExecutor.ts:26:12
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at NodeHttpExecutor.download (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\util\nodeHttpExecutor.js:139:11)
at download (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-http\src\httpExecutor.ts:39:38)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\src\binDownload.ts:49:3
at Generator.next ()
at xfs.mkdir.er (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\fs-extra-p\node_modules\fs-extra\lib\mkdirs\mkdirs.js:37:14)
at FSReqWrap.oncomplete (fs.js:135:15)
From previous event:
at doGetBin (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\out\binDownload.js:54:21)
at getBin (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\src\binDownload.ts:23:38)
at getBinFromBintray (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\src\binDownload.ts:13:10)
at Object. (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\targets\nsis.ts:23:25)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at targetClass (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\winPackager.ts:81:20)
at WinPackager.createTargets (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\winPackager.ts:78:73)
at createTargets (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\targets\targetFactory.ts:22:12)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\packager.ts:175:41
From previous event:
at Packager.doBuild (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\packager.js:299:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\packager.ts:143:38
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at Packager.build (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\packager.js:251:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\builder.ts:214:40
at Generator.next ()
From previous event:
at build (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\builder.js:63:21)
at Object. (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\cli\build-cli.js:68:41)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1148:19)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at TLSSocket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
From previous event:
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\util\nodeHttpExecutor.ts:26:12
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at NodeHttpExecutor.download (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\util\nodeHttpExecutor.js:139:11)
at download (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-http\src\httpExecutor.ts:39:38)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\src\binDownload.ts:49:3
at Generator.next ()
at xfs.mkdir.er (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\fs-extra-p\node_modules\fs-extra\lib\mkdirs\mkdirs.js:37:14)
at FSReqWrap.oncomplete (fs.js:135:15)
From previous event:
at doGetBin (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\out\binDownload.js:54:21)
at getBin (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\src\binDownload.ts:23:38)
at getBinFromBintray (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder-util\src\binDownload.ts:13:10)
at getSignVendorPath (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\windowsCodeSign.ts:13:10)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\winPackager.ts:177:46
From previous event:
at WinPackager.signAndEditResources (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\winPackager.js:233:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\winPackager.ts:190:16
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at WinPackager.postInitApp (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\winPackager.js:242:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\platformPackager.ts:203:148
From previous event:
at WinPackager.doPack (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\platformPackager.js:262:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\platformPackager.ts:98:16
at Generator.next ()
From previous event:
at WinPackager.pack (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\platformPackager.js:160:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\packager.ts:175:22
From previous event:
at Packager.doBuild (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\packager.js:299:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\packager.ts:143:38
at Generator.next ()
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at Packager.build (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\packager.js:251:11)
at E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\src\builder.ts:214:40
at Generator.next ()
From previous event:
at build (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\builder.js:63:21)
at Object. (E:\demo\cross-platform-desktop-applications\chapter-04\lorikeet-electron\node_modules\electron-builder\out\cli\build-cli.js:68:41)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>pack: build
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>pack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\wuwanbing\AppData\Roaming\npm-cache_logs\2018-11-30T04_14_14_973Z-debug.log
wuwanbing@WUWANBING MINGW64 /E/demo/cross-platform-desktop-applications/chapter-04/lorikeet-electron (master)
$

Hi,
What version of Windows, Node.js, and Electron do you have installed?

window 7
$ node -v
v8.12.0
$ npm -v
6.4.1
$ electron -v
v3.0.10

I think I know what the issue is. The version of Electron that you've got there is much newer than the version of Electron I was using at the time of writing the book.
What I will do is try and replicate the issue that you are experiencing using that particular version of Windows, Node.js, NPM and Electron, and then see if I can get the code example to work with the latest version of Electron.
Paul

thanks
I'm trying to solve it myself.


[SPARK-37208][YARN]Support mapping Spark gpu/fpga resource types to custom YARN resource types

What changes were proposed in this pull request?
Add configs to allow mapping the Spark gpu/fpga resource type to a custom YARN resource type.
Currently Spark hardcodes the mapping of resource "gpu" to "yarn.io/gpu" and "fpga" to "yarn.io/fpga". This PR just allows the user to specify the "yarn.io/*" resource side.
Note it would be nice to put this in 3.2.1 as well, let me know if any objections.
Why are the changes needed?
YARN supports custom resource types and in Hadoop 3.3.1 made it easier for users to plugin in custom resource types. This means users may create a custom resource type that represents a GPU or FPGAs because they want additional logic that the YARN built in versions don't have.  Ideally Spark users still just  use the generic "gpu" or "fpga" types in Spark.  So this adds that ability so Spark end users don't need to know about changes to YARN resource types.
Does this PR introduce any user-facing change?

Configs added.
How was this patch tested?

Tested manually with Hadoop 3.3.1 plugin https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/DevelopYourOwnDevicePlugin.html
and unit tests added here.

Test build #144907 has started for PR 34485 at commit f964990.

Test build #144907 has finished for PR 34485 at commit f964990.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49377/

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49377/

k8s failure not related:
Error: package or namespace load failed for â€˜SparkRâ€™:

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

Test build #144935 has started for PR 34485 at commit c68b268.

Test build #144935 has finished for PR 34485 at commit c68b268.

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49407/

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49407/

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

thanks @mridulm @dongjoon-hyun


Modifier -> SwiftUI -> Modal presentations: sheet(item:onDismiss:content:)

Doc: https://developer.apple.com/documentation/swiftui/view/sheet(item:ondismiss:content:)

[ ] Swift implementation
[ ] Elixir implementation

#646  for all sheet modifiers. Rejecting


Initial File Parsing functionality

Type of Change

[] Bugfix (non-breaking change that solves an issue)
[X] New feature (non-breaking change that adds functionality)
[] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Description of Changes

Created a basic configuration file
Created files for parsing information from the server
Added functionality for parsing all server-related files, and identifying the express import statement
Added support for Windows paths and newlines

Checklist

[X] I have ensured that my code follows the style guidelines of this project
[X] I have ensured that my repo is up to date with the master branch
[X] I have checked that there are no open pull requests that might conflict with mine
[] I have written new test cases for my core changes, as applicable
[] I have updated the Readme, as applicable

Great work making your own parser. Works on Windows and Linux based systems.


agent: Increase timeout for hotplugged block devices

The timeout of 1 second to wait for a block device to be detected
by the agent was too low in case the system was running on a slow
environment (nested and/or under heavy load).
This commit increase the value from 1 to 10 to leave enough time to
block devices to be detected.
Fixes #218
Signed-off-by: Sebastien Boeuf<EMAIL_ADDRESS>

/cc @egernst
The CI is broken, is this reasonable to force merge this one ?

I'm playing catchup - I see this in the CI:
00:15:23 + '[' '!' -f clear-23710-containers.img ']'
00:15:23 + unxz clear-23710-containers.img.xz
00:15:23 unxz: clear-23710-containers.img.xz: File format not recognized
00:15:23 Build step 'Execute shell' marked build as failure

I guess we have a known CI global breakage - nudge me if we still want to force-merge (or I'll make the call after catchup)

I nudged a 16.04 CI rebuild, to see if the issues have cleared.

lgtm
The CI is failing due to that curl since the file it is trying to download does not exist - the CL download sites appears to no longer host files called clear-*-containers.img.xz.
/cc @egernst.


Achievement progress lost

Hi,
using the latest version on a rg353m.
It seems like the wifi disconnected while playing. Achievements continued to get displayed when achieved but were not registered on the size. When realized that, I tries to reconnect wifi from the ingame menu (select+x). a box with "searching for wifi" appeared but stayed there forever. Eventually I tried to exit the game (select+start) and there it would not return to ES. The system hung up and was unresponsive, so I had to force shutdown.
MY question: What's the expected behavior when wifi gets lost while playing? Could my problem even be hardware related? The system hanging up made me wonder. Any hints how to probleshoot further?

I've never experienced this issue so I'm not sure honestly.  What version of ArkOS are you on?

I'm on 09292024 (corrected above).
What would the behavior be when you'd play with achievements and let's say walk out of wifi range or switch off your wifi router?

maybe just disconnect and things continue to function just without achievements working is my guess.

Any update on this?  Have you experienced this issue again?

Hi, sorry for the late reply.
I did an update to the latest of arkos. I had an instance where apparently the connection got lost and I got an on screen notification that the connection to RA server got lost, trying to reconnect nad syncing the progress. So that's what's supposed to happen.
About your question: I was not able to play much recently (hence the late answer) but I had once instance recently (with the latest version) where again the system would hang if I try to exit the game and return to arkos (2x start+select).
I did not unlock any achievements in that session but the symptoms were the same as initially described.
Is there any type of system logging to find out what's going on with the wifi connection?

What brand sd card are you using and what software did you use to flash the OS onto the card?

SD card brand is a sandisk (32GB) If it's relevant I can look up the specific variant. I used Rufus to flash. I also have a Miyoo A30 with spruce where I use the same kind of card and also used rufus and I did not encounter any problems with that device so far.

When it hangs, did you wait anytime to see if the system would eventually respond again?

I waited several minutes. If you think it would make sense, I can wait longer next time this occurs.

No that shouldn't be needed at all.  What happens if you disable wifi and play without it for awhile?

I can try that. Problem is that I can not deterministically reproduce the issue. There are sessions, also pretty long ones where I am able to play with wifi without the issue occuring. So it will be hard to "prove" that the issue will never happen without wifi.
However, the issue I described in the OP (status message not disappearing when trying to reconnect to wifi) is something that shouldn't happen as well and most probable wifi related.
To ask again: Is there any way to get linux system based infos, usually in form of a log file, to get information about the state of the wifi connection when the problem occurs. For example why the disconnects happen. I think that would be most useful.

Not by default.  You'd have to enable logging in the retroarch menu.


DataMatrix Encoder Generates Invalid Image

I am trying to generate a data matrix that contains 300 characters. The generated data matrix is always invalid
I'm using the following code:
NSString *qrContents = @"abGQiCU413ZlK5sxgqBnLxysXWEQsmZzAykxtbvkpVzEshILHtqYYDvAYolgOh9g8OPD9eFMHbwKxh1NH5Li4snQczwRmivbJdt9EiPTG4WcpOEvzhnAyPc6Acuw1zyjAwY5aCr61JWFs5HqCzEFVyo2Ur69eLBwA3vWdlqbxDNkTnzV0L61QwKq8KPg97VugF3GiYeZEPxanYctznrktw2Q1LTGdekmbgA1Jzy3vytscRBiI8xvtbw6R6dafeZg9bUUjKT8OYWgWmIdZ54L60DY4foAaVbwqZlXATtGCRwY";;
    NSError *error = nil;
    ZXDataMatrixWriter *writer = [ZXDataMatrixWriter new];
    ZXEncodeHints *hints = [ZXEncodeHints hints];
    hints.encoding = NSUTF8StringEncoding;
    hints.dataMatrixShape = ZXDataMatrixSymbolShapeHintForceSquare;
    ZXBitMatrix* result = [writer encode:qrContents
                                  format:kBarcodeFormatDataMatrix
                                   width:1000
                                  height:1000
                                   hints:hints
                                   error:&error];
    if (result) {
        CGImageRef image = [[ZXImage imageWithMatrix:result] cgimage];
        self.qrImageView.image = [UIImage imageWithCGImage:image];
    } else {
        NSString *errorMessage = [error localizedDescription];
    }

It generates this image

I am currently looking into that issue. Seems like something within the Writer is broken.

Is fixed in the current HEAD. With Carthage you can directly start. I am pushing a new podspec to CocoaPods right now.


PointerPointProperties HasUsage table is not displayed

The HID usages table from https://github.com/MicrosoftDocs/winrt-api/blob/docs/windows.ui.input/pointerpointproperties_hasusage_907430020.md#-remarks is not rendered correctly. See screenshot from https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.pointerpointproperties#Windows_UI_Input_PointerPointProperties_HasUsage_System_UInt32_System_UInt32_:

Thanks for notifying us of this issue. I'll push an update as soon as possible.


Implement versioned config files and migrations

Before versioned config files are introduced, we have config.json and profiles.json like:
{
  "provider_parameters": {},
  "drg_pak_path": null
}

{
  "active_profile": "default",
  "profiles": {
    "default": {
      "mods": []
    }
  }
}

The mod groups PR will need this to become something like (profiles.json renamed to mod_data.json):
{
  "version": "0.1.0", // config version, not necessarily the tool's version
  "provider_parameters": {},
  "drg_pak_path": null
}

{
  "version": "0.2.0", // mod_data.json version, not necessarily the tool's version
  "active_profile": "default",
  "profiles": {
    "default": {
      "mod_groups": {
        "default": true,
      }
    }
  },
  "active_group": "default",
  "groups": {
    "default": {
      "mods": []
    }
  }
}

The migration for transitioning from naive mod profiles to mod groups requires that a mod group is created for each naive mod profile containing the naive mod profile's mods. For example, if naive mod profile X depends on mods {1, 2, 3} and naive mod profile Y depends on mods {4, 5}, we need to create new mod groups A -> {1, 2, 3} and B -> {4, 5}, and have new profiles X -> mod group A, Y -> mod group B.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1783 ms

Resolved: Bofrost.de performance has improved in aa16530 after 7 minutes.


Refactor the driver to provide a standard SPI driver interface.

Modify the driver's interface to make it usable by embedded/no_std applications in a way similar to other SPI drivers:

Borrow delay source rather than taking ownership of it
Take ownership of CSX pin
Simplify gpio pin error handling

Just saw #1  -- I'm going to refactor this code to support the display-interface trait as well and resubmit.  The delay source ownership is important imho.


Nulls in the last column of a TSV file are not written correctly and are dropped in DROPMALFORMED mode

I am working in a system where I need to both read and write data frames.
The rest of our system requires null values to be expressed as quotes. However, if a null value is in the last column of a row then it will be skipped rather than written as "".
For example this dataframe:
has two rows Row("", fish) and Row(red, "").
is written as
"" \t blue
red
where as with a comma delim it is:
"", blue
red, ""
We have dirty data so we have to use the DROP_MALFORMED mode, which will then drop the rows with nulls in the last column. I am not sure what to do since i need to preserve those rows and I need the null values to be recognized by the rest of our system.
The following unit test illustrates the problem:

 test("CSV Parser Tab delim and nulls in the last column"){
    import com.databricks.spark.csv._
    val path = "target/test-results/FishDataOutput"
    sparkUtils.deleteFilePathIfExists(path)
    val originalData = Seq(
      FishColor("red", "fish"),
      FishColor("test", null),
      FishColor("blue", "fish"),
      FishColor(null, "fish"))

    val tSVAttributes: Map[String, String] = Map(
      "delimiter" -> "\t",
     "header" -> false.toString,
     "nullValue" -> ""
    )

    val dataFrame = sqlContext.createDataFrame(sc.parallelize(originalData))
    dataFrame.saveAsCsvFile(path,
    tSVAttributes)
    val schema = dataFrame.schema
    val readOutput: DataFrame = new CsvParser()
                                .withParseMode("DROPMALFORMED")
                                .withTreatEmptyValuesAsNulls(true)
                                .withUseHeader(false)
                                .withDelimiter('\t')
                                .withSchema(schema)
                                .csvFile(sqlContext, path)

    val nulls = readOutput.rdd.filter(row => row.anyNull).collect()
    val result: Set[Row] = readOutput.collect().toSet
    assert(result.toSet.contains(Row.fromTuple("test", null))) //fails. This line is dropped.
    assert(readOutput.count() == 4) //Fails length = 3
    assert(nulls.length == 2) //fails length = 1
  }

The output of the file that was written looks like this:
red	fish
red
blue	fish
""	fish

Thanks for the bug report.


Profiler hangs when running functional bloom

@arakhmati needs to confirm if this is still an issue.

Closing as we could not reproduce.


Package XXX has no versions that match YYY derived from

I have two packages, both both rely on reflectable: ^0.5.0
pub get gives me the error message:
Package reflectable has no versions that match >=0.5.0 <0.6.0 derived from:
- beanvalidator 0.1.0 depends on version ^0.5.0
- validate_sample depends on version ^0.5.0

reflectable has currently 0.5.0

PS: Here is what I get from pub -v update &> pub.update.txt
pub.update.txt

Does validate_simple or di depend on analyzer < 0.27.0?
reflectable 0.5.0 depends on 0.27.1

It's probably di - as you assume it depends on analyzer < 0.27.0
But even it is di - what does this error message mean???? It's absolut crap!
I also tried to overwrite the analyzer dependencies via dependency_override - no chance.

This message is misleading and a known issue and it just means that pub couldn't find a compatible set of dependencies. There are probably more conflicts.

This issue was moved to dart-lang/pub#1375


fix validation to be consistent with market creation end of next month

merged this template PR into other template PR. closing


Update node modules and some other minor fixes

Mostly fixing a lot of warning messages and some regressions caused by update

Commits were rebased locally and merged into main: https://github.com/byrd-polar/fluid-earth/compare/134500414dee2f1786d0fc39b4bb381a1314c56c...46984385e9f88f42a72560dc07a681961709db41


Why we use Yarn

Adds a blog post about why we use Yarn at Widen.

@dbeg @feltnerm Would appreciate a review on this when you have a chance.  Thanks!


CI: set up linting

Depends on #8
Same implementation as https://github.com/differentiable-swift/swift-numerics-differentiable/pull/2
except for also adding the NoAccessLevelOnExtensionDeclaration rule here. Which we should update in the other repos as well.

I think we'll have to switch to Nick Lockwood's formatter. That way we can also define a custom rule that allows _vjp spelling for functions which I'd like to do. Haven't found a way for custom rules in apple's swift-format yet.

Nice. We should probably add a comment why we're disabling swift-format for those files and link to the issue once we have created one

I've overhauled this branch to use Nick's SwiftFormat - PRs coming to other repos as well
In the long term I'd still like to use the apple one just to keep our dependencies completely clean, but it is definitely not ready for primetime yet

bump @clackary @JaapWijnen


az costmanagement query not working

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az costmanagement query Extension Name: costmanagement. Version: 0.1.0.
Errors:
No module named 'azure.mgmt.core'
Traceback (most recent call last):
python3.8/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 625, in execute
    raise ex
cli/core/commands/__init__.py, ln 689, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 682, in _run_job
    six.reraise(*sys.exc_info())
...
azext_costmanagement/vendored_sdks/costmanagement/__init__.py, ln 9, in <module>
    from ._cost_management_client import CostManagementClient
azext_costmanagement/vendored_sdks/costmanagement/_cost_management_client.py, ln 11, in <module>
    from azure.mgmt.core import ARMPipelineClient
ModuleNotFoundError: No module named 'azure.mgmt.core'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az costmanagement query --scope {} --timeframe {} --type {}

Expected Behavior
Environment Summary
macOS-10.15.5-x86_64-i386-64bit
Python 3.8.2
Installer: HOMEBREW

azure-cli 2.3.1 *

Extensions:
account 0.1.0
costmanagement 0.1.0

Additional Context

add to S173

Do you might give it a try on the latest Azure CLI? 2.8.0?

@mhpaf  any update?


Make 'def ...' declarations to work as expected in Specfile to reuse override statements

Sample for testing: https://github.com/maximkhatskevich/MKHRequirement/tree/develop

Sample for testing: https://github.com/maximkhatskevich/MKHRequirement/tree/develop

Hi @maximkhatskevich, thanks for filing this! This is some kind of strange metaprogramming / scope issue. Definitely one to fix!

The issues is potentially caused by a safety feature where iinstance_eval doesn't allow for access of the outside scope.
So the code in the project DSL and configuration DSL are executed in their own sandboxed scope. This means your custom method doesn't exist to the code in the configuration block hence the error.
We are looking into implementing a fix detailed here http://djellemah.com/blog/2013/10/09/instance-eval-with-access-to-outside-scope/


schema.sql's statements should be separated by ; for sqlite.

Current output for schema.sql

--
-- Sqlite SQL Schema dump automatic generated by geni
--

CREATE TABLE schema_migrations (id VARCHAR(255) PRIMARY KEY)
CREATE TABLE company
(
    id                           TEXT PRIMARY KEY NOT NULL CHECK ( length(id) = 10 ),
    representative_name          TEXT             NOT NULL,
    headquarters_address         TEXT             NOT NULL,
    business_registration_number TEXT UNIQUE      NOT NULL CHECK ( length(business_registration_number) = 10 ),
    company_name                 TEXT             NOT NULL,
    industry_code                TEXT             NOT NULL CHECK ( length(industry_code) = 5 ),
    industry_name                TEXT             NOT NULL
)

Seems like a very minor fix, but I don't have the time to look through the source code for now.
I'll also try to come back to it if it's not fixed in the future.

Hey, Fixing! Thank you for reporting it

Which database are you using?

@emilpriver Wow that was fast. I'm using libsql in turso local dev mode.
Created the db using the turso cli command. turso dev --db-file db/local.db
Sorry for not providing a reproduction.

haha I was looking at my Github notifications almost the same second you created the issue :D
Seems to be a issue with sqlite which includes sqlite and libsql drivers. I am fetching this from sqlite_master' table in your database so it should be enough with adding a simple ;` to the code

Solved it
warning: `geni` (lib) generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.62s
     Running `target/debug/geni up`
12:54:04 [INFO] Running migration<PHONE_NUMBER>
CREATE TABLE schema_migrations (id VARCHAR(255) PRIMARY KEY);
CREATE TABLE company
(
    id                           TEXT PRIMARY KEY NOT NULL CHECK ( length(id) = 10 ),
    representative_name          TEXT             NOT NULL,
    headquarters_address         TEXT             NOT NULL,
    business_registration_number TEXT UNIQUE      NOT NULL CHECK ( length(business_registration_number) = 10 ),
    company_name                 TEXT             NOT NULL,
    industry_code                TEXT             NOT NULL CHECK ( length(industry_code) = 5 ),
    industry_name                TEXT             NOT NULL
);
12:54:04 [INFO] Success

@emilpriver That's nice. Thanks have a great day!

u2!


pac4j-cas connection problem with self-signed certificate

I have faced SSL issue trying to integrate CAS REST client (pac4j 1.8).
As I've mentioned in the title I use self-signed certificate to communicate with CAS over HTTPS.
Previously I successfully used shiro-cas, where this problem was "solved" by custom HttpURLConnectionFactory/AnyHostnameVerifier which is passed as an argument to org.jasig.cas.client.util.CommonUtils to establish connections.
It seems that pac4j uses own utility class org.pac4j.cas.util.HttpUtils to establish connections and there is no ability to configure custom connection factory.
org.pac4j.core.exception.TechnicalException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
    at org.pac4j.cas.credentials.authenticator.CasRestAuthenticator.requestTicketGrantingTicket(CasRestAuthenticator.java:92)
    at org.pac4j.cas.credentials.authenticator.CasRestAuthenticator.validate(CasRestAuthenticator.java:67)
    at org.pac4j.cas.credentials.authenticator.CasRestAuthenticator.validate(CasRestAuthenticator.java:40)
    at org.pac4j.http.client.direct.DirectHttpClient.getCredentials(DirectHttpClient.java:70)

I'm not sure why Misagh choose to create a specific HttpUtils class over the CommonUtils one from the CAS client, but I think it could be changed: @mmoayyed ?
@xRomZak : would you mind trying to jump into that issue and submit a pull request?

CommonUtils I think ports over the apache http client, which seemed overkill for what we have here.

Yes, we'd better avoid pulling such a dependency. @xRomZak : I guess you can somehow copy this behaviour on our current implementation.

And since you are dealing with a self signed cert, I am not really inclined to support adding this type of feature, unless you have a better use case.

thanks for feedback. try to find a workaround.

@xRomZak : what's the state of this? should we close it?

@leleuj you can close it. I have nothing to add.

OK. Thanks

@xRomZak did you find a workaround for this? Having the same issue.
My deployment is an intranet and it's mostly accessed directly through the IP (no DNS) so it's hard to get a valid certificate in place.


Find-DbaUnusedIndex documentation doesn't match code

Before submitting a bug report:

[X] Ensure you are able to reproduce it on the latest released version (we release often)
[X] Verified this bug is not already reported in an issue
[X] Verified errors are not related to permissions
[X] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Steps to Reproduce
Via conversation on Twitter, learned that the documentation for this function doesn't match functionality. https://twitter.com/texasamy/status/1033095976104415232

Execute get-help find-dbaunusedindex
Note that help text references how much space can be saved by dropping the index, a gridview, and compression
Review code; none of these items are referenced in the code

Expected Behavior
Documentation should match the features of the function.
Gridview was removed in #2975
I can't see references to removing (or adding) the compression checks and space saved in past issues. Were these planned features but not implemented? Removed at some point?

Goodness this one needed a rewrite


Workflows: actor ID should not use the # character (Workflows not working with Cosmos DB)

In what area(s)?
/area runtime
What version of Dapr?

1.10.x
master

Description
This issue was originally reported by @mPyKen here:
When Workflows creates the actor ID, it includes a # in the name: https://github.com/dapr/components-contrib/issues/2071#issuecomment-1480914079
https://github.com/dapr/dapr/blob/beef33d04f9528e312fe5d71ab6318a9c0728830/pkg/runtime/wfengine/workflow.go#L466-L470
This makes Workflows not usable with certain state stores such as Cosmos DB.
After discussing with @cgillum offline, we think the best approach may be to change how actor IDs are named by workflows, using a different character. This will be a breaking change (on an alpha building block), but because the # is not commonly used, we are unsure what other issues may appear.

It would be nice if the delimiter was configurable on any state store when enabling actorStateStore. That way it would still be backwards compatible. You never know which database accepts which characters or when users actually want to use those reserved characters
  - name: actorStateStore
    value: "true"
  - name: actorStateStoreReservedCharacters
    value: "|#"

I would err on the side of caution and just avoid using any character that is not a-z0-9-_, so the burden is not on the user to configure this

Hi @artursouza. Can we reopen this issue? The PR that closed it didn't fully resolve the problem. I realized there are still cases where we might use # in the actor ID - specifically, we need to update some internal code in workflow.go.

Done


Add support for ComplexSpace and CartesianSpace

Adds support for tensors with sectortype(t) == Trivial.
Also adds the C4 and D2 point groups through the same interface by specifying empty reflections and/or rotations and ignoring the corresponding representations. If this is too hacky I can remove these again and only add the support for trivial symmetries instead.

Thanks! :)


Lads on their way to ban Bobby for like the 218th time oh yeah

Hey what's going on big man or woman reading this I was banned and it said to go here if I feel its wrong and so look at that I have arrived.
Was I banned on accident in some mix-up again or was I the dude doin smthn.
If I was doin something you should give an in-depth explanation of what I have done to deserve the permban so that I may rebut said reasoning thank you.
Also if it is the latter you should explain to me in some Discord dms for my convenience if that's acceptable. Thanks again man cool.

Honestly man, I would have thought the reasoning pretty clear.  You argue mindlessly with those who stand up to you, and harass those that don't.
This game of cat and mouse has been going on for so long, and honestly we are all sick of it. You've had hundreds of second chances, and every time you say that it's unjust, because you have gotten better. We've come to notice that while you are "getting better", what you are really doing is just enough so you can skirt the line all over again.
Because of this, and because of the way you choose to treat the rest of our server members, you will not be unbanned.

Okay but no.
 Even when I go out of my way to say no that is not what I'm trying to do you still take it as that, you're making my statements absolutely irrelevant just because you don't want to believe them. I do not 'sling off' at anyone unless they whippin out at me or if I'm joking around in which case I will blatantly state that I am joking to try to avoid misunderstandings such as this, saving the both of us a good chunk of our time. You say I twist my words even though I restate them exactly as before with slight word alterations to make it more easily understandable, it is not up to you to tell me what I intend to say. You need to understand that you do not know how everyone's minds work and that some people spew information out in different ways than others, sometimes resulting in strings that you consider malicious but are not to the other party. You tell me I argue mindlessly with those who stand up to you, but I am currently arguing while bringing up points I believe to be reliable in this circumstance against someone who has taken an action I do not agree with, as such of every other argument I've taken part in here. You say I harass people who don't stand up to me but I have harassed absolutely nobody in my time here outside of jest. You tell me all these negative things about what I've done with absolutely no examples supporting these thoughts. This game of cat and mouse has indeed gone on for too long, it would really be great if time could be spared and staff would stop chasing me for every minor thing I do that they think they can start a witch hunt out of. We both know that the entirety of staff has to be told to drop nearly every single hunt revolving around me, yet they still continue to pursue at even the smallest passive action I take. Those hundreds of chances you say were given to me were extremely unrealistic, expecting me to be completely silent so staff doesn't get off on me the second I say "The". I say all past times were unjust because well Ras agreed that they were, so that means they probably were. If the comment I was banned for was made by any other player it would've been ignored, but since I made it I wasn't even given time to explain and got banned. This is not fair and in my eyes is an example of a witch hunt, which Ras says she defends me from, although not this one apparently.
Because of these thoughts, I believe I should not have been banned in the first place, and that is should be repealed. Thank you.


ND wheels don't keep memory of position between soft-shut downs.

I can have an ND wheel at say 1 OD. I then shutdown PyCMDS (correctly) and upon restart PyCMDS says the ND wheel is at 0.000 OD even though the wheel hasn't moved position since before the restart.

Everything has changed---this issue is out of context


Missing Sound cards and network cards for PPC.

On UTM v1.0 RC3 and RC4 the app implemented some sound cards (Screamer / Burgundy) and network card (Sungem) for Power PC Mac OS 9 emulation but in 2.x aren’t listed as an option.
What happened? Thanks.

The missing soundcards are not resolved (#312) because it requires a fork of QEMU which is not under consideration at this time. The missing network card is a label problem (it shows up as "None") and will be fixed.


[8pt] Feature_id crosswalk

The hydroid pictured below has been crosswalked to a feature_id on a totally different stream over a mile away.

oid
581759

NWM Feature ID
4683376

Hydro ID
11050060

USGS HUC8
02050302

Streamflow (cfs)
2382.7

HAND Stage (ft)
5.54

FIM Version
4_0_13_1

Branch
0

The crosswalk_table.csv in the previous_fim folder fim_4_0_13_1 doesn't show this combination of NWM feature ID + Hydro ID. That should be the definitive listing, right? (version 4_0_18_0 also doesn't show that combination, just for the record) To track this down further: where does this 50% AEP data and service get created? Is that something we provide, or is it hydrovis?

HydroVIS creates the AEP FIM service by inundating each HUC at the NWM retrospective recurrence intervals. The crosswalk_table.csv should be definitive, but let's check the hydroTable.csv and the catchments geopackage (gw_catchments..._0.gpkg) just to be thorough.

The hydro ID 11050060 is paired with the feature ID 4682656 in the crosswalk_table.csv, in the gw_catchments..0.gpkg, and in the branch 0 hydroTable.csv on our foss_fim fileshare. Not sure how that feature ID 4683376 is getting matched to the hydro ID for the service, but it doesn't appear that our data is the source of the problem.

bringing @CoreyKrewson-NOAA into the discussion on this ticket

This is a good catch. I am looking at all our datasets and I am seeing the same thing as you so I am wondering if it is a bug in the actual inundation code. I will dig into it today

so I just reran that HUC for the AEP 50 run and I didn't get this issue again. Ill rerun the whole domain and see what if we see this issue again

I am almost done recreating the AEP FIM data. I also went through and ran some code to compare feature id with the crosswalks and no errors were found so I think the issue will be resolved after this

Thanks for confirming that the services are being crosswalked correctly, Corey. And thanks for looking into this one, Laura.


[FEAT] Stop using YAML; Move plugin info and data to separate file

Is your feature request related to a problem? Please describe.
Currently running the plugin and studying is great but it runs havoc on my version control system because of the file changes on everything I studied (due to YAML). This caused due to the storage of spaced repetition data on each individual file via YAML.
Describe the solution you'd like
A modular approach would be ideal so that the notes are independent of my studying. My notes on "Newton's Laws" shouldn't change every time I just read them right?
If possible the data on my studying should be stored in a separate container file and that should change. It would make it much easier to track from a version control standpoint how much studying I'm doing.
Additional context
To be clear I'm talking about the YAML info below

Edit for grammar and clarity

Which VCS are you using?
I think conflicts are less problematic with the current system compared to in one central file. For instance, we wouldn't store the file name, but rather some unique id to protect against file renames & stuff. Now trying to make corrections to the central file becomes much more difficult.

Thanks for the response!
I use git, I realized my language made things confusing. When I mentioned it caused havoc on my version control system, I meant that it caused change in files that upon review of my git history , hinted that something changed (when in reality, nothing in the content meaningfully changed).
In my head, I'd prefer that all information related to my review would be consolidated in one file. I can easily deal with some messiness with that file. It also seems attractive to be able to look review status in one file.
Your point makes sense, it does seem to be quite difficult to have your plugin somehow track all renames too. Perhaps my recommendation is completely impractical then.
Feel free to mark this as closed if the task is too hard.

I personally would also find this a valuable feature! For an example on implementation see the Recall plugin.
My reason is that I share a common wiki/notes with friends from med school, that we sync over GitHub, and would like to use Spaced Repetition to review notes. With it in the frontmatter everyone would have the same status of review, so it doesn't work out. This would be solved if the review status was saved in a separate file that would be different for each person.

+1
want  this a valuable feat too.

I would also find this useful please add this

If the plugin stores scheduling info in a dedicated file, how to maintain the mapping between notes and scheduling infos? Should we need to store something like noteId or cardId in the question text?

Team, appreciate you considering this feature. It would be a huge and valuable upgrade. Please let us know if we can help?


Program crashes when FPS refresh rate is less than 3

This is likely because the FPS isn't calculated for the first two frames at the beginning

Could not reproduce after the last commit e2244bbfa4c2a89fd48e90ed314e9c34c677481e


updates to imagehash and README.md

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 146 (4.11%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 50.098%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

imagehash/transforms/etcs.go
0
1
0.0%

imagehash/transforms/pixels.go
0
11
0.0%

imagehash/transforms/dct.go
1
34
2.94%

imagehash/transforms/static.go
0
95
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2813

Relevant Lines:
5615

💛  - Coveralls


Tips and ideas to improve current accuracy

Hello
Thanks for the great job you guys did, I was wondering do you have any tips or ideas to improve the current accuracy?, where do you think it lacks the most, I would like to try and improve the results of the current project and i would really appreciate any tips or even ideas on where to begin or start digging.
Thank you!

Hi,
there are many possible directions, e.g.
-online updating / fine-tuning like in DiMP https://arxiv.org/abs/1904.07220
-improving the RPN, which is at the moment frozen from COCO pre-training
-improving the way the features between the reference and the target RoI are combined
-a more systematic way to handle multiple objects
-improving the efficiency (e.g. more efficient backbone)
-using a memory mechanism for temporal context
-...


Not draggable on Windows 10.

 And the window is basically non-functional, I tried to use it in my existing app but nothing shows up. And the Windows isn't draggable. From the description of the library/app, you seem to rely on lots of hacks. I'm not surprised it doesn't work in Windows 10. I'll have to use another lib or another method.

me to,entire Window is blue and ugly with ugly buttons!!!

the mainwindow style can be optimized, after I modify, the experience is very good


Create LICENSE

(Assuming it's MIT, as in the package.json)
Thank you!

Whoops, your assumption was correct. :) Thanks @l5x!


Return key in preferences doesn't correspond to "ok"

🐛 Bug
Right now when I have the preferences dialog open and press the return key it doesn't correspond to "ok" instead it asks me if i want to return to the default settings. I'd expected it to correspond to ok. We might also want the shading of the "ok" button to be slightly different to indicate that it is "in focus" when the dialog opens.
cc @ppwadhwa @goanpeca

We might also want the shading of the "ok" button to be slightly different to indicate that it is "in focus" when the dialog opens.

Agreed, but this is a more general issues, Mac by default disables tab navigation and focussing but we can force that with Qt.
Since we have color for hover, a different shade for in focus might not be that noticeable/accessible. Then this will depend on the OS, Mac usually put a blue outline to indicate focus. But Win might put a dashed outline to indicate the same. In general I like that it is clear if a button is hovered AND it has focus.
@liaprins would love to hear your thoughts on this and suggestions :)

Agreed, but this is a more general issues, Mac by default disables tab navigation and focussing but we can force that with Qt.

Yup ok, happy to punt on the styling/ focus/ tab issues - but i think we should fix the return => ok instead of revert to default

but i think we should fix the return => ok instead of revert to default

Agreed, working on a fix :)

Yes, I agree that showing an in-focus state would be helpful, ideally if it can align with the OS's default design ... is it possible to do this with QT @goanpeca ? If we cannot call on the existing OS's focus design, then I think in general using a blue outline (similar to Mac OS treatment for in-focus) would communicate the idea.
Lastly, I was not sure what you meant by this @goanpeca :

Mac by default disables tab navigation and focussing

Do you mean that happens in certain cicrumstance that happens to the Preferences dialog? If so, what causes that? Ideally it would not be disabling tab navigating and focus states (for a11y purposes)?


Maven Central

Are you planning to push your releases to maven central?

Maybe, in the future. Currently it is pushed to JitPack: https://jitpack.io/#mzielinski/spring-cloud-contract-oa3


Add build flags command

Is the main change here how ziti CLI's built-in, generated info version string is computed? Now it's based on a next v. previous release tag. I believe the rest is additive.

The change is that we don't generate branch or user in the build info anymore. No change to where the version is pulled from.
When emitting build flags (which will replace the build info file generation) we allow the option of using current or next version. When releasing off of a tag, we'll want to use current instead of next, since the tag has already been made.


Linux shell not detected

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

VS Code Version: 1.70.0
OS Version: Ubuntu 22.04

I have 4 shell on my linux desktop: bash, sh, fish, zsh. All are works correctly when I launch it by using gnome-terminal.
However I can't use fish and zsh on VSCode.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.71.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Related: https://github.com/microsoft/vscode/issues/161219

I just came across this, or a related issue in VS Code 1.74.3:
In a codespace with "terminal.integrated.defaultProfile.linux": "fish", the code command is not correctly set up in integrated terminal.  Running code --help returns code or code-insiders is not installed.
If I change to "terminal.integrated.defaultProfile.linux": "zsh", and open a new terminal, code works as expected.

This might be related to where you have fish installed. I cannot reproduce, thus closing.


Fix AWS apigateway TooManyRequests exception

Added AWS Config with retry logic to fetch API Gateway resources. We have tested it on our own service deployment.
https://github.com/lyft/cartography/issues/559
cc: @cpollard0

Have we considered using the AWS_MAX_ATTEMPTS environment variable, having boto3 pick it up, and not setting it in code? End users can use the setting that's best for them, and we could update the readme to give some guidance on how to and best practices. It'll also affect all clients, so no need to set and maintain it in a ton of places.

@cpollard0 Hm, good point actually. I wasn't actually aware of that. We should update documentation instead on boto3 config information available: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#using-environment-variables

@achantavy @cpollard0 I like the idea to use environment variables instead of assigning a static value. I can update the documentation with this information.
I see another instance of similar code at https://github.com/lyft/cartography/blob/master/cartography/intel/aws/elasticsearch.py#L41
https://github.com/lyft/cartography/blob/master/cartography/intel/aws/elasticsearch.py#L41
We should standardize to have just one set of config in the AWS intel root, instead of inside EC2 folder. What do you guys think?

I can update the documentation with this information.

Thank you!

We should standardize to have just one set of config in the AWS intel root, instead of inside EC2 folder. What do you guys think?

The fully correct solution would be to encourage using the env vars instead  and eventually remove these functions completely (can come in a future PR)

@achantavy i have updated the docs


[Feature] Temporarily rolling back first class dimensions

Description
A minimalist approach to rolling back functorch.dim.

Closed as of #32


Security update jackson-dataformat-yaml

Update jackson-dataformat-yaml to mitigate vulnerability in org.yaml:snakeyaml.

@LisaWellman @klwhaley one more security update here.
It'd be great to see a release since there are many vulnerabilities fixed over the past year.
Thanks!

Thanks for your contribution!
Yes, we will do a release soon - I will review the PRs and see if there are any others we want to get in.


Doesn't work on 51.2V 200ah LiFePO4

Hi,
might be obvious (?) but I tried Your solution on a BasenGreen 10KW Wall-Mounted 51.2V 200ah LiFePO4
https://www.basengreenshop.com/48v-lfp-series/basengreen-10kw-wall-mounted-51-2v-200ah-lifepo4-battery-pack-for-solar-energy-storage
and it doesn't seem to work:

Any chance this could work somehow?

Whats the advertised bluetooth name of the BMS?

TP_BSTBD-23I-401

Now realizing it might be a tianpower BMS i tried Your other repo, but to no avail:

It looks like you have missed to update the mac_address substitution to the MAC address of your device.

Oh boy, I missed that, now it works, I almost can't believe it!
Thanks for Your help and great work!

Could you provide some details of your battery? I would like to extend the README of the tianpower BMS project.

Sure, what do You want to know (the store page pretty much gives all the tech-details?)

This is my paypal handle: paypal.me/syssi84


How do I use to detect license plate from static image?

Is it available on this library? I see only Camera and it's options on the index.js file. I'm using another library for capturing image, video using image-picker.
I have the path, and how do I use the image path for it to return the onPlateRecognized event?

I am sorry. This is not available.


Regression in windows-2022: pkg-config no longer finds a pacman-installed ICU library

Description
Concerns: windows-2022
Works in: 20230918.1.0

E.g. 2023-09-27 https://github.com/agda/agda/actions/runs/6327426841/job/17183238978#step:8:2

Fails in:  20230924.1.0

Reproducer: https://github.com/andreasabel/gha-test/actions/runs/6348182406/job/17244347646
In the wild: 2023-09-28 https://github.com/agda/agda/actions/runs/6331284970/job/17195536846#step:8:1

Problem: The following steps used to install the ICU library so that pkg-config --modversion icu-i18n could find it.
https://github.com/andreasabel/gha-test/actions/runs/6348182406/job/17244347646#step:2:2
$env:PATH = "C:\msys64\usr\bin;$env:PATH"
pacman --noconfirm -Sy mingw-w64-x86_64-icu
echo "C:\msys64\mingw64\bin" | Out-File -FilePath "$env:GITHUB_PATH" -Append

Now, after these steps:

ICU packages are not listed under pkg-config --list-all
https://github.com/andreasabel/gha-test/actions/runs/6348182406/job/17244347646#step:3:1
pkg-config --modversion icu-i18n errors
https://github.com/andreasabel/gha-test/actions/runs/6348182406/job/17244347646#step:4:2

Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
See above.
Is it regression?
Yes, see above.
Expected behavior
See above.
Actual behavior
See above.
Repro steps
See above.

I am a bit surprised the same problem does not show here: https://github.com/haskell/text-icu/actions/runs/6341763757/job/17226111909#step:5:2
    - name: Setup MSYS path for pkg-config
      run: |
        echo "C:\msys64\mingw64\bin" | Out-File -FilePath "$env:GITHUB_PATH" -Append

    - name: Install the ICU library (Windows)
      run: |
        $env:PATH = "C:\msys64\usr\bin;$env:PATH"
        pacman --noconfirm -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-icu

    - name: Determine the ICU version
      shell: bash
      run: |
        ICU_VER=$(pkg-config --modversion icu-i18n)
        echo "ICU_VER=${ICU_VER}"

Hey @andreasabel. I've looked into your issue, and it doesn't seem to be a runner regression.
When I compared the working workflow with your "reproducer", I noticed that you forgot to install the mingw-w64-x86_64-pkg-config package. While there is a pkg-config in the PATH, it's related to a different package. To make it work within msys64, you'll need to install mingw-w64-x86_64-pkg-config manually using pacman. Additionally, you should add C:\msys64\mingw64\bin to your PATH variable.
Here's an example of a working workflow:
- name: Add mingw64 to PATH
  shell: pwsh
  run: |
    echo "C:\msys64\mingw64\bin" | Out-File -FilePath "$env:GITHUB_PATH" -Append
- name: Install MinGW and ICU library
  shell: pwsh
  run: |
    $env:PATH = "C:\msys64\usr\bin;$env:PATH"
    pacman --noconfirm -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-icu
- name: Verify ICU library
  shell: pwsh
  run: |
    pkg-config --modversion icu-i18n

@vpolikarpov-akvelon Thanks for looking into my issue! Any help is appreciated; I currently don't know a way forward.

Here's an example of a working workflow:

Isn't this identical to the version I tested in https://github.com/actions/runner-images/issues/8412#issuecomment-1740558266 ?  Details at: https://github.com/andreasabel/gha-test/actions/runs/6348680094/workflow
Maybe I am blind, but I fail to spot the diff.

Maybe I am blind, but I fail to spot the diff.

The main difference is -y flag presence for pacman command. It forces pacman to download a fresh copy of the package database from the server. As a consequence it installs newer versions for mingw (0.29.2-4 instead of 0.29.2-3) and libwinpthread. I suppose there is a bug in 0.29.2-4 (look at some recent PRs: https://github.com/msys2/MINGW-packages/pull/18641, https://github.com/msys2/MINGW-packages/pull/18647). So I'd suggest you to remove that flag until fixed version is published.

Wow, dropping the -y worked wonders here: https://github.com/andreasabel/gha-test/actions/runs/6353373031/job/17257969621

Well, I'm glad it helped. Feel free to reach out again if you have other questions about runners. Good luck!

Instead of using mingw-w64-x86_64-pkg-config, you should be using mingw-w64-x86_64-pkgconf which has better support for Windows.

To help me understand where the problem could have come from:
Which of the changes listed in https://github.com/actions/runner-images/releases/tag/win22%2F20230924.1 could be responsible for this?  They all look innocuous.  E.g. nothing mentione MSYS2 here.

pacman -Sy updates the package database from the MSYS2 server. So, you'll get packages that might be newer than the ones when the runner image was created.
The version of pkg-config that is currently shipped as the newest by MSYS2 has an issue and crashes on invocation. The older version (prior to pacman -Sy) didn't have that issue.
pkgconf doesn't have that issue. It is like an "unofficial successor" of pkg-config. Among other things, it has better support for Windows and for static linking.

Thanks @vpolikarpov-akvelon and @mmuetzel for your help.  I managed to repair our CI.

https://github.com/agda/agda/pull/6891


Feature Request: allow brew pin to work on versions other than the latest version of a formula

It would be very nice if brew pin could be used to pin to an older version of a formula as long as it's already installed on the system (e.g. it is accessible via brew switch), either by doing brew switch then pinning or allowing pin to accept a version number similar to switch.
I recently ran in to a problem with ffmpeg, where a (non homebrew) library I use would only work with ffmpeg 2.8.6. ffmpeg is not in homebrew/versions, but luckily I had 2.8.6 installed so it was easy enough to brew switch to this version. However there was no way for me to keep it from getting upgraded in the future, meaning every time that the formula updated I would need to re-run brew switch. I've been fighting this for several months now. Just today to resolve this, I ended up increasing the depth of homebrew-core on disk and manually checking out an old version of the ffmpeg formula, reinstalling, then pinning.
pin_formula.rb looks like it supports this via the pin_at(version) method, but looking at pin.rb in brew's cmd directory it looks like the subcommand is not set up to handle this use case very well at all unless an awkward syntax is introduced as the argument vector is assumed to just contain a list of formulae to be pinned. So possibly switching the pin() in pin_formula.rb that calls through to pin_at(version) to use the current version instead of the max version?
I don't really know much Ruby but I could take a stab at a PR for this if changing this behavior isn't totally offensive to anybody.

However there was no way for me to keep it from getting upgraded in the future, meaning every time that the formula updated I would need to re-run brew switch.

This part is actually by design, if I understand what you're saying here. If you have other things installed that depends_on "ffmpeg" and they get upgraded, your ffmpeg is dragged along with it.
This is because we only test and bottle the latest against the latest in core formulae and it's a rabbit-hole of misery to open ourselves up to configurations where people keep increasingly old versions around and used with up-to-date other formulae and don't expect chaos.
If you're saying that you have ffmpeg installed but nothing that brew uses ffmpeg I'm more sympathetic to the idea an upgrade later shouldn't bump it, if that's happening for you.

If you're saying that you have ffmpeg installed but nothing that brew uses ffmpeg I'm more sympathetic to the idea an upgrade later shouldn't bump it, if that's happening for you.

This is the idea. I do not have anything from homebrew that uses ffmpeg, only internal libraries that need it, and I had to come up with my own way to pin at an older version because I didn't pin it when 2.8.6 was the newest version back in February.

This usually works
bash-3.2$ brew log ffmpeg | grep bottle|grep 2.8|head -1
    ffmpeg: update 2.8.6 bottle.
bash-3.2$ cd /usr/local/Library/Taps/homebrew/homebrew-core
bash-3.2$ git reset --hard 7c988bdb8ffb9d2ffcce7606a43e360d98e4982c
HEAD is now at 7c988bd ffmpeg: update 2.8.6 bottle.
bash-3.2$ HOMEBREW_NO_AUTO_UPDATE=1 brew install ffmpeg
==> Installing dependencies for ffmpeg: x264, lame, libvo-aacenc, xvid
==> Installing ffmpeg dependency: x264
==> Downloading https://homebrew.bintray.com/bottles/x264-r2601.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/x264-r2601.el_capitan.bottle.tar.gz
==> Pouring x264-r2601.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/x264/r2601: 10 files, 3.3M
==> Installing ffmpeg dependency: lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.el_capitan.bottle.1.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/lame-3.99.5.el_capitan.bottle.1.tar.gz
==> Pouring lame-3.99.5.el_capitan.bottle.1.tar.gz
🍺  /usr/local/Cellar/lame/3.99.5: 26 files, 2M
==> Installing ffmpeg dependency: libvo-aacenc
==> Downloading https://homebrew.bintray.com/bottles/libvo-aacenc-0.1.3.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/libvo-aacenc-0.1.3.el_capitan.bottle.tar.gz
==> Pouring libvo-aacenc-0.1.3.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/libvo-aacenc/0.1.3: 16 files, 297.5K
==> Installing ffmpeg dependency: xvid
==> Downloading https://homebrew.bintray.com/bottles/xvid-1.3.4.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/xvid-1.3.4.el_capitan.bottle.tar.gz
==> Pouring xvid-1.3.4.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/xvid/1.3.4: 9 files, 1.3M
==> Installing ffmpeg
==> Downloading https://homebrew.bintray.com/bottles/ffmpeg-2.8.6.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/ffmpeg-2.8.6.el_capitan.bottle.tar.gz
==> Pouring ffmpeg-2.8.6.el_capitan.bottle.tar.gz
==> Caveats
FFmpeg has been built without libfaac for licensing reasons;
libvo-aacenc is used by default.
To install with libfaac, you can:
  brew reinstall ffmpeg --with-faac

You can also use the experimental FFmpeg encoder, libfdk-aac, or
libvo_aacenc to encode AAC audio:
  ffmpeg -i input.wav -c:a aac -strict experimental output.m4a
Or:
  brew reinstall ffmpeg --with-fdk-aac
  ffmpeg -i input.wav -c:a libfdk_aac output.m4a
==> Summary
🍺  /usr/local/Cellar/ffmpeg/2.8.6: 228 files, 44.5M
bash-3.2$ brew pin ffmpeg
bash-3.2$ git reset --hard origin/master
HEAD is now at 965c7ad mmix: update 20131017 bottle.
bash-3.2$ brew outdated
ffmpeg (2.8.6 < 3.0.2)
bash-3.2$ brew upgrade
==> No packages to upgrade
==> Not upgrading 1 pinned package:
ffmpeg 3.0.2
bash-3.2$

If you actually need to pin something in a way that isn't subject to the whims of reverse dependencies' upgrade paths, you'd need to maintain a tap with that version and all its requirements.
It might be convenient if brew upgrade of another formula wasn't allowed to override an explicit pin, but that also would need to cause the upgrade of the reverse dependency to fail unless some other kind of force were applied. Such a change is unlikely to be made, I think.

This kinda comes down to a general request for Homebrew to support versions better. This is something we're exploring but, as @ilovezfs, the best bet if you need control over versions is to maintain your own tap for them. Sorry and thanks for the issue.


null is not treated as false

Broken by these changes https://github.com/psychobunny/templates.js/compare/3c880c74fce9...b5f014ba330e
https://travis-ci.org/psychobunny/templates.js/builds/87137944

I reverted the changes above, and all tests pass.
However this still returns the same output, I was expecting it to return empty string. Not sure how the test passes.
var data = {thisIsNull: null};
templates.parse('<-- IF thisIsNull -->this shows up<!-- ENDIF thisIsNull -->', data);
"<-- IF thisIsNull -->this shows up<!-- ENDIF thisIsNull -->"

seems to be fixed with benchpress changes


Add PHP PEAR (pecl) in the image(s)! - PHP 8.0

Thanks for the image.
I'd like to suggest that, you guys could put in this image PHP PEAR, because we frequently need to install another pecl libs like mongo, zip and others for our projects.
If you guys put this in, i'll be very helpfull for testing.
Thanks for every thing!

Sorry guys!
I saw that already had a image with pear!
Thanks anyway!


Cache geocoded results in Restaurants Table so do not have to call the geocoding api on every refresh

-Do batch geocodes and store in database.
-Cache for a set period of time so only have to call geocoding api once a month or something like that
-Prevents having to call the geocode API for all restaurants in database each time the page is refreshed

After talking with @alikasper. We may be able to forgo the geocoding API and just use Google Autocomplete on the Restaurant Address Form. There we can add lat/long columns to the form and then store in the restaurant table.


Document source generators

Help us make content visible
I have found a couple of articles on the .Net blog (Introducing C# Source Generators and New C# Source Generator Samples) and also a couple of documents on the Roslyn repo (Source Generators and Source Generators Cookbook). But I think source generators should be documented on docs.MS. Also, the blog posts are outdated, since they're talking about .Net 5 previews.
Describe the new article
Source generators are a major new feature of the C# compiler and so they should be properly documented.
I think they belong under the Roslyn SDK section of the C# documentation.
The article could be based on the four articles mentioned previously.
cc: @cartermp

cc @chsienki

Thanks @svick, we're currently in the process of writing these up, we'll have some content on docs.ms coming soon.

I'm going to close this, since the article exists now.


Set up CI with Azure Pipelines

learning [skip ci]

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: XinISPMP sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Update get-started-setup-provisioning.md

OPS Build status updates of commit fb67f50:
:clock10: Preparing: average preparing time is 46 sec(s)

OPS Build status updates of commit fb67f50:
:clock10: Incremental building: average incremental building time is 19 sec(s)

OPS Build status updates of commit fb67f50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/get-started-setup-provisioning.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 7361ea9:
:clock10: Preparing: average preparing time is 48 sec(s)

OPS Build status updates of commit 7361ea9:
:clock10: Full build: average full build time is not available, there is no data for this repository.

Note: A full build takes more time than an incremental build.  This is the expected behavior of the build system.

OPS Build status updates of commit 7361ea9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

academic-services/graph/reference-data-schema.md
:warning:Warning

Details

academic-services/graph/get-started-setup-provisioning.md
:white_check_mark:Succeeded

academic-services/graph/media/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/entity-relationship-diagram.png
:white_check_mark:Succeeded

academic-services/graph/reference-data-schema.md

Line 130: [Warning] Invalid file link:(~/graph/resources-faq).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit debf97f:
:clock10: Pending: waiting for processors (19 builds ahead of you)
:warning: OPS Build is busy, click here to report any potential performance downgrade issues, or you could view OPS Portal for trend of build queue length.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Disable print error message when retry occurs

When retry occurs error message is printed to user which can be misleading.

Codecov Report

Merging #691 into master will increase coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #691      +/-   ##
============================================
+ Coverage     77.39%   77.42%   +0.03%
  Complexity      626      626
============================================
  Files           109      109
  Lines          2539     2538       -1
  Branches        361      361
============================================
  Hits           1965     1965
+ Misses          345      344       -1
  Partials        229      229


Create a repo with code sandbox setup

This should be the content for what goes on Code Sandbox. You can import from a GitHub repo, and it may be nice to keep repos pinned at different versions.

Made a new one with v7 https://codesandbox.io/s/82w8yp5359 - will move to the design systems github account once login issue has been sorted.


Chip style issue

RMWC 5.6.0
After upgrading from 5.5.x to 5.6.0 we noticed the styling of chips looks a little off, with the text not centred correctly. Weirdly the RMWC Chip docs look OK, but it seems the docs have some subtle differences with Chip padding and border-width.
This sandbox shows the issue: the first chip has some style overrides that (I think) match the RMWC docs. The remaining chips use the default MDC CSS and the text seems to be too close to the bottom of the chip:
https://codesandbox.io/s/quirky-glade-fpbu1
So were the RMWC docs tweaked for this issue or are we pulling in the wrong version of the MDC CSS? A yarn list @material/chips reports 3.1.0 which I assume is OK.

OK, odd. If I create a new create-react-app and add rmwc then yarn list @material/chips shows this:
rmwc-chip git:(master) yarn list @material/chips
yarn list v1.16.0
├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>   └─<EMAIL_ADDRESS>
Where is v1.1.1 coming from? Could this be related do you think?
yarn create react-app rmwc-chips
cd rmwc-chips
yarn add rmwc
yarn list @material/chips

OK, it's pulling in an older CSS file. We can fix it with yarn add<EMAIL_ADDRESS>for now.

Very strange indeed, thanks for reporting, I'll check it out!

When you install all of RMWC (i.e. with yarn add rmwc) and include the material-components-web CSS file (material-components-web/dist/material-components-web.css) in your app, it still uses the 1.x.x version.
https://github.com/jamesmfriedman/rmwc/blob/214827eaf5ff61a9e1822f66618d096ffe5b6a2b/src/rmwc/package.json#L82

@robcaldecottvelo can you confirm if you are using the main RMWC install or individual packages? I'll get the main rmwc/package.json updated for the next release.

@jamesmfriedman Main RMWC install. We will try and switch to individual packages at some point but a fix for this is much appreciated as always.

@robcaldecottvelo this was an outdated dep in the main RMWC install. This will be resolved in the next release.


remove hack for mean and std AND remove BOOST static dependency

Need to test with MIVisionX PR for tfr_update

PR must pass the Travis test.

@kiritigowda: what is it failing on?

@kiritigowda: what is it failing on?

I had the docker fixed, now passing. Can I merge this @rrawther?


any chance multiple viz can be combined in a single view?

e.g. I want to use CircleViz and RasterTilesViz together so I can see some data over custom tiles.
is this possible?

haven't found it yet