File Manager: Future improvements

To make new File Manager shinier we need to add:

Manage symbolic links - added on 19.20-beta5 (October 03, 2018) https://github.com/authentic-theme/authentic-theme/issues/629#issuecomment-426615864
Extend search with ability to specify user and group, file type (file, directory, symlink) - added on 19.70-beta2 (December 24, 2020) https://github.com/authentic-theme/authentic-theme/commit/4ee8d653134c1c66e87d16bbf1490fcb472da292

To make it more powerful and comfortable to use, lets add some extra functionality:

Ability to diff two files #612

 Movable and resizeable editor windows - added on 18.49 (May 18, 2017)

Image viewer with simple editor functionality; audio and video player  - added on 19.32 (April 28, 2019)

Viewing archives content

Ability to download directory - added on 19.14 (April 26, 2018) https://github.com/qooob/authentic-theme/commit/9f114ace9d262299e02cb877da22e8e9cb588562

Selecting files/directories using wildcard

Calculate and verify checksum of files - added

Split and combine files

Exclude from search given folders - _added on 19.38 (July 20, 2019)

Multi-rename tool

Add multiple uploads - added

Add an option to automatically extract uploaded file(s) - added

Edit/reorder bookmarks (not just delete/add)

In File Manager, when extracting an archive, all files and folders gets root-root. In Java File Manager setting you can select the default user as "same as the directory". Or if you want to change you can do it in the upload dialog. And you also can select "Upload, Extract and Delete file" in one action. #52020  - added

Tree-view - added on 19.10-beta1 (March 18, 2018) https://github.com/qooob/authentic-theme/issues/1066

QuillJS - HTML, rich text editor - added on 19.10-beta4 (February 28, 2018) https://github.com/qooob/authentic-theme/issues/1031

Integrate Disk Usage module

Add text conversion for text editor - added

Add ability to reset column sorting https://github.com/qooob/authentic-theme/issues/1088 - _added on 19.38 (July 20, 2019)

Abort current call, when clicking the other link - added on 19.13-beta2 (April 17, 2018) https://github.com/qooob/authentic-theme/commit/3cdc3ec218384381c9107eed15db4781c21b229c

Add management for password protected archives https://github.com/webmin/webmin/issues/702#issuecomment-378905759  - added on 19.32 (April 28, 2019)

Manage file-size calculations on client-side for already calculated directories https://github.com/qooob/authentic-theme/issues/1136

Add ACLs control https://github.com/authentic-theme/authentic-theme/issues/1229#issuecomment-437895185

Upload directories -- added

Anything else you miss/wish? Please comment below.

Add multiple uploads
Add an option to automatically extract uploaded file(s)

it would be nice to be able to reproduce the tree of directories on the left side, because it allows a quick access.  directories previously opened stay on that state even after retrieving another directory

it looks good but I don't think it gives a good global view about the file on the system
maybe I  just need to get used to

Would it be possilbe that the editor in file manager supports *.XSL files as well?

Yes. I have made an edit for it to be included into default package.
Meanwhile, to enable it now, edit manually /filemin/defaultacl and add to allowed_for_edit:
application-xslt+xml
Afterwards, it will let you edit it.

Would it be possible to, within the theme, hide certain files or folders from appearing to users? Or would this be something to talk to Real-Gecko about?

What do you mean hide from users? Maybe using permissions?

It sound to me like a good feature - "Hide all files that user can't read."

Yeah. So my goal with webmin/usermin is to give end users the ability to manage a single or two file(s) with Usermin>Filemin so they can up/down that file without needing FileZilla or some other client.
I was thinking to use a custom script in the theme editor to hide those rows from the html table but if there is a way to do it in permissions that would work too, because I want to hide files/folders like .usermin type folders or .bashrc type files and only show the file(s) that they should have access too. Does that make sense?

It does but what your trying to do is not designed for File Manager usage.

It might be great to be able to "edit" bookmarks too.  [ not just delete ]
Right now the only (not-so-obvious) option is to edit the .bookmarks file.  This took me a while to find as I have it at /root/.filemin  instead of /home/myusername/.filemin  . . . even though I am logged into Webmin as myusername

Alright, I will add this to to-do as well.

This commit is delivering feature number 2 - Movable and resizeable editor windows
Besides mentioned, the new update will let the user to automatically cascade windows by clicking the key next to the save button:

This button will only appear if there are more than two visible panels. Double-clicking this button will rearrange the windows order, while cascading.
Very comfortable and most powerful now, only with Webmin. :wink: :muscle:

👍 great... until now I had to open more browser tabs and now not needed anymore 🚀 👏 😄

would be possible to refresh a file content without closing it ? eg. put the case you want to refresh a log file from file manager instead of the usual tail on cli...
😉

Sure, will add it tomorrow. 😉

ok! can't wait... 👍 😃 thank you, bye

ops, forgot... would be also great to save "open files config"... eg. you often need x files opened, so you save those files and open all these files with a click on a button...something like this, if possible 😉

@7starsone I didn't understand your last message? Could you try again?

you often need some files opened:
eg.
file1.txt
logfile1
logfile2
...
and so on
so, put it in something like an "open batch file/button"
click on that button to open all those files at a time
like a "files list bookmark"
is that clear now?

You mean like a project in IDEs? 😁

Added dropdown menu with yummy stuff for the editor.

Align Panels Vertically (when the menu is opened hold Alt to see the magic happening. Besides holding Shift will reverse panels arrangement)
Toggle Soft Wrap
Refresh Content
Help (moved away from the top)

Is there anything else you want, folks?

FIXED: Multiple bugs with missing scrolling on collapsed panels, panel focus on clicking it, stand-alone window support and more..

https://github.com/qooob/authentic-theme/commit/f086f2ad9b8bfb2e567c2706d5ed7bd313888425

Added support for creating symbolic links in File Manager.

Google Chrome can't load file manager. demo：https://www.scall.xyz/file.mp4 File management is always loading.
The Firefox browser loads the file manager normally.
Sometimes it is normal, very confused.

Hi,
May be it's done fancy cache issue? Hit Ctrl+Alt(Options)+Shift+Meta(Control)+R.
Is Firefox and Chrome on the same machine? Is the accessed server the same?

Did it solve your issue?

If possible could you please fix better view on mobiles. Either menu more narrow or higher z-index for menu.

That's not bad:

Not sure if this is the right place, but I would like an option to edit file manager settings on filemin. It would be useful to be able to enable/disable the encrypt feature and some other features for the virtual server owners.

@leijonathan It's better to open separate issue.
I don't understand what you mean. What do you mean enable/disable encrypt feature?

Hello @rostovtsev
do you have any ETA about the point number 24 ?
Thank you very much.

I am closing 19.3x branch soon with small bug fixes, and starting 19.4x. There I am adding new mail compose feature, and most likely, new read mail feature and other features, among which could be ACLs for File Manager.
Do you find this feature useful and worth time investments? I personally never had a need to deal with it. What are your real-life examples, when you would need it (just curious). I suppose it could go under existing Permissions modal, in case getfacl/setfacl commands are available and kernel supports it. Does device (fs) needs special acl flag upon mounting or it would just work?

To be honest, I do not use ACL each day, but when I am using it, I prefer a graphical management, it's more clear, but i can deal with CLI.
I use ACL to manage user acces to specific files/folder.
For example many user can have RW acces to specific folder but not the other one.
But if it's not a hard work I would love see this improvement to your file manager :D
If i understand your last sentence, I think it's specific to each fs.
For example, like ZFS, I should specified the correct flag to use ACL. (zfs set acltype=posixacl )

@ochbob Okay, I'll look into it for 19.40 release. :smiley_cat:

+1 for ACL
two other things would be

small view/dropdown to monitor ongoing operations like file-transfers etc.
split/dual-view

Hi,
May be it's sone fancy cache issue? Hit Ctrl+Alt(Options)+Shift+Meta(Control)+R.
Is Firefox and Chrome on the same machine? Is the accessed server the same?

Sorry, I just noticed the news, it is estimated that it is my local country network problem.

@ilinbxu Which country in particular is that?

In China, after I opened the VPN, it was normal.

@ilinbxu Sorry to hear that, and I'm glad you're free from censorship now.

@rostovtsev it would be great if keyboard navigation support could be added to the file manager tree -- this would be very helpful for accessibility users (keyboard only users and screen reader users) who do not use a mouse.  Currently, the tree can receive focus, but you are unable to expand and collapse the tree using keystrokes, and also cannot navigate the tree.  Expected behavior is:

Up/down arrow: vertically navigate the tree
Left arrow: collapse the node your highlight is in
Expand the node your highlight is on

Note by the way that the screen reader can properly announce the name and collapse/expand status of the node receiving focus.
Please let me know if you'd rather I open a seperate issue and link it to this one -- would be glad to do that.

Thank you for your suggestion. I will try to make it possible on the next release.

Zuhair,
I have added this for you promptly. Try installing latest development version of the theme (19.40-alpha2) to give it a try. :smiley_cat:

@rostovtsev that was quick! It is working as expected.  I expected there to be a lag when moving in the tree while the other pain refreshes but it is actually pretty quick!
Thanks!

Is there a reason why double clicking on a file (e.g. public_html/index.html) does not open it or enable a preview / view of it ?

It sounds like possible improvement. I could do it, I think.

Same for right click on file - why do we not have "view" or "preview" option? Only edit

Nobody ever asked for it, so I have never done it. I think it's worth adding it, you're right.

Could it be possible to add drag / drop from right pane to the left main tree?

Umm, I guess it's possible. It will require some work though. Although, isn't it easier, and safer using hotkeys, as Ctrl-C/Ctrl-V (Cmd-C/Cmd-V on Mac) to copy/paste?

I think the reason why I didn't make yellow icon on the tree, is that it would make the tree look clogged.

If possible could you please fix better view on mobiles. Either menu more narrow or higher z-index for menu.

Yes, it's better to use flexbox for it. Latest commit adds it. Have a look.

The more should be done in terms of File Manager controls itself.

Okay, it's better to use flexbox for the whole header. I dropped old table layout and switched to native Bootstrap rows and columns.
Example:

One thing I'd like is when you hit ctrl+F to search, to be able to search the next code/word using the arrow, or by hitting a search button several times.   I have seen the scroll bar with the search result, it's nicely done

One thing I'd like is when you hit ctrl+F to search, to be able to search the next code/word using the arrow, or by hitting a search button several times.

You can already do it by hitting F3 to search forward and Shift+F3 to search back up. It's quite standard, even regular browsers support it nowadays.

I have seen the scroll bar with the search result, it's nicely done

Thanks. :smiley:

Works great indeed, thanks!

the f3 remembers me the search in the windows registry :)

One cool thing would be when you create a file, you have the filename, as it is now, and the editor block   immediately below . instead to create and name the file, then click again on edit it

You mean the newly created object (file or directory) would be auto-focused with the cursor?

of course with your wonderful editor's formatting, and lines number (really missing in the old java file manager)

It's possible, along with adding:

Focus after create new file/folder/rename on the active row
Focus nearby element when deleting
Opening newly created file automatically.

Working on it. It will all be the part of 19.43 release super soon.

The latest commit adds it and few more improvements. Try it with the latest dev version.
Add ability to focus rows in post-actions in File Manager

After file/directory was deleted, the focus will go either to next or previous row
After file/directory was renamed/created the focus will be placed on this row
If file (not directory) was created, the editor will be opened automatically for it

Fixed:

Calculation of file size for files containing HTML
Fix (just a minutes ago) pagination calculations on post-actions

I couldn't try last time I checked because I need a dev version of webmin 1.9.32 I believe.

Well, there is a small mismatch in filesize labels but as far as I remember, it will not fail and will work just fine. You could force install it. You can always downgrade the theme to the needed version, using theme update script from its directory.

ok , I ll try , it's a local server anyway. thank you

I saw what you did, it's slightly different of what I thought,  you create the file and auto open the created file to insert the code. fine, it's a way of doing it.
since I forced the update, I have a weird problem, when I m deep down on the tree of file, if I right click a file it scrolls up alone tp the top

Thanks for the feedback.
I'll take a look tomorrow. It's super late right now.

I have to do release now (19.43). The issue you are talking about will be addressed in 19.43-1, just few days later.

ok
2 notes I have:
I noticed the nice homepage stats, it looks great but it uses quite some cpu
also it could be nice to have either a word wrap in the editor, or even better, to be able to scroll horizontally with the mouse (but that would conflict with vertical scrolling if necessary so..)

There is word-wrap already, just hit Ctrl+Alt+W to toggle it or use top right drop-down. By the way, starting from version 19.43 the word-wrap option will be automatically remembered.
About CPU usage, how much resources does it use? How did you get the data?

oh I see the wrap menu item indeed, very nice, that's a game changer compared to the java editor..

can hit until 20% time to time

Thanks.
You can disable Real-time stats in theme configuration, to decrease the load.

yes, I did,
did also install webmin 32 along with a reinstall of the theme 32 and no more issue with the right click on file

You're right, it didn't work. I at first made this option just to be hostname based and later, hostname/logged in user based and there was a small bug.
Fixed now. Try again please. :)

~~You're right, it didn't work. I at first made this option just to be hostname based and later, hostname/logged in user based and there was a small bug.
Fixed now. Try again please. :) ~~
Wrong thread, sorry!

something that could be interesting would be to copy a path in the breadcrumb path and access it

@campones  I specifically addressed this issue on the previous (19.43) release, as before it didn't work, with mouse click on the button, and only worked, if you hit enter key to submit. Right now, you can do both, what's more important you can paste any valid path in there, even with fancy chars.
Are you sure that you're running latest theme (19.43) version and don't have any stuck cache or anything?

as I said, I downgraded to webmin/authentic 32 because of the previous issue while right clicking, and afaik, there is no webmin 33 deb file so I thought it was be wiser to have same version of webmin and theme

I will take a look at this issue with jumping page on context menu, it's not critical but has to be fixed, I agree.

well it makes the file manager very unpleasant. not sure if the reason is I have webmin 32 and it's not compatible with the theme v33.
do you think it would be possible to make the whole area clickable?  so then it would really behave like browser tabs

v33.
do you think it would be possible to make the whole area clickable? so then it would really behave like browser tabs

Do you mean, when the tab is collapsed, clicking all-over the header of collapsed tab, should normalise it back? (not just clicking an icon on the right)

exactly

Okay, I can do it, along with few other improvements, starting tomorrow.

my feeling about the drop down menu item on the right top head is that it's good for mobile use, but unnecessary for desktop.
The word wrap button, refresh button should always appear on the bar, the "save as" should be a sub menu item of the save button (adding drop down menu to the save button:   main icon (save) > drop down:  save as / save and close).
the goal is to make as many possible with one click .
I think also that there should be some distance between the typical editor functions (word wrap, utf, etc) and the tab management icons  "minimize, close and expand".

I have addressed all mentioned issues on the latest commits. Thank you for your collaboration! :smiley_cat:
About the toolbar - you can disable it in module configuration (cog icon on the top-right) by setting Hide toolbar option to Yes.

Ok. I ll give it a try a bit later

I did force upgrade yesterday and so far, it's working fine,  big up for the cookie wordwrap.
the tabs at the bottom now open by clicking anywhere on the top, as we discussed, but they also disappear from the "taskbar".  I think it would be cool if the tab was still present at the bottom independently the tab is minimized or not.  It would therefore act as any tab in a computer, and clicking again on the header would close/open it.  Well it's just an idea anyway.

I cannot open an m3u8 file, which is a bit weird because it's a plain text file.
also I don't understand how to change the icon, for .mp4 it shows "unknown"  while it could be multimedia or something

Which server OS you are running there?

ubuntu 14 and 18

Make sure to have shared-mime-info package installed.

shared-mime-info is already the newest version.>

Hi there, hope you are fine
look! today I was on the file manager and I got surprised that I couldn't find a top checkbox to select all files in a click . that good be a great addition, for mass delete for example

There is a check mark icon already for doing it? Besides, you could do it by clicking * or + on your keyboard. Additionally, you can choose a first item, hold shift and click on the other item to select a range of files.

oh I saw it now. I think it would be more intuitive if it was next to the icon folder to go up in the folder tree
https://i.gyazo.com/aec220e9dd241b723c272fa44ec1d6f2.mp4
btw you see my .ts file still have no icons

I suggest another feature: Save Workspace.
That means, put the case you want some logs files already opened with a click. At first you open all the text files you want or manually add to a list by file path, then save the workspace and assign any name for reference. Next time you open all the files with only one click.

My other host provides a "view" file option, which opens a window where editing is disabled. This mode prevents unintended changes while facilitating easy inspection of contents. Is that something you guys might consider in a future update?

Yes, adding view option is a good idea. I'll add this to my todo.

My other host provides a "view" file option, which opens a window where editing is disabled.

I am looking into adding "View" option. It would be also nice to have a quick preview of all files, including binary. The only possible tricky problem here is very large files, which should be loaded in chunks, not to crash the browser. If current API allows it, and it won't take way much time, I will do it, otherwise we can just limit the binary file to a certain number of lines on a preview. Another cool feature to have would be a hex editor and diff compare (for diff compare,  I was going to add it a long time ago but always had other things on the project to take care of.
I will work on adding "View" option to File Manager tomorrow and later ACLs as well, before making a new release of theme 19.70.

My other host provides a "view" file option, which opens a window where editing is disabled. This mode prevents unintended changes while facilitating easy inspection of contents. Is that something you guys might consider in a future update?

Okay, latest commit adds first step in previewing any files in File Manager. There are couple of important things missing but it can be tried already.

Warning! At the moment, if you open super large files there are no truncation done on the server side and no loader shown (so it will take some time and might crash your browser's tab. It will be all fixed within next few days with step 2/2).

Okay, final support for file viewer has been implemented. Now you can view any file with any size (requires latest patches for Webmin as well):

Any file can be viewed; for binary files encoding and code highlight select are disabled
Viewed file can be added to favorites
Viewed file can be displayed in 5 different modes:

Default is showing 512 kb of a head of a file
Opened file can be can be easily updated using F2 or Alt+R hotkeys
Both file editor and file viewer have now a footer for displaying status messages on the left and file size and status on the right:

Tip: Try adding a log file with mode Tail and reverse file output, while using F2 for getting changes updates instantly ..

Forgot to mention:

Files can be viewed from command shell, by typing view /etc/hosts or straight from nav menu !view /etc/hosts
While in File Manager clicking F3 will invoke viewer window with default preview options (showing first 512 kb of a head of a file)

Hey, could a mp4 player be added to preview mp4 files?

Yeah, a we have a picture preview already, adding a video preview would make sense. I will add this to my todo.

I would use videojs

I would use videojs

I will take a look. I remember I used mediaelementjs a long time ago for my karateka.org project. Perhaps video.js would be a better fit.

.. and perhaps nothing at all would be needed for a single video preview ..

well videojs is actively maintained, not sure about mediaelement

well videojs is actively maintained, not sure about mediaelement

You won't find anything better than video.js

You won't find anything better than video.js

Okay, thanks, I will have a look and see if it fits. I am going to implement this the same way we do with photos, by gathering all videos from a directory and putting it into a playlist.

The latest commit improves the search capability done using File Manager:
What was added for search:

Ability to limit to user and group while searching
Limit file size - you can use comparison operators, like < or >= or != or == as well as units like KiB or Mb or T for example to search only files larger than 1 megabyte you can go with >1M or >1 Mb or >1MiB or > 1024
Limit file type to File, Directory, Symlink - if directory is selected the file size filter will work on directories too!

Example:

I also added size range file search, which can be used to search files with size larger than and smaller than, like this:
Find all files larger than 3 MiB and smaller than 5 MiB:
>3M - <5M

I have finished work today on the them 19.70-beta3 which adds a new cool feature to File Manager - ability to move files to Recycle Bin, rather than deleting completely.
Explanations on how it works:

By default files are deleted as before (irreversibly - called delete option)

Files now can be moved to trash (called remove option) by doing the following:
2.1. Holding Alt key (Mac Option key) while context menu is opened
2.2. Setting configuration option in module configuration called Delete files safely by moving to the trash to Yes.
       Note: if set to Yes, when holding Alt key, regular, irreversible delete option appear.

Dialog window title, icon and button text, which pops up upon deletion will depend on the mode:

Deleted files when moved to Trash will be placed under user home directory, i.e. ~/.Trash . Permissions on targeted files and directories will be saved. If there is a clash on directories or files found they will be appended with datetime string, like this:

/root/.Trash/home/ubuntu20-pro/public_html-2020-12-31_23:59:59

Looking forward for your suggestions and/or comments.

I wish everyone to have a great holidays and a happy new year!

Wow! Amazing facility, however is possible to locate the .Trash folder in /home instead of /root ?
/root in my case don't have much left space, but /home have a lot, because there are all website.

Wow! Amazing facility

Good to hear! :slightly_smiling_face:

however is possible to locate the .Trash folder in /home instead of /root ?

Well, if files are deleted by the user (server owner) then they will be placed under /home, while if root user is deleting files, then files will be placed to /root because it defaults to home directory. Users without home will use / instead.
What I could theoretically do is to move files to /home/username/.Trash, if files were deleted from virtual server's home by root user (master administrator).
To summarize, right now, it's user based only but I could make it home dependable for virtual servers, the same way we automatically assign ownership to files created by root under virtual server's home.
Honestly I had this idea but I wasn't sure if files deleted by root should be moved under virtual server's home directory instead.
Perhaps adding another option (oh no) to File Manager configuration page, which would let define a single trash directory for all users? Then one could mount a super large drive to /mnt/.Trashed and collect trash for as long as needed?

great work as usual, happy new year!

Wow! Amazing facility

Good to hear!

however is possible to locate the .Trash folder in /home instead of /root ?

Well, if files are deleted by the user (server owner) then they will be placed under /home, while if root user is deleting files, then files will be placed to /root because it defaults to home directory. Users without home will use / instead.
What I could theoretically do is to move files to /home/username/.Trash, if files were deleted from virtual server's home by root user (master administrator).
To summarize, right now, it's user based only but I could make it home dependable for virtual servers, the same way we automatically assign ownership to files created by root under virtual server's home.
Honestly I had this idea but I wasn't sure if files deleted by root should be moved under virtual server's home directory instead.
Perhaps adding another option (oh no) to File Manager configuration page, which would let define a single trash directory for all users? Then one could mount a super large drive to /mnt/.Trashed and collect trash for as long as needed?

 Thank you for adding this suggestion I sent you merely 3 days ago

Upcoming Authentic Theme release will add support for displaying detailed file info, by clicking Alt+Enter or Command + I on a file while using keyboard navigation or calling it from the context menu. File checksums will also be displayed.
Example:

Note: I am looking extending this output with ACLs as well (when supported).

If there is anything missing or you wish to see any extra fields on the output that I missed, please let me know.

When sorting by size the directories will also be sorted by size even if it doesn't know the size of the directories.
I would like to have an option that always keep the directories at top and if it knows the size of the directories it should sort them too, but they should still be at the top.

Good suggestion. Will do.

Fixed.

A very little problem with pop-ups in file manager on mobile phones. Eg. (?) Button and (bookmarks) button.

Duh. Really annoying! Thanks for reporting. I'll have a look.

2. Files now can be moved to trash (called remove option)

Is the recycle bin automatically emptied on a regular basis? This would be a nice feature.
Or does it have to be done manually?
I found the command in the context menu of the trash folder, maybe an improvment would be to include it centrally at the menu bar, for example within Tools? "Empty all recycle bins" or, for risk-averse users: "Purge all data in the recycle bin that is older than one month".
Thank you very much for this great software.

Thank you very much for this great software.

Very welcome! 🙂

Is the recycle bin automatically emptied on a regular basis? This would be a nice feature. Or does it have to be done manually?

At the moment you would have to do it manually but adding a button to do it would probably be a good feature. Although it's not clear what root capable user action would be like -- would you expect it to be deleted for all users (like under /home)
or only for its own home dir?
Also, latest version can do purging trash by right clicking on it and choosing Empty Trash from context menu:

I really appreciate your quick reply.

Also, latest version can do purging trash by right clicking on it and choosing Empty Trash from context menu

I had actually found that earlier, but more intuitive would probably really be a menu button.
I use Webmin as only user and admin on my RPI4, so I'm not representative for an multi-user perspective.
Maybe two options then? "Purge my trash" and "Purge all trash".
I personally will probably than use for automation purging simply a monthly cron task.

Maybe two options then? "Purge my trash" and "Purge all trash".

Good suggestion. I'll think about adding it.

I personally will probably than use for automation purging simply a monthly cron task.

Yeah, this will work too.

@sz00gun A very little problem with pop-ups in file manager on mobile phones. Eg. (?) Button and (bookmarks) button.

This is fixed. Thanks for reporting.

I found the command in the context menu of the trash folder, maybe an improvment would be to include it centrally at the menu bar, for example within Tools? "Empty all recycle bins" or, for risk-averse users: "Purge all data in the recycle bin that is older than one month".

This feature will be implemented in upcoming Authentic Theme 19.91.1 release.
When move to trash option is activated it will be possible for master administrator to purge all trash directories for all users or only own trash directory:

Drooling over #13 "Edit/reorder bookmarks (not just delete/add)"

I will look into adding it before a new theme release.

Hello @iliajie
Any news about #23 ?
thank you !

Any news about #23 ?

Never had a moment to implement ACLs controls. Although, listing been added a while ago and can be enabled in File Manager configuration.

When editing a text file using Webmin’s File Manager on an iPad the focus of input goes to the content filter, preventing me from entering text into the file. This might technically be a bug, but the option to turn off the content filter might be an easy and fast fix that adds more functionality.

Thanks for the heads up. This issue has been fixed on the latest theme 20.22.


update chart to use 1.13.1 and make WATCH_NAMESPACE configurable

Signed-off-by: Christian Hüning<EMAIL_ADDRESS>
What this PR does / why we need it:
Updates chart to use 1.13.1 release by default and make WATCH_NAMESPACE configurable
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #14968

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

@christianhuening please rebase and fix the conflict

/ok-to-test
cc @cpanato

ping

@christianhuening
Could you rebase and fix the conflict please?

@cpanato @batazor
Please take a look this PR. Thank you.

@christianhuening please rebase


WSL2 Performance Issues using python3 (tensorflow)

When i am running a python script with gpu usage (NVIDIA gpu) on ubuntu 24.04 (using the wsl2 system) and turn off the monitor or disconnect my remote session, my calculations slow down significantly. Anybody an idea how to keep the wsl2 session active and gpu performance up? Is there any setting in windows to ensure perfromance?

/question

this might be caused by some power policy configured on the system or GPU settings.


[REST APIs] - Choose a library to interact with Zenodo

[ ] Get familiarised with the different Open Source existing libraries to interact with the Zenodo API

[ ] zenodopy
[ ] zenodo-client
[x] eOSSR
[ ] Any other Zenodo wrapper you might discover

[x] Translate the 'fetch-communities' script into a script using the chosen library

Set up few testing scripts with the chosen library

[ ] Within all the examples, think and implement of a way to ask/request for the ZENODO user token

[ ] Think of a way to manage a return payload with +100 answers.

[x] Search and return any entries with software as a resource type
[x] Search and return entries with different file formats (.txt, and .root, for example)
[x] Search and return entries with medata file

[ ] Get familiarised with the different metadata schemas (@garciagenrique --> convert it to an independent issue)

Something we'll have to address in the future: there's a rate limit for the Zenodo REST API, so we can only get 100 records with each request. This shouldn't be too much of a problem, but something to keep in mind.

Script that returns records with resource type "Software"
Script that returns records with a specified file type
Script that returns records with codemeta.json file

Something we'll have to address in the future: there's a rate limit for the Zenodo REST API, so we can only get 100 records with each request. This shouldn't be too much of a problem, but something to keep in mind.

How does it look and how do you interact with a requests answer containing more than 100 (for example) entries ?

eOSSR selected as the lib to interact with the Zenodo REST API. Added as requirements on #29


Multiple definition of g_ecall_table', g_dyn_entry_table' ..

Hi Mbedtls.
I got issues  when I add libmbedtls_SGX_t.a and libmbedtls_SGX_u.a to my project
[100%] Linking CXX shared library libeu4_crypto_enclave.so ../../enclave/libs/mbedtls_sgx/libmbedtls_SGX_t.a(mbedtls_SGX_t.c.o):(.data.rel.ro.local+0x0): multiple definition of g_ecall_table'
CMakeFiles/Enclave_t.dir/Enclave_t.c.o:(.data.rel.ro.local+0x0): first defined here
/usr/bin/ld: Warning: size of symbol g_ecall_table' changed from 648 in CMakeFiles/Enclave_t.dir/Enclave_t.c.o to 24 in ../../enclave/libs/mbedtls_sgx/libmbedtls_SGX_t.a(mbedtls_SGX_t.c.o) ../../enclave/libs/mbedtls_sgx/libmbedtls_SGX_t.a(mbedtls_SGX_t.c.o): In function sgx_dummy':
/eu4dev/mbedtls-SGX/trusted/mbedtls_SGX_t.c:92: multiple definition of g_dyn_entry_table' CMakeFiles/Enclave_t.dir/Enclave_t.c.o:(.rodata+0x0): first defined here /usr/bin/ld: Warning: size of symbol g_dyn_entry_table' changed from 488 in CMakeFiles/Enclave_t.dir/Enclave_t.c.o to 24 in ../../enclave/libs/mbedtls_sgx/libmbedtls_SGX_t.a(mbedtls_SGX_t.c.o)
collect2: error: ld returned 1 exit status
enclave/CMakeFiles/eu4_crypto_enclave.dir/build.make:123: recipe for target 'enclave/libeu4_crypto_enclave.so' failed
make[2]: *** [enclave/libeu4_crypto_enclave.so] Error 1
CMakeFiles/Makefile2:250: recipe for target 'enclave/CMakeFiles/eu4_crypto_enclave.dir/all' failed
`
CMakefile
`set(MBEDTLS_SGX_LIBRARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libs/mbedtls_sgx)
set(MBEDTLS_SGX_LIB_T ${MBEDTLS_SGX_LIBRARY_DIR}/libmbedtls_SGX_t.a)
target_link_libraries(${UE4_PROJECT_NAME}_enclave
"-Wl,--whole-archive"
${Trts_Library_Name}
"-Wl,--no-whole-archive"
"-Wl,--start-group"
${MBEDTLS_SGX_LIB_T}
"sgx_tstdc"
"sgx_tcxx"
"${Crypto_Library_Name}"
"${Service_Library_Name}"
"-Wl,--end-group"
"-Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0 -Wl,--gc-sections -Wl,--version-script=${version_script_file}"
)
`
Please help me to fix this issue.
Thanks!

There can be many reasons leading to the redefinition of symbols. It's hard to tell by just reading that part of the makefile. But it's unlikely to be an issue with the library, as symbols in question g_ecall_table are generated by SGX edge8r. Is mbedlts-SGX.edl included in your main EDL?

Is mbedlts-SGX.edl included in your main EDL?
Thanks! I forget that. It worked.


Merge SCSS files. Fixes #34.

Let me know if you have any questions.

No questions. Thanks again!


OV2640 How to change JPEG compression quantizer?

I purchased the esp8266 mini V2 shield with OV2640 camera kit. The examples all work fine,but now I would like to change the JPEG quantizer value to be able to change the size of the output file. I looked at the data sheet. Then I wrote different values to register address 0x44 but the image size and quality does not change.
Does anyone have any advice on how to achieve this? Any examples maybe?

Hey,
what about set_JPEG_size ?
myCAM.OV2640_set_JPEG_size(OV2640_1622x1200);

Hi, thx for the reply. Changing the JPEG resolution works fine. Also, I managed to solve the quantizer problem. The issue was that I was using 16 bit address instead of 8 bit. Now it is working.

Few years late, but if anyone is searching then here you go...
yes, Its the Quantization scale you need to change (as you said)
for ov2640 is reg at 0x44
for ov5640 is reg at 0x4407


The license is confusing

I found your licensing rules confusing, do I have to attribute and then state my modifications? Or can I just attribute and then sell the resulting product without stating modifications explicitly.
Also I'd suggest using more agendered terms in your terms and conditions

Hey @PurplePenguin4102 (Nice name by the way 🥇 )
Thanks for your interest in this project!
It is very refreshing to read that you are taking licensing seriously. There seems to be an ever prevalent ingrained culture in my social circles which have a blatant disrespect for the wishes of hard working software authors.
I can understand your confusion with the MIT license; even though it is intended to be simple and easy to follow, the wording gets quite verbose and complicated at times. Having read through the license with gender neutrality in mind, I have decided that it is important to not restrict its use to just people, but rather to avow permission to all.
Secondly, to address your confusion about the license, I will put it this way:


Final updates to metrics and descriptions

Pull Request
Description
This pull request introduces updates to consumer, producer, and cluster metrics along with improvements to the navbar. The changes aim to enhance the user experience and provide more comprehensive insights into system performance.
Changes Made

Refactored consumer metrics calculation for improved accuracy.
Enhanced producer metrics reporting to include additional performance indicators.
Updated cluster metrics visualization for better clarity and interpretation.
Streamlined the navbar layout for a more intuitive navigation experience.

Checklist

[ ] Code follows project style guidelines.
[ ] Documentation has been updated.
[ ] No breaking changes introduced.

Additional Notes
These updates contribute to the overall robustness and usability of the system. Users can now access more detailed metrics, facilitating better monitoring and analysis of system behavior. The changes are backward-compatible, ensuring a smooth transition for existing users.

Changes look great. Keep up the good work, Bryce!


How can I add multiple oracle instances

Hi Team,
How can i add multiple database instances to "database_exporter.yml" file.I observed that it is taking last database connection string if i added like below
data_source_name: 'oracle://XX/XX@XX:1521/XX'
data_source_name: 'oracle://XX/XX@XX:1521/XX'
data_source_name: 'oracle://XX/XX@XX:1521/XX'
data_source_name: 'oracle://XX/XX@XX:1521/XX'
Please help

There are more ways of answering this, so let me try:

SQL Exporter does not support Oracle out of the box. It appears you're using a fork from @corundex, so you should probably ask them.

There is a way to set up SQL Exporter to monitor multiple targets (see this older version of README.md), but you need to be aware of the fact that this causes SQL Exporter to become a single point of failure and possibly be affected by network issues that wouldn't affect a sidecar deployment (one SQL Exporter instance per database, running next to the database on the same machine/VM). You'll also have to use a different Prometheus configuration for monitoring SQL Exporter in addition to the databases.


[Request] Publish dev version of current tensorflow-rocm build (2.14)

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
<IP_ADDRESS>0
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
7900 xtx
Current behavior?
If it possible, can you publish latest dev (nightly) build where this problem is fixed.
( I know it's possible to build package yourself. But i got some problems with it(  )
Standalone code to reproduce the issue
It's easy. Download latest released tensorflow-rocm package for Rocm 6.0 (<IP_ADDRESS>0).
After trying to check available gpu's you will get message
I tensorflow/core/common_runtime/gpu/gpu_device.cc:2015] Ignoring visible gpu device (device: 0, name: Radeon RX 7900 XTX, pci bus id: 0000:03:00.0) with AMDGPU version : gfx1100. The supported AMDGPU versions are gfx1030gfx1100, gfx900, gfx906, gfx908, gfx90a, gfx940, gfx941, gfx942.

It's happening because of mistake with ',' separator in file device_description.h
In current develop-upstream branch it's already fixed)
Also there is already post on amd site https://community.amd.com/t5/discussions/rocm-6-0-0-tensorflow-not-working-on-rx-7900-xt/m-p/657357

Relevant log output
No response

Fixed in #2434


Out of heap serialization and deserialization problems

Hello, the current usage of cache is that we cache tens of thousands of pieces of data first and then out of the heap. When the user accesses, we load the data, which will involve the problem of deserialization. We use kyro, but the function test is no problem. When we use the pressure test tool for pressure test, 20qps can't support it. I want to ask how to solve it. Thank you

GitHub issues should only be used for product bugs and/or feature requests, not for general support issues. You are much more likely to get help with this support issue if you use the ehcache-users google group: https://groups.google.com/g/ehcache-users
You will also need to provide much more information about the workload: (access patterns, configurations, etc.); the environment: JDK, virtualization, hardware, etc.; and what performance or support means in terms of hard metrics, and how they are currently being breached.


Dropdown / Combo Box would be nice to not trigger blur event on mouse selection

Area
UI Components
The problem
When using Dropdown and Combo Box in forms, it's common to set validation during onBlur event to check whether the field is left blank but required, i.e., passing onBlur event to form controls. In current implementation, mouse down event on the list control options would trigger onBlur, resulted a false negative user feedback.
See below example when using them with react-hook-form
https://stackblitz.com/edit/salt-template-h2lymn?file=App.tsx,package.json
The solution
Do not trigger blur event on the main form control when selecting options using mouse.
Alternatives and examples
/
Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

Duplicates #3453


Multiple file sets with different permissions

This enables the display of works with different files sets of differing permissions, if the representative is of a lesser visibility. For example, a non-public representative for a public work. There's some test refactoring as well, and I've also resigned the edit form slightly with headings for each section: required metadata, media, and additional metadata. @mtribone should have a look to check accessibility issues. Here's what the new form looks like:

@awead @mtribone was this reviewed for accessibility?

@cam156 There are accessibility issues with that form, according to the WAVE toolbar, that aren't from @awead's code changes and updates for representative media and the thumbnail. I'd suggest other tickets for those issues.


Update Bunker code to add support for userPubkey that is defferent fr…

…om remoteSignerPubkey

Spent the day refactoring the welshman nip46 implementation, released my own version of this fix. Thanks for pointing it out!


build(elasticsearch): updates elasticsearch client version to enable …

Optum has switched to Elasticsearch 8, and as a result we were seeing 'Error feeding bulk request' in the mae-consumer. However, there was always 200 OK in these error messages, so it appeared that everything was working just that the mae-consumer wasn't able to determine if elasticsearch requests were successful.
To fix this issue, we have enabled compatibility mode in the elasticsearch client, which required upgrading the client to a newer version (7.17.1). We have deployed and tested the changes in this PR in one of our lower environments, now the mae-consumer no longer has these errors and everything is else is also working properly. However we only deployed these changes in one of our lower environments last Friday, so may want to give us some more time to further validate that these changes have no issues before merging to main.
Other than that mae-consumer error log we haven't seen any other issues with switching to Elasticsearch 8.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[x] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Not sure if we can accept this due to the license change with 7.11. https://www.elastic.co/pricing/faq/licensing 7.17 is published under SSPL which is copy-left.

Ah sorry, I wasn't aware of that license change. Unfortunately, the compatibility mode function was added in 7.16, so this PR could probably be closed if the license change is an issue.

Im not 100% sure but it seems like the HLRC on its own is  exempt from the SSPL license? https://www.elastic.co/pricing/faq/licensing#elasticsearch-api-how-affect-me

The HLRC is licensed under the Elastic License (also not an Open Source license):
The Java HLRC has dependencies on the core of Elasticsearch, and as a result this client library will be licensed under the Elastic License
https://github.com/elastic/elasticsearch/blob/v7.17.1/client/rest-high-level/src/main/resources/forbidden/rest-high-level-signatures.txt
We'll have to update to the new Java API Client to avoid this which will require a decent chunk of dev work and testing to make sure it doesn't have compatibility issues with versions of Elastic & OpenSearch community members are running.

Basically it would put us at the mercy of Elastic.co's discrepancy to consider derivative works using the library, which it seems their current stance is:
we do not consider using the Java HLRC as a client library in development of an application or library used to access Elasticsearch to constitute a derivative work under the Elastic License, and this will not have any impact on how you license the source code of your application using this client library or how you distribute it.
but the license itself provides no guarantees of that stance. It would have to be upheld by legal precedent, which feels a bit risky. IANAL though.

Sorry forgot to respond to this. Yes that makes sense you can’t risk ES changing their mind on when to enforce license.
Also agree that migrating to Java API Client seems to be the best path forward, although not a small change as you mentioned

A week ago there was an announcement from Elastic about License and thought of adding it here:
https://ir.elastic.co/news/news-details/2024/Elastic-Announces-Open-Source-License-for-Elasticsearch-and-Kibana-Source-Code/default.aspx


Pairing issue

7 Hi, first of all really an outstanding job you have done!
I have assembled and configured all per your tutorial, all worked great, just the last step, pairing, is not working as I expected.
The remote (Smoove 1) sends the prog command, the shade jogs, all as it should be. But the "Prog" button in the app's "Pairing" screen does not cause any reaction. And consequently, the commands in the app do not work, too.
I double checked the wiring and the fact that the transciever receives as expected (the events from  the remote are logged).
Is there any way to see what is happening on the controller-transmitter side? Do commands go out at all?
Thanks!

Hm. Do I get it right that server.on("/pairShade", []() is commented out in the web server?

Yeah that should be commented out.  It has been deprecated for removal when I get around to refactoring.
Change the settings for RX and TX in the software.  Change the RX setting to the TX setting and the TX setting to the RX.  You likely have GDO0 attached to the RX.

Indeed!!! 😃 thanks man, closing the issue


🌯 Spring Term 2023

Welcome to major work period 3 of the deliberation project, known to outsiders as Spring Term 2023! This is the top-level planning issue. 🙂
Team
@kepstein23
@Alan-Qiao
@sky1113
@yiwei-ellen
@JamesPHoughton
Schedule
Jan 9 - April 30
March 4-12: Spring Break

We will do one-week sprints iterations to keep up our momentum, and keep in better contact with each other. https://github.com/orgs/Watts-Lab/projects/12/settings/fields/2649143
We will meet twice per week. We will plan tasks for the week on Tuesdays at 9am on Zoom, and Thursdays 9 am in person (with food) to do some work together and get past any bugs or issues we need to address before the weekend. We have the conference room reserved from 8:30-12, so feel free to come and make a full working session of the morning.
We will try to run weekly pilots, nominally Monday afternoons. PRs will be due Sunday night, so there is time to merge and test before the pilot.

Goals
1. Demonstrate experiment design-space mapping
The premise of our high-throughput approach to studying deliberation (and our other high-throughput projects) is that (1) the effect of different interventions will vary with context and (2) this context can be formalized and effect sizes mapped. However, we haven't yet demonstrated that we can cover an adaptive experiment design space to allow us to show this context dependency. This goal is to establish a proof-of-concept using a small number of dimensions, that we can then build on to create a higher-dimensional map.
Completing this goal fulfills the objectives of our Phase 1 funding proposal.
To accomplish this goal, we need basic versions of all of the components of the adaptive experimentation loop to be in place. These components will of course be continually improved, and so our emphasis will be on setting up a system with a strong foundation of CI/CD and review processes that will make continual development possible.
2. Listening intervention study with Netta
In this study, we are testing a number of different interventions designed to elicit listening behavior from participants. This collaboration helps us to:

expand the range of experiments that our system is set up to do
work through issues of multi-institution data sharing and ethics approval
improve the relevance of the surveys
to build out our infrastructure for human and automated video coding

3. Discussion structuring (policing) study with Dean, Will, and co.
In this study, we are exploring interventions that structure the discussion by providing intermediate prompts for participants to discuss, and giving them instructions about who should be talking at different times. This collaboration helps us to:

expand the set of interventions we are able to support
establish patterns for data collection and integration between teams

Tasks
The red-shaded components of the architecture diagram below indicate the pieces to be created this term. The blue-shaded components are substantially in place as of Jan 1, 2023.

Major Project Areas
This term we will try to balance the cohort model that we used successfully over the summer with giving each student responsibility for a particular component or research arc that has a coherent set of tasks over the course of the term.
My hope is that each RA will take primary responsibility for a particular section and seek to develop skills in that area, but that the team would continue to support one another's work in a collaborative fashion.

https://github.com/Watts-Lab/deliberation-project/issues/81 @kepstein23
https://github.com/Watts-Lab/deliberation-empirica/issues/389
https://github.com/Watts-Lab/deliberation-empirica/issues/396
https://github.com/Watts-Lab/deliberation-empirica/issues/397
https://github.com/Watts-Lab/surveys/issues/101
https://github.com/Watts-Lab/deliberation-project/issues/88
https://github.com/Watts-Lab/deliberation-empirica/issues/406

Bravo @JamesPHoughton ! So cool to see the progress visualized on your diagram


Integrate promisified bpmn-js

Once we merge https://github.com/bpmn-io/bpmn-js/pull/1311 and ship a new version of bpmn-js we should then await bpmn-js API inside Camunda Modeler since we don't want to have console warnings about callback deprecation.

Closed via https://github.com/camunda/camunda-modeler/pull/1825


Fix assigning ResourceFlavor tolerations during assignment

What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #3721
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/assign @mimowo

/release-note-edit
Fix scheduling of workload which does not include the toleration for the taint in ResourceFlavor's spec.nodeTaints,
if the toleration is specified on the ResourceFlavor itself.

/cherry-pick release-0.9
cc @tenzen-y


Stub script

Especially since emacs is so anal about format/headers in elisp packages, should definitely create a script to stub out test and impl files for exercises, like stub.sh in the Scheme track.

Yeah, for now there's this: https://gist.github.com/canweriotnow/0aed2a2009e8cae06de3
Might be a while before that's done :smirk:


Floating point exception after running test.py for 8 hours

Doing long-duration tests on the BW1097 (Raspberry Pi Compute Module Edition) we I saw this 'Floating point exception' after 8 hours of it running.
On another 12 hour run I did not see it (I ended this run as I needed to do some work with the system and it hadn't yet crashed).

This is being addressed in https://github.com/luxonis/depthai/pull/84  And further refined to have these NaN and Inf sanitized at the C++ library level so that the Python code does not have to deal with them.

Fixed completely in that branch.  Closing this.


Integration of 6T SRAM with the Ibex core

We are trying to use our 6T SRAM design instead of the BRAM for simulation. I understand that we would still need the BRAM to copy the image(vmem or elf) into the memory. My idea is to copy the image into the BRAM and then write it into our SRAM design. I am considering instantiating our SRAM design instead of ram_1p/ram_2p in the RTL design. We are trying to use 1MB SRAM. I need some advice and help to understand the files I need to modify apart from the core files used by fusesoc, on how to load the image into the BRAM and then write it into our SRAM before the start of simulation. Please correct me if I am wrong here.
My Environment

EDA tool and version:
I am using Verilator for simulation and Spike as ISS

Operating system:
The operating system is CentOS 7

Version of the Ibex source code:

This is slightly confusing to me. Your tool/environment description sounds very much like you are at the frontend stage (using Verilator and Spike, and no mention of FPGA tools). In that case, I'd strongly recommend leaving things as they are in the repository. If you are just doing Verilator simulations, the memory implementation won't matter anyway.
Are you trying to use ibex_simple_system.sv and have a physical target (such as an FPGA) and have a 6T SRAM that you wish to use? If so, the easiest first step is probably to use your favoured RAM instead of prim_ram_2p. If you want it to work easily in simulation, you'll have to port the DPI function signatures that are in prim_util_memload.svh. But that's probably unnecessary work: there's hopefully no need to run a Verilator simulation of a processor core to try out a particular RAM implementation...

I encountered the same issue as you. I am currently aiming to tape out a chip using SMIC's 180nm process. I am keeping the ibex core unchanged, but I need to embed SRAM on the chip. I use SMIC's memory compiler to generate the RAM's Verilog and liberty files, but I need to verify whether this SRAM can connect well with the ibex core and function properly. This is because the read/write timing of the SRAM generated by the memory compiler is different from that of prim_ram_2p. The prim_ram_2p can read out data in the current cycle, while the SRAM generated by the memory compiler requires a delay of one cycle to read out data. Therefore, I need to verify whether this SRAM works well; otherwise, I will need to design additional timing control logic.
I want to use the Ibex Simple System for verification. My steps are as follows:

Use the memory compiler to generate SRAM with width=32 and depth=1024*1024/4. By the way, are these parameter selections correct?
Replace prim_ram_2p with SRAM.v and connect the input and output port signals properly.
Compile the Ibex Simple System software to generate the vmem file.
Use ./build/lowrisc_ibex_ibex_simple_system_0/sim-vcs/lowrisc_ibex_ibex_simple_system_0 for simulation verification.

However, the simulation reports errors. It seems that the vmem is not read into the SRAM, and the instructions in the trace_core_00000000.log file are empty, showing INVALID. Is it possible that the SRAM cannot use the $readmemh command to load data? How should I proceed to verify it?

Hi there,
Thank you both for the messages. For this specific problem, I think we're trying to ensure we can actually load up a block of data into memory. I think you've already found the implementation of simutil_memload in prim_util_memload.svh. This is used by some C++ code when it wants to "load a binary blob from a file into an enormous array".
You might have worked this out already, but the way we do it in our RAM primitives is pretty simple. The prim_util_memload task is in prim_util_memload.svh. This gets included into the RAM primitive (e.g. prim_generic_ram_1p.sv) and the code there picks up the mem array that we want to be the target.
For your more specific memory, you're going to have to do something slightly cleverer, but the basic idea should work the same. You can define a DPI task called prim_util_memload. Implement that somewhere that can see your memory model. It will be called with a filename and will have to fill in your memory accordingly.
The simplest approach for the prim_util_memload implementation is probably to make a local array, fill that up with $readmemh (like the existing implementation) and then copy the loaded data into your memory model with a loop.
You'll also have to implement simutil_set_mem and simutil_get_mem analogously (but that will probably be simpler).

Hi there,
Thank you both for the messages. For this specific problem, I think we're trying to ensure we can actually load up a block of data into memory. I think you've already found the implementation of simutil_memload in prim_util_memload.svh. This is used by some C++ code when it wants to "load a binary blob from a file into an enormous array".
You might have worked this out already, but the way we do it in our RAM primitives is pretty simple. The prim_util_memload task is in prim_util_memload.svh. This gets included into the RAM primitive (e.g. prim_generic_ram_1p.sv) and the code there picks up the mem array that we want to be the target.
For your more specific memory, you're going to have to do something slightly cleverer, but the basic idea should work the same. You can define a DPI task called prim_util_memload. Implement that somewhere that can see your memory model. It will be called with a filename and will have to fill in your memory accordingly.
The simplest approach for the prim_util_memload implementation is probably to make a local array, fill that up with $readmemh (like the existing implementation) and then copy the loaded data into your memory model with a loop.
You'll also have to implement simutil_set_mem and simutil_get_mem analogously (but that will probably be simpler).

Thank you very much for your response. I fully understand your point.
I have another question: if I need to tape out an SoC with an embedded Ibex core, how should I initialize the memory? Should I refer to the implementation method in the Ibex demo system and also embed an on-chip debug module (dm_top.v)? Or is there a better method?


graphql.web does not support tree shaking

Describe the bug
Thank you for making great library!
I noticed that unused GraphQL documents are included in the build files when I use gql.tada + urql + Next.js@15.
This behavior is inconvenient when importing files from barrel files as all unused graphql document are built whenever they are used or not.
I think it is due to idx and input variables are defined outside of functions. Although I haven't come up with a good way to fix this yet, I’d be happy to contribute if you agree that it should be fixed.
workaround
We can indicate to the bundler that graphql() is tree-shakable by adding /*#__PURE__*/.
export const unusedQuery = /*#__PURE__*/ graphql(`query unusedQuery { __typename }`)

Reproduction
https://github.com/ktmouk/tree-shaking-gql-web
Package version

<EMAIL_ADDRESS>
Validations

[X] I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
[X] Follow our Code of Conduct

Tree-shaking doesn't do what you assume it does, see for example:

https://github.com/evanw/esbuild/issues/1241
https://webpack.js.org/guides/tree-shaking/

Just because a module is marked as "sideEffects": false, for example, and its imports are unused does not mean that its exports are side-effect free. It means that a module as a whole (in this case the package) can be dropped if it's unused.
However, Rollup would not, for example, perform any analysis of an externalised module, like in your example repo, and determine whether a function is side-effect-free. To go further, even adding comment hints to module code has a really high build performance penalty in most cases, so libraries don't include these a lot (and they're often not taken into account by bundlers in packages anyway because of this)
But to keep it short and to your issue: Rollup does not consider external modules as pure just based on the usage of exports and the sideEffects marker alone, no matter if variables are used or not, see: https://rollupjs.org/configuration-options/#treeshake-modulesideeffects
On a side-note, 0.1.0 is an invalid release version of @0no-co/graphql.web as per the changelog: https://github.com/0no-co/graphql.web/blob/main/CHANGELOG.md


Sample is not documented in glossary

There are metrics like scrape_samples_scraped, but googling "prometheus samples" doesn't really explain what a sample is. There is a glossary:

https://prometheus.io/docs/introduction/glossary/

But it doesn't explain samples either. There is also no explanation of timeseries, but that at least appears in overview:

https://prometheus.io/docs/introduction/overview/

The more narrow issue of the glossary term has been addressed in #1082. In the coming weeks I'll be working to improve our story here more generally.


Force Update

While this app works well generally, I have occasionally (every few days) the problem that a switch doe not pick up on the command it's getting. Suspect it's some RF interference or similar. Hence I would like to resend the same command a few second later just in case. But the LC7001 does not send the command if it believes the status has not changes.
In other words, if the LC7001 thinks the switch is off while in reality it's still on, sending the off command again to the LC7001 will not do anything. Instead I first need send the command to on the switch, followed by an off command.
If there any way to force the LC7001 to send the command even if it thinks the switch is off?

One year on, I have discovered the Issues section of github....
I agree with you that RF interference is probably the culprit.
If you are using the new 1.0.x version of the code, look for this snippet in lib/lc7001.js. If you can add the three highlighted lines of code, you might be able to catch the LC7001 responding that a specific request unsuccessful. That is something I would like to do something about, but I don't as of yet, have any examples to work from. If this does not yield anything, I cannot think of good solutions.
                this.commandQueue.forEach((value, index, array) => {
                    if (value.ID == message.ID) {
                        this.platform.log.debug('Found matching command:', value);

-->                            if (message.Status != "Success") {
-->                                this.platform.log.error('Command returned status:', message.Status);
-->                                this.platform.log.error('Offending command:', value);
-->                            }
this.platform.log.debug('Removing command from Command Queue.');
array.splice(index, 1);
}
});

Okay, I dug into this today. This is what I did and what I concluded from it:
What I did:

Added logic to log any message with a "Status" other than "Success"
Flipped the breaker on my kitchen porch light.
Launched the Legrand Lighting Control app (LCA) on my phone.
Used homebridge-UI to turn the kitchen porch light on.

What happened:
5) Kitchen porch light did NOT turn on.
6) LCA showed light as on.
What I did:
7) Force closed LCA.
8) Relaunched LCA.
What happened:
9) LCA still showed kitchen porch light as on.
My conclusions:
While the RF switches do broadcast whenever they activated by hand to announce they are changing state, they do not appear to confirm remote activation. That, or the LC7001 does not pick up on that confirmation. Three things lead me to this conclusions.
First, if the LC7001 were to confirm the state change, I would expect a "Status" != "Success." The "Success" appears to be that the LC7001 successfully sent the RF transmission. The documentation I have appears to show the only non-"Success" messages are to indicate a non-existent or unavailable switch (zone), rather than a failure of the switch accomplish the desired task.
Second, when I used homebridge to change the light state to 'on' the LC7001 reported that change of state to the LCA on my phone. If the LC7001 were capable of confirming that the light turned on, I would expect it to not inform the LCA of the change of state until it had received that confirmation. Homebridge does not inform the LCA; rather, after the LC7001 makes the internal state change, it sends a message to the LCA. Of course, because the light switch was off, the LC7001's internal state is out of sync with the switch.
Third, when I quit the LCA and reopened, the switch continued to appear to be on. This means that the launching of the LCA did not cause the LC7001 to somehow poll the switches and discover their true state. It simply reported its internal state to the LCA.
What can I do to automate this?
Nothing. Without feedback that a state-change was not successfully completed by the switch, I cannot automatically repeat the command in response to a failure. Polling the LC7001 for status after the command will not yield the necessary information either. The only solution I can think of is to automatically issue all state-change commands twice after a 1-second delay. I do not like this solution and do not think it is worth integrating into the software. It is something you could explore as a custom modification if you thought it would help your situation.
Anything else to explore?
Yes. Because of the way my test system is set up (not connected to HomeKit; use homebridge-UI), it is difficult for me to test scenarios for setting a switch to "on" when it already believed to be on. My plugin is dependent upon being told by HomeKit (read homebridge) to turn the light on. If HomeKit does not send the turn-on command, I cannot do anything. If HomeKit sends the command, my plugin will blindly send it to the LC7001. IF the LC7001 drops the command because it does not believe it would be a change of state, something could be programmed in to issue a "wink" command that turns the switch off then back on in two successive commands.
The logic would look like this:
Get newState from homebridge.
if newState == oldState
set winkState
set newState
This would not be too bad for switches, but dimmers would probably not be good.
This should be an easy test. Homebridge needs to be placed into debug mode (-D option) and see what happens when you ask Siri to turn on a light that is already on. The logs will show whether or not HomeKit issues the set-on command. If it does not, end of test. If it does, you'll have to catch the switch out of state to see if the LC7001 sends the RF signal....unless you have the equipment to detect the RF signal.

Thanks for all the feedback. @sbozarth: This is consistent with my experience. There are fundamentally only 2 ways 2 fix it in my opinion
1.) The LC7001 sends updated to the switch even if it's internal state indicates that the switch is already in that position. That way, things are synced up if they are out of sync. I don't think this code can force the LC7001 to act that way without a firmware change
2.) A firmware upgrade on the switches to confirm command. Unless Legrand allows for firmware upgrades OTA (Over the air from the LC7001), I don't think that's feasible
So I did request from Legrand the source code of the LC7001 to see what I can do, but they did not respond. You may have seen on the LCA app under settings that they offer that option, but as said, no success this far. Did you by any chance get a copy of their firmware?

Thanks for all the feedback. @sbozarth: This is consistent with my experience. There are fundamentally only 2 ways 2 fix it in my opinion
1.) The LC7001 sends updated to the switch even if it's internal state indicates that the switch is already in that position. That way, things are synced up if they are out of sync. I don't think this code can force the LC7001 to act that way without a firmware change
2.) A firmware upgrade on the switches to confirm command. Unless Legrand allows for firmware upgrades OTA (Over the air from the LC7001), I don't think that's feasible
So I did request from Legrand the source code of the LC7001 to see what I can do, but they did not respond. You may have seen on the LCA app under settings that they offer that option, but as said, no success this far. Did you by any chance get a copy of their firmware?


fix: dont send click event to toggle for desktop header

Closes #2591

This change breaks mobile because you can no longer open the menus:

@WittySmirk no it doesnt. this is only changed for the large breakpoint.

@crowlKats yeah mb I messed up the diff and had the pointer-events-none out of the lg scope.


How does dlib face aligment works?

After get 5 face landmarks then use it to do face alignment.I have see a example from:
http://dlib.net/face_alignment.py.html  and face_landmark_detection_ex.cpp in the dlib examples directory.
My question is:

How does this work (align face by 5 points)?

Is there any reference ?

And I use MTCNN to do face detection and landmark(also five points),  I have do face alignment by opencv warpAffine, but it does't work well. And want to ues dlib's method(it works well), But I don't know how to realize it ?
Can you give any suggest?

It just warps the image so the 5 points are in some canonical upright and
centered pose.  There isn't a reference, it's just doing the simple thing
that everyone does for this kind of thing.  Why do you have to call some
function in opencv?  Just call the dlib function.

Thank you for reply, I have solved it by https://stackoverflow.com/questions/26279853/how-to-store-all-the-pixels-within-a-rotatedrect-to-another-matrix/26284491#26284491 this method.
The reason for why I use opencv, because I use MTCNN caffe to do face detection and landmark, so I can't introduce dlib.
The method MTCNN detect face much more accurate the dlib's method.
Does you have any plan to realize MTCNN by dlib for face detection?

Have you tried the CNN face detector in dlib?  It's much more accurate than dlib.get_frontal_face_detector().

Yes, I have tried it, but it is less accurate than MTCNN a good caffe implement can be found here

I am sorry for writing in the closed issue, but was just curious.
When we are doing alignment we are not actually running any face detector? We are just doing the extraction of 5 feature points on the face which will be aligned?
Because you mentioned the CNN face detector, so I am wondering.

You are finding a face, determining its orientation, and then cropping out an appropriately rotated image.


MAINT: backport version pins

improve longevity of source builds of 1.6.x series
by backporting the changes described in gh-12862 and
cap build-time/run-time dependency upper version bounds

@rgommers you may want to check this since it is my first time trying to cap the version bounds (assuming you want to start doing this with 1.6.x instead of 1.7.x)

Ok, I've pushed in the revisions. If CI remains green I'll merge


Improve README warning about IntelliJ 2020.1

Reformatted markdown, added separating line and emojis for more readability of the warning about IntelliJ 2020.1 incompatibility bug

Thank you very much @glebocki !


Fix tray filtering and reporting

Fixes issues mentioned in #41 and adds more tray types.

@OzGav feel free to have a look at the changes made here. I adjusted the code for the new trays such that optimally little to no change will be visible in the Home Assistant interface.

Thanks Neils,
I am trying to compare the HA code to your code as well. I note the HA code has up to 6 trays. This code only goes up to 5. I don't know who is correct, that is, what is the maximum number of trays that a Samsung printer can support?
Besides that it appears ok to me. My Python isn't that great though... The original issue that triggered this is that the HA integration currently reports UNKNOWN for all trays. In the HA code what is this doing self._state = self._attributes.get("newError")


ESP32-C6 async Executor not sleeping

Bug description
When yielding from an async task, the power consumption stays constant (~30mA). From the descriptions on the docs, I would have thought that the executor puts the ESP to sleep while there is nothing to do, but apparently, this does not happen.
A minimal example that calls rtc.sleep_light() works however, it reduces consumption to 6mA.
Now this might be a misunderstanding, maybe I am supposed to manually sleep and wake the chip, but that doesn't sound correct to me since that is basically equivalent to writing my own async executor (right?).
Given that the sleep support for the C6 was added only recently, is this maybe just a missing feature? I'm happy for any hint where to look next :)

To Reproduce
Measure the power consumption while running this code:
#[embassy_executor::task]
async fn run(io: Io) {
    let mut led = Output::new(io.pins.gpio7, Level::High);
    loop {
        led.toggle();
        Timer::after(Duration::from_millis(5_000)).await;
    }
}

#[esp_hal_embassy::main]
async fn main(spawner: Spawner) {
    esp_println::logger::init_logger_from_env();
    let peripherals = esp_hal::init(esp_hal::Config::default());

    let timg0 = TimerGroup::new(peripherals.TIMG0);
    esp_hal_embassy::init(timg0.timer0);

    let io = Io::new(peripherals.GPIO, peripherals.IO_MUX);
    spawner.spawn(run(io)).ok();
}

I see a power draw around 30mA with the LED off and 32mA with the LED on.

Expected behavior
I would have expected power draw to decrease significantly between the wakes to a level comparable to the 6mA I measured when manuall calling sleep_light().
Environment

Target device: ESP32-C6
Crate name and version: esp-hal 0.21.1, esp-hal-embassy 0.4.0

Thanks for noticing this, the executor is not meant to sleep currently.

Hi @bugadani, thanks for the prompt answer. May I ask what is the best way forward if I want to write a low-power application? I thought of sleeping in an async task, but one would have to "guess" a good duration then? Is there an obvious choice, or should I basically use a different chip for that?

You can try copy-pasting the executor implementation, add the light sleep call and see if it's still working for you. We're not doing this because it takes quite a bit of setup to enable light sleep and low power applications aren't our focus at this moment, but someone experimenting in this area would be helpful.


[SPARK-17284] [SQL] Remove Statistics-related Table Properties from SHOW CREATE TABLE

What changes were proposed in this pull request?
The statistics-related table properties should be skipped by SHOW CREATE TABLE, since it could be incorrect in the newly created table. See the Hive JIRA: https://issues.apache.org/jira/browse/HIVE-13792
CREATE TABLE t1 (
  c1 INT COMMENT 'bla',
  c2 STRING
)
LOCATION '$dir'
TBLPROPERTIES (
  'prop1' = 'value1',
  'prop2' = 'value2'
)

The output of SHOW CREATE TABLE t1 is
CREATE EXTERNAL TABLE `t1`(`c1` int COMMENT 'bla', `c2` string)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES (
  'serialization.format' = '1'
)
STORED AS
  INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
  OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION 'file:/private/var/folders/4b/sgmfldk15js406vk7lw5llzw0000gn/T/spark-ee317538-0f8c-42d0-b08c-cf077d94fe75'
TBLPROPERTIES (
  'rawDataSize' = '-1',
  'numFiles' = '0',
  'transient_lastDdlTime' = '1472424052',
  'totalSize' = '0',
  'prop1' = 'value1',
  'prop2' = 'value2',
  'COLUMN_STATS_ACCURATE' = 'false',
  'numRows' = '-1'
)

After the fix, the output becomes
CREATE EXTERNAL TABLE `t1`(`c1` int COMMENT 'bla', `c2` string)
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'
WITH SERDEPROPERTIES (
  'serialization.format' = '1'
)
STORED AS
  INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
  OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION 'file:/private/var/folders/4b/sgmfldk15js406vk7lw5llzw0000gn/T/spark-74058a6d-db8b-41c1-9bda-bd449f1a78ed'
TBLPROPERTIES (
  'transient_lastDdlTime' = '1472423603',
  'prop1' = 'value1',
  'prop2' = 'value2'
)

How was this patch tested?
Updated the existing test cases.

Test build #64560 has started for PR 14855 at commit ce8e8b8.

Test build #64560 has finished for PR 14855 at commit ce8e8b8.

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

Merged build finished. Test PASSed.

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

cc @hvanhovell @cloud-fan @liancheng @yhuai Thanks!

Where do we need the hive table statistics properties? If nowhere, I think it's better to filter them out at the very beginning, i.e. HiveExternalCatalog

Another example is ALTER TABLE. Basically, we retrieve the original table properties and then modify the existing CatalogTable and then put it back.
https://github.com/apache/spark/blob/f7c9ff57c17a950cccdc26aadf8768c899a4d572/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala#L238-L246
How about hiding them in HiveClientImp? Like what we did for EXTERNAL and comment in the table properties? The advantage is to leave the others unaware of the existence of these Hive-specific attributes.

sgtm, do we need to retrieve the statistics properties in HiveClientImp before alter a table? Can hive metastore automatically fill them?

Will try it.
My current solution is to first retrieve the table properties and fill these Hive-specific properties (if not set by the callers) before issuing the command to Hive. Will do it tonight. Thanks!

This PR is part of another PR https://github.com/apache/spark/pull/14971. Close it now.


Segmentation Fault when trying to get cli version

Was wondering if anyone could help me with running the CLI on Ubuntu Server 20.04.4 LTS when running the following this error occurs.
$ cm-rgb-cli version
V1.01.00
python3: io.c:2115: handle_events: Assertion `ctx->pollfds_cnt >= internal_nfds' failed.
Aborted (core dumped)

I can see that issue originates from libusb.
There are related issues https://github.com/signal11/hidapi/issues/397
But no ready to use solution as of yet.

Also, when something like cm-rgb-monitor is already running, cm-rgb-cli complains about not being able to access the usb device and spews out lots of stuff but no version.

@dominalien
It tries to read firmware version from the device itself, that's why it fails.


UserAPI/GetByName & UserAPI/GetByID Issue

i dont know only just me but i getting issues with his API, what is finds user just fine, but when i find user and if they offline says is friend true, but when come online makes world / isfriend blank, example
isfriend: false = If user is Friend from offline and sets to true but when online sets to false.
and same goes world when offline says offline but when online says world: "" <-- Blank info
and i dont know only just me getting that issue or anyone else getting it too
im using Postman for find paths im looking for, then after i find paths then going embed all this to nodejs(Discord.JS Private BOT of mine)
only find this issue from Postman self

If you find the problem if Postman, it's postman's fault, otherwise it's the API's fault, either way, can't do much.

well post man works fine, just i think its API side. but thing is i not sure is it postman issue or is it VRChat backend API issue

by the way, ik bit off topic too is i dont have Member role on Discord Server. like Tatsumaki never give me it so i cant message on server or anything just heads up on that too.
since my DMS disabled, i cant even DM you lot anyways.

Well API working back to normal, so going closed this Issue now for you lot.


Duplicate tag in fuzzer 047

on current master (commit 693c621e9640589138683273c395c2a0f12d993e). Fuzzer 047 produces duplicate tags:
WARNING: got duplicate tag HCLK_IOI3.HCLK_IOI_LEAF_GCLK_BOT1.HCLK_IOI_CK_IGCLK6
  Orig line: HCLK_IOI3.HCLK_IOI_LEAF_GCLK_BOT1.HCLK_IOI_CK_IGCLK6 27_184 31_189
  New line : HCLK_IOI3.HCLK_IOI_LEAF_GCLK_BOT1.HCLK_IOI_CK_IGCLK6 27_184 31_184 31_189

I believe this is related to the fake that 000 was missing an hclk_ioi3 entry.  Potentially fixed in #985

Seems #985 fixed the issue. Closing.


Create a "not-button" visual state.

To ensure we can use spacing elements that conform to the same sizing standards as buttons (for example, for pagination [...] ellipsis elements, we need a totally transparent button, using following spec:
.not-button {
  color: #404040;
  border-color: transparent;
  background-color: transparent;
}

This is now obsolete, due to a total rewrite of the pagination rendering. See 54273e3a1193b64e3e36dfe72b896daebd4de3b2 for details.


System emoji messes with the character spacing

Examples:

Plus, the emoji aren't replaced in the text editor:

Gonna see if I can find the cause, but I recommend reverting to Twitter's for the time being.

I'll take a look at the spacing issue, seems to be fairly easy to address. Regarding replacing the emoji in the text editor, I've created a new issue for that. If you have any feedback, please, post on #31 instead. :)


Fix almost invisible faces in notmuch mail (doom-solarized)

Mail header and cited text is barely visible, the suggested colours are better.
Thanks.

Would you mind providing before and after screenshots?

Yes.
Before: https://i.postimg.cc/vBG1TvwB/Screenshot-2020-05-08-at-11-58-05.png
After: https://i.postimg.cc/44LK4tLf/Screenshot-2020-05-08-at-11-59-54.png

Looks good to me, thanks!


Weird identation at section Parameterless constructors and field initializers of article Structure types

The second example of the section "Parameterless constructors and field initializers" in this article "Structure types" of the Language reference has weird identation.

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

ID: d9220116-e950-04cf-b6d5-70d15a084a22
Version Independent ID: 0960802e-80c3-cb56-cb8b-ab1f1b20fb4e
Content: Structure types - C# reference
Content Source: docs/csharp/language-reference/builtin-types/struct.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for raising this @bottle2
I opened a PR to address this.


Allow CPU bursts for Node-RED pods

Epic
No response
Description
As an: administrator of FlowFuse
I want to: allow CPU bursts
So that: the user gets to use FlowFuse / Node-RED faster and the server has higher CPU utilization
Acceptance Criteria
No response

https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/ just to be aware of.


InjectedJavascript doesn't work properly on Windows

Bug description:
The injectedJavascript props doesn't work properly on Windows, so any script i put in it doesn't work...
I really need this functionnality, because without it, it can't work properly

To Reproduce:
Just put a regular function like sending a message to the React native side
And see, that nothing is executed

Expected behavior:
Message should be sent to the React native side

Screenshots/Videos:

Environment:

OS: Window
OS version: 10.0.19044
react-native version: 0.70.2
react-native-webview version: 11.23.1

injectedJavaScript  is not supported on Windows.
Example has this kind of postMessage in use
https://github.com/react-native-webview/react-native-webview/blob/c14dcc2617429ca53b91de18eac07ed7b119c239/example/examples/Messaging.tsx#L54
I inject this js into WebView window.postMessage = function(data, origin) { window.ReactNativeWebView.postMessage(String(data)); }; calling this.webViewRef.injectJavaScript()
and send message injecting message using my helper getInjectableJSMessage via this.webViewRef.injectJavaScript()
export function getInjectableJSMessage(message: any): string {
  return getSafelyInjectableJs(
    `(function() {document.dispatchEvent(new MessageEvent('message', {data: ${JSON.stringify(
      message
    )}}));})();`
  );
}


"Trying to access a resource when its not loaded" error

I have the 1.0.0 beta of BSF up and running. So far, anyway. I've decided to try and make a game with it and see how far I get. I was thinking I'd scale the game as BSF scaled. Here's my source code layout:
total 114
drwxr-xr-x   9 ethin Administrators  8192 Aug 27 13:39 .
drwxr-xr-x 125 ethin Administrators 65536 Aug 26 16:35 ..
-rw-r--r--   1 ethin Administrators  2016 Aug 27 23:45 CMakeLists.txt
-rw-r--r--   1 ethin Administrators  3205 Aug 26 14:28 Findbsf.cmake
drwxr-xr-x  22 ethin Administrators  8192 Aug 26 21:00 boost
drwxr-xr-x   5 ethin Administrators  4096 Aug 26 19:39 bsf
drwxr-xr-x  10 ethin Administrators 16384 Aug 27 23:50 build
drwxr-xr-x   2 ethin Administrators  4096 Aug 27 23:21 include
drwxr-xr-x   2 ethin Administrators     0 Aug 27 11:10 libs
drwxr-xr-x   2 ethin Administrators     0 Aug 27 23:19 src
drwxr-xr-x   8 ethin Administrators  4096 Aug 27 11:13 tolk
My source code, in regards to headers and source files, is as follows:

include:
** audio.hpp
** bsAll.hpp
** menu.hpp
** tinyfiledialogs.h
** vars.hpp
src:
** audio.cpp
** menu.cpp
** svm.cpp
** tinyfiledialogs.cpp

The error is:
Banshee Engine Log
System information
Banshee version: 0.4
OS version: Windows 10 64-bit
CPU vendor: GenuineIntel
CPU name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
CPU clock speed: 2904Mhz
CPU core count: 4
GPU #0: Intel(R) HD Graphics 620
GPU #1: Microsoft Basic Render Driver
Log entries
Type
Description
Warning
Attempting to open a file that doesn't exist: c:\Users\ethin\source\svm\build\Data\Raw\DataList.json
in class std::shared_ptr __cdecl bs::FileSystem::openFile(const class bs::Path &,bool) [c:\projects\bsf\source\foundation\bsfutility\private\win32\bswin32filesystem.cpp:280]
Error
A fatal error occurred and the program has to terminate!

Error: InternalErrorException
Description: Trying to access a resource that hasn't been loaded yet.
In function: void __cdecl bs::ResourceHandleBase::throwIfNotLoaded(void) const
In file: c:\projects\bsf\source\foundation\bsfcore\resources\bsresourcehandle.cpp:123

Stack trace:
0x140730078320230 Module[bsf.dll]
0x140730088975750 Module[bsf.dll]
0x140730093412902 Module[bsf.dll]
0x140730093402630 Module[bsf.dll]
0x140730093396975 Module[bsf.dll]
0x140730102518884 Module[bsf.dll]
0x140730102730926 Module[bsf.dll]
0x140730102731319 Module[bsf.dll]
0x140730101527136 Module[bsf.dll]
0x140730102534650 Module[bsf.dll]
0x140730102535386 Module[bsf.dll]
0x140730102411952 Module[bsf.dll]
0x140730102540215 Module[bsf.dll]
0x140730103349638 Module[bsf.dll]
0x140730102539795 Module[bsf.dll]
0x140730103451870 Module[bsf.dll]
0x140730103452686 Module[bsf.dll]
0x140730102167918 Module[bsf.dll]
0x140730104743111 Module[bsf.dll]
0x140730094906204 Module[bsf.dll]
wWinMain() - 0x140702629652973 File[svm.cpp:45 (0)] Module[svm.exe]
invoke_main() - 0x140702629705037 File[exe_common.inl:123 (0)] Module[svm.exe]
__scrt_common_main_seh() - 0x140702629704708 File[exe_common.inl:283 (5)] Module[svm.exe]
__scrt_common_main() - 0x140702629704398 File[exe_common.inl:326 (0)] Module[svm.exe]
wWinMainCRTStartup() - 0x140702629705177 File[exe_wwinmain.cpp:17 (0)] Module[svm.exe]
0x140732045406260 Module[KERNEL32.DLL]
0x140732084589617 Module[ntdll.dll]
I've bundled all the source code into a tar file at https://drive.google.com/file/d/15Lsy-OVIyHFuFmH8mHAmXHZEO6U-DN2P/view?usp=sharing. I've excluded boost, though -- you'll need 1.68.0 (you can alter if you like). A compiled executable is provided tough, with debugging symbols and all. I'm quite confused with this one. I'd use visual studio but it tries compiling for 32-bit and I can't figure out how to force CMake to generate 64-bit-only targets.

I just had the time to have a quick peek but I assume one of the resources you are importing fails to import. Possibly due to its file not being found due to working folder being different or something along those lines. I'd re-check the file paths.

If you can get me a call-stack with file names/lines I can probably be more helpful.

I think I've solved it. Its the warning ("Attempting to open a file
that doesn't exist:
c:\Users\ethin\source\svm\build\Data\Raw\DataList.json
in class std::shared_ptr __cdecl bs::FileSystem::openFile(const class
bs::Path &,bool)
[c:\projects\bsf\source\foundation\bsfutility\private\win32\bswin32filesystem.cpp:280]").
Its trying to load the GUI widget pictures but can't. I'll try adding
in the .json files again, but last time I did that it introduced
absurdly long loading times that were ridiculously high. Would that be
because its a debug build?
On 8/28/18, Marko Pintera<EMAIL_ADDRESS>wrote:

I just had the time to have a quick peek but I assume one of the resources
you are importing fails to import. Possibly due to its file not being found
due to working folder being different or something along those lines. I'd
re-check the file paths.

If you can get me a call-stack with file names/lines I can probably be more
helpful.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/GameFoundry/bsf/issues/191#issuecomment-416708957

--
Signed,
Ethin D. Probst

Yep, fixed it. One more question, unrelated to this issue, but still
(IMO) relevant to BSF: how would I go about making it possible to use
the keyboard and gamepad with the GUI? For example, my menu class
defines a GUI with a GUILayoutY, a list box with menu options, and two
buttons. In the stable version I don't have the GUINavGroup. How would
I implement this functionality without having to entirely rewrite the
GUI display system?
On 8/28/18, Ethin Probst<EMAIL_ADDRESS>wrote:

I think I've solved it. Its the warning ("Attempting to open a file
that doesn't exist:
c:\Users\ethin\source\svm\build\Data\Raw\DataList.json
in class std::shared_ptr __cdecl bs::FileSystem::openFile(const class
bs::Path &,bool)
[c:\projects\bsf\source\foundation\bsfutility\private\win32\bswin32filesystem.cpp:280]").
Its trying to load the GUI widget pictures but can't. I'll try adding
in the .json files again, but last time I did that it introduced
absurdly long loading times that were ridiculously high. Would that be
because its a debug build?
On 8/28/18, Marko Pintera<EMAIL_ADDRESS>wrote:

I just had the time to have a quick peek but I assume one of the
resources
you are importing fails to import. Possibly due to its file not being
found
due to working folder being different or something along those lines. I'd
re-check the file paths.

If you can get me a call-stack with file names/lines I can probably be
more
helpful.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/GameFoundry/bsf/issues/191#issuecomment-416708957

--
Signed,
Ethin D. Probst

--
Signed,
Ethin D. Probst

You could use normal input handling, GUIElement::setFocus() to change the focus, and GUIElement::getBounds() to determine the next element to set focus on.


Pagination: dynamic current page

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
DO NOT MERGE YET. NOT READY.

📦 Published PR as canary version: 20.39.4--canary.834.269c9b07e4861c282a047ce541d5eefe484dc8d8.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

also here: please add label

Please make sure to put the correct PR label

Open a new PR when ready to work on this Issue.


Finalize values for line height variables

The remaining item for issue #21 was to finalize values for line heights.
After discussion with @kybaker and @jennyhaines, we settled on two sizes: 1.3 and 1.5, with 1.3 only being used (at least currently) for heading levels 1 and 2.

closes #21

Deploy preview for pf-next ready!
Built with commit db976378dad85677636bbb9c6dd3009e7ed3492e
https://deploy-preview-204--pf-next.netlify.com

Thanks!!


BUG: no volume slider control over brave browser

all apps work and can be volume adjusted in the mixer except for brave browser. The slider moves up and down but does nothing to the level of this app
running M1 Mac on latest Ventura
interface: NI Traktor A6. no difference with other devices

Hey there, thanks for reporting this.
Please try this Pre-release v1.7.3: https://github.com/bitgapp/eqMac/releases/tag/v1.7.3
I have changed the Audio Client calculations, this may have fixed the issue you're experiencing!

Hi, it seems it fixed the issue but I get random crashes when pause/playing in Brave now. Here are two crash reports.
￼￼

Am 30.01.2023 um 03:22 schrieb Roman Kisil @.***>:
Hey there, thanks for reporting this.
Please try this Pre-release v1.7.3: https://github.com/bitgapp/eqMac/releases/tag/v1.7.3
I have changed the Audio Client calculations, this may have fixed the issue you're experiencing!
—
Reply to this email directly, view it on GitHub https://github.com/bitgapp/eqMac/issues/786#issuecomment-1407892793, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4M2H6MAF6DLPV7VMFR7GB3WU4QVFANCNFSM6AAAAAATZX34KQ.
You are receiving this because you authored the thread.

Hi @benfade , is this still an issue with the latest version of eqMac?

hi superjeng, Brave browser working now but another app wont show up anymore. It´s a live beat loop app called tablebeats in the app store

found it, had to restart the app. fine now

Hi, seems like you have solved the issue. I would close this now.


Version 0.3.1 breaks oc 8.2.11

After installing it (removed version 0.1, installed 0.3.1) oc 8.2.11 does not work anymore.

Thanks for the hint. I will increase the min version, because 8.2 has reached his end of life as you can see here: https://github.com/owncloud/core/wiki/Maintenance-and-Release-Schedule


PEX fails to pass a custom interpreter down to PEXEnvironments it _activates

2 spots:
https://github.com/pantsbuild/pex/blob/master/pex/pex.py#L73
https://github.com/pantsbuild/pex/blob/master/pex/pex.py#L83
The fallout can be incorrect selection of valid platform tags here: https://github.com/pantsbuild/pex/blob/master/pex/environment.py#L127-L129

Found in https://github.com/pantsbuild/pants/pull/6104


Merge dynamic waypoint system with user interactions

@apollovision : We need to sit down and connect the user interactions with the waypoints to the ROS functions that can update the drone waypoint mission as needed

Wasn't this implemented? @PeruDayani