Unable to Train Google Speech Dataset

What happened + What you expected to happen
We are unable to train on the google speech dataset. While training, we get the error as shown below
Please help us out.

Versions / Dependencies
We are running on Red Hat servers and are using python 3.7
Reproduction script
It seems like the problem is with resnet code for it is error due to mismatch in the number of channels.
Issue Severity
High: It blocks me from completing my task.

Thanks for trying FedScale. Note that the model you are using perhaps is from torchvision. Please refer to these specialized models for speech task: https://github.com/SymbioticLab/FedScale/blob/master/fedscale/cloud/fllibs.py#L129-L162

Thanks for the reply @fanlai0990 .
However we are using the same model as provided in the repository. Also we are using the same configurations as provided in the config file: https://github.com/SymbioticLab/FedScale/blob/master/benchmark/configs/speech/google_speech.yml
Especially the task which is set to speech.

Hello, I'm encountering the same problem mentioned by @implosion07 . I've used the provided model from the repository and followed the configurations exactly as specified in the config file https://github.com/SymbioticLab/FedScale/blob/master/benchmark/configs/speech/google_speech.yml . Unfortunately, I haven't been able to resolve the issue. Just wanted to add my experience here to raise awareness about the problem.
Thanks in advance!

Thanks for letting us know. I just finished my test run, but it seems the code works well for me. Did you install FedScale from the source code?

Thanks for checking @fanlai0990 We are using the following configuration. Can you help us in finding out the mistake if any.


matchlabel fixed

@ayeshasiddiqa161 this should be used - https://github.com/stakater/application/blob/master/application/templates/_helpers.tpl#L53

@ayeshasiddiqa161 update the changelog for this new release

Updated


One point zero

Built on top of #25, this sets the version to 1.0.0 release and makes some updates to the readme.

Coverage decreased (-0.9%) to 99.149% when pulling<PHONE_NUMBER>b49fa3fba6eda70322940529f6b44e on one-point-zero into 18eafa0eb3dda9e68c037a88b0f100c2fc723329 on master.


chmod: cannot access 'ngrok': No such file or director

Grabcam how to send link on victim

How to fix it

Install ngrok first
pkg install zip wget -y
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
unzip ngrok-stable-linux-arm.zip
chmod +x ngrok
Now open Ngrok
Get your token and add here in this command ./ngrok authtoken YOUR_AUTH_TOKEN_HERE
Keep hotspot on, and here you go....


detect gnu stat if installed, on osx

Fixes #687

you crazy native mac users :-)
LGTM

This introduces a pretty specific and inflexible requirement for how people need their local systems set up in order to be successful. I am 100% against that. I believe their are better ways of determining which implementation of a given tool (e.g. stat) is available. Let me go looking for it... I think it's already used in at least one place.

@MHBauer see here: https://github.com/kubernetes-incubator/service-catalog/pull/690#issuecomment-293600459

ah, okay, I'll take a look at that.

re-review.

@krancour @duglin done, built. Checked locally with both gnu stat and bsd stat.

@duglin rewrote

Veto rescinded. :) LGTM

still LGTM


ReflectionException - Class excel.parsers.view does not exist

Hi, having a tough time when i want to export blade view as excel, getting stuck at loadView
       Excel::create('Customer'.'_'.Carbon::now()->format('dmYHi'), function($excel) use ($customers) {

            $excel->sheet('sheet1', function($sheet) use ($customers) {

                $sheet->loadView('reports.customer_excel');

            });

        })->download('xls');

I tested and realised that a blanked excel can be download without using $sheet->loadView, but whenever i tried, pretty sure the view directory is correct and is in html table

could probably anyone explain what's happening? thanks

Assuming you included the ExcelServiceProvider ?

hi
first add this package and then
http://www.maatwebsite.nl/laravel-excel/docs
add code into app/config/app.php
Maatwebsite\Excel\ExcelServiceProvider::class,
and
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
it is working for me may be work for you

please try run php artisan config:clear

ok thnk you

We are closing all old tickets, because version 2.* is reaching the End-of-Life stage. Our full attention is now allocated to version 3.0. It's still possible to use 2.*, but there will be no active support anymore.


7zip is safe?

I noticed today that the dependencies installer script (~/binwalk/dependencies/ubuntu.sh ) installs 7zip.
when I then want to see which version that was;
sudo apt list 7z*
Listing... Done
7zip/stable 22.01+dfsg-8+deb12u1 amd64
Is that a version with the vulnerability already patched?
this article mentions version 24.07 as being patched but does not mention 22.01
https://linuxsecurity.com/news/security-vulnerabilities/7-zip-urgent-update-code-execution-flaw
or am I overlooking something else?

? this is a joke yes? it must be. if not that would be the first time in history a possible security issue is being responded to in such a manner

Not sure what the picture is for, but that is a question for whoever maintains the 7z package for your Linux distro @githubDiversity. Binwalk cannot guarantee the safety of external utilities.
If you are concerned about it, you can always install 7z manually, but of course then you will be responsible for manually keeping 7z up-to-date against any new security threats.


Dark mode

Changed the colors for dark-mode
Minor design-changes
Change email icon
Shift position of contact section
Removed to-top icon

mistake


Tooltips not always working

Since version 0.95 depending on the rectangle you're hovering the tooltip appears empty.

IIf I unzoom without moving the tooltip appears correctly.

Should be fixed now. Thanks for the report!


codegen: first implementation of the code generation

Signed-off-by: Vincenzo Palazzo<EMAIL_ADDRESS>

This need to be completed but it is a good starting point, so merging if the CI is happy  and we continue in the next PR


erro start security_camera.py

Traceback (most recent call last):
File "security_camera.py", line 119, in
from espeak import espeak
ImportError: No module named espeak

I guess I didn't document everything very well. You simply need to do:
sudo apt-get install python-espeak
Thank you, I will document this and then close this issue.

@toshibochan , Thank you again. I have updated the ReadMe.md file. Please see there for instructions. After you install espeak, you also need the Python version of Linphone. I have included a link to that page because that in itself is rather detailed. And I figure that way, everyone will always install the latest version and then I will hear about any problems. ;)
If you hit more errors like this, feel free to re-open this issue (if it will let you, or create a new one if not).
If I can implement anything else, please let me know! :) :+1:


Works for haybaler output. Reference testing Mode. More filtering

Works with haybler output as input. Saves a new csv with the genus as new column. For now the column with the actual reference names is still there.
Two more filter steps to work with a few more references (eg. no TPA more as genus)
Added Mode for Reference testing.
Remove a few comments which were just for testing.

OK, good, it runs. Thanks.
But the genus column is weird. Some are very incorrect. Eg on our haybaler control_data in the repo
# all should be Unknown - or what do you suggest?
1_1_1_2                                                                                chr2
1_CP006958_1_UNVERIFIED__Achromobacter_xylosoxidans_NBRC_15126___ATCC_27061__complete_genome_BAC                           UNVERIFIED

Do you think 1_1_1 should just be read to be Homo (Homo sapiens chr1). .... ?

For some reason "UNKOWN" is a species with a TaxID in NCBI so I didnt get NAN values with name2taxid and counted "UNKNOWN" species as worked. With "NOT KNOWN" name2taxid gives NAN for genus and taxid so they are counted as "dont work"

OK, good, it runs. Thanks.
But the genus column is weird. Some are very incorrect. Eg on our haybaler control_data in the repo
# all should be Unknown - or what do you suggest?
1_1_1_2                                                                                chr2
1_CP006958_1_UNVERIFIED__Achromobacter_xylosoxidans_NBRC_15126___ATCC_27061__complete_genome_BAC                           UNVERIFIED

Do you think 1_1_1 should just be read to be Homo (Homo sapiens chr1). .... ?

Yes so the 1_1_1 should be read as homo sapiens, I guess that would work best. And for now the organisms which produce NAN values with pytaxonkit are not filtered out yet. So yes they should be UNKNOWN or NOT KNOWN. I will work on this now.

Now 1_1_1 has "homo sapiens" as genus. Or should I better put just "homo" as genus because "homo sapiens" is a species and "homo" is the correct genus?
And every name that produces NAN values is now "NOT KNOWN".
I also added a little bit code in the save_csv function to check if the name of the input file contains a "haybaler", otherwise this file gets overwritten by the output because there is no "haybaler" to replace in the name. Now there is a error message instead and the system exits.

Thanks Sophia!
Just Homo would be better if we're looking at genera. Thanks.
In a meeting, will test this after.
Great, avoiding overwriting data is very good practice....


Block Market listing problem

Currency selection line changes from gray to blue but nothing happens when I click on it.  All other fields are working and filled in.

This issue belongs to this repository https://github.com/syscoin/blockmarket-desktop-public/issues


Removed Strictly to support latest libraries

It looks like the deploy to NPM failed due to the version number still being 4.0.0


Goblin job type to exclude printing password from job properties

Goblin job type to exclude printing password from job properties

Looks good. Could you add unit tests? e.g. test the new method?

Just added unit test. Thanks for the review @HappyRay .


Fixes on Spark

HA workers patched to use master url
Opening ports we get from layer
Simplify reactive part
Update master URL in env correctly and use on smoketest
Align ZK in tests based on HBase tests
HA amulet test passing

LGTM


Latest build is broken

INFO:***.common.utils:Found the docker image folder at /opt/hostedtoolcache/Python/3.9.7/x64/share/***/docker
34
Traceback (most recent call last):
35
  File "/opt/hostedtoolcache/Python/3.9.7/x64/bin/***-build", line 10, in <module>
36
    sys.exit(main())
37
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/***/cmd/build.py", line 33, in main
38
    statuses = build.run_build()
39
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/***/image/build.py", line 1376, in run_build
40
    ***.create_dockerfiles()
41
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/***/image/build.py", line 907, in create_dockerfiles
42
    content = template.render(values, env=os.environ)
43
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/jinja2/environment.py", line 1090, in render
44
    self.environment.handle_exception()
45
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/jinja2/environment.py", line 832, in handle_exception
46
    reraise(*rewrite_traceback_stack(source=source))
47
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/jinja2/_compat.py", line 28, in reraise
48
    raise value.with_traceback(tb)
49
  File "<template>", line 34, in top-level template code
50
  File "/tmp/***-2021-10-03_10-13-56_n96m8en3/docker/fluentd/Dockerfile.j2", line 20, in top-level template code
51
    {{ macros.enable_extra_repos(['td-agent']) }}
52
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/jinja2/runtime.py", line 679, in _invoke
53
    rv = self._func(*arguments)
54
  File "/tmp/***-2021-10-03_10-13-56_n96m8en3/docker/macros.j2", line 74, in template
55
    {{ handle_repos(repos, 'enable') }}
56
  File "/opt/hostedtoolcache/Python/3.9.7/x64/lib/python3.9/site-packages/***/template/methods.py", line 118, in handle_repos
57
    commands += f"""echo 'Uris: {repo_list[repo]['url']}' \
58
TypeError: string indices must be integers
59

The format for repos.yaml has been changed with https://review.opendev.org/c/openstack/kolla/+/784923 , need to adapt our override accordingly.


Using ko to build locally

Is it possible to have ko resolve create an image that is on my local docker repository? Not uploaded anywhere?

Yep! See https://github.com/google/ko#local-publishing-options, but basically KO_DOCKER_REPO=ko.local will tell ko to publish to your local Docker daemon.


no rendered output

terminal:

react devtools:

hello @devsnek. It will be hard for me to help you without any kind of code as I don't know what to make of your screenshots. However I see some katakana chars and I know blessed can have issues with non-ascii chars so you should maybe test the fullUnicode or forceUnicode screen settings documented here: https://github.com/chjj/blessed ?

@Yomguithereal i use fullUnicode and forceUnicode. managed to get a simpler repro though:
const screen = blessed.screen({
  autoPadding: true,
  smartCSR: true,
  fullUnicode: true,
  forceUnicode: true,
  sendFocus: true,
  title: 'aaa',
});

render(
  <element>
    <box>hello</box>
    <box>hi</box>
  </element>
, screen);

@devsnek your example produce the correct result as blessed interpret this as "stack those two boxes on top of one another". Try this for instance:
const screen = blessed.screen({
  autoPadding: true,
  smartCSR: true,
  fullUnicode: true,
  forceUnicode: true,
  sendFocus: true,
  title: 'aaa',
});

render(
  <element>
    <box>hello</box>
    <box top="20%">hi</box>
  </element>
, screen);

One point you may have is that, if I recall correctly, blessed List widget is not very suited to React declarative logic because of its imperative implementation.

How do i display lines of text without manually giving each one a top offset?

I haven't been using blessed since at least 2-3 years now so I may be forgetting something but I don't remember blessed having dynamic layout options. Which means you either need to give a top offset yourself (which is not too complicated to wrap as a custom component if your list don't need incremental updates), or wrap the list/table components using refs and hooks etc. to allow the imperative parts of blessed to be used declaratively within react's workflow.


django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'cms.PageUser'>]

I am using custom user for my app.
But while migrating i am facing the below issue
django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'cms.PageUser'>]

Same error, please help.
StackOverflow Topic didn't help.

I had same issue, but this article help me.

This looks like a migration dependancy order issue. You can control the order by ensuring that your custom migration file runs before the cms migration that adds PageUser. The following documentation describes this in detail: https://docs.djangoproject.com/en/3.1/howto/writing-migrations/#controlling-the-order-of-migrations
The article in the post above is a hack around this issue. If any other user installs your custom package (like any other package for Django) then it will fail with the same problem. Solve it correctly by mapping the correct migrations.


[yasm] Build error, cannot open tools\re2c\re2c.exe for writing

I was trying to compile pycolmap as instructed in the github repo under Windows https://github.com/colmap/pycolmap
In the middle of installing python 3.10 it hung for 30 minutes and i had to restart the compile.
After this i got the error that the compile had gotten access denied for opening install-x64-windows-dbg-out.log
I figured out that re2c.exe had a handle on that file and two other files, by using Process Explorer.
I removed those handles, and got this new error.
If i try to delete re2c.exe it gives me the error "The action can't be completed because the file is open in System"
I cannot shut down the re2c.exe process either, see additional context for full story.
Host Environment

OS: Windows 10
package: yasm[core,tools]:x64-windows -> 1.3.0#3
vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb
vcpkg-scripts version: 4b766c1cd 2022-05-04 (13 hours ago)

To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install colmap --triplet=x64-windows --head
stop the execution as python 3.10 is being installed
run the above command again
Failure logs
Starting package 1/38: yasm:x64-windows
Building package yasm[core,tools]:x64-windows...
-- Using cached yasm-yasm-009450c7ad4d425fa5a10ac4bd6efbd25248d823.tar.gz.
-- Cleaning sources at C:/src/vcpkg/buildtrees/yasm/src/d25248d823-91ef8ed31f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/src/vcpkg/downloads/yasm-yasm-009450c7a
-- Applying patch add-feature-tools.patch
-- Using source at C:/src/vcpkg/buildtrees/yasm/src/d25248d823-91ef8ed31f.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:158 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j9
    Working Directory: C:/src/vcpkg/buildtrees/yasm/x64-windows-dbg
    See logs for more information:
      C:\src\vcpkg\buildtrees\yasm\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:111 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
  ports/yasm/portfile.cmake:27 (vcpkg_cmake_install)
  scripts/ports.cmake:145 (include)

-Please attach any additional failure logs mentioned in the console output.
install-x64-windows-dbg-out.log
Additional context
I was trying to compile pycolmap as instructed in the github repo under Windows https://github.com/colmap/pycolmap
I installed vcpkg as i did not have it on the computer, following the instructions in this repo.
As i was running the command to install colmap i noticed my antivirus (AVG) kept scanning the files that were being run, though they all passed. However as it was installing python 3.10 i noticed it had been hanging on the same line for 30 minutes, and i saw that my antivirus had given some error during the scanning, though the error was obscured as the GUI had not rendered properly.
I crtl+c in the console to stop the Colmap compile and to restart it.
As i restarted, vckpg gave an error that it got an access denied for opening install-x64-windows-dbg-out.log
I tried manually renaming the file to see if the compile would create a new version, however i got the error message that another process was using the file and therefore i could not rename.
I used Process Explorer to find the process that was responsible, and it was re2c.exe
This is where it gets interesting.
As an administrator i get access denied errors whenever i try to kill re2c.exe, wether it is done from Process Explorer or Resource Manager, nothing works. Running taskkill /F /im re2c.exe in an administrator command line just yields that no process is running, though i can see that is a lie in the Process Explorer.
When i try to delete re2c.exe i get the error "The action can't be completed because the file is open in System"
i have tried restarting and it always starts up with the system.
I managed to get past the first error and get to this compile error by closing the handles that re2c.exe had on the debug files, using the Process Explorer.

Okay i have resolved the error and colmap is now compiling again.
I booted my pc into safe mode, and was luckily able to delete the re2c.exe, re2c.ilk and re2c.pdb files.
I restarted my pc into normal mode, and ran the command again, without copying the re2c files back into the directory
.\vcpkg.exe install colmap --triplet=x64-windows --head
It gave me this new error, and AVG freaked out again

I crtl+c again and restarted the compile, but i started getting the access denied error for stdout-x64-windows.log
However, this time it was genmacro and genperf that had handles on the file

I again resolved this issue by booting into safe mode, deleting alle the .exe, .ilk and pdb files in both genperf and genmacro,
Booted into normal windows again, and then i wanted to get a good screenshot of the error message for documentation, so i copied back the genperf and genmacro files into their original folders, and ran the command again.
I got the same windows error message about the console being unable to reach the tools directory, however this time the console did not hang and it actually just continued compiling. I can also delete the genperf.exe, genmacro.exe and re2c.exe now, so they are no longer bound by the System process.
I do not want this issue closed, even though i found a solution, because this seems to be a general issue with how files are compiled by vcpkg. It is not great when a file gets bound to the system process and cannot be killed or deleted, and when it prevents the compile from going forward.

Does this issue occur when the antivirus closed?

The files do have handles on them even when antivirus is turned off. I also checked the "quarantined" files in my antivirus and there were none present.

@BillyONeal
I can't reproduce this issue in my side. Could you please help take a look this issue?

"open in system" means "opened by a driver" which typically means antivirus. Just turning it off doesn't necessarily unload the drivers etc.
They tend to hate whenever we build something then immediately use it

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.


Xcode 8.2.1 Swift compiler error

I download the project, and try to  install SQLite.swift as an Xcode sub-project.
But build fail, what should I do?

having the same issue

Installing standalone subspec resolved the issue for me. Follow this link:
https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md#requiring-a-specific-version-of-sqlite

make sure your Xcode is installed in the default location, see step 1 here:
https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md#cocoapods

@bulbuliator , @jberkel Thanks!
I solve the problem by installing Xcode in the default location.

@jberkel It would be helpful if the step one under manual installation was the same as the cocoa pods one.  I'm curious, why is this a requirement?

@zackdh9 it no longer is – see #615

thanks @jberkel  @bulbuliator . I find the problem because I change my xcode name.


Consider adding ability to wait for all volumes to be detached from node before rebooting by agent

With storage.k8s.io/v1.VolumeAttachment resource, we could now quite effectively resolve https://github.com/coreos/container-linux-update-operator/pull/192 I think. Given that this feature is driven upstream, I guess it would make sense to support it in tree.
The rough implementation would be:

drain
wait for all volumes to be detached from a given node (opt in initially, with optional force after deadline)
reboot

Old issue: https://github.com/coreos/container-linux-update-operator/pull/192
Current workaround PR: https://github.com/flatcar-linux/flatcar-linux-update-operator/pull/62

Just realized we have #30 already, so we can close this. Sorry for the noise.


[Suggestion] Show the original URL alongside vanity in dashboard

Self-explanatory. It can be right below the vanity in the card, or, as an alternative, the go button can link directly to the original URL instead of shortened one.

Great idea, hope to add this when 3.6.0-rc4 is out.

Added in https://github.com/diced/zipline/commit/3df94526b007f9664896d9cac2b0aec067db502d along with many other stuff added to the URL card.


Readme could use an intro to what IOpipe is

The README currently provides little background as to what IOpipe is.

reopening as a launchpad


Possible use with Node JS ?

In nodejs i using serialport package for scan COM port then use esptool.exe for flash an ESP32 but i have a problem about permission of access external binary file on some OS.
I think esptool written in NodeJS with serialport package can fixed my problem

Just wrote this a few minutes ago. Flashing works, but the device reboot functionality after flashing doesn't. Unclear why.
https://github.com/koush/node-esptool

Got reset working by looking at the official esptool code from Espressif.
https://github.com/espressif/esptool-js/blob/main/index.js#L112

Hi @koush, this seems like something that is durable.
Maybe somehow the serial port implementation in the web and node could share an API making it possible to do the signal operations as well that way there is no need for multiple implementations.
I would suspect a wrapper class could do it to redirect setSignal -> set with the correct options.


Preserve block-level newlines

As an option, on by default, per https://github.com/andrewbaxter/genemichaels/issues/29#issuecomment-1364574276

So I've been thinking a bit more on this and another way this could be handled is enforcing block-level newlines (code paragraphing) rules in a specific way rather than letting the user put them anywhere.
For example:

Newline before and after every closure
Newline after every 3rd let binding
Newline after every multi-line let binding
Newline before every return value

Yeah, rules like that would work!  Right now I already have (I think) two rules:

Blank lines around struct{}/enum{}/union{} definitions
Blank lines around groups of use statements

which are pretty uncontroversial.  Would you specifically use any of your examples?
TBH I'm still thinking about this... I think preservation could work, but I'd probably have it off by default since it would reduce determinism.  It would be better than hundreds of rules with one user each, if I can't identify any common rules.

Those two rules you listed are must-haves imo but they don't really relate to code paragraphing, which is most noticeable within function/closure/general code block bodies.
Those 4 I listed were mainly thinking out loud although I do think 1, 3, and 4 are pretty common for my workflows.

Oh hey, I think I actually did implement this at some point: keep_max_blank_lines in the readme.  If not I can investigate further, but closing for now.


feat: update to rhinestone audited contracts

It seems like during the audit of the new rhinestone safe7579 adapter contracts, they updated the code to use the safe7579Adapter domain in the typehash of the signature (before the audit they used the launchpad address). Also, it seems like the attester is needed for the creation of the wallet, if you don't put any attester it will revert.
For now I did not force it in the code so you have to input it in the function as such:
 const safeAccount = await toSafeSmartAccount({
      client: publicClient,
      owners: [owner],
      version: "1.4.1",
      entryPoint: {
          address: entryPoint07Address,
          version: "0.7",
      },
      safe4337ModuleAddress: "0x7579EE8307284F293B1927136486880611F20002",
      erc7579LaunchpadAddress: "0x7579011aB74c46090561ea277Ba79D510c6C00ff",
      attesters: ["0x000000333034E9f539ce08819E12c1b8Cb29084d"],
      attestersThreshold: 1
})

Thanks, @yoanslvy, for helping us fix the new 7579 contracts!
There are a few tests that are currently failing:

erc7579/installModules.test.ts
erc7579/installModule.test.ts
erc7579/uninstallModules.test.ts
erc7579/uninstallModule.test.ts
erc7579/isModuleInstalled.test.ts

Could you help us resolve these issues? Please let me know if there’s anything off with the way I've set up the tests. I’ve already pushed the test changes to your pull request.
You can view the report here: https://github.com/pimlicolabs/permissionless.js/actions/runs/11573741377/job/32216490198?pr=314

Tests have been update with the good help of @kopy-kat , should be good to go now !


Update to EF7

Hello,
Do you plan to update to EF7 to use new feature for example Bulk Delete or support for JSON Columns?
Thanks

Done! Available in the latest version.


Azure sql paas

[Is the autoscale feature available for azure sql pass (elastic pool)]

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

ID: f7105f7a-e333-6e61-015e-e50902548308
Version Independent ID: 4b68de93-8417-4cda-6428-c56847363e48
Content: Best practices for autoscale - Azure Monitor
Content Source: articles/azure-monitor/autoscale/autoscale-best-practices.md
Service: azure-monitor
Sub-service: autoscale
GitHub Login: @rboucher
Microsoft Alias: robb

@sreediff Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @sreediff  - AFAIk Azure Sql pass is not on the list of services supported by the Azure monitor Autoscale feature.
Just FYI, check out the Elastic Database tools to scale out Azure SQL paas

We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Can't interact with co-pilot, everything greyed out.

Version: 1.86.2 (user setup)
Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
Date: 2024-02-13T19:40:56.878Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Steps to Reproduce:
Everything in Co-Pilot is greyed out today. I can type into the chat box but can't send to the chat. I can't delete past questions, can't make a new chat. Ive tried disabling, signing out and back in, re-installing, rebooting the PC it bring up my past chat history but there is no way to interact with it at all.

I could not get viable logs and this has not happened since. Closing for now.


Move away from using a builtin template for the mail content

Hi
I'd like to work on this issue. The problem involves the minder binary being incorrectly marked as "dirty" due to artifacts created by goreleaser during the build process. My plan is to:
Reproduce the issue and confirm the dirty flag.
Investigate the build and release configuration, especially the goreleaser setup.
Update the configuration and workflows to prevent these artifacts from affecting the binary status.
Test to ensure the issue is resolved.
Assigning this to me will help improve the release process reliability and ensure accurate versioning in the minder binary.
Thank-you


Add feature transformation to zwadp script

Add --transform and --feature-name

It is merged. Nothing left to do.


fix(config): modify bad system configuration

What this PR does / why we need it:
This PR (#864 ) is wrong, and this PR fix it.

This PR only corrects dirty data. The problems of database change timeout and OOM caused by oversized SQL files will be fixed later.


it should  not be needed to update the script each time that a new binary module is avaialble

Currently the configuration is stored as a JSON string as part of the script.
The goal is to externalize this data and store it on GitHub for better maintenance.
the assumption is that when installation is needed, the machine that can perform the installation does have access to the internet to download the modules.

#2 data is now published to git


Improve error reporting on failed updates

What it does

show that an error has happened
the error we receive has no nice description of what went wrong so
just notify about error for now
closes #45

Contributed on behalf of STMicroelectronics
Signed-off-by: Johannes Faltermeier<EMAIL_ADDRESS>How to test
Disconnect from the Internet and start an update (File -> Settings -> Check for Updates)
Error is reported as a message in bottom right corner
Review checklist

[x] as an author, I have thoroughly tested my changes and carefully followed the review guidelines

Reminder for reviewers

as a reviewer, I agree to behave in accordance with the review guidelines

Should be merged after https://github.com/eclipse-theia/theia-blueprint/pull/94 adressing #71
I'll restart the CI

@jfaltermeier it's possible that rebasing the PR on master will help with CI. I recently added a cleanup for two "local storage" directories used for CI, that could sometimes become corrupted and prevent successful builds.

@jfaltermeier it's possible that rebasing the PR on master will help with CI. I recently added a cleanup for two "local storage" directories used for CI, that could sometimes become corrupted and prevent successful builds.

Yes, thank you. Build is green now


v1.8: Make EC2 AWS API endpoint configurable in operator

Manual backport of #12835 to 1.8 for #12620
[ upstream commit f0e584d92b4799a48b83c1d1a4758541c0033ac2 ]
Add a new --ec2-api-endpoint operator option which allows to specify
a custom AWS API endpoints for the EC2 service. One possible use-case
for this is the usage of FIPS endpoints, see
https://aws.amazon.com/compliance/fips/. For example, to use API
endpoint ec2-fips.us-west-1.amazonaws.com, the AWS operator can be
called using:
cilium-operator-aws --ec2-api-endpoint=ec2-fips.us-west-1.amazonaws.com

Updates #12620

test-backport-1.8

test-upstream-k8s


[Feature] Option to Move/Remove the 'Close Tab' icon/btn.

Description of the new feature/enhancement
I find that I am often accidentally closing my terminal tabs.
This issue is worsened by the fact that I will often rename my tabs by the command that was run... eg:  dcu.  which is very short... and makes the click area to switch to the tab extremely small...
Option to either:

remove the Close icon from all the tabs ( you can still right click etc)
move the Close to a different location (maybe floating top/right of actual terminal area)
make a min-width for tabs (might help issue)

Proposed technical implementation details (optional)
Less accidental closing of tabs.

remove the Close icon from all the tabs ( you can still right click etc)

You can totally do that today! You can already hide the close button on the tabs in the theme settings. Something like:
{
    "name": "Dark (no close button)",
    "tab":
    {
        "background": "terminalBackground",
        "showCloseButton": "never",
        "unfocusedBackground": "#00000000"
    },
    "tabRow":
    {
        "background": null,
        "unfocusedBackground": "#333333FF"
    },
    "window":
    {
        "applicationTheme": "dark",
        "useMica": false
    }
}

make a min-width for tabs (might help issue)

Well, there is already "tabWidthMode": "equal" which does give them a min width.

There's also "read-only mode". Then, of course, there's #6549
I think that about covers this problem space?

great... no idea how to implement that.

blah i figured it out.. thanks

See more detail for complete howTo: https://github.com/microsoft/terminal/issues/6549#issuecomment-2012931368


memory leak during the use of reloadOnChange: true with ConfigurationBuilder

From @jkotas on July 23, 2018 8:12
From @abelpalaty on July 23, 2018 7:39
Hi,
We have dotnet core driver which connects to our product (CICS TG).
In the driver we create a connection and closes it after each transaction.
While creating the connection we have the following code.
     var  builder = new ConfigurationBuilder()
           .SetBasePath(Directory.GetCurrentDirectory())
           .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);

With the setting reloadOnChange: true we see the memory leak with time eventhough the connection is closed after each request.
We tried with the following code
     var  builder = new ConfigurationBuilder()
           .SetBasePath(Directory.GetCurrentDirectory())
           .AddJsonFile("appsettings.json", optional: false, reloadOnChange: false);

with the setting reloadOnChange: false we see the memory usage is constant with time.
The sample we ran runs same application in a loop of like 2500 times where each time new object is created and closed.
Our customer reported this issue and its recreating every time. Its high priority .
Is there any fix available already or is it a known issue?
Is there a way we can make sure memory usage is constant (maybe additional  code to release FileSystemWatcher after the connection is closed.)
We created a memory profiling report and we see that the function which allocated the most memory is System.IO.FileSystemWatcher.AllocateBuffer().
I am attaching the screenshots of the observation we did during our testing.

Copied from original issue: dotnet/coreclr#19080
Copied from original issue: aspnet/Home#3351

@abelpalaty have you noticed a long-term trend of memory growth? I think it's possible that within only 30 seconds that not all unused memory got cleaned up by the .NET Garbage Collector. The GC algorithm takes many factors into account, and with the overall memory usage of the process being fairly low (less than 80MB), the GC might not sense enough pressure to warrant collecting.

Hi,
The customer had tried long term around 100000 requests and they had seen memory growth and reported it.
I did for just 2500 requests and were able to see same pattern.
In the above attached screenshots we see a GC on process memory where a orange mark is there.
In case of true we dont see anychange but increase of memory.  While in case on false with GC we see a small decrease in memory usage  while remains almost constant throughout.
The increase in objects and heap size is also huge in case of true.. Is that expected for a change of reloadOnChange: true.
Thanks

I wonder if this issue is related to the discussion at https://github.com/aspnet/Home/issues/1976 ...

@Eilon
I went through Asp.net Core not Collecting Garbage.
But in this case we are specific to reloadonchange. I dont see anything connecting to this.
Thanks

@ajcvickers shall we have someone attempt to repro this one?

@HaoK would be that someone.

@ajcvickers I think the issue is that we never dispose the initial change token: https://github.com/aspnet/Configuration/blob/master/src/Config.FileExtensions/FileConfigurationProvider.cs#L32
Normally this isn't an issue for the main application configuration file.  But in the scenario where they are constantly creating new configuration builders, each configuration is leaking the initial file watcher which explains the behavior above.  I'll prep a fix and see if that takes care of the issue

So one complication is there is no explicit notion of disposing config right now, so technically other than if gc kicks in, there's no way to signal that you are done with a configuration file to trigger actually closing the reload on change file watcher...

Might be related to https://github.com/aspnet/Home/issues/3110

Yeah looks like the same issue


Render permissions forms on profile page as modals after an onClick event only

Describe the Current Behavior/Feature:
Both "set permissions" forms are rendered on the Profile Page currently.

Proposed Behavior/Feature:
Ideally, these would be modals/dialogs that popup after an onClick event attached to a button or icon.

Rationale:
1. To clean up the profile page and bring the focus to the user's info and documents only.
2. To have the "set permission to a specific file" be more obviously linked with a specific file - modal renders after an onClick of something in that file's row on the documents table.
3. To be more consistent with rest of app ("Add Client", "Add Document", etc)
4. Second step in getting these forms into the final version we actually want them to be.

Proposed Implementation (if applicable):
Follow similar structure of the AddClientModal or UploadDocumentModal files - using what we've already built into the "set permissions forms" files.

I can make dialogs and buttons for those.

Give it a shot if you'd like.


Heads up: Some popular services rely on let's encrypt order finalize location header outside RFC 8555

Just as a heads up: I ran into an issue using gitlab's let's encrypt integration aginst this implementation and it turns out, some popular services rely on order finalization to return the order-location in the location header.
Since RFC 8555 does not require this, they are basically relying on an implementation detail (Hyrum's Law comes to mind), but it might be worth to consider adding behind some feature flag.
Also, thank you for this project, it was extremely helpful for a very specific usecase
Regards

Thanks for the feedback. I've added the header. Please try again with the edge image knrdl/acme-ca-server:edge

Perfect, thank you


GH Action not verifying Library cache changes

fixed @ https://github.com/victoriousoft/tower-defense/commit/7a337b34bf9e3dc9b76e403c9a25f97bfc8ce554


automatically figure out what the suitable workflow is

don't need to do this for the separate rmarkdown projects, but it is necessary for pkg vs shiny vs etc.

obsolete or done in the new yml-based GitHub actions.


Generic graph node

This is the basic node object which will be used with the graph like algorithms. It also serves as a unique identifier for the contents of an object. Ultimately it is designed to help with the mapping from molecules to rigid fragments and segments in the xtp repo. However, functionality could be easily extended to csg if desired.

Your talking about this file: https://github.com/votca/csg/blob/master/src/libcsg/map.cc

Yeah!

Ok, will keep it in mind, that code considers shapes such as spheres and ellipsoidal shapes to determine neighbors etc?

Yes, spherical mapping is the default, but non-spherical mapping are implemented, too!

@MrTheodor  have you ever used this: http://www.boost.org/doc/libs/1_55_0/libs/property_map/doc/property_map.html
I'm wondering if the boost property map has similar functionality to my graph node.

Can we build this on top of property map?

I can try.

I just saw this which makes me think writing part of the graph library for what I need is probably not that uncommon even with boost:
The default method of associating a value with an object is to make the value a member. I.e. struct Edge { float value; }. If you need more that one value, provide your own struct. Nothing really different from struct RGB { int R; int G; int B; }; std::vector<RGB>. BGL is so complex that I think you should roll your own in 90% of cases, using BGL only for the hardest 10%. Compare that to STL, which is sufficient for the simplest 90% of cases - the total opposite. – MSalters

Turns out the property map is not doing the same thing that I want to do but I will keep my eyes open for functionality that is available in boost so we are not recreating code.


feat(List Patches): Added Page to List Patches.

Functionality:
A page to display all the patches.
Solution:
Added 3 components to list patches.
Risk level:

[ ] high
[x] medium
[ ] low

How to test:
ng serve
firebase emulators:start
move to /ListPatches

Have resolved all the changes requested in the previous pull request.


chore: change associativity of +ᵥ and -ᵥ from infixl to infixr

...why? This is opposite to + and - in Lean, and this change many more parentheses than it removes.

Nevermind, just found the Zulip. This isn't my domain so I trust this makes sense.

Now that you have reverted the -ᵥ change, can you check the brackets you are adding are still necessary?

Needs a link in the PR description to the zulip discussion.
bors d+

bors r+


Unit test

Deprecated AsyncTask(as of Android 11) replaced with ExecutorService.
Null check added for battery status.
Unit test added for Location client and App state collector.
Coverage summary: 91% classes, 79% methods, and 68% lines covered using Android studio Run test with Coverage.

Tagging @garylee1 @brianmhiggins for review on this PR


Fix readStream authentication/access token

Addresses two failings:

I use a service account, it was unable to retrieve an access token in this situation.
When using regular oauth creds with a refresh token, it made no attempt to refresh / obtain an access token if one isn't there

@benlumley Thanks! 👍


CoinMarketCap Token

When i type /info btc i get the error:
(node:12888) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'find' of undefined
at C:\Users\julia\Desktop\crypto-bot-master\bot.js:46:39
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:12888) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise
which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
I'm not 100% sure but i miss the coinmarketcap_token.

Thanks for bringing up this issue! To tell you the truth, I haven't worked on this bot for ages, so it's outdated. I ran the bot locally and got the same error as you so I'm going to check if fixing is possible.

It turns out that I made this bot before CoinMarketCap changed their API and made a token mandatory, so I'm going to have to update the bot to take into account the changes.

@captainsubtext I fixed the code and released v3 so it should be working now. Please clone the repo again and read the updated README.md. You now need to add COINMARKETCAP_KEY=key to your .env file.


Merge branch 'develop' into 'main'

Codecov Report

Merging #14 (989cc10) into main (b7e57d3) will not change coverage.
Report is 4 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            2         2
=========================================
  Hits             2         2

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix crash when the file is uploaded successfully

This pull request fixes the crash that occurs when the file is uploaded successfully, as no content is returned from the server (so JSON.parse() fails).

Thanks @Enrico204 for the fix. The error is still an issue for me, while the rest of the plugin works perfectly smooth.
Is there a chance of getting this merged and release @basti76 @kuehnelbs ?

Good job @Enrico204 made the fix manually and it works like a charm. It should really be merged @basti76 or @kuehnelbs

+1 to get this merged please. I have a flow using this node and it's crashing my nodered instance every time I upload a file.


Enabling Shortcuts App makes it crash on open

Title. Disabling it makes it work again.

Confirmed not working on 17.0 A13

bug confirmed

will fix in next beta version

Fixed as of latest release.


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

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

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-10-22-03-02-35 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-10-22-03-02-35

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


Map things

Change
When receiving inquiries call Gravity to get some details about the inquiry so we can show it on the map.
Weirdness Explained
So we needed httpoison in aprb we didn't need it since it was brought into the project as part of slack lib dependency! Sneaky!
Sample
In socket.js you can see how i get inquiry and use the data passed in.
Whats missing?
With current data, we don't get user's location but maybe we can start with showing partners and then add user? I think Gravity doesn't return that with our current permission.
End to End Sample

cc: @sepans

Perfect, yep - thanks!


Migration away from selenium-wire to "nodriver"

Selenium-wire has been archived:
https://github.com/wkeeling/selenium-wire

Selenium Wire is no longer being maintained. Thank you for your support and all your contributions.

There seems to be a complete replacement for selenium + selenium-wire + undetected-chromedriver:
https://github.com/ultrafunkamsterdam/nodriver

Ha this is what he had been working on and why UD Chromedriver was being neglected. I would like to get this tested and swap over so it alleviates some of the crashing errors we are getting with UD driver. I assigned us and if we would like to get some form of chat going feel free to suggest - I have TG/Discord etc

still relevant

@klept0 id highly suggest checking out selenium base as well while you’re considering migration.
There are a lot of quality of life features baked in that make developing selenium apps much more pleasant. as an example, every command (find, click, etc) automatically has the web driver wait built in so you don’t have to write it every time.
https://seleniumbase.io/help_docs/uc_mode/

Yeah, I've attempted to get rid of https://github.com/ultrafunkamsterdam/undetected-chromedriver if for anything else it seems like pretty crappy code (see how quit and close doesn't work).
Granted this dependency is inherited from https://github.com/charlesbel/Microsoft-Rewards-Farmer/blob/master/requirements.txt, it would be nice exploring if we can just get rid of it altogether. Or at the least come up with a use case where vanilla Selenium doesn't work (or causes trouble).

100% for a migration away from it - have not had the time for a dedicated period to sit and see where the specifics from the UD-CD are to remove/replace and get this integrated.

Hi is there anyway I can help with migrating to nodriver? I've never used nodriver but I think I have the time to learn it and make a contribution in someway or another.

@HaveSomeRubicon think the plan is to move away from nodriver/undetected chromedriver/selenium wire and to just using plain ole vanilla selenium (until proven otherwise). See https://github.com/klept0/MS-Rewards-Farmer/issues/161#issuecomment-2301665475.
If you'd like to contribute though, feel to fork try removing these dependencies, or feel free to pick up any of the other enhancements.

not stale :p

yeah Im fixing that - ignore the message

use may Use Customised Ai for Faster Help with Custom Instructions of ChatGPT becouse Now they Public the Future "Searching in Web"

also i have some paid bot that i purchsed from unkonwn discord servers for almost 1.5$ now that no work more properly i went to share their config you can look this below config @klept0
i used this bot more than 5 months but only problem in login & Same Query Problem due to Google Trends API
{
    "browserSettings": {
        "browserName": "chrome",
        "mobileUserAgent": [
            "Mozilla/5.0 (Linux; Android 12; SM-N9750) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36"
        ],
        "desktopUserAgent": [
            "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
        ],
        "imagesDisabled": true,
        "imagesDisabledInSetupMode": false
    },
    "searchSettings": {
        "searchDelay": 10,
        "searchPoints": 3,
        "cooldownSearchCount": 4,
        "cooldownSearchDelay": 16,
        "searchMethod": "URL"
    },
    "botSettings": {
        "activities": true,
        "punchCardsOnly": false,
        "startTime": null,
        "onFinishAction": [],
        "setupMode": false,
        "runDaily": false,
        "threadsCount": 1,
        "setupAccountProfilesBeforeRun": false,
        "cooldownModeByDefault": false
    },
    "discordAlerts": {
        "isEnabled": true,
        "webhookUrl": "<Webhook>",
        "alertFormat": "embed"
    },
    "ipChanging": {
        "isEnabled": false,
        "airplaneModeToggling": false,
        "enabledInSetupMode": false
    },
    "LogLevel": 3
}


Copy Pasted TensorRT not visible why?

I am trying to prepare pre-compiled TensorRT files
Copy pasted
sd_xl_base_1.0_be9edd61.onnx
folder : Unet-onnx
Copy pasted :
sd_xl_base_1.0_be9edd61_cc86_sample=1x4x96x96+2x4x128x128+8x4x128x128-timesteps=1+2+8-encoder_hidden_states=1x77x2048+2x77x2048+8x154x2048-y=1x2816+2x2816+8x2816.trt
folder : Unet-trt
But in dropdown they do not appear
Dev version of Automatic1111

ok looks like we also need to copy paste model config file :/


Adds docs for CRI socket path change

Rewrite of #479
Product Version(s):

CC 3.16 and next
Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

@Brian-McM


After migrations application does't working (Base table or view not found)

Laravel Version: 5.5.23
PHP Version: 7.0
Database Driver & Version: Mysql

Description:
It all started with the fact that i created new migration
`   /**

Run the migrations.

@return void
*/
public function up()
{
Schema::table('a_delivery_pec_pickup_coef', function(Blueprint $table) {
$table->primary(['location_id', 'weight_limit'], 'location_id_weight_limit_index');
});
}

/**

Reverse the migrations.

@return void
*/
public function down()
{
Schema::table('a_delivery_pec_pickup_coef', function(Blueprint $table) {
$table->dropIndex(['location_id_weight_limit_index']);
});
}`

After i executed command

php artisan migrate:refresh --seed

and got error

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'delivery_update. a_delivery_pec_delivery_ranges' doesn't exist (SQL: select * from a_delive
ry_pec_delivery_ranges)

Then something very strange began. I could not execute any commands becouse got same error.

php artisan migrate:rollback

php artisan migrate

php artisan list

application just stopped working. Main page stopped opening. I go into connection.php file and did
error_reporting(E_ALL); ini_set('display_errors', 1);
Main page show same error, but insead table "a_delivery_pec_delivery_ranges" i saw another table.
Next i created table "a_delivery_pec_delivery_ranges" manually and the error was gone. BUT when i executed

php artisan migrate

i got error

Base table or view already exists: 1050 Table 'a_delivery_ pec_delivery_ranges' already exists

Now I'm in a deadlock situation becouse if i remove table 'a_delivery_ pec_delivery_ranges' my application not working with first error.
But if i add this table (also i tried add migration name into migrations table) and try

php artisan migrate

or

php artisan migrate:rollback

i get 'a_delivery_pec_delivery_ranges' already exists! Also i tried comment "up"-method in this migration
` public function up()
{
Schema::create('a_delivery_pec_delivery_ranges', function (Blueprint $table) {
$table->increments('id');
$table->integer('weight');
$table->float('volume');
$table->float('length');
});
}
/**

Reverse the migrations.

@return void
*/
public function down()
{
Schema::dropIfExists('a_delivery_pec_delivery_ranges');
}`

but then i can't create this table!
Also i can't understand why it is this table! I delete each table in turn and and nothing happens. But if i remove this table my application die!

Could you edit this post and fix the formatting? It's pretty hard to read in its current form. I have no idea if you want to report a bug in the framework, or just to ask generic questions about migrations.


Music does not pause

My first experience was strange, I searched for the songs in the directories, started playing and didn't want to pause!
Steps to reproduce the behavior:

Open the application via .Appimage
Search your music in the directories
Put it to play
Try to move the application window to a secondary screen
See error

When trying to use the application with two screens, it seems that the application opens twice, this is strange, as it does not stop the music when clicking on the pause button.

OS: Ubuntu 20.04
Application Version: 5.0

Not sure why this behavior is happening, does it happen if you use only one display?


getCrontabFileHandler()->write(), isn't erasing temp file

Every time i call write(), a new tmp file is created and never removed, if my server is running for long period, this could be an issue.
"yzalis/crontab": "^1.0"

This uses the system temp directory, and as such should automatically be deleted periodically by the operating system.
However, this does seem like a worthwhile enhancement considering portability.

It is not guaranteed that /tmp/ or /var/tmp/ are cleaned up on a regular basis. This may depend on your distribution and settings, although most systems do some cleanup from time to time.

For instance, in openSUSE, it does not, unless you configure it to (from /etc/sysconfig, or via YaST).


Maintainer?

Greetings, this project showed up on HN and Rick mentioned, and then Rory vacation responder mentioned, that an additional maintainer is needed.  I/we (https://github.com/openthc) can help you.

Well, this one might be a bit dead. But if you are interested in the topic, can I recommend growstuff.


No release schedule available

In the answer to the question "How often is Prebid.js updated?" (http://prebid.org/dev-docs/faq.html#how-often-is-prebidjs-updated) the answer is "See the github release schedule for more details." but in the target page there is no schedule.

@ACannuniRP Thanks for pointing this out. The release schedule is here: https://github.com/prebid/Prebid.js/blob/master/RELEASE_SCHEDULE.md
I've updated the FAQ page with the correct link.


getResultList returning a list containing one object of null values rather than an empty list

Description

We are querying for a list of sub views using the function EntityViewManager.applySetting(EntityViewSetting setting, CriteriaBuilder criteriaBuilder, String entityViewRoot). When these sub views exist in the db, we properly receive the results as a list. What we are having trouble with is when there aren't any of these sub views in the db.
What we are doing:
 CriteriaBuilder<Link.class> cb = cbf.create(em, Link.class).from(ClientProfile.class);
 cb = cb.where("org.id").eq(orgId);
 CriteriaBuilder<LinkView.class> linkBuilder = evm.applySetting(EntityViewSetting.create(LinkView.class), cb, "links");
 return linkBuilder.getQuery().getResultList();

Expected behavior

Expected result when links exist on a client profile:
[{"url": "value", "name": "value"}]

Actual result when links exist on a client profile:
[{"url": "value", "name": "value"}]

Expected result when links do not exist on a client profile:
[]

Actual result when links do not exist on a client profile:
[{"url": "null", "name": "null"}]

Actual behavior

When there are no values in the db for the sub views we query for, we receive a result list with one element with null fields.
Steps to reproduce

As mentioned above, if we query for a list of sub views and none exist, we should see this behavior.
Provided the setup/query we are doing above.
Environment

Version: 1.6.5
JPA-Provider: Hibernate 5.4.32.Final (Spring Data JPA 2.4.13)
DBMS: PostgreSQL 13.3
Application Server: Spring Boot 2.4.13

Hi, this is expected behavior for so called "flat views" because there is no value that is used to determine nullness in this case. If you were using a proper @IdMapping on e.g. getUrl(), the result will be empty, just as expected.

@beikov Link is embeddable and embedded in ClientProfile so there is no @IdMapping. Any advice as to what we should be doing here?
Link Entity:
ClientProfile Entity:

You could try map it like this to emulate an id over all values.
@EntityView(Link.class)
public interface LinkView extends Id {
    @IdMapping("this")
    @JsonIgnore
    Id getId();

    @EntityView(Link.class)
    public interface Id {
        String getName();
        String getUrl();
    }
}

Did this and changed the UpdateView to match, but I keep getting this exception on startup:
Caused by: java.lang.IllegalArgumentException: There are error(s) in entity views!
Invalid id attribute mapping for embeddable entity type 'com.daniel.test.domain.Link' at attribute id[com.daniel.test.view.LinkView.getId] for managed view type 'com.daniel.test.view.LinkView'!
Invalid id attribute mapping for embeddable entity type 'com.daniel.test.domain.Link' at attribute id[com.daniel.test.view.LinkUpdateView.getId] for managed view type 'com.daniel.test.view.LinkUpdateView'!

I attempted something similar yesterday without @JsonIgnore and received the same exception.
@beikov

Unfortunately, the only way to avoid the "empty object" for now, is to use a list index by annotating @OrderColumn on the entity collection. A possible alternative is to use a simple wrapper view:
@EntityView(ClientProfile.class)
public interface ClientProfileLinkViews {
    @IdMapping
    Long getId();
    List<LinkView> getLinks();
}

 CriteriaBuilder<Link.class> cb = cbf.create(em, Link.class).from(ClientProfile.class);
 cb = cb.where("org.id").eq(orgId);
 CriteriaBuilder<ClientProfileLinkViews> linkBuilder = evm.applySetting(EntityViewSetting.create(ClientProfileLinkViews.class), cb);
 return linkBuilder.getQuery().getResultList().get(0).getLinks();

Thanks for that! Looks like we will need to get the data we want through ClientProfileView instead for now. We do use a list index for links using @OrderColumn and that doesn't seem to help in this situation.

FYI I'm looking into this as part of https://github.com/Blazebit/blaze-persistence/issues/1593


Integration with Spring

I want to use it with Spring MVC but having problem with integration I am not able to get the posted file data in the backend. If possible can somebody post sample code .
Below is the code that I am using for spring controller:
@RequestMapping(value = "/uploadAttachment", method = RequestMethod.POST)
public List<Map<String, String>>  handleUpload( @RequestParam("fileToUpload") CommonsMultipartFile uploadFile, ServletResponse response){
	System.out.println("Inside the handler.");
                                  //Code to save the file on file system.

}

+1
I'm having the same problem.
did you ever manage to figure it out?


redshift formatter added

Redshift formatter added, specific tests for Amazon Redshift is passed.
Thanks,

This has now been included to 3.1.0 release.
Thanks a lot.

This has now been included to 3.1.0 release.
Thanks a lot.


onChanged is not as described in the docu

See the onChange-Events:
https://plnkr.co/edit/b8PwXmyOCwrcwhZ47DZQ
I defined the onChange-Event in different ways.
It only works, when a anonymous function is called.
See docu:
https://github.com/json-schema-form/angular-schema-form/blob/master/docs/index.md

onChange: "valueChanged(form.key,modelValue)", // onChange event handler, expression or function
and
onChange: "updated(modelValue,form)"

docu says not only anonym functions.

"If its an expression it will be evaluated in the parent scope of the sf-schema directive"
You need to add the function to the scope of your controller so ASF has access to it $scope.TestHandler = TestHandler; would suffice :)
Please re-open if you do not feel the question has been answered sufficiently.


[Bug]: Native oracle mode trigger hides compile and disable buttons

ODC version
ODC4.2.4
OB version
Oracle11g
What happened?

What did you expect to happen?
Native oracle mode trigger hides compile and disable buttons
How can we reproduce it (as minimally and precisely as possible)?
View native oracle mode triggers
Anything else we need to know?
No response
Cloud
No response

pass


chore: Remove check boxes that don't render properly in module doc

Autogenerated module documentation can't deal with check boxes. See https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/155#issuecomment-847618610

v1.2.0 has been just released.


upload-1185: add post-create hook in golang

Metadata verification report can be sent to PS API
Trace functionality is assessed and decided if it should remain or not
Should fail elegantly without disrupting the upload

link: https://cdc-dexops.atlassian.net/browse/UPLOAD-1185

closed in favor of https://github.com/CDCgov/data-exchange-upload/pull/316


ACI - Windows server 2019 - Can´t connect to internet

I have an Azure Container Instance created from the base image mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019. The container is running and i can connect to the web page via a public ip address.
The problem is that I cannot connect to the network from the container (for example, Invoke-WebRequest http://google.com)
If i run the following commands in container, everything is fine.
$nic = Get-NetAdapter
Set-DnsClientServerAddress -InterfaceIndex $nic.IfIndex -ServerAddresses ('<IP_ADDRESS>')

Can you solve this problem? Thank you!

@TBurda Thank you for your reaching out! Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

This problem is in Azure Containers Instances.
Here you describe a similar problem ( https://docs.microsoft.com/en-us/azure/container-instances/container-instances-troubleshooting ), but that doesn't solve my problem.

Windows containers slow network readiness
On initial creation, Windows containers may have no inbound or outbound connectivity for up to 30 seconds (or longer, in rare cases). If your container application needs an Internet connection, add delay and retry logic to allow 30 seconds to establish Internet connectivity. After initial setup, container networking should resume appropriately.

@TBurda Thanks for your patience. Currently, Azure Container Instances- Windows Server 2019 container support is in preview. I am reaching out to the engineering teams to find out more.

@TBurda I checked with product team and they shared that this is a known issue with the Windows Server 2019 preview feature and they are working on it. The workaround at this point is to use Windows 2016.
I will share once I get the ETA from the product team on this.

I would recommend using the workaround at this point.
We will close the issue now, I am in touch with the product team and will share the ETA here as soon as I get an update.


Fixing bug with shared bailouts

Shared bailouts for InlineMathFloor/Ceil/Round were bypassing the code on the bailout path that sets up data specific to a bailout (bailout kind, polymorphic inline cache index etc.) on the bailout record and were jumping directly to the bailout label. Fixed that.

This change is

@pleath @MikeHolman @LouisLaf

LGTM.

Thanks, merging.


Update to PMD 7.0 (Rules not found)

Is your feature request related to a problem? Please describe.
I planning to switch from Eclipse to VSCode and some rules aren't found, probably because we was using PMD 7.0 (Like UnnecessaryBoxing or NonSerializableClass)
Describe the solution you'd like
Updating the extension to fit the 7.0 PMD version.

Have you tried to use pmdBinPath/rulesets parameters ? It allows you to override the default pmd binaries and use your own ruleset.

UnnecessaryBoxing was added in PMD 7.0 https://docs.pmd-code.org/latest/pmd_rules_java_codestyle.html#unnecessaryboxing
I don't know for the other, but anyway will be nice to update to PMD 7.0 and point to the new doc

I saw that you have upgrade bash script to upgrade it, i will take a look later to create a pull request

PMD 7 have some breaking changes (net.sourceforge.pmd.PMD was removed, for example).
I will update the code and put a new vsix here on github. I will put the version on marketplace only when 7.0.0 will be released.

You can try 0.7.0-rc (with PMD 7.0.0-rc3) here : https://github.com/cracrayol/vscode-java-pmd/releases/tag/v0.7.0-rc
Tell me if it's working well.

Ho sorry didn't notice that 7.0 was pre-release, i will take a look thanks !

Looks fine but i still don't know why it can't find NonSerializableClass and UnnecessaryBoxing that's really strange, idk if it's a pmd issue or vscode-pmd issue
My complete .ruleset.xml
Analyzing c:\x\Sources\x\x\WEB-INF\src\Portail\GestionnaireFavoris.java
stderr:juin 09, 2023 2:08:50 PM net.sourceforge.pmd.util.log.internal.SimpleMessageReporter logImpl
SEVERE: Cannot load ruleset c:\x\x\x\x\.ruleset.xml: Unable to find referenced rule UnnecessaryBoxing; perhaps the rule name is misspelled?

stderr:juin 09, 2023 2:08:50 PM net.sourceforge.pmd.util.log.internal.SimpleMessageReporter logImpl
WARNING: No rules found. Maybe you misspelled a rule name? (c:\x\x\x\x\.ruleset.xml)

Analyzing c:\x\x\x\x\WEB-INF\src\Portail\GestionnaireFavoris.java
stderr:juin 09, 2023 2:10:40 PM net.sourceforge.pmd.util.log.internal.SimpleMessageReporter logImpl
SEVERE: Cannot load ruleset c:\x\x\x\x\.ruleset.xml: Unable to find referenced rule NonSerializableClass; perhaps the rule name is misspelled?

stderr:juin 09, 2023 2:10:40 PM net.sourceforge.pmd.util.log.internal.SimpleMessageReporter logImpl
WARNING: No rules found. Maybe you misspelled a rule name? (c:\x\x\x\x\.ruleset.xml)

Got no error on my side.
Have you set the path to your custom ruleset in the plugin configuration ?
"javaPMD.rulesets": [
"/home/cracrayol/dev/vscode-java-pmd/rulesets_test/ruleset.xml"
]

Yeah i correctly load my rule set "javaPMD.rulesets": [".ruleset.xml"], (unless i wouldn't get the error when i un-comment the rules)
Yeha i'm in v0.7.0-rc.

This rules asides, looks like v0.7.0-rc throw this error
stderr:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation

stderr:SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

3 issue(s) found

And false-report UncessaryImport, i checked in v0.6.3 and it doesn't happen (here the 3 import of JUnit used in the file)

(Take opportunity to link this to global 7.0 update post) https://github.com/pmd/pmd/issues/3898


Always getting 401 unauthorized

My api is recently getting 401 error code, description : unauthorized.
it used to work just fine before,
I tried reinstalling, changing tokens, revoking or even changing app id and app hash..  i got nothing
For tests :
http://Ibotcorp.com:8081
I can provide any logs if needed..

The only way to receive error with code 401 is to provide a wrong bot token.

The only way to receive error with code 401 is to provide a wrong bot token.

You can check any token you want, here’s mine
1566826077:AAFhbjb4riec70dMdNfGzCq3N1nmNU2-VQ8
It works on the official one but not mine :
https://api.telegram.org/bot1566826077:AAFhbjb4riec70dMdNfGzCq3N1nmNU2-VQ8/getme
——————
http://ibotcorp.com:8081/bot1566826077:AAFhbjb4riec70dMdNfGzCq3N1nmNU2-VQ8/getme

You can check any token you want, here’s mine
1566826077:AAFhbjb4riec70dMdNfGzCq3N1nmNU2-VQ8
It works on the official one but not mine :
https://api.telegram.org/bot1566826077:AAFhbjb4riec70dMdNfGzCq3N1nmNU2-VQ8/getme
——————
http://ibotcorp.com:8081/bot1566826077:AAFhbjb4riec70dMdNfGzCq3N1nmNU2-VQ8/getme

Do you use --filter option?

Do you use --filter option?

Nope

Nope

just a regular installation with 8082 as the stats port

just a regular installation with 8082 as the stats port

I installed on another server with same issue
http://<IP_ADDRESS>:8081/
(It's a fresh ubuntu 18 install)
I really cant see the problem

I installed on another server with same issue
http://<IP_ADDRESS>:8081/
(It's a fresh ubuntu 18 install)
I really cant see the problem

I am running the API server via this cmd :
./telegram-bot-api --local --api-id=1126**** --api-hash=4308793e16c******68617c687fcb5 -s 8082 --verbosity=4

I am running the API server via this cmd :
./telegram-bot-api --local --api-id=1126**** --api-hash=4308793e16c******68617c687fcb5 -s 8082 --verbosity=4

Redirect log to a file using option --log, reproduce 401 and send the log to @tdlib_bot in Telegram.

Redirect log to a file using option --log, reproduce 401 and send the log to @tdlib_bot in Telegram.

@tdlib_bot

Done

@tdlib_bot

Done

Actually after reading the log i sent i noticed a typo in the app_id
This is on me (Rookie mistake)
It's all working now
Thank you for your help, I will close this issue now

Actually after reading the log i sent i noticed a typo in the app_id
This is on me (Rookie mistake)
It's all working now
Thank you for your help, I will close this issue now

The only way to receive error with code 401 is to provide a wrong bot token.

You also get a 401 if you've just made a GET request to /logOut and it's been under ten minutes.

@horak Yes, all requests produce 401 first 10 minutes after a successful call to logOut.

ChatGPT uses Telegraf.


Changing volume for different participants

Thank you so much for getting this together. Demo runs flawlessly and was easy to set up. Been looking through the code for the past few hours and can't seem to figure this out. Is it possible to change the audio levels or volume for different participants in the call? By this I don't mean muting them completely, but rather changing the audio to x 0.2 or 0.6 instead of 1. Thanks!

Hey @marvinkennis
Sorry for the late response. I haven't tried it but since WebRTC a AVaudiosession for recording the audio, you can try to check the documentation there as a starting point

Hi, this issue has been closed due to inactivity. Please feel free to reopen it if you still experiencing issues.


Alternative to using subjects (or behaviors) for (infinite) streams?

Hi,
I am toying around using rxcpp and I am having some difficulties deciding on implementation. Another thing that confuses me is that in a lot of examples observables are finite, while I want to use them in a sort of 'infinite' way. I have multiple continuous sources of information (driver-objects for e.g. sensors) and they all have their own event loop. I want to use observables so I can combine their information and apply functions to them and pass them on.
So far I implemented subjects (and behaviors, but what is the difference exactly?) and 'manually' call the on_next() function from the subject's subscriber. However, reading this implies I should try avoiding this sort of scheme if I can. I have not figured out an alternative way so I am asking here :-) Or is subjects/behavior the appropriate way to go if you want to move information from such a driver to an observable? In other Rx implementations I see a from_event implementation? Is that something that might handle these drivers in a more rx-way?
Also; what I do now is to make the subject a member variables of the specific driver and subscribe to it (through get_observable()) from the parent scope; is that considered normal use?
I wrote up some minimal working example to demonstrate what I made; I was just wondering if this is sort of among the lines on how RX should be used.. :-)
#include<rxcpp/rx.hpp>
#include<thread>
#include<memory>
#include<chrono>
#include<string>
namespace rx=rxcpp;
namespace rxsub=rxcpp::subjects;
namespace rxu=rxcpp::util;
using namespace std::chrono_literals;

class driver {
public:
    driver(int t, std::string msg) : t_(std::chrono::seconds(t)), msg_(msg) {
        b_.reset(new rxcpp::subjects::behavior<std::string>(msg_));
    }
    void run()
    {
        for (;;) {
            b_->get_subscriber().on_next(msg_);
            std::this_thread::sleep_for(t_);
        }
    }
    std::shared_ptr<rxcpp::subjects::behavior<std::string>> b_;
    std::chrono::seconds t_;
    std::string msg_;
};

class complextask
{
public:
    complextask(int t) : t_(std::chrono::seconds(t)) {};
    std::string calculate(std::string msg) {
        std::this_thread::sleep_for(t_);
        return std::string("after a lot of thinking: ") + msg;
    }
    std::chrono::seconds t_;
};

int main()
{
    // generate information
    driver foo(1, "foo");
    driver bar(2, "bar");
    // calculation task
    complextask complex(5);

    // give drivers their own thread
    std::thread t_foo([&](){
        foo.run();
    });

    std::thread t_bar([&](){
        bar.run();
    });

    std::cout << "main thread\n";
    auto barobs = bar.b_->get_observable();
    auto fooobs = foo.b_->get_observable();
    auto merged = barobs.merge(fooobs);

    merged.subscribe([](std::string msg){
            std::cout << msg << ", " << std::endl;
        });

    merged
        .observe_on(rxcpp::observe_on_event_loop())
        .subscribe([&](std::string msg){
            std::cout << complex.calculate(msg) << std::endl;
        });

    t_foo.join();
    t_bar.join();
    return 0;
}

Hi!
There is more than one way to do this. The approach chosen depends on the source of the data.
from_event implementations use a subject to connect an existing callback to an observable. The subject/behavior approach is valid and can be hidden in a function without having to build a separate type per source.
Note: behavior and subject already have value semantics, so the shared_ptr are not needed.
Note: try to put side-effects like cout in subscribe or tap and do the computations in other methods.
Note: try to use existing operators including create rather than raw subjects.
Note: try to use existing operators rather than create
Another approach is to use create.

auto driver(int t, std::string msg) {
  return rxcpp::sources::create<std::string>([t, msg](auto out){
    std::thread th([t, msg, out](){
      for (;;) {
        if (!out.is_subscribed()) {return;}
        out.on_next(msg);
        if (!out.is_subscribed()) {return;}
        std::this_thread::sleep_for(std::chrono::seconds(t));
      }
    });
    th.detach();
    return out.get_subscription();
  });
}

class complextask
{
public:
    complextask(int t) : t_(std::chrono::seconds(t)) {};
    std::string calculate(std::string msg) {
        std::this_thread::sleep_for(t_);
        return std::string("after a lot of thinking: ") + msg;
    }
    std::chrono::seconds t_;
};

int main()
{
    // generate information
    auto foo(driver(1, "foo"));
    auto bar(driver(2, "bar"));
    // calculation task
    complextask complex(5);

    std::cout << "main thread\n";
    auto merged = bar.merge(foo);

    merged.subscribe([](std::string msg){
            std::cout << msg << ", " << std::endl;
        });

    merged
        .observe_on(rxcpp::observe_on_event_loop())
        .map([&](std::string msg){ return complex.calculate(msg);})
        .take(10)
        .blocking_subscribe([](std::string msg){
            std::cout << msg << std::endl;
        });

    return 0;
}

it is also possible to use the schedulers to produce the threads.

template<class Loop>
auto driver(Loop l, int t, std::string msg) {
  return rxcpp::sources::interval(std::chrono::seconds(t), l)
    .map([](long){return std::string("foo");})
}

class complextask
{
public:
    complextask(int t) : t_(std::chrono::seconds(t)) {};
    std::string calculate(std::string msg) {
        std::this_thread::sleep_for(t_);
        return std::string("after a lot of thinking: ") + msg;
    }
    std::chrono::seconds t_;
};

int main()
{
    auto loop = rxcpp::observe_on_event_loop();
    // generate information
    auto foo(loop, 1, "foo");
    auto bar(loop, 2, "bar");
    // calculation task
    complextask complex(5);

    std::cout << "main thread\n";
    auto merged = bar.merge(foo);

    merged.subscribe([](std::string msg){
            std::cout << msg << ", " << std::endl;
        });

    merged
        .observe_on(loop)
        .map([&](std::string msg){ return complex.calculate(msg);})
        .take(10)
        .blocking_subscribe([](std::string msg){
            std::cout << msg << std::endl;
        });

    return 0;
}

Oh! These look like some very helpful approaches for me to study. As you might be obvious from my code, I am new to rx in general so these examples help me a lot (and hopefully some other people too) to progress beyond the examples.
I will try them out tomorrow and learn a bit - and I will close this if I do not have questions/remarks. Thanks for your time (and nice library)!

Ok; so I tried some stuff and progressed a little bit. I also encountered something not going right as the CPU goes 100% using your two examples while the initial/my example does not. I can not really put my finger on it. Only thing I changed is replacing  .blocking_subscribe with .as_blocking() .subscribe(...) because otherwise it throws a compile error:
error: no member named 'blocking_subscribe' in 'rxcpp::observable<std::__1::basic_string<char>, rxcpp::operators::detail::take<std::__1::basic_string<char>, rxcpp::observable<std::__1::basic_string<char>, rxcpp::operators::detail::lift_operator<std::__1::basic_string<char>, rxcpp::operators::detail::lift_operator<std::__1::basic_string<char>, rxcpp::operators::detail::merge<rxcpp::observable<std::__1::basic_string<char>, rxcpp::dynamic_observable<std::__1::basic_string<char> > >, rxcpp::observable<rxcpp::observable<std::__1::basic_string<char>, rxcpp::dynamic_observable<std::__1::basic_string<char> > >, rxcpp::dynamic_observable<rxcpp::observable<std::__1::basic_string<char>, rxcpp::dynamic_observable<std::__1::basic_string<char> > > > >, rxcpp::identity_one_worker>, rxcpp::operators::detail::observe_on<std::__1::basic_string<char>, rxcpp::observe_on_one_worker> >, rxcpp::operators::detail::map<std::__1::basic_string<char>, (lambda at /Users/Thomas/workspace/src/ReactiveRobotics/example/src/main.cc:50:14)> > >, int> >`

I am not sure if that .as_blocking().subscribe(...) is the same as .blocking_subscribe(...) (and if it can cause the 100% CPU-issue).
As for my previous message; the following seems to work for me (and I can use it this way with the existing interfaces I have for some drivers). However, this implementation (similar to your first suggestion) races to 100%-cpu. None the less, the code:

template<class Obs>
class sensordriver {
public:
    sensordriver(Obs o, std::string msg, int t) : o_(o), msg_(msg), t_(t) {}
    void listen() {
        for (;;) {
            if (!o_.is_subscribed()) { return;}
            o_.on_next(msg_); // msg_ actually changes over time..
            if (!o_.is_subscribed()) { return;}
            std::this_thread::sleep_for(std::chrono::seconds(t_));  // simulating time in between receiving stuff
        }
    }
    Obs o_;
    std::string msg_;
    int t_;
};

template<typename T>
sensordriver<T> CreateDriver(const T & obs, std::string msg, int t)
{
    return sensordriver<T>(obs, msg, t);
}

auto driver(int t, std::string msg) {
  return rxcpp::sources::create<std::string>([t, msg](auto out){
    std::thread th([t, msg, out](){
        auto a = CreateDriver(out, msg, t);
        a.listen();
    });
    th.detach();
    return out.get_subscription();
  });
}

Do you have any idea on what could cause CPU-load? I toyed around with some prints but I have no idea!

yes, it should have been as_blocking().subscribe() not blocking_subscribe()
I think that the CPU load is due to #430. This needs to be fixed and I think I understand the fix.
the interval solutions are for situations when you want to sample a sensor at a fixed rate. keeping a thread for each sensor is pretty expensive, is there some other way to get signaled when the sensor is ready to read?

Some (simple) sensors / IO stuff that come over the same bus are handled in two threads. Some other (more complex) sensors, connected to a different (hardware) busses is different. The vendor-supplied API for these devices quite often uses a blocking call waiting for a new measurement (and sometimes access to a buffer). It depends on device.
I can and will test any solution you figure out (although probably not much better than you can do yourself).

One question that hasn't been answered here is difference between subjects and behaviors. As far as I can tell, the only thing the behavior adds is a convenience function to the latest value.

subject does not have a value because it does not store a value.
replay subject will store 0 or more values and new subscribers are sent the stored and then are connected to any new values. replay does not take an initial set of values at construction this is why the only way to access values is to subscribe.
behavior subject will store 1 value and new subscribers are sent the stored value and then are connected to any new values. behavior requires the initial value at construction and provides access to that value, but never guarantees that the value it returns is the latest value updates potentially race with value requests. subscriptions to behavior are always guaranteed to have the latest value.

@thorstink, I made a change that I believe will help with the cpu usage, please try it and let me know how it goes!

I tested it and verified with htop on ubuntu 16.04: '0% CPU' (compared to the 100% which it was before). Later today I will also verify on macos.
Thanks for all the effort you put into rxcpp! I am enjoying it a lot so far, really gives a new twist to cpp-programming.

Thank you for the report. Come back if you have more questions!


Add OVH to the Powered By Mesos list

Signed-off-by: Kevin Devroede<EMAIL_ADDRESS>

:+1:


WrapDegrees Does Not Work

Version

Phaser Version: 3.12.0-beta2
Operating system: MacOs High Sierra 10.13.4
Browser: All

Description
Phaser.Math.Angle.WrapDegrees returns the exact value passed in, but it should convert radians to degrees.
Example Test Code
Phaser.Math.Angle.WrapDegrees(Math.PI) // 3.1415926535897825
Phaser.Math.Angle.WrapDegrees(2) // 2
https://codepen.io/seibertsoftwaresolutions/pen/xJoLvN?editors=1111
Additional Information
The proper formula should probably be:
function WrapDegrees(angle) {
  return angle * 180 / Math.PI
}

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I think you are looking at the wrong function for conversion to degrees

Yes, use the Phaser.Math.RadToDeg function.
WrapDegrees simply clamps an angle in degrees between -180 and 180, there is no conversion.


[Stepper] Expanded prop missing from typescript

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Looks like a new prop was added to the stepper component for expanding steps, however, looks like it's missing from the typescript definition.
caused by;
https://github.com/mui-org/material-ui/pull/19200
missing from ts definition;
https://github.com/mui-org/material-ui/blob/49e1adf94bfe383ce819dce121f910a5c47bafbf/packages/material-ui/src/Step/Step.d.ts

Expected Behavior 🤔
Should be able to override the expanded prop in typescript.

Steps to Reproduce 🕹
https://codesandbox.io/s/frosty-darkness-tgcqu

Steps:

Create a stepper component
Add a step
Try to add prop expanded
Doesn't find it

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
v4.9.4

React
16.9.11

Browser
Firefox 72.0.2

TypeScript
3.7.2

@countableSet Thanks for the report, feel free to submit a pull request to fix it :)


Train 121

High Level Description
Train 121
#1158 Fix test runner (Azure integration tests not running)
#1153 Disable streaming for py.test
#1128 Use Marathon 1.4.0-RC5
#1105 Test DNS during upgrade
Related Issues
Checklist for all PR's

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: See individual PR's for test details.
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Corresponding downstream update: https://github.com/mesosphere/dcos-enterprise/pull/520


CLI version?

Is there a way to do this via the command line?

Unfortunately not for now...
But the wrapped "mt-downloader" module has one, maybe this is what you need?


Fix hostcheck

Based on https://github.com/SymbiFlow/prjxray/pull/1632 with the addition of https://github.com/SymbiFlow/prjxray/pull/1632#issuecomment-805061272

The hostcheck script keeps failing even after an increased amounts of retries, I am not sure how this can be fixed

@acomodi - Can you please add "mount" to the debug output? The partition exists but seems like it's not mounted...

@mithro @litghost For reference
Failing job:

zynq7

Successfull job:

artix7
kintex7

Artix7 build seems to be gone in an infinite loop

Seems ok?  Just running.

Seems ok? Just running.

Ok, it was strange as it got restarted at a certain point, probably the first job failed or something.

I /think/ systemd seems to think that the device has started correctly mounted...
  sys-devices-pci0000:00-0000:00:03.0-virtio0-host0-target0:0:2-0:0:2:0-block-sdb-sdb1.device loaded active plugged   PersistentDisk tmpfs

However, I'm not seeing a .mount for tmpfs?


Testing, please ignore. (bbupmv)

This is a bug bounty test. Please ignore.. Please DO NOT APPROVE THIS! (bbupmv)

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

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