OOM

I have been using the app for a few weeks now.  I have a few issues with it, but I want to mention the big two here.
First, ever since I started using the app, my Hubitat c5 reports it’s running low on memory a few days after a reboot.  The warning appears where the notices for updates to the platform appear, along with the suggestion to reboot.  If I don’t reboot the hub, it eventually becomes completely unresponsive and I have to pull the plug and reinsert it to power cycle the hub.
I was polling day and night at 1.  Today I adjusted the setting to poll every 10 during day and night hours that I set.
Second, the presence detection does not seem to work at all.  I can change it in the app’s settings using the arrived and departed “buttons “.
Finally (some questions ), the level value appears to be the current level of the bed.  Like it starts at 50, I change the sleepNumber to 75 with the remote or app and level eventually becomes 75 (as the bed inflates).  The app interface has a setLevel for some reason that I don’t understand.  Similarly they are off/on buttons that I don’t understand.
if you have questions about my set up (like bed is a C series with only SleepIQ data and lef/right baffles, no other adjustments), I would like to help!

I haven’t heard any other reports of abnormal memory usage. It is a big app and polling 1440 times a day will increase cpu usage but the memory footprint should remain stable. Can you provide the app activity table from the hub (found on logs page)?  If you have sleep data collection enabled that will also increase memory so if you aren’t using it, you might try disabling that.
I’m surprised presence doesn’t work, it’s usually the only stables thing across the beds. Can you enable debug logs (on the app page itself) and then click poll on one if your parent bed devices and share that output here? A screenshot is usually easier to read than copy/paste.
Level indicates different things depending on the device. It sounds like you are referring to the parent device and in that case it’s the mattress pressure (eg your sleep number). The setLevel command will change that value.
On/off is described in the help —

Set Bed Preset*: sets the bed to a preset level. If the device type is presence, head or foot, then on will set enable the preset set as a preference (in this way, you can have 3 preferred preset levels via voice) and off will set the bed to flat.

If you look in the device preferences you’ll see a “bed preset level for on” option and that correlates to the on value.

I’m still having the OOM issue.  It doesn’t seem to matter what polling options I use - longer time between polls extends the time until OOM.  It happens after about 3 days with my current settings.
I dug into the code, but my knowledge of groovy and how it garbage collects is lacking.
the code is impressive, and it’s clearly a lot of work.
my settings are 30 minutes during the day, 2 minutes overnight.

That's really curious as I haven't heard of any persistent reports of OOM.
Are you running the latest version of Hubitat OS?   Can you share what your
app and device settings are?  Maybe you're using a feature that isn't as
often exercised so this has gone unnoticed?   Do you see any errors or
warnings in the log?
Obviously a single sample but I don't reboot my hub except for updates and
I poll every minute overnight and every 30 during the day.
On Wed, Jul 5, 2023 at 6:03 PM Michael Schwartz @.***>
wrote:

I’m still having the OOM issue. It doesn’t seem to matter what polling
options I use - longer time between polls extends the time until OOM. It
happens after about 3 days with my current settings.
I dug into the code, but my knowledge of groovy and how it garbage
collects is lacking.
the code is impressive, and it’s clearly a lot of work.
my settings are 30 minutes during the day, 2 minutes overnight.
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1622761685,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVATRG7LGHEHXS26DFLXOYFHNANCNFSM6AAAAAAZGKSC3Q
.
You are receiving this because you commented.Message ID:
@.***>

Hub is up to date, FWIW.  I’ll post all the screens.

I found this app to be a bit touchy.  If I change things, it gets messed up to the point where I end up deleting and reinstalling the app.
The bed has just left/right side, no other bells and whistles.  All I’m expecting is presence and sleepNumber/level and SleepIQ stats.

It’s going to take several screen shots to get you the individual device details and/or logs.  Let me know if you need those.

I'm just thinking a screenshot of each device preferences section.  I want
to see how your setup compares to mine so I can try to reproduce your issue
On Fri, Jul 7, 2023 at 11:10 AM Michael Schwartz @.***>
wrote:

It’s going to take several screen shots to get you the individual device
details and/or logs. Let me know if you need those.
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1625787788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVHYJIOW726MPFL5IGDXPBGIBANCNFSM6AAAAAAZGKSC3Q
.
You are receiving this because you commented.Message ID:
@.***>

Note that I am using this with Maker API, which might be different than what you do.
The data looks good.  It just runs out of memory.
My analysis leads to this app.  I never had out of memory before installing it and setting it up. It could be something to do with a later version of the Hubitat firmware.
Plus as I adjusted the poll time overnight from 1 to 2, the time between OOM got a few hours longer.
It’s possible that my hub has much more limited memory than yours and the JVM (groovy) garbage collector gets more time to run on your hub.
All this is my pure speculation.

Thanks. That looks pretty similar to mine I think and you don’t appear to
have sleep data collection enabled on either so actual state should be low.
When you have a minute, can you grab a snapshot of your app statistics from
the logs page?  I’m wondering if it looks similar to mine or is somehow
very different.
On Fri, Jul 7, 2023 at 11:22 AM Michael Schwartz @.***>
wrote:

[image: image]
https://user-images.githubusercontent.com/329637/251824644-9963e764-621f-450f-b35d-8c188543701b.png
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1625812246,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVGPD5ZAA2F2PXJZTFDXPBHVXANCNFSM6AAAAAAZGKSC3Q
.
You are receiving this because you commented.Message ID:
@.***>

I am getting sleep data reported.  It changes daily.

Unfortunately, I rebooted the hub about 20 minutes ago.  The data may not be ideal.

Oh that’s interesting since it’s turned off on the device. I’ll have to
check how I coded that… I assume you want sleep data?
On Fri, Jul 7, 2023 at 11:34 AM Michael Schwartz @.***>
wrote:

I am getting sleep data reported. It changes daily.
[image: image]
https://user-images.githubusercontent.com/329637/251828728-9528ebde-97b3-48d0-af66-14e95a9512f1.png
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1625850352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVDAYO57FFHBQ7ZF543XPBJEJANCNFSM6AAAAAAZGKSC3Q
.
 Data after the night would be best I
think.
On Fri, Jul 7, 2023 at 11:37 AM Michael Schwartz @.***>
wrote:

Unfortunately, I rebooted the hub about 20 minutes ago. The data may not
be ideal.
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1625856979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVCBRV2K2AB3HIYSZT3XPBJOZANCNFSM6AAAAAAZGKSC3Q
.
You are receiving this because you commented.Message ID:
@.***>

Z wave poller app is working against the Bathroom Light device…

I asked earlier about sleep data.  I think these settings are consistent with what you told me at the time.  I was manually forcing the poll…

Another bit of information.  I have seen a lot of these unauthorized log messages when I try to diagnose things.

App 424 is this one…. The app reports online, even with the messages.

I'm looking at your code.  In error conditions, you call functions recursively, which can grow the stack.
https://github.com/rvrolyk/SleepNumberController/blob/master/SleepNumberController_App.groovy#L1874
httpRequest calls login calls fail calls httpRequest calls login ....
Now, I'm not surety lifecycle of how these routines are being called.
Just a thought with only a brief review of the code...  Have the login function return if already logged in and return or throw an error if login fails.  If it fails, go offline.
In the loop where you poll, periodically, login (if fail, set offline, done polling), then poll each thing.
In httpRequest, if fails, throw an error, and stop the polling right there.
Maybe I'm full of it :)

It should trigger a token refresh and then if it fails again, fail the
entire thing. I’ll take another look though and make sure it’s actually
working that way.
On Fri, Jul 7, 2023 at 4:20 PM Michael Schwartz @.***>
wrote:

[image: 2023-07-07 at 4 19 PM]
https://user-images.githubusercontent.com/329637/251877999-e14a7e9e-0075-4329-9d21-3dd6c8d9be01.png
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1626354217,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVDG5IFL4NVD2GVYPFLXPCKSXANCNFSM6AAAAAAZGKSC3Q
.
You are receiving this because you commented.Message ID:
@.***>

Looks like every 30 minutes.

That should match your polling. I can’t recall how long the auth token
lasts but it looks like it’s expiring before the 30 minute mark so the
first request triggers a refresh and the second request succeeds (with the
fresh token)
On Fri, Jul 7, 2023 at 4:39 PM Michael Schwartz @.***>
wrote:

Looks like every 30 minutes.
—
Reply to this email directly, view it on GitHub
https://github.com/rvrolyk/SleepNumberController/issues/11#issuecomment-1626363922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHIJVDK2INUIWKEHQOIF6TXPCMZPANCNFSM6AAAAAAZGKSC3Q
.
You are receiving this because you commented.Message ID:
@.***>


Add examples of Goptuna

Currently I want to add following examples.

[ ] Add an example of early stopping algorithm (curretly supports Median stopping rule only)
[ ] Add an example of hyperparameter tuning of machine learning

https://github.com/gorgonia/gorgonia
https://github.com/sjwhitworth/golearn or https://github.com/pa-m/sklearn

[ ] Add an example which optimizies numbers of goroutine for http server
[ ] Add an example of web assembly

To keep small go.mod, it might be better to create goptuna-machine-learning repository.


Use digitalWrite() and digitalWrite() when writing/reading to the bus

I think that pinMode() is misused to send data to the display. The wiringPi API offer digitalRead and digitalWrite for this purpose.

Thanks for the contribution


Update Reason
The model is neither used in a standard document or triangle document, which indicates that the model is not used anymore.
If there are still reasons to still have this model in the repository, please provide a short rationale in the comments. If not, please indicate with a "+1" that you are OK with deprecating the model.
Deprecating a model means, that it will be removed after two Tractus-X releases from the repository. For details, please refer to the GOVERNANCE process.
MS1 Criteria

[ ] The model that should be deprecated exists and is not deprecated already
[ ] The respective model does not affect existing use cases (aspect is either used in higher versions or replaced by a different aspect)
[ ] A shared aspect, which will be deprecated, is not used by any released aspect model

@Cvetanka-ZF please check this request

@bs-jokri our code release has been postponed. Models for Asset Tracking are still needed.

@Cvetanka-ZF since this model is written in bamm. I need to convert this to samm with major version upgrade. is that ok for you or you have some other plans for upgrade?

@agg3fe - for now please convert to samm. However, we may have some upcomming changes in the model in the near future.

PR created #596  for bamm to samm conversion.
In future if you want to make any updates, you can also make direct changes in this model since this is just a samm version of current model.


Instructor guide needs a read-through

It hasn't been touched now in 2 years and it is partly outdated.

These days I also try to insert instructor notes "inline" into teaching material rather than having them on a separate page. Where - I fear - they are never read.


Threadripper 3990x

Threadripper 3990x 64 core
RAM 128Gb DDR4 3200Mhz
RAID0 2xSSD Intel p3600 1.6Gb
2xSSD Intel p3710 3.2Tb
2xWD NVME SSD 2.0Tb
Have a problem:
-r 128, -u 128-512, raid0+ramdisk 110Gb but the best time to plotting 35min
CPU used only 30% max
I found this post:
https://www.reddit.com/r/chia/comments/nx76mf/20_minute_plots_with_threadripper_mad_max_plotter/
Guy make plot about 20 minute
Please help me, what I done wrong?
root@home:/home/home/chia-plotter/build# ./chia_plot -n 100 -r 128 -t /mnt/md0/ -2 /mnt/ram/ -d /media/home/vint7/ -p 87ad75441adc46de970556c9bda66af82ef9cc2c6e8bb3e58ebef239a661b6b5bdea8a97e3f733f57d0aac154d007eaa -f 85b3eb123e302f485c2b588ebd9b31cf4a5298a08ee59b6208a1542d684a9e7e464843805b22b05371a732ef43463c2e
Multi-threaded pipelined Chia k32 plotter - a2e06b0
Final Directory: /media/home/vint7/
Number of Plots: 100
Crafting plot 1 out of 100
Process ID: 175411
Number of Threads: 128
Number of Buckets P1:    2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Pool Public Key:   87ad75441adc46de970556c9bda66af82ef9cc2c6e8bb3e58ebef239a661b6b5bdea8a97e3f733f57d0aac154d007eaa
Farmer Public Key: 85b3eb123e302f485c2b588ebd9b31cf4a5298a08ee59b6208a1542d684a9e7e464843805b22b05371a732ef43463c2e
Working Directory:   /mnt/md0/
Working Directory 2: /mnt/ram/
Plot Name: plot-k32-2021-06-21-23-59-43a9f136e353b8684cd5e3a513df61d9f452b6ea632a872a4a33f528fbe607ca
[P1] Table 1 took 15.0912 sec
[P1] Table 2 took 91.6301 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 139.209 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 213.79 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 184.791 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 142.121 sec, found<PHONE_NUMBER> matches
[P1] Table 7 took 98.1615 sec, found<PHONE_NUMBER> matches
Phase 1 took 884.804 sec
[P2] max_table_size =<PHONE_NUMBER>
[P2] Table 7 scan took 7.5166 sec
[P2] Table 7 rewrite took 33.7516 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 29.0458 sec
[P2] Table 6 rewrite took 59.4926 sec, dropped 581279277 entries (13.534 %)
[P2] Table 5 scan took 29.9042 sec
[P2] Table 5 rewrite took 59.25 sec, dropped 761926151 entries (17.7402 %)
[P2] Table 4 scan took 30.7243 sec
[P2] Table 4 rewrite took 59.3455 sec, dropped 828847270 entries (19.298 %)
[P2] Table 3 scan took 31.4235 sec
[P2] Table 3 rewrite took 55.9306 sec, dropped 855109389 entries (19.9091 %)
[P2] Table 2 scan took 29.9068 sec
[P2] Table 2 rewrite took 54.7912 sec, dropped 865622444 entries (20.154 %)
Phase 2 took 493.914 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 77.3379 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 2 took 32.1945 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 3 took 77.1796 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 3 took 31.4094 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 4 took 79.5902 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 4 took 32.1126 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 5 took 79.4723 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 5 took 33.0682 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 6 took 80.681 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 6 took 34.334 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 7 took 87.4598 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 7 took 41.3949 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
Phase 3 took 690.045 sec, wrote<PHONE_NUMBER>4 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 67.7468 sec, final plot size is<PHONE_NUMBER>60 bytes
Total plot creation time was 2136.6 sec (35.61 min)

Your -r argument is wrong. It is not the number of threads, it is just a multiplier.
Try lowering it finding the sweetspot.
As an example I have 3 machines
5950x - 32 threads - best -r is 16 or 20 = 21 minutes
5900x - 24 threads - best -r is 12 = 25 minutes
9900k - 16 threads - best -r is 8 = 38 minutes

Your -r argument is wrong. It is not the number of threads, it is just a multiplier.
Try lowering it finding the sweetspot.
As an example I have 3 machines
5950x - 32 threads - best -r is 16 or 20 = 21 minutes
5900x - 24 threads - best -r is 12 = 25 minutes
9900k - 16 threads - best -r is 8 = 38 minutes
So try -r 64 and even lower.

But this guy (link in thread) make a plot with -r 128 and he have threadripper 3990x too.
Maybe I have small ram? He have 256Gb

Your -r argument is wrong. It is not the number of threads, it is just a multiplier.
Try lowering it finding the sweetspot.
As an example I have 3 machines
5950x - 32 threads - best -r is 16 or 20 = 21 minutes
5900x - 24 threads - best -r is 12 = 25 minutes
9900k - 16 threads - best -r is 8 = 38 minutes
So try -r 64 and even lower.

for  5900x - 24 threads - best -r is 12 = 25 minutes how many buckets i need ?

Your -r argument is wrong. It is not the number of threads, it is just a multiplier.
Try lowering it finding the sweetspot.
As an example I have 3 machines
5950x - 32 threads - best -r is 16 or 20 = 21 minutes
5900x - 24 threads - best -r is 12 = 25 minutes
9900k - 16 threads - best -r is 8 = 38 minutes
So try -r 64 and even lower.

for 5900x - 24 threads - best -r is 12 = 25 minutes how many buckets i need ?

512 buckets

i think bottleneck is in ssd and 3200mhz ram. my plotting time in windows 5950x, 110gb ram 3733mhz and samsung 1tb evo 970 plus:
Number of Plots: 1
Crafting plot 1 out of 1
Process ID: 11072
Number of Threads: 16
Number of Buckets P1:    2^9 (512)
Number of Buckets P3+P4: 2^8 (256)
Pool Public Key:   -----
Farmer Public Key: ----
Working Directory:   x:\temp
Working Directory 2: v:\temp
Plot Name: plot-k32-2021-06-29-18-35-2513f410d847fcb9ad0b746ec5fd5d441b012b04aacfe540cde8f719d2591e2e
[P1] Table 1 took 15.1732 sec
[P1] Table 2 took 75.2085 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 103.271 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 124.132 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 119.728 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 110.693 sec, found<PHONE_NUMBER> matches
[P1] Table 7 took 105.788 sec, found<PHONE_NUMBER> matches
Phase 1 took 655.313 sec
[P2] max_table_size =<PHONE_NUMBER>
[P2] Table 7 scan took 13.3641 sec
[P2] Table 7 rewrite took 29.4362 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 21.3563 sec
[P2] Table 6 rewrite took 44.8174 sec, dropped 581336857 entries (13.5349 %)
[P2] Table 5 scan took 20.3984 sec
[P2] Table 5 rewrite took 53.1437 sec, dropped 762090156 entries (17.743 %)
[P2] Table 4 scan took 20.2291 sec
[P2] Table 4 rewrite took 55.5232 sec, dropped 829031940 entries (19.3015 %)
[P2] Table 3 scan took 20.0159 sec
[P2] Table 3 rewrite took 55.3139 sec, dropped 855227984 entries (19.9114 %)
[P2] Table 2 scan took 19.8815 sec
[P2] Table 2 rewrite took 55.1552 sec, dropped 865690469 entries (20.1552 %)
Phase 2 took 409.632 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 34.2114 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 2 took 29.8163 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 3 took 34.389 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 3 took 23.7822 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 4 took 35.2111 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 4 took 24.2207 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 5 took 38.2957 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 5 took 24.9992 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 6 took 38.7623 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 6 took 25.7993 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 7 took 32.4375 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 7 took 30.154 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
Phase 3 took 373.617 sec, wrote<PHONE_NUMBER>0 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 75.5238 sec, final plot size is<PHONE_NUMBER>08 bytes
Total plot creation time was 1514.3 sec (25.2383 min)
Started copy to c:\chia\plot-k32-2021-06-29-18-35-2513f410d847fcb9ad0b746ec5fd5d441b012b04aacfe540cde8f719d2591e2e.plot

i think bottleneck is in ssd and 3200mhz ram. my plotting time in windows 5950x, total 128gb ram, 110gb ramdisk 3733mhz and samsung 1tb evo 970 plus:
Number of Plots: 1
Crafting plot 1 out of 1
Process ID: 11072
Number of Threads: 16
Number of Buckets P1: 2^9 (512)
Number of Buckets P3+P4: 2^8 (256)
Pool Public Key: -----
Farmer Public Key: ----
Working Directory: x:\temp
Working Directory 2: v:\temp
Plot Name: plot-k32-2021-06-29-18-35-2513f410d847fcb9ad0b746ec5fd5d441b012b04aacfe540cde8f719d2591e2e
[P1] Table 1 took 15.1732 sec
[P1] Table 2 took 75.2085 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 103.271 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 124.132 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 119.728 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 110.693 sec, found<PHONE_NUMBER> matches
[P1] Table 7 took 105.788 sec, found<PHONE_NUMBER> matches
Phase 1 took 655.313 sec
[P2] max_table_size =<PHONE_NUMBER>
[P2] Table 7 scan took 13.3641 sec
[P2] Table 7 rewrite took 29.4362 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 21.3563 sec
[P2] Table 6 rewrite took 44.8174 sec, dropped 581336857 entries (13.5349 %)
[P2] Table 5 scan took 20.3984 sec
[P2] Table 5 rewrite took 53.1437 sec, dropped 762090156 entries (17.743 %)
[P2] Table 4 scan took 20.2291 sec
[P2] Table 4 rewrite took 55.5232 sec, dropped 829031940 entries (19.3015 %)
[P2] Table 3 scan took 20.0159 sec
[P2] Table 3 rewrite took 55.3139 sec, dropped 855227984 entries (19.9114 %)
[P2] Table 2 scan took 19.8815 sec
[P2] Table 2 rewrite took 55.1552 sec, dropped 865690469 entries (20.1552 %)
Phase 2 took 409.632 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 34.2114 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 2 took 29.8163 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 3 took 34.389 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 3 took 23.7822 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 4 took 35.2111 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 4 took 24.2207 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 5 took 38.2957 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 5 took 24.9992 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 6 took 38.7623 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 6 took 25.7993 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 7 took 32.4375 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 7 took 30.154 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
Phase 3 took 373.617 sec, wrote<PHONE_NUMBER>0 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 75.5238 sec, final plot size is<PHONE_NUMBER>08 bytes
Total plot creation time was 1514.3 sec (25.2383 min)
Started copy to c:\chia\plot-k32-2021-06-29-18-35-2513f410d847fcb9ad0b746ec5fd5d441b012b04aacfe540cde8f719d2591e2e.plot

OMG, you GOD, how???
My best time 24 min:
Process ID: 398973
Number of Threads: 128
Number of Buckets P1:    2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Pool Public Key:   ---
Farmer Public Key: ---
Working Directory:   temp/
Working Directory 2: /mnt/ram/
Plot Name: plot-k32-2021-06-29-20-58-1000d61743b5b931f8944dffae2777f426bb3bb7fb0d256d9932512b5290ee4b
[P1] Table 1 took 9.02294 sec
[P1] Table 2 took 67.2989 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 84.06 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 96.1162 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 93.7962 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 91.1402 sec, found<PHONE_NUMBER> matches
[P1] Table 7 took 72.9035 sec, found<PHONE_NUMBER> matches
Phase 1 took 514.345 sec
[P2] max_table_size =<PHONE_NUMBER>
[P2] Table 7 scan took 4.40661 sec
[P2] Table 7 rewrite took 31.2275 sec, dropped 0 entries (0 %)
[P2] Table 6 scan took 16.9581 sec
[P2] Table 6 rewrite took 32.9435 sec, dropped 581404036 entries (13.5395 %)
[P2] Table 5 scan took 18.2862 sec
[P2] Table 5 rewrite took 31.5728 sec, dropped 762075742 entries (17.7452 %)
[P2] Table 4 scan took 17.1518 sec
[P2] Table 4 rewrite took 30.9107 sec, dropped 828941380 entries (19.3013 %)
[P2] Table 3 scan took 17.2487 sec
[P2] Table 3 rewrite took 30.8184 sec, dropped 855117439 entries (19.9102 %)
[P2] Table 2 scan took 16.9877 sec
[P2] Table 2 rewrite took 30.8643 sec, dropped 865585333 entries (20.1537 %)
Phase 2 took 310.101 sec
Wrote plot header with 268 bytes
Copy to /media/home/vint8/plot-k32-2021-06-29-20-33-da93d20835d28fdd612fb6238d20d330cb8dd093d085aa22fcb04efac654c6fe.plot finished, took 859.15 sec, 120.807 MB/s avg.
[P3-1] Table 2 took 66.1087 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 2 took 28.0209 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 3 took 64.2398 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 3 took 29.0798 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 4 took 66.8686 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 4 took 28.6661 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 5 took 67.1861 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 5 took 28.6168 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 6 took 67.7707 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 6 took 31.0702 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
[P3-1] Table 7 took 70.4861 sec, wrote<PHONE_NUMBER> right entries
[P3-2] Table 7 took 34.5864 sec, wrote<PHONE_NUMBER> left entries,<PHONE_NUMBER> final
Phase 3 took 588.76 sec, wrote<PHONE_NUMBER>0 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 75.0091 sec, final plot size is<PHONE_NUMBER>09 bytes
Total plot creation time was 1488.27 sec (24.8045 min)
If I try -r 30-64 my time per plot 30-40 min :(
Now I have 110Gb tempram + 70Gb RAM
iotop result:
Total DISK READ:       505.61 M/s | Total DISK WRITE:        16.72 K/s
Current DISK READ:     504.54 M/s | Current DISK WRITE:       0.00 B/s
538017 be/4 root      280.57 M/s   16.72 K/s  0.00 %  4.98 % ./chia_plot -n 50 -r 128 -t temp/ -2 /mnt/ram/ -d /media/home/vint8/ -p  [Disk/read/29]
538019 be/4 root      224.09 M/s    0.00 B/s  0.00 %  4.37 % ./chia_plot -n 50 -r 128 -t temp/ -2 /mnt/ram/ -d /media/home/vint8/

OMG, you GOD, how???

it's my ramdisk perfomance:
CrystalDiskMark 8.0.2 x64 (C) 2007-2021 hiyohiyo
                                  Crystal Dew World: https://crystalmark.info/
------------------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes

[Read]
  SEQ    1MiB (Q=  8, T= 1): 15239.701 MB/s [  14533.7 IOPS] <   481.35 us>
  SEQ    1MiB (Q=  1, T= 1): 15838.462 MB/s [  15104.7 IOPS] <    66.06 us>
  RND    4KiB (Q= 32, T= 1):  1566.674 MB/s [ 382488.8 IOPS] <    80.98 us>
  RND    4KiB (Q=  1, T= 1):  1690.491 MB/s [ 412717.5 IOPS] <     2.36 us>

[Write]
  SEQ    1MiB (Q=  8, T= 1): 20046.733 MB/s [  19118.1 IOPS] <   365.65 us>
  SEQ    1MiB (Q=  1, T= 1): 20181.219 MB/s [  19246.3 IOPS] <    51.84 us>
  RND    4KiB (Q= 32, T= 1):  1325.006 MB/s [ 323487.8 IOPS] <    95.76 us>
  RND    4KiB (Q=  1, T= 1):  1361.372 MB/s [ 332366.2 IOPS] <     2.95 us>

Comment: DDR4 3733MHZ 110GB RamDisk

and Samsung 970 EVO PLUS 1TB:
------------------------------------------------------------------------------
CrystalDiskMark 8.0.2 x64 (C) 2007-2021 hiyohiyo
                                  Crystal Dew World: https://crystalmark.info/
------------------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes

[Read]
  SEQ    1MiB (Q=  8, T= 1):  3582.818 MB/s [   3416.8 IOPS] <  2339.72 us>
  SEQ    1MiB (Q=  1, T= 1):  3080.435 MB/s [   2937.7 IOPS] <   340.22 us>
  RND    4KiB (Q= 32, T= 1):   726.264 MB/s [ 177310.5 IOPS] <   174.72 us>
  RND    4KiB (Q=  1, T= 1):    57.138 MB/s [  13949.7 IOPS] <    71.58 us>

[Write]
  SEQ    1MiB (Q=  8, T= 1):  3335.990 MB/s [   3181.4 IOPS] <  2510.09 us>
  SEQ    1MiB (Q=  1, T= 1):  3257.819 MB/s [   3106.9 IOPS] <   321.64 us>
  RND    4KiB (Q= 32, T= 1):   673.413 MB/s [ 164407.5 IOPS] <   188.42 us>
  RND    4KiB (Q=  1, T= 1):   262.188 MB/s [  64010.7 IOPS] <    15.54 us>

Comment: 970 EVO Plus 1TB

How do you get Phase 1 so fast with your 5950x , my bets results are ~900 Sec.
Im plotting on Ubuntu with enabled performance mode , and 64GB 3600 Ram?

How do you get Phase 1 so fast with your 5950x , my bets results are ~900 Sec.
Im plotting on Ubuntu with enabled performance mode , and 64GB 3600 Ram?

i'm using ramdisk. read posts more attentively


migrate non pages components: /home

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3977

PR #3978

PR #3979   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


[#186][appveyor] build standalone binary!

More details are in third commit.
Please take a look at artifacts here.
I do not know much about windows scripting. :fearful:
Maybe the appveyor.yaml is too ugly to understand.
So let me know if you need my explanation.
But I have no idea why the binary build with python-x64 not work....
Actually, the win32 one works fine with my 64-bit windows vm.
Maybe we should warn user not to download the win64 one.

Does this have the latest stuff from @broerse's work? Could we incorporate this into a release process--even if we just avoid "shipping" the win64 build artifacts?

@BigBlueHat The stuff from @benoitc works fine :)
BTW, it seems that the link of artifact is unavailable. The correct one is here:
https://ci.appveyor.com/project/iblis17/couchapp/build/1.0.74/job/guiy5q2m6w9q9p9k/artifacts

Worked great from my quick test! Thanks, @iblis17 We'll use this artifact output for the next release.

Too many buttons... :confused:

Please also setup the appveyor for this repo and add badge to README. :tada:


Fix eager loading not using left outer join

eager_loading and joins can't create a LEFT OUTER JOIN, so it brings more data than we need, getting some problems like #617. This PR fixes it.

I've sent it without tests as a hotfix, but I think we need to think about some tests on feed to prevent this in the future, what you guys think?

If you look at my feed-refactor branch you'll see that I'm adding unit tests in the process

:pray: :100: :fire: :boom: :droplet: LGTM


Flip assertEquals() arguments in ReindexRenamedSettingTests

Description

Flip the assertEquals() arguments in ReindexRenamedSettingTests class

According to the comment in https://github.com/opensearch-project/OpenSearch/pull/2463#discussion_r827424263:

The first argument of the assert is the expected value, and the second is the actual value.

The unit test class ReindexRenamedSettingTests were added in PR https://github.com/opensearch-project/OpenSearch/pull/2221 / commit https://github.com/opensearch-project/OpenSearch/commit/63c75d1b1d188a4bc3917169001aa8711ad702ef
Issues Resolved
Related to issue https://github.com/opensearch-project/OpenSearch/issues/1547
Check List

[ ] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

in log 3509:
> Task :server:internalClusterTest

REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.search.SearchCancellationIT.testMSearchChildRequestCancellationWithClusterLevelTimeout" -Dtests.seed=E7E590B85679E426 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=no -Dtests.timezone=Australia/South -Druntime.java=17

org.opensearch.search.SearchCancellationIT > testMSearchChildRequestCancellationWithClusterLevelTimeout FAILED
    java.lang.AssertionError: Actual child request with cancellation failure is different that expected expected:<[0, 1]> but was:<[]>
        at __randomizedtesting.SeedInfo.seed([E7E590B85679E426:59585B5DC76F0451]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:120)
        at org.opensearch.search.SearchCancellationIT.ensureMSearchWasCancelled(SearchCancellationIT.java:194)
        at org.opensearch.search.SearchCancellationIT.testMSearchChildRequestCancellationWithClusterLevelTimeout(SearchCancellationIT.java:537)

It's reported in issue https://github.com/opensearch-project/OpenSearch/issues/2242

@andrross Thank you for sharing the knowledge! Now I know assertThat() should be preferred to use.

Hamcrest strives to make your tests as readable as possible.

p.s. the advantages of assertThat() are shown in the release notes of junit 4.4: http://junit.sourceforge.net/doc/ReleaseNotes4.4.html

In Log 3518:
> Task :qa:remote-clusters:integTest FAILED

REPRODUCE WITH: ./gradlew ':qa:remote-clusters:integTest' --tests "org.opensearch.cluster.remote.test.RemoteClustersIT.testHAProxyModeConnectionWorks" -Dtests.seed=DB46B9E87253F055 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=no -Dtests.timezone=America/Argentina/San_Juan -Druntime.java=17

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/home/ubuntu/.gradle/wrapper/dists/gradle-7.3.3-all/4295vidhdd9hd3gbjyw1xqxpo/gradle-7.3.3/lib/plugins/gradle-testing-base-7.3.3.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release
org.opensearch.cluster.remote.test.RemoteClustersIT > testHAProxyModeConnectionWorks FAILED
    java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([DB46B9E87253F055:DC306C2349D58608]:0)
        at org.junit.Assert.fail(Assert.java:87)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertTrue(Assert.java:53)
        at org.opensearch.cluster.remote.test.RemoteClustersIT.testHAProxyModeConnectionWorks(RemoteClustersIT.java:125)

It's reported in https://github.com/opensearch-project/OpenSearch/issues/1703, this one fails very often recently.

In log 3522:
REPRODUCE WITH: ./gradlew ':server:internalClusterTest' --tests "org.opensearch.gateway.RecoveryFromGatewayIT.testReuseInFileBasedPeerRecovery" -Dtests.seed=678B15424FD7EBE5 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=sr-RS -Dtests.timezone=Pacific/Midway -Druntime.java=17

org.opensearch.gateway.RecoveryFromGatewayIT > testReuseInFileBasedPeerRecovery FAILED
    java.lang.AssertionError: shard [test][0] on node [node_t1] has pending operations:
     --> RetentionLeaseBackgroundSyncAction.Request{retentionLeases=RetentionLeases{primaryTerm=1, version=1480, leases={peer_recovery/awjm15faRpeBMJiOvn_QMQ=RetentionLease{id='peer_recovery/awjm15faRpeBMJiOvn_QMQ', retainingSequenceNumber=786, timestamp=1647629686105, source='peer recovery'}, peer_recovery/7LnHvaeSRV6f3UsOaIJARg=RetentionLease{id='peer_recovery/7LnHvaeSRV6f3UsOaIJARg', retainingSequenceNumber=786, timestamp=1647629686105, source='peer recovery'}}}, shardId=[test][0], timeout=1m, index='test', waitForActiveShards=0}
    	at org.opensearch.index.shard.IndexShardOperationPermits.acquire(IndexShardOperationPermits.java:248)
    	at org.opensearch.index.shard.IndexShard.acquirePrimaryOperationPermit(IndexShard.java:3146)

It's reported in issue https://github.com/opensearch-project/OpenSearch/issues/1746, this one also fails frequently recently.

In report 3535:
failed test:
org.opensearch.index.ShardIndexingPressureConcurrentExecutionTests.html#testCoordinatingPrimaryThreadedUpdateToShardLimitsAndRejections
start gradle check


Slow response times

Summary
GraphQL queries are taking a huge amount of time (~2 minutes) on some Android devices.
Version
Using apollo 2.4.1 but was also happening on 1.4.5 (did the migration in an attempt to fix it)
Description

The query takes around ~2 minutes to resolve on some devices but works correctly on others (around ~2 seconds).
Re-installing the app doesn't affect it, seems to be related to the specific phones which all have good internet connectivity.
The iOS app works correctly (so doesn't seem server or query related).
Some of the devices with long response times:

Samsung A5 (Android 8).
Google Pixel 1 (Android 10).

I know this is a rather generic issue, what tools could I use to debug/test this so I can find exactly where the issue is?
I've tried to remove every possible dependency in the project to the minimum code:
val client = ApolloClient.builder()
    .serverUrl("https://myserver/graphql")
    .build()
val apolloCall = client.query(PeriodQuery.builder().build())
val response = apolloCall.await()
// At this point it stays suspended for 2 minutes on some devices
// ...
val featuredItems = response.data?.period()?.Period()?.features()

Sharing the query in case it helps (though it also happens with other queries)
query
query Period {
    period {
        Period {
            _id
            year
            week
            numberOfFeatures
            features {
                _id
                type
                name
                editorialTitle
                editorialContent
                suppressName
                suppressHeader
                teaser {
                  x
                  xx
                  xxx
                  xxxx
                  svg
                }
                teaserCopyright
                issueId
                articleSeriesId
                articleIds
                issue {
                    _id
                    accessible
                    purchased
                    downloadable
                    designation
                    coverStory
                    brandId
                    cover {
                        x
                        xx
                        xxx
                        xxxx
                        svg
                    }
                }
                articleSeries {
                    _id
                    name
                    description
                    teaser {
                        x
                        xx
                        xxx
                        xxxx
                    }
                    teaserCopyright
                    brandIds
                    authorIds
                    articles {
                        _id
                    }
                }
                articles {
                    _id
                    accessible
                    read
                    type
                    name
                    subtitle
                    brandId
                    issueId
                    articleSeriesId
                    articleSeriesOrder
                    teaserImage {
                        x
                        xx
                        xxx
                        xxxx
                    }
                    teaserCopyright
                    issue {
                        id: _id
                        accessible
                        purchased
                        downloadable
                        designation
                        brandId
                        thumbnailSmall {
                            x
                            xx
                            xxx
                            xxxx
                            svg
                        }
                        cover {
                            x
                            xx
                            xxx
                            xxxx
                            svg
                        }
                        year
                        month
                    }

                }
            }
        }
    }
}

Hi! Thanks for sending this.
The first thing would be to determine whether the slow down happens on the server or on the client. Can you hook a proxy or a HttpInterceptor to measure the network time? Maybe it's something in the query that takes longer on the server side.
If it's happening client side, (which is more likely given that it happens only on specific devices), the best way to investigate is to do some profiling. If you can generate a .trace file using Debug.startMethodTracing("apollo") and Debug.stopMethodTracing() and share it, that will give us some clues. Feel free to use the email adress associated with my commits if you don't want to share that publicly.

Hi @Alqueraf ! Any news from this? Anything else I can help with? If not I'll close this issue in the coming days.

Hi Martin, the instructions were great, thanks! I haven't had a chance to follow it through yet, will do in the following days 🙏

After removing the apollo library it is still occurring so this is actually related to the OkHttp client.
Closing the issue and thanks for your help!

Thanks for the follow up!


or-tools make: *** No rule to make target 'examples/java/my_program/pom.xml', needed by 'build'. Stop

https://github.com/google/or-tools/issues/2280

IF building from source, i.e. having cloned this repository, you just have to provide your .java file and put it in a directory where there are other java file e.g. examples/java
in this case we have custom rules which will generate the pom.xml for you...

So you may need:

create a directory examples/java/MyProgram
move your java file in examples/java/MyProgram/src/main/java/com/google/ortools/MyProgram.java
note: here com/google/ortools correspond to the package you use in your java file
create a pom.xml in examples/java/MyProgram


fix test.aria.utils.dragdrop.fixedElements.FixedElementTest on IE 8

This PR fixes test.aria.utils.dragdrop.fixedElements.FixedElementTest on IE 8, when run with vbox-robot.
On IE 8, the following strange behavior happens: when the user starts to drag and drop a selected area (with a physical mouse, such as the one simulated by vbox-robot, not the robot-server), the execution of script tags is temporarily delayed until the mouse is released.
As we wait for the execution of the JSON-P request from vbox-robot before sending the command to release the mouse, the test never ends successfully.
In this test, it is a mistake to have something selected, so, adding the unselectable attribute fixes the issue.

Looks good to me, you can merge once the build passes!

@ymeine Thank you for your review


Feature map for the example desired!

Can you provide the feature map for the example? It can be frustrating to generate this myself.

Unfortunately, it is also tough to host the large files...
I uploaded it but will delete within a week.
https://drive.google.com/file/d/1PJElSKcwZTzzvhUFglLd4k9RYaDg_1Nw/view?usp=share_link

@PatrickDDj  Can I delete it?

@PatrickDDj Can I delete it?

@PatrickDDj Can I delete it?

Thank you...

@R-QinQ
OK!
https://drive.google.com/file/d/12gRux0BVx73sax2Yc6GOycGZznfHKQMF/view
Please download it within a few days!

@R-QinQ
OK! https://drive.google.com/file/d/12gRux0BVx73sax2Yc6GOycGZznfHKQMF/view Please download it within a few days!

Thank you very much！！！


I want to modify an offline APK!

First, I'd like to express my gratitude as an APK user.
I'm currently playing the offline version of a game. As I progress through the levels, I receive one Master Ball per floor, but I want to modify the code so more Master Balls appear. However, no matter how hard I look, I can't seem to find the Android data folder. Could you tell me how to do this?
Since I'm currently unable to use a computer, I need to modify it through mobile. If you can explain the method, I'll definitely give it a try.

Sometimes the default file explorer that comes with the device won't actually let you browse all of the files; I don't know if it's specifically an app issue or a mix of app + device issue, but sometimes getting into the android data folder is a pain.
In either case, if you can get into it, you should be able to go into a folder that's something like "com.pokerogueoffline" and then go into a game folder and find the game's files there, but the app uses compiled files so everything is going to be jumbled up in an unreadable mess in one big index.js file. The workaround for the truly dedicated would be using a computer to edit the source code, then building it on PC, then transfering that over to Android, but when that's not an option you don't really have a choice but to try and deal with the jumbled code.
In this case you'd be looking for some sort of modifier weight for the master ball, but I can't really pinpoint that stuff for you, especially in the compiled file; you'd just have to do some digging with a text editor and hope for the best.


Cropping Output

With https://github.com/mjenckel/OCR-D-LAYoutERkennung/commit/44247abca930cbff6e0cfa2f259168a4ee7e2f5a we added the AlternativeImage functionality to Cropping. Since we expect all modules to be used in a pipeline (see README.md) we were wondering if simply storing the border coordinates is correct. If we use Deskewing previous to Cropping and add an alternative deskewed image to the list of AlternativeImages, shouldnt we apply the inverse rotation on the found border coordinates so they apply to the original image rather than the deskewed image?

@bertsky?

@mjenckel are you sure you are referring to the right commit? (You already used 44247ab in #16 as well. It does not contain what is described there either.) Remember, it's hard to talk about these things in the air without a formal description of what is meant.

If we use Deskewing previous to Cropping and add an alternative deskewed image to the list of AlternativeImages, shouldnt we apply the inverse rotation on the found border coordinates so they apply to the original image rather than the deskewed image?

You should definitely. But this is not specific to deskewing (or cropping, for that matter). Any operation that wants to add coordinates must be aware that its input could have been in non-original (relative) coordinates, whereas PAGE-XML coordinates are always absolute. As long as all processors consistently added @comments (feature descriptions) to the images they annotate, core can keep track of the respective coordinate transformations, and invert them if requested.
You can do that via coordinates_for_segment(polygon, parent_image, parent_coords), where

polygon is your (newly found) border polygon in coordinates relative to
parent_image, which you received from workspace.image_from_page() – regardless of whether you applied deskewing or anything else before (except dewarping, for which we do not have a rich enough annotation to preserve coordinates yet), and
parent_coords, which you received together with that, contains the image's features and coordinate transform.

This will then give you the coordinates you can annotate via a new CoordsType(). See docstrings in core and ocrd_tesserocr/segment-region.py for examples.

as per @bertsky 's advice, all coordinates should now be absolute coordinates


feat(editors/subscription): Support valKind and valImport on first instances, improve instance use counting and allow Val updates

Closes #1161, #1162
This also:

improves the counting of supervision instances
allows Val elements to be updated on subscription (found when looking into this)
refactors out the creation of the template structure (too complicated, Jakob recommended replacement with plain dom-manipulation and a ComplexAction)
includes a Move action to move new supervision instances to the end of the supervision section (but new ones are always second-to-last since the action API doesn't allow them to be last :cry:). I think this matters, because if there is only two then I think the manufacturers one should be first in the file but I think fixing it is perhaps outside of the scope of this PR. However I think including a Move action is a good first step.
This PR includes #1161, so I've closed that (as discussed with Jakob, single PR is acceptable)

I've done some testing of supervision on the B30 and other Siemens devices for both LGOS and LSVS but mainly with the later binding editor. I've also tested adding at least one subscription for each subscription editor (message, data for GOOSE and SV). But more testing is always good.
I was grateful for the existing tests for supervision which allowed these changes without terrible anxiety and kept the guard rails on for me :wink:
I would be grateful for a review and happy to make changes.

We did some testing of this PR's functionality with the GE B30 bus protection relay and found it worked correctly, and could be loaded to the device and functioned correctly online.
What worked was:

updating the GoCBRef for an existing LGOS instance in OpenSCD
creating a new LGOS instance in OpenSCD and importing it in the Enervista UR Setup tool (version 8.40). Enervista instantiates attributes for the LGOS instance, removes the OpenSCD private element and this seems to me to be a reasonable implementation.
subscribed attributes were updated
the supervision instance worked correctly with the device online (if the sending device's ethernet port was disabled the LGOS instance showed stVal=false)

What is interesting (we think) for the GE B30 is that without supervision instantiation ExtRefs are not processed on import from an scd file. Supervision is a pre-requisite to processing of data attributes in GOOSE messages. Normally I think of supervision as a "bolt on" feature for subscriptions but for this relay that appears not to be so.

includes a Move action to move new supervision instances to the end of the supervision section (but new ones are always second-to-last since the action API doesn't allow them to be last cry). I think this matters, because if there is only two then I think the manufacturers one should be first in the file but I think fixing it is perhaps outside of the scope of this PR. However I think including a Move action is a good first step.

I discussed with Christian -- I'll update this PR to remove the move action, have only Create actions and set the reference to null which will result in the elements being appended at the end.
Alas, I have not previously understood that  this was an option passed through to Node.insertBefore

Hurrah! Thank you for this thorough review and the hints no ways to improve.


Unsupported method should return HTTP 405 error not 404

If crow receives a request with an unsupported method (e.g. an endpoint supports POST but not PUT), it returns 404 Not Found, but should return 405 Method Not Allowed with an "Allow" header specifying the methods that are allowed

this issue is in routing.h, specifically the handle() function, the code seems to execute whether the method or url is not found.


Implement Switch

Issue Description: Implement SwitchComponent
Description:
The task is to create the switch component in Flutter, mimicking the design provided in the Shadcn documentation for a switch.
Link to UI - https://ui.shadcn.com/docs/components/switch
Requirements:
Should look and feel close to the Switchcomponent from Shadcn.
Needs to support predefined size, bgColor.
Can somebody assign me for this?

Assigned it to you

#40


Consolidate deep copies of shared files into the toplevel dir

There are a couple of deep but identical copies. Consolidate
them into the toplevel dir and add symlinks instead

tested here: https://ci.suse.de/job/openstack-ardana/1168/


Added Odia language

Summary

Added Odia language
Closing Issues
Closes #179
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvements to existing code, such as refactoring or optimizations (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@Prasanta-Hembram thank you for another contribution. I just merged your PR. I'll probably create a release again next week some time.

@Prasanta-Hembram I just released this in v1.20.0 🚀


[V9] Missing FA icons in Social Link Block in ServiceList.php:

Add social links in the Dashboard:
/index.php/dashboard/system/basics/social
Tested all icons, there are currently no icons for:

fab fa-phone-square (fix: fa fa-phone-square)
fab fa-envelope (fix: fa fa-envelope)
fab fa-external-link (fix: fa fa-external-link-alt)
fab fa-linkedin-square (fix: fab fa-linkedin)

Visible in the Dashboard:

This has been fixed and will be released in 9.0.1.


compile issue on suse.

In member function ‘float irr::core::vectorSIMDf::getLengthAsFloat() const’:
/usr/lib64/gcc/x86_64-suse-linux/5/include/pmmintrin.h:56:1: error: inlining failed in call to always_inline ‘__m128 _mm_hadd_ps(__m128, __m128)’: target specific option mismatch
_mm_hadd_ps (__m128 __X, __m128 __Y)

" target specific option mismatch"
Suggests that either SSE compile flags were not enabled (-msse3) or -force-inline doesnt work on suse...
What compiler version are you using?


Resume training from checkpoints

One feature in char-rnn is the ability to take a .t7 checkpoint and resume training with it. This is very helpful for recovering from crashes, OOMs, system shutdowns (say, from a cat stepping on one's laptop power button several days into training), accidental C-cs, etc. It can also be useful for training on one dataset and then training on another.
cmd:option('-init_from', '', 'initialize network parameters from checkpoint at this path')
(Yes, I know I can use char-rnn, but I like torch-rnn's efficiency and this seems to be the main feature I'm missing from char-rnn at the moment.)

This shouldn't be too hard to add - I should be able to implement this next week some time.

I didn't think it would be, and that you understandably just hadn't gotten around to it yet since no one had complained. (I thought about trying to copy over the char-rnn init code and adapting it myself, but I'd probably screw it up.)

It should actually be a lot simpler than char-rnn, since there aren't any clones or weight sharing to worry about.

Implemented in https://github.com/jcjohnson/torch-rnn/commit/5641d2370b1fa39463006090c9c9dd80bbfce8d7 with a 9 line diff =)

I've given it a spin, and it looks like it's working. Thanks.


Feature Request

I wish this plugin can save regex searches for later use, and people can configure their saved searches in the plugin config tab. Moreover, it would be awesome if one can quickly invoke a saved search through the command palette.
Thanks for developing this great plugin.

Thanks a lot for sharing your ideas!
I'll check if this functionality can be somehow brought to the plugin - it definitely needs some considerations design-wise.
However since I'm quite busy at the moment it will probably take a bit.


:recycle: Feat: Refactor optimistic hook to being a generator

Description
Return an async generator that yields when optimistic result and write contract result are in
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #779   👈

This stack of pull requests is managed by Graphite.


AMBARI-24231 : Adding additional jars in classpath of ambari views (nitirajrathore)

What changes were proposed in this pull request?
Introduced a new parameter in ambari.properties views.additional.classpath=
How was this patch tested?
Unit test cases were updated to reflect the changes and manual testing also done.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2946/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3726/
Test PASSed.

closed the pull request as further changes were required and the pull request was created from mis named fork branch.


python312Packages.triton build failure on x86_64-linux as of 80d43970

Issue description
Build of python312Packages.triton failed on x86_64-linux as of 80d439701c4018f2f98e8a875dc82d695c3a8766. This is currently breaking python3Packages.torch.
error: builder for '/nix/store/1vbmqjwpgp82cfb3z1p3d8x79xvjps7q-python3.12-triton-2.1.0.drv' failed with exit code 1;
       last 10 log lines:
       >     super().run_command(command)
       >   File "/nix/store/x03rhgdr578lszbh5kgxrngv9xm77gxb-python3.12-setuptools-70.0.0/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
       >     cmd_obj.run()
       >   File "<string>", line 193, in run
       >   File "<string>", line 262, in build_extension
       >   File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/subprocess.py", line 413, in check_call
       >     raise CalledProcessError(retcode, cmd)
       > subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'TritonRelBuildWithAsserts', '-j4']' returned non-zero exit status 2.
       >
       > ERROR Backend subprocess exited when trying to invoke build_wheel
       For full logs, run 'nix log /nix/store/1vbmqjwpgp82cfb3z1p3d8x79xvjps7q-python3.12-triton-2.1.0.drv'.
error: 1 dependencies of derivation '/nix/store/ws0bymfrjk0gndrl5nxrrdj4lh3319k8-python3.12-torch-2.3.1.drv' failed to build

full build log
python3Packages.torch maintainers cc: @teh @thoughtpolice @tscholak
python312Packages.triton maintainers cc:
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit 80d439701c4018f2f98e8a875dc82d695c3a8766
Run nix-build -A python312Packages.triton

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.0-1022-azure, Ubuntu, 22.04.4 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.16.1`
 - nixpkgs: `/nix/store/rf75al161f7w4x0jzygksgvyj9l0bz3h-source`

Contents of ~/.config/nixpkgs/config.nix:
{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tags:<PHONE_NUMBER>43169022<PHONE_NUMBER>317726321

At first glance looks like https://github.com/pybind/pybind11/issues/5224.

I just hit this trying to compile pytorch with cuda (which depends on triton)

One thing I noticed is that nixpkgs is still on triton 2.1 with torch 2.3. I think these should ideally be synchronised (not saying this is the cause of your problem though). I think upstream triton has stopped adding git tags for their releases, hence probably nobody noticed (https://github.com/triton-lang/triton/tags vs https://pypi.org/project/triton/#history),

I think these should ideally be synchronised

why? these are separate projects authored by separated companies

At first glance looks like https://github.com/pybind/pybind11/issues/5224.

An interim "solution": https://github.com/NixOS/nixpkgs/pull/326228/files#diff-12d5872269fe05b4b44d02433ddaf5804f72b72ccda1c3b488d50684ba3cf889R136-R140

I think these should ideally be synchronised
why? these are separate projects authored by separated companies

I think in Nixpkgs torch is still the main user of triton, and I'm not aware of anyone consuming our openai-triton as a leaf node... so maybe synchronization isn't such a bad idea, idk

I think in Nixpkgs torch is still the main user of triton, and I'm not aware of anyone consuming our openai-triton as a leaf node... so maybe synchronization isn't such a bad idea, idk

iiuc we already keep the triton version within whatever constraints the current torch requires. are the version numbers between the triton and pytorch projects linked in some way? perhaps i'm missing something?

fixed by https://github.com/NixOS/nixpkgs/pull/326228


Parse string into int to be on pair with RmlUI's Variant.

Parse string into int to be on pair with RmlUI's Variant. And int from int64 too, just in case.

@eugeneko please review the PR.


SSG export routing missing .html

Bug report
Describe the bug
On an exported site, the routing works via links however the URLs in browser do not get suffixed with .html and therefore if someone wishes to share a link, it does not work.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create next site
Create /pages/test.js and add basic content. Add <Link href="/test">Visit test.js</Link> on index.js
next build && next export
Deploy /out folder to static website hosting
Visit url. Click Visit test.js
Page loads
Copy URL
Goto new tab in browser and paste URL
Page not found error (404)

Expected behavior
Either the route in URL should be .html or the route when copied should work when shared.
System information

OS: any
Browser (if applies) any
Version of Next.js: canary

I kind of also have this issue, with dynamic routes.
I use getStaticPaths which builds correctly the exported HTML files:

/my-dynamic-route-1.html
/my-dynamic-route-2.html
...

But accessing the dynamic page route through the <Link> results in 404.
The path in the browser is /my-dynamic-route-1, which should be fine.
When accessing the page directly with /my-dynamic-route-1.html, it works fine.

My bad, in my case, i just misused <Link />.
Having my dynamic pages as [page].js,
<Link href='/[page]' as={href} /> works.
<Link href={href} /> does not.

@iOiurson thank you that fixed my issue as well.

I'm using 'as' ->
<Link href={"/progress/news-articles/[slug]"} as={/progress/news-articles/${slugify(props.next.title)}}>
Any thoughts from project team please?


fix: displaying header for group chat

Explanation of Change

Fixed Issues

$ https://github.com/Expensify/App/issues/53822
PROPOSAL:
Tests

Tap fab-- start chat
Select a user and create a group chat
Once you are moved to the chat, verify the name of the chat is displayed immediately and "Chat report" is not displayed at all

[x] Verify that no errors appear in the JS console

Offline tests

n/a
QA Steps

// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/06b82a14-2871-45bb-ab72-3632f42c5145

Android: mWeb Chrome

https://github.com/user-attachments/assets/0dd11d65-7019-4d9e-8396-32eb80b17299

iOS: Native

https://github.com/user-attachments/assets/dfec6860-cbb8-46b5-9894-391b5a712b27

iOS: mWeb Safari

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/99165c4e-34e8-4566-8441-83e818dd9e67

MacOS: Desktop
https://github.com/user-attachments/assets/38f7ed00-ee8d-443c-aa00-375157de0209

@shubham1206agra friendly bump for review 🙏

it's now blocked by https://github.com/Expensify/App/pull/54288

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


[elastic] Automatically deploy the artifacts.

We have to create the tag manually to trigger the artifacts deploy, it
is not the desire behavior.

:white_check_mark: Build go-langserver 1.0.134 completed (commit https://github.com/elastic/go-langserver/commit/3d2bb79782 by @movie-travel-code)


[ID] A staff user should not be able to add a new agency

The "Add" button should not appear for a staff user. It should only appear for Admin users.

I can take a look at this

This should be done no?

feel free to close issues @slants3 !
Also, if you say "Fixes #xx" in the pull request, I believe Github will automatically link and close the issue once the PR is in.


Add {.raises: [].} to all proc / defs

Following #68

Also on the manual: https://nim-lang.org/docs/manual.html#effect-system-exception-tracking
{.raises [].}  + --panics:on makes sure that no exception is generated in functions!


Handle browserify-ignored module result for etw logger

Fixes #33224

cc @DanielRosenwasser we'll need to port this patch to 3.6 to fix browserifying TS 3.6 🤦♂

Tell the bot, that's what they're here for! 😁

Hey, I just wanted you to know before we cut a release @DanielRosenwasser
@typescript-bot cherry-pick this into release-3.6

@DanielRosenwasser wanna actually 👍 this?

@weswigham while at it, mind also adding "source-map-support": false to the "browser" field of package.json? this would make typescript bundle with webpack as well. the line requiring this library is inside a try/catch, so it's safe.
I could open an issue though, if you want that issue addressed separately.

Feel free to open - I didn't realize we required that outside the test harness.


Boolean environment variable is not negatable

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
PS> $env:myvar1 = $false
PS> !$env:myvar1
False
PS> -not $env:myvar1
False
PS> $env:myvar1 -eq $false
True

Expected behavior
It should work like for non-environment variables:
PS> $myvar2 = $false
PS> !$myvar2
True
PS> -not $myvar2
True

Actual behavior
Boolean environment variable is not negatable
Error details
No response
Environment data
PS /> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.0-preview.1
PSEdition                      Core
GitCommitId                    7.3.0-preview.1
OS                             Linux <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Environment variables are OS feature and are simple strings - no strong types exist.

Adding to the above the behaviour you are seeing is how the boolean is being casted to a string. PowerShell is essentially doing [string]$false which becomes False as a string when you set the value. When you do -not "False" or !"False" the output is $False because the string value is not equal to $False when you cast it to to a bool. $env:myvar1 -eq $false is $true because it will cast the RHS to a string then compare.

got it, thanks!


Custom sound effects are very delaid..

I used custom killsounds but whenever i kill someone it does not play the sound at the right time.

What format to the custom sounds have to be in? And what directory?

What format do the custom sounds have to be in? And what directory?

csgo/sound .mp3

my bad, i editied the files on audiocity and the files were delaied lol


Fix a crash bug of piped while starting up

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #1050
Does this PR introduce a user-facing change?:

Fix a crash bug of piped while starting up

/cc @nakabonne


Fix timeout for fvp_baser_aemv8r_aarch32

This is a follow-up patch to address https://github.com/zephyrproject-rtos/zephyr/pull/47579#discussion_r917705816 and https://github.com/zephyrproject-rtos/zephyr/pull/47579#discussion_r917580682.
Timeout for tests/posix/common must be still increased (was 120 sec).

failing tests look unrelated. @manuargue - you may need to rebase once there is a fix in

failing tests look unrelated. @manuargue - you may need to rebase once there is a fix in

tests seems to be fixed @cfriedt, I have rebased main. Would you mind to please have another look and approve the changes if there's no further comments? Thanks

cc @carlescufi

cc @carlescufi

Hi @carlescufi, may I have your review on this pr? Thanks


update to python3

The server is written in python 2. Update to python 3.

I just wanted to bring attention to this issue since it hasn't seen any progress in almost 3 years. Because Python 2 has reached end of life as of January this year, Linux distros and FreeBSD (and probably many other OSes) are dropping Python 2. Consequently, software which relies on Python 2 is also being dropped or, at the very least, features which rely on Python 2 are being disabled. So I hope this issue receives some attention in the near future.

This is good.


New Edit Cycle form load architecture and UI for "Details" section (Section 1/4)

Code overview:

Loads an Ant-D form into a react context.
Loads project FC data from redux, converts to formData object and passes into <Form with initialValues.
Where necessary, updates form values from the context.
New UI components and UI complete for the Details section (Section 1/4) (fixes JB-546)

UI:
https://github.com/jbx-protocol/juice-interface/assets/96150256/8be1ffaf-a8bd-4707-b518-45539d20ff1a

When I open, nfts is already highlighted despite doing nothing

http://localhost:3000/v2/p/1/settings/cycle

Is the formatting difference between duration and deadline expected - i.e, the colors?

borders on dark mode are wrong color

 Is the formatting difference between duration and deadline expected - i.e, the colors?

This is because of the input min value of 1. I agree it's a bit jarring so I've changed min-value to 0 so the red doesn't show

 borders on dark mode are wrong color

Fixed:


Fix macro name typo to enable HDF5 compression

This was noted in #45. In the past the macro was defined (with the typo)
within the same file, but later on its definition was moved out to the
cmake infrastructure, where the correct spelling was used, hence the
incorrectly-spelled #ifdef block now always evaluate to false.
Since the names used to define and check the macro matched in the past,
I suspect the code within the #ifdef block was indeed exercised at some
point, and that it is correct (and at least it doesn't look obviously
incorrect). Hopefully this is still the case, and we won't be
introducing a new bug by allowing this code to compile.
Signed-off-by: Rodrigo Tobar<EMAIL_ADDRESS>

I created the PR hoping that the Travis builds would maybe kick -- but they didn't, because our free credits ran out since they changed their pricing model. I checked locally that this compiles though, hopefully that will be testing enough for now.


Live demo: Cross-Origin Request Blocked

I'm trying to zoom the interactive "Yellow taxi pickup locations in New York City" plot on the web site http://vaex.astro.rug.nl/, however in the browser console I observe the following messages:
13:31:14.782 do debounched ajax call
hello.js:51:17
13:31:14.783 debounched ajax call
hello.js:75:13
13:31:14.783
Object { widget_manager: {…}, state_change: Promise { "fulfilled" }, _buffered_state_diff: {…}, pending_msgs: 0, msg_buffer: null, state_lock: null, id: "08ced375127f4de7be13a63e2e4e65ee", isNew: constructor/this.isNew(), views: {}, comm_live: false, … }
hello.js:77:13
13:31:14.785
Object { expressions: […], variables: [], f: "log1p", virtual_columns: [], size: […] }
hello.js:79:13
13:31:14.787
Object { limits: "[[-73.95398471742892,-73.91576366890979],[40.719841585654585,40.751078493433006]]", expressions: "[\"pickup_longitude\",\"pickup_latitude\"]", variables: "[]", f: "\"log1p\"", virtual_columns: "[]", size: "[600,600]" }
hello.js:86:13
13:31:14.811
GETXHR
http://www.astro.rug.nl/~breddels/cgi-bin/proxy.cgi/jansky:9002/datasets/nyt2015/image_rgba_url
[HTTP/1.1 500 Unexpected Error 169ms]
13:31:14.983 ajax error...
hello.js:92:21
13:31:14.982 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://www.astro.rug.nl/~breddels/cgi-bin/proxy.cgi/jansky:9002/datasets/nyt2015/image_rgba_url?limits=%5B%5B-73.95398471742892%2C-73.91576366890979%5D%2C%5B40.719841585654585%2C40.751078493433006%5D%5D&expressions=%5B%22pickup_longitude%22%2C%22pickup_latitude%22%5D&variables=%5B%5D&f=%22log1p%22&virtual_columns=%5B%5D&size=%5B600%2C600%5D. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

It seems the new "zoomed" data is not coming to the client due to this error. Could it be fixed?
A side question - are there any instructions how to embed this kind of interactive plots to a Jupyter notebook?

Fixed, the server was not running! Thanks for reporting.


ETPAND-9585: TrueX Integration

Add support for TrueX ads.

Feel free to ignore everything in the /ext/ima folder with the exception of the two methods I mention above that are the only modifications, everything else is a copy of the official Exoplayer IMA extension.


Successful user registration should trigger a login

This can be done by copying some code from user_login() view into the register() view.
Making this change would introduce another problem. When successfully registered, the user be redirected to the logged in homepage, but wouldn't seen message that indicates that registration was successful. What we need here is a notification message that gets shown on the logged in page if registration is successful.

Should the notification be in logged in page itself or some kind of pop-up alert?

What I had in made was an in-page overlay, not a pop-up window. Something like this:
http://getbootstrap.com/components/#alerts

Ok, got it


Remove django less then 1.7 from test

this is intended to get merged in future as 1.8 is the min supported version so its not practical to keep 1.4 1.5 1.6 supports. and python 2.6 3.2

@justquick inputs?

going to deprecate the older django versions soon in the 0.7.0 release and ill b sure to include this

django 1.10a1 is released. should I send a PR to support that? and removing less then 1.8 versions?

PRs are always welcome. Id like to support Django>=1.7 for the 0.7.0 release (deprecate django 1.4-1.6 and python 2.6)

then you could merge this as is :dancer:

done


Unable to use screensaver as second user on device (iMac)

General troubleshooting tips
Before logging an issue please check that:

[x] You have the latest version installed (There may be a beta version that fixes your issue), see here for the latest releases and bug fixes: https://github.com/JohnCoates/Aerial/releases
[x] Your issue isn't already mentioned in our issues. You may find a workaround there or a similar request already made.
[x] Your problem isn't mentioned in the troubleshooting page.

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.
Required information
In order to help us sort your issue, we ask that you provide the following information:

[x] Mac model: iMac 27" 2020
[x] macOS version: v11.1
[x] Monitor setup: built-in display

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
I have installed Aerial as the root/admin user for this machine. When I login to my child's account, the screensaver is not listed as an option. When attempting to install by running the Aerial Companion.app, it shows in the menu bar and notes that the plugin is not installed. After clicking the button to "Install" the plugin, this error screen appears:

I didn't see anything else related to multiple users. This is a personal/household device with no MDM except for Apple's own parental controls enabled.

Hey there @seventhaxis
So because of the sandboxing sadly, Aerial needs (well, this is complicated but let's assume for that to be correct) to be installed for each users and have its own cache for each user, which is not great. That's part of the limitations of sandboxing introduced in Catalina.
So that's why you need to install twice. As to that error, that's pretty weird, I'm not sure if it's the parental controls that blocks network for companion or something ?
I would suggest instead installing manually if you don't mind, please download this : https://github.com/JohnCoates/Aerial/releases/download/v2.2.4/Aerial.saver.zip
Then open the zip, double click, install for your user only (if you install for everyone it makes a mess). Then you should be good.
I never tried a parental control account but I can give that a look next week if needed.


Office 365 Connected Services

Use demo 03 as sample project for Office 365 Connected Services and update ida properties

Thanks @drielenr! I merged these into a dedicated branch: Office365-ConnectedServices.


help with repo

@marcusklaas dropped you an email but if you'd like someone to help process through some of the PR's and issues I'd be willing to do that. I'd really want your help in review to start as my Rust skills are still developing.
Also, if others are willing to join a small group to help maybe you could express your interest here?
I think this repo is a fantastic contribution to open source and i'd love to see people attempts to contribute via PRs especially be brought into the fold and keep this repo smelling of roses. :)

I'm definitely in favor of someone with time and motivation helping out, and it's a great way to grow those skills. Maybe a brief video chat to go over expectations, then we can make give you permissions. If Marcus is available, we can both participate.
A few overall words about the direction of the repo. We get a pretty steady stream of issues and PRs that in one way or another expand the scope. Very often nonstandard extensions (which I'm resistant to as a matter of principle, as I feel the Markdown world is fragmented enough), but also more types of processing and rendering for a particular application. Personally, I like the idea that the scope of this crate is limited. We definitely prioritize the use in rustdoc, and they're a good downstream - surfacing actual bugs and improvements.
Other things, like documentation improvements, are much more fine, and there it's mostly having bandwidth to review, etc.
That said, we could probably be better about communicating, as letting a PR sit unanswered is not a great experience. Having someone to do first line of review, and escalate things that might require more thought, would be great, and it sounds to me like you're signing up for that.

Sounds great. I'm currently spending most of my time in Los Angeles so GMT-7 but I have a flexible schedule. Happy to setup a zoom/video call to discuss. My email is<EMAIL_ADDRESS>if you want to send a meeting request.

I for one appreciate the limited scope and maintainers keeping this tool from growing into a monster. Possibly surfacing enough API that other projects could extend it with custom parsing could be considered, but I don't really want to see this library grow too complex. I only reach for it when I know I'm dealing with strict common mark. I have plenty of other Markdown content too, but I tend to think expanding the scope of this project ta handle a million extensions like, say, Pandoc does would just bring more bugs and difficulty and degrade the overall usefulness this provides in speed and correctness.

@alerque just to be clear ... I agree too ... focus is important. What I think is helpful fits into the following categories:

any and all documentation or example based PR's should receive quick review and acceptance if they meet quality standards
any additional tests that are added as a PR which help to explain functionality or extend confidence in test coverage should also receive expidited accepance as they only help to promote a shared and testable understanding of functionality for core.
fixes like the "checklist" bug that was reported, a PR created to fix it which initially passed all test but then aged without merging should be avoided ... this feels like an indicator of "busy people" not closing out a closable process or possibly a belief that the current tests aren't enough to simply merge a PR like this.
any feature requests that might extend scope should be immediately tagged as a feature-request to provide a visible distinguishing characteristic from an "issue" (which it is not). Then in a non-urgent manner these feature requests should be considered with an eye to rejecting more than accepting them ... also "acceptance" should be given mainly only if the author of the suggested feature is willing to author the PR (with the goal of avoiding "nice ideas with no resource attached" rarely reach the finish line)

In general my goal is to just to add some additional bandwith to the team if that's helpful and I'm not pre-supposing that this comes at no cost in adding someone new which is why as a first step I think a Zoom call probably does serve as a good first step.

Note: beyond my genuine desire just to help I would love to have other's greater Rust skills (as well as knowledge of pulldown parsers) rub off on me as I am learning daily but don't consider myself an expert in this. I mention this just to be as much of an open book on my interests as I can be

I have just joined as a maintainer and any help would of course be appreciated.
If any of you also want to be a maintainer, you should talk to @raphlinus. Otherwise, pull requests and issues will be carefully reviewed (but that could take some time).
Thanks.


An extremely specific custom note.

What is your question?
I am currently working on a mod, done exclusively in lua.
Due to some really dumb coding shenanigans that I can't fix (certified code spaghetti, please don't ask), I need to recreate the GFSing notes, but completely hidden. GF would still sing, but nothing would be shown, including not showing the strumline animations. I've set basically everything up, but the disabling of strumline animations, and actually getting gf to sing... - I wanted to know whether or not doing those are possible just for the invisible GF note.
Inside of the invisible GF notes, here is what I currently have (this works):

And I wanted to know if there was just a property of some kind that disables the strumline's animations / get GF to sing or if I'm going to need to do more hacky code to get this to work some other way.
Thanks!

more hacky code or fix sprite

Instead of an entire custom note, you could use the already implemented "playAnimation" event in the chart editor, wich, well, just plays the animation of a character, without the strumlines activating.
In this case, the first value for the event is "gf", and the second value for the event should be one of these, depending on the direction you want gf to sing:
singLEFT, singDOWN, singUP, singRIGHT


adding Atlas About page text

at the end of the file strings of Atlas About page were added for translation in POT format

Since text (with its translated versions) will be stored in assets and not on FE, it would make more sense to store it in related repository (e.g. User Profile Service)

Since text (with its translated versions) will be stored in assets and not on FE, it would make more sense to store it in related repository (e.g. User Profile Service)


Add Get-Excel TableItem | TableContent functions

Model after Get-ChildItem and Get-Content.
Look to implement so table info and contents can be retrived by either name or index.

does It imply that a table should be a table technically not just a visual table?

Not sure why I miss some of these "messages".
Good question. Could you say a bit more? This would be based on the tables collection in the xlsx/sheet

Xlsx/sheet can contain both tables as excel objects (technical table) and tables as just sets of cells (visual table). What kind of tables do you mean?

Not just a set of tables.

Prototype to start with:
https://github.com/dfinke/ImportExcel/blob/master/GetExcelTable.ps1

@scriptingstudio Pop that puppy in a PR 🙂


Add Additional Ecosystem Projects

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[ ] You have updated the .github/CODEOWNERS file according to your changes.
[ ] You have registered new documents to /sidebars.js if any.

Thank you for the review, @jessiemongeon1!


Absolute path url arguments do not get merged with current domain before passing through to share targets in fallback mode

I'm honestly not sure if this is documented behavior of the Web Share API but I'm seeing diverging behavior in this instance:

Call navigator.share with the url argument as a /-prefixed path, like /articles/123/
Native navigator.share interprets that into <protocol>://<current-domain-and-port>/articles/123/ when passing through to share target. Kind of how the href of an <a> element is understood correctly when it's just /articles/123/.
Polyfill fallback behavior does not do this and just passes through /articles/123/ as the "URL" to any share target.

I'm happy to work on this as a PR to this project but wanted to propose it first and get approval before investing the work.

It could be done very simplisticly by checking if the first character of url is the forward slash. If it is, then prepend window.location.origin to the given url. That would be consistent with the native Share API.
I think the native Share API throws an error when only the host is given without the protocol, i.e. example.com/articles/123 throws an error whereas https://example.com/articles/123 does not. So the polyfill should ideally throw an error in the case of a host without a protocol.

Sounds good. Happy to push a PR with that in a bit here. Thanks for getting back to me!

As you said yourself, I'm also not sure if this is documented behavior. I tested it on the new chromium-based Edge desktop browser. There, the protocol and host are prepended to absolute paths starting with /.


Fixed union representation unsoundness, bumped version to 0.2.18

Current nightly is failing due to a (reported) ICE, I just tested this locally for nightly.


Navbar created

The navigation bar is a map of the website. It could guide users in a clear and logical structure to get information in a quick way. it also reponsive for mobile users.
https://user-images.githubusercontent.com/69524541/137535766-f647799c-dadd-4d81-b404-cedf401336c2.mp4

You can check it now and let us know, if you want an update.

Nice work, Looks good to me.
Although I am not sure about one thing, In the meeting there was a discussion about setting icons, I am not sure if this is referring to the hamburger button in the small screen sizes or a setting icon in the top right portion in all dimensions.
Maybe @grace-omotoso can help with that.