JSONObject parameter in processDocument

I found a potential misguide in your readme about Java API. I have already sent an email to report this to support.
Your example allows the JSONObject to be null.
However, I actually tried this and got response:
{"status": "fail", "error": "Malformed parameters", "details": [{"loc": ["__root__"], "msg": "One of ['file_data', 'file_url', 'file_urls', 'dictation', 'package_path'] must be supplied", "type": "value_error"}]}
I have proved that it is caused by the JSONObject parameter. Because when I add one of those mentioned parameters, it showed a different error message and looks it has the file:
{"status": "fail", "error": "Could not decode base64 encoded file, Incorrect padding"}
So the forth parameter JSONObject CAN NOT  be null in my opinion.

Hi @DraGengX, in both cases you are doing things wrong.
In the first case, you are sending a wrong path, or maybe I am wrong, are you sure the right location is D:\TryVeryfi\steak.JPEG, and do you have the right permissions to access that location? In the picture, I saw steak.JPEG in another location.
In the second case, you are trying to hardcode file_data parameter, you can do it, but that is not the right way, to do it you need to send a file_name too, and send as data "D:\TryVeryfi\steak.JPEG" is not going to give you goods results, because file_data is an image encoded in base64.
And to answer your question, if you send an empty JSONObject or a null variable, you'll get the same results, so it's okay to allow sending that value as null.

You can see I put a file check before I call the client. The file is there.

Let me try another picture (maybe not JPEG). I guess it is encoding.

It seems that ClassLoader.getSystemResourceAsStream can't read the existing file.

I found out. ClassLoader.getSystemResourceAsStream used in process_document in Java SDK only reads files in the resources folder. It doesn't work with absolute path while process_document in Python SDK will work with absolute  path.

@Kaevan89 I am having the same issue. I have also determined the issue to be caused by how the Java and Kotlin libraries are trying to read the file (I found the issue in Kotlin and came to see if the same issue would be seen in Java).
Since ClassLoader.getSystemResourceAsStream is being used, the file MUST be in the resources directory for it to work properly. This would be fine for test cases that already have the files in the correct location, but is not adequate when files exist elsewhere on the filesystem.
Compare this to the C# library which provides methods for processing the file as a stream, a byte array, or as a file path (not resource): https://github.com/veryfi/veryfi-csharp/blob/master/src/libs/Veryfi/Veryfi.ProcessDocumentFile.cs

@Kaevan89 I am having the same issue. I have also determined the issue to be caused by how the Java and Kotlin libraries are trying to read the file (I found the issue in Kotlin and came to see if the same issue would be seen in Java).
Since ClassLoader.getSystemResourceAsStream is being used, the file MUST be in the resources directory for it to work properly. This would be fine for test cases that already have the files in the correct location, but is not adequate when files exist elsewhere on the filesystem.
Compare this to the C# library which provides methods for processing the file as a stream, a byte array, or as a file path (not resource): https://github.com/veryfi/veryfi-csharp/blob/master/src/libs/Veryfi/Veryfi.ProcessDocumentFile.cs

I was just able to confirm this locally by updating how the file is read. My fix is in kotlin, but easy enough to move over to java. I'm going to open up a kotlin issue and PR for this over there in that project.


Key-repeat doesn't work under Wayland/Sway

It seems that OniVim2 under Wayland (Sway v1.5 in my case) doesn't support key-repeat, meaning that if you press and hold a key, it's typed only once.

Very annoying bug. It should have the tag I-daily-editor-blocker.

This is unimplemented in SDL's wayland handling code: https://bugzilla.libsdl.org/show_bug.cgi?id=4445
I attached a patch there that implements it.

Since that patch was merged, what is missing here?

esy-sdl2 needs to be updated to have the sdl changes. cc @bryphe

There is already a esy-sdl2 PR https://github.com/revery-ui/esy-sdl2/pull/19 to upgrade SDL to 2.0.14


Allow using remote PostgreSQL

As part of packaging up this project to run on Windows (with support for parsing local game files), we should avoid running PostgreSQL locally and point it to a configurable network instance.

This is possible with DATABASE_URL.


Latest Person Snapshot Not Refreshing

Checklist:

[ X ] I updated to the latest version available
[ X ] I cleared the cache of my browser

Release with the issue:
Frigate card: 5.2.0
Frigate Integration: 5.0.0-rc1
Frigate: 0.13.0-614A36A
Last working release (if known):
Unknown
Browser and Operating System:
Seeing issue everywhere: Chrome, Firefox (Windows), Android Tablet w/ Fully Kiosk Browser
Description of problem:

I'm experiencing an issue where the "Latest Snapshot" of person on a  Frigate camera is not automatically updating on the card. I always see the card information popup appear indicating the trigger was seen, but it's very sporadic if the latest snapshot appears on the card. If I refresh the browser (either on my desktop or Android tablet), the latest snapshot image is always there.
I've tried a bunch of different settings, using the default occupancy triggers and explicitly specifying the person sensor for the camera.
Normally I use with a camera at my frontdoor and have the latest person snapshot appear on Android tablets around my house. They have been off for the past few months so I just started noticing the issue now. To test the issue, I placed a camera inside my house to observe the sporadic snapshot refresh issue.
It almost seems as if there is a cooldown period occurring since it's more common for a new snapshot to appear if there is a longer time difference between a person being detected.
Frigate card diagnostic information

{
  "ha_version": "2024.1.3",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
  "date": "2024-01-19T02:50:29.775Z",
  "frigate_version": {
    "99eb8c5245aa5d034f0be3cad78d58f6": "5.0.0-beta.3/0.13.0-614a36a"
  },
  "lang": "en",
  "timezone": "America/New_York",
  "git": {
    "build_version": "5.2.0-HEAD+g69249b6",
    "build_date": "Fri, 23 Jun 2023 15:26:26 GMT",
    "commit_date": "Thu, 22 Jun 2023 09:21:26 -0600"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.office"
      }
    ],
    "view": {
      "default": "snapshot"
    }
  }
}

Javascript errors shown in the web inspector (if applicable):

Additional information:

Can you clarify what you are trying to achieve? Perhaps it's for the card to continually update with the latest snapshot (without the user needing to refresh anything)?

Sure. Every time a person is detected on the camera, I want the snapshot image to be automatically refreshed with the latest image of the person. I'm using the card to see the last person who appeared on my frontdoor camera.

A few ideas:

Use the most recent camera entity (e.g. camera.office_person, renamed to image. entities in bleeding edge Frigate integration code) to tell the card to update its view with something like:

type: custom:frigate-card
cameras:
  - camera_entity: camera.office
view:
  default: snapshot
  update_entities:
    - image.office_person

Automatically refresh the card every 60s seconds with something like this:

type: custom:frigate-card
cameras:
  - camera_entity: camera.office
view:
  default: snapshot
  update_seconds: 60

Now a warning I'll attach is that the card does cache the latest event information for 60s, so it's possible this is causing some of the behavior you've seen, e.g. the first solution should work, but if another snapshot arrives within 60s I could imagine that will not work for your case. Allowing user control over the cache time/use would help, although is not supported / no-one asked for that yet.

Appreciate the ideas, but the image still does not consistently refresh without a full page load. I'm honestly surprised there isn't more posts with others mentioning this. To be sure it wasn't an issue with the latest Frigate and HA, I tested our an older HA, Frigate 12 build with the associated integration and cards and noticed the same issue.
I love the Frigate card and I'll still be using it for live video and watching clips, however for this specific use case (image of the last person at my front door), I'm going to have to use something else until the required functionality is integrated.
It's not the best solution, but I've decided to use the "refreshable-picture-card" and point it to the URL of the Frigate API that has a snapshot of the latest person on the camera. This card automatically appends data to the end of the URL so the browser won't cache the image. It also doesn't flicker during refreshes like the Frigate card does.
I think it would be awesome to build in a similar feature into the Frigate card so the latest snapshot image isn't cached.

Appreciate the ideas, but the image still does not consistently refresh without a full page load. I'm honestly surprised there isn't more posts with others mentioning this.

Me too :-)

I think it would be awesome to build in a similar feature into the Frigate card so the latest snapshot image isn't cached.

Well, it's supposed to already be built in. Let me keep this bug open until I have the time to either find the issue and fix it, or conclusively prove that it does work (for me at least).

Mind sharing how you're testing it on your end? I'll re-use the same methodology.

Sure. I have a dashboard with multiple cards on it that should all theoretically auto refresh and show the last person detected on the camera. I setup a camera in my office so I could easily test without going outside. I walk in front of the camera, Frigate detects me, and  I see if the image on the cards update.
From left to right:

Picture Glance Card: Hitting the Frigate API to get the latest snapshot with the URL appending a timestamp to bypass the cache. By default this only updates every 10 seconds.

Refresh Card. It's set to update every 4 seconds. The card automatically appends a timestamp to bypass the cache.

Frigate Card: Set to the latest snapshot of the camera and the trigger is set to the occupancy sensor for the camera.

I also added a card to show that a person was detected and the time between detections. You can check out a sample video below of the setup:
https://github.com/dermotduffy/frigate-hass-card/assets/28624502/1e131f4c-1df2-48f1-95f9-369da8036ec0

Amazing! Thank you. Mind providing the Frigate API endpoint you're using?

Good question on the occupancy sensor. The card usually has a popup when the sensor is triggered but I didn't see that appear. Below is the frigate card settings used in the test:
type: custom:frigate-card
cameras:
  - camera_entity: camera.office
    triggers:
      occupancy: true
view:
  default: snapshot
performance:
  profile: high

Try putting this on your nice dashboard and repeat the experiment?
type: entity
entity: binary_sensor.office_all_occupancy  <---------- Replace with name of your occupancy sensor

If the occupancy sensor updates when the room goes from unoccupied to occupied, but the card does not, it's a card problem. If the occupancy sensor also doesn't update, it's at least also an integration problem.

I originally had the occupancy entity on the page set to just person, but I switched it over to all_occupency. It triggers alright but the Frigate card isn't updating:
https://github.com/dermotduffy/frigate-hass-card/assets/28624502/393e6340-2931-48b3-8dde-9ae986ef6d15

I am right there with you, updated to HOAS Core 2024.1.6,  Frigate 0.13.1, and Frigate Lovelace Card 5.2.0
Everything was working perfectly before updates, dashboard showed latest snapshot, instantly updated with the newest image every time motion was captured.
Now the card on the dashboard says 'Entity not available: camera.frontdoorcamera_person
I didn't change any configurations or yaml.

Now the card on the dashboard says 'Entity not available: camera.frontdoorcamera_person

@grasstoshi This sounds like a different problem. My guess is you need to update your config to the new image entity, in your case it might be called image.frontdoorcamera_person. The latest version of the Frigate integration changed from using camera entities for latest snapshots to image entities.
You still might experience the same problem as this issue, but sounds like you didn't get that far yet.

The excellent testing work and videos from @rogerquake have spurred me to look into this and reproduce the test setup. There are at least two problems:

The cards default behavior of caching is a real problem if the new snapshot shows up within 60 seconds. Caching should just be disabled when the user wants the most recent snapshot/clip.
More fundamentally: Using the entity update information for binary_sensors is not a reliable means of knowing when there's a new snapshot available. I believe it works okay when the state is toggling from "person not occupying room" to "person now occupying room". But when there's already a person occupying the room (but there's a new snapshot), the MQTT topic that the binary sensor uses does not / cannot flip value, so the binary sensor doesn't update, so the card doesn't know.

Fixing 1 is easy, fixing 2 is more involved (requires integration changes). @NickM-27 was suggesting that using the raw Frigate events stream is the best way to trigger this, so I'm going to look into exposing that via Home Assistant events (that the card could subscribe to).

Option 2 is now implemented, and will be in the next card release.

Very cool, thanks @dermotduffy for all your hard work and following up on this!


expected dense_17 to have 3 dimensions, but got array with shape (6410, 11)

I'm working on a SEQ2SQL project using keras.and i'm getting the follownig error when tries to train the model.here is my code.please help :-(
Note: Ecol.shape=(11, 13, 100) Equestion.shape=(6410, 13, 100)

number of samples in each input(Ecol,Equestion) should be equal.problem solved :-D


AttributeError: '_thread._local' object has no attribute 'srcdc'

Hi,
I have a issue :
INFO - Starting the bot engine, look at the fishing hole to start fishing
ERROR - Traceback (most recent call last):
  File "C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages\fishy\engine\common\window_server.py", line 84, in run
    loop()
  File "C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages\fishy\engine\common\window_server.py", line 71, in loop
    WindowServer.Screen = get_cropped_screenshot()
                          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages\fishy\engine\common\window_server.py", line 49, in get_cropped_screenshot
    ss = WindowServer.sslib.grab()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages\fishy\engine\common\screenshot.py", line 51, in grab
    sct_img = self.sct.grab(self.sct.monitors[self.monitor_id])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages\mss\base.py", line 90, in grab
    screenshot = self._grab_impl(monitor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages\mss\windows.py", line 235, in _grab_impl
    srcdc, memdc = self._handles.srcdc, self._handles.memdc
                   ^^^^^^^^^^^^^^^^^^^
AttributeError: '_thread._local' object has no attribute 'srcdc'

Did i install it wrong ?

u need to change ur screenshot library

What do you mean change screenshot library from debug to screenshot lib? Like change my screenshot save location?

will be fixed through #173

closing issue, as now screenshot lib should switch automatically when not working


Update specs2-core to 4.12.4-js-ec

Updates org.specs2:specs2-core from 3.+ to 4.12.4-js-ec.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2", artifactId = "specs2-core" } ]

labels: test-library-update

Superseded by #29.


edit/update schematron rule in <history>

Since <exhibHist> et.al. are now modelled after <provenance> (#911), they are children of <history>.  <history> has defined a Schematron rule to prevent the use of <acquisition> and <provenance> at the work and expression levels. Also <exhibHist> et.al. should not be allowed on these levels, however the Schematron rule is not updated yet.
Personally, I think we should first discuss whether <exhibHist> et.al. should be allowed at the manifestation level in general or whether it would not make more sense to allow them at this level only in the case of encoding a manifestation singleton. However, since there is a general lack of information/descriptions for manifestation singleton (#906), I am not sure what such a rule might look like or whether there are considerations against such a restriction.

ODD Meeeting 2022-03:
You're comlpetely right the schematron rule should also apply to exhibHist and of course take into account manifestation=singleton. Will have a look at it, promise :-p

@bwbohl Did you have a look?

Sorry for my longish silence been on holidays ;-)
Now I'm back and on it.
After a first peak I wonder whether:

The schematron rules should better be individualised and instead of reporting history with an error, report the respective disallowed element instead.
the rules should report an error or a warning, maybe the latter would be good in case of manifestation context, if the manifestation misses @singleton=true

Comments welcome


Reasonable feature scaling

Or at least give a user an option to do it

transform RobustStandardScaler computed per sample


Bug: 1.16.x - Mobs suffocating inside blocks

Mobs are spawning and suffocating inside blocks, apparently belonging to resources.
Screenshot
I spawned with a pig in a tree, then teleported to a village to see both an iron golem and a wolf inside of a block suffocating.
Seed: -2451338975745658751

Should find a way to reproduce reliably and debug. Should make sure this doesn't also happen for vanilla in similar circumstances, and check whether Forge has the same problem (haven't seen it myself recently).

Tested this seed on Spigot vanilla. The same thing happens. So I'm gonna go ahead close this issue. It was a really strange occurrence tho.


Warning: Failed prop type: The prop onRequestClose is marked as required in Modal, but its value is undefined.

Hello friends.
Thanks for the awesome picker library.
just tried your example on my project and encountered this warning message
any thought about this?

i added onRequestClose={this.props.onRequestClose} property in component in line 47
and passed property onRequestClose in my .
you can close this issue.

i cant fix this issue, can u give more infomation abt this pls

I tried to implement the fix given by Harryki, however I still get the error, even after putting onRequestClose={this.props.onRequestClose} in the index.js of the library at line 47. Is there something I am missing to fix this?


Disabled vendored dbus

This PR disables the dbus-vendored feature of the opener dependency.
On linux, opener depends on dbus which has a feature called vendored which causes a statically linked copy of libdbus to be included in the executable, as opposed to dynamically linking against a distro-provided libdbus.so. If another C library ends up depending on libdbus, it will link dynamically against libdbus.so, and the two copies of libdbus end up catastrophically interfering.
In practice this means HSC debug build always segfaults for me on startup.

Should this be merged upstream to opener?
Also, does it segfault with opener = "0.7.2"? It looks like there was a change in v0.7.1 that may have fixed things.

Actually simply updating Cargo.lock fixes the issue for me somehow. I'm not sure how yet.

I wonder if that bumped opener to v0.7.2

Ah so it did. It works with =0.7.1 but not =0.7.0

Closing since I just updated opener to v0.7.2


players can remove items from frames on farm chunks

This happens even if public build access is disabled for farm chunks.

so this is because Item Frames are an entity and farm chunks have OperationType.PLAYER_DAMAGE_ENTITY set in flags.yml

Marking this as works as intended, feel free to modify the flags in farm chunks to disable this.


Missing Diagnostics On Invalid Members

Currently there's no early/easy diagnostic for an invalid member in the REFLECT macro (e.g. a member that was misspelled or later removed without updating the macro). Having some sort of diagnostic at some early point (in the macro itself is ideal if it can be added without much overhead, in the APIs otherwise), be it an error, maybe a psedo-warning, is very important and highest priority for RareCpp development.
While there are multiple potential barriers to providing such a diagnostic, the biggest lies in the design of overload reflection which includes reflecting overloads for which arguments are not provided as NOTEs: when you don't know at least one of the overloads argument sets it may well be impossible to check for an overloads existence. This leads to the current situation in which an invalid reflected member gets "recognized" as an overloaded member.
One potential solution is to force opt-in for allowing these sorts of anonymous overloaded members (where the argument types are not provided in notes and can come to be known later) with a feature-macro; I regard feature-macros as a terrible idea for RareCpp in general but the importance of identifying invalid members early & in an intuitive way may take priority. Moreover this feature-macro should be safe to leave on (or push/pop), it would be a uni-directional on switch with proper error messages being present if it wasn't on, it wouldn't cause errors or code-differences to have it be turned on, only remove the default diagnostics for invalid members in the REFLECT macro.
Another barrier - or at least something to measure carefully - is the cost of checking early. Right now the REFLECT macro is basically only template definitions, no template instantiations, checking for the presence of a member would more than likely require instantiating multiple of those templates (check for type and/or pointer_type and/or... something for overloads) - doing so in the macro/in file headers could potentially impact compile times in multiple TUs rather than only the TU where an objects reflected info gets used.

Implemented this using the [[deprecated]] attribute, to have a warning issued (or an error depending on your compilation settings).
As expected I didn't find any good way to detect an overload without knowing the argument types, so now to do anonymous overloads you need some note (you don't need to use the overload note and actually provide arguments, but you need to have a note present for the overloaded member to suppress the warning). Or alternatively, you can define RARE_NO_VALIDATE to disable validation entirely.
Compile time differences were measured and no non-negligible difference was found in any test (they were all within the margin of error/less than 1% difference).


DefaultMapperFactory.classMap got in infinity loop when using F-bounded polymorphism

DefaultMapperFactory.classMap got in infinity loop when using F-bounded polymorphism.
Inifnity loop happens in ma.glasnost.orika.property.PropertyResolver#resolveGenericType
Below is the test case:
interface BaseInterface<R extends BaseInterface<R>> {
// interface BaseInterface<R> can also cause the problem
}

interface ChildInterface extends BaseInterface<ChildInterface> {
  Set<Foo> getSet();
}

class Foo {
}

DefaultMapperFactory mapperFactory = new DefaultMapperFactory.Builder().build();
mapperFactory.classMap(ChildInterface.class, ChildInterface.class)
    .byDefault()
    .register();

I think it's the same of #166

That this is a duplicate, was my first thinking too.
But the inifinity loop also occurs if the base Interface is a "normal" generics: like
interface BaseInterface {}
I think it has something to do with https://github.com/orika-mapper/orika/commit/9dd83e023ed0949e0ac71bcae07df7ba8cbaf6e2

@andreabertagnolli I don't think this is same of #116 . No StackOverflowException occured. The infinity loop happens at PropertyResolver.java#L183.
At that line, referenceInterface = reference.findInterface(TypeFactory.valueOf(owningType)); referenceInterfacegot the result same as reference, and following iteration just got the same result again and agian.
And I agree with @brabenetz , these codes add on 9dd83e0

I think this changes fixes the bug (at least all tests runs green).
but I'm not 100% sure if I understand the code right (generics are complicated....)
Uploading ISSUE-167_infinity_loop.zip…

@brabenetz Thank you, I think that works


Onefile: Scan for zstandard having Python could crash with OSError

1.0.4
Commercial: None
Python: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Flavor: Unknown
Executable: C:\Users\Xen3\PycharmProjects\payloadDumper\venv\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10 (I'm actually on windows 11 pro x64) but 10 was reported.
Traceback (most recent call last):   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\__main__.py", line 138, in <module>     main()   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\__main__.py", line 124, in main     MainControl.main()   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\MainControl.py", line 979, in main     packDistFolderToOnefile(dist_dir)   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\freezer\Onefile.py", line 46, in packDistFolderToOnefile     packDistFolderToOnefileBootstrap(onefile_output_filename, dist_dir)   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\freezer\Onefile.py", line 181, in packDistFolderToOnefileBootstrap     compressor_python = getCompressorPython()   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\freezer\Onefile.py", line 103, in getCompressorPython     compressor_python = findInstalledPython(   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\utils\InstalledPythons.py", line 219, in findInstalledPython     if candidate.checkUsability(   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\utils\InstalledPythons.py", line 74, in checkUsability     output = check_output([self.python_exe, "-c", test_code])   File "C:\Users\Xen3\PycharmProjects\payloadDumper\venv\lib\site-packages\nuitka\utils\Execution.py", line 123, in check_output     process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, **kwargs)   File "c:\users\xen3\appdata\local\programs\python\python310\lib\subprocess.py", line 969, in __init__     self._execute_child(args, executable, preexec_fn, close_fds,   File "c:\users\xen3\appdata\local\programs\python\python310\lib\subprocess.py", line 1438, in _execute_child     hp, ht, pid, tid = _winapi.CreateProcess(executable, args, OSError: [WinError 1920] The file cannot be accessed by the system
Installed Nuitka in project virtual environment folder.
commands: pip install nuitka
pip install ordered-set
pip install imageio
imageio==2.21.1
Nuitka==1.0.4
numpy==1.23.2
ordered-set==4.1.0
Pillow==9.2.0
protobuf==3.20.1
Nuitka Command:
nuitka --onefile --follow-imports --enable-plugin=tk-inter --windows-icon-from-ico=Resources\android.png --disable-console main.py
Keep getting OSError: [WinError 1920] The file cannot be accessed by the system when i try to use onefile mode.
No issues with standalone mode.

Ok, thanks for the report, it seems it is attempting to use a Python, that doesn't exist anymore, maybe manually deleted. I feel like I seen this before, but probably didn't act on it, going to be part of 1.0.5 hotfix, not sure though, when that will be released.

This should be fixed on https://nuitka.net/doc/factory.html
I think I recall attempts to discover unusable Pythons during scan, but there is plenty of things that can go wrong, this now catched the failed attempt. As a workaround install zstandard from PyPI near nuitka, then no scan is done and it will not hit the bug. Potentially the next thing it was going to tell you that you don't have it on any installed Python.
Regarding Windows release, I have observed that Python releases, that predate Windows releases will do this. I have seen Windows 10 reported as Windows 8, very bad. Might have to replace Python stdlib query there with something that asks Windows itself. Maybe a new Python would do it for you. I will investigate that separately.

Wait, that is also not supposed to happen, user installations of Python are supposed to work, like ever since, maybe you had both, and dependency walker got confused about that being in %PATH%. I changed that for 1.1 versions, maybe that will also address what happened to you there. What might have happened is that dependency analysis sometimes found system wide, sometimes user python.dll, and failed to copy both, since I do not just overwrite, because that is bug hiding. Only a theory, but I guess, there being a C:\Program Files\Python310 before seems to indicate it might be true.
That is probably rare, and hopefully works with next release out of the box.

@LinuxUserGD posting below unrelated issues is a surefire way to get ignored

Part of the 1.0.5 release.


MD5 at DataLake is not available for ACL Solution

Please provide us with the following information:

Understand that A  added checks to see what's been uploaded before. The prepdocs script now writes an .md5 file with an MD5 hash of each file that gets uploaded. Whenever the prepdocs script is re-run, that hash is checked against the current hash and the file is skipped if it hasn't changed.
However i realised when I tried on the ACL solution, MD5 didnt create as expected compared to the solution without ACL.
correct me if I am wrong:
Without ACL solution: Upload files from local folder, MD5 generated at local folder, files uploaded to blob storage and to AI Search Index.
With ACL solution: Upload files from local folder to datalake, datalake to AI Search.
These solution are difference in term of file processing...
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

With ACL solution: Upload files from local folder to datalake, MD5 generated in datalake, datalake to blobstorage and to AI Search.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

cc @mattgotteiner
So is your goal to be able to repeatedly re-run prepdocs to pick up new files in ADLS2, without having to re-index existing files? I think we'd probably want to implement https://github.com/Azure-Samples/azure-search-openai-demo/pull/942 for both normal Blob storage and ADLS2, which would mean the MD5 would be stored in the blob itself, and we'd check against that.

@pamelafox this could be a great feature, since in production, the docs are sitting somewhere on the lake that other system maybe able to drop files into.


Unit tests need to be updated after LLM loader was refactored

Description
Unit tests need to be updated after LLM loader was refactored
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[x] Unit tests

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

make test-unit

/accept

/approved

/approve


feat: add docker support

Need to add docker support with dockerproxy as well as multiple docker instances (separated by commas in the docker env variable) as well as utility functions to find and quickly add docker-relate service.

Missing from here is the container add button


Fix: Update the import path for the Kaiser window.

In the updated version of SciPy, scipy.signal.kaiser has been relocated to scipy.signal.windows.kaiser.

Thanks for flagging this. There should be a switch here to check the version of scipy and use the appropriate path.


gogo: use upstream property type annotation and BOM

While I understand that there is now an "official" annotation for marking something as a command, the purpose of this example is to demonstrate how to write your own custom annotations. By removing the custom annotations the value of the example is diminished...

It absolutely depends on the intention of the example.

Use of the programmatic API is discouraged in enRoute. The purpose of the examples is to demonstrate good practice using R7. As per the about page:
"enRoute is not intended to be an encyclopedia for experienced OSGi developers, nor is enRoute aligned with any particular open source initiative. enRoute is intended to be a useful toolbox, and to give a solid understanding of the basics of OSGi."

If it is about how to create a Gogo command easily, I assume the simplest approach would be to use the official property types.
If the example is about how to create property types on our own, then it should be kept as it is.

It absolutely depends on the intention of the example.

Well as the originator of the example what's your opinion? Is this example more useful for teaching users about Gogo, or for teaching users about component property annotations?
My personal view is that the component property annotations are more generically useful, but most examples are created based on a "learning moment", and you may have intended something different with this example.


TypeScript snafu

Hey @ealush :wave:
I think we can all agree that it's super-hard to satisfy the TS compiler. This example code gives me type errors:
create('Checkout', () => {
  test(
    'coupon',
    'When filled, must be at least 5 chars',
    any(
      () => enforce(data.coupon).isEmpty(),
      () => enforce(data.coupon).longerThanOrEquals(5)
    )
  );

However, if I wrap them a function the errors disappear.
create('Checkout', () => {
  test(
    'coupon',
    'When filled, must be at least 5 chars', () => {
    any(
      () => { enforce(data.coupon).isEmpty() },
      () => { enforce(data.coupon).longerThanOrEquals(5) }
    )
  });

Weird indeed. Have you maybe stumbled on this before? Maybe it something not even TS related?

Thanks for the answer! :bouquet: Closing this


bring back PCC public-comments

Discussed this on the PCC/QRPH call with @afourquet today, and she agreed that these three should still be visible until they are published in updates.
close #461

@MaryLJ alterntive is to add a new section like public-comment section that holds post public-comment until replaced. But that seemed unnecessary. So I went with easy. What do you think?

Andrea indicates that these will likely be replaced in September

Andrea indicates that these will likely be replaced in September

OK, thank  you.


RuleEditor link in Incident page breaks the testing function

Hi,
In the incident page, when I click on Rule Editor link, it result in: http://BOSUN_HOST:8070/config?alert=ALERT_NAME&fromDate=49364-06-15&fromTime=19:30
As can be seen the year part of the fromDate parameter is wrongly generated.
Bosun version: bosun version 0.6.0-pre-dev last modified 2016-12-06T18:52:15Z
Reproduce:

open the incident page: bosun.host.com/incident?id=INCIDENT_ID
Hover/Click the Rule Editor to see that the fromDate parameter is wrongly calculated.

Please advise,
Yarden

Comment via slack: "looks like incorrect convertion from millisconds since epoch to a human readable date format"
On May 25, 2017 07:14, "Yarden Bar"<EMAIL_ADDRESS>wrote:

Hi,
In the incident page, when I click on Rule Editor link, it result in:
http://BOSUN_HOST:8070/config?alert=ALERT_NAME&fromDate=
49364-06-15&fromTime=19:30
As can be seen the year part of the fromDate parameter is wrongly
generated.
Bosun version: bosun version 0.6.0-pre-dev last modified
2016-12-06T18:52:15Z
Reproduce:

open the incident page: bosun.host.com/incident?id=INCIDENT_ID
Hover/Click the Rule Editor to see that the fromDate parameter is
wrongly calculated.

Please advise,
Yarden
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bosun-monitor/bosun/issues/2088, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnT0OBPUsOmEBL1TX59qx0EZvHzZ1hlks5r9WKtgaJpZM4NmQt6
.

Read that, but what is the source timestamp that gets converted?
This is a bug in the link generation....


chore(deps): bump https://github.com/jenkins-x/jx-cli to 3.0.192

Update jenkins-x/jx-cli to 3.0.192
Command run was ./promote/main

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign rawlingsj
You can assign the PR to them by writing /assign @rawlingsj in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


categorization of Applications?

Hi there,
Is there CSS code to categorize applications? I love Flame but right now it (mine!) looks unorganized and would like to add categories.
I hope this is not a lame question, thank you!

No. You can't add categories with CSS. Topic of categories for apps was discussed many times here so I'm closing this issue.


Error in Template.updatePage: TypeError: Cannot read property 'default' of undefined

Description
The Template.updatePage(...) fails in line 382, as the node.internal.publicPath is undefined:
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'default' of undefined
    at Template.updatePage (/home/gabriel/projects/muzicirovanie/gridsome/node_modules/gridsome/lib/plugins/TemplatesPlugin.js:382:31)

This happens when the template is created automatically in the api._app.store.hooks.addCollection.tap hook on line 186 and the template is not configured in the templates section of gridsome.config.js. That is the template is picked up because of the name equality of the template vue file and the collection name.
Such a template has no path property and therefore the publicPath property is not initialized in the onCreateNode api callback (see line 213).
Steps to reproduce
It can be reproduced by a plugin, which updates the nodes. Such a plugin is the gridsome-source-firestore plugin, when the debug option is set to true. Configure a collection (for example FireCourse collection, which is created for a query of the course collection in firestore) and add a template file to the src/templates dir (for example FireStore.vue file).
The above mentioned failure will appear in the console, when gridsome develop is launched.
Expected result
There should not be any error.
Actual result
There is the mentioned error and the updatePage fails.
Environment
Paste the information here as shown by gridsome info
 System:
    OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
  Binaries:
    Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
    npm: 6.13.4 - ~/.nvm/versions/node/v12.14.1/bin/npm
  Browsers:
    Chrome: 80.0.3987.106
    Firefox: 73.0
  npmPackages:
    @gridsome/source-filesystem: ^0.6.2 => 0.6.2
    @gridsome/transformer-remark: ^0.4.0 => 0.4.0
    gridsome: ^0.7.0 => 0.7.12
    gridsome-source-firestore: ^1.1.12 => 1.1.12
  npmGlobalPackages:
    @gridsome/cli: 0.3.1

Seeing this as well.

I am seeing the encountering the same issue: In my case it's not a plugin causing the issue but I am modifying the nodes inside of the api.loadSource hook.
To confirm: as a workaround it works when manually creating the affected pages using the api.createPages hook.

I am seeing the encountering the same issue: In my case it's not a plugin causing the issue but I am modifying the nodes inside of the api.loadSource hook.
To confirm: as a workaround it works when manually creating the affected pages using the api.createPages hook.

seeing this too. any news on this?

updates?

Any updates?

Hi all!
Met this bug with Docc starter.
I solved it by adding templates configuration to gridsome.config.js (my commit).
In my case, I needed to create links by file location, so I created function:
function filePathToLink(path = ''){
  return `/${path.endsWith('index.md') ? path.replace('index.md', '') : path.replace('.md', '')}/`
}

And then generated all links for my template:
module.exports = {
  plugins: [
    {
      use: '@gridsome/source-filesystem',
      options: {
        baseDir: './content',
        path: '**/*.md',
        typeName: 'MarkdownPage',
        remark: {
          externalLinksTarget: '_blank',
          externalLinksRel: ['noopener', 'noreferrer'],
          plugins: [
            '@gridsome/remark-prismjs'
          ]
        }
      }
    },
    //...
  ],
  //...
  templates: {
    MarkdownPage: [
      {
        path: (node) => {
          return filePathToLink(node.fileInfo.path)
        }
      }
    ]
  }
}

Finally, it is no problem anymore :)

Hey, thanks so much! 🙂
On Sun, May 15, 2022 at 2:44 AM Nikolay Dorofeev @.***>
wrote:

Hi all!
Met this bug with Docc starter https://gridsome.org/starters/docc/.
I solved it by adding templates configuration to gridsome.config.js (my
commit
https://github.com/badlabs/badlabs.github.io/commit/f1038fe9040bfcbe5120d1dfe7b4280c8df32b8c
).
In my case, I needed to create links by file location, so I created
function:
function filePathToLink(path = ''){
return /${path.endsWith('index.md') ? path.replace('index.md', '') : path.replace('.md', '')}/}
And then generated all links for my template:
module.exports = {
plugins: [
{
use: @./source-filesystem',
options: {
baseDir: './content',
path: '/.md',
typeName: 'MarkdownPage',
remark: {
externalLinksTarget: '_blank',
externalLinksRel: ['noopener', 'noreferrer'],
plugins: [
@.***/remark-prismjs'
]
}
}
},
//...
],
//...
templates: {
MarkdownPage: [
{
path: (node) => {
return filePathToLink(node.fileInfo.path)
}
}
]
}}
Finally, it is no problem anymore :)
—
Reply to this email directly, view it on GitHub
https://github.com/gridsome/gridsome/issues/1015#issuecomment-1126872265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXEKRTI7PX4DS356VUW5ELVKCMOLANCNFSM4K45RMDQ
.
You are receiving this because you commented.Message ID:
@.***>

Also seeing this issue! Workaround above did not solve the problem.

Hey @Jeff, I was able to set this in my gridsome config and it helped.
templates: {
FirePackages: [
{
path: "/:packageCode",
},
],
},
I hope this helps.
Bob Dempsey
On Sat, Jul 2, 2022 at 12:41 AM Jeff Pyke @.***> wrote:

Also seeing this issue! Workaround above did not solve the problem.
—
Reply to this email directly, view it on GitHub
https://github.com/gridsome/gridsome/issues/1015#issuecomment-1172833283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEXEKRQOTHWITMVRFWSCI33VR7B6XANCNFSM4K45RMDQ
.
You are receiving this because you commented.Message ID:
@.***>


Permission to Use

Hello, @Barbosik ,
I am thinking of using your code (GameServer.js:resolveRigidCollision()) in my project https://github.com/AJS-development/Project-Nehemiah. I am asking you because I believe that people shouldn't plagerise. If you accept, I will place the code in my project. But if you don't, I will seek alternative methods. I find your code interesting because it is simple yet effective. Here are my terms.
TERMS

No license required, although a comment will say your name and original source.
No special deals.
No monetary requirements

Andrews54757,
AJS Development
(note that this is generated from a saved response)

.. The code is under the Apache2 license.. Pretty sure you're allowed to take code but need to leave credit.
https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)

"Term 1: No license required, although a comment will say your name and original source"

My question is why are you asking him if you can use open source code, and why the heck do you have terms as well?
It's an open source project, take the code, it's literally right there. You can't be put into legal action for it or anything.

I am an honest person. I do not like to plagerise. This is why I am asking this

it's already published under Apache 2 license. It means that you can use it as you wish. All what you need is to mention that your modification is based on this my code. And you can modify it as you wish, and you can publish it as you wish

Ok


Keybinds doesn't work when focusing on programs like moonlight and looking glass

Hyprland Version
 System/Version info
Hyprland, built from branch HEAD at commit c5e28ebcfe00a510922779b2c568cfa52a317445  (props: bump ver 0.37.1).
Date: Sat Mar 16 14:51:49 2024
Tag: v0.37.1

flags: (if any)

System Information:
System name: Linux
Node name: me.c127.dev
Release: 6.8.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1 [UHD Graphics 750] [8086:4c8a] (rev 04) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
Keybinds configuration does not work when opening certain programs.
How to reproduce
When opening any of these programs (moonlight/looking glass) keybinds stop working until the program is forced to close or focus other program.
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/160180792/c6170df1-075b-409e-87bf-68b054ede265

it's not a bug, the app itself requests that.

Thanks for the reply.
But in previous versions this doesn't happen, it seems to have been implemented recently, so there should be some type of option to allow keybinds globally, now if an application being in full screen does not allow you to close it or move it or change workspace.
Additionally, to resolve these cases where any type of keybind can be used in the transmission, I used to use a configuration like this to remap when I want to use all keys when an transmission app its open:
bind = $mainMod,P,submap,clean
submap = clean

bind = $mainMod,Q,submap,reset
submap = reset

# Other Global Keybinds

It is much more comfortable and allows more control in the interaction of the applications.

I guess it can be configurable


Update Nuget package?

Would it be possible to publish an updated package to nuget for https://github.com/B1naryStudio/Xamarin.LocalNotifications/issues/6? I see the fix has been committed, but the package on nuget has not been updated.
Thank you!

Any update on this fix ? still getting this error.
Error MT2002: Failed to resolve "Foundation.NSDate Foundation.NSDate::op_Implicit(System.DateTime)" reference from "Xamarin.iOS, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=84e04ff9cfb79065" (MT2002)

Still getting that same error. This package is unusable.

I get this error too, could you please update the NuGet?


Add support for special characters

Is your feature request related to a problem? Please describe.
Currently the keylogger is unable to record certain key strokes.
Describe the solution you'd like
Add the support for all the special characters under the callback method. ex(Caps, Shift, Ctrl, Esc etc)

i would like to work on this for KSoC'22.

@Phoenix-031 issue assigned. Go ahead!


use immutable pointers instead of weakref and wrap in testset

Should address #66. I am currently running the tests in a loop to see if the flaky tests are fixed.

Well I don;t see the error locally with 0.5 grrr....

Unfortunately this also doesn't seem to work on 0.6, e.g. running the troublesome test multiple times eventually triggers the problem.

Yeah I have to check again if I can reproduce the error locally. I could not last time.
@musm If you have some time to investigate and maybe come up with a fix that would really be great.


Connection lost quite often

Hi. I don't know how active this project is, but I haven't found a lot of options when it comes to USB over IP, so I'm trying to get this to work.
And it does... for a few hours. It seems as though I have to restart this add-on every few hours (even though I have the Watchdog service enabled on it). Is this expected?

Thanks for responding! I ended up creating an automation that just tracks one of my nearby Zigbee devices - when it becomes unavailable I restart your add-on. This will also give me a better indication of just how often this is happening, as I can just track the automation history. I may also be able to identify something else that coincides with this event.
I believe the USBIP Server is perfectly fine, as I never need to restart IT... With that said, it's worth noting that I'm running all of this on one piece of hardware, and it is a "creative" configuration:

It is an Intel mini-PC running Windows 11 with Hyper-V. The USBIP Server is running on it, and a Hyper-V VM is running HASS. The PC is running an Ethernet connection, which handles most IP traffic (including the USBIP Server). This sits in what is essentially my DMZ - the direct local network connected to my Internet (Fiber) Gateway. Also on this network are other wired devices (TV, Desktop computer, etc.), including my Wi-Fi (Google Home) Gateway. The Wireless Router on the Hyper-V Host (Windows Mini-PC) is connected to the Google Wifi through Windows' Virtual Switch, which exposes a virtual hardware NIC to HASS, but gets its local IP from the Google WiFi. Your add-on then is configured to connect to that DMZ IP. I have port forwarding setup in multiple locations to ensure everything can talk to everything else, but none of that has been necessary with the USBIP stuff, so I doubt there is anything there to impact stability.

I'll post logs the next time it drops connectivity.


How to display image on notification

Describe the bug
I am use this plugin to send notification, but i can not display image when i pass it to notification.
Simple text notification working, but image params are not working with firebase.
So any have solution for it?
Thanks

did you find any solution for the above said problem?

Yes, but not using this plugin.


 Not sure why that happened, but this should hopefully make it a bit more resilient.
2017-08-05 04:58:26 (INFO):     Trader Received advice to go short. Selling  ETH
/home/gekko/gekko/exchanges/bitfinex.js:56
    data = data.filter(c => c.type === 'exchange');
               ^

TypeError: Cannot read property 'filter' of undefined
    at Trader.<anonymous> (/home/gekko/gekko/exchanges/bitfinex.js:56:16)
    at Request._callback (/home/gekko/gekko/node_modules/bitfinex-api-node/rest.js:66:20)
    at Request.self.callback (/home/gekko/gekko/node_modules/request/request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/gekko/gekko/node_modules/request/request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/gekko/gekko/node_modules/request/request.js:1091:12)
    at IncomingMessage.g (events.js:292:16)

Thanks!


[BUG] useStepsForm shows field value from same-index field in previous step

Describe the bug
It seems the useStepsForm applies field values from same-index fields in previous steps.
When the second step and field is rendered, it already the value entered in the field of the previous step as shown in the screenshots bellow. You can find  the modified form-material-ui-use-steps-form example in my fork.
Steps To Reproduce
Suppose you have a step form with amount and amount2 fields in separate steps:
const renderFormByStep = (step: number) => {
    switch (step) {
        case 0:
            return (
                <>
                    // ...
                    <TextField
                        id="amount"
                        type="number"
                        {...register("amount", {
                            required: "This field is required",
                        })}
                        error={!!errors.amount}
                        helperText={errors.amount?.message}
                        margin="normal"
                        fullWidth
                        label="amount"
                        name="amount"
                        autoFocus
                    />
                    // ...
                </>
            );
        case 1:
            return (
                <>
                    // ...
                    <TextField
                        id="amount2"
                        type="number"
                        {...register("amount2", {
                            required: "This field is required",
                        })}
                        error={!!errors.amount2}
                        helperText={errors.amount2?.message}
                        margin="normal"
                        fullWidth
                        label="amount2"
                        name="amount2"
                        autoFocus
                    />
                    // ...
                </>
            );
        //...
    }
};

Expected behavior
The "amount2" should be empty when step 2 is rendered.
Screenshot
Step 1, enter an "amount" value:

Step 2, the value is shown to "amount2":

Desktop

Linux tower 6.5.6-76060506-generic #202310061235~1697396945~22.04~9283e32 SMP PREEMPT_DYNAMIC Sun O x86_64 x86_64 x86_64 GNU/Linux
Firefox 118.0.2 (64-bit)

Mobile
No response
Additional Context
No response

Hello @manosbatsis thanks for the detailed report! We are open to contributions for this issue, I'm adding relevant tags now.
Also, could you fork this example and reproduce it here? It's easier for contributors to see bug, without setting up the application locally. https://refine.dev/docs/examples/form/mui/useStepsForm/

A fork is available here and a codesandbox here

This looks more like an issue between Material UI and React Hook Form 🤔 As expected, <TextField type="number" ... /> is not re-mounting on step changes. Same thing will also happen if other indexes of the cases has matching components.
I'm guessing due to some internal state of the inputs, the change of props coming from the registered input doesn't trigger a change in the internal states of the Material UI inputs. This can be avoided by simply adding key prop to the matching components.
I just tried adding key="amount" and key="amount2" to the respective elements in the sandbox and get it working with no issues.


why to used vidgear?do u give me a simple examples instead of opencv?

I already read the introducation of vidgear. and I noticed multi-thread and something in it.but ,I can't understand the differents with opencv lib.
If I have two cameras,how to use vidgear?anything like opencv ?
could u give me some multi threads simple?

I can't understand the differents with opencv lib.

Read this: https://abhitronix.github.io/vidgear/help/general_faqs/#vidgear-is-using-multi-threading-but-python-is-notorious-for-its-poor-performance-in-multithreading  and https://abhitronix.github.io/vidgear/bonus/TQM/

could u give me some multi threads simple?

Multi-Threading is used internally  for its videocapture APIs. You just have to run any given example of respective API and rest is done automatically. If you're already familiar with OpenCV see this https://abhitronix.github.io/vidgear/switch_from_cv/#switching-videocapture-apis


fsharp: <IP_ADDRESS> -> 4.1.7

Motivation for this change
Get new version of F# compiler (just a version number and a sha256 change).
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

This seems to break a handful of .Net packages.

@vbgl, I am trying to find my way around in this - this is my first attempt to contribute, so there will be some bumps. Currently I am trying to find a way to extend dotnetPackages collection to include new package/versions that new F# depends on (number of dependencies increased quite a bit).
Is there any way to flag this PR as incomplete? Or should I just close it and re-open whenever I feel it is more ready (though I kind of like the feedback I get from Travis CI)?

I can mark it as wip

Thanks!

@kuznero just ping me when you want WIP removed

@ndowens I think I have completed the task... in terms of building and installing F# 4.1.7. Though I cannot understand why it fails. It seems the build script is trying to build some dotNet packages with using this F# and it fails (but I noticed that it is using old version of mono - 4.0.x).
Please advice how should I proceed from now.

@copumpkin, @edef1c, please review this PR. I am pretty new to Nix(OS) community but work with dotNet ecosystem on a daily basis and would really like to get new F# compiler in.

It feels that there is something irrelevant that fails in that build now

This breaks F*, at least on darwin; the logs ends with:
cp: cannot stat '/nix/store/nijphlmsphkcacam191wpp2r1gczsqvy-fsharp-4.1.7/lib/mono/4.5/FSharp.Core.dll': No such file or directory
builder for ‘/nix/store/ba2rg0i86m3d56aihqd5z1qkb6xz7fzh-fstar-<IP_ADDRESS>.drv’ failed with exit code 1

I ended up introducing new package fsharp41 based on mono46.

@ndowens I think it is ok to remove WIP tag now.

Minor things left to be verified. More specifically - I am trying to understand how to properly get binaries built into output of ${mono} in store.

It all should be done now.

@kuznero I don't know much about .NET or F#, but just for your future reference,
cd nixpkgs
export NIXPKGS=$(pwd)
nix-build -A fsharp41 $NIXPKGS

you don't need the $NIXPKGS variable. nix-build defaults to pointing at the current directory if not passed any arguments, so nix-build -A fsharp41 should do the exact same thing for you.

@copumpkin thanks for the tip, I am happy to learn more about nix.


Feature/permission control

@yulrizka can you QA?

I think we should also provide method to check whether the request is accepted or not.
This would make it easier for developer to hide/show the application permission.
Of course they could also do it them self on the app layer. But I could imagine brightr, dogeprober goalie will have to implement this themselves.

I guess we could build in something like that, makes more sense now that we can let the app force permission request. However, what does the app do now when it doesnt get the required permissions? Does it just crash? Does it stop running?

tried it, it doesn't crash. but without the location provider enabled i think it will be killed by os.
to have that func it's also nice because the next time user brings up the app. it will still be reminded to enable the location permission.
Although i also test that after rejecting the permission. and press allow again, it doesn't show the permission dialog.

Anyhow i check the functionality, everything seems to work. when permission is accepted. location provider are enabled

@yulrizka could you QA again?

@Tubyhes I have added some comments. Some might be considered a bit nagging/annoying but it is good to be critical especially since it is your first iOS experience :)

@jorishjanssen processed your comments. Can you re-QA?


Has Neurio API changed?

Hello
I am trying to get API data by using this code.
And I need to get energy history based on each appliance.
However, it seems like there has been some changes in Neurio API.
I used 'get_appliance_stats_by_appliance' function, but the result said I need a location id.
If I put the location id (and slightly changed the init.py file), the result is the same with the data from 'get_appliance_event_after_time' function.

test = nc.get_appliance_stats_by_appliance(appliance_id="JfU94U8uShCHsqwIrIleKw", start="2017-10-21T19:42:54.009Z", end=current_time, per_page=None, page=None, min_power=None)
print(test)

{'code': 'missing_parameter', 'message': 'This parameter is required: locationId'}
Did I something wrong? Or has Neurio API changed?

It's been a long while since I've looked at the API. I've moved houses and left the old device in place, so it'd be difficult for me to develop a fix for this. Let me write some folks at Neurio, and see if they might be able to whip up a PR...

Hi springshim,
I tested this locally and it seems to work for me.
However I get the same missing parameter error if I don't supply the end time.
Make sure your end=current_time is not None and is formatted the same as the start time. It should work then

Hi Jordanh
I solved this problem. And I checked from Neurio that API hasn't changed.
Thanks for helping me out,
2017-10-31 16:04 GMT-04:00 Cameron Johnson<EMAIL_ADDRESS>
Hi springshim,
I tested this locally and it seems to work for me.
However I get the same missing parameter error if I don't supply the end
time.
Make sure your end=current_time is not None and is formatted the same as
the start time. It should work then
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jordanh/neurio-python/issues/11#issuecomment-340890290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS1Z5uBzKFMFnb0JXocOuuKKPMoNNXsrks5sx31bgaJpZM4QCDVU
.


Take Trivy Scanning parameters (JWT token, Trivy Server) from ConfigMap

Read the Trivy server and JWT token from ConfigMap

Trivy URL is already configurable in the ConfigMap

Resolved by #282


a

[Enter feedback here]

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

ID: 111d7b49-94b6-abd9-c21a-fb0bace59114
Version Independent ID: 5d9aa212-cbb2-803c-2ea9-6da76c7a9394
Content: Microsoft Azure Well-Architected Framework - Microsoft Azure Well-Architected Framework introduction
Content Source: docs/framework/index.md
Service: architecture-center
Sub-service: well-architected
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 392407

@MutazNase Looks like you've created the issue before sharing all the details here. Could you please update your original post?


PD011: False positive with non-dataframes

class A:
    values: int

A().values

Results in:
❯ ruff --version
ruff 0.0.239

❯ ruff --select PD011 bug.py
bug.py:4:1: PD011 Use `.to_numpy()` instead of `.values`
Found 1 error.

Similar to #2229. It's just really hard to avoid these without making the rules mostly useless. The best we could do is gate on the presence of import pandas, but even then you could have false positives, and you'd get more false negatives, since you don't have to import Pandas in a given file in order to work with DataFrames.

Tell me if I am wrong, but could it be resolved if we tracked the types of variables?
Is it planned to support it?
For this would need first to have multiple files support.

It could definitely be resolved if we had full type inference!

Yeah, it's a hard one without typing. I'll ignore for now. Sorry for the duplicate

All good!


Pannellum example not working in IE but in Chrome

Hi,
I tried to use the pannellum example to provide a panorama example on my Tomcat webserver.
Example code can be found here: https://github.com/SeppPenner/PannellumTest
The problem occurring now is that the page is displayed correctly in Chrome but not in IE.
Chrome has the version: Version 62.0.3202.94 (Official build) (64-Bit)
IE has the version: 11.0.9600.18837 with update version 11.0.48
Tomcat web server has the version: 8.0.32
Could you take a look at the example provided if there is any issue in it to cause this problem, please? The https://pannellum.org/ website with the library view works on both browsers (That's what looks a bit strange to me).

Your repository appears to just have code that's copied verbatim from Pannellum, so I'm guessing it has something to do with how your server is configured or where the files are located on it.
Does the IE developer console display an error message?

Your repository appears to just have code that's copied verbatim from Pannellum, so I'm guessing it has something to do with how your server is configured or where the files are located on it.

That's correct. Well, the developer console doesn't Show any errors. Nevertheless, I figured out what was the issue.
Setting the document mode to "Edge" like described here https://stackoverflow.com/questions/10975107/forcing-internet-explorer-9-to-use-standards-document-mode works:
<meta http-equiv="X-UA-Compatible" content="IE=Edge">

I'm guessing IE 11 was using its "Compatibility View" for your page, causing it to act like an older, unsupported version of IE.

Strange behaviour, yes. I hope that Microsoft forces to use the Edge browser soon and disables the IE forever :D

Since you have things working, may I close this issue?

Yes, this can be closed.


Using locall tunnel inside docker container gives firewall error

I try to create local tunnel for my container and I use compose file below:

  tracker:
   ...

  localtunnel:
    image: node
    command: sh -c "npm install -g<EMAIL_ADDRESS>&& npx localtunnel --port 3000 --local-host tracker --subdomain customSubDomain"
    depends_on:
      - tracker
    links:
      - tracker
    restart: always

I starts first, and shows the URL but then it throws this error:
023-07-07 03:06:38 Node.js v20.3.1
2023-07-07 03:06:57 /usr/local/lib/node_modules/localtunnel/bin/lt.js:81
2023-07-07 03:06:57     throw err;
2023-07-07 03:06:57     ^
2023-07-07 03:06:57
2023-07-07 03:06:57 Error: connection refused: localtunnel.me:32933 (check your firewall settings)
2023-07-07 03:06:57     at Socket.<anonymous> (/usr/local/lib/node_modules/localtunnel/lib/TunnelCluster.js:52:11)
2023-07-07 03:06:57     at Socket.emit (node:events:511:28)
2023-07-07 03:06:57     at emitErrorNT (node:internal/streams/destroy:151:8)
2023-07-07 03:06:57     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
2023-07-07 03:06:57     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

I am experiencing the same issue; any hints on how to resolve or work around would be much appreciated

Having subdomain in lower case resolved this error for me.

Resetting docker to the default in the settings solved the issue for me


docs: Pin doc dependency versions

Please accept my pr
Description

Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[ ] No, this PR is not a breaking change.

Related Issues

@ayrotideysarkar why did you close it?

actually it was my phone wait for 5 min
On Tue, 4 Oct 2022 at 00:52, Lukas Klingsbo @.***>
wrote:

@ayrotideysarkar https://github.com/ayrotideysarkar why did you close
it?
—
Reply to this email directly, view it on GitHub
https://github.com/flame-engine/flame/pull/2008#issuecomment-1265923598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKQVJAFKW6O2BMEABVX433WBMW63ANCNFSM6AAAAAAQ34IKTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

[image: image.png]
merging blocked can you please tell whats the issue?
On Tue, 4 Oct 2022 at 00:54, ayroti dey sarkar @.***>
wrote:

actually it was my phone wait for 5 min
On Tue, 4 Oct 2022 at 00:52, Lukas Klingsbo @.***>
wrote:

@ayrotideysarkar https://github.com/ayrotideysarkar why did you close
it?
—
Reply to this email directly, view it on GitHub
https://github.com/flame-engine/flame/pull/2008#issuecomment-1265923598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKQVJAFKW6O2BMEABVX433WBMW63ANCNFSM6AAAAAAQ34IKTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

[image: image.png] merging blocked can you please tell whats the issue? On Tue, 4 Oct 2022 at 00:54, ayroti dey sarkar @.> wrote:
…
actually it was my phone wait for 5 min On Tue, 4 Oct 2022 at 00:52, Lukas Klingsbo @.> wrote: > @ayrotideysarkar https://github.com/ayrotideysarkar why did you close > it? > > — > Reply to this email directly, view it on GitHub > <#2008 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ASKQVJAFKW6O2BMEABVX433WBMW63ANCNFSM6AAAAAAQ34IKTQ > . > You are receiving this because you were mentioned.Message ID: > @.***> >

The PR title didn't contain a conventional commit tag, but I fixed it for you.

thank you so much😅
can you assign me something more like this so that I can learn and do
better😃
On Tue, 4 Oct 2022 at 00:59, Lukas Klingsbo @.***>
wrote:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/flame-engine/flame/pull/2008#pullrequestreview-1128906195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKQVJCYZ4NV4PT7CHUZ4TTWBMX3HANCNFSM6AAAAAAQ34IKTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

can you assign me something more like this so that I can learn and do
better😃
On Tue, 4 Oct 2022 at 01:01, ayroti dey sarkar @.***>
wrote:

thank you so much😅
can you assign me something more like this so that I can learn and do
better😃
On Tue, 4 Oct 2022 at 00:59, Lukas Klingsbo @.***>
wrote:

@.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/flame-engine/flame/pull/2008#pullrequestreview-1128906195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKQVJCYZ4NV4PT7CHUZ4TTWBMX3HANCNFSM6AAAAAAQ34IKTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

thank you so muchsweat_smile can you assign me something more like this so that I can learn and do bettersmiley
…
On Tue, 4 Oct 2022 at 00:59, Lukas Klingsbo @.> wrote: @.* approved this pull request. — Reply to this email directly, view it on GitHub <#2008 (review)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASKQVJCYZ4NV4PT7CHUZ4TTWBMX3HANCNFSM6AAAAAAQ34IKTQ . You are receiving this because you were mentioned.Message ID: @.***>

I don't think there are any easy open ones that aren't assigned right now unfortunately, but you can have a look at this and see if you find anything that suits you: https://github.com/search?q=org%3Ainvertase+org%3Afluttercommunity+org%3Aatsign-foundation+org%3Aflame-engine+label%3Ahacktoberfest+created%3A>2021-01-01+state%3Aopen&type=Issues


Can we have these files in the repository

prune_node_modules.sh
.env file

Added with https://github.com/hystax/optscale/pull/16, merged.


Update index

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/bgklein/azure-cli-extensions.git@brklein/add-breaking-batch#subdirectory=src/$EXT&egg=$EXT"


Make searching # symbols better

VSCode Version: 1.6 Insider

Currently global symbols search isn't really a good experience, as user can't find anything without typing and then waiting for 3 seconds.
One improvement could be letting Cmd+T cache "recently jumped symbols" like Cmd+P does for "recently opened documents", and show it at Cmd+T even if no input is received yet.
Currently it's blank with no input:

Another idea is to fastly compute all symbols in all open files (or files that have been open since launching) and provide them as # symbols. Which would be much more useful than the current Cmd+T.

Any caching should go into the language service, not into Code imho. This is something typescript should look into (fast global symbol search).

CC @waderyan

Ping @bowdenk7 is this on your radar? I did a quick scan of the TS repo for similar issues and couldn't find one. I'll plan on migrating this issue to TS unless I hear from you that a duplicate already exists.

I'm not aware of anything similar - go ahead and migrate it.

This issue was moved to Microsoft/TypeScript#11503


Closes #2186 TERMID -> TERMNUM, TERMNAME -> TERMCHAR

Closes #2186
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md under the header # admiral (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

This PR will need to be merged in pharmaversesdtm to fix the CICD error.

Do any of the templates need updating?

I searched through the package and couldn't find anything.

@bms63 , could you have a look and merge it if it is fine with you?
Merging this PR should fix all the failing workflows in admiral.


no need to set env var with token

What does this PR do?

Fixes #118
Who can review?
Feel free to tag members/contributors who may be interested in your PR.
@merveenoyan @stevhliu @MoritzLaurer

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


feat: update webpack types to support extends property in webpack

…fig file

Summary

🤖 Generated by Copilot at 02201ea
Update husky to version 7 and add a shell script to run before hooks. The script allows skipping hooks, sourcing a global config file, and handling errors.
Details

🤖 Generated by Copilot at 02201ea

Update husky to version 7 and use the new hook system (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, F25, F26, F27, F28, F29, F30, F31, F32, F33, F34, F35, F36, F37, F38, F39, F40, F41, F42, F43, F44, F45, F46, F47, F48, F49, F50, F51, F52, F53, F54, F55, F56, F57, F58, F59, F60, F61, F62, F63, F64, F65, F66, F67, F68

Please update snapshots

Thank you. I was losing my mind trying to figure out the error 😅


Mute/ban users who are not on the server

📢 Suggestion proposed by DanNick<PHONE_NUMBER>83355147)
What is the title of your suggestion?
Mute/ban users who are not on the server
Explain your suggestion more accurately (It's best to give as much information as possible, so that we can implement the suggestion better)
It should be possible to ban and mute users who are offline, e.g. using their User ID. Whenever they try to join, this joining event will be cancelled (in case of a ban) or the muterole will be assigned to them immediately (like a custom join role set by ?joinrole, in case of a mute).
Why should we add this feature?
This would be helpful for people who were e.g. banned without legal cause and where a mute is more appropriate.
Comments:
📝 DanNick: proposal by DanNick via reddit (cf. https://www.reddit.com/r/lenoxbot/comments/akb4nq/muteban_users_who_are_not_on_the_server/)
✅ Nickkel: Good suggestion
✅ Dadi: good idea - very important
✅ SaVaGeCrEePeR28 • Furkan: Good suggestion

For ban this is not possible


Implied relationships expected behaviour when relationships exist in both directions

Apologies if this has been answered, I couldn't spot anything in existing issues.
workspace {
  model {
    system_a = softwareSystem "System A" {
      container_b = container "Container B"
    }

    system_c = softwareSystem "System C" {
      container_d = container "Container D"
      container_e = container "Container E"
    }

    system_a -> system_c "some high level description of relationship"

    container_b -> container_d "does something specifically B-ish with"
    container_e -> container_b "does something specifically E-ish with"
  }

  views {
    systemLandscape {
      include *
      autoLayout
    }
  }
}

I didn't expect to see the implied container -> container relationship appear, because of the "any" in CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy.
Is creating an implied relationship if a relationship already exists in the opposite direction intentional?
I have a few of these "dangling" relationships appearing on diagrams throughout our fairly large model and I'm not sure if I need to go through and manually exclude them on each view.

I should add — I mostly want implied relationships (so don't want to disable entirely). I just don't need them in this situation where they muddy an existing relationship.

All relationships in Structurizr are unidirectional, and this applies to the code that checks for the "any" relationship -> https://github.com/structurizr/java/blob/master/structurizr-core/src/com/structurizr/model/CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy.java#L19
You have two options:

Write your own version of CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy that takes both directions into account.
Just disable implied relationships when needed. For example:

workspace {
  model {
    system_a = softwareSystem "System A" {
      container_b = container "Container B"
    }

    system_c = softwareSystem "System C" {
      container_d = container "Container D"
      container_e = container "Container E"
    }

    system_a -> system_c "some high level description of relationship"

    container_b -> container_d "does something specifically B-ish with"

    !impliedrelationships false
    container_e -> container_b "does something specifically E-ish with"
  }

  views {
    systemLandscape {
      include *
      autoLayout
    }
  }
}

Got it, thank you!


[folding] Allow automatic folding of region on file open

Currently you can define custom folding regions (see here), these work really well however sometimes you have files with large chunks of code which you want to fold each time you open the file.
I think it would be useful if you could define regions which when the file is opened are automatically folded. Perhaps an implementation could be on the start region tag for whichever language you are using append "always", e.g. for Typescript your region tag becomes: //#region always.
Thank you.

duplicate of https://github.com/microsoft/vscode/issues/40338


[fix] Multirobot cpp version doesn't create the correct plant setup and viz

As of now, currently the multirobot (cpp) version creates a 4x4 grid as compared to what it should be, a 5x5 one. The Python version works as expected. I have attached the videos which show the fewer robots + amputated kukas.
Working Python version -
https://github.com/RobotLocomotion/drake-ros/assets/38449494/7bab1543-740d-4146-9b44-b91d2e0db967
Broken Cpp version-
https://github.com/RobotLocomotion/drake-ros/assets/38449494/f08671f0-83de-49b4-9d35-e33ffa8f963e
My guess is that uint8_t being compared with size_t seems to be the culprit. Although ideally it shouldn't, however, maybe it's some compiler settings that makes the treatment that ends up in this error?
cc: @EricCousineau-TRI for review, thanks!

This change is

An operator<< on uint8_t might be streaming it as a character, instead of an integer.
This is one reason why Drake's C++ style guide forbids most uses and size_t and especially forbids using uint8_t for numbers.

Interesting... On my machine, using latest main (2d252c3), both the C++ and Python version look the same, so maybe it's an ARM thing?
Regardless, (a) I missed the usage of uint8_t in review (shouldn't have needed that) and (b) Jeremy's right, we should use int instead per the style guide.

Interesting... On my machine, using latest main (2d252c3), both the C++ and Python version look the same, so maybe it's an ARM thing?

I am running x86 as well. Jammy with an Intel chip.
Yep! Jeremy's comments clear up the confusion. On a related note, why don't we bring the same drake linting and styleguide here? I think it would probably save a lot of time in the future as the codebase expands...

We bring some of the Drake related linting, and it'd be good to bring in other tooling, but I don't think I'd be able to do it anytime in near future. FYI @calderpg-tri @IanTheEngineer if y'all want to queue this up.
As far as style guide goes, we should do better in enforcing it, and it'd be good to eventually have platform review. Not sure on timeline there, though.

I am assuming CI failure is due to flake, possibly improved by #247 (\cc @IanTheEngineer @calderpg-tri)
Going to merge.


Request: Command to "resize view size" to adjust to its contents

We already have 2 commands to resize the current view:

Decrease Current View Size
Increase Current View Size

Which can be used to resize the explorer Side Bar with some keyboard bindings.
But, I believe  we do not have a command to resize the side bar to adjust to its contents
(equivalent to double click on the side bar hover border, example below)
If that is so, could you supply a "command" to that? I there is already a command, what is that?
Thankyou!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

For information, this feature is related to others closed issues:

#146558
#142176
#142146
#120261
#86618
#77846
#40628

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Timestamp can be null when getting from map

Kept getting this error on Geolocator().placemarkFromCoordinates(lat, lon):
E/flutter ( 5311): NoSuchMethodError: The method 'toInt' was called on null.
E/flutter ( 5311): Receiver: null
E/flutter ( 5311): Tried calling: toInt()

Changed the constant and moved the logic to constant declaration itself. Have tested the change, it works.
:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Bugfix
:arrow_heading_down: What is the current behavior?
Crashing on getPlacemarkForCoordinates
:new: What is the new behavior (if this is a feature change)?
Doesn't crash
:boom: Does this PR introduce a breaking change?
Hope not :)
:bug: Recommendations for testing
:memo: Links to relevant issues/docs
:thinking: Checklist before submitting

[ ] All projects build
[ ] Follows style guide lines (code style guide)
[ ] Relevant documentation was updated
[ ] Rebased onto current develop

Hi @ishaanbahal, just a quick follow up. We just release version 2.0.1 of the Geolocator plugin which now includes your bug fix. Thanks so much for contributing.

Thanks @mvanbeusekom for the heads up! Will update my dependencies and thanks for the quick release! :)


Fix README.MD instructions

Hi,
When following your instructions they just need some updates to the code block there.
You've written "gitlab.com" instead of "github.com" and also the name of the repo needs to be "malicious-docker" and not "malicious-test-docker"
so this properly clones this repo and executes CD as it is today:
 git clone https://github.com/medoix/malicious-docker.git && cd malicious-docker
Next, when building the Docker image, there are some errors. I realize the proejct is already very old but I still wanted to share:
=> ERROR [3/4] RUN go get -u github.com/alphasoc/flightsim/...
I haven't looked into that yet and anything further....
EDIT: fixed the go build...

ensure that the Go programming language is installed
current instruction from the "alphasoc/flightsim" repo is:
go install github.com/alphasoc/flightsim@latest
fix the RUN command in step 3 with the above

Now the Docker build completes :-)

Thanks for the feedback. I have corrected all of the above in https://github.com/medoix/malicious-docker/commit/872ca25b4bff6e8ed3e2683eb7dd20dc965d7bdc


Feature: EBS

Closes #3717

Codecov Report

Merging #5106 (17111d7) into master (ac4495c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           master    #5106    +/-   ##
========================================
  Coverage   95.86%   95.87%
========================================
  Files         674      678     +4
  Lines       66923    67065   +142
========================================
+ Hits        64157    64298   +141
- Misses       2766     2767     +1

Flag
Coverage Δ

servertests
36.76% <23.07%> (-0.04%)
:arrow_down:

unittests
95.81% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/backend_index.py
100.00% <ø> (ø)

moto/__init__.py
97.18% <100.00%> (+0.01%)
:arrow_up:

moto/ebs/__init__.py
100.00% <100.00%> (ø)

moto/ebs/models.py
100.00% <100.00%> (ø)

moto/ebs/responses.py
100.00% <100.00%> (ø)

moto/ebs/urls.py
100.00% <100.00%> (ø)

moto/efs/models.py
91.20% <0.00%> (-0.30%)
:arrow_down:

Continue to review full report at Codecov.

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


feat(ui-kit): 토스트에 Align 기능 추가

변경사항

Toast 컴포넌트에 align 기능을 추가합니다.
디자인 시안 링크
https://www.figma.com/file/TxkDTIYPl6ygZUr5ZQ9yQ8/Lubycon-UI-Library_2?node-id=0%3A1
집중적으로 리뷰 받고 싶은 부분이 있나요?
🙇♂

:tada: This PR is included in version 1.1.0-alpha.12 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-alpha.12 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


local attention and global attention

Hi, first of all, thank you for your work. I have a question:
global_x = Rearrange('b d (x w1) (y w2) -> b x y w1 w2 d', w1=w, w2=w)(x)
global_x = self.grid_attn(global_x)
global_x = Rearrange('b x y w1 w2 d -> b d (w1 x) (w2 y)')(global_x)
res.append(global_x)
    local_x = Rearrange('b d (x w1) (y w2) -> b x y w1 w2 d', w1=w, w2=w)(x)
    local_x = self.block_attn(local_x)
    local_x = Rearrange('b x y w1 w2 d -> b d (x w1) (y w2)')(local_x)
    res.append(local_x)

In the above code, I'm having a hard time finding the difference between local attention and global attention.
I will be grateful if you can answer my query

I am very sorry that I made a mistake in organizing the original code into code modules. I'm sorry to confuse you. Before calculating the global attention mechanism, it is necessary to divide the Windows. Here, the strategy of dividing the Windows is to set the input as (G×G, (H×W)/G×G,C), So the correct code would be global_x = Rearrange('b d (w1 x) (w2 y) -> b x y w1 w2 d', w1=w, w2=w)(x). Fortunately, the model parameters are based on previous code runs, so they are still available.
Thank you for your interest and timely feedback on our project. If you have any other questions or find any other questions, please feel free to keep asking.

But your fix is the same as the source code. Can you explain how dividing the window into G*G is reflected in the code? Thank you!

Hi, this is the efficient partitioning of tensor data through einops. For local attention, the tensor is actually divided into KK Windows, and the partitioning operation is similar to the Swin Transformer. For global attention, we actually divide the tensor into a grid of GG, similar to dilated convolutions.
You can use the following example to understand how to use einops to partition the G*G grid.

First, create tensor. Fill the first 4x4 block as 1, fill the second 4x4 block as 2,...

import torch

tensor = torch.zeros(8, 8)
tensor[:4, :4] = 1
tensor[:4, 4:] = 2
tensor[4:, :4] = 3
tensor[4:, 4:] = 4

the result tensor is
tensor([[1., 1., 1., 1., 2., 2., 2., 2.],
        [1., 1., 1., 1., 2., 2., 2., 2.],
        [1., 1., 1., 1., 2., 2., 2., 2.],
        [1., 1., 1., 1., 2., 2., 2., 2.],
        [3., 3., 3., 3., 4., 4., 4., 4.],
        [3., 3., 3., 3., 4., 4., 4., 4.],
        [3., 3., 3., 3., 4., 4., 4., 4.],
        [3., 3., 3., 3., 4., 4., 4., 4.]])

Then, einops is used to divide the global grid attention mechanism window

from einops import rearrange
w=4
rearrange(tensor, '(w1 x) (w2 y) -> x y w1 w2', w1=w, w2=w)

the result tensor is
tensor([[[[1., 1., 2., 2.],
          [1., 1., 2., 2.],
          [3., 3., 4., 4.],
          [3., 3., 4., 4.]],

         [[1., 1., 2., 2.],
          [1., 1., 2., 2.],
          [3., 3., 4., 4.],
          [3., 3., 4., 4.]]],

        [[[1., 1., 2., 2.],
          [1., 1., 2., 2.],
          [3., 3., 4., 4.],
          [3., 3., 4., 4.]],

         [[1., 1., 2., 2.],
          [1., 1., 2., 2.],
          [3., 3., 4., 4.],
          [3., 3., 4., 4.]]]])

Then, einops is used to divide the local window attention mechanism window

w=4
rearrange(tensor, '(x w1) (y w2) -> x y w1 w2', w1=w, w2=w)

the result tensor is
tensor([[[[1., 1., 1., 1.],
          [1., 1., 1., 1.],
          [1., 1., 1., 1.],
          [1., 1., 1., 1.]],

         [[2., 2., 2., 2.],
          [2., 2., 2., 2.],
          [2., 2., 2., 2.],
          [2., 2., 2., 2.]]],

        [[[3., 3., 3., 3.],
          [3., 3., 3., 3.],
          [3., 3., 3., 3.],
          [3., 3., 3., 3.]],

         [[4., 4., 4., 4.],
          [4., 4., 4., 4.],
          [4., 4., 4., 4.],
          [4., 4., 4., 4.]]]])

Hoping can help you.

Understanding! Thank you very much.


[Event Request] - OnBeforeGetPurchaseHeaderPageID Codeunit 700 "Page Management"

Hello, please consider adding the following event to Codeunit 700 "Page Management"
    [IntegrationEvent(false, false)]
    local procedure OnBeforeGetPurchaseHeaderPageID(var RecRef: RecordRef; var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; var ResultID: Integer)
    begin
    end;

and call it accordingly inside the "GetPurchaseHeaderPageID" procedure:
    local procedure GetPurchaseHeaderPageID(RecRef: RecordRef): Integer
    var
        PurchaseHeader: Record "Purchase Header";

        **IsHandled: Boolean;
           ResultID: Integer**

    begin

        **IsHandled := false;
        OnBeforeGetPurchaseHeaderPageID(RecRef, PurchaseHeader, IsHandled, ResultID);
        if IsHandled then
            exit(ResultID);**

        RecRef.SetTable(PurchaseHeader);
        case PurchaseHeader."Document Type" of
            PurchaseHeader."Document Type"::Quote:
                exit(PAGE::"Purchase Quote");
            PurchaseHeader."Document Type"::Order:
                exit(PAGE::"Purchase Order");
            PurchaseHeader."Document Type"::Invoice:
                exit(PAGE::"Purchase Invoice");
            PurchaseHeader."Document Type"::"Credit Memo":
                exit(PAGE::"Purchase Credit Memo");
            PurchaseHeader."Document Type"::"Blanket Order":
                exit(PAGE::"Blanket Purchase Order");
            PurchaseHeader."Document Type"::"Return Order":
                exit(PAGE::"Purchase Return Order");
        end;
    end;

Thank you !

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52570.


Refactor code, solve several issues

Fixes #issue(s) .
Changes proposed in this request:

Selection value now can be any hashable type
Layout protocol use to arrange subviews in scrollable and non-scrollable navbar items. No longer need to use geometry reader to get the tab size to position the indicator. Simplifies a lot the base code.

Github action is no loger working... Could you update the tools versions @mats-claassen ?

Readme should be updated. @cecipirotto go ahead if you are willing to do so.

I pulled this branch, but there may already be an error.
I think ProposedViewSize is iOS16 or higher.
So, I think you need available attributes. (like @available(iOS 16.0, *))
I'm looking forward to this changes! Thank you!

Hi @coffmark!
These changes require iOS 16 Layout protocol was just released by apple. I mean it will not longer support ios 15, neither ios 14.
Developers that need iOS 14, and iOS 15 support can continue using older versions, at least until iOS 16 adoption increases.

We already merged these changes,  so i'm closing this pr.


Fix[LocalStorage]: fix lv create err about already exists in volume group

What this PR does / why we need it:
Fix[LocalStorage]: fix lv create err about already exists in volume group
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report

Merging #160 (6fd58c6) into main (27dbff4) will increase coverage by 0.02%.
The diff coverage is 6.89%.

@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
+ Coverage   17.16%   17.18%   +0.02%
==========================================
  Files          72       72
  Lines        7106     7121      +15
==========================================
+ Hits         1220     1224       +4
- Misses       5765     5777      +12
+ Partials      121      120       -1

Impacted Files
Coverage Δ

...l-storage/member/controller/scheduler/resources.go
24.51% <0.00%> (-0.36%)
:arrow_down:

...l-storage/member/controller/scheduler/scheduler.go
19.29% <0.00%> (ø)

...ge/member/controller/volume_migrate_task_worker.go
16.12% <0.00%> (-0.67%)
:arrow_down:

.../local-storage/member/node/storage/executor_lvm.go
0.00% <0.00%> (ø)

...roller/localdiskclaim/localdiskclaim_controller.go
33.33% <100.00%> (+10.25%)
:arrow_up:

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


increase the maximum allowed number of collections in an AQL query

Increase maximum number of collections/shards per AQL query from 256 to 2048

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/1836/