[coreaudio] Implement Endpoint and Format Enumeration

Based on #195.
Also implements proper handling of the given Endpoint in the
macos implementation of the build_voice method.
Updates to the latest coreaudio-sys and coreaudio-rs which include the
additional necessary frameworks.
Also adds a line that prints the name of the default device in the
enumeration.rs example.
Updates the CHANGELOG for this PR.
Closes #194.
Related to #180.
Related external issues:

RustAudio/coreaudio-sys#4
RustAudio/coreaudio-rs#57

Any chance another macos user could test this on their setup? cc @HybridEidolon @jansol @SirVer

I will take a look this evening.

I lied, I wanted to check real quick at work.
Compilation fails on High Sierra on building coreaudio-sys because CoreMIDI headers are missing on my system. Not sure if this is because of a deprecation or something else.

Here is my test lock:
Full success on a MacBook Pro, 15 inch, 2017 and Sierra (10.12.6):
$ git clone https://github.com/tomaka/cpal.git && cd cpal
$ git branch --track mitchmindtree/device_enumeration mitchmindtree/device_enumeration
$ git fetch mitchmindtree
$ git branch --track mitchmindtree/device_enumeration mitchmindtree/device_enumeration
$ git checkout mitchmindtree/device_enumeration
$ cargo build --examples
... lotsa output
$ target/debug/examples/beep
I hear a beep
$ target/debug/examples/enumerate
will be inserted in a second

Errors on a MacBook Pro, 15 inch, early 2013 and High Sierra (10.13.3):
$ git clone https://github.com/tomaka/cpal.git && cd cpal
$ git branch --track mitchmindtree/device_enumeration mitchmindtree/device_enumeration
$ git fetch mitchmindtree
$ git branch --track mitchmindtree/device_enumeration mitchmindtree/device_enumeration
$ git checkout mitchmindtree/device_enumeration
$ cargo build --examples
...
   Compiling coreaudio-sys v0.2.0
error: unexpected close delimiter: `]`
    --> /private/tmp/cpal/target/debug/build/coreaudio-sys-40e6324cdf4d6678/out/coreaudio.rs:2188:33
     |
2188 | #[derive(Copy, Clone)]; 16usize ] , }#[test]
     |                                 ^

error: Could not compile `coreaudio-sys`.

Manually deleting this tests leads to more similar errors in that file, once all are fixed compilation fails because of errors in this generated file. I gave up here.

Thank you both for testing!
@HybridEidolon interesting! In the documentation I've been able to find Apple mentions that CoreMIDI is not available on iOS but seems to imply that it should be generally be available on macOS. That said, those docs were quite old. I'll do some digging and see if I can find anything about a change for CoreMIDI between Sierra and High Sierra.
What are the results if you build coreaudio-sys with --no-default-features --features "audio_toolbox audio_unit core_audio open_al" (in other words, all the features besides the core_midi one)? Is it just /System/Library/Frameworks/CoreMIDI.framework/Headers that does not exist? Or does the framework itself not exist on your system?
@SirVer it looks like this syntax error is due to an old bug in the way that rustfmt handles unions. What is the result of rustfmt --version on your High Sierra system? Mine is 0.2.16-nightly (the one that the rustup stable target provides) and it seems to work OK. If you update to the rustfmt that rustup manages does the error go away for you?
Do you run into the missing CoreMIDI issue that HybridEidolon mentioned at all?

I wonder if we should just call .rustfmt_bindings(false) on the bindgen::Builder to reduce the surface area of potential errors anyway? On the other hand, it is quite useful to be able to browse the source of the generated bindings when running cargo doc --open for example, which might be near impossible without rustfmt as I think bindgen puts everything on one line by default.

The Headers are missing from the system framework. I do have Xcode installed, so it seems odd.

@HybridEidolon hmm I'm struggling to find why this might be the case. The frameworks reference mentions it should have been around since v10.0. The CoreMIDIServer framework was deprecated in 10.6, but it doesn't mention anything about CoreMIDI itself. The more current looking docs don't seem to say anything about it being deprecated either.
If you search your system for CoreMIDI.h do you find anything? A total shot in the dark, but I wonder if for some reason its in ~/Library/Frameworks/ instead? I don't see why it would be though.
Is MIDI input/output working on your system at all at the moment? I wonder if you could test with this, although you'd probably need some MIDI device to do so.

For starters, I'll update this PR to remove all unnecessary features that CPAL itself does not currently use. This should leave only the audio_unit and core_audio features - at least this might help us move forward with this PR and allow us to address the CoreMIDI framework issue in coreaudio-sys itself.

@HybridEidolon I've updated this PR to only link to the necessary AudioUnit and CoreAudio frameworks - I wonder if you'll have more luck now?

Reading through the comments I revisited the Errors on a MacBook Pro, 15 inch, early 2013 and High Sierra (10.13.3):
$ cargo uninstall rustfmt
    Removing /Users/sirver/.cargo/bin/cargo-fmt
    Removing /Users/sirver/.cargo/bin/rustfmt
$ cargo uninstall rustfmt-nightly
    Removing /Users/sirver/.cargo/bin/rustfmt-format-diff
$ rustup component add rustfmt-preview --toolchain=nightly
info: downloading component 'rustfmt-preview'
info: installing component 'rustfmt-preview'
$ git pull
remote: Counting objects: 19, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 19 (delta 10), reused 18 (delta 9), pack-reused 0
Unpacking objects: 100% (19/19), done.
From github.com:mitchmindtree/cpal
   3952c44..d482d64  device_enumeration -> mitchmindtree/device_enumeration
 + d847b03...d2e56e1 channel_position   -> mitchmindtree/channel_position  (forced update)
 + cd44abf...1ce498b rename_types       -> mitchmindtree/rename_types  (forced update)
Updating 3952c44..d482d64
Fast-forward
 Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
$ cargo build --examples
runs through without errors
$ target/debug/examples/beep
I hear a beep
$ target/debug/examples/enumerate
Default Endpoint:
  Some("Built-in Output")
Endpoints:
1. Endpoint "Built-in Output" Audio formats:
1.1. SupportedFormat { channels: [FrontLeft, FrontRight], min_samples_rate: SamplesRate(44100), max_samples_rate: SamplesRate(44100), data_type: F32 }
1.2. SupportedFormat { channels: [FrontLeft, FrontRight], min_samples_rate: SamplesRate(48000), max_samples_rate: SamplesRate(48000), data_type: F32 }
1.3. SupportedFormat { channels: [FrontLeft, FrontRight], min_samples_rate: SamplesRate(88200), max_samples_rate: SamplesRate(88200), data_type: F32 }
1.4. SupportedFormat { channels: [FrontLeft, FrontRight], min_samples_rate: SamplesRate(96000), max_samples_rate: SamplesRate(96000), data_type: F32 }

So full success on both of my systems now.


Undefined method FileGenerator::fromReflectedFilePath()

Bug Report
Method fromReflectedFilePath is missing from Laminas\Code\Generator\FileGenerator.

Q
A

Version(s)
4.5.1

Summary
The documentation refers to fromReflectedFilePath static method for Laminas\Code\Generator\FileGenerator, as can be seen in the link.
But once one inspects the code for the aforementioned class, there is no such method. There is no such method for its parent class AbstractGenerator either.
Am I missing something?
Current behavior
Method fromReflectedFilePath is missing from Laminas\Code\Generator\FileGenerator although being present in the documentation.
How to reproduce
Seems quite straight forward to reproduce.
Expected behavior
Method fromReflectedFilePath is found in Laminas\Code\Generator\FileGenerator or is removed from documentation.

I think it should be removed from the docs: file scanners have completely gone from laminas/laminas-code, so some updating is necessary.
Can you send a patch, please?

Done @Ocramius, thank you for replying to the issue this fast, very much appreciated.


COSIM: FullBoot needs to be updated with new BAREMETAL_PRINTF switches

fullBoot functionality restored through the following:

Minor changes to sd_spi_model.v to properly process the offset (BBL_PARTITION_START_SECTOR) passed to it by the CEP bootrom (sd.c)
In cep_apis.cc, changed loadMemory to restore the destOffset parameter, allowing fullBoot to load the executable into the SD model by the BBL_PARITION_START_SECTOR offset (x512b block size)
Changed default BAREMETAL_PRINTF for fullBoot to be kputc (thus enabling baremetal UART printfs via UART)


Add zenrin and tellus

fix #63

Hi, thank you for the PR! Adding Zenri.
As far as I can see tellus is a platform operated by Sakura Internet, but itself not a company that provides geospatial jobs. And Sakura seems to be a big general IT company, would rather leave it off. Maybe you can clarify if you think it is relevant.


[$250] Update pages listening for network.isOffline in componentDidUpdate() to use NetworkConnection.onReconnect()

Problem

Various components are currently subscribing to changes in the network key to determine whether some logic needs to run as part of a "reconnect".

The network key doesn't tell us if one or more of the requests we are running in these places has failed to occur because the authToken expired.

Solution
The NetworkConnection.onReconnect() will now run some callbacks when either of these things happen.
We can also unsubscribe these callbacks in componentWillUnmount()
We must refactor and then test all the screens we are updating.

Job posting: https://www.upwork.com/jobs/~01b9eea0566c82c750

@marcaaron just to confirm, should I be assigning a C+ to this issue?

It's supposed to happen automatically. I'm not sure why it did not and will have to look into it.

Just gonna take this internal for now. Sorry @NicMendonca not sure why the C+ assignment didn't work and will have to check it out in another issue.

I'm guessing the Exported label has been deprecated and these kinds of issues are now tagged as Internal & External 🤔

I got a few issues assigned yesterday which I already started reviewing. Can we please assign someone else here? @laurenreidexpensify @marcaaron

@marcaaron can you confirm if this is internal or external? the conflicting labels aren't clear :)

I think it's expected and issues can have both labels (not my idea). This is being worked on "internally" and we need an external review.

Marc was OOO last week, not overdue

Sorry about this, but I'm going to close this issue and create some follow up External issues instead. It can be done externally and I'm not able to prioritize working on this.


feature/link-component

add aLink component to the dev console component library

https://user-images.githubusercontent.com/7654369/140074183-eed59f54-cb77-4fe2-8965-caa9b57bb470.mov

Looks good! You'll have to rebase. :shipit:


[Enhancement]Task Framework supported execution progress

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11441
Problem Summary(Required) ：

support showing the execution progress of the TaskRun by exectuing the sql (select * from informations.task_runs)

Checklist:

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

[FE PR Coverage Check]
:disappointed: fail : 12 / 25 (48.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[512]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
0
1
00.00%
[549]

:large_blue_circle:
com/starrocks/load/loadv2/LoadJob.java
0
1
00.00%
[134]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
0
1
00.00%
[200]

:large_blue_circle:
com/starrocks/scheduler/TaskRun.java
8
16
50.00%
[135, 136, 137, 138, 139, 140, 141, 143]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
2
3
66.67%
[103]

:large_blue_circle:
com/starrocks/qe/ConnectContext.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/SchemaTable.java
1
1
100.00%
[]

Have you ever tested async CTAS also work?

[FE PR Coverage Check]
:disappointed: fail : 10 / 23 (43.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[512]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
0
1
00.00%
[549]

:large_blue_circle:
com/starrocks/load/loadv2/LoadJob.java
0
1
00.00%
[134]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
0
1
00.00%
[200]

:large_blue_circle:
com/starrocks/scheduler/TaskRun.java
6
14
42.86%
[135, 137, 138, 139, 140, 141, 143, 144]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
2
3
66.67%
[103]

:large_blue_circle:
com/starrocks/qe/ConnectContext.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/SchemaTable.java
1
1
100.00%
[]

Have you ever tested async CTAS also work?
it works ，and i have added the  screenshot to the Problem Summary

run starrocks_admit_test

run starrocks_fe_unittest

starrocks_be_unittest succeeded.

[FE PR Coverage Check]
:disappointed: fail : 13 / 28 (46.43%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[512]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
0
4
00.00%
[480, 481, 483, 552]

:large_blue_circle:
com/starrocks/load/loadv2/LoadJob.java
0
1
00.00%
[134]

:large_blue_circle:
com/starrocks/scheduler/TaskRun.java
8
16
50.00%
[135, 136, 137, 138, 139, 140, 141, 143]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
2
3
66.67%
[103]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectContext.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/SchemaTable.java
1
1
100.00%
[]


Sales Report

Given a time window, display the sales by menu item from the order history

Calendar was modified! Time window was created.


Bundle multiple files as 1 upload

How can I send multiple files as 1 POST API call to backend?

Please ask questions on stack overflow.
https://stackoverflow.com/questions/ask?tags=filepond


Add files via upload

Id: 00dc165b0420ca83

confirmed:B1
node:00dc165b0420ca83

confirmed:B1
node:00dc165b0420ca83


Use an embedded zookeeper for cluster management

Tasks like leader election and cluster locking within the cluster would be made easier and more robust if we could use zookeeper to manage that cluster wide state.  It seems it is possible to fully embed zk in stroom to avoid the requirement of a zk cluster as has been done at NiFi.
https://docs.cloudera.com/HDPDocuments/HDF3/HDF-3.5.1/nifi-state-management/content/embedded_zookeeper.html
It would make config slightly more tricky in that 3 or 5 nodes would need to have slightly different config than the others, however it should make stroom more resilient to node failure.  For those envs where a dedicated zk cluster is available, we can make it configurable to use embedded or use an external one as NiFi has done.

See here for integrating zk https://github.com/apache/nifi/blob/e2e137fced39f184e5998f7c4befe03e70f53016/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/state/server/ZooKeeperStateServer.java#L84

See also https://sourcedelica.com/blog/2013/02/adventures-in-clustering-part-2/

Closing this as it is likely we will adopt hazelcast


Rename meda-services-managing-multiple-storage-accounts.md to media-s…

…ervices-managing-multiple-storage-accounts.md
There is one typo in the file name, meda=>media

Hi @jierong, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jierong). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@jierong - Hi, thanks for your contribution. We are in the process of refactoring the Azure technical articles, so we can’t merge this PR. When the refactoring is complete, we can give you a link to the new location of the article you updated so you can resubmit your update, if you want to.

@jierong - Thanks for your contribution to the Azure docs. On November 16th, we announced the availability of our Azure technical documentation in a new location on docs.microsoft.com. You can read about it on our team blog. This change means the article source lives in a new GitHub repository. Because there are some changes in the source markdown as a result of the move, we can’t pull your contribution over to the new repo without creating a ton of merge conflicts. We invite you to resubmit the change (if you are willing) to the new version of the article at https://docs.microsoft.com/en-us/azure/media-services/meda-services-managing-multiple-storage-accounts. Thanks for your understanding.


Enable and test an optional PvFmm kernel

PvFmm is disabled by default, but test and enable either the defaul full or de-singularized BR kernel to solve if enabled.

Giving up on PVFMM. Too brittle and doesn't support GPU on points.


Docker Hub overview states jekyll s is the default command

As in the title, the overview of jekyll/build in Docker Hub states jekyll s is the default command but this conflicts the Dockerfile Line 172 CMD ["jekyll", "--help"].

The documentation has been removed and points to the readme now. Thanks!


Group/Project Descriptions

It would be cool if these were in Markdown, but that introduces several issues:

Some markdown libraries are huge. It may be better to render it to HTML on the server
Security is a big issue with user-submitted content:

All forms of scripting must be disabled
External images shouldn't be allowed

@Ren22 To clarify the security constraints, here's a list of things to check. You will probably need to change the library's options to conform to these rules. It may even be necessary to run the output through another library like sanitize-html:
Either:

It must completely disable HTML parsing, e.g. <b>Foo</b> gets rendered as text with no bold effect

Or:

It must fix/remove HTML tags that are missing their opening or closing tag, e.g. </div> or <pre> should not break the layout of the page
It must only allow safe HTML elements from a whitelist of tags that only affect text style. All of these tags are vulnerable to allowing arbitrary scripts to be run, which could be used to steal passwords & data: <script>, <style>, <link>, <iframe>, <svg>, <object>. I'm probably missing some, and there's no guarantee that there aren't going to be any new vulnerable elements in the future, so it's important that it operates on a "only allow known-to-be-safe elements" instead of a "disallow known-to-be-unsafe elements" basis.
It must be able to block images from external sources, as they can be used to track users without their consent. Ideally we'd be able to whitelist our own domains, but that's not a strict requirement.

Also:

For links it should add rel="nofollow noopener noreferrer" to the <a> element, as this prevents the target site from being able to have any access to the page that opened the link, and indicates to search engines that we don't trust that link.

Please let me know if you want me to review any libraries/find libraries that fit these criteria, and let me know when you've decided on which libraries to use so I can check they're safe before you put time into integrating them.

@LachlanStuart thanks for a very detailed clarification, I'm just wondering - would it be ok if I write my own checker maybe based on these libraries? That sounds as interesting task for me.
Also: what are the potential ways to have these descriptions added on Metaspace? Are we going to provide somewhere a form to input it as part of the form?

@Ren22 I mentioned it at lunch, one of the principles of good security is to avoid writing your own security code, relying instead on community-reviewed packages. If you can't find anything satisfactory, I suggest you use that sanitize-html library - its default values are almost perfect, it only needs two changes:

Don't allow <iframe> at all
Add rel="nofollow noopener noreferrer" to all <a> elements (this can be done with the transformTags option)

The description should be editable on the "Settings" tab of the group/project page. It should be similar to the GitHub editor - have a Write and Preview tab, as well as a hint that Markdown is supported with a link to a reference guide.


ToDo Feature: Add Async Support

open issue for adding TAP based Async Support

Is the API changing at all? If not, which part of the API would benefit from Async support?

I'm just planning on adding on to the API. The main benefit would be not blocking where the file header is read from the disk.

Don't mind me, I'm kind of a noob at this and correct me if I'm wrong. I was doing some research, looking at async code samples inside the CLR, Kestrel web server, and the 6 essential async tips videos on Channel 9. The only part of the code that could really benefit from async is where the file header is read from a stream or the file system. This would be IO bound async, so it would be really just forwarding the await where the file data is read. Although, where the data is read from a byte array could be made async through something like Task.Run since it's cpu bound work. Thoughts?


Update testing.c

These changes are not really necessary - the testing.c is just to help me learn about basic functions in c.


stats: 'errors-warnings' setting does not suppress success message

Bug report

What is the current behavior?
When the stats option is set to 'errors-warnings', it still outputs the message webpack compiled successfully to the console.
If the current behavior is a bug, please provide the steps to reproduce.

Open webpack.config.js.
Set the stats option to 'errors-warnings'.
Run webpack.
Note the message webpack compiled successfully.

What is the expected behavior?
Webpack should not log a success message when stats is set to 'errors-warnings' since the success message is neither an error nor a warning.

Other relevant information:
webpack version:
webpack: 5.74.0
webpack-cli: 4.10.0
Node.js version:
v16.17.1
Operating System:
Ubuntu
Additional tools:
VS Code

Expected, please set none if you don't need any message, in another case we always output this message, sorry, we don't want to change it

What's the justification for not wanting to change it?

webpack compiled successfully uses a lot of tools to indicate finished build (especial on CI), I want to say it is historical reasons, there are hooks to change it on the plugin level https://github.com/webpack/webpack/blob/main/lib/stats/StatsPrinter.js, so if you reall want it you can create a small plugin

Thanks for the history and suggestion! Would you accept a pull request to mention this in the docs?

Yes, of couse, any docs improvements are welcome


missing dependency (hyprwayland-scanner)

Hyprland Version
.
Bug or Regression?
Bug
Description
https://wiki.hyprland.org/Getting-Started/Installation/
in this section, in the arch dependencies, the 'hyprwayland-scanner' package is missing.
i tried to manually build hyprland, and i had an error which indicated me that that package is missing.
i'm sorry for my bad english.
How to reproduce
try to manually build hyprland.
Crash reports, logs, images, videos
No response

same issue here i even tried cloning it into subprojects before compiling and now get Subproject exists but has no meson.build file when using meson


(ENV200) Collect launch files for sensors

Essentially the same as tasks as for the completed twizy issue.

Key Details
Set up:

PC connected to router
Velodyne VLP32C connected to router
(Optional) Router's WAN port connected to network switch (big machine with a lot of ethernet ports) if you want the PC to access the internet

Router's IP: <IP_ADDRESS> (found using ip route show defalt)
Router User/Pass at IP: admin/Civil01! (i.e. login deets located on the router)
PC's IP: <IP_ADDRESS>
Connect to RUT950 network to ssh to the pc
02/09/24 Log
enp2s0 is the network interface where the lidar is connected (as of 02/09/24).
enp2s0 shows "unmanaged", following these instructions:

Doesn't work: https://askubuntu.com/questions/1039233/no-wired-connection-wired-unmanaged-ubuntu-18-04
Worked: https://askubuntu.com/questions/1290471/ubuntu-ethernet-became-unmanaged-after-update

Fix internet connection. Use sudo systemctl restart systemd-networkd to reset network
Configuration at <IP_ADDRESS> should be similar to what we have for the twizy. But the current config shows motor state and laser being off.
To Launch velodyne:
First terminal: ros2 launch velodyne_driver velodyne_driver_node-VLP32C-launch.py
Second terminal: ros2 launch velodyne_pointcloud velodyne_transform_node-VLP32C-launch.py
Issue: first command trys to poll(), which isn't a good sign.
Getting velodyne poll(), most likely because velodyne motor & laser is off: May need to revisit the manual https://icave2.cse.buffalo.edu/resources/sensor-modeling/VLP32CManual.pdf

Motor & Laser state is on now, I didn't do anything additional besides turning off the van!

Just had to run the last two commands (assuming the setup is still the same)

Tried heaps of configurations:

[ ] Try using the PEAK-CAN usb adapter from the twizy
[ ] Occasionallysudo reboot
[ ] Try Drive mode


chore(workspace): Migrate back to thiserror v2

Overview
Migrates all crates back to thiserror, now that >=v2.0.0 has support for no_std with default-features = false.
closes #806

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#811 👈
main

This comment was automatically generated by st.


Enable upgrades to kubeadm

Existing installs of kubespray with the standard deployment should be upgradeable to kubeadm.

This was implemented


added maths section and numberous courses underit, different headings for different topics in free-courses-hi.md

…bability
What does this PR do?
Add resource(s)
For resources
Description
added mathematics and two subheadings-discreteMaths and Stats and pro…
Why is this valuable (or not)?
Math is an important subject for this field so i have added some basic courses in maths for the betterment of students
How do we know it's really free?
free on youtube
For book lists, is it a book? For course lists, is it a course? etc.
courses
Checklist:

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

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

for 3 courses, we only need one category for Mathematics


RSpec - expect a_request - undefined with

RSpec 3.4
Webmock 1.24.2
When using something like your example:
expect(a_request(:get, "www.example.com").with(:query => {"a" => ["b", "c"]})).
  to have_been_made

I get an error:
NoMethodError:
       undefined method `with' for #<RSpec::Expectations::ExpectationTarget:0x007fb8345d54c8>

However, using expect on the WebMock class works:
expect(WebMock).to have_requested(:get, "www.example.com").
  with(:query => {"a" => ["b", "c"]})

@dsandstrom are you sure you have used exactly the provided snippet expect(a_request(:get, "www.example.com").with(:query => {"a" => ["b", "c"]})).   to have_been_made and it gave you this error?
Based on the error message you provided I suspect you had expect(a_request(:get, "www.example.com")).with. Please note the double parenthesis before with.
There are many examples of this syntax in WebMock test suite and they all pass on RSpec 3.4.
If you still get this, please provide a failing code example, so I can reproduce it.

Yeah, that was it.  I was cutting off expect too early.  Thanks for guidance.


DROOLS-733 - Added tests covering client functionality.

Tests verifying exitTask() functionality and and correlation keys.
Shows error in getProcessInstance() method which doesn't return correlation key - test testStartCheckProcessWithCorrelationKey().

test cases merged and issue fixed, thanks @sutaakar


Getting "Mice" errors when running script in

A script is provided for this class.  We are giving complete credit to this repository for lab instructions, but in the first day,we are running power bi script you provided (see below):
SCRIPT Module 1
library(mice)
tempData <- mice(dataset,m=1,maxit=50,meth='pmm',seed=100)
completedData <- complete(tempData,1)
output <- dataset
output$completedValues <- completedData$"SMI missing values"
IT's coming back with a MICE error - any ideas?

@davidi this is for desktop-r-in-query-editor file.

Sorry about the trouble you're having. Sounds like you have a support request, rather than documentation feedback. Please use https://support.powerbi.com to submit support tickets.


Training Never Starts in Single GPU machine (Solution)

Hi , I dont use much pytorch-lightning or performed distributed training (noob here),
but found that the training never starts on a single gpu single node configuration
The solution which I found out for the same was to modify the num_nodes parameter in your train configuration to 1
If number is greater that 1 pytorch lightning waits for the other nodes I presume
It took a lot of time for me to get it right , putting it out for fellow noobs : )
Thanks for sharing such an incredible work to the community !!!

Hi @TheSeriousProgrammer, thanks for sharing your experience!
d3f759b will help to prevent such misunderstanding. Thanks a lot :)


Update vulnerability vs reproducibility section

Learn Build status updates of commit e4d5b30:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:warning:Warning

Details

articles/machine-learning/how-to-troubleshoot-environments.md

Line 82, Column 51: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 84, Column 70: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 82, Column 51: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure' will be broken in isolated environments. Replace with a relative link.
Line 84, Column 70: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation' will be broken in isolated environments. Replace with a relative link.

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 Learn 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 or suggestions 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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

@edebar01

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

NOTE: all the validation issue will need to be cleared before this can be merged. thanks!
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit 5eda166:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:warning:Warning

Details

articles/machine-learning/how-to-troubleshoot-environments.md

Line 82, Column 51: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 84, Column 70: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 82, Column 51: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure' will be broken in isolated environments. Replace with a relative link.
Line 84, Column 70: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation' will be broken in isolated environments. Replace with a relative link.

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 Learn 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 or suggestions 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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 7b8d1ed:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:warning:Warning

Details

articles/machine-learning/how-to-troubleshoot-environments.md

Line 82, Column 51: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 84, Column 70: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 82, Column 51: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure' will be broken in isolated environments. Replace with a relative link.
Line 84, Column 70: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/defender-for-cloud/workflow-automation' will be broken in isolated environments. Replace with a relative link.

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 Learn 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 or suggestions 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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 79e5c54:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:warning:Warning

Details

articles/machine-learning/how-to-troubleshoot-environments.md

Line 99, Column 51: [Warning: file-not-found - See documentation] Invalid file link: '~/azure-docs/articles/defender-for-cloud/defender-for-containers-vulnerability-assessment-azure.md'.
Line 101, Column 70: [Warning: file-not-found - See documentation] Invalid file link: '~/azure-docs/articles/defender-for-cloud/workflow-automation.md'.

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 Learn 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 or suggestions 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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 9b65eeb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
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.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 017bdad:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
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.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off

#sign-off

@gfitzgerald42, @edebar01, is the "provisioned." at the end of line 77 a typo that should be deleted, or should this be otherwise edited?
IMPORTANT: @edebar01 - When you answer, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#hold-off

@jborsecnik I fixed the typo - provision should have been on the previous line.

Learn Build status updates of commit 388daed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/machine-learning/how-to-troubleshoot-environments.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
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.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


libtimescale_core.a for ESP32

Hi Paul,
I'm using ESP32 as  host controller, and it's architecture is Xtensa LX6.
I have realized that there is a library named libtimescale_core.a_xtensa at src folder, and form https://github.com/Decawave/mynewt-timescale-lib/issues/1 I already knew that the library is compiled for ESP8266.
ESP8266’s architecture is Xtensa L106, slightly different form Xtensa LX6. I have tested the libtimescale_core.a_xtensa library using the code below:
//////////////
#include <stdio.h>
#include "esp_system.h"
#include "timescale.h"
void app_main(void)
{
printf("SDK version:%s\n", esp_get_idf_version());
double x0[3] = {0}, q[3] = {128e6 * 512 * 3e-20, 128e6 * 512 * 3e-20 * 0.1, 128e6 * 512 * 3e-20 * 0.01}, T = 1e-6l * 0x100000;
timescale_instance_t * inst = timescale_init(NULL, x0, q, T);
printf("inst=%lu\n", (unsigned long)inst);
}
///////////
The ESP8266's result: inst=1074814716, and it seems all OK.
The ESP32's result: inst=0.  And when I compile my app , there is some warnings like below:
"libtimescale_core.a(timescale.c.obj): warning: incompatible Xtensa configuration (ABI does not match)"
It seems that the library is not compatible with ESP32's architecture.
Then, can you please provide the libtimescale_core.a for ESP32 ?
The ESP32's SDK is not under the mynewt framework.
For the toolchain, please refer this link https://docs.espressif.com/projects/esp-idf/en/latest/get-started/linux-setup.html
Than you very much!

@pkettle
We had the same problem.
Timescale_xtensa is compiled using ABI=CALL0 only for ESP8266.
Can you help me  to recomplie Timescale_xtensa use ABI=WINDOWED for ESP32 ?
Thank you very much!

@pkettle @ncasaril @AnanthaRaman-93
Hi~
Would you please compile a version for Xtensa LX6 and Xtensa LX7?
That will be huge help for us!
Thask alot!


objectToPairs

https://github.com/30-seconds/30-seconds-of-code/blob/master/snippets/objectToPairs.md
saw this one today.
There is a native way of doing the same thing via Object.entries.

This predates the Object.entries method. It might be a good idea to note that Object.entries exists and shunt this to an Object.entries call and deprecate it

Object.entries support is just below 90%. Can we discuss this in a month or so when it's past 90%? It's my OCD talking, but it's not such a bad idea to wait for just a bit.
Two minor concerns of mine are as follows:

We shouldn't remove the method. Even if it works as an alias for the native method, it's not going anywhere as far as I am concerned, as this would break compatibility and we don't want that. Plus, Object.entries has an obscure, forgettable name. Let's help make it discoverable.
The original snippet should be renamed when we transition and moved to the archive. It's interesting if someone wants to see how they could go about implementing it. After all, we are a learning resource and a package, let's take both of these things into account.

What did you mean by Object.entries having an obscure, forgettable name? Also, what can be done to raise Object.entries support to above 90%?

@Chalarangelo the 10% that doesn't support it is literally IE11. Considering it is not only no longer actively developed we should probably not include it in this calculation. We could probably safely use it since anyone still supporting IE11 will be using a transpiler for safety or they miss out on too many features to be productive.
@himdiv23 convince people to drop IE11 for a modern and supported browser?
Also Object.entries is an obscure name as an entry is usually defined as a keyed index... or... basically an Object in JS as the most basic data type. As such it would probably be better known as Object.toPairs, but since we didn't get to make that choice...
Also is there any reason we call it objectToPairs instead of just toPairs? toPairs could be adapted to also support other data types.

@skatcat31 yeah it's mainly IE. We could theoretically wait until the release of the next Windows version that includes the release of a stand-alone Edge that people might swap with their older IEs in Windows 7, right?
It's objectToPairs because it's focused on objects and it's easy to find like that. Actually, renaming will break compatibility and it's also one of the most popular terms for finding us, so maybe just develop other xToPairs methods in the codebase as well? Food for thought.

Might be good food for thought. Either that or a general toPairs method that handles the most common cases(Objects, Sets, Maps)?

@skatcat31 The argument against a general toPairs method is probably testing and compatibility both now and in the long run. I'd still go with objectToPairs, setToPairs etc, but a general version would work if everyone agrees on that one.
@fejes713 @flxwu @atomiks Your opinions?

new Set([[1,2],[3,4]])
Set(2) {Array(2), Array(2)}
Array.from((new Set([[1,2],[3,4]])).entries())
(2) [Array(2), Array(2)]
Array.from((new Map([[1,2],[3,4]])).entries())
(2) [Array(2), Array(2)]
0: (2) [1, 2]
1: (2) [3, 4]
length: 2
__proto__: Array(0)
Array.from([1,2,3].entries())
(3) [Array(2), Array(2), Array(2)]
0: (2) [0, 1]
1: (2) [1, 2]
2: (2) [2, 3]
length: 3
__proto__: Array(0)

new Set()[Symbol.iterator]
ƒ values() { [native code] }

new Map()[Symbol.iterator]
ƒ values() { [native code] }

[][Symbol.iterator]
ƒ values() { [native code] }

const toPairs = o => o[Symbol.iterator] instanceof Function && o.entries instanceof Function ? Array.from(o.entries()) : Object.entires(o)

any object should work due to conversion to a basic key pairing, so it should have 1 of 2 outcomes:

an Array
throws a typeError

What if we actually keep objectToPairs as the beginner snippet using Object.entries() and toPairs as an advanced function that works for everything? Best of both worlds in my opinion.

... that was my suggestion? I must have left it a little too ambiguous

I know I'm forgetting some basic types above, but it should be simple enough

I think we should move forward with this suggestion soon, then. It looks quite promising and it's probably the first snippet that dares delve into iterator territory like that.

I'll work on that when I have some time, but if anyone gets ot it first I won't be too sad. I'm going to be taking it easy tonight though... work has had some rather complex buisiness logic come up recently that I've been working on so I need a night of video games to relax

Set has a weird behavior where if you apply a Array.from (or just spread it) on a Set you'll get tuples of [value, value] instead of [key, value]. To get the correct [key, value] tuples you need to apply a second Array.from.
Anyone knows why that is? This would also make it hard to create a simple generic method to transform anything into pairs.
[...(new Set([3,'a',null])).entries()] // [[3, 3], ["a", "a"], [null, null]]
[...([...new Set([3,'a',null])]).entries()] // [[0, 3], [1, "a"], [2, null]]

@vmarchesin it's because to a set, a key IS it's identifier and value. Set is an associate iterable where the value is keyed by itself and it has constant time lookup. This is useful for large collections where you need to quickly and consistently look for existence in the Set. Array.from() is thus working as expected since the value is it's key. I don't know if always returning the same order as initial input is guaranteed of the top of my head. What you've found however is the order the values from the set were put into the Array.

Object.entries() support is 92% as of now. Let's move forward with this when we have the time.

IE11 seems to be roughly 1/3 or so of the users... the rest are other users locked on older browsers (which seems wild since they largely self-update), unsure of the source of caniuse metrics though.  It's around 91.5% supported now.  All the same, I'd probably favor Object.entries and reference the MDN Polyfill[0].
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries#Polyfill

You are welcome to submit a PR updating the snippet to use the native method, as it's well-supported. However, we should keep the existing one in the archive (I think having both snippets with the same name should not conflict, but better rename the archived version to something like objectToEntries so that it's a hint that it acts as a polyfill?).


Add Hash Table algorithm - varopxndx

Added hash table algorithm to contribute

Please star this repository to show your support, in the meantime I am reviewing your code.


Test method existance

Hi,
Is it possible to mock a method and allow testing it's existance (without actually calling it) from the outside? Here is an example of current test (using is_callable) which returns false (I need it to return true):
$mock = \Mockery::mock('Foo')
  ->shouldReceive('bar')
  ->andReturn('foobar')
  ->mock();

is_callable($mock, 'bar'); // false

Thanks

I think there is a possibility to check the existence of a method in a mock object created using makePartial() of an existing class or from a real object.
$mock = Mockery::mock('SameClass')->makePartial();

or simply
$mock = Mockery::mock(new SomeClass());

with
class SomeClass {
    function foo() { return 'bar'; }
}

tests :+1:
$this->assertInstanceOf(SomeClass::class, $mock);
$this->assertTrue(method_exists($mock, 'foo'));


Complete React 16 support

Overarching project: https://github.com/airbnb/enzyme/projects/4

[ ] Error Boundaries

[x] componentDidCatch

[x] #1255

[ ] Improve filenames in stack (https://github.com/facebook/react/pull/12059)
[x] getDerivedStateFromError (#2036)

[x] Portals

[x] #1710
[x] #1507
[x] #252

[x] React.Fragment

[x] #1503
[x] #1733
[x] #1799

[ ] Rendering non-jsx

[ ] #1149
[ ] #1178
[ ] #1213
[x] #1498

[ ] General issues around our use of private APIs

[ ] #1512

[ ] New context APIs in 16.3

[x] #1509
[x] #1513
[ ] #1647
[x] #1737
[ ] #1908
[ ] contextType (16.6) (#2189, upstream PR)
[x] better support for render props (#1863)

[x] forwardRef

[x] #1604
[x] #1592
[x] #1810 / #1817

[x] createRef

[x] #1704

[ ] <React.StrictMode />: https://reactjs.org/docs/strict-mode.html

[ ] include mode in component stack (https://github.com/facebook/react/pull/13240)

[ ] <React.unstable_AsyncMode /> / <React.unstable_ConcurrentMode />:
[ ] lazy/Suspense (16.6, #1917)
[x] memo (16.6, #1875)
[ ] hooks (16.8, #1938)
[ ] Profiler (#2054)

Isnt #1229 related to this?

@MarcoNicolodi I don't think it is; that issue might either be a bug in v3 or intended behavior, but it's not related to React 16 specifically.

@ljharb I have verified that #1592 solves the forwardRef problem.
What is the release plan for these fixes? New versions for each feature or one release when all of these are completed?
Please let me know if there is anything I can do to help out.

I’m hoping to bunch together as many as possible; there’s currently a backlog for me to go through, after which i hope to cut a release.

@ljharb is there a list of issues you'd like to get merged before releasing a new version on npm? Would love to see this one get released soon: https://github.com/airbnb/enzyme/pull/1513 as my team has already migrated our codebase so just waiting on tests passing.
Perhaps we could help finish up some issues for you to get the release in.

What about createRef()? I'm hitting that not working in https://github.com/styled-components/styled-components/pull/1720 - even with just pure react + enzyme. Here's the test copied over:
test('enzyme should mount object refs', () => {
  const ref = React.createRef()
  const wrapper = mount(
)
  const div = wrapper.find('div').first()
  expect(div).toBeTruthy()
  expect(ref).toHaveProperty('current', div.instance())
})

Is this just a dumb mistake I'm making?

Is there any chance of an alpha release, or do all features need to be supported in one go?

Not sure if this is bundled together with <React.Fragment />, just adding a note in here about <React.StrictMode />: https://reactjs.org/docs/strict-mode.html

I've created a PR to support getSnapshotBeforeUpdate for shallow https://github.com/airbnb/enzyme/pull/1657

Can you confirm that the forwardRef problem is solved by facebook/react#12725 ?

Also, found inconsistency with React.Fragment. Thought to share:
Describe the bug
Shallow should find direct child when inside React.Fragment.
(At least it does so for indirect descendants).
To Reproduce
import * as React from 'react';
import {shallow} from 'enzyme';

const MyCom = () => (

    <React.Fragment>
      A span
    </React.Fragment>

);

describe('enzyme shallow', () => {
  it('test#1: should find descendant span inside fragment ', () => {
    const myCom = shallow(<MyCom />);
    expect(myCom.find('.container span')).toHaveLength(1);
  });

  // TEST FAILS
  it('test#2: should find direct child span inside fragment', () => {
    const myCom = shallow(<MyCom />);
    expect(myCom.find('.container > span')).toHaveLength(1);
  });
});

Expected behavior
Expect test#2 to pass.
Desktop (please complete the following information):

OS: Ubuntu 16.04 LTS GNOME
Browser: X
Version: X

Additional context
Tests are failing inside Jest.

Is this package dead? Last release to npm was half a year ago, not even patch versions since then.
I would be happy to know what happened.

Could it be AirBnB drops support for React Native = no more updates to Enzyme? There was a comment on a post I've referenced below mentioning the trouble they've had when React Native went to React 16 alpha and beta. Can someone comment from the team? https://medium.com/airbnb-engineering/sunsetting-react-native-1868ba28e30a

@krimple no, it absolutely could not be that, and that's ridiculous. All of airbnb.com is in React, and our investment in it has only increased. (the trouble around React 16 and react native is because RN itself unfortunately chose to require an alpha version of React 16 while dropping compat for React 15, and is unrelated to enzyme).
Enzyme currently does not support any of the new features in React 16; that will change in the next release. This project isn't dead in any way; it's just maintained by one person (hi!) who has a personal life and a busy schedule at work.

And it turns out the project I was testing used create-react-app and what fixed my issue was upgrading the jest-runner to the latest version. I was digging deep into a rabbit hole and the problem had nothing to do with Enzyme. My apologies again.

So, how Airbnb managed to survive all those months? Not using any React 16 features? Creating temporary hacks in tests?

@the-spyke not using any React 16 features - we don't use things we can't test.

@ljharb Which means Airbnb has no need for updated Enzyme. Sounds like chicken-egg problem :-) Thanks for the answer -- now I know what to do.

@the-spyke on the contrary; we have a huge need for it, and are dying to use the new React features. "Need" doesn't directly translate to "available time to work on it", however, which is why it's taken this long. However, now we have two engineers spending actual roadmap time on it, so there will be a release soon.

The following packages are now released:

enzyme v3.4.0
enzyme-adapter-react-16 v1.2.0
enzyme-adapter-react-16.3 v1.0.0
enzyme-adapter-react-16.2 v1.0.0
enzyme-adapter-react-16.1 v1.0.0
enzyme-adapter-react-15 v1.0.6
enzyme-adapter-react-15.4 v1.0.6
enzyme-adapter-react-14 v1.0.6
enzyme-adapter-react-13 v1.0.4
enzyme-adapter-utils v1.5.0

forwardRef still doesn't work, by the way.

@simonbuchan fair enough :-) sorry if my reply was harsh.

Yes it is but there is a bug with github where clicking the check mark unchecks the others so you have to manually edit the markdown.

re: 16.6 contextType support - I just put out facebook/react#14329 - it's a PR  for the shallow react-test-renderer so that when contextType is defined, you can just pass it a context.

@ljharb I don't see any item for supporting React.lazy, I see one for Suspense but those two come hand-in-hand.

Does this issue includes shallow rendering support for components that use react hooks?

It looks like the Profiler tickbox is still unsupported but the linked issue is closed. Are there plans to add support for this?

I see #14679 has been merged, does that mean the hooks box can now be checked?

@jimmywongroo that's the PR on react itself for hooks, so no, that doesn't mean anything.


Ingress controller does not alter the Service object properties from custom Ingress configuration

NOTE: GitHub issues are reserved for bug reports only.
For anything else, please join the conversation
in Kong Nation https://discuss.konghq.com/c/kubernetes.

Summary
SUMMARY_GOES_HERE
Kong Ingress controller version
0.13
Kubernetes version
1.11.1
Environment

Azure AKS

What happened
Ingress controller does not alter the Service object properties from custom Ingress configuration
Expected behvaior
Once I change for instance read_timeout in KongIngress custom resource, all ingresses which are referencing it through configuration.konghq.com annotation should all get their Service records updated with appropriate value of read_timeout
Steps To Reproduce

Deploy Ingress object referencing KongIngress through configuration.konghq.com annotation
Deploy or change KongIngress object setting proxy section attributes
Check corresponding Service object attributes in Admin API. Attribute values are default

Hi @xwrs
Thank you for opening this issue.
Could you post Ingress and KongIngress specs to reproduce?
This will help us addressing this issue faster.

@hbagdi
apiVersion: configuration.konghq.com/v1 kind: KongIngress metadata:   name: kong-ingress-config proxy:   connect_timeout: 120000   read_timeout: 120000   retries: 3   write_timeout: 120000
`apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
configuration.konghq.com: kong-ingress-config
nginx.ingress.kubernetes.io/rewrite-target: /
name: identity
spec:
rules:

host: xxx
http:
paths:

backend:
serviceName: identity
servicePort: 80
path: /identity`

I can't reproduce this locally on k8s v1.10.0.
Do you see any errors on the ingress controller?
Also, the following annotation will not have any effect in Kong. It is something specific to Nginx ingress.
nginx.ingress.kubernetes.io/rewrite-target: /

The issue lists 0.13 as the ingress version but that's the kong version. Is this not similar to https://github.com/Kong/kubernetes-ingress-controller/issues/91, which was fixed in 0.1.0?

@jaygorrell Indeed. That could be the case.
@xwrs Could you share the version of the ingress controller?
You can get that from the deployment spec of your ingress controller.

Ingress Controller is of version 0.0.4. Tried on Kubernetes 1.10.1 and issue is the same.

@xwrs Please try with Ingress controller 0.1.0.

@jaygorrell @hbagdi 0.1.0 works perfectly. thanks


Update atom-languageclient to 0.7.0 + use upstream shared busySignalService

Commit 26da404f669f2eba60f3dff5b2e4d97443cb88a5 (on top of #25, #24) updates to latest upstream client + uses the busySignalService injected there.
This means we have busy-signal coverage for

installation
server startup (upstream)
server rustc building
server shutdown  (upstream)

This is totally awesome @alexheretic

Hey @mehcode this seems worth releasing as the next version, what do you think?

@alexheretic Definitely. I thought I did that. Must have gotten side tracked in the middle and forgot. Released now as v0.7.0.


Try using animate+step+window.scrollTo/$().scrollTop()

Found some alternative approaches mentioned on StackOverflow linked by @westurner in here.
It could be an alternative solution to all the _scrollable() feature detection.

Done, I will merge the tests with those from #101 so both approaches can be compared

Added tests from this branch side by side to window-scroll branch.

I decided that if this alternative was to prevail, it should be 2.0.0 rather than 1.5.0 because it's even less backwards-compatible than the other option and it contains a highly requested and powerful feature.

For branch window-scroll-alt :
FF 36.0 - OK
IE 11.0.9600.17633 - OK
Chrome 40.0.2214.93 - OK
Safari for PC 5.1.7 (75.57.2) - OK
Android FF 37.0 - OK
Android Chrome 40.0.2214.109 - OK
Congratz - wrap it in 2.0.0 :-)

Windows Phone 8.1:
These do not animate:
Max window scrolling, within an iframe (compat mode)
Max window scrolling, within an iframe (quirks mode)
Max iframe scrolling from outside (compat mode)
Max iframe scrolling from outside (quirks mode)
In the old version they did animate but not always, depending on when what was loaded.

Ok, I'm less concerned about the iframe cases honestly, they are rare. It could be due to a bad test implementation it's not top quality.
Do you know when did those iframe tests failed on the 1.5.0 version? I'd like to try and fix it if really a bug on the test.

It has to do with timing i guess. When i select the iframe and refresh only that the scrolling happens. Otherwise it's just puts the "agent information" instantly.

Same happens with 2.0.0 or that one never works at all?

In the 2.0.0 nothing happens on the iframe pages. The old 1.5 did only fire if i refresh the iframe myself.

Windows 7
Firefox 36.0.1 - ALL OK
Chrome 41.0.2272.76 - ALL OK
IE 10.0.9200.16750 - ALL OK

iPhone 4S
Chrome 40.0.2214.73 - ALL OK except iframes
Safari (not sure where's the version) - ALL OK except iframes
I think the iframes don't work just because the tests are not rendered correctly on these browsers, the iframe is full height without overflow. I did a few changes but still no luck, I don't worry much about it honestly.

Mac OSX Yosemite 10.10.1
Chrome 41.0.2272.89 - ALL OK
Safari 8.0 - ALL OK

I'd really like to release this as 2.0.0, was hoping more people were going to test it.
I might release it and if any issue arises fix it for 2.0.1.
Considering it's a major version bump complete backwards compatibility shouldn't be expected anyway.

I merged 2.0.0 to master via #107.
If you have any issue after the update, first check this link, If your problem is not solved then go ahead and report the issue.


Rancher2.4.5 integrate gitee to built a pipeline encounter an error  'TestAndApply Error'

What kind of request is this (question/bug/enhancement/feature request):
bug/enchancement 🐞
Steps to reproduce (least amount of steps as possible):
first step: everything done well when i configure the pipeline with the gitee(private gitlab enterprise installation)
second step: when i click the button 'Authenticate', it redirect to the authorization page of gitee , at this step, it still ok, but when i finished authenticate, go back to the rancher pipeline setting page, it just show me an error '{"status":"404","error":"Not Found"} '
Result:
TestAndApply Error
{"status":"404","error":"Not Found"}: undefined
Environment information

Rancher version : 2.4.5
Installation option : single
K3S version: 1.18.3+k3s1 (single)
Docker version: 19.03.11

I have this problem too
Result:
TestAndApply Error
failed to decode the config, error: 1 error(s) decoding: * 'ManagedFields[0].Time' expected a map, got 'string'
Environment information
Rancher version : 2.4.5
Installation option : HA
RKE version: 1.1.3
Docker version: 18.9.2

failed to decode the config, error: 1 error(s) decoding: * 'ManagedFields[0].Time' expected a map, got 'string'
Rancher version : 2.4.5
Installation option : HA

me too！
failed to decode the config, error: 1 error(s) decoding: * 'ManagedFields[0].Time' expected a map, got 'string'
Rancher version : 2.4.5
Installation option : HA

me too!
'ManagedFields[0].Time' expected a map, got 'string'

Switching RKE to a lower version will solve this problem

sujipo // can you share what RKE version can solve this problem?
I'm having same issue on -

Rancher version : 2.4.5
Installation option : HA
RKE: v1.18.3-rancher2-2

me too
TestAndApply Error
{"status":"404","error":"Not Found"}: undefined


Create dataset loader for Thai GPTeacher

Dataloader name: thai_gpteacher/thai_gpteacher.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?thai_gpteacher

Dataset
thai_gpteacher

Description
This is a Thai-instructed dataset translated using Google Cloud Translation from GPTeacher, A collection of modular datasets generated by GPT-4, General-Instruct & Roleplay-Instruct and is comprised of around 20,000 examples with deduplication. The dataset was asked to include reasoning and thought steps in the example responses where appropriate.

Subsets
-

Languages
tha

Tasks
Chatbot, Language Modeling

License
MIT (mit)

Homepage
https://huggingface.co/datasets/Thaweewat/gpteacher-20k-th

HF URL
https://huggingface.co/datasets/Thaweewat/gpteacher-20k-th

Paper URL
-

#self-assign


Add additional feature and permissions settings to Khronos manifest

Comparing our manifest with Khronos' hello-xr example, we're missing a feature and permission.

@m4gr3d if you haven't included these already, you might want to add this into your refactor PR?

@m4gr3d if you haven't included these already, you might want to add this into your refactor PR?

These entries can be left here since they don't require specific configurations; they will be added to the generated binary via manifest merging with the manifest that's being edited.
In the export plugin logic, we only want to include manifest entries that are either optional or have multiple values or that depend on a specific Godot manifest element (e.g: GodotApp activity element entry).


Simplify the ViewModel Factory boilerplate code.

I've tried to simplify the way you create the RegistrationViewModel, and created some utility methods that would help to do that. I think that simplifies the sample greatly.

Good idea, I'll merge, but will need to make the following changes after:
1.) navigation-ktx already seems to bring in a by navGraphViewModels, which would mean we might not need a custom by navGraphViewModel as they seem to be the same implementation-wise
2.) LoginViewModel must track the same changes
3.) I would also rename the ProfileViewModel.VmFactory to ProfileViewModel.Factory, as the original VmFactory name only came from the conflict between the name of two Factories and AssistedInject.
Thanks for the contribution!


Compilation with OCaml 5.0

Hi, with the release of OCaml 5.0, I have recently been trying out compilation of various codebases with 5.0.
However, since the file compiler-libs-406/obj.ml referenced primitives that are deprecated in 5.0, the code did not compile.
Therefore, I simply copied-and-pasted files from ~/.opam/5.0.0/lib/ocaml over to compiler-libs-406 and fixed some details.
As a result, compilation works for both OCaml 4.14.1 and 5.0. Link to code
Running testrunner on the newly compiled binary seems to be ok, but since I changed a considerable amount of code, I am cautious about suggesting this change. Would opening a PR be fine?

There is another ongoing task to experiment to compile with OCaml 5 by @cknitt https://github.com/rescript-lang/rescript-compiler/pull/5895 Maybe worth referring to his work.

Hi @LimitEpsilon, thanks for your efforts!
Note that the syntax repo is deprecated which unfortunately isn't mentioned in the README yet. The syntax was merged directly into the compiler repo some time ago. It can now be found at https://github.com/rescript-lang/rescript-compiler/tree/master/res_syntax and uses the compiler libs from https://github.com/rescript-lang/rescript-compiler/tree/master/jscomp/ml.
On the current master of the compiler repo, everything already builds fine with OCaml 5.0.

Oh, that's great to hear! Thanks for the reply!

On the current master of the compiler repo, everything already builds fine with OCaml 5.0.

(With some dependency upgrades like in my above mentioned PR.)


Fix Table Details view

The Table Details view doesn't show the information for selected table in Database Details view.

The View Details component has the same issue, add another fix to solve this issue.


Rubocop -a changes line endings

Currently rubocop -a is changing line endings for files. This has previously been reported and fixed in #1566, but appears to have regressed in the current master.
Change that regressed the behavior:
https://github.com/bbatsov/rubocop/commit/fcdbd4d5b3850b15cb87b9b52ed14be0238f96d1

There hasn't been much activity on this ticket and our Core Team is spread too thin on so many tasks, so I'll just close it for the sake of having a cleaner lists of tasks to focus on. We'd gladly review a PR, but it's unlikely that'd we're going to tackle this ourselves in the foreseeable future.


fix: Refactor pouch repairs and fix colossal repair (#30)

Refactored handling pouch repairing dialogs and fix colossal essence pouches not being marked as repaired due to some missing dialog text/options
Tests
Regular Essence Pouches
Dark Mage

[x] Degraded pouch via NPC Contact
[x] Already repaired via NPC Contact
[x] Degraded pouch via Abyss (Talk-to)
[x] Already repaired via Abyss (Talk-to)
[x] Degraded pouch via Abyss (Repair)
[x] Already repaired via Abyss (Repair)

Apprentice Cordelia

[x] Degraded pouch via Cordelia (Talk-to)
[x] Already repaired via Cordelia (Talk-to)
[x] Degraded pouch via Cordelia (Repair)
[x] Already repaired via Cordelia  (Repair)

Colossal Essence Pouch
Dark Mage

[x] Degraded pouch via NPC Contact
[x] Already repaired via NPC Contact
[x] Degraded pouch via Abyss (Talk-to)
[x] Already repaired via Abyss (Talk-to)
[x] Degraded pouch via Abyss (Repair)
[x] Already repaired via Abyss (Repair)

Apprentice Cordelia

[x] Degraded pouch via Cordelia (Talk-to)
[x] Already repaired via Cordelia (Talk-to)
[x] Degraded pouch via Cordelia (Repair)
[x] Already repaired via Cordelia  (Repair)

Force pushed renaming commit


generic #[hook] function gives bound is defined in more than one place warning

Problem
code like this
#[hook]
pub fn use_generic<N: PartialEq>(){

}

will emit warning:
warning: bound is defined in more than one place
   --> frontend/src/components/shiori.rs:560:20
    |
560 | pub fn use_generic<N: PartialEq>(){
    |                    ^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index
.html#multiple_bound_locations
    = note: `#[warn(clippy::multiple_bound_locations)]` on by default

see: https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
Environment:

Yew version: v0.21
Rust version: nightly

This is one of the default clippy warnings, not cargo check

This is a clippy warning. We should suppress it in the generated code though. I'll be happy to look at any PR suppressing it


Manage Gifts.

This screen should be showing cards and not just rows. Check the UX.

https://xd.adobe.com/view/e8259038-6a8a-4b4f-b88f-780e311438a5-bd76/screen/a792d286-1d9e-4e0d-afa4-cf806531c7dc/

Not as per the UX.


msme_approved_count is reinitialized in get_borrower_opt_in_stats()

It's assigned two different times, and then used once to construct the return value.
I assume the second one is the correct one, in which case we just delete the first one (and move the code for the second one into the return dict, to prevent this type of bug).

Actually, I'll just make the change.
Here's the first assignment:
    msme_approved_count = (
        session.query(Application.id)
        .join(Award, Award.id == Application.award_id)
        .join(Borrower, Borrower.id == Application.borrower_id)
        .filter(col(Application.lender_completed_at).isnot(None))
        .filter(Borrower.size != BorrowerSize.BIG)
        .group_by(Application.id)
        .count()
    )

And the second (retained) one is:
    msme_approved_count = (
        session.query(Application.id)
        .join(Borrower, Borrower.id == Application.borrower_id)
        .filter(col(Application.lender_completed_at).isnot(None))
        .filter(Borrower.size != BorrowerSize.BIG)
        .count()
    )


Use netstandard.library 1.6.0

Use NETStandard.Library 1.6.0 instead of 1.6.1.
Issue details

Well, wouldn't it be better to get rid of NetStandardImplicitPackageVersion ?


Switch from insomnia-node-libcurl fork back to node-libcurl

No description here so does this fix:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.

?

TravisCI error is probably because CURL_VERSION_GSSAPI used here https://github.com/JCMais/node-libcurl/blob/acc336a94a07c89380587db39b8b34db48597a5b/src/CurlVersionInfo.cc#L44 is only available for libcurl >= 7.38.
I forgot to add it inside a #if for the minimum libcurl version required. I will try to release a patch tonight with that fix.
The error on appveyor is really strange tho, it's not finding the header files, and from what I can see it didn't try to compile the dependencies on curl-for-windows.

@gschier are you still interest in moving from the insomnia fork to node-libcurl?
I just released a new version of node-llibcurl with support for libcurl 7.69.1, which besides other things, has initial support for HTTP3 / QUIC protocol


fix(FX-3103): update size options label

The type of this PR is: Bugfix

This PR resolves FX-3103
Description
In the Medium all data is showing 40cm to 100 cm and it's not appropriate under 40 cm in the medium size because in the small size already available under 40 cm.
Demo

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Update the medium size label – dzmitry tratsiak

iOS user-facing changes

Android user-facing changes

Dev changes

This PR contains the following changes:

Cross-platform user-facing changes (Update the medium size label – dzmitry tratsiak)

  Generated by :no_entry_sign: dangerJS against cb464b2d3f3d1180891fec48e74b7b99addbc19f


.NET wrapper: swapped FirmwareVersion and RecommendedFirmwareVersion

In .NET warpper, values of FirmwareVersion and RecommendedFirmwareVersion of CameraInfo enumeration are swapped. Thus when reading Sensor.Info[CameraInfo.FirmwareVersion] I actually get recommended firmware version, and vice versa.

Resolved in v2.19.0


[Request] Nested Features & Feats

It would be helpful if the Features tab of the character sheet allowed for nested items. This way, you could place all your racial features within your race entry, so it's easy to tell where they came from. Likewise, your class grants a lot of things that should be listed within the class entry, and many of those features have other features -- usually something selected from a list -- so having those contained within their sources would help display where everything is from.
For example, someone's listing for their Soldier class might include

Soldier

Fighting Style

Armor Storm

Hammer Fist

Combat Feats

Coordinated Shot

I can see how this would be helpful. However Feats are split into two categories right now (active and passive). Combining them under the race and classes group should be possible but I don't think that would work good (or look good).
Another approach would be to have something like a racial tab, class tab and "other" tab within active and passive feats. Still this won't be looking good. In the compendiums feats are already split up into racial, class and "other" feats so sorting them this way shouldn't be to troublesome.
Adding Container/Storage Sections to Feats? I can't estimate the effort needed for this, might be some data work? In any case they would need to be different... weapons ending up in the features tab because of some bug.
For now I just think about a little problem we have with solar weapons that have solarian crystals that have weapon fusions. Having that in mind similiar problems might arise from this approach.
This is something to think about: when adding a features compendium browser it could be possible to throw in a rework to the features tab on actors.
I just can't think of a good solution to this. Maybe someone else has an idea?


Added continuous single-channel conversion

Dear @CuriousScientist0
First, thank you for your fantastic work with this library and the hardware project. It's awesome.
Here, I am contributing my two cents with a new serial console input case that enables continuous conversion on a single channel, similar to "Cycle single-ended inputs" enabled by the input character 'C'. In this case, after sending 'x' the ADC will continuously print readings from a single channel, as follows: (Channel A0 shown here)

This allows for convenient printing of serial data, primarily for testing of single events. Here I am using the Serial Analyzer App from curiores using decimation for visualization of the changes in a potentiometer (yeah I know that decimating defeats the purpose of having 24 bits of resolution but it's just an example 😉 )

This has been tested on an ESP32-S2 WEMOS Mini v1.0, however, I had to use an external USB-UART since I struggled with the native USB port and my serial terminal.
Side note: Based on the issues I described with serial communication, I have been working on additional changes to allow the user to select different serial communication objects (pointer-based) as some boards do not implement easy UART communication, like those that come with an onboard USB-UART converter, like the CP2102N on some ESP32 boards.

Hi! I am sorry, but I think I am not going to accept your pull request. There are two things:

The function you added already exists, see line 140.
You implemented it using the "wrong" function. Your code uses the function that is based on the ADS1256's RDATA function which is made to read 1 value at a time. My already existing implementation uses the RDATAC function which is specifically made to read a specific channel continuously, according to the selected DRATE value.

Hey, no worries.
My bad! How could I miss that?
I am still experimenting and understanding your implementation.
I will continue working on it and get back to you with more contributions. I still believe that the serial port is one aspect to improve.
Thanks for reviewing it, though.
Closing this.

Hi!
No worries! For future reference, please check the documentation I wrote for the library, it explains everything carefully.
Regarding serial vs. USB, I think that should not be implemented in the library due to the different microcontrollers. What I mean is that some microcontrollers only have UART (ATmega328) while others support native USB (ATmega32U4)...etc. So, they will behave differently. Also, the user might not even want to send the data to the computer but only print it on a display or send it via BT or WiFi (ESP32...etc) to another device or web application. Therefore, I just implemented the library so that each function returns a result but does not directly involve the Serial.print() function. Then it is up to the user what to do with the values. The library is not intended to deal with the transfers.
Cheers!

Thanks for getting back to me.
I admit that I might have been rushing too much when adding my (rather dumb) block. I was indeed reviewing the manual while writing code.
I just wanted to clarify something regarding the serial ports proposal I mentioned. I did not mean to add this to the library itself but rather to the example code to make testing a bit more flexible. For instance, the ESP32-S2 is notoriously picky when dealing with the native USB port as a serial communications device. On some serial terminals (like YAT) you need to enable Software Control XON/XOFF while on the default terminal from the Arduino IDE, it seems to work just fine.
Upon facing this problem and as a quick and dirty way to avoid this, I plugged my ESP32-S2 into an external USB-UART converter (CP2102N-based) and routed it to UART1. This required me to change all instances of Serial with Serial1 in the example code. This can be a bit cumbersome in case I wanted to revert back to Serial
I will present my proposal later in an issues post for your review.
Thanks once again


Exclude analysis cache tables from the quota

See #277

@rafatower @ethervoid could you review this?


Missing ::: in Chinese translation.

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Description

In Crowdin's Chinese Simplified Chinese (zh-Hans) translation, ::: is missing, which causes the admonitions to not be properly terminated and the following non-admonitions content is added.
https://docusaurus.io/zh-CN/docs/next/i18n/tutorial
This is most likely due to the fact that a translator deleted ::: while translating.
*Translated by machines.
Self-service

[ ] I'd be willing to address this documentation request myself.

Thanks, it should be better now
I had to delete a few Crowdin translated admonitions to fix it.


The current namespace filter does not support cases where namespaces are dynamically created. In #901, namespace selector was proposed, but in my use case, regular expressions are sufficient.

/ok-to-test
I feel that namespaceSelector better aligns with existing Kubernetes resources. For example Dynamic Admission Controller.
/cc @knelasevero and @ingvagabund thoughts?

Any updates? Regex namespace filter is good enough for my use case and still maintains backward compatibility, but namespace selector is fine by me.

/ok-to-test
I feel that namespaceSelector better aligns with existing Kubernetes resources. For example Dynamic Admission Controller.
/cc @knelasevero and @ingvagabund thoughts?

agreed, we shouldn't stray too far in that regard


Cant find a way to unlock - draw patterns

Hey there guys and excellent work so far! So, in our mobile app we have to draw a pattern with at least 4 dots filled, but there is no way to hold tap and draw a pattern. any possible solutions (that you have now) or in the future?
Thanks

I was thinking about:

press, release and move commands to let the user manually handle the swipe (press on a point, move to another point and release)
"to" parameter for swipe command - to specify where to end the swipe

I have same question, how can fix it?
do you have any sample code?

I have no idea, never found the solution.
I'm not using maestro anymore, I'm on appium now

From: astroboy0803 @.>
Sent: Saturday, August 19, 2023 7:40:26 AM
To: mobile-dev-inc/maestro @.>
Cc: GiwrgosMpartsas @.>; State change @.>
Subject: Re: [mobile-dev-inc/maestro] Cant find a way to unlock - draw patterns (Issue #693)
I have same question, how can fix it?
do you have any sample code?
—
Reply to this email directly, view it on GitHubhttps://github.com/mobile-dev-inc/maestro/issues/693#issuecomment-1684803136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A35HFC4EDHTULL5QJF5I5VLXWA7TVANCNFSM6AAAAAAUHUWT6A.
You are receiving this because you modified the open/close state.Message ID: @.***>

I have no idea, never found the solution. I'm not using maestro anymore, I'm on appium now
…

Oh no, it’s so sad 😭
But thanks for your answer👍

@amanjeetsingh150 is there any roadmap to support such gestures? tap on one point, swipe to another, and then directly to another etc, without lifting the tap?


drop the openssl dependency

Removes the dependency on openssl by using the rustls-tls feature flags across all toplo packages.

LGTM, thanks!


TypeError when building the simplelife model

Hi,
Thanks for releasing this code. I am enjoying going through it and am learning a lot.
Whenever I follow the instructions on the website for "Building a Model" using the Spyder plugin I get an error. I have attempted to debug however I am only beginning to learn python and have not had much luck.
The error message is as below.
File "C:\Users\Local Administrator\Anaconda3\lib\site-packages\modelx\core\space.py", line 1237, in new_cells_from_excel
sig = "=None, ".join(cellstable.param_names) + "=None"
TypeError: sequence item 0: expected str instance, NoneType found
Thanks,
ro-co

What are the version numbers of modelx and lifelib?
You can check them by the following code.
>>> import modelx as mx

>>> mx.__version__

>>> import lifelib

>>> lifelib.__version__

Hi,
I get the same error when I try to run the vanilla simplelife template (haven't tried others yet).
ModelX version 0.0.22 and lifelib 0.0.11.
Using the stack trace I noticed that some cell references in build_input.py didn't match up to valid tables in inputs.xlsx.
It appears that two inputs spreadsheets are packaged - the other one is inputs.xlsm (macro-enabled) - and the cell references appeared to match within that spreadsheet.
So, I backed up the xlsx and saved the macro-enabled file as input.xlsx (without macros) and now it appears to work fine. I guess you could alternatively point the code to input.xlsm
Perhaps Fumito can clarify the separate spreadsheets or if versions are a problem for us.
Cheers,
Declan

Thanks Declan for the troubleshoot. I'll take a look at if after work.

Hi fumithoh,
Sorry I missed your response.
I ran the code and I am using lifelib 0.0.11
Using the fix Declan mentioned I got it running.
The problem was that the input.xlsx did not have the tab "otherparams" completely filled out. However input.xlsm did. The code in simpleplife.py links to input.xlsx.
I have attached the unmodified version of input.xlsm.
Thanks,
ro-co
input.xlsx

I downloaded the lifelib archive (0.0.11) from https://pypi.org/project/lifelib/
to check if this is consistent with what's on my system and it isn't. We don't have the changes from the commit Fumitoh referenced.
This is odd because the version number is consistent. Here is the output of pip show lifelib

Name: lifelib
Version: 0.0.11
Summary: Actuarial models in Python
Home-page: https://lifelib.io
Author: Fumito Hamamura
Author-email<EMAIL_ADDRESS>License: License :: OSI Approved :: MIT License
Location: c:\program files (x86)\microsoft visual studio\shared\anaconda3_64\lib\site-packages
Requires: modelx
Required-by:

I tried uninstalling and reinstalling lifelib with --no-cache-dir. pip downloaded an archive from this url https://files.pythonhosted.org/packages/6e/1c/e31b6f029be1b6f21257a109b393cdd52adfcf5ff3eef00d9a953d66ec52/lifelib-0.0.11-py3-none-any.whl
When I open this in 7zip I can see its consistent with what was on my system and not with what is packaged on pypi.org
I will do a dev install from github to get around this, but it is a little odd behaviour from pip

I reproduced the problem. As declan pointed out, v0.0.11 was not packaged correctly, so both input.xlsx and input.xlsm are included, and the included build_input.py is  not reflecting revisions up to v0.0.11 tag. As PyPI does not accept uploading the same version, I'll fix the issue at the next release.

Fixed in v0.0.12


Feature: A notereader can search in-note with ctrl+f

(Originally titled this "A notereader can open in-note search dialog with ctrl+f" but have since realized the "Search" button shown
Currently, "ctrl+f" inserts ""
I had to open the note XML file in a separate program to copy that symbol, because, ah, man, "ctrl+x" doesn't cut, or when it does cut, nothing ends up in the clipboard.  OK, at this point, Tomboy NG is actively fighting basic operating system functionality, let alone implementing common conventions like control/command f or control/command z.
The right-click menu copy or cut doesn't work either.
Like #35 this seems like something that needs to be fixed in the framework Tomboy NG is built in, or we're just not taking advantage of something it does offer.  Is this sort of thing working for people on Mac and Windows?

Update: ctrl+c does copy!

Further update: ctrl+x can cut so long as the performance improvement granted by disabling "Show Internal Links" per #29

ctrl+f still inserts  though!

And ctrl+n (expecting to create a new note) inserts ""

(these are different non-printing characters; GitHub just doesn't ... print them, naturally)

OK, this comes down to the fact that I don't use keyboard short cuts myself. So don't think about it. The characters you see are probably utf8 characters. I think its easy to add all those shortcuts, I'll need to get a list together....

OK, just committed code that allows an open note to respond to Ctrl F, Ctrl-Shift F and Crtl N
Searchbox responds to Ctrl N


Request: option to skip all junk files when extracting

like skipping all the photoshop files and jpegs. but not the ROM or the files used by the GBA emulator.

You can't tell which files are used from the PSB.
As I see it, there are two main use cases:

extract/replace only the rom.
extract/replace everything.


Can't toggle internals for animals

Description

You can put the stuff on them, but it'll say you can't when you try to toggle internals
Reproduction

Screenshots

Additional context

resolved


End live activity when the app is terminated

This is a feature request and not a bug, but in my case I only want to show the live activity when the app is in background. If the app is killed by the system or by the user I want the live activity to disappear.
Would you be interested in this feature?

It's now live on pub dev 👍 , many thanks for your contribution!


Sharing re-branded project "LLM As Chatbot" from "Alpaca-LoRA-Serve"

for those of you know the project Alpaca-LoRA-Serve,
I have updated the project to include other models besides Alpaca-LoRA.
The screenshot shows a GUI menu that you can choose a model to get started with chatting.
Currently supported models are Alpaca-LoRA(7B, 13B) with the latest transformers head branch(4.29), FLAN-XL and FLAN-XXL fine-tuned on Alpaca dataset, StableLM fine-tuned on Alpaca dataset, StableLM fine-tuned on OpenAssistant's oasst1 dataset, and KoAlpaca which fine-tuned Polyglot-12.8B model on Korean translated Alpaca dataset.

https://github.com/deep-diver/LLM-As-Chatbot


Improve timing of submitting current position to data stream in set_current_position()

Ok this one is tricky. If we do not wait for completion in the set_current_position(), it intercepts the first command and executes the second command instead, and correctly. So I am fine with this behavior and don't want to add the wait_for_completion there.
However, the method get_current_position() gets called too early and puts an intermediate position on the current_position data stream, which the device reads while it is moving. Which is obviously not at all what we want.
We then tried adding the wait_for_completion() anyway, to fix the wrong values on the data stream, but in this case it just finishes running the first command. Data stream value is still wrong. And it puts command 2 in a cache apparently and runs it before the next command that is sent to the motor... also not the behavior we want, so I still vote against adding the wait_for_completion() in set_current_position().
Since this was so weird, we checked the data stream values after calling home() a couple of times and this is always fine, so it's something about the command data stream monitoring and getting the real device position before the device stops moving.
I don't actually understand what wait_for_completion() does. @a-sevin, maybe you can help out with this conundrum? What does it do and what are the values for message_id and message_type it checks against?
The minimum requirement for this fix is that the correct (final) value is put on the current_position data stream after the movement concludes.
Originally posted by @ivalaginja in https://github.com/spacetelescope/catkit2/pull/200#discussion_r1610172870

@a-sevin even if I assigned you, this is not a high-priority issue at this time so don't sweat it if you can't look into this anytime soon.


cmake: Fix OpenGL_GL_PREFERENCE variable name

Follow-up to b16b08461935c3b4c8fc9cdb970f85590cfc81c6

Merci :+1:

@thewtex -- thanks!


DiagnosticTelemetryModule( and HeartBeat) is not added via DI, hence configuration is differently done

DiagnosticTelemetryModule( and HeartBeat) is added to TelemetryConfiguration by base SDK and not added via DI like other modules. This means it'll not possible to configure this module via services.ConfigureTelemetryModule() mechanism.
However, this module is part of the TelemetryModules.Instance.Modules singleton, and hence can be retrieved this way for configuration.
Version Info
SDK Version :
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS :
Hosting Info (IIS/Azure WebApps/ etc) :

@Taudris DiagnosticsTelemetryModule is added, but in a different way. So you dont need to add this yourself.
What is it that you are trying to achieve? I can try to help based on your actual goal.

I need to be able to customize the heartbeat interval, as well. If the DiagnosticsTelemetryModule is being added in a different way, how can we configure it?

This issue about heartbeat is not solved fully.
As a temporary workaround for WorkerServices, you can manually add DiagnosticsTelemetryModule to DI and configure it's heartbeat interval.
services.TryAddSingleton<ITelemetryModule, DiagnosticsTelemetryModule>();
                    services.ConfigureTelemetryModule<DiagnosticsTelemetryModule>((mod,opt) => mod.HeartbeatInterval = TimeSpan.FromSeconds(30));
                    services.AddApplicationInsightsTelemetryWorkerService();

@Taudris Your snippet or mine above should do the job for now.
There is no one actively working to solve this issue right now, so workarounds until then.

@TimothyMothra is working on addressing this issue. Expecting to ship with next stable release.

@Taudris Your snippet or mine above should do the job for now.
There is no one actively working to solve this issue right now, so workarounds until then.

I think your snippet is the correct one. Mine is most likely incorrect - sorry for that.

Taggging @TimothyMothra to confirm fix and closing this.


Properly handle empty results from test files - fixes #198

Fixes #198.

I've always been in the custom of putting "fixes..." at the end, but noticed you put it at the beginning in a number of commits. But here you changed it to the end.
Just want to understand the process.

I put fixes at the end, and if I squash merge a pull request I put the pull request issue number first.
Squash merge commit for this would be something like:
Close PR #208: Properly handle empty results from test files - fixes #198

gotcha. Fixes are in.

:+1:


Mmap the underlying file

Would it be possible to open the underlying database file with mmap for better performance or would it not be very useful since all queries need to pass through the FUSE layer anyway, which would be the bigger bottleneck?

Yeah, that's definitely a possibility. mmap() can help for databases that are smaller than memory but it can have performance issues as Go will stall if the page needs to be read from disk. I'm currently focused on correctness but it's something I'll try once I get to performance improvement.

Perfect, thanks.

here be dragons: https://www.youtube-nocookie.com/embed/v=1BRGU_AS25c (https://archive.is/pVDzS)


Qobuz remove album from queue

Please add "remove album" option on the active queue (qobuz albums), local library albums have this. You can only remove the one track.

Sorry, don't think this is possible. Material uses the presence of album_id in the LMS queue listing, and (AFAIK) streaming tracks do not have this. Only if this is present is the menu option shown for a track.