0 byte recording files

This is regarding your great RecordRTC extension 😊🙏
A couple of weeks ago it was working for me, but now it has the following behavior:
Record on Default codec: File is 0 bytes
Record on VP8: File is 33 KB
Record on VP9: File is 15 KB

This is regardless of how long I leave the recording going (eg a minute). I have no idea what could have changed in the past couple weeks. I tried restarting browser, deleting and reinstalling extension, changing which domain I'm recording, and restarting computer. My other settings are:

Enable microphone recording
Record the selected tab
Full HD

When I deselect "Record the selected tab" it works.
Any ideas on what might be the cause? I tried cloning locally and adding timeSlice like you suggested here, but no change.

Updated the chrome-extension. Please test again.

Hi Muaz, thanks a lot for the quick reply! I updated to 4.2 and restarted Chrome. My settings no longer has "Enable microphone recording" checked. When I record, I still get 0 bytes:

Which parts of the code would you recommend I look at to further diagnose the issue?

0-byte bug is happening too often nowadays; even in RecordRTC main demo (received many error reports):

https://www.webrtc-experiment.com/RecordRTC/

Works fine for me on same systems, and same browsers (using same versions/chrome-releases).

Unable to reproduce myself, though. Need help to reproduce this bug.

Muaz, I am working with Loren on this.  We are needing to get this done quickly if possible.  Open to working with you as a paid consultant if you are interested.  Either way, can you LMK more about what you need to reproduce the bug? I am able to reproduce it on my system (in fact, it's all that is happening on my system).  Perhaps we should screen share and you can have a look?

@muaz-khan have people had the 0-byte bug when using destopCapture API, or just tabCapture?

index.html demo now generates an automatic email report on getting 0 bytes blob:

https://github.com/muaz-khan/RecordRTC/blob/master/index.html#L1154

Using main demo, open chrome console and paste following:
// you will see exact email report
// paste after stopReording
getEmailReport()

Here is an email report from a Mac OS X 10_10_5 system:
RecordRTC seems failed.

{"fullVersion":"58.0.3029.110","version":58,"name":"Chrome","isPrivateBrowsing":false,"isChrome":true}

Mac OS X 10_12_5 #-------------------- (other systems: Windows 10 + Android 6.0)

mimeType: video/webm #----------------- DEFAULT MediaRecorder usage; NOT forcing vp8 or vp9 or others
recording-media: record-audio-plus-video #---------- both audio+video tracks (NO desktopCapture i.e. NO screen)
media-container-format: default #--------------------- Default codecs (maybe vp8 or vp9 according to browser implementation)
media-resolutions: 640x480 #--------------------- 480p
media-framerates: 24 #---------------------------- 24 frame rates
media-bitrates: default #--------------------------- No "bitsPerSecond" attribute

internal-recorder: MediaStreamRecorder   #----------------------- using MediaRecorder API

recorder-state: stopped #------------ RecordRTC state

# no "timeSlice" here; so using non-timeSlice recording

Above report is missing tracks active/mute information. (because stream was stopped before we generated the report)

Muaz, we are needing to get this resolved.  Do you have any further info on what the problem is or how to solve it?  Thanks.

Muaz, I think that we found the problem.  It turns out that the (same) code works as long as there are changes being made in the tab that is being recorded.  If the tab never changes (at all), then the extension does not work properly and may produce the 0 bytes file error.  Hope this is helpful.

Note that "changes being made in the tab" could be an animation, or a playing video, or even a mouse moving around over the tab area.

You can pass ignoreMutedMedia:true to fix this bug.
recorder = RecordRTC(tabCaptureStream, {
   type: 'video',
   ignoreMutedMedia: false // ---- do not ignore muted videos
});

Hi Muaz.
We are using your webRTC code for peer-to-peer videoconferencing.  Thanks!
I wanted to know how / if we can use the same connection (using RTCMultiConnect) to stream prerecorded video/audio to a peer.
Here is the use case.
Normally, if a user calls us, we expect to have an operator to receive their call.
However, if there is no operator, then we’d like for them to see and hear a pre-recorded video that we stream to them through the webRTC connection (starting at the beginning of the video).
If an operator becomes available during the video, then we would like to switch to the operator for a peer-to-peer call.
How can we do this?
Thanks for your help!
Best,
Christopher

Hi Christopher, it should be very easy.

Check presence of the user (i.e. agent) using checkPresence method
If user (i.e. agent) is offline, then load mp3/wav/ogg/etc. from php/any server and play in the background

So we don't need to stream mp3. We can load and play in a loop. So that audio keeps playing until agent comes online.
We can do same thing if agent disconnects the call or keeps the call on hold.
Regards

Thank you very much for your quick reply.
I don’t think it yet solves our problem.

When you say play mp3 ‘in the background’, not sure what you mean, or how to do that.
We need to do this for video and audio, not just audio.  Will the same technique work?
We need to be able to show the video from the beginning or each user that connects (and it’s ok if we assume that there won’t be more than one user connected at a time, so we could restart the video each time someone connects).

Thanks,
CdC

On Apr 13, 2018, at 4:14 AM, Muaz Khan<EMAIL_ADDRESS>wrote:
Hi Christopher, it should be very easy.
Check presence of the user (i.e. agent) using checkPresence method
If user (i.e. agent) is offline, then load mp3/wav/ogg/etc. from php/any server and play in the background
So we don't need to stream mp3. We can load and play in a loop. So that audio keeps playing until agent comes online.
We can do same thing if agent disconnects the call or keeps the call on hold.
Regards
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/muaz-khan/RecordRTC/issues/281#issuecomment-381104221, or mute the thread https://github.com/notifications/unsubscribe-auth/AFwbG9qswkgi2wevkdnpnVnVpM6AjnDiks5toIiBgaJpZM4N5QVM.

Do you want to share pre-recorded video using WebRTC connections? We already have a similar demo. Where we're using captureStream API to generate MediaStream object from the pre-recorded or external video file and share using WebRTC peer connections.
Pre-recorded media can be an external video file, a camera's recorded blob, a canvas' animation or anything.

@muaz-khan I am facing the same issue in chrome, and iOS when using - RecordRTC
I have attached the screenshot of the log, can you please point me to the right dorection

@Locke-bot no luck yet.


Add integration for NextDNS

Name the integration
Create a DNS stats integration for NextDNS.io account like Pihole or Adguard home
Please tick the boxes

[X] You've read the docs
[X] You've checked for duplicate issues
[X] You're not just putting an idea out there and actually give usefull information about how to implement your module idea

Although we can get stats, it seems there's no way to simply disable filtering from the API.
Stats: https://nextdns.github.io/api/#profilesprofileanalyticsstatus
Also to note, this is not a self-hosted app, and same as the ControlD request #1936, need to pay.
We can use the free version for development purposes (limited to 300k queries which I would personally burn in a few days).
I don't know what the other devs think about making integrations for paying (or mostly needing to pay) services.
I personally don't think we should do it as it defeats the purpose of our model of free and open-source but I'll let the others voice themselves on that.


Can't resume download (pull) on restart server

Auto pruning on server start was added in #491
But this cause losing unfinished/failed download progress if restarting server
Please change this to allow continuing downloads.
Suggestions:

Don't auto prune, pruning on delete is probably enough?
If want auto prune, use seperate directory for unfinished download, or use name prefix (may orphan unfinished file if new version)
Use a file to list every downloads, and don't prune those files. If new version, update the list, previous unlisted files automatically get pruned.
Immediately create the manifest before download, to prevent pruning those files, and add + check property for incomplete download.

Hi @KcZLog as a workaround you can set the OLLAMA_NOPRUNE environment variable.
For example:
OLLAMA_NOPRUNE=true ollama serve

Or adding it to your $PATH.

Hi thank you, I'm aware and have set the OLLAMA_NOPRUNE env since finding #491, and it does prevent pruning on start/serve.
But others who have download issues, may be frustrated to lose their download progress when restarting server, especially #330 hints to restart the server. Hopefully this gets fixed soon.

It looks like Bruce's comment solved your issue. I will go ahead and close it now. If you think there is anything we left out, reopen and we can address. Thanks for being part of this great community.

actually, it looks like the only mention of that environment variable is in a buried issue and PR. I am updating the docs to mention this.

And I am going to re open this, because NOPRUNE is definitely a workaround and not the actual solution.

Pruning by default is the desired behaviour. The issue seems to be restarting the server after a failed download which should not be the go to solution. Instead, repulling will resume where the previous download left off.
Restarting the server should be the last resort.

Ollama's pull feature, for me, has been completely unreliable. 90% of the time the download stops.
Because of this, I instead download the models from HuggingFace and import them. This way I have the model as a file and don't need to redownload the models in case I move computers or reinstall my OS.

Recently I tried to pull llama3.3 which is about 40 GBs. It stuck at 50%. I canceled and repeated the pull. It stuck again. Had to restart the system. This time it started from start while NOPRUNE was set.


Ask Quest Page

Am I the only one encounter this?

it's like 90%+ chance for 1st page not translated
https://github.com/dragonjet/KC3Kai/issues/308

And then open the next 2nd page, the translating layer is coming back, right?

everyone has this? why I don't :open_mouth:
any other details how to trigger?

@nicky008 yeah...
@dragonjet I don't know but, every time I trigger the quest page mostly like that.

I usually get it when I click on Ooyodo very quickly after opening quest page.

but, I haven't click anything yet :open_mouth:

show for a portion of a second, then clears itself.
probably an API or a furniture asset being loaded after api_get_member/questlist
but there's none that I know of that loads after questlist :open_mouth:

maybe put a timer like 1-1.5 secs for translation appear?

If that's possible then we also can solve this problem
https://www.facebook.com/photo.php?fbid=10155819036460525&set=o.120558182729&type=1&theater

someone from himeuta reports this. asking him what version he is using. might need to reopen if confirmed 13+

after @bamboo3250 fix, for me it still encounter this but its like 1 out 20 tries.
And gonna report another bug. If your quest is marked done by kadokawa/kancolle itself for these kind of quest like sortie that not has counter (1 time only) / composition quest will make the translation went off.

About the main issue, I think it's caused by the asynchronous callback of chrome.runtime.sendMessage. The best solution I can think of is polling, using a while loop until the quest overlay is cleared then we will show the quest translation. @dragonjet do you have any better idea?

wait what. on library\modules\Network.js, the clearOverlays call runs on every received request. I think it shouldn't be. If the game was loading a ship CG, music, equipment photo or anything, and only completed after showing quest page, it will clear.
Additionally, we should put it so that clearOverlays will not run if the API received is not questlist. If the quest page is loaded, what happens is that a clearOverlays is ran, and then the data is processed and showOverlays is called. but there is no guarantee which executes first.
Maybe for the clearOverlays condition, we can just add, && api_function != "questlist" or something

I discovered the problem.
I turned on my sounds just now.
There is an asset being loaded after questlist, that actually clears the overlays when it loads XD
Ooyodo's voice!

lol, I also always turn off the voice unless it is event. :joy:


How to Access Aiven's Schema Registry in Spring Cloud Stream

I'm using spring cloud stream alongside Aiven's schema registry which  uses confluent's schema registry. Aiven's schema registry is secured with a password. Based on these instructions, these two config parameters need to be set to successfully access the schema registry server.
 props.put("basic.auth.credentials.source", "USER_INFO");
 props.put("basic.auth.user.info", "avnadmin:schema-reg-password");

Everything is fine when I only use vanilla java's kafka drivers, but if I use Spring cloud stream, I don't know how to inject these two parameters. At the moment, I'm putting "basic.auth.user.info" and "basic.auth.credentials.source" under "spring.cloud.stream.kafka.binder.configuration" in the application.yml file.
Doing this, I'm getting "401 Unauthorized" on the line where the schema wants to get registered.

@mvadood Thank you for the issue. I think there is also a parallel StackOverflow thread going on. Closing this issue here in favor of the SO thread.


setproperty!! dynamic dispatch

I haven't worked through the details, but I'd think this can be made to dispatch statically:
julia> using JET, BangBang

julia> nt = (a=1, b=2)
(a = 1, b = 2)

julia> setproperty!!(nt, :a, 3)
(a = 3, b = 2)

julia> @test_opt setproperty!!(nt, :a, 3)
JET-test failed at REPL[143]:1
  Expression: #= REPL[143]:1 =# JET.@test_call analyzer = JET.OptAnalyzer setproperty!!(nt, :a, 3)
  ═════ 2 possible errors found ═════
  ┌ @ /home/chad/.julia/packages/BangBang/C0c8y/src/base.jl:571 %2(%3)
  │ runtime dispatch detected: %2::Type{NamedTuple{_A}} where _A(%3::Tuple{Int64})
  └─────────────────────────────────────────────────────────────
  ┌ @ /home/chad/.julia/packages/BangBang/C0c8y/src/core.jl:11 %5(value, %4)
  │ runtime dispatch detected: %5::typeof(setproperties)(value::NamedTuple{(:a, :b), Tuple{Int64, Int64}}, %4::NamedTuple{_A, Tuple{Int64}} where _A)
  └────────────────────────────────────────────────────────────

ERROR: There was an error during testing

For context, I'm mainly using Accessors.jl, and wanted a Lens!! to make things work similarly to BangBang. Using BangBang directly gives the above error, but it seems to fix things if I instead do

@inline function Accessors.set(o, l::Lens!!{PropertyLens{prop}}, val) where {prop}
    if ismutable(o)
        setproperty!(o, prop, val)
    else
        setproperties(o, NamedTuple{(prop,)}((val,)))
    end
end

Maybe a similar change can help BangBang?

Uh, I totally forgot that I haven't still made BangBang compatible with Accessors
For the problem in the OP, I think we need to help inference somewhere to constprop :a.
BTW, for testing API like setproperty!! that requries constprop, you'd need to create a function like f!!(nt) = setproperty!!(nt, :a, 3) and pass it to the inference. IIUC it's the same for JET.


requests-cache/1.2.0: tests failures during debian build

Hello,
im preparing requests-cache/1.2.0 for inclusion in Debian, and as part of our process, we run tests after the build step. Some of them are failing:
FAILED tests/unit/test_base_cache.py::test_delete__expired - AssertionError: assert 3 == 1
FAILED tests/unit/test_base_cache.py::test_delete__expired__per_request - AssertionError: assert 3 == 2
FAILED tests/unit/test_base_cache.py::test_delete__older_than - AssertionError: assert 4 == 3
FAILED tests/unit/test_session.py::test_expired_request_error - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/unit/test_session.py::test_stale_if_error__exception - AssertionError: assert (True is True and False is True)
FAILED tests/unit/test_session.py::test_stale_if_error__error_code - AssertionError: assert False is True
FAILED tests/unit/test_session.py::test_stale_if_error__error_code_in_allowable_codes - AssertionError: assert 200 == 404
FAILED tests/unit/test_session.py::test_request_expire_after__enable_expiration - AssertionError: assert True is False
FAILED tests/unit/test_session.py::test_request_expire_after__prepared_request - AssertionError: assert True is False
FAILED tests/unit/test_session.py::test_request_only_if_cached__expired - AssertionError: assert 200 == 504
FAILED tests/unit/test_session.py::test_request_only_if_cached__stale_if_error__expired - AssertionError: assert False is True

the full build log, with the detailed tracebacks is here (at the very bottom):
python-requests-cache_1.2.0-1_amd64.build.txt
btw the failures happen both with python 3.11 and 3.12

It looks like these are all tests that involve timing. They could potentially fail if they are running on an especially slow machine or VM. I can't fix that, but what I could do on this end is add a pytest marker that would allow you to skip all the timing-related tests.

A dependency issue could be possible, assuming you're not installing them with the poetry lockfile. You could compare your dependencies against the version constraints in pyproject.toml, and look at the GitHub Actions config for other clues about environment differences.
time-machine is used for all of these failed tests for mocking system time, so that's the first thing I'd check.

@JWCook i see you marked this ticket closed as completed, did you do something to address this issue?

As far as I can tell, this isn't something I can reproduce or address on this end. If there is something you want to change about the tests, I would happily accept a PR for it.


Replace QueueManager::looping() with  QueueManager::after()

When Laravel processes queued jobs the event Illuminate\Queue\Events\Looping is only dispatched when the queue worker is running as a daemon. When processing only one job with php artisan queue:work --once no exceptions will be captured. This is also true for queued jobs in Laravel Vapor since jobs are processed one at a time in in their own instance of the application.
Using QueueManager::after() will provide a more consistent experience for capturing exceptions.

@stayallive following up about https://github.com/getsentry/sentry-laravel/pull/271#issuecomment-531337093

Any word on this?

Hi @tlaverdure, I'm sorry for the delay. There is an issue with using after and it's the reason it isn't used instead of looping.
https://github.com/laravel/framework/blob/4e33586e6cf6baf3a857e8ec6bd6de2ae4f93ad9/src/Illuminate/Queue/Worker.php#L356
At the snippet above is where the after is called, however this is never called after a job fails. So that's why looping was used. However I see that that is also not correct since as you pointed out it only runs for deamons.
So I've changed the code to utilize more events that should be fired everywhere and always handling both successful jobs and jobs with exceptions (and might also improve the situation when using Vapor for example).
Please take a look at: #318

Sounds good. Thanks for taking a look into this. #318 looks like a great solution.


Counts of parents and children

I believe navigating would be easier if a column showed the number of parents for each node, and another the number of children. In particular, nodes with |parents| > 1 are special; I wish they jumped out at me.
(A further dream along these lines would be a memory footprint -- an indicator of the total number of nodes descended from a given node. It would be computationally expensive, and would take up more screen space, so it would be an unnatural default state for the app -- but it seems like a natural option to have. It could help someone, for instance, avoid misplacing a large quantity of data when they put it under an obscure branch. (Freeplane has the same problem. In a tree with four branches, one branch might have a hundred thousand descendants, and the others just a few; nothing informs the user of the difference.))

This is done.  Let's keep the more in-depth node metrics in mind for future development.


Interpreter can register builtin opcode after conversion

Description of the bug:
I got a value error when loading the converted model.
Is there anything that I should set during conversion?

ValueError: Didn't find op for builtin opcode 'TRANSPOSE_CONV' version '4'
Registration failed.
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response

Hi @kohheekyung , this can be a bug in our converter. Please follow our debugging guide and paste the printed code snippets to this issue, we will look into the converter issue.
If possible, please also attach the full error with stack trace, thanks!


Drone moves back without reacting to a face

HI, I ran the example.js and the drone takes off and continues to move back. On the debugging video even though it detects my face, it doesn't react. It just keeps moving back.
I tried it with another AR-drone I have and in that one the drone moves to the left continuously without reacting to my face.
Any help would be much appreciated, it's for a college project.

Be sure to launch the drone from a floor with a patterned surface ( the underbelly of the copter has a down facing camera for detecting drift ).
When the drone is sitting on the level ground before taking off, press the C key.

When you mean a patterned surface, do you mean a surface like a rug with a
pattern or a cracked floor or something of that sor?
Also does example.js have a function to execute for the C key?
Thanks for you reply!
On Sat, Nov 4, 2017 at 5:03 AM Paul Hayes<EMAIL_ADDRESS>wrote:

Be sure to launch the drone from a floor with a patterned surface ( the
underbelly of the copter has a down facing camera for detecting drift ).
When the drone is sitting on the level ground before taking off, press the
C key.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulhayes/copterface/issues/6#issuecomment-341885326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJeI8vqedYab-RsYc0a8G3T4XFpNH-O3ks5szDZzgaJpZM4QRr8C
.

At the moment, line 270 of example.js is when the script checks if the c key is pressed and calls the calibrate function of the drone. However you can see it's a manually call. Not something I've written into the main library.
High contrast patterned flooring is best, but the same results can be achieved with a patterned some electrical tape made into cross patterns on the floor.
Does the drone yaw correctly to follow your face? The moving forward is very sensitive, so I've just to make it's forward movements very gentle. It works for me, but only when the accelerometers are calibrated properly. Have a look at the acceleration values displayed when example.js is running. They are a bit weird when the drone is not flying, but should work the rest of the time.

I will definitely test this out.
I couldn’t test it because it just kept moving away from me.
I’ll give you feedback in a few days.
Also is there another drone you would recommend to replace the Ardrone?
On Sun, Nov 5, 2017 at 6:19 AM Paul Hayes<EMAIL_ADDRESS>wrote:

At the moment, line 270 of example.js is when the script checks if the c
key is pressed and calls the calibrate function of the drone. However you
can see it's a manually call. Not something I've written into the main
library.
High contrast patterned flooring is best, but the same results can be
achieved with a patterned some electrical tape made into cross patterns on
the floor.
Does the drone yaw correctly to follow your face? The moving forward is
very sensitive, so I've just to make it's forward movements very gentle. It
works for me, but only when the accelerometers are calibrated properly.
Have a look at the acceleration values displayed when example.js is
running. They are a bit weird when the drone is not flying, but should work
the rest of the time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulhayes/copterface/issues/6#issuecomment-341968981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJeI8gocCXdn4HC7Os0xyV35p-t1jSlnks5szafHgaJpZM4QRr8C
.

Hi, could I use this same program on a parrot Beebop drone?
Or which other drones will it be compatible with?
On Sun, Nov 5, 2017 at 6:22 AM Rojitha Goonesekere<EMAIL_ADDRESS>wrote:

I will definitely test this out.
I couldn’t test it because it just kept moving away from me.
I’ll give you feedback in a few days.
Also is there another drone you would recommend to replace the Ardrone?
On Sun, Nov 5, 2017 at 6:19 AM Paul Hayes<EMAIL_ADDRESS>wrote:

At the moment, line 270 of example.js is when the script checks if the c
key is pressed and calls the calibrate function of the drone. However you
can see it's a manually call. Not something I've written into the main
library.
High contrast patterned flooring is best, but the same results can be
achieved with a patterned some electrical tape made into cross patterns on
the floor.
Does the drone yaw correctly to follow your face? The moving forward is
very sensitive, so I've just to make it's forward movements very gentle. It
works for me, but only when the accelerometers are calibrated properly.
Have a look at the acceleration values displayed when example.js is
running. They are a bit weird when the drone is not flying, but should work
the rest of the time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulhayes/copterface/issues/6#issuecomment-341968981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJeI8gocCXdn4HC7Os0xyV35p-t1jSlnks5szafHgaJpZM4QRr8C
.

I'm afriad the library I use ( ar-drone ) only works with the parrot 2.0 AR
Drone.
I'm sorry.
On Mon, 20 Nov 2017, 17:25 rojig<EMAIL_ADDRESS>wrote:

Hi, could I use this same program on a parrot Beebop drone?
Or which other drones will it be compatible with?
On Sun, Nov 5, 2017 at 6:22 AM Rojitha Goonesekere<EMAIL_ADDRESS>wrote:

I will definitely test this out.
I couldn’t test it because it just kept moving away from me.
I’ll give you feedback in a few days.
Also is there another drone you would recommend to replace the Ardrone?
On Sun, Nov 5, 2017 at 6:19 AM Paul Hayes<EMAIL_ADDRESS>wrote:

At the moment, line 270 of example.js is when the script checks if the c
key is pressed and calls the calibrate function of the drone. However
you
can see it's a manually call. Not something I've written into the main
library.
High contrast patterned flooring is best, but the same results can be
achieved with a patterned some electrical tape made into cross patterns
on
the floor.
Does the drone yaw correctly to follow your face? The moving forward is
very sensitive, so I've just to make it's forward movements very
gentle. It
works for me, but only when the accelerometers are calibrated properly.
Have a look at the acceleration values displayed when example.js is
running. They are a bit weird when the drone is not flying, but should
work
the rest of the time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/paulhayes/copterface/issues/6#issuecomment-341968981>,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AJeI8gocCXdn4HC7Os0xyV35p-t1jSlnks5szafHgaJpZM4QRr8C

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/paulhayes/copterface/issues/6#issuecomment-345767037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAm1T-OeNveqOPO3UuNdh0d4VpBtgFh-ks5s4bYOgaJpZM4QRr8C
.


Docs and linter corrections for invalid / missing attributes

There are a number of attributes listed in the documentation which don't actually exist. These are:

mj-table font-style

This PR removes these from the relevant README.md files.
It also corrects the docs for mj-carousel's container-background-color attribute, and adds the following two attributes to the relevant allowedAttribs objects:

mj-carousel container-background-color
mj-carousel-image target
mj-social-element rel

👍


[tool_crash] FileSystemException: Cannot open file, OS Error: The operation did not complete successfully because the file is infected or contains potentially unwanted software., errno = 225

Command
flutter --no-color build apk

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: The operation did not complete successfully because the file is infected or contains potentially unwanted software., errno = 225
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      ForwardingFile.openSync (package:file/src/forwarding/forwarding_file.dart:71:16)
#3      ErrorHandlingFile.copySync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:315:22)
#4      _runSync (package:flutter_tools/src/base/error_handling_io.dart:597:14)
#5      ErrorHandlingFile.copySync (package:flutter_tools/src/base/error_handling_io.dart:314:5)
#6      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:483:13)
<asynchronous suspension>
#7      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:184:5)
<asynchronous suspension>
#8      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:109:5)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)

[✓] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19044.1766], locale tr-TR)
    • Flutter version 3.0.1 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (7 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\seker\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[✗] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✗] Visual Studio - develop for Windows
    ✗ Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.68.1)
    • VS Code at C:\Users\seker\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1766]
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 103.0.1264.44

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: fb57da5f945d02ef4f98dfd9409a72b7cce74268
Plugins
cloud_firestore-3.2.1
cloud_firestore_web-2.6.19
firebase_auth-3.4.1
firebase_auth_web-3.3.19
firebase_core-1.19.1
firebase_core_web-1.6.6
path_provider_linux-2.1.7
path_provider_windows-2.1.0
shared_preferences-2.0.15
shared_preferences_android-2.0.12
shared_preferences_ios-2.1.1
shared_preferences_linux-2.1.1
shared_preferences_macos-2.0.4
shared_preferences_web-2.0.4
shared_preferences_windows-2.1.1
sqflite-2.0.3

Closing this as a duplicate of https://github.com/flutter/flutter/issues/61997


Docs: Fix 'elegible' typo in rule-sri to 'eligible'

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[ ] Added/Updated related documentation.
[ ] Added/Updated related tests.

Short description of the change(s)
Fix typo described in #1163

Thanks, @frvge!


OSX

I was wondering if support for OSX with QEMU is possible.
I gave it a try and got along way.

x-MacBook-Pro:runv apple$ ./configure --without-xen
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ranlib... ranlib
checking build system type... x86_64-apple-darwin16.4.0
checking for go... yes
checking host system type... x86_64-apple-darwin16.4.0
checking for vboxmanage... no
configure: error: Unable to find vboxmanage binary in PATH
x-MacBook-Pro:runv apple$

ok so OSX seems a happy camper:
config.status: executing depfiles commands

	runv  0.8.0
	build OS:   darwin16.4.0
	prefix:	    /usr/local
	has go:     yes
	with xen:   no
	with libvirt: no
	has virtualbox: yes

But my main task is to run stuff in QEMU / KVM.
For example i want to run ChromoiumOS in my case.

Out of the box it's not going to work because there is no KVM in macOS. You could try to hack on hypervisor/qemu/qemu_amd64.go by starting removing everything related to kvm.
By the way, why do you want to use runv to run chromium-os?

From the hyperd's perspective, the most significant problem is there is no layered graph driver on Mac right now.

I need to run chrome is to help testing my apps. This is part of CI.
Then integration tests run on the actual chrome OS

I'd use this: https://www.chromium.org/chromium-os/testing/running-smoke-suite-on-a-vm-image as a base for your own tests.

Thanks will give it a shot
On Wed, 5 Apr 2017, 13:58 Dmitry Voytik<EMAIL_ADDRESS>wrote:

I'd use this:
https://www.chromium.org/chromium-os/testing/running-smoke-suite-on-a-vm-image
as a base for your own tests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperhq/runv/issues/460#issuecomment-291839170, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATuCwsKkwIVZgNooQ9_PhRGGm8n3mHXcks5rs4HkgaJpZM4MqY8V
.


da.json on Android Automotive - Polestar 2

The voice directions in v. 4.2.7 thats are available on Play Store in Android Automotive doesn’t have the right strings.
Is there a other translation for that version or, is some lines missing in the da.json to make the right voice directions?

there are no other translations, most likely some of the strings were not translated in that version. please try upgrading to the latest version of the app (at this time 4.3.9)


adding test case for CVE-2017-10176

blog post description in
http://blog.intothesymmetry.com/2017/08/cve-2017-7781cve-2017-10176-issue-with.html

I signed it!


feat: teleportPosition as spawnpoint

Contributes #63
TODO:

[x] First Spawn
[x] Teleport (/goto)
[x] Babylon Support
[x] Unity Support

@fmiras make it pass the build and we merge it


Pallas jax.lax.fori_loop over long inputs slows down

Description
Inside Pallas kernels, we often want a loop, and to speed up compilation, we typically use a scan function such as jax.lax.fori_loop. (For example, in the attention kernel example here.)
As the length of the loop grows, fori_loop slows down execution substantially (relative to using a Python for-loop). I put together a minimal script to isolate the issue, and running it on an A6000, saw a 2-3x slowdown on long loops:
T=256
python for-loop: compile = 177ms, execution ms_per_kernel_call = 0.317ms
jax.lax.fori_loop: compile = 193ms, execution ms_per_kernel_call = 0.318ms
T=2048
python for-loop: compile = 242ms, execution ms_per_kernel_call = 2.247ms
jax.lax.fori_loop: compile = 200ms, execution ms_per_kernel_call = 2.255ms
T=8192
python for-loop: compile = 473ms, execution ms_per_kernel_call = 8.946ms
jax.lax.fori_loop: compile = 194ms, execution ms_per_kernel_call = 9.281ms
T=16384
python for-loop: compile = 776ms, execution ms_per_kernel_call = 18.177ms
jax.lax.fori_loop: compile = 198ms, execution ms_per_kernel_call = 22.288ms
T=32768
python for-loop: compile = 1460ms, execution ms_per_kernel_call = 36.009ms
jax.lax.fori_loop: compile = 200ms, execution ms_per_kernel_call = 58.552ms
T=65536
python for-loop: compile = 2978ms, execution ms_per_kernel_call = 71.313ms
jax.lax.fori_loop: compile = 195ms, execution ms_per_kernel_call = 172.925ms

Here is the script that generated these results:
import time

import jax
import jax.experimental.pallas as pl
import jax.numpy as jnp

# ---------- PALLAS ------------

class JaxKernel:
    fwd_blk_i = 128
    fwd_blk_j = 64

    def __init__(self, use_scan):
        self.use_scan = use_scan

    def __call__(self, X):
        t, d = X.shape
        grid = (t // self.fwd_blk_i,)
        Y = pl.pallas_call(
            self.fwd_kernel,
            grid=grid,
            out_shape=jax.ShapeDtypeStruct(X.shape, X.dtype),
        )(X)
        return Y

    def fwd_kernel(self, X_ref, Y_ref):
        i = pl.program_id(0)
        t, d = X_ref.shape

        X_i = pl.load(X_ref, pl.ds(start=i * self.fwd_blk_i, size=self.fwd_blk_i))
        Y_i_acc = jnp.zeros([self.fwd_blk_i, d], dtype=X_i.dtype)
        def body(j, carry):
            B_ij = X_i.sum()
            carry += B_ij + j # crashes if loop variable not involved
            return carry

        if self.use_scan:
            Y_i = jax.lax.fori_loop(0, t // self.fwd_blk_j, body, Y_i_acc)
        else:
            for j in range(0, t // self.fwd_blk_j):
                Y_i_acc = body(j, Y_i_acc)
            Y_i = Y_i_acc

        pl.store(Y_ref, pl.ds(start=i*self.fwd_blk_i, size=self.fwd_blk_i), Y_i)

# ------ BENCHMARK UTILS -------

def prepare_data(b, t, d, dtype):
    """Creates the data for a forward pass."""
    return jax.random.normal(jax.random.PRNGKey(0), shape=(b, t, d), dtype=dtype)

def heavyweight(f, n, b, t, d, dtype):
    """Given a kernel for a single batch, transforms it to repeat on many batches.

    Returns output to make sure no computation gets compiled away."""
    @jax.jit
    def heavy_f():
        def batch_f(X):
            out = f(X).mean()
            return out
        def scanner(_, __):
            X = prepare_data(b, t, d, dtype)
            return None, batch_f(X)
        _, Y = jax.lax.scan(scanner, None, jnp.arange(n))
        return Y
    return heavy_f

# ---- RUN -----

def main():
    # set up pallas att
    pallas_scanless = jax.vmap(JaxKernel(use_scan=False))
    pallas_scanner = jax.vmap(JaxKernel(use_scan=True))

    # confirm output is correct
    X = prepare_data(1, 2048, 16, jnp.float32)
    pallas_scanless_Y = pallas_scanless(X)
    pallas_scanner_Y = pallas_scanner(X)
    assert jnp.allclose(pallas_scanner_Y, pallas_scanless_Y, atol=.001)

    # choose hyperparameters
    N = 16      # number of times to repeat execution
    B = 512     # batch size
    T = 8192   # context size
    D = 64      # feature size
    dtype = jnp.float16
    print(f'{N=} {B=} {T=} {D=}')

    # jit functions
    heavy_scanless = heavyweight(pallas_scanless, N, B, T, D, dtype)
    heavy_scanner = heavyweight(pallas_scanner, N, B, T, D, dtype)

    # compile
    _t = time.time()
    jax.block_until_ready(heavy_scanless())
    scanless_time_to_compile_and_execute = time.time() - _t

    _t = time.time()
    jax.block_until_ready(heavy_scanner())
    scanner_time_to_compile_and_execute = time.time() - _t

    # time the main execution
    _t = time.time()
    jax.block_until_ready(heavy_scanless())
    scanless_time_to_execute = time.time() - _t
    ms_per_kernel_call = 1000 * scanless_time_to_execute / N
    scanless_time_to_compile = (
            scanless_time_to_compile_and_execute - scanless_time_to_execute)
    print(f'{1000*scanless_time_to_compile = :.3f}ms, '
          f'execution {ms_per_kernel_call = :.3f}ms')

    _t = time.time()
    jax.block_until_ready(heavy_scanner())
    scanner_time_to_execute = time.time() - _t
    ms_per_kernel_call = 1000 * scanner_time_to_execute / N
    scanner_time_to_compile = (
            scanner_time_to_compile_and_execute - scanner_time_to_execute)
    print(f'{1000*scanner_time_to_compile = :.3f}ms, '
          f'execution {ms_per_kernel_call = :.3f}ms')

if __name__ == '__main__':
    main()

System info (python version, jaxlib version, accelerator, etc.)
>>> import jax; jax.print_environment_info()
jax:    0.4.25
jaxlib: 0.4.25
numpy:  1.26.4
python: 3.11.4 (main, Dec  7 2023, 15:43:41) [GCC 12.3.0]
jax.devices (2 total, 2 local): [cuda(id=0) cuda(id=1)]
process_count: 1
platform: uname_result(system='Linux', node='jacob-manifestai', release='6.2.0-39-generic', version='#40-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:18:00 UTC 2023', machine='x86_64')

$ nvidia-smi
Wed Apr 24 01:15:09 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.161.07             Driver Version: 535.161.07   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA RTX A6000               On  | 00000000:2D:00.0 Off |                  Off |
| 30%   39C    P2              38W / 300W |    269MiB / 49140MiB |      1%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA RTX A6000               On  | 00000000:41:00.0 Off |                  Off |
| 30%   40C    P2              30W / 300W |    269MiB / 49140MiB |      1%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A   4176762      C   ...anifest2-ozEuPuop-py3.11/bin/python      262MiB |
|    1   N/A  N/A   4176762      C   ...anifest2-ozEuPuop-py3.11/bin/python      262MiB |
+---------------------------------------------------------------------------------------+

I think the best explanation I found online is the following:

To elaborate on this, the reason GPU is so fast for vectorized operations is not that individual floating point operations are particularly fast (they're actually often slower than similar operations on a CPU!), but rather that it can very efficiently run many operations in parallel. For an operation like scan in which each step depends on the output of the previous, the sequence of operations as a whole cannot be parallelized. So you end up not taking advantage of any of the GPU's inherent parallelism, and the result is slow execution.
Contrast this to CPU, where individual floating point operations are relatively fast, but there is no so much in-built parallelism available. Because of this, scan does not incur as much of a performance penalty.

I think this falls into the same bucket. Like my example, where the input of each layer depended on the output of the previous one (the carry), this is a pure sequential loop. There is probably a sweet spot with the unroll parameter where compilation times and loop times are optimal.


chore(master): release 1.4.23

:robot: I have created a release beep boop
1.4.23 (2023-09-12)
Miscellaneous

deps: update docker/metadata-action action to v5 (6c6fb99)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/docker-build-deps/releases/tag/v1.4.23 :sunflower:


Endoc 53 update tutorial

Don't merge yet. But publishing for review.

My biggest question is what happens to the few existing files that were the source for most of this tutorial, if I'm reading it correctly. We need a plan to consolidate the content, I think.

vuepress\docs\next\tutorials\backend-developers\generate-microservices-and-micro-frontends.md
vuepress\docs\next\tutorials\ecr\tutorials\from-blueprint-to-de.md

I've moved the new tutorial into vuepress\docs\next\tutorials\backend-developers\generate-microservices-and-micro-frontends.md so we're good there.
I think vuepress\docs\next\tutorials\ecr\tutorials\from-blueprint-to-de.md is probably dead at this point. That is for sure covered by the steps in the second half of the new tutorial. One option is to move the new tutorial steps for building and deploying into that link and then reference it at the end of the tutorial and let the user choose to go to Run Locally or Deploy to ECR.

Then there are other docs with overlapping content:

vuepress\docs\next\tutorials\ecr\tutorials\ecr-deploy-use-plugin-and-mfe-without-bundle.md

I'll refactor this one a bit. The steps at the end are unique. We can just remove the generation side of it which is incomplete anyway.


Adding cloudwatch:ListMetrics

I deployed the integration, the plan and apply have been success, however when I checked the integration page in the Datadog Integrations Page  I got the following screen:

After adding the cloudwatch:ListMetrics permission to the policy and redeployed the code, the issue has gone.

Thanks @RustyChain !

Thanks @RustyChain !


Fix/pre proposals permission denied (571)

(edited description) Now ready for review!
What's up?

Proposal submission logic has been moved out of form_valid, and into start_review
Some tests have been moved around, BaseViewTestCase now lives in main, proposal tests now live in a subdir
New tests for submitting the three flavours of proposals
The new BaseProposalTestCase loads from a fixture. The previous one has been renamed to MiscProposalTestCase

Acknowledgement: There is so much more to test. I've chosen to draw the line at a basic canary for these specific views. Extending the coverage should be a lot easier in the future.
Weirdness:

Proposals don't need such luxuries as a study or wmo to be fine to submit.
Creators of a proposal don't have access to it by default, only applicants do. Not that weird but it tripped me up.

Hi Edo, because I added some more code I'm re-requesting a review from you. I'm only looking for feedback on the new load_fixtures management command, and loading the test proposals from fixtures.

I do have some questions. Is it necessary for both the BaseProposalTestCase and the MiscProposalTestCase to coexist? It seems like they are largely doing the same thing and could possibly be fused into one, to work for all tests. I think that would be a bit cleaner, but I don't know how much work that would be. I think they could already get cleaned up with some clever inheritance ... I am not opposed to the current state, but maybe you can explain your reasoning having both of these?

The reasoning is quite simple, I do not want to rewrite the entire other ProposalTestcase to use my new fixture. To answer your question, that would be a lot of work. Rewriting tests can be a huge timesink, for no benefit in this case. The other tests still work, so they may remain until they are replaced by something better.


error in evaluation

hello, thanks for your fantastic work!
I run your code and come across an error while evaluating the model, as shown below:

Setting up the agent
routes_town05_long_03_14_18_56_00
Loading the world
Skipping scenario 'Scenario4' due to setup error: list index out of range

It seems the error occurred when loading the scenario, but I don't know where goes wrong. Did you meet the error like this, or is it normal in evaluation?

And I also meet the error as bellow:

Registering the route statistics
ERROR: failed to destroy actor 353 : unable to destroy actor: not found
ERROR: failed to destroy actor 408 : unable to destroy actor: not found

These generally occur if you are trying to load more scenarios/actors than there are spawn points or if there is a conflict in the spawn location with another scenario/actor. This is fine and does not affect the evaluation.


[core] Sanitize input in icon synonyms update script

The icon metadata from https://fonts.google.com/metadata/icons contain tags that cause our script to produce invalid JS. Specifically, a few tags are surrounded by apostrophes. This fix removes any apostrophes found in the tags.
Additionally, it skips tags that are clearly invalid - ones that contain "Remove", "Duplicate", "Same as", "remove others", so these strings don't appear as synonyms.

@siriwatknp, @oliviertassinari can I please have this PR reviewed?

I have added the scope label, so we can more easily find others like this in the future. e.g, it looks like a follow up on https://github.com/mui/material-ui/pull/32742 :+1:

I haven't added it in the first place as the code lives in the docs directory, not in the icons package. But I'm OK with having it to indicate the change is related to icons.


wiki isn't updated

when are you going to update the wiki for stuff like the antenna and missile transport carts?

That would be because no one has had time to work on the wiki.

ok, thanks


fix(costmap_generator): restrict costmap within parking lot

Signed-off-by: NorahXiong<EMAIL_ADDRESS>Description

fix #947
Related links

#947
Tests performed

Tested in planning simulator.
Before fixing: nearby roads are included in freespace planning boundary

After fixing: only parking lot is able for freespace planning

Notes for reviewers

This fixing is only for parking scenario. Not sure if costmap_generator will be used for other scenarios in the future. If so, this fixing may be inappropriate and more comprehensive design is needed.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I'll ask some people who are familiar with the Parking components.

@NorahXiong By the way, could you confirm the guidelines and check these boxes, please?

@NorahXiong By the way, could you confirm the guidelines and check these boxes, please?

Confirmed now.

@NorahXiong
Thank you for your contribution.
This module is currently used only for parking purpose but could be extended to any freespace planning usecases.
So we should have options for users to select the planning area.
Would you add parameters to select the planning areas in both yaml file and cpp code? It's going to be like:
use_wayarea: true
use_parkinglot: true

if (use_wayarea_) {
    loadRoadAreasFromLaneletMap(lanelet_map_, &area_points_);
}
if (use_parkinglot_) {
    loadParkingAreasFromLaneletMap(lanelet_map_, &area_points_);
}

Please let both true for now since the map used in the tutorial doesn't have an overlapping area.

Please let both true for now since the map used in the tutorial doesn't have an overlapping area.

@TakaHoribe Please let me confirm this sentence.
Why did you think "the map used in the tutorial doesn't have an overlapping area"?
I think it does have an overlapping area, and enabling wayarea causes this issue.
So I believe use_wayarea_ should be false. Am I wrong? :thinking:

From the ASWG discussion, @xmfcx and @mitsudome-r agreed to add a parameter as mentioned by @TakaHoribe 's comment.
@NorahXiong Could you modify the code and add a parameter for users to select which map primitives will be used for free space?

@xmfcx Sorry for my late. I'll take it.

@NorahXiong Sorry for the long wait. Thank you for your work!


No ability to configure SSL connectivity

I upgraded my aging IC36 to an IC36-II, and v4.5 Design Center.
SSL is enabled, and SSL ports are 2010 and 3010.
Other than forking the code and hand coding to enable SSL and 2010 and 310, is there an alternative I overlooked?

I just merged my ADD_USE_SSL_OPTION branch to master -- it adds "use_ssl: true" as a hass option for the vantage setup


asf-tools v0.8.1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ Recipes should usually depend on astropy-base as opposed to astropy. astropy-base only has the required dependancies whereas astropy now has all optional dependancies as well.
ℹ noarch: python recipes should usually follow the syntax in our documentation for specifying the Python version.

For the host section of the recipe, you should usually use python {{ python_min }} for the python entry.
For the run section of the recipe, you should usually use python >={{ python_min }} for the python entry.
For the test.requires section of the recipe, you should usually use python {{ python_min }} for the python entry.
If the package requires a newer Python version than the currently supported minimum version on conda-forge, you can override the python_min variable by adding a Jinja2 set statement at the top of your recipe (or using an equivalent context variable for v1 recipes).

ℹ PyPI default URL is now pypi.org, and not pypi.io. You may want to update the default source url.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12384445515. Examine the logs at this URL for more detail.

@conda-forge-admin, please restart ci


Error When Creating User after initialize tenant on custom TenantKeyname

Bug description

When using Synced Resource, I change getTenantKeyName to my custom column slug instead of  id,  when creating new user after initialize tenant, it try to attach the user to the tenant on event : updateResourceInCentralDatabaseAndGetTenants
Pivot::withoutEvents(function () use ($centralModel, $event) {
     $centralModel->tenants()->attach($event->tenant->getTenantKey());  // <- this line
 });

It is trying to create pivot tenant_users with global_user_id and tenant slug instead of id because it uses the attribute getTenantKey()
Steps to reproduce
When using Synced Resource, I change getTenantKeyName to my custom column slug instead of  id,  when creating new user after initialize tenant, it try to attach the user to the tenant on event : updateResourceInCentralDatabaseAndGetTenants
Expected behavior
Model User should be created and attached to the initialed tenants without error even when using custom tenant_key_name on Tenant Model
Laravel version
9.2
stancl/tenancy version
3.5.7

Could you provide all of the relevant code? It's difficult to understand what's your code and what's the package code that you're referring to.


Magic Modules reports following error

According to the specification: "Note that all properties illustrated here are optional, which means you do not want to override anything in api.yaml"
This applies to 2 fields: "overrides" and "version_added"
D, [2019-07-05T08:00:18.613182 #6] DEBUG -- : Checking 'overrides' on Provider::Azure::Ansible::Config
bundler: failed to load command: compiler (compiler)
RuntimeError:  > Missing 'author'
/magic-modules/google/yaml_validator.rb:66:in check'   /magic-modules/provider/azure/ansible/config.rb:25:in validate'
/magic-modules/provider/config.rb:65:in parse'   compiler:129:in block in <top (required)>'
compiler:102:in each'   compiler:102:in <top (required)>'

It is my fault not describing it clearly. Actually I mean the properties in overrides and datasources sections are completely optional. (But overrides itself is also required)

Docs updated in #71 .


fix: #575 Added Issues and PR templates

Resolves #575
The Issues template will look like this:

And the PR template will look like this:

Let me know of any other modifications in this PR

@shadcn

@shadcn @dan5py


i can improve the UI

@surajondev kindly assign this to me

I would like to improve the UI. Can I work on this?

You can work on it.


Dealing with HTTP 500 Errors

As stated in https://forums.adafruit.com/viewtopic.php?f=60&t=192584
The user was running into a 500 server error. It seems to be dying inside of network.py. I'm wondering if there's a better way to handle this or is it an error that we should leave as it is so the user can try/catch it?

I think it makes to have user code handle non-200 responses, since the remedy could be different depending on the use case.  But maybe passing along the response in the error would be helpful in that case?


Autoreporting get group variants performance

These api calls take multiple seconds, mainly since they abuse the finngen annotation DAO by requesting results for a huge amount of variants. Dropping this from the call would drop call duration to fractions of a second.

merged #326


Docker compose fix and added error handling to the script for searching PubMed by DOI

Yes, I did. =) Thanks @azurebrd


[Release-1.28] - Bind LoadBalancer nodePort for rootless k3s

Backport fix for Bind LoadBalancer nodePort for rootless k3s

#9511

Validated on RC v1.28.8-rc1+k3s1
Followed the same setup and steps as mentioned here for replication and validation. Observed the expected results
https://github.com/k3s-io/k3s/issues/9511#issuecomment-2016604071
Replication
$ k3s -v
k3s version v1.28.7+k3s1 (051b14b2)
go version go1.21.7

Pod is NOT accessible via nodePort

$ curl -sL --insecure http://<external-ip>:<nodePort>/name.html

Validation
$ k3s -v
k3s version v1.28.8-rc1+k3s1 (653dd61a)
go version go1.21.8

Pod is accessible via nodePort

curl -sL --insecure http://<external-ip>:<nodePort>/name.html
nginx-loadbalancer-pod-7c4cdb6969-2w8k7


Namespaces and imports

Personnel

[x] Owner: @mbudiu-vmw
[x] Supporters: @jnfoster, @jafingerhut

Design

[x] Document: https://github.com/p4lang/p4-spec/wiki/Modules-Notes, https://docs.google.com/document/d/1W1JnecoTCcgPjSObb7ZaCvPTubO5Vmbalain7NROSNo/edit?ts=5e517b94#

Implementation

[x] p4-spec: https://github.com/p4lang/p4-spec/pull/798; see also #718
[ ] p4c:

Process

[x] LDWG discussed: repeatedly
[ ] LDWG approved:
[ ] Merged into p4-spec:
[ ] Merged into p4c:

Apologies if this is a duplicate of some other issue.  Happy to close this and replace it with something else if that is preferred for long-term tracking.
I just wanted to record one idea mentioned in the language design WG earlier today, in case it turns out to be of interest for a P4_16 module / namespace system.
I will give syntax examples from Python, simply because I am more familiar with that and less with others, but hopefully the ideas are clear.
Python allows several ways to import a package, of which I will possibly leave some out since I may not know them all:
(a) import <package_name> enables the "caller" to use names inside of <package_name> with a syntax like <package_name>.<name_inside_package>.  You cannot use <name_inside_package> without the prefix.
(b) import <package_name> as <alias_name> enables the caller to use names inside of <package_name> with the syntax <alias_name>.<name_inside_package>.  The reason it exists in addition to the previous option is that the caller can choose to make <alias_name> much shorter than <package_name>.  The caller is responsible for ensuring that multiple <alias_name>'s to not collide with each other.
(c) from <package_name> import * enables the caller to use names inside of <package_name> with the syntax <name_inside_package>, with no prefix required.  Any local names that happen to be the same as a name inside of the package are subject to the normal language rules for shadowing or redefinition.
If P4_16 enabled operations like (a) and (b), but not (c), then it has the property that either <package_name>. or <alias_name>. prefixes are always required when referring to a name inside of another package.  They can be short because <alias_name>'s can be short, but they must be present.
Some people consider this an advantage, in that it makes it clear on a casual reading which names are from other packages, and which are local.  If you allow option (c), then it is not clear when you read a name foo whether it is in this package, or one of 1 up to N other packages for which you have done from <package_name> import *.
Requiring the prefixes also means that later versions of packages can introduce new names, and be guaranteed that they will not collide with names in the code that imports the package.
Anyway, nothing earth-shattering here, and I know some people probably dislike having to type prefixes, but I personally like requiring them simply for a code reader to easily determine which package that names come from.

Sorry I missed the brainstorming meetings, and thus may be treading old ground with this comment, that misses some requirements that you have identified but aren't explicitly stated in comments here yet.  Please feel free to add comments describing any such requirements that this comment's proposal misses.
One way to add a 'namespace' mechanism to P4 that still allows the use of #include preprocessor directives, is to imagine that for the time being, P4 programs after running through the preprocessor would still be "one big source file", then define namespace/module syntax that would have meaning within that one big source file, to separate namespaces from each other.  I think that C++ for example allows multiple namespaces to be defined, and declarations/definitions made inside of each one, inside of one source file, too.
As a concrete example of some possible syntax, see this sample P4 program that includes a file "header_lengths.p4" that defines a namespace named "header_lengths": https://github.com/jafingerhut/p4-guide/blob/master/namespaces/sample1.p4#L3-L30
Here is the contents of header_lengths.p4: https://github.com/jafingerhut/p4-guide/blob/master/namespaces/header_lengths.p4
After the preprocessor runs, all of those #include's in sample1.p4 are expanded, and you have one big source file, which may optionally define any number of "namespace" blocks inside of it.  Later code can refer to earlier namespaces (unless someone thinks it is important to allow cycles of reference between namespaces, but hopefully that isn't necessary for the idea to be useful).

Carrot: Just imagine if we never had to have a discussion in a LDWG meeting again about adding a new function/action/etc. could break existing user programs that use that name!  Of course, we would have to bikeshed over the names of namespaces, and whether something should be added to an existing namespace, or a new one.  Still, it seems like progress.

I don't think modules need to declare namespaces. The ones who import the modules can declare namespaces, confining them into a namespace of their choice. In this way there are no conflicts, because the users choose the namespaces, and can use different namespaces for different modules. This is better than C++, and more like Python.

So here is a question:
What features or capabilities do people want from a P4_16 module system?
Is adding namespaces orthogonal to a module system, or intertwined in some way?
if they are considered independent, is adding namespaces useful enough on its own as a separate step?

I actually think that namespaces as existing in C++ are a bad design. We don't really need them.

Mihai, do you expect that a P4_16 module system would provide some kind of isolation of newly defined names, so that discussions like we have in a LDWG meeting about new standard function names can break previous programs, could be a thing of the past?
If a module system does not provide such benefits, why not some form of namespaces that would make them a thing of the past?  I should be cautious in saying that despite my code examples using the syntax "namespace { ... }", I know very little about the namespace feature in C++ and am not trying to imply by that syntax that we should copy the C++ design.

Yes, absolutely. The Python model seems useful. When you import something you can move it to its own namespace. You don't construct namespaces, they are constructed when you import something else. This way the one who imports can control all names, not the one who declares them. You can also rename symbols when you import.

Perhaps I should not really call them "namespaces". What happens is that you give a new name to something when you import it. You can, for example, add a prefix to all names that you import.

import * from file.p4 into X

All top-level declarations from file.p4 would now be renamed prefixed with X. (or something similar).
I think that this is the core of what we need.
The hard part is keeping all the existing constructs #define, #if, #include. I don't think we can get rid of them. But we have to blend them with the modules somehow.

So my proposal with namespace <name> { ... } is intended not to be C++ namespaces, but simply a way to declare multiple namespace in one file (or none).  That way, no statements in the P4_16 language would refer to file names (#include directives still can, but if we think of them as outside the P4_16 language proper, and part of the preprocessor, then they are not in P4_16).
The main reason I ask is whether someone has the idea that "a P4_16 module system" has some other features they want to come with it, e.g. module interfaces, contracts, etc.
If not, i.e. if the primary feature we want from it is to let people define whatever names they want in their own namespace, and anyone else declaring that same name in another namespace can be independent of that, then I think we get something useful out of it.
There is still the issue that namespace names themselves can conflict.  The best solution I know of for that is Java's package naming convention, where people are suggested to create globally unique namespace names using reversed DNS names, e.g. org.p4.psa.v1 or com.cisco.csa

With the "import" solution in python names will never conflict, because you import them with any name you like.

If you try to copy Python's import features exactly, then you can make names conflict, but the important thing is that as long as you avoid implementing Python's from package_foo import *, all such conflicts are self-inflicted and easy to detect at the point of the import statements.
Python import package1: requires names inside of package1 to be qualified with package1. prefix after the import, so no unexpected name conflicts possible.  The primary down side is that if package names are long, then so are the prefixes you must use in your code.
Python import package1 as X: requires names inside of package1 to be qualified with X. prefix after the import, so no unexpected name conflicts possible.  I believe this is the Python syntax equivalent of the behavior you describe for import * from file.p4 as X.  It is good for allowing package/module/namespace names to be long, and thus easily globally unique, but the 'alias' names X can be short, or whatever the P4 programmer wants them to be.
Python's from package1 import name1, name2, name3 makes name1, name2 and name3 from inside of package1 accessible as those names, without a prefix.  Thus importing the same name1 like that from two different packages probably leaves name1 referring to the one from the last import statement.  The good news is that the repeat of name1 in your source code makes that much easier to detect locally, without needing to know anything about the complete set of names defined in those packages.  Note: As you have pointed out, this option could be considered an unnecessarily luxury.  I only mention it because it is still safe as far as conflicting names go, because the explicit occurrence of the imported names in the statement makes conflicts or redefinitions easy to spot at the import site.
The one I would definitely anti-recommend from Python is from package1 import *.  Why?  Because it works like the from package1 import name1, name2, name3 above, except that it imports every name from package1 so that it can be used locally without a prefix.  This is just as bad for future possible name conflicts, after your program changes, or after package1 changes in its future versions, as if you did not have modules/packages/namespaces at all.  It also makes it difficult in one's program to determine where names were originally defined.

We should also have something like from package import X as X1, which imports a symbol and renames it.

In the interest of tidying up the set of active issues on the P4 specification repository, I'm marking this as "stalled" and closing it. Of course, we can always re-open it in the future if there is interest in resurrecting it.


Extension Manager Not Loading

Extension manager is not loading. I bring up the extension manager and the little animated loading icon just keeps looping. In Developer tools, I get this message:
GET http://online-dnbard.rhcloud.com/tick/53e1fa4f5c9674bcbe00004c net::ERR_NAME_NOT_RESOLVED
followed by
Can't track online status, retry in 5 mins
both of which repeat every 5 minutes.
Running Ubuntu 16.04 Xenial
and Brackets Release 1.11 build 1.11.0-17524 (release 86b5e2d4e)
(although this was still a problem before updating to the latest version)

I had the same issue.  I changed the language under debug from system default to English(US) and the extension manager started to work again.

I was just wondering, how di?

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

I just wondered,How did you think this solution

I cannot believe it was that easy, Thanks.

Looks like the issue is resolved, Closing this.

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

Same issue here.
Ubuntu 18.04
Brackets Release 1.13 versión 1.13.0-17696 (release 49d29a8bc)
Did the language change to Español and worked flawlessly. I was trying to work with a network folder on a remote server and it didn't worked, until this.
Thanks!

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

Thanks a lot man. This solved the issue.

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

I have to say, this is brilliant...

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

Had the same issue did what you said and instant fix. Thnx a lot man

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

It also worked for me. Many many thanks for sharing.

This should be fixed or at least give a warning to the user,

It seems like this issue is related to https://github.com/adobe/brackets/issues/14581#issuecomment-491566321, which can be fixed by installing the language pack in Ubuntu.
See my comment here: https://github.com/adobe/brackets/issues/14581#issuecomment-491569033

Thanks for the answer, it was fine for me too.

2019 ending and still a issue. Solved changing language to English US

It's now 2020 I managed to fix it by changing language, hope someone commits a fix soon!

I had the same issue. I changed the language under debug from system default to English(US) and the extension manager started to work again.

Thanks, that works perfectly fine!

It's now 2020 I managed to fix it by changing language, hope someone commits a fix soon!

Yeah. exactly that should not be the case.

Still an issue.
btw. don't panic if fix doesn't work for you, it still has to load for 5-10s.

It's now 2020 I managed to fix it by changing language, hope someone commits a fix soon!

Did you try installing an extension? Because i can't

Thanks Its fixed My same Issue...


docs/install/olm.md: link files required for installation

link files required for installation and show their content
What type of PR is this?
/kind documentation
What does this PR do / why we need it:
The installation documentation refers to files only by filename, without mentioning where to find them, linking to them or showing their content. To avoid copy&paste from different pages, it would be convenient and less error-prone to have this all on one page.
fix #1107
Have you updated the necessary documentation?
This is a documentation-only PR.
Which issue(s) this PR fixes:
Fixes #1107
How to test changes / Special notes to the reviewer:
This contains the fixes for #1106 in the operatorgroup.yaml file contained in #1108

LGTM. Thanks for the PR @johanneskastl.
Can you fix the DCO CI check? You need to sign the commit.

LGTM. Thanks for the PR @johanneskastl.
Can you fix the DCO CI check? You need to sign the commit.

Done, both signed-off and GPG-signed.


Demo Data

Hello, @SamoraHunter
I am working with your code and I was able to do the training using my custom data.
The result of the training is not good because I'm getting extremely high loss.
Can I request for your data(csv) you used in the code?
I will just check if I will still get the same result.
Thank you in advance.

@jrycastillo
Thanks for trying my code.
Unfortunately the raw data is not available at the moment.
The script is also due to be tidied up soon.
The dataset was all of the same "class" of object, with subtle but real differences/ variance in features/noise. The size of the dataset was 1000, with 3000 additional samples created by averaging 2-5 random samples from the true data. There were 11000 c. dimensions though only 6000 or so contained variance.
I attach also a rudimentary parameter/architecture search script used to choose the number of layers. I also tweaked the level of compression which is propagated through the layers toward and from the latent dimension. The latent dimension size may also be tweaked. The learning rate too has a big impact.
There is code to produce images of your generated meshes in pptk too to examine changes to parameters.
*I'm not 100% sure about the calculation of the loss function as I tweaked it from an implementation found else where.
Here is a small sample of the data to give an idea of how similar each sample is:
n.b some points across the 11k or so dimensions were identical for most samples too.
*These are the xyzxyzxyz coordinates

4.040555
-2.780733
113.262947
3.91311
-2.532412
113.462578
3.578881
-3.159334
113.793854
3.763192
-3.216416
113.470428

4.040555
-2.780733
113.262947
3.91311
-2.532412
113.462578
3.578881
-3.159334
113.793854
3.763192
-3.216416
113.470428

4.064868
-2.79262
113.261032
3.925778
-2.539116
113.463196
3.592779
-3.169648
113.794998
3.788126
-3.229459
113.468956


NoiseChunkGenerator constructor incorrect parameter names

the constructors are really long, but the first params of both are
Registry<StructureSet> noiseRegistry, Registry<DoublePerlinNoiseSampler.NoiseParameters> structuresRegistry
and more "evidence" is from the body of the constructor
this.noiseRegistry = structuresRegistry;

Fixed by #3056 and #3067.


Pressing  while in Lspsaga code_action() doesn't work

Description
I have assigned the  macro to the Lspsaga code_action(), the menu appears when I pressed this macro in a good situation.
Expected Behavior
It should implement abstract members (for example)
Actual Behavior
It does nothing
Neovim Built in Behavior
It displays what I want as Lspsaga code_action
Details

// Just installed lspsaga in my nvim lua configuration
I'm using C# and LSP servers

After some digging, i think a found the issue.
Apparently in this range of code from neovim, the attempt to get the current buffer (0) is some way pointing to the Lspsaga popup window (just guessing) if it is currently open.
I've tried closing the window before sending the request and it worked for the LSP's im using.
I can send a PR if you like @tami5.

Ih the would sooo generous of you @guihig Thanks.


Introspection fails on interfaces implementing other interfaces

Describe the bug
Refreshing schema started to error out recently. I haven't encountered such issue before.
The error is clearly related to an interface extending (implementing) another one. When I remove the implements part from this interface definition, everything works. This must be caused by some recent change, because my schema has this feature since April this year, and the error never happened before.
To Reproduce
Steps to reproduce the behavior:

Create an interface extending other interface like described in the spec
Refresh schema with the rounded arrows button
See an error like this:

Expected behavior
Introspection should not fail.
Desktop (please complete the following information):

OS: Linux
Browser: Chrome
Platform: Chrome extension, snap
Version: 4.0.7

Hello. Thanks for mentioning this. It would appear the graphql version in Altair is outdated and I'd need to update that

This is still happening for me on version 4.0.9 (which has the latest graphql package 15.5.1)
Unfortunately, this makes Altair unusable for me :(

Do you have a repo i can reproduce the issue in?

Currently no, as this is happening in our private product repo.
I'll try to make some time and create a standalone repro later.

Here is a simple server with a simple schema that currently doesn't work with Altair - GraphQLSandbox
Also, here is the Schema SDL that it produces
schema {
  query: Query
}

interface Document {
  creationTime: DateTime!
}

interface Message implements Document {
  from: User
  to: User
  creationTime: DateTime!
}

type Query {
  messages: [Message]
}

type TextMessage implements Message & Document {
  creationTime: DateTime!
  content: String
  from: User
  to: User
}

type User {
  name: String
}

"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over<EMAIL_ADDRESS>directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT

"The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR

"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over<EMAIL_ADDRESS>directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! "Streamed when true." if: Boolean!) on FIELD

"The `DateTime` scalar represents an ISO-8601 compliant date time type."
scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")

From what I understand the issue is with type TextMessage implements Message & Document {

Perhaps this requires v16 of graphql?

Here's a simple schema to reproduce the error:
    type Query {
      returnInterface: InterfaceB
    }

    interface InterfaceA {
        field: Int
    }

    interface InterfaceB implements InterfaceA {
        field: Int
    }

And you can test it with this endpoint using POST method.

Thanks. That endpoint will be useful.

Looks like it was introduced in<EMAIL_ADDRESS>https://github.com/graphql/graphql-js/pull/2084. So need to dig a bit more into why this isn't working.

Found the issue. prettier was out of date and uses its own implementation for formatting the graphql instead of graphql-js, so just needed to update prettier. Verified using your schema above locally

Thank you!

@imolorhe thanks, can you tag a patch release please?

V4.0.10 has been released


feat: add four year vesting

https://sovryn.monday.com/boards/2218344956/pulses/2563153145

Changes merged via #2248


AlertDialog content wrongly displayed on mobile

Discussed in https://github.com/flet-dev/flet/discussions/2068

Originally posted by Klu1d November 11, 2023
Question
I ran this code from the documentation in the flet application from the appstore, and I get this bug or error. What is the reason for this and how to fix it?

Code sample
import flet as ft

def main(page: ft.Page):
    page.title = "AlertDialog examples"

    dlg = ft.AlertDialog(
        title=ft.Text("Hello, you!"), on_dismiss=lambda e: print("Dialog dismissed!")
    )

    def close_dlg(e):
        dlg_modal.open = False
        page.update()

    dlg_modal = ft.AlertDialog(
        modal=True,
        title=ft.Text("Please confirm"),
        content=ft.Text("Do you really want to delete all those files?"),
        actions=[
            ft.TextButton("Yes", on_click=close_dlg),
            ft.TextButton("No", on_click=close_dlg),
        ],
        actions_alignment=ft.MainAxisAlignment.END,
        on_dismiss=lambda e: print("Modal dialog dismissed!"),
    )

    def open_dlg(e):
        page.dialog = dlg
        dlg.open = True
        page.update()

    def open_dlg_modal(e):
        page.dialog = dlg_modal
        dlg_modal.open = True
        page.update()

    page.add(
        ft.ElevatedButton("Open dialog", on_click=open_dlg),
        ft.ElevatedButton("Open modal dialog", on_click=open_dlg_modal),
    )

ft.app(target=main)

Error message
No response
------------------------------------------------------

[X] I have searched for answers to my question both in the issues and in previous discussions.

@FeodorFitsner, this issue has been resolved right?

Yep!

I'm encountering a similar issue on iOS. This is what is being displayed with the same code that @ndonkoHenri provided.

Sorry for that. We are aware of the bug and are working on a solution.

I can confirm, there is an annoying bug. Working on it.
Btw,  if you test your app on a mobile without Flet app it should work normally.

The issue has been closed because PR with a fix was merged into main.
However, for you to "see" the fix we should release Flet app update. Will be released in a day-two, thanks for your patience.


Error updating property 'underlineColorAndroid' of a View managed by AndroidTextInput

<Item style={{flex:8}}>                <Input placeholder="Mobile Number"                 onChangeText = { (text) => this.setState({ mobileNumber: text })}                 value={this.state.mobileNumber}                 onSubmitEditing = {this.getOtp.bind(this)}                 keyboardType = 'number-pad'                 returnKeyType = 'next'                 style = {{backgroundColor:'white'}}                 />  same component works fine in ios but in android it seems to be throwing the above error please find the attached screenshot.
I have integrated the native base as per the docs, my versions are
RN:0.44
NativeBase:^2.1.2
expo-vector-icons:^5.2.0

@akhil-geekyants  am i missing something here? please do let me know

@NULLPointerGuy I tried your code with the versions specified. It was working fine on the android device.

Closing this due to no response


Switch to Sail v0.15

Main work completed in 9b8283c0295550e602b78082a7d5b6f595f175ae
Need to fix instruction decoding in borealis.

Completed in 106b1ff9343819fa997ba4f581b4db3e589f49d1


Exclude jdk_bean subtest Test6397609 and Test5102804

Exclude jdk_bean subtest -Test6397609 and Test5102804 on xlinux JDK8.

related: eclipse-openj9/openj9#20531

Grinder run:
-Test6397609:
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45612/
-Test5102804:
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45615/

This PR and https://github.com/adoptium/aqa-tests/pull/5802 modified the same file at the same line. Depends on which one to merge first, the other one will need to be rebased.

re https://github.com/adoptium/aqa-tests/pull/5803#issuecomment-2524241904, you Grinders are invalid. Please use jdk_custom, not TARGET: java/beans/Introspector/Test5102804.java

Please rebase this PR and update the Grinder links

Grinder link:
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45680/

Friendly reminder: please backport this change into v1.0.5


allow Sentry.Plug.handle_errors to be overridden

I have a use case where I want to use the Sentry.Plug module in my router, but also define some custom behavior in the Plug.ErrorHandler.handle_errors/2 callback, such as sending metrics to our StatsD server, logging, etc.
Currently, the handle_errors method in the Sentry.Plug can't be overridden or extended, so I have to rescue exceptions and use Sentry.capture_exception/2 in order to perform this extra behavior.

hey @mpiercy827, thanks for opening this!
This is an area where I'm not 100% sure when it to allow further configuration, or if more complex use cases should be using their own Plug.  Currently, the handle_errors/2 function only does call Sentry.capture_exception/2.
Has creating a separate Plug and working with Sentry in it been manageable?  Should we add documentation around to make it clearer, or do you think we should make the Plug more configurable (as done here) to avoid that if possible?

The things we do before/after sending the event to Sentry require the context of the Conn. This includes sending custom metrics, and sending the request body to Sentry as well.
Currently, we are just making a call to Sentry.capture_exception/2 in our controller, because the Sentry.Plug doesn't send our POST body. We are interested in using the Plug because it sends a lot more information, although we still have to find a way to send the request params as well.
I think a custom Plug would work here, but I also think it would be a lot of duplicate code, since we only need a little bit of extra functionality on top of the Plug.
I suppose the ability to override the handle errors function of the Plug isn't essential, but it would be a nice-to-have.

@mpiercy827 Apologies for the long comment.
In overridingSentry.Plug's handle_errors/2, wouldn't one have to duplicate anyway?  Once the function is overridden, the original Sentry.Plug.handle_errors/2 won't be called, so you wouldn't be sending an error unless you copied over Sentry.capture_exception.  From my understanding, I think one should implement their own error_handler, and use Sentry functions where necessary.
Sentry.Plug should be sending the POST body in the default configuration.  If there is an issue with it, let me know 🙂
For ways to handle more complex logging that can decouple the retrieval/storage and the sending of logs, I would suggest looking into Logger.metadata: Logger docs / good blog post by Timber
Sentry also supports sending up metadata with errors using Sentry.Context, ex: Sentry.Context.set_extra_context(%{my_metadata: "value"}) or Sentry.capture_exception(exception, [extra: %{my_metadata: "value"}]

When overriding Sentry.Plug's handle_errors/2 function, we actually don't have to duplicate any code if we call super:
  def handle_errors(conn, params) do
    send_logs(conn)
    send_metrics(conn)

    super(conn, params)

    send_response(conn)
  end

This way, we can just add some additional functionality on top 👍
And as for the POST body, it doesn't seem to get sent with our errors. When we've tried it, the plugs in our router are ordered like this:
  plug Plug.Router
  plug Plug.ErrorHandler
  plug Sentry.Plug
  ...
  plug :put_resp_content_type, "application/json"
  plug Plug.Parsers, parsers: [:urlencoded, :multipart, :json], json_decoder: Poison
  ...
  plug :match
  plug :dispatch

The issue is that when in the handle errors function, the Plug.Conn has unfetched body_params. If we were able to send along the POST body that would clean up our current code considerably!

Ah, I see, I thought there was stuff you wanted to pass along while capturing the exception.
Are you able to get the application to compile calling:plug Plug.ErrorHandler and plug Plug.Sentry?  Neither implement the Plug Behaviour since they don't define the callbacks, and so including them in the pipeline should error.  They should be included

Ah, I see, I thought there was stuff you wanted to pass along while capturing the exception.
Are you able to get the application to compile by calling:
plug Plug.Router
plug Plug.ErrorHandler
plug Plug.Sentry

Those do not implement the Plug Behaviour since they don't define the callbacks, and so including them in the pipeline as regular Plugs should error.  If you can share a relatively minimal test or application repo that reproduces the error with Plug bodies, I can take a look.
As far as making the function overridable, I'm open to it, but would rather see this can be solved outside of that first.

The error could also be happening before the body parser Plug gets called, in which case the body will not have been read, and won't be available in the handle_errors callback, and Sentry won't be able to send it up.

Sorry for the delay. I also noticed that I made a mistake when listing the order of the plugs above:
  use Plug.Router
  use Plug.ErrorHandler
  use Sentry.Plug
  ...
  plug :put_resp_content_type, "application/json"
  plug Plug.Parsers, parsers: [:urlencoded, :multipart, :json], json_decoder: Poison
  ...
  plug :match
  plug :dispatch

I wrote plug Sentry.Plug instead of use Sentry.Plug. Does this look like the correct usage? When an error occurs in one of our Plug routes, the Sentry Plug doesn't capture the body. I'll work on getting a simple test up.

That does look correct, yep.  A minimal test would be great.  https://github.com/getsentry/sentry-elixir/blob/master/test/plug_test.exs has some examples of using a similar Plug stack (https://github.com/getsentry/sentry-elixir/blob/master/test/support/test_plug.ex).
If you run into any issues or have questions, please feel free to ask, I'm happy to help 🙂

I'm going to close this PR for now, but I'm happy to re-open or assist if there's a way for me to help with the issue.


terraform output --raw kubeconfig_file > Error: Output "kubeconfig_file" not found

Hi,
I set create_kubeconfig = false and tried to get the kubeconfig file afterwards by running terraform output --raw kubeconfig_file as described in the README and the kube.tf.example, which throws the error Error: Output "kubeconfig_file" not found, the Output get registered as kubeconfig and not kubeconfig_file, so running terraform output --raw kubeconfig works as expected.
I think either the example file or the Readme should be adjusted? I can create a PR for this, just want to confirm that my assumption is correct.
 PR welcome, will merge ASAP.

@wombelix Your fix was good, thanks! But for backward compatibility decided just to change the docs, the new command is indeed terraform output --raw kubeconfig  as you found out above.


fix: replaced empty jsx with react fragment

Replaced the empty JSX for a re4act fragment to add the key property

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

Comparison is base (df4b5f8) 100.00% compared to head (de2ccfc) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           release/1.0.0      #540   +/-   ##
===============================================
  Coverage         100.00%   100.00%
===============================================
  Files                 67        67
  Lines               1240      1240
  Branches             458       458
===============================================
  Hits                1240      1240

Files
Coverage Δ

src/tabGroup/TabGroup.tsx
100.00% <100.00%> (ø)

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

thank you @alexwbbr 👏🏿


add SC election to proposal monitor

hrm the GovernorExecuteStage status checker needs to wait for the vetting period to be over before executing for the nominee gov..


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Compile easyengine nginx with PageSpeed

Compile nginx with PageSpeed. Mode PageSpeed makes site fast withou need to accumulate extra knowledge.
From incubator-pagespeed-ngx:
ngx_pagespeed speeds up your site and reduces page load time by automatically applying web performance best practices to pages and associated assets (CSS, JavaScript, images) without requiring you to modify your existing content or workflow.
There was an issue with mode pagespeed 2 years ago, is it still actual?

Hello,
Pagespeed feature is depreciated since EasyEngine v3.6.
source : https://easyengine.io/tutorials/nginx/using-pagespeed/
But you can still compile nginx and mod_pagespeed with EasyEngine using nginx-ee bash script.
However, you may encounter some errors if you use Pagespeed with another cache system.

Thank you, I appreciate bash script link.

Thanks @VirtuBox for jumping in. I am closing this issue as we do not plan to look further into this.


Following your tutorial for creating meteor package, get publish: You're not in a Meteor package directory.

Hi, I'm trying to bring this package into meteor. https://github.com/andrewppace/vcard-json
but When I try to publish it I get the error in the title.

@dotansimha

@vacarsu where's your .meteor directory in the project? I think that is causing the error.

I decided to go with an npm package and use meteorhacks npm, rather than try to create a package for this.

sounds like a good solution.
What do you do with npm dependencies?
Meteor for React added a solution that might be interesting here:
http://react-in-meteor.readthedocs.org/en/latest/client-npm/
I wonder what are your thought about that and if we can embrace this solution as well?