Support for actors expressed as async/await fuctions?

Do we want?? Do we not want??

Correct me if I'm wrong but you can always run an async runtime inside a blocking function (such as inside actor's handle). There also exist tiny single-threaded executors that could make this quite viable.
This is obviously wasteful when you want to have many such actors, so I suppose the point of this issue is instead to run a single runtime that the async actors can run on top of?
Another consideration is that async frameworks typically use tasks as units of execution and take care of running them on their own thread pools (at least in case of multithreaded executors such as the work-stealing one in tokio), so it differs from the current one-thread-per-actor model. OTOH, many systems support both these options (dedicated threads where necessary, thread pool for simpler tasks), so it sounds like a net benefit.


Ocis needs both oidc and ldap?

This is just a general question because i don't exactly follow. Does ocis need both oidc and ldap for external user management? I want to use it with conjunction with authentik and this is the first time i encounter this combo. I'd rather it only use oidc for IDP, so just wanted some clarification of this.

Ocis uses LDAP to store the users internally.
You can use ocis with authentik in "autoprovisioning" mode. That means, it will add any new users during first login. That will also mean, that you can share only with users which have logged in al least once.
The external LDAP server brings two advantages:

It scales better. E.g. an openLDAP server is proven and stable technology. The build in ocis LDAP is only for small deployments.
All users are available for sharing immediately

Oh, so the ldap is an internal ldap server for ocis only?

Oh, so the ldap is an internal ldap server for ocis only and it's internal use?
It is an LDAP server which only supports a sub-set of LDAP operations https://github.com/libregraph/idm

It is included in the ocis single binary to have an "out of the box" ready to start solution.

@micbar Thanks for the info! I'm gonna try it now


Revert "Preserve weights for prefix and range searches."

Reverts vespa-engine/vespa#32500
@geirst : please review

Revert not needed.


Tailwind V3 feedback

I am going to do some changes about tailwind v3 on the branch util twin v3 release.
If you have any requests, questions or something else, comment below.
Download the preview version to try v3 features.

2022/06/10 Update:
New prerelease version is published, download link

2022/06/15 Update:
New prerelease version is published, download link

2022/06/16 Update:
New prerelease version is published, download link

2022/06/25 Update:
New prerelease version is published, download ver. 3.0.0-rc.4

2022/07/26 Update:
New prerelease version is published, download ver. 3.0.0-rc.5

2022/09/01 Update:
New prerelease version is published, download ver. 3.0.0-rc.6

Update to 3.0.0-rc.0 will report an error when using like text-black/[.02]
By the way, can you hint out the alpha value like this?

Nested groupings can break syntax highlighting

Or using the grouping syntax on a single line in styled.div will also break the highlighting

But no problem with multiple lines

Update to 3.0.0-rc.0 will report an error when using like bg-black/[.02] By the way, can you hint out the alpha value like this?

I will fix/add these in next version.

Nested groupings can break syntax highlighting

The bug comes from vscode-styled-components at this line, it matches the string pattern:
))`

I not sure what I can do.
Workaround: Just disable vscode-styled-components or add some characters(like space) before the backtick to break vscode-styled-components's regex rules.

Thank you so much for the survey!

Is there a reason why you don't release it on Marketplace?

@lightyen Hi, I just upgraded a project to use twin beta rc5 (3.0.0-rc.5) and have reinstalled your VS Code plugin, and restarted VS Code after doing so, but am getting highlight errors on the newer custom properties syntax:

Is that syntax supported yet? I'm not sure when @ben-rogerson is planning on rolling out V3 but supporting this syntax would be helpful for our team! Thanks for your excellent work!

Is that syntax supported yet?

@mosesoak That syntax is supported already. Did you have installed tailwindcss-intellisense-twin-3.0.0-rc.6.vsix? The source id should be "twin"(not "tw").

vscode-tailwindcss-twin v3.0.0 has been published and it may be the last version I maintained.
I switched my projects to twobj and not use babel-plugin-macros anymore.

Thanks -- this is great, works perfectly so far!
So, you mean that you've written your own utility and aren't using twin.macro at all any more? Does yours support emotion styled components?


[Tidy] Remove redundant layout updates

Description

Remove legacy layout updates (are defined in a cleaner way later where we first check whether these arguments are provided by the users -> if not overwrite)

Screenshot
Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

I was making exactly the same change as part of a PR that's coming soon 😀

I was making exactly the same change as part of a PR that's coming soon 😀

haha, I just noticed after you've asked me the question yesterday of what stays😄


Cannot click on element inside draggable after initial selection in Edge and Firefox

I'm having this issue with vue.draggable, but as that just wraps sortable I'm raising the issue here.
Link to issue there: https://github.com/SortableJS/Vue.Draggable/issues/841
Example of issue:
https://codesandbox.io/s/eager-rgb-guk15
This will work correctly in Chrome, but fail in Edge and Firefox.
Click into an input field, and then try to click again to move the cursor to a different position.
Input field does not receive/respond to the click, cannot select the text, but can drag the element.
Input field should receive/respond to the click after the initial selection in all browsers, allow for moving the cursor and selecting all with double click (as is possible in Chrome).
"vuedraggable": "^2.23.2",
"sortablejs": "^1.10.1"

possible duplicate
https://github.com/SortableJS/sortablejs/issues/972

Hello, did this issue actually got fixed? Or a patch can be done?
I've tried a few solutions found from the links obtained via #972 but they don't seem to work.
Thanks for the help :)

This now works in edge but still fails in Firefox.


License?

I am certain I am just missing it -- but I can't seem to find the license for this?

It seems like a ton of documentcloud projects contain no license files -- is there some global license documented somewhere?

Hey @robertmeta it's MIT licensed which is noted in the Gemspec, but i should probably stick the actual MIT notice in the repo.

Here you go: 9a5a46d


resuming read looks broken from mongdb to Elasticsearch

I am using the resuming functionality from v0.4.0, but that seems not working as expected.
I am sync from mongodb to elasicsearch.
I run as following config:
t.Config({"log_dir":"/data/transporter"}).Source("source", source, "/./").Save("sink", sink, "/./")
Here is step:

./transporter run pipeline.js
The first time run will send all data from mongodb to ES, then quit. I see all data in ES.
I checked following:
./transporter xlog -log_dir=/data/transporter/ current
261048
./transporter offset -log_dir=/data/transporter/ list
+------+--------+
| SINK | OFFSET |
+------+--------+
| sink | 261048 |

This looks correct so far

Run again: ./transporter run pipeline.js
./transporter xlog -log_dir=/data/transporter/ current
261099
./transporter offset -log_dir=/data/transporter/ list
+------+--------+
| SINK | OFFSET |
+------+--------+
| sink | 261048 |
The sink number keep the same, and not updated.

Run again: ./transporter run pipeline.js
The it will report error:
NFO[0002] existing messages in commitlog, checking writer offsets...  name=source newestOffset=261100 oldestOffset=0 path=source type=mongodb
INFO[0002] offsetMap: map[clusterstatus:235759 systemstatus:260842 zkservers:261048 arcusalarm:2002]  name=sink path=source type=mongodb
INFO[0002] adaptor Listening...                          name=sink path="source/sink" type=elasticsearch
INFO[0002] searching segments                            num_segments=3 offset=261048
INFO[0002] boot map[source:mongodb sink:elasticsearch]   ts=1495696884016045320
INFO[0003] found offset position                         offset=261048 position=92693400
INFO[0003] waiting for all children to resume...         name=source path=source type=mongodb
INFO[0003] adaptor Resuming...                           name=sink path="source/sink" type=elasticsearch
INFO[0003] still resuming...                             log_offset=261099 name=sink offset=261048 path="source/sink" percent_complete=99.98046717911598 type=elasticsearch
INFO[0003] offset of message sent down pipe matches newestOffset  name=sink path="source/sink" type=elasticsearch
INFO[0003] all messages sent down pipeline, waiting for offsets to match...  name=sink path="source/sink" timeout=1m0s type=elasticsearch
INFO[0003] checking if offsets match                     name=sink path="source/sink" type=elasticsearch
INFO[0003] offsets did not match, checking again in 5 seconds...  name=sink newestOffset=261099 path="source/sink" sink_offset=261048 type=elasticsearch

thanks for the report!
I assume you're not using the tail option for the source mongodb adaptor?
what were the logs after running the 2nd time?
you state it errors on the third run but I don't see anything in the log snippet provided?
what is the database version you're targeting for MongoDB and elasticsearch?

@beatsuser were you about to figure out what was going on or are you still seeing the issue?

@jipperinbham i came across the same issue. It seems like it is an issue with go channels.


Columns and tables autocomplete/proposal not working properly

Hi.
Since version 6.0.3 or maybe even earlier I'm having an issue with autocompletion of column and table names.
What I expect (and it did work like that) is when I start typing it would suggest me table names (perhaps only from those I've already put in FROM and JOINs) and then after I put a dot after the table name it would suggest me columns from this table.
What I get is when I start typing it would suggest me columns from the table set in FROM. It's not really helpful in "bigger" queries where some columns have the same names in different tables.
Changing settings Use short object names and Use long object names doesn't seem to help. Currently I have enabled the Use short object names setting.

It seems that it got fixed in 6.1.2

This is still an issue for me in 6.1.4
OS X Mojave 10.14.6 (18G87)


Some release prep and cleanup unused imports

This looks fine to me.  :+1:

As an aside, if frameless is going to officially constrain support to 2.11+, we should look to removing 2.10-specific support mechanisms from the codebase.

I think we should publish the dataset stuff for 2.10 if that's just a matter of configuration, I will try to free some time to see if I can do something useful with dataframes for 2.10.


Question: Does rclone contact githut for module import

Hello,
I"m interested in using rclone, but noticed that some of the files are imported from:
"github.com/ncw/rclone/fs", "github.com/pkg/errors"  as an example.
My question is, does rclone do this for all transactions? Also, can these modules or libraries be installed locally instead so the program does not have contact github every time?
Thanks!

Those files are only imported when compiling rclone. Once rclone is compiled then it doesn't fetch anything from anywhere. When you download it, it is already compiled.

Hopefully that answers your question!

Yes it does. Thanks very much!


Error if dot is used instead of colon at the start of block

Example 1:
define variable iEntries     as integer no-undo initial 4.
define variable iLine        as integer no-undo.

do iLine = 1 to iEntries - 1.
  message iLine.
end.

Example 2:
class Testings:
  constructor public Testings(databasename as char):
    message "create " + databasename.
  end constructor.

  method public void stuff(  ).
    message "hi".
  end method.
end class.

Method with a dot in the end can only be defined in an interface class and it is called a method prototype. It can't have a body.
With do block, I need more reference to register this as an issue.
@gustason please check this and provide more information if possible.


Issue 240 - REST APIs for validating and creating workspaces

Added 2 new views for creating and validating workspaces.
Added a TODO in storage/models.py for how to handle broker-specific warnings based on the outcome of the NFS broker changes.
Added a TODO in storage/test_views.py for testing a validation warning when changing the broker type. I had to temporarily hack around the fact that a 2nd broker (nfs) doesn't exist yet.

TODO comments are now resolved after merging in the broker changes.

LGTM


Update configure-custom-container.md

@eimajtrebor : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


chore: bdd-spring-1578415453 to 0.0.1

chore: Promote bdd-spring-1578415453 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


MIDI Sound mixer Const file

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

I am merging this and will fix up soon. Thanks.

—— you.


feat: Allow to share products

What

Allows to share products from the product page.
Added a third button to the action bar on the bottom of the product page
Modified the code a little bit so that they are equally split up
Fixes: #2285

Thanks for your review @monsieurtanuki had in mind that we have such a method but while searching I stumbled across buildUrl (for images) and thought that my mind tricked me. Thanks for pointing out.
Also added a call to matomo


Standardise the prelude

group_values is gone because it's silly (higher order functions!!!)
snake case
return which just promotes Pure to Aggregate at the query top level

@amosr

Would be good to discuss how prelude should be versioned. In an ideal world I feel something like the following would be nice:

Prelude is explicit import (or at least can be disabled).
Prelude is always kept versioned, prelude-1.0.icicle, prelude-2.0.icicle, prelude-2.1.icicle.....
It is possible to, and by standard internally we always, import an explicitly versioned prelude
There is some sort of convenience mode that grabs the latest one, but would be primarily for demonstration/educational purposes.

that sounds doable (and sensible).
it would also mean changes to the prelude wouldn't affect all the tests (which are most of the changes here), if we pinned the majority of the test cases to prelude-0.

Should we publish the prelude as a separate thing from ice/icicle-repl, that can be installed with payload or appshop?

I'm not sure. I'm tempted to keep them in Icicle, in case future versions of the prelude depend on newer version of Icicle?


Python 3.6+ and Pytorch 1.0+

Made the necessary changes to port the code to python 3.6+ and pytorch 1.0+.
https://github.com/davidstap/AttnGAN

Made the necessary changes to port the code to python 3.6+ and pytorch 1.0+.
https://github.com/davidstap/AttnGAN

Thx, I can reproduce the results in this paper by your repo.


Terminal failure on Windows 10 for command prompt and powershell

Type: Bug
terminals for command prompt (cmd) or powershell 7 seem to be not starting correctly. It is not possible to write commands even to the cmd terminal window or run/debug powershell scripts.
The terminal only shows an empty screen, no inputs are possible. I've installed VSC many times on Windows client and server sytems, also on Ubuntu clients, everywhere it is working fine, only on this specific system I have this problem.
What I have done:
-) verified configured path in vsc to cmd (C:\WINDOWS\System32\cmd.exe)
-) verified configured path in vsc to pwsh (C:\Program Files\PowerShell\7\pwsh.exe)
-) restarting vsc
-) removing/installing vsc
-) removing vsc, removing .code folder from users directory, removing Code Folder from AppData/Roaming, installing vsc

I did a Google search (KW 'VS Code can not type into terminal'), but all advises which are modifying some settings did not help.
Thanks in advance.
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 6.0.6000
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: unavailable_software

Load (avg)
undefined

Memory (System)
95.78GB (64.04GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

powershell
ms-
2024.2.2

Yes tried it with 1.92.0. too, but the problem was the same. My company IT is installing the product and they are always some versions behind, but in this case it does not help

Can you share your settings.json file and also do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging
/label info-needed terminal

settings.json
terminal.log
Thank you

It's using the canvas renderer, which we no longer support. Does changing the value of terminal.integrated.gpuAcceleration fix it for you?
2024-08-05 07:06:18.149 [trace] [282f241] Canvas renderer was loaded []
2024-08-05 07:06:18.674 [debug] [282f241] Terminal process ready (shellProcessId: 14880) []
2024-08-05 07:06:18.697 [debug] [282f241] terminalInstance added capability [3]
2024-08-05 07:06:18.783 [debug] [282f241] parsing data "
 *  History restored

 *  History restored " [[13,10,27,91,55,109,32,42,32,27,91,49,48,52,59,50,55,109,32,72,105,115,116,111,114,121,32,114,101,115,116,111,114,101,100,32,27,91,48,109,13,10,13,10,13,10,27,91,55,109,32,42,32,27,91,49,48,52,59,50,55,109,32,72,105,115,116,111,114,121,32,114,101,115,116,111,114,101,100,32,27,91,48,109,27,91,50,66,27,91,50,49,68]]
2024-08-05 07:06:18.783 [debug] [282f241] terminalInstance added capability [2]
2024-08-05 07:06:19.337 [debug] [282f241] Terminal process ready (shellProcessId: 18816) []
2024-08-05 07:06:19.384 [debug] [282f241] terminalInstance added capability [3]
2024-08-05 07:06:19.405 [debug] [282f241] parsing data "
 *  History restored

 *  History restored " [[13,10,27,91,55,109,32,42,32,27,91,49,48,52,59,50,55,109,32,72,105,115,116,111,114,121,32,114,101,115,116,111,114,101,100,32,27,91,48,109,13,10,13,10,13,10,27,91,55,109,32,42,32,27,91,49,48,52,59,50,55,109,32,72,105,115,116,111,114,121,32,114,101,115,116,111,114,101,100,32,27,91,48,109,27,91,50,66,27,91,50,49,68]]
2024-08-05 07:06:19.406 [debug] [282f241] terminalInstance added capability [2]
2024-08-05 07:06:19.429 [info] [282f241] Latency measurements for local backend
window<->ptyhost (message port): 519.50ms
window<->ptyhostservice<->ptyhost: 31.90ms
ptyhostservice<->ptyhost: 2.08ms []
2024-08-05 07:06:19.462 [info] [282f241] Latency measurements for local backend
window<->ptyhost (message port): 2.00ms
window<->ptyhostservice<->ptyhost: 16.00ms
ptyhostservice<->ptyhost: 2.01ms []
2024-08-05 07:06:23.764 [trace] [282f241] terminalUriLinkDetector#detect computedLinks [[]]
2024-08-05 07:06:23.795 [trace] [282f241] terminalMultiLineLinkDetector#detect text [" *  History restored "]
2024-08-05 07:06:23.796 [trace] [282f241] terminalLocalLinkDetector#detect text [" *  History restored "]
2024-08-05 07:06:23.796 [trace] [282f241] terminalLocalLinkDetector#detect parsedLinks [[]]
2024-08-05 07:06:23.797 [trace] [282f241] terminalUriLinkDetector#detect computedLinks [[]]
2024-08-05 07:06:23.845 [trace] [282f241] terminalUriLinkDetector#detect computedLinks [[]]
2024-08-05 07:06:33.888 [trace] [282f241] terminalInstance#ctor (instanceId: 3) [{}]
2024-08-05 07:06:33.907 [debug] [282f241] Unbinding from mouse events. []
2024-08-05 07:06:33.918 [trace] [282f241] Canvas renderer was loaded []
2024-08-05 07:06:34.277 [debug] [282f241] Terminal process ready (shellProcessId: 12904) []
2024-08-05 07:06:34.291 [debug] [282f241] terminalInstance added capability [3]
2024-08-05 07:06:34.301 [info] [282f241] Latency measurements for local backend
window<->ptyhost (message port): 0.70ms
window<->ptyhostservice<->ptyhost: 1.40ms
ptyhostservice<->ptyhost: 0.67ms []

No sorry, it did not help, I tried it already, found it in some google search results. Tried it now with all allowed values (on, off, auto)
terminal.log
settings.json

are there any errors in the dev tools console ? Help -> Toggle Developer Tools -> Console?

No errors in the console:

In the mentime my company has updated to version 1.91.1, but the problem is still the same

can you provide the logs using the newer version?

20240808T101234.zip

nothing looks suspicious in either the terminal or the ptyhost logs, so I am not sure what is happening. @Tyriar any thoughts?


MA starts playing for unknown reason

What version of Music Assistant has the issue?
2022.7.0
The problem
After update to latest version it happens that suddenly MA starts playing on it's own.
How to reproduce
I don't know, happened 2 times now.  started once in the middle of the night. Only thing is that I started Home Assistant with the mobile app (but not when it started in the middle of the night).
Relevant log output
No response
Additional information
Maybe add a STOP button next to the others so the player can also be stopped instead of only PAUSE
What version of Home Assistant Core are your running
2022.7.6
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Google cast speakers?

Probably Google Cast also but also Sonos. Happened last evening and last
night. I was not at home. Neighbors complained about my outside sonos
speakers playing. Last time I played was in a group together with both of
them. When I looked in the Google app the players from the group where
playing. I paused it last evening. This morning I checked and saw (and
heared via the webcam) that again music was playing. I paused again and
changed the speaker to one inside the house just in case it happens
again....
Kind regards
Wim
Op zo 24 jul. 2022 09:56 schreef Marcel van der Veldt <
@.***>:

Google cast speakers?
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/721#issuecomment-1193267359,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATGL2WTYMJHEHAEEJUVAOX3VVTZMJANCNFSM54PGCY2A
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have had this happen once with a group of Google speakers.

Hi Marcel, maybe related to my group cast interrupted by a new child player powered up and started playing its own queue?!

So far, I have experienced this two times on a single google cast speaker (nest mini) in a group two cast-devices a few minutes after an announcement was played.

I just experienced this with a sonos as well,straight after a home assistant restart. Couldn't find any info in the log

I will take a look at it tonight.
Dit bericht is verzonden via mijn mobiele telefoon.

Van: Marvin Schenkel @.>
Verzonden: Sunday, July 24, 2022 4:50:36 PM
Aan: music-assistant/hass-music-assistant @.>
CC: Marcel van der Veldt @.>; Comment @.>
Onderwerp: Re: [music-assistant/hass-music-assistant] MA starts playing for unknown reason (Issue #721)
I just experienced this with a sonos as well,straight after a home assistant restart. Couldn't find any info in the log
—
Reply to this email directly, view it on GitHubhttps://github.com/music-assistant/hass-music-assistant/issues/721#issuecomment-1193333200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQYAFFBXKZO2EUPYUDUEXTVVVJ3ZANCNFSM54PGCY2A.
You are receiving this because you commented.Message ID: @.***>

I don't know if this is helpful, but this happens to me everytime I reboot. Funny part is, it plays the very first song I used as a test after install on the first device I used to test on. I can play a bunch of stuff on different devices using it, but as soon as I reboot, boom Motorcycle Drive By starts on my bathroom speaker

Happened here tonight as well. Don't know why home assistant rebooted at all two times.
But after that music assistent initializes seemingly normally. And then started playing 2x after each reboot on my Sonos speakers. Interestingly also our fire tv powered our tv up at like 2am and showed some previews. My wife was pissed with me.

For me it also happened twice, both after a HA restart (initiated by myself because if HACS updates)

I have found the cause of the issue. Will provide a fix first thing tomorrow. Thanks for the patience!

Hi Marcel,
I figured out that Powering up a new player indeed can trigger this, but only if the player is not yet in de MA player list (so after a restart) and has a queue defined from earlier sessions

I have an automation which switches a radio station at 14:00 on my Nest Mini.
It just triggered, and instead of playing the radio stream, it started playing MA.

MA is more dominant 😉

I've just released patch version 2022.7.1 which should fix this issue.
If you still experience any issues after updating to 2022.7.1 please let us know, thanks!


fix debian/ubuntu download anchor

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Security: Weaveworks has shutdown !

Weaveworks and now it's domain has been closed since February 2024,
and yet, non of the repos, or issues mention the future of this org on github, who is currently maintaining it, and same goes for Flux:
https://www.linkedin.com/posts/richardsonalexis_hi-everyone-i-am-very-sad-to-announce-activity-7160295096825860096-ZS67/
https://fluxcd.io/blog/
There's no public notice for the current state (here), as a devops engineer which previously used fluxcd and weave-gitops in the past,
There are big questions as to the safety of using this product, someone can 'easily' do an hostile takeover of this org and integrate malicious code into future update, essentially using this repo and org as supply-chain attack surface..
I would expect some explanation on the README.md of all currently still active repos under this org to address these concerns,
and maybe also poke the fluxcd blog to acknowledge the now defunct weaveworks, since, they also still have links and testimonials on their main site..
P.S I've looked through the issues, to find some acknowledgment, but all I have found are issues like #4235
and not something broad..

We are in the process of setting up the domain and the git organisation using a community-driven approach.
We have got FOSSA and other security concerns back up and running and look forward to seeing your PR’s and code contrinutions to the project.

On 11 Dec 2024, at 17:58, Asaf Levy @.***> wrote:
Weaveworks and now it's domain has been closed since February 2024,
and yet, non of the repos, or issues mention the future of this org on github, who is currently maintaining it, and same goes for Flux:
https://www.linkedin.com/posts/richardsonalexis_hi-everyone-i-am-very-sad-to-announce-activity-7160295096825860096-ZS67/
#4235 https://github.com/weaveworks/weave-gitops/issues/4235
There's no public notice for the current state, as a devops engineer which previously used fluxcd and weave-gitops in the past,
There are big questions as to the safety of using this product, someone can 'easily' do an hostile takeover of this org and integrate malicious code into future update, essentially using this repo and org as supply-chain attack surface..
I would expect some explanation on the README.md of all currently still active repos under this org to address these concerns,
and maybe also poke the fluxcd blog to acknowledge the now defunct weaveworks, since, they also still have links and testimonials on their main site..
P.S I've looked through the issues, to find some acknowledgment, but all I have found are issues like #4235 https://github.com/weaveworks/weave-gitops/issues/4235
and not something broad..
—
Reply to this email directly, view it on GitHub https://github.com/weaveworks/weave-gitops/issues/4243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6C32UB7QU6WUFOSPUI232FBOJFAVCNFSM6AAAAABTNZ3WZ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTGMZWGE2DCNA.
You are receiving this because you are subscribed to this thread.


Help writing/formatting Whitepaper for Automating GitOps with Ortelius

As a Developer doing research into Automating GitOps with Ortelius
I need to write a whitepaper and don't have time in google docs to format it and manage it
I need someone to help with this, and they don't need to be technical.
I have already created the structure of the whitepaper, and need help linking the table of contents, etc to make it presentable to everyone.
@bradmccoydev is also happy to teach you some GitOps if you want learn also

here is a good link for content on what gitops is: https://gitops-community.github.io/kit/#what-is-gitops

Hi @bradmccoydev I had a google presentation I use to customers, is related to RedHat but at the end ar community projects, share me and google email if you want to review it

@scanalesespinoza thanks that would be great it's<EMAIL_ADDRESS>

Shared! if you want we can coodinate a working session for this

@bradmccoydev do you have a shared doc link for the white paper?

@bradmccoydev can I work on this issue it's inactive and need a few drafts or guidelines


Python: several fixes (2)

Motivation for this change
Continuation of https://github.com/NixOS/nixpkgs/pull/28884. These fixes will also need to be backported to 17.09.
Things done

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Based on @Mic92 's review, I checked which package is only required for checkPhase, and just force updated my two commits at sifmelcara/nixpkgs@e64128542267fae00bff60096de402947772975c

I might have forgotten to add secretstorage as a propagatedBuildInput of the python keyring package, could you add it please ?
nix-shell -I ~/nixpkgs2 -p python2Packages.keyring --run "python"
Python 2.7.13 (default, Dec 17 2016, 20:05:07)
[GCC 6.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/__init__.py", line 6, in <module>
    from .core import (set_keyring, get_keyring, set_password, get_password,
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/core.py", line 185, in <module>
    init_backend()
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/core.py", line 69, in init_backend
    load_config()
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/core.py", line 139, in load_config
    return load_keyring(keyring_name)
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/core.py", line 109, in load_keyring
    class_.priority
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/util/properties.py", line 22, in __get__
    return self.fget.__get__(None, owner)()
  File "/nix/store/8waaccq38z6a4jaljdz57wpmzjan0lc9-python2.7-keyring-8.4.1/lib/python2.7/site-packages/keyring/backends/SecretService.py", line 25, in priority
    raise RuntimeError("SecretStorage required")
RuntimeError: SecretStorage required

while
nix-shell -I ~/nixpkgs2 -p python2Packages.keyring -p python2Packages.secretstorage --run "python"                                                               02:42:18
Python 2.7.13 (default, Dec 17 2016, 20:05:07)
[GCC 6.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
>>>

works fine.


Complaints Dashboard

Add date to complaints list on dashboard and correct text wrapping.

Date is added and wrap is corrected.


Adding ability to toggle prodigal mode via param.txt file.

Hi Kishori,
I checked all of my local fixes, and you already fixed them in the private Koonkie MP repo, great!
I did have this one feature for allowing the user to tweak the prodigal gene-calling mode via the params.txt file for MP. This is a useful feature for when you use MP to annotate a genome, versus a metagenome. Please let me know if you have any questions, thanks!

This is changed accordingly to add  prodigal parameters


Allow for saving of endpoint information in localStorage

Currently "saving" auth is only session based.

It's now possible to save basic auth information in localStorage


The name of the persist bookmark

Hi there! Thanks for your time and effort. It's exactly what I want since I've moved from ranger to yazi.
But  maybe kinda point that could be improved.
For example the directory structure looks like this:
/aaa/bbb/ccc/ddd.txt
if I cd into the directory "bbb" and save a bookmark there, the popup 'window' (after pressing ')  will show the absolute path of the dicrectory all the way to the "ccc".     b →/aaa/bbb/ccc/ .  Can we just stop at the "bbb" level?
Just a suggestion. Thanks in advance!

Hey,
Yeah I can see how that would be more intuitive, the path shown is the saved path that we use when changing directories, so when say /aaa/bbb/ccc/ it means that we are in /aaa/bbb with the cursor on top of ccc.
Having said that I will add a way for the user to be able to choose how they want to display that path, if they want the current behavior or how you are suggesting, it might just take a couple of days because I don't have much time during the week.

It would be great if users can configure that.
Take your time~ it's FOSS
Thanks!

Hey,
I've added the new option in PR #17, could you test it to make sure that it functions as you expected?
The PR has the steps on how to enable this new config in it's description.

Nice, I'll merge it then.
Thanks for testing.


erlang: Enable parallel building

Motivation for this change
As far as I know, there are no issue in building Erlang with multiple jobs and it is faster.
Things done

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

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build erlang

Success on x86_64-linux (full log)
Attempted: erlang
Partial log (click to expand)
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>/lib/erlang/bin/start_erl: interpreter directive changed from "/bin/sh" to "/nix/store/6v88ick1cxnn5g91m8qrrqww0lrlr27x-bash-4.4-p23/bin/sh"
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>/lib/erlang/bin/erl: interpreter directive changed from "/bin/sh" to "/nix/store/6v88ick1cxnn5g91m8qrrqww0lrlr27x-bash-4.4-p23/bin/sh"
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>/lib/erlang/bin/start: interpreter directive changed from "/bin/sh" to "/nix/store/6v88ick1cxnn5g91m8qrrqww0lrlr27x-bash-4.4-p23/bin/sh"
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>/lib/erlang/misc/makewhatis: interpreter directive changed from "/bin/sh" to "/nix/store/6v88ick1cxnn5g91m8qrrqww0lrlr27x-bash-4.4-p23/bin/sh"
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>/lib/erlang/misc/format_man_pages: interpreter directive changed from "/bin/sh" to "/nix/store/6v88ick1cxnn5g91m8qrrqww0lrlr27x-bash-4.4-p23/bin/sh"
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>/lib/erlang/Install: interpreter directive changed from "/bin/sh" to "/nix/store/6v88ick1cxnn5g91m8qrrqww0lrlr27x-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>...
wrong ELF type
wrong ELF type
/nix/store/1sbirrixr9srxi77lclykhcjy4yj2j2w-erlang-<IP_ADDRESS>

Success on x86_64-darwin (full log)
Attempted: erlang
Partial log (click to expand)
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/bin/start: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/bin/start_erl: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/bin/erl: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/lib/inets-6.3.9/priv/bin/runcgi.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/lib/inets-6.3.9/examples/server_root/cgi-bin/printenv.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/lib/mnesia-<IP_ADDRESS>/examples/bench/bench.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/lib/observer-2.3.1/priv/bin/cdv: interpreter directive changed from "/bin/sh " to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/lib/observer-2.3.1/priv/bin/etop: interpreter directive changed from "/bin/sh " to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>/lib/erlang/lib/edoc-0.8.1/priv/edoc_generate: interpreter directive changed from "/bin/sh" to "/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/sh"
/nix/store/py3bqpxp01ndhz29xpdb06gsbqbn7ars-erlang-<IP_ADDRESS>

Success on aarch64-linux (full log)
Attempted: erlang
Partial log (click to expand)
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>/lib/erlang/Install: interpreter directive changed from "/bin/sh" to "/nix/store/9hsgp158m12qi4dsvz6x6dxy5rkiind9-bash-4.4-p23/bin/sh"
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>/lib/erlang/erts-<IP_ADDRESS>/bin/start: interpreter directive changed from "/bin/sh" to "/nix/store/9hsgp158m12qi4dsvz6x6dxy5rkiind9-bash-4.4-p23/bin/sh"
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>/lib/erlang/erts-<IP_ADDRESS>/bin/erl: interpreter directive changed from "/bin/sh" to "/nix/store/9hsgp158m12qi4dsvz6x6dxy5rkiind9-bash-4.4-p23/bin/sh"
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>/lib/erlang/erts-<IP_ADDRESS>/bin/start_erl.src: interpreter directive changed from "/bin/sh" to "/nix/store/9hsgp158m12qi4dsvz6x6dxy5rkiind9-bash-4.4-p23/bin/sh"
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>/lib/erlang/erts-<IP_ADDRESS>/bin/start.src: interpreter directive changed from "/bin/sh" to "/nix/store/9hsgp158m12qi4dsvz6x6dxy5rkiind9-bash-4.4-p23/bin/sh"
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>/lib/erlang/erts-<IP_ADDRESS>/bin/erl.src: interpreter directive changed from "/bin/sh" to "/nix/store/9hsgp158m12qi4dsvz6x6dxy5rkiind9-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>...
wrong ELF type
wrong ELF type
/nix/store/kakikvmck6qy684nnfi2gva17s91sc44-erlang-<IP_ADDRESS>


Times shown in Output window, is too precise

The time that is shown in the Output window is too precise, to the degree that marks it harder to read:

I'm not sure why it needs to show this much precision, it's makes the output so much harder to parse in my head.

Copied to https://github.com/xunit/xunit/issues/1164 since the adapter provides this output.


🐛 [SeaFile] upgrade from 10.0.0 to 10.0.1-2

Describe the bug
After upgrading, I start, it does like the log below 10 times (or something like that, and stops)
To Reproduce

Starting...
/etc/cont-init.d/00-banner.sh: executing
Add-on: Seafile
High performance file syncing and sharing, with also Markdown WYSIWYG editing, Wiki, file label and other knowledge management features
Add-on version: 10.0.1-2
You are running the latest version of this add-on.
System: Home Assistant OS 9.5  (amd64 / generic-x86-64)
Home Assistant Core: 2023.5.3
Home Assistant Supervisor: 2023.04.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
Provided by: https://github.com/alexbelgium/hassio-addons
Defining permissions for main user :
User UID: 1000
User GID : 1000
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION='/config/addons_config/seafile/config.yaml'
FILE_SERVER_ROOT='http://homeassistant.local:8082'
PGID='1000'
PORT='8082'
PUID='1000'
<EMAIL_ADDRESS>SEAFILE_ADMIN_PASSWORD=
SERVER_IP='homeassistant.local'
TZ='Europe/Copenhagen'
URL='hidden'
data_location='/mnt/DataDisk/seafile'
database='sqlite'
localdisks='DataDisk'
/etc/cont-init.d/00-local_mounts.sh: executing
Local Disks mounting...
[16:38:40] INFO: Mounting DataDisk of type
[16:38:40] INFO: Success! DataDisk mounted to /mnt/DataDisk
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-custom_script.sh: executing
[16:38:40] INFO: Execute /config/addons_autoscripts/seafile.sh if existing
[16:38:40] INFO: ... no script found
/etc/cont-init.d/90-config_yaml.sh: executing
Using config file found in /config/addons_config/seafile/config.yaml
Config file is a valid yaml
[16:38:40] INFO: Starting the app with the variables in /config/addons_config/seafile/config.yaml
/etc/cont-init.d/99-run.sh: executing
[16:38:40] INFO: Setting variables
CONFIG_LOCATION='/config/addons_config/seafile/config.yaml'
FILE_SERVER_ROOT='http://homeassistant.local:8082'
PGID='1000'
PORT='8082'
PUID='1000'
<EMAIL_ADDRESS>SEAFILE_ADMIN_PASSWORD=**
SERVER_IP='homeassistant.local'
TZ='Europe/Copenhagen'
URL='cokeman0.duckdns.org'
data_location='/mnt/DataDisk/seafile'
database='sqlite'
localdisks='DataDisk'
[16:38:43] INFO: Setting data location
... check /mnt/DataDisk/seafile folder exists
... setting permissions
... copy media files
... correcting official script
[16:38:47] INFO: Defining database
[16:38:47] INFO: Starting app
2023-05-21 16:38:47 [Entrypoint] Local time set to Europe/Copenhagen
2023-05-21 16:38:47 [Entrypoint] Checking permissions
2023-05-21 16:38:47 [Entrypoint] Adjusting identifiers
usermod: no changes

10.0.1-3 now gives me this error:
Can't install ghcr.io/alexbelgium/seafile-amd64:10.0.1-3: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=10.0.1-3&fromImage=ghcr.io%2Falexbelgium%2Fseafile-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")

Builds are now successful which should remove this issue : https://github.com/alexbelgium/hassio-addons/actions/runs/5041892806 (there was a separate thread for this issue in armv7)
Now remains the initial issue

Should be good now

Strange, the build job has succeeded though : https://github.com/alexbelgium/hassio-addons/actions/runs/5043790185/jobs/9046039367
Could you please retry? Perhaps it was still building
Thanks!

Might be.
Working now
Med venlig hilsen
Michael Dahl
man. 22. maj 2023 11.16 skrev Alexandre @.***>:

Strange, the build job has succeeded though :
https://github.com/alexbelgium/hassio-addons/actions/runs/5043790185/jobs/9046039367
Could you please retry? Perhaps it was still building
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/alexbelgium/hassio-addons/issues/842#issuecomment-1556856520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQYAKQX5A5W3JIA77TVSLDXHMVG7ANCNFSM6AAAAAAYJOFKKU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Fix false-positive leak detection report when ReferenceCountedOpenSsl…

…Engine constructor throws.
Motivation:
We need to ensure we only create the ResourceLeak when the constructor not throws.

Modifications:

Ensure ResourceLeakDetector.track(...) is only called if the constructor of ReferenceCoundedOpenSslEngine not throws.

Result:

No more false-positves.

In handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java:

@@ -236,56 +236,66 @@ protected void deallocate() {
super(peerHost, peerPort);
OpenSsl.ensureAvailability();
leak = leakDetection ? leakDetector.track(this) : null;
can we just create this leak detector as the last line in the constructor (with a comment for justification)? This will also minimize the "risk" for letting this escaping the constructor and using unitized fields of this object (even though practically it shouldn't). The member variable is final so we shouldn't have to worry about re-ordering with instructions outside the scope of the constructor.

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Cherry-picked into 4.1 (c5b5d363601a0d9ae294034c1e68a6de54a0958f) and 4.0 (3a97fdb8be6d6011836c997ec48d1c4643e9391a) after addressing the comment of @Scottmitch

Sure let me do as a followup commit tomorrow when I am back at my laptop

Am 29.07.2017 um 23:28 schrieb Scott Mitchell<EMAIL_ADDRESS>@Scottmitch commented on this pull request.
In handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java:

@@ -288,6 +287,7 @@ protected void deallocate() {
PlatformDependent.throwException(cause);
}
}

   leak = leakDetection ? leakDetector.track(this) : null;

would be nice to add a comment explaining why this is at the end so we don't move it by accident later.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Use parameters instead of custom profile upload

Currently changing profile parameters using brouter-web causes a new custom profile to be uploaded to BRouter. Because custom profiles are only cached and not stored persistently the brouter-web URL doesn't contain a reference of the profile. I sometimes store routes as bookmarks, but this doesn't work for profiles with adapted parameters.
BRouter provides an undocumented way to pass profile parameters as parameters of the request which would offer the possibility for persistent urls even with adapted parameters.

Default parameters: https://brouter.de/brouter?lonlats=8.723037,50.000491|8.712737,50.002899&nogos=&profile=trekking&alternativeidx=0&format=geojson
Adapted parameter: https://brouter.de/brouter?lonlats=8.723037,50.000491|8.712737,50.002899&nogos=&profile=trekking&alternativeidx=0&format=geojson&profile:avoid_unsafe=1

Yes, that would be one of the tasks with some higher priority.
@abrensch mentioned a while ago that those are only a hack:

So that' currently only a hack and profile:xxx does not overwrite params of the "StdModel", and there are other hacks, e.g. does profile:vmax at the same time requests the speed-limit-profile.
But if that should become a feature I could of course remove the hacks and make it more consistent.

What is the current state there?

It seems like it hasn't changed much. The special handling for profile:vmax was removed, but as it seems overwriting parameters of StdModel isn't possible. I'm not sure if we need to overwrite those parameters or it's sufficient to overwrite parameters which are provided by the profiles.

or it's sufficient to overwrite parameters which are provided by the profiles

subtile difference between "provided by/to the profiles"
The way I did it in KinematicModel is to inject the url-parameter when the Model queries a parameter from the profile (If you look at https://github.com/abrensch/brouter/blob/master/brouter-core/src/main/java/btools/router/StdModel.java here the parameter keyValues of the init method is ignored)
But that means it does not work for parameters which are used BY the profile.
So we would need to inject the parameter before the profile is parsed, same way/same syntax as BRouter-Web already does it.
And be careful with profile caching to invalid a cached profile when a url-param changes, , but that should be o.k. already ( rc.getKeyValueChecksum() is part of the cache-key in https://github.com/abrensch/brouter/blob/master/brouter-core/src/main/java/btools/router/ProfileCache.java )

So we would need to inject the parameter before the profile is parsed

This is done in lib 1.6.4.
In RoutingContext  the routine readGlobalConfig() calls the setVariableValue with true (means create variable) and this is done in BExpressionContext

Best would actually be to be able to upload a profile from a URL. This way, we could store our profile on our personal github for example and then just upload it from a "raw" url to the file.


Video support

I've done the (opinionated) work to provide this on my fork. If @headione wants to integrate this I'd be happy to make a PR - but it doesn't have tests and I don't know enough Javascript to write them

@iHazzam that sounds great! Please submit a pull request and I will have look at it :)

thanks for your PR! I'll check, test and give you an update asap @iHazzam 🕺

Thanks, let me know if there's anything needs doing on my end - I'm not a JS developer so probably haven't followed standards etc.
Cheers & thanks for a well written and enjoyably simple gallery!

Hey, sorry I need to close this because I wanna keep VGS as image-only slideshow and as lightweight as possible.


[Bug]: Newsletter Popup Reappears on Every Page Load

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The newsletter popup is currently appearing every time the page loads, causing inconvenience for users. Once a user clicks the "No Thanks" button on the newsletter popup, it should not appear again during future visits for the same user.
Expected behavior
Once a user clicks "No Thanks" on the newsletter popup, it should not reappear for that user unless:

The user clears their browser cache/cookies.
A certain time period (e.g., a week) has passed.

Add screenshots (if applicable)

@Anuj3553 pls assign me this issue, give me level, labels.
Confirmation

[X] I have read the Bitbox Contributing Guidelines
[X] I am a GSSOC-EXT contributor
[X] I am a HACKTOBERFEST contributor
[X] I have starred the Bitbox repository

Hyy @ygowthamr, I'm assigning this issue to you.


Install fails with tput: unknown terminal "rxvt-unicode"

Hello, new to nix and using home-manager to learn.
Stepping through the readme and running nix-shell '<home-manager>' -A install fails at the end with a tput error tput: unknown terminal "rxvt-unicode". Looking at a related issue https://github.com/rycee/home-manager/issues/423 I changed TERM=rxvt  and it worked, but this feels "dirty" and I'd like to not lie here.
I installed from the release-19.03 channel
I am on an Ubuntu 16.04 xfce variety (GalliumOS 2.1) and manually calling tput -T "rxvt-unicode" does not error.

Re-reading @rycee s comment here https://github.com/rycee/home-manager/issues/423#issuecomment-431185028 I just set TERMINFO_DIRS=/lib/terminfo and that did the trick. I suppose this isn't much of an issue anymore so I will close, hopefully this will help others. Thanks for your project Robert :)

Glad it worked out for you! 👍


BlurPool Method Card Review

Please review the BlurPool method card in the method-cards branch to make sure you are happy with everything.

Is there a PR to look at?


Bump to PyTorch 0.3 on Travis-CI

The wheel has size 593 MB? Something is wrong here.
$ if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then pip install http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl; else pip install http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl; fi
Collecting torch==0.3.0.post4 from http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl
  Downloading http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl (592.8MB)
    77% |████████████████████████▊       | 457.3MB 49.6MB/s eta 0:00:03
The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
  Downloading http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl (592.8MB)
    77% |████████████████████████▊       | 457.3MB 49.6MB/s eta 0:00:03
The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
The job has been terminated

The wheel has size 593 MB? Something is wrong here.

The previous one was 341 MB, so I suppose this is in the ballpark. Let me see why the log is getting full.

I've requested a small CPU-only package https://github.com/pytorch/pytorch/issues/4178 @soumith also mentioned this possibility on slack.

Is there an update on when this might get merged in? Would be great to be able to use latest PyTorch.

@erikreppel Pyro already works with PyTorch 0.3 and we regularly work with PyTorch master. This issue is about testing on travis-ci.org.

@fritzo ah okay, I tried to install pyro in a new env the other day and had a version mismatch with pytorch 0.3, I thought this was the PR but the issue seems to have been resolved, sorry about that.


Serverless Next.js on AWS Lambda

As I've been reading about Next.js' recent features around serverless, I have a few questions in ensuring it meets our needs. As I understand it, AWS Lambda has the following limitations and I’m unsure on how to resolve them using best practices with Next.js:

52mb limit size with AWS Lambda. Although it would be hard to imagine our application going above this limit, I’m worried that with a large node_modules directory, this could, potentially, be an issue in the future. What are some ways to go around this?

Performance and cold starts. I understand that if the Lambda function is not periodically executed, the boot up time to execute the Lambda service can range between 600-2500ms. This is not acceptable for a user facing client application. What are some ways to mitigate this?

Hydrating redux state. Any best practices for rendering redux state as part of the initial payload?

CDN. Given that these templates are generated at runtime, are there any simple/scalable ways to offer them over CDN (e.g. Cloudfront)?

Intelligent template caching. We have cases where certain elements are hidden if the user is not logged in. We want these to be the only pages that are indexed by search engines (ie SEO). That said, if we cache our templates, how can we ensure that we don’t serve incorrect templates to these engines (e.g. ones that include sensitive data for users that are logged in in any given page).

@FarhadG here are some answers to your questions at least from my specific perspective / experience

Using Webpack to inline all node_module dependencies into a single file does a lot to reduce to overall bundle size. Next.js will create a bundle per page so the size per lambda is much smaller than a whole app

This has never been an issue for us in practice. Actually in our case we think the cold start time is totally acceptable for client facing applications since it happens so seldom. Have heard of some people using a ping checker to keep their lambda awake

We hydrate redux using the result of getInitialProps()

Use the assetPrefix for CDN stuff, see here: https://github.com/zeit/next.js#cdn-support-with-asset-prefix.

The next.js page templates are executed to produce the page HTML, assuming the SEO bots are not logged in (let's hope), they would get the rendered result of a regular not-logged-in user

also @FarhadG https://github.com/zeit/next.js/tree/canary/examples/with-redux

Thank you for the informative response, @bhurlow


Updating README with backup links

:tada: This PR is included in version 1.7.6 :tada:
Your semantic-release bot :package::rocket:


Doesnt work on mac

It says Mac can't scan for malicious virus , please contact developer

Go to settings -> Security & Privacy -> scroll down and you'll see the option to open it anyways.
But even though the application runs afterwards, sound is still not changed

That didn't work
On Tue, 10 Dec 2024 at 13:33, Kashifmasood07 @.***>
wrote:

Go to settings -> Security & Privacy -> scroll down and you'll see the
option to open it anyways.
But even though the application runs afterwards, sound is still not changed
—
Reply to this email directly, view it on GitHub
https://github.com/hainguyents13/mechvibes/issues/355#issuecomment-2530699929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOOYPWKOA7JAZN53Q52EI5L2E2MDDAVCNFSM6AAAAABTIAIJROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZQGY4TSOJSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

More context would probably be helpful for everybody here.

Right click the app and select open and it should allow you to bypass that and open anyways.


Dataset BnL Historical Newspapers does not work in streaming mode

Describe the bug
When trying to load in streaming mode, it "hangs"...
Steps to reproduce the bug
ds = load_dataset("bnl_newspapers", split="train", streaming=True)

Expected results
The code should be optimized, so that it works fast in streaming mode.
CC: @davanstrien

@albertvillanova let me know if there is anything I can do to help with this. I had a quick look at the code again and though I could try the following changes:

use download instead of download_and_extract
https://github.com/huggingface/datasets/blob/d3d339fb86d378f4cb3c5d1de423315c07a466c6/datasets/bnl_newspapers/bnl_newspapers.py#L136
swith to using iter_archive to loop through downloaded data to replace
https://github.com/huggingface/datasets/blob/d3d339fb86d378f4cb3c5d1de423315c07a466c6/datasets/bnl_newspapers/bnl_newspapers.py#L159

Let me know if it's useful for me to try and make those changes.

Thanks @davanstrien.
I have already been working on it so that it can be used in the BigScience workshop.
I tried different solutions without success:

iter_archive cannot be used in this case because it does not support ZIP files yet

Finally I have used ìter_files()`.

I see this is fixed now 🙂.  I also picked up a few other tips from your redactors so hopefully my next attempts will support streaming from the start.


Package python3Packages.pre-commit-hook-ensure-sops

Description of changes
pre-commit-hook-ensure-sops is a Python package, as the name implies, for
testing sops-using repositories for
leaking secrets i.e., committing unencrypted secrets that should be
(automatically) encrypted by sops. It is primarily implemented for use as a
pre-commit hook but the command-line entrypoint is generally usable for
checking sops files for unencrypted secrets or invalid structure.
After addition to nixpkgs it can be more cleanly used by e.g.,
pre-commit-hooks.nix
(https://github.com/cachix/pre-commit-hooks.nix/pull/212).
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

This doesn't exactly look like a library. And even if it is - now that we have an executable, it may be wise to also add it to all-packages.nix with toPythonApplication.

This doesn't exactly look like a library. And even if it is - now that we have an executable, it may be wise to also add it to all-packages.nix with toPythonApplication.

Use as a library would probably be next to none. I can refactor into a all-packages.nix application.
Just to clarify, the package files would exist in e.g. tools/misc and the it would be declared and with default.nix similar to e.g. pre-commit?
pre-commit = callPackage ../tools/misc/pre-commit { };

Yes, that sounds good to me.

Refactored into a standalone application instead of a python module. The upstream patch to the package has not been released as part of a tag/version bump so I have kept it in for now. When a new version of the package is released, it can be removed which I indicated in a comment.

Thanks! Always miss something... Changed from buildPythonPackage to buildPythonApplication.


Pre-trained model

Hello.
I was wondering if you have a pre-trained model for Korean.

I only have pre-trained models in Japanese. You will have to train the model with the KSS dataset.


optimized model and LLH, slight response speed up

Added model, LLH, and response optimizations. Changed LLH in FoV script to use these updates.
Everything is python 3 compatible and tested in python 3.10. Individual parts have been testes and a whole analysis has been run with no errors.
See summary of changes below.
Changes in LLH.py

Added a LLH_webins2 class with updates to LLH_webins
Works the same as LLH_webins, but expects the error to be error^2 instead of error
Has added support for models that return counts instead of rates (less multiplications)
Caches data dpis and other data products selected for certain time bins in a dictionary so they don't have to be remade
Added new pois_norm_conv_n*2 functions that take error^2 and are optimized to do less logs and exps

Changes in models.py

Made it so Source_Model_InOutFoV caches the normalized photon fluxes for each set of spectral params so it doesn't recalculate it every time set_flux_params is called.
New model, Sig_Bkg_Model added.
It takes an already made bkg model (any model is fine, that keeps all of it's parameters fixed), and a Source_Model_InOutFoV model.
Model only has one parameter, "A" that's used to update the signal DPIs in the Source_Model_InOutFoV model while keeping all other internal parameters fixed, bypassing calling any of the bkg models and keeping the bkg DPIs cached.
Also has new functions that return count DPIs instead of rate DPIs, that LLH_webins2 uses and saves time by not doing time exposure every LLH eval.
Also has new functions to get error DPIs squared, saves time by not doing the square root. LLH_webins2 support these new functions.

Changes in do_llh_inFoV4realtime2.py

Added the new model, Sig_Bkg_Model and LLH object, LLH_webins2.
Changed how parameters and set and updated to reflect the new model used.

Changes in response.py

removed 2 unnecessary additions of large arrays in calc_tot_resp_dpis.

Results of running prun on the do_analysis function in do_llh_inFoV4realtime2.py for just one position seed and 1 or 3 time seeds. With the current main branch (old) and this branch (new).
old_do_analysis_prun_3times.txt
old_do_analysis_prun_1time.txt
new_do_analysis_prun_1time.txt
new_do_analysis_prun_3times.txt

Hard to track the speed up accurately through a full analysis run, but on F688160018 it took ~2 hours to run after the seeding analyses, while it took ~3 hours to run with the current main branch. This was using 260 cores on the inFoV analysis and 40 cores on the outFoV analysis.

Inside a single minimization, using data from I10018. The current main branch took about 6.6 ms/step while this branch took about 1.78 ms/step. Where for each step the model has to be updated to reflect the new spectral norm ("A"), the LLH has to be calculated, and the Jacobian also has to be calculated.

Actually hold on, results from the full run are looking a little off. Checking that out right now.

Think I found the issue. Rerunning the fully analysis now.

Fixed the issue. Here's the results, they're the same as shown in the last pull request.


Missing execute mode for init scripts

The init scripts are missing executable permissions here. The causes the script to not start.

Hmm. Maybe we should make it 0755, but then have it owned by root:root. Your opinion?

Totally makes sense. Resolved in d4bcc04.

thank you @metmajer for the quick resolution. amazing :+1:


Have metadata/generation backends?

To support thumbnailing non-image files, there could be 2 types of backends:

backends purely for generating thumbnails, i.e. for the create_thumbnail functions
backends for manipulating thumbnail metadata, i.e. for put_thumbnail, put_fail, etc.

Done in 7a77185361a7f6153b573a4e22897f5d2776f7eb


Getting lots of UI hangs in today's insiders

Version: 1.71.0-insider (user setup)
Commit: 73fd3f11032e7b83c2ae011b5516e6ddd19e3db2
Date: 2022-08-05T07:36:58.753Z
Electron: 19.0.11
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22622
Sandboxed: No
I keep seeing the UI hang (and I have to reopen the window via the modal popup) when editing and debugging. It happened quite a few times in ~10m that I ended up disabling sandboxing to see if that would help (and that fixed the problem matchers not working), but didn't seeming change the hangs. I've had it hang twice in the last few minutes with sandboxing disabled.

Now after another restart, my terminal won't work -- nothing is displayed

And the extensions view, just spins forever

Seems to reliably hang, if I open lib.dom.d.ts (via go to def) and then try to find in that document.

Does it reproduce when you configure: window.experimental.useSandbox to be false and restart?

Yeah I see the same behavior with sandbox enabled or disabled.

I still see it even with all extensions disabled too.

Ok then it may rather be related to the Electron 19 update, which we also only now pushed to insiders.

Does it not reproduce with the just released stable?

Nope, haven't seen a single hang with stable.

Tried to reproduce but seems fine for me:

@eamodio based on https://github.com/microsoft/vscode/issues/157316#issuecomment-1206801727, looks like you had a crash scenario first and unresponsive continued when reloading the window via the modal dialog. In that case, are you able to obtain the crash logs following the steps at https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports, thanks!

I cannot reproduce, does it repro when you disable all extensions?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


More strongly typed for comprehensions

Once AnyM work is complete (move to first class citizen, and add comprehension support), which can wrap any monad type (such as Stream, Optional, CompletableFuture, Try, Switch and others), with a single type parameter - it should be possible to fully an correctly infer types for comprehensions.
e.g.
Collection<Integer> col = Arrays.asList(2,3,4);
AnyM<String> opt = anyM(Optional.of("hello world"));

Do.with(col)
 .and(i -> opt)    //i is of type integer
 .yield( (i,j) ->  j.length()+ i);  //i is of type integer, j is of type String

This compares with current implementation which would look like this
 Do.with(col)
   .and((Integer i) -> opt)    //i is of type integer
   .yield( (Intger i,String j) ->  j.length()+ i);  //i is of type integer, j is of type String

https://github.com/aol/cyclops/pull/25

Available on Master now


Save checkbox array to pivot table

Hello,
can you please help me how to save an array to a pivot table? In the documentation, you write that the value is stored in one field in the table. Please try to give an example, or refer me to an example on the Internet. I am a beginner and this is not clear to me. Thank you.

Hey! If you are looking for the possibility to use checkboxes for Laravel relationships this is a perfect guide for how to do it!
https://ivanmijatovic.com/laravel-nova-belongstomany-relationship-as-checkbox


Ion-menu Error

Steps to reproduce the error.

ionic start myApp tabs
Go to app.component.html and add an ion-menu

<ion-app>
    <ion-menu side="start" menuId="first">
        <ion-header>
          <ion-toolbar color="primary">
            <ion-title>Start Menu</ion-title>
          </ion-toolbar>
        </ion-header>
        <ion-content>
          <ion-list>
            <ion-item>Menu Item</ion-item>
            <ion-item>Menu Item</ion-item>
          </ion-list>
        </ion-content>
  </ion-menu>
  <ion-router-outlet></ion-router-outlet>
</ion-app>

No menu is visible, and the following error shows up in the logs:
Menu: must have a "content" element to listen for drag events on.
Expected to see a menu.

Thanks for the issue. As per the docs, you should be specifying the content's ID via the contentId prop: https://ionicframework.com/docs/api/menu#properties.
Can you give that a try and let me know if it works?

Thank you, that was the cause of the error.  I assumed that the error was the reason why the menu was not visible.
But the menu is still not showing up.  Maybe it's just a matter of the starter tabs template and ion-menu being incompatible..

Glad to hear the issue is fixed. You can definitely add a sidemenu to a tabbed application. The Ionic Conference Demo app is a sidemenu + tabs application. I would recommend looking at the source code for info on how to implement this: https://github.com/ionic-team/ionic-conference-app
I am going to close this as the original issue has been resolved. Thanks!


Add name to the Connection Settings

Is your feature request related to a problem? Please describe.
could no remember which agent on which port is.
Describe the solution you'd like
Add a optional Name to Connection settings and add this name in the Connections-Table.
Describe alternatives you've considered
nope
Additional context
nope

It could be a very useful feature to associate names to the the connection configurations. Thanks a lot for your proposal 👍


Application does not open

Steps to reproduce
Only when opening the app
Expected behavior
The application opens normally
Actual behavior
The app keeps loading and does not
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 11
Device
Moto e40
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I also have this issue right now. I noticed you closed it, so I assume you fixed it. May I ask what your steps to fix it were?

I had installed the aniyomi-arm64-v8a-v<IP_ADDRESS>.apk apk, so I uninstalled the application and installed the aniyomi-v<IP_ADDRESS>.apk apk, then it started working normally again.

I also have this problem, I don't want to uninstall because I don't have a backup, is there a way to save the data?

I think it's best to wait for the problem to be fixed.

I also have this problem, I don't want to uninstall because I don't have a backup, is there a way to save the data?

I think it's best to wait for the problem to be fixed.

if you're talking about preview then it should be already resolved in r7509

Anch'io ho questo problema, non voglio disinstallarlo perché non ho un backup, c'è un modo per salvare i dati?

Penso che sia meglio aspettare che il problema venga risolto.

se parli di anteprima, dovrebbe essere già risolto in r7509

How do I update if I can't log into the app?

Is there any lore reason for why you are unable to go the GitHub repo and the download the latest apk file?

How do I update if I can't log into the app?

here r7509

How do I update if I can't log into the app?

here r7509 or from site aniyomi.org

I apologize for my ignorance, can you explain to me how to avoid losing all the data and without being able to open the application, thank you

How do I update if I can't log into the app?

here r7509 or from site aniyomi.org

I apologize for my ignorance, can you explain to me how to avoid losing all the data and without being able to open the application, thank you

Ah what I did was I actually connected my phone to my computer, and backed up the Aniyomi folder (which you selected when you first installed) just in case. Then, I just gave up and reinstalled the latest version (which gave a new app, so I uninstalled the old one).
It ended up with all my anime and manga chapters still downloaded, but the categories were gone. So I went to the Backup menu (More -> Data and Storage -> Restore backup), and I actually found out that the app automatically backs up your saved anime and manga and categories and stuff in the "autobackup" and "backup/automatic" folders, whichever file is newer.
That's how I solved the issue. It's weird because I actually already had the latest version, the bug happened after I updated to it.

Come faccio ad aggiornare se non riesco ad accedere all'app?

qui r7509 o dal sito aniyomi.org

Mi scuso per la mia ignoranza, potete spiegarmi come evitare di perdere tutti i dati e senza poter aprire l'applicazione, grazie

Ah, quello che ho fatto è stato collegare il telefono al computer e eseguire il backup della cartella Aniyomi (che hai selezionato durante la prima installazione) per ogni evenienza. Quindi, ho semplicemente rinunciato e reinstallato la versione più recente (che forniva una nuova app, quindi ho disinstallato quella vecchia).
Alla fine tutti i miei capitoli di anime e manga erano ancora scaricati, ma le categorie erano scomparse. Quindi sono andato al menu Backup (Altro -> Dati e archiviazione -> Ripristina backup) e ho scoperto che l'app esegue automaticamente il backup degli anime e dei manga salvati e delle categorie e cose in "backup automatico" e "backup/automatico". " cartelle, qualunque sia il file più recente.
È così che ho risolto il problema. È strano perché in realtà avevo già l'ultima versione, il bug si è verificato dopo l'aggiornamento.

I'll try too, thank you, can I ask you any more questions??


Very large form conversion fails due to timeout

When I upload a 1.6MB XLSForm on the test server, it fails with "Something went wrong: the server returned an invalid error."
The pyxform and service containers don't show any errors, but the nginx container does.

nginx                 | 2020/10/13 21:14:23 [error] 55#55: *30951 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "POST /v1/projects/102/forms HTTP/1.1", upstream: "http://<IP_ADDRESS>:8383/v1/projects/102/forms", host: "test.central.getodk.org", referrer: "https://test.central.getodk.org/"

The XML version uploads just fine.
Obviously something is timing out, but I don't know yet where the timeout is happening. Findings so far...

pyxform 1.2.0 converts the form just fine on my local machine. Slow, but works.
pyform-http (pyxform 1.2.0/waitress 1.4.4) on my local machine running in Docker works great with an HTTP post. Takes 6 minutes, but still works.

6 minutes is bigger than the default tcp timeout interval of 5 minutes, is probably why. possibly the solution is to change the proxy_read_timeout for the internal nginx pyxform proxy to a much larger number.

Closing after discussion with @lognaturel. We can always reopen if it's still an issue.

I've tried with v2024.2.1 on three large forms: 15.6MB, 11.9MB, and 9.7MB. All three upload, convert, and preview just fine.

Just ran into a 496KB form with 6728 rows that uploads but fails conversion with a 504.
2024/11/12 14:01:55 [error] 327933#327933: *1519075 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: sandbox.getodk.cloud, request: "POST /v1/projects/1/forms HTTP/1.1", upstream: "http://<IP_ADDRESS>:8383/v1/projects/1/forms", host: "sandbox.getodk.cloud", referrer: "https://sandbox.getodk.cloud/"
<IP_ADDRESS> - - [12/Nov/2024:14:01:55 +0000] "POST /v1/projects/1/forms HTTP/1.1" 504 562 "https://sandbox.getodk.cloud/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-"

I can confirm that increasing proxy_read_timeout from 2m to 5m works. Any danger in making that the default?

I can confirm that increasing proxy_read_timeout in files/nginx/odk.conf.template from 2m to 5m works.

That's interesting to me, as the proxy_read_timeout is set on Backend (paths that start with /v1). To me, that means that the 504 isn't happening in the communication between Backend and pyxform-http, but between the client and Backend. I wonder how much time pyxform is taking to convert the form vs. how much time Backend is taking to do other things like creating the form schema. (I'm reminded a little of getodk/central-backend#662.)

Any danger in making that the default?

I don't know the answer to that offhand, but it's certainly something we could look into. We've seen a 504 in another issue recently as well, #691.

496KB form with 6728 rows

Just wanted to note that I'm a little surprised by this size! If you've been able to upload a 15MB form, I'm surprised that 496KB would be a problem.

I wonder how much time pyxform is taking to convert the form vs. how much time Backend is taking to do other things like creating the form schema

I think that's a great question.
@yanokwa could you please send the form to me and @lindsay-stevens so we can see what the pyxfrom perf is like?

File size can be unrelated to the amount of useful data. For example having lots of direct cell formatting can result in lots of "styles" saved for the document, or there could be lots of comments, or used-but-empty cells beyond the main table range, or other XLSX features. File size can also be unrelated to XLSForm complexity - it could be a very large but simple form, or a smaller and complex one. For pyxform, complexity generally means lots of things that have to be parsed, checked, cross-referenced / looked up: e.g. pyxform reference replacements (like ${other_item}), nested repeats, pulldata/instance calls, translations/media, etc.
As for the 496KB form with 6728 rows, it has: ~1000 answerable questions, ~2000 notes, ~500 calculate items, ~1000 groups (up to 4 levels of nesting), ~2000 constraints, ~2000 pyxform references, ~50 choice lists with a total ~500 options. No repeats, media, or translations. Uncompressed file size is ~4MB, of which ~2MB is the survey sheet, and ~200KB for ~400 document comments. On the survey sheet, when saved as CSV (excluding ",) ~20% of the 2M characters are non-latin unicode script (I think this may be why it's sluggish to open and use in Excel/LibreOffice). The converted XForm document size is 5MB.
When I run XLS2XForm conversion with pyxform master (b65e7277 ~v2.2.0), the 496KB file takes ~5 minutes. It takes ~6 seconds to read the data and prepare the initial internal form structure, and the rest is spent in the survey.to_xml step. Of that, ODK Validate takes ~6s; most of that time is explosive recursion of the internal survey nested dict structures e.g. SurveyElement get_lineage (go self.parent recursively, 8M calls), iter_descendants (self.children recursively, 60M calls), getattr (self.get recursion, compounded by a lot of dict.copy(), 152M calls). Much of which is initiated by get_xpath() (8M calls).
So, definitely room for improvement in pyxform in regards to processing large forms. These kinds of issues don't become obvious until there's a certain quantity of e.g. cross references, groups, nesting levels, etc. Although I think the docs advise against designing large forms? Or at least limiting complexity.

Super useful information. Thank you, @lindsay-stevens!
One thing I'm wondering is whether we should wait to see whether changes to pyxform would improve the situation, or whether we should we go ahead and up the Central timeout. I'm also wondering, could different endpoints have different timeouts? Maybe it's not a bad idea to keep the timeout lower for most endpoints, but I also don't see much harm in increasing the timeout for the form upload endpoint.
I also want to make sure I understood what @yanokwa wrote here:

Just ran into a 496KB form with 6728 rows that uploads but fails conversion with a 504.

Does this mean that Central was able to create the form eventually? That is, sometime after the 504 was received, you could see the form in the form list? I think it's probably surprising to users that an error message doesn't mean that the request failed. If others think so too, I could file a separate issue about that. We could change how that error is messaged on Frontend ("Your request took too long, and Central stopped waiting for it. It may eventually complete."). Or we could set up Backend to actually stop working and roll back the database transaction after 2 minutes (or whatever we decide for the request timeout). That way, an error response would mean that the request was unsuccessful / had no effect.

Does this mean that Central was able to create the form eventually? That is, sometime after the 504 was received, you could see the form in the form list?
Nope, I never saw the form after the 504.

Whether we should wait to see whether changes to pyxform would improve the situation, or whether we should we go ahead and up the Central timeout.
I'd prefer to wait to see how quickly @lindsay-stevens can get a performance increase shipped. We have proxy_read_timeout as workaround if someone needs it.

Is that maybe a typo?

Validate really took 6 seconds. It's pyxform doing some weird stuff. Currently working on a branch here - that form is now producing the same output in about 20 seconds, including Validate time.
The first commit tidied up some dict management and cached each element's XPath which brought it to about 45s total. The second commit is starting to tackle the main issue which seems to be Survey._var_repl_function. I think it is resulting in something like, for every pyxform reference, check for common ancestor groups that are repeats, by iterating the survey from the top down and compare the target/context xpath (separately and repeatedly) against each element's xpath (it seems to have been this way for many years). The second commit avoids that for this form by checking from the bottom up if there are any common ancestor repeats. So for complex forms with repeats it would be a problem still.
@yanokwa / @lognaturel let me know if you want to ship this pronto and I'll prioritise adding test cases (so far just been using that form and cross checking with existing test suite). Otherwise I could keep going to optimise for large forms with repeats and many references - might help https://github.com/XLSForm/pyxform/issues/453 as well.

that form is now producing the same output in about 20 seconds, including Validate time.

🕺 :dancer: 🪩

I could keep going to optimise for large forms with repeats and many references

Let's keep going a bit and see what you find! I think we'll aim to release pyxform the first week of December so that's a good target. Thanks!

Let's close this issue for now. If we get more similar form conversion timeouts, let's look at them from a pyxform perspective first.

I think it's probably surprising to users that an error message doesn't mean that the request failed. If others think so too, I could file a separate issue about that

That's a good idea.

It sounds like the request actually did fail for @yanokwa, so maybe we don't need to make any big change here. I still think a better error message would be nice though, something other than "Something went wrong: error code 504." I have a PR up for that at getodk/central-frontend#1052.

Your request took too long, and Central stopped waiting for it. It may eventually complete.

That's a little bit of a terrifying message? But I can't immediately think of something better...

If 504s do sometimes fail, then maybe we don't need to worry our users unnecessarily. I've removed the second sentence.


Adds northstar id to signups api response

What's this PR do?
adds northstar user id to the signups response so gladiator can use it to do magical things
How should this be manually tested?
http://dev.dosomething.org:8888/api/v1/signups?competition=1
Any background context you want to provide?
:cake:
What are the relevant tickets?
Fixes #nope

@angaither updated

happy monday! is this PR good to merge?

update the description... you changed it to be a boolean right? ----> http://dev.dosomething.org:8888/api/v1/signups?competition=1

@weerd im not sure what youre suggesting, that is the URL in the description?

also @weerd & @angaither i removed the northstar use, just loading user from db now

alrighty changed the names @DFurnes @angaither

something i didnt think about, how many apps are going to break now that im chaging the transformUser function to use drupal & northstar _id instead of id

@deadlybutter Nothing should break, since you're only adding additional fields here... right? We should definitely try to avoid changing any existing fields that client applications would expect to see.

well, you guys suggested I use drupal_id which is not what it looks like right now in the transform user function
https://github.com/DoSomething/phoenix/blob/dev/lib/modules/dosomething/dosomething_api/includes/Transformer.php#L446

Ah, gotcha. Sorry, I think I misunderstood what code we were discussing.
Let's definitely not change that – we can keep id for the Drupal ID so we don't break the existing "contract" and then add an additional northstar_id field to that transformer for the Northstar ID.

gotcha, ill do that then

im just gonna restart this entire PR its a mess


Status bar is confusing

As a Voter I don't understand how the status bar works and when it changes multiple times in the middle of the survey I don't know why. I think something wrong happened.
Shouldn't the status bar be just be number of questions divided by answered questions and not change? Then the text about answering at least X questions would be outside the status bar.
What is the reason for it changing?

The progress bar here is intended to show progress towards achieving the next match level, like an experience progress bar in a role playing game.

In this example, there are 5 questions left for the user to answer in order to get a "OK" match level.  Once the user has hit that level, the progress bar resets and starts displaying the number of questions remaining to be answered to get to the "GOOD" match level. This continues until the user has hit max level.
I don't know if "experience bars in RPGs" is a thing that the average voter understands, so we can just do what you said.

Let me take it again with that in mind. It also resets when I click a
heart, which is not what I expect. I expect it to reset on Next.
On Wed, Oct 26, 2016 at 5:55 PM, W. Blaine Price<EMAIL_ADDRESS>wrote:

The progress bar here is intended to show progress towards achieving the
next match level, like an experience progress bar in a role playing game.
[image: screen shot 2016-10-26 at 5 47 53 pm]
https://cloud.githubusercontent.com/assets/2590422/19746402/5c2ccf98-9ba4-11e6-875d-02e54d213bf7.png
In this example, there are 5 questions left for the user to answer in
order to get a "OK" match level. Once the user has hit that level, the
progress bar resets and starts displaying the number of questions remaining
to be answered to get to the "GOOD" match level. This continues until the
user has hit max level.
I don't know if "experience bars in RPGs" is a thing that the average
voter understands, so we can just do what you said.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Code4HR/okcandidate/issues/256#issuecomment-256488843,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEOH5n3C46SsW9ZbOhVAbc4dIOZlTQ5ks5q38w0gaJpZM4Kgtzk
.

--
Kevin Curry
Code for Hampton Roads
http://code4hr.org
http://codeforamerica.org/brigade


Regression test reference overwriting doesn't work

I ran the regression test with pytest -k regression --reg-tolerance=0 and got 609 failures. I then overwrote the references with pytest -k regression --overwrite, which successfully wrote new reference files. I then ran pytest -k regression --reg-tolerance=0 again, but still got 609 failures. I expect it to pass.
This either means that the regression test is nondeterministic, or there's some problem with overwriting the regression tests.

We might have a non-determinacy problem.
Locally, I did a completely fresh cmake install (non-editable), then ran pytest -k regression --reg-tolerance=0:
1st run: pass
2nd run: fail
3rd run: pass
4th run: pass
cmake again:
pass
fail
pass
pass
pip install -e .
pass
pass
fail
pass
pip install -e .
fail
fail
fail
pass
Something's not right. I also noticed that when merging #2841, only the 0% regression test was failing on the branch, but when the workflow ran on main, the 5% test failed too. Locally, they can both pass or fail. There appear to only be 2 states, however: 0% pass or fail with 609 diffs, 5% pass or fail with 4 diffs. The 4 diffs are:
WARNING  scenario:scenario.py:223 Variable                     Ref             New        Diff (%)
WARNING  scenario:scenario.py:226 ------------------------------------------------------------
WARNING  scenario:scenario.py:229 auxiliary_cd            1.85e+04               0         -100.00
WARNING  scenario:scenario.py:229 faccd                    0.00111               0         -100.00
WARNING  scenario:scenario.py:229 n_cycle                      122             232           90.09
WARNING  scenario:scenario.py:229 pcurrentdrivemw            0.398               0         -100.00

As you can see, rather surprising new values. Perhaps this is a clue?

Non determinism appears to be coming from the OSQP solver.
I have recreated the problem at .
We see the following verbose logs for sequential solutions of the same initial problem. The first is for a solution that would cause our regression tests to fail, the second is for a solution that would cause our regression tests to pass.

===============================================================================
CVXPY
v1.3.2
===============================================================================
(CVXPY) Aug 14 12:23:39 PM: Your problem has 45 variables, 3 constraints, and 0 parameters.
(CVXPY) Aug 14 12:23:39 PM: It is compliant with the following grammars: DCP, DQCP
(CVXPY) Aug 14 12:23:39 PM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Aug 14 12:23:39 PM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.

                              Compilation

(CVXPY) Aug 14 12:23:39 PM: Compiling problem (target solver=OSQP).
(CVXPY) Aug 14 12:23:39 PM: Reduction chain: CvxAttr2Constr -> Qp2SymbolicQp -> QpMatrixStuffing -> OSQP
(CVXPY) Aug 14 12:23:39 PM: Applying reduction CvxAttr2Constr
(CVXPY) Aug 14 12:23:39 PM: Applying reduction Qp2SymbolicQp
(CVXPY) Aug 14 12:23:39 PM: Applying reduction QpMatrixStuffing
(CVXPY) Aug 14 12:23:39 PM: Applying reduction OSQP
(CVXPY) Aug 14 12:23:39 PM: Finished problem compilation (took 2.983e-02 seconds).
                            Numerical solver

(CVXPY) Aug 14 12:23:39 PM: Invoking solver OSQP  to obtain a solution.
       OSQP v0.6.3  -  Operator Splitting QP Solver
          (c) Bartolomeo Stellato,  Goran Banjac
    University of Oxford  -  Stanford University 2021

problem:  variables n = 45, constraints m = 116
nnz(P) + nnz(A) = 1351
settings: linear system solver = qdldl,
eps_abs = 1.0e-05, eps_rel = 1.0e-01,
eps_prim_inf = 1.0e-04, eps_dual_inf = 1.0e-04,
rho = 1.00e-01 (adaptive),
sigma = 1.00e-06, alpha = 1.60, max_iter = 10000
check_termination: on (interval 25),
scaling: on, scaled_termination: off
warm start: on, polish: on, time_limit: off
iter   objective    pri res    dua res    rho        time
1  -6.9544e-02   1.90e-01   5.14e+00   1.00e-01   5.53e-04s
50   4.4020e-04   1.63e-04   1.64e-02   3.82e+00   1.03e-03s
status:               solved
solution polish:      unsuccessful
number of iterations: 50
optimal objective:    0.0004
run time:             1.66e-03s
optimal rho estimate: 4.85e+00

                                Summary

(CVXPY) Aug 14 12:23:39 PM: Problem status: optimal
(CVXPY) Aug 14 12:23:39 PM: Optimal value: 1.600e+00
(CVXPY) Aug 14 12:23:39 PM: Compilation took 2.983e-02 seconds
(CVXPY) Aug 14 12:23:39 PM: Solver (including time spent in interface) took 5.232e-03 seconds
                                 CVXPY
                                 v1.3.2

===============================================================================
(CVXPY) Aug 14 12:23:39 PM: Your problem has 45 variables, 3 constraints, and 0 parameters.
(CVXPY) Aug 14 12:23:39 PM: It is compliant with the following grammars: DCP, DQCP
(CVXPY) Aug 14 12:23:39 PM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Aug 14 12:23:39 PM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
                              Compilation

(CVXPY) Aug 14 12:23:39 PM: Compiling problem (target solver=OSQP).
(CVXPY) Aug 14 12:23:39 PM: Reduction chain: CvxAttr2Constr -> Qp2SymbolicQp -> QpMatrixStuffing -> OSQP
(CVXPY) Aug 14 12:23:39 PM: Applying reduction CvxAttr2Constr
(CVXPY) Aug 14 12:23:39 PM: Applying reduction Qp2SymbolicQp
(CVXPY) Aug 14 12:23:39 PM: Applying reduction QpMatrixStuffing
(CVXPY) Aug 14 12:23:39 PM: Applying reduction OSQP
(CVXPY) Aug 14 12:23:39 PM: Finished problem compilation (took 2.316e-02 seconds).
                            Numerical solver

(CVXPY) Aug 14 12:23:39 PM: Invoking solver OSQP  to obtain a solution.
       OSQP v0.6.3  -  Operator Splitting QP Solver
          (c) Bartolomeo Stellato,  Goran Banjac
    University of Oxford  -  Stanford University 2021

problem:  variables n = 45, constraints m = 116
nnz(P) + nnz(A) = 1351
settings: linear system solver = qdldl,
eps_abs = 1.0e-05, eps_rel = 1.0e-01,
eps_prim_inf = 1.0e-04, eps_dual_inf = 1.0e-04,
rho = 1.00e-01 (adaptive),
sigma = 1.00e-06, alpha = 1.60, max_iter = 10000
check_termination: on (interval 25),
scaling: on, scaled_termination: off
warm start: on, polish: on, time_limit: off
iter   objective    pri res    dua res    rho        time
1  -6.9544e-02   1.90e-01   5.14e+00   1.00e-01   9.78e-04s
75   1.6778e-03   8.46e-04   2.21e-02   6.14e+00   2.07e-03s
plsh   1.5627e-05   2.52e-04   2.14e-04   --------   2.61e-03s
status:               solved
solution polish:      successful
number of iterations: 75
optimal objective:    0.0000
run time:             2.61e-03s
optimal rho estimate: 1.35e+01

                                Summary

(CVXPY) Aug 14 12:23:39 PM: Problem status: optimal
(CVXPY) Aug 14 12:23:39 PM: Optimal value: 1.600e+00
(CVXPY) Aug 14 12:23:39 PM: Compilation took 2.316e-02 seconds
(CVXPY) Aug 14 12:23:39 PM: Solver (including time spent in interface) took 9.268e-03 seconds
equals_pass6 = 1, equals_fail6 = 40, other = 0

Suggestions in https://github.com/osqp/osqp-python/issues/116 fix this issue in my recreation of the issue (https://github.com/timothy-nunn/cvxpy-non-determinism).