Not sure if “next” button working in v10.3?

First off - thank you SO MUCH for providing and updating this assistance.
I’m on Windows and have downloaded the script v10.3. I have two problems and this post is about the first of them: whether the “next” button is working.
I’ve heard the alert a few times and ticked the “not robot” button then tried clicking next but it hasn’t seemed to respond - i.e., no visual movement of the button and no “in progress” swirling circle. It was doing both in v10.2
Is this normal or an issue?
Thank you!

I am experiencing the same thing with the next button.  Doesn't take me anywhere.  I don't get anything in progress and when I click to restart get the recaptcha error message and have to log out and back in.   Earlier, when the script was not working and I was doing it manually, I saw the please wait - in progress - this room is now full.  It is the first time I have seen that in a long time.  When using the script I only get the recaptcha error message and have to log out and back in when unsuccessful (ony after clicking next).  If it is just the siren then no problem restarting.   But I guess there is no way to tell if it is working unless someone can get an actual booking and confirm.  It's been a frustrating couple of weeks.  This whole MIQ system is cruel and illogical.

I got a voucher (twice) using the v10.2 script (though sadly they were both for days without corresponding flights out of my country of departure). And with v10.2, I could click “next” and the button visually looked ‘clicked on’ and a moving/swirling circle appeared - sometimes it would then just stay on the same page (I guess if I had been too slow); sometimes take me to a “sorry, full” page and - twice - to a “voucher reserved” page. But with v10.3 I’m not sure if the “next” button is working as it’s not responding the same way (and even when the alert is still going off, it doesn’t seem to respond to me clicking it).
Definitely a painful process - grateful for this community’s help with it!

Great to hear you were successful in getting vouchers. Hopefully with this
version we can all get there!
On Thu, 29 Jul 2021, 10:16 pm JulieONeill, @.***> wrote:

I got a voucher (twice) using the v10.2 script (though sadly they were
both for days without corresponding flights out of my country of
departure). And with v10.2, I could click “next” and the button visually
looked ‘clicked on’ and a moving/swirling circle appeared - sometimes it
would then just stay on the same page (I guess if I had been too slow);
sometimes take me to a “sorry, full” page and - twice - to a “voucher
reserved” page. But with v10.3 I’m not sure if the “next” button is working
as it’s not responding the same way (and even when the alert is still going
off, it doesn’t seem to respond to me clicking it).
Definitely a painful process - grateful for this community’s help with it!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jvolker/miq-nz-booking-tools/issues/105#issuecomment-889068133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU5M4AA4IID44MLBDDNNZYTT2FBCXANCNFSM5BGGP7RA
.

Mmm, I was also previously successful with v10.2 (but it was for a Sunday, which... I cannot get to Japan or China to then get to NZ). Let's keep hoping with v10.3 that we'll all make it!

If you see this issue again can you try re-clicking on the date in the calendar again before clicking next

Thanks @alexDrinkwater
One request on this (that someone else mentioned in another issue/comment thread): the Windows v10.3 script’s page refresh scrolls to the bottom of the page which, on my laptop, means I can’t see the calendar and have to take a second to scroll up when I hear the alert. Is there a way to make it refresh and set back to the portion of the page where the calendar is visible?
Thank you for all you’re doing!!

The issue with Next button is because of the website. It sends a XHR request to check duplicate bookings but it does not disable the button or display a spinner.

@nikhil-bhandari Thanks for the info. TBH, I've spotted a few bugs in the latest code from MIQ. Seems like they also no longer send the date with the check duplicate XHR request and it also looks like it does not come in the form data on the form submit after check duplicates. Looks pretty sloppy to me.

@nikhil-bhandari @alexDrinkwater Do your comments above mean the script is working and we should keep: listening for alert, clicking open date, clicking “not robot”, clicking “next”?
I just tried this and had no luck getting the page to respond to me again (neither the open date nor the next button looked clicked upon and no “in progress” type visual appeared)

@JulieONeill Based on @nikhil-bhandari comments it sounds like the latest miq site doesnt give any feedback to say the page is loading or the button has been clicked. After a few seconds does the page 'refresh'?

@alexDrinkwater Thanks for clarifying! No, once I’ve clicked the page (on the date / not-robot / next buttons), that seems to stop the script running - and the MIQ site also seems to then log me out after a few moments (post clicking after hearing an alert… which I mentioned in a different issue/comment post).
Thank you all again for continuing to help with this!

@alexDrinkwater @nikhil-bhandari To further  clarify the above - should I still try to click the date that becomes available before the “not robot” and “next”? I’ve tried it both ways (clicking date first; going straight to robot/next) and am not having any luck so can’t tell which way is actually working

@JulieONeill I'm also having the same issue: alarm sounds, click on the date, check "I'm not a robot", click "Next" .... nothing happens. Not sure if this due to the script, or something to do with the MIQ site. Am also experiencing the other issue #106

I’ve had no success with the page responding to my clicks after any alerts so I tried creating a second MIQ login to have one booking window open without the script and another window open with the script so that I could hear the alert from the script window, click manual refresh on the non-script window and then click date/not-robot/next on the non-script window… BUT weirdly the non-script window wasn’t showing any available dates even when the script window had the alert sounding. Not sure if this signals an issue with MIQ or script…?

I’ve had no success with the page responding to my clicks after any alerts so I tried creating a second MIQ login to have one booking window open without the script and another window open with the script so that I could hear the alert from the script window, click manual refresh on the non-script window and then click date/not-robot/next on the non-script window… BUT weirdly the non-script window wasn’t showing any available dates even when the script window had the alert sounding. Not sure if this signals an issue with MIQ or script…?

Hi Julie.. how did you have two windows open at the same time?  I thought it would log you out if you were logged in twice?

Hi Julie
I am trying the same thing now.  Will keep you updated if I find the
same....
On Fri, Jul 30, 2021 at 8:56 AM JulieONeill @.***>
wrote:

I’ve had no success with the page responding to my clicks after any alerts
so I tried creating a second MIQ login to have one booking window open
without the script and another window open with the script so that I could
hear the alert from the script window, click manual refresh on the
non-script window and then click date/not-robot/next on the non-script
window… BUT weirdly the non-script window wasn’t showing any available
dates even when the script window had the alert sounding. Not sure if this
signals an issue with MIQ or script…?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jvolker/miq-nz-booking-tools/issues/105#issuecomment-889512297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU5M4AEB2I3ARAPOKPPNMHDT2HMDFANCNFSM5BGGP7RA
.

I have one window open for my partner with the script running and one for
myself without the script.  Will see how that goes.
On Fri, Jul 30, 2021 at 8:59 AM Shirley Johnson @.***>
wrote:

Hi Julie
I am trying the same thing now.  Will keep you updated if I find the
same....
On Fri, Jul 30, 2021 at 8:56 AM JulieONeill @.***>
wrote:

I’ve had no success with the page responding to my clicks after any
alerts so I tried creating a second MIQ login to have one booking window
open without the script and another window open with the script so that I
could hear the alert from the script window, click manual refresh on the
non-script window and then click date/not-robot/next on the non-script
window… BUT weirdly the non-script window wasn’t showing any available
dates even when the script window had the alert sounding. Not sure if this
signals an issue with MIQ or script…?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jvolker/miq-nz-booking-tools/issues/105#issuecomment-889512297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU5M4AEB2I3ARAPOKPPNMHDT2HMDFANCNFSM5BGGP7RA
.

@kimmered1234 as mentioned, they have multiple accounts running with (probably) the same passenger details.
Regarding the inability to reserve a date, it seems that with the new website changes, it might have begun possible to do headless scripting, so there might be some scripts doing instant submission out there.

@mark-bloom Yes that’s what I was trying (created two MIQ logins with same passenger details). I’m sadly not tech-literate enough to know what the “headless scripting” etc stuff means - but do you think, when running the v10.3 script & hear the alert, we should be clicking the date before “not-robot” & “next”, or go straight to clicking the “not-robot” & “next”? (The “next” button becomes active as soon as the alert goes off but it doesn’t seem to visually respond to anything). I’ve tried both ways but no success with either - the page doesn’t do anything to make me feel it’s “heard” my clicks.

Based on the example of success shared in the “help wanted” comment thread, it seems that it is not necessary to click the date and sufficient to just click the “not robot” and “next” buttons so I will close this issue

@kimmered1234 as mentioned, they have multiple accounts running with (probably) the same passenger details.
Regarding the inability to reserve a date, it seems that with the new website changes, it might have begun possible to do
headless scripting, so there might be some scripts doing instant submission out there.

It was always possible to do headless scripting, I have a solution I wrote that can refresh every second, select date, click captcha and click next (I plan to share it too but it is cli only and not very user friendly right now). Funnily enough even with that, I have still never been fast enough to get a date. It takes me to the "holding your date screen" 99% of the time and then I get a "date is full message". If I check my logs I can see how long a date was available and it is usually less than 1 second. My assumption is there a plenty of other bots doing the same thing, and probably most of them closer to the MIQ servers in Sydney so have less latency (I am in EU).

@stilljake Good to know that it's possible. Even with my attempts at headless, I haven't been able to bypass the time-out that seems to happen at <5s refresh times.

@mark-bloom by timeout do you mean the soft ban for making too many requests too fast?

@stilljake Yeah, that's the one. Anything under 5 seconds (even 4.7) seems to reach some threashold of 'requests per 5 minutes' or something I haven't bothered diagnosing.

My solution was to use a proxy and rotating my IP every refresh.


Decimals as numbers

Like mentioned in my previous pull request https://github.com/radar/humanize/pull/10, here is another commit about configuring how decimals are transcribed.
My intent using humanize is to convert monetary values for tax receipts where the amount must be written as words. Therefore 12.42 as twelve point four two was not acceptable.
So I added a digits_as option, allowing to choose how to display decimals.
It can accept two different values:

digits (the default) => twelve point four two
number => twelve point forty-two

For now I'm just calling humanize on the decimal part, so 1.1000042 would translate to one point one million and forty-two. I don't how acceptable this is for such big decimal numbers, but for monetary values it seems more natural to me (twelve point forty-two).
README has been updated, you may want to format it another way if you don't like this one (config/i18n/decimals).
As this commit in based on the previous one, this makes for a huge pull request. I don't know how it's supposed to work, maybe I'll have to rebase on master after the first one have been merged ?
Thanks !

I merged this and #10 manually as I hadn't had Travis set up yet and I wanted to test these changes locally. Both PRs look good to me.
I've merged them to master and I am now releasing 1.2.0 which will contain your changes.
Thanks for your contribution :tada:

Great, thank you ! :tada: :+1:
I don't know much about performance but the benchmarks might be a little off now.
What do you think ?
Also I saw that you did not include Ruby 1.8.7 in the travis file.
Should we add it to ensure support or drop it an then get rid of the rocket hash syntax everywhere ?
Personally I think that for such a small syntactic difference it would be a pity not to support this version if we so easily can.
(Yes I am biased, having worked on a legacy 1.8.7 app for a while. Eventually we could upgrade !)

Personally I only care about modern versions of Ruby. If someone wants to use this library on something older than 2.1, then they can. If it breaks on an earlier version, then they could submit a PR to fix that up.


Use module-qualified names for Hyper-V and Storage commands

This should fix issue #333

@csandfeld Awesome! You might want to make a small change to kick the unit tests again (the v4 tests keep failing intermittently and there must have been a change on the community build agents). Can you add a line to the Unreleased section of the ChangeLog.md file?

@iainbrighton sure 👍

@iainbrighton looks like it is still failing to run the v4 tests. You need me to do anything else?

@iainbrighton (you may already know this from you own investigations) I looked at the failing v4 tests, and it appear to have randomly failed (more often than not) the tests, since merging PR #319. Since that merge, the build log of every failed v4 test run I have looked at (I haven't looked at through all of them though) show the same IO error from Register-LabMedia.Tests.ps1:
[15:13:15][Step 1/1]  [-] Error occurred in test script 'C:\TeamCity\BuildAgent\work\2ab121e51b4f3d7e\Tests\Unit\Src\Public\Register-LabMedia.Tests.ps1' 21ms
[15:13:15][Step 1/1]    IOException: The process cannot access the file 'CustomMedia.json' because it is being used by another process.
[15:13:15][Step 1/1]    at Remove-TestDrive, C:\Program Files\WindowsPowerShell\Modules\Pester\Functions\TestDrive.ps1: line 84

Followed by an ParameterBinding  exception causing Pester to exit with error code 1 from Remove-LabConfiguration.Tests.ps1:
[15:13:15][Step 1/1]  [-] Error occurred in test script 'C:\TeamCity\BuildAgent\work\2ab121e51b4f3d7e\Tests\Unit\Src\Public\Remove-LabConfiguration.Tests.ps1' 191ms
[15:13:15][Step 1/1] C:\TeamCity\BuildAgent\temp\buildTmp\powershell5886935862954223392.ps1 :
[15:13:15][Step 1/1] Cannot validate argument on parameter 'First'. The argument is null, empty, or
[15:13:15][Step 1/1] an element of the argument collection contains a null value. Supply a
[15:13:15][Step 1/1] collection that does not contain any null values and then try the command
[15:13:15][Step 1/1] again.
[15:13:15][Step 1/1]     + CategoryInfo          : InvalidData: (:) [Write-Error], ParameterBinding
[15:13:15][Step 1/1]    ValidationException
[15:13:15][Step 1/1]     + FullyQualifiedErrorId : ParameterArgumentValidationError,powershell58869
[15:13:15][Step 1/1]<PHONE_NUMBER>3392.ps1
[15:13:15][Step 1/1]
[15:13:15][Step 1/1] Process exited with code 1
[15:13:14][Step 1/1] Process exited with code 1
[15:13:15][Step 1/1] Step Run Tests (PowerShell) failed

Bottom line is that it seem to be a problem with a filelock on CustomMedia.json. I wonder if this could be fixed by a sleep statement in Register-LabMedia.Tests.ps1, or alternatively by checking that the file is no longer locked, before moving on and allowing Pester to remove the TestDrive.
Thoughts?

@csandfeld It looks like it can't remove the test drive after the test. You can try adding a delay, pushing and seeing if that helps the v4 tests?

@iainbrighton So sleeping for 30 seconds solved the problem, while sleeping for 2 did not. We may want to find a better value (would be a bit of trial-and-error, or an alternative way of checking for file lock, in order to avoid having such a long delay. I will try with 15 seconds next.

Ok ... decreasing to 15 and it failed again.

Had only changed a typo in 7dc65c3 before pushing the commit (forgot to save after changing the delay value - duh!). Commited e2bcd6b with the sleep delay set to 30 seconds.

Sure! That sounds like a sensible plan :)
Confidential Communication: This e-mail is intended only for the use of the addressee named above and may be confidential. If you are not the addressee you must not read it and must not use any information contained in nor copy it or inform any person other than Virtual Engine or the addressee of its existence or contents. If you have received this email in error please delete it. It is the responsibility of the recipient to ensure that this message and its attachments are virus free. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Company, its directors or officers unless otherwise specifically stated.

Took a while for the tests to complete (build server had problems processing PS v4 jobs all saturday), but they have passed now :-)

Thanks @csandfeld 😃. I think we need an issue for the disabled test. I think that if we write to the %TEMP% directory instead of the $TestDrive, Pester won't try and clear that up, thus it won't be held open?

My pleasure @iainbrighton. Will you open an issue for the disabled test, or should I?

@csandfeld I'll do it 👍


Add dark and light theme

Add dark and light theme.
Make sure it has no conflict during raise a pr.
Mention issue no in pr writeup.

Hey @samratghosh291 do u want to add a toggle switch for light/dark mode ?


The "Select/Create Parameter File..." in status bar is inconsistent with context menu and command list

OS: Mac/Win 10
Build: 20200604.33
Repro Steps:
Check command "Select/Create Parameter File..." in status bar, context menu and command list.
Expect:
The "Select/Create Parameter File..." in status bar is consistent with context menu and command list.
Actual:
The "Select/Create Parameter File..." in status bar is inconsistent with context menu and command list.

@neilpeterson What do you think about this?  Never really been happy with the "Select/Create Parameter File" menu, but maybe it's just me.

As for the initial issue, I like the status bar behavior (contextual based on current mapping). The discrepancy does not bother me.
The wording 'Select/Create Parameter File...' I feel similar Stephen, but am not sure what the update would be without separating functionality (select / create), which I would not want to do.
Perhaps 'Manage parameter file mapping', however that is not very descriptive.
My vote here would be close this as intended functionality unless we think that the wording is confusing people / contributing to lack of usage. Stephen if you think that may be the case I would be happy to take a customer pulse / perform the research.

Do you think we should add Select/Create to the status bar as well?  If not, go ahead and close.  Thx.

On second look, yeah, let's change it for consistency.


Make pressure and volume pumps require power

About the PR
Make pressure and volume pumps require power.
Why / Balance
Pumps do work and as a result should require power to operate. This is needed for eventual soft clogging which is part of the approved atmos roadmap. Furthermore, it incentivizes players to use passive gates and manual valves that work in case of a power outage.
The power consumption is currently very small and will unlikely have any major impact besides requiring atmos techs to route LV cables to pumps.
Media
A powered pressure pump:

When the APC is off, it no longer runs:

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
None
Changelog
:cl: notafet

tweak: Pressure and volume pumps now require power to operate.

will require mapping changes first to not troll anyone

can you check if this will troll any atmos rooms

Stations that currently have round-start pumps that may be left unpowered are:

Atlas
Bagel
Cluster
Core
Fland
Marathon
Meta
Omega
Origin
Saltern

I quickly checked the atmosroom of every current map, and the only unpowered pumps I found were on Bagel's redundant damaged/unfinished secondary atmos peninsula


Adding reaction on StorySchema

https://github.com/Sayed94h/Hear-My-Story/issues/11

I can see that @Toinne  make changes on story schema model in the other PR.
So i will merge this PR.
If someone need to make new changes we can make new PR

I can see that @Toinne  make changes on story schema model in the other PR.
So i will merge this PR.
If someone need to make new changes we can make new PR


[WIP] Steps towards compatibility with Android

Soo, I made an attempt at a first step for implementing #49 - created abstract classes for the AWT classes kumo uses, each with just the methods kumo and fields makes use of. Then I replaced the existing AWT usages with using the new abstract classes. I also created a package with the AWT implementations of the abstract classes.
Instantiation of this stuff is now done through a class called InstanceCreator - it has static methods to retrieve objects of the desired kind. Later on, this classes will decide based on its environment which implementation of the abstract classes (the AWT set or the Android set) to supply. The core of kumo should be completely agnostic to what it is working with.
This PR is not ready to be merged. I made it already now so that what I've done so far can be criticized. I don't really have experience with making APIs compatible with different platforms like this, so I'll probably tend to make things unnecessarily complicated. Some things that need to be improved:

[x] There should be a better name for the abstract classes. An Abst-Suffix doesn't feel descriptive enough to me.
[x] Although all Unit Tests pass, the output of some of them seems incorrect, especially regarding the image backgrounds sometimes. I'm not sure why this is yet - if everything had went correctly, no functionality should've been changed so far.
[x] Obviously, both the actual Android implementation and something to decide which implementation to use is still missing.

Feel free to comment on anything about this.

woah! good work man. I recently left my job so will have a lot more time for a bit to work on my open source stuff. I'll be sure to check this out over the weekend/next week.
Performance is definitey going to be a major priority going forward. I honestly didn't expect so much usage of this library early on. :D
I know some people mentioned complexity around Android integration, but I think given the demand, let's try and make it work. I'm confident we can do it and make it simple/clean.

I know some people mentioned complexity around Android integration, but I think given the demand, let's try and make it work. I'm confident we can do it and make it simple/clean.

I think the complexity part gets solved by simply using DI, in this case with InstanceCreator. All of kumos important logic stays the same and can be modified independendly, and the implementations for drawing stuff aren't that big or complicated. What I kinda dislike is the fact that other applications using kumo will probably have to call InstanceCreator as well to use kumo. That doesn't feel elegant enough to me, but I haven't had an idea on how to improve this yet.
Something I just noticed is: Alpha is a little strange in Android (or I'm doing something wrong). Setting the alpha value for the background sets it for the entire image, even when the text drawn on top of the image has alpha 255.

Status update: Since I don't really know if anything can be done about SLF4J on Android and there are no bugs left otherwise (that I know of), I'm now just waiting for either a code review or that #80 will be merged and I can resolve the conflicts it will inevitably cause.
One idea I had to make this PR easier for users of kumo: We could, instead of having the static get-methods, create proxy-classes that do the creation of appropiate objects (the same way the static methods do it now) in their constructor and store the resulting object in a single instance variable. These classes would then also extend the respective abstract classes, and redirect any calls to the object with the actual implementation. I haven't implemented this because even though it makes usage easier for kumo users, it would make the code less easy to read and maintain. If you don't share this concern, I'll happily make the change, but for now I left it like it is.

I just got back from Hawaii trip and plan to review everything for real this time. Thanks for all the work on this. :)

Soo, I had the idea of just getting rid of the abstract classes altogether and instead use somewhat cleaner interfaces. I have to admit that I kinda got impatient and just wanted to try implementing it - will revert if needed.
This iteration works like this: I created a new package "draw", that contains the platform specific implementations, as well as interfaces for each component. The platform-specific classes extend their respective interface, but so does a platform-independent class for each interface. This platform-independent class just has the simple name ("Color", "Graphics", etc.) and should be usable without knowledge of any of the inner workings by kumo and kumo users. The class just does what I meantioned earlier: It has one instance variable with the actual implementation, and chooses the implementation to use in its constructor. Any calls to this calls are redirected to the actual implementation.

@Namnodorel Nice. I'll give it another read. I am interested in getting this to a merge point sometime. :) I despite my inactivity, think about this a lot. Someone on my blog mentioned the desire for a GUI to make kumo word clouds which i really wanted to implement, but am holding off until we get this wrapped up. Apologies for my recent absence.

@kennycason Well, this time it was my turn to have other stuff to do - but today, I had time to come back to this and finally implement the performance changes in my branch as well. They do indeed help - the test timings got much better in the normal tests, and still notably better on Android.
Unfortunately, many of the test cases still take minutes to complete in the Android emulator. I feel like this is still more than an average user would be willing to wait for an image to load. After profiling, I found that even with the changes, collision detection is still the biggest bottleneck. I still believe this could be fixed by multithreading at least some of it.

I tested using RxJavas parallel feature, and I can confirm that being able to make use of the full processor capacity sped things up significantly.
But slapping RxJava on isn't going to work alone - while testing, I experienced lots of native crashes that are caused by attempting to make something parallel that wasn't written for it. And I don't think that it's within my abilities to make the required changes :/

Please do something on his pull request because i need to use kumo in my app .

If you desperately want to use it as it is now (which I would not recommend due to the lacking performance on Android), you can use the fork through jitpack.io

@Namnodorel Yeah, i think ultimately yes, a more efficient placing algorithm is going to be key to performance improvements. I'm still not very sure about all the Android-isms as I just haven't worked with it as much. I still need to review through everything as well on my end. :D
What are your current overall thoughts on merging the branch. You indicated a bit of hesitation as well in last comment. I'm personally in no rush, but of course rebasing could get more difficult for you in time, but I don't have any major work planned for this project yet.

@kennycason I'm not sure what exactly you mean by Android-isms - the core logic stays the same, the part that is different is "just" how images are written to.
I made this because I wanted to use it in a project myself, so I'd like this merged sooner rather than later - but that's easy for me to say because I won't be the one having to deal with the breaking changes that come with this PR. Until we have a better-performing placing algorithm, people will only see the negative of the breaking changes without the positive of usable Android compatibility.
Whatever things you bring up in review I will implement of course, but other than that everything in scope for this PR is done as far as I can tell. The only thing different for Android right now is that logging is still missing, but I don't think the way SLF4J works will allow to fix this.
So, I would personally like to merge it, because it makes things easier for me - but I would also understand if you'd rather not deal with the breaking changes until the Android compatibility becomes usable.

Yeah that makes sense.
So to be clear, the poor placement performance only affects android right? None of the change you made degrade performance for kumo-core as it stands?

On desktop there is a slight performance impact, I'm guessing due to the usage of reflection. The biggest difference I measured was from PolarWordCloudITest, which took 6.5 seconds longer (30s vs 23.5s).
The performance problems that are so problematic on Android aren't present on desktop.


After some number of requests, the sever prints 'incomplete body'.

server.py
from japronto import Application
from japronto.request import HttpRequest

def hello(request: HttpRequest):
    r = request
    # print(r.body)
    body = r.body
    return r.Response(text=body)

app = Application()
app.router.add_route('/ping', hello)
app.run(debug=True, port=5000)

client.py
import asyncio
import time

import aiohttp
NPARALLEL = 1000
aiohttp.TCPConnector(limit=1000)  # 480 requests with 1 connection, adding more not helping

async def fetch(session, i):
    # print(f"{i}")
    async with session.post("http://<IP_ADDRESS>:5000/ping", data=f"MSG {i}") as response:
        result = response
        # print(result)
        assert result.status==200
        data = await(result.content.read())
        # print(data.decode())

async def fetch_all(loop):
    async with aiohttp.ClientSession(loop=loop) as session:
        tstart = time.time()
        # 200 requests per second
        results = await asyncio.gather(*[fetch(session, i)
                                         for i in range(NPARALLEL)],
                                       # return_exceptions=True
                                       )
        dur = time.time()-tstart
        print(f"Dur: {dur}s   {NPARALLEL/dur}/sec")

if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    # urls = url_list
    loop.run_until_complete(fetch_all(loop))

Gives:
Traceback (most recent call last):
  File "/home/sir/ailive/livebetter/phy_nlp/phy_nlp/server/japronto_server.py", line 9, in hello
    return r.Response(text=body)
TypeError: bad argument type for built-in operation
Fatal error on transport TCPTransport
protocol: <cprotocol.Protocol object at 0x263f440>
transport: <TCPTransport closed=False reading=False 0x2641090>
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 829, in uvloop.loop.__uv_stream_on_read_impl
  File "/home/sir/venv/p37_default/lib/python3.7/site-packages/japronto/app/__init__.py", line 104, in error_handler
    return self.default_error_handler(request, exception)
  File "/home/sir/venv/p37_default/lib/python3.7/site-packages/japronto/app/__init__.py", line 86, in default_error_handler
    text=tb if self._debug else 'Internal Server Error')
RuntimeError: Request.Response can only be called once per request
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body
incomplete_body

Probably related to: https://github.com/squeaky-pl/japronto/issues/6

text expect a string not byte. So Request.Response can't return. u can use r.text  instead of r.body.


Bug: SurfacePro Monitor Wake/Sleep

Please make sure your bug isn't already listed on HASS.Agent's issue tracker:
https://lab02research.youtrack.cloud/
There's a list of open bugs & features on the right. On the left you can see what's being worked on, what's planned and what's ready for the next release.
If you're not sure, don't worry, just go ahead and we'll discuss :)

Describe the bug
I'm trying to use a SurfacePro 5 as a tablet display for Home Assistant.  The plan is to use a motion sensor to turn the display off if no one is in the room and then turn it back on If someone is.   I've previously tried IOT Link to get this to work and now with HASS.Agent.   For now I've just configured the Monitor Wake and Sleep as simple buttons on my dashboard.   The Sleep Monitor works flawlessly, but Monitor wake does not (sometimes it does seem to work, but then stops)
Is there something stopping this from working on a touch screen, or am I missing something in the configuration.
To Reproduce
Steps to reproduce the behavior:

Get HA to send a Monitor Sleep command
Get HA to send a Monitor Wake command

Expected behavior
Monitor should wake up
Misc info (please complete the following information):

Windows build (ideally screenshot/info of winver.exe output): Windows 10 22H2 (Build 19045.2846)
Windows' UI language: English
HASS.Agent version: 2022.14.0

Please check what's applicable (multiple answers possible):

[x] Installed via installer
[ ] Installed manually
[x] Problem occurs in HASS.Agent
[ ] Problem occurs in Satellite Service

Additional context
Add any other context about the problem here.
Logs
If possible, please provide the logs of HASS.Agent and - if applicable - the Satellite Service. You can find HASS.Agent's logs by going to the main window, then Configuration -> Logging -> open logs folder. The Satellite Service's logs are in the same window, but the Satellite Service tab -> open service logs folder. If you want, you can mail them to<EMAIL_ADDRESS>

I have a lenovo thinkpad 10 (tablet'ish thing) and I'm experiencing the same issue.
To be exact both wake and "windows" key commands wake the screen but only when it's turned off due to the timeout, if I use the monitor off command they don't work.
Does attaching a keyboard change anything for you?

Workaround at least for now, use the "MultipleKeys" command with "[{F16}]" (largest F key supported by SendKeys according to https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys?view=windowsdesktop-7.0) as a wake command.
I've tested it with USB Bluetooth keyboard & mouse attached and detached and looks to be working.

Looking into this with my Surface Pro 4, it looks like when the Monitor Sleep command executes the HASS agent goes offline, I'd assume as a result of some power saving mode.
Will need to look into that a bit more.

I did some more digging and it looks like that when the Monitor Sleep command executes and does the Windows API call, it's putting the system into a different "sleep state" compared to what happens if the screen was to just idle out (when your power config says "turn off screen after N minutes").
You can see the difference in the Event Viewer logs, one has the command SC_MONITORPOWER as the reason, the other has Idle timeout. I've not been able to find a way to simulate the Idle timeout command though (and that's the only thing I could see different between the two log events).
The solution I've got is to call powercfg and modify the idle timeout on the fly. I have an occupancy sensor and when occupancy is detected I set the idle timeout to 0, disabling it, and then when occupancy is not detected for a period of time (I do a 5 minute buffer) I then enable idle timeout with a value of 1, so the screen sleeps.
Also when I detect occupancy I issue a Monitor Wake command (I simulate F16, but the standard one should work) to wake the screen up and you'd never know.

@aaronpowell Can you be specific with the powercfg command you are using please?
I've tried powercfg -SETACVALUEINDEX SCHEME_BALANCED SUB_VIDEO VIDEOIDLE 1
I was expecting it to make the monitor sleep after a second, but it doesn't do anything.

The value is in minutes, not seconds (see https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options#change-or-x) so the fastest is a 1 minute timeout.
powercfg /change monitor-sleep-ac 1 is how I set the 1 minute timeout powercfg /change monitor-sleep-ac 0 is how to disable timeout completely.
I cover it more in this blog post

Thanks for the information.
monitor-sleep-ac doesn't seem to exist on Windows 10, but there is monitor-timeout-ac which I think is the same. It does make it sleep after 1 minute, however, Hass.Agent still won't wake the monitor :(

Sorry, I've only tested on Windows 11.

I'm using Win 10 on my Surface Pro 5, with the HASS agent installed. I've tried the same with the powercfg /change /monitor-timeout-ac 1 CustomCommand, which works fine to turn the screen 'off' after 1 minute of inactivity. Initially the entities within HA for the commands are still available for some time afterwards, but at some point, they just become 'unavailable' and so the CustomCommand to disable the screen timeout can no longer be executed.


Fix build failures on RTEMS

There are two issues that cause a build failure when using a recent RTEMS toolchain/library:

{{{MSG_DONTWAIT}}} now //is// defined by the library headers.  This is re-defined in {{{fsw/cfe-core/src/inc/network_includes.h}}} - possibly an older library did not define this?

{{{putchar()}}} is a defined as a macro, but the {{{fsw/cfe-core/unit-test/osprintf_priv.h}}} file has a function prototype for this which conflicts.  This function prototype really should not be here.

Imported from trac issue 79.  Created by jphickey on 2015-07-10T16:49:10, last modified: 2019-03-05T14:57:55

Trac comment by jphickey on 2015-07-10 16:56:16:
Pushed commit [changeset:33e7b99] which addresses these issues.

Trac comment by jphickey on 2015-07-15 13:57:03:
== REBASED COMMIT ==
This has been rebased to the {{{development}}} baseline approved at the 2015-07-14 CCB
New commit ID: [changeset:8f15bc7]

Trac comment by sstrege on 2015-07-24 17:11:32:
Approve

Trac comment by glimes on 2015-07-27 12:53:53:
Approve.
''Even without having an RTEMS build environment handy, I can confirm that
it is generally very bad practice to plant an extern declaration for any
standard function -- putchar() and getchar() especially as these are
historically implemented using macros.''

Trac comment by glimes on 2015-07-28 10:55:33:
Really not a fan of #ifdef.
Any way to tuck this into a header in an RTEMS specific directory,
so that code that is not specific to RTEMS never has to care that
we have to jump through extra hoops on RTEMS to use a standard facility?

Trac comment by sduran on 2015-07-27 17:49:18:
Approve, but that putchar() should have had a #ifdef CFE_ARINC653 around it.  It needs to be there for building for ARINC653 (which does not have a put char).  Need to add back with the #ifdef.

Trac comment by glimes on 2015-08-10 16:38:07:
Approve [changeset:8f15bc7] (remove spurious putchar() prototype
and only define MSG_DONTWAIT if it is not already defined).

Trac comment by jphickey on 2015-07-28 12:24:42:
To clarify - it is not RTEMS that requires special hoops, it is ARINC653.  RTEMS has an implementation of the standard putchar() function so there is no issue with this platform.  It is special sauce that was added to support ARINC653 that is //breaking// the build for any other C library that happens to implement putchar as a macro - RTEMS being the first/prime example, but this is quite common for I/O primitives to be macros in lightweight C libraries.
In doing this change, I grepped through the code, and the only place putchar() was being called was in the osprintf.c and ut_osprintf_stubs.c inside the OS_OutputSingleChar() function.
Here is what I found:

Although named as a "stub", ut_osprintf_stubs.c is basically a copy of osprintf.c that still has full functionality.  There are some differences between the files for some reason (don't know the history here).
The calls to putchar() within the implementation is //also// conditional on #ifdef OSP_ARINC653_CFE, and when this is defined TUTF_putchar() is called instead of putchar().
Both the ut and non-ut versions of this osprintf implementation have the override to call TUTF_putchar() instead of putchar().  As best I can tell, if OSP_ARINC653_CFE is defined, then only TUTF_putchar() is ever used - putchar() is NOT used, even if using the embedded printf code on ARINC653.
Nowhere else in the source tree is putchar() //or// TUTF_putchar() ever actually implemented.  So this cannot possibly link on ARINC653 using the source code that exists within the CFE distribution today.  Is there something else missing here?

To summarize:

I am just failing to see a real problem here - the one platform that supposedly needs the putchar() prototype is actually using TUTF_putchar() in both cases, unless there is other code out there that is not yet in the official source tree?
Other issues/problems with the embedded osprintf code aside, the preferred approach would be to call it something //other than putchar()// so as to not conflict in case the C library actually does supply this function/macro (the vast majority of them will, as it is standardized).

This way the ARINC653 BSP can implement this function and not have any conflicts.
Other platform BSPs that //do// have stdio but for some reason also want to use the embedded printf can just supply a wrapper which calls the supplied putchar() (although I'm still confused as to why one would want this, you could do it).

Trac comment by glimes on 2015-08-25 14:57:17:
merged into ic-2015-08-10
promoted to development 25 Aug 2015

Trac comment by glimes on 2016-02-16 13:16:45:
Susie confirmed these tickets have been approved for CFE 6.5

Trac comment by jhageman on 2019-03-05 14:57:55:
Milestone renamed


Adaptor does not implement the hijacker on ResponseWriter

ResponseWriter does not implement http.Hijacker
More info: github.com/gorilla/websocket/issues/640

I would love this feature as well, I'm porting a codebase to fiber and do not want to reimplement all the websocket part for the moment.

netHTTPResponseWriter is very simple and does not implement http.Hijacker.
I think it's better to open an issue in fasthttp.
It's highly recommended to avoid using adaptor.

@arsmn why is it recommended to avoid adaptor? And by whom?

Because of performance, by converting to the standard net http request or response, the allocations that fasthttp avoids are used.

This should be opened here: https://github.com/valyala/fasthttp/issues


Cannot compile Gatekeeper - Not reading

Have cloned the current version of Germinate onto our server. Tried to compile using ant, but received the following message:
`gwtc:
[java] Loading inherited module '${project.root}'
[java]    [ERROR] Invalid module name: '${project.root}'
BUILD FAILED
<path..to>/germinate-gatekeeper/build.xml:52: Java returned: 1`
Need to modify the build.xml file and change <property file="build-dev.properties"/> to <property file="build.properties"/>

Yes, we're aware of this. It's due to the fact, that the build.properties need to be checked in to Github, but we're locally using build-dev.properties when building. Since build.properties never changes and we don't want to commit our local copies, but build.xml changes quite frequently it's the most convenient way for us to handle this situation.
If we were to point build.xml at build.properties, we'd have to change it every time locally before we commit to Github to make sure it works.
It's not ideal, but we haven't found a better solution yet.

The same is true for config.properties, i.e. config-dev.properties.

Just did some research and the way we do it is actually one of the recommended ways of doing it (just the other way around).
https://gist.github.com/canton7/1423106
We'll probably keep doing it this way, but try and make it clearer that files need to be renamed before Germinate and Gatekeeper can be built.


Add GPU Utilization to nd4j metrics

Issue Description
For metrics, we need the utilization.
Please describe your issue, along with:

expected behavior
encountered behavior

Version Information
Please indicate relevant versions, including, if relevant:

Deeplearning4j version
platform information (OS, etc)
CUDA version, if used
NVIDIA driver version, if in use

Contributing
If you'd like to help us fix the issue by contributing some code, but would
like guidance or help in doing so, please mention it!

I've mapped the NVML module with the JavaCPP Presets for CUDA, available only in version 9.1-7.1-1.4.2-SNAPSHOT, for now: https://github.com/bytedeco/javacpp-presets/commit/ff0a2a9182df9f959e360f9337e28fb9758b0ac6

So, should i discard my libnd4j branch then?


Raise 'processor' block also in case getting image cache

It would be nice if processor block would also get called on pulling image from cache using methods
pin_setImageFromURL:processorKey:processor:, etc.
Image preprocessing block is great thing and would be cool if that can be applied for cached images.
Thanks in advance!

@DmitryBulaienko the block doesn't get called because the image pulled from the cache will have already been processed. If it has to go through the processing block again you don't get the benefit of caching :)


'Model' object has no attribute '_ctx'

I tried running the tutorial code at readme.md, I have installed the pyllamacpp module.
from pyllamacpp.model import Model

def new_text_callback(text: str):
    print(text, end="")

if __name__ == "__main__":
  prompt = "Once upon a time, "
  model = Model(ggml_model='chat/gpt4all-model.bin', n_ctx=512)
  model.generate(prompt, n_predict=55, new_text_callback=new_text_callback, n_threads=8)

The traceback
Traceback (most recent call last):   File "...\gpt4\llama.py", line 9, in <module>     model = Model(ggml_model='chat/gpt4all-model.bin', _ctx=512)   File "C:\Users\...\Python310\lib\site-packages\pyllamacpp\model.py", line 53, in __init__     raise Exception(f"File {ggml_model} not found!") Exception: File chat/gpt4all-model.bin not found! Exception ignored in: <function Model.__del__ at 0x00000257AED04280> Traceback (most recent call last):   File "C:\Users\...\Python310\lib\site-packages\pyllamacpp\model.py", line 136, in __del__     pp.llama_free(self._ctx) AttributeError: 'Model' object has no attribute '_ctx'

My bad, i passed a wrong ggml path


Evaluate rules against object (Ruby)

Hi,
I'm working with custom objects in Ruby and I need to evaluate against some of the object properties in order to fire the rules, but the rules don't fire.
Let's say we have this Ruby class:
class TestClass
  def initialize(number_value = 0, boolean_value = false, string_value = '', array_value = [])
    @number_value = number_value
    @boolean_value = boolean_value
    @string_value = string_value
    @array_value = array_value
  end
  attr_accessor :number_value, :boolean_value, :string_value, :array_value
end

And we want to execute this flow:
Durable.flowchart :flow do
  stage :input
  to :init, when_all(m.subject.matches('.*'))

  stage :init do
    puts 'init'
    obj = Oj.load(m.subject.delete('\\'))
    obj.boolean_value = true
    s.subject = obj
  end
  to :second_step, when_all(s.subject.boolean_value == true)

  stage :second_step do
    puts 'second step'
  end

  when_start do
    post :flow, {:id => 1, :sid => 1, :subject => create_objects}
  end

end

def create_objects
  obj = TestClass.new(1,false,'object 1', ['array1','array2'])
  parsed_json = Oj.dump(obj)
  puts parsed_json
  parsed_json
end

Durable.run_all

If I debug this execution, the value of s.subject at the end of  :init is in fact the object with boolean_value = true, but :second_step is never executed.
Is there a way to execute this flow or the value to be evaluated should be in the s variable like s.boolean_value = true?
Thanks.

Hi, thanks for posting the question. Let me debug the scenario and I will report back.
Sent from my iPhone
On Feb 28, 2017, at 7:11 AM, Juan Luna <notifications<EMAIL_ADDRESS>wrote:
Hi,
I'm working with custom objects in Ruby and I need to evaluate against some of the object properties in order to fire the rules, but the rules don't fire.
Let's say we have this Ruby class:
class TestClass
def initialize(number_value = 0, boolean_value = false, string_value = '', array_value = [])
@number_value = number_value
@boolean_value = boolean_value
@string_value = string_value
@array_value = array_value
end
attr_accessor :number_value, :boolean_value, :string_value, :array_value
end
And we want to execute this flow:
Durable.flowchart :flow do
stage :input
to :init, when_all(m.subject.matches('.*'))
stage :init do
puts 'init'
obj = Oj.load(m.subject.delete('\'))
obj.boolean_value = true
s.subject = obj
end
to :second_step, when_all(s.subject.boolean_value == true)
stage :second_step do
puts 'second step'
end
when_start do
post :flow, {:id => 1, :sid => 1, :subject => create_objects}
end
end
def create_objects
obj = TestClass.new(1,false,'object 1', ['array1','array2'])
parsed_json = Oj.dump(obj)
puts parsed_json
parsed_json
end
Durable.run_all
If I debug this execution, the value of s.subject at the end of :init is in fact the object with boolean_value = true, but :second_step is never executed.
Is there a way to execute this flow or the value to be evaluated should be in the s variable like s.boolean_value = true?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jruizgit/rules/issues/65, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADpINApxZzWc2OZKFQhlAm4bbDZ0Wy3Mks5rhDkngaJpZM4MOg4I.

Hi, I took a quick look at the scenario. The object created by Oj.load cannot be serialized by the ruby json libray JSON.generate() used by durable_rules. The object generated looks like: "{\"sid\":1,\"running\":true,\"subject\":\"#<TestClass:0x007f828d116b58>\"}"
To illustrate the point. This flow works as expected:
Durable.flowchart :flow do
  stage :input
  to :init, when_all(m.subject.matches('.*'))

  stage :init do
    puts 'init'
    s.subject = { 'boolean_value' => true }
  end
  to :second_step, when_all(s.subject.boolean_value == true)

  stage :second_step do
    puts 'second step'
  end

  when_start do
    post :flow, {:id => 1, :sid => 1, :subject => "test"}
  end

end


Systemmodule in Instanzeinstellungen not shown from second inverter

Describe the bug
Untermodule from second Inverter not shown and selectable
To Reproduce
Steps to reproduce the behavior:

Go to 'Instanzeinstellungen: solarmanpv.0v0.4.2'
Click on 'Systemmodule'
See error

Versions:

Adapter version: <v0.4.2>
Node version: <v16.18.1>

Problem is fixed in Version 0.4.3


concurrent view of drawings not updated

Describe the Bug
No response
Steps to Reproduce the Problem

open two windows showing the same map in permaplant
create a drawing, move a drawing etc...

Expected Result
that the drawing is created or moved (like it is for plants)
Actual Result
only the person drawing sees the drawing
PermaplanT version
master
Operating System
Linux
Browser
Firefox and Chromium side by side
Versions of other relevant software/extensions
No response
Additional info/logs
@hatchla should update the tutorial how to create layers, so that this functionality also works
@Bushuo it is also broken for area of plants

@markus2330 on https://dev.permaplant.net/ it is working for me: when i draw in my chrome browser i immediately see the changes also in firefox.
i also testet it with @horenso before creating the PR and there it also worked for us.

I also cannot reproduce it anymore, also area of plants work nicely.
Weird is that updating of individual plants worked and only drawing/area of plants stopped working. So the problem cannot've been the Internet connection?
I close it for now unless I find steps to reproduce from an empty map.


docker build images error

How is Anse deployed?
Node
Describe the bug
git clone  https://github.com/anse-app/chatgpt-demo.git
cd chatgpt-demo
docker build -t chatgpt-demo-image .
Console Logs
[+] Building 10.2s (11/15)
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 479B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 137B                                                                                0.0s
=> [internal] load metadata for docker.io/library/node:alpine                                                                                1.7s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 4.38kB                                                                                0.0s
=> [builder 1/7] FROM docker.io/library/node:alpine@sha256:d75175d449921d06250afd87d51f39a74fc174789fa3c50eba0d3b18369cc749                                                                                0.0s
=> CACHED [builder 2/7] WORKDIR /usr/src                                                                                0.0s
=> CACHED [builder 3/7] RUN npm install -g pnpm                                                                                0.0s
=> CACHED [builder 4/7] COPY package.json pnpm-lock.yaml ./                                                                                0.0s
=> CACHED [builder 5/7] RUN pnpm install                                                                                0.0s
=> CACHED [builder 6/7] COPY . .                                                                                0.0s
=> ERROR [builder 7/7] RUN pnpm run build                                                                                8.5s

[builder 7/7] RUN pnpm run build:
#0 0.813
#0 0.813 ><EMAIL_ADDRESS>build /usr/src
#0 0.813 > astro build
#0 0.813
#0 3.248 07:31:12 AM [content] No content directory found. Skipping type generation.
#0 3.249 07:31:12 AM [build] output target: server
#0 3.250 07:31:12 AM [build] deploy adapter: @astrojs/node
#0 3.250 07:31:12 AM [build] Collecting build info...
#0 3.251 07:31:12 AM [build] Completed in 697ms.
#0 3.252 07:31:12 AM [build] Building server entrypoints...
#0 7.903 [vite-plugin-pwa:build] [vite]: Rollup failed to resolve import<EMAIL_ADDRESS>from "astro:scripts/page-ssr.js".
#0 7.903 This is most likely unintended because it can break your application at runtime.
#0 7.903 If you do want to externalize this module explicitly add it to
#0 7.903 build.rollupOptions.external
#0 8.375  error   [vite]: Rollup failed to resolve import<EMAIL_ADDRESS>from "astro:scripts/page-ssr.js".
#0 8.375   This is most likely unintended because it can break your application at runtime.
#0 8.375   If you do want to externalize this module explicitly add it to
#0 8.375   build.rollupOptions.external
#0 8.375   File:
#0 8.375     /usr/src/node_modules/.pnpm/vite@4.3.9/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46597:23
#0 8.375   Code:
#0 8.375     46596 |             if (!id || !/?commonjs-external$/.test(id)) {
#0 8.375     > 46597 |                 throw new Error([vite]: Rollup failed to resolve import "${exporter}" from "${id}".\n +
#0 8.375             |                       ^
#0 8.375       46598 |                     This is most likely unintended because it can break your application at runtime.\n +
#0 8.375       46599 |                     If you do want to externalize this module explicitly add it to\n +
#0 8.375       46600 |                     \build.rollupOptions.external`); #0 8.375   Stacktrace: #0 8.375 Error: [vite]: Rollup failed to resolve import<EMAIL_ADDRESS>from "astro:scripts/page-ssr.js". #0 8.375 This is most likely unintended because it can break your application at runtime. #0 8.375 If you do want to externalize this module explicitly add it to #0 8.375 build.rollupOptions.external`
#0 8.375     at viteWarn (file:///usr/src/node_modules/.pnpm/vite@4.3.9/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46597:23)
#0 8.375     at onRollupWarning (file:///usr/src/node_modules/.pnpm/vite@4.3.9/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46621:9)
#0 8.375     at onwarn (file:///usr/src/node_modules/.pnpm/vite@4.3.9/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46368:13)
#0 8.375     at file:///usr/src/node_modules/.pnpm/rollup@3.25.1/node_modules/rollup/dist/es/shared/node-entry.js:23639:13
#0 8.375     at Object.logger [as onLog] (file:///usr/src/node_modules/.pnpm/rollup@3.25.1/node_modules/rollup/dist/es/shared/node-entry.js:25305:9)
#0 8.375     at ModuleLoader.handleInvalidResolvedId (file:///usr/src/node_modules/.pnpm/rollup@3.25.1/node_modules/rollup/dist/es/shared/node-entry.js:24221:26)
#0 8.375     at file:///usr/src/node_modules/.pnpm/rollup@3.25.1/node_modules/rollup/dist/es/shared/node-entry.js:24181:26
#0 8.375
#0 8.396  ELIFECYCLE  Command failed with exit code 1.

Dockerfile:7
5 |     RUN pnpm install
6 |     COPY . .
7 | >>> RUN pnpm run build
8 |
9 |     FROM node:alpine
ERROR: failed to solve: process "/bin/sh -c pnpm run build" did not complete successfully: exit code: 1
Participation

[ ] I am willing to submit a pull request for this issue.

I'm having the same problem. It seem like maybe something to do with the use of pnpm, because when I replace all of the RUN pnpm install and RUN pnpm run build lines in the Dockerfile with RUN npm install and RUN npm run build then the image builds fine.


mfrc522 and rdm6300 not reading

hi there,
im using nodemcu and rdm6300+mfrc522, wired according to esp-rfid Access Control  1.3.1 and 1.0.2. but none of my reader reads rfid cards. cant add user. can anyone help?

here is the config file im using.
{
"command": "configfile",
"network": {
"bssid": "28:D1:27:4C:56:39",
"ssid": "N@H!D",
"wmode": 0,
"hide": 0,
"pswd": "Password321",
"offtime": 0,
"dhcp": 1,
"ip": "",
"subnet": "",
"gateway": "",
"dns": "",
"apip": "<IP_ADDRESS>",
"apsubnet": "<IP_ADDRESS>"
},
"hardware": {
"readertype": 4,
"wgd0pin": 4,
"wgd1pin": 5,
"sspin": 0,
"rfidgain": 32,
"wifipin": 255,
"rtype": 1,
"ltype": 0,
"rpin": 4,
"rtime": 400,
"buttonpin": 255,
"doorstatpin": null,
"openlockpin": null
},
"general": {
"hostnm": "esp-rfid",
"restart": 0,
"pswd": "admin"
},
"mqtt": {
"enabled": 0,
"host": "",
"port": 1883,
"topic": "",
"user": "",
"pswd": "",
"syncrate": 180,
"mqttlog": 0
},
"ntp": {
"server": "pool.ntp.org",
"interval": 30,
"timezone": 0
}
}

double-check the connections, if you can't select a reader from the hardware settings there must be a problem with the wiring

same for me, i can't add user

hey @nightmarebd and @Flo2830 are you using the dev branch? If you are still interested, please try that and use the debug mode so that on the serial port you'll see much more info and I can try helping you :) Good luck!

Looks like this new issue is the same: https://github.com/esprfid/esp-rfid/issues/587
I'm closing this one as I might get more feedback from the newer issue, but if someone here is still interested, please let me know.


⚠ Samsung has degraded performance

In b7dd7eb, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2633 ms

Resolved: Samsung performance has improved in 5580917.


Nav bar disappears when zoomed in (Chrome)

Test device
MacBook Air m1 chip
Operating System
13.0.1
Browser
Chrome 107.0.5304.121
Problem description
For https://github.com/phetsims/qa/issues/858, when zoomed in, if I exit a dialog using either the Esc or Return key, the nav bar is missing. Once I move the mouse or press Tab, it reappears.
I see this issue with published GO as well. I wasn't able to reproduce this with Safari or with other sims that have keyboard nav (published GFLB or Ratio and Proportion).  @KatieWoe was also able to reproduce with Win11 + chrome.
Steps to reproduce

On either screen, zoom in a bit
Tab to and open the Preferences dialog
Press Esc
It may be necessary to open the dialog again and press escape again).

This is also seen with the keyboard shortcuts dialog, and in the PhET menu--when exiting the Check for Updates or About dialogs.
Visuals
https://user-images.githubusercontent.com/87318828/204361016-77e6e5d5-bbb9-452f-af5b-6ce78d4bbb7e.mp4

Troubleshooting information:
!!!!! DO NOT EDIT !!!!!
Name: Geometric Optics: Basics
URL: https://phet-dev.colorado.edu/html/geometric-optics-basics/1.2.0-rc.1/phet/geometric-optics-basics_all_phet.html
Version: 1.2.0-rc.1 2022-11-18 16:30:43 UTC
Features missing: applicationcache, applicationcache, touch
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Language: en-US
Window: 1476x781
Pixel Ratio: 1.7999999523162842/1
WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)
GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 31 uniform: 1024
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 16384x16384
OES_texture_float: true
Dependencies JSON: {}

Another data point, I am seeing this in energy-skate-park. Like https://github.com/phetsims/scenery/issues/1507#issuecomment-1331484021, it makes use of preventFit.

@jonathanolson - Let's prioritize this scenery issue for after you finish the "file size reduction" common work. I don't want to block publication for this bug, but let's see if we can address it next iteration (or late this iteration JO if the file size stuff wraps up earlier).  (FYI - @brent-phet @marlitas)

I added an emergent task in Monday to track this. It's assigned to @jonathanolson and put it on for next iteration.

Noting that I see this issue with Area Model Algebra (https://github.com/phetsims/qa/issues/1041) and Area Model Multiplication (https://github.com/phetsims/qa/issues/1042).

@jessegreenberg noted https://github.com/phetsims/projectile-data-lab/issues/237 might be related.
Somehow there were no tasks for this current iteration for this, I've added it to my current goals as emergent (sorry about it falling off the radar).

Reproducing only in Chrome (on macOS), and only with SVG (on main).
Also can cause issues like the following:

Problematic in Chrome Canary (no fix coming soon), and it indeed seems like a browser bug (adjusting a color within the SVG element causes it to appear, looks like a repaint issue).

I think I've figured out a decent workaround above. It forces SVG refreshes while panning/zooming on Chrome (or other Chromium-based browsers).
@Nancy-Salpepi can you see if this is fixed on main for you?

Looks better on main to me.

Looks great to me!!

Thanks! Closing.


Test: Batch run

Testing a batch size of 2, 4 files total
CorrelationId: a18817b0-0ed9-49c6-8593-f8d1cdda9119
#docutune

#docutune-review


Getting following google API issue with Chrome-116.0.5845.97 and Selenium 4.11.0 which is blocking browser launch

Today i have updated the chrome version to latest i.e 116.0.5845.97  and i'm using selenium 4.11.0  when i'm trying
to launch the Chrome browser i'm getting following issue.

Error Logs for your reference:
←[m13:59:45,961 ERROR [HttpClient] Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116
13:59:45,961 WARN  [VersionDetector] Exception reading https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116 to get latest version of chromedriver (Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_116)
←[37;41m2023-08-16 14:00:00,877 [ERROR] Failed to publish message com.smartbear.events.UpdateNavigatorTreeMessage@3b7fb962 to listener method com.smartbear.ready.ui.project.ServiceVModulePanel.handleUpdateModuleTreeMessage
←[m java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.engio.mbassy.dispatch.ReflectiveHandlerInvocation.invokeHandler(ReflectiveHandlerInvocation.java:23) [mbassador-1.1.10.jar:?]
at net.engio.mbassy.dispatch.ReflectiveHandlerInvocation.invoke(ReflectiveHandlerInvocation.java:49) [mbassador-1.1.10.jar:?]
==============================================================================
2.   Selenium is started using below command to make use of Selenium Manager
java -jar selenium-server-4.11.0.jar standalone -p 4450 --session-timeout 620 --selenium-manager true
==============================================================================

As i hit this below url i'm getting Latest available version as 114 only:

https://chromedriver.storage.googleapis.com/LATEST_RELEASE

==============================================================================

Also i can see selenium manager has downloaded required chrome driver in .cache, please refer below image

Waiting for your response as we are blocked because of this issue

Similar problem here:
the problem seems to be the resolution when the code is trying to find the LATEST version of Chromedriver. The workaround / patch to resolve this is to explicit define the version of chromedriver.
The change in our case is something like this:
wget -q https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/linux64/chromedriver-linux64.zip -O /tmp/chromedriver.zip

unzip
grant the permissions to execute in your code and call explicit this new download chromedriver
this is only a workaround so we are still waiting the solution with the LATEST for the chrome browser + chrome driver

You should report this to the Selenium project, this does not seem to be a CfT bug.

@diemol , ok i'll raise this issue with selenium project and update here. Thanks for your quick reply


Event interactive Right and Left click simultaneous

Expected Behavior
when hold click left , the right click are emit.
Current Behavior
when hold click left , the right click are not emit.
Steps to Reproduce
1: Try hold click Left.
2: keep holding
3: and try also use Right click for cancel.
But if you try holding right and left click and release simultaneous it seem work ! ?
example
https://pixiplayground.com/#/edit/msMqGwsa9XKkWSGgTG760
this issue can also maybe related ?
https://github.com/pixijs/pixi.js/issues/4048
Environment

pixi.js version: 4.8.2
Browser & Version: chromium: "70.0.3538.102"  nw: "0.34.3"
OS & Version: _e.g. win10

Hi @djmisterjon !
So I finally got to have a look at this. And once again, it's because the pointer event spec sucks, and doesn't send an extra 'down' if multiple buttons are pressed. I know you're looking at 'mousedown', but in Pixi, if the pointer event is available, we'll just re-use that rather than listening to pointerdown, mousedown AND touchstart.
A solution to that can be found: https://pixiplayground.com/#/edit/xtIWbq1wXXcMK5s02~JHG
Near the top, I've done
const interactionDOMElement = app.renderer.plugins.interaction.interactionDOMElement;
app.renderer.plugins.interaction.removeEvents();
app.renderer.plugins.interaction.supportsPointerEvents = false;
app.renderer.plugins.interaction.setTargetElement(interactionDOMElement);

So we force against using pointer events altogether, which means the mouse listener events will get sent on simultaneous presses.
I don't know what to do about this for v5. I think I'm leaning towards making using native pointer events optional. Then users can weigh the advantages / disadvantages themselves.

Advantages of using native pointer events: you get accurate extra data as defined in https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent
Disadvantages of using native pointer events: you lose some control over simultaneous left & right clicks

I doubt it does, but is a pointermove event sent on a second button press
with and updated buttons property?
On Sun, Apr 21, 2019, 7:04 AM Dave Moore<EMAIL_ADDRESS>wrote:

Hi @djmisterjon https://github.com/djmisterjon !
So I finally got to have a look at this. And once again, it's because the
pointer event spec sucks, and doesn't send an extra 'down' if multiple
buttons are pressed. I know you're looking at 'mousedown', but in Pixi, if
the pointer event is available, we'll just re-use that rather than
listening to pointerdown, mousedown AND touchstart.
A solution to that can be found:
https://pixiplayground.com/#/edit/xtIWbq1wXXcMK5s02~JHG
Near the top, I've done
const interactionDOMElement = app.renderer.plugins.interaction.interactionDOMElement;
app.renderer.plugins.interaction.removeEvents();
app.renderer.plugins.interaction.supportsPointerEvents = false;
app.renderer.plugins.interaction.setTargetElement(interactionDOMElement);
So we force against using pointer events altogether, which means the mouse
listener events will get sent on simultaneous presses.
I don't know what to do about this for v5. I think I'm leaning towards
making using native pointer events optional. Then users can weigh the
advantages / disadvantages themselves.

Advantages of using native pointer events: you get accurate extra
data as defined in
https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent
Disadvantages of using native pointer events: you lose some control
over simultaneous left & right clicks

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi.js/issues/5384#issuecomment-485243003,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAN3N53UENGQPAKDNW267XLPRRC5DANCNFSM4GSFSVYQ
.

I've actually gone for a solution for v5 that checks the differences in buttons property from one event to the next: https://github.com/pixijs/pixi.js/pull/5605


fix: remove unused config

The code which used the exporters.jmx config was removed in #181.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable)

@daha Can you rebase and update the chart versions? Thanks

@darnaut  I have now rebased and updated chart versions.


Support old versions of microhttpd (<0.9.43)

This change makes Syndicate compilable with older versions of microhttpd.
It simply redefines the 64bit operation we use and redirects to an old function.

Thanks!


[ICON]

Icon Request

Icon name: All icons of computer companies. For example Samsung, Xiaomi, LG, Baseus, Logitec, Amazon, Huawei etc.
Use case: Web Site
Screenshots of similar icons: ....

We need a request for each icon.


docs($compileProvider): document 'require' in angular.Component

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
jsdoc update
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Docs have been added / updated (for bug fixes / features)

Note: I was unable to build the doc to test that it works, because the build appears to already be broken:
$ grunt package --verbose
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
<...snip.../>
Running "docs" task
[14:08:13] Working directory changed to ~/angular/angular.js/docs
[14:08:14] Using gulpfile ~/angular/angular.js/docs/gulpfile.js
[14:08:14] Starting 'bower'...
[14:08:14] Starting 'build-app'...
[14:08:14] Finished 'bower' after 372 ms
[14:08:14] Starting 'assets'...
[14:08:15] Starting 'doc-gen'...
error:   Error processing docs:  TypeError: object is not a function
at Function.v.extend.async (/usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/validate.js/validate.js:196:14)
at /usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/lib/Dgeni.js:166:23
at _fulfilled (/usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/q/q.js:796:13)
at /usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/q/q.js:857:14
at runSingle (/usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/q/q.js:137:13)
at flush (/usr/local/google/home/ademuri/angular/angular.js/node_modules/dgeni/node_modules/q/q.js:125:13)
at process._tickCallback (node.js:415:13)
Warning: doc generation failed Use --force to continue.
Aborted due to warnings.

Changed to use '=' instead of '|undefined'.
Use 'Object' since 'object' isn't a real Closure type.

Yeah, casing was not my point. I thought both work (I used object for consistency).
In any case, Object is not the only permitted type. It can also be either a string or an Array.

I don't think it makes sense to pass a string or array here. For a directive, those are used to specify controllers that get injected into the link function. For a component, there is no link function. The object is used to specify a mapping from the required controller to the name that it is bound to on the component's controller.
See https://docs.angularjs.org/guide/component

I thought you could still use a string or Array to specify depenencies (as in: only use this component inside a XYZ directive etc). As it turns out, these restrictions are only enforced if the required controllers are requested (e.g. in a link function or in controllers for require: {}).
Since components can't have a link function, string or Array requires are passed to the DDO, but have no effect, so they are essentially ignored.
LGTM then :+1:


Fully support RAFS blobs with inlined bootstrap

RAFS metadata/bootstrap can be inlined into RAFS data blobs with nydus-image create --blob-inline-meta.
So we need update nydus-image and nydusd to fully support inlined metadata.
This PR enhances following components to support inlined metadata:

nydus-image create --blob-inline-meta --features blob-toc
nydus-image create --parent-bootstrap
nydus-image create --chunk-dict
nydus-image check
nydus-image inspect
nydus-image stat
nydus-image merge
nydusd

There are still several TODOs:

support images generated by nydus-image create --blob-inline-meta without --features blob-toc. Currently it only supports images generated by nydus-image create --blob-inline-meta --features blob-toc
--chunk-dict doesn't work with ZRan images
--blob-id conflicts with ZRan and --blob-inlined-meta

"--chunk-dict doesn't work with ZRan images", this issue has been fixed.

https://github.com/containerd/nydus-snapshotter/blob/main/tests/converter_test.go#L416
Maybe we should ensure the snapshotter converter tests still can pass like:
env NYDUS_NYDUSD=/path/to/nydusd-master \
NYDUS_BUILDER=/path/to/nydus-image-master \
NYDUS_NYDUSD_OLD=/path/to/nydusd-v2.1 \
NYDUS_BUILDER_OLD=/path/to/nydus-image-v2.1 \
go test -v -count=1 -run TestPack ./tests

@loheagn The PR has added --config option for nydus-image, maybe we can implement a new content store proxy backend in https://github.com/dragonflyoss/image-service/pull/974.

@jiangliu Wait to merge until we can pass the converter test: https://github.com/containerd/nydus-snapshotter/blob/main/tests/converter_test.go#L416.

"support images generated by nydus-image create --blob-inline-meta without --features blob-toc", got fixed too.

Let's move forward first.


Is there PCL support?

I would love to try this out (instead of serialising/deserialising my JSON) but not working with my PCL (Xamarin.Forms) project?
Could not install package 'MarcelloDB 0.3.2'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarintvos10+xamarinwatchos10+xamarinios10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Hi Kolchy,
First of all, thank you for checking out MarcelloDB.
Sure sounds like the use-case marcellodb was designed for.
I think the issue might be wp80, you might have better luck using wp81 instead.
Is supporting wp80 a hard requirement for you? If so, I will gladly look into it.
Also: MarcelloDB is not yet production ready, as I have planned a few (performance related) changes that will make future versions incompatible with data files from older versions.

Hi Mark - and thanks for spending the time to build something like MarcelloDB, I think there is a real need for it :) 👍
It seems Xamarin.Forms has a requirement on wp80. I've tried creating a new project and set the project as a wp81, but it still doesn't seem to want add the nuget pkg.
Here is the line from the package.config:
<package id="Xamarin.Forms" version="<IP_ADDRESS>-pre2" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarintvos10+xamarinwatchos10+xamarinios10" />
If you can get it running with XF, I think there will be a lot of great use cases for it :) Was thinking of generating the binary data file on a server for the clients to download. Currently I pull down JSON, serialise it and load it which takes precious time. Not fussed if this isn't prod ready yet, I think the use case is perfect, and I'm more than happy to provide feedback/stats/data back to help you keep improving it :)
Cheers,
Karl

Hi Karl,
Thanks for the thumb :-) I love working on it, although I wish there were more hours in a day :-)
I just released version 0.3.3 on nuget, which should install in you XF PCL library.
Could you confirm if 0.3.3 resolves the issue on your side as well?
I would really appreciate your feedback regarding the server-side generation of the data files. One of the reasons why I decided to support multiple files in a session is exactly for this use case.
Let's use the freshly created google group:
https://groups.google.com/forum/#!forum/marcellodb

AWESOME! Can confirm it now installs, now to test how it performs!

Package version 0.3.3 on nuget seems to be flawed.
It contains version 0.3.1 assemblies, which have a few very annoying issues.
You can't persist objects unless they have an ID property for instance.
It's probably best to wait for 0.3.4 which is coming up one of these days.


test(react): add tests for withErrorBoundary

related with #62
Overview

Introducing tests for the withErrorBoundary ensures that is working as expected and provides the necessary error boundaries for the components it wraps. The withErrorBoundary is designed to catch rendering errors in its child component and display a fallback UI instead of crashing the entire app.
AS-IS

TO-BE

PR Checklist

[x] I have written documents and tests, if needed.

Thanks, We almost code coverage 100%!


Made 'ApiKey' an optional parameter

NuGetApiKey parameter is only added to the $params hash if the ApiKey parameter is used in the function.

Looks good to me, thanks!  Not important here, but fyi Mandatory defaults to false


Update JetBrains.gitignore according to the official knowledge base article

The current JetBrains.gitignore file contains several entries which are suggested to be shared, such as the project .ipr file and the .iml module files, according to the official knowledge base article. This commit fix this issue.

This seems to be a more complete version of #1399

@LazarusX unfortunately this isn't mergeable currently, and the link now requires an account signup to access it :cry: But it looks promising, judging by the documentation. Are you able to update this?
I need to clean up stale pull requests at some stage, and will close this out if I don't hear anything before Friday 26th February.

Hi @shiftkey,
I just resolved the conflicts and this is now mergeable. The documentation is now redirected here and does not require login to access. You can check it out to verify the changes.
Entries such as .idea/sqlDataSources.xml and .idea/dynamic.xml, are not mentioned in the documentation. I tend to leave them in the .gitignore because they look sensitive and I am not 100% sure that they can be shared.

The documentation is now redirected here and does not require login to access.

Great, thanks!

... I tend to leave them in the .gitignore because they look sensitive and I am not 100% sure that they can be shared.

This is fine - with the change to track .idea by default it's good to exclude those known files again.


iOS native resources not released after turning off Scanning and Analyzing in ZXingScannerView

When I set IsScanning and IsAnalyzing to true in OnAppearing of ContentPage that contains a ZXingScannerView I'm getting a video stream from the back camera. Barcode recognition doesn't work (see #967)
When setting IsScanning and IsAnalyzing to false in OnDisappearing and going back to my main page, my phone seems to still be doing a very large amount of work because it's heating up A LOT.
Please investigate this.
Setup:
Xamarin.Forms: <IP_ADDRESS>4
iOS: 14.3
Phone: iPhone 11
VS: 2019
ZXing.Net.Mobile: 3.0.0-beta5

In console I get messages about the start of scanning and about the stop of scanning.

In console I get messages about the start of scanning and about the stop of scanning.

@meJevin can you try version 3.1.0 beta?

@meJevin can you try version 3.1.0 beta?

@knocte, look at #967, we're discussing stuff related to this with @Redth.

@knocte, look at #967, we're discussing stuff related to this with @Redth.


Cannot access /user/settings/account on fresh installation

Description
On fresh installation I am not able to access /user/settings/account page for any user.
Following configuration is passed:
bash-5.1# cat /data/gitea/conf/app.ini
APP_NAME = Gitea: Personal git instance

[server]
APP_DATA_PATH   = /data
SSH_DOMAIN      = <redacted>
PROTOCOL        = http
HTTP_PORT       = 3000
ROOT_URL        = <redacted>
SSH_LISTEN_PORT = 22
SSH_PORT        = 22
ENABLE_PPROF    = false
DOMAIN          = <redacted>

[cache]
ENABLED = false

[database]
HOST    = postgresql.home.svc.cluster.local:5432
PASSWD  =<redacted>
NAME    = <redacted>
USER    = <redacted>
DB_TYPE = postgres
LOG_SQL = true

[repository]
ROOT = /data/git/gitea-repositories

[security]
INSTALL_LOCK   = true
SECRET_KEY     = <redacted>
INTERNAL_TOKEN = <redacted>

[metrics]
ENABLED = false

[oauth2]
JWT_SECRET = <redacted>

[log]
ROUTER   = console
MODE     = console
COLORIZE = false
LEVEL    = debug

Gitea Version
gitea/gitea:1.16.5-linux-arm64
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/zocimek/754c79a1c5f971f0656888517cf839c8
Screenshots
There is a blank page on /user/settings/account page
Git Version
2.30.2
Operating System
gitea/gitea:1.16.5-linux-arm64 docker image
How are you running Gitea?
k3s using helm chart
Database
PostgreSQL

hmm seems like duplicate of #18749


Corrected inbound misspelling.

It's a silly thing, I know, but this PR corrects the inbound misspelling in google_compute_firewall.allow_inbound_api and google_compute_firewall.allow_inbound_health_check.

Thanks for the PR! In https://github.com/hashicorp/terraform-google-consul/pull/13, I confirmed that this is a backwards-compatible change, so merging now!


Set files as default file explorer

Description
hey Files team,
I m here to a problem i  am having with files .Sorry to say, but i want to delete files and remove files as my 'default file explorer' . I want to remove Files as my default file explorer but i go in settings and in experimentel section then when i clickthe option to make it off then a security notification comes to editthe registy i give permission but it donot get off .
thank

s
Steps To Reproduce

Expected behavior

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19044.1415
Windows Version
21H2 (10.0.19044.1415)
Relevant Assets/Logs
i want it solved as soon as posiibale

After uninstalling, I can’t open the folder anymore

@totoro1024 @jashanpreet11 This issue is resolved in main. In the meantime, you can use this script to revert the changes https://raw.githubusercontent.com/files-community/files-community.github.io/main/data/SetFilesAsDefault.zip.


Pareto Envelope-Based Selection Algorithm II (PESA-II)

The current state-of-the-art test case generation approach is DynaMOSA (code), which is based on NSGAII (code). DynaMOSA makes various improvements over NSGAII mostly related to the managing of the objectives and the environmental selection.
We want to investigate if a different base algorithm adapted with the same changes would perform better than the current state-of-the-art approach.
Paper: https://dl.acm.org/doi/10.5555/2955239.2955289
Code: https://github.com/Valdecy/pyMultiobjective

I will work on this algorithm


Require spec_helper with absolute path using File.expand_path

In Ruby 1.8, require recognizes a file with different relative path as different files.
This made spec_helper required twice, then defined shared_context twice, which threw error.
This is fix for failing CI against Ruby 1.8.
I am not familiar with 1.8, is there a better way to resolve this problem?

In Ruby 1.8, require recognizes a file with different relative path as different files.
This made spec_helper required twice, then defined shared_context twice, which threw error.

omg. I didn't know it totally. Is is a popular probrem in rubyist?

I did further research in my blog.
Maybe this resolution is not far from the best way.

Oh I see. Thanks.


Table example

Hi!
I want to start of by saying how easy it was to get up and running with this project!
Searching the examples I could not find out how to setup a Table with data. I tried the using the custom widget example to override draw_cells but the TableContext seems to be missing. (Or I just couldn't find it)
Setting up an example like table-simple might be helpful both for me and for other user.

Hello
You're right. TableContext and draw_cell were missing, I've just added them, and added a table.rs example which is basically a simplified translation of the C++ example.
https://github.com/MoAlyousef/fltk-rs/blob/master/examples/table.rs
The changes are currently in master. I'll publish a newer version after the CI tests pass.

Sweet, thank you!


LCFS - FSE additional fields

Description:
Add new fields to the FSE form (input and display) based on the provided specifications:

kWh usage: Optional number field with 2 decimal places, placed after the date of supply.
Model: Optional text field, placed after "Make."
Ports: Optional select field with options: "Single port" and "Dual port," placed after "Level of equipment."
Intended users: Required multi-select field with options: "Multi-unit residential building," "Fleet," "Public," and "Employee," placed after "Intended use."

Wireframe:
https://preview.uxpin.com/da68049c0af15edd7ce4e47e4bee431fed40c30d#/pages/168742441
Purpose and benefit to user:
This update enhances the FSE form by allowing users to provide more detailed and relevant information. It improves data accuracy and usability, making it easier for stakeholders to gather essential information.
Acceptance Criteria:

[ ] "kWh usage" field should be optional, accepting numbers with up to two decimal places, and should be positioned after the "date of supply" field.
[ ] "Model" field should be an optional text input, placed directly after the "Make" field.
[ ] "Ports" field should be a select field, with options "Single port" and "Dual port," placed after the "Level of equipment" field.
[ ] "Intended users" field should be a required multi-select field, with options "Multi-unit residential building," "Fleet," "Public," and "Employee," positioned after "Intended use."
[ ] Ensure all new fields align correctly within the form without disrupting the existing layout or functionality.
[ ] Validation and error messaging should be in place for required fields.

Development Checklist:

[ ] Implement "kWh usage" number field with two decimal places.
[ ] Implement "Model" text field after "Make."
[ ] Implement "Ports" select field with the specified options.
[ ] Implement "Intended users" multi-select field as required.
[ ] Test all fields for placement and correct functionality.
[ ] Validate error handling and form submission with all new fields.

Notes:
Ensure that these updates are compatible with the existing form structure and do not introduce visual or functional issues.

This looks great. Only one issues found. The kWh usage shows when I am adding or editing an FSE:

but does not show when I save and return to the report page:

I did not add the fields to the Report Details, I was not aware of this other section. I am working on adding them. Thank you!

@areyeslo Sorry, I didn't document that well in my card. I should have created a wireframe and documented it in the card. Let me know if you need me to do that.