LookupError: No results found for song [...] for all but one tracks of an album

System OS
MacOS
Python Version
3.9 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.0.5
Expected Behavior vs Actual Behavior
spotdl works well, but for a particular album I can download only one of its 16 songs.
All 15 other songs give an error like LookupError: No results found for song: Antony Partos - Legacy
I would expect to be able to download every song of this album. Instead, the result is as follows — note that the last song is actually getting downloaded:
% spotdl download 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz'
LookupError: No results found for song: Antony Partos - Mountain Dreaming
LookupError: No results found for song: Antony Partos - Trek
LookupError: No results found for song: Antony Partos - Leaving Kathmandu
LookupError: No results found for song: Antony Partos - Sherpas' Journey
LookupError: No results found for song: Antony Partos - Phurba's Theme
LookupError: No results found for song: Antony Partos - Khumbu Icefall
LookupError: No results found for song: Antony Partos - Unsettled Business
LookupError: No results found for song: Antony Partos - Tenzing's Injustice
LookupError: No results found for song: Antony Partos - Phurba's Thoughts
LookupError: No results found for song: Antony Partos - Good Morning Mount Everest
LookupError: No results found for song: Antony Partos - Night Trek
LookupError: No results found for song: Antony Partos - Phurba's Return
LookupError: No results found for song: Antony Partos - Widows
LookupError: No results found for song: Antony Partos - Legacy
LookupError: No results found for song: Antony Partos - The Uprising
Downloaded "Antony Partos - A New Day Beckons": https://www.youtube.com/watch?v=PLchGYdLUvo
Total                             16/16 complete     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
Steps to reproduce - Ensure to include actual links!

install newest version of spotdl (v4.0.5) on MacOS Ventura
% spotdl download 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz'
try variants such as downloading just the one song 'Antony Partos - Legacy'

Traceback
LookupError: No results found for song: Antony Partos - Mountain Dreaming
LookupError: No results found for song: Antony Partos - Trek
LookupError: No results found for song: Antony Partos - Leaving Kathmandu
LookupError: No results found for song: Antony Partos - Sherpas' Journey
LookupError: No results found for song: Antony Partos - Phurba's Theme
LookupError: No results found for song: Antony Partos - Khumbu Icefall
LookupError: No results found for song: Antony Partos - Unsettled Business
LookupError: No results found for song: Antony Partos - Tenzing's Injustice
LookupError: No results found for song: Antony Partos - Phurba's Thoughts
LookupError: No results found for song: Antony Partos - Good Morning Mount Everest
LookupError: No results found for song: Antony Partos - Night Trek
LookupError: No results found for song: Antony Partos - Phurba's Return
LookupError: No results found for song: Antony Partos - Widows
LookupError: No results found for song: Antony Partos - Legacy
LookupError: No results found for song: Antony Partos - The Uprising
Downloaded "Antony Partos - A New Day Beckons": https://www.youtube.com/watch?v=PLchGYdLUvo
Total                             16/16 complete     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

Other details
This is regardless if I download individual songs or the entire album (Album URL: 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz').
Same behaviour if I include the SI, e.g. spotdl download 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz?si=ff_UJPjaT_W....'

Looks like only the last song is available on youtube, nothing I can do.

Thanks for responding. Actually I wasn't aware that a track needs to be available on youtube in order to be eligible for download from spotify.

Maybe the error message could be a little more indicative of the root cause?
The message I received, "LookupError: No results found for song X", had set me off to check my network setup, Python installation etc

Thanks for responding. Actually I wasn't aware that a track needs to be available on youtube in order to be eligible for download from spotify.

Tracks aren't downlaod from spotify, they've always been downloaded from youtube.


TSDF fails in deutsch museum rosbag

I recently played Deutsch museum rosbag with TSDF submap enabled to see the performance of TSDF compare to probability grid. And I observed this drifting of map. It seems like some pose transformation are applied with wrong time stamp. Am I using inappropriate configuration?
# Added in backpack_2d.lua
TRAJECTORY_BUILDER_2D.submaps.grid_options_2d.grid_type = "TSDF"
TRAJECTORY_BUILDER_2D.submaps.grid_options_2d.resolution = 0.05
TRAJECTORY_BUILDER_2D.submaps.range_data_inserter.range_data_inserter_type = "TSDF_INSERTER_2D"
TRAJECTORY_BUILDER_2D.submaps.range_data_inserter.tsdf_range_data_inserter.truncation_distance = 0.05
TRAJECTORY_BUILDER_2D.submaps.range_data_inserter.tsdf_range_data_inserter.maximum_weight = 10.

The quality of TSDF results are sensitive to settings.
See https://github.com/googlecartographer/cartographer_ros/issues/1058 for an example of a working configuration of the Deutsches Museum dataset.

Thanks, @kdaun. I got much decent result compare to the video above.
Is there any reason that it isn't the default parameter of tsdf range data inserter?

Is there any reason that it isn't the default parameter of tsdf range data inserter?
This seems reasonable for the parameters not affecting the ProbabilityGrid. Furthermore, it would be useful to add the configuration as a TSDF demo setup to cartographer_ros.


.ipynb debug cell -- debugger fails to hit breakpoint

Type: Bug
I have VSCode opened in $root. I have $root/.venv/... (Python 3.12.3, freshly installed using pyenv (macos))
I create test.ipynb
First cell: a = 1, Second cell: b = 2. I execute the first cell. ok. I set a breakpoint on the first (and only) line of the second cell and debug-execute it.
There's no visual indication the breakpoint has been hit. And attempting to step-{in/out/over} lands me in alien code (see screenshot).
Now I try to create a fresh test case. Quit VSCode, create test/ folder, create test/.venv/ (from pyenv, identically as done per fail-case), open VSCode in test/, create x.ipynb, 2 cells a = 2 and b = 2, execute the first. ok. set breakpoint on second and debug-execute the second.
It hits!  It works!
So something in my $root project is mashing the debugger.
This is bizarre and frustrating. It means I'm going to have to copy my entire codebase into a fresh project just to get the debugger working in .ipynb files.
Extension version: 2024.7.0
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Darwin arm64 23.5.0
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
3, 3, 2

Memory (System)
24.00GB (2.33GB free)

Process Argv
--crash-reporter-id f10d97cd-2115-4dba-a34a-07be9312995a

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
refactort:31108082
ccplc:31103425
pythonrstrctxt:31103193
wkspc-onlycs-c:31106320
wkspc-ranged-c:31107834

Test case (works):

Fail case (my project):

If I click step {over/out/in} on the fail-case:

^ That's how I'm invoking debug on a cell

Here are the TRACE logs for Output -> Jupyter:
FAIL:
fail.txt
WIN:
win.txt

As a follow-up, this has hit me again.
To resolve it, I created a fresh folder, created a ./.venv, opened VSCode, copied my .ipynb and .py file into this new folder, and was able to successfully use the debugger in my .ipynb.

Setting breakpoints either in the .ipynb or the .py and debug-running the cell, they would hit.
Checking 'raised exceptions' in the "Breakpoints" pane, execution would indeed suspend at the exception, allowing me to use "Debug Console" pane to inspect.

Then I left VSCode running and went to sleep. And now first thing in the morning, it is again failing.
I haven't done anything fancy. All I've been doing is tweaking a numpy-heavy .py file and an .ipynb that uses it. I haven't done anything else on my mac, other than watch a YouTube video in a Chrome tab.
In fact my "fresh folder" was the folder I used for my working testcase (first screenshot).
And re-executing the test now fails. On exactly the same x.ipynb file!
I've looked through all available logs in Output pane, and see no anomaly.
This is a serious problem :/

As per https://stackoverflow.com/questions/56794940/vscode-why-isnt-debugger-stopping-at-breakpoints toggling "Jupyter: Debug Just My Code" in Settings to ON has gotten it working.

Why can't I see the setting I just changed in ~/Library/Application\ Support/Code/User/settings.json? Even after a VSCode restart it's not there. And I have no .vscode/ folder in my project. I thought every settings-change creates a new entry at the bottom of this JSON list.

Than you for filling this issues and sorry you are running into this
And Thank you for your detailed analysis and screenshot
I think the final conclusion would that the settings aren’t getting saved/applied correctly.
Is that correct?

Let me clarify my last post. There's two complete separate things in it.

Toggling "Jupyter: Debug Just My Code" to ON fixes the "debugger not working correctly" issue. Now this is a bizarre fix. So the issue should be considered as a bug IMO.

After toggling this setting, I decided to inspect my User/Settings.json so that I could copy down the exact key for this setting, and was surprised to find that the setting isn't getting written to that file. I doubt this is connected to the original issue. But I am curious as to why I can't find this setting. I just checked again today and it is still not there.

as to why I can't find this setting. I just checked again today and it is still not there.

Default values aren't written into settings.json
By default this value is turn on, hence you may have disabled this at some point in time.

I doubt this is connected to the original issue.

Given that you are not debugging any 3rd party code and just a simple cell and its not hitting your break point.
I agree, that the setting should not really make a difference, however for now I would suggest enabling the value as that is the default value.

Please someone remove the info-needed tag.

I have the same problem, the debugger does not stop. Moreover, after I stop it, the little arrow that allows me to select "Debug Cell" disappears.

I've also bumped into that disappearing debug-cell option.
As I remember, closing and restarting VSCode shakes it loose.
I haven't been able to isolate a clean consistent minimal fail, so I haven't reported that oddity yet.
There are still quite a few quirks with running .ipynbs in VSCode. I wish they had someone on the team that uses .ipynbs a lot -- they would surely bump into these frustration points.
Or even a Discord where if some engineer hits such a problem, a core-dev could remote-inspect their system over screenlink. I'd be more than happy to allow a core-dev to dig around in my box if it would lead to a seamless UX.

This is not the only issue I face. After stopping the debugger (because it does not stop) and relaunching it, I get the error "Couldn't find a debug adapter for debug type python". This started occurring after the last update of VSCode/Python extension. I tried downgrading everything, the problem persists.

@edervishaj Did you try deleting and re-creating your Python .venv? It might be possible that it is corrupted somehow.

@edervishaj Did you try deleting and re-creating your Python .venv? It might be possible that it is corrupted somehow.

I created a new environment altogether, did not help at all. The debugger stops but after the first step over it throws the above error.

After toggling this setting, I decided to inspect my User/Settings.json so that I could copy down the exact key for this setting, and was surprised to find that the setting isn't getting written to that file. I doubt this is connected to the original issue. But I am curious as to why I can't find this setting. I just checked again today and it is still not there.

@p-i- Please can you create a separate issue for this, then we can close this.
Also, when creating a new issue, please can you create the issue in the VS Code repo, as thats un-related to Jupyter extension (its a functionality provided by VS Code itself)

This is not the only issue I face. After stopping the debugger (because it does not stop) and relaunching it, I get the error "Couldn't find a debug adapter for debug type python". This started occurring after the last update of VSCode/Python extension. I tried downgrading everything, the problem persists.

@edervishaj Please can you create a new issue and please do share the following logs in that new issue
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to trace
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel (use the command Jupyter: Show Output to get to the logs).


Fix message list scroll unexpectedly when update

connects #65
Set recycler view to disable isAutoMeasureEnabled, workaround for scroll view move unexpectedly when update issue.
isAutoMeasureEnabled is used for supporting RecyclerView to measure is size when items changed. And this feature cause the RecycleView scroll unexpectedly when update, and it should be bugs of RecycleView.
In our case, the message list view is match_parent. It is safe for us to disable it

Picked via 3ff6970


attic crashed with "malloc failed"

I run attic on Synology ds214play. It has 1GB of RAM. Build came from https://attic-backup.org/downloads/releases/0.16/Attic-0.16-linux-i686.tar.gz archive. Missing library libacl.so.1 came from ubuntu/trusty32 Vagrant image. My unit has 2x1TB disks working in mirroring. My /volume1/homes/wkoszek has 876G of data. I have 1TB WD disk connected via USB (/volumeUSB2/usbshare). I started from an empty USB disk:
time attic create --stats backup-all.attic::20150926 /volume1/homes/wkoszek

Attic seems very slow. It took 140hr to get:
/dev/sdt1       932G  383G  549G  42% /volumeUSB2/usbshare

of data archived from my NAS to the USB disk, and I don't think attic succeeded.
After ~6 days Attic got an error:
/volumeUSB2/usbshare # time attic create --stats backup-all.attic::20150926 /volume1/homes/wkoszek
^[[Ahashindex: malloc failed
Traceback (most recent call last):
  File "/root/build/prefix/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
  File "prefix/bin/attic", line 3, in <module>
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 730, in main
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 720, in run
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 129, in do_create
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 178, in _process
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 178, in _process
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 178, in _process
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archiver.py", line 164, in _process
  File "/root/build/prefix/lib/python3.4/site-packages/attic/archive.py", line 416, in process_file
  File "/root/build/prefix/lib/python3.4/site-packages/attic/cache.py", line 230, in add_chunk
  File "attic/hashindex.pyx", line 162, in attic.hashindex.ChunkIndex.__setitem__ (attic/hashindex.c:3113)
Exception: hashindex_set failed
Command exited with non-zero status 1
real    140h 47m 28s
user    34h 51m 36s
sys     7h 8m 32s

I'd be interested in hearing whether people use Attic on archives of ~1TB size.

@wkoszek attic's codebase currently can't cope in a good way with configurations that have little cpu/memory AND a big data set to backup.
The problem is that attic keeps the chunks (and files) index in memory and these grow with the amount of chunks (and files). As attic uses small chunks (approx. 64KB in the statistical middle), there will be a lot of chunks if you have a lot of data.
Adding swap space might solve the memory issue, but will make it even slower, so isn't a good solution.
Adding memory (RAM) would really help.
In my repo, I implemented changes to make the chunker configurable, so it creates fewer chunks. Also you can use different compression, which might also help with the speed.


iOS Build Fails - 'Build failed with Error Code 2'

Hey @EddyVerbruggen
The build process fails with the error code 2 and not being able to access the entitlements file. I have referenced and created it exactly as in your demo and documentation and tried many other combinations. Are you aware of what could be wrong? Below are the logs.
[19-08-19 16:23:02.186] (CLI) Building project ... [19-08-19 16:23:06.589] (CLI) ❌  error: The file \"/tmp/builds/_/e3936882fcfc77469f48479e5283c23d31111677/6.0.3/6.0.1/WeSignIt/platforms/ios/WeSignIt/WeSignIt.entitlements\" could not be opened. Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target \"WeSignIt\" and build configuration \"Debug\" is correct and that the file exists on disk. (in target 'WeSignIt') [19-08-19 16:23:06.589] (CLI) ** ARCHIVE FAILED ** [19-08-19 16:23:06.589] (CLI) [xcode-build] error: The file \"/tmp/builds/_/e3936882fcfc77469f48479e5283c23d31111677/6.0.3/6.0.1/WeSignIt/platforms/ios/WeSignIt/WeSignIt.entitlements\" could not be opened. Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target \"WeSignIt\" and build configuration \"Debug\" is correct and that the file exists on disk. (in target 'WeSignIt') [19-08-19 16:23:07.920] (CLI) ** ARCHIVE FAILED ** [19-08-19 16:23:13.834] Build step completed. [19-08-19 16:23:13.859] Error detected during LiveSync on e7abe2b6b8f59f1e8974e3088b82ede981d5d99c for /Users/nickdelahunt/Documents/OneDrive/wigital/Programmes/WeSignIt/Product/Mobile App/Project files/Prod/WeSignIt. Error: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:42.954] [WARN]  ** ARCHIVE FAILED ** [00:00:43.012] [ERROR] [xcode-build] error: The file "/tmp/builds/_/e3936882fcfc77469f48479e5283c23d31111677/6.0.3/6.0.1/WeSignIt/platforms/ios/WeSignIt/WeSignIt.entitlements" could not be opened. Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target "WeSignIt" and build configuration "Debug" is correct and that the file exists on disk. (in target 'WeSignIt') [00:00:43.732] [ERROR] ** ARCHIVE FAILED ** 'Build failed with error code 2'. [19-08-19 16:23:13.899] Build failed. Cannot read property 'pid' of undefined [19-08-19 16:23:13.903] (CLI) Unable to apply changes on device: e7abe2b6b8f59f1e8974e3088b82ede981d5d99c. Error is: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:42.954] [WARN]  ** ARCHIVE FAILED ** [19-08-19 16:23:13.903] (CLI) [00:00:43.012] [ERROR] [xcode-build] error: The file "/tmp/builds/_/e3936882fcfc77469f48479e5283c23d31111677/6.0.3/6.0.1/WeSignIt/platforms/ios/WeSignIt/WeSignIt.entitlements" could not be opened. Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target "WeSignIt" and build configuration "Debug" is correct and that the file exists on disk. (in target 'WeSignIt') [19-08-19 16:23:13.903] (CLI) [00:00:43.732] [ERROR] ** ARCHIVE FAILED ** [19-08-19 16:23:13.903] (CLI) 'Build failed with error code 2'..

@EddyVerbruggen
I've researched this and seen many potential problems, from incorrect file paths to unix vs windows machines using / and \ in paths. I've checked it all. Happy to share the project with you :)

@EddyVerbruggen You can close this - I've sorted it. Perhaps a note for your readme file: the entitlements file cannot be named anything other than app.entitlements. Naming it what your app folder name in platforms/.. is doesn't work.
So now the issue I have is iOS app is not receiving/handling notifications. They don't display. iOS is not able to access notification data, crashes the app moaning about not being able to parse undefined. Not sure what to do about it but will investigate to see if I can save you some time :)
And then, if when you have time and work on this again, could you add to the documentation on how to see if a the application was opened by notification trap or organic user opening the app? For both platforms :)
Cheers
Nick

@EddyVerbruggen Got it to receive the notification, with notification object in the console, but it doesn't display the notification. Below is the notification object.
{   "message": "Hello World!",   "ios": {},   "data": {},   "aps": {     "alert": "Hello World ✌",     "badge": 1,     "sound": "ping.aiff"   } }

@EddyVerbruggen I see it displays the notification only when app is in background, which I can live with :) Is the best approach then to add to my handler to use a local notification if the app is in foreground? Would be happy to do this on both platforms if that can be done :)


JS Capstone Project PR

Hi, Please find the PR for review below,
Live Demo :  The kanban Project
Presentation: Video
Highlights:

Used API for Sending and receiving data.

Used Base API fetching meal data (Meals DB: data about meals.)

Used Involvement API to record the different user interactions (e.g. likes, reservations).**

Used ES6 syntax.

Used ES6 modules.

Used callbacks and promises.

Used web pack.

Applied JavaScript best practices and language style guides in code.

Added unit tests.

Followed Gitflow.

Hi,  we are facing a webhit error while making the pull request here, however, only a warning and hints but no error locally. And our app is also working fine.
We tried to resolve this issue for the last 24 hours but with no luck and it would be great if we can have some insight on that, please.
Please find the screenshot below.
Thank you.

Hi, @mwanawabangona
Hi, we are facing a webhit error while making the pull request here, however, only a warning and hints but no error locally. And our app is also working fine.
Video Demo
We tried to resolve this issue for the last 24 hours but with no luck and it would be great if we can have some insight on that, please.
Please find details in the below link that was mentioned in the previous review request,
https://github.com/porag-m06/Kanban-Restaurant/pull/36#issuecomment-1585708682
Thanks


Add test to closesthit shader

Add test to closesthit.slang to test the slang
stdlib API: HitTriangleVertexPosition.
The new test will add the checking for extension declaration, built-in declaration, and built-in variable access.

Add test case to anyhit shader as well.


Upgrade to Fable 2

@Krzysztof-Cieslak Would you be ok, if I upgrade the repo to Fable 2.1 ?
In theory it will:

Decrease the bundle size
Improve the performance
Be up to date again with latest Fable version
Easier to start as dotnet fable is now replace with webpack

I’d love to see that

Ok, I will give it a try. :)

Small update.
I got the project to compile and Ionide works.
Strange behavior/bugs:

[ ] Intellisense, errors checking start when you open a *.fs files. I think it should start if there are some visible editors opened.
[ ] Code generation is broken:

[ ] Record stub generation
[ ] Interface stub generation
[ ] Union case generation

I will use this issue to track the different bugs/strange behaviour I see. If am stuck, I will open a PR so others can take a look at it too.

I am waiting for Fable 2.2 to be released.
So I can do all at once and not redo the same work again :)


Prepare image buffer during previous image is shown

An image buffer is created just before its image is shown and it invites the delay.
https://github.com/yammmt/slide-show-rs/blob/a3dd7549f2ec5de0a0088db017bde9ede8809425/src/main.rs#L244-L253
It's better to create another buffer during the previous image is shown and just switch buffer when the shown image is changed.

For example, when I use Raspberry Pi 3B with FHD (1920x1080) screen size, the delay is about 0.3s. 🤔

This is a little away from this issue, as one of the speed-up ways, I tried to apply the Rayon crate to computing buffer process below.
https://github.com/yammmt/slide-show-rs/blob/f63091ed511f43420481876d96783cb48575b174/src/main.rs#L160-L168
Its results are:

-
MBP (8 CPUs)
Pi 3B (4 CPUs)

computing without rayon [ms]
29.30
209.60

computing with rayon [ms]
24.97
198.74

comment-out all buffer process [ms]
21.97
not tried

From the above results, what takes a long time is seemed to be an image open process.


build: add spec to build RPM

Fixes https://github.com/fedora-iot/fido-device-onboard-rs/issues/135
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

Should really be ready now? @puiterwijk @nullr0ute @jnogol ptal - I want to get this built asap (at least in RHEL) and we can update whatever we want as follow up :)

Looking

The TL;DR; for Fedora is that we cannot use automatic Requires/BuildRequires as this project uses a workspace and macros aren't supporting that - again, I think this is a great start for packaging and unblocks us from building in RHEL and by using make rpm you can also jump on a RHEL machine and build local packages anyway

Can we not just smash all of of this into a single commit?

Can we not just smash all of of this into a single commit?

not sure what you mean :thinking: I've split changes into commit as you requested above - something might have slipped but can you clarify?

Can we not just smash all of of this into a single commit?

not sure what you mean thinking I've split changes into commit as you requested above - something might have slipped but can you clarify?

Ignore me, I need coffee...

Ignore me, I need coffee...

we ALL need coffee :coffee:

@nullr0ute all comments addressed

Example systemd bits with a rust service here:
https://src.fedoraproject.org/rpms/parsec/blob/rawhide/f/parsec.spec


Dropdownbutton does not pop up on tap

I have a dropdown widget I understand that we have to call setState to change the value of the dropdown widget but the thing is dropdown isnt popping up in the first place in the UI until someother widget does the setState in the same Widget.
I have a counter widget just like the flutter counter app and in the same widget I also have a dropdown widget ,The dropdown widget doesnt pop up, on tap but when I hit the counter widget( which calls the setstate to change the counter value ),After that the dropdown widget is available to access.seems like the dropdown is disabled until the first setstate in the widget
I have other dropdowns in the app it seems to work well but I am scratching my head since few hours to find out whats the issue
here is my dropdown widget
 String currentSelectedValue = null;
Widget dropDownWidget(List<String> reasons) {
    return Container(
      padding: HALIGN_16_VALIGN_15,
      width: size.width / 1.2,
      decoration: BoxDecoration(
          border: Border.all(
        width: 0.5,
        color: enabledcolor,
      )),
      child: DropdownButtonHideUnderline(
          child: DropdownButton<String>(
        hint: Text(
          'Select Reason to Report',
          style: TextStyle(fontSize: 12),
        ),
        value: currentSelectedValue,
        isDense: true,
        isExpanded: true,
        onChanged: (newValue) {
          print(newValue);
          setState(() {
            currentSelectedValue = newValue;
            widget.onReasonSelected(currentSelectedValue);
          });
        },
        icon: Icon(Icons.keyboard_arrow_down),
        items: reasons.map((String value) {
          return DropdownMenuItem<String>(
            value: value,
            child: Text(
              value,
              style: TextStyle(fontSize: 14),
            ),
          );
        }).toList(),
      )),
    );
  }

quantity widget  // ontap calls setState which allows interaction with the dropdown
 Widget _quantityWidget() {
    return Container(
      // margin: const EdgeInsets.symmetric(horizontal: 22, vertical: 5),
      child: Row(
        children: <Widget>[
          const Text(
            'QTY ',
            style: BOLD_STYLE,
          ),
          GestureDetector(
            onTap: () {
              print('count=$reportProductCount');
              if (reportProductCount > 0) {
                int qty = reportProductCount--;
                setState(() {});
                widget.onCountChange(qty);
              }
            },
            child: Container(
                height: 24,
                width: 40,
                decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(2.0),
                    shape: BoxShape.rectangle,
                    border: Border.all(color: marginColor)),
                child: Center(
                    child: Icon(
                  Icons.remove,
                  size: 16,
                ))),
          ),
          Container(
            margin: HORIZONTAL_ALIGN_10,
            child: Text('$reportProductCount',
                style:
                    const TextStyle(fontSize: 20, fontWeight: FontWeight.bold)),
          ),
          GestureDetector(
            onTap: () {
              print('count=$reportProductCount');
              if (reportProductCount < int.parse(widget.quantity)) {
                int qty = ++reportProductCount;
                setState(() {});
                widget.onCountChange(qty);
              } else {
                utility.showError(
                    'you cannot report more than available quantity');
              }
            },
            child: Container(
                height: 24,
                width: 40,
                decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(2.0),
                    shape: BoxShape.rectangle,
                    border: Border.all(color: marginColor)),
                child: Center(
                    child: Icon(
                  Icons.add,
                  size: 16,
                ))),
          ),
        ],
      ),
    );
  }

heres my flutter doctor output
[✓] Flutter (Channel master, v1.18.0-5.0.pre.57, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.18.0-5.0.pre.57 at /Users/mac006/Documents/flutter
    • Framework revision a5765331bc (7 days ago), 2020-04-09 16:15:01 -0700
    • Engine revision 5b4b1f33c6
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 dcdc71d763)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/mac006/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.44.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 239ACB82-12EF-47BB-9285-B3597C525ACA • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

• No issues found!

if you see in the above gif the dropdown gets enabled as soon as setstate is called by the counter widget .
the image before the counter widget calls to setstate

please let me know if you need some more info to figure out the issue.

@maheshmnj
It's not an issue,
You are expected to change a value in the setState
onChanged: (String value) {
            setState(() {
              _value = value;
            });
          }

@maheshmnj
It's not an issue,
You are expected to change a value in the setState
onChanged: (String value) {
            setState(() {
              _value = value;
            });
          }

@VladyslavBondarenko thank you very much for the prompt reply,I was actually editing the post and accidently submitted, that caused a little confusion,I have updated the issue with little detail can you please check it and reopen the issue

@maheshmnj
could you provide a minimal complete code sample to reproduce your case?

@maheshmnj
could you provide a minimal complete code sample to reproduce your case?

sure I will do that

@VladyslavBondarenko  I was able to reproduce the issue with a minimal code can you please check this out https://github.com/maheshmnj/flutter-dropdown-issue-54951

@VladyslavBondarenko  I found the issue,I am actually loading the list data from the network and while the data is being loaded the dropdown has an empty list and The dropdown remains in empty state and probably when it has empty list it remains disabled and once the list is available with the data from network to render it inside the dropdown we have to call setState (This was missing in my code) so you can mark it has resolved and close the issue.

@VladyslavBondarenko I found the issue,I am actually loading the list data from the network and while the data is being loaded the dropdown has an empty list and The dropdown remains in empty state and probably when it has empty list it remains disabled and once the list is available with the data from network to render it inside the dropdown we have to call setState (This was missing in my code,now I am calling setState in my fetchdata method as soon as the list gets the data) so you can mark it has resolved and close the issue.


nvcc fatal: redefinition of argument 'std'

Hi,
I was building graphvite from source but met the following errors during make:
[ 50%] Building CUDA object src/CMakeFiles/graphvite.dir/graphvite.cu.o
cd /scratch/tj810/gvl_project/graphvite/build/src && /share/apps/cuda/10.1.105/bin/nvcc  -Dgraphvite_EXPORTS -I/scratch/tj810/gvl_project/env/include -I/scratch/tj810/gvl_project/env/lib/python3.7/site-packages -I/scratch/tj810/gvl_project/env/include/python3.7m -I/scratch/tj810/gvl_project/graphvite/include -std=c++11 -gencode arch=compute_70,code=sm_70 -O3 -Xcompiler=-fPIC -Xcompiler=-fvisibility=hidden -Xcompiler=-fno-fat-lto-objects -std=c++03 -x cu -c /scratch/tj810/gvl_project/graphvite/src/graphvite.cu -o CMakeFiles/graphvite.dir/graphvite.cu.o
nvcc fatal   : redefinition of argument 'std'
make[2]: *** [src/CMakeFiles/graphvite.dir/graphvite.cu.o] Error 1
make[2]: Leaving directory `/scratch/tj810/gvl_project/graphvite/build'
make[1]: *** [src/CMakeFiles/graphvite.dir/all] Error 2
make[1]: Leaving directory `/scratch/tj810/gvl_project/graphvite/build'
make: *** [all] Error 2

Thanks in advance!
Edit: I was able to get rid of this error by commenting out CMAKE_CUDA_FLAGS line setting -std=c++11. However, I got a new error at the end of make :
[100%] Linking CUDA shared library ../lib/libgraphvite.so
/usr/bin/ld: cannot find -lfaiss
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libgraphvite.so] Error 1
make[1]: *** [src/CMakeFiles/graphvite.dir/all] Error 2
make: *** [all] Error 2

I was building without faiss using the -DNO_FAISS option for cmake.

Sorry for the very late reply.
This is a bug in CMakeLists.txt. You can remove faiss.so from target link libraries in src/CMakeLists.txt. It should work.

Sorry for the very late reply.
This is a bug in CMakeLists.txt. You can remove faiss.so from target link libraries in src/CMakeLists.txt. It should work.

Fixed in https://github.com/DeepGraphLearning/graphvite/commit/e067c59146f676e3eee3eee6106dce7ccc7cf9e4

Fixed in https://github.com/DeepGraphLearning/graphvite/commit/e067c59146f676e3eee3eee6106dce7ccc7cf9e4

Thank you! I ended up successfully installing through conda on a better computing system but happy to see the bug's fixed.

Thank you! I ended up successfully installing through conda on a better computing system but happy to see the bug's fixed.


Removing Signs reattach themself only after opening the chest

Title. The sign just vanishes but doesn't come back until I open the chest

It is in purpose because this gives a chance that owners can write sign messages by themselves. Later I'll.consider adding a setting for this.


shade area of curve with lighter gradient of the line colour, if enabled.

There should be an option to shade in the area of a curve if it is enabled in the options.

Working on feature: https://github.com/feds01/graph-js/tree/features/shade-area


netutil.URLsEqual may return wrong result

I go through the code, and think this is a bug.
In function(https://github.com/coreos/etcd/blob/master/pkg/netutil/netutil.go#L63), it compares the element of two URL slices(we sorted them before passing into function) one by one, but it may resolve TCP address when comparing them.
For example, http://a.com == http://<IP_ADDRESS> and http://b.com == http://<IP_ADDRESS>, so I pass in []{http://a.com, http://b.com} and []{http://<IP_ADDRESS>, http://<IP_ADDRESS>}, and they are not equal then.
possible solution is mentioned here: https://github.com/coreos/etcd/pull/2150#issuecomment-71507580
take care of hostname for TLS: https://github.com/coreos/etcd/pull/2150#issuecomment-71525602
@sorah : do i read your code correctly?

@yichengq I do not think we are resolving hostname anymore. So this actually does not matter anymore. We can simply remove the code in netutil probably.

@yichengq I made a mistake before. We do not resolve tcp addr for apurls anymore. However, when doing srv discovery, we do allow user to pass in TCP address or domain name(We have documentation for this usage). So we have to compare the resolved TCP addresses.


chore(package): update @types/node to version 8.5.1

Closes #119

Coverage remained the same at 91.304% when pulling 66edc3cf7032969123f6b9fa0eb2e3184667a1b0 on<EMAIL_ADDRESS>into 4589f665744e9b38937ef131f1c6d6589b512b39 on master.

Coverage remained the same at 91.304% when pulling 66edc3cf7032969123f6b9fa0eb2e3184667a1b0 on<EMAIL_ADDRESS>into 4589f665744e9b38937ef131f1c6d6589b512b39 on master.


Debugger does not show "View Value in Data Viewer" for dataframe member of a dataclass

VS Code version
1.62.2
Extension version
v2021.11.1422169775
OS type
macOS
OS version
Monterey 12.0.1
Python distribution
python.org
Python version
3.8.12
Language server
Default
Expected behaviour
In the debugger, while stopping at a breakpoint, when I right-click a pandas dataframe from the "Variables" view I expect the option "View Value in Data Viewer" to be available in the context menu.
Actual behaviour
While the behaviour is as expected for local variables, the option "View Value in Data Viewer" is not available for dataframes which are themselves members of a dataclass.
Steps to reproduce
Put a dataframe into a dataclass, stop the debugger at some breakpoint, right-click a local variable which is a dataframe.

So far, so good. Now right-click the same dataframe as a member of a dataclass.

Now the option is missing. Neither, by the way, does it work for dataframes in watches, whether top-level or nested.
Logs
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@peterlietz I actually just fixed this issue last week, so I'm closing this report as a duplicate of this one:
https://github.com/microsoft/vscode-jupyter/issues/7295
The fix is live now in our insiders build and will release with our next stable release.


add autokit worker

Change-type: minor
Signed-off-by: Ryan Cooke<EMAIL_ADDRESS>

@balena-ci rebase

Hey @rcooke-warwick I have already included autokit in the WorkerKit PR that is coming up soon that will pretty much take care of leviathan-worker for v3. I would recommend holding off this change till then.

@balena-ci retest


Youtube Clone

I want to add a Youtube Clone Project using HTML and CSS
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

@TusharKesarwani Kindly Assign it to me.

@Arun9739 @harshit-paneri Kindly assign me this issue under SSOC 2.O


Store schemas in storage

On previous iterations I've run into some problems using 100% pure reflection system. And now it's obvious for me that for first-class JSON Table Schema features support we need to store schemas in the storage (in the meta table _schemas for example).  It's not against current design and could be implemented relatively fast.
For tables not having  _schemas current reflection system is still be working with subset of features supported. So user still will be able to describe and read just a SQL table (the same as now).
Really related - https://github.com/frictionlessdata/datapackage-py/issues/69

requires https://github.com/frictionlessdata/jsontableschema-py/issues/59

MOVED https://github.com/frictionlessdata/jsontableschema-py/issues/70


feat(builder): should be able to set a custom textures path

Proposal
Hi,
I never use tbloader or TrenchBroom before this morning and I barely coded in c++ in the last 12 years.
But this seems like exactly what I needed for my projects. The only con (after 1h of use) was the static res::textures/ folder path. So I made a quick edit to setup a custom textures path.
This should also close the following issue https://github.com/codecat/godot-tbloader/issues/41.
Trenchboom config

Workflow
https://user-images.githubusercontent.com/1162446/203404239-9f63fc37-29fe-46cc-a423-5fae73c2d503.mp4

Thanks for the PR! I think you should be using m_loader->m_texture_path instead of passing the path to all the relevant functions in the Builder class. (texture_path, material_path, material_from_name)
Otherwise this looks good!

Thanks! I was too shy to edit the static function 😅
Should be good now

I didn't realize they were static actually 😅 changing them to not be static is the right call though. 👍


<EMAIL_ADDRESS>static asset missing from pip distribution

The logo is broken in the install from pip currently. Version 0.37.0
Expected results
The log displays
Actual results
You get a broken image.
Screenshots

How to reproduce the bug
Install superset and load it
Environment
I downloaded the image from a site online and placed it in the static assets directory... and then I had a logo.

Dead project?

could you check if this is still happening on a newer version?


aws-sdk-cpp: use cmake instead of cmake-qemu

This is possible by this commit:
https://github.com/aws/aws-sdk-cpp/commit/c359cb6f2b659ce4c3f212d991e1f1b05dd92302
Will allow backports to kirkstone again.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/run


400: 'NoneType' object has no attribute 'encode'

When I tried to create a new knowledge base, I encountered an error 400: 'NoneType' object has no attribute 'encode'. What could be the reason for this?

This is also happening when uploading PDFs to a model via the Web UI

this same situtaion is occur to me.

It seems that in my case, the error was caused by the Embedding Model in the Admin Panel. I had to retype the default embedding model and then press the button on the right. After that, the error disappeared.


Monitor ORG wise in Prometheus & dashboard view in Grafana

Hi Team
We need to monitor the ORG wise monitoring in Prometheus and all information about the ORG(For ex-Org, space and Apps related information) should be listed in Grafana.
Regards
Murugan D

Closed due to inactivity; Please feel free to re-open if issue still persists


Adding SyncVar methods

this will allow SyncVars to still work if user overrides OnSerialize as long as they call base.OnSerialize

a bit of a risky change.
we'll need to test this one heavily, otherwise we break people's project.
e.g. what if abstract class, what if inheriting from abstract class and overwriting base, what if [syncvar] and both onserialize are provided - we would need a test at least

I will try write a test for this

I get the motivation and I am fine with it.
but be aware this is a breaking change.   If anyone out there is overriding OnSerialize/OnDeserialize manually and calling base,  this will break their game.

I get the motivation and I am fine with it.
but be aware this is a breaking change. If anyone out there is overriding OnSerialize/OnDeserialize manually and calling base, this will break their game.

If someone overrides OnSerialize with or without calling base.OnSerialize syncvars just dont work with no warnings or errors
the the current base.OnSerialize only serialized syncobjects (synclist/etc), and if a users want to sync syncobjects and override OnSerialize they have to call the base.

Added tests

@paulpach @James-Frowen about your last 2 posts: so who is right?

In master:
if no override, will serialize SyncVar and SyncObjects
if override with base call,  will serialize only SyncObjects
if override with no base call,  will serialize nothing
In this PR:
if no override, will serialize SyncVar and SyncObjects
if override with base call,  will serialize SyncVar and SyncObjects
if override with no base call,  will serialize nothing
In master If a user wants to serialize SyncVar  and override the method they have to manually serialize SyncVar in their OnSerialize function

In master:
if no override, will serialize SyncVar and SyncObjects
if override with base call, will serialize only SyncObjects
if override with no base call, will serialize nothing
In this PR:
if no override, will serialize SyncVar and SyncObjects
if override with base call, will serialize SyncVar and SyncObjects
if override with no base call, will serialize nothing
In master If a user wants to serialize SyncVar and override the method they have to manually serialize SyncVar in their OnSerialize function

thanks for explanation

nice work @James-Frowen


DnsNameResolver should not bind locally. Fixes #5457

Motivation:
Dns resolution failures happen when using the DnsNameResolver and the JVM is not authorized to bind datagram channels. The current DnsNameResolver binds locally a DatagramChannel which is not necessary (and not always permitted).
Modifications:
The DnsNameResolver Bootstrap does not bind anymore, instead it registers and use the channel directly. The localAddress has also been removed from the DnsAddressResolverGroup, DnsNameResolver and DnsNameResolverBuilder as it is not necessary anymore and the API is marked as @UnstableApi.
Result:
Dns resolution does not require anymore to bind locally.

yeah :-)

@vietj LGTM... will pull in once ci job finished

@vietj I squashed it and cherry-picked.
4.1 (804e058e27e16e346b565ce4490f6177574e267d)


Get the bundle id from resource file

Goal
Stop using buildId to identify sourcemap. In order to do that, I had to get the bundle id from the resource file

I would change line 95 in EmbraceMetadataService as well to reference the newly passed in bundleId. I don't know what that is doing, but whatever it's doing, it should reference the right ID. If that's not doing anything, maybe we should just remove it

As we talked I dont think that line is correct, since its setting bundle id as build id in no React Native apps (probably this file won't be executed if its a No RN app).
I will delete it


add d/nnix

Migrating from gemini, and I finished building my projects portfolio today, going to dump more into there over time. Adding to webring.

Sorry about the update, I doubled up on the .com in the link there.

No problem :) I got through the PR in the first week of each month, so hold on tight I'll get to it ^^

Hey David,
Your website is nice, but it's also quite cold right now, there's very little other than a plain list of projects, and the about page links offsite right now. I think I'll wait a bit before merging this until the website grows a bit : )


Add Vivado build to CI

Equivalent to check_design.syn, (check_design.viv?)
Should test for synthesizability if possible, to avoid the long synthesis times.

Also need post_synth vivado simulations

Partially solved in #691, post-synth sims in progress

Partially solved in #691, post-synth sims in progress


build fail on download dependencies

MongoDb/AppDelegate.swift:9:8: error: no such module 'UIKit'
import UIKit
^
:0: error: build had 1 command failures
error: exit(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/name/Desktop/MongoDb/.build/release.yaml
Why??

This isn't a MongoKitten issue. MongoKitten uses SPM and fetches it's dependencies through that.
If you want to use MongoKitten in a macOS GUI application you'll need to create a project using MongoKitten, generate an xcodeproject using SPM (swift package generate-xcodeproj) and add that to your app's .xcworkspace

so the manual import?

MongoKitten needs to be downloaded using SPM to download the MongoKitten dependencies. If you've got an SPM (Swift Package Manager) project you can generate an Xcode project using the above command. This project can then be added to your app's xcworkspace


initSerializationContext

In the README.md, the property initSerializationContext, which does not exists is used instead of initNormalizationContext.

Thanks @theofidry


Edited summary

Added the description for this enumeration.

Docs Build status updates of commit b7d4160:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint-server/xml/Microsoft.SharePoint/SPEventReceiverStatus.xml
:white_check_mark:Succeeded

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


Fix attribute input validation for numeric attributes

Update schema for AttributeValueInput - require non null values.
Fix updating variants with not-required numeric attributes.

Fixes #7389

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-3452 Numeric attribute validation


Search and add Geonetwork instances

Find and add Geonetwork servers

Most Geonetwork instances found and added to data/_unprocessed/geonetwork.txt


Add attribute to specify symbol name, as an alternative to no_mangle

I suggested this in rust-lang/rust#42202, to address an issue mentioned there (namely, symbol names that are not valid identifiers in Rust), but there are other uses for such a feature. Certainly it would be helpful if symbols need to be exposed to another language with some sort of mangling but also called from Rust with less ugly names. I also seem to vaguely recall wanting such a feature for some other reason, but I can't recall exactly why.
There are several possible syntaxes:

#[symbol="some_symbol_name"]
#[no_mangle="some_symbol_name"]
Something else

I can't think of any major disadvantages, other than the ones that are already present by allowing no_mangle. And of course the general disadvantage of adding a relatively obscure feature.

Oh wait, I think export_name does this.

Pretty sure it's link_name?

link_name - the name of the symbol that this function or static should be imported as.
export_name - on statics and functions, this determines the name of the exported symbol.
https://doc.rust-lang.org/stable/reference/attributes.html
It looks to me like these do similar things, the fist when importing a function, the second when exporting a function. Is that wrong? The documentation is somewhat sparse here (these are, after all, fairly obscure and rarely needed features).


single select dropdowns should not have checkboxes

per https://github.com/PRX/metrics.prx.org/issues/80

tech debt: remove this component and any examples, not used anywhere


Adding option changed event on clear.

Would it be easier for you to get a new type event?  d2l-filter-dropdown-cleared?


Use keras .fit() method to train adversarial models

TF2.0.0-RC0 keras question:
Because GANs and adversarial models require training two models with different optimizers simultaneously, I don't think this can be achieved currently without a custom training loop, applying only the model.fit() methods. Is this feature already available because I haven't found it in the documentations? To clarify, the feature I would need is to create the generative and the discriminator models, compile the generative model with optimizer_A, compile the discriminator model with optimizer_B, now train them simultaneously but alternately, eg. one batch with discriminator then one batch with generative (using the output of the discriminator model of course for the loss), and do this without having to write a custom training loop. This is the way to go with GANs, but the examples I see all use custom train steps. The problem with custom train steps have limited access to many of the keras features such as saving models, monitoring, etc.

Do you have any use case that requires the feature you are interested in? Please feel free to submit a PR if you have use cases that supports that feature.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

@kristofgiber As mentioned by @ravikyram please provide any use case for this kind of feature? Thanks!

Hi! Sorry for the delay. My use case was training GANs, any GANs, but I guess if this wasn't clear from my original post then maybe I don't have a strong case and I may be overlooking something trivial. Unfortunately I can't recall the details as Ive moved on. Thank you for your feedback

@kristofgiber Thanks for the issue!
We've been working on enabling this very use case. In the latest tf-nightly, you can do things like this:
class MyModel(tf.keras.Model):
  def train_step(self, data):
    x, y = data
    with tf.GradientTape() as tape:
      ...
    self.optimizer1.apply_gradients(...)
    self.optimizer2.apply_gradients(...)

  def compile(self, optimizer1, optimizer2, ...):
    self.optimizer1 = optimizer1
    self.optimizer2 = optimizer2
    ...
    self._is_compiled = True

This allow users to provide custom training logic in only a few lines of code, while still supporting all data formats, distribution strategies, Callbacks, etc that Model.fit supports
We'll have detailed guides on how to use these new features soon!


Requesting a onerror option to UrlTemplateImageryProvider

Feature
When using the UrlTemplateImageryProvider with offline maps for an area, it often throws a 404 error because the offline map is missing certain tiles. This behavior is actually expected, but the large number of 404 errors is affecting normal development. Could an option be added to catch this error and invoke a error handler callback? I would like to ignore these 404 errors in this way.
For example:
const noop = () => {}

const imageryProvider = new Cesium.UrlTemplateImageryProvider({
  url: mapUrl + '{z}/{x}/{y}.png',
  onerror: noop
  // onerror: (error) => { throw new Error('oops.') }
  // onerror: undefined // Default behavior.
})

Hi @s3xysteak, it's possible to add a listener to a the errorEvent property.
However, I don't believe to's possible to prevent the 404 errors themselves once the request has been made, as they are handled by the browser.


RangeError: Invalid string length

We are getting this error RangeError: Invalid string length. This happens almost every time an error is reported and attempted to be sent to sentry. Here is the stack trace:
RangeError: Invalid string length
  ?, in join
  ?, in Object.stringify
  File "/app/node_modules/json-stringify-safe/stringify.js", line 5, col 15, in stringify
    return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)
  File "/app/node_modules/raven/lib/client.js", line 289, col 19, in Raven.send
    var skwargs = stringify(kwargs);
  File "/app/node_modules/raven/lib/client.js", line 276, col 12, in Raven.process
    this.send(kwargs, cb);
  File "/app/node_modules/raven/lib/client.js", line 336, col 12, in null.<anonymous> self.process(eventId, kw, cb);
  File "/app/node_modules/raven/lib/parsers.js", line 52, col 5, in null.<anonymous>
   cb(kwargs);
  File "/app/node_modules/raven/lib/utils.js", line 214, col 5, in null.<anonymous>
    cb(frames);
  File "/app/node_modules/raven/lib/utils.js", line 153, col 35, in null.<anonymous>
    if (--numFilesToRead === 0) cb(sourceFiles);
  File "fs.js", line 446, col 3, in FSReqWrap.readFileAfterClose [as oncomplete]

Here is my sentry config.
{
    maxBreadcrumbs: 10,
    environment: process.env.NODE_ENV,
    autoBreadcrumbs: {
        'console': false,
        'http': true,
    }
}

I think this is an out of memory issue in the stringify function. This is preventing the correct error from being sent to sentry.

hi @hogggy what version of raven are you on? I'm investigating this now

the problem is that too much data is being attached to an event - are you using any of the Raven context methods or adding custom breadcrumbs? something very large is ending up on the object

hi @MaxBittker
I am using raven version 2.02.
I am not using any raven context methods or custom breadcrumbs or any other unique raven configuration.
I understand that's what's happening I'm just not sure why. I will see if i can find out more about what's happening.

are you using minified code?
a few things to try: upgrading to 2.1.0 to take advantage of https://github.com/getsentry/raven-node/pull/329
editing your node_modules a putting a console.log(kwargs) before
  File "/app/node_modules/raven/lib/client.js", line 289, col 19, in Raven.send
    var skwargs = stringify(kwargs);

Hello,
I've updated to<EMAIL_ADDRESS>and we've been hit by this issue as well.
We have a 1.8MB file compiled by Webpack and when issues occur inside it, we're either hit with a Javascript heap out of memory or RangeError: Invalid string length. from JSON.stringify (native). The stacktrace itself is quite huge since it's pretty deep. I've been trying to play with v8 flags to reduce this stacktrace but with no success.
Let me know if you need more info,
Error: some error
    at someReduxSaga$ (C:\Users\projectHome\node_modules\@mycompany\companyproject\build\server.js:18357:17)
    at tryCatch (C:\Users\projectHome\node_modules\regenerator-runtime\runtime.js:65:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\projectHome\node_modules\regenerator-runtime\runtime.js:303:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\projectHome\node_modules\regenerator-runtime\runtime.js:117:21)
    at next (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:313:27)
    at proc (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:272:3)
    at runForkEffect (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:557:19)
    at runEffect (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:436:546)
    at next (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:317:9)
    at currCb (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:389:7)
    at takeCb (C:\Users\projectHome\node_modules\redux-saga\lib\internal\proc.js:468:108)
    at Object.put (C:\Users\projectHome\node_modules\redux-saga\lib\internal\channel.js:85:16)
    at C:\Users\projectHome\node_modules\redux-saga\lib\internal\channel.js:173:10
    at C:\Users\projectHome\node_modules\redux-saga\lib\internal\channel.js:198:16
    at exec (C:\Users\projectHome\node_modules\redux-saga\lib\internal\scheduler.js:25:5)
    at flush (C:\Users\projectHome\node_modules\redux-saga\lib\internal\scheduler.js:66:5)
    at asap (C:\Users\projectHome\node_modules\redux-saga\lib\internal\scheduler.js:39:5)
    at Array.<anonymous> (C:\Users\projectHome\node_modules\redux-saga\lib\internal\channel.js:197:27)
    at Object.emit (C:\Users\projectHome\node_modules\redux-saga\lib\internal\channel.js:38:13)
    at Store.dispatch (C:\Users\projectHome\node_modules\redux-saga\lib\internal\middleware.js:73:23)
    at C:\Users\projectHome\node_modules\@mycompany\companyproject\build\server.js:2687:15
    at Array.forEach (native)
    at Store.dispatchInitActions (C:\Users\projectHome\node_modules\@mycompany\companyproject\build\server.js:2686:15)
    at Promise.F (C:\Users\projectHome\node_modules\core-js\library\modules\_export.js:35:28)
    at Store.dispatchInitActions (C:\Users\projectHome\node_modules\@mycompany\companyproject\build\server.js:2685:12)
    at __webpack_exports__.a (C:\Users\projectHome\node_modules\@mycompany\companyproject\build\server.js:32251:13)
    at Promise.F (C:\Users\projectHome\node_modules\core-js\library\modules\_export.js:35:28)
    at Object.__webpack_exports__.a [as LplrScene] (C:\Users\projectHome\node_modules\@mycompany\companyproject\build\server.js:32190:10)
    at RenderingService.renderComponent (C:\Users\projectHome\src\rendering.js:67:54)
    at apiRouterV1.get (C:\Users\projectHome\src\api\v1.js:30:27)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\projectHome\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (C:\Users\projectHome\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:281:22
    at param (C:\Users\projectHome\node_modules\express\lib\router\index.js:354:14)
    at param (C:\Users\projectHome\node_modules\express\lib\router\index.js:365:14)
    at param (C:\Users\projectHome\node_modules\express\lib\router\index.js:365:14)
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:410:3)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at next (C:\Users\projectHome\node_modules\express\lib\router\route.js:117:14)
    at apiRouterV1.get (C:\Users\projectHome\src\api\v1.js:22:3)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\projectHome\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (C:\Users\projectHome\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:281:22
    at param (C:\Users\projectHome\node_modules\express\lib\router\index.js:354:14)
    at param (C:\Users\projectHome\node_modules\express\lib\router\index.js:365:14)
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:410:3)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at Function.handle (C:\Users\projectHome\node_modules\express\lib\router\index.js:174:3)
    at router (C:\Users\projectHome\node_modules\express\lib\router\index.js:47:12)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at cors (C:\Users\projectHome\node_modules\cors\lib\index.js:185:7)
    at C:\Users\projectHome\node_modules\cors\lib\index.js:221:17
    at originCallback (C:\Users\projectHome\node_modules\cors\lib\index.js:211:15)
    at C:\Users\projectHome\node_modules\cors\lib\index.js:216:13
    at optionsCallback (C:\Users\projectHome\node_modules\cors\lib\index.js:196:9)
    at corsMiddleware (C:\Users\projectHome\node_modules\cors\lib\index.js:201:7)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at compression (C:\Users\projectHome\node_modules\compression\index.js:219:5)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at C:\Users\projectHome\node_modules\express-winston\index.js:323:9
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at C:\Users\projectHome\node_modules\@mycompany\corvus\node_modules\raven\lib\client.js:455:9
    at bound (domain.js:282:14)
    at runBound (domain.js:293:12)
    at Raven.context (C:\Users\projectHome\node_modules\@mycompany\corvus\node_modules\raven\lib\client.js:331:33)
    at extend.requestHandler (C:\Users\projectHome\node_modules\@mycompany\corvus\node_modules\raven\lib\client.js:452:12)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at expressInit (C:\Users\projectHome\node_modules\express\lib\middleware\init.js:40:5)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at query (C:\Users\projectHome\node_modules\express\lib\middleware\query.js:44:5)
    at Layer.handle [as handle_request] (C:\Users\projectHome\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\projectHome\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\projectHome\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\projectHome\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\projectHome\node_modules\express\lib\router\index.js:275:10)
    at Function.handle (C:\Users\projectHome\node_modules\express\lib\router\index.js:174:3)
    at EventEmitter.handle (C:\Users\projectHome\node_modules\express\lib\application.js:174:10)
    at Server.app (C:\Users\projectHome\node_modules\express\lib\express.js:38:9)
    at emitTwo (events.js:106:13)
    at Server.emit (events.js:191:7)
    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:546:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)

We are facing this issue too. We are on 2.1.0
This is our config
Raven.config(config.sentryBackendUrl, {
    release: appVars.gitCommitID,
    environment: config.environment
  }).install();

RangeError: Invalid string length
    at join (native)
    at Object.stringify (native)
    at stringify (/var/app/current/node_modules/raven/node_modules/json-stringify-safe/stringify.js:5:15)
    at Raven.send (/var/app/current/node_modules/raven/lib/client.js:269:19)
    at Raven.process (/var/app/current/node_modules/raven/lib/client.js:256:12)
    at /var/app/current/node_modules/raven/lib/client.js:316:12
    at /var/app/current/node_modules/raven/lib/parsers.js:52:5
    at /var/app/current/node_modules/raven/lib/utils.js:245:5
    at /var/app/current/node_modules/raven/lib/utils.js:160:35
    at wrappedCallback (/var/app/current/node_modules/newrelic/lib/transaction/tracer/index.js:326:17)
    at wrapped (/var/app/current/node_modules/newrelic/lib/transaction/tracer/index.js:184:28)
    at wrappedCallback (/var/app/current/node_modules/newrelic/lib/transaction/tracer/index.js:452:66)
    at wrapped (/var/app/current/node_modules/newrelic/lib/transaction/tracer/index.js:184:28)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

hmmm.. us failing gracefully here and adding more debug output is all I can think of for the time-being, unless either of you can help us reproduce this?


[Feature]add custom configuration Feature for datax

Although the datax plugin has not been officially released, I had read the relevant source code and found that it only supports a few reading and writing methods in the figure, which cannot cover my current needs. if it is possible to add the function of a custom datax configuration ? If this function makes sense, I am glad to implement it.

尽管datax的功能还没有正式发布，但是我看了已提交的相关源码，发现仅支持图中的几种读写方式，没法覆盖我当前的需求，是否可以增加自定义datax配置文件的功能，如果这个功能有意义，我很乐意去实现它。

I will describe my ideas for implementing this feature.
As shown below, I want to add a tab page , one page is the current content , and the other page is a text box for custom json configuration. At the same time, a check of the json format is required.
我来详细说明下我的想法，以方便和前端的同学协作完成功能的开发。

如图，我想在红框的位置增加一个 tab 页，一页是当前的内容不变，另一页是文本框，用于用户自定义写json配置，同时需要对json格式做一个校验。两种方式二选一。
入参定义

请求参数processDefinitionJson的tasks列表里的params字段的内容增加customConfig，值为0和1（数值类型），当customConfig等于0，为非自定义配置，其他参数没有变化，如下：

{"tasks":[{"params":
    {"customConfig":0,
     "targetTable":"test",
     "postStatements":[
         "delete from test"
     ],
     "jobSpeedByte":0,
     "jobSpeedRecord":1000,
     "dtType":"MYSQL",
     "datasource":1,
     "dsType":"MYSQL",
     "datatarget":2,
     "sql":"select 1 as test from dual",
     "preStatements":[
         "delete from test"
     ]
   }
},{...}]}

当customConfig为1，为自定义json配置，只需传json字段（字符串类型）其他参数省略，如下：

{"tasks":[{"params":{
    {
    "customConfig":1,
    "json":"{"job":{"setting":{"speed":{"byte":1048576},"errorLimit":{"record":0,"percentage":0.02}},"content":[{"reader":{"name":"rdbmsreader","parameter":{"username":"xxx","password":"xxx","column":["id","name"],"splitPk":"pk","connection":[{"querySql":["SELECT * from dual"],"jdbcUrl":["jdbc:dm://ip:port/database"]}],"fetchSize":1024,"where":"1 = 1"}},"writer":{"name":"streamwriter","parameter":{"print":true}}}]}}"
}
}}]
},{...}}

With a full amount of custom configuration, the connection parameters of the database will be exposed. This requires attention.

#2218


Flatten the implementation of Either::either

Implementing it through either_with just makes more work for the
compiler with the extra closures, and provides no real value to us.
A direct match is easy enough.

Thanks


Wrong entrypoint behavior for CATALINA_PARAMETER$i

When starting the container with parameters like -e "CATALINA_PARAMETER1=-Xms" -e "CATALINA_PARAMETER_VALUE1=1024m" the entrypoint exits the configuration method in line 140 as $i is set to 1 when entering the method and CATALINA_PARAMETER1 is not empty.
This happens since i is set to 1 in line 84 and never incremented there.
As a workaround dummy CONFLUENCE_CONFIG_PROPERTY1 parameter needs to be set as environment variable to a non empty string. When multiple catalina parameters should be used the same amount of confluence config properties needs to exist in order for the configuration method not to exit prematurely.

Problem with variable scopes. Both functions use a counter with a global scope.
Can you give me an example so I can retest my solution?

I experienced this when using the example on setting catalina memory as you described in your readme:
$ docker run -d -p 80:8090 \
    --name confluence \
    -e "CATALINA_PARAMETER1=-Xms" \
	  -e "CATALINA_PARAMETER_VALUE1=1024m" \
    -e "CATALINA_PARAMETER2=-Xmx" \
	  -e "CATALINA_PARAMETER_VALUE2=2048m" \
    blacklabelops/confluence

The method for handling catalina parameters is entered with this one but fails the mentioned condition die to i being 1.

Reverted the last commit!


fix(typescript-vue-urql): variable typing

Description
Generation template for vue urql query/subscription was changed in https://github.com/dotansimha/graphql-code-generator-community/pull/329.
That was necessary due to changes in urql-vue lib, which caused a number of regressions. Currently, all of them was fixed and finally released with<EMAIL_ADDRESS>This PR basically reverts https://github.com/dotansimha/graphql-code-generator-community/pull/329 and and fits<EMAIL_ADDRESS>changes.
Related #328
Related #403
Related https://github.com/dotansimha/graphql-code-generator/issues/9421

Type of change

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Was built and used in live internal project

Test Environment:

OS: MacOS
@graphql-codegen/typescript-vue-urql:
NodeJS: 20

Checklist:

[x] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Further comments
https://github.com/urql-graphql/urql/pull/3605

Not saying this isn't PR necessary, but in case people stumble upon this PR, we recommend TypedDocumentNode-based tools to be used for deriving types for GraphQL operations, even with @urql/vue bindings, since those reliably and universally work and align with GraphQL patterns more nicely.
Specifically, we'd recommend, if GraphQL Code Generator should still be used for people to migrate to the client-preset (which uses the typed-document-node plugin) or to gql.tada, a separate project (which is also maintained by the urql core team)

Released<EMAIL_ADDRESS>


Bring S3 Bucket to v1beta1

Description of your changes
Fixes #99
This PR aims to bring the S3 Bucket to v1beta1 by adding support for related resources and API calls for AWS S3.
Currently, there is support for the following API calls:

AccelerateConfiguration
Acl
CORS
Encryption
Inventory Configuration
Logging
Replication
RequestPayment
Tagging
Versioning
Website

There are plans to implement support for:

AnalyticsConfiguration
InventoryConfiguration
LifecycleConfiguration
MetricsConfiguration
NotificationConfiguration

Bucket Policy has already been implemented in a prior PR :)
Checklist

I have:

[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the dependencies in app.yaml to include any new role permissions.

Minor update, support for the following has been added:

LifecycleConfiguration
NotificationConfiguration

The following operations will need to be separated out into other resources, similar to the S3 Bucket Policy:

AnalyticsConfiguration
InventoryConfiguration
MetricsConfiguration

The following operations will need to be separated out into other resources, similar to the S3 Bucket Policy

@krishchow Do you plan on including those resources in this PR? I think deferring them to another PR would be better.

@muvaf - That was my plan as well, I think they can be created a later date - as for this PR, the core logic for the controller/client should be finished now. I am just working on adding some testing for the new s3 bucket.

@muvaf - any chance you can review this prior to Thursday? I believe pretty much everything should be done at this point aside from some minor cleanup work.

@muvaf, all done, should be ready to merge :) :tada:

Thank you @krishchow !! This is one of the oldest AWS API and we finally covered it with the managed reconciler!


Check if a renderer is available.

If not, optionally use a fallback.
This is largely intended to fallback when webGL is unavailable, but it also has the feature that d3 is no longer a hard requirement.
Add a simple phantom test for the jquery-plugin.
Also, added a reload function for the jquery-plugin, mainly to facilitate testing.  This could also help lazy-loading in some instances.
Addresses issue #312.

@manthey changes looks good to me but few things:

We should update the document (we should start practicing this) if we have a place for it in the current document.
Let's try to add these issues at the start of the sprint so that we can better track our milestones.
I liked your suggestion of passing features list for the next round but I think I would say it's a low priority for now.

@aashish24 I've update the documentation a little.

thansk @manthey, I appreciate it. Other than dashboard are not done yet, it LGTM :+1:


all sonoff lights are now, entity not available.

After a Hassio updated 2 weeks ago,  I started getting error messages. My light switches are coming up as Entity not available. switch.sonoff.******
This has been running perfectly and with out change for about 3-4 months
In the logs, I get Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].
and there is another error message just before it, that may be apart of it:
Logger: homeassistant.util.package
Source: util/package.py:95
First occurred: 8:17:08 (1 occurrences)
Last logged: 8:17:08

Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30) ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.

got same error
All my light devices shows "unavailable" now

same error on Home Assistant 0.115.0

2020-09-17 21:08:20 ERROR (SyncWorker_10) [homeassistant.util.package] Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30)
ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51))
2020-09-17 21:08:20 ERROR (MainThread) [homeassistant.setup] Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].

I'm seeing the same errors reported above since upgrading to 0.115.0:
Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].
20:11:32 – setup.py (ERROR)
Unable to install package uuid: ERROR: Could not find a version that satisfies the requirement uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51)) (from versions: 1.30) ERROR: No matching distribution found for uuid==1000000000.0.0 (from -c /usr/src/homeassistant/homeassistant/package_constraints.txt (line 51))
20:11:32 – util/package.py (ERROR)

Same issue here, please somebody with an solution. Really appreciate that!!

Same issue -
Setup failed for sonoff: Requirements for sonoff not found: ['uuid'].

For any 1 interested, I removed this add on and installed https://github.com/AlexxIT/SonoffLAN it works the same but with more files

A temporary workaround found here : https://community.home-assistant.io/t/sonoff-ewelink-component-for-original-firmware/81369/964
pip3 install uuid
Not tested

For any 1 interested, I removed this add on and installed https://github.com/AlexxIT/SonoffLAN it works the same but with more files

This version is much better and did the trick! Thanks a lot.

For any 1 interested, I removed this add on and installed https://github.com/AlexxIT/SonoffLAN it works the same but with more files

Exactly what I did at the end, works perfectly.

Same here, I also switched to the SonoffLAN and it works again.

I am working with SonoffLAN now. It's working.

 Thank you tyjtyj!


Copilot disable gives this error

How are you setting up copilot?

{
    "zbirenbaum/copilot-cmp",
    dependencies = {
      "zbirenbaum/copilot.lua",
      config = function()
        require("copilot").setup({
          -- suggestion = { enabled = false },
          panel = { enabled = false },
          filetypes = {
            yaml = true,
            markdown = true,
            help = true,
            gitcommit = true,
            gitrebase = true,
            hgcommit = true,
            svn = true,
            cvs = true,
            ["."] = true,
          },
          suggestion = {
            enabled = true,
            auto_trigger = true,
            debounce = 75,
            keymap = {
              accept = "<c-l>",
              next = "<c-]>",
              prev = "<c-[>",
              dismiss = "<C-]>",
            },
          },
        })
      end,
      -- cmd = "Copilot",
      -- event = "InsertEnter",
    },

after creating the issue i observed that if i manually type Copilot disable then it throws the error but if i type Copilot and then press tab that shows the available options list and i choose disable from there and the press enter it works fine.

Are you using the latest version? Run :Copilot version to check.
copilot.vim 1.8.4                                                                                copilot.lua 653bbdc44cd569a5fd0617e5a9d3df2b1359e230                                                                                ```

Are you using the latest version? Run :Copilot version to check.
copilot.vim 1.8.4
copilot.lua 653bbdc44cd569a5fd0617e5a9d3df2b1359e230                                                                                ```

Neovim 0.9.0
copilot.vim 1.8.4
copilot.lua 653bbdc44cd569a5fd0617e5a9d3df2b1359e230
copilot/dist/agent.js 1.84.0
Node.js 18.14.0```

You're using the same keymap for both next = "<c-]>" and dismiss = "<C-]>". Change that and it should be sovled.

worked mate Thanks.........


When the client clipboard contains an image, ConvertSelection(target="STRING") requests hang forever

xrdp version
0.9.21
Detailed xrdp version, build options
xrdp 0.9.21
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --build=x86_64-redhat-linux-gnu
      --host=x86_64-redhat-linux-gnu
      --program-prefix=
      --disable-dependency-tracking
      --prefix=/usr
      --exec-prefix=/usr
      --bindir=/usr/bin
      --sbindir=/usr/sbin
      --sysconfdir=/etc
      --datadir=/usr/share
      --includedir=/usr/include
      --libdir=/usr/lib64
      --libexecdir=/usr/libexec
      --localstatedir=/var
      --sharedstatedir=/var/lib
      --mandir=/usr/share/man
      --infodir=/usr/share/info
      --enable-pixman
      --enable-painter
      --enable-vsock
      --with-socketdir=/run/xrdp
      --with-imlib2
      build_alias=x86_64-redhat-linux-gnu
      host_alias=x86_64-redhat-linux-gnu
      CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
      LDFLAGS=-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
      PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig

  Compiled with OpenSSL 1.1.1k  FIPS 25 Mar 2021

Operating system & version
Rocky Linux 8.8 (Green Obsidian)
Installation method
dnf / apt / zypper / pkg / etc
Which backend do you use?
xorgxrdp
What desktop environment do you use?
happens even in an empty X session
Environment xrdp running on
VM
What's your client?
happens with both xfreerdp on Linux and Microsoft client on Windows
Area(s) with issue?
Clipboard
Steps to reproduce

Run an RDP client connecting to xrdp on some server.
Copy an image on the client-side.
Running the following command on the server-side (you may have to run it a few times, xrdp seems to do some caching):
xclip -out -selection clipboard

✔ Expected Behavior
xsel should return immediately with the output "Error: target STRING not available", as on normal X.
❌ Actual Behavior
xsel hangs indefinitely.
Anything else?
No response

Hi @catern
Thanks for raising this rather interesting fault.
I can reproduce it on 0.9.21 with a Windows 10 client and the attached test.png.
I'm using xclip exclusively here rather than xsel.

Copy test.png to the Windows filesystem.
Open test.png in Paint (not Paint 3D)
Select and copy the whole image
On the Linux desktop using xclip :-

$ xclip -o -selection clipboard -t TARGETS
TARGETS
TIMESTAMP
MULTIPLE
STRING
UTF8_STRING
image/bmp
$ xclip -o -selection clipboard -t STRING
<hangs>

Interestingly, the client seems to be advertising that a STRING conversion target is available, but something seems to be getting lost in the plumbing somewhere when it is requested. Are you seeing a similar result with -t TARGETS? If not, can you give me a procedure where this doesn't happen?
I'll try the latest development version next to make sure we haven't already fixed this.

Yes, I see the same output from xclip -o -selection clipboard -t TARGETS, except I don't have image/bmp. Possibly that's an artifact of the different reproduction approach I'm using.
(Btw, I'm able to reproduce the problem by just right clicking an image in Chrome and selecting "Copy image" - I'm on a Linux client so I don't have Paint available :) )

The problem exists on devel too.
I've traced it through here, and it seems caused by the chansrv clipboard code reporting that CF_TEXT or CF_UNICODETEXT is available from the RDP client side even when the RDP client hasn't said that text is available in its CLIPRDR_FORMAT_ANNOUNCE message. When an X11 client then requests one of these formats the RDP client responds to say that the format isn't available. This response isn't handled properly and the X11 client hangs.
In other words there are two problems here:-

The clipboard code is announcing the availability of text even when there is none available.
The clipboard code is not properly handing an error for unavailable data.

2 is the more important one, as this can happen normally if the clipboard contents are changed between the format announcement and the format request.

Thanks, Matt for your investigation. I also looked around the code, the same opinion as you.

Yes you guys are right, chansrv should not report string and utfstring unless the client reports text and unicode.  I have a patch for this around, I'll see if I can find it.

Something like this, the fix is to not always report text unless client reports is can do text.
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index 80609bc5..34e53755 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -2669,9 +2669,17 @@ clipboard_event_selection_request(XEvent *xevent)
         atom_buf[0] = g_targets_atom;
         atom_buf[1] = g_timestamp_atom;
         atom_buf[2] = g_multiple_atom;
-        atom_buf[3] = XA_STRING;
-        atom_buf[4] = g_utf8_atom;
-        atom_count = 5;
+        atom_count = 3;
+        if (clipboard_find_format_id(CB_FORMAT_TEXT))
+        {
+            atom_buf[atom_count] = XA_STRING;
+            atom_count++;
+        }
+        if (clipboard_find_format_id(CB_FORMAT_UNICODETEXT))
+        {
+            atom_buf[atom_count] = g_utf8_atom;
+            atom_count++;
+        }
         if (clipboard_find_format_id(CB_FORMAT_DIB) >= 0)
         {
             log_debug("  reporting image/bmp");

Thanks for that Jay.
I suspect it's a bit more complicated. I see we also support text when FileGroupDescriptorW is set by the client:-
https://github.com/neutrinolabs/xrdp/blob/9bbb2ec68f390504c32f2062847aa3d821a0089a/sesman/chansrv/clipboard.c#L2354-L2361
I'll work on a PR to fix both issues.


LibriTTS-460 training text And Training result

@yl4579 Hi, yl4579,I have a doubt. For LibriTTS-460 training text, you only gave examples from styletts1, and did not provide train_libritts_list.txt and val_libritts_list.txt of styletts2. But there is no speaker id in the example of styletts1. I want to confirm one question, for example: LibriTTS/train-clean-460/2113/132485/2113_132485_000061_000006.wav||aɪ wʌz kɹˈuːəl!
Did you train 2113_132485 as a speaker or 2113 as a speaker? At present, I use 2113 as a speaker, that is, I use the audio of different chapters of this speaker as a speaker. So far, I've been training from scratch, following your code, stage1 and stage2. config parameters, diff_epoch: 10, joint_epoch: 15, my stage2 has been trained to 25epoch, still worse than your pre-trained model (like 20epcoh, diff_epoch: 0, joint_epoch: 0), I'm wondering where I might be at odds with you.
Look forward your help.  If possible, can you upload your train_libritts_list.txt and val_libritts_list.txt ?

This is my eval loss.

As for the train loss, it is a bit of a pity that my training was stopped by me at 25epoch yesterday. I continued the training from 25epcoh, but I looked in the code and the iters were set to 0, so the tensorboard I found was overwritten, only the most recent ones.

My train loss is :

It doesn't look abnormal at all. What kind of audio did you get out of it?

In addition, I continued the training on your pre-trained model (epochs_2nd_00020.pth) and I still set diff_epoch: 0, joint_epoch: 0. Here is my training curve.

I found the eval mel_loss is only 0.37, but the one trained by myself is  still 0.385.

By the way, I found a bug in the code. The dur_loss and mel_loss is exactly the same for the evaluation loss.
I think looking at mel loss doesn't tell you a lot, but all your loss seems higher than what I got (including F0 loss). This says something might be off during training. What kind of speech sample did you get in the end?

These is the sample generated by the model trained by mayself and your pretrained model.
https://drive.google.com/file/d/1vq4AWtX02tDuNsIpvvOCJqj2-5uJm-Ds/view?usp=drive_link

I have no access to the files.

sorry，I have modified it.

I have already uploaded the training data, which is in https://github.com/yl4579/StyleTTS2/blob/main/Data/OOD_texts.txt, including the speaker ids. I used the training texts from LibriTTS as the OOD texts as described in the paper.
Could you show me the training curve? The diff_epoch and joint_epoch setting to 0 was because I had to resume training so I just set them to a low number. They aren’t the actual epochs those training started.

I checked the text, My understanding and what i do is correct, that is, 2113 is regarded as a speaker, that is, the audio of different chapters from the same speaker is regarded as a speaker.

@WendongGan I listened to the samples you sent me. I think the quality isn't that different, and I wouldn't say one model is definitely better than the other in terms of naturalness. Are the reference speakers from LibriTTS or not? Are they seen speakers or not?
What's interesting is that the speaker 0011 speaks in British accent, and the pre-trained model could capture this yet your model couldn't. Did you use the latest code that has the st fixed?

@yl4579 The test sample is from ESD . it is not from LibriTTS.
Yes, I also think just the prosody of my sample is less natural than yours.
the Code of train_second.py I used is this one .
What I find different is here
The pre-training model you provided is really good, and the effect of my training is gradually approaching. What I want to verify is whether the current code can efficiently and quickly achieve the effect of your pre-trained model. When I do, my improvement attempts and other work may be more meaningful.I am trying the new code.   Do you have any other advice or share?

@WendongGan This is one of the mistakes but I don't think it'll make such a big difference. The model was produced using the code slightly different from the current version (mostly https://github.com/yl4579/StyleTTS2/commit/32f760b4a558b683aa225a0129f0db7cda8d100e this version with change here: https://github.com/yl4579/StyleTTS2/commit/041ea6d3f1cc08324a16c955608a22ae8e0dcb39). I don't think I have time to verify whether the current code can reproduce the pre-trained model quality, but I don't think the quality would change that much. Also the epoch number is not exactly 20 or anything because I reset the number and stopped it manually (it was only named as epoch 20). I think the best strategy is to listen to the samples periodically and stop at one that sounds the best because the SLM adversarial training could get unstable sometimes, but your probably seems deeper than that as the accent was not captured either, so it doesn't sound like a problem of SLM adversarial training. Maybe some earlier epochs should sound better?


seems like the pom package required for building is now unavailable?

The background is Error Message was generated by building "./scripts/build.sh".
I checked it and found out the cause is Maven could not found artifact org.ldbcouncil.snb:driver:jar:1.2.0 in snb-mvn. This jar pkg is form following sources:
<repositories>
    <repository>
        <id>snb-mvn</id>
        <url>https://ldbcouncil.org/snb-mvn/</url>
        <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </repository>
</repositories>

this url now is unavailable? My browser can't access it either.

Hi, this was temporarily down due to migration to Cloudflare. Can you please check it again?

Thank you, sir. I pulled the JAR package from the snb-mvn repository to the local host and have solved this problem. But, the website still doesn't seem to be accessible. I also want to thank you for your contribution to the community, providing such great open-source software. Thank you!


Games that requires focus for the keyinputs to actually register

I kinda altered the dataset creation script, mostly because the game registers a different set of keys and due to how only some region are worth taking data of, and testing it on a game called Touhou yields this result:
The image grab works fine.
The key detection works fine IF and only IF the command line (i ran the script in command line) is
focused
The game will not register my inputs if it is not focused
EDIT : I have tried this with another games and it turns out, having the cli not focused on some other games still detects the pressed keys when i'm focused on the game windows.. but this happen specifically on the game i'm currently using..
My bet is that the particular game i am working with has a different way of accepting inputs.. is there any workaround for this? Thanks!

UPDATE : turns out it only happens in command line, running it through IDLE lets it register the inputs even if the idle is not focused, how weird is that?
TL;DR, consider using IDLE! Also would like to know what could cause it..

I don't know what you mean. What libs are you using, i found out that some of them really need to get terminal focus while some don't, check this code out it should work.
https://github.com/Sentdex/pygta5/issues/101
Petr Gardas


pdf to notebook PS RDD, handout causal graphs

Could you please check the fail? It fails the GMM lecture

The build fails because of numba in Mechanisms and causal explanation lecture. Could you have a look?


Memory leak camera after taking a picture

Hello everyone,
When I take a picture, I got memory leak.

In my home navigation, it was at 390mb initially after a picture I got this:

If I want to take multiple picture with the camera I can reach like 1.5GB of memory with the accumulation of this leak.
Any idea how to fix it ?
Environment
Node.js version: v6.5.0
React Native version: 0.44.0
React Native platform + platform version: iOS 10.3
react-native-camera
Version: master

@yelkamel, what version of this library were you on?
I have a recursion script for replicating what our users will be doing in the field (pretty simple – take photo, commit it, wait 2000ms, repeat for n steps); after 12 steps on v0.9.4 I had my iOS simulator reading at 23GB of RAM usage. The rest of the code seems resilient through the same testing process, and this is an issue I've only seen today after upgrading from 0.9.0.
I'm going to do some more testing, hopefully this is just a testing issue and not an actual library one.

So, further testing appears to indicate it was a false positive in regards to v0.9.4 leaking. I guess that's a good thing?