[FEATURE] [Android] - Adaptive Launcher Icon - VectorDrawable Icon - Themed / Monochrome Launcher Icon

What you want:
Progress:

[ ] Adaptive Launcher Icon
[ ] VectorDrawable Icon
[ ] Monochrome Icon

I'd like to add these features using a pull request, however, if @NobodyForNothing is willing to provide the original vector file used to create the app's bitmap icon (if one exists), I would greatly appreciate it, as creating vectors from bitmaps can be quite messy.
Why you want it:

Starting with TargetSDK 26 / Android 8, devices start to use the app's adaptive icon / drawable in order for it to follow user theming and device preferences:

In combination with the VectorDrawable Class, apps can also use XML vector graphics to render their app icon, which significantly decreases the icon's file size, as it creates the bitmap cache on the fly.

Starting with TargetSDK 33 / Android 13, devices can request an app icon / drawable vector's monochrome version, which can enable the app to render a user-themed / monochromatic version of it's launcher icon:

Developer Reference Documentation

Sounds like a good feature, feel free to open a PR.
I already made an svg arcticons icon some time back, but I leave it up to you if you want to create one closer to the original.

Sounds like a good feature, feel free to open a PR. I already made an svg arcticons icon some time back, but I leave it up to you if you want to create one closer to the original.
The original icon was created using blender.

Alright, I made a monochrome vector using the original bitmap, it was fortunately high-res & simple enough for inkscape to not freak out 😅
Here's what it looks like:

Now, I just need, to cut it up into different parts to have different colors.

@sebastien46 The blender icon was very scuffed, so I highly appreciate your efforts to create a vector graphic.
In case you want to look at the colors I used in Blender (beware of lighting), the file is here.

@sebastien46 The blender icon was very scuffed, so I highly appreciate your efforts to create a vector graphic.
In case you want to look at the colors I used in Blender (beware of lighting), the file is here.

So, I did this 2 ways:
1.

Tracing the PNG
Cutting up the contour into multiple paths
Coloring the paths using eyedropped colors from the shadowed png (no gradient)

Result:

2.

Exporting .blend file as Grease Pencil, original colors (no lighting):

I'm pretty sure you want the colors that match the rendered version the most, not the base colors, correct @NobodyForNothing ?

@sebastien46 yes, please use something close to the original.
I leave it up to you to decide whether to keep the gradient.

@sebastien46 yes, please use something close to the original. I leave it up to you to decide whether to keep the gradient.

I don't think I'm experienced with vectors enough to try and recreate rendered shadows with the naked eye into accurate gradients 😅
The one I made only with the eyedropped colors looks pretty damn close to the real thing imho.
I won't be able to test whether or not these changes worked since I don't have a flutter environment set up, but I can still make a pr & you could try to see if it does on your side.
Does that work for you @NobodyForNothing ?

I won't be able to test whether or not these changes worked since I don't have a flutter environment set up, but I can still make a pr & you could try to see if it does on your side.

@sebastien46 go ahead, I will check if it works.

I won't be able to test whether or not these changes worked since I don't have a flutter environment set up, but I can still make a pr & you could try to see if it does on your side.

@sebastien46 go ahead, I will check if it works.

Ok, so I was able to test it by copying the path data to another app that already has adaptive icons, and unfortunately it looks like this at the moment:

Gaps are clearly visible
I'll try to correct this first.

I won't be able to test whether or not these changes worked since I don't have a flutter environment set up, but I can still make a pr & you could try to see if it does on your side.

@sebastien46 go ahead, I will check if it works.

Ok, so I was able to test it by copying the path data to another app that already has adaptive icons, and unfortunately it looks like this at the moment:

Gaps are clearly visible
I'll try to correct this first.

I'll probably make it in a separate PR Later.
For now I'll just finish the monochrome icon which is easier to not screw up 😆

Opened #239

Can I have a rough estimate of when you plan on finishing this?
I plan to make a release over the next days and want to know if I should wait for this.

I'm on vacation right now, but I'll finish it when I get back in a few days.


fix #154

Adds a config.debounce options, also moves css and dataStore into config and adds a public getter

merged and added

@lacymorrow Sorry, again conflicts

I'm not 100% that config.css and config.datastore are working 100%, I'm busy this week but will try to test next week

I really want this feature, and have been using it in my branch for awhile, but I realized only certain components need to be debounced, rather than the whole save process.

I agree with the feature. For some devs it may be useful to debounce the saving process as the saving callback might trigger high resource intensive calls on their side.
What do you mean with 'only certain components need to be debounced'? Do you have an example of what you mean with 'components'?
Once conflicts are resolved, this PR can get merged.

Ok, now I get what you mean by component.
IMO I would just go ahead and debounce the save calls to make the implementation less complex. Also, I think you can adapt radio buttons with the arrow keys, leaking you could easily trigger hundredth of calls per second, even on a radio button.
Let me know what you think/want to implement. I don't have a strong opinion on this.

fair enough, fixed the merge conflicts, I'll revisit this soon

@lacymorrow Sorry, this got lost in my notifications. Merged!


Slider not scrolled to active thumbnail if it visible, but not entirely

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 4.4.6

What you did
If part of the preview is visible, then when you go to this preview (by clicking on the preview or otherwise), the preview is not shown completely.
It may be reproduced in default demo (http://idangero.us/swiper/demos/300-thumbs-gallery.html) if  you move thumbs to left (50px or more) and then move to slide №5
Screenshot: https://imgur.com/a/yp8MZYw
Expected Behavior
Previews should be scrolled so that the active element is fully visible.
I think problem in watchSlidesVisibility option which thinks that the slide is visible if at least 1px on the screen. May be need watchSlidesVisibilityFull or similar option?

watchSlidesVisibilityFull  this would ne great!

I realise this old but I have just run into the same issue, has anyone worked out how to do it?
I believe johnlewis.com use swiper and they don't appear to have this issue.

I also have a same issue, do you guys get any solutions for it?


Hipchat adapter should listen on @hubot + comma

Hipchat autocompletes @name with a comma (i.e. @hubot, ) so we should
listen for that too.

/cc @assaf

I actually just put in a pull request that also fixes this in a sense. The reason it autocompletes with a comma is because the default environmental variable: HUBOT_HIPCHAT_NAME has a comma in the first name "Hubot, I"


style: remove assert from split_data_and_signature

Similar to #72.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3e397b7) to head (195aa6a).

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #87   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          238       239    +1
  Branches        24        25    +1
=========================================
+ Hits           238       239    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[showcase] added showcase of 'HoopHubs.com'

Just add my production case to the showcase list.

Thanks


How do I set active state on FlipBarItem when the index is programmatically changed?

I want to commend the great work you did with this package. Please I was wondering if there is a way to change the state of the FlipBarItem when the index is programmatically outside tap event on the FlipBarItem?
Thank you.

I'll just check and let you know soon.

Thanks immensely @deven98

Extremely sorry for the late reply, been busy with a few things. At the moment it seems there's no way to do it, I'll launch an update soon to fix this.

I'm also launching another nav bar with a similar structure soon, I'll make sure that doesn't have a similar defect. This may take a little time to fix since people are already using it so I'll have to look at a workaround.

Thanks immensely @deven98  for this update. Please do let me know when you launch the new navbar.

Here's the new BottomNavigationBar: https://github.com/deven98/expanding_bottom_bar
Now, the programmer sets the selected value not just the initial value, so the earlier problem won't be there. Will migrate this package too.

@papakay Bug is now fixed in 0.9.2 Please see README and example for programmatically changing index. Thank you for reporting.


added ags

DESCRIPTION
ags - A customizable and extensible shell for wayland written in GJS
CHECKLIST
I have:

[x] 🤳 made sure that what I am adding is targeted for Wayland.
[x] 🔗 checked that the link I am using refers to the source repository.
[x] 📝 checked that the projects and/or the sections are alphabetically sorted.

Thank you!


Region Changed - Still no eshop :(

First of all I want to say thanks for the superb guide, got a9lh without any issues
I followed the region change guide on my new j2ds except for deleting the eshop account before starting because I had never opened eshop before or created an NNID, so I assumed I didnt need to.
Following the guide i had successfully changed to eur and formatted, and had no eshop access (error 007-2001)
So after realising I needed to delete the eshop account I recovered my a9lh sysnand and started over, making sure to delete the eshop using the serial on the back of my console this time around, but I still have no eshop access. I have asked for help from reddit, the IRC and gbatemp and haven't received any replies :(

hi! do you manage how to solve this error 007-2001? i'm in the same situation here! thanks!

damn! I did what you said and now I'm getting error 005 5602! I even tried changing region in settings.. So close..


AttributeError: 'NoneType' object has no attribute 'tobytes'

Found GPU NVIDIA GeForce GTX 1650 Ti , force to fp32
Use Language: en_US
Running on local URL:  http://<IP_ADDRESS>:7879
loading weights/arijit.pth
gin_channels: 256 self.spk_embed_dim: 109

Traceback (most recent call last):
File "C:\Users\HP\Downloads\AI\Retrieval-based-Voice-Conversion-WebUI\lib\audio.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg_run.py", line 313, in run
process = run_async(
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg_run.py", line 284, in run_async
return subprocess.Popen(
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\HP\Downloads\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 188, in vc_single
audio = load_audio(input_audio_path, 16000)
File "C:\Users\HP\Downloads\AI\Retrieval-based-Voice-Conversion-WebUI\lib\audio.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: [WinError 2] The system cannot find the file specified
Traceback (most recent call last):
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\blocks.py", line 1434, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\components\audio.py", line 345, in postprocess
file_path = self.audio_to_temp_file(
File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\components\base.py", line 325, in audio_to_temp_file
temp_dir = Path(self.DEFAULT_TEMP_DIR) / self.hash_bytes(data.tobytes())
AttributeError: 'NoneType' object has no attribute 'tobytes'

Found GPU NVIDIA GeForce GTX 1650 Ti , force to fp32 Use Language: en_US Running on local URL: http://<IP_ADDRESS>:7879 loading weights/arijit.pth gin_channels: 256 self.spk_embed_dim: 109 Traceback (most recent call last): File "C:\Users\HP\Downloads\AI\Retrieval-based-Voice-Conversion-WebUI\lib\audio.py", line 14, in load_audio ffmpeg.input(file, threads=0) File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg_run.py", line 313, in run process = run_async( File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg_run.py", line 284, in run_async return subprocess.Popen( File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\HP\Downloads\AI\Retrieval-based-Voice-Conversion-WebUI\infer-web.py", line 188, in vc_single audio = load_audio(input_audio_path, 16000) File "C:\Users\HP\Downloads\AI\Retrieval-based-Voice-Conversion-WebUI\lib\audio.py", line 19, in load_audio raise RuntimeError(f"Failed to load audio: {e}") RuntimeError: Failed to load audio: [WinError 2] The system cannot find the file specified
Traceback (most recent call last): File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\blocks.py", line 1434, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data prediction_value = block.postprocess(prediction_value) File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\components\audio.py", line 345, in postprocess file_path = self.audio_to_temp_file( File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\site-packages\gradio\components\base.py", line 325, in audio_to_temp_file temp_dir = Path(self.DEFAULT_TEMP_DIR) / self.hash_bytes(data.tobytes()) AttributeError: 'NoneType' object has no attribute 'tobytes'

Same error for me. Id appreciate any ideas :)

You input a wrong audio path.

pip install --upgrade --no-deps --force-reinstall torchcrepe
Fixed it for me

You input a wrong audio path.

That is not the case, my path is correct unfortunately. The fix proposed by @Volt24 did not work for me :(

You input a wrong audio path.

i believe this but which one should be the correct path ?

Move the rmvpe.pt to the asset/rmvpe/rmvpe.pt fixed my issue.
The guide in the README was quite miss leading. Don't put rmvpe.pt in the root folder.

For me, reinstalling the whole package fixed.
If so do we have to update packs?

For a check
Are you all using rvc with required system?

I think when your memory is not enough to hold the entire audio file ,it attempts to write it in a file. In my case I am a iris xe graphics user I can clone a 5 sec file with out filling the vram. But the longer conversion fills my memory and gives error.
Then why don't you guys trim the audio to a smaller size then try .

I can clone my voice to a small song( hardly 10sec). If I clone my voice to a 4-5 minute , it gives error.

Yeah same, large audio files don't work for me. Using RTX 3050 Laptop GPU 4GB VRAM.

I found the reason. It is because ur vram is not enough for entire audio
conversion. Try trimming audio to small parts (In my case 10 - 20 sec) and
then do the conversion .
On Wed, 11 Sep 2024, 1:04 am Abhinav Singh, @.***>
wrote:

I can clone my voice to a small song( hardly 10sec). If I clone my voice
to a 4-5 minute , it gives error.
Yeah same, large audio files don't work for me. Using RTX 3050 Laptop GPU
4GB VRAM.
—
Reply to this email directly, view it on GitHub
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1054#issuecomment-2341864342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWFIDRJV3C34XXVW7AD7AJ3ZV5CUJAVCNFSM6AAAAAA3WKP4X6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRHA3DIMZUGI
.
You are receiving this because you commented.Message ID:
<RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1054/2341864342
@github.com>

I found the reason. It is because ur vram is not enough for entire audio conversion. Try trimming audio to small parts (In my case 10 - 20 sec) and then do the conversion .
…
On Wed, 11 Sep 2024, 1:04 am Abhinav Singh, @.***> wrote: I can clone my voice to a small song( hardly 10sec). If I clone my voice to a 4-5 minute , it gives error. Yeah same, large audio files don't work for me. Using RTX 3050 Laptop GPU 4GB VRAM. — Reply to this email directly, view it on GitHub <#1054 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWFIDRJV3C34XXVW7AD7AJ3ZV5CUJAVCNFSM6AAAAAA3WKP4X6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRHA3DIMZUGI . You are receiving this because you commented.Message ID: <RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1054/2341864342 @github.com>

Bro i got the same error but i have a: 4070 ti, so it's really hard to belive it's a VRAM problem.

I got the same error but i have a: 4070 ti, so it's really hard to belive it's a VRAM problem.
Does it work after trimming?


Client misses answer to short frame command 0

The HART-IP client sporadically misses the answer of command 0 with short frame address when it performs device scanning on a gateway.

Cannot reproduce this.


Sharpen Platform / PythonIdentity relationship

Currently these two classes contain an overlap of platform information as highlighted by Resolver._maybe_expand_platform:
https://github.com/pantsbuild/pex/blob/d4a3c9db271a336b1a734a950eee453ee02f787f/pex/resolver.py#L167-L213
In particular:

Platform
PythonIdentity

impl
abbr_impl

version
impl_ver

abi
abi_tag

This leads to some awkwardness and, as a result, subtle bugs. For example - in the same file as _maybe_expand_platform, there is a bug here:
https://github.com/pantsbuild/pex/blob/d4a3c9db271a336b1a734a950eee453ee02f787f/pex/resolver.py#L560
Passing Platform.current() masquerades as the user specifying extended platform information in _maybe_expand_platform, preventing the selected interpreter from being paired with its proper Platform. The fix to pass 'current' instead is simple but a sign of the current fragility.

With the introduction of Target and its LocalInterpreter, AbbreviatedPlatform and CompletePlatform implementations, the relationship between PythonIdentity (LocalInterpreter) and Platform (AbbreviatedPlatform) is now clear in the code base.


Webpack example with ng2-translate 3.1.2

Hi,
this PR attempts to fix issues #258 and #273 with an updated webpack example that includes...

ng2-translate 3.1.2
Angular 2.1.1
The fix (or dirty workaround?!) discussed in #273: loading ng2-translate with Babel
Minor style changes
Downgrade to a stable webpack version

Although this example works, I could not get rid of this warning:
WARNING in ./~/ng2-translate/bundles/ng2-translate.js
Critical dependencies:
58:100-107 require function is used in a way in which dependencies cannot be statically extracted
58:152-159 require function is used in a way in which dependencies cannot be statically extracted
 @ ./~/ng2-translate/bundles/ng2-translate.js 58:100-107 58:152-159

Anything missing?

Hello, and thank you for the PR, but I've updated the example with the latest release and it doesn't need to use babel to work, so that's better I think.


Thu/dashboards accordion prod 8729

refactor & rename state variables for ScenarioParameters accordion in Scenario view
add an accordion to make the scenario view PowerBI report collapsible

Note: this branch is based on another branch currently in development (ESAS/warning_if_dashboard_isnt_sync_PROD_9527) and won't be merged before it.

Merged in main, closing this PR


Contributing Request

Could I contribute to this project?
I would like to add a command that calculates the amount of time you have to wait for a PR to be matured when given a PR start date.
I am also open to coding whatever commands you need.

I don't think if this command is very useful.
I leave this issue open to give me time for reflection.

@LucasCtrl I am also open to code any ideas you have.

@InternetRamen  why don't you come up with own ideas ? That would be much more fun =)

Alright! I'll try my best to think of commands related to October

Perfect can't wait for it.
If you have some let us know.
I will close this issue for now. You can freely create a new one.


Dragon Rise USB Joystick lefty inverted with rightx.

Recently for a patch in a project about joystick is noticed that the mapping for DragonRise Inc.   Generic   USB  Joystick was wrong on some axis. The left Y was inverted with the right X.
I regenerated the mapping an now i have:
03000000790000000600000010010000,DragonRise Inc.   Generic   USB  Joystick  ,x:b3,a:b2,b:b1,y:b0,back:b8,start:b9,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b6,rightshoulder:b5,righttrigger:b7,leftstick:b10,rightstick:b11,leftx:a0,lefty:a3,rightx:a1,righty:a4

We can notice that it was before: lefty:a1,rightx:a3.
Could someone test if i'm right or it's something with kernel module or system ? Thanks in advance.

Can someone confirme my results ?

I can confirm this and your regenerated mapping works for me.
(I've got two "Trust CTX 24" which identify as "DragonRise Inc.   Generic   USB  Joystick" and have the given GUID)

Thank you.

Merged, thanks!


Resolve Dependencies

A way to specify package dependencies in build.txt
Build process checks that dependencies are already installed or installs them.

Hi,
This feature was actually in the talks but I'm glad you raised an issue because now I will look into it further.

Liam, let me know if you need help finding the LPP info.

Liam I have created a C program to extract the status of a LPP option. So if you need to ensure certain LPP options are installed you can use the program to confirm. Not sure how to build into you process so let me know when you have time to take a look at it. I also have a program which will extract the content of a message file and build the text to add to another message file (part of the build process?) I see that as a build tool so people can populate the build.txt?

Old issue, but as a note deps will become a thing within the next few weeks. Yesterday I implemented the ability to download a package by a name and version number. This means I will add a new deps section in the build file which allows you define other packages which will be required.


Uploading fails with unclear error message

Uploader Version Number: 7.1
Your Android Phone Model Name (e.g. Samsung J1 Ace): Sonim XP1
Android Version Number (e.g. use 4.4 for 4.4.4): 8.1.0
Network Connection at the time the issue occurred (Wi-Fi, Mobile): WiFi & Mobile
(if relevant) Nightscout website version (e.g. 0.8.4 Funnel cake, master / dev branch): 14.0.6

Uploading fails with Uploading to nightscout was unsuccessful. length=8
Enabling error messages adds the additional error message java.lang.ArrayIndexOutOfBoundsException: length=8
The logs show Nightscout site is available, so I don't think there is any issue with the connection. Using a web browser works fine too.
I'm actively attempting to figure out what's causing this, but even if there's a reason, the error message should probably be made clearer (handle the out of bounds exception somewhere, probably?)
Steps to Reproduce (for bugs)
Repro steps aren't clear - this occurred the first time I attempted to use this device
Severity Score
4 - completely prevents the upload to Nightscout from working

UPDATE: This is related to uploading profiles - disabling profile upload entirely fixed the issue (not a problem for me, as my 670 is just functioning as a CGM)

It's not expected for this type of bug to be shown in the user log. There is a program log if you want to run logcat of your device and access the app process.
Might be something odd with whatever got read from the pump given your type of use that's not accounted for.

Sure, yeah I'd be happy to help with whatever info you need - just logcat and look for the same Java error?

Yep should be a hard exception where the actual error happened.
This is probably an extremely rare bug due to no reports in years of service. So don't sweat it :)

Fixed in version 0.7.3

Oh hey you found it!
Awesome :)
I turned profiles back on and couldn't get it to happen again, so yea sounds like a weird one-off issue. Thanks!

Cool - thanks for reporting.


Error while saving results: module 'numpy' has no attribute 'warnings'

Dear All,
I am getting the above warning after I upgraded to a new version yesterday.
Do you have any idea how to remove this warning pls?

Hello,
Which version of numpy are you using ? I have 1.21.4 on my side.
Best regards,
Pierre

Name: numpy
Version: 1.24.0
Summary: Fundamental package for array computing in Python
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email:
License: BSD-3-Clause
Location: c:\users\haris\appdata\local\programs\python\python38\lib\site-packages
Requires:
Required-by: autograd, cma, contourpy, cplot, deap, h5py, imageio, matplotlib, matplotx, meshio, npx, orthopy, pandas, pyDOE2, pyleecan, pymoo, pyqtgraph, pyuff, pyvista, quadpy, SciDataTool, scikit-learn, scipy, swat-em

One more issue has started, whatever we are trying simulation is giving an error
[20:16:26] Starting Magnetic module
[20:16:26] Computing Airgap Flux in FEMM
[20:16:28] Error while running simulation:
error: Material properties have not been defined for all regions
[20:17:36] Error while running simulation:
error: Material properties have not been defined for all regions
[20:17:36] Error while saving results:
local variable 'out' referenced before assignment

Well, it was working for the first time.
I recreated everything now it is not working. Tried a different design again it does not work.
Well if we save the file in a different location does it create this issue? In FEM I am noticing it is not assigning material properties to Rotor laminate.
I tried to create it in FEM and then exported the DXF file. Well, it fails again. Is something wrong ?...

All seems to be working on my side with the default machines.
Can you try to run a simulation with the Prius ?
Can you share your machine/simulation/fem file ?

yes, Prius works. But all that we are trying does not work from the evening...
I am trying a new model let us see if it works

Dear Pierre,
It seems the DXF file is the issue.
I tried a new model using features in your tool and simulation works.
It fails when I try to import some random design using a DXF import from either FEM or CAD.
I will try in a different way tomorrow.
Good night.
Regards,

Dear Pierre,
What should be the tolerance we can maintain in CAD drawings?. It seems if we have slits or gaps of less than 50 microns we are getting a variety of errors. Solving one after the other is taking a lot of time but the same if we directly try using FEMM.info software it works like charm. we are trying designs with 30-40 microns i.e. example space between magnets and laminates, etc so that we can look at deviations due to antirust coatings, adhesives, rotor shaft and rotor - shrinkfit ....etc
Your feedback would be much appreciated.
One more observation. I have noticed sometimes the magnet defaults to Prius magnets. Not sure why?...
example of some errors
Saving Simu1 to file 'C:/Users/Haris/Downloads/2023_01_05-14h32min09s_FEMM_example\FEMM_example.json'.
[14:32:09] Starting running simulation FEMM_example (machine=example)
[14:32:09] Starting Magnetic module
[14:32:10] Computing Airgap Flux in FEMM
[14:36:50] Error while running simulation:
error: Some regions in the problem have been defined
by more than one block label.  These potentially
problematic regions will appear as selected in
the initial view.
[15:34:31] Error while running simulation:
error: Some regions in the problem have been defined
by more than one block label.  These potentially
problematic regions will appear as selected in
the initial view.
[15:34:31] Error while saving results:
local variable 'out' referenced before assignment
[15:34:32] Error while saving results:
local variable 'out' referenced before assignment
Traceback (most recent call last):
File "c:\users\haris\downloads\pyleecan-1.4.2.tar\pyleecan-1.4.2\pyleecan-1.4.2\pyleecan\GUI\Dialog\DMachineSetup\SSimu\SSimu.py", line 206, in run
out.simu.machine.plot(
UnboundLocalError: local variable 'out' referenced before assignment

Dear Pierre,
Solved the issues. I believe it has to do with tolerance. Was able to run the simulation. But I am still getting the issue wrt numpy.
[20:10:16] Starting running simulation FEMM_example (machine=example)
[20:10:16] Starting Magnetic module
[20:10:16] Computing Airgap Flux in FEMM
[20:22:10] End of simulation FEMM_example
[20:22:10] Error while saving results:
module 'numpy' has no attribute 'warnings'
[20:22:19] Error while saving results:
module 'numpy' has no attribute 'warnings'


[IDEA] Wrap useContractReader() and transactor() hook instances into unique hooks

Problem to solve
useContractReader() and transactor() hook instances lengthen files due to their complexity, and are occasionally reused.
Proposal
Specific useContractReader() and transactor() uses could be wrapped in their own hooks, which would:

keep code organized
prevent code duplication
make it easier to add tests for reads/writes

More details

Could become useCurrentTicketMods() with args derived from ProjectContext

Could become usePay(note: string, preferUnstaked: boolean, value: BigNumber) with other args derived from ProjectContext/UserContext

Love this idea. I'm interested in getting more familiar with this code, so will assign myself if you're not already working on it.

done!


Reduce the amount of log messages while testing

Motivation:
We log too much when running tests and Travis truncates the log file
when browsing it online. We can download the full raw log file, but it's
not as convenient as before
Modifications:

Disable LoggingClient/Service, KeyedChannelPoolLoggingHandler by
default
Simplify pre-upgrade request logging
Clear stack trace of an expected exceptions in tests

Result:
Significantly reduced log file size

LGTM! thanks.


refined Object.string never seen as mutable by metamodel on JVM

On the JVM only, it is not possible to mutate a string attribute, even when marked variable. I was able to work with mutable attributes refined from my own classes and interfaces, so I'm not sure whether or not this issue is strictly limited to Object.string.
class FooString() {
    shared actual variable String string = "x";
}

shared
void meta() {

    value fooString = FooString();
    fooString.string = "y"; // ok, of course

    `FooString`.getAttribute<FooString,String,String>("string")
            ?.bind(fooString)
            ?.set("updated1"); //error
    //ceylon run: Incompatible type: actual type of applied declaration is
    //Attribute<FooString,String,Nothing> is not compatible with expected type:
    //Attribute<FooString,String,String>. Try passing the type argument explicitly
    //with: memberApply<FooString,String,Nothing>()

    `FooString`.getAttribute<FooString>("string")
            ?.bind(fooString)
            ?.setIfAssignable("updated2"); // error
    //ceylon run: Value is not mutable
    //ceylon.language.meta.model.MutationException "Value is not mutable"

    print(`FooString`.getAttribute<FooString>("string")
                ?.declaration?.variable); // ** false **

    print(`FooString`.getAttribute<FooString>("string")
                ?.declaration?.setter); // ** <null> **
}

This is probably specific to Object.string, because of the special-case mapping to toString().

P.S. I'm guessing the bug here is actually in the compiler, not in ceylon.language.

So after a bit of digging through git history, this is due to https://github.com/ceylon/ceylon-compiler/issues/432, but I think it needs fixing since it affects not just interop but also Ceylon code.

I changed the previous rules to properly handle string and hash setters when there is no getter.


ARROW-5117: [Go] fix panic when nil or empty slices are appended to builders

PTAL

Codecov Report

Merging #4131 into master will decrease coverage by 12.22%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master    #4131       +/-   ##
===========================================
- Coverage   87.77%   75.55%   -12.22%
===========================================
  Files         741       61      -680
  Lines       91159     4221    -86938
  Branches     1252        0     -1252
===========================================
- Hits        80011     3189    -76822
+ Misses      11027      925    -10102
+ Partials      121      107       -14

Impacted Files
Coverage Δ

go/arrow/array/numericbuilder.gen.go
92.87% <100%> (+24.7%)
:arrow_up:

python/pyarrow/ipc.pxi

cpp/src/arrow/csv/chunker-test.cc

cpp/src/parquet/column_page.h

cpp/src/parquet/bloom_filter-test.cc

cpp/src/arrow/array/builder_decimal.cc

cpp/src/plasma/client.cc

cpp/src/arrow/io/test-common.h

cpp/src/arrow/util/int-util-test.cc

cpp/src/arrow/python/io.cc

... and 673 more

Continue to review full report at Codecov.

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

PTAL.

gentle ping

ping @alexandreyc @stuartcarnie

LGTM modulo my comment on the test name for string builder.

ok, thanks.
just waiting a couple of days for @stuartcarnie, to make sure I haven't overlooked anything in the logic of the "append" of arrays values (especially the exit-early path...) that could have adverse effects elsewhere.


soc: arm: st_stm32: add support for STM32L431XC

Add support for the STM32L431XC SoC.
Signed-off-by: Liam Clark<EMAIL_ADDRESS>

@erwango Thanks for the feedback and the how-to guidelines - I was actually looking for something just like this yesterday. Are there any more development guidelines publicly available?

@erwango Thanks for the feedback and the how-to guidelines - I was actually looking for something just like this yesterday. Are there any more development guidelines publicly available?

That will be mostly on doc.zephyrproject and Zephyr youtube channel.


Don't use CMake generator expression for in-tree protoc build

This fixes the in-tree protoc build on CentOS 7 (that ships with super old protobuf version).

Support for generator expressions in the DEPENDS clause was added in Kitware/CMake@bbffccca42d4f209220e833e1a86e735a5c83339


Enabled newsfeed default module for gesture events from https://github.com/thobach/MMM-Gestures

Enabled newsfeed default module for gesture events from https://github.com/thobach/MMM-Gestures
The newsfeed can be controlled by gestures now from a gesture sensor (see https://github.com/thobach/MMM-Gestures). This allows to show a news description upon an UP gesture and display the full news article upon another UP gesture. With a DOWN gesture the normal news ticker appears and scrolls through the titles. With a LEFT or RIGHT gesture you can manually scroll through the news titles.
Demo on: http://blog.thomas-bachmann.com/2016/02/magic-mirror-2-0-mit-gestensteuerung.html (German) / https://www.youtube.com/watch?v=V8a6UgeoYOU

in my opinion, the default module should stay as generic as possible, for this i would have rather a notification received for show article next and previous and keep all your gestures interpretation in your module, so other modules could use this generic functionality as well

@fewieden @thobach I'm in the middle on this. If @MichMich thinks it's good, then I will approve.

An integration from MagicMirror to outside module this is not generic and I think is not way we need to take.
Have more sense to me add the Gestual feature to MagicMirror instead this.

I made the notification mechanism more generic and suited towards news specific events. Thanks for all your suggestions to make this code cleaner and less coupled.
@roramirez Do you want https://github.com/thobach/MMM-Gestures integrated into MagicMirror itself? I'd consider this an option for future development, but think it's out of scope for this pull request. Thoughts?
Are there any objections to merge this change?

@fewieden Thanks for your review. I addressed all your suggestions - very nice ones ;)
Are there any objections to merge this change?

I'm willing to add the features to the default module since the implementation is generic (using the notification system). But the required notifications need to be documented. Could you add more info to the module's readme?

Also, please send your PR's to develop. not to master.


Read vertical swing mode via REST api?

Hi, I activated the esphome web server by adding this line to my yaml:
web_server:
port: 80
I can now request the status via (http://panasonic-ac.local/climate/panasonic_ac
However the vertical swing state (swing/auto/down/down-center/center/up center/up) is missing.
How can I add this? In web_server.cpp I can (apparently?) only add supported traits to the json. Any way around this?

I don't really use the web server so I can't tell you for certain but I don't set anything to determine what gets exposed to the web interface.
If it's missing it might be an esphome limitation.

Hi and thanks for your reply. I may have figured out another way. I will post the solution here when finished. For now I have the following problem, in the yaml file I have another component that gives me e.g. the new vertical swing mode to set.
Lets say I have the following codeline in the yaml:
str::string newVertSwingMode = data.substr(15).c_str();
I cannot do this:
id(my_climate).set_vertical_swing_select = newVertSwingMode;
my_climate is the same Panasonic ac component as in your example yaml, just with an added ID.
in esppach.h I find this:
set_vertical_swing_select(select::Select *vertical_swing_select)
So this function obviously doesn't accept an std::string like e.g. "down", but wants an argument of type select::Select.
What is the correct way to set e.g. the vertical swing mode of the AC in the yaml file?
I ask for vertical swing mode in particular since the official ESPhome climate component doesn't know about this feature. Setting the target temperature is easy. Vertical swing, not so much...

The vertical swing is a select element in ESPHome (select::Select). The set_vertical_swing_select only sets a reference to that select, it does not set the value.
The value itself is set here: https://github.com/DomiStyle/esphome-panasonic-ac/blob/a55ed6616d56437e2f3a367fb4719e2ff77ad4f6/components/panasonic_ac/esppac.cpp#L103

I see, thanks!

void PanasonicAC::update_swing_vertical(const std::string &swing) {
Is actually declared protected, but I guess changing this to public won't brake anything :D
I'll post my solution when finished, this might be of interest for people who are not using HomeAssistant and want to interface to another smart home system without using MQTT.

I can now read all parameters and set most of them. Setting (writing) the vertical swing mode is still giving me some trouble though, could you give me any pointers on how to do this with a lambda function in the YAML?
I can set the vertical swing mode to auto like this:
auto call = id(my_climate).make_call();
call.set_swing_mode(CLIMATE_SWING_VERTICAL);
However the different vertical swing modes (up/center/down etc) are not configurable using the set_swing_mode function. So what is the proper way to do this?


Proper README.md

Hello,
I've stumbled across this project and I would like to include it in my own project. Could you please provide proper documentation in README.md, how to use this plugin?
Thank you,
Miroslav K.

Hi,
This was a POC a long time ago. Now this feature is included in gradle itself
https://docs.gradle.org/current/userguide/continuous_build.html
So the best is to use the gradle feature.

Well, that's great! It would be good to put this link into README, for future visitors :)

Yes, this is done now ;)

I've just tried it, and it also works for my custom tasks even when I create a new file. Useful feature.


0.9.0-rc3 can't create new databases

Using either the web interface or HTTP POST requests, I can't create new databases.
Using the web interface, on a new installation (new code, no existing databases, etc), with the root user, creating a database returns the following error:
Failed to create database: �	n���V*J-.�))V���VJ-*�/R�R��OWH��/NMQ�����:�E$

Something similar happens when trying a POST request to do the same thing, it also fails, although there's no garbage, and a "log closed" error.
The logs show a 500 HTTP code:
[http] <IP_ADDRESS> - - [24/Feb/2015:17:23:03 +0000] GET /query?db=storage&q=create+database+storage HTTP/1.1 500 60 - InfluxDBShell/0.9.0-rc3 c9e061cd-bc49-11e4-a7fc-b8ca3a5e3760

When using the influx CLI client, I get something similar:
> [influxdb@storstat11 influxdb]$ ~/current/influx
InfluxDB shell 0.9.0-rc3
Connected to http://localhost:8086 version 0.9.0-rc3
> show databases
name	tags	name
----	----	----
> create database storage
ERR: log closed
Warning: It is possible this error is due to not setting a database.
Please set a database with the command "use <database>".
> use foo
Using database foo
> create database storage
ERR: log closed

@hawson did you build this from source or install from a package? also, what OS is this on?

Both source and package.  (golang 1.4, when built form source).  Centos 6.6 in either case.

I had similar problems with rc2 as well.

I think this is resolved as part of #1713


C00CE169 error because of InitialRotationPreference set to "any"

Error	APPX0501	Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 41, Column 25,
Reason (translated from Greek message): The 'any' breaks the constraint of the enumeration of 'portrait landscape portraitFlipped landscapeFlipped'. Analysis of the characteristic 'Preference' with value 'any' failed.
Changing "any" to "portrait" at
    <uap:InitialRotationPreference>
      <uap:Rotation Preference="any" />
    </uap:InitialRotationPreference>

fixed this and so did commenting out the whole block in  too
I had used the visual tool to generate the manifest, so it should take care to not add "any". Maybe if any is selected it can remove or better comment out (with a value of portrait in it) the block for the preference altogether

Hi Giorgio, by visual tool you mean manifoldjs.com generator?  We have this fix in but we haven't deployed it to the site yet, sorry about that.

Still getting this error. As mentioned above, commenting out the <uap:InitialRotationPreference> block will fix the build, after that there were no issues.

Thanks,
We will be deploying change to the server before the end of the month.  Thanks for keeping us updated.

by visual tool you mean manifoldjs.com generator
indeed, I was meaning the website generator


Change steering council language about "ultimately make the final decisions."

When the site was in draft, I complained about this sounding very authoritarian and completely contrary to the sprit of our community, but I was told that this was just temporary placeholder text.  Instead, it went live.
Let's please not have that language anywhere on the site: it sends completely the wrong message to our community.
Ping @ellisonbg.

What's the right language for this? "Take responsibility when consensus cannot be reached"? cc @willingc as well.

A link to the governance docs / repo would be good in that section too. People / companies need to understand that even council membership can be obtained.

Min, I like that way of putting it, but maybe add "Take responsibility for
the decision..."
On Mon, Oct 12, 2015 at 10:17 AM, Peter Parente<EMAIL_ADDRESS>wrote:

A link to the governance docs / repo would be good in that section too.
People / companies need to understand that even council membership can be
obtained.
—
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter.github.io/issues/46#issuecomment-147410980
.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

@cameronoelsen Typo in Steering Council description. Should be "led" in this sentence.
Our team is primarily lead by 10 steering committee members who ultimately make the final decisions.

How about this wording?
Technical decisions are guided by open community discussion.
The steering council (link to governance docs as suggested by @parente), as a representative of the greater community, may make decisions to benefit the project's overall health and strategic direction. BDFL Fernando Perez may take responsibility for making a decision when unusual, and likely infrequent, situations warrant, such as steering council deadlock or a time sensitive response.

I will fix this right when I get back in the office around 11 ☺

On Oct 12, 2015, at 8:05 AM, Carol Willing<EMAIL_ADDRESS>wrote:
@cameronoelsen Typo in Steering Council description. Should be "led" in this sentence.
Our team is primarily lead by 10 steering committee members who ultimately make the final decisions.
—
Reply to this email directly or view it on GitHub.

I like where @willingc is going, thanks! That's precisely what I was looking for, we want to convey that the role of the SC/BDFL is:

primarily one of sustaining and  nurturing a healthy and open community, where participation in discussion is encouraged from all, where new voices are welcome, and where a diversity of opinion and participants is explicitly desired.  We encourage respectful dissent, we value disagreement as a sign of creativity, and we try to steer that community towards better solutions to the many technical and governance problems the project deals with.

only when necessary, do the SC/BDFL act as a backstop if the open community discussion and consensus process falters.

Thank you so much, Carol, for your input.  Great perspective! Sorry to be going offline now, but I think this is going in a great direction, I trust you to find a good solution for now, we can always iterate again in a few weeks if fine-tuning is needed later.
I'm happy if you all close this with some version of the language in this discussion. If later I think it needs tuning, I'll take it upon myself to just open a PR.
Thanks everyone!

ping @cameronoelsen on this, since it's been a couple of weeks.

So do we want to add one or two buttons under the material cards (names of the members on the steering council) that leads outwards to documents describing how we are composed as an organization? As for the supporting subhead, how is this:
"Our team is primarily led by 10 steering committee members who ultimately, when open community discussion and consensus process falters, take responsibility for the final decision."

@cameronoelsen I think @fperez wanted a warmer, more collaborative tone for the Steering Council and Governance sections.

Your suggested wording with minor edits would work for steering council:
"Our team is primarily led by 10 steering committee members who, when open community discussion falters on reaching consensus, take responsibility for the project direction and final decision."

Under Governance -> Decisions, perhaps just use @fperez's suggested wording:
The Steering Council fosters project governance "... as primarily one of sustaining and nurturing a healthy and open community, where participation in discussion is encouraged from all, where new voices are welcome, and where a diversity of opinion and participants is explicitly desired. We encourage respectful dissent, we value disagreement as a sign of creativity, and we try to steer that community towards better solutions to the many technical and governance problems the project deals with."
Perhaps also followed by the existing wording too.
cc/ @minrk @ellisonbg @fperez

pinging @fperez on this one.
When @cameronoelsen and I work on the website, I usually take passes on the actual content and its language. @cameronoelsen tries to fill in the content when he can, but I think he should focus on the visual design and work with us on the content side of things - especially for stuff like this.
@fperez you pinged me on this one at the start and I should have taken a stab and fixing the content myself but it dropped off my radar in my travels. Do you want to me to submit a PR with a potential fix or would you like to do that?


API Key

Hello,
I really appreciate the scale of ToolBench and am interested in executing the tools.
I had filled-up the form requesting the RAPID API key, could you please share one with me?
My email id is<EMAIL_ADDRESS>Thank you,
Xiangyu

Hello, do you receive the API key now?

Hello, do you receive the API key now?

I haven't receive the API key until now.

I haven't receive the API key until now.
My email id is<EMAIL_ADDRESS>Thank you


Update emilyriederer.com.json

I experienced this issue with the current image: https://github.com/cosimameyer/awesome-pyladies-blogs/issues/50
@drmowinckels I remember that we had issues in the past where the image was not PNG/JPG/... . Is there a way to double-check before merging that this issue doesn't happen again when building the website?

Ah, I see - we have the website build :) I think this should answer my question 🙌

Ok, just from looking at the build, it looks like the image won't work - or am I wrong?

Although the build worked well 🤔

@cosimameyer there was a logical error in the action, making the url incorrect. Fixed that now, and previews are looking ok again!
This looks good to go!


3 core matchers

Introduce Core matchers: .is,  .anything  and described-as objects

@Graur looks good

tkank you!

@Graur the puzzle #60 is still not solved.

@Graur the puzzle #unknown is still not solved.

@Graur the only puzzle #60 is solved here.


"Vintilă Vodă", "Bodinești", "Coca-Antimirești", "Coca-Niculești" and "Niculești" are listed in the drop-down menu

Description:
"Vintilă Vodă", "Bodinești", "Coca-Antimirești", "Coca-Niculești" and "Niculești" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Vintilă Vodă" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Vintilă Vodă, BUZĂU (Vintilă Vodă)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Coca-Antimirești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Coca-Antimirești, BUZĂU (Vintilă Vodă)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Coca-Niculești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Coca-Niculești, BUZĂU (Vintilă Vodă)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Type "Niculești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Niculești, BUZĂU (Vintilă Vodă)".


Feature request: Float vectors approximate nearest neighbor search index (ANN)

ArangoDB allows vector data types and similarity calculations such as dot product and cosine similarity.
But brute force vector search is slow and requires high resources, to mitigate the problem ANN algorithms and indexes exists.
Is it possible to add ANN vector search indexes such as HNSW (https://arxiv.org/abs/1603.09320) or IVF (https://github.com/facebookresearch/faiss/wiki/Faiss-indexes)

Any update here?

It's on the roadmap, unfortunately can't give you any ETA right now.


Add pre-built tasks, part 1

I just open the PR as draft so you can see the changes. In this first part I put:

Core changes
The Resolver flow, which sits at the top of the Scheduler (see example)
4 pre-built tasks: CAPABILITY, AUTHENTICATE (PLAIN), NOOP and LOGOUT.

Moved to https://github.com/duesee/imap-flow/pull/172.


RX 570 on Fedora 33 (Linux 5.11 w/o dkms): "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"

System information

OS Platform and Distribution: Fedora 33, Linux 5.11.8-200 (no DKMS)
TensorFlow installed from: rpm repository
TensorFlow version: v2.4.0-rc4-86-gd9cfe09e0d4 2.4.0
Python version: Python 3.8.8 (venv)
GPU model and memory: RX 570

Describe the current behavior
python3.8 -m venv tensorflow
. tensorflow/bin/activate
pip install tensorflow-rocm --upgrade
git clone https://github.com/tensorflow/benchmarks.git
python3 benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py --num_gpus=1 --batch_size=32 --model=resnet50 --variable_update=parameter_server
deactivate
WARNING:tensorflow:From /home/niko/venv/tensorflow/lib64/python3.8/site-packages/tensorflow/python/compat/v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
2021-03-25 19:03:07.999262: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-03-25 19:03:07.999351: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-03-25 19:03:07.999508: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libamdhip64.so
2021-03-25 19:03:08.020832: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1738] Found device 0 with properties:
pciBusID: 0000:10:00.0 name: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]     ROCm AMD GPU ISA: gfx803
coreClock: 1.34GHz coreCount: 32 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 104.31GiB/s
2021-03-25 19:03:08.023187: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocblas.so
2021-03-25 19:03:08.024316: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libMIOpen.so
2021-03-25 19:03:08.039284: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library librocfft.so
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Fatal Python error: Aborted

Current thread 0x00007f2260717740 (most recent call first):
  File "/home/niko/venv/tensorflow/lib64/python3.8/site-packages/tensorflow/python/client/session.py", line 711 in __init__
  File "/home/niko/venv/tensorflow/lib64/python3.8/site-packages/tensorflow/python/client/session.py", line 1596 in __init__
  File "/home/niko/venv/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py", line 3538 in setup
  File "benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py", line 61 in main
  File "/home/niko/venv/tensorflow/lib64/python3.8/site-packages/absl/app.py", line 251 in _run_main
  File "/home/niko/venv/tensorflow/lib64/python3.8/site-packages/absl/app.py", line 303 in run
  File "benchmarks/scripts/tf_cnn_benchmarks/tf_cnn_benchmarks.py", line 73 in <module>
Aborted (core dumped)

OpenCL works fine: https://openbenchmarking.org/result/2103244-AS-ROCM41DAR27
This is the first time I try to run anything which is not OpenCL with the ROCm stack, so I have no idea if other combinations of ROCm/kernel works.
Describe the expected behavior
Runs the benchmark.
Other info / logs
tf_env.txt
rocminfo:
ROCk module is loaded
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    AMD Ryzen 5 2400G with Radeon Vega Graphics
  Uuid:                    CPU-XX
  Marketing Name:          AMD Ryzen 5 2400G with Radeon Vega Graphics
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   0
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            8
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    65864980(0x3ed0514) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    65864980(0x3ed0514) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
    N/A
*******
Agent 2
*******
  Name:                    gfx803
  Uuid:                    GPU-XX
  Marketing Name:          Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          4096(0x1000)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
  Chip ID:                 26591(0x67df)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   1340
  BDFID:                   4096
  Internal Node ID:        1
  Compute Unit:            32
  SIMDs per CU:            4
  Shader Engines:          4
  Shader Arrs. per Eng.:   1
  WatchPts on Addr. Ranges:4
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      FALSE
  Wavefront Size:          64(0x40)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        40(0x28)
  Max Work-item Per CU:    2560(0xa00)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    4194304(0x400000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx803
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

The gfx803 series GPU - RX570, 580, wont get official support any more.
There is a unsolved bug on rocBLAS, since ROCm-3.7. Please refer here : https://github.com/RadeonOpenCompute/ROCm/issues/1265
You can downgrade to ROCm-3.5.1, ROCm-3.5.1 has some issues, too, but easy to sovle.
Or you can patch rocBLAS by yourself, here is ROCm-4.0 version https://github.com/xuhuisheng/rocm-build/tree/master/gfx803
I am working for ROCm-4.1 version.

Sorry, The bug comes from rocRAND, which is not support gfx803 on ROCm-4.1.
Here is the patch : https://github.com/ROCmSoftwarePlatform/rocRAND/commit/467824da5d312315dc97bf3590a1dd95ca0c6c55
And I belive you will meet the rocBLAS gfx803 bug next step.

Hi @darkbasic
Thanks for reaching out.
We are not supporting gfx8 devices anymore with ROCm and so can not comment on this.
Please check for our hardware support section @ https://github.com/RadeonOpenCompute/ROCm#hardware-and-software-support
Thank you.

@ROCmSupport wow in a period of such GPU shortage you're going backwards instead, I have no words...
@xuhuisheng thanks but I use mostly OpenCL ATM, so I think I'll stick with the official packages. I feel sorry for those who I have advised to buy these cards though :(

@xuhuisheng is there anything preventing your fixes to be merged back into the upstream repo? What's the @ROCmSupport stance on this? I understand you won't officially support this, but this is an open source project and if the community wants to take the maintenance burden why stopping them to merge it back?

@darkbasic
Actually, all of patches had been merged. They just cannot released in time. Normally we will wait for two version to see them availiable.
ROCm had dropped official support for gfx803, so they won't test gfx803 on their develop evnironments. And following the release principle, When I start testing the release of new version, the ROCm team had frozon the features of version.
rocSPARSE case

Found rocSPARSE cannot support gfx803 on ROCm-3.9
Find the reason and make a PR https://github.com/ROCmSoftwarePlatform/rocSPARSE/pull/213
ROCm merged the PR
The patch had released in ROCm-4.1.

rocRAND case

Found rocBLAS cannot support gfx803 on ROCm-3.10
https://github.com/ROCmSoftwarePlatform/rocRAND/pull/159
ROCm merged the PR. (First ROCm team didn't want to accept it, but finally they accept it. Thanks very much.)
I guess this patch will release in ROCm-4.3.

In my opinion, the issues on missing gfx803 AMDGPU_TARGETS is easy. The invalid loss value of rocBLAS is hard to find the reason. It is random. And it  may be caused by imcompatible assembly codes and PCIe atomics op?
I am not familiar with GCN assembly or PCIe atomics op, and created an issue for tracing this. https://github.com/xuhuisheng/rocm-build/issues/4 . It is appreciate if anyone give any help. Thank you very much.

Thanks, I'm glad they're merging your patches. Unfortunately that won't solve the issue for anyone who use the binary packages. May I suggest to upload srpm packages to a copr in order to build a gfx803 compatible repo?
That would be extremely easy:

Create an account on https://copr.fedorainfracloud.org/ and name a new repo
Edit the srpm spec file to track a specific version of the source code
Build the packages for all the different versions of RHEL/Fedora on the cloud and automatically add them to your copr:
copr-cli build --timeout 172800 rocm-gfx803 rocm-gfx803.src.rpm

That would also allow to properly support Fedora and get rid of the following hacks:
sudo sed -i 's/^#!.*/#!\/usr\/bin\/python/' /opt/rocm-4.1.0/bin/rocm_agent_enumerator
sudo sed -i 's/^#!.*/#!\/usr\/bin\/python/' /opt/rocm-4.1.0/bin/rocm_smi.py
The biggest problem I can see is that @ROCmSupport doesn't publish the srpm for their packages, any reason why? Isn't ROCm supposed to be open source?


Wrong JOY_getJoypadType(JOY_2) result

What I have (in BlastEm)
PORT1:  PAD6
PORT2: TEAMPLAYER
in TEAMPLAYER's PORT1:  PAD6
(ofc, I enable TEAMPLAYER support on PORT2 manually)
The data reading for JOY_2 DOES NOT WORK ,
so JOY_readJoypad(JOY_2) never returns anything.
The data reading for JOY_ALL reacts on JOY_2 activity and returns its state.
The callbacks WORK FINE for both JOY_1 and JOY_2.
ERROR:
JOY_getJoypadType(JOY_2) returns  JOY_TYPE_UNKNOWN  when it should return JOY_TYPE_PAD6
I suppose it might be a bug for all gamepads connected via TEAMPLAYER or EA 4-WAY PLAYER.
Peace!
UPD:
even the sample\joy-test doesn't show the type correctly.
i think its .bin file is outdated and uses old SGDK...
It shows type "PHASER" for JOY_2

i checked your code.... maybe it is all hw limitation...
or bad emulation.
i just want to count the number of connected gamepads.. and i cannot do it

It would be nice to confirm the issue on real hardware. The code was wrote a long time ago by Chilly Willy and as far i remember he validated against real hardware. Still maybe some devices has not been fully tested.

If it worked before, it could be a regression. If I had to guess, maybe ram isn't being properly allocated, making it bleed into other controller ram data?
I own a multitap I can test this with; team player with "ExtrA" mode. Might test SGDKs implementation later, have other controllers I need to test anyway

Would be cool ti SGDK release had updated sample joy-test rom.bin
It shows current gamepad activity and the detected names of the devices on the screen.
At my side... I added a hacky solution - i listen to all JOY inputs and mark those gamepads which use MODE, X, Y or Z buttons at least once. This hacky solution let me use at least 4 inputs

Mmmmh that issue does rings a bell to me.
see my joy -> player mapping in my code
    if (JOY_getPortType(PORT_1) == PORT_TYPE_EA4WAYPLAY || JOY_getPortType(PORT_1) == PORT_TYPE_TEAMPLAYER) {
        portMapping[0] = JOY_1;
        portMapping[1] = JOY_3;
        portMapping[2] = JOY_4;
        portMapping[3] = JOY_5;
    } else if (JOY_getPortType(PORT_2) == PORT_TYPE_TEAMPLAYER) {
        portMapping[0] = JOY_2;
        portMapping[1] = JOY_6;
        portMapping[2] = JOY_7;
        portMapping[3] = JOY_8;
    } else {
        portMapping[0] = JOY_1;
        portMapping[1] = JOY_2;
        portMapping[2] = JOY_7;
        portMapping[3] = JOY_8;
    }


After I update to NX 16.6.0 all Generators not display any more in Webstorm

Current Behavior
After I update to NX 16.6.0 all Generators not display any more in Webstorm
I created PR with the fix https://github.com/etkachev/nx-webstorm/pull/113
I don't know how to upgrade the version
How to Reproduce

update to NX 16.6.0
open Generators menu in Webstorm

Expected Behavior
To show all Generators options

Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS Catalina
Webstorm version 2023.1.3

The issue come from this file:
https://github.com/etkachev/nx-webstorm/blob/master/src/main/kotlin/com/github/etkachev/nxwebstorm/services/MyProjectService.kt
Lines 74-75
 val defaultCustomSchematicsLocation: String
    get() = if (this.isNx11OrAbove) "/tools/generators" else "/tools/schematics"

In NX version 16 the path to generators are /tools/workspace-plugin/src/generators

I also wanted to let you know about slowly deprecating this plugin in favor for the official one provided by Nrwl: https://plugins.jetbrains.com/plugin/21060-nx-console


Extract CSS at-rules, move descriptors under at-rules

This creates an atrules property in CSS extracts that contains at-rules syntax as suggested in #1028. Descriptors associated with an at-rule (and all selectors are associated with an at-rule in practice) now appear under the at-rule definition.
The new atrules property contains a value property when a formal syntax could be extracted from the spec, and a descriptors array that lists descriptors associated with the at-rule (if any).
Breaking change: The former descriptors property that appeared at the root level of the extract no longer exists. The same info can be found under the atrules property.
This update also adjusts a couple of tests and adds two new tests on at-rules extraction.
The code can only extract the formal syntax of an at-rule if it is defined in a <pre class="prod"> block. That is the case in most CSS specs, but some of the definitions are done in <pre> tags without any class for now (e.g. @counter-style and @scroll-timeline). The specs need fixing or the extraction logic needs to also parse mere <pre> tags (but that seems fragile).
As opposed to the structure proposed in #1028, the list of descriptors is not indexed by the descriptor's name.
For instance, the @container at-rule would lead to:
{
  "@container": {
    "value": "@container [ <container-name> ]? <container-condition> { <stylesheet> }",
    "descriptors": [
      {
        "name": "width",
        "for": "@container",
        "value": "<length>",
        "type": "range"
      },
      {
        "name": "height",
        "for": "@container",
        "value": "<length>",
        "type": "range"
      },
      {
        "name": "inline-size",
        "for": "@container",
        "value": "<length>",
        "type": "range"
      },
      {
        "name": "block-size",
        "for": "@container",
        "value": "<length>",
        "type": "range"
      },
      {
        "name": "aspect-ratio",
        "for": "@container",
        "value": "<ratio>",
        "type": "range"
      },
      {
        "name": "orientation",
        "for": "@container",
        "value": "portrait | landscape",
        "type": "discrete"
      }
    ]
  }
}

Creating the pull request as draft as I still need to run additional tests to make sure that the code successfully extracts all known at-rules defined in CSS specs (or that the specs need fixing).

Marking the PR as ready for review as tests confirm that the code correctly extracts anything that can be extracted (see https://github.com/w3c/reffy/issues/1028#issuecomment-1204187717).


pom: init at unstable-2024-04-29

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Thanks so much @redyf! I should probably tag a release as well

Thanks so much @redyf! I should probably tag a release as well

I'm a huge fan of your work, pom is an amazing tool :smile:


sss

Hi wanghao75, welcome to the wanghao75 Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-A, and any of the maintainers: @nicliuqi , @wanghao75 , @wanghao75

test issue

/kind bug

/kind bug

/priority high

/sig test-label

/remove-kind bug

/remove-kind bug

/remove-kind bug

/remove-kind bug

/remove-kind bug

/remove-kind bug

/kind bug
/remove-kind bug

conflict labels(kind/bug) exit

/assign @wanghao75

/assign @nicliuqi

/unassign @nicliuqi

/unassign @nicliuqi

/unassign @nicliuqi

/unassign @wanghao75

wanghao75 can not be unassigned from this issue. Please try to unassign the assignee of this issue.

/unassign @nicliuqi

/assign @wanghao75

/unassign @wanghao75

/unassign @wanghao75

/assign @wwwwanghao

/unassign @wwwwanghao

/assign @wwwwanghao

/assign @wwwwanghao

This issue is already assigned to wwwwanghao. Please do not assign repeatedly.

/assign @wwwwanghao @wanghao75

Can only assign one assignee to the issue.

/close

test2

/close

/reopen

/close

@dakangsiji you can't reopen it unless you are the author of it or a collaborator.


Grunt failing with sync issue... and how to test the project ?

You need to add grunt-sync-pkg to package.json or run npm install grunt-sync-pkg --save-dev


bug: Individual ion-nav-bar not working

Type: bug
Platform: all
The ion-nav-bar documentation sais, that it's possible to set individual ion-nav-bars for ion-views. See "Alternative Usage" here: http://ionicframework.com/docs/api/directive/ionNavBar/
This doesn't seem to be working.
CodePen here:
http://codepen.io/anon/pen/suzly

Greetings @weeman1337!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


debug_mode breaks training workflow

If we turn on debug_mode, u-training breaks, but only if we have already run estimate_probability_two_random_records_match. We get Binder Error: Table "l" does not have a column named "__splink_salt"
import splink.comparison_library as cl
from splink import DuckDBAPI, Linker, SettingsCreator, block_on, splink_datasets

db_api = DuckDBAPI()

df = splink_datasets.fake_1000

settings = SettingsCreator(
    link_type="dedupe_only",
    comparisons=[
        cl.NameComparison("first_name"),
        cl.JaroAtThresholds("surname"),
        cl.DateOfBirthComparison(
            "dob",
            input_is_string=True,
        ),
        cl.DamerauLevenshteinAtThresholds("city").configure(
            term_frequency_adjustments=True
        ),
        cl.EmailComparison("email"),
    ],
    blocking_rules_to_generate_predictions=[
        block_on("first_name", "dob"),
        block_on("surname"),
    ],
)

linker = Linker(df, settings, db_api)
db_api.debug_mode = True
linker.training.estimate_probability_two_random_records_match(
    [block_on("first_name", "surname")],
    recall=0.7,
)
linker.training.estimate_u_using_random_sampling(max_pairs=1e6)

This is to do with us materialising a table when salting wasn't required, but then trying to access it when salting is required.
I have a weird sense of déjà vu with this - maybe came across it another time in the last few weeks? But couldn't find any other issue, so opening one here.

Took a quick look and haven't got anywhere but this is probably useful when we get more time to have a proper look

Script to help understand debug mode to pinpoint issues
import logging

import duckdb

from splink import DuckDBAPI
from splink.internals.duckdb.dataframe import DuckDBDataFrame
from splink.internals.pipeline import CTEPipeline

con = duckdb.connect()
db_api = DuckDBAPI(connection=con)
db_api.debug_mode = True

# logging.basicConfig(format="%(message)s")
# logging.getLogger("splink").setLevel(1)

sql = """
CREATE TABLE input_data_abc AS
SELECT 'john' AS first_name, 'doe' AS surname
UNION ALL SELECT 'jane', 'smith'
UNION ALL SELECT 'jim', 'johnson'
"""

con.execute(sql)

input_sdf_1 = DuckDBDataFrame(
    templated_name="input_data", physical_name="input_data_abc", db_api=db_api
)

pipeline = CTEPipeline([input_sdf_1])

sql = f"""
select upper(first_name) as first_name from {input_sdf_1.templated_name}
"""
pipeline.enqueue_sql(sql, "input_upper")
# In debug mode, this is run and an output table called 'input_upper'
# is created.

sql = """
select substr(first_name, 1, 2) as first_name_substr from input_upper
"""

pipeline.enqueue_sql(sql, "__splink__output_table")

output_sdf = db_api.sql_pipeline_to_splink_dataframe(pipeline)

output_sdf.as_duckdbpyrelation()

Iirc the issue is basically this:

estimate ptrrm calls _cumulative_comparisons_to_be_scored_from_blocking_rules, which creates concat table, explicitly with salting off
In debug mode this table is materialised (normally this is just in a CTE, so it doesn't matter)
In estimate u we then read this cached table. But we are using duckdb so we expect a salt column, as salting is required, and so we hit an error when we try to reference it.

I think the actual issue should be relatively easy to sort out, but I wonder if a wider change might be warranted. Maybe changing how (or if) caching works when we're in debug mode

One thing (probably separate from that specific issue) is that I think we should be outputting the intermediate tables with a unique name (e.g. with asci_uuid), and then passing them into the next step.  Doesn't feel very robust to physically instantitiate tables with very generic names to the db.

Closed by #2481.


Add Leaflet.IconMaterial plugin

Looks good, but I can't help to feel that it's kinda redundant, given Leaflet.Icon.Glyph :-|
Maybe there's potential for merging those plugins?

In my understanding Leaflet.Icon.Glyph is not SVG but a png, right?

On May 23, 2019, at 18:13, Iván Sánchez Ortega<EMAIL_ADDRESS>wrote:
Looks good, but I can't help to feel that it's kinda redundant, given Leaflet.Icon.Glyph :-|
Maybe there's potential for merging those plugins?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In my understanding Leaflet.Icon.Glyph is not SVG but a png, right?

Yeah, and I can see how the implementation of L.IconMaterial (which BTW should be named L.Icon.Material as per https://github.com/Leaflet/Leaflet/blob/master/PLUGIN-GUIDE.md#plugin-api ) is novel.
My concern is just that there are 4 or 5 marker/icon plugins that do basically the same in different ways, and there should be a way to refactor all that :-|


Handle upgrade to 1.2

TODOs

[ ] Add upgrade instructions in docs
[ ] Check migrations for new instances
[ ] Check migrations for running instances
[ ] Check seeds
[ ] Check installation instructions
[ ] Draft release notes


Google Analytics: add exclusion for Percy diff tool

The code impacted would probably be the following (TODO check if we need to update anything else):
https://github.com/prisma/docs/blob/main/src/utils/stats.js
Related Slack thread
We discovered that when Percy runs a diff, it pollutes Google Analytics by sending events for all the pages it captures, and they do not start with /docs/.
We want to make it so that Percy doesn't trigger Google Analytics events anymore.
Potential solution: do not initialize the Google Analytics script if host.includes('localhost')

Percy happens via https://github.com/prisma/docs/blob/d11dd026ec6efae72094b9fa6db11154f563a775/.github/workflows/ci.yml#L10-L22 We could probably define an env var there that then has as a result that we do not include Google Analytics.


Add New version of weather app with good ui

i wanna add a new version of weather app
Please assign it to me
I'm a participant of LGM SOC-21
@Vishal-raj-1

/assign

@Atif0604 go for it .

@Ankita297 i have made the PR
please review it


Stvk setup

setting up stvk energy, gradient, hessian

example 18 is the stvk energy with BFGS example


Allow trusted facts to be derived from node name

Allow trusted facts to be derived from node name
When using the certless API, Puppet will use trusted facts from PuppetDB unless provided in the request. If the PuppetDB facts were uploaded by the catalog_diff host, the trusted facts in PuppetDB will be for the catalog_diff host rather than the node being evaluated. This allows the trusted facts to be derived from the node name instead of using values from PuppetDB.
Perhaps there is a way to have Puppet store the trusted facts as presented in the facts file being uploaded, but from what I can tell the facts API always replaces trusted facts with data derived from the client cert.

@nabertrand hi! Sorry for the late reply, I somehow missed the PR!


Bugs in Firefox 3.6

In demo page here http://desandro.github.com/imagesloaded/ broken images counter does not work in Firefox 3.6, also I have bugs in FF3.6 in my current project (script assuming that image is loaded before image is actually loaded), but for now I can`t make a proper test case.
upd: I also noticed, that with original script from gist here https://gist.github.com/268257 the bugs from my project are gone in FF3.6 and 10. Still can`t reproduce a bug in a small test case.

It seems that Firefox 3.6 in determining whether an image is loaded or not choose a revolutionary method called Random.
I've tried to find an additional condition for broken images check, like || naturalWidth === 0, but nope, Firefox is holding its dominatrix status and preaching the Random dogma.

After a few minutes with sore ass I've realized that I have no idea how to fix this shit... other than declaring this 7 versions old browser with manners from medieval ages as unsupported :)
This is even worse than old IE versions... and I don't feel like spending another whole evening digging into this issue because of FF 3.6 :(

Thanks for answering!
So because in my project Im actually dont need broken images detection functionality my solution was just to sniff for Firefox 3 and give it an old version of a script from here https://gist.github.com/268257 . While there are still some minor bugs in ff3.6*, the images loaded detection works more or less as expected.
*i.e. it seems like in a set of images with "imagesLoaded" handler on each FF3.6 waiting till ALL this images are loaded before executing their handlers, but not waiting separately for each image and then executing its "loaded" handler right away.

I've dug a little bit into that, and it seems that the issue with premature callback firing is the resetting of src on all images. When we do that, FF 3.6 might trigger load/error event on an image 2 times. First time almost immediately after the reset, and second time when the image is really done with loading... and I don't see any way how to differentiate between them.
So basically, the thing that makes this plugin work everywhere is the same thing that makes it not work in FF 3.6.
Nevertheless, I discourage you from using that old gist, as it has a lot of issues.
...

Change made: Before resetting the src, if ( this.readyState || this.complete ) condition has to be true. As far as I've tested it works, and it is faster! But ... this.readyState is basically an IE check :/ ... which right now has no drawbacks, because even the IE9 is not setting complete to true on broken images that has finished with loading (the main issue why we were resetting all srcs). No drawbacks except the fact that it is a bad practice, and IE might get it right someday, which will render this plugin less efficient than it could be in that particular future version (if they won't drop the readyState property). But at the same time, it makes the plugin faster in every other browser, and compatible with old ones as well.
Damn, that's one attractive bad practice...

Okay, I`ve tested it on my project, and it works fine in Opera 11, FF3.6 (works like old gist) and 10, Chrome latest, IE7-9, and Safari latest.
The bad news: now plugin is broken in Opera 10.63.

What is happening in Opera 10.63? I've just installed portable version, and it works fine for me.
Also, in Firefox 3.6 "works like old gist" means that it triggers callback properly, but doesn't differentiate between broken/proper images?

In Opera 10.63 it does not work with a set of images (did not check with single image) - I have an "imagesLoaded" callback on a set of images in my project, but this callback is never triggered.
In Firefox 3.6 it works as I described earlier, and this is like old gist from here https://gist.github.com/268257 works too:
I have a gallery with multiple images. Each image have an assotiated larger image copy, that needs for "zooming image" functionality. There is an "imagesLoaded" callback on each of these larger images, that should be triggered, when this individual image is loaded (the images are hidden with display: none). In every browser, instead of FF3.6, script waits till each image is loaded individually, and when it does - triggers a callback for this single image right away. In FF3.6 it seems like browser waiting till ALL this images are loaded before executing any of assotiated callbacks for any image, and till then - it just hangs (images pretty large in size and dimensions).
Ive actually only checked "image loaded" detection functionality, but not broken/proper images detection, because I have no test case\page for it, and in my project I dont use it.

That is really weird, because I have a test cases with 100 medium/big images and it works exactly as expected. Can you replicate the issue and put it online somewhere?

I take that back, there is an issue with proper/broken image differentiation in Opera 10.63, but at least the callback is being fired properly (after all images has finished loading).

An imagesLoaded callback does not fire in Opera 10.63, when an image placed within a container with display: none, or image itself is hidden with display: none, here is fiddle: http://jsfiddle.net/ZqYvW/6/

Well, that's a different issue altogether. I don't know what is the correct browser behavior regarding loading of hidden images, but I know that forcing them to start loading is not the point of this plugin. The point is to notify you that they've finished with loading, which in your example works, and you can check it here: http://jsfiddle.net/ZqYvW/9/
The plugin does fire when image has finished with loading, but in Opera 10.63 that starts only after it has been displayed.
So I cannot accept this as an imagesLoaded bug :) sorry.
The only remaining issue I see is what am I going to do about Opera 10.63 firing load instead of error event on broken images. And by looking at its market share... well, it is definitely not a priority :) But it still bugs me...

As far as I know correct browser behavior regarding loading of hidden images is just load image, even if its hidden, even in Opera. And actually current version of the script works fine in Opera 10.63, and fires callback properly on hidden images.

And there is sort of workaround: in Opera 10.63 its possible to show image and immediatly hide it, in this case script will work: http://jsfiddle.net/ZqYvW/13/

Current version is doing hard reset of src on all images, and that probably wakes up the Opera 10.63 to load the image. However, that's what was causing the problems in FF 3.6, so the version on lab.darsa.in resets only the src of already loaded images (cached).
The workaround is nice, but irrelevant to the plugin :) As I've mentioned, forcing hidden images to load is out of scope.
Btw, simpler version would be:
$('.hidden-image').show().hide();

Or perhaps a global terminator style version :)
$('*').toggle().toggle();

But I imagine this would be pretty intensive on complex pages :)

Hmm, I`ve checked this fiddle without imagesLoaded script in Opera Dragonfly and yeah - seems like Opera 10.63 does not load hidden image on initial page load. What confuses me, is that at the same time Opera 10.63 passes successfully this test here: http://www.quirksmode.org/css/displayimg.html
I saw this test earlier in Opera 10.63 and so was sure that it loads hidden images. Turns out that things are more complicated.

I've just spent a few hours trying to fix the issues in Opera. With mad binding magic I've succeeded, but as a side effect it introduced annoying flickering of loaded images in all browsers on each plugin call.
So, out of curiosity, I've checked the exact market share of Opera <11, and the biggest estimate I've found was 0.14% for all versions lower than 11 combined, and that is from December 2011.

I think I'll just double check & push the Firefox 3.6 fix, and respectfully ignore Opera <11 ...

In my country market share for Opera <11 is also low (1.4%), and I could always use some workaround if needed.
Thanks for diggin in, great work!


http server samples

Added two samples:

Serve static files
Basic handler usage

Could you document the use and expected behavior plz? Dunno how the final version of the sample docs will be, but will help a lot.

fixes on https://github.com/solettaproject/soletta/pull/1166


feat: seo improvements for pagination

Description

Fixes #1608

Scope

[ ] Patch: Bug Fix
[x] Minor: New Feature
[ ] Major: Breaking Change

can we keep the original look and feel?

Maybe we should close this one. It's to do with the disabled attribute. I didn't notice in the scenario that we are using disabled on the Button dependent on the currentPage.
The alternative is to style the anchor tag based on the currentPage and conditionally fire the onPrevClick handler. We don't have styling in place for a disabled button though so it would be a case of trying to match it up.

Maybe we should close this one. It's to do with the disabled attribute. I didn't notice in the scenario that we are using disabled on the Button dependent on the currentPage.
The alternative is to style the anchor tag based on the currentPage and conditionally fire the onPrevClick handler. We don't have styling in place for a disabled button though so it would be a case of trying to match it up.

Sounds good - I am okay with closing this. I am following up with the SEO consultant because some of the recommendations seem really hard to follow.

Thanks 👍


misc: improve wsUrl capture

This pull request changed resources/common.js to improve wsUrl capture.

Sorry, but I think this is incorrect.  My understanding is that HOST_PORT is used for overlays that work with both ACT WebSocket and OverlayPlugin.  OVERLAY_WS is only for OverlayPlugin.  As cactbot only works with OverlayPlugin, I think it is correct to only support OVERLAY_WS.
The OverlayPlugin websocket tab (ACT -> Plugins -> OverlayPlugin WSServer) knows which is supported and will generate urls with the correct key.

The OverlayPlugin websocket tab (ACT -> Plugins -> OverlayPlugin WSServer) knows which is supported and will generate urls with the correct key.

WS server of ngld's overlayplugin will automatically add Host_Port parameter when using server url on the internet, no matter what overlay it is.
So an improvement should be launch.

WS server of ngld's overlayplugin will automatically add Host_Port parameter when using server url on the internet, no matter what overlay it is.

I am not sure that I understand this.  When I look at the URL in the OverlayPlugin WSServer tab, it has OVERLAY_WS for cactbot urls.  I do know that the overlay has to be enabled for this to be correct, although I think @ngld said something about changing this lists to include presets, so that it will always be correct.

@DieMoe233 and I are both in a Chinese chat server, sometimes we would talk about ACT things. Based on her given information in that chat server, let me try to explain to you what her thought in English in this PR.

When I look at the URL in the OverlayPlugin WSServer tab, it has OVERLAY_WS for cactbot urls.

As DieMoe said, when you try to add any non-loaded overlay (or webpage) in Overlay WSServer, it would be added the wrong parameter HOST_PORT.
Non-loaded overlay means the overlay which have not loaded in OverlayPlugin, and/or have not registered the EventListener (or subscribed the EventSouces) yet.
So, only if you try to add a "loaded" overlay (added in OverlayPlugin as well as registered EventListener), OverlayPlugin WSServer would generate the correct parameter OVERLAY_WS.
For a English speaker, when he pay attention on ngld's FAQ or document, he would know which the true parameter is. So he would change this parameter to the correct one.
But many of we east Asian don't understand English, when overlay have not displayed expected, they would only come up to search this problem in their own language via search engine.
(Besides, google is not accessible in mainland China, the local search engine Baidu would not show github result on the top.
So, rather than let user has ants in his pants, why don't we directly fix this problem in code?

Hi! Thank you for chiming in.  I am sorry if what I said came off as rude or dismissive, that really wasn't my intention at all.  Maybe there is some solution here to help users not be frustrated or confused, but I am not sure what that is, and I still don't think that it is this pull request.
These are the two options that could print out in Overlay WSServer, depending on whether the overlay has been loaded or not:

ui/raidboss/raidboss.html?OVERLAY_WS=wss://<IP_ADDRESS>:10501/ws
ui/raidboss/raidboss.html?HOST_PORT=wss://<IP_ADDRESS>:10501

(It may say ws:// instead of wss:// depending on whether Enable SSL is clicked, but the result is the same.)
#2 above there will not work correctly.  So, I think this will not solve the problem.
Therefore, I think it is just that there are deeper issues here than just a parameter name.  I agree with both of you that when you have a non-loaded overlay in Overlay WSServer it has the wrong parameter, but more than that, it has the wrong url as well.  You need the /ws on the end of the url to get the "modern api".
Here are a couple of suggestions of other ways to handle this:

Translated error messages, if somebody includes HOST_PORT for cactbot, possibly also add this to ngld/overlayplugin's common.js
Maybe a pull request to ngld/overlayplugin to include both parameters in the Overlay WSServer ui, e.g. ui/raidboss/raidboss.html?HOST_PORT=wss://<IP_ADDRESS>:10501&OVERLAY_WS=wss://<IP_ADDRESS>:10501/ws in the case that the plugin isn't loaded.


README is still based on v0.7.x

The code examples I've tried no longer work in v0.9.x

@jgogstad I see https://github.com/jgogstad/fs2-blobstore/tree/microsite has relatively recent changes (Dec 2021). Is it the latest iteration of microsite work?

I'll try to find some time to work on this hopefully in not too distant future.

Yeah, I intended to have this done a long time ago. Only thing remaining is getting publish-on-release working. Could do that in two steps I guess.
Let me look over the microsite and we can publish that and GHA integration in two steps.


Change identifier property to id

See examples on schema.org e.g. https://schema.org/BreadcrumbList
Also, https://search.google.com/structured-data/testing-tool/ throw error when using "identifier"

This code is automatically generated from the official schema.rdfa file. We don't accept PR's that change auto-generated code, this needs to be solved upstream.
https://github.com/schemaorg/schemaorg/blob/master/data/schema.rdfa


Added support for building different architecture

Parametrized Dockerfile with ARCH build argument¨
Bumped rust version to 1.72

I merged this too fast, you should be careful with multi-layer build and  ARG : https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact