Migrate to Rust 2018

r+

bors r+

@bors r+

escalating r+ does not seem to work XD are we back to pressing merge buttons?

bors ping
@bors are you there?

💔


Don't mark musl's time_t as deprecated in rustc build

This allows rustc to use the latest version of the libc crate.

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

@bors r+

:pushpin: Commit 6c7f2a065d1cfd64306cee7d990e2025717c678b has been approved by JohnTitor

:hourglass: Testing commit 6c7f2a065d1cfd64306cee7d990e2025717c678b with merge ab5aa27d259596befddaa6d5b1066c9a347d74f7...

@Amanieu Feel free to bump version and make a new release.

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing ab5aa27d259596befddaa6d5b1066c9a347d74f7 to master...


Does not support numbers with leading zeros

The interface should accept strings instead of integers. There are IMEIs with leading zeros!

Actually, it can validate numbers of string type, however, the type hints are not showing that. I've fixed it and a new version will be released soon. Thanks for brining my attention to this issue.

Fixed


API mne.grand_average() is not suitable for different EEG montages (non-standard montages)

Description of the problem
Background context:
In our lab, the eeg montage is created for the individual subject from their own head digitization points. Therefore, we don't use standard montage. Our eeg cap size varies from (54-60cm) across subjects. Therefore, montage electrode positions (x/y/z) across subjects vary depending on the actual head size.
API use case:  while creating a grand average across subjects:
mne.grand_average([sub1, sub2..subn]) works normally but the grand average montage is created based on sub1 montage electrode positions, ignoring the other subject montages.
For MEG data and standard eeg montages, its fine since the sensors/electrodes use a fixed layout/locations. But for eeg dataset with different montages, its not correct. The function should give an error prompt while dealing with different montages.
Additional feature:
An alternative idea would be averaging x/y/z electrode positions across subjects and then setting up the grand average montage with average electrode positions. Any other suggestions? I am currently dealing with it. Thanks.
Steps to reproduce
"""
Test case: test mne.grand_average function
"""

# modules
import numpy as np
import mne
from mne.channels import make_dig_montage

# Create simulated evoked with 16 eeg electrodes
biosemi_montage = mne.channels.make_standard_montage('biosemi16')
n_channels = 16
sampling_freq = 1000  # in Hertz
ch_names = biosemi_montage.ch_names
ch_types = ["eeg"] * n_channels
info = mne.create_info(ch_names, ch_types=ch_types, sfreq=sampling_freq)
times = np.linspace(0, 0.5, sampling_freq, endpoint=False)
data = np.random.rand(n_channels, len(times)) * 1e-6  # eeg in uv

# subject1
sub1_evoked = mne.EvokedArray(data, info)
sub1_evoked.filter(1., 40.)
sub1_evoked.set_montage(biosemi_montage)

# subject2: make a copy of the subject1 evoked and change the electrode locations
sub2_evoked = sub1_evoked.copy()
items = biosemi_montage.get_positions()['ch_pos']  # access the items to extract the positions
xyz_pos = np.empty((n_channels, 3))

for i, pos in enumerate(items):
    xyz_pos[i] = items[pos]

# modify electrode position for subject 2
mod_xyz_pos = dict(zip(biosemi_montage.ch_names, xyz_pos*3))

# create a new EEG montage for subject2
mod_montage = make_dig_montage(ch_pos=mod_xyz_pos, nasion=sub2_evoked.info['dig'][1].get('r'),
                           lpa=sub2_evoked.info['dig'][0].get('r'), rpa=sub2_evoked.info['dig'][2].get('r'))

sub2_evoked.set_montage(mod_montage)

#  grand average across subjects
grand_evoked = mne.grand_average([sub1_evoked, sub2_evoked])

# plots
sub1_evoked.plot_sensors(ch_type='eeg', show_names=True, block=True, title='subject1')
sub2_evoked.plot_sensors(ch_type='eeg', show_names=True, block=True, title='subject2')
grand_evoked.plot_sensors(ch_type='eeg', show_names=True, block=True, title='grand average')

Link to data
No response
Expected results
grand average montage electrode positions should be different than sub1.
Actual results
grand_evoked.plot_sensors(ch_type='eeg', show_names=True, block=True, title='grand average') copies the montage of
sub1_evoked.plot_sensors(ch_type='eeg', show_names=True, block=True, title='subject1')
Additional information
none

why not averaging the locations yes

Message ID: @.***>

I think I would approach this as a new parameter on_montage_mismatch where the options are

'first' (uses the montage of the first subj)
'raise' (raises an error on mismatch)
'warn' (issues a warning on mismatch)
'average' (tries to average the electrode positions of each subject, to create a new montage)

This way, we can maintain backwards compatibility by making the default be 'first' and easily support the usecase in your lab.

@drammock I like your idea. one minor thing: instead of `first', I would rather use something like:

'layout or montage': can be either 'standard' or 'custom'.
standard corresponds to fixed-layout (can be for both MEG and EEG), custom corresponds mainly to montages (EEG) that are created with different head digitization points. If the subjects use the standard layout, the API would use the first subject layout. Otherwise, it tries to average the electrode positions across subjects, to create a new montage. Default can be set as standard.

instead of first, I would rather use something like:

I don't understand your alternative suggestion. Are you saying there should be only 2 options, called "standard" and "custom"? And the parameter name should be what? And do we allow the "raise" behavior?

Thanks for the details. I am convinced with your ideas, especially points: 1 and 2 ; they make a lot of sense.
Ps: indeed, its a nice feature addition.


add custom event on head purchase

Hi, would it be possible to add a custom event which fires when a player receives or purchases a head via the /heads command interface? I think this would be quite useful.
Thanks.

Hi - and yes, of course it is. I have double checked the commit and there are some adjustments I'm going to make (not to the event itself, but when the event is fired) real quick. It'll only be released as a snapshot for now since I'm holding back on releasing too many updates - especially since the updater for the plugin hasn't been working properly. Because of it, the plugin's traffic for each individual update has been reduced for now, but I'm hoping it'll be sorted soon. ( https://github.com/SpiGetOrg/Spiget/issues/16 )

Alright I’ve pushed the commits but I’ve forgotten to upload the plugin. This is what happens when you have two exams to revise for and let everything go out of your head whilst you’re at it. 😆

Thanks, yes I like the tweaks - that looks better.


IO Error Broken pipe when waiting for subscribed messages

I noticed that the client will stop receiving messages at some point. If ping is then sent, it will fail with an IO Error (Broken Pipe)

Here's how it looks like:
Unhandled exception: IO error (MQTT::Error)
  from api/lib/promise/src/promise/deferred_promise.cr:120:5 in 'get'
  from usr/share/crystal/src/concurrent.cr:14:3 in 'subscribe'
  from usr/share/crystal/src/hash.cr:896:11 in 'cli'
  from api/src/bmw-wingsuit_20-backend.cr:96:1 in '__crystal_main'
  from usr/share/crystal/src/crystal/main.cr:105:5 in 'main'
  from src/env/__libc_start_main.c:94:2 in 'libc_start_main_stage2'

The broken pipe i got when i had a ping running in a spawned endless loop:
Unhandled exception in spawn: IO error (MQTT::Error)
  from api/lib/promise/src/promise/deferred_promise.cr:120:5 in 'get'
  from usr/share/crystal/src/concurrent.cr:14:3 in '->'
  from usr/share/crystal/src/primitives.cr:255:3 in 'run'
  from ???
Caused by: Error writing to socket: Broken pipe (IO::Error)
  from usr/share/crystal/src/io/evented.cr:156:7 in 'unbuffered_write'
  from usr/share/crystal/src/io/buffered.cr:217:5 in 'process_requests!'
  from usr/share/crystal/src/primitives.cr:255:3 in 'run'
  from ???

Thanks for pointing that out.
I've noticed that, on many corporate networks, TCP connections are silently dropped after an idle period and the only way your local machine can detect the disconnect is by sending traffic.
We typically send a ping every 50seconds to maintain the connection - but I've seen networks that drop connections with idle times as low as 30 seconds.
The latest patch should allow reconnect behaviour to trigger if the connection is dropped, detected by a failed send
definitely recommend a regular ping to maintain the connection and detect disconnects too


Write tests

Someone is doing this?

Nope, feel free to make a PR

@s1lver still want to take it?

I made tests run under different php version for local testing, but  im busy now rr)

not stable test Yiisoft\Yii\Queue\AMQP\Tests\Integration\DelayMiddlewareTest::testMainFlow


Pcm 1019 typescript migration

I moved constants/index.js and utils/index.js into the /src directory. I wasn't sure if that would cause problems? I can remove from what gets published to npm if I need to. I just thought it was more clear to have those in the source directory.

Closing because it is stale. We will eventually migrate away from webrtc-sessions and use the new version of stanza which has TS support


Add npm to installed package in lore job

Previously, we were installing only nodejs. Now we are also installing
npm.
Signed-off-by: Matt Langbehn<EMAIL_ADDRESS>

Conflicts here now.


add summary metrics for DNS record syncronization

Another attempt to add some basic metrics. This adds a summary labelled whether this particular syncronization was successful. Metrics we can get out of this:

execution time of a single syncronization with percentiles
total count and rate of successful and failed synchronizations
total amount of time spent syncronizing (probably not very useful)

It also splits up the Controller into the individual pieces (looping, instrumenting) and main.go then onion-layers them together as needed.

@ideahitme This also splits the controller into multiple controllers with a single method Run().
There's a

BaseController that does a single synchronization: read, calculate, apply
LoopedController that wraps another controller into an endless loop
InstrumentedController that invokes another controller's Run() and measures the time it took.

The used chain in main is: Looped(Instrumented(Base)). Other Controllers could be added that add addional logic. BaseController is special in the way that it doesn't wrap another controller. Maybe the wrapping ones should not be called Controller but rather Middleware or similar.
Note that adding instrumentation without this onion model gets a little messy. And also note that wrapping doesn't work for things that have a multi-function interface (like Run() and RunOnce()). Hence the split.
Let me know what you think.

TODO: add example prometheus output

Closing as stale.


Gradient overflow

Hi, Why did this repo output the "Gradient overflow"? I run msrrvt_qa task with 1 and 2 1080Ti GPU(s).  Can this repo be achieved by a single GPU (1080Ti)? Thanks!

Hi @datar001, By default, we trained on 4-8 V100 GPUs. We have not tried training on a single 1080Ti. For this warning, it is expected due to the use of mixed precision (fp16).

One more piece of information. From our past experience, if the loss scaler stay above 1, the training should be steady.

@datar001 Have you solved this problem? I have the same problem when running on 8 RTX 3090 GPUs.

Met the same problem on 2X2080TI or 2XP6000.
Training on 2080TI stayed longer but still failed after two epochs.


adjustments based on page headings processor

FTD PR

changes in StuckOnProcessor to work with the recently added page-headings processor

@Arpita-Jaiswal @AbrarNitk
This PR depends on FTD PR, merge that before merging this one


exploitdb: 2023-08-03 -> 2023-08-05

Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2023-08-03...2023-08-05
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_8e544989-01ba-4c58-8036-759c15073fbd/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_8e544989-01ba-4c58-8036-759c15073fbd.git

Docs Build status updates of commit 4c9cfc7:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_main_2022-01-27-09-14-48 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[SPARK-18182] Expose ReplayListenerBus.read() overload which takes string iterator

The ReplayListenerBus.read() method is used when implementing a custom ApplicationHistoryProvider. The current interface only exposes a read() method which takes an InputStream and performs stream-to-lines conversion itself, but it would also be useful to expose an overloaded method which accepts an iterator of strings, thereby enabling events to be provided from non-InputStream sources.

Test build #67828 has started for PR 15698 at commit b777ee5.

Test build #67828 has finished for PR 15698 at commit b777ee5.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

LGTM retest this please

Test build #67917 has started for PR 15698 at commit b777ee5.

Test build #67917 has finished for PR 15698 at commit b777ee5.

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

Merged build finished. Test PASSed.

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

Merging in master.


Why this app forces translation?

I want to speak with ChatGPT in Russian (as ChatGPT knows it), why TalkGPT forces translation into English and back?
ChatGPT itself can be a great translator, better than any other software and can respond in any language you ask her.
I wanted to use Chat GPT as a voice translator from Russian to Hebrew and back but your program ruins my plan.
Is there a way to disable translations?

For reference, ChatGT's own assession of her skills in various languages is as follows:
English: 95
Spanish: 85
French: 80
German: 75
Italian: 70
Chinese (Simplified): 70
Portuguese: 65
Dutch: 60
Russian: 55
Japanese: 50
Korean: 45
Arabic: 40
Hindi: 35
Indonesian: 30
Swedish: 25
Turkish: 20

My subjective assession, her Russian is near-perfect.

Thank yoou for the quick change, the option to disable translation for input is very useful, but can you also add an option to disable translations for output? If I want to use ChatGPT as a translatorr, I want my input to be in one language (say, in Russian) and output in another language (say, Turkish or Hebrew or Georgian). ChatGPT can do this better than Android translator.

Thanks for the fix.


fix(compat): improve react version detection

What:
parseFloat() function added.

Why:
To make the code consistent.

How:
Adding parseFloat() to this line: (parseFloat(React.version.slice(0, 4)) >= 15.5)

Checklist:

[ ] Documentation
[ ] Tests
[ ] Code complete
[x] Added myself to contributors table
[ ] Followed the commit message format

Codecov Report

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

@@          Coverage Diff          @@
##           master   #189   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         142    142
  Branches       36     36
=====================================
  Hits          142    142

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f55f157...13a4d9d. Read the comment docs.

Congratulations on your first ever pull request merge. Very well done. Thank you for your contribution!

Congrats @acgrdumlu! 🎉 Keep it up!


Library loades less tiles in both direction x and y

the problem is that in every zoom level that I try to load Pannellum, it loads one tile less than exist tile count in both x and y direction
for example i have to 22 matrix tile for zoom level 1 but it loads only (0,0) tile
and for zoom level 2 that has 55 matrix it loads like
....    0 1 2 3 4
0 [ *    *    *   *    _ ]
1 [ *    *    *   *    _ ]
2 [ *    *    *   *    _ ]
3 [ *    *    *   *    _ ]
4 [ _    _    _    _   _ ]
I will attach my configuration and code sample
thank you for this powerful library
test1.zip

I don't know how you generated your tiles, but they don't match the output of Pannellum's generate.py script or Pannellum's expected input format.
For starters, Pannellum expects five zoom levels for your cube resolution of 4736px, with a single tile of 296px width for the first zoom level.  The resolution of each zoom level changes by a factor of two, but that isn't the case for your tiles.


Edit overrides improvements

Code cleanup desparately needed!
Keyboard shortcuts
Master-detail view for CRUD overrides
(Long-term goal, just look at some of Apple's apps for example.)
Confirmation after setting override parameters
At the very least, Edit Server Groups should be a modal

PR #15 addresses some of these concerns.


Crash: Unable to create application com.myapp.MyApplication: java.lang.IllegalStateException: the DownloadMgrInitialParams is only can be touched in the process which the download service settles on

Hey there,
I'm experiencing a crash with following stack trace:
Fatal Exception: java.lang.RuntimeException: Unable to create application com.myapp.MyApplication: java.lang.IllegalStateException: the DownloadMgrInitialParams is only can be touched in the process which the download service settles on
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4293)
       at android.app.ActivityThread.access$1400(ActivityThread.java:143)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1301)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:137)
       at android.app.ActivityThread.main(ActivityThread.java:4960)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:511)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
       at dalvik.system.NativeStart.main(NativeStart.java)
Caused by java.lang.IllegalStateException: the DownloadMgrInitialParams is only can be touched in the process which the download service settles on
       at com.liulishuo.filedownloader.util.FileDownloadHelper.initializeDownloadMgrParams(FileDownloadHelper.java:58)
       at com.liulishuo.filedownloader.FileDownloader.init(FileDownloader.java:101)
       at com.liulishuo.filedownloader.FileDownloader.init(FileDownloader.java:68)
       at br.com.hotmart.hifire.HiFireApplication.setupFileDownloader(HiFireApplication.java:74)
       at br.com.hotmart.hifire.HiFireApplication.onCreate(HiFireApplication.java:46)
       at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4290)
       at android.app.ActivityThread.access$1400(ActivityThread.java:143)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1301)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:137)
       at android.app.ActivityThread.main(ActivityThread.java:4960)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:511)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
       at dalvik.system.NativeStart.main(NativeStart.java)

Here is the main code from my Application class:
public class MyApplication extends MultiDexApplication implements Application.ActivityLifecycleCallbacks {

    @Override
    public void onCreate() {
        super.onCreate();

        // some code before....
        setupFileDownloader();
        // some code after...
    }

    private void setupFileDownloader() {
        FileDownloadHelper.OkHttpClientCustomMaker okHttp =
                new FileDownloadHelper.OkHttpClientCustomMaker() { // is not has to provide.
                    @Override
                    public OkHttpClient customMake() {
                        final OkHttpClient.Builder builder = new OkHttpClient.Builder();
                        builder.authenticator(new AppAuthenticator(getApplicationContext()));
                        return builder.build();
                    }
                };
        /*
         * Just for cache Application's Context, and ':filedownloader' progress will NOT be launched
         * by below code, so please do not worry about performance.
         */
        FileDownloader.init(getApplicationContext(), okHttp);
    }
}

I get this crash reported from Crashlytics, in production. It occurs with a very low frequency, and I can't reproduce the wrong behavior in development environment. So, I would like some help about what is the expected behavior of the Library in my Application, and what could went wrong.

The code in your Application is right, but the crash stack is very oddness......
But I find one running flow can occur such crash on very low probability:
The result is null or empty from ActivityManager#getRunningAppProcesses() ( this is possible) And the class loader of FileDownloadUtils is freed when the calling stack is invoking FileDownloadHelper#initializeDownloadMgrParams. So I will fix it.

Great! Thank you for support!
Let me know when you release the new version.

@hugonardo Tonight.


need help: There are some issues when segmenting videos

How to filter out short clips when segmenting videos?
How to re crop the beginning or end of each segment?

How to filter out short clips when segmenting videos?

You can do this pretty easily with a list comprehension:
min_scene_len = 0.5
scenes = [(start, end) for (start, end) in scenes if (end - start) >= min_scene_len]


Deployment: update infrastructure to be deployed in IBM cloud

What is the expected enhancement?
For the dev-forum we want to be able to prepare different demos and have everything ready for users to be able to launch the project. We have different PR opened for this use-case:

#399 : where we are trying to finish with the configuration of docker-compose to run it locally.
#255 : to be able to launch quantum-serverless in IBM Cloud. This PR is old and it didn't have the gateway so probably a lot of changes will be needed but we can take it as reference.
#447 : previous work will continue in this PR.

For helm a configuration that we are going to be able to drop will be the sidecars probably.

@Tansito I'm back from PTO.  Are there still something that I can help here?

Hey @akihikokuroda ! No by now. I will open the PR once time I have everything, thank you! If you can take a look to the M1 things I would appreciate it. It seems it continues giving problems.


feat(mookme): add support for more commit hook types

Four different new commit types have been added:

post-rewrite
pre-rebase
post-checkout
pre-push

I eventually realized that this was too good to be true and that this feature will unfortunately clash with some other stuff already implemented in mookme:

The behavior to use when files are modified with these hooks is irrelevant. I'll come up with a nice refacto to deal with this
[...Waiting to wake up with other incompatibilities I'll figure out]


[4.2][stdlib]Remove deprecated TARGET_IPHONE_SIMULATOR reference

Cherry-picked from https://github.com/apple/swift/pull/17846

Explanation: This replaces a use of the deprecated TARGET_IPHONE_SIMULATOR macro with TARGET_OS_SIMULATOR. The former has been deprecated a few SDK releases ago.
Scope: NFC; modifies stdlib shims
Issue: rdar://problem/35137355
Risk: Minimal.
Testing: PR testing.
Reviewed by: @lorentey (authored by @lancep)

@swift-ci please test

@swift-ci please nominate


wrong condition check when return item to cache

When returning item to the cache and the items allocated exceeded cache->limit, we should free the item and not put it to the cache.
The current code will free any item that tried returned to the cache when cache->total < cache->limit which is true in most cases.

Good catch, thanks! I'll validate this soon.
Looks like this passed my own tests originally because I would fill the cache and then adjust it, so it would usually not free objects until hitting the cache limit once.

out in 1.6.8


Unity 2020 + SteamVR Unity Plugin v2.6.0b4 + OpenGL = Blank Game Window + Mountains in headset

Unity is nagging me to switch to VR Plugins as the old system is deprecated, so trying to updating my which is reliant on OpenGL (uses VTK in external rendering to show medical data) Importing SteamVR Unity Plugin v2.6.0b4 into an otherwise empty project works with DirectX, but not OpenGL rendering. I may have overlooked something obvious - if so please tell me, but I've tried to systematically get it working for some time now.
Update:

The same behaviour in Unity 2019.3.5, installing the OpenVR PLugin first and then the SteamVR plugin
Checked colour space is linear
Attempted to disable mirror mode - but it just kept resetting
Attempted to use Multi-pass rendering (this is what was being successfully used before) and it just kept resetting to single pass instanced
I'll post the logs when I get a chance to test this again

Original post:
Observed Behaviour:

Game window is blank and headset just shows the mountains in the distance

Expected Behaviour:

Simple Scene and Interaction Example should render in both window and headset, like OpenGL

Steps to reproduce:

Create new project in Unity 2020 an have it empty
Download SteamVR Unity Plugin v2.6.0b4 from https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.6.0b4
Install Everything into open, empty Unity Project
In Project Settings\Player\Other Settings\Graphics Settings for Windows select on DirectX11
Open SteamVR\Simple Scene or SteamVR\Interaction System\Samples\Interactions_Example

Observe: Scene renders in Game window and headset as expected

In Project Settings\Player\Other Settings\Graphics Settings for Windows select on OpenGlCore
Open SteamVR\Simple Scene or SteamVR\Interaction System\Samples\Interactions_Example

Observe: Game window is blank and headset just shows the mountains in the distance

Set Project Settings\Stereo Render Mode to Multi Pass

Observe: Game window is blank and headset just shows the mountains in the distance

Notes:

SteamVR 1.13.10
Vive Headset
It did seem to work briefly yesterday, so problem may be intermittent, or I have have got settings muddled
Graphics card is nVidia 1070Ti with game drivers 445.75.
Unity 2019 + Steam VR Unity Plugin 2.5 work fine
I'm not sure if this is Unity or SteamVr sdk, but our OpenGl rendering pipeline still works in Unity 2020 when we're not using VR, which has led me to start here

I don't know how VTK works on unity but maybe it is an initialization problem, here: https://github.com/ValveSoftware/steamvr_unity_plugin/issues/793#issuecomment-668295263 this user fix an important bug between unity 2020 and the last version of steam VR beta

Hi @mnbvcxzlkjhgfds - In Unity 2020 and this version of the plugin, our Unity XR Plugin would've been installed and used for rendering, where we only support DirectX and Vulkan. You should be able to verify this in the Unity Editor Log with an entry saying "[OpenVR] [Error] Unsupported graphics api! Only DirectX and Vulkan are supported at this time."
Current future efforts are focused on OpenXR however, so no OpenGL support is slated for Unity XR, here's our announcement about this:
https://steamcommunity.com/games/250820/announcements/detail/2522527900755718764

Hi @1runeberg , apologies for my slow reply, I've been sidetracked into several other issues. However, thank you for clarify that OpenGL will not work and that the future is Vulkan. It will save me banging my head against a brick wall trying to get OpenGL to work. So we will stick to old Unity + OpenGL, keep a weather eye on VTK developments, while we decide what best to do.


Support subscribing to an EventSource

https://www.html5rocks.com/tutorials/eventsource/basics/

const machine = start(Machine);
const eventSource = new EventSource();

machine.receiveFrom(eventSource);

const messagesKey = Symbol("messages");

function* Machine() {
  yield listenTo(eventSource, "open");
  yield on(new Map([["type", "error"], ["readyState", EventSource.CLOSED]]), Closed);

  function* Open() {
    yield listenTo(eventSource, "message");
    yield accumulate("message", messagesKey);
  }
  function* Closed() {}

  return function* Initial() {
    yield listenTo(eventSource, "open");
    yield on("open", Open);
  }
}

This is implemented. It does seem to run in an infinite loop, re-opening after it closes.


Refractor Search to TS

Refractor some files to TS and cleaned up some code.

Codecov Report

Merging #1373 into master will decrease coverage by 0.75%.
The diff coverage is 21.66%.

@@            Coverage Diff             @@
##           master    #1373      +/-   ##
==========================================
- Coverage   59.24%   58.48%   -0.76%
==========================================
  Files         181      182       +1
  Lines        3852     3849       -3
  Branches      857      853       -4
==========================================
- Hits         2282     2251      -31
- Misses       1570     1598      +28

Impacted Files
Coverage Δ

wherehows-web/app/routes/search.ts
0% <0%> (ø)

wherehows-web/app/utils/api/search.ts
100% <100%> (ø)

wherehows-web/app/controllers/search.ts
18.03% <5.55%> (ø)

wherehows-web/app/utils/build-url.ts
85.71% <81.81%> (+8.79%)
:arrow_up:

wherehows-web/app/components/search/filter-rail.ts
0% <0%> (-100%)
:arrow_down:

wherehows-web/app/components/purge-policy.ts
81.48% <0%> (-18.52%)
:arrow_down:

wherehows-web/app/router.ts
88.23% <0%> (-11.77%)
:arrow_down:

wherehows-web/app/routes/browse/entity.ts
63.63% <0%> (-9.1%)
:arrow_down:

...-web/app/components/datasets/health/score-table.ts
86.11% <0%> (-0.74%)
:arrow_down:

...mponents/datasets/containers/dataset-compliance.ts
37.5% <0%> (-0.37%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78e7d4a...ecc6030. Read the comment docs.

Coverage remained the same at 22.602% when pulling ecc60305e5eeae6c57879edcf6681571dda430c6 on nacho-search-refractor into 78e7d4a049a3e094155f3ce63b494cc6fee10cda on master.


Install Git on Ubuntu computer and learn how to use it from there

how to check in from unbuntu to a development branch

take screenshots from command line interface


[Deploy] Anydo

Service
Anydo
Link to your repository
https://github.com/Baboo7/recipe-anydo
Additional Information

How do we get this working? I don't see a way to add it to Franz.


Getting error under specific conditions. Cannot get class ''. Parameter "obj" is null.

Tested versions

Reproducible in: v4.3.stable.official [77dcf97d8]

System information
Windows 10 and Ubuntu 20.04.6 - Compatibility renderer
Issue description
I encountered this bug while making my game and this is the commit that started causing the errors, more specifically it seems the changes to player.gd and gun.gd are what caused it. If you try to select the smg in the shop it will segfault. The bug is now fixed in the later commits, I fixed it by replacing preload with load but I'm unsure why that worked.
Steps to reproduce

Download the attached Godot project
Run it normally and see how there are no errors
Export it into the .exports folder inside the project, it MUST be exported into that folder or else the bug won't appear. (not sure why, maybe something to do with the filename having a special character in it)
Run the project in the terminal and see how there are now errors appearing in the exported version

Minimal reproduction project (MRP)
You can find the MRP here, I would upload a zip file but the upload keeps failing.

Usually, the MRP is really a new project with the minimal code and setup to trigger the bug reliably.
Can you try to recreate the issue in a brand new project?

Usually, the MRP is really a new project with the minimal code and setup to trigger the bug reliably.
Can you try to recreate the issue in a brand new project?

OK, I managed to get it to reproduce in a new project. I think it might have something to do with cyclic dependencies. bug.zip


AssertionError for executeTest() always saying "timeout", even if not relevant

In DataTestStreamBase.java, the catch statement in executeTest() always prints "Test terminated due to timeout!" when the test has been stopped, and then appends the AssertionError's message. This doesn't seem to be correct usage — the comments around the definition of testEnv.hasBeenStopped() say it's use is for "e.g. timeout", implying the test can be stopped for more than just timeouts.
--
Instead of
catch (AssertionError var2) {
            if(this.testEnv.hasBeenStopped().booleanValue()) {
                throw new AssertionError("Test terminated due timeout!"  If I remember correctly there's a second scenario where the framework will stop the test manually. I think the error message should still indicate that the framework made the decision to stop the test prematurely. I have to think about if I can somehow distinguish these scenarios so the message states explicitly why the test has been terminated. I'm going to look into this during the weekend and include it in the release for Flink 1.3.1.
Cheers Alex!

Great, thanks Alex for the plan to fix this!
FYI with our use case, we were getting an error because expected output was not the same as our actual Datastream. However, our message was prefixed with this warning of "terminating early due to timeout," even though it was just due to a mismatch and had nothing to due with a timeout.

@lofifnc by the way, are there any ways I can help with this project? I've been looking to get involved in open source and this framework has been really useful for the project I'm currently working on.
Don't see your email on your user profile, but you can find mine on my profile.

Has been included into the new release


Support more contract methods ( withdraw )

Please report contract methods that are being used for an internal transaction that is not being decoded by default

[ ] withdraw(address to, uint256 value)

Please send my address received 0xdDB0194c5a9DA5A0f0D669d4419B31E4a6bB5d0b

Yes my
Pada tanggal Kam, 5 Nov 2020 14.00, FACHRI FADLY<EMAIL_ADDRESS>menulis:

Please send my address received 0xdDB0194c5a9DA5A0f0D669d4419B31E4a6bB5d0b
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ethereumclassic/explorer/issues/295#issuecomment-722161225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQHZCZG6DSQWNVJ6ZTB2EO3SOI5PNANCNFSM4HAVUQ2A
.


wiki for the cli?

I've been making notes on the tea cli usage under my github, but I kind of wished that you guys looked at it and could correct things I get wrong. If there were a wiki for the cli, then I could move my notes over to it.
Also, do you guys get notified when the wiki is updated? And do you know anyone can edit it? I've been editing https://github.com/teaxyz/pantry.zero/wiki.

Enabled, go wild. Thanks @magnusviri


K8SSAND-1503 ⁃ Unable to remove the additional labels on the seed service through CR

What happened?
We found it impossible to remove the additional labels by unsetting the key-value pairs under the field spec.additionalServiceConfig.seedService.additionalLabels. We first added a label labelKey: labelValue under the additionalLabels field, and cass-operator correctly adds the label to the seed service. However, later we wanted to remove the labelKey: labelValue label from the seed service by deleting it from the CR. However, by doing so, cass-operator does not remove the additionalLabel from the seed service.
We also tried to change the labelKey: labelVaule to labelKey: null, but cass-operator still is not able to update the labels in seed service.
Did you expect to see something different?
We expected that the CR represents the desired state of the application, based on the declarative model of Kubernetes. So we expected that when remove the label from the spec.additionalServiceConfig.seedService.additionalLabels field, cass-operator would automatically remove this label from the seed service.
How to reproduce it (as minimally and precisely as possible):

Deploy cass-operator and the server-storage storage class

Deploy a basic CassandraDB using the example CR:
kubectl apply -f example.yaml
example.yaml
apiVersion: cassandra.datastax.com/v1beta1
kind: CassandraDatacenter
metadata:
  name: cassandra-datacenter
spec:
  clusterName: cluster1
  config:
    cassandra-yaml:
      authenticator: org.apache.cassandra.auth.PasswordAuthenticator
      authorizer: org.apache.cassandra.auth.CassandraAuthorizer
      role_manager: org.apache.cassandra.auth.CassandraRoleManager
    jvm-options:
      initial_heap_size: 800M
      max_heap_size: 800M
  managementApiAuth:
    insecure: {}
  serverType: cassandra
  serverVersion: 3.11.7
  size: 1
  storageConfig:
    cassandraDataVolumeClaimSpec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 3Gi
      storageClassName: server-storage

```

Add additional labels to seed service by applying the cr1.yaml
cr1.yaml
apiVersion: cassandra.datastax.com/v1beta1
kind: CassandraDatacenter
metadata:
  name: cassandra-datacenter
spec:
  additionalServiceConfig:
    seedService:
      additionalLabels:
        labelKey: labelValue
  clusterName: cluster1
  config:
    cassandra-yaml:
      authenticator: org.apache.cassandra.auth.PasswordAuthenticator
      authorizer: org.apache.cassandra.auth.CassandraAuthorizer
      role_manager: org.apache.cassandra.auth.CassandraRoleManager
    jvm-options:
      initial_heap_size: 800M
      max_heap_size: 800M
  managementApiAuth:
    insecure: {}
  serverType: cassandra
  serverVersion: 3.11.7
  size: 1
  storageConfig:
    cassandraDataVolumeClaimSpec:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 3Gi
      storageClassName: server-storage

```

Observe that the seed service now has the additional label labelKey: labelValue
Delete the additionalLabels by applying the example CR again
Observe that the seed service still has the label labelKey: labelValue

Environment

Cass Operator version:
docker.io/k8ssandra/cass-operator:v1.10.3

* Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:11:29Z", GoVersion:"go1.16.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0", GitCommit:"cb303e613a121a29364f75cc67d3d580833a7479", GitTreeState:"clean", BuildDate:"2021-04-08T16:25:06Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

minikube start --vm-driver=docker --cpus 4 --memory 4096 --kubernetes-version v1.21.0

Anything else we need to know?:
The root cause is inside the https://github.com/k8ssandra/cass-operator/blob/973cea89cad9d407fcac0f2ed388e98fdae3bc2a/pkg/reconciliation/reconcile_services.go#L103 where the labels in the desired service are merged into the existing service label map. The comment states that the reason of the merge is because cass-operator does not want to mess up the labels that are added by other sources.
A possible fix is to keep track of the labels that are added by the user using the spec.additionalServiceConfig.seedService.additionalLabels field, so that when users delete some labels from the field, cass-operator can delete these from the service.
The similar problem happens to the annotations too: https://github.com/k8ssandra/cass-operator/blob/973cea89cad9d407fcac0f2ed388e98fdae3bc2a/pkg/reconciliation/reconcile_services.go#L104
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1503
┆priority: Medium

The MergeMap function performs a union. I think we can fix this by taking the intersection between currentService and desiredService and taking the values from desiredSvc.

The MergeMap function performs a union. I think we can fix this by taking the intersection between currentService and desiredService and taking the values from desiredSvc.

I am not sure why
key1: null

would not update the labels though.

I may have spoken incorrectly when I suggested taking the intersection. It should be pretty straightforward though. The operator's job is to make sure that the actual labels match the desired labels as specified by additionalLabels. We also have to take into consideration the labels added by cass-operator. Here is an example of the labels added by the operator for a cluster named test:
app.kubernetes.io/instance: cassandra-test
app.kubernetes.io/managed-by: cass-operator
app.kubernetes.io/name: cassandra
app.kubernetes.io/version: 4.0.3
cassandra.datastax.com/cluster: test

Now let's say I configure additionalLabels as follows:
key1: value1
key2: value2

The service should then have:
app.kubernetes.io/instance: cassandra-test
app.kubernetes.io/managed-by: cass-operator
app.kubernetes.io/name: cassandra
app.kubernetes.io/version: 4.0.3
cassandra.datastax.com/cluster: test
key1: value1
key2: value2

Now let's update additionalLabels so it has:
key1: value1.1
key3: value3

3 changes have been made

The value of key1 has changed
key2 has been removed
key3 has been added

The actual service labels should then be as follows:
app.kubernetes.io/instance: cassandra-test
app.kubernetes.io/managed-by: cass-operator
app.kubernetes.io/name: cassandra
app.kubernetes.io/version: 4.0.3
cassandra.datastax.com/cluster: test
key1: value1.1
key3: value3

Yeah I totally agree


add kubeadm upgrade redirects

https://github.com/kubernetes/website/pull/16015 introduced some changes to kubeadm upgrade pages, but redirect for older pages are not in place and user gets 404
This PR aims to fix this
/cc @jimangel
/cc @neolit123

Validation:
https://deploy-preview-16519--kubernetes-io-master-staging.netlify.com/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
vs.
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-14/

Wouldn't it make more sense to redirect to exactly the same links from the 1.15 docs, like https://v1-15.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha-1-14/ ?

https://v1-15.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha-1-14/ is a 404
https://v1-14.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha-1-13/ works though, so I recommend that /docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha-1-13 should redirect there.

BTW #16066 might bite people here: there's a point where a reader clicking to find newer documentation will encounter a link that does nothing.

Ah, my bad, I first copy/pasted https://v1-15.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-ha-1-13/ , and then changed 13 to 14. 🙂

I agree with what @lbogdan is saying, potentially as a temporary fix. However, I think the long term fix is incorporating docs for all active (supported) releases within master (v1.16). If this single page is meant to represent all upgrade paths, it might need to be updated to reflect that.
Getting into pinning docs to older versions and redirects will get very sticky fast.
/cc @kubernetes/sig-cluster-lifecycle

@jimangel I have updated the PR for redirecting to https://v1-15.docs as suggested by @lbogdan

I think the long term fix is incorporating docs for all active (supported) releases within master (v1.16)

My personal opinion is to use K8s site version for hosting older versions of the upgrade document instead of having old versions duplicated in many branches, but I would like to hear @neolit123 opinion as well

The way I see it, these redirects are a one-off. If in the future Kubernetes v1.23 is current and you want to find the docs for a v1.20 to v1.21 upgrade, you find the upgrade page and then navigate to the relevant version using the selector in the page menu.
However that's not where things stand today. The page menu doesn't take you to the same page in the older documentation; it takes you to the front page of the documentation for that release. When you arrive at the docs for the older version you see a message that tells you you're looking in the wrong place. It's overall not a comfortable experience for a reader.

@sftim got your point.
Might be adding some link in v1.23 document to previous versions in v1.20 to v1.21 branch could do the trick (don't duplicate files, give a nice UX when passing between versions). wdyt?

It sounds like we still need to have a step that happens during the release process. If that's true, maybe that's OK and we live with that.

adding these redirects is weird.
@jimangel
this seems like an issue with the google crawler. if one searches for "kubeadm upgrade 1.12" it should return them valid links (.e.g https://v1-12.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-12/) and not links that 404s.
if you searches "kubeadm upgrade", only. it should return them the latest valid page from "master:.

Is it such a big overhead having the upgrade pages for the previous two versions in the current version? (like 1.13 -> 1.14 and 1.14 -> 1.15 in 1.16 docs)

@neolit123 It's a bit of a timing issue - until the release of 1.16, the "correct" URLs of upgrade pages, starting with 1.12 -> 1.13, were under https://kubernetes.io/docs/, and were crawled / indexed accordingly. After the release, the URLs moved under https://v1-15.docs.kubernetes.io/, but the indexed ones didn't change, hence the 404s.

Another option would be to have the previous versions links in the current upgrade page, something like
To see information about upgrading clusters created using older versions of kubeadm, follow the links below:
[Upgrading kubeadm clusters from version 1.14 to 1.15](link to previous version upgrade page)
[Upgrading kubeadm clusters from version 1.13 to 1.13](link to previous version upgrade page)

just searched for "kubeadm upgrade"
it got me to this page: https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/
which is for the CLI and this is OK.
the page links to here:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
it has this text:

To see information about upgrading clusters created using older versions of kubeadm, please pick a Kubernetes version from the drop down menu of this web page.

so the users should use the dropdown.

We do not index any non-master site and they purposely go through a different build process to prevent indexing (we don't want a reliance on old and potentially inaccurate information).

the page links to here:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
it has this text:

To see information about upgrading clusters created using older versions of kubeadm, please pick a Kubernetes version from the drop down menu of this web page.

so the users should use the dropdown.

I think for now, you might want to link directly to the old upgrade pages in the first / main paragraph. Telling the customer to use the drop down is a very poor experience. Mainly because the drop down is a redirect to the main page and not the current page. Even if it kept on the current page, it would be inaccurate because that page isn't where they want to go. After a Q1 of 2020, all the links would look the same:

$MASTER
https://v1-17.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
https://v1-16.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/

My suggestion would be to:

Send redirects for old upgrades to current page (until they get phased out)
Include direct links, or clearer instructions on how to access the older supported upgrade paths, on the 'kubeadm-upgrade' page.
Add rotating these links as part of the kubeadm docs-release

@jimangel ack
PTAL

/lgtm
/approve
Thanks again @fabriziopandini for the fast action!


TiKV BR GCS backend gets credential by strategy ADC (application default credential)

Feature Request
Is your feature request related to a problem? Please describe:
Even though TiKV pods have attached the service account, it's not authorized to access GCS while backup.
Error: error happen in store 4 at test-tikv-1.test-tikv-peer.default.svc:20160: Io(Custom { kind: PermissionDenied, error: "GCS OAuth: https://www.googleapis.com/upload/storage/v1/b/test/o?uploadType=multipart&prettyPrint=false: 401 Unauthorized" }): [BR:KV:ErrKVStorage]tikv storage occur I/O error

Describe the feature you'd like:
Get the credential by strategy ADC^1. It only accepts JSON file^2 from disk for now .
Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

I am not familiar with Rust, but google-cloud-auth might help. :D

/components backup-restore

/severity major

@jebter it's a rqurement instead of bug.

@jebter Shall we remove affects-8.1 here?


PR #26791 breaks cask on new homebrew installs

On a fresh macos Sierra install, I get the following error whenever I try to install a cask :
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/metagrowler.rb
undefined method `cask' for Formulary::FormulaNamespace0a3fc67eb7f20792f6a4ee633903a783:Module
Error: Cannot tap caskroom/cask: invalid syntax in tap!

#26817 #26816

I have the same issue.

Fixed in https://github.com/caskroom/homebrew-cask/commit/99e75b1c306666f4bcebb07ffdda047d72240dfc.

Just re-tried it - works fine now! Thanks!

Yes, works fine. Thanks! 👍


Is this also suitable for use in azure function deployments for containers?

While trying to follow Azure Function app deployment configuration UI in Azure portal I am getting following example of yaml pipeline generated:

@boris-tarasov-maersk Yes it should work the same, but thanks for the feedback. I filed a WI on our backlog to clear up the confusion.


Added missing imports that threw errors when building

Oh, right. I guess Muon would fail to build if you didn't have auto-include Foundation.


Show an example of pipeline using ForEach and partition

Hello,
Would it be possible to show an example where we are copying multiple tables that are being sent to a ForEach activity using the HASH partition? I had instances where some tables were successfully copied in parallel while at another run a table that had a similar structured failed (NOPI error). For that table I had to specify the partition column manually.
If we have to specify the partition column manually then how would we set it up where we want to copy a list of tables being sent to the ForEach activity (or an automated way to copy tables in parallel). Right now the copy activity is set up in the following manner:

It this a correct set up or should we have a place holder value in the partition column field.
Showing an example would help people with ADF and Teradata use case properly set up a pipeline to take advantage of parallel copy.
Thank you

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

ID: a317cac0-e27c-7263-8c85-e44243b21234
Version Independent ID: 8d0f5788-07f2-56e4-79c1-7ee944976f77
Content: Copy data from Teradata Vantage by using Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/connector-teradata.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

Thank you for your detailed feedback.  We are looking into the issue, and we will respond when we have more information.

Hello,
Just wanted to follow up on this.
Thank you

We have assigned the issue to the content author . They will evaluate & update the document as appropriate

Hi @vlado101, each copy activity is designed to copy one table from source to destination.  This article on Teradata connector (https://docs.microsoft.com/en-us/azure/data-factory/connector-teradata#parallel-copy-from-teradata) as well as the screenshot you pasted above describes how you can copy a single large table in parallel using built-in partitioning mechanism.
If you need to copy multiple tables using ForEach+parameters, you can take a look at this step-by-step tutorial: https://docs.microsoft.com/en-us/azure/data-factory/tutorial-bulk-copy-portal
You can also use the Copy Data Tool which allows you to select multiple tables in the schema browser, and the wizard will generated a ForEach+parameterized copy for you: https://docs.microsoft.com/en-us/azure/data-factory/copy-data-tool
#please-close


New version: Wondershare.Anireel version 2.2.3

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.1 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


[DEVOPS-822] pkgs/generate.sh: Work with nix 2.0

Fixes this error:
error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied

Nix 2.0 no longer needs or sets the NIX_REMOTE variable, but when using nix-build (1.11.15) inside a shell it requires the variable.
So this provides a default for NIX_REMOTE=daemon.
The NIX_REMOTE variable setting can be removed completely when we update our nixpkgs pin to something that includes Nix 2.0.
Linked issue
https://iohk.myjetbrains.com/youtrack/issue/DEVOPS-822
Type of change

[x] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

QA Steps
./pkgs/generate.sh

I have added on another one-liner so that hydra builds cardano-sl-explorer-frontend.

i tried this already, if you force NIX_REMOTE=daemon in a single-user setup that lacks the daemon, then it fails
i think the only solution is to use nix2 in the nix-shell, or just not even include nix, the host already has nix

Well something needs to be done - we can't just leave it broken. I like the idea of not including nix in the shell because it wouldn't have ever been necessary.

It turns out that removing nix from the shell inputs doesn't help because cabal2nix uses nix 1.11.
I have updated so that it only applies the default in nix multi-user setups.


Error when using Vanilla Extract Design system in a Turborepo monorepo with Next.js14

Describe the bug
I am using a Turborepo monorepo setup, and I have a design system built with Vanilla Extract. I am trying to use this design system in my Next.js web repository, but I encounter the following error:
 ⨯ ../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.10_@types+node@20.14.2_webpack@5.92.0/node_modules/@vanilla-extract/webpack-plugin/vanilla.virtual.css?%7B%22fileName%22%3A%22..%2F..%2Fpackages%2Fui%2Fsrc%2Fcomponents%2FCard%2FCard.css.ts.vanilla.css%22%2C%22source%22%3A%22%23H4sIAAAAAAAACo1UXW%2FaMBR951fcSlsDaqF0W6WKiG4TT3vZS6W9IBQZ7BB3jh3ZDi2r%2BO%2B1HTtfBGlCIrHvPeeec%2BPr2QpJnOzsH6YHiolMtCxJkrx8lduHb%2FA%2BAigQxpTvp1oUC3gs3uLRaTRrcFshDYwRpZIUMRWwDw5bBadKHxlZgBKM4rjZfqVYZwu4b3MGGRXLo2NxlecWyEiq%2Fauk%2B6x6r%2BUIrgnXiaL%2FSIJJikqmPU927uTeWWk2t0JrkYf9wJkRZNT84ryWlLeNVaCOkX6s6z3w0hztSSJFyTHBnca9tvklwrRU3qUoNBVcwfLJpQAckIQdQ0r9RjmBJZgGpHQ%2F89ZXIRLXyYowsvMkkIjti1k9F9J4%2FDLuLd9Ptz2%2BP0hSxLWa3IJXMqmYUyFhbOkPVYZTQ3mr2sQLrlQkTeBTDYlbCX7zOaQZseNBkAk02%2BtW%2Bc0ErpZL4CVjcH09XNFlHATFMIfvF1IWF3rQqRWk09S1oSv9qlLRdKD3JYyFPiauMy2jPhZEpG2AkR1thWAE8ajNC3B3Bz%2B0mpK3wuROiZRCtqLtml06O%2FOmB5F9RsZ05A5k1Ag5DYtfNYdv9D8afDO94Rrdbee6pt90O3Fetuu%2BGYUb0yHzuxlQeu6pep66R3m9E3lhp3OVkd1fOwp%2BGXg2YD6K9xOC9YTUspzsTJQM%2FywKdlz5xHGPvTl7F4eubXXA6Jm%2BeMCdJLqUvIHbnBM8Ac33jj1cY%2FP5ZxvKSHXFhnV1QUxTqu1YHIg0l9IHL7SlGkEGAAA%3D%22%7D:25:5
Syntax error: C:\Users\Jeong\Desktop\Coding\mamo\node_modules\.pnpm\@vanilla-extract+webpack-plugin@2.3.10_@types+node@20.14.2_webpack<EMAIL_ADDRESS>Unknown word

  23 | }
  24 | options => {
> 25 |     var className = config.defaultClassName;
     |     ^
  26 |     var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
  27 |     for (var variantName in selections) {
 GET / 500 in 9833ms
 GET /mockServiceWorker.js 500 in 53ms
 GET /mockServiceWorker.js 500 in 13ms

Next.js Configuration (next.config.js):
const { createVanillaExtractPlugin } = require('@vanilla-extract/next-plugin');
const withVanillaExtract = createVanillaExtractPlugin();

/** @type {import('next').NextConfig} */
const nextConfig = {
  transpilePackages: ['@repo/ui'],
};

module.exports = withVanillaExtract(nextConfig);

Web workspace Package.json:
{
  "name": "web",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "eslint --fix"
  },
  "dependencies": {
    "@repo/ui": "workspace:*",
    "@tanstack/react-query": "^5.24.1",
    "docs": "workspace:*",
    "next": "^14.1.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "zustand": "^4.5.2"
  },
  "devDependencies": {
    "@next/eslint-plugin-next": "^14.0.4",
    "@repo/eslint-config": "workspace:^",
    "@repo/typescript-config": "workspace:*",
    "@tanstack/eslint-plugin-query": "^5.20.1",
    "@types/eslint": "^8.56.1",
    "@types/node": "^20.10.6",
    "@types/react": "^18.2.46",
    "@types/react-dom": "^18.2.18",
    "eslint": "^8.56.0",
    "typescript": "^5.3.3",
    "@vanilla-extract/next-plugin": "^2.4.1"
  }
}

when I try to use in web workspace(nextjs14) it makes this error.
import { Button } from '@repo/ui';

export default function Page() {
  return (
    <main>
      <Button>hihi</Button>
    </main>
  );
}

@repo/ui pakage.json
{
  "name": "@repo/ui",
  "version": "0.0.0",
  "private": true,
  "exports": {
    ".": "./src/components/index.ts",
    "./styles": "./src/styles/index.ts",
    "./icons": "./src/assets/icons/index.ts"
  },
  "scripts": {
    "lint": "eslint --fix",
    "generate:component": "turbo gen react-component"
  },
  "devDependencies": {
    "@mamo/shared": "workspace:*",
    "@repo/eslint-config": "workspace:*",
    "@repo/typescript-config": "workspace:*",
    "@turbo/gen": "^1.11.3",
    "@types/eslint": "^8.56.1",
    "@types/node": "^20.10.6",
    "@types/react": "^18.2.46",
    "@types/react-dom": "^18.2.18",
    "@vanilla-extract/css": "^1.14.1",
    "@vanilla-extract/css-utils": "^0.1.4",
    "@vanilla-extract/recipes": "^0.5.2",
    "@vanilla-extract/sprinkles": "^1.6.1",
    "eslint": "^8.56.0",
    "typescript": "^5.3.3"
  },
  "dependencies": {
    "@vanilla-extract/dynamic": "^2.1.0",
    "clsx": "^2.1.0",
    "dayjs": "^1.11.10",
    "react-calendar": "^4.8.0",
    "swiper": "6.8.4",
    "react-dom": "^18.2.0",
    "react": "^18.2.0"
  }
}

Expected Behavior:
The design system should be imported and used in the Next.js application without any build errors.
Actual Behavior:
Encountering a syntax error related to the vanilla.virtual.css file.
Request:
How can I resolve this issue to successfully use my design system in the Next.js application within a Turborepo monorepo setup?
Reproduction
none
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
    Memory: 2.41 GB / 15.71 GB
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.9.0 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (126.0.2592.56)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @vanilla-extract/next-plugin: ^2.4.1 => 2.4.2

Used Package Manager
pnpm
Logs
No response
Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is quite hard to diagnose without a minimal reproduction. Just a few package.json isn't enough to get an idea of what the problem is. A repo I can clone and run locally would help a lot.

This is quite hard to diagnose without a minimal reproduction. Just a few package.json isn't enough to get an idea of what the problem is. A repo I can clone and run locally would help a lot.

You can clone this repo and switch to the develop branch. The problem occurs when I run pnpm run dev in the web workspace.

Your next.config.js is incorrect, which is causing transpilePackages to be ignored and the Vanilla Extract plugin to not be appplied, but it's because our documentation has a mistake.
It should look something like this:
/** @type {import('next').NextConfig} */

const path = require("path");
const { createVanillaExtractPlugin } = require("@vanilla-extract/next-plugin");

const withVanillaExtract = createVanillaExtractPlugin();

module.exports = withVanillaExtract({
  aliases: {
    "@/*": [path.join(__dirname, "*")],
  },
  rootDir: __dirname,
  transpilePackages: ["@repo/ui"],
});

I will update our documentation.

It still occurs same error.. even though I changed the nest.configs

It still occurs same error.. even though I changed the nest.configs

Take a look at this comment on #1429, which I think should fix your issue too. I'd appreciate some communication between the author of this issue and @thisyujeong as it seems you are both trying to solve the same issue in the same repo at the same time. Ideally I'd like to close either this issue or #1429.

This issue has been closed due to merging #1435. I think the original issues was simply a misconfiguration. If you're still running into issues with recipes/something else, please make a separate issue with a minimal reproduction.


Missing RSS feed for "What's new in Microsoft Defender for Office 365"

I'm unable to find an RSS feed of the following page:
https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/defender-for-office-365-whats-new?view=o365-worldwide
https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/security/office-365-security/defender-for-office-365-whats-new.md
Done the following triage:

The page does not contain a link
No "rss" in page source
Previous versions of the pages on Github do not have the link
Tried to manually create the RSS URL by copying the format of others e.g. https://aka.ms/mdo/rss
Used RSS checker websites

Please can Microsoft investigate and resolve. Thank you

@itsgaryk, I don't think that article ever had an RSS feed.


Throw error on connection failed in pool

When I var pool = mysql.createPool(options); to a wrong host (ip address), I catch nothing in pool.on('error', function(error) {});.
Instead, not until I do a pool.getConnection() + connection.query() and sit out the full (default) timeout of two minutes or something do I receive an ETIMEDOUT error.
Is there (or should there be) a way to find out immediately if the connection failed?
In contrast, if I (purposely) specify a wrong username, I immediately catch an ER_DBACCESS_DENIED_ERROR error. But a wrong host will just do nothing until the connection times out.

@dougwilson Sorry for the late response, I was on the toilet.
Indeed I get the a timeout error when specifying this connectTimeout.
Error: connect ETIMEDOUT

Set this to a value higher than 10 seconds and a different hardcoded timeout wins:
Error: Handshake inactivity timeout

It makes sense, because it should not take that long to connect. When I opened this bug I didn't understand why a timeout was needed at all, but it makes sense. We cannot know that a connection was failed if we do not get a reply from the (non-existing) server. If we connect to an existing server with bad credentials, we get ER_ACCESS_DENIED_ERROR immediately, because the server tells us.
I'm satisfied and I forgot to let you know.  :+1:
So don't change anything on my account.
With that said, I do have the feeling that setting connectTimeout should change the time before a Handshake inactivity timeout occurs in stead of adding a separate timeout with a separate connect ETIMEDOUT error on top of that.

Hi @Redsandro , the inactivity timeout is not hard-coded in any way. That Handshake inactivity timeout is a different timeout tracking a different aspect of the connection, and you control that using the acquireTimeout option in your pool options (all pool options are documented at https://github.com/felixge/node-mysql#pool-options).

With that said, I do have the feeling that setting connectTimeout should change the time before a Handshake inactivity timeout occurs in stead of adding a separate timeout with a separate connect ETIMEDOUT error on top of that.

These are two independent timeouts and track different aspects of the connection lifecycle. They are additive, because they are separate. The connectTimeout is a timeout when establishing the underlying TCP connection to your MySQL server. Once this succeeds and you have a TCP channel, then the timeout is destroyed. After that, this module will send a handshake packet to the MySQL server. The acquireTimeout will time this aspect of establishing a MySQL application session and the login of your user.
These are separate timeouts because they are very different in nature -- one is sensitive to your networking infrastructure and the other is sensitive to your MySQL application/authentication infrastructure. Typically you want to have a very small connectTimeout and a longer acquireTimeout (we default to 10s + 10s, which is 20s total).
I hope this helps!

Thank you for the elaborate response. I get it now. I have no further comments at this time. :smile:

anyone know solutions of this,,i have same issue

i am getting a frequent error shown below and it is leading to crash of application.... can anyone help on this.
D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\protocol\Parser.js:79
throw err; // Rethrow non-MySQL errors
^
TypeError: Cannot read property 'query' of undefined
at D:\Users\vurumadl\Desktop\bg_latest_5pm\appOriginal.js:671:13
at Handshake.onConnect [as _callback] (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\Pool.js:58:9)
at Handshake.Sequence.end (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\protocol\sequences\Sequence.js:86:24)
at Handshake.ErrorPacket (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\protocol\sequences\Handshake.js:105:8)
at Protocol._parsePacket (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\protocol\Protocol.js:280:23)
at Parser.write (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\protocol\Parser.js:75:12)
at Protocol.write (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\protocol\Protocol.js:39:16)
at Socket. (D:\Users\vurumadl\Desktop\bg_latest_5pm\node_modules\mysql\lib\Connection.js:104:28)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)


Pivot table horizontal grouping, is it supported?

Thanks for creating this great library :+1: !
I follow this documentation to create a pivot table.
Is it possible to make an horizontal grouping like in this example (add gender to rows) ?
pivot { col1 then col2 } .groupBy { row1 and row2 }  col1 and c2 are grouped hierarchically but row1 and row2 are not.

Hi! Can you provide a screenshot of the desired table and what you get with pivot { col1 then col2 } .groupBy { row1 and row2 }. What i see on the link:

Not sure if this is the desired table

Hi,
With pivot { "Party" } .groupBy { "Province" and "Gender" }.sum("Age") I want to get:

Using dataframe I get Province and Gender pivoted independently :
Alberta, Female, ...
.....
Alberta, Male, ...

@koperagen Maybe we need to have the function then in ColumnsSelectionDsl like in PivotDsl.

Thank you for the use case, it's very interesting! Maybe df.pivot { Gender then Party }.groupBy { Province }.sum { Age } does the thing? It yields a dataframe with this schema:

If I have to group only two columns, df.pivot { Gender then Party }.groupBy { Province }.sum { Age } does the thing.
But actualy I'm using dataframe to add the Pivot Table feature to the framework Galite. It should allow grouping data by rows and by columns. How could I make the table below with dataframe?

I have gender and smoker grouped horizontally / day and time are grouped vertically.

Now that you mention horizontal / vertical grouping, documentation states https://kotlin.github.io/dataframe/pivot.html
df.pivot { pivotColumns }.groupBy { indexColumns }
pivotColumns — columns with values for horizontal data grouping and generation of new columns
indexColumns — columns with values for vertical data grouping

According to I have gender and smoker grouped horizontally / day and time are grouped vertically. this code should work:
df.pivot { smoker then gender }.groupBy { day and time }
Does it work as you would expect?
Also, can you share this dataset if it's public?

df.pivot { smoker then gender }.groupBy { day and time } Gives:

My actiual workaround is to sort Values on the row and try to span them df.pivot { smoker then gender }.groupBy { day and time }.sortBy { day and time } Which gives:

I see the problem, yes. Can you provide the dataset so i can give it a try myself? It would be easier for me to figure it out in REPL :) Or we can pick other dataset

Hi, @hfazai. As far as I understand, you need hierarchical grouping of rows, so that df.groupBy { a then b } will return DataFrame with a single row for every distinct a value and every row will contain nested DataFrame grouped by b. Currently DataFrame supports nesting only for columns, but not for rows. It is a good feature request, thank you! We'll consider it

Currently this is the only way to perform something similar to nested rows:

Hi, @hfazai. As far as I understand, you need hierarchical grouping of rows, so that df.groupBy { a then b } will return DataFrame with a single row for every distinct a value and every row will contain nested DataFrame grouped by b. Currently DataFrame supports nesting only for columns, but not for rows. It is a good feature request, thank you! We'll consider it

Hi @nikitinas, yes exactly :)

Currently this is the only way to perform something similar to nested rows:

I'll try it, thanks!
Actually I did a workaround with the sortBy { } and it works fine and it would be great to add this feature by adding then to ColumnsSelectionDsl so that we can call df.groupBy { a then b }

My actual workaround is to sort Values on the rows and try to span them df.pivot { smoker then gender }.groupBy { day and time }.sortBy { day and time } which gives:

I can't match this image with your code. According to attached screenshot, you do df.groupBy { gender and smoker  }.pivot { day then time }.sortBy { gender and smoker }. And you want df.groupBy { gender then smoker  } to have all rows with the same gender stored consequently (by default, without sorting) and also merge equal values in gender vertically. Is it correct?

Let's discuss this feature.
An obvious solution is to add GroupedDataRow that will store value for the first grouping key and nested DataFrame with other grouping keys. It will be similar to FrameColumn from my previous comment:

but will have a better presentation: nested DataFrames will be injected into the root table without expanders and group column.
This approach raises several questions:

How many rows should return df.rowsCount()? 2 or 4?
Can gender and party columns be addressed directly as df.gender? If yes, will they have size 4 while province have size 2? This will break current restriction that all columns in DataFrame should have equal size.
Should df.sortBy { gender } work across the whole table (break original row grouping) or sort only within row groups?
...

I think that fair implementation of row grouping may overcomplicate DataFrame usage. I assume that in most cases grouped rows are needed only for better visual representation, so we can just add some info into DataColumn API with span ranges indicating subsequent values that should be rendered in a single merged cell. So internally nothing will change and such "merged" column will behave just as any other column. What do you think about it?

And we also should add groupBy { a then b }.

we can just add some info into DataColumn API with span ranges indicating subsequent values that should be rendered in a single merged cell. So internally nothing will change and such "merged" column will behave just as any other column. What do you think about it?

I agree with you concerns about changing the internal implementation. The solution of adding the additional informations about the row grouping looks good to me.
I think to add span ranges indicating subsequent values that should be rendered in a single merged cell, the groupBy { a then b } should sort the rows before.

I think that sorting should be performed explicitly. We can add .asc() and .desc() modifiers in column selector, similar to sortBy:
df.groupBy { a.asc() and b.desc() }

Sounds good :+1:


TumblThree failes to download any posts from some of Tumblr Tagged searches

Describe the bug
When attempting to download some of Tumblr Tagged searches, app fails with error/exception: "A post from jadejohn was not parsable." or no error at all (case of animegirl).
Example of such tagged search: https://www.tumblr.com/tagged/animegirl or https://www.tumblr.com/tagged/jadejohn
Setting "posts per page" has no effect.
To Reproduce
Steps to reproduce the behavior:

Add https://www.tumblr.com/tagged/jadejohn as new blog
Start crawler
Error/exception "A post from jadejohn was not parsable." appears and no crawl and no files are downloaded.

Expected behavior
Download of files like with other tag searches.
Desktop (please complete the following information):

TumblThree version: <IP_ADDRESS>2
OS: Windows 10 Pro x64

Thanks for reporting a bug. We'll look at it.

Tumblr has changed its behavior. TumblThree cannot find anymore the content and this error is shown.
Watch it in your browser.
If you open https://www.tumblr.com/tagged/animegirl, it redirects you to https://www.tumblr.com/search/animegirl.
If you open https://www.tumblr.com/tagged/dogs, it loads https://www.tumblr.com/tagged/dogs?sort=recent.
For some unknown reason Tumblr doesn't like to start a tag search for some tags anymore. That's visible, if you directly use the url or click on a post's tag. But if you enter the tag word with hash character in the search box and press on the tag suggestion in the popup, it redirects to https://www.tumblr.com/tagged/%23animegirl. Weird behavior.
Maybe TumblThree needs to be adjusted to detect that situation and retry it with the alternative url. We'll see.

The issue has been fixed and closed. You can still comment. Feel free to ask for reopening the issue if needed.


Return types for Inertia useForm (vue)

Hey there,
It would be really nice to have return types for Inertia useForm (vue).

Thanks. Feel free to attempt a PR 👍


Header blur colour change

I was looking through the Theme devtools, which CSS or other variable to I have to change to change the colour at the top of the gradient?

theme dev tools ?
also i think that colour is picked from spotify

also im using Gin24 colour scheme


corsixth needs fixing

And corsixth needs fixing
Add to the depends the following: matchbox timidity freepats lua50 lua5.3
and to the running script in ports replace it with:
#!/bin/bash
xset -dpms s off s noblank
matchbox-window-manager & /opt/retropie/ports/corsixth/bin/corsix-th

added matchbox timidity freepats
made script to add #!/bin/bash
xset -dpms s off s noblank
matchbox-window-manager & /opt/retropie/ports/corsixth/bin/corsix-th
installs and starts


Integration is using deprecated DEVICE_CLASS_* constants

This custom integration uses deprecated DEVICE_CLASS_* constants in its codebase.
The DEVICE_CLASS_* constants have been deprecated and replaced in Home Assistant Core 2021.12 (over a year ago). I would highly suggest updating/migrating this integration to the new enums.
For example, for the device classes supported by the sensor platform, there is now a SensorDeviceClass enum. So if a sensor previously used the DEVICE_CLASS_ENERGY constant, it should now use SensorDeviceClass.ENERGY. Other platforms (like binary_sensor, and number) provide similar enumerations for their supported device classes.
The migration thus only consists of replacing constants with an enumeration member and is, therefore, very low impact and should be fairly straightforward.
If I can help resolve any questions regarding this change or migration, feel free to ask or respond to this issue. I'm happy to help!
Kindest regards,
../Frenck

Holy moly @dahlb! That is one amazing response time! 🚀
Happy New Year 🥂
../Frenck


Refactor section presenter

This PR refactors the SectionPresenter, simplifying the body method and inlining some of the implementation. As a result I've also been able to delete two additional renderers FootnotesSectionHeadingRenderer and GovspeakToHTMLRenderer.
I'm quite happy with where I've ended up, but made some slightly odd refactorings along the way. I'd be interested to know if you think this history needs cleaning up.

I've addressed the feedback, thanks @floehopper. I've forced pushed before merging.


improve --rules.max-concurrent-evals description

Fixes #13931
Based on https://github.com/prometheus/prometheus/pull/13965
builds upon suggestions in https://github.com/prometheus/prometheus/pull/13965#issuecomment-2082772035 and https://github.com/prometheus/prometheus/pull/13965#issuecomment-2083398405

create a new PR since the original PR had failing checks and it was slate for a while

Hi @machine424
Can u review please

Thanks for the PR
But I'll ping @kushalShukla-web first to see if they're willing to continue working on https://github.com/prometheus/prometheus/pull/13965

Hey @machine424 I was busy with exams , i will complete this pr today
No worries, good luck with your exams!

It'll close this as https://github.com/prometheus/prometheus/pull/14120 was merged.
Thanks to you two.


Some bold entries do not have a species name (retrieve_barcody.py)

Some queried data from BOLD systems do not contain a species name (or are not on species level).
Do we want those in a later stadium? If so an alternative name needs to be made so that the FASTA header is usable.

Only keep barcodes from BOLD that have (atleast) an assigned family taxonomy


Add all field partial types to the Super Scaffolding test.

Following up on https://github.com/bullet-train-co/bullet_train-super_scaffolding/issues/13: Can we add every field partial type to the Super Scaffolding tests?

I was just thinking of this while I was working on #13, I think I'll work on this next.


Some SAML2 issuer URLs break when stored in registry

Describe the issue:
Problem when adding SAML2 Inbound Auth configuration to an SP when the Issuer URL evaluates to a Base64 string that includes the "/" character.
How to reproduce:
Add a SAML2 inbound auth config to an SP with the issuer url:
https://smarttrackpro.webdeskprint.com/eduAdmin/OrganizationDetail.aspx?OID=2
This evaluates to the following Base64:
aHR0cHM6Ly9zbWFydHRyYWNrcHJvLndlYmRlc2twcmludC5jb20vZWR1QWRtaW4vT3JnYW5pemF0aW9uRGV0YWlsLmFzcHg/T0lEPTI=
It seems that when it is stored in the registry, the registry interprets the "/" character near the end as a directory delimiter, storing the URL in two parts: A container aHR0cH...zcHg and a object T0lEPTI
This breaks the SP's SAML2 config, and if you try to edit the SAML2 options, the /add_service_provider.jsp?SPAction=editServiceProvider... URL shows an empty SAML2 config, and redirects to a blank screen at /carbon/admin/error.jsp when trying to update any parameters in the SAML2 config.
Expected behavior:
Add the URL above as a SAML2 issuer and be able to store and edit the resulting configuration.
Environment information:

Product Version: IS 5.7.0
OS: CentOS Linux
Database: MS SQL
Userstore: AD LDAP

Looks like this is fixed from IS-5.8.0 onwards with https://github.com/wso2/carbon-identity-framework/pull/2096

Thanks! I'll look at upgrading.

Duplicates https://github.com/wso2/product-is/issues/4554


Cannot change the exported date format in Export-Csv (as I could in PS5.1)

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
In Powershell 5.1 (my user has en-GB culture set)
If I do this
@([PSCustomObject]@{Name="test1";Date=(Get-date)},[PSCustomObject]@{Name="test2";Date=(Get-date)})| ConvertTo-Csv -NoTypeInformation
"Name","Date"
"test1","26/07/2021 12:22:27"
"test2","26/07/2021 12:22:27"

However to correct the datetime representation I could do this
$(Get-Culture).DateTimeFormat.ShortDatePattern = 'yyyy-MM-dd' ## ensure that csv exports dates in universal format
@([PSCustomObject]@{Name="test1";Date=(Get-date)},[PSCustomObject]@{Name="test2";Date=(Get-date)})| ConvertTo-Csv -NoTypeInformation
"Name","Date"
"test1","2021-07-26 12:21:04"
"test2","2021-07-26 12:21:04"

However in Powershell 7 I get this error when trying to change the ShortDatePattern
SetValueInvocationException: Exception setting "ShortDatePattern": "Instance is read-only."
Expected behavior
I should be able to (somehow) modify the date string format used by Export-Csv or ConvertTo-Csv

Some discussion around this area in https://github.com/PowerShell/PowerShell/issues/3833

Also https://stackoverflow.com/questions/14909954/set-date-format-to-be-used-in-powershell-export-csv

Actual behavior
SetValueInvocationException: Exception setting "ShortDatePattern": "Instance is read-only."

Error details
Exception             :
    Type           : System.Management.Automation.SetValueInvocationException
    ErrorRecord    :
        Exception             :
            Type    : System.Management.Automation.ParentContainsErrorRecordException
            Message : Exception setting "ShortDatePattern": "Instance is read-only."
            HResult : -2146233087
        CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        FullyQualifiedErrorId : ExceptionWhenSetting
        InvocationInfo        :
            ScriptLineNumber : 1
            OffsetInLine     : 3
            HistoryId        : -1
            Line             : $(Get-Culture).DateTimeFormat.ShortDatePattern = 'yyyy-MM-dd' ## ensure that csv
exports dates in universal format
            PositionMessage  : At line:1 char:3
                               + $(Get-Culture).DateTimeFormat.ShortDatePattern = 'yyyy-MM-dd' ## ensu …
                               +   ~~~~~~~~~~~
            CommandOrigin    : Internal
        ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
    TargetSite     :
        Name          : ConvertToMethodInvocationException
        DeclaringType : System.Management.Automation.ExceptionHandlingOps, System.Management.Automation,
Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    StackTrace     :
   at System.Management.Automation.ExceptionHandlingOps.ConvertToMethodInvocationException(Exception exception,
Type typeToThrow, String methodName, Int32 numArgs, MemberInfo memberInfo)
   at CallSite.Target(Closure , CallSite , Object , String )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    Message        : Exception setting "ShortDatePattern": "Instance is read-only."
    Data           : System.Collections.ListDictionaryInternal
    InnerException :
        Type       : System.InvalidOperationException
        TargetSite :
            Name          : set_ShortDatePattern
            DeclaringType : System.Globalization.DateTimeFormatInfo
            MemberType    : Method
            Module        : System.Private.CoreLib.dll
        StackTrace :
   at System.Globalization.DateTimeFormatInfo.set_ShortDatePattern(String value)
   at CallSite.Target(Closure , CallSite , Object , String )
        Message    : Instance is read-only.
        Source     : System.Private.CoreLib
        HResult    : -2146233079
    Source         : System.Management.Automation
    HResult        : -2146233087
CategoryInfo          : NotSpecified: (:) [], SetValueInvocationException
FullyQualifiedErrorId : ExceptionWhenSetting
InvocationInfo        :
    ScriptLineNumber : 1
    OffsetInLine     : 3
    HistoryId        : -1
    Line             : $(Get-Culture).DateTimeFormat.ShortDatePattern = 'yyyy-MM-dd' ## ensure that csv exports
dates in universal format
    PositionMessage  : At line:1 char:3
                       + $(Get-Culture).DateTimeFormat.ShortDatePattern = 'yyyy-MM-dd' ## ensu …
                       +   ~~~~~~~~~~~
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
Hopefully the above is clear

The property is exposed as read-only by .Net. You can use Get-Date -Format "yyyy-MM-dd" to get a format you need.

Hi thanks for the response.
The properties in Powershell are all marked as get/set?
Get-UICulture | gm
....
DateTimeFormat                 Property   System.Globalization.DateTimeFormatInfo DateTimeFormat {get;set;}
                                                                                *****

Also the suggestion doesn't deal with the use case that I raised. Get-Date doesn't apply to ConvertTo-Csv/Export-Csv so not sure if I'm missing something but doesn't seem relevant?
The only way that I can figure out how to do it is to apply a custom Select-Object Property Parameter and loop through applying an appropriate transform on each field. Pretty painful to code and inefficient to run rather than just being able to apply culture format string as per PS5.1
Feels like there should be a simpler way in Powershell that gets back to a one line solution as per Powershell 5.1. Is this not considered a bug if not a known documented departure from PS 5.1? Should I raise as a feature request if not considered as a bug?

You assign ShortDatePattern which can be readonly. PowerShell follows .Net.

The property is exposed as read-only by .Net.

Just to clarify, the property on the type is settable, but the CultureInfo object we get from .NET is readonly:
> [cultureinfo]::CurrentCulture.IsReadOnly
True

Is this not considered a bug if not a known documented departure from PS 5.1?

Get-Culture is just a thin wrapper around the CultureInfo .NET API. .NET seem to have made a change here and there's not much we can do about it.
I have opened https://github.com/dotnet/runtime/issues/56405 to discuss this or at least get it documented.
The workaround is:
$culture = [cultureinfo]::new('en-GB')
$culture.DateTimeFormat.ShortDatePattern = 'yyyy-MM-dd'
Set-Culture $culture

So from the discussion in the .NET repo, this actually seems to be a bug in Windows PowerShell; the default CurrentCulture property is supposed to be a readonly instance in all .NET versions.

Ok I've looked into this further (I originally took the original user's report at face value) and I have a rather mysterious result.
Running this directly as a .NET program I get the expected error:

But running the same thing from Windows PowerShell "works":

And now it throws again in PS 7...
So this is clearly a PowerShell issue of some kind, but I have no idea how...


Does not render in Polymer 1

Chart does not appear to work in Polymer 1.

Briefly looked into this.  If you set chartData again it will render as expected.  For some reason it is getting invalid x and y return values when it tries to draw the first time.

This appears to have been fixed.  When I run with polymer serve and select Polymer 1, chart comes up as expected.
To view Polymer 1 and 2 versions, run the following (command line) in the project directory:
polymer install --variants
polymer serve

Navigate to the url provided by the commands and click the Polymer 1 url:


Change web3modal to Appkit and Walletconnect to Reown

Describe the issues
Web3modal is now deprecated, Walletconnect is now Reown, with a web3modal substitute - Appkit
There's also a broken image link
Screenshots

@ayo-klaytn pls assign this issue to me

@youngancient please proceed with the fix


libvirt: 10.9.0 -> 10.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for libvirt is: Toolkit to interact with the virtualization capabilities of recent versions of Linux and other OSes
meta.homepage for libvirt is: https://libvirt.org/
meta.changelog for libvirt is: https://gitlab.com/libvirt/libvirt/-/raw/v10.10.0/NEWS.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.10.0 with grep in /nix/store/h12a0qjsc84hsjy9z5q0r62q9py6gp3r-libvirt-10.10.0
found 10.10.0 in filename of file in /nix/store/h12a0qjsc84hsjy9z5q0r62q9py6gp3r-libvirt-10.10.0

Rebuild report (if merged into master) (click to expand)

35 total rebuild path(s)

35 package rebuild(s)

First fifty rebuilds by attrpath

appvm
collectd
diffoscope
docker-machine-kvm2
fdroidserver
garble
gnome-boxes
htcondor
libguestfs
librenms
libvirt
libvirt-glib
libvmi
mgmt
minikube
multipass
perl538Packages.SysVirt
perl540Packages.SysVirt
prometheus-libvirt-exporter
python311Packages.guestfs
python311Packages.libvirt
python312Packages.guestfs
python312Packages.libvirt
rubyPackages.ruby-libvirt
rubyPackages_3_1.ruby-libvirt
rubyPackages_3_2.ruby-libvirt
rubyPackages_3_3.ruby-libvirt
rubyPackages_3_4.ruby-libvirt
vagrant
virt-manager
virt-manager-qt
virt-top
virt-v2v
virt-viewer

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h12a0qjsc84hsjy9z5q0r62q9py6gp3r-libvirt-10.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libvirt https://github.com/r-ryantm/nixpkgs/archive/889fb165d6f4e598bc939bf632744afe4379956a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/889fb165d6f4e598bc939bf632744afe4379956a#libvirt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h12a0qjsc84hsjy9z5q0r62q9py6gp3r-libvirt-10.10.0
ls -la /nix/store/h12a0qjsc84hsjy9z5q0r62q9py6gp3r-libvirt-10.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 51 packages built:

appvm
collectd
diffoscope
diffoscope.dist
diffoscope.man
docker-machine-kvm2
fdroidserver
fdroidserver.dist
garble
gnome-boxes
guestfs-tools
htcondor
libguestfs
libguestfs-with-appliance
libguestfs-with-appliance.guestfsd
libguestfs.guestfsd
librenms
libvirt
libvirt-glib
libvirt-glib.dev
libvirt-glib.devdoc
libvmi
libvmi.dev
libvmi.lib
mgmt
minikube
multipass
ocamlPackages.ocaml_libvirt
perl538Packages.SysVirt
perl538Packages.SysVirt.devdoc
perl540Packages.SysVirt
perl540Packages.SysVirt.devdoc
prometheus-libvirt-exporter
python311Packages.guestfs
python311Packages.guestfs.dist
python311Packages.libvirt
python311Packages.libvirt.dist
python312Packages.guestfs
python312Packages.guestfs.dist
python312Packages.libvirt
python312Packages.libvirt.dist
rubyPackages.ruby-libvirt
rubyPackages_3_1.ruby-libvirt
rubyPackages_3_2.ruby-libvirt
rubyPackages_3_4.ruby-libvirt
vagrant
virt-manager
virt-manager-qt
virt-top
virt-v2v
virt-viewer

Maintainer pings
cc @fpletz @globin @lovesegfault for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@amarshall Hmm, that's weird. The NixOS tests were building fine and local testing using virsh -c qemu:///system works on my machines.


defmt::export::acquire appears twice in optimized machine code

Steps to reproduce
Start from app-template, configure it to use the main branch of defmt then modify hello to look like this
fn main() -> ! {
    app::export::acquire();
    app::exit()
}

$ cargo build --bin hello --release

$ arm-none-eabi-objdump -Cd target/thumbv7em-none-eabihf/release/hello

 000001ca <defmt::export::acquire>:
  1ca:   b5f0        push    {r4, r5, r6, r7, lr}
  1cc:   af03        add r7, sp, #12
(..)
 252:   f7ff ffae   bl  1b2 <core::panicking::panic>
 256:   defe        udf #254    ; 0xfe

(..)

00000356 <_defmt_acquire>:
 356:   b5f0        push    {r4, r5, r6, r7, lr}
 358:   af03        add r7, sp, #12
(..)
 3de:   f7ff fee8   bl  1b2 <core::panicking::panic>
 3e2:   defe        udf #254    ; 0xfe

Above _defmt_acquire and defmt::export::acquire are exact duplicates.

defmt::export::acquire is defined like this:
#[inline(never)]
pub fn acquire() {
    extern "Rust" {
        fn _defmt_acquire();
    }
    unsafe { _defmt_acquire() }
}

_defmt_acquire is defined in defmt-rtt. My guess is that _defmt_acquire gets inlined in the export::acquire BUT a full copy of it stays around because it has both #[no_mangle] on it and we have EXTERN(_defmt_acquire) in the defmt.x linker script.
Unsure how to fix. I wouldn't expect EXTERN to act like KEEP (LLD issue?). Removing EXTERN is likely to cause linker errors in some cases.
I think this issue also applies to other _defmt_* symbols but haven't checked

Could we make export::acquire #[inline] and _defmt_acquire #[inline(never)]?

That should work!
(Marking export::acquire inline(never), as it is right now, does seems odd. _defmt_acquire is the "binary interface" and that's what should be kept around as a symbol so marking that one inline(never) makes more sense)
This also appears to affect release v0.2.3


feat: add data attributes to relevant components for better css targeting

To enable custom styling of certain elements it is necessary to be able to target certain components and elements with CSS. Therefore we need to have uniqe classes or ids on these elements.

Considering we have Tailwind CSS enabled in the project, I think it's better to use data-xxx instead of a class name, like data-theme-toggle for example.

Merging it now, thanks for contributing!

Thanks so much! Would love to contribute more in the future!