Changed meaning of .+= in Julia 0.5

Your test code uses x .+= y, so you should know that in Julia 0.5 this has changed meaning to be equivalent to broadcast!(identity, x, x .+ y), so that it mutates the x array (see JuliaLang/julia#17510 … in Julia 0.6 the whole operation will occur in-place without temporaries).  So .+ should only be used if the left-hand side is a mutable array, and you don't mind mutating it.
At first glance, this looks like it is okay for you, because you use it in data .+= stat.range * (rand(rng, length(data)) - 0.5) .* span, where data seems like an array that you don't mind mutating.  But if it were a problem you could always change it to +=.

Similarly for .*= and ./=.

I missed this issue and didn't know how my changes fixed the problem. Thanks! :) There are two occurances of this left:
bincounts ./= sum(bincounts) * binwidth

I think this is fine?

Ah, the error was:
ERROR: LoadError: MethodError: Cannot `convert` an object of type Float64 to an object of type Gadfly.Stat.Identity
This may have arisen from a call to the constructor Gadfly.Stat.Identity(...),
since type constructors fall back to convert methods.
 in macro expansion at ./broadcast.jl:129 [inlined]
 in macro expansion at ./simdloop.jl:73 [inlined]
 in macro expansion at ./broadcast.jl:123 [inlined]
 in _broadcast!(::Type{Gadfly.Stat.Identity}, ::Array{Float64,1}, ::Tuple{Tuple{Bool}}, ::Tuple{Tuple{Int64}}, ::Tuple{Array{Float64,1}}, ::Type{Val{1}}) at ./broadcast.jl:117
 in broadcast!(::Type{T}, ::Array{Float64,1}, ::Array{Float64,1}) at ./broadcast.jl:172
 in apply_statistic(::Gadfly.Stat.ViolinStatistic, ::Dict{Symbol,Gadfly.ScaleElement}, ::Gadfly.Coord.Cartesian, ::Gadfly.Aesthetics) at /home/shashi/.julia/v0.5/Gadfly/src/statistics.jl:1683
...

I now see how this happens... It looks like this syntactic transform just places the identifier identity as the first argument to broadcast! which picks up the variable defined here instead...
Maybe the parser should expand it to Base.identity?

@shashi, good catch, I'll submit a PR to Julia ASAP.

Thanks! I tried editing the scheme file, but couldn't get it t


Replace subclass_of? method

This resolves #54 by removing all uses of subclass_of? and replacing it with the module comparison operator < which has the same behavior.

I would love if we could get this approved.

@chriswailes Are there any changes you need in order to merge this? I'm happy to make any necessary changes.

Sorry, I haven't had a lot of time for this project recently.  I should have some more free time coming up and I'll try and get through some of the issues/pull requests backlog.

Would we get a new version published soon with this fix?
Meanwhile, one can add:
gem 'rltk', git: 'https://github.com/chriswailes/RLTK', ref: 'ac3f8abfc54529ba955ea49b8b21e55397740b5e'

to the Gemfile

I should be resuming development of this library in the next couple of weeks.  I'll make publishing a new version a priority.  Thanks for your comments.


Create kissasian.fm.js

@MiaoMint when you get free time check how can we extract the m3u8 present in streamwish source.

LGTM


(AzureCXP) fixes MicrosoftDocs/azure-docs#24135

Proposing changes for makeset functionality as it return array  and sort is undefined in the array item

@MohitVerma-MSFT : Thanks for your contribution! The author, @bwren, has been notified to review your proposed change.


EthStorage Devs Meeting #53 Agenda

Meeting Info

Oct 24, 2023, 10:00 UTC+8
Duration: 60 minutes
Meeting link
Anyone can comment on the agenda where they would like this to be discussed.

Agenda

Protocol/App/Research progress

Code review
Devnet-1 testing
Prepare 4884 talk in Tintin and Hongkong

Review code
Plan devnet-1

Prepare ethstorage devnet test data
Debugging reading blob data

EthStorage -- sync

Smoke Test and fix issues (https://github.com/ethstorage/es-node/pull/49 (fix issue https://github.com/ethstorage/es-node/issues/37), fix issue https://github.com/ethstorage/es-node/pull/39, investigate issue https://github.com/ethstorage/es-node/issues/32, add perf result for https://github.com/ethstorage/es-node/pull/35)
Performance test

benchmark: https://github.com/ethstorage/es-node/pull/2 update code.
run on multiple machines with mock l1 (https://github.com/ethstorage/es-node/pull/21)

Dashboard (next): https://github.com/ethstorage/es-node/issues/43

1 TB shard testing & fix miner performance issue
Update setup tutorial
Code review：web3url
Documentation: 15%

Implement a simple zkvm -- ongoing
ZPrize optimization https://github.com/ethstorage/ZPrize-23-Prize1/pull/4 -- in review

Halo2 deep dive, "frontend", how a constraint becomes a 'poly'
GPU hardware boost on plonk proof generation

Recording: https://drive.google.com/file/d/1cYvkJ37qn_5bRgXofjIK1HXQsPfhzUic/view?usp=drive_link


✨ Finish implementing expanded transport ifc, simplify

Summary
This PR updates the OCM transport plugin to implement the expanded wrapping interface. And then cleans up the interface by removing the un-expanded wrapping method.
Related issue(s)
Fixes #2469
Fixes #2332
This is a hack that alleviates the most pressing need to properly address #1851 .

/cc @nirrozenbaum
/cc @pdettori
/cc @vMaroon
/cc @waltforme

In local testing, including the fix from #2489 seems to fix the test failure here too.

The force-push to 05064454f is a rebase onto main.

/approve


CDNJS

Great stuff Daniel. Thank you.
Could you make it available over cdnjs?
It's also free like jsdelivr but more popular:
https://w3techs.com/technologies/comparison/cd-cdnjs,cd-jquerycdn,cd-jsdelivr

I love CDNJS, though I usually use jsDelivr due to its ability to combine files.
That said, I agree with you. I have been planning to put it on CDNJS but was waiting for release 1.1.0. I wanted to polish it up a bit and add some missing icons.
I could be convinced to put the current release (1.0) on CDNJS (though, sadly, I did not tag it semver). Thoughts?

Great work.  Looking forward to seeing this happen.  Thanks!


Tools/docker: STOPSIGNAL SIGKILL

Docker's default stop-signal is SIGTERM.
TigerBeetle does not have signal handlers, so "docker stop ..." with SIGINT hangs for several seconds. Setting the signal to SIGKILL instead ensures that "docker stop" doesn't delay.
This is a partial fix for https://github.com/tigerbeetle/tigerbeetle/issues/136. (The more complete fix would be adding a SIGTERM signal handler.)

Hm, if we don't have signal handlers, shouldn't SIGTERM kill us outright?

Ok, this is more complicated than I expected!
If you send SIGTERM to a non-docker tigerbeetle replica, it does exit immediately (as anticipated).
The pause seems to be a common docker issue:

https://github.com/docker-library/postgres/issues/184
https://github.com/docker-library/redis/issues/386

Possible explanation is that in docker, the replica is PID 1, which has special behavior around signals: https://github.com/rustdesk/rustdesk-server/issues/36#issuecomment-1159504574

How idiomatic it is to not run as pid1 in Docker? I've read somewhere a very reasonable argument that one should have a proper pid1 in Docker, but I am not sure if that's something people actually do?

How idiomatic it is to not run as pid1 in Docker? I've read somewhere a very reasonable argument that one should have a proper pid1 in Docker, but I am not sure if that's something people actually do?

It's quite idiomatic. Last I looked, it was even recommend for eg Node, and they bundle Tini - a small init system for this in later Docker releases.

Yeah, let's maybe do the same then? I am sure there's more weirdness to pid1

Ok, this ends up being a documentation update.
There are a couple ways tini can be used:

docker run --init ... (and an equivalent config for docker-compose).
Install it into the container.

Number 2 ends up being surprisingly complicated and finicky (...alpine), so I went with 1.

Docker version bump is not related, but may as well keep it fresh!


Update InputAssistantCollectionView's layout config to fix a crash.

Fixes a crash that would occur when reloadData is called and the new data has fewer items and requires the collection view to layout its cells.
Fixes #1.

Hmm, hold on on merging this. Doesn't seem to fix it completely 😕.

Should be good now.

Fyi: I tried calling collectionViewLayout.invalidateLayout() instead of resetting the scroll position, but that didn't fix the crash.

Validated. Issue is resolved. There is a bit of a lag after a button press while InputAssistantCollectionView is scrolled, but I think this should be resolved in a future PR.

The new item size configuration was causing some auto layout warnings, and appeared to be irrelevant for the crash fix, so I reverted it. Ready to merge now I think.


Difficult to load web-based configuration when the Wifi AP disappears for a long time after connected

Hi @cotestatnt

I tried examples/customHTML on esp8266
after scanning and connecting to one of the detected Wifi networks, esp8226 gets an IP address

I tried turning off the wifi network router for a long time, so esp8266 would be WiFi.status() != WL_CONNECTED
I noticed if the esp8266 doesn't connect then it will try to reconnect, and if it fails then it will go into WIFI_AP mode
so wifi network 'ESP_AP' will reappear
but when my laptop is connected to the 'ESP_AP' of esp8266, I'm having trouble opening the web-based configuration on <IP_ADDRESS>
but when i turn on wifi network router, web based configuration can open
is there a blocking function that makes the web based configuration unopenable??

Is it possible if WIFI_AP_STA mode is always active in all conditions, so we won't depend on the serial terminal to know the IP address if esp8266 is connected to Wifi Network

Thanks

I'm sorry but I didn't realize this issue at all.
Have you solved it, or are you still having problems?


Allow to filter down to the time of the day

Change DateEntry so it allows to filter down to the time of the day. Also rewrite the DateEntry code/api to make its code easier to read/understand/use.
Those changes are mostly for the conversation view, but we can let them enabled for datagrid also if you guys prefer. The only downside is that each entry uses more space.
If you prefer to let it out of the datagrid, I can add a parameter to it to avoid displaying/using the data related to the hours/seconds and only make it visible on the conversation view itself.
I still need to add some tests, specially to the code I moved to dateutils module.

LGTM :+1:
@bosonogi can you review?

Looks much better than before :+1:

ops, saw the :+1: for both and merged this. Forgot about the tests.
Will write them on another PR. Sorry about that.


Suggestion for Android and IOS clients

The Earlier versions had the option to install shortcuts as an sos button, start, stop.  Suggest a user or admin configureable shortcut that allows custom icon label and associated custom event code/name.  This would be an application that would allow numerous shortcuts and events.  As an example if the client wanted to use this to supplement the normal use of the system to have employees time clock, clock in/clock out, arrived at work site, left site, at lunch etc.
Preferable this could actually be version independent, just would use the current code/api.
Your thoughts?
-->

Shortcuts are still there. You can add them standard way from your android launcher.

I understand thank you.  I will look at them in more detail and let you know my thoughts to expand upon their use. FYI the USPS uses a system similar to yours with a number of refinements that allow not just vehicle monitoring but detailed carrier(postman) data to be monitored and managed in for quality of service big data analysis.


JSON::Any as_type? methods return Type or Nil

Added methods to JSON::Any cast to Type without raising.
require "json"

j = JSON.parse(%({"foo":2}))

if h =  j.as_h?
    puts h.keys
end

Could you rebase ontop of master to get rid of the merge commits?

Hosed another PR... reopening a clean one.

No need to, just force-push a clean branch. Have a look at our Contributing.md for some instructions

Ok, I think I got it. Looks like I needed to git rebase --continue when done.

@jhass when this can be merged ?

I'd like a second core member opinion on it :)

No opinion from me. I still use raw, and never got Any to act as I wanted (eg: misses Enumerable methods like map, reduce, ...). I prefer to cast manually with as Type or is_a?(Type).

This looks good and can be merged, I think it can be useful (I remember I had to use raw and is_a? for this, but using as_h?, etc., is more convenient).
@ysbaddaden We can make JSON::Any include Enumerable(JSON::Any), I just tried it and it worked. What do you think?

@asterite including Enumerable would be nice! Adding parse_raw(str) to skip a wrap/unwrap would great too.


Adding NEWS.md file

Codecov Report

Merging #32 (d2ab6ac) into master (6afee42) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   92.15%   92.15%
=======================================
  Files           2        2
  Lines         204      204
=======================================
  Hits          188      188
  Misses         16       16

Continue to review full report at Codecov.

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


Feature/upload

Added upload option to Dashboard (csv or xls).

Updated functions:

get_filenames: returns filenames and paths, also patches "Any" subspecies glitch (if user doesn't remove Any option before selecting specific subspecies and pressing "Display Images", it will just return images of the selected subspecies).
test_get_filenames and get_images updated to interact with updated get_filenames.
get_data: also takes boolean indicating if latitude & longitude values are in data to do lat-lon manipulations and sets locality column with lat-lon values if it's not already a column in the dataframe.
test_get_data: now checks two variations, one with lat & long, one without.

Also removed additional taxa info from cat_list (in our test data it was just subspecies data repeated).
Updated README to reflect upload requirements and added two datasets for testing/demo.
Resolves Issue #23

This is currently what it looks like before upload, then below the line gets replaced by the dashboard as it has been. Clicking on "Upload Data" again allows for a new upload.

Should I add the column requirements underneath as well? It currently will throw an error (missing column, wrong file type, etc.) and point the user to how-it-works:

This is currently what it looks like before upload, then below the line gets replaced by the dashboard as it has been. [...]
Should I add the column requirements underneath as well? It currently will throw an error (missing column, wrong file type, etc.) and point the user to how-it-works

It seems helpful to provide a link to "How it works" before someone runs into an error unintentionally because they didn't fully understand which columns they'd have to have.

It seems this change set lumps together changes for multiple separate and not necessarily interrelated issues. Generally I'd suggest breaking changes up into meaningful and coherent pieces, this makes review and feedback much easier.
Overall this looks fine but I notice there's a fair amount of code duplication. In the conditional for whether geo-coordinates are available or not, it seems only a small part differs for the two cases, and the rest is duplicated. There are also strings or string prefixes (such as https://github.com/Imageomics/dashboard-prototype/raw/main/test_data/images/) that occur many times over, and could just be defined at the beginning and then reused.

For this PR, would it have been better to do the file retrieval generalization with a revised preloaded dataset and test as its own PR, then move the main div out separately and add the upload feature?
To your second point, I can adjust the geo-coordinate if statement to append the final div to hist_div dependent on the boolean. For the string duplication, are you referring to test_query? I can adjust that as well.

Updated as per @hlapp's suggestions.
New landing page:

Updated Error message page with embedded link that opens in new tab too:

Is there a CSV I can test these changes with?

In test_data:

HCGSD_base_filepath_noMap.csv: has no lat/lon columns
HCGSD_base_filepath.csv: has base filepath in file_url (there's also one with the full filepath, including filename)
Hoyal_Cuthill_GoldStandard_metadata_cleaned.csv: doesn't have file_url


PopScope returns a black screen when using Navigator.pop method

Steps to reproduce

I use PopScope widget to stop closing the app the first time you click back button and only close the app if you tab back button twice in less than 2 minutes. It used to work fine when I used WillPopScope but it's deprecated since Flutter 3.12.0.

Expected results
I have set the canPop property to false so that the user cannot pop out of the screen and instead when they click twice on the back button I use Navigator.pop(context) to close the screen.
Actual results
But whenever user clicks the button twice instead of getting out of the app, the user is navigated to a black screen.
Code sample
Code for PopScope Widget
PopScope(
      canPop: false,
      onPopInvoked: shouldPopScreen,
      child: Scaffold(
            // rest of the code
       )
);

Code for shouldPopScreen() method
void shouldPopScreen(bool didPop) async {
    if (didPop) {
      // If back button was allowed
      return;
    }

    // If back button was not allowed
    DateTime now = DateTime.now();
    const maxDuration = Duration(seconds: 2);
    bool isWarning =
        lastPressed == null || now.difference(lastPressed!) > maxDuration;

    if (didPop) return;

    if (isWarning) {
      lastPressed = DateTime.now();
      final snackBar = SnackBar(
        content: Text(
          AppLocalizations.of(context)!.closeSnackBarMessage,
        ),
        duration: maxDuration,
      );

      ScaffoldMessenger.of(context)
        ..removeCurrentSnackBar()
        ..showSnackBar(snackBar);

      return;
    }

    Navigator.pop(context);
    Navigator.pop(context);
  }

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
D/ViewRootImpl@b112bba[MainActivity](11982): ViewPostIme key 0
D/ViewRootImpl@b112bba[MainActivity](11982): ViewPostIme key 1
D/ViewRootImpl@b112bba[MainActivity](11982): ViewPostIme key 0
D/ViewRootImpl@b112bba[MainActivity](11982): ViewPostIme key 1

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.18363.1256],
    locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its
      default components
[!] Android Studio (not installed)
[√] VS Code (version 1.89.0)
[√] Connected device (4 available)
[√] Network resources

! Doctor found issues in 2 categories.

To pop the app use SystemNavigator.pop()

To pop the app use SystemNavigator.pop()

Wow! your solution really did the job.
Although I had to use 2 SystemNavigator.pop() together becuase using 1 would still show blank screen.
And in case you are wondering what if you use 2 Navigator.pop(context) together, it will give you an error.

@mohammadaminiaf Is there a reason for reopening issue or your issue isn't resolved ?


Ad artwork

We're going to be promoting a couple blog posts on Twitter this month:

What is a product engineer (and why they're awesome)
Master Feature Flags: Best practice, tips and examples

It would be worth trying our Youtube-style thumbnail approach for these posts (to override the open graph image). We could:
a) get these up asap
b) put them up after a week, to benchmark CTR with the open graph images vs custom artwork we add
@charlescook-ph I think I'd lean toward the 2nd. Thoughts?

2nd sounds great!


spotify cant play this right now.if you have this file on your computer u can import it

🧐 Have you read the FAQ and viewed similar issues?

[ ] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
india
What is your Spotify Plan?
Free
Do you have Spicetify installed?
Yes
ℹ Computer information
- Spotify: - Spotify: Spotify for Windows (64 bit) <IP_ADDRESS>2.g794acc0a
- Windows: Windows 11 Home (10.0.22000 Build 22000)
- PowerShell: 5.1.22000.2538

📝 Description
1.issue inside the app
2.
3.
...
📸 Screenshots

I have this bug too, is there a workaround?


Fix/daef 176 redemption key is reset after unsuccessful redemption

This PR introduces a fix which prevents redemption key reset after unsuccessful redemption.

@DominikGuzei we do still reset those values after successful submit. The scope of this task was just to keep the values in case error pops out. But now that you have mentioned this I agree we should probably re-think whole ada-redemption workflow...


tests/qemu-external-vm: rework version based skipping

Testing only on latest/edge means that we'll need to revisit the condition when the next LTS occurs. Let's do it now as we know what to skip already.

@tomponline the failures are unrelated.


Update README.md

This registry container does not have htpasswd in it. httpd does. Recommend changing so that documentation is usable.

For reference, here's what httpd:2 currently resolves to: https://hub.docker.com/layers/library/httpd/2/images/sha256-9ff6162ebb46e14a4846b88aed4c3ac67b8a61a80fdafe29b2f1714c70c5a101


Readarr connection broken

Docker composed, standalone
Unable to connect to Readarr
Package Version <IP_ADDRESS>86-ls131 by linuxserver.io
[ERROR] 2024/11/28 21:48:49 Readarr (http://192.168.y.x:8787): api.Get(v1/queue): httpClient.Do(req): Get "http://192.168.y.x:8787/api/v1/queue?includeUnknownAuthorItems=true&page=1&pageSize=2000&sortDirection=ascending&sortKey=timeleft": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
The exact URL and API key are matched as defined, and working in Postman GET, if the API-key key is defined as X-Api-Key and added to header.

Unpackerr can't connect to 192.168.y.x on port 8787. Either wrong IP, wrong port, or the network is unreachable from unpacker's location. Did you have any questions?

In addition, curl also works at that port an IP from the Docker host.
The POSTMAN, Curl, and web browser can access Readarr from various points on LAN.
UnPackerr can access 3 other services properly.

The error messages indicates a lack of network route from unpackerr to that IP, or you've set the timeout to 0. Not really any other in-betweens.

unpackerr_cleaned.log
Log from last boot, and removed IP and faff working logs.

How long does postman take to pull a result from this url? http://192.168.y.x:8787/api/v1/queue?includeUnknownAuthorItems=true&page=1&pageSize=2000&sortDirection=ascending&sortKey=timeleft
How large is the result?

Strange. If x and y are the same variables throughout the log, then you have a gremlin I can't explain. Perhaps try drastic things like reboot, recreate the container, try another image (hotio vs golift), etc. Try increasing the timeout, just in case.


Bi-directional cursor

Not a bug, but feature request - it would be nice for AQL to support bi-directional cursors, e.g. loading after/before certain item in results.
Maybe something like this:
FOR u IN users
    LIMIT 5 AFTER 'last-user-id'
    RETURN u

Closing as duplicate of #10413


⚠ ClamAV has degraded performance

In 3600fa9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 472 ms

Resolved: ClamAV performance has improved in 6c8fa85.


Having Issues I Can'

Me again. This is a question I think. Not necessarily an issue. Hopefully these aren't "noob"'ish questions.
I've attached the results from my immediate window after a 90 minute run with my bot.  I'm guessing I have a keep alive issue but I cannot tell since I get a lot of socket disposed messages. Does KeepALive only work for HTTP connections or is it need for Socket connections as well?
Is there a simple way to turn on the loggers inside your code? I see them in there. But I cannot see how to use them. Probably my deficiency in C#.

ImmediateWindow.txt

Further testing shows this to happen at around the 45 minute mark. So clearly it seems like something is expiring or timing out.

@khoofard, this library uses Microsoft.Extensions.Logging. You can reference the sample applications to see how that is configured. The Binance.Application library includes the file logger extension.
In general, I do not debug user application code, particularly not network related issues, and especially not VB. Otherwise, good luck and please let me know if you find an issue with the code.


Smbus Unimplemented in MockI2CDevice

I found that the smbus functions were unimplemented when trying to test my code. I require access to these functions because I use the smbus_* in the driver to communicate to the peripheral. I'm suggesting just having the smbus_* methods do a the appropriate mapping to the already implemented MockI2CDevice's read() and write() methods.
Is there a reason the MockI2CDevice's smbus_* methods weren't implemented? Is it as simple as calling MockI2CDevice's read/write methods or am I missing something larger?

@DarkWugWug Probably just an oversight; feel free to open a PR to fill in that functionality on the mock.


Better loading experience

Resolves #397
What has been done
Added additional loading text to FullPageLoader - when we are fetching for realms the text says "Loading experience... Looking for realms", and when we are fetching for population the text says "Loading experience... Meeting everybody"
Problems
The main problem in displaying the text is that we are fetching the data already on the onboarding page, so it is almost impossible to see the loader for the realms

Closing this PR - actually all data displayed in loader text is loaded in advance, so this becomes invisible to see the additional text during FullPageLoader being present


What next?

What is left to be done till next week? I'll try and arrange the code in the Scene file so it will look better. Other than that...what is left to be done ?
(Since i left early i may have missed some stuff)
Btw: Are the code changes done Sunday gonna be committed?

Trebuia sa facem componentele unui obiect (transform, controller, texture, mesh etc)

Ideea e ca in final (pana duminica) ar trebui sa avem o forma geometrica mai complexa (un cub). Pe care il poti controla prin keyboard.
Answer to your question "Btw question" : If yes, we would have nothing to do...So I guess no


Add simple HTTP authentication that can be used via configuration or ENV

We needed a very simple easy way to add http_auth. inheriting from own controller seems overkill.
fixes #166

@krtschmr thanks for this! We need to have some default authentication built-in before we can propose this as default for Rails, but I'm not sure yet how it's going to look, so I'll keep this PR on hold until then.

Hi @rosa i'm unsure what you mean with DefaultAuthentication.
Doesn't this act like it somehow?
right now everybody needs to implement their own logic, this would be a very quick way to at least have it protected from the start. (we use it in production already)

@krtschmr, I mean some authentication solution that comes enabled by default, so yes, this would work, but I'm not sure if we'll go with basic auth or with something else (such as a simple cookie-based authentication). It also needs to be closed by default in production and be easy to configure. I haven't decided yet what it'll look like.

Hey @krtschmr, in the end I worked on this on #214. I cherry-picked your commit over there. Thanks a lot for starting this out! 🙏


chore(log): change log lvls

Purpose
Change of lvl for some log msgs and removed usless function

prnet cleaned-up successfully


Better form support

Some fixes to better surpport forms in sweetalert:

Support tab to select's
If there is invisible/hidden elements, tab to the next/prev one
Don't use p-tags to encapsulate html (but use it for non-html).
Focus the first visible input/button on swal().

Thank you @johanwilfer for this contribution.
On first sight looks good for me, let me test changes before merge :)

Great! And thank you for creating this fork. I was a bit sad looking at the original repro and trying to get forms to work.
This makes sweetalert possible to use with custom forms for me.
I use jquery to hide/show form-rows that are relevent as feedback to the user as he fills out the form. This also makes it possible to hide the entire row (as in bootstrap forms), and sweetalert will try the next one if the one that should be selected is hidden in any way.

Great work :+1:

https://github.com/limonte/sweetalert2/releases/tag/v0.3.0


[Feature] Create using storage volume

Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 61 / 89 (68.54%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/SharedDataStorageVolumeMgr.java
0
7
00.00%
[53, 55, 56, 57, 59, 60, 61]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
3
00.00%
[2586, 2587, 2588]

:large_blue_circle:
com/starrocks/lake/StarOSAgent.java
6
12
50.00%
[143, 144, 145, 147, 202, 203]

:large_blue_circle:
com/starrocks/server/OlapTableFactory.java
15
21
71.43%
[214, 215, 217, 219, 220, 223]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
21
26
80.77%
[397, 4691, 4693, 4694, 4697]

:large_blue_circle:
com/starrocks/catalog/OlapTable.java
10
11
90.91%
[395]

:large_blue_circle:
com/starrocks/catalog/Database.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/server/StorageVolumeMgr.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/storagevolume/StorageVolume.java
3
3
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 65 / 89 (73.03%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
3
00.00%
[2586, 2587, 2588]

:large_blue_circle:
com/starrocks/lake/StarOSAgent.java
6
12
50.00%
[143, 144, 145, 147, 202, 203]

:large_blue_circle:
com/starrocks/server/SharedDataStorageVolumeMgr.java
4
7
57.14%
[57, 60, 61]

:large_blue_circle:
com/starrocks/server/OlapTableFactory.java
15
21
71.43%
[214, 215, 217, 219, 220, 223]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
21
26
80.77%
[397, 4691, 4693, 4694, 4697]

:large_blue_circle:
com/starrocks/catalog/OlapTable.java
10
11
90.91%
[395]

:large_blue_circle:
com/starrocks/catalog/Database.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/server/StorageVolumeMgr.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/storagevolume/StorageVolume.java
3
3
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 65 / 89 (73.03%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
3
00.00%
[2583, 2584, 2585]

:large_blue_circle:
com/starrocks/lake/StarOSAgent.java
6
12
50.00%
[143, 144, 145, 147, 202, 203]

:large_blue_circle:
com/starrocks/server/SharedDataStorageVolumeMgr.java
4
7
57.14%
[57, 60, 61]

:large_blue_circle:
com/starrocks/server/OlapTableFactory.java
15
21
71.43%
[212, 213, 215, 217, 218, 221]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
21
26
80.77%
[386, 4674, 4676, 4677, 4680]

:large_blue_circle:
com/starrocks/catalog/OlapTable.java
10
11
90.91%
[395]

:large_blue_circle:
com/starrocks/catalog/Database.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/server/StorageVolumeMgr.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/storagevolume/StorageVolume.java
3
3
100.00%
[]

@Mergifyio backport branch-3.1


The Filer service not resizing image

Describe the bug
The Filer service not resize image if the file extension isn't lowercase.
Ex: http://localhost:8888/images/foo.PNG?width=200&height=100
Expected behavior
The image should be resized
Additional context
I found that the ext parameter not has been lowercased before passing it to shouldResizeImages function:
https://github.com/chrislusf/seaweedfs/blob/8109594c6e01bc5a9b412e105f003a325858a1fc/weed/server/filer_server_handlers_read.go#L145

do you want to send a PR for this?


access env object in highlight options

Let's say I need process fence code with async API, the suggested way is to use env to store temporary hint, but in highlight option there is no access to env, how can I do that please?

You can replace default fenced block rule to anything you wish.


Demo is not working

Uncaught ReferenceError: SYNTHETICEVENT is not defined
    at index.min.js:1

Uh oh, thanks for the report!
The demo should be fine now.


Downloading or Updating any large Mod lags the UI horrendously

Geode Issue

[X] I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.

Platform
Android64
SDK commit
No response
Geode Version
v3.8.1
Mods Installed
No response
Expected Behavior
I expected the Progress Bar to advance smoothly, of course maybe with some minor stops depending on the Internet connectivity
https://github.com/user-attachments/assets/5bc94ac8-5ae1-4c34-b6fc-d4689ed58d4b
(This is a clip of a small mod, which doesn't have that issue as much)
Actual Behavior
The Game got really laggy, it seemed like it wasn't making any progress, and it seemed to crash, but with enough patiene it did manage to finish.
https://github.com/user-attachments/assets/dcd94923-b7de-41c2-b8cb-479a20d81c4b
Steps to Reproduce

Make sure to have bad internet (e.g. use a VPN far away if necessary, i usually have with normal internet 8 MBit/s download speed)
Try and download/update a large mod like QOLMod

Additional Information
The two video clips were just examples of what can happen,but it can occur with other mods too. In my experience, it can happen with any big mod, that takes more than 1.
And this could also be an Android (9) problem/feature (however i'm not sure), as at first it goes smoothly, but once the Update starts really going far, it seems that the Download Thread moves to the UI Thread. (I'm guessing that's how it's done, as that's a simple and reliable way to do it)
Oh, and while i did have mods installed in the recording, it doesn't matter. I even have the same problems on my Tablet, also running Android 9.

not a bug since gd also does that on resources load >:]

thats called consistency

thats called consistency
That wouldn't really make any sense, even if GD does it like that, since mod loaders usually want to improve ones gameplay experience.

So I just spend around 10 minutes looking at the source of the relevant code (and reinstalled qolmod) and I don't think there can be anything from geode that will lag the UI thread
(tasks are already in its own thread, its listener is called in main tho but there's no download listeners that lag the device)
so my only guess is curl


[Bug]: Evaluated value scrolls horizontally

Is there an existing issue for this?

[X] I have searched the existing issues

Description
On some error tabs, we can observe that error tab is being scrolled horizontally as well.
Steps To Reproduce

Drag & Drop a filepicker widget
Drag & Drop a Text widget
Bind filepicker widget with Text widget as shown in video
Observe that Error tab can be scrolled horizontally

Public Sample App
https://release.app.appsmith.com/app/untitled-application-2/page1-63f4bc4d9e6fd93ee3ecbcf7
Issue video log
https://bthrujcsw8.vmaker.com/record/Q2FFOkMf0RjHz4Vo
Version
Cloud/ Release

https://github.com/appsmithorg/appsmith/assets/94514895/1c000925-89c8-4064-84d5-da69c1177877
cannot reproduce, closing this issue


mkdir(): Not a directory

I installed tomato and trying customer example crud
got error after do you want to use form builder ? "mkdir(): Not a directory"
`
🍅 Please input your module name? (ex: Translations):

Customer

🍅 Module not found but we will create it for you
🍅 Do you went to use Form Builder? (form/file) [form]:

form

mkdir(): Not a directory`

done on the new release v1.1.0


Unused 'responseText' if return type is Promise

Hi
If the typescript compiler  options noUnusedLocals is set to true and you have a WebApi method with void as return type, then services,ts can't be compiled due errors. NSwag generates code as follows
    protected processLogMessage(response: Response): Promise<void> {
        const status = response.status;
        if (status === 200) {
            return response.text().then((responseText) => {
            return;
            });
        } else if (status !== 200 && status !== 204) {
            return response.text().then((responseText) => {
            return throwException("An unexpected server error occurred.", status, responseText);
            });
        }
        return Promise.resolve<void>(<any>null);
    }

I propose to change the t4 templates to use _responseText instead of responseText for all cases so you don't have to clutter up the template with additional if-statments.
Cheers,
Sandro

We did use _responseText temporarily, but @rsuter was recently working on some improvements to omit that argument when the response should not be processed.


BUG: milp solver gives results violating a constraint

Describe your issue.
For a simple problem, the milp solver gives a result that violates a constraint.
See the code below. The fourth constraint ([1,2,0]) should be below 101, although the xs proposed by the solver are 17, 50, 51, and 117+250, giving 117, above 101.
I tested on two sets of versions/packages described below they both give the same results.
I am a little new to this optimization package, so I might have misunderstood something in the documentation, if this is the case my apologies.
Reproducing Code Example
import numpy as np
import scipy.optimize
from scipy.optimize import milp

c = np.array([ 1, 1, 1])
A = np.array([
    [5, 0, 0], # 5 L                >> No
    [6, 0, 0], # 6 L                >> Yes
    [0, 2, 0], # 0 L + 2 M          >> No
    [1, 2, 0], # 1 L + 2 M          >> No
    [2, 2, 0], # 2 L + 2 M          >> Yes
    [0, 3, 0], #       3 M          >> Yes
    [0, 0, 1], #             1 H    >> No
    [1, 0, 1], # 1 L +       1 H    >> No
    [0, 1, 1], # 0 L + 1 M + 1 H    >> Yes
    [0, 0, 2], # 0 L + 0 M + 1 H    >> Yes
])

b = np.array([-101, 101,    -101,   -101,   101,    101,    -101,   -101,   101,    101 ])

res = milp(c=c, integrality = np.ones_like(c), constraints=scipy.optimize.LinearConstraint(A, b),
           options={'presolve':False} )

print('x values:', res.x)
print('minimized sum:', res.fun)
print('Status:', res.status)
print(res.message)
print('numpy:', np.__version__, 'scipy:', scipy.__version__)

Error message
x values: [17. 50. 51.]
minimized sum: 118.0
Status: 0
Optimization terminated successfully. (HiGHS Status 7: Optimal)
numpy: 1.24.3 scipy: 1.10.1

and

x values: [17. 50. 51.]
minimized sum: 118.0
Status: 0
Optimization terminated successfully. (HiGHS Status 7: Optimal)
numpy: 1.26.0 scipy: 1.11.3

SciPy/NumPy/Python version and system information
python: 3.11.6, numpy: 1.26.0,  scipy: 1.11.3
python: 3.9.5, numpy: 1.24.3, scipy: 1.10.1

The second argument of LinearConstraint is the lower limit of A@x. If you meant to express $Ax < b$, you need constraints=scipy.optimize.LinearConstraint(A, ub=b).


agent: fix agent debug console

We should not let shim read guest console socket if agent
debug console is set. Otherwise when we connect to it with
socat, it reads nothing since all output is read by the shim.
Fixes: #1700

/test

/test


Broken/Removed virtual environment can not be cleared

Testing #23482
I have an environment that's invalid but already removed (folder removed), but it can never be cleared (Clear Cache and Reload Window doesn't work).
Thus the log always prints following error. The only way to get rid of it is starting with a new user data dir. I ran into this with both JS and Native finder.
2024-05-28 10:28:44.342 [error] Error: Command failed: /Users/penlv/code/work/vscode-jupyter/src/test/datascience/.venvnokernel/bin/python -I /Users/penlv/.vscode-insiders/extensions/ms-python.python-2024.7.0-dev/python_files/get_output_via_markers.py /Users/penlv/.vscode-insiders/extensions/ms-python.python-2024.7.0-dev/python_files/interpreterInfo.py
/bin/sh: /Users/penlv/code/work/vscode-jupyter/src/test/datascience/.venvnokernel/bin/python: No such file or directory

    at ChildProcess.exithandler (node:child_process:423:12)
    at ChildProcess.emit (node:events:526:35)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:337:12) {
  code: 127,
  killed: false,
  signal: null,
  cmd: '/Users/penlv/code/work/vscode-jupyter/src/test/datascience/.venvnokernel/bin/python -I /Users/penlv/.vscode-insiders/extensions/ms-python.python-2024.7.0-dev/python_files/get_output_via_markers.py /Users/penlv/.vscode-insiders/extensions/ms-python.python-2024.7.0-dev/python_files/interpreterInfo.py'
}

Possible you have this setup as the active environment or the like.
This should not be caused by native locator, hence removing that lablel.


🌱 make less api calls on up-to-date placement groups

What this PR does / why we need it:
THe current placementgroup.Service lists the placement groups twice in Reconcile(). Once at the beginning, and another time at the end to get an up-to-date view for the status update.
The second request is only necessary in case the controller made any updates to the list (create, delete), but this happens rarely.
In my personal cluster, this has reduced the rate of requests to GET /v1/placementgroups from 0.2req/s to 0.12req/s.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[x] squash commits
[ ] include documentation
[ ] add unit tests

very nice :)


fix buffer overflows and minor defects in engine/esma_template.c

I doubt I can provide a decent review in time, but feel free to ask something if you have doubts youself.


Add annotations to buildkite builds

This brings the links to other builds up to a more accessible place
instead of being buried in several dropdowns of logs:

lgtm (after syncing past merge conflicts)

Amazing how it manages to have merge conflicts with the commit it was based on :facepalm:


[release/v1.56] Bump Prow jobs and pin KKP version to match release branch

What this PR does / why we need it:
Builds are failing in #1741. This PR bumps the Prow jobs to the latest available build image for Go 1.19 and also pins the KKP version so we don't try to build code only meant for Go 1.20+.
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?
/kind chore
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

/approve
/lgtm


[camera_avfoundation] CameraException(Error -11803, Cannot Record)

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I can't simulate it on my devices, but it happens to some clients. But it returns the following error:
Non-fatal Exception: FlutterError
CameraException(Error -11803, Cannot Record)
Documentation reference below:
AVErrorSessionNotRunning
Expected results
Open the camera normally.
Actual results
Black screen when opening the camera.
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

I can't simulate it on my devices, but it happens to some clients.

Can you provide list of devices on which this exception occurs ?
Also, without a replicable code or pattern that leads to the exception, it'll be difficult to make the issue actionable, so if you could provide more details, would help to properly analyze it.

@darshankawar It occurs on the following devices according to firebase:
iPhone 11 - 432 events
iPhone 13 - 227 events
iPhone XR - 183 events
iPhone 12 - 145 events
iPhone 14 - 102 events
iPhone 13 Pro Max - 80 events
iPhone 12 Pro - 63 events
iPhone 12 Pro Max - 51 events
iPhone 6s -45 events
iPhone 14 Pro Max - 42 events
iPhone 11 Pro Max - 41 events
iPhone SE (2nd generation) - 37 events
iPhone 8 Plus - 30 events
iPhone 11 Pro - 28 events
iPhone 8 - 28 events
iPhone 14 Pro - 27 events
iPhone 13 Pro - 20 events
iPhone 13 Mini - 18 events
iPhone 7 - 12 events
iPhone 15 Pro - 11 events
iPhone XS Max -10 events
iPhone 14 Plus - 8 events
iPhone X - 8 events
iPhone 7 Plus - 7 events
iPhone 6s Plus - 6 events
iPhone 15 Pro Max - 6 events
iPhone 12 Mini - 5 events
iPhone SE - 4 events
iPhone SE (3rd generation) -1 event
I can only simulate it by commenting the code below, on FLTCam.m:
- (void)start {
  [_videoCaptureSession startRunning];
  [_audioCaptureSession startRunning];
}

It runs after the initialize method, on CameraPlugin.m:
    NSDictionary *argsMap = call.arguments;
    NSUInteger cameraId = ((NSNumber *)argsMap[@"cameraId"]).unsignedIntegerValue;
    if ([@"initialize" isEqualToString:call.method]) {
     ...rest of code
      [_camera start];
      [result sendSuccess];

Thanks for the update @Mairramer

I don't know if it doesn't have an AVCaptureSession allocated or it is running before allocation.

Can you take a look at below and see if it helps to resolve the error or not ?
https://github.com/flutter/flutter/issues/131553#issuecomment-1688848234
https://github.com/flutter/flutter/issues/131553#issuecomment-1688904048

Unfortunately this doesn't apply to me.

I tried to find new evidence but so far I haven't found any.

Without replicable steps or pattern, unfortunately, we won't be able to make the issue actionable. If you observe the exception consistently, please provide more details.


Use com.google.api as the group name of generated grpc package for java

Right now it is gapi.io

This was completed


fix: should all be lowercase for location

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

v1.10.2
v1.10.2
GitHub release

Your semantic-release bot :package::rocket:


sc-date-time doesn't appear in vendor directory

Having an issue where I run gulp build I can see sc-date-time in my bower_components directory, but cannot see it in vendor directory.
Bower_components Directory:

Vendor Directory:

What am I doing wrong here?

Closing this! Didn't add it into my bower.json file.


undefined reference to 'main' error while compiling

Hi, I was making the Hello World program in SGDK, and when I compile it i get an error:
C:\Users\vella\OneDrive\Desktop\SGDK>set GDK="C:\Users\vella\OneDrive\Desktop\SGDK"

C:\Users\vella\OneDrive\Desktop\SGDK>%GDK%\bin\make -f "C:\Users\vella\OneDrive\Desktop\SGDK\makefile.gen" release && START /B "C:\Users\vella\OneDrive\Desktop\Gens KMod\gens.exe" %CD%/out/rom.bin
C:/Users/vella/OneDrive/Desktop/SGDK/bin/mkdir.exe -p src/boot
C:/Users/vella/OneDrive/Desktop/SGDK/bin/mkdir.exe -p out
C:/Users/vella/OneDrive/Desktop/SGDK/bin/gcc.exe -m68000 -BC:/Users/vella/OneDrive/Desktop/SGDK/bin -n -T C:/Users/vella/OneDrive/Desktop/SGDK/md.ld -nostdlib out/sega.o @out/cmd_ C:/Users/vella/OneDrive/Desktop/SGDK/lib/libmd.a C:/Users/vella/OneDrive/Desktop/SGDK/lib/libgcc.a -o out/rom.out -Wl,--gc-sections -flto
C:\Users\vella\AppData\Local\Temp\cc8MUycR.ltrans5.ltrans.o: In function `_reset_entry':
<artificial>:(.text+0x5b0): undefined reference to `main'
C:\Users\vella\AppData\Local\Temp\cc8MUycR.ltrans5.ltrans.o: In function `_start_entry':
<artificial>:(.text+0x1104): undefined reference to `main'
<artificial>:(.text+0x11da): undefined reference to `main'
make: *** [out/rom.out] Error 1

How do i fix this??

The GitHub issues are for bug reports or feature requests, not for support.
For support, you can go to the Discord server: https://discord.gg/xmnBWQS

Not a bug. (support request)

The GitHub issues are for bug reports or feature requests, not for support. For support, you can go to the Discord server: https://discord.gg/xmnBWQS

Okay i see. I will use Discord for support next time.


Row vectors in numerators don't display as vectors

The vector [[1, 2, 3]] renders as a row vector, complete with square brackets. If you divide by anything though, those square brackets vanish: [[1, 2, 3]]/2. I'm not sure this is the intended behavior!

This is not unexpected behavior, but certainly not desirable.  Normally Asciimath removes brackets around numerators and denominators, so that something like (x+4)/4 will display without parens in the numerator.  But that unwrapping is probably not desirable for matrices/vectors.
I'll make a fix so it skips the bracket removal for matrices.
In the meantime, you can fix the display by adding an additional bracket around your numerator, like ([[1,2,3]])/2


Converge request user roles to match API and UI

FOLLOWUP:

[ ] https://github.com/ManageIQ/manageiq-api/pull/447 change identifier in tests only

We introduced feature miq_request_superadmin in f6c02e81 / #17444
The feature miq_request_approval already existed.
Merging the 2 together.
This fixes an inconsistency between API and UI
The issue existed before this feature was introduced
so this works with https://github.com/ManageIQ/manageiq/pull/17444 to fix the BZ
https://bugzilla.redhat.com/show_bug.cgi?id=1608554

@jrafanie and @gtanzillo This pushes us more towards using *_admin_user? type methods that you both like.
I do have a followup that will remove the ambiguous .admin_user?
I've already removed references to admin_user? in all repos.

@kbrock did you try to use the new recreation environment from the bz?  I'm curious if this change fixes the api not bring back requests for approvers

@jrafanie I need to backport this stuff to that environment to check it. This backport effort is non-trivial. Since we want to make this change regardless, can we just do this and then followup if it doesn't fix all the issues?


feat(Cache): include MathlibTest in the cache

Not tested locally, but looks simple enough.

bors merge


add Docker service with workspace indexing

This adds the recipe by @b2m for running OCR-D Browser inside a Broadwayd via Docker into the repository. I took the liberty of extending that idea with a simplistic indexing service which just searches for all METS files in the startup directory recursively, and presents a web page with links to each of them. The links then in turn will start up browse-ocrd and redirect to the local Broadwayd site.
Here's a screenshot of the index page:

And that's what you get by clicking on one of the links:

Note: I also updated the README in anticipation of a merge. There – besides describing the Docker option – I also added a table of contents on top.
Note: the current version can already be pulled as bertsky/ocrd_browser from Dockerhub. If you intend to support this yourself, we should rewrite the README to point to hnesk/ocrd_browser or even ocrd/browser, and add a CI for building and uploading the image, too.

Nice! I was able to get it running immediately.
This would work on windows, too, right?
The CI idea is great, but  I have nearly no experience with docker.
I don't like the idea of  an hnesk/ocrd_browser image on dockerhub, because it would have name on it, but I wouldn't be able to support it, so both bertsky/ocrd_browser or ocrd/browser would be fine with me.
So I'm not quite sure how to move on. Maybe we should add the docker image building process to the CI workflow of browse-ocrd of this repository or we find another place in the ocrd scope. Or would it make sense to have the dockerization/broadwayization in a complete separate repository?
I'm open for any solution (also simply merging this right away), I just want to discuss this under the condition that I won't be able provide a lot o support for that feature.

This would work on windows, too, right?

Yes. And on headless servers.

The CI idea is great, but I have nearly no experience with docker.

Ok, I'll create a configuration on my fork's master with credentials for my Dockerhub login, so we can c&p here.

I don't like the idea of an hnesk/ocrd_browser image on dockerhub, because it would have my name tag on it, but I wouldn't be able to support it

It's your app and repo, though. And you can just set MAINTAINER https://github.com/hnesk/browse-ocrd/issues in the image. If you still don't like the responsibility (and credit), we could ask @kba for a transferral to github.com/OCR-D ...

so both bertsky/ocrd_browser or ocrd/browser would be fine with me.

For the former I'd have to add my DH credentials to your repo (which I have no problem with), in the latter @kba's (not so sure).

I'm not quite sure how to move on. Maybe we should add the docker image building process to the CI workflow of browse-ocrd of this repository

Let's see how far I get with that and then discuss!

Or would it make sense to have the dockerization/broadwayization process in a complete separate repository?

We already did that in our https://github.com/markusweigelt/ocrd_manager/pull/17, but I think it's worth sharing here, too.

Ok, I'll create a configuration on my fork's master with credentials for my Dockerhub login, so we can c&p here.

It's as simple as https://github.com/bertsky/browse-ocrd/commit/dcc7230185f0746fafb69b01fa5d2c19aac4b3b7 and adding secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN in your project settings.
(Name/tag of the image will have to be adapted of course.)

Ok, I'm fine to publish this as hnesk/ocrd_browser.
I just tested it with my credentials and it worked quite well, now I'm try to make it dependent on the unittest workflow and then from my end this can be merged. Do you agree?


bluez: add upstream patch for /var/lib/bluetooth

Description of changes
Not much to see here. Just picking a patch from upstream that is not yet in a release.
Without this patch hardware.bluetooth.enable = true results in the bluetooth service failing to start.
The details are here: https://github.com/bluez/bluez/issues/329
The fix commit is here: https://github.com/bluez/bluez/commit/0905a06410d4a5189f0be81e25eb3c3e8a2199c5
I have experienced the issue on my desktop running nixos-unstable and applying this locally solves the issue for me.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg eval

Thanks to @tomberek for helping with this one.

cc @NixOS/nixos-release-managers we might need to backport this to 22.05

Thank you, @jtojnar and @bobby285271 .

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/broken-bluetooth/6092/10


Set features.operators.openshift.io/disconnected to True

STF can now be deployed in disconnected mode. This change updates the features.operators.openshift.io/disconnected annotation to reflect this.

recheck

recheck

Issues in the CI are unrelated to this change, so enabling auto merge.

recheck

recheck

If zuul CI fails again, I'm probably just going to merge this, because this isn't in the critical path for deployment, so these failures are just due to instability in the CI systems.
I'm going to run a local build and look at the console UI to validate this.

FYI I also completed a manual check to verify this looks correct:
Current packagemanifest in Red Hat Operators

Locally built packagemanifest from CloudOps Operators (this PR)


Android Permission never granted, nor asked.

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
Memory: 306.79 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.6.0 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 23.0.3, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0
API Levels: 21, 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: ^0.56.0 => 0.56.0
Description
Android Permission doesn't prompt anything, instead it's alert. The documentation of IF and Else never gets there and the catch itself never gets there.
Reproducible Demo

Copy and paste the function, and set it up with react-native-barcode-scanner-google.

This issue needs repro steps and/or sample code.

Never mind, i close it because the permission is asked prior before arriving at the camera or it resorts to this pop up of No Camera Permission and it's denied.


New py scripts

This PR adds two new Python scripts that might come in handy for people working on the ontology.

merge_yamls.py takes two yml files as inputs and combines them without creating duplicate entries. This can be helpful if more than one person is working on the ontology and their work needs to be combined easily.
get_leaf_node_examples.py creates a human-readable "cheat sheet" file containing all the leaf nodes of the ontology along with all their examples. This can be helpful if one wants to see if examples already exist without having to search through the metadataful version of the ontology.

They sound handy.  (Almost) anything to make life easier...  It seems like the one for leaf nodes performs a fuzzy parse, which I'd be wary of.

@zupon thanks for working on these!! I love the ideas and your initiative!
can you provide an example of what the files generated by the cheatsheet one look like? (screen shot of part of one is fine I think)
also -- what happens in the merge one to the duplicate? are the examples merged or is one node simply discarded?  I feel like a test may be worthwhile or something... idk if that's overkill?

Maybe surprisingly, I think it appropriate that these scripts are in Python because they will be run on ontologists' computers which are more likely to be set up for Python than Scala.  Do we have any CLU Lab Python projects that demonstrate a standard testing framework with integration into Travis or Jenkins?  I checked the Python-heavy projects in the clulab repo and see nothing.  Perhaps it is time to figure out how that should work and implement it in a reference project.

Here's a snippet of what the output of get_leaf_node_examples.py looks like:
name: storm
examples:
- cyclone
- hurricane
- landfall
- storm
name: volcanic_eruption
examples:
- volcanic eruption
- volcano
name: wildfire
examples:
- wild fire
- wildfire

I also just noticed some problems with merge_yamls where it's combining nodes that shouldn't be combined, so that one isn't ready to include just yet.

Maybe surprisingly, I think it appropriate that these scripts are in Python because they will be run on ontologists' computers which are more likely to be set up for Python than Scala. Do we have any CLU Lab Python projects that demonstrate a standard testing framework with integration into Travis or Jenkins? I checked the Python-heavy projects in the clulab repo and see nothing. Perhaps it is time to figure out how that should work and implement it in a reference project.

yeah maybe.  and I agree about the python vs scala for the same reasons you mentioned


[1859] Added tweaks to Timeline labels

Guidance to review
:shipit:

 [S] Tweaks to Timeline labels


Does not work at all???

C:\nxshot-master>nxshot.py C:\Nintendo\Album
No folder specified! Exitting...

Try on cmd:
python nxshot.py "C:\Nintendo\Album"

C:\nxshot-master>nxshot.py "C:\nxshot-master\Album"
No folder specified! Exitting...

Please try it without opening python. Do the command on my previous message.

i never opend python

Please send a picture of your command prompt.

Please, type this command:
python nxshot.py "C:\Nintendo\Album"

Ok, try the latest version and tell me if it works now.

works now whatever u did


feat(flatMap) Add support for returning Arrays from a flatMap selector.

@trxcllnt instead of Arrays, I would say support iterables which could be arrays, maps, sets, and even generators as it is currently supported in RxJS

@trxcllnt @mattpodwysocki Why not just flatMap(...).toArray()?

@trxcllnt @xgrommx that doesn't make any sense because it won't give us the same as a selector return value

@mattpodwysocki I agree, but I needed this in a project last night, so y'know...

This is pre-alpha... the skateboard could be merged to the smiley-face's small intestines.

This LGTM. I think we need a broader approach that utilizes techniques like this for dealing with inner subscriptions.

This has been merged with 4ad6797


fix(WEB-10026): Fix redirect form save button

Changes

Fix submit button in redirect form when creating/editing redirect

Pull Request Test Coverage Report for Build aa86bf2c59df3b8410da691d3ad22d0aa01b97cc
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 70.889%

Totals

Change from base Build 459d3dec7654d6a7083c653c2014571b49208786:
0.03%

Covered Lines:
1371

Relevant Lines:
1934

💛  - Coveralls

Pull Request Test Coverage Report for Build aa86bf2c59df3b8410da691d3ad22d0aa01b97cc
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 70.889%

Totals

Change from base Build 459d3dec7654d6a7083c653c2014571b49208786:
0.03%

Covered Lines:
1371

Relevant Lines:
1934

💛  - Coveralls


Tidy Tuesday 2024 Week 2

Hello,
I am new help. Can you offer me a helping hand in how to navigate the github page and learn R programming as well?


[REQUEST] Remove the "Executed by" footer

In slash commands, you can see who used the command. I suggest to remove the "Executed by" footer.

This was initially added as a way to always know who executed what command since you could previously delete your message but this does become obsolete with slash commands, you're right. The reason I'm not so sure what to do about this is that this ends up giving some customization to each command response and would bring up lots of inconsistencies. For example, if we were to remove the footer from the /language embed, we would have to remove the author's avatar as well but, in places where a footer is required (such as /help), would we have the author's avatar? Not to mention that the embed looks weird without anything at the bottom in my opinion.

I won't close this just yet as I need to think about this and discuss with the team, but I can't guarantee we'll adress this.

I know it has been a while since this issue was created but I finally have some news on it
After some discussion internally we have decided to do a complete overhaul of the tips system and this will be fixed on that overhaul.
We will now put tips in the footer of most commands and remove the random messages sent after commands, as well as the /tip command. This will apply to every command except those that have their own footer e.g. page numbers, etc. Most credit footers will also be removed as these were seen as redundant and often unfair.
If you have any feedback to give on this, feel free to let me know, otherwise this should be implemented in the next couple of days.


Missing permissions required to create a private endpoint in documentation

Permissions required to create a private endpoint are missing: "Microsoft.Resources/subscriptions/resourceGroups/read"

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

ID: bbf20eb1-1f03-1374-ad24-0617e780977a
Version Independent ID: 3d81e440-09a9-88df-7d96-c8a1dd57850d
Content: Azure RBAC permissions for Azure Private Link
Content Source: articles/private-link/rbac-permissions.md
Service: private-link
GitHub Login: @asudbring
Microsoft Alias: allensu

@bhans378, Thanks for reaching out. We will investigate and update this thread.

@bhans378 , we already have the below permission listed which reads the resources for the RG:
Microsoft.Resources/subscriptions/resourcegroups/resources/read : Read the resources for the resource group

And this should help you to deploy a private endpoint.
If you are unable to deploy a Private endpoint with the listed permissions, could you please share the screenshot of error message you receive and we can investigate further.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Device is often (almost always) "Not Ready"

My alarm decoder almost always reports as Not Ready. I don't know if it's an async timing issue or what. My AD2 Ready device reads "Open" and my AD2 says "Not Ready." This even happens when I arm. It will briefly switch to an "Armed" status but then in a few minutes it's "Not Ready" again.

@f34rdotcom sorry I was out of town, should I be doing anything in particular while capturing the logs? Opening/closing zones? arming/disarming? Or should it just just be while idle?

@f34rdotcom ???

Sorry I got distracted :) Nothing special needs to be done just as long as you see the ready state change on the APP over and over a few times then the logs should have enough data I can decode the packets manually and figure out what is happening. Even as many as 30 or so lines of raw logs from the AD2* is enough to see this issue.


Preprocessing vs Segmentation

I've seen this briefly discussed on another issue but I'm working on an example where I'm having the same problem and I'm not sure how to proceed.
I'm wondering if I can compare how two different models (lets say Resnet and Inception) explain a given instance. Lets also say that these two models have different pre-processing for the images. For example:
Resnet maps pixels like [0 to 255] -> [0 to 1] (image = image/255)
Inception maps pixels like [0 to 255] -> [-1 to 1] (image = 2*(image/255-0.5))
If I run both preprocessed images through a segmentation algorithm, I shouldn't expect the resulting superpixels to be the same on both cases, right? The segmentation is sensitive to the preprocessing?
At the same time, if I tried to force the Resnet-preprocessing superpixels on the Inception model (or vice versa), would that make sense?
Or, alternatively, should I segment the images before any preprocessing is applied, and then only apply preprocessing within the prediction function? I'm just not sure this makes sense for -1 to 1 preprocessing because maybe this should indeed affect the superpixels. What if I had a weird preprocessing that maps to [-2 to 854] or some other weird colormap?
I imagine the question is a bit confusing but hopefully it's clear enough. Thanks in advance for any advice.

The superpixel segmentation should depend on the natural representation of the image, and not at all on whatever preprocessing different networks do.

Or, alternatively, should I segment the images before any preprocessing is applied, and then only apply preprocessing within the prediction function?

If I understood your question correctly, this is what you should do. Even if the model is doing something weird, you still want the explanation to be in terms of an image a user would understand (i.e. the superpixels are more likely to have semantic meaning in the original space).

Thank you for the prompt and helpful answer! If I could add one extra question, although it doesn't have to do with the previous one. I'm just not sure if this warrants an issue on its own.
If a model has a single output from a sigmoid activation( say like [0.64]), rather than a softmax-like multiclass output like most predict_proba() functions ([0.26 0.64] in this case), for a binary classification problem, do I have to write a custom prediction function to give these two probabilities or can I just pass the single valued predictions to explain_instance() ?

You can use a single output, but you will need to do two things.

set labels=(0,) rather than the default (which is 1).
You need the output to be a (n, 1) shaped numpy array, rather than (n, ). This means you may still have to write a wrapper, unfortunately.

Undestood. Thanks once again!


optimizer closure

How to pass in a closure argument to optimizer ?

Like you would do in PyTorch:
optimizer.setp(closure=closure)

You will probably need a source install however.

Thanks it's working now ☺


Error defining an aggregate of a calculation

A compile time error occurs when defining an aggregate of a calculation. This PR includes a test that reproduces the issue.

Fixed in v0.26.0! Thanks for the report and reproduction!

Thank you @zachdaniel much appreciated!


Is it MoltenVK that sets the support limits of iMac 2013

I just lost access to a game I play because they switched from from OpenGL to MoltenVK. With a pen stroke my iMac that was running the game fine, while doing many other things yesterday; Is now refusing to run the game.
The vendor claims minimum requirements as iMac 27" 2013. Is that actual MoltenVK requirement?

MoltenVK runs Vulkan on top of Metal, Apple's proprietary graphics API.
Metal was introduced in macOS 10.11 (El Capitan), and unfortunately not all older Mac models are capable of running Metal.
You can confirm whether your Mac model supports Metal from this list.
If you are running macOS 10.11 or later, and your iMac is on that list, then you should be able to run MoltenVK without any problems.


[Beta 2.0.0] - Cannot handle asset file names with commas in

If you have asset filename data in your feed, FeedMe halts processing without throwing any errors at all. It just sits there at the point it got to saying it's processing.
Example file name that would fail: "feedme 2 is awesome, so is craft.pdf"

This should be fixed in the latest 2.0 beta.


Errors from mkview with view files written through "sudo vim"

If sudo vim has been used initially for a file (where the view file gets created), you will end up with files that are owned by root.
When editing it without sudo later, the following error happens (through the call  to mkview):
Error detected while processing function stay#view#make:
line   14:
E190: Cannot open "/home/user/.nvim/view/=+etc=+apt=+sources.list.d=+nodesource.list=" for writing

It might be feasible to skip creation of views (calling :mkview) in case there is no view file already (and therefore a new one would be created).  But I don't know if that can be detected.
Neomru uses the following code to detect usage of sudo and then skips writing its MRU list:
function! s:is_sudo() "{{{
  return $SUDO_USER != '' && $USER !=# $SUDO_USER
        \ && $HOME !=# expand('~'.$USER)
        \ && $HOME ==# expand('~'.$SUDO_USER)
endfunction"}}}

(source)
I think it might be fine to skip

Thanks for bringing this to my attention. I am not sure simply skipping view session creation for sudo users is the right way to deal with this, however – or if there even is one. My thinking goes something like this:

at the root (forgive the pun) this is an issue with Vim’s half hearted approach to view session file management. View session files inside a common &viewdir are not disambiguated by user, which will not only lead to problems with sudo, but also in case the directory is located in a shared folder (not unthinkable if you try to share config files across accounts). That last case is undetectable by the code you kindly suggested.
even disregarding that, simply disabling the plugin when using sudo might be the wrong approach. Granted it feels right for typical dev workflows, but what about sysadmins? They tend to use sudo a lot out of necessity, excluding them from plugin use doesn’t strike me as the obvious choice here just because my (and I assume: your) needs are different.
even disregarding *that, or assuming we add an option for it (gah), this would add a platform dependency vim-stay doesn’t currently have. Unless things changed a lot since I last checked, Windows has its own concept of privilege levels and per process escalation which have nothing to do with sudo.

To make a long story short, I am loath to add a workaround to a Vim design flaw that privileges a specific workflow on certain platforms. What that does leave I am not sure, as that error is hugely annoying… thoughts?

See https://github.com/kopischke/vim-stay/pull/16 - for now it seems to be a good idea to catch it and turn it into a warning.


Create a training outline for embedded rust.

Brainstorm over the training plan for the rust Embedded ecosystems.
Discuss upon the mode of the training,
duration of the training, resources required and draw a over view of the training plan.

[ ]  Create a outline of the training plan.
[ ]  List down the sub topics under each main topics.
[ ]  Divide the trainings into different levels of the rust expertise.

The outline document after the discussion has been attached.
Comprehensive Embedded Rust training program.docx

The list is finalized.
Attached here.
Basics of Rust (Online)
•	Basic of Rust (? mins)

Using cargo, rust ecosystem, code samples, hello world.

•	Scaler types (? mins)

Data types, Mutability, usages.
•	Compound types (? mins)
Array, vector, tuple, accessing and updating.
•	Function
Defining, parameter passing, returning a value.
•	Memory management
Pointers, Stack and Heap,
•	String
Initialization, reading String element, str vs String.
•	Control flow
If else, else-if, while, for, loop{}, match,  syntax and usages.
•	Ownership
Reference and borrowing, rust rules for ownership.

Done.
The outline is ready.


No green flash when pressing save keybind

Describe the bug

There is no green flash when I press CTRL+S. I tried changing it to other keybinds as well, but it still didn't work.

To Reproduce
Steps to reproduce the behavior:

Open any sample jar (cannot provide the one I am using)
Navigate to any class
Change anything in the file and save
No green flash occurs

There are no errors in the cmd.

Err.. this does not occur with any sample. Going to need one to reproduce.

Sorry, by sample jar I meant just a random jar. I used a random jar I had with just 2 classes and it worked fine... But not working on the jar that I am trying to modify now (cannot send it). It has 7555 classes and 4052 files, could that be the issue? I am also using Procyon as the decompiler because the other decompilers fail to decompile.

The recompilation process is probably failing. I'm assuming the jar you're attempting to edit is obfuscated in some way. Generally obfuscated JARs cannot be recompiled due to the fact that they don't decompile into recompileable code. You will probably have to edit using the assembler:
https://www.coley.software/Recaf-documentation/use-assembler.html

It is obfuscated.. Thanks for the link though! I'll check it out

I was able to do what I needed using the assembler and EXPR! Thank you.


Recording not working

Describe the bug
Recording is not working on a windows installation.
To Reproduce
Steps to reproduce the behavior
Installed camera.ui on Windows as described in docs.
Configured cameras, and double checked cameras built in motion detection.
Tried to use recording on 2 different paths (to make sure it wasn't a problem with the path name)
It simply doesn't start to record.
Is there any specific step to make it work?
I also tried the UI motion detection, without success.
Expected behavior
It should start recording with built in motion detection or at least with UI motion detection.
Logs
If available, attach the log where the bug is vissible
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Node.js Version: v18.15.0
Camera UI Version: v1.17 and 1.18
Operating System: Windows 10
Browser: Brave, Chrome and Edge

Hummm
Actually it is working, but only for UI motion detection :(

I'm also having issues with no recordings. Here are some relevant logs:
[4/19/2023, 5:10:53 PM] [camera.ui] Driveway: Setting up camera, please be patient...
[4/19/2023, 5:10:53 PM] [camera.ui] Backyard: Setting up camera, please be patient...
[4/19/2023, 5:10:54 PM] [camera.ui] camera.ui v1.1.17 is listening on port 8081 (http)
[4/19/2023, 5:11:53 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":46.75318145751953,"sensitivity":54,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:13:11 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:13:11.393Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:13:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":12.562134742736816,"sensitivity":88,"dwell":60,"forceClose":3},{"zone":"region1","percent":16.87531852722168,"sensitivity":84,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:15:18 PM] [camera.ui] Backyard: Restart prebuffer session..
[4/19/2023, 5:16:09 PM] [camera.ui] Driveway: Restart prebuffer session..
[4/19/2023, 5:16:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:16:25.461Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:16:54 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":12.818323135375977,"sensitivity":88,"dwell":60,"forceClose":3},{"zone":"region1","percent":13.760814666748047,"sensitivity":87,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:19:54 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:19:54.449Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:20:54 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":57.02289962768555,"sensitivity":44,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:22:56 PM] [camera.ui] Driveway: Restart prebuffer session..
[4/19/2023, 5:22:56 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:22:56.482Z","event":"killed"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:22:56 PM] [camera.ui]  WARNING  System: Got SIGINT, shutting down camera.ui...
[4/19/2023, 5:26:01 PM] [camera.ui] Driveway: Setting up camera, please be patient...
[4/19/2023, 5:26:01 PM] [camera.ui] Backyard: Setting up camera, please be patient...
[4/19/2023, 5:26:01 PM] [camera.ui] Porch: Setting up camera, please be patient...
[4/19/2023, 5:26:06 PM] [camera.ui] camera.ui v1.1.17 is listening on port 8081 (http)
[4/19/2023, 5:26:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":33.47013854980469,"sensitivity":68,"dwell":60,"forceClose":3},{"zone":"region1","percent":69.3740463256836,"sensitivity":32,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:26:46 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":36.35331726074219,"sensitivity":65,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:27:53 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:27:53.373Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:27:56 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:27:56.103Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:31:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":43.25190734863281,"sensitivity":58,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:32:39 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":25.99650764465332,"sensitivity":75,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:34:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:34:04.789Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:34:09 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":14.150245666503906,"sensitivity":87,"dwell":60,"forceClose":3},{"zone":"region1","percent":62.95674133300781,"sensitivity":38,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:35:39 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:35:39.335Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:36:28 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":70.51961517333984,"sensitivity":30,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:37:09 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:37:09.521Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:37:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":20.3612117767334,"sensitivity":81,"dwell":60,"forceClose":3},{"zone":"region1","percent":71.81170654296875,"sensitivity":29,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:39:28 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:39:28.835Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:39:49 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":43.30921173095703,"sensitivity":58,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:40:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:40:41.658Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:41:38 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":38.95674133300781,"sensitivity":62,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:41:43 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:41:43.857Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:42:26 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":69.39305114746094,"sensitivity":32,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:42:56 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:42:56.611Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:43:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":18.31808090209961,"sensitivity":83,"dwell":60,"forceClose":3},{"zone":"region1","percent":22.768447875976562,"sensitivity":78,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:44:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:44:41.879Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:45:06 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:45:06.050Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:46:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":15.791348457336426,"sensitivity":85,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:47:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:47:25.264Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:48:26 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":45.63358688354492,"sensitivity":55,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:48:42 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":48.5727653503418,"sensitivity":52,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:50:16 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:50:16.104Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:50:27 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":20.300254821777344,"sensitivity":81,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:51:42 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:51:42.266Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:51:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":60.21645736694336,"sensitivity":41,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:52:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:52:41.089Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:52:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:52:48.755Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:53:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":29.684478759765625,"sensitivity":71,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:53:49 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":31.804628372192383,"sensitivity":69,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:56:04 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:56:04.597Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:56:06 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":45.45547103881836,"sensitivity":56,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:56:49 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:56:49.802Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 5:56:59 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":45.85989761352539,"sensitivity":55,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 5:59:06 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:59:06.349Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 5:59:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":37.306583404541016,"sensitivity":64,"dwell":60,"forceClose":3},{"zone":"region1","percent":57.638675689697266,"sensitivity":43,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 5:59:59 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T21:59:59.778Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:00:08 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":35.32218933105469,"sensitivity":66,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:01:10 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:01:10.123Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:01:12 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":13.068702697753906,"sensitivity":88,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:03:08 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:03:08.808Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:03:34 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:03:34.032Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:04:24 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":32.78880310058594,"sensitivity":68,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:04:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":46.755035400390625,"sensitivity":54,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:05:34 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:05:34.086Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:05:34 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:05:34.297Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:06:07 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":28.381885528564453,"sensitivity":73,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:06:38 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":13.134860038757324,"sensitivity":88,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:09:07 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:09:07.436Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:09:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":39.406150817871094,"sensitivity":62,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:09:38 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:09:38.859Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:10:16 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":42.07410430908203,"sensitivity":59,"dwell":60,"forceClose":3},{"zone":"region1","percent":82.885498046875,"sensitivity":18,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:10:23 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:10:23.351Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:10:32 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":80.62815856933594,"sensitivity":20,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:11:41 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:11:41.247Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:11:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":46.00274658203125,"sensitivity":55,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch
[4/19/2023, 6:13:16 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:13:16.015Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:13:20 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region1","percent":76.37149810791016,"sensitivity":25,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Driveway
[4/19/2023, 6:14:48 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:14:48.837Z","event":"forceClose (3m)"} - Motion: resetted - Camera: Porch
[4/19/2023, 6:15:25 PM] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-04-19T22:15:25.051Z","event":"dwellTime (60s)"} - Motion: resetted - Camera: Driveway
[4/19/2023, 6:15:59 PM] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":43.38968276977539,"sensitivity":58,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Porch

And here's my config:
{
  "logLevel": "info",
  "port": 8081,
  "atHomeSwitch": false,
  "options": {
    "videoProcessor": "/usr/lib/node_modules/camera.ui/node_modules/ffmpeg-for-homebridge/ffmpeg"
  },
  "ssl": {
    "active": false
  },
  "http": {
    "active": false,
    "port": 7272,
    "localhttp": false
  },
  "smtp": {
    "active": false,
    "port": 2727,
    "space_replace": "+"
  },
  "ftp": {
    "active": false,
    "useFile": false,
    "port": 5050
  },
  "mqtt": {
    "active": false,
    "tls": false,
    "port": 1883
  },
  "cameras": [
    {
      "name": "Driveway",
      "motionTimeout": 15,
      "recordOnMovement": null,
      "prebuffering": true,
      "videoConfig": {
        "source": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "stillImageSource": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "stimeout": 10,
        "audio": null,
        "debug": null,
        "subSource": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "rtspTransport": null,
        "vcodec": null,
        "acodec": null
      },
      "mqtt": {},
      "smtp": {
        "email": "Driveway"
      },
      "videoanalysis": {
        "active": true
      },
      "prebufferLength": 4
    },
    {
      "name": "Backyard",
      "motionTimeout": 15,
      "recordOnMovement": null,
      "prebuffering": true,
      "videoConfig": {
        "source": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "stillImageSource": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "stimeout": 10,
        "audio": true,
        "debug": null,
        "subSource": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "rtspTransport": null,
        "vcodec": null,
        "acodec": null
      },
      "mqtt": {},
      "smtp": {
        "email": "Backyard"
      },
      "videoanalysis": {
        "active": true
      },
      "prebufferLength": 4
    },
    {
      "name": "Porch",
      "motionTimeout": 15,
      "recordOnMovement": null,
      "prebuffering": true,
      "videoConfig": {
        "source": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "stillImageSource": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "stimeout": 10,
        "audio": true,
        "debug": null,
        "subSource": "-i rtsp://admin:@<IP_ADDRESS>:554/h264Preview_01_main",
        "rtspTransport": null,
        "vcodec": null,
        "acodec": null
      },
      "mqtt": {},
      "smtp": {
        "email": "Porch"
      },
      "videoanalysis": {
        "active": true
      },
      "prebufferLength": 4
    }
  ]
}

My recordings are working now. The issue is that you must select "Record on movement through UI".
The name and description of this are misleading, because in fact it has nothing to do with the UI. I'd recommend this be relabeled as something like "Record On Movement from Videoanalysis". Also the term "external controller" isn't easy to understand and seems undocumented.

In that scenario motion will be detected by Camera.UI, not coming from ONVIF events, right?
I was looking for something to get ONVIF events...

I tryed so hard to make Camera.UI work for weeks. Unfortunately i couldn't.
Had better results with ZoneMinder.
Also, i was looking for a software that could give more flexibility accordingly the logged user. Like access by camera, etc...

I simply cant get it to record, not even with "Record on movement through UI".
To bad, seems like a potential great product...

Problem i have with it is that if the website is not active, it doesn't record :(
There's something pretty strange.
I tried Zoneminder but it is absurdly slow and buggie...
I don't consider myselv a newbie in tech, and still, it is disappointing.
CameraUI seams to be fast, but it still doesn't recognize ONVIF motion detection (at least here) and it fails to record when you close the webpage... So, NVR with poor hardware and pretty expensive is winning :(

I hope this problem could be solved soon. I was looking for a NVR solution and this is the best option that I found. I am using it in a Debian server. Motion is detected, but nothing is recorded.

🎉 A new version of camera.ui
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).


Chartee Rodgawe

https://github.com/paulirish/speedline/releases/tag/v1.4.3

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


Add missing Ruby regex flags

Information

Language: Ruby

Description
Ruby has a lot of regex flags but Prism only supports i, m, and g.
Code snippet
Test page

The code being highlighted incorrectly.
/abc/u

Fixed by #2845.


Create project section in card form

Can you explain your issue? I like to fix it

projects which are present under projects needs to be displayed in card form

Can I take this issue? please assign it to me.

Can i work on this issue?